Class: Google::Apis::ServiceusageV1::SystemParameterRule
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::ServiceusageV1::SystemParameterRule
 
 
- 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
Define a system parameter rule mapping system parameter definitions to methods.
Instance Attribute Summary collapse
- 
  
    
      #parameters  ⇒ Array<Google::Apis::ServiceusageV1::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.
 
Constructor Details
#initialize(**args) ⇒ SystemParameterRule
Returns a new instance of SystemParameterRule.
      4585 4586 4587  | 
    
      # File 'lib/google/apis/serviceusage_v1/classes.rb', line 4585 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#parameters ⇒ Array<Google::Apis::ServiceusageV1::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
      4577 4578 4579  | 
    
      # File 'lib/google/apis/serviceusage_v1/classes.rb', line 4577 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
      4583 4584 4585  | 
    
      # File 'lib/google/apis/serviceusage_v1/classes.rb', line 4583 def selector @selector end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      4590 4591 4592 4593  | 
    
      # File 'lib/google/apis/serviceusage_v1/classes.rb', line 4590 def update!(**args) @parameters = args[:parameters] if args.key?(:parameters) @selector = args[:selector] if args.key?(:selector) end  |