Class: Google::Apis::ServicemanagementV1::SelectiveGapicGeneration

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

Overview

This message is used to configure the generation of a subset of the RPCs in a service for client libraries.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SelectiveGapicGeneration

Returns a new instance of SelectiveGapicGeneration.

[View source]

3907
3908
3909
# File 'lib/google/apis/servicemanagement_v1/classes.rb', line 3907

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

Instance Attribute Details

#methods_propArray<String>

An allowlist of the fully qualified names of RPCs that should be included on public client surfaces. Corresponds to the JSON property methods

Returns:

  • (Array<String>)

3905
3906
3907
# File 'lib/google/apis/servicemanagement_v1/classes.rb', line 3905

def methods_prop
  @methods_prop
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object

[View source]

3912
3913
3914
# File 'lib/google/apis/servicemanagement_v1/classes.rb', line 3912

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