public class Spanner.Projects.InstanceConfigs extends Object
Modifier and Type | Class and Description |
---|---|
class |
Spanner.Projects.InstanceConfigs.Create |
class |
Spanner.Projects.InstanceConfigs.Delete |
class |
Spanner.Projects.InstanceConfigs.Get |
class |
Spanner.Projects.InstanceConfigs.List |
class |
Spanner.Projects.InstanceConfigs.Operations
The "operations" collection of methods.
|
class |
Spanner.Projects.InstanceConfigs.Patch |
class |
Spanner.Projects.InstanceConfigs.SsdCaches
The "ssdCaches" collection of methods.
|
Constructor and Description |
---|
InstanceConfigs() |
Modifier and Type | Method and Description |
---|---|
Spanner.Projects.InstanceConfigs.Create |
create(String parent,
CreateInstanceConfigRequest content)
Creates an instance configuration and begins preparing it to be used.
|
Spanner.Projects.InstanceConfigs.Delete |
delete(String name)
Deletes the instance configuration.
|
Spanner.Projects.InstanceConfigs.Get |
get(String name)
Gets information about a particular instance configuration.
|
Spanner.Projects.InstanceConfigs.List |
list(String parent)
Lists the supported instance configurations for a given project.
|
Spanner.Projects.InstanceConfigs.Operations |
operations()
An accessor for creating requests from the Operations collection.
|
Spanner.Projects.InstanceConfigs.Patch |
patch(String name,
UpdateInstanceConfigRequest content)
Updates an instance configuration.
|
Spanner.Projects.InstanceConfigs.SsdCaches |
ssdCaches()
An accessor for creating requests from the SsdCaches collection.
|
public Spanner.Projects.InstanceConfigs.Create create(String parent, CreateInstanceConfigRequest content) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.parent
- Required. The name of the project in which to create the instance configuration. Values are of the
form `projects/`.content
- the CreateInstanceConfigRequest
IOException
public Spanner.Projects.InstanceConfigs.Delete delete(String name) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.name
- Required. The name of the instance configuration to be deleted. Values are of the form
`projects//instanceConfigs/`IOException
public Spanner.Projects.InstanceConfigs.Get get(String name) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.name
- Required. The name of the requested instance configuration. Values are of the form
`projects//instanceConfigs/`.IOException
public Spanner.Projects.InstanceConfigs.List list(String parent) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.parent
- Required. The name of the project for which a list of supported instance configurations is
requested. Values are of the form `projects/`.IOException
public Spanner.Projects.InstanceConfigs.Patch patch(String name, UpdateInstanceConfigRequest content) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.name
- A unique identifier for the instance configuration. Values are of the form
`projects//instanceConfigs/a-z*`. User instance configuration must start with `custom-`.content
- the UpdateInstanceConfigRequest
IOException
public Spanner.Projects.InstanceConfigs.Operations operations()
The typical use is:
Spanner spanner = new Spanner(...);
Spanner.Operations.List request = spanner.operations().list(parameters ...)
public Spanner.Projects.InstanceConfigs.SsdCaches ssdCaches()
The typical use is:
Spanner spanner = new Spanner(...);
Spanner.SsdCaches.List request = spanner.ssdCaches().list(parameters ...)
Copyright © 2011–2025 Google. All rights reserved.