Class: Google::Apis::ApihubV1::GoogleCloudApihubV1AgentRegistrySyncConfig

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/apihub_v1/classes.rb,
lib/google/apis/apihub_v1/representations.rb,
lib/google/apis/apihub_v1/representations.rb

Overview

The configuration for Agent Registry sync.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudApihubV1AgentRegistrySyncConfig

Returns a new instance of GoogleCloudApihubV1AgentRegistrySyncConfig.



249
250
251
# File 'lib/google/apis/apihub_v1/classes.rb', line 249

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

Instance Attribute Details

#disabledBoolean Also known as: disabled?

Optional. If true, the MCP data sync to the Agent Registry will be disabled. The default value is false. Corresponds to the JSON property disabled

Returns:

  • (Boolean)


246
247
248
# File 'lib/google/apis/apihub_v1/classes.rb', line 246

def disabled
  @disabled
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



254
255
256
# File 'lib/google/apis/apihub_v1/classes.rb', line 254

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