Class: Google::Apis::ServiceusageV1::GoogleApiServiceusageV2alphaEnableRule
- Inherits:
-
Object
- Object
- Google::Apis::ServiceusageV1::GoogleApiServiceusageV2alphaEnableRule
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/serviceusage_v1/classes.rb,
lib/google/apis/serviceusage_v1/representations.rb,
lib/google/apis/serviceusage_v1/representations.rb
Overview
The consumer policy rule that defines enabled services, groups, and categories.
Instance Attribute Summary collapse
-
#services ⇒ Array<String>
The names of the services that are enabled.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleApiServiceusageV2alphaEnableRule
constructor
A new instance of GoogleApiServiceusageV2alphaEnableRule.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleApiServiceusageV2alphaEnableRule
Returns a new instance of GoogleApiServiceusageV2alphaEnableRule.
2580 2581 2582 |
# File 'lib/google/apis/serviceusage_v1/classes.rb', line 2580 def initialize(**args) update!(**args) end |
Instance Attribute Details
#services ⇒ Array<String>
The names of the services that are enabled. Example: services/storage.
googleapis.com
.
Corresponds to the JSON property services
2578 2579 2580 |
# File 'lib/google/apis/serviceusage_v1/classes.rb', line 2578 def services @services end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2585 2586 2587 |
# File 'lib/google/apis/serviceusage_v1/classes.rb', line 2585 def update!(**args) @services = args[:services] if args.key?(:services) end |