/// <summary>Constructs a new TestIamPermissions request.</summary> public TestIamPermissionsRequest(Google.Apis.Services.IClientService service, Google.Apis.ServiceBroker.v1.Data.GoogleIamV1TestIamPermissionsRequest body, string resource) : base(service) { Resource = resource; Body = body; InitParameters(); }
/// <summary>Returns permissions that a caller has on the specified resource. If the resource does not exist, /// this will return an empty set of permissions, not a NOT_FOUND error. /// /// Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not /// for authorization checking. This operation may "fail open" without warning.</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.ServiceBroker.v1.Data.GoogleIamV1TestIamPermissionsRequest body, string resource) { return(new TestIamPermissionsRequest(service, body, resource)); }