/// Replaces (updates) a taxonomy and all its policy tags.
///
/// The taxonomy and its entire hierarchy of policy tags must be
/// represented literally by `SerializedTaxonomy` and the nested
/// `SerializedPolicyTag` messages.
///
/// This operation automatically does the following:
///
/// - Deletes the existing policy tags that are missing from the
///   `SerializedPolicyTag`.
/// - Creates policy tags that don't have resource names. They are considered
///   new.
/// - Updates policy tags with valid resources names accordingly.
Replaces (updates) a taxonomy and all its policy tags.
The taxonomy and its entire hierarchy of policy tags must be
represented literally by `SerializedTaxonomy` and the nested
`SerializedPolicyTag` messages.

This operation automatically does the following.

Deletes the existing policy tags that are missing from the
`SerializedPolicyTag`.
Creates policy tags that don't have resource names. They are considered
new.
Updates policy tags with valid resources names accordingly.
Replaces ( updates ) a taxonomy and all its policy tags . The taxonomy and its entire hierarchy of policy tags must be represented literally by ` SerializedTaxonomy ` and the nested ` SerializedPolicyTag ` messages . This operation automatically does the following . Deletes the existing policy tags that are missing from the ` SerializedPolicyTag ` . Creates policy tags that don ' t have resource names . They are considered new . Updates policy tags with valid resources names accordingly .
pub async fn replace_taxonomy(
            &mut self,
            request: impl tonic::IntoRequest<super::ReplaceTaxonomyRequest>,
        ) -> Result<tonic::Response<super::Taxonomy>, 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.datacatalog.v1.PolicyTagManagerSerialization/ReplaceTaxonomy",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
pub async fn replace_taxonomy ( & mut self , request : impl tonic :: IntoRequest < super :: ReplaceTaxonomyRequest > , ) -> Result < tonic :: Response < super :: Taxonomy > , 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 }
Replaces (updates) a taxonomy and all its policy tags.
Replaces ( updates ) a taxonomy and all its policy tags .
&mut self
request
impl tonic::IntoRequest<super::ReplaceTaxonomyRequest>