class ProjectsLocationsConnectors extends Resource (View source)

The "connectors" collection of methods.

Typical usage is:

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

Methods

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

Creates a new Connector in a given project and location. (connectors.create)

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

Deletes a single Connector. (connectors.delete)

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

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

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

Lists Connectors in a given project and location.

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

Updates the parameters of a single Connector. (connectors.patch)

reportStatus(string $connector, ReportStatusRequest $postBody, array $optParams = [])

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

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

Get instance config for a given connector. An internal method called by a connector to get its container config. (connectors.resolveInstanceConfig)

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

Creates a new Connector in a given project and location. (connectors.create)

Parameters

string $parent

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

Connector $postBody
array $optParams

Optional parameters.

Return Value

GoogleLongrunningOperation

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

Deletes a single Connector. (connectors.delete)

Parameters

string $name

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

array $optParams

Optional parameters.

Return Value

GoogleLongrunningOperation

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

Gets details of a single Connector. (connectors.get)

Parameters

string $name

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

array $optParams

Optional parameters.

Return Value

Connector

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

ListConnectorsResponse listProjectsLocationsConnectors(string $parent, array $optParams = [])

Lists Connectors in a given project and location.

(connectors.listProjectsLocationsConnectors)

Parameters

string $parent

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

array $optParams

Optional parameters.

Return Value

ListConnectorsResponse

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

Updates the parameters of a single Connector. (connectors.patch)

Parameters

string $name

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

Connector $postBody
array $optParams

Optional parameters.

Return Value

GoogleLongrunningOperation

GoogleLongrunningOperation reportStatus(string $connector, ReportStatusRequest $postBody, array $optParams = [])

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

Parameters

string $connector

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

ReportStatusRequest $postBody
array $optParams

Optional parameters.

Return Value

GoogleLongrunningOperation

ResolveInstanceConfigResponse resolveInstanceConfig(string $connector, array $optParams = [])

Get instance config for a given connector. An internal method called by a connector to get its container config. (connectors.resolveInstanceConfig)

Parameters

string $connector

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

array $optParams

Optional parameters.

Return Value

ResolveInstanceConfigResponse

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

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