pub async fn mark_insight_accepted(
            &mut self,
            request: impl tonic::IntoRequest<super::MarkInsightAcceptedRequest>,
        ) -> Result<tonic::Response<super::Insight>, 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/MarkInsightAccepted",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
/// Marks the Insight State as Accepted. Users can use this method to
/// indicate to the Recommender API that they have applied some action based
/// on the insight. This stops the insight content from being updated.
///
/// MarkInsightAccepted can be applied to insights in ACTIVE state. Requires
/// the recommender.*.update IAM permission for the specified insight.
Marks the Insight State as Accepted. Users can use this method to
indicate to the Recommender API that they have applied some action based
on the insight. This stops the insight content from being updated.

MarkInsightAccepted can be applied to insights in ACTIVE state. Requires
the recommender.*.update IAM permission for the specified insight.
Marks the Insight State as Accepted . Users can use this method to indicate to the Recommender API that they have applied some action based on the insight . This stops the insight content from being updated . MarkInsightAccepted can be applied to insights in ACTIVE state . Requires the recommender . * . update IAM permission for the specified insight .
pub async fn mark_insight_accepted(
            &mut self,
            request: impl tonic::IntoRequest<super::MarkInsightAcceptedRequest>,
        ) -> Result<tonic::Response<super::Insight>, 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/MarkInsightAccepted",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
pub async fn mark_insight_accepted ( & mut self , request : impl tonic :: IntoRequest < super :: MarkInsightAcceptedRequest > , ) -> Result < tonic :: Response < super :: Insight > , 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 Insight State as Accepted.
Marks the Insight State as Accepted .
&mut self
request
impl tonic::IntoRequest<super::MarkInsightAcceptedRequest>
&mut self
request
impl tonic::IntoRequest<super::MarkInsightAcceptedRequest>