Google Cloud OS Config v1 API - Class GetOSPolicyAssignmentReportRequest (2.2.0)

public sealed class GetOSPolicyAssignmentReportRequest : IMessage<GetOSPolicyAssignmentReportRequest>, IEquatable<GetOSPolicyAssignmentReportRequest>, IDeepCloneable<GetOSPolicyAssignmentReportRequest>, IBufferMessage, IMessage

Reference documentation and code samples for the Google Cloud OS Config v1 API class GetOSPolicyAssignmentReportRequest.

Get a report of the OS policy assignment for a VM instance.

Inheritance

object > GetOSPolicyAssignmentReportRequest

Namespace

Google.Cloud.OsConfig.V1

Assembly

Google.Cloud.OsConfig.V1.dll

Constructors

GetOSPolicyAssignmentReportRequest()

public GetOSPolicyAssignmentReportRequest()

GetOSPolicyAssignmentReportRequest(GetOSPolicyAssignmentReportRequest)

public GetOSPolicyAssignmentReportRequest(GetOSPolicyAssignmentReportRequest other)
Parameter
NameDescription
otherGetOSPolicyAssignmentReportRequest

Properties

Name

public string Name { get; set; }

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.

Property Value
TypeDescription
string

OSPolicyAssignmentReportName

public OSPolicyAssignmentReportName OSPolicyAssignmentReportName { get; set; }

OSPolicyAssignmentReportName-typed view over the Name resource name property.

Property Value
TypeDescription
OSPolicyAssignmentReportName