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