class Google::Apis::ServiceusageV1::GoogleApiServiceusageV1Service

A service that is available for use by the consumer.

Attributes

config[RW]

The configuration of the service. Corresponds to the JSON property `config` @return [Google::Apis::ServiceusageV1::GoogleApiServiceusageV1ServiceConfig]

name[RW]

The resource name of the consumer and service. A valid name would be: - projects/123/services/serviceusage.googleapis.com Corresponds to the JSON property `name` @return [String]

parent[RW]

The resource name of the consumer. A valid name would be: - projects/123 Corresponds to the JSON property `parent` @return [String]

state[RW]

Whether or not the service has been enabled for use by the consumer. Corresponds to the JSON property `state` @return [String]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/serviceusage_v1/classes.rb, line 1731
def update!(**args)
  @config = args[:config] if args.key?(:config)
  @name = args[:name] if args.key?(:name)
  @parent = args[:parent] if args.key?(:parent)
  @state = args[:state] if args.key?(:state)
end