Example #1
0
 /// <summary>Snippet for GetAttestor</summary>
 public void GetAttestor()
 {
     // Snippet: GetAttestor(string, CallSettings)
     // Create client
     BinauthzManagementServiceV1Client binauthzManagementServiceV1Client = BinauthzManagementServiceV1Client.Create();
     // Initialize request argument(s)
     string name = "projects/[PROJECT]/attestors/[ATTESTOR]";
     // Make the request
     Attestor response = binauthzManagementServiceV1Client.GetAttestor(name);
     // End snippet
 }
Example #2
0
 /// <summary>Snippet for GetAttestor</summary>
 public void GetAttestorResourceNames()
 {
     // Snippet: GetAttestor(AttestorName, CallSettings)
     // Create client
     BinauthzManagementServiceV1Client binauthzManagementServiceV1Client = BinauthzManagementServiceV1Client.Create();
     // Initialize request argument(s)
     AttestorName name = AttestorName.FromProjectAttestor("[PROJECT]", "[ATTESTOR]");
     // Make the request
     Attestor response = binauthzManagementServiceV1Client.GetAttestor(name);
     // End snippet
 }
Example #3
0
 /// <summary>Snippet for GetAttestor</summary>
 public void GetAttestorRequestObject()
 {
     // Snippet: GetAttestor(GetAttestorRequest, CallSettings)
     // Create client
     BinauthzManagementServiceV1Client binauthzManagementServiceV1Client = BinauthzManagementServiceV1Client.Create();
     // Initialize request argument(s)
     GetAttestorRequest request = new GetAttestorRequest
     {
         AttestorName = AttestorName.FromProjectAttestor("[PROJECT]", "[ATTESTOR]"),
     };
     // Make the request
     Attestor response = binauthzManagementServiceV1Client.GetAttestor(request);
     // End snippet
 }