Beispiel #1
0
        /// <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);
        }
Beispiel #2
0
        /// <summary>Snippet for DeleteAttestor</summary>
        public void DeleteAttestorRequestObject()
        {
            // Snippet: DeleteAttestor(DeleteAttestorRequest, CallSettings)
            // Create client
            BinauthzManagementServiceV1Beta1Client binauthzManagementServiceV1Beta1Client = BinauthzManagementServiceV1Beta1Client.Create();
            // Initialize request argument(s)
            DeleteAttestorRequest request = new DeleteAttestorRequest
            {
                AttestorName = AttestorName.FromProjectAttestor("[PROJECT]", "[ATTESTOR]"),
            };

            // Make the request
            binauthzManagementServiceV1Beta1Client.DeleteAttestor(request);
            // End snippet
        }
Beispiel #3
0
        /// <summary>Snippet for DeleteAttestorAsync</summary>
        public async Task DeleteAttestorRequestObjectAsync()
        {
            // Snippet: DeleteAttestorAsync(DeleteAttestorRequest, CallSettings)
            // Additional: DeleteAttestorAsync(DeleteAttestorRequest, CancellationToken)
            // 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);

            // End snippet
        }