Cloud Filestore v1 API - Class CloudFilestoreManager (2.4.0)

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

Inheritance

object > CloudFilestoreManager

Namespace

Google.Cloud.Filestore.V1

Assembly

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
NameDescription
serviceImplCloudFilestoreManagerCloudFilestoreManagerBase

An object implementing the server-side handling logic.

Returns
TypeDescription
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
NameDescription
serviceBinderServiceBinderBase

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

serviceImplCloudFilestoreManagerCloudFilestoreManagerBase

An object implementing the server-side handling logic.