ProjectsLocationsConnections
class ProjectsLocationsConnections extends Resource (View source)
The "connections" collection of methods.
Typical usage is:
$bigqueryconnectionService = new Google\Service\BigQueryConnectionService(...);
$connections = $bigqueryconnectionService->projects_locations_connections;
Methods
Creates a new connection. (connections.create)
Deletes connection and associated credential. (connections.delete)
Returns specified connection. (connections.get)
Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. (connections.getIamPolicy)
Returns a list of connections in the given project.
Updates the specified connection. For security reasons, also resets credential if connection properties are in the update field mask.
Sets the access control policy on the specified resource. Replaces any
existing policy. Can return NOT_FOUND
, INVALID_ARGUMENT
, and
PERMISSION_DENIED
errors. (connections.setIamPolicy)
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.
Details
Connection
create(string $parent, Connection $postBody, array $optParams = [])
Creates a new connection. (connections.create)
BigqueryconnectionEmpty
delete(string $name, array $optParams = [])
Deletes connection and associated credential. (connections.delete)
Connection
get(string $name, array $optParams = [])
Returns specified connection. (connections.get)
Policy
getIamPolicy(string $resource, GetIamPolicyRequest $postBody, array $optParams = [])
Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. (connections.getIamPolicy)
ListConnectionsResponse
listProjectsLocationsConnections(string $parent, array $optParams = [])
Returns a list of connections in the given project.
(connections.listProjectsLocationsConnections)
Connection
patch(string $name, Connection $postBody, array $optParams = [])
Updates the specified connection. For security reasons, also resets credential if connection properties are in the update field mask.
(connections.patch)
Policy
setIamPolicy(string $resource, SetIamPolicyRequest $postBody, array $optParams = [])
Sets the access control policy on the specified resource. Replaces any
existing policy. Can return NOT_FOUND
, INVALID_ARGUMENT
, and
PERMISSION_DENIED
errors. (connections.setIamPolicy)
TestIamPermissionsResponse
testIamPermissions(string $resource, TestIamPermissionsRequest $postBody, array $optParams = [])
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. (connections.testIamPermissions)