Class: Google::Apis::PlaydeveloperreportingV1beta1::ApiservingMcpMcpToolVisibilityFieldVisibility
- Inherits:
-
Object
- Object
- Google::Apis::PlaydeveloperreportingV1beta1::ApiservingMcpMcpToolVisibilityFieldVisibility
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/playdeveloperreporting_v1beta1/classes.rb,
lib/google/apis/playdeveloperreporting_v1beta1/representations.rb,
lib/google/apis/playdeveloperreporting_v1beta1/representations.rb
Overview
Visibility rules for individual tool parameters (fields). This allows producers to hide specific fields in tools/list and tools/call.
Instance Attribute Summary collapse
-
#restriction ⇒ String
The visibility restriction labels for this field (comma-separated).
-
#selector ⇒ String
The name of the parameter in the input_schema or output_schema.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ApiservingMcpMcpToolVisibilityFieldVisibility
constructor
A new instance of ApiservingMcpMcpToolVisibilityFieldVisibility.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ApiservingMcpMcpToolVisibilityFieldVisibility
Returns a new instance of ApiservingMcpMcpToolVisibilityFieldVisibility.
75 76 77 |
# File 'lib/google/apis/playdeveloperreporting_v1beta1/classes.rb', line 75 def initialize(**args) update!(**args) end |
Instance Attribute Details
#restriction ⇒ String
The visibility restriction labels for this field (comma-separated).
Corresponds to the JSON property restriction
68 69 70 |
# File 'lib/google/apis/playdeveloperreporting_v1beta1/classes.rb', line 68 def restriction @restriction end |
#selector ⇒ String
The name of the parameter in the input_schema or output_schema.
Corresponds to the JSON property selector
73 74 75 |
# File 'lib/google/apis/playdeveloperreporting_v1beta1/classes.rb', line 73 def selector @selector end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
80 81 82 83 |
# File 'lib/google/apis/playdeveloperreporting_v1beta1/classes.rb', line 80 def update!(**args) @restriction = args[:restriction] if args.key?(:restriction) @selector = args[:selector] if args.key?(:selector) end |