public static final class OSPolicy.ResourceGroup extends GeneratedMessageV3 implements OSPolicy.ResourceGroupOrBuilder
Resource groups provide a mechanism to group OS policy resources.
Resource groups enable OS policy authors to create a single OS policy
to be applied to VMs running different operating Systems.
When the OS policy is applied to a target VM, the appropriate resource
group within the OS policy is selected based on the OSFilter
specified
within the resource group.
Protobuf type google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup
Static Fields
INVENTORY_FILTERS_FIELD_NUMBER
public static final int INVENTORY_FILTERS_FIELD_NUMBER
Field Value
OS_FILTER_FIELD_NUMBER
public static final int OS_FILTER_FIELD_NUMBER
Field Value
RESOURCES_FIELD_NUMBER
public static final int RESOURCES_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static OSPolicy.ResourceGroup getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static OSPolicy.ResourceGroup.Builder newBuilder()
Returns
newBuilder(OSPolicy.ResourceGroup prototype)
public static OSPolicy.ResourceGroup.Builder newBuilder(OSPolicy.ResourceGroup prototype)
Parameter
Returns
public static OSPolicy.ResourceGroup parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static OSPolicy.ResourceGroup parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static OSPolicy.ResourceGroup parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static OSPolicy.ResourceGroup parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static OSPolicy.ResourceGroup parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static OSPolicy.ResourceGroup parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static OSPolicy.ResourceGroup parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static OSPolicy.ResourceGroup parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static OSPolicy.ResourceGroup parseFrom(InputStream input)
Parameter
Returns
Exceptions