Class v1.CloudBillingClient (2.2.7)

Retrieves GCP Console billing accounts and associates them with projects. v1

Package

@google-cloud/billing!

Constructors

(constructor)(opts)

constructor(opts?: ClientOptions);

Construct an instance of CloudBillingClient.

Parameter
NameDescription
opts ClientOptions

Properties

apiEndpoint

static get apiEndpoint(): string;

The DNS address for this API service - same as servicePath(), exists for compatibility reasons.

Property Value
TypeDescription
string

auth

auth: gax.GoogleAuth;
Property Value
TypeDescription
gax.GoogleAuth

cloudBillingStub

cloudBillingStub?: Promise<{
        [name: string]: Function;
    }>;
Property Value
TypeDescription
Promise<{ [name: string]: Function; }>

descriptors

descriptors: Descriptors;
Property Value
TypeDescription
Descriptors

innerApiCalls

innerApiCalls: {
        [name: string]: Function;
    };
Property Value
TypeDescription
{ [name: string]: Function; }

pathTemplates

pathTemplates: {
        [name: string]: gax.PathTemplate;
    };
Property Value
TypeDescription
{ [name: string]: gax.PathTemplate; }

port

static get port(): number;

The port for this API service.

Property Value
TypeDescription
number

scopes

static get scopes(): string[];

The scopes needed to make gRPC calls for every method defined in this service.

Property Value
TypeDescription
string[]

servicePath

static get servicePath(): string;

The DNS address for this API service.

Property Value
TypeDescription
string

warn

warn: (code: string, message: string, warnType?: string) => void;
Property Value
TypeDescription
(code: string, message: string, warnType?: string) => void

Methods

billingAccountPath(billingAccount)

billingAccountPath(billingAccount: string): string;

Return a fully-qualified billingAccount resource name string.

Parameter
NameDescription
billingAccount string
Returns
TypeDescription
string

{string} Resource name string.

close()

close(): Promise<void>;

Terminate the gRPC channel and close the client.

The client will no longer be usable and all future behavior is undefined.

Returns
TypeDescription
Promise<void>

{Promise} A promise that resolves when the client is closed.

createBillingAccount(request, options)

createBillingAccount(request?: protos.google.cloud.billing.v1.ICreateBillingAccountRequest, options?: CallOptions): Promise<[protos.google.cloud.billing.v1.IBillingAccount, protos.google.cloud.billing.v1.ICreateBillingAccountRequest | undefined, {} | undefined]>;
Parameters
NameDescription
request protos.google.cloud.billing.v1.ICreateBillingAccountRequest
options CallOptions
Returns
TypeDescription
Promise<[protos.google.cloud.billing.v1.IBillingAccount, protos.google.cloud.billing.v1.ICreateBillingAccountRequest | undefined, {} | undefined]>

createBillingAccount(request, options, callback)

createBillingAccount(request: protos.google.cloud.billing.v1.ICreateBillingAccountRequest, options: CallOptions, callback: Callback<protos.google.cloud.billing.v1.IBillingAccount, protos.google.cloud.billing.v1.ICreateBillingAccountRequest | null | undefined, {} | null | undefined>): void;
Parameters
NameDescription
request protos.google.cloud.billing.v1.ICreateBillingAccountRequest
options CallOptions
callback Callback<protos.google.cloud.billing.v1.IBillingAccount, protos.google.cloud.billing.v1.ICreateBillingAccountRequest | null | undefined, {} | null | undefined>
Returns
TypeDescription
void

createBillingAccount(request, callback)

createBillingAccount(request: protos.google.cloud.billing.v1.ICreateBillingAccountRequest, callback: Callback<protos.google.cloud.billing.v1.IBillingAccount, protos.google.cloud.billing.v1.ICreateBillingAccountRequest | null | undefined, {} | null | undefined>): void;
Parameters
NameDescription
request protos.google.cloud.billing.v1.ICreateBillingAccountRequest
callback Callback<protos.google.cloud.billing.v1.IBillingAccount, protos.google.cloud.billing.v1.ICreateBillingAccountRequest | null | undefined, {} | null | undefined>
Returns
TypeDescription
void

getBillingAccount(request, options)

getBillingAccount(request?: protos.google.cloud.billing.v1.IGetBillingAccountRequest, options?: CallOptions): Promise<[protos.google.cloud.billing.v1.IBillingAccount, protos.google.cloud.billing.v1.IGetBillingAccountRequest | undefined, {} | undefined]>;
Parameters
NameDescription
request protos.google.cloud.billing.v1.IGetBillingAccountRequest
options CallOptions
Returns
TypeDescription
Promise<[protos.google.cloud.billing.v1.IBillingAccount, protos.google.cloud.billing.v1.IGetBillingAccountRequest | undefined, {} | undefined]>

getBillingAccount(request, options, callback)

getBillingAccount(request: protos.google.cloud.billing.v1.IGetBillingAccountRequest, options: CallOptions, callback: Callback<protos.google.cloud.billing.v1.IBillingAccount, protos.google.cloud.billing.v1.IGetBillingAccountRequest | null | undefined, {} | null | undefined>): void;
Parameters
NameDescription
request protos.google.cloud.billing.v1.IGetBillingAccountRequest
options CallOptions
callback Callback<protos.google.cloud.billing.v1.IBillingAccount, protos.google.cloud.billing.v1.IGetBillingAccountRequest | null | undefined, {} | null | undefined>
Returns
TypeDescription
void

getBillingAccount(request, callback)

getBillingAccount(request: protos.google.cloud.billing.v1.IGetBillingAccountRequest, callback: Callback<protos.google.cloud.billing.v1.IBillingAccount, protos.google.cloud.billing.v1.IGetBillingAccountRequest | null | undefined, {} | null | undefined>): void;
Parameters
NameDescription
request protos.google.cloud.billing.v1.IGetBillingAccountRequest
callback Callback<protos.google.cloud.billing.v1.IBillingAccount, protos.google.cloud.billing.v1.IGetBillingAccountRequest | null | undefined, {} | null | undefined>
Returns
TypeDescription
void

getIamPolicy(request, options)

getIamPolicy(request?: protos.google.iam.v1.IGetIamPolicyRequest, options?: CallOptions): Promise<[protos.google.iam.v1.IPolicy, protos.google.iam.v1.IGetIamPolicyRequest | undefined, {} | undefined]>;
Parameters
NameDescription
request protos.google.iam.v1.IGetIamPolicyRequest
options CallOptions
Returns
TypeDescription
Promise<[protos.google.iam.v1.IPolicy, protos.google.iam.v1.IGetIamPolicyRequest | undefined, {} | undefined]>

getIamPolicy(request, options, callback)

getIamPolicy(request: protos.google.iam.v1.IGetIamPolicyRequest, options: CallOptions, callback: Callback<protos.google.iam.v1.IPolicy, protos.google.iam.v1.IGetIamPolicyRequest | null | undefined, {} | null | undefined>): void;
Parameters
NameDescription
request protos.google.iam.v1.IGetIamPolicyRequest
options CallOptions
callback Callback<protos.google.iam.v1.IPolicy, protos.google.iam.v1.IGetIamPolicyRequest | null | undefined, {} | null | undefined>
Returns
TypeDescription
void

getIamPolicy(request, callback)

getIamPolicy(request: protos.google.iam.v1.IGetIamPolicyRequest, callback: Callback<protos.google.iam.v1.IPolicy, protos.google.iam.v1.IGetIamPolicyRequest | null | undefined, {} | null | undefined>): void;
Parameters
NameDescription
request protos.google.iam.v1.IGetIamPolicyRequest
callback Callback<protos.google.iam.v1.IPolicy, protos.google.iam.v1.IGetIamPolicyRequest | null | undefined, {} | null | undefined>
Returns
TypeDescription
void

getProjectBillingInfo(request, options)

getProjectBillingInfo(request?: protos.google.cloud.billing.v1.IGetProjectBillingInfoRequest, options?: CallOptions): Promise<[protos.google.cloud.billing.v1.IProjectBillingInfo, protos.google.cloud.billing.v1.IGetProjectBillingInfoRequest | undefined, {} | undefined]>;
Parameters
NameDescription
request protos.google.cloud.billing.v1.IGetProjectBillingInfoRequest
options CallOptions
Returns
TypeDescription
Promise<[protos.google.cloud.billing.v1.IProjectBillingInfo, protos.google.cloud.billing.v1.IGetProjectBillingInfoRequest | undefined, {} | undefined]>

getProjectBillingInfo(request, options, callback)

getProjectBillingInfo(request: protos.google.cloud.billing.v1.IGetProjectBillingInfoRequest, options: CallOptions, callback: Callback<protos.google.cloud.billing.v1.IProjectBillingInfo, protos.google.cloud.billing.v1.IGetProjectBillingInfoRequest | null | undefined, {} | null | undefined>): void;
Parameters
NameDescription
request protos.google.cloud.billing.v1.IGetProjectBillingInfoRequest
options CallOptions
callback Callback<protos.google.cloud.billing.v1.IProjectBillingInfo, protos.google.cloud.billing.v1.IGetProjectBillingInfoRequest | null | undefined, {} | null | undefined>
Returns
TypeDescription
void

getProjectBillingInfo(request, callback)

getProjectBillingInfo(request: protos.google.cloud.billing.v1.IGetProjectBillingInfoRequest, callback: Callback<protos.google.cloud.billing.v1.IProjectBillingInfo, protos.google.cloud.billing.v1.IGetProjectBillingInfoRequest | null | undefined, {} | null | undefined>): void;
Parameters
NameDescription
request protos.google.cloud.billing.v1.IGetProjectBillingInfoRequest
callback Callback<protos.google.cloud.billing.v1.IProjectBillingInfo, protos.google.cloud.billing.v1.IGetProjectBillingInfoRequest | null | undefined, {} | null | undefined>
Returns
TypeDescription
void

getProjectId()

getProjectId(): Promise<string>;
Returns
TypeDescription
Promise<string>

getProjectId(callback)

getProjectId(callback: Callback<string, undefined, undefined>): void;
Parameter
NameDescription
callback Callback<string, undefined, undefined>
Returns
TypeDescription
void

initialize()

initialize(): Promise<{
        [name: string]: Function;
    }>;

Initialize the client. Performs asynchronous operations (such as authentication) and prepares the client. This function will be called automatically when any class method is called for the first time, but if you need to initialize it before calling an actual method, feel free to call initialize() directly.

You can await on this method if you want to make sure the client is initialized.

Returns
TypeDescription
Promise<{ [name: string]: Function; }>

{Promise} A promise that resolves to an authenticated service stub.

listBillingAccounts(request, options)

listBillingAccounts(request?: protos.google.cloud.billing.v1.IListBillingAccountsRequest, options?: CallOptions): Promise<[protos.google.cloud.billing.v1.IBillingAccount[], protos.google.cloud.billing.v1.IListBillingAccountsRequest | null, protos.google.cloud.billing.v1.IListBillingAccountsResponse]>;
Parameters
NameDescription
request protos.google.cloud.billing.v1.IListBillingAccountsRequest
options CallOptions
Returns
TypeDescription
Promise<[protos.google.cloud.billing.v1.IBillingAccount[], protos.google.cloud.billing.v1.IListBillingAccountsRequest | null, protos.google.cloud.billing.v1.IListBillingAccountsResponse]>

listBillingAccounts(request, options, callback)

listBillingAccounts(request: protos.google.cloud.billing.v1.IListBillingAccountsRequest, options: CallOptions, callback: PaginationCallback<protos.google.cloud.billing.v1.IListBillingAccountsRequest, protos.google.cloud.billing.v1.IListBillingAccountsResponse | null | undefined, protos.google.cloud.billing.v1.IBillingAccount>): void;
Parameters
NameDescription
request protos.google.cloud.billing.v1.IListBillingAccountsRequest
options CallOptions
callback PaginationCallback<protos.google.cloud.billing.v1.IListBillingAccountsRequest, protos.google.cloud.billing.v1.IListBillingAccountsResponse | null | undefined, protos.google.cloud.billing.v1.IBillingAccount>
Returns
TypeDescription
void

listBillingAccounts(request, callback)

listBillingAccounts(request: protos.google.cloud.billing.v1.IListBillingAccountsRequest, callback: PaginationCallback<protos.google.cloud.billing.v1.IListBillingAccountsRequest, protos.google.cloud.billing.v1.IListBillingAccountsResponse | null | undefined, protos.google.cloud.billing.v1.IBillingAccount>): void;
Parameters
NameDescription
request protos.google.cloud.billing.v1.IListBillingAccountsRequest
callback PaginationCallback<protos.google.cloud.billing.v1.IListBillingAccountsRequest, protos.google.cloud.billing.v1.IListBillingAccountsResponse | null | undefined, protos.google.cloud.billing.v1.IBillingAccount>
Returns
TypeDescription
void

listBillingAccountsAsync(request, options)

listBillingAccountsAsync(request?: protos.google.cloud.billing.v1.IListBillingAccountsRequest, options?: CallOptions): AsyncIterable<protos.google.cloud.billing.v1.IBillingAccount>;

Equivalent to listBillingAccounts, but returns an iterable object.

for-await-of syntax is used with the iterable to get response elements on-demand.

Parameters
NameDescription
request protos.google.cloud.billing.v1.IListBillingAccountsRequest

The request object that will be sent.

options CallOptions

Call options. See CallOptions for more details.

Returns
TypeDescription
AsyncIterable<protos.google.cloud.billing.v1.IBillingAccount>

{Object} An iterable Object that allows [async iteration](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols). When you iterate the returned iterable, each element will be an object representing [BillingAccount]. The API will be called under the hood as needed, once per the page, so you can stop the iteration when you don't need more results. Please see the [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination) for more details and examples.

listBillingAccountsStream(request, options)

listBillingAccountsStream(request?: protos.google.cloud.billing.v1.IListBillingAccountsRequest, options?: CallOptions): Transform;

Equivalent to method.name.toCamelCase(), but returns a NodeJS Stream object.

Parameters
NameDescription
request protos.google.cloud.billing.v1.IListBillingAccountsRequest

The request object that will be sent.

options CallOptions

Call options. See CallOptions for more details.

Returns
TypeDescription
Transform

{Stream} An object stream which emits an object representing [BillingAccount] on 'data' event. The client library will perform auto-pagination by default: it will call the API as many times as needed. Note that it can affect your quota. We recommend using listBillingAccountsAsync() method described below for async iteration which you can stop as needed. Please see the [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination) for more details and examples.

listProjectBillingInfo(request, options)

listProjectBillingInfo(request?: protos.google.cloud.billing.v1.IListProjectBillingInfoRequest, options?: CallOptions): Promise<[protos.google.cloud.billing.v1.IProjectBillingInfo[], protos.google.cloud.billing.v1.IListProjectBillingInfoRequest | null, protos.google.cloud.billing.v1.IListProjectBillingInfoResponse]>;
Parameters
NameDescription
request protos.google.cloud.billing.v1.IListProjectBillingInfoRequest
options CallOptions
Returns
TypeDescription
Promise<[protos.google.cloud.billing.v1.IProjectBillingInfo[], protos.google.cloud.billing.v1.IListProjectBillingInfoRequest | null, protos.google.cloud.billing.v1.IListProjectBillingInfoResponse]>

listProjectBillingInfo(request, options, callback)

listProjectBillingInfo(request: protos.google.cloud.billing.v1.IListProjectBillingInfoRequest, options: CallOptions, callback: PaginationCallback<protos.google.cloud.billing.v1.IListProjectBillingInfoRequest, protos.google.cloud.billing.v1.IListProjectBillingInfoResponse | null | undefined, protos.google.cloud.billing.v1.IProjectBillingInfo>): void;
Parameters
NameDescription
request protos.google.cloud.billing.v1.IListProjectBillingInfoRequest
options CallOptions
callback PaginationCallback<protos.google.cloud.billing.v1.IListProjectBillingInfoRequest, protos.google.cloud.billing.v1.IListProjectBillingInfoResponse | null | undefined, protos.google.cloud.billing.v1.IProjectBillingInfo>
Returns
TypeDescription
void

listProjectBillingInfo(request, callback)

listProjectBillingInfo(request: protos.google.cloud.billing.v1.IListProjectBillingInfoRequest, callback: PaginationCallback<protos.google.cloud.billing.v1.IListProjectBillingInfoRequest, protos.google.cloud.billing.v1.IListProjectBillingInfoResponse | null | undefined, protos.google.cloud.billing.v1.IProjectBillingInfo>): void;
Parameters
NameDescription
request protos.google.cloud.billing.v1.IListProjectBillingInfoRequest
callback PaginationCallback<protos.google.cloud.billing.v1.IListProjectBillingInfoRequest, protos.google.cloud.billing.v1.IListProjectBillingInfoResponse | null | undefined, protos.google.cloud.billing.v1.IProjectBillingInfo>
Returns
TypeDescription
void

listProjectBillingInfoAsync(request, options)

listProjectBillingInfoAsync(request?: protos.google.cloud.billing.v1.IListProjectBillingInfoRequest, options?: CallOptions): AsyncIterable<protos.google.cloud.billing.v1.IProjectBillingInfo>;

Equivalent to listProjectBillingInfo, but returns an iterable object.

for-await-of syntax is used with the iterable to get response elements on-demand.

Parameters
NameDescription
request protos.google.cloud.billing.v1.IListProjectBillingInfoRequest

The request object that will be sent.

options CallOptions

Call options. See CallOptions for more details.

Returns
TypeDescription
AsyncIterable<protos.google.cloud.billing.v1.IProjectBillingInfo>

{Object} An iterable Object that allows [async iteration](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols). When you iterate the returned iterable, each element will be an object representing [ProjectBillingInfo]. The API will be called under the hood as needed, once per the page, so you can stop the iteration when you don't need more results. Please see the [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination) for more details and examples.

listProjectBillingInfoStream(request, options)

listProjectBillingInfoStream(request?: protos.google.cloud.billing.v1.IListProjectBillingInfoRequest, options?: CallOptions): Transform;

Equivalent to method.name.toCamelCase(), but returns a NodeJS Stream object.

Parameters
NameDescription
request protos.google.cloud.billing.v1.IListProjectBillingInfoRequest

The request object that will be sent.

options CallOptions

Call options. See CallOptions for more details.

Returns
TypeDescription
Transform

{Stream} An object stream which emits an object representing [ProjectBillingInfo] on 'data' event. The client library will perform auto-pagination by default: it will call the API as many times as needed. Note that it can affect your quota. We recommend using listProjectBillingInfoAsync() method described below for async iteration which you can stop as needed. Please see the [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination) for more details and examples.

matchBillingAccountFromBillingAccountName(billingAccountName)

matchBillingAccountFromBillingAccountName(billingAccountName: string): string | number;

Parse the billing_account from BillingAccount resource.

Parameter
NameDescription
billingAccountName string

A fully-qualified path representing BillingAccount resource.

Returns
TypeDescription
string | number

{string} A string representing the billing_account.

matchServiceFromServiceName(serviceName)

matchServiceFromServiceName(serviceName: string): string | number;

Parse the service from Service resource.

Parameter
NameDescription
serviceName string

A fully-qualified path representing Service resource.

Returns
TypeDescription
string | number

{string} A string representing the service.

matchServiceFromSkuName(skuName)

matchServiceFromSkuName(skuName: string): string | number;

Parse the service from Sku resource.

Parameter
NameDescription
skuName string

A fully-qualified path representing Sku resource.

Returns
TypeDescription
string | number

{string} A string representing the service.

matchSkuFromSkuName(skuName)

matchSkuFromSkuName(skuName: string): string | number;

Parse the sku from Sku resource.

Parameter
NameDescription
skuName string

A fully-qualified path representing Sku resource.

Returns
TypeDescription
string | number

{string} A string representing the sku.

servicePath(service)

servicePath(service: string): string;

Return a fully-qualified service resource name string.

Parameter
NameDescription
service string
Returns
TypeDescription
string

{string} Resource name string.

setIamPolicy(request, options)

setIamPolicy(request?: protos.google.iam.v1.ISetIamPolicyRequest, options?: CallOptions): Promise<[protos.google.iam.v1.IPolicy, protos.google.iam.v1.ISetIamPolicyRequest | undefined, {} | undefined]>;
Parameters
NameDescription
request protos.google.iam.v1.ISetIamPolicyRequest
options CallOptions
Returns
TypeDescription
Promise<[protos.google.iam.v1.IPolicy, protos.google.iam.v1.ISetIamPolicyRequest | undefined, {} | undefined]>

setIamPolicy(request, options, callback)

setIamPolicy(request: protos.google.iam.v1.ISetIamPolicyRequest, options: CallOptions, callback: Callback<protos.google.iam.v1.IPolicy, protos.google.iam.v1.ISetIamPolicyRequest | null | undefined, {} | null | undefined>): void;
Parameters
NameDescription
request protos.google.iam.v1.ISetIamPolicyRequest
options CallOptions
callback Callback<protos.google.iam.v1.IPolicy, protos.google.iam.v1.ISetIamPolicyRequest | null | undefined, {} | null | undefined>
Returns
TypeDescription
void

setIamPolicy(request, callback)

setIamPolicy(request: protos.google.iam.v1.ISetIamPolicyRequest, callback: Callback<protos.google.iam.v1.IPolicy, protos.google.iam.v1.ISetIamPolicyRequest | null | undefined, {} | null | undefined>): void;
Parameters
NameDescription
request protos.google.iam.v1.ISetIamPolicyRequest
callback Callback<protos.google.iam.v1.IPolicy, protos.google.iam.v1.ISetIamPolicyRequest | null | undefined, {} | null | undefined>
Returns
TypeDescription
void

skuPath(service, sku)

skuPath(service: string, sku: string): string;

Return a fully-qualified sku resource name string.

Parameters
NameDescription
service string
sku string
Returns
TypeDescription
string

{string} Resource name string.

testIamPermissions(request, options)

testIamPermissions(request?: protos.google.iam.v1.ITestIamPermissionsRequest, options?: CallOptions): Promise<[protos.google.iam.v1.ITestIamPermissionsResponse, protos.google.iam.v1.ITestIamPermissionsRequest | undefined, {} | undefined]>;
Parameters
NameDescription
request protos.google.iam.v1.ITestIamPermissionsRequest
options CallOptions
Returns
TypeDescription
Promise<[protos.google.iam.v1.ITestIamPermissionsResponse, protos.google.iam.v1.ITestIamPermissionsRequest | undefined, {} | undefined]>

testIamPermissions(request, options, callback)

testIamPermissions(request: protos.google.iam.v1.ITestIamPermissionsRequest, options: CallOptions, callback: Callback<protos.google.iam.v1.ITestIamPermissionsResponse, protos.google.iam.v1.ITestIamPermissionsRequest | null | undefined, {} | null | undefined>): void;
Parameters
NameDescription
request protos.google.iam.v1.ITestIamPermissionsRequest
options CallOptions
callback Callback<protos.google.iam.v1.ITestIamPermissionsResponse, protos.google.iam.v1.ITestIamPermissionsRequest | null | undefined, {} | null | undefined>
Returns
TypeDescription
void

testIamPermissions(request, callback)

testIamPermissions(request: protos.google.iam.v1.ITestIamPermissionsRequest, callback: Callback<protos.google.iam.v1.ITestIamPermissionsResponse, protos.google.iam.v1.ITestIamPermissionsRequest | null | undefined, {} | null | undefined>): void;
Parameters
NameDescription
request protos.google.iam.v1.ITestIamPermissionsRequest
callback Callback<protos.google.iam.v1.ITestIamPermissionsResponse, protos.google.iam.v1.ITestIamPermissionsRequest | null | undefined, {} | null | undefined>
Returns
TypeDescription
void

updateBillingAccount(request, options)

updateBillingAccount(request?: protos.google.cloud.billing.v1.IUpdateBillingAccountRequest, options?: CallOptions): Promise<[protos.google.cloud.billing.v1.IBillingAccount, protos.google.cloud.billing.v1.IUpdateBillingAccountRequest | undefined, {} | undefined]>;
Parameters
NameDescription
request protos.google.cloud.billing.v1.IUpdateBillingAccountRequest
options CallOptions
Returns
TypeDescription
Promise<[protos.google.cloud.billing.v1.IBillingAccount, protos.google.cloud.billing.v1.IUpdateBillingAccountRequest | undefined, {} | undefined]>

updateBillingAccount(request, options, callback)

updateBillingAccount(request: protos.google.cloud.billing.v1.IUpdateBillingAccountRequest, options: CallOptions, callback: Callback<protos.google.cloud.billing.v1.IBillingAccount, protos.google.cloud.billing.v1.IUpdateBillingAccountRequest | null | undefined, {} | null | undefined>): void;
Parameters
NameDescription
request protos.google.cloud.billing.v1.IUpdateBillingAccountRequest
options CallOptions
callback Callback<protos.google.cloud.billing.v1.IBillingAccount, protos.google.cloud.billing.v1.IUpdateBillingAccountRequest | null | undefined, {} | null | undefined>
Returns
TypeDescription
void

updateBillingAccount(request, callback)

updateBillingAccount(request: protos.google.cloud.billing.v1.IUpdateBillingAccountRequest, callback: Callback<protos.google.cloud.billing.v1.IBillingAccount, protos.google.cloud.billing.v1.IUpdateBillingAccountRequest | null | undefined, {} | null | undefined>): void;
Parameters
NameDescription
request protos.google.cloud.billing.v1.IUpdateBillingAccountRequest
callback Callback<protos.google.cloud.billing.v1.IBillingAccount, protos.google.cloud.billing.v1.IUpdateBillingAccountRequest | null | undefined, {} | null | undefined>
Returns
TypeDescription
void

updateProjectBillingInfo(request, options)

updateProjectBillingInfo(request?: protos.google.cloud.billing.v1.IUpdateProjectBillingInfoRequest, options?: CallOptions): Promise<[protos.google.cloud.billing.v1.IProjectBillingInfo, (protos.google.cloud.billing.v1.IUpdateProjectBillingInfoRequest | undefined), {} | undefined]>;
Parameters
NameDescription
request protos.google.cloud.billing.v1.IUpdateProjectBillingInfoRequest
options CallOptions
Returns
TypeDescription
Promise<[protos.google.cloud.billing.v1.IProjectBillingInfo, (protos.google.cloud.billing.v1.IUpdateProjectBillingInfoRequest | undefined), {} | undefined]>

updateProjectBillingInfo(request, options, callback)

updateProjectBillingInfo(request: protos.google.cloud.billing.v1.IUpdateProjectBillingInfoRequest, options: CallOptions, callback: Callback<protos.google.cloud.billing.v1.IProjectBillingInfo, protos.google.cloud.billing.v1.IUpdateProjectBillingInfoRequest | null | undefined, {} | null | undefined>): void;
Parameters
NameDescription
request protos.google.cloud.billing.v1.IUpdateProjectBillingInfoRequest
options CallOptions
callback Callback<protos.google.cloud.billing.v1.IProjectBillingInfo, protos.google.cloud.billing.v1.IUpdateProjectBillingInfoRequest | null | undefined, {} | null | undefined>
Returns
TypeDescription
void

updateProjectBillingInfo(request, callback)

updateProjectBillingInfo(request: protos.google.cloud.billing.v1.IUpdateProjectBillingInfoRequest, callback: Callback<protos.google.cloud.billing.v1.IProjectBillingInfo, protos.google.cloud.billing.v1.IUpdateProjectBillingInfoRequest | null | undefined, {} | null | undefined>): void;
Parameters
NameDescription
request protos.google.cloud.billing.v1.IUpdateProjectBillingInfoRequest
callback Callback<protos.google.cloud.billing.v1.IProjectBillingInfo, protos.google.cloud.billing.v1.IUpdateProjectBillingInfoRequest | null | undefined, {} | null | undefined>
Returns
TypeDescription
void