Cloud OS Config V1alpha API - Class Google::Cloud::OsConfig::V1alpha::GetInstanceOSPoliciesComplianceRequest (v0.8.0)

Reference documentation and code samples for the Cloud OS Config V1alpha API class Google::Cloud::OsConfig::V1alpha::GetInstanceOSPoliciesComplianceRequest.

A request message for getting OS policies compliance data for the given Compute Engine VM instance.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#name

def name() -> ::String
Returns
  • (::String) — Required. API resource name for instance OS policies compliance resource.

    Format: projects/{project}/locations/{location}/instanceOSPoliciesCompliances/{instance}

    For {project}, either Compute Engine project-number or project-id can be provided. For {instance}, either Compute Engine VM instance-id or instance-name can be provided.

#name=

def name=(value) -> ::String
Parameter
  • value (::String) — Required. API resource name for instance OS policies compliance resource.

    Format: projects/{project}/locations/{location}/instanceOSPoliciesCompliances/{instance}

    For {project}, either Compute Engine project-number or project-id can be provided. For {instance}, either Compute Engine VM instance-id or instance-name can be provided.

Returns
  • (::String) — Required. API resource name for instance OS policies compliance resource.

    Format: projects/{project}/locations/{location}/instanceOSPoliciesCompliances/{instance}

    For {project}, either Compute Engine project-number or project-id can be provided. For {instance}, either Compute Engine VM instance-id or instance-name can be provided.