- 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 interface InstanceOSPoliciesComplianceOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getDetailedState() (deprecated)
public abstract String getDetailedState()
Output only. Detailed compliance state of the VM.
This field is populated only when compliance state is UNKNOWN
.
It may contain one of the following values:
no-compliance-data
: Compliance data is not available for this VM.no-agent-detected
: OS Config agent is not detected for this VM.config-not-supported-by-agent
: The version of the OS Config agent running on this VM does not support configuration management.inactive
: VM is not running.internal-service-errors
: There were internal service errors encountered while enforcing compliance.agent-errors
: OS config agent encountered errors while enforcing compliance.
string detailed_state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
String |
The detailedState. |
getDetailedStateBytes() (deprecated)
public abstract ByteString getDetailedStateBytes()
Output only. Detailed compliance state of the VM.
This field is populated only when compliance state is UNKNOWN
.
It may contain one of the following values:
no-compliance-data
: Compliance data is not available for this VM.no-agent-detected
: OS Config agent is not detected for this VM.config-not-supported-by-agent
: The version of the OS Config agent running on this VM does not support configuration management.inactive
: VM is not running.internal-service-errors
: There were internal service errors encountered while enforcing compliance.agent-errors
: OS config agent encountered errors while enforcing compliance.
string detailed_state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for detailedState. |
getDetailedStateReason() (deprecated)
public abstract String getDetailedStateReason()
Output only. The reason for the detailed_state
of the VM (if any).
string detailed_state_reason = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
String |
The detailedStateReason. |
getDetailedStateReasonBytes() (deprecated)
public abstract ByteString getDetailedStateReasonBytes()
Output only. The reason for the detailed_state
of the VM (if any).
string detailed_state_reason = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for detailedStateReason. |
getInstance() (deprecated)
public abstract String getInstance()
Output only. The Compute Engine VM instance name.
string instance = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
String |
The instance. |
getInstanceBytes() (deprecated)
public abstract ByteString getInstanceBytes()
Output only. The Compute Engine VM instance name.
string instance = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for instance. |
getLastComplianceCheckTime() (deprecated)
public abstract Timestamp getLastComplianceCheckTime()
Output only. Timestamp of the last compliance check for the VM.
.google.protobuf.Timestamp last_compliance_check_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Timestamp |
The lastComplianceCheckTime. |
getLastComplianceCheckTimeOrBuilder() (deprecated)
public abstract TimestampOrBuilder getLastComplianceCheckTimeOrBuilder()
Output only. Timestamp of the last compliance check for the VM.
.google.protobuf.Timestamp last_compliance_check_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
getLastComplianceRunId() (deprecated)
public abstract String getLastComplianceRunId()
Output only. Unique identifier for the last compliance run. This id will be logged by the OS config agent during a compliance run and can be used for debugging and tracing purpose.
string last_compliance_run_id = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
String |
The lastComplianceRunId. |
getLastComplianceRunIdBytes() (deprecated)
public abstract ByteString getLastComplianceRunIdBytes()
Output only. Unique identifier for the last compliance run. This id will be logged by the OS config agent during a compliance run and can be used for debugging and tracing purpose.
string last_compliance_run_id = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for lastComplianceRunId. |
getName() (deprecated)
public abstract String getName()
Output only. The InstanceOSPoliciesCompliance
API resource name.
Format:
projects/{project_number}/locations/{location}/instanceOSPoliciesCompliances/{instance_id}
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
String |
The name. |
getNameBytes() (deprecated)
public abstract ByteString getNameBytes()
Output only. The InstanceOSPoliciesCompliance
API resource name.
Format:
projects/{project_number}/locations/{location}/instanceOSPoliciesCompliances/{instance_id}
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for name. |
getOsPolicyCompliances(int index) (deprecated)
public abstract InstanceOSPoliciesCompliance.OSPolicyCompliance getOsPolicyCompliances(int index)
Output only. Compliance data for each OSPolicy
that is applied to the VM.
repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance os_policy_compliances = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
InstanceOSPoliciesCompliance.OSPolicyCompliance |
getOsPolicyCompliancesCount() (deprecated)
public abstract int getOsPolicyCompliancesCount()
Output only. Compliance data for each OSPolicy
that is applied to the VM.
repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance os_policy_compliances = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
int |
getOsPolicyCompliancesList() (deprecated)
public abstract List<InstanceOSPoliciesCompliance.OSPolicyCompliance> getOsPolicyCompliancesList()
Output only. Compliance data for each OSPolicy
that is applied to the VM.
repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance os_policy_compliances = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
List<OSPolicyCompliance> |
getOsPolicyCompliancesOrBuilder(int index) (deprecated)
public abstract InstanceOSPoliciesCompliance.OSPolicyComplianceOrBuilder getOsPolicyCompliancesOrBuilder(int index)
Output only. Compliance data for each OSPolicy
that is applied to the VM.
repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance os_policy_compliances = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
InstanceOSPoliciesCompliance.OSPolicyComplianceOrBuilder |
getOsPolicyCompliancesOrBuilderList() (deprecated)
public abstract List<? extends InstanceOSPoliciesCompliance.OSPolicyComplianceOrBuilder> getOsPolicyCompliancesOrBuilderList()
Output only. Compliance data for each OSPolicy
that is applied to the VM.
repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance os_policy_compliances = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
List<? extends com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyComplianceOrBuilder> |
getState() (deprecated)
public abstract OSPolicyComplianceState getState()
Output only. Compliance state of the VM.
.google.cloud.osconfig.v1alpha.OSPolicyComplianceState state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
OSPolicyComplianceState |
The state. |
getStateValue() (deprecated)
public abstract int getStateValue()
Output only. Compliance state of the VM.
.google.cloud.osconfig.v1alpha.OSPolicyComplianceState state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
int |
The enum numeric value on the wire for state. |
hasLastComplianceCheckTime() (deprecated)
public abstract boolean hasLastComplianceCheckTime()
Output only. Timestamp of the last compliance check for the VM.
.google.protobuf.Timestamp last_compliance_check_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
boolean |
Whether the lastComplianceCheckTime field is set. |