Cloud OS Config V1 API - Class Google::Cloud::OsConfig::V1::GetOSPolicyAssignmentReportRequest (v1.0.0)

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

Get a report of the OS policy assignment for a 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 OS policy assignment report.

    Format: /projects/{project}/locations/{location}/instances/{instance}/osPolicyAssignments/{assignment}/report

    For {project}, either project-number or project-id can be provided. For {instance_id}, either Compute Engine instance-id or instance-name can be provided. For {assignment_id}, the OSPolicyAssignment id must be provided.

#name=

def name=(value) -> ::String
Parameter
  • value (::String) — Required. API resource name for OS policy assignment report.

    Format: /projects/{project}/locations/{location}/instances/{instance}/osPolicyAssignments/{assignment}/report

    For {project}, either project-number or project-id can be provided. For {instance_id}, either Compute Engine instance-id or instance-name can be provided. For {assignment_id}, the OSPolicyAssignment id must be provided.

Returns
  • (::String) — Required. API resource name for OS policy assignment report.

    Format: /projects/{project}/locations/{location}/instances/{instance}/osPolicyAssignments/{assignment}/report

    For {project}, either project-number or project-id can be provided. For {instance_id}, either Compute Engine instance-id or instance-name can be provided. For {assignment_id}, the OSPolicyAssignment id must be provided.