Cloud Filestore v1 API - Class CloudFilestoreManager (2.1.0)

public static class CloudFilestoreManager

Reference documentation and code samples for the Cloud Filestore v1 API class CloudFilestoreManager.

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

Object > CloudFilestoreManager

Namespace

Google.Cloud.Filestore.V1

Assembly

Google.Cloud.Filestore.V1.dll

Methods

BindService(CloudFilestoreManager.CloudFilestoreManagerBase)

public static ServerServiceDefinition BindService(CloudFilestoreManager.CloudFilestoreManagerBase serviceImpl)

Creates service definition that can be registered with a server

Parameter
NameDescription
serviceImplCloudFilestoreManager.CloudFilestoreManagerBase

An object implementing the server-side handling logic.

Returns
TypeDescription
ServerServiceDefinition

BindService(ServiceBinderBase, CloudFilestoreManager.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
NameDescription
serviceBinderServiceBinderBase

Service methods will be bound by calling AddMethod on this object.

serviceImplCloudFilestoreManager.CloudFilestoreManagerBase

An object implementing the server-side handling logic.