class ProjectsLocationsAppConnections extends Resource (View source)

The "appConnections" collection of methods.

Typical usage is:

 $beyondcorpService = new Google\Service\BeyondCorp(...);
 $appConnections = $beyondcorpService->projects_locations_appConnections;

Methods

create(string $parent, GoogleCloudBeyondcorpAppconnectionsV1AppConnection $postBody, array $optParams = [])

Creates a new AppConnection in a given project and location.

delete(string $name, array $optParams = [])

Deletes a single AppConnection. (appConnections.delete)

get(string $name, array $optParams = [])

Gets details of a single AppConnection. (appConnections.get)

getIamPolicy(string $resource, 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. (appConnections.getIamPolicy)

listProjectsLocationsAppConnections(string $parent, array $optParams = [])

Lists AppConnections in a given project and location.

patch(string $name, GoogleCloudBeyondcorpAppconnectionsV1AppConnection $postBody, array $optParams = [])

Updates the parameters of a single AppConnection. (appConnections.patch)

resolve(string $parent, array $optParams = [])

Resolves AppConnections details for a given AppConnector. An internal method called by a connector to find AppConnections to connect to.

setIamPolicy(string $resource, GoogleIamV1SetIamPolicyRequest $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. (appConnections.setIamPolicy)

testIamPermissions(string $resource, GoogleIamV1TestIamPermissionsRequest $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.

Details

GoogleLongrunningOperation create(string $parent, GoogleCloudBeyondcorpAppconnectionsV1AppConnection $postBody, array $optParams = [])

Creates a new AppConnection in a given project and location.

(appConnections.create)

Parameters

string $parent

Required. The resource project name of the AppConnection location using the form: projects/{project_id}/locations/{location_id}

GoogleCloudBeyondcorpAppconnectionsV1AppConnection $postBody
array $optParams

Optional parameters.

Return Value

GoogleLongrunningOperation

Exceptions

Exception

GoogleLongrunningOperation delete(string $name, array $optParams = [])

Deletes a single AppConnection. (appConnections.delete)

Parameters

string $name

Required. BeyondCorp Connector name using the form: proj ects/{project_id}/locations/{location_id}/appConnections/{app_connection_id}

array $optParams

Optional parameters.

Return Value

GoogleLongrunningOperation

Exceptions

Exception

GoogleCloudBeyondcorpAppconnectionsV1AppConnection get(string $name, array $optParams = [])

Gets details of a single AppConnection. (appConnections.get)

Parameters

string $name

Required. BeyondCorp AppConnection name using the form: projects/{project_id}/locations/{location_id}/appConnections/{app_connection_ id}

array $optParams

Optional parameters.

Return Value

GoogleCloudBeyondcorpAppconnectionsV1AppConnection

Exceptions

Exception

GoogleIamV1Policy getIamPolicy(string $resource, 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. (appConnections.getIamPolicy)

Parameters

string $resource

REQUIRED: The resource for which the policy is being requested. See Resource names for the appropriate value for this field.

array $optParams

Optional parameters.

Return Value

GoogleIamV1Policy

Exceptions

Exception

GoogleCloudBeyondcorpAppconnectionsV1ListAppConnectionsResponse listProjectsLocationsAppConnections(string $parent, array $optParams = [])

Lists AppConnections in a given project and location.

(appConnections.listProjectsLocationsAppConnections)

Parameters

string $parent

Required. The resource name of the AppConnection location using the form: projects/{project_id}/locations/{location_id}

array $optParams

Optional parameters.

Return Value

GoogleCloudBeyondcorpAppconnectionsV1ListAppConnectionsResponse

Exceptions

Exception

GoogleLongrunningOperation patch(string $name, GoogleCloudBeyondcorpAppconnectionsV1AppConnection $postBody, array $optParams = [])

Updates the parameters of a single AppConnection. (appConnections.patch)

Parameters

string $name

Required. Unique resource name of the AppConnection. The name is ignored when creating a AppConnection.

GoogleCloudBeyondcorpAppconnectionsV1AppConnection $postBody
array $optParams

Optional parameters.

Return Value

GoogleLongrunningOperation

Exceptions

Exception

GoogleCloudBeyondcorpAppconnectionsV1ResolveAppConnectionsResponse resolve(string $parent, array $optParams = [])

Resolves AppConnections details for a given AppConnector. An internal method called by a connector to find AppConnections to connect to.

(appConnections.resolve)

Parameters

string $parent

Required. The resource name of the AppConnection location using the form: projects/{project_id}/locations/{location_id}

array $optParams

Optional parameters.

Return Value

GoogleCloudBeyondcorpAppconnectionsV1ResolveAppConnectionsResponse

Exceptions

Exception

GoogleIamV1Policy setIamPolicy(string $resource, GoogleIamV1SetIamPolicyRequest $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. (appConnections.setIamPolicy)

Parameters

string $resource

REQUIRED: The resource for which the policy is being specified. See Resource names for the appropriate value for this field.

GoogleIamV1SetIamPolicyRequest $postBody
array $optParams

Optional parameters.

Return Value

GoogleIamV1Policy

Exceptions

Exception

GoogleIamV1TestIamPermissionsResponse testIamPermissions(string $resource, GoogleIamV1TestIamPermissionsRequest $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. (appConnections.testIamPermissions)

Parameters

string $resource

REQUIRED: The resource for which the policy detail is being requested. See Resource names for the appropriate value for this field.

GoogleIamV1TestIamPermissionsRequest $postBody
array $optParams

Optional parameters.

Return Value

GoogleIamV1TestIamPermissionsResponse

Exceptions

Exception