Class OrganizationsSettings (1.0.0)

public sealed class OrganizationsSettings : ServiceSettingsBase

Settings for OrganizationsClient instances.

Inheritance

Object > ServiceSettingsBase > OrganizationsSettings

Namespace

Google.Cloud.ResourceManager.V3

Assembly

Google.Cloud.ResourceManager.V3.dll

Constructors

OrganizationsSettings()

public OrganizationsSettings()

Constructs a new OrganizationsSettings object with default settings.

Properties

GetIamPolicySettings

public CallSettings GetIamPolicySettings { get; set; }

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

Property Value
TypeDescription
CallSettings
Remarks
  • Initial retry delay: 100 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 60000 milliseconds.
  • Maximum attempts: 5
  • Timeout: 60 seconds.

GetOrganizationSettings

public CallSettings GetOrganizationSettings { get; set; }

CallSettings for synchronous and asynchronous calls to OrganizationsClient.GetOrganization and OrganizationsClient.GetOrganizationAsync.

Property Value
TypeDescription
CallSettings
Remarks
  • Initial retry delay: 100 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 60000 milliseconds.
  • Maximum attempts: 5
  • Timeout: 60 seconds.

SearchOrganizationsSettings

public CallSettings SearchOrganizationsSettings { get; set; }

CallSettings for synchronous and asynchronous calls to OrganizationsClient.SearchOrganizations and OrganizationsClient.SearchOrganizationsAsync.

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

SetIamPolicySettings

public CallSettings SetIamPolicySettings { get; set; }

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

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

TestIamPermissionsSettings

public CallSettings TestIamPermissionsSettings { get; set; }

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

Property Value
TypeDescription
CallSettings
Remarks
  • This call will not be retried.
  • No timeout is applied.

Methods

Clone()

public OrganizationsSettings Clone()

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

Returns
TypeDescription
OrganizationsSettings

A deep clone of this OrganizationsSettings object.

GetDefault()

public static OrganizationsSettings GetDefault()

Get a new instance of the default OrganizationsSettings.

Returns
TypeDescription
OrganizationsSettings

A new instance of the default OrganizationsSettings.