Class: Google::Apis::ServiceconsumermanagementV1::SelectiveGapicGeneration
- Inherits:
-
Object
- Object
- Google::Apis::ServiceconsumermanagementV1::SelectiveGapicGeneration
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/serviceconsumermanagement_v1/classes.rb,
lib/google/apis/serviceconsumermanagement_v1/representations.rb,
lib/google/apis/serviceconsumermanagement_v1/representations.rb
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
-
#methods_prop ⇒ Array<String>
An allowlist of the fully qualified names of RPCs that should be included on public client surfaces.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SelectiveGapicGeneration
constructor
A new instance of SelectiveGapicGeneration.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ SelectiveGapicGeneration
Returns a new instance of SelectiveGapicGeneration.
3180 3181 3182 |
# File 'lib/google/apis/serviceconsumermanagement_v1/classes.rb', line 3180 def initialize(**args) update!(**args) end |
Instance Attribute Details
#methods_prop ⇒ Array<String>
An allowlist of the fully qualified names of RPCs that should be included on
public client surfaces.
Corresponds to the JSON property methods
3178 3179 3180 |
# File 'lib/google/apis/serviceconsumermanagement_v1/classes.rb', line 3178 def methods_prop @methods_prop end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3185 3186 3187 |
# File 'lib/google/apis/serviceconsumermanagement_v1/classes.rb', line 3185 def update!(**args) @methods_prop = args[:methods_prop] if args.key?(:methods_prop) end |