Compute Engine v1 API - Class GlobalVmExtensionPolicy (3.28.0)

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

Reference documentation and code samples for the Compute Engine v1 API class GlobalVmExtensionPolicy.

Message describing GlobalVmExtensionPolicy object.

Inheritance

object > GlobalVmExtensionPolicy

Namespace

Google.Cloud.Compute.V1

Assembly

Google.Cloud.Compute.V1.dll

Constructors

GlobalVmExtensionPolicy()

public GlobalVmExtensionPolicy()

GlobalVmExtensionPolicy(GlobalVmExtensionPolicy)

public GlobalVmExtensionPolicy(GlobalVmExtensionPolicy other)
Parameter
Name Description
other GlobalVmExtensionPolicy

Properties

CreationTimestamp

public string CreationTimestamp { get; set; }

Output only. [Output Only] Creation timestamp inRFC3339 text format.

Property Value
Type Description
string

Description

public string Description { get; set; }

An optional description of this resource. Provide this property when you create the resource.

Property Value
Type Description
string

ExtensionPolicies

public MapField<string, GlobalVmExtensionPolicyExtensionPolicy> ExtensionPolicies { get; }

Required. Map from extension (eg: "cloudops") to its policy configuration. The key is the name of the extension.

Property Value
Type Description
MapFieldstringGlobalVmExtensionPolicyExtensionPolicy

HasCreationTimestamp

public bool HasCreationTimestamp { get; }

Gets whether the "creation_timestamp" field is set

Property Value
Type Description
bool

HasDescription

public bool HasDescription { get; }

Gets whether the "description" field is set

Property Value
Type Description
bool

HasId

public bool HasId { get; }

Gets whether the "id" field is set

Property Value
Type Description
bool

HasKind

public bool HasKind { get; }

Gets whether the "kind" field is set

Property Value
Type Description
bool

HasName

public bool HasName { get; }

Gets whether the "name" field is set

Property Value
Type Description
bool

HasPriority

public bool HasPriority { get; }

Gets whether the "priority" field is set

Property Value
Type Description
bool

HasScopedResourceStatus

public bool HasScopedResourceStatus { get; }

Gets whether the "scoped_resource_status" field is set

Property Value
Type Description
bool
public bool HasSelfLink { get; }

Gets whether the "self_link" field is set

Property Value
Type Description
bool

HasSelfLinkWithId

public bool HasSelfLinkWithId { get; }

Gets whether the "self_link_with_id" field is set

Property Value
Type Description
bool

HasUpdateTimestamp

public bool HasUpdateTimestamp { get; }

Gets whether the "update_timestamp" field is set

Property Value
Type Description
bool

Id

public ulong Id { get; set; }

Output only. [Output Only] The unique identifier for the resource. This identifier is defined by the server.

Property Value
Type Description
ulong

InstanceSelectors

public RepeatedField<GlobalVmExtensionPolicyInstanceSelector> InstanceSelectors { get; }

Optional. Selector to target VMs for a policy. There is a logical "AND" between instance_selectors.

Property Value
Type Description
RepeatedFieldGlobalVmExtensionPolicyInstanceSelector

Kind

public string Kind { get; set; }

Output only. [Output Only] Type of the resource. Alwayscompute#globalVmExtensionPolicy for globalVmExtensionPolicies.

Property Value
Type Description
string

Name

public string Name { get; set; }

Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply withRFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.

Property Value
Type Description
string

Priority

public int Priority { get; set; }

Optional. Used to resolve conflicts when multiple policies are active for the same extension. Defaults to 0.

Larger the number, higher the priority. When the priority is the same, the policy with the newer create time has higher priority.

Property Value
Type Description
int

RolloutOperation

public GlobalVmExtensionPolicyRolloutOperation RolloutOperation { get; set; }

Required. The rollout strategy and status.

Property Value
Type Description
GlobalVmExtensionPolicyRolloutOperation

ScopedResourceStatus

public string ScopedResourceStatus { get; set; }

Output only. [Output Only] The scoped resource status. It's only for tracking the purging status of the policy. Check the ScopedResourceStatus enum for the list of possible values.

Property Value
Type Description
string
public string SelfLink { get; set; }

Output only. [Output Only] Server-defined fully-qualified URL for this resource.

Property Value
Type Description
string

SelfLinkWithId

public string SelfLinkWithId { get; set; }

Output only. [Output Only] Server-defined URL for this resource's resource id.

Property Value
Type Description
string

UpdateTimestamp

public string UpdateTimestamp { get; set; }

Output only. [Output Only] Update timestamp inRFC3339 text format.

Property Value
Type Description
string