Class GetPolicyOptions (2.2.0)

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

Encapsulates settings provided to GetIamPolicy.

Inheritance

Object > GetPolicyOptions

Namespace

Google.Cloud.Iam.V1

Assembly

Google.Cloud.Iam.V1.dll

Constructors

GetPolicyOptions()

public GetPolicyOptions()

GetPolicyOptions(GetPolicyOptions)

public GetPolicyOptions(GetPolicyOptions other)
Parameter
NameDescription
otherGetPolicyOptions

Properties

RequestedPolicyVersion

public int RequestedPolicyVersion { get; set; }

Optional. The policy format version to be returned.

Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected.

Requests for policies with any conditional bindings must specify version 3. Policies without any conditional bindings may specify any valid value or leave the field unset.

Property Value
TypeDescription
Int32