Class OrgUnitsResource.MembershipsResource
The "memberships" collection of methods.
Inherited Members
Namespace: Google.Apis.CloudIdentity.v1beta1
Assembly: Google.Apis.CloudIdentity.v1beta1.dll
Syntax
public class OrgUnitsResource.MembershipsResource
Constructors
MembershipsResource(IClientService)
Constructs a new resource.
Declaration
public MembershipsResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
List(string)
List OrgMembership resources in an OrgUnit treated as 'parent'. Parent format: orgUnits/{$orgUnitId}
where $orgUnitId
is the orgUnitId
from the Admin SDK OrgUnit
resource
Declaration
public virtual OrgUnitsResource.MembershipsResource.ListRequest List(string parent)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. Immutable. OrgUnit which is queried for a list of memberships. Format: orgUnits/{$orgUnitId}
where |
Returns
Type | Description |
---|---|
OrgUnitsResource.MembershipsResource.ListRequest |
Move(MoveOrgMembershipRequest, string)
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.
Declaration
public virtual OrgUnitsResource.MembershipsResource.MoveRequest Move(MoveOrgMembershipRequest body, string name)
Parameters
Type | Name | Description |
---|---|---|
MoveOrgMembershipRequest | body | The body of the request. |
string | name | Required. Immutable. The resource name of the
OrgMembership. Format: orgUnits/{$orgUnitId}/memberships/{$membership} The |
Returns
Type | Description |
---|---|
OrgUnitsResource.MembershipsResource.MoveRequest |