public sealed class ListOSPolicyAssignmentReportsRequest : IPageRequest, IMessage<ListOSPolicyAssignmentReportsRequest>, IEquatable<ListOSPolicyAssignmentReportsRequest>, IDeepCloneable<ListOSPolicyAssignmentReportsRequest>, IBufferMessage, IMessageReference documentation and code samples for the Google Cloud OS Config v1 API class ListOSPolicyAssignmentReportsRequest.
List the OS policy assignment reports for VM instances.
Implements
IPageRequest, IMessageListOSPolicyAssignmentReportsRequest, IEquatableListOSPolicyAssignmentReportsRequest, IDeepCloneableListOSPolicyAssignmentReportsRequest, IBufferMessage, IMessageNamespace
Google.Cloud.OsConfig.V1Assembly
Google.Cloud.OsConfig.V1.dll
Constructors
ListOSPolicyAssignmentReportsRequest()
public ListOSPolicyAssignmentReportsRequest()ListOSPolicyAssignmentReportsRequest(ListOSPolicyAssignmentReportsRequest)
public ListOSPolicyAssignmentReportsRequest(ListOSPolicyAssignmentReportsRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
ListOSPolicyAssignmentReportsRequest |
Properties
Filter
public string Filter { get; set; }If provided, this field specifies the criteria that must be met by the
OSPolicyAssignmentReport API resource that is included in the response.
| Property Value | |
|---|---|
| Type | Description |
string |
|
PageSize
public int PageSize { get; set; }The maximum number of results to return.
| Property Value | |
|---|---|
| Type | Description |
int |
|
PageToken
public string PageToken { get; set; }A pagination token returned from a previous call to the
ListOSPolicyAssignmentReports method that indicates where this listing
should continue from.
| Property Value | |
|---|---|
| Type | Description |
string |
|
Parent
public string Parent { get; set; }Required. The parent resource name.
Format:
projects/{project}/locations/{location}/instances/{instance}/osPolicyAssignments/{assignment}/reports
For {project}, either project-number or project-id can be provided.
For {instance}, either instance-name, instance-id, or - can be
provided. If '-' is provided, the response will include
OSPolicyAssignmentReports for all instances in the project/location.
For {assignment}, either assignment-id or - can be provided. If '-'
is provided, the response will include OSPolicyAssignmentReports for all
OSPolicyAssignments in the project/location.
Either {instance} or {assignment} must be -.
For example:
projects/{project}/locations/{location}/instances/{instance}/osPolicyAssignments/-/reports
returns all reports for the instance
projects/{project}/locations/{location}/instances/-/osPolicyAssignments/{assignment-id}/reports
returns all the reports for the given assignment across all instances.
projects/{project}/locations/{location}/instances/-/osPolicyAssignments/-/reports
returns all the reports for all assignments across all instances.
| Property Value | |
|---|---|
| Type | Description |
string |
|
ParentAsInstanceOSPolicyAssignmentName
public InstanceOSPolicyAssignmentName ParentAsInstanceOSPolicyAssignmentName { get; set; }InstanceOSPolicyAssignmentName-typed view over the Parent resource name property.
| Property Value | |
|---|---|
| Type | Description |
InstanceOSPolicyAssignmentName |
|