Class: Google::Apis::ServiceusageV1beta1::GoogleApiServiceusageV2betaMcpEnableRule
- Inherits:
-
Object
- Object
- Google::Apis::ServiceusageV1beta1::GoogleApiServiceusageV2betaMcpEnableRule
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/serviceusage_v1beta1/classes.rb,
lib/google/apis/serviceusage_v1beta1/representations.rb,
lib/google/apis/serviceusage_v1beta1/representations.rb
Overview
McpEnableRule contains MCP enablement related rules.
Instance Attribute Summary collapse
-
#mcp_services ⇒ Array<Google::Apis::ServiceusageV1beta1::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.
3240 3241 3242 |
# File 'lib/google/apis/serviceusage_v1beta1/classes.rb', line 3240 def initialize(**args) update!(**args) end |
Instance Attribute Details
#mcp_services ⇒ Array<Google::Apis::ServiceusageV1beta1::GoogleApiServiceusageV2betaMcpService>
List of enabled MCP services.
Corresponds to the JSON property mcpServices
3238 3239 3240 |
# File 'lib/google/apis/serviceusage_v1beta1/classes.rb', line 3238 def mcp_services @mcp_services end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3245 3246 3247 |
# File 'lib/google/apis/serviceusage_v1beta1/classes.rb', line 3245 def update!(**args) @mcp_services = args[:mcp_services] if args.key?(:mcp_services) end |