ProjectsLocationsInstances
class ProjectsLocationsInstances extends Resource (View source)
The "instances" collection of methods.
Typical usage is:
$fileService = new Google\Service\CloudFilestore(...);
$instances = $fileService->projects_locations_instances;
Methods
Gets the details of a specific instance. (instances.get)
Lists all instances in a project for either a specified location or for all locations. (instances.listProjectsLocationsInstances)
Promote an standby instance (replica). (instances.promoteReplica)
Restores an existing instance's file share from a backup. The capacity of the instance needs to be equal to or larger than the capacity of the backup (and also equal to or larger than the minimum capacity of the tier).
Revert an existing instance's file system to a specified snapshot.
Details
Operation
create(string $parent, Instance $postBody, array $optParams = [])
Creates an instance. When creating from a backup, the capacity of the new instance needs to be equal to or larger than the capacity of the backup (and also equal to or larger than the minimum capacity of the tier).
(instances.create)
Operation
delete(string $name, array $optParams = [])
Deletes an instance. (instances.delete)
Instance
get(string $name, array $optParams = [])
Gets the details of a specific instance. (instances.get)
ListInstancesResponse
listProjectsLocationsInstances(string $parent, array $optParams = [])
Lists all instances in a project for either a specified location or for all locations. (instances.listProjectsLocationsInstances)
Operation
patch(string $name, Instance $postBody, array $optParams = [])
Updates the settings of a specific instance. (instances.patch)
Operation
promoteReplica(string $name, PromoteReplicaRequest $postBody, array $optParams = [])
Promote an standby instance (replica). (instances.promoteReplica)
Operation
restore(string $name, RestoreInstanceRequest $postBody, array $optParams = [])
Restores an existing instance's file share from a backup. The capacity of the instance needs to be equal to or larger than the capacity of the backup (and also equal to or larger than the minimum capacity of the tier).
(instances.restore)
Operation
revert(string $name, RevertInstanceRequest $postBody, array $optParams = [])
Revert an existing instance's file system to a specified snapshot.
(instances.revert)