Ejemplo n.º 1
0
 /// <summary>Snippet for Get</summary>
 public void Get()
 {
     // Snippet: Get(string, string, string, CallSettings)
     // Create client
     ResourcePoliciesClient resourcePoliciesClient = ResourcePoliciesClient.Create();
     // Initialize request argument(s)
     string project        = "";
     string region         = "";
     string resourcePolicy = "";
     // Make the request
     ResourcePolicy response = resourcePoliciesClient.Get(project, region, resourcePolicy);
     // End snippet
 }
Ejemplo n.º 2
0
 /// <summary>Snippet for Get</summary>
 public void GetRequestObject()
 {
     // Snippet: Get(GetResourcePolicyRequest, CallSettings)
     // Create client
     ResourcePoliciesClient resourcePoliciesClient = ResourcePoliciesClient.Create();
     // Initialize request argument(s)
     GetResourcePolicyRequest request = new GetResourcePolicyRequest
     {
         Region         = "",
         ResourcePolicy = "",
         Project        = "",
     };
     // Make the request
     ResourcePolicy response = resourcePoliciesClient.Get(request);
     // End snippet
 }