Google Container Analysis v1 API - Class ContainerAnalysisSettings (3.6.0)

public sealed class ContainerAnalysisSettings : ServiceSettingsBase

Reference documentation and code samples for the Google Container Analysis v1 API class ContainerAnalysisSettings.

Settings for ContainerAnalysisClient instances.

Inheritance

object > ServiceSettingsBase > ContainerAnalysisSettings

Namespace

Google.Cloud.DevTools.ContainerAnalysis.V1

Assembly

Google.Cloud.DevTools.ContainerAnalysis.V1.dll

Constructors

ContainerAnalysisSettings()

public ContainerAnalysisSettings()

Constructs a new ContainerAnalysisSettings object with default settings.

Properties

GetIamPolicySettings

public CallSettings GetIamPolicySettings { get; set; }

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

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

GetVulnerabilityOccurrencesSummarySettings

public CallSettings GetVulnerabilityOccurrencesSummarySettings { get; set; }

CallSettings for synchronous and asynchronous calls to ContainerAnalysisClient.GetVulnerabilityOccurrencesSummary and ContainerAnalysisClient.GetVulnerabilityOccurrencesSummaryAsync.

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

GrafeasSettings

public GrafeasSettings GrafeasSettings { get; set; }

Settings for the Grafeas client returned by GrafeasClient.

Property Value
Type Description
Grafeas.V1.GrafeasSettings

SetIamPolicySettings

public CallSettings SetIamPolicySettings { get; set; }

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

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

TestIamPermissionsSettings

public CallSettings TestIamPermissionsSettings { get; set; }

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

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

Methods

Clone()

public ContainerAnalysisSettings Clone()

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

Returns
Type Description
ContainerAnalysisSettings

A deep clone of this ContainerAnalysisSettings object.

GetDefault()

public static ContainerAnalysisSettings GetDefault()

Get a new instance of the default ContainerAnalysisSettings.

Returns
Type Description
ContainerAnalysisSettings

A new instance of the default ContainerAnalysisSettings.