ProjectsLocationsInstances
class ProjectsLocationsInstances extends Resource (View source)
The "instances" collection of methods.
Typical usage is:
$memcacheService = new Google\Service\CloudMemorystoreforMemcached(...);
$instances = $memcacheService->projects_locations_instances;
Methods
ApplyParameters
restarts the set of specified nodes in order to update them
to the current set of parameters for the Memcached Instance.
Gets details of a single Instance. (instances.get)
Lists Instances in a given location.
Reschedules upcoming maintenance event. (instances.rescheduleMaintenance)
Updates the defined Memcached parameters for an existing instance. This
method only stages the parameters, it must be followed by ApplyParameters
to apply the parameters to nodes of the Memcached instance.
Upgrades the Memcache instance to a newer memcached engine version specified in the request. (instances.upgrade)
Details
Operation
applyParameters(string $name, ApplyParametersRequest $postBody, array $optParams = [])
ApplyParameters
restarts the set of specified nodes in order to update them
to the current set of parameters for the Memcached Instance.
(instances.applyParameters)
Operation
create(string $parent, Instance $postBody, array $optParams = [])
Creates a new Instance in a given location. (instances.create)
Operation
delete(string $name, array $optParams = [])
Deletes a single Instance. (instances.delete)
Instance
get(string $name, array $optParams = [])
Gets details of a single Instance. (instances.get)
ListInstancesResponse
listProjectsLocationsInstances(string $parent, array $optParams = [])
Lists Instances in a given location.
(instances.listProjectsLocationsInstances)
Operation
patch(string $name, Instance $postBody, array $optParams = [])
Updates an existing Instance in a given project and location.
(instances.patch)
Operation
rescheduleMaintenance(string $instance, RescheduleMaintenanceRequest $postBody, array $optParams = [])
Reschedules upcoming maintenance event. (instances.rescheduleMaintenance)
Operation
updateParameters(string $name, UpdateParametersRequest $postBody, array $optParams = [])
Updates the defined Memcached parameters for an existing instance. This
method only stages the parameters, it must be followed by ApplyParameters
to apply the parameters to nodes of the Memcached instance.
(instances.updateParameters)
Operation
upgrade(string $name, GoogleCloudMemcacheV1UpgradeInstanceRequest $postBody, array $optParams = [])
Upgrades the Memcache instance to a newer memcached engine version specified in the request. (instances.upgrade)