Google Cloud Billing V1 Client - Class GetProjectBillingInfoRequest (1.7.5)

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

Request message for GetProjectBillingInfo.

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

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 project for which billing information is retrieved. For example, projects/tokyo-rain-123.

getName

Required. The resource name of the project for which billing information is retrieved. For example, projects/tokyo-rain-123.

Returns
TypeDescription
string

setName

Required. The resource name of the project for which billing information is retrieved. For example, projects/tokyo-rain-123.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

static::build

Parameter
NameDescription
name string

Required. The resource name of the project for which billing information is retrieved. For example, projects/tokyo-rain-123. Please see Google\Cloud\Billing\V1\CloudBillingClient::projectName() for help formatting this field.

Returns
TypeDescription
Google\Cloud\Billing\V1\GetProjectBillingInfoRequest