Class LocationsResource.TransferRequest
Moves a location from an account that the user owns to another account that the same user administers. The user must be an owner of the account the location is currently associated with and must also be at least a manager of the destination account.
Inheritance
LocationsResource.TransferRequest
Inherited Members
Namespace: Google.Apis.MyBusinessAccountManagement.v1
Assembly: Google.Apis.MyBusinessAccountManagement.v1.dll
Syntax
public class LocationsResource.TransferRequest : MyBusinessAccountManagementBaseServiceRequest<Empty>, IClientServiceRequest<Empty>, IClientServiceRequest
Constructors
TransferRequest(IClientService, TransferLocationRequest, string)
Constructs a new Transfer request.
Declaration
public TransferRequest(IClientService service, TransferLocationRequest body, string name)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
TransferLocationRequest | 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. The name of the location to transfer. locations/{location_id}
.
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 Transfer parameter list.
Declaration
protected override void InitParameters()