pub async fn update_attributes_config(
            &mut self,
            request: impl tonic::IntoRequest<super::UpdateAttributesConfigRequest>,
        ) -> Result<tonic::Response<super::AttributesConfig>, 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.retail.v2beta.CatalogService/UpdateAttributesConfig",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
/// Updates the
/// [AttributesConfig][google.cloud.retail.v2beta.AttributesConfig].
///
/// The catalog attributes in the request will be updated in the catalog, or
/// inserted if they do not exist. Existing catalog attributes not included in
/// the request will remain unchanged. Attributes that are assigned to
/// products, but do not exist at the catalog level, are always included in the
/// response. The product attribute is assigned default values for missing
/// catalog attribute fields, e.g., searchable and dynamic facetable options.


The catalog attributes in the request will be updated in the catalog, or
inserted if they do not exist. Existing catalog attributes not included in
the request will remain unchanged. Attributes that are assigned to
products, but do not exist at the catalog level, are always included in the
response. The product attribute is assigned default values for missing
catalog attribute fields, e.g., searchable and dynamic facetable options.
The catalog attributes in the request will be updated in the catalog or inserted if they do not exist . Existing catalog attributes not included in the request will remain unchanged . Attributes that are assigned to products but do not exist at the catalog level are always included in the response . The product attribute is assigned default values for missing catalog attribute fields e . g . searchable and dynamic facetable options .
pub async fn update_attributes_config(
            &mut self,
            request: impl tonic::IntoRequest<super::UpdateAttributesConfigRequest>,
        ) -> Result<tonic::Response<super::AttributesConfig>, 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.retail.v2beta.CatalogService/UpdateAttributesConfig",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
pub async fn update_attributes_config ( & mut self , request : impl tonic :: IntoRequest < super :: UpdateAttributesConfigRequest > , ) -> Result < tonic :: Response < super :: AttributesConfig > , 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 }
Updates the
[AttributesConfig][google.cloud.retail.v2beta.AttributesConfig].
Updates the [ AttributesConfig ] [ google . cloud . retail . v2beta . AttributesConfig ] .
&mut self
request
impl tonic::IntoRequest<super::UpdateAttributesConfigRequest>
&mut self
request
impl tonic::IntoRequest<super::UpdateAttributesConfigRequest>