Show / Hide Table of Contents

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
System.Object
ClientServiceRequest
ClientServiceRequest<Empty>
MyBusinessAccountManagementBaseServiceRequest<Empty>
LocationsResource.TransferRequest
Implements
IClientServiceRequest<Empty>
IClientServiceRequest
Inherited Members
MyBusinessAccountManagementBaseServiceRequest<Empty>.Xgafv
MyBusinessAccountManagementBaseServiceRequest<Empty>.AccessToken
MyBusinessAccountManagementBaseServiceRequest<Empty>.Alt
MyBusinessAccountManagementBaseServiceRequest<Empty>.Callback
MyBusinessAccountManagementBaseServiceRequest<Empty>.Fields
MyBusinessAccountManagementBaseServiceRequest<Empty>.Key
MyBusinessAccountManagementBaseServiceRequest<Empty>.OauthToken
MyBusinessAccountManagementBaseServiceRequest<Empty>.PrettyPrint
MyBusinessAccountManagementBaseServiceRequest<Empty>.QuotaUser
MyBusinessAccountManagementBaseServiceRequest<Empty>.UploadType
MyBusinessAccountManagementBaseServiceRequest<Empty>.UploadProtocol
ClientServiceRequest<Empty>.Execute()
ClientServiceRequest<Empty>.ExecuteAsStream()
ClientServiceRequest<Empty>.ExecuteAsync()
ClientServiceRequest<Empty>.ExecuteAsync(CancellationToken)
ClientServiceRequest<Empty>.ExecuteAsStreamAsync()
ClientServiceRequest<Empty>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<Empty>.CreateRequest(Nullable<Boolean>)
ClientServiceRequest<Empty>.GenerateRequestUri()
ClientServiceRequest<Empty>.GetDefaultETagAction(String)
ClientServiceRequest<Empty>.ETagAction
ClientServiceRequest<Empty>.ModifyRequest
ClientServiceRequest<Empty>.ValidateParameters
ClientServiceRequest<Empty>.RequestParameters
ClientServiceRequest<Empty>.Service
ClientServiceRequest._unsuccessfulResponseHandlers
ClientServiceRequest._exceptionHandlers
ClientServiceRequest._executeInterceptors
ClientServiceRequest.AddUnsuccessfulResponseHandler(IHttpUnsuccessfulResponseHandler)
ClientServiceRequest.AddExceptionHandler(IHttpExceptionHandler)
ClientServiceRequest.AddExecuteInterceptor(IHttpExecuteInterceptor)
ClientServiceRequest.Credential
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.MyBusinessAccountManagement.v1
Assembly: Google.Apis.MyBusinessAccountManagement.v1.dll
Syntax
public class 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
System.String name

Properties

HttpMethod

Gets the HTTP method.

Declaration
public override string HttpMethod { get; }
Property Value
Type Description
System.String
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.MyBusinessAccountManagement.v1.Data.Empty>.HttpMethod

MethodName

Gets the method name.

Declaration
public override string MethodName { get; }
Property Value
Type Description
System.String
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.MyBusinessAccountManagement.v1.Data.Empty>.MethodName

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
System.String

RestPath

Gets the REST path.

Declaration
public override string RestPath { get; }
Property Value
Type Description
System.String
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.MyBusinessAccountManagement.v1.Data.Empty>.RestPath

Methods

GetBody()

Returns the body of the request.

Declaration
protected override object GetBody()
Returns
Type Description
System.Object
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.MyBusinessAccountManagement.v1.Data.Empty>.GetBody()

InitParameters()

Initializes Transfer parameter list.

Declaration
protected override void InitParameters()
Overrides
Google.Apis.MyBusinessAccountManagement.v1.MyBusinessAccountManagementBaseServiceRequest<Google.Apis.MyBusinessAccountManagement.v1.Data.Empty>.InitParameters()

Implements

IClientServiceRequest<TResponse>
IClientServiceRequest
In This Article
Back to top