Documentation

Google_Service_Apigee_Resource_OrganizationsSharedflowsRevisions extends Google_Service_Resource
in package

The "revisions" collection of methods.

Typical usage is: $apigeeService = new Google_Service_Apigee(...); $revisions = $apigeeService->revisions;

Table of Contents

$client  : Google_Client
$methods  : array<string|int, mixed>
$resourceName  : string
$rootUrl  : string
$serviceName  : string
$servicePath  : string
$stackParameters  : mixed
__construct()  : mixed
call()  : Google_Http_Request|expectedClass
TODO: This function needs simplifying.
createRequestUri()  : string
Parse/expand request parameters and create a fully qualified request uri.
delete()  : Google_Service_Apigee_GoogleCloudApigeeV1SharedFlowRevision
Deletes a shared flow and all associated policies, resources, and revisions.
get()  : Google_Service_Apigee_GoogleApiHttpBody
Gets a revision of a shared flow. If `format=bundle` is passed, it instead outputs a shared flow revision as a ZIP-formatted bundle of code and config files. (revisions.get)
updateSharedFlowRevision()  : Google_Service_Apigee_GoogleCloudApigeeV1SharedFlowRevision
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)
convertToArrayAndStripNulls()  : mixed

Properties

$methods

private array<string|int, mixed> $methods

$resourceName

private string $resourceName

$serviceName

private string $serviceName

$servicePath

private string $servicePath

$stackParameters

private mixed $stackParameters = array('alt' => array('type' => 'string', 'location' => 'query'), 'fields' => array('type' => 'string', 'location' => 'query'), 'trace' => array('type' => 'string', 'location' => 'query'), 'userIp' => array('type' => 'string', 'location' => 'query'), 'quotaUser' => array('type' => 'string', 'location' => 'query'), 'data' => array('type' => 'string', 'location' => 'body'), 'mimeType' => array('type' => 'string', 'location' => 'header'), 'uploadType' => array('type' => 'string', 'location' => 'query'), 'mediaUpload' => array('type' => 'complex', 'location' => 'query'), 'prettyPrint' => array('type' => 'string', 'location' => 'query'))

Methods

__construct()

public __construct(mixed $service, mixed $serviceName, mixed $resourceName, mixed $resource) : mixed
Parameters
$service : mixed
$serviceName : mixed
$resourceName : mixed
$resource : mixed
Return values
mixed

call()

TODO: This function needs simplifying.

public call( $name,  $arguments[,  $expectedClass = null ]) : Google_Http_Request|expectedClass
Parameters
$name :
$arguments :
$expectedClass : = null
  • optional, the expected class name
Tags
throws
Google_Exception
Return values
Google_Http_Request|expectedClass

createRequestUri()

Parse/expand request parameters and create a fully qualified request uri.

public createRequestUri(string $restPath, array<string|int, mixed> $params) : string
Parameters
$restPath : string
$params : array<string|int, mixed>
Tags
static
Return values
string

$requestUrl

delete()

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

public delete(string $name[, array<string|int, mixed> $optParams = array() ]) : Google_Service_Apigee_GoogleCloudApigeeV1SharedFlowRevision

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

Parameters
$name : string

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}

$optParams : array<string|int, mixed> = array()

Optional parameters.

Return values
Google_Service_Apigee_GoogleCloudApigeeV1SharedFlowRevision

get()

Gets a revision of a shared flow. If `format=bundle` is passed, it instead outputs a shared flow revision as a ZIP-formatted bundle of code and config files. (revisions.get)

public get(string $name[, array<string|int, mixed> $optParams = array() ]) : Google_Service_Apigee_GoogleApiHttpBody
Parameters
$name : string

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}

$optParams : array<string|int, mixed> = array()

Optional parameters.

Tags
opt_param

string format Specify bundle to export the contents of the shared flow bundle. Otherwise, the bundle metadata is returned.

Return values
Google_Service_Apigee_GoogleApiHttpBody

updateSharedFlowRevision()

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)

public updateSharedFlowRevision(string $name, Google_Service_Apigee_GoogleApiHttpBody $postBody[, array<string|int, mixed> $optParams = array() ]) : Google_Service_Apigee_GoogleCloudApigeeV1SharedFlowRevision
Parameters
$name : string

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}

$postBody : Google_Service_Apigee_GoogleApiHttpBody
$optParams : array<string|int, mixed> = array()

Optional parameters.

Tags
opt_param

bool validate Ignored. All uploads are validated regardless of the value of this field. It is kept for compatibility with existing APIs. Must be true or false if provided.

Return values
Google_Service_Apigee_GoogleCloudApigeeV1SharedFlowRevision

convertToArrayAndStripNulls()

protected convertToArrayAndStripNulls(mixed $o) : mixed
Parameters
$o : mixed
Return values
mixed

Search results