예제 #1
0
 /// <summary>Constructs a new SetIamPolicy request.</summary>
 public SetIamPolicyRequest(Google.Apis.Services.IClientService service, Google.Apis.CloudIAP.v1.Data.SetIamPolicyRequest body, string resource)
     : base(service)
 {
     Resource = resource;
     Body     = body;
     InitParameters();
 }
예제 #2
0
 /// <summary>Sets the access control policy for an Identity-Aware Proxy protected resource. Replaces any
 /// existing policy. More information about managing access via IAP can be found at:
 /// https://cloud.google.com/iap/docs/managing-access#managing_access_via_the_api</summary>
 /// <param name="body">The body of the request.</param>
 /// <param name="resource">REQUIRED: The resource for which the policy is being specified. See the operation
 /// documentation for the appropriate value for this field.</param>
 public virtual SetIamPolicyRequest SetIamPolicy(Google.Apis.CloudIAP.v1.Data.SetIamPolicyRequest body, string resource)
 {
     return(new SetIamPolicyRequest(service, body, resource));
 }