Google Cloud Billing V1 Client - Class MoveBillingAccountRequest (1.8.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
NameDescription
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 reparent 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
TypeDescription
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
NameDescription
var string
Returns
TypeDescription
$this

getDestinationParent

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

Must be of the form organizations/{organization_id}.

Returns
TypeDescription
string

setDestinationParent

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

Must be of the form organizations/{organization_id}.

Parameter
NameDescription
var string
Returns
TypeDescription
$this