Cloud Resource Manager v3 API - Class ProjectsSettings (2.5.0)

public sealed class ProjectsSettings : ServiceSettingsBase

Reference documentation and code samples for the Cloud Resource Manager v3 API class ProjectsSettings.

Settings for ProjectsClient instances.

Inheritance

object > ServiceSettingsBase > ProjectsSettings

Namespace

Google.Cloud.ResourceManager.V3

Assembly

Google.Cloud.ResourceManager.V3.dll

Constructors

ProjectsSettings()

public ProjectsSettings()

Constructs a new ProjectsSettings object with default settings.

Properties

CreateProjectOperationsSettings

public OperationsSettings CreateProjectOperationsSettings { get; set; }

Long Running Operation settings for calls to ProjectsClient.CreateProject and ProjectsClient.CreateProjectAsync.

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.

CreateProjectSettings

public CallSettings CreateProjectSettings { get; set; }

CallSettings for synchronous and asynchronous calls to ProjectsClient.CreateProject and ProjectsClient.CreateProjectAsync.

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

DeleteProjectOperationsSettings

public OperationsSettings DeleteProjectOperationsSettings { get; set; }

Long Running Operation settings for calls to ProjectsClient.DeleteProject and ProjectsClient.DeleteProjectAsync.

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.

DeleteProjectSettings

public CallSettings DeleteProjectSettings { get; set; }

CallSettings for synchronous and asynchronous calls to ProjectsClient.DeleteProject and ProjectsClient.DeleteProjectAsync.

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

GetIamPolicySettings

public CallSettings GetIamPolicySettings { get; set; }

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

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

GetProjectSettings

public CallSettings GetProjectSettings { get; set; }

CallSettings for synchronous and asynchronous calls to ProjectsClient.GetProject and ProjectsClient.GetProjectAsync.

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

ListProjectsSettings

public CallSettings ListProjectsSettings { get; set; }

CallSettings for synchronous and asynchronous calls to ProjectsClient.ListProjects and ProjectsClient.ListProjectsAsync.

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

MoveProjectOperationsSettings

public OperationsSettings MoveProjectOperationsSettings { get; set; }

Long Running Operation settings for calls to ProjectsClient.MoveProject and ProjectsClient.MoveProjectAsync.

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.

MoveProjectSettings

public CallSettings MoveProjectSettings { get; set; }

CallSettings for synchronous and asynchronous calls to ProjectsClient.MoveProject and ProjectsClient.MoveProjectAsync.

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

SearchProjectsSettings

public CallSettings SearchProjectsSettings { get; set; }

CallSettings for synchronous and asynchronous calls to ProjectsClient.SearchProjects and ProjectsClient.SearchProjectsAsync.

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

SetIamPolicySettings

public CallSettings SetIamPolicySettings { get; set; }

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

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

TestIamPermissionsSettings

public CallSettings TestIamPermissionsSettings { get; set; }

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

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

UndeleteProjectOperationsSettings

public OperationsSettings UndeleteProjectOperationsSettings { get; set; }

Long Running Operation settings for calls to ProjectsClient.UndeleteProject and ProjectsClient.UndeleteProjectAsync.

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.

UndeleteProjectSettings

public CallSettings UndeleteProjectSettings { get; set; }

CallSettings for synchronous and asynchronous calls to ProjectsClient.UndeleteProject and ProjectsClient.UndeleteProjectAsync.

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

UpdateProjectOperationsSettings

public OperationsSettings UpdateProjectOperationsSettings { get; set; }

Long Running Operation settings for calls to ProjectsClient.UpdateProject and ProjectsClient.UpdateProjectAsync.

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.

UpdateProjectSettings

public CallSettings UpdateProjectSettings { get; set; }

CallSettings for synchronous and asynchronous calls to ProjectsClient.UpdateProject and ProjectsClient.UpdateProjectAsync.

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

Methods

Clone()

public ProjectsSettings Clone()

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

Returns
Type Description
ProjectsSettings

A deep clone of this ProjectsSettings object.

GetDefault()

public static ProjectsSettings GetDefault()

Get a new instance of the default ProjectsSettings.

Returns
Type Description
ProjectsSettings

A new instance of the default ProjectsSettings.