class OrganizationsSharedflowsRevisions extends Resource (View source)

The "revisions" collection of methods.

Typical usage is:

 $apigeeService = new Google\Service\Apigee(...);
 $revisions = $apigeeService->organizations_sharedflows_revisions;

Methods

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

Deletes a shared flow and all associated policies, resources, and revisions.

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

Gets a revision of a shared flow. To download the shared flow 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 shared flow configuration locally and upload the updated sharedFlow configuration revision, as described in updateSharedFlowRevision. (revisions.get)

updateSharedFlowRevision(string $name, GoogleApiHttpBody $postBody, array $optParams = [])

Updates a shared flow revision. This operation is only allowed on revisions which have never been deployed. After deployment a revision becomes immutable, even if it becomes undeployed. The payload is a ZIP-formatted shared flow. Content type must be either multipart/form-data or application/octet-stream. (revisions.updateSharedFlowRevision)

Details

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

Deletes a shared flow and all associated policies, resources, and revisions.

You must undeploy the shared flow before deleting it. (revisions.delete)

Parameters

string $name

Required. The name of the shared flow revision to delete. Must be of the form: organizations/{organization_id}/sharedflows/{shared_flo w_id}/revisions/{revision_id}

array $optParams

Optional parameters.

Return Value

GoogleCloudApigeeV1SharedFlowRevision

Exceptions

Exception

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

Gets a revision of a shared flow. To download the shared flow 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 shared flow configuration locally and upload the updated sharedFlow configuration revision, as described in updateSharedFlowRevision. (revisions.get)

Parameters

string $name

Required. The name of the shared flow revision to get. Must be of the form: organizations/{organization_id}/sharedflows/{shared_flo w_id}/revisions/{revision_id}

array $optParams

Optional parameters.

Return Value

GoogleApiHttpBody

Exceptions

Exception

GoogleCloudApigeeV1SharedFlowRevision updateSharedFlowRevision(string $name, GoogleApiHttpBody $postBody, array $optParams = [])

Updates a shared flow revision. This operation is only allowed on revisions which have never been deployed. After deployment a revision becomes immutable, even if it becomes undeployed. The payload is a ZIP-formatted shared flow. Content type must be either multipart/form-data or application/octet-stream. (revisions.updateSharedFlowRevision)

Parameters

string $name

Required. The name of the shared flow revision to update. Must be of the form: organizations/{organization_id}/sharedflows/{shared_flo w_id}/revisions/{revision_id}

GoogleApiHttpBody $postBody
array $optParams

Optional parameters.

Return Value

GoogleCloudApigeeV1SharedFlowRevision

Exceptions

Exception