class OrganizationsInstancesAttachments extends Resource (View source)

The "attachments" collection of methods.

Typical usage is:

 $apigeeService = new Google\Service\Apigee(...);
 $attachments = $apigeeService->organizations_instances_attachments;

Methods

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

Creates a new attachment of an environment to an instance. Note: Not supported for Apigee hybrid. (attachments.create)

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

Deletes an attachment. Note: Not supported for Apigee hybrid.

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

Gets an attachment. Note: Not supported for Apigee hybrid.

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

Lists all attachments to an instance. Note: Not supported for Apigee hybrid. (attachments.listOrganizationsInstancesAttachments)

Details

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

Creates a new attachment of an environment to an instance. Note: Not supported for Apigee hybrid. (attachments.create)

Parameters

string $parent

Required. Name of the instance. Use the following structure in your request: organizations/{org}/instances/{instance}.

GoogleCloudApigeeV1InstanceAttachment $postBody
array $optParams

Optional parameters.

Return Value

GoogleLongrunningOperation

Exceptions

Exception

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

Deletes an attachment. Note: Not supported for Apigee hybrid.

(attachments.delete)

Parameters

string $name

Required. Name of the attachment. Use the following structure in your request: organizations/{org}/instances/{instance}/attachments/{attachment}.

array $optParams

Optional parameters.

Return Value

GoogleLongrunningOperation

Exceptions

Exception

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

Gets an attachment. Note: Not supported for Apigee hybrid.

(attachments.get)

Parameters

string $name

Required. Name of the attachment. Use the following structure in your request: organizations/{org}/instances/{instance}/attachments/{attachment}

array $optParams

Optional parameters.

Return Value

GoogleCloudApigeeV1InstanceAttachment

Exceptions

Exception

GoogleCloudApigeeV1ListInstanceAttachmentsResponse listOrganizationsInstancesAttachments(string $parent, array $optParams = [])

Lists all attachments to an instance. Note: Not supported for Apigee hybrid. (attachments.listOrganizationsInstancesAttachments)

Parameters

string $parent

Required. Name of the organization. Use the following structure in your request: organizations/{org}/instances/{instance}

array $optParams

Optional parameters.

Return Value

GoogleCloudApigeeV1ListInstanceAttachmentsResponse

Exceptions

Exception