public interface OSPolicyAssignmentOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
boolean |
getBaseline()
Output only.
|
boolean |
getDeleted()
Output only.
|
String |
getDescription()
OS policy assignment description.
|
com.google.protobuf.ByteString |
getDescriptionBytes()
OS policy assignment description.
|
String |
getEtag()
The etag for this OS policy assignment.
|
com.google.protobuf.ByteString |
getEtagBytes()
The etag for this OS policy assignment.
|
OSPolicyAssignment.InstanceFilter |
getInstanceFilter()
Required.
|
OSPolicyAssignment.InstanceFilterOrBuilder |
getInstanceFilterOrBuilder()
Required.
|
String |
getName()
Resource name.
|
com.google.protobuf.ByteString |
getNameBytes()
Resource name.
|
OSPolicy |
getOsPolicies(int index)
Required.
|
int |
getOsPoliciesCount()
Required.
|
List<OSPolicy> |
getOsPoliciesList()
Required.
|
OSPolicyOrBuilder |
getOsPoliciesOrBuilder(int index)
Required.
|
List<? extends OSPolicyOrBuilder> |
getOsPoliciesOrBuilderList()
Required.
|
boolean |
getReconciling()
Output only.
|
com.google.protobuf.Timestamp |
getRevisionCreateTime()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getRevisionCreateTimeOrBuilder()
Output only.
|
String |
getRevisionId()
Output only.
|
com.google.protobuf.ByteString |
getRevisionIdBytes()
Output only.
|
OSPolicyAssignment.Rollout |
getRollout()
Required.
|
OSPolicyAssignment.RolloutOrBuilder |
getRolloutOrBuilder()
Required.
|
OSPolicyAssignment.RolloutState |
getRolloutState()
Output only.
|
int |
getRolloutStateValue()
Output only.
|
String |
getUid()
Output only.
|
com.google.protobuf.ByteString |
getUidBytes()
Output only.
|
boolean |
hasInstanceFilter()
Required.
|
boolean |
hasRevisionCreateTime()
Output only.
|
boolean |
hasRollout()
Required.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofString getName()
Resource name.
Format:
`projects/{project_number}/locations/{location}/osPolicyAssignments/{os_policy_assignment_id}`
This field is ignored when you create an OS policy assignment.
string name = 1;com.google.protobuf.ByteString getNameBytes()
Resource name.
Format:
`projects/{project_number}/locations/{location}/osPolicyAssignments/{os_policy_assignment_id}`
This field is ignored when you create an OS policy assignment.
string name = 1;String getDescription()
OS policy assignment description. Length of the description is limited to 1024 characters.
string description = 2;com.google.protobuf.ByteString getDescriptionBytes()
OS policy assignment description. Length of the description is limited to 1024 characters.
string description = 2;List<OSPolicy> getOsPoliciesList()
Required. List of OS policies to be applied to the VMs.
repeated .google.cloud.osconfig.v1.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED];
OSPolicy getOsPolicies(int index)
Required. List of OS policies to be applied to the VMs.
repeated .google.cloud.osconfig.v1.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED];
int getOsPoliciesCount()
Required. List of OS policies to be applied to the VMs.
repeated .google.cloud.osconfig.v1.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED];
List<? extends OSPolicyOrBuilder> getOsPoliciesOrBuilderList()
Required. List of OS policies to be applied to the VMs.
repeated .google.cloud.osconfig.v1.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED];
OSPolicyOrBuilder getOsPoliciesOrBuilder(int index)
Required. List of OS policies to be applied to the VMs.
repeated .google.cloud.osconfig.v1.OSPolicy os_policies = 3 [(.google.api.field_behavior) = REQUIRED];
boolean hasInstanceFilter()
Required. Filter to select VMs.
.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter instance_filter = 4 [(.google.api.field_behavior) = REQUIRED];
OSPolicyAssignment.InstanceFilter getInstanceFilter()
Required. Filter to select VMs.
.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter instance_filter = 4 [(.google.api.field_behavior) = REQUIRED];
OSPolicyAssignment.InstanceFilterOrBuilder getInstanceFilterOrBuilder()
Required. Filter to select VMs.
.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter instance_filter = 4 [(.google.api.field_behavior) = REQUIRED];
boolean hasRollout()
Required. Rollout to deploy the OS policy assignment.
A rollout is triggered in the following situations:
1) OSPolicyAssignment is created.
2) OSPolicyAssignment is updated and the update contains changes to one of
the following fields:
- instance_filter
- os_policies
3) OSPolicyAssignment is deleted.
.google.cloud.osconfig.v1.OSPolicyAssignment.Rollout rollout = 5 [(.google.api.field_behavior) = REQUIRED];
OSPolicyAssignment.Rollout getRollout()
Required. Rollout to deploy the OS policy assignment.
A rollout is triggered in the following situations:
1) OSPolicyAssignment is created.
2) OSPolicyAssignment is updated and the update contains changes to one of
the following fields:
- instance_filter
- os_policies
3) OSPolicyAssignment is deleted.
.google.cloud.osconfig.v1.OSPolicyAssignment.Rollout rollout = 5 [(.google.api.field_behavior) = REQUIRED];
OSPolicyAssignment.RolloutOrBuilder getRolloutOrBuilder()
Required. Rollout to deploy the OS policy assignment.
A rollout is triggered in the following situations:
1) OSPolicyAssignment is created.
2) OSPolicyAssignment is updated and the update contains changes to one of
the following fields:
- instance_filter
- os_policies
3) OSPolicyAssignment is deleted.
.google.cloud.osconfig.v1.OSPolicyAssignment.Rollout rollout = 5 [(.google.api.field_behavior) = REQUIRED];
String getRevisionId()
Output only. The assignment revision ID A new revision is committed whenever a rollout is triggered for a OS policy assignment
string revision_id = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];com.google.protobuf.ByteString getRevisionIdBytes()
Output only. The assignment revision ID A new revision is committed whenever a rollout is triggered for a OS policy assignment
string revision_id = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];boolean hasRevisionCreateTime()
Output only. The timestamp that the revision was created.
.google.protobuf.Timestamp revision_create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
com.google.protobuf.Timestamp getRevisionCreateTime()
Output only. The timestamp that the revision was created.
.google.protobuf.Timestamp revision_create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
com.google.protobuf.TimestampOrBuilder getRevisionCreateTimeOrBuilder()
Output only. The timestamp that the revision was created.
.google.protobuf.Timestamp revision_create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
String getEtag()
The etag for this OS policy assignment. If this is provided on update, it must match the server's etag.
string etag = 8;com.google.protobuf.ByteString getEtagBytes()
The etag for this OS policy assignment. If this is provided on update, it must match the server's etag.
string etag = 8;int getRolloutStateValue()
Output only. OS policy assignment rollout state
.google.cloud.osconfig.v1.OSPolicyAssignment.RolloutState rollout_state = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
OSPolicyAssignment.RolloutState getRolloutState()
Output only. OS policy assignment rollout state
.google.cloud.osconfig.v1.OSPolicyAssignment.RolloutState rollout_state = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
boolean getBaseline()
Output only. Indicates that this revision has been successfully rolled out in this zone and new VMs will be assigned OS policies from this revision. For a given OS policy assignment, there is only one revision with a value of `true` for this field.
bool baseline = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];boolean getDeleted()
Output only. Indicates that this revision deletes the OS policy assignment.
bool deleted = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];boolean getReconciling()
Output only. Indicates that reconciliation is in progress for the revision. This value is `true` when the `rollout_state` is one of: * IN_PROGRESS * CANCELLING
bool reconciling = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];String getUid()
Output only. Server generated unique id for the OS policy assignment resource.
string uid = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];com.google.protobuf.ByteString getUidBytes()
Output only. Server generated unique id for the OS policy assignment resource.
string uid = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];Copyright © 2023 Google LLC. All rights reserved.