コード例 #1
0
 /// <summary>
 /// Deletes a TagBinding.
 /// </summary>
 /// <param name="name">
 /// Required. The name of the TagBinding. This is a String of the form:
 /// `tagBindings/{id}` (e.g.
 /// `tagBindings/%2F%2Fcloudresourcemanager.googleapis.com%2Fprojects%2F123/tagValues/456`).
 /// </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 <lro::Operation <wkt::Empty, DeleteTagBindingMetadata> > DeleteTagBindingAsync(TagBindingName name, st::CancellationToken cancellationToken) =>
 DeleteTagBindingAsync(name, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken));
コード例 #2
0
 /// <summary>
 /// Deletes a TagBinding.
 /// </summary>
 /// <param name="name">
 /// Required. The name of the TagBinding. This is a String of the form:
 /// `tagBindings/{id}` (e.g.
 /// `tagBindings/%2F%2Fcloudresourcemanager.googleapis.com%2Fprojects%2F123/tagValues/456`).
 /// </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 <lro::Operation <wkt::Empty, DeleteTagBindingMetadata> > DeleteTagBindingAsync(TagBindingName name, gaxgrpc::CallSettings callSettings = null) =>
 DeleteTagBindingAsync(new DeleteTagBindingRequest
 {
     TagBindingName = gax::GaxPreconditions.CheckNotNull(name, nameof(name)),
 }, callSettings);