Class: Google::Cloud::OsConfig::V1::ListOSPolicyAssignmentReportsRequest

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/osconfig/v1/os_policy_assignment_reports.rb

Overview

List the OS policy assignment reports for VM instances.

Instance Attribute Summary collapse

Instance Attribute Details

#filter::String

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

Returns:

  • (::String)

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



77
78
79
80
# File 'proto_docs/google/cloud/osconfig/v1/os_policy_assignment_reports.rb', line 77

class ListOSPolicyAssignmentReportsRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#page_size::Integer

Returns The maximum number of results to return.

Returns:

  • (::Integer)

    The maximum number of results to return.



77
78
79
80
# File 'proto_docs/google/cloud/osconfig/v1/os_policy_assignment_reports.rb', line 77

class ListOSPolicyAssignmentReportsRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#page_token::String

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

Returns:

  • (::String)

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



77
78
79
80
# File 'proto_docs/google/cloud/osconfig/v1/os_policy_assignment_reports.rb', line 77

class ListOSPolicyAssignmentReportsRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#parent::String

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.

Returns:

  • (::String)

    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.



77
78
79
80
# File 'proto_docs/google/cloud/osconfig/v1/os_policy_assignment_reports.rb', line 77

class ListOSPolicyAssignmentReportsRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end