Class OrgUnitsResource.MembershipsResource.MoveRequest
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.
Inheritance
Inherited Members
Namespace: Google.Apis.CloudIdentity.v1beta1
Assembly: Google.Apis.CloudIdentity.v1beta1.dll
Syntax
public class OrgUnitsResource.MembershipsResource.MoveRequest : CloudIdentityBaseServiceRequest<Operation>, IClientServiceRequest<Operation>, IClientServiceRequest
Constructors
MoveRequest(IClientService, MoveOrgMembershipRequest, string)
Constructs a new Move request.
Declaration
public MoveRequest(IClientService service, MoveOrgMembershipRequest body, string name)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
MoveOrgMembershipRequest | body | |
string | name |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Name
Required. Immutable. The resource name of the
OrgMembership. Format: orgUnits/{$orgUnitId}/memberships/{$membership} The $orgUnitId
is the
orgUnitId
from the Admin SDK OrgUnit
resource. To manage a
Membership without specifying source orgUnitId
, this API also supports the wildcard character '-'
for $orgUnitId
per https://google.aip.dev/159. 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 for
OrgMembership.EntityType.SHARED_DRIVE.
Declaration
[RequestParameter("name", RequestParameterType.Path)]
public virtual string Name { get; }
Property Value
Type | Description |
---|---|
string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
InitParameters()
Initializes Move parameter list.
Declaration
protected override void InitParameters()