Exemple #1
0
 /// <summary>Snippet for GetAttestor</summary>
 /// <remarks>
 /// This snippet has been automatically generated for illustrative purposes only.
 /// It may require modifications to work in your environment.
 /// </remarks>
 public void GetAttestor()
 {
     // Create client
     BinauthzManagementServiceV1Beta1Client binauthzManagementServiceV1Beta1Client = BinauthzManagementServiceV1Beta1Client.Create();
     // Initialize request argument(s)
     string name = "projects/[PROJECT]/attestors/[ATTESTOR]";
     // Make the request
     Attestor response = binauthzManagementServiceV1Beta1Client.GetAttestor(name);
 }
 /// <summary>Snippet for GetAttestor</summary>
 /// <remarks>
 /// This snippet has been automatically generated for illustrative purposes only.
 /// It may require modifications to work in your environment.
 /// </remarks>
 public void GetAttestorResourceNames()
 {
     // Create client
     BinauthzManagementServiceV1Beta1Client binauthzManagementServiceV1Beta1Client = BinauthzManagementServiceV1Beta1Client.Create();
     // Initialize request argument(s)
     AttestorName name = AttestorName.FromProjectAttestor("[PROJECT]", "[ATTESTOR]");
     // Make the request
     Attestor response = binauthzManagementServiceV1Beta1Client.GetAttestor(name);
 }
Exemple #3
0
 /// <summary>Snippet for GetAttestor</summary>
 /// <remarks>
 /// This snippet has been automatically generated for illustrative purposes only.
 /// It may require modifications to work in your environment.
 /// </remarks>
 public void GetAttestorRequestObject()
 {
     // Create client
     BinauthzManagementServiceV1Beta1Client binauthzManagementServiceV1Beta1Client = BinauthzManagementServiceV1Beta1Client.Create();
     // Initialize request argument(s)
     GetAttestorRequest request = new GetAttestorRequest
     {
         AttestorName = AttestorName.FromProjectAttestor("[PROJECT]", "[ATTESTOR]"),
     };
     // Make the request
     Attestor response = binauthzManagementServiceV1Beta1Client.GetAttestor(request);
 }