Class: Google::Apis::ServiceusageV1beta1::GoogleApiServiceusageV2betaEnableRule
- Inherits:
-
Object
- Object
- Google::Apis::ServiceusageV1beta1::GoogleApiServiceusageV2betaEnableRule
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/serviceusage_v1beta1/classes.rb,
lib/google/apis/serviceusage_v1beta1/representations.rb,
lib/google/apis/serviceusage_v1beta1/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.
3187 3188 3189 |
# File 'lib/google/apis/serviceusage_v1beta1/classes.rb', line 3187 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
3185 3186 3187 |
# File 'lib/google/apis/serviceusage_v1beta1/classes.rb', line 3185 def services @services end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3192 3193 3194 |
# File 'lib/google/apis/serviceusage_v1beta1/classes.rb', line 3192 def update!(**args) @services = args[:services] if args.key?(:services) end |