class OrganizationsEnvironmentsTargetservers extends Resource (View source)

The "targetservers" collection of methods.

Typical usage is:

 $apigeeService = new Google\Service\Apigee(...);
 $targetservers = $apigeeService->organizations_environments_targetservers;

Methods

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

Creates a TargetServer in the specified environment. (targetservers.create)

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

Deletes a TargetServer from an environment. Returns the deleted TargetServer resource. (targetservers.delete)

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

Gets a TargetServer resource. (targetservers.get)

update(string $name, GoogleCloudApigeeV1TargetServer $postBody, array $optParams = [])

Updates an existing TargetServer. Note that this operation has PUT semantics; it will replace the entirety of the existing TargetServer with the resource in the request body. (targetservers.update)

Details

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

Creates a TargetServer in the specified environment. (targetservers.create)

Parameters

string $parent

Required. The parent environment name under which the TargetServer will be created. Must be of the form organizations/{org}/environments/{env}.

GoogleCloudApigeeV1TargetServer $postBody
array $optParams

Optional parameters.

Return Value

GoogleCloudApigeeV1TargetServer

Exceptions

Exception

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

Deletes a TargetServer from an environment. Returns the deleted TargetServer resource. (targetservers.delete)

Parameters

string $name

Required. The name of the TargetServer to delete. Must be of the form organizations/{org}/environments/{env}/targetservers/{target_server_id}.

array $optParams

Optional parameters.

Return Value

GoogleCloudApigeeV1TargetServer

Exceptions

Exception

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

Gets a TargetServer resource. (targetservers.get)

Parameters

string $name

Required. The name of the TargetServer to get. Must be of the form organizations/{org}/environments/{env}/targetservers/{target_server_id}.

array $optParams

Optional parameters.

Return Value

GoogleCloudApigeeV1TargetServer

Exceptions

Exception

GoogleCloudApigeeV1TargetServer update(string $name, GoogleCloudApigeeV1TargetServer $postBody, array $optParams = [])

Updates an existing TargetServer. Note that this operation has PUT semantics; it will replace the entirety of the existing TargetServer with the resource in the request body. (targetservers.update)

Parameters

string $name

Required. The name of the TargetServer to replace. Must be of the form organizations/{org}/environments/{env}/targetservers/{target_server_id}.

GoogleCloudApigeeV1TargetServer $postBody
array $optParams

Optional parameters.

Return Value

GoogleCloudApigeeV1TargetServer

Exceptions

Exception