class Google::Apis::CloudbillingV1::Service

Encapsulates a single service in Google Cloud Platform.

Attributes

business_entity_name[RW]

The business under which the service is offered. Ex. “businessEntities/GCP”, “ businessEntities/Maps” Corresponds to the JSON property `businessEntityName` @return [String]

display_name[RW]

A human readable display name for this service. Corresponds to the JSON property `displayName` @return [String]

name[RW]

The resource name for the service. Example: “services/DA34-426B-A397” Corresponds to the JSON property `name` @return [String]

service_id[RW]

The identifier for the service. Example: “DA34-426B-A397” Corresponds to the JSON property `serviceId` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/cloudbilling_v1/classes.rb, line 803
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/cloudbilling_v1/classes.rb, line 808
def update!(**args)
  @business_entity_name = args[:business_entity_name] if args.key?(:business_entity_name)
  @display_name = args[:display_name] if args.key?(:display_name)
  @name = args[:name] if args.key?(:name)
  @service_id = args[:service_id] if args.key?(:service_id)
end