Show / Hide Table of Contents

Class BillingAccountsResource.CreateRequest

This method creates billing subaccounts. Google Cloud resellers should use the Channel Services APIs, accounts.customers.create and accounts.customers.entitlements.create. When creating a subaccount, the current authenticated user must have the billing.accounts.update IAM permission on the parent account, which is typically given to billing account administrators. This method will return an error if the parent account has not been provisioned as a reseller account.

Inheritance
System.Object
Google.Apis.Requests.ClientServiceRequest
Google.Apis.Requests.ClientServiceRequest<BillingAccount>
CloudbillingBaseServiceRequest<BillingAccount>
BillingAccountsResource.CreateRequest
Implements
Google.Apis.Requests.IClientServiceRequest<BillingAccount>
Google.Apis.Requests.IClientServiceRequest
Inherited Members
CloudbillingBaseServiceRequest<BillingAccount>.Xgafv
CloudbillingBaseServiceRequest<BillingAccount>.AccessToken
CloudbillingBaseServiceRequest<BillingAccount>.Alt
CloudbillingBaseServiceRequest<BillingAccount>.Callback
CloudbillingBaseServiceRequest<BillingAccount>.Fields
CloudbillingBaseServiceRequest<BillingAccount>.Key
CloudbillingBaseServiceRequest<BillingAccount>.OauthToken
CloudbillingBaseServiceRequest<BillingAccount>.PrettyPrint
CloudbillingBaseServiceRequest<BillingAccount>.QuotaUser
CloudbillingBaseServiceRequest<BillingAccount>.UploadType
CloudbillingBaseServiceRequest<BillingAccount>.UploadProtocol
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Cloudbilling.v1.Data.BillingAccount>.Execute()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Cloudbilling.v1.Data.BillingAccount>.ExecuteAsStream()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Cloudbilling.v1.Data.BillingAccount>.ExecuteAsync()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Cloudbilling.v1.Data.BillingAccount>.ExecuteAsync(System.Threading.CancellationToken)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Cloudbilling.v1.Data.BillingAccount>.ExecuteAsStreamAsync()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Cloudbilling.v1.Data.BillingAccount>.ExecuteAsStreamAsync(System.Threading.CancellationToken)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Cloudbilling.v1.Data.BillingAccount>.CreateRequest(System.Nullable<System.Boolean>)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Cloudbilling.v1.Data.BillingAccount>.GenerateRequestUri()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Cloudbilling.v1.Data.BillingAccount>.GetDefaultETagAction(System.String)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Cloudbilling.v1.Data.BillingAccount>.ETagAction
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Cloudbilling.v1.Data.BillingAccount>.ModifyRequest
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Cloudbilling.v1.Data.BillingAccount>.ValidateParameters
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Cloudbilling.v1.Data.BillingAccount>.RequestParameters
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Cloudbilling.v1.Data.BillingAccount>.Service
Google.Apis.Requests.ClientServiceRequest._unsuccessfulResponseHandlers
Google.Apis.Requests.ClientServiceRequest._exceptionHandlers
Google.Apis.Requests.ClientServiceRequest._executeInterceptors
Google.Apis.Requests.ClientServiceRequest.AddUnsuccessfulResponseHandler(Google.Apis.Http.IHttpUnsuccessfulResponseHandler)
Google.Apis.Requests.ClientServiceRequest.AddExceptionHandler(Google.Apis.Http.IHttpExceptionHandler)
Google.Apis.Requests.ClientServiceRequest.AddExecuteInterceptor(Google.Apis.Http.IHttpExecuteInterceptor)
Google.Apis.Requests.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.Cloudbilling.v1
Assembly: Google.Apis.Cloudbilling.v1.dll
Syntax
public class CreateRequest : CloudbillingBaseServiceRequest<BillingAccount>, IClientServiceRequest<BillingAccount>, IClientServiceRequest

Constructors

CreateRequest(IClientService, BillingAccount)

Constructs a new Create request.

Declaration
public CreateRequest(IClientService service, BillingAccount body)
Parameters
Type Name Description
Google.Apis.Services.IClientService service
BillingAccount body

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.Cloudbilling.v1.Data.BillingAccount>.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.Cloudbilling.v1.Data.BillingAccount>.MethodName

RestPath

Gets the REST path.

Declaration
public override string RestPath { get; }
Property Value
Type Description
System.String
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Cloudbilling.v1.Data.BillingAccount>.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.Cloudbilling.v1.Data.BillingAccount>.GetBody()

InitParameters()

Initializes Create parameter list.

Declaration
protected override void InitParameters()
Overrides
Google.Apis.Cloudbilling.v1.CloudbillingBaseServiceRequest<Google.Apis.Cloudbilling.v1.Data.BillingAccount>.InitParameters()

Implements

Google.Apis.Requests.IClientServiceRequest<TResponse>
Google.Apis.Requests.IClientServiceRequest
In This Article
Back to top