/// <summary>
 /// 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.
 /// </summary>
 /// <param name="request">The request object containing all of the parameters for the API call.</param>
 /// <param name="callSettings">If not null, applies overrides to this RPC call.</param>
 /// <returns>A Task containing the RPC response.</returns>
 public override stt::Task <Taxonomy> ReplaceTaxonomyAsync(ReplaceTaxonomyRequest request, gaxgrpc::CallSettings callSettings = null)
 {
     Modify_ReplaceTaxonomyRequest(ref request, ref callSettings);
     return(_callReplaceTaxonomy.Async(request, callSettings));
 }
 /// <summary>
 /// 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.
 /// </summary>
 /// <param name="request">The request object containing all of the parameters for the API call.</param>
 /// <param name="cancellationToken">A <see cref="st::CancellationToken"/> to use for this RPC.</param>
 /// <returns>A Task containing the RPC response.</returns>
 public virtual stt::Task <Taxonomy> ReplaceTaxonomyAsync(ReplaceTaxonomyRequest request, st::CancellationToken cancellationToken) =>
 ReplaceTaxonomyAsync(request, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken));
 partial void Modify_ReplaceTaxonomyRequest(ref ReplaceTaxonomyRequest request, ref gaxgrpc::CallSettings settings);
 /// <summary>
 /// 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.
 /// </summary>
 /// <param name="request">The request object containing all of the parameters for the API call.</param>
 /// <param name="callSettings">If not null, applies overrides to this RPC call.</param>
 /// <returns>A Task containing the RPC response.</returns>
 public virtual stt::Task <Taxonomy> ReplaceTaxonomyAsync(ReplaceTaxonomyRequest request, gaxgrpc::CallSettings callSettings = null) =>
 throw new sys::NotImplementedException();