pub async fn mark_recommendation_claimed(
            &mut self,
            request: impl tonic::IntoRequest<super::MarkRecommendationClaimedRequest>,
        ) -> Result<tonic::Response<super::Recommendation>, 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.recommender.v1.Recommender/MarkRecommendationClaimed",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
/// Marks the Recommendation State as Claimed. Users can use this method to
/// indicate to the Recommender API that they are starting to apply the
/// recommendation themselves. This stops the recommendation content from being
/// updated. Associated insights are frozen and placed in the ACCEPTED state.
///
/// MarkRecommendationClaimed can be applied to recommendations in CLAIMED,
/// SUCCEEDED, FAILED, or ACTIVE state.
///
/// Requires the recommender.*.update IAM permission for the specified
/// recommender.
Marks the Recommendation State as Claimed. Users can use this method to
indicate to the Recommender API that they are starting to apply the
recommendation themselves. This stops the recommendation content from being
updated. Associated insights are frozen and placed in the ACCEPTED state.



Requires the recommender.*.update IAM permission for the specified
recommender.
Marks the Recommendation State as Claimed . Users can use this method to indicate to the Recommender API that they are starting to apply the recommendation themselves . This stops the recommendation content from being updated . Associated insights are frozen and placed in the ACCEPTED state . Requires the recommender . * . update IAM permission for the specified recommender .
pub async fn mark_recommendation_claimed(
            &mut self,
            request: impl tonic::IntoRequest<super::MarkRecommendationClaimedRequest>,
        ) -> Result<tonic::Response<super::Recommendation>, 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.recommender.v1.Recommender/MarkRecommendationClaimed",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
pub async fn mark_recommendation_claimed ( & mut self , request : impl tonic :: IntoRequest < super :: MarkRecommendationClaimedRequest > , ) -> Result < tonic :: Response < super :: Recommendation > , 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 }
Marks the Recommendation State as Claimed.
Marks the Recommendation State as Claimed .
&mut self
request
impl tonic::IntoRequest<super::MarkRecommendationClaimedRequest>
&mut self
request
impl tonic::IntoRequest<super::MarkRecommendationClaimedRequest>