/// <summary>Snippet for DeleteAttestorAsync</summary> /// <remarks> /// This snippet has been automatically generated for illustrative purposes only. /// It may require modifications to work in your environment. /// </remarks> public async Task DeleteAttestorResourceNamesAsync() { // Create client BinauthzManagementServiceV1Beta1Client binauthzManagementServiceV1Beta1Client = await BinauthzManagementServiceV1Beta1Client.CreateAsync(); // Initialize request argument(s) AttestorName name = AttestorName.FromProjectAttestor("[PROJECT]", "[ATTESTOR]"); // Make the request await binauthzManagementServiceV1Beta1Client.DeleteAttestorAsync(name); }
/// <summary>Snippet for DeleteAttestorAsync</summary> /// <remarks> /// This snippet has been automatically generated for illustrative purposes only. /// It may require modifications to work in your environment. /// </remarks> public async Task DeleteAttestorAsync() { // Create client BinauthzManagementServiceV1Beta1Client binauthzManagementServiceV1Beta1Client = await BinauthzManagementServiceV1Beta1Client.CreateAsync(); // Initialize request argument(s) string name = "projects/[PROJECT]/attestors/[ATTESTOR]"; // Make the request await binauthzManagementServiceV1Beta1Client.DeleteAttestorAsync(name); }
/// <summary>Snippet for DeleteAttestorAsync</summary> /// <remarks> /// This snippet has been automatically generated for illustrative purposes only. /// It may require modifications to work in your environment. /// </remarks> public async Task DeleteAttestorRequestObjectAsync() { // Create client BinauthzManagementServiceV1Beta1Client binauthzManagementServiceV1Beta1Client = await BinauthzManagementServiceV1Beta1Client.CreateAsync(); // Initialize request argument(s) DeleteAttestorRequest request = new DeleteAttestorRequest { AttestorName = AttestorName.FromProjectAttestor("[PROJECT]", "[ATTESTOR]"), }; // Make the request await binauthzManagementServiceV1Beta1Client.DeleteAttestorAsync(request); }
/// <summary>Snippet for DeleteAttestorAsync</summary> public async Task DeleteAttestorResourceNamesAsync() { // Snippet: DeleteAttestorAsync(AttestorName, CallSettings) // Additional: DeleteAttestorAsync(AttestorName, CancellationToken) // Create client BinauthzManagementServiceV1Beta1Client binauthzManagementServiceV1Beta1Client = await BinauthzManagementServiceV1Beta1Client.CreateAsync(); // Initialize request argument(s) AttestorName name = AttestorName.FromProjectAttestor("[PROJECT]", "[ATTESTOR]"); // Make the request await binauthzManagementServiceV1Beta1Client.DeleteAttestorAsync(name); // End snippet }
/// <summary>Snippet for DeleteAttestorAsync</summary> public async Task DeleteAttestorAsync() { // Snippet: DeleteAttestorAsync(string, CallSettings) // Additional: DeleteAttestorAsync(string, CancellationToken) // Create client BinauthzManagementServiceV1Beta1Client binauthzManagementServiceV1Beta1Client = await BinauthzManagementServiceV1Beta1Client.CreateAsync(); // Initialize request argument(s) string name = "projects/[PROJECT]/attestors/[ATTESTOR]"; // Make the request await binauthzManagementServiceV1Beta1Client.DeleteAttestorAsync(name); // End snippet }