public interface InstanceGroupManagerResourcePoliciesOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getWorkloadPolicy()
public abstract String getWorkloadPolicy()
The URL of the workload policy that is specified for this managed instance group. It can be a full or partial URL. For example, the following are all valid URLs to a workload policy: - https://www.googleapis.com/compute/v1/projects/project/regions/region /resourcePolicies/resourcePolicy - projects/project/regions/region/resourcePolicies/resourcePolicy - regions/region/resourcePolicies/resourcePolicy
optional string workload_policy = 114721530;
Returns | |
---|---|
Type | Description |
String |
The workloadPolicy. |
getWorkloadPolicyBytes()
public abstract ByteString getWorkloadPolicyBytes()
The URL of the workload policy that is specified for this managed instance group. It can be a full or partial URL. For example, the following are all valid URLs to a workload policy: - https://www.googleapis.com/compute/v1/projects/project/regions/region /resourcePolicies/resourcePolicy - projects/project/regions/region/resourcePolicies/resourcePolicy - regions/region/resourcePolicies/resourcePolicy
optional string workload_policy = 114721530;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for workloadPolicy. |
hasWorkloadPolicy()
public abstract boolean hasWorkloadPolicy()
The URL of the workload policy that is specified for this managed instance group. It can be a full or partial URL. For example, the following are all valid URLs to a workload policy: - https://www.googleapis.com/compute/v1/projects/project/regions/region /resourcePolicies/resourcePolicy - projects/project/regions/region/resourcePolicies/resourcePolicy - regions/region/resourcePolicies/resourcePolicy
optional string workload_policy = 114721530;
Returns | |
---|---|
Type | Description |
boolean |
Whether the workloadPolicy field is set. |