Cloud Run Admin v2 API - Class BinaryAuthorization (2.11.0)

public sealed class BinaryAuthorization : IMessage<BinaryAuthorization>, IEquatable<BinaryAuthorization>, IDeepCloneable<BinaryAuthorization>, IBufferMessage, IMessage

Reference documentation and code samples for the Cloud Run Admin v2 API class BinaryAuthorization.

Settings for Binary Authorization feature.

Inheritance

object > BinaryAuthorization

Namespace

Google.Cloud.Run.V2

Assembly

Google.Cloud.Run.V2.dll

Constructors

BinaryAuthorization()

public BinaryAuthorization()

BinaryAuthorization(BinaryAuthorization)

public BinaryAuthorization(BinaryAuthorization other)
Parameter
Name Description
other BinaryAuthorization

Properties

BinauthzMethodCase

public BinaryAuthorization.BinauthzMethodOneofCase BinauthzMethodCase { get; }
Property Value
Type Description
BinaryAuthorizationBinauthzMethodOneofCase

BreakglassJustification

public string BreakglassJustification { get; set; }

Optional. If present, indicates to use Breakglass using this justification. If use_default is False, then it must be empty. For more information on breakglass, see https://cloud.google.com/binary-authorization/docs/using-breakglass

Property Value
Type Description
string

HasPolicy

public bool HasPolicy { get; }

Gets whether the "policy" field is set

Property Value
Type Description
bool

HasUseDefault

public bool HasUseDefault { get; }

Gets whether the "use_default" field is set

Property Value
Type Description
bool

Policy

public string Policy { get; set; }

Optional. The path to a binary authorization policy. Format: projects/{project}/platforms/cloudRun/{policy-name}

Property Value
Type Description
string

PolicyAsPolicyName

public PolicyName PolicyAsPolicyName { get; set; }

PolicyName-typed view over the Policy resource name property.

Property Value
Type Description
PolicyName

UseDefault

public bool UseDefault { get; set; }

Optional. If True, indicates to use the default project's binary authorization policy. If False, binary authorization will be disabled.

Property Value
Type Description
bool