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.



3240
3241
3242
# File 'lib/google/apis/serviceusage_v1beta1/classes.rb', line 3240

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



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