Package com.google.cloud.parallelstore.v1
@Generated("by gapic-generator-java")
package com.google.cloud.parallelstore.v1
A client to Parallelstore API
The interfaces provided are listed below, along with usage samples.
======================= ParallelstoreClient =======================
Service Description: Service describing handlers for resources Configures and manages parallelstore resources.
Parallelstore service.
The `parallelstore.googleapis.com` service implements the parallelstore 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 named `/instances/*`.
- Parallelstore instances are resources of the form: `/projects/{project_id}/locations/{location_id}/instances/{instance_id}`
Note that location_id must be a Google Cloud `zone`; for example:
- `projects/12345/locations/us-central1-c/instances/my-parallelstore-share`
Sample for ParallelstoreClient:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (ParallelstoreClient parallelstoreClient = ParallelstoreClient.create()) {
InstanceName name = InstanceName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]");
Instance response = parallelstoreClient.getInstance(name);
}
-
ClassesClassDescriptionService Description: Service describing handlers for resources Configures and manages parallelstore resources.Settings class to configure an instance of
ParallelstoreClient.Builder for ParallelstoreSettings.