Show / Hide Table of Contents

Class LocationsResource.AdminsResource.CreateRequest

Invites the specified user to become an administrator for the specified location. The invitee must accept the invitation in order to be granted access to the location. See AcceptInvitation to programmatically accept an invitation.

Inheritance
System.Object
ClientServiceRequest
ClientServiceRequest<Admin>
MyBusinessAccountManagementBaseServiceRequest<Admin>
LocationsResource.AdminsResource.CreateRequest
Implements
IClientServiceRequest<Admin>
IClientServiceRequest
Inherited Members
MyBusinessAccountManagementBaseServiceRequest<Admin>.Xgafv
MyBusinessAccountManagementBaseServiceRequest<Admin>.AccessToken
MyBusinessAccountManagementBaseServiceRequest<Admin>.Alt
MyBusinessAccountManagementBaseServiceRequest<Admin>.Callback
MyBusinessAccountManagementBaseServiceRequest<Admin>.Fields
MyBusinessAccountManagementBaseServiceRequest<Admin>.Key
MyBusinessAccountManagementBaseServiceRequest<Admin>.OauthToken
MyBusinessAccountManagementBaseServiceRequest<Admin>.PrettyPrint
MyBusinessAccountManagementBaseServiceRequest<Admin>.QuotaUser
MyBusinessAccountManagementBaseServiceRequest<Admin>.UploadType
MyBusinessAccountManagementBaseServiceRequest<Admin>.UploadProtocol
ClientServiceRequest<Admin>.Execute()
ClientServiceRequest<Admin>.ExecuteAsStream()
ClientServiceRequest<Admin>.ExecuteAsync()
ClientServiceRequest<Admin>.ExecuteAsync(CancellationToken)
ClientServiceRequest<Admin>.ExecuteAsStreamAsync()
ClientServiceRequest<Admin>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<Admin>.CreateRequest(Nullable<Boolean>)
ClientServiceRequest<Admin>.GenerateRequestUri()
ClientServiceRequest<Admin>.GetDefaultETagAction(String)
ClientServiceRequest<Admin>.ETagAction
ClientServiceRequest<Admin>.ModifyRequest
ClientServiceRequest<Admin>.ValidateParameters
ClientServiceRequest<Admin>.RequestParameters
ClientServiceRequest<Admin>.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 CreateRequest : MyBusinessAccountManagementBaseServiceRequest<Admin>, IClientServiceRequest<Admin>, IClientServiceRequest

Constructors

CreateRequest(IClientService, Admin, String)

Constructs a new Create request.

Declaration
public CreateRequest(IClientService service, Admin body, string parent)
Parameters
Type Name Description
IClientService service
Admin body
System.String parent

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.Admin>.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.Admin>.MethodName

Parent

Required. The resource name of the location this admin is created for. locations/{location_id}/admins.

Declaration
[RequestParameter("parent", RequestParameterType.Path)]
public virtual string Parent { 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.Admin>.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.Admin>.GetBody()

InitParameters()

Initializes Create parameter list.

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

Implements

IClientServiceRequest<TResponse>
IClientServiceRequest
In This Article
Back to top