class OrganizationsEnvironmentsResourcefiles extends Resource (View source)

The "resourcefiles" collection of methods.

Typical usage is:

 $apigeeService = new Google\Service\Apigee(...);
 $resourcefiles = $apigeeService->organizations_environments_resourcefiles;

Methods

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

Creates a resource file. Specify the Content-Type as application/octet- stream or multipart/form-data. For more information about resource files, see Resource files. (resourcefiles.create)

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

Deletes a resource file. For more information about resource files, see Resource files. (resourcefiles.delete)

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

Gets the contents of a resource file. For more information about resource files, see Resource files. (resourcefiles.get)

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

Lists all resource files, optionally filtering by type. For more information about resource files, see Resource files. (resourcefiles.listOrganizationsEnvironmentsResourcefiles)

listEnvironmentResources(string $parent, string $type, array $optParams = [])

Lists all resource files, optionally filtering by type. For more information about resource files, see Resource files. (resourcefiles.listEnvironmentResources)

update(string $parent, string $type, string $name, GoogleApiHttpBody $postBody, array $optParams = [])

Updates a resource file. Specify the Content-Type as application/octet- stream or multipart/form-data. For more information about resource files, see Resource files. (resourcefiles.update)

Details

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

Creates a resource file. Specify the Content-Type as application/octet- stream or multipart/form-data. For more information about resource files, see Resource files. (resourcefiles.create)

Parameters

string $parent

Required. Name of the environment in which to create the resource file in the following format: organizations/{org}/environments/{env}.

GoogleApiHttpBody $postBody
array $optParams

Optional parameters.

Return Value

GoogleCloudApigeeV1ResourceFile

Exceptions

Exception

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

Deletes a resource file. For more information about resource files, see Resource files. (resourcefiles.delete)

Parameters

string $parent

Required. Name of the environment in the following format: organizations/{org}/environments/{env}.

string $type

Required. Resource file type. {{ resource_file_type }}

string $name

Required. ID of the resource file to delete. Must match the regular expression: [a-zA-Z0-9:/\!@#$%^&}[]()+-=,.~'` ]{1,255}

array $optParams

Optional parameters.

Return Value

GoogleCloudApigeeV1ResourceFile

Exceptions

Exception

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

Gets the contents of a resource file. For more information about resource files, see Resource files. (resourcefiles.get)

Parameters

string $parent

Required. Name of the environment in the following format: organizations/{org}/environments/{env}.

string $type

Required. Resource file type. {{ resource_file_type }}

string $name

Required. ID of the resource file. Must match the regular expression: [a-zA-Z0-9:/\!@#$%^&}[]()+-=,.~'` ]{1,255}

array $optParams

Optional parameters.

Return Value

GoogleApiHttpBody

Exceptions

Exception

GoogleCloudApigeeV1ListEnvironmentResourcesResponse listOrganizationsEnvironmentsResourcefiles(string $parent, array $optParams = [])

Lists all resource files, optionally filtering by type. For more information about resource files, see Resource files. (resourcefiles.listOrganizationsEnvironmentsResourcefiles)

Parameters

string $parent

Required. Name of the environment in which to list resource files in the following format: organizations/{org}/environments/{env}.

array $optParams

Optional parameters.

Return Value

GoogleCloudApigeeV1ListEnvironmentResourcesResponse

Exceptions

Exception

GoogleCloudApigeeV1ListEnvironmentResourcesResponse listEnvironmentResources(string $parent, string $type, array $optParams = [])

Lists all resource files, optionally filtering by type. For more information about resource files, see Resource files. (resourcefiles.listEnvironmentResources)

Parameters

string $parent

Required. Name of the environment in which to list resource files in the following format: organizations/{org}/environments/{env}.

string $type

Optional. Type of resource files to list. {{ resource_file_type }}

array $optParams

Optional parameters.

Return Value

GoogleCloudApigeeV1ListEnvironmentResourcesResponse

Exceptions

Exception

GoogleCloudApigeeV1ResourceFile update(string $parent, string $type, string $name, GoogleApiHttpBody $postBody, array $optParams = [])

Updates a resource file. Specify the Content-Type as application/octet- stream or multipart/form-data. For more information about resource files, see Resource files. (resourcefiles.update)

Parameters

string $parent

Required. Name of the environment in the following format: organizations/{org}/environments/{env}.

string $type

Required. Resource file type. {{ resource_file_type }}

string $name

Required. ID of the resource file to update. Must match the regular expression: [a-zA-Z0-9:/\!@#$%^&}[]()+-=,.~'` ]{1,255}

GoogleApiHttpBody $postBody
array $optParams

Optional parameters.

Return Value

GoogleCloudApigeeV1ResourceFile

Exceptions

Exception