Google Cloud Billing V1 Client - Class Service (1.9.7)

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
Name Description
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
Type Description
string

setName

The resource name for the service.

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

Parameter
Name Description
var string
Returns
Type Description
$this

getServiceId

The identifier for the service.

Example: "DA34-426B-A397"

Returns
Type Description
string

setServiceId

The identifier for the service.

Example: "DA34-426B-A397"

Parameter
Name Description
var string
Returns
Type Description
$this

getDisplayName

A human readable display name for this service.

Returns
Type Description
string

setDisplayName

A human readable display name for this service.

Parameter
Name Description
var string
Returns
Type Description
$this

getBusinessEntityName

The business under which the service is offered.

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

Returns
Type Description
string

setBusinessEntityName

The business under which the service is offered.

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

Parameter
Name Description
var string
Returns
Type Description
$this