public class CloudRun.Projects.Locations.Instances extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
CloudRun.Projects.Locations.Instances.Create |
class |
CloudRun.Projects.Locations.Instances.Delete |
class |
CloudRun.Projects.Locations.Instances.Get |
class |
CloudRun.Projects.Locations.Instances.List |
class |
CloudRun.Projects.Locations.Instances.Start |
class |
CloudRun.Projects.Locations.Instances.Stop |
| Constructor and Description |
|---|
Instances() |
| Modifier and Type | Method and Description |
|---|---|
CloudRun.Projects.Locations.Instances.Create |
create(String parent,
GoogleCloudRunV2Instance content)
Creates an Instance.
|
CloudRun.Projects.Locations.Instances.Delete |
delete(String name)
Deletes a Instance
Create a request for the method "instances.delete".
|
CloudRun.Projects.Locations.Instances.Get |
get(String name)
Gets a Instance
Create a request for the method "instances.get".
|
CloudRun.Projects.Locations.Instances.List |
list(String parent)
Lists Instances.
|
CloudRun.Projects.Locations.Instances.Start |
start(String name,
GoogleCloudRunV2StartInstanceRequest content)
Starts an Instance.
|
CloudRun.Projects.Locations.Instances.Stop |
stop(String name,
GoogleCloudRunV2StopInstanceRequest content)
Stops an Instance.
|
public CloudRun.Projects.Locations.Instances.Create create(String parent, GoogleCloudRunV2Instance content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.parent - content - the GoogleCloudRunV2InstanceIOExceptionpublic CloudRun.Projects.Locations.Instances.Delete delete(String name) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.name - IOExceptionpublic CloudRun.Projects.Locations.Instances.Get get(String name) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.name - IOExceptionpublic CloudRun.Projects.Locations.Instances.List list(String parent) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.parent - Required. The location and project to list resources on. Format:
projects/{project}/locations/{location}, where {project} can be project id or number.IOExceptionpublic CloudRun.Projects.Locations.Instances.Start start(String name, GoogleCloudRunV2StartInstanceRequest content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.name - Required. The name of the Instance to stop. Format:
`projects/{project}/locations/{location}/instances/{instance}`, where `{project}` can be
project id or number.content - the GoogleCloudRunV2StartInstanceRequestIOExceptionpublic CloudRun.Projects.Locations.Instances.Stop stop(String name, GoogleCloudRunV2StopInstanceRequest content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.name - Required. The name of the Instance to stop. Format:
`projects/{project}/locations/{location}/instances/{instance}`, where `{project}` can be
project id or number.content - the GoogleCloudRunV2StopInstanceRequestIOExceptionCopyright © 2011–2026 Google. All rights reserved.