Class: Google::Apis::ApihubV1::GoogleCloudApihubV1AgentRegistrySyncConfig
- Inherits:
-
Object
- Object
- Google::Apis::ApihubV1::GoogleCloudApihubV1AgentRegistrySyncConfig
- 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
-
#disabled ⇒ Boolean
(also: #disabled?)
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudApihubV1AgentRegistrySyncConfig
constructor
A new instance of GoogleCloudApihubV1AgentRegistrySyncConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
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
#disabled ⇒ Boolean 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
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 |