Service Directory v1 API - Class RegistrationServiceSettings (2.1.0)

public sealed class RegistrationServiceSettings : ServiceSettingsBase

Reference documentation and code samples for the Service Directory v1 API class RegistrationServiceSettings.

Settings for RegistrationServiceClient instances.

Inheritance

Object > ServiceSettingsBase > RegistrationServiceSettings

Namespace

Google.Cloud.ServiceDirectory.V1

Assembly

Google.Cloud.ServiceDirectory.V1.dll

Constructors

RegistrationServiceSettings()

public RegistrationServiceSettings()

Constructs a new RegistrationServiceSettings object with default settings.

Properties

CreateEndpointSettings

public CallSettings CreateEndpointSettings { get; set; }

CallSettings for synchronous and asynchronous calls to RegistrationServiceClient.CreateEndpoint and RegistrationServiceClient.CreateEndpointAsync.

Property Value
TypeDescription
CallSettings
Remarks
  • Initial retry delay: 1000 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 60000 milliseconds.
  • Maximum attempts: 5
  • Retriable status codes: Unavailable, Unknown.
  • Timeout: 15 seconds.

CreateNamespaceSettings

public CallSettings CreateNamespaceSettings { get; set; }

CallSettings for synchronous and asynchronous calls to RegistrationServiceClient.CreateNamespace and RegistrationServiceClient.CreateNamespaceAsync.

Property Value
TypeDescription
CallSettings
Remarks
  • Initial retry delay: 1000 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 60000 milliseconds.
  • Maximum attempts: 5
  • Retriable status codes: Unavailable, Unknown.
  • Timeout: 15 seconds.

CreateServiceSettings

public CallSettings CreateServiceSettings { get; set; }

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

Property Value
TypeDescription
CallSettings
Remarks
  • Initial retry delay: 1000 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 60000 milliseconds.
  • Maximum attempts: 5
  • Retriable status codes: Unavailable, Unknown.
  • Timeout: 15 seconds.

DeleteEndpointSettings

public CallSettings DeleteEndpointSettings { get; set; }

CallSettings for synchronous and asynchronous calls to RegistrationServiceClient.DeleteEndpoint and RegistrationServiceClient.DeleteEndpointAsync.

Property Value
TypeDescription
CallSettings
Remarks
  • Initial retry delay: 1000 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 60000 milliseconds.
  • Maximum attempts: 5
  • Retriable status codes: Unavailable, Unknown.
  • Timeout: 15 seconds.

DeleteNamespaceSettings

public CallSettings DeleteNamespaceSettings { get; set; }

CallSettings for synchronous and asynchronous calls to RegistrationServiceClient.DeleteNamespace and RegistrationServiceClient.DeleteNamespaceAsync.

Property Value
TypeDescription
CallSettings
Remarks
  • Initial retry delay: 1000 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 60000 milliseconds.
  • Maximum attempts: 5
  • Retriable status codes: Unavailable, Unknown.
  • Timeout: 15 seconds.

DeleteServiceSettings

public CallSettings DeleteServiceSettings { get; set; }

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

Property Value
TypeDescription
CallSettings
Remarks
  • Initial retry delay: 1000 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 60000 milliseconds.
  • Maximum attempts: 5
  • Retriable status codes: Unavailable, Unknown.
  • Timeout: 15 seconds.

GetEndpointSettings

public CallSettings GetEndpointSettings { get; set; }

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

Property Value
TypeDescription
CallSettings
Remarks
  • Initial retry delay: 1000 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 60000 milliseconds.
  • Maximum attempts: 5
  • Retriable status codes: Unavailable, Unknown.
  • Timeout: 15 seconds.

GetIamPolicySettings

public CallSettings GetIamPolicySettings { get; set; }

CallSettings for synchronous and asynchronous calls to RegistrationServiceClient.GetIamPolicy and RegistrationServiceClient.GetIamPolicyAsync.

Property Value
TypeDescription
CallSettings
Remarks
  • Initial retry delay: 1000 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 60000 milliseconds.
  • Maximum attempts: 5
  • Retriable status codes: Unavailable, Unknown.
  • Timeout: 15 seconds.

GetNamespaceSettings

public CallSettings GetNamespaceSettings { get; set; }

CallSettings for synchronous and asynchronous calls to RegistrationServiceClient.GetNamespace and RegistrationServiceClient.GetNamespaceAsync.

Property Value
TypeDescription
CallSettings
Remarks
  • Initial retry delay: 1000 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 60000 milliseconds.
  • Maximum attempts: 5
  • Retriable status codes: Unavailable, Unknown.
  • Timeout: 15 seconds.

GetServiceSettings

public CallSettings GetServiceSettings { get; set; }

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

Property Value
TypeDescription
CallSettings
Remarks
  • Initial retry delay: 1000 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 60000 milliseconds.
  • Maximum attempts: 5
  • Retriable status codes: Unavailable, Unknown.
  • Timeout: 15 seconds.

ListEndpointsSettings

public CallSettings ListEndpointsSettings { get; set; }

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

Property Value
TypeDescription
CallSettings
Remarks
  • Initial retry delay: 1000 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 60000 milliseconds.
  • Maximum attempts: 5
  • Retriable status codes: Unavailable, Unknown.
  • Timeout: 15 seconds.

ListNamespacesSettings

public CallSettings ListNamespacesSettings { get; set; }

CallSettings for synchronous and asynchronous calls to RegistrationServiceClient.ListNamespaces and RegistrationServiceClient.ListNamespacesAsync.

Property Value
TypeDescription
CallSettings
Remarks
  • Initial retry delay: 1000 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 60000 milliseconds.
  • Maximum attempts: 5
  • Retriable status codes: Unavailable, Unknown.
  • Timeout: 15 seconds.

ListServicesSettings

public CallSettings ListServicesSettings { get; set; }

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

Property Value
TypeDescription
CallSettings
Remarks
  • Initial retry delay: 1000 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 60000 milliseconds.
  • Maximum attempts: 5
  • Retriable status codes: Unavailable, Unknown.
  • Timeout: 15 seconds.

SetIamPolicySettings

public CallSettings SetIamPolicySettings { get; set; }

CallSettings for synchronous and asynchronous calls to RegistrationServiceClient.SetIamPolicy and RegistrationServiceClient.SetIamPolicyAsync.

Property Value
TypeDescription
CallSettings
Remarks
  • Initial retry delay: 1000 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 60000 milliseconds.
  • Maximum attempts: 5
  • Retriable status codes: Unavailable, Unknown.
  • Timeout: 15 seconds.

TestIamPermissionsSettings

public CallSettings TestIamPermissionsSettings { get; set; }

CallSettings for synchronous and asynchronous calls to RegistrationServiceClient.TestIamPermissions and RegistrationServiceClient.TestIamPermissionsAsync .

Property Value
TypeDescription
CallSettings
Remarks
  • Initial retry delay: 1000 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 60000 milliseconds.
  • Maximum attempts: 5
  • Retriable status codes: Unavailable, Unknown.
  • Timeout: 15 seconds.

UpdateEndpointSettings

public CallSettings UpdateEndpointSettings { get; set; }

CallSettings for synchronous and asynchronous calls to RegistrationServiceClient.UpdateEndpoint and RegistrationServiceClient.UpdateEndpointAsync.

Property Value
TypeDescription
CallSettings
Remarks
  • Initial retry delay: 1000 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 60000 milliseconds.
  • Maximum attempts: 5
  • Retriable status codes: Unavailable, Unknown.
  • Timeout: 15 seconds.

UpdateNamespaceSettings

public CallSettings UpdateNamespaceSettings { get; set; }

CallSettings for synchronous and asynchronous calls to RegistrationServiceClient.UpdateNamespace and RegistrationServiceClient.UpdateNamespaceAsync.

Property Value
TypeDescription
CallSettings
Remarks
  • Initial retry delay: 1000 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 60000 milliseconds.
  • Maximum attempts: 5
  • Retriable status codes: Unavailable, Unknown.
  • Timeout: 15 seconds.

UpdateServiceSettings

public CallSettings UpdateServiceSettings { get; set; }

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

Property Value
TypeDescription
CallSettings
Remarks
  • Initial retry delay: 1000 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 60000 milliseconds.
  • Maximum attempts: 5
  • Retriable status codes: Unavailable, Unknown.
  • Timeout: 15 seconds.

Methods

Clone()

public RegistrationServiceSettings Clone()

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

Returns
TypeDescription
RegistrationServiceSettings

A deep clone of this RegistrationServiceSettings object.

GetDefault()

public static RegistrationServiceSettings GetDefault()

Get a new instance of the default RegistrationServiceSettings.

Returns
TypeDescription
RegistrationServiceSettings

A new instance of the default RegistrationServiceSettings.