OrganizationsApisRevisions
class OrganizationsApisRevisions extends Resource (View source)
The "revisions" collection of methods.
Typical usage is:
$apigeeService = new Google\Service\Apigee(...);
$revisions = $apigeeService->organizations_apis_revisions;
Methods
Deletes an API proxy revision and all policies, resources, endpoints, and revisions associated with it. The API proxy revision must be undeployed before you can delete it. (revisions.delete)
Gets an API proxy revision. To download the API proxy configuration bundle
for the specified revision as a zip file, set the format
query parameter to
bundle
. If you are using curl, specify -o filename.zip
to save the output
to a file; otherwise, it displays to stdout
. Then, develop the API proxy
configuration locally and upload the updated API proxy configuration
revision, as described in updateApiProxyRevision.
Updates an existing API proxy revision by uploading the API proxy
configuration bundle as a zip file from your local machine. You can update
only API proxy revisions that have never been deployed. After deployment, an
API proxy revision becomes immutable, even if it is undeployed. Set the
Content-Type
header to either multipart/form-data
or application/octet- stream
. (revisions.updateApiProxyRevision)
Details
GoogleCloudApigeeV1ApiProxyRevision
delete(string $name, array $optParams = [])
Deletes an API proxy revision and all policies, resources, endpoints, and revisions associated with it. The API proxy revision must be undeployed before you can delete it. (revisions.delete)
GoogleApiHttpBody
get(string $name, array $optParams = [])
Gets an API proxy revision. To download the API proxy configuration bundle
for the specified revision as a zip file, set the format
query parameter to
bundle
. If you are using curl, specify -o filename.zip
to save the output
to a file; otherwise, it displays to stdout
. Then, develop the API proxy
configuration locally and upload the updated API proxy configuration
revision, as described in updateApiProxyRevision.
(revisions.get)
GoogleCloudApigeeV1ApiProxyRevision
updateApiProxyRevision(string $name, GoogleApiHttpBody $postBody, array $optParams = [])
Updates an existing API proxy revision by uploading the API proxy
configuration bundle as a zip file from your local machine. You can update
only API proxy revisions that have never been deployed. After deployment, an
API proxy revision becomes immutable, even if it is undeployed. Set the
Content-Type
header to either multipart/form-data
or application/octet- stream
. (revisions.updateApiProxyRevision)