Class: Google::Apis::ServicenetworkingV1beta::SystemParameterRule

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/servicenetworking_v1beta/classes.rb,
lib/google/apis/servicenetworking_v1beta/representations.rb,
lib/google/apis/servicenetworking_v1beta/representations.rb

Overview

Define a system parameter rule mapping system parameter definitions to methods.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SystemParameterRule

Returns a new instance of SystemParameterRule.



4216
4217
4218
# File 'lib/google/apis/servicenetworking_v1beta/classes.rb', line 4216

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#parametersArray<Google::Apis::ServicenetworkingV1beta::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



4208
4209
4210
# File 'lib/google/apis/servicenetworking_v1beta/classes.rb', line 4208

def parameters
  @parameters
end

#selectorString

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

Returns:

  • (String)


4214
4215
4216
# File 'lib/google/apis/servicenetworking_v1beta/classes.rb', line 4214

def selector
  @selector
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4221
4222
4223
4224
# File 'lib/google/apis/servicenetworking_v1beta/classes.rb', line 4221

def update!(**args)
  @parameters = args[:parameters] if args.key?(:parameters)
  @selector = args[:selector] if args.key?(:selector)
end