Class: Google::Apis::ServiceusageV1::GoogleApiServiceusageV2betaEnableRule
- Inherits:
-
Object
- Object
- Google::Apis::ServiceusageV1::GoogleApiServiceusageV2betaEnableRule
- 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) ⇒ GoogleApiServiceusageV2betaEnableRule
constructor
A new instance of GoogleApiServiceusageV2betaEnableRule.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleApiServiceusageV2betaEnableRule
Returns a new instance of GoogleApiServiceusageV2betaEnableRule.
2772 2773 2774 |
# File 'lib/google/apis/serviceusage_v1/classes.rb', line 2772 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
2770 2771 2772 |
# File 'lib/google/apis/serviceusage_v1/classes.rb', line 2770 def services @services end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2777 2778 2779 |
# File 'lib/google/apis/serviceusage_v1/classes.rb', line 2777 def update!(**args) @services = args[:services] if args.key?(:services) end |