# Service Management V1 API - Class Google::Api::SystemParameterRule (v1.8.0)

1.8.0 (latest) 1.7.1 1.6.0 1.5.1 1.4.0 1.3.0 1.2.1 1.1.0 1.0.2 0.11.0 0.10.2 0.9.0 0.8.0 0.7.0 0.6.1 0.5.0 0.4.1 0.3.10 Reference documentation and code samples for the Service Management V1 API class Google::Api::SystemParameterRule.

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

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #parameters

    def parameters() -> ::Array<::Google::Api::SystemParameter>

**Returns**

- (::Array\<[::Google::Api::SystemParameter](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-service_management-v1/latest/Google-Api-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.

### #parameters=

    def parameters=(value) -> ::Array<::Google::Api::SystemParameter>

**Parameter**

- **value** (::Array\<[::Google::Api::SystemParameter](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-service_management-v1/latest/Google-Api-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.
**Returns**

- (::Array\<[::Google::Api::SystemParameter](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-service_management-v1/latest/Google-Api-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.

### #selector

    def selector() -> ::String

**Returns**

- (::String) --- Selects the methods to which this rule applies. Use '\*' to indicate all methods in all APIs.

  Refer to [selector](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-service_management-v1/latest/Google-Api-DocumentationRule#Google__Api__DocumentationRule_selector_instance_ "Google::Api::DocumentationRule#selector (method)") for syntax
  details.

### #selector=

    def selector=(value) -> ::String

**Parameter**

- **value** (::String) --- Selects the methods to which this rule applies. Use '\*' to indicate all methods in all APIs.


  Refer to [selector](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-service_management-v1/latest/Google-Api-DocumentationRule#Google__Api__DocumentationRule_selector_instance_ "Google::Api::DocumentationRule#selector (method)") for syntax
  details.
**Returns**

- (::String) --- Selects the methods to which this rule applies. Use '\*' to indicate all methods in all APIs.

  Refer to [selector](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-service_management-v1/latest/Google-Api-DocumentationRule#Google__Api__DocumentationRule_selector_instance_ "Google::Api::DocumentationRule#selector (method)") for syntax
  details.