public static class CloudFilestoreManager
Reference documentation and code samples for the Cloud Filestore v1 API class CloudFilestoreManager.
Configures and manages Filestore resources.
Filestore Manager v1.
The file.googleapis.com
service implements the 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, 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 Google Cloud zone
for instances, but
a Google Cloud region
for backups; for example:
projects/12345/locations/us-central1-c/instances/my-filestore
projects/12345/locations/us-central1/backups/my-backup
Namespace
Google.Cloud.Filestore.V1Assembly
Google.Cloud.Filestore.V1.dll
Methods
BindService(CloudFilestoreManagerBase)
public static ServerServiceDefinition BindService(CloudFilestoreManager.CloudFilestoreManagerBase serviceImpl)
Creates service definition that can be registered with a server
Parameter | |
---|---|
Name | Description |
serviceImpl | CloudFilestoreManagerCloudFilestoreManagerBase An object implementing the server-side handling logic. |
Returns | |
---|---|
Type | Description |
ServerServiceDefinition |
BindService(ServiceBinderBase, CloudFilestoreManagerBase)
public static void BindService(ServiceBinderBase serviceBinder, CloudFilestoreManager.CloudFilestoreManagerBase serviceImpl)
Register service method with a service binder with or without implementation. Useful when customizing the service binding logic. Note: this method is part of an experimental API that can change or be removed without any prior notice.
Parameters | |
---|---|
Name | Description |
serviceBinder | ServiceBinderBase Service methods will be bound by calling |
serviceImpl | CloudFilestoreManagerCloudFilestoreManagerBase An object implementing the server-side handling logic. |