Class: Google::Apis::ServiceusageV1beta1::GoogleApiServiceusageV2betaMcpEnableRule

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleApiServiceusageV2betaMcpEnableRule

Returns a new instance of GoogleApiServiceusageV2betaMcpEnableRule.



3237
3238
3239
# File 'lib/google/apis/serviceusage_v1beta1/classes.rb', line 3237

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

Instance Attribute Details

#mcp_servicesArray<Google::Apis::ServiceusageV1beta1::GoogleApiServiceusageV2betaMcpService>

List of enabled MCP services. Corresponds to the JSON property mcpServices



3235
3236
3237
# File 'lib/google/apis/serviceusage_v1beta1/classes.rb', line 3235

def mcp_services
  @mcp_services
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3242
3243
3244
# File 'lib/google/apis/serviceusage_v1beta1/classes.rb', line 3242

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