class Google::Apis::ServiceusageV1beta1::Service
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::ServiceusageV1beta1::ServiceConfig]
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_v1beta1/classes.rb, line 3724 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_v1beta1/classes.rb, line 3729 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