pub async fn list_os_policy_assignments(
            &mut self,
            request: impl tonic::IntoRequest<super::ListOsPolicyAssignmentsRequest>,
        ) -> Result<
            tonic::Response<super::ListOsPolicyAssignmentsResponse>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::new(
                        tonic::Code::Unknown,
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.osconfig.v1.OsConfigZonalService/ListOSPolicyAssignments",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
/// List the OS policy assignments under the parent resource.
///
/// For each OS policy assignment, the latest revision is returned.
List the OS policy assignments under the parent resource.
For each OS policy assignment, the latest revision is returned.
List the OS policy assignments under the parent resource . For each OS policy assignment the latest revision is returned .
pub async fn list_os_policy_assignments(
            &mut self,
            request: impl tonic::IntoRequest<super::ListOsPolicyAssignmentsRequest>,
        ) -> Result<
            tonic::Response<super::ListOsPolicyAssignmentsResponse>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::new(
                        tonic::Code::Unknown,
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.osconfig.v1.OsConfigZonalService/ListOSPolicyAssignments",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
pub async fn list_os_policy_assignments ( & mut self , request : impl tonic :: IntoRequest < super :: ListOsPolicyAssignmentsRequest > , ) -> Result < tonic :: Response < super :: ListOsPolicyAssignmentsResponse > , tonic :: Status , > { self . inner . ready ( ) . await . map_err ( | e | { tonic :: Status :: new ( tonic :: Code :: Unknown , format ! ( " " e into ( ) ) , ) } ) ? ; let codec = tonic :: codec :: ProstCodec :: default ( ) ; let path = http :: uri :: PathAndQuery :: from_static ( " " , ) ; self . inner . unary ( request . into_request ( ) , path , codec ) . await }
List the OS policy assignments under the parent resource.
List the OS policy assignments under the parent resource .
&mut self
request
impl tonic::IntoRequest<super::ListOsPolicyAssignmentsRequest>
&mut self
request
impl tonic::IntoRequest<super::ListOsPolicyAssignmentsRequest>