Reference documentation and code samples for the Cloud OS Config V1alpha API class Google::Cloud::OsConfig::V1alpha::ListOSPolicyAssignmentReportsRequest.
List the OS policy assignment reports for VM instances.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#filter
def filter() -> ::String
-
(::String) — If provided, this field specifies the criteria that must be met by the
OSPolicyAssignmentReport
API resource that is included in the response.
#filter=
def filter=(value) -> ::String
-
value (::String) — If provided, this field specifies the criteria that must be met by the
OSPolicyAssignmentReport
API resource that is included in the response.
-
(::String) — If provided, this field specifies the criteria that must be met by the
OSPolicyAssignmentReport
API resource that is included in the response.
#page_size
def page_size() -> ::Integer
- (::Integer) — The maximum number of results to return.
#page_size=
def page_size=(value) -> ::Integer
- value (::Integer) — The maximum number of results to return.
- (::Integer) — The maximum number of results to return.
#page_token
def page_token() -> ::String
-
(::String) — A pagination token returned from a previous call to the
ListOSPolicyAssignmentReports
method that indicates where this listing should continue from.
#page_token=
def page_token=(value) -> ::String
-
value (::String) — A pagination token returned from a previous call to the
ListOSPolicyAssignmentReports
method that indicates where this listing should continue from.
-
(::String) — A pagination token returned from a previous call to the
ListOSPolicyAssignmentReports
method that indicates where this listing should continue from.
#parent
def parent() -> ::String
-
(::String) — Required. The parent resource name.
Format:
projects/{project}/locations/{location}/instances/{instance}/osPolicyAssignments/{assignment}/reports
For
{project}
, eitherproject-number
orproject-id
can be provided. For{instance}
, eitherinstance-name
,instance-id
, or-
can be provided. If '-' is provided, the response will include OSPolicyAssignmentReports for all instances in the project/location. For{assignment}
, eitherassignment-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 instanceprojects/{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.
#parent=
def parent=(value) -> ::String
-
value (::String) — Required. The parent resource name.
Format:
projects/{project}/locations/{location}/instances/{instance}/osPolicyAssignments/{assignment}/reports
For
{project}
, eitherproject-number
orproject-id
can be provided. For{instance}
, eitherinstance-name
,instance-id
, or-
can be provided. If '-' is provided, the response will include OSPolicyAssignmentReports for all instances in the project/location. For{assignment}
, eitherassignment-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 instanceprojects/{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.
-
(::String) — Required. The parent resource name.
Format:
projects/{project}/locations/{location}/instances/{instance}/osPolicyAssignments/{assignment}/reports
For
{project}
, eitherproject-number
orproject-id
can be provided. For{instance}
, eitherinstance-name
,instance-id
, or-
can be provided. If '-' is provided, the response will include OSPolicyAssignmentReports for all instances in the project/location. For{assignment}
, eitherassignment-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 instanceprojects/{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.