Google Cloud Billing V1 Client - Class MoveBillingAccountRequest (2.0.0)

Reference documentation and code samples for the Google Cloud Billing V1 Client class MoveBillingAccountRequest.

Request message for MoveBillingAccount RPC.

Generated from protobuf message google.cloud.billing.v1.MoveBillingAccountRequest

Namespace

Google \ Cloud \ Billing \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

Required. The resource name of the billing account to move. Must be of the form billingAccounts/{billing_account_id}. The specified billing account cannot be a subaccount, since a subaccount always belongs to the same organization as its parent account.

↳ destination_parent string

Required. The resource name of the Organization to move the billing account under. Must be of the form organizations/{organization_id}.

getName

Required. The resource name of the billing account to move.

Must be of the form billingAccounts/{billing_account_id}. The specified billing account cannot be a subaccount, since a subaccount always belongs to the same organization as its parent account.

Returns
Type Description
string

setName

Required. The resource name of the billing account to move.

Must be of the form billingAccounts/{billing_account_id}. The specified billing account cannot be a subaccount, since a subaccount always belongs to the same organization as its parent account.

Parameter
Name Description
var string
Returns
Type Description
$this

getDestinationParent

Required. The resource name of the Organization to move the billing account under.

Must be of the form organizations/{organization_id}.

Returns
Type Description
string

setDestinationParent

Required. The resource name of the Organization to move the billing account under.

Must be of the form organizations/{organization_id}.

Parameter
Name Description
var string
Returns
Type Description
$this