Compute Engine v1 API - Class ZoneSetPolicyRequest (2.4.0)

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

Inheritance

Object > ZoneSetPolicyRequest

Namespace

Google.Cloud.Compute.V1

Assembly

Google.Cloud.Compute.V1.dll

Constructors

ZoneSetPolicyRequest()

public ZoneSetPolicyRequest()

ZoneSetPolicyRequest(ZoneSetPolicyRequest)

public ZoneSetPolicyRequest(ZoneSetPolicyRequest other)
Parameter
NameDescription
otherZoneSetPolicyRequest

Properties

Bindings

public RepeatedField<Binding> Bindings { get; }

Flatten Policy to create a backwacd compatible wire-format. Deprecated. Use 'policy' to specify bindings.

Property Value
TypeDescription
RepeatedField<Binding>

Etag

public string Etag { get; set; }

Flatten Policy to create a backward compatible wire-format. Deprecated. Use 'policy' to specify the etag.

Property Value
TypeDescription
String

HasEtag

public bool HasEtag { get; }

Gets whether the "etag" field is set

Property Value
TypeDescription
Boolean

Policy

public Policy Policy { get; set; }

REQUIRED: The complete policy to be applied to the 'resource'. The size of the policy is limited to a few 10s of KB. An empty policy is in general a valid policy but certain services (like Projects) might reject them.

Property Value
TypeDescription
Policy