Show / Hide Table of Contents

Class ProjectsResource.LocationsResource.InstancesResource.OsPolicyAssignmentsResource.ReportsResource.ListRequest

List OS policy assignment reports for all Compute Engine VM instances in the specified zone.

Inheritance
object
ClientServiceRequest
ClientServiceRequest<ListOSPolicyAssignmentReportsResponse>
OSConfigBaseServiceRequest<ListOSPolicyAssignmentReportsResponse>
ProjectsResource.LocationsResource.InstancesResource.OsPolicyAssignmentsResource.ReportsResource.ListRequest
Implements
IClientServiceRequest<ListOSPolicyAssignmentReportsResponse>
IClientServiceRequest
Inherited Members
OSConfigBaseServiceRequest<ListOSPolicyAssignmentReportsResponse>.Xgafv
OSConfigBaseServiceRequest<ListOSPolicyAssignmentReportsResponse>.AccessToken
OSConfigBaseServiceRequest<ListOSPolicyAssignmentReportsResponse>.Alt
OSConfigBaseServiceRequest<ListOSPolicyAssignmentReportsResponse>.Callback
OSConfigBaseServiceRequest<ListOSPolicyAssignmentReportsResponse>.Fields
OSConfigBaseServiceRequest<ListOSPolicyAssignmentReportsResponse>.Key
OSConfigBaseServiceRequest<ListOSPolicyAssignmentReportsResponse>.OauthToken
OSConfigBaseServiceRequest<ListOSPolicyAssignmentReportsResponse>.PrettyPrint
OSConfigBaseServiceRequest<ListOSPolicyAssignmentReportsResponse>.QuotaUser
OSConfigBaseServiceRequest<ListOSPolicyAssignmentReportsResponse>.UploadType
OSConfigBaseServiceRequest<ListOSPolicyAssignmentReportsResponse>.UploadProtocol
ClientServiceRequest<ListOSPolicyAssignmentReportsResponse>.Execute()
ClientServiceRequest<ListOSPolicyAssignmentReportsResponse>.ExecuteAsStream()
ClientServiceRequest<ListOSPolicyAssignmentReportsResponse>.ExecuteAsync()
ClientServiceRequest<ListOSPolicyAssignmentReportsResponse>.ExecuteAsync(CancellationToken)
ClientServiceRequest<ListOSPolicyAssignmentReportsResponse>.ExecuteAsStreamAsync()
ClientServiceRequest<ListOSPolicyAssignmentReportsResponse>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<ListOSPolicyAssignmentReportsResponse>.CreateRequest(bool?)
ClientServiceRequest<ListOSPolicyAssignmentReportsResponse>.GenerateRequestUri()
ClientServiceRequest<ListOSPolicyAssignmentReportsResponse>.GetBody()
ClientServiceRequest<ListOSPolicyAssignmentReportsResponse>.GetDefaultETagAction(string)
ClientServiceRequest<ListOSPolicyAssignmentReportsResponse>.ETagAction
ClientServiceRequest<ListOSPolicyAssignmentReportsResponse>.ModifyRequest
ClientServiceRequest<ListOSPolicyAssignmentReportsResponse>.ValidateParameters
ClientServiceRequest<ListOSPolicyAssignmentReportsResponse>.ApiVersion
ClientServiceRequest<ListOSPolicyAssignmentReportsResponse>.RequestParameters
ClientServiceRequest<ListOSPolicyAssignmentReportsResponse>.Service
ClientServiceRequest._unsuccessfulResponseHandlers
ClientServiceRequest._exceptionHandlers
ClientServiceRequest._executeInterceptors
ClientServiceRequest.AddUnsuccessfulResponseHandler(IHttpUnsuccessfulResponseHandler)
ClientServiceRequest.AddExceptionHandler(IHttpExceptionHandler)
ClientServiceRequest.AddExecuteInterceptor(IHttpExecuteInterceptor)
ClientServiceRequest.Credential
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.OSConfig.v1
Assembly: Google.Apis.OSConfig.v1.dll
Syntax
public class ProjectsResource.LocationsResource.InstancesResource.OsPolicyAssignmentsResource.ReportsResource.ListRequest : OSConfigBaseServiceRequest<ListOSPolicyAssignmentReportsResponse>, IClientServiceRequest<ListOSPolicyAssignmentReportsResponse>, IClientServiceRequest

Constructors

ListRequest(IClientService, string)

Constructs a new List request.

Declaration
public ListRequest(IClientService service, string parent)
Parameters
Type Name Description
IClientService service
string parent

Properties

Filter

If provided, this field specifies the criteria that must be met by the OSPolicyAssignmentReport API resource that is included in the response.

Declaration
[RequestParameter("filter", RequestParameterType.Query)]
public virtual string Filter { get; set; }
Property Value
Type Description
string

HttpMethod

Gets the HTTP method.

Declaration
public override string HttpMethod { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<ListOSPolicyAssignmentReportsResponse>.HttpMethod

MethodName

Gets the method name.

Declaration
public override string MethodName { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<ListOSPolicyAssignmentReportsResponse>.MethodName

PageSize

The maximum number of results to return.

Declaration
[RequestParameter("pageSize", RequestParameterType.Query)]
public virtual int? PageSize { get; set; }
Property Value
Type Description
int?

PageToken

A pagination token returned from a previous call to the ListOSPolicyAssignmentReports method that indicates where this listing should continue from.

Declaration
[RequestParameter("pageToken", RequestParameterType.Query)]
public virtual string PageToken { get; set; }
Property Value
Type Description
string

Parent

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.

Declaration
[RequestParameter("parent", RequestParameterType.Path)]
public virtual string Parent { get; }
Property Value
Type Description
string

RestPath

Gets the REST path.

Declaration
public override string RestPath { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<ListOSPolicyAssignmentReportsResponse>.RestPath

Methods

InitParameters()

Initializes List parameter list.

Declaration
protected override void InitParameters()
Overrides
OSConfigBaseServiceRequest<ListOSPolicyAssignmentReportsResponse>.InitParameters()

Implements

IClientServiceRequest<TResponse>
IClientServiceRequest
In this article
Back to top Generated by DocFX