Agent Registry v1 API - Class AgentRegistrySettings (1.0.0-beta01)

public sealed class AgentRegistrySettings : ServiceSettingsBase

Reference documentation and code samples for the Agent Registry v1 API class AgentRegistrySettings.

Settings for AgentRegistryClient instances.

Inheritance

object > ServiceSettingsBase > AgentRegistrySettings

Namespace

Google.Cloud.AgentRegistry.V1

Assembly

Google.Cloud.AgentRegistry.V1.dll

Constructors

AgentRegistrySettings()

public AgentRegistrySettings()

Constructs a new AgentRegistrySettings object with default settings.

Properties

CreateBindingOperationsSettings

public OperationsSettings CreateBindingOperationsSettings { get; set; }

Long Running Operation settings for calls to AgentRegistryClient.CreateBinding and AgentRegistryClient.CreateBindingAsync.

Property Value
Type Description
OperationsSettings
Remarks

Uses default PollSettings of:

  • Initial delay: 20 seconds.
  • Delay multiplier: 1.5
  • Maximum delay: 45 seconds.
  • Total timeout: 24 hours.

CreateBindingSettings

public CallSettings CreateBindingSettings { get; set; }

CallSettings for synchronous and asynchronous calls to AgentRegistryClient.CreateBinding and AgentRegistryClient.CreateBindingAsync.

Property Value
Type Description
CallSettings
Remarks
  • This call will not be retried.
  • Timeout: 60 seconds.

CreateServiceOperationsSettings

public OperationsSettings CreateServiceOperationsSettings { get; set; }

Long Running Operation settings for calls to AgentRegistryClient.CreateService and AgentRegistryClient.CreateServiceAsync.

Property Value
Type Description
OperationsSettings
Remarks

Uses default PollSettings of:

  • Initial delay: 20 seconds.
  • Delay multiplier: 1.5
  • Maximum delay: 45 seconds.
  • Total timeout: 24 hours.

CreateServiceSettings

public CallSettings CreateServiceSettings { get; set; }

CallSettings for synchronous and asynchronous calls to AgentRegistryClient.CreateService and AgentRegistryClient.CreateServiceAsync.

Property Value
Type Description
CallSettings
Remarks
  • This call will not be retried.
  • Timeout: 60 seconds.

DeleteBindingOperationsSettings

public OperationsSettings DeleteBindingOperationsSettings { get; set; }

Long Running Operation settings for calls to AgentRegistryClient.DeleteBinding and AgentRegistryClient.DeleteBindingAsync.

Property Value
Type Description
OperationsSettings
Remarks

Uses default PollSettings of:

  • Initial delay: 20 seconds.
  • Delay multiplier: 1.5
  • Maximum delay: 45 seconds.
  • Total timeout: 24 hours.

DeleteBindingSettings

public CallSettings DeleteBindingSettings { get; set; }

CallSettings for synchronous and asynchronous calls to AgentRegistryClient.DeleteBinding and AgentRegistryClient.DeleteBindingAsync.

Property Value
Type Description
CallSettings
Remarks
  • This call will not be retried.
  • Timeout: 60 seconds.

DeleteServiceOperationsSettings

public OperationsSettings DeleteServiceOperationsSettings { get; set; }

Long Running Operation settings for calls to AgentRegistryClient.DeleteService and AgentRegistryClient.DeleteServiceAsync.

Property Value
Type Description
OperationsSettings
Remarks

Uses default PollSettings of:

  • Initial delay: 20 seconds.
  • Delay multiplier: 1.5
  • Maximum delay: 45 seconds.
  • Total timeout: 24 hours.

DeleteServiceSettings

public CallSettings DeleteServiceSettings { get; set; }

CallSettings for synchronous and asynchronous calls to AgentRegistryClient.DeleteService and AgentRegistryClient.DeleteServiceAsync.

Property Value
Type Description
CallSettings
Remarks
  • This call will not be retried.
  • Timeout: 60 seconds.

FetchAvailableBindingsSettings

public CallSettings FetchAvailableBindingsSettings { get; set; }

CallSettings for synchronous and asynchronous calls to AgentRegistryClient.FetchAvailableBindings and AgentRegistryClient.FetchAvailableBindingsAsync .

Property Value
Type Description
CallSettings
Remarks
  • Initial retry delay: 1000 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 10000 milliseconds.
  • Maximum attempts: 5
  • Retriable status codes: Unavailable.
  • Timeout: 60 seconds.

GetAgentSettings

public CallSettings GetAgentSettings { get; set; }

CallSettings for synchronous and asynchronous calls to AgentRegistryClient.GetAgent and AgentRegistryClient.GetAgentAsync.

Property Value
Type Description
CallSettings
Remarks
  • Initial retry delay: 1000 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 10000 milliseconds.
  • Maximum attempts: 5
  • Retriable status codes: Unavailable.
  • Timeout: 60 seconds.

GetBindingSettings

public CallSettings GetBindingSettings { get; set; }

CallSettings for synchronous and asynchronous calls to AgentRegistryClient.GetBinding and AgentRegistryClient.GetBindingAsync.

Property Value
Type Description
CallSettings
Remarks
  • Initial retry delay: 1000 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 10000 milliseconds.
  • Maximum attempts: 5
  • Retriable status codes: Unavailable.
  • Timeout: 60 seconds.

GetEndpointSettings

public CallSettings GetEndpointSettings { get; set; }

CallSettings for synchronous and asynchronous calls to AgentRegistryClient.GetEndpoint and AgentRegistryClient.GetEndpointAsync.

Property Value
Type Description
CallSettings
Remarks
  • Initial retry delay: 1000 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 10000 milliseconds.
  • Maximum attempts: 5
  • Retriable status codes: Unavailable.
  • Timeout: 60 seconds.

GetMcpServerSettings

public CallSettings GetMcpServerSettings { get; set; }

CallSettings for synchronous and asynchronous calls to AgentRegistryClient.GetMcpServer and AgentRegistryClient.GetMcpServerAsync.

Property Value
Type Description
CallSettings
Remarks
  • Initial retry delay: 1000 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 10000 milliseconds.
  • Maximum attempts: 5
  • Retriable status codes: Unavailable.
  • Timeout: 60 seconds.

GetServiceSettings

public CallSettings GetServiceSettings { get; set; }

CallSettings for synchronous and asynchronous calls to AgentRegistryClient.GetService and AgentRegistryClient.GetServiceAsync.

Property Value
Type Description
CallSettings
Remarks
  • Initial retry delay: 1000 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 10000 milliseconds.
  • Maximum attempts: 5
  • Retriable status codes: Unavailable.
  • Timeout: 60 seconds.

ListAgentsSettings

public CallSettings ListAgentsSettings { get; set; }

CallSettings for synchronous and asynchronous calls to AgentRegistryClient.ListAgents and AgentRegistryClient.ListAgentsAsync.

Property Value
Type Description
CallSettings
Remarks
  • Initial retry delay: 1000 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 10000 milliseconds.
  • Maximum attempts: 5
  • Retriable status codes: Unavailable.
  • Timeout: 60 seconds.

ListBindingsSettings

public CallSettings ListBindingsSettings { get; set; }

CallSettings for synchronous and asynchronous calls to AgentRegistryClient.ListBindings and AgentRegistryClient.ListBindingsAsync.

Property Value
Type Description
CallSettings
Remarks
  • Initial retry delay: 1000 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 10000 milliseconds.
  • Maximum attempts: 5
  • Retriable status codes: Unavailable.
  • Timeout: 60 seconds.

ListEndpointsSettings

public CallSettings ListEndpointsSettings { get; set; }

CallSettings for synchronous and asynchronous calls to AgentRegistryClient.ListEndpoints and AgentRegistryClient.ListEndpointsAsync.

Property Value
Type Description
CallSettings
Remarks
  • Initial retry delay: 1000 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 10000 milliseconds.
  • Maximum attempts: 5
  • Retriable status codes: Unavailable.
  • Timeout: 60 seconds.

ListMcpServersSettings

public CallSettings ListMcpServersSettings { get; set; }

CallSettings for synchronous and asynchronous calls to AgentRegistryClient.ListMcpServers and AgentRegistryClient.ListMcpServersAsync.

Property Value
Type Description
CallSettings
Remarks
  • Initial retry delay: 1000 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 10000 milliseconds.
  • Maximum attempts: 5
  • Retriable status codes: Unavailable.
  • Timeout: 60 seconds.

ListServicesSettings

public CallSettings ListServicesSettings { get; set; }

CallSettings for synchronous and asynchronous calls to AgentRegistryClient.ListServices and AgentRegistryClient.ListServicesAsync.

Property Value
Type Description
CallSettings
Remarks
  • Initial retry delay: 1000 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 10000 milliseconds.
  • Maximum attempts: 5
  • Retriable status codes: Unavailable.
  • Timeout: 60 seconds.

LocationsSettings

public LocationsSettings LocationsSettings { get; set; }

The settings to use for the LocationsClient associated with the client.

Property Value
Type Description
LocationsSettings

SearchAgentsSettings

public CallSettings SearchAgentsSettings { get; set; }

CallSettings for synchronous and asynchronous calls to AgentRegistryClient.SearchAgents and AgentRegistryClient.SearchAgentsAsync.

Property Value
Type Description
CallSettings
Remarks
  • Initial retry delay: 1000 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 10000 milliseconds.
  • Maximum attempts: 5
  • Retriable status codes: Unavailable.
  • Timeout: 60 seconds.

SearchMcpServersSettings

public CallSettings SearchMcpServersSettings { get; set; }

CallSettings for synchronous and asynchronous calls to AgentRegistryClient.SearchMcpServers and AgentRegistryClient.SearchMcpServersAsync.

Property Value
Type Description
CallSettings
Remarks
  • Initial retry delay: 1000 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 10000 milliseconds.
  • Maximum attempts: 5
  • Retriable status codes: Unavailable.
  • Timeout: 60 seconds.

UpdateBindingOperationsSettings

public OperationsSettings UpdateBindingOperationsSettings { get; set; }

Long Running Operation settings for calls to AgentRegistryClient.UpdateBinding and AgentRegistryClient.UpdateBindingAsync.

Property Value
Type Description
OperationsSettings
Remarks

Uses default PollSettings of:

  • Initial delay: 20 seconds.
  • Delay multiplier: 1.5
  • Maximum delay: 45 seconds.
  • Total timeout: 24 hours.

UpdateBindingSettings

public CallSettings UpdateBindingSettings { get; set; }

CallSettings for synchronous and asynchronous calls to AgentRegistryClient.UpdateBinding and AgentRegistryClient.UpdateBindingAsync.

Property Value
Type Description
CallSettings
Remarks
  • This call will not be retried.
  • Timeout: 60 seconds.

UpdateServiceOperationsSettings

public OperationsSettings UpdateServiceOperationsSettings { get; set; }

Long Running Operation settings for calls to AgentRegistryClient.UpdateService and AgentRegistryClient.UpdateServiceAsync.

Property Value
Type Description
OperationsSettings
Remarks

Uses default PollSettings of:

  • Initial delay: 20 seconds.
  • Delay multiplier: 1.5
  • Maximum delay: 45 seconds.
  • Total timeout: 24 hours.

UpdateServiceSettings

public CallSettings UpdateServiceSettings { get; set; }

CallSettings for synchronous and asynchronous calls to AgentRegistryClient.UpdateService and AgentRegistryClient.UpdateServiceAsync.

Property Value
Type Description
CallSettings
Remarks
  • This call will not be retried.
  • Timeout: 60 seconds.

Methods

Clone()

public AgentRegistrySettings Clone()

Creates a deep clone of this object, with all the same property values.

Returns
Type Description
AgentRegistrySettings

A deep clone of this AgentRegistrySettings object.

GetDefault()

public static AgentRegistrySettings GetDefault()

Get a new instance of the default AgentRegistrySettings.

Returns
Type Description
AgentRegistrySettings

A new instance of the default AgentRegistrySettings.