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.
2867 2868 2869 |
# File 'lib/google/apis/serviceusage_v1beta1/classes.rb', line 2867 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
2865 2866 2867 |
# File 'lib/google/apis/serviceusage_v1beta1/classes.rb', line 2865 def services @services end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2872 2873 2874 |
# File 'lib/google/apis/serviceusage_v1beta1/classes.rb', line 2872 def update!(**args) @services = args[:services] if args.key?(:services) end |