Class: Google::Apis::ServiceusageV1::GoogleApiServiceusageV2betaMcpEnableRule
- Inherits:
-
Object
- Object
- Google::Apis::ServiceusageV1::GoogleApiServiceusageV2betaMcpEnableRule
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/serviceusage_v1/classes.rb,
lib/google/apis/serviceusage_v1/representations.rb,
lib/google/apis/serviceusage_v1/representations.rb
Overview
McpEnableRule contains MCP enablement related rules.
Instance Attribute Summary collapse
-
#mcp_services ⇒ Array<Google::Apis::ServiceusageV1::GoogleApiServiceusageV2betaMcpService>
List of enabled MCP services.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleApiServiceusageV2betaMcpEnableRule
constructor
A new instance of GoogleApiServiceusageV2betaMcpEnableRule.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleApiServiceusageV2betaMcpEnableRule
Returns a new instance of GoogleApiServiceusageV2betaMcpEnableRule.
3129 3130 3131 |
# File 'lib/google/apis/serviceusage_v1/classes.rb', line 3129 def initialize(**args) update!(**args) end |
Instance Attribute Details
#mcp_services ⇒ Array<Google::Apis::ServiceusageV1::GoogleApiServiceusageV2betaMcpService>
List of enabled MCP services.
Corresponds to the JSON property mcpServices
3127 3128 3129 |
# File 'lib/google/apis/serviceusage_v1/classes.rb', line 3127 def mcp_services @mcp_services end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3134 3135 3136 |
# File 'lib/google/apis/serviceusage_v1/classes.rb', line 3134 def update!(**args) @mcp_services = args[:mcp_services] if args.key?(:mcp_services) end |