Class: Google::Apis::ServiceuserV1::SystemParameterRule
- Inherits:
-
Object
- Object
- Google::Apis::ServiceuserV1::SystemParameterRule
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/serviceuser_v1/classes.rb,
generated/google/apis/serviceuser_v1/representations.rb,
generated/google/apis/serviceuser_v1/representations.rb
Overview
Define a system parameter rule mapping system parameter definitions to methods.
Instance Attribute Summary collapse
-
#parameters ⇒ Array<Google::Apis::ServiceuserV1::SystemParameter>
Define parameters.
-
#selector ⇒ String
Selects the methods to which this rule applies.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SystemParameterRule
constructor
A new instance of SystemParameterRule.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ SystemParameterRule
Returns a new instance of SystemParameterRule
3172 3173 3174 |
# File 'generated/google/apis/serviceuser_v1/classes.rb', line 3172 def initialize(**args) update!(**args) end |
Instance Attribute Details
#parameters ⇒ Array<Google::Apis::ServiceuserV1::SystemParameter>
Define parameters. Multiple names may be defined for a parameter.
For a given method call, only one of them should be used. If multiple
names are used the behavior is implementation-dependent.
If none of the specified names are present the behavior is
parameter-dependent.
Corresponds to the JSON property parameters
3170 3171 3172 |
# File 'generated/google/apis/serviceuser_v1/classes.rb', line 3170 def parameters @parameters end |
#selector ⇒ String
Selects the methods to which this rule applies. Use '*' to indicate all
methods in all APIs.
Refer to selector for syntax details.
Corresponds to the JSON property selector
3161 3162 3163 |
# File 'generated/google/apis/serviceuser_v1/classes.rb', line 3161 def selector @selector end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3177 3178 3179 3180 |
# File 'generated/google/apis/serviceuser_v1/classes.rb', line 3177 def update!(**args) @selector = args[:selector] if args.key?(:selector) @parameters = args[:parameters] if args.key?(:parameters) end |