Module: Google::Cloud::Filestore::V1::CloudFilestoreManager

Defined in:
lib/google/cloud/filestore/v1/cloud_filestore_manager.rb,
lib/google/cloud/filestore/v1/cloud_filestore_manager/rest.rb,
lib/google/cloud/filestore/v1/cloud_filestore_manager/paths.rb,
lib/google/cloud/filestore/v1/cloud_filestore_manager/client.rb,
lib/google/cloud/filestore/v1/cloud_filestore_manager/operations.rb,
lib/google/cloud/filestore/v1/cloud_filestore_manager/credentials.rb,
lib/google/cloud/filestore/v1/cloud_filestore_manager/rest/client.rb,
lib/google/cloud/filestore/v1/cloud_filestore_manager/rest/operations.rb,
lib/google/cloud/filestore/v1/cloud_filestore_manager/rest/service_stub.rb

Overview

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

To load this service and instantiate a REST client:

require "google/cloud/filestore/v1/cloud_filestore_manager/rest"
client = ::Google::Cloud::Filestore::V1::CloudFilestoreManager::Rest::Client.new

Defined Under Namespace

Modules: Paths, Rest Classes: Client, Credentials, Operations