Cloud Identity API (cloudidentity:v1beta1)

2022-01-29

2 new methods

Additions

    Methods
  • cloudidentity.orgUnits.memberships.move

      Flat Path : v1beta1/orgUnits/{orgUnitsId}/memberships/{membershipsId}:move

      Description : Move an OrgMembership to a new OrgUnit. NOTE: This is an atomic copy-and-delete. The resource will have a new copy under the destination OrgUnit and be deleted from the source OrgUnit. The resource can only be searched under the destination OrgUnit afterwards.

      HTTP Method : POST

      Parameter Order : name

      Parameters :

        name

          Type : string

          Location : path

          Description : Required. Immutable. The [resource name](https://cloud.google.com/apis/design/resource_names) of the OrgMembership. Format: orgUnits/{$orgUnitId}/memberships/{$membership} The `$orgUnitId` is the `orgUnitId` from the [Admin SDK `OrgUnit` resource](https://developers.google.com/admin-sdk/directory/reference/rest/v1/orgunits), The `$membership` shall be of the form `{$entityType};{$memberId}`, where `$entityType` is the enum value of OrgMembership.EntityType, and `memberId` is the `id` from [Drive API (V3) `Drive` resource](https://developers.google.com/drive/api/v3/reference/drives#resource) for OrgMembership.EntityType.SHARED_DRIVE.

          Required : Yes

          Pattern : ^orgUnits/[^/]+/memberships/[^/]+$

      Path : v1beta1/{+name}:move

  • cloudidentity.orgUnits.memberships.list

      Path : v1beta1/{+parent}/memberships

      Description : List OrgMembership resources in an OrgUnit treated as 'parent'. Parent format: orgUnits/{$orgUnitId} where `$orgUnitId` is the `orgUnitId` from the [Admin SDK `OrgUnit` resource](https://developers.google.com/admin-sdk/directory/reference/rest/v1/orgunits)

      HTTP Method : GET

      Parameters :

        pageToken

          Description : A page token, received from a previous `OrgMembershipsService.ListOrgMemberships` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListOrgMembershipsRequest` must match the call that provided the page token.

          Type : string

          Location : query

        filter

          Type : string

          Location : query

          Description : The search query. Must be specified in [Common Expression Language](https://opensource.google/projects/cel). May only contain equality operators on the `type` (e.g., `type == 'shared_drive'`).

        pageSize

          Description : The maximum number of results to return. The service may return fewer than this value. If omitted (or defaulted to zero) the server will default to 50. The maximum allowed value is 100, though requests with page_size greater than that will be silently interpreted as 100.

          Location : query

          Format : int32

          Type : integer

        customer

          Description : Required. Immutable. Customer that this OrgMembership belongs to. All authorization will happen on the role assignments of this customer. Format: customers/{$customerId} where `$customerId` is the `id` from the [Admin SDK `Customer` resource](https://developers.google.com/admin-sdk/directory/reference/rest/v1/customers). You may also use `customers/my_customer` to specify your own organization.

          Type : string

          Location : query

        parent

          Required : Yes

          Type : string

          Description : Required. Immutable. OrgUnit which is queried for a list of memberships. Format: orgUnits/{$orgUnitId} where `$orgUnitId` is the `orgUnitId` from the [Admin SDK `OrgUnit` resource](https://developers.google.com/admin-sdk/directory/reference/rest/v1/orgunits).

          Location : path

          Pattern : ^orgUnits/[^/]+$

      Flat Path : v1beta1/orgUnits/{orgUnitsId}/memberships

      Parameter Order : parent