OrganizationsEnvironmentsArchiveDeployments
class OrganizationsEnvironmentsArchiveDeployments extends Resource (View source)
The "archiveDeployments" collection of methods.
Typical usage is:
$apigeeService = new Google\Service\Apigee(...);
$archiveDeployments = $apigeeService->organizations_environments_archiveDeployments;
Methods
Creates a new ArchiveDeployment. (archiveDeployments.create)
Deletes an archive deployment. (archiveDeployments.delete)
Generates a signed URL for downloading the original zip file used to create an Archive Deployment. The URL is only valid for a limited period and should be used within minutes after generation. Each call returns a new upload URL.
Generates a signed URL for uploading an Archive zip file to Google Cloud
Storage. Once the upload is complete, the signed URL should be passed to
CreateArchiveDeployment. When uploading to the generated signed URL, please
follow these restrictions: Source file type should be a zip file. Source
file size should not exceed 1GB limit. No credentials should be attached -
the signed URLs provide access to the target bucket using internal service
identity; if credentials were attached, the identity from the credentials
would be used, but that identity does not have permissions to upload files to
the URL. When making a HTTP PUT request, these two headers need to be
specified: content-type: application/zip
x-goog-content-length-range: 0,1073741824
And this header SHOULD NOT be specified: Authorization: Bearer YOUR_TOKEN
(archiveDeployments.generateUploadUrl)
Gets the specified ArchiveDeployment. (archiveDeployments.get)
Lists the ArchiveDeployments in the specified Environment.
Updates an existing ArchiveDeployment. Labels can modified but most of the other fields are not modifiable. (archiveDeployments.patch)
Details
GoogleLongrunningOperation
create(string $parent, GoogleCloudApigeeV1ArchiveDeployment $postBody, array $optParams = [])
Creates a new ArchiveDeployment. (archiveDeployments.create)
GoogleProtobufEmpty
delete(string $name, array $optParams = [])
Deletes an archive deployment. (archiveDeployments.delete)
GoogleCloudApigeeV1GenerateDownloadUrlResponse
generateDownloadUrl(string $name, GoogleCloudApigeeV1GenerateDownloadUrlRequest $postBody, array $optParams = [])
Generates a signed URL for downloading the original zip file used to create an Archive Deployment. The URL is only valid for a limited period and should be used within minutes after generation. Each call returns a new upload URL.
(archiveDeployments.generateDownloadUrl)
GoogleCloudApigeeV1GenerateUploadUrlResponse
generateUploadUrl(string $parent, GoogleCloudApigeeV1GenerateUploadUrlRequest $postBody, array $optParams = [])
Generates a signed URL for uploading an Archive zip file to Google Cloud
Storage. Once the upload is complete, the signed URL should be passed to
CreateArchiveDeployment. When uploading to the generated signed URL, please
follow these restrictions: Source file type should be a zip file. Source
file size should not exceed 1GB limit. No credentials should be attached -
the signed URLs provide access to the target bucket using internal service
identity; if credentials were attached, the identity from the credentials
would be used, but that identity does not have permissions to upload files to
the URL. When making a HTTP PUT request, these two headers need to be
specified: content-type: application/zip
x-goog-content-length-range: 0,1073741824
And this header SHOULD NOT be specified: Authorization: Bearer YOUR_TOKEN
(archiveDeployments.generateUploadUrl)
GoogleCloudApigeeV1ArchiveDeployment
get(string $name, array $optParams = [])
Gets the specified ArchiveDeployment. (archiveDeployments.get)
GoogleCloudApigeeV1ListArchiveDeploymentsResponse
listOrganizationsEnvironmentsArchiveDeployments(string $parent, array $optParams = [])
Lists the ArchiveDeployments in the specified Environment.
(archiveDeployments.listOrganizationsEnvironmentsArchiveDeployments)
GoogleCloudApigeeV1ArchiveDeployment
patch(string $name, GoogleCloudApigeeV1ArchiveDeployment $postBody, array $optParams = [])
Updates an existing ArchiveDeployment. Labels can modified but most of the other fields are not modifiable. (archiveDeployments.patch)