Reference documentation and code samples for the Google Cloud Billing V1 Client class MoveBillingAccountRequest.
Request message forMoveBillingAccountRPC.
Generated from protobuf messagegoogle.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 formbillingAccounts/{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 formorganizations/{organization_id}.
getName
Required. The resource name of the billing account to move.
Must be of the formbillingAccounts/{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 formbillingAccounts/{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 formorganizations/{organization_id}.
Returns
Type
Description
string
setDestinationParent
Required. The resource name of the Organization to move
the billing account under.
Must be of the formorganizations/{organization_id}.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Cloud Billing V1 Client - Class MoveBillingAccountRequest (2.1.3)\n\nVersion latestkeyboard_arrow_down\n\n- [2.1.3 (latest)](/php/docs/reference/cloud-billing/latest/V1.MoveBillingAccountRequest)\n- [2.1.2](/php/docs/reference/cloud-billing/2.1.2/V1.MoveBillingAccountRequest)\n- [2.0.1](/php/docs/reference/cloud-billing/2.0.1/V1.MoveBillingAccountRequest)\n- [1.9.8](/php/docs/reference/cloud-billing/1.9.8/V1.MoveBillingAccountRequest)\n- [1.8.0](/php/docs/reference/cloud-billing/1.8.0/V1.MoveBillingAccountRequest)\n- [1.7.5](/php/docs/reference/cloud-billing/1.7.5/V1.MoveBillingAccountRequest)\n- [1.6.0](/php/docs/reference/cloud-billing/1.6.0/V1.MoveBillingAccountRequest)\n- [1.5.6](/php/docs/reference/cloud-billing/1.5.6/V1.MoveBillingAccountRequest) \nReference documentation and code samples for the Google Cloud Billing V1 Client class MoveBillingAccountRequest.\n\nRequest message for `MoveBillingAccount` RPC.\n\nGenerated from protobuf message `google.cloud.billing.v1.MoveBillingAccountRequest`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Billing \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getName\n\nRequired. The resource name of the billing account to move.\n\nMust be of the form `billingAccounts/{billing_account_id}`.\nThe specified billing account cannot be a subaccount, since a subaccount\nalways belongs to the same organization as its parent account.\n\n### setName\n\nRequired. The resource name of the billing account to move.\n\nMust be of the form `billingAccounts/{billing_account_id}`.\nThe specified billing account cannot be a subaccount, since a subaccount\nalways belongs to the same organization as its parent account.\n\n### getDestinationParent\n\nRequired. The resource name of the Organization to move\nthe billing account under.\n\nMust be of the form `organizations/{organization_id}`.\n\n### setDestinationParent\n\nRequired. The resource name of the Organization to move\nthe billing account under.\n\nMust be of the form `organizations/{organization_id}`."]]