public interface GlobalVmExtensionPolicyOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
containsExtensionPolicies(String key)
public abstract boolean containsExtensionPolicies(String key)Required. Map from extension (eg: "cloudops") to its policy configuration. The key is the name of the extension.
map<string, .google.cloud.compute.v1.GlobalVmExtensionPolicyExtensionPolicy> extension_policies = 227761488;
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getCreationTimestamp()
public abstract String getCreationTimestamp()Output only. [Output Only] Creation timestamp inRFC3339 text format.
optional string creation_timestamp = 30525366;
| Returns | |
|---|---|
| Type | Description |
String |
The creationTimestamp. |
getCreationTimestampBytes()
public abstract ByteString getCreationTimestampBytes()Output only. [Output Only] Creation timestamp inRFC3339 text format.
optional string creation_timestamp = 30525366;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for creationTimestamp. |
getDescription()
public abstract String getDescription()An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;
| Returns | |
|---|---|
| Type | Description |
String |
The description. |
getDescriptionBytes()
public abstract ByteString getDescriptionBytes()An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for description. |
getExtensionPolicies() (deprecated)
public abstract Map<String,GlobalVmExtensionPolicyExtensionPolicy> getExtensionPolicies()Use #getExtensionPoliciesMap() instead.
| Returns | |
|---|---|
| Type | Description |
Map<String,GlobalVmExtensionPolicyExtensionPolicy> |
|
getExtensionPoliciesCount()
public abstract int getExtensionPoliciesCount()Required. Map from extension (eg: "cloudops") to its policy configuration. The key is the name of the extension.
map<string, .google.cloud.compute.v1.GlobalVmExtensionPolicyExtensionPolicy> extension_policies = 227761488;
| Returns | |
|---|---|
| Type | Description |
int |
|
getExtensionPoliciesMap()
public abstract Map<String,GlobalVmExtensionPolicyExtensionPolicy> getExtensionPoliciesMap()Required. Map from extension (eg: "cloudops") to its policy configuration. The key is the name of the extension.
map<string, .google.cloud.compute.v1.GlobalVmExtensionPolicyExtensionPolicy> extension_policies = 227761488;
| Returns | |
|---|---|
| Type | Description |
Map<String,GlobalVmExtensionPolicyExtensionPolicy> |
|
getExtensionPoliciesOrDefault(String key, GlobalVmExtensionPolicyExtensionPolicy defaultValue)
public abstract GlobalVmExtensionPolicyExtensionPolicy getExtensionPoliciesOrDefault(String key, GlobalVmExtensionPolicyExtensionPolicy defaultValue)Required. Map from extension (eg: "cloudops") to its policy configuration. The key is the name of the extension.
map<string, .google.cloud.compute.v1.GlobalVmExtensionPolicyExtensionPolicy> extension_policies = 227761488;
| Parameters | |
|---|---|
| Name | Description |
key |
String |
defaultValue |
GlobalVmExtensionPolicyExtensionPolicy |
| Returns | |
|---|---|
| Type | Description |
GlobalVmExtensionPolicyExtensionPolicy |
|
getExtensionPoliciesOrThrow(String key)
public abstract GlobalVmExtensionPolicyExtensionPolicy getExtensionPoliciesOrThrow(String key)Required. Map from extension (eg: "cloudops") to its policy configuration. The key is the name of the extension.
map<string, .google.cloud.compute.v1.GlobalVmExtensionPolicyExtensionPolicy> extension_policies = 227761488;
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
GlobalVmExtensionPolicyExtensionPolicy |
|
getId()
public abstract long getId()Output only. [Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;
| Returns | |
|---|---|
| Type | Description |
long |
The id. |
getInstanceSelectors(int index)
public abstract GlobalVmExtensionPolicyInstanceSelector getInstanceSelectors(int index)Optional. Selector to target VMs for a policy. There is a logical "AND" between instance_selectors.
repeated .google.cloud.compute.v1.GlobalVmExtensionPolicyInstanceSelector instance_selectors = 520298826;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
GlobalVmExtensionPolicyInstanceSelector |
|
getInstanceSelectorsCount()
public abstract int getInstanceSelectorsCount()Optional. Selector to target VMs for a policy. There is a logical "AND" between instance_selectors.
repeated .google.cloud.compute.v1.GlobalVmExtensionPolicyInstanceSelector instance_selectors = 520298826;
| Returns | |
|---|---|
| Type | Description |
int |
|
getInstanceSelectorsList()
public abstract List<GlobalVmExtensionPolicyInstanceSelector> getInstanceSelectorsList()Optional. Selector to target VMs for a policy. There is a logical "AND" between instance_selectors.
repeated .google.cloud.compute.v1.GlobalVmExtensionPolicyInstanceSelector instance_selectors = 520298826;
| Returns | |
|---|---|
| Type | Description |
List<GlobalVmExtensionPolicyInstanceSelector> |
|
getInstanceSelectorsOrBuilder(int index)
public abstract GlobalVmExtensionPolicyInstanceSelectorOrBuilder getInstanceSelectorsOrBuilder(int index)Optional. Selector to target VMs for a policy. There is a logical "AND" between instance_selectors.
repeated .google.cloud.compute.v1.GlobalVmExtensionPolicyInstanceSelector instance_selectors = 520298826;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
GlobalVmExtensionPolicyInstanceSelectorOrBuilder |
|
getInstanceSelectorsOrBuilderList()
public abstract List<? extends GlobalVmExtensionPolicyInstanceSelectorOrBuilder> getInstanceSelectorsOrBuilderList()Optional. Selector to target VMs for a policy. There is a logical "AND" between instance_selectors.
repeated .google.cloud.compute.v1.GlobalVmExtensionPolicyInstanceSelector instance_selectors = 520298826;
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.compute.v1.GlobalVmExtensionPolicyInstanceSelectorOrBuilder> |
|
getKind()
public abstract String getKind()Output only. [Output Only] Type of the resource. Alwayscompute#globalVmExtensionPolicy for globalVmExtensionPolicies.
optional string kind = 3292052;
| Returns | |
|---|---|
| Type | Description |
String |
The kind. |
getKindBytes()
public abstract ByteString getKindBytes()Output only. [Output Only] Type of the resource. Alwayscompute#globalVmExtensionPolicy for globalVmExtensionPolicies.
optional string kind = 3292052;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for kind. |
getName()
public abstract String getName() 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?
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.
optional string name = 3373707;
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public abstract ByteString getNameBytes() 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?
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.
optional string name = 3373707;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
getPriority()
public abstract int getPriority()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.
optional int32 priority = 445151652;
| Returns | |
|---|---|
| Type | Description |
int |
The priority. |
getRolloutOperation()
public abstract GlobalVmExtensionPolicyRolloutOperation getRolloutOperation()Required. The rollout strategy and status.
optional .google.cloud.compute.v1.GlobalVmExtensionPolicyRolloutOperation rollout_operation = 486746201;
| Returns | |
|---|---|
| Type | Description |
GlobalVmExtensionPolicyRolloutOperation |
The rolloutOperation. |
getRolloutOperationOrBuilder()
public abstract GlobalVmExtensionPolicyRolloutOperationOrBuilder getRolloutOperationOrBuilder()Required. The rollout strategy and status.
optional .google.cloud.compute.v1.GlobalVmExtensionPolicyRolloutOperation rollout_operation = 486746201;
| Returns | |
|---|---|
| Type | Description |
GlobalVmExtensionPolicyRolloutOperationOrBuilder |
|
getScopedResourceStatus()
public abstract String getScopedResourceStatus()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.
optional string scoped_resource_status = 181976980;
| Returns | |
|---|---|
| Type | Description |
String |
The scopedResourceStatus. |
getScopedResourceStatusBytes()
public abstract ByteString getScopedResourceStatusBytes()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.
optional string scoped_resource_status = 181976980;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for scopedResourceStatus. |
getSelfLink()
public abstract String getSelfLink()Output only. [Output Only] Server-defined fully-qualified URL for this resource.
optional string self_link = 456214797;
| Returns | |
|---|---|
| Type | Description |
String |
The selfLink. |
getSelfLinkBytes()
public abstract ByteString getSelfLinkBytes()Output only. [Output Only] Server-defined fully-qualified URL for this resource.
optional string self_link = 456214797;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for selfLink. |
getSelfLinkWithId()
public abstract String getSelfLinkWithId()Output only. [Output Only] Server-defined URL for this resource's resource id.
optional string self_link_with_id = 44520962;
| Returns | |
|---|---|
| Type | Description |
String |
The selfLinkWithId. |
getSelfLinkWithIdBytes()
public abstract ByteString getSelfLinkWithIdBytes()Output only. [Output Only] Server-defined URL for this resource's resource id.
optional string self_link_with_id = 44520962;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for selfLinkWithId. |
getUpdateTimestamp()
public abstract String getUpdateTimestamp()Output only. [Output Only] Update timestamp inRFC3339 text format.
optional string update_timestamp = 120894752;
| Returns | |
|---|---|
| Type | Description |
String |
The updateTimestamp. |
getUpdateTimestampBytes()
public abstract ByteString getUpdateTimestampBytes()Output only. [Output Only] Update timestamp inRFC3339 text format.
optional string update_timestamp = 120894752;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for updateTimestamp. |
hasCreationTimestamp()
public abstract boolean hasCreationTimestamp()Output only. [Output Only] Creation timestamp inRFC3339 text format.
optional string creation_timestamp = 30525366;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the creationTimestamp field is set. |
hasDescription()
public abstract boolean hasDescription()An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the description field is set. |
hasId()
public abstract boolean hasId()Output only. [Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the id field is set. |
hasKind()
public abstract boolean hasKind()Output only. [Output Only] Type of the resource. Alwayscompute#globalVmExtensionPolicy for globalVmExtensionPolicies.
optional string kind = 3292052;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the kind field is set. |
hasName()
public abstract boolean hasName() 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?
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.
optional string name = 3373707;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the name field is set. |
hasPriority()
public abstract boolean hasPriority()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.
optional int32 priority = 445151652;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the priority field is set. |
hasRolloutOperation()
public abstract boolean hasRolloutOperation()Required. The rollout strategy and status.
optional .google.cloud.compute.v1.GlobalVmExtensionPolicyRolloutOperation rollout_operation = 486746201;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the rolloutOperation field is set. |
hasScopedResourceStatus()
public abstract boolean hasScopedResourceStatus()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.
optional string scoped_resource_status = 181976980;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the scopedResourceStatus field is set. |
hasSelfLink()
public abstract boolean hasSelfLink()Output only. [Output Only] Server-defined fully-qualified URL for this resource.
optional string self_link = 456214797;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the selfLink field is set. |
hasSelfLinkWithId()
public abstract boolean hasSelfLinkWithId()Output only. [Output Only] Server-defined URL for this resource's resource id.
optional string self_link_with_id = 44520962;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the selfLinkWithId field is set. |
hasUpdateTimestamp()
public abstract boolean hasUpdateTimestamp()Output only. [Output Only] Update timestamp inRFC3339 text format.
optional string update_timestamp = 120894752;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the updateTimestamp field is set. |