Class CloudFilestoreManagerGrpc.CloudFilestoreManagerBlockingStub (1.12.0)

public static final class CloudFilestoreManagerGrpc.CloudFilestoreManagerBlockingStub extends AbstractBlockingStub<CloudFilestoreManagerGrpc.CloudFilestoreManagerBlockingStub>

Configures and manages Cloud Filestore resources. Cloud Filestore Manager v1. The file.googleapis.com service implements the Cloud Filestore API and defines the following resource model for managing instances:

  • The service works with a collection of cloud projects, named: /projects/*
  • Each project has a collection of available locations, named: /locations/*
  • Each location has a collection of instances and backups, named: /instances/* and /backups/* respectively.
  • As such, Cloud Filestore instances are resources of the form: /projects/{project_number}/locations/{location_id}/instances/{instance_id} and backups are resources of the form: /projects/{project_number}/locations/{location_id}/backup/{backup_id} Note that location_id must be a GCP zone for instances and but to a GCP region for backups; for example:
  • projects/12345/locations/us-central1-c/instances/my-filestore
  • projects/12345/locations/us-central1/backups/my-backup

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractBlockingStub > CloudFilestoreManagerGrpc.CloudFilestoreManagerBlockingStub

Methods

build(Channel channel, CallOptions callOptions)

protected CloudFilestoreManagerGrpc.CloudFilestoreManagerBlockingStub build(Channel channel, CallOptions callOptions)
Parameters
NameDescription
channelio.grpc.Channel
callOptionsio.grpc.CallOptions
Returns
TypeDescription
CloudFilestoreManagerGrpc.CloudFilestoreManagerBlockingStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

createBackup(CreateBackupRequest request)

public Operation createBackup(CreateBackupRequest request)

Creates a backup.

Parameter
NameDescription
requestCreateBackupRequest
Returns
TypeDescription
Operation

createInstance(CreateInstanceRequest request)

public Operation createInstance(CreateInstanceRequest request)

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).

Parameter
NameDescription
requestCreateInstanceRequest
Returns
TypeDescription
Operation

deleteBackup(DeleteBackupRequest request)

public Operation deleteBackup(DeleteBackupRequest request)

Deletes a backup.

Parameter
NameDescription
requestDeleteBackupRequest
Returns
TypeDescription
Operation

deleteInstance(DeleteInstanceRequest request)

public Operation deleteInstance(DeleteInstanceRequest request)

Deletes an instance.

Parameter
NameDescription
requestDeleteInstanceRequest
Returns
TypeDescription
Operation

getBackup(GetBackupRequest request)

public Backup getBackup(GetBackupRequest request)

Gets the details of a specific backup.

Parameter
NameDescription
requestGetBackupRequest
Returns
TypeDescription
Backup

getInstance(GetInstanceRequest request)

public Instance getInstance(GetInstanceRequest request)

Gets the details of a specific instance.

Parameter
NameDescription
requestGetInstanceRequest
Returns
TypeDescription
Instance

listBackups(ListBackupsRequest request)

public ListBackupsResponse listBackups(ListBackupsRequest request)

Lists all backups in a project for either a specified location or for all locations.

Parameter
NameDescription
requestListBackupsRequest
Returns
TypeDescription
ListBackupsResponse

listInstances(ListInstancesRequest request)

public ListInstancesResponse listInstances(ListInstancesRequest request)

Lists all instances in a project for either a specified location or for all locations.

Parameter
NameDescription
requestListInstancesRequest
Returns
TypeDescription
ListInstancesResponse

restoreInstance(RestoreInstanceRequest request)

public Operation restoreInstance(RestoreInstanceRequest request)

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).

Parameter
NameDescription
requestRestoreInstanceRequest
Returns
TypeDescription
Operation

updateBackup(UpdateBackupRequest request)

public Operation updateBackup(UpdateBackupRequest request)

Updates the settings of a specific backup.

Parameter
NameDescription
requestUpdateBackupRequest
Returns
TypeDescription
Operation

updateInstance(UpdateInstanceRequest request)

public Operation updateInstance(UpdateInstanceRequest request)

Updates the settings of a specific instance.

Parameter
NameDescription
requestUpdateInstanceRequest
Returns
TypeDescription
Operation