class ProjectsLocationsAppConnectors extends Resource (View source)

The "appConnectors" collection of methods.

Typical usage is:

 $beyondcorpService = new Google\Service\BeyondCorp(...);
 $appConnectors = $beyondcorpService->projects_locations_appConnectors;

Methods

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

Creates a new AppConnector in a given project and location.

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

Deletes a single AppConnector. (appConnectors.delete)

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

Gets details of a single AppConnector. (appConnectors.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. (appConnectors.getIamPolicy)

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

Lists AppConnectors in a given project and location.

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

Updates the parameters of a single AppConnector. (appConnectors.patch)

reportStatus(string $appConnector, GoogleCloudBeyondcorpAppconnectorsV1ReportStatusRequest $postBody, array $optParams = [])

Report status for a given connector. (appConnectors.reportStatus)

resolveInstanceConfig(string $appConnector, array $optParams = [])

Gets instance configuration for a given AppConnector. An internal method called by a AppConnector to get its container config.

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. (appConnectors.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, GoogleCloudBeyondcorpAppconnectorsV1AppConnector $postBody, array $optParams = [])

Creates a new AppConnector in a given project and location.

(appConnectors.create)

Parameters

string $parent

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

GoogleCloudBeyondcorpAppconnectorsV1AppConnector $postBody
array $optParams

Optional parameters.

Return Value

GoogleLongrunningOperation

Exceptions

Exception

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

Deletes a single AppConnector. (appConnectors.delete)

Parameters

string $name

Required. BeyondCorp AppConnector name using the form: p rojects/{project_id}/locations/{location_id}/appConnectors/{app_connector_id}

array $optParams

Optional parameters.

Return Value

GoogleLongrunningOperation

Exceptions

Exception

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

Gets details of a single AppConnector. (appConnectors.get)

Parameters

string $name

Required. BeyondCorp AppConnector name using the form: p rojects/{project_id}/locations/{location_id}/appConnectors/{app_connector_id}

array $optParams

Optional parameters.

Return Value

GoogleCloudBeyondcorpAppconnectorsV1AppConnector

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. (appConnectors.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

GoogleCloudBeyondcorpAppconnectorsV1ListAppConnectorsResponse listProjectsLocationsAppConnectors(string $parent, array $optParams = [])

Lists AppConnectors in a given project and location.

(appConnectors.listProjectsLocationsAppConnectors)

Parameters

string $parent

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

array $optParams

Optional parameters.

Return Value

GoogleCloudBeyondcorpAppconnectorsV1ListAppConnectorsResponse

Exceptions

Exception

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

Updates the parameters of a single AppConnector. (appConnectors.patch)

Parameters

string $name

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

GoogleCloudBeyondcorpAppconnectorsV1AppConnector $postBody
array $optParams

Optional parameters.

Return Value

GoogleLongrunningOperation

Exceptions

Exception

GoogleLongrunningOperation reportStatus(string $appConnector, GoogleCloudBeyondcorpAppconnectorsV1ReportStatusRequest $postBody, array $optParams = [])

Report status for a given connector. (appConnectors.reportStatus)

Parameters

string $appConnector

Required. BeyondCorp Connector name using the form: projects/{project_id}/locations/{location_id}/connectors/{connector}

GoogleCloudBeyondcorpAppconnectorsV1ReportStatusRequest $postBody
array $optParams

Optional parameters.

Return Value

GoogleLongrunningOperation

Exceptions

Exception

GoogleCloudBeyondcorpAppconnectorsV1ResolveInstanceConfigResponse resolveInstanceConfig(string $appConnector, array $optParams = [])

Gets instance configuration for a given AppConnector. An internal method called by a AppConnector to get its container config.

(appConnectors.resolveInstanceConfig)

Parameters

string $appConnector

Required. BeyondCorp AppConnector name using the form: projects/{project_id}/locations/{location_id}/appConnectors/{app_connector}

array $optParams

Optional parameters.

Return Value

GoogleCloudBeyondcorpAppconnectorsV1ResolveInstanceConfigResponse

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. (appConnectors.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. (appConnectors.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