Class: Google::Cloud::OsConfig::V1alpha::InstanceOSPoliciesCompliance::OSPolicyCompliance Deprecated

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/osconfig/v1alpha/instance_os_policies_compliance.rb

Overview

Deprecated.

This message is deprecated and may be removed in the next major version update.

Compliance data for an OS policy

Instance Attribute Summary collapse

Instance Attribute Details

#os_policy_assignment::String

Returns Reference to the OSPolicyAssignment API resource that the OSPolicy belongs to.

Format: projects/{project_number}/locations/{location}/osPolicyAssignments/{os_policy_assignment_id@revision_id}.

Returns:

  • (::String)

    Reference to the OSPolicyAssignment API resource that the OSPolicy belongs to.

    Format: projects/{project_number}/locations/{location}/osPolicyAssignments/{os_policy_assignment_id@revision_id}



102
103
104
105
# File 'proto_docs/google/cloud/osconfig/v1alpha/instance_os_policies_compliance.rb', line 102

class OSPolicyCompliance
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#os_policy_id::String

Returns The OS policy id.

Returns:

  • (::String)

    The OS policy id



102
103
104
105
# File 'proto_docs/google/cloud/osconfig/v1alpha/instance_os_policies_compliance.rb', line 102

class OSPolicyCompliance
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#os_policy_resource_compliances::Array<::Google::Cloud::OsConfig::V1alpha::OSPolicyResourceCompliance>

Returns Compliance data for each OSPolicyResource that is applied to the VM.

Returns:



102
103
104
105
# File 'proto_docs/google/cloud/osconfig/v1alpha/instance_os_policies_compliance.rb', line 102

class OSPolicyCompliance
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#state::Google::Cloud::OsConfig::V1alpha::OSPolicyComplianceState

Returns Compliance state of the OS policy.

Returns:



102
103
104
105
# File 'proto_docs/google/cloud/osconfig/v1alpha/instance_os_policies_compliance.rb', line 102

class OSPolicyCompliance
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end