示例#1
0
 /// <summary>Constructs a new TestIamPermissions request.</summary>
 public TestIamPermissionsRequest(Google.Apis.Services.IClientService service, Google.Apis.CloudIAP.v1beta1.Data.TestIamPermissionsRequest body, string resource)
     : base(service)
 {
     Resource = resource;
     Body     = body;
     InitParameters();
 }
示例#2
0
 /// <summary>Returns permissions that a caller has on the Identity-Aware Proxy protected resource. If the
 /// resource does not exist or the caller does not have Identity-Aware Proxy permissions a
 /// [google.rpc.Code.PERMISSION_DENIED] will be returned. 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 detail is being requested. See the operation
 /// documentation for the appropriate value for this field.</param>
 public virtual TestIamPermissionsRequest TestIamPermissions(Google.Apis.CloudIAP.v1beta1.Data.TestIamPermissionsRequest body, string resource)
 {
     return(new TestIamPermissionsRequest(service, body, resource));
 }