public static final class OSPolicy.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<OSPolicy.Builder> implements OSPolicyOrBuilder
An OS policy defines the desired state configuration for a VM.Protobuf type
google.cloud.osconfig.v1.OSPolicy| Modifier and Type | Method and Description |
|---|---|
OSPolicy.Builder |
addAllResourceGroups(Iterable<? extends OSPolicy.ResourceGroup> values)
Required.
|
OSPolicy.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
OSPolicy.Builder |
addResourceGroups(int index,
OSPolicy.ResourceGroup.Builder builderForValue)
Required.
|
OSPolicy.Builder |
addResourceGroups(int index,
OSPolicy.ResourceGroup value)
Required.
|
OSPolicy.Builder |
addResourceGroups(OSPolicy.ResourceGroup.Builder builderForValue)
Required.
|
OSPolicy.Builder |
addResourceGroups(OSPolicy.ResourceGroup value)
Required.
|
OSPolicy.ResourceGroup.Builder |
addResourceGroupsBuilder()
Required.
|
OSPolicy.ResourceGroup.Builder |
addResourceGroupsBuilder(int index)
Required.
|
OSPolicy |
build() |
OSPolicy |
buildPartial() |
OSPolicy.Builder |
clear() |
OSPolicy.Builder |
clearAllowNoResourceGroupMatch()
This flag determines the OS policy compliance status when none of the
resource groups within the policy are applicable for a VM.
|
OSPolicy.Builder |
clearDescription()
Policy description.
|
OSPolicy.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
OSPolicy.Builder |
clearId()
Required.
|
OSPolicy.Builder |
clearMode()
Required.
|
OSPolicy.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
OSPolicy.Builder |
clearResourceGroups()
Required.
|
OSPolicy.Builder |
clone() |
boolean |
getAllowNoResourceGroupMatch()
This flag determines the OS policy compliance status when none of the
resource groups within the policy are applicable for a VM.
|
OSPolicy |
getDefaultInstanceForType() |
String |
getDescription()
Policy description.
|
com.google.protobuf.ByteString |
getDescriptionBytes()
Policy description.
|
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getId()
Required.
|
com.google.protobuf.ByteString |
getIdBytes()
Required.
|
OSPolicy.Mode |
getMode()
Required.
|
int |
getModeValue()
Required.
|
OSPolicy.ResourceGroup |
getResourceGroups(int index)
Required.
|
OSPolicy.ResourceGroup.Builder |
getResourceGroupsBuilder(int index)
Required.
|
List<OSPolicy.ResourceGroup.Builder> |
getResourceGroupsBuilderList()
Required.
|
int |
getResourceGroupsCount()
Required.
|
List<OSPolicy.ResourceGroup> |
getResourceGroupsList()
Required.
|
OSPolicy.ResourceGroupOrBuilder |
getResourceGroupsOrBuilder(int index)
Required.
|
List<? extends OSPolicy.ResourceGroupOrBuilder> |
getResourceGroupsOrBuilderList()
Required.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
OSPolicy.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
OSPolicy.Builder |
mergeFrom(com.google.protobuf.Message other) |
OSPolicy.Builder |
mergeFrom(OSPolicy other) |
OSPolicy.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
OSPolicy.Builder |
removeResourceGroups(int index)
Required.
|
OSPolicy.Builder |
setAllowNoResourceGroupMatch(boolean value)
This flag determines the OS policy compliance status when none of the
resource groups within the policy are applicable for a VM.
|
OSPolicy.Builder |
setDescription(String value)
Policy description.
|
OSPolicy.Builder |
setDescriptionBytes(com.google.protobuf.ByteString value)
Policy description.
|
OSPolicy.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
OSPolicy.Builder |
setId(String value)
Required.
|
OSPolicy.Builder |
setIdBytes(com.google.protobuf.ByteString value)
Required.
|
OSPolicy.Builder |
setMode(OSPolicy.Mode value)
Required.
|
OSPolicy.Builder |
setModeValue(int value)
Required.
|
OSPolicy.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
OSPolicy.Builder |
setResourceGroups(int index,
OSPolicy.ResourceGroup.Builder builderForValue)
Required.
|
OSPolicy.Builder |
setResourceGroups(int index,
OSPolicy.ResourceGroup value)
Required.
|
OSPolicy.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<OSPolicy.Builder>public OSPolicy.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<OSPolicy.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<OSPolicy.Builder>public OSPolicy getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic OSPolicy build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic OSPolicy buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic OSPolicy.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<OSPolicy.Builder>public OSPolicy.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<OSPolicy.Builder>public OSPolicy.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<OSPolicy.Builder>public OSPolicy.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<OSPolicy.Builder>public OSPolicy.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<OSPolicy.Builder>public OSPolicy.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<OSPolicy.Builder>public OSPolicy.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<OSPolicy.Builder>public OSPolicy.Builder mergeFrom(OSPolicy other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<OSPolicy.Builder>public OSPolicy.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<OSPolicy.Builder>IOExceptionpublic String getId()
Required. The id of the OS policy with the following restrictions: * Must contain only lowercase letters, numbers, and hyphens. * Must start with a letter. * Must be between 1-63 characters. * Must end with a number or a letter. * Must be unique within the assignment.
string id = 1 [(.google.api.field_behavior) = REQUIRED];getId in interface OSPolicyOrBuilderpublic com.google.protobuf.ByteString getIdBytes()
Required. The id of the OS policy with the following restrictions: * Must contain only lowercase letters, numbers, and hyphens. * Must start with a letter. * Must be between 1-63 characters. * Must end with a number or a letter. * Must be unique within the assignment.
string id = 1 [(.google.api.field_behavior) = REQUIRED];getIdBytes in interface OSPolicyOrBuilderpublic OSPolicy.Builder setId(String value)
Required. The id of the OS policy with the following restrictions: * Must contain only lowercase letters, numbers, and hyphens. * Must start with a letter. * Must be between 1-63 characters. * Must end with a number or a letter. * Must be unique within the assignment.
string id = 1 [(.google.api.field_behavior) = REQUIRED];value - The id to set.public OSPolicy.Builder clearId()
Required. The id of the OS policy with the following restrictions: * Must contain only lowercase letters, numbers, and hyphens. * Must start with a letter. * Must be between 1-63 characters. * Must end with a number or a letter. * Must be unique within the assignment.
string id = 1 [(.google.api.field_behavior) = REQUIRED];public OSPolicy.Builder setIdBytes(com.google.protobuf.ByteString value)
Required. The id of the OS policy with the following restrictions: * Must contain only lowercase letters, numbers, and hyphens. * Must start with a letter. * Must be between 1-63 characters. * Must end with a number or a letter. * Must be unique within the assignment.
string id = 1 [(.google.api.field_behavior) = REQUIRED];value - The bytes for id to set.public String getDescription()
Policy description. Length of the description is limited to 1024 characters.
string description = 2;getDescription in interface OSPolicyOrBuilderpublic com.google.protobuf.ByteString getDescriptionBytes()
Policy description. Length of the description is limited to 1024 characters.
string description = 2;getDescriptionBytes in interface OSPolicyOrBuilderpublic OSPolicy.Builder setDescription(String value)
Policy description. Length of the description is limited to 1024 characters.
string description = 2;value - The description to set.public OSPolicy.Builder clearDescription()
Policy description. Length of the description is limited to 1024 characters.
string description = 2;public OSPolicy.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
Policy description. Length of the description is limited to 1024 characters.
string description = 2;value - The bytes for description to set.public int getModeValue()
Required. Policy mode
.google.cloud.osconfig.v1.OSPolicy.Mode mode = 3 [(.google.api.field_behavior) = REQUIRED];
getModeValue in interface OSPolicyOrBuilderpublic OSPolicy.Builder setModeValue(int value)
Required. Policy mode
.google.cloud.osconfig.v1.OSPolicy.Mode mode = 3 [(.google.api.field_behavior) = REQUIRED];
value - The enum numeric value on the wire for mode to set.public OSPolicy.Mode getMode()
Required. Policy mode
.google.cloud.osconfig.v1.OSPolicy.Mode mode = 3 [(.google.api.field_behavior) = REQUIRED];
getMode in interface OSPolicyOrBuilderpublic OSPolicy.Builder setMode(OSPolicy.Mode value)
Required. Policy mode
.google.cloud.osconfig.v1.OSPolicy.Mode mode = 3 [(.google.api.field_behavior) = REQUIRED];
value - The mode to set.public OSPolicy.Builder clearMode()
Required. Policy mode
.google.cloud.osconfig.v1.OSPolicy.Mode mode = 3 [(.google.api.field_behavior) = REQUIRED];
public List<OSPolicy.ResourceGroup> getResourceGroupsList()
Required. List of resource groups for the policy. For a particular VM, resource groups are evaluated in the order specified and the first resource group that is applicable is selected and the rest are ignored. If none of the resource groups are applicable for a VM, the VM is considered to be non-compliant w.r.t this policy. This behavior can be toggled by the flag `allow_no_resource_group_match`
repeated .google.cloud.osconfig.v1.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED];
getResourceGroupsList in interface OSPolicyOrBuilderpublic int getResourceGroupsCount()
Required. List of resource groups for the policy. For a particular VM, resource groups are evaluated in the order specified and the first resource group that is applicable is selected and the rest are ignored. If none of the resource groups are applicable for a VM, the VM is considered to be non-compliant w.r.t this policy. This behavior can be toggled by the flag `allow_no_resource_group_match`
repeated .google.cloud.osconfig.v1.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED];
getResourceGroupsCount in interface OSPolicyOrBuilderpublic OSPolicy.ResourceGroup getResourceGroups(int index)
Required. List of resource groups for the policy. For a particular VM, resource groups are evaluated in the order specified and the first resource group that is applicable is selected and the rest are ignored. If none of the resource groups are applicable for a VM, the VM is considered to be non-compliant w.r.t this policy. This behavior can be toggled by the flag `allow_no_resource_group_match`
repeated .google.cloud.osconfig.v1.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED];
getResourceGroups in interface OSPolicyOrBuilderpublic OSPolicy.Builder setResourceGroups(int index, OSPolicy.ResourceGroup value)
Required. List of resource groups for the policy. For a particular VM, resource groups are evaluated in the order specified and the first resource group that is applicable is selected and the rest are ignored. If none of the resource groups are applicable for a VM, the VM is considered to be non-compliant w.r.t this policy. This behavior can be toggled by the flag `allow_no_resource_group_match`
repeated .google.cloud.osconfig.v1.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED];
public OSPolicy.Builder setResourceGroups(int index, OSPolicy.ResourceGroup.Builder builderForValue)
Required. List of resource groups for the policy. For a particular VM, resource groups are evaluated in the order specified and the first resource group that is applicable is selected and the rest are ignored. If none of the resource groups are applicable for a VM, the VM is considered to be non-compliant w.r.t this policy. This behavior can be toggled by the flag `allow_no_resource_group_match`
repeated .google.cloud.osconfig.v1.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED];
public OSPolicy.Builder addResourceGroups(OSPolicy.ResourceGroup value)
Required. List of resource groups for the policy. For a particular VM, resource groups are evaluated in the order specified and the first resource group that is applicable is selected and the rest are ignored. If none of the resource groups are applicable for a VM, the VM is considered to be non-compliant w.r.t this policy. This behavior can be toggled by the flag `allow_no_resource_group_match`
repeated .google.cloud.osconfig.v1.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED];
public OSPolicy.Builder addResourceGroups(int index, OSPolicy.ResourceGroup value)
Required. List of resource groups for the policy. For a particular VM, resource groups are evaluated in the order specified and the first resource group that is applicable is selected and the rest are ignored. If none of the resource groups are applicable for a VM, the VM is considered to be non-compliant w.r.t this policy. This behavior can be toggled by the flag `allow_no_resource_group_match`
repeated .google.cloud.osconfig.v1.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED];
public OSPolicy.Builder addResourceGroups(OSPolicy.ResourceGroup.Builder builderForValue)
Required. List of resource groups for the policy. For a particular VM, resource groups are evaluated in the order specified and the first resource group that is applicable is selected and the rest are ignored. If none of the resource groups are applicable for a VM, the VM is considered to be non-compliant w.r.t this policy. This behavior can be toggled by the flag `allow_no_resource_group_match`
repeated .google.cloud.osconfig.v1.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED];
public OSPolicy.Builder addResourceGroups(int index, OSPolicy.ResourceGroup.Builder builderForValue)
Required. List of resource groups for the policy. For a particular VM, resource groups are evaluated in the order specified and the first resource group that is applicable is selected and the rest are ignored. If none of the resource groups are applicable for a VM, the VM is considered to be non-compliant w.r.t this policy. This behavior can be toggled by the flag `allow_no_resource_group_match`
repeated .google.cloud.osconfig.v1.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED];
public OSPolicy.Builder addAllResourceGroups(Iterable<? extends OSPolicy.ResourceGroup> values)
Required. List of resource groups for the policy. For a particular VM, resource groups are evaluated in the order specified and the first resource group that is applicable is selected and the rest are ignored. If none of the resource groups are applicable for a VM, the VM is considered to be non-compliant w.r.t this policy. This behavior can be toggled by the flag `allow_no_resource_group_match`
repeated .google.cloud.osconfig.v1.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED];
public OSPolicy.Builder clearResourceGroups()
Required. List of resource groups for the policy. For a particular VM, resource groups are evaluated in the order specified and the first resource group that is applicable is selected and the rest are ignored. If none of the resource groups are applicable for a VM, the VM is considered to be non-compliant w.r.t this policy. This behavior can be toggled by the flag `allow_no_resource_group_match`
repeated .google.cloud.osconfig.v1.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED];
public OSPolicy.Builder removeResourceGroups(int index)
Required. List of resource groups for the policy. For a particular VM, resource groups are evaluated in the order specified and the first resource group that is applicable is selected and the rest are ignored. If none of the resource groups are applicable for a VM, the VM is considered to be non-compliant w.r.t this policy. This behavior can be toggled by the flag `allow_no_resource_group_match`
repeated .google.cloud.osconfig.v1.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED];
public OSPolicy.ResourceGroup.Builder getResourceGroupsBuilder(int index)
Required. List of resource groups for the policy. For a particular VM, resource groups are evaluated in the order specified and the first resource group that is applicable is selected and the rest are ignored. If none of the resource groups are applicable for a VM, the VM is considered to be non-compliant w.r.t this policy. This behavior can be toggled by the flag `allow_no_resource_group_match`
repeated .google.cloud.osconfig.v1.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED];
public OSPolicy.ResourceGroupOrBuilder getResourceGroupsOrBuilder(int index)
Required. List of resource groups for the policy. For a particular VM, resource groups are evaluated in the order specified and the first resource group that is applicable is selected and the rest are ignored. If none of the resource groups are applicable for a VM, the VM is considered to be non-compliant w.r.t this policy. This behavior can be toggled by the flag `allow_no_resource_group_match`
repeated .google.cloud.osconfig.v1.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED];
getResourceGroupsOrBuilder in interface OSPolicyOrBuilderpublic List<? extends OSPolicy.ResourceGroupOrBuilder> getResourceGroupsOrBuilderList()
Required. List of resource groups for the policy. For a particular VM, resource groups are evaluated in the order specified and the first resource group that is applicable is selected and the rest are ignored. If none of the resource groups are applicable for a VM, the VM is considered to be non-compliant w.r.t this policy. This behavior can be toggled by the flag `allow_no_resource_group_match`
repeated .google.cloud.osconfig.v1.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED];
getResourceGroupsOrBuilderList in interface OSPolicyOrBuilderpublic OSPolicy.ResourceGroup.Builder addResourceGroupsBuilder()
Required. List of resource groups for the policy. For a particular VM, resource groups are evaluated in the order specified and the first resource group that is applicable is selected and the rest are ignored. If none of the resource groups are applicable for a VM, the VM is considered to be non-compliant w.r.t this policy. This behavior can be toggled by the flag `allow_no_resource_group_match`
repeated .google.cloud.osconfig.v1.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED];
public OSPolicy.ResourceGroup.Builder addResourceGroupsBuilder(int index)
Required. List of resource groups for the policy. For a particular VM, resource groups are evaluated in the order specified and the first resource group that is applicable is selected and the rest are ignored. If none of the resource groups are applicable for a VM, the VM is considered to be non-compliant w.r.t this policy. This behavior can be toggled by the flag `allow_no_resource_group_match`
repeated .google.cloud.osconfig.v1.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED];
public List<OSPolicy.ResourceGroup.Builder> getResourceGroupsBuilderList()
Required. List of resource groups for the policy. For a particular VM, resource groups are evaluated in the order specified and the first resource group that is applicable is selected and the rest are ignored. If none of the resource groups are applicable for a VM, the VM is considered to be non-compliant w.r.t this policy. This behavior can be toggled by the flag `allow_no_resource_group_match`
repeated .google.cloud.osconfig.v1.OSPolicy.ResourceGroup resource_groups = 4 [(.google.api.field_behavior) = REQUIRED];
public boolean getAllowNoResourceGroupMatch()
This flag determines the OS policy compliance status when none of the resource groups within the policy are applicable for a VM. Set this value to `true` if the policy needs to be reported as compliant even if the policy has nothing to validate or enforce.
bool allow_no_resource_group_match = 5;getAllowNoResourceGroupMatch in interface OSPolicyOrBuilderpublic OSPolicy.Builder setAllowNoResourceGroupMatch(boolean value)
This flag determines the OS policy compliance status when none of the resource groups within the policy are applicable for a VM. Set this value to `true` if the policy needs to be reported as compliant even if the policy has nothing to validate or enforce.
bool allow_no_resource_group_match = 5;value - The allowNoResourceGroupMatch to set.public OSPolicy.Builder clearAllowNoResourceGroupMatch()
This flag determines the OS policy compliance status when none of the resource groups within the policy are applicable for a VM. Set this value to `true` if the policy needs to be reported as compliant even if the policy has nothing to validate or enforce.
bool allow_no_resource_group_match = 5;public final OSPolicy.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<OSPolicy.Builder>public final OSPolicy.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<OSPolicy.Builder>Copyright © 2023 Google LLC. All rights reserved.