- 2.55.0 (latest)
- 2.54.0
- 2.53.0
- 2.51.0
- 2.50.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.39.0
- 2.38.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.26.0
- 2.25.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.11.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.6
- 2.4.3
- 2.3.2
public static final class OSPolicyAssignmentReport.Builder extends GeneratedMessageV3.Builder<OSPolicyAssignmentReport.Builder> implements OSPolicyAssignmentReportOrBuilder
A report of the OS policy assignment status for a given instance.
Protobuf type google.cloud.osconfig.v1.OSPolicyAssignmentReport
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > OSPolicyAssignmentReport.BuilderImplements
OSPolicyAssignmentReportOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addAllOsPolicyCompliances(Iterable<? extends OSPolicyAssignmentReport.OSPolicyCompliance> values)
public OSPolicyAssignmentReport.Builder addAllOsPolicyCompliances(Iterable<? extends OSPolicyAssignmentReport.OSPolicyCompliance> values)
Compliance data for each OSPolicy
that is applied to the VM.
repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4;
Parameter | |
---|---|
Name | Description |
values | Iterable<? extends com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance> |
Returns | |
---|---|
Type | Description |
OSPolicyAssignmentReport.Builder |
addOsPolicyCompliances(OSPolicyAssignmentReport.OSPolicyCompliance value)
public OSPolicyAssignmentReport.Builder addOsPolicyCompliances(OSPolicyAssignmentReport.OSPolicyCompliance value)
Compliance data for each OSPolicy
that is applied to the VM.
repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4;
Parameter | |
---|---|
Name | Description |
value | OSPolicyAssignmentReport.OSPolicyCompliance |
Returns | |
---|---|
Type | Description |
OSPolicyAssignmentReport.Builder |
addOsPolicyCompliances(OSPolicyAssignmentReport.OSPolicyCompliance.Builder builderForValue)
public OSPolicyAssignmentReport.Builder addOsPolicyCompliances(OSPolicyAssignmentReport.OSPolicyCompliance.Builder builderForValue)
Compliance data for each OSPolicy
that is applied to the VM.
repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4;
Parameter | |
---|---|
Name | Description |
builderForValue | OSPolicyAssignmentReport.OSPolicyCompliance.Builder |
Returns | |
---|---|
Type | Description |
OSPolicyAssignmentReport.Builder |
addOsPolicyCompliances(int index, OSPolicyAssignmentReport.OSPolicyCompliance value)
public OSPolicyAssignmentReport.Builder addOsPolicyCompliances(int index, OSPolicyAssignmentReport.OSPolicyCompliance value)
Compliance data for each OSPolicy
that is applied to the VM.
repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4;
Parameters | |
---|---|
Name | Description |
index | int |
value | OSPolicyAssignmentReport.OSPolicyCompliance |
Returns | |
---|---|
Type | Description |
OSPolicyAssignmentReport.Builder |
addOsPolicyCompliances(int index, OSPolicyAssignmentReport.OSPolicyCompliance.Builder builderForValue)
public OSPolicyAssignmentReport.Builder addOsPolicyCompliances(int index, OSPolicyAssignmentReport.OSPolicyCompliance.Builder builderForValue)
Compliance data for each OSPolicy
that is applied to the VM.
repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4;
Parameters | |
---|---|
Name | Description |
index | int |
builderForValue | OSPolicyAssignmentReport.OSPolicyCompliance.Builder |
Returns | |
---|---|
Type | Description |
OSPolicyAssignmentReport.Builder |
addOsPolicyCompliancesBuilder()
public OSPolicyAssignmentReport.OSPolicyCompliance.Builder addOsPolicyCompliancesBuilder()
Compliance data for each OSPolicy
that is applied to the VM.
repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4;
Returns | |
---|---|
Type | Description |
OSPolicyAssignmentReport.OSPolicyCompliance.Builder |
addOsPolicyCompliancesBuilder(int index)
public OSPolicyAssignmentReport.OSPolicyCompliance.Builder addOsPolicyCompliancesBuilder(int index)
Compliance data for each OSPolicy
that is applied to the VM.
repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
OSPolicyAssignmentReport.OSPolicyCompliance.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public OSPolicyAssignmentReport.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
OSPolicyAssignmentReport.Builder |
build()
public OSPolicyAssignmentReport build()
Returns | |
---|---|
Type | Description |
OSPolicyAssignmentReport |
buildPartial()
public OSPolicyAssignmentReport buildPartial()
Returns | |
---|---|
Type | Description |
OSPolicyAssignmentReport |
clear()
public OSPolicyAssignmentReport.Builder clear()
Returns | |
---|---|
Type | Description |
OSPolicyAssignmentReport.Builder |
clearField(Descriptors.FieldDescriptor field)
public OSPolicyAssignmentReport.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
OSPolicyAssignmentReport.Builder |
clearInstance()
public OSPolicyAssignmentReport.Builder clearInstance()
The Compute Engine VM instance name.
string instance = 2;
Returns | |
---|---|
Type | Description |
OSPolicyAssignmentReport.Builder | This builder for chaining. |
clearLastRunId()
public OSPolicyAssignmentReport.Builder clearLastRunId()
Unique identifier of the last attempted run to apply the OS policies associated with this assignment on the VM. This ID is logged by the OS Config agent while applying the OS policies associated with this assignment on the VM. NOTE: If the service is unable to successfully connect to the agent for this run, then this id will not be available in the agent logs.
string last_run_id = 6;
Returns | |
---|---|
Type | Description |
OSPolicyAssignmentReport.Builder | This builder for chaining. |
clearName()
public OSPolicyAssignmentReport.Builder clearName()
The OSPolicyAssignmentReport
API resource name.
Format:
projects/{project_number}/locations/{location}/instances/{instance_id}/osPolicyAssignments/{os_policy_assignment_id}/report
string name = 1;
Returns | |
---|---|
Type | Description |
OSPolicyAssignmentReport.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public OSPolicyAssignmentReport.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
OSPolicyAssignmentReport.Builder |
clearOsPolicyAssignment()
public OSPolicyAssignmentReport.Builder clearOsPolicyAssignment()
Reference to the OSPolicyAssignment
API resource that the OSPolicy
belongs to.
Format:
projects/{project_number}/locations/{location}/osPolicyAssignments/{os_policy_assignment_id@revision_id}
string os_policy_assignment = 3 [(.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
OSPolicyAssignmentReport.Builder | This builder for chaining. |
clearOsPolicyCompliances()
public OSPolicyAssignmentReport.Builder clearOsPolicyCompliances()
Compliance data for each OSPolicy
that is applied to the VM.
repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4;
Returns | |
---|---|
Type | Description |
OSPolicyAssignmentReport.Builder |
clearUpdateTime()
public OSPolicyAssignmentReport.Builder clearUpdateTime()
Timestamp for when the report was last generated.
.google.protobuf.Timestamp update_time = 5;
Returns | |
---|---|
Type | Description |
OSPolicyAssignmentReport.Builder |
clone()
public OSPolicyAssignmentReport.Builder clone()
Returns | |
---|---|
Type | Description |
OSPolicyAssignmentReport.Builder |
getDefaultInstanceForType()
public OSPolicyAssignmentReport getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
OSPolicyAssignmentReport |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getInstance()
public String getInstance()
The Compute Engine VM instance name.
string instance = 2;
Returns | |
---|---|
Type | Description |
String | The instance. |
getInstanceBytes()
public ByteString getInstanceBytes()
The Compute Engine VM instance name.
string instance = 2;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for instance. |
getLastRunId()
public String getLastRunId()
Unique identifier of the last attempted run to apply the OS policies associated with this assignment on the VM. This ID is logged by the OS Config agent while applying the OS policies associated with this assignment on the VM. NOTE: If the service is unable to successfully connect to the agent for this run, then this id will not be available in the agent logs.
string last_run_id = 6;
Returns | |
---|---|
Type | Description |
String | The lastRunId. |
getLastRunIdBytes()
public ByteString getLastRunIdBytes()
Unique identifier of the last attempted run to apply the OS policies associated with this assignment on the VM. This ID is logged by the OS Config agent while applying the OS policies associated with this assignment on the VM. NOTE: If the service is unable to successfully connect to the agent for this run, then this id will not be available in the agent logs.
string last_run_id = 6;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for lastRunId. |
getName()
public String getName()
The OSPolicyAssignmentReport
API resource name.
Format:
projects/{project_number}/locations/{location}/instances/{instance_id}/osPolicyAssignments/{os_policy_assignment_id}/report
string name = 1;
Returns | |
---|---|
Type | Description |
String | The name. |
getNameBytes()
public ByteString getNameBytes()
The OSPolicyAssignmentReport
API resource name.
Format:
projects/{project_number}/locations/{location}/instances/{instance_id}/osPolicyAssignments/{os_policy_assignment_id}/report
string name = 1;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for name. |
getOsPolicyAssignment()
public String getOsPolicyAssignment()
Reference to the OSPolicyAssignment
API resource that the OSPolicy
belongs to.
Format:
projects/{project_number}/locations/{location}/osPolicyAssignments/{os_policy_assignment_id@revision_id}
string os_policy_assignment = 3 [(.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
String | The osPolicyAssignment. |
getOsPolicyAssignmentBytes()
public ByteString getOsPolicyAssignmentBytes()
Reference to the OSPolicyAssignment
API resource that the OSPolicy
belongs to.
Format:
projects/{project_number}/locations/{location}/osPolicyAssignments/{os_policy_assignment_id@revision_id}
string os_policy_assignment = 3 [(.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
ByteString | The bytes for osPolicyAssignment. |
getOsPolicyCompliances(int index)
public OSPolicyAssignmentReport.OSPolicyCompliance getOsPolicyCompliances(int index)
Compliance data for each OSPolicy
that is applied to the VM.
repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
OSPolicyAssignmentReport.OSPolicyCompliance |
getOsPolicyCompliancesBuilder(int index)
public OSPolicyAssignmentReport.OSPolicyCompliance.Builder getOsPolicyCompliancesBuilder(int index)
Compliance data for each OSPolicy
that is applied to the VM.
repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
OSPolicyAssignmentReport.OSPolicyCompliance.Builder |
getOsPolicyCompliancesBuilderList()
public List<OSPolicyAssignmentReport.OSPolicyCompliance.Builder> getOsPolicyCompliancesBuilderList()
Compliance data for each OSPolicy
that is applied to the VM.
repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4;
Returns | |
---|---|
Type | Description |
List<Builder> |
getOsPolicyCompliancesCount()
public int getOsPolicyCompliancesCount()
Compliance data for each OSPolicy
that is applied to the VM.
repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4;
Returns | |
---|---|
Type | Description |
int |
getOsPolicyCompliancesList()
public List<OSPolicyAssignmentReport.OSPolicyCompliance> getOsPolicyCompliancesList()
Compliance data for each OSPolicy
that is applied to the VM.
repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4;
Returns | |
---|---|
Type | Description |
List<OSPolicyCompliance> |
getOsPolicyCompliancesOrBuilder(int index)
public OSPolicyAssignmentReport.OSPolicyComplianceOrBuilder getOsPolicyCompliancesOrBuilder(int index)
Compliance data for each OSPolicy
that is applied to the VM.
repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
OSPolicyAssignmentReport.OSPolicyComplianceOrBuilder |
getOsPolicyCompliancesOrBuilderList()
public List<? extends OSPolicyAssignmentReport.OSPolicyComplianceOrBuilder> getOsPolicyCompliancesOrBuilderList()
Compliance data for each OSPolicy
that is applied to the VM.
repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4;
Returns | |
---|---|
Type | Description |
List<? extends com.google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyComplianceOrBuilder> |
getUpdateTime()
public Timestamp getUpdateTime()
Timestamp for when the report was last generated.
.google.protobuf.Timestamp update_time = 5;
Returns | |
---|---|
Type | Description |
Timestamp | The updateTime. |
getUpdateTimeBuilder()
public Timestamp.Builder getUpdateTimeBuilder()
Timestamp for when the report was last generated.
.google.protobuf.Timestamp update_time = 5;
Returns | |
---|---|
Type | Description |
Builder |
getUpdateTimeOrBuilder()
public TimestampOrBuilder getUpdateTimeOrBuilder()
Timestamp for when the report was last generated.
.google.protobuf.Timestamp update_time = 5;
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
hasUpdateTime()
public boolean hasUpdateTime()
Timestamp for when the report was last generated.
.google.protobuf.Timestamp update_time = 5;
Returns | |
---|---|
Type | Description |
boolean | Whether the updateTime field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(OSPolicyAssignmentReport other)
public OSPolicyAssignmentReport.Builder mergeFrom(OSPolicyAssignmentReport other)
Parameter | |
---|---|
Name | Description |
other | OSPolicyAssignmentReport |
Returns | |
---|---|
Type | Description |
OSPolicyAssignmentReport.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public OSPolicyAssignmentReport.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
OSPolicyAssignmentReport.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public OSPolicyAssignmentReport.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
OSPolicyAssignmentReport.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final OSPolicyAssignmentReport.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
OSPolicyAssignmentReport.Builder |
mergeUpdateTime(Timestamp value)
public OSPolicyAssignmentReport.Builder mergeUpdateTime(Timestamp value)
Timestamp for when the report was last generated.
.google.protobuf.Timestamp update_time = 5;
Parameter | |
---|---|
Name | Description |
value | Timestamp |
Returns | |
---|---|
Type | Description |
OSPolicyAssignmentReport.Builder |
removeOsPolicyCompliances(int index)
public OSPolicyAssignmentReport.Builder removeOsPolicyCompliances(int index)
Compliance data for each OSPolicy
that is applied to the VM.
repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
OSPolicyAssignmentReport.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public OSPolicyAssignmentReport.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
OSPolicyAssignmentReport.Builder |
setInstance(String value)
public OSPolicyAssignmentReport.Builder setInstance(String value)
The Compute Engine VM instance name.
string instance = 2;
Parameter | |
---|---|
Name | Description |
value | String The instance to set. |
Returns | |
---|---|
Type | Description |
OSPolicyAssignmentReport.Builder | This builder for chaining. |
setInstanceBytes(ByteString value)
public OSPolicyAssignmentReport.Builder setInstanceBytes(ByteString value)
The Compute Engine VM instance name.
string instance = 2;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for instance to set. |
Returns | |
---|---|
Type | Description |
OSPolicyAssignmentReport.Builder | This builder for chaining. |
setLastRunId(String value)
public OSPolicyAssignmentReport.Builder setLastRunId(String value)
Unique identifier of the last attempted run to apply the OS policies associated with this assignment on the VM. This ID is logged by the OS Config agent while applying the OS policies associated with this assignment on the VM. NOTE: If the service is unable to successfully connect to the agent for this run, then this id will not be available in the agent logs.
string last_run_id = 6;
Parameter | |
---|---|
Name | Description |
value | String The lastRunId to set. |
Returns | |
---|---|
Type | Description |
OSPolicyAssignmentReport.Builder | This builder for chaining. |
setLastRunIdBytes(ByteString value)
public OSPolicyAssignmentReport.Builder setLastRunIdBytes(ByteString value)
Unique identifier of the last attempted run to apply the OS policies associated with this assignment on the VM. This ID is logged by the OS Config agent while applying the OS policies associated with this assignment on the VM. NOTE: If the service is unable to successfully connect to the agent for this run, then this id will not be available in the agent logs.
string last_run_id = 6;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for lastRunId to set. |
Returns | |
---|---|
Type | Description |
OSPolicyAssignmentReport.Builder | This builder for chaining. |
setName(String value)
public OSPolicyAssignmentReport.Builder setName(String value)
The OSPolicyAssignmentReport
API resource name.
Format:
projects/{project_number}/locations/{location}/instances/{instance_id}/osPolicyAssignments/{os_policy_assignment_id}/report
string name = 1;
Parameter | |
---|---|
Name | Description |
value | String The name to set. |
Returns | |
---|---|
Type | Description |
OSPolicyAssignmentReport.Builder | This builder for chaining. |
setNameBytes(ByteString value)
public OSPolicyAssignmentReport.Builder setNameBytes(ByteString value)
The OSPolicyAssignmentReport
API resource name.
Format:
projects/{project_number}/locations/{location}/instances/{instance_id}/osPolicyAssignments/{os_policy_assignment_id}/report
string name = 1;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for name to set. |
Returns | |
---|---|
Type | Description |
OSPolicyAssignmentReport.Builder | This builder for chaining. |
setOsPolicyAssignment(String value)
public OSPolicyAssignmentReport.Builder setOsPolicyAssignment(String value)
Reference to the OSPolicyAssignment
API resource that the OSPolicy
belongs to.
Format:
projects/{project_number}/locations/{location}/osPolicyAssignments/{os_policy_assignment_id@revision_id}
string os_policy_assignment = 3 [(.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
value | String The osPolicyAssignment to set. |
Returns | |
---|---|
Type | Description |
OSPolicyAssignmentReport.Builder | This builder for chaining. |
setOsPolicyAssignmentBytes(ByteString value)
public OSPolicyAssignmentReport.Builder setOsPolicyAssignmentBytes(ByteString value)
Reference to the OSPolicyAssignment
API resource that the OSPolicy
belongs to.
Format:
projects/{project_number}/locations/{location}/osPolicyAssignments/{os_policy_assignment_id@revision_id}
string os_policy_assignment = 3 [(.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for osPolicyAssignment to set. |
Returns | |
---|---|
Type | Description |
OSPolicyAssignmentReport.Builder | This builder for chaining. |
setOsPolicyCompliances(int index, OSPolicyAssignmentReport.OSPolicyCompliance value)
public OSPolicyAssignmentReport.Builder setOsPolicyCompliances(int index, OSPolicyAssignmentReport.OSPolicyCompliance value)
Compliance data for each OSPolicy
that is applied to the VM.
repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4;
Parameters | |
---|---|
Name | Description |
index | int |
value | OSPolicyAssignmentReport.OSPolicyCompliance |
Returns | |
---|---|
Type | Description |
OSPolicyAssignmentReport.Builder |
setOsPolicyCompliances(int index, OSPolicyAssignmentReport.OSPolicyCompliance.Builder builderForValue)
public OSPolicyAssignmentReport.Builder setOsPolicyCompliances(int index, OSPolicyAssignmentReport.OSPolicyCompliance.Builder builderForValue)
Compliance data for each OSPolicy
that is applied to the VM.
repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4;
Parameters | |
---|---|
Name | Description |
index | int |
builderForValue | OSPolicyAssignmentReport.OSPolicyCompliance.Builder |
Returns | |
---|---|
Type | Description |
OSPolicyAssignmentReport.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public OSPolicyAssignmentReport.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
OSPolicyAssignmentReport.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final OSPolicyAssignmentReport.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
OSPolicyAssignmentReport.Builder |
setUpdateTime(Timestamp value)
public OSPolicyAssignmentReport.Builder setUpdateTime(Timestamp value)
Timestamp for when the report was last generated.
.google.protobuf.Timestamp update_time = 5;
Parameter | |
---|---|
Name | Description |
value | Timestamp |
Returns | |
---|---|
Type | Description |
OSPolicyAssignmentReport.Builder |
setUpdateTime(Timestamp.Builder builderForValue)
public OSPolicyAssignmentReport.Builder setUpdateTime(Timestamp.Builder builderForValue)
Timestamp for when the report was last generated.
.google.protobuf.Timestamp update_time = 5;
Parameter | |
---|---|
Name | Description |
builderForValue | Builder |
Returns | |
---|---|
Type | Description |
OSPolicyAssignmentReport.Builder |