Google Cloud Billing V1 Client - Class Service (1.8.0)

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

Encapsulates a single service in Google Cloud Platform.

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

Namespace

Google \ Cloud \ Billing \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ name string

The resource name for the service. Example: "services/DA34-426B-A397"

↳ service_id string

The identifier for the service. Example: "DA34-426B-A397"

↳ display_name string

A human readable display name for this service.

↳ business_entity_name string

The business under which the service is offered. Ex. "businessEntities/GCP", "businessEntities/Maps"

getName

The resource name for the service.

Example: "services/DA34-426B-A397"

Returns
TypeDescription
string

setName

The resource name for the service.

Example: "services/DA34-426B-A397"

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getServiceId

The identifier for the service.

Example: "DA34-426B-A397"

Returns
TypeDescription
string

setServiceId

The identifier for the service.

Example: "DA34-426B-A397"

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getDisplayName

A human readable display name for this service.

Returns
TypeDescription
string

setDisplayName

A human readable display name for this service.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getBusinessEntityName

The business under which the service is offered.

Ex. "businessEntities/GCP", "businessEntities/Maps"

Returns
TypeDescription
string

setBusinessEntityName

The business under which the service is offered.

Ex. "businessEntities/GCP", "businessEntities/Maps"

Parameter
NameDescription
var string
Returns
TypeDescription
$this