public class CloudFilestore.Projects.Locations.Instances
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
class |
CloudFilestore.Projects.Locations.Instances.Create |
class |
CloudFilestore.Projects.Locations.Instances.Delete |
class |
CloudFilestore.Projects.Locations.Instances.Get |
class |
CloudFilestore.Projects.Locations.Instances.List |
class |
CloudFilestore.Projects.Locations.Instances.Patch |
Constructor and Description |
---|
Instances() |
Modifier and Type | Method and Description |
---|---|
CloudFilestore.Projects.Locations.Instances.Create |
create(java.lang.String parent,
Instance content)
Creates an instance.
|
CloudFilestore.Projects.Locations.Instances.Delete |
delete(java.lang.String name)
Deletes an instance.
|
CloudFilestore.Projects.Locations.Instances.Get |
get(java.lang.String name)
Gets the details of a specific instance.
|
CloudFilestore.Projects.Locations.Instances.List |
list(java.lang.String parent)
Lists all instances in a project for either a specified location or for all locations.
|
CloudFilestore.Projects.Locations.Instances.Patch |
patch(java.lang.String name,
Instance content)
Updates the settings of a specific instance.
|
public CloudFilestore.Projects.Locations.Instances.Create create(java.lang.String parent, Instance content) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.parent
- The instance's project and location, in the format
projects/{project_id}/locations/{location}. In
Cloud Filestore,
locations map to GCP zones, for example **us-west1-b**.content
- the Instance
java.io.IOException
public CloudFilestore.Projects.Locations.Instances.Delete delete(java.lang.String name) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.name
- The instance resource name, in the format
projects/{project_id}/locations/{location}/instances/{instance_id}java.io.IOException
public CloudFilestore.Projects.Locations.Instances.Get get(java.lang.String name) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.name
- The instance resource name, in the format
projects/{project_id}/locations/{location}/instances/{instance_id}.java.io.IOException
public CloudFilestore.Projects.Locations.Instances.List list(java.lang.String parent) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.parent
- The project and location for which to retrieve instance information,
in the format
projects/{project_id}/locations/{location}. In Cloud
Filestore, locations map to GCP
zones, for example **us-west1-b**. To
retrieve instance information for all locations, use
"-" for the {location}
value.java.io.IOException
public CloudFilestore.Projects.Locations.Instances.Patch patch(java.lang.String name, Instance content) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.name
- Output only. The resource name of the instance, in the format
projects/{project}/locations/{location}/instances/{instance}.content
- the Instance
java.io.IOException