pub async fn delete_os_policy_assignment(
            &mut self,
            request: impl tonic::IntoRequest<super::DeleteOsPolicyAssignmentRequest>,
        ) -> Result<
            tonic::Response<super::super::super::super::longrunning::Operation>,
            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.v1alpha.OsConfigZonalService/DeleteOSPolicyAssignment",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
/// Delete the OS policy assignment.
///
/// This method creates a new revision of the OS policy assignment.
///
/// This method returns a long running operation (LRO) that contains the
/// rollout details. The rollout can be cancelled by cancelling the LRO.
///
/// If the LRO completes and is not cancelled, all revisions associated with
/// the OS policy assignment are deleted.
///
/// For more information, see [Method:
/// projects.locations.osPolicyAssignments.operations.cancel](https://cloud.google.com/compute/docs/osconfig/rest/v1alpha/projects.locations.osPolicyAssignments.operations/cancel).
Delete the OS policy assignment.
This method creates a new revision of the OS policy assignment.

This method returns a long running operation (LRO) that contains the
rollout details. The rollout can be cancelled by cancelling the LRO.

If the LRO completes and is not cancelled, all revisions associated with
the OS policy assignment are deleted.

For more information, see [Method:
projects.locations.osPolicyAssignments.operations.cancel].
Delete the OS policy assignment . This method creates a new revision of the OS policy assignment . This method returns a long running operation ( LRO ) that contains the rollout details . The rollout can be cancelled by cancelling the LRO . If the LRO completes and is not cancelled all revisions associated with the OS policy assignment are deleted . For more information see [ Method : projects . locations . osPolicyAssignments . operations . cancel ] .
pub async fn delete_os_policy_assignment(
            &mut self,
            request: impl tonic::IntoRequest<super::DeleteOsPolicyAssignmentRequest>,
        ) -> Result<
            tonic::Response<super::super::super::super::longrunning::Operation>,
            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.v1alpha.OsConfigZonalService/DeleteOSPolicyAssignment",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
pub async fn delete_os_policy_assignment ( & mut self , request : impl tonic :: IntoRequest < super :: DeleteOsPolicyAssignmentRequest > , ) -> Result < tonic :: Response < super :: super :: super :: super :: longrunning :: Operation > , 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 }
Delete the OS policy assignment.
Delete the OS policy assignment .
&mut self
request
impl tonic::IntoRequest<super::DeleteOsPolicyAssignmentRequest>
&mut self
request
impl tonic::IntoRequest<super::DeleteOsPolicyAssignmentRequest>