public class CloudRun.Namespaces.Services extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
CloudRun.Namespaces.Services.Create |
class |
CloudRun.Namespaces.Services.Delete |
class |
CloudRun.Namespaces.Services.Get |
class |
CloudRun.Namespaces.Services.List |
class |
CloudRun.Namespaces.Services.ReplaceService |
| Constructor and Description |
|---|
Services() |
| Modifier and Type | Method and Description |
|---|---|
CloudRun.Namespaces.Services.Create |
create(String parent,
Service content)
Creates a new Service.
|
CloudRun.Namespaces.Services.Delete |
delete(String name)
Deletes the provided service.
|
CloudRun.Namespaces.Services.Get |
get(String name)
Gets information about a service.
|
CloudRun.Namespaces.Services.List |
list(String parent)
Lists services for the given project and region.
|
CloudRun.Namespaces.Services.ReplaceService |
replaceService(String name,
Service content)
Replaces a service.
|
public CloudRun.Namespaces.Services.Create create(String parent, Service content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.parent - Required. The resource's parent. In Cloud Run, it may be one of the following: *
`{project_id_or_number}` * `namespaces/{project_id_or_number}` *
`namespaces/{project_id_or_number}/services` *
`projects/{project_id_or_number}/locations/{region}` *
`projects/{project_id_or_number}/regions/{region}`content - the ServiceIOExceptionpublic CloudRun.Namespaces.Services.Delete delete(String name) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.name - Required. The fully qualified name of the service to delete. It can be any of the following forms: *
`namespaces/{project_id_or_number}/services/{service_name}` (only when the `endpoint` is
regional) * `projects/{project_id_or_number}/locations/{region}/services/{service_name}` *
`projects/{project_id_or_number}/regions/{region}/services/{service_name}`IOExceptionpublic CloudRun.Namespaces.Services.Get get(String name) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.name - Required. The fully qualified name of the service to retrieve. It can be any of the following forms:
* `namespaces/{project_id_or_number}/services/{service_name}` (only when the `endpoint` is
regional) * `projects/{project_id_or_number}/locations/{region}/services/{service_name}` *
`projects/{project_id_or_number}/regions/{region}/services/{service_name}`IOExceptionpublic CloudRun.Namespaces.Services.List list(String parent) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.parent - Required. The parent from where the resources should be listed. In Cloud Run, it may be one of the
following: * `{project_id_or_number}` * `namespaces/{project_id_or_number}` *
`namespaces/{project_id_or_number}/services` *
`projects/{project_id_or_number}/locations/{region}` *
`projects/{project_id_or_number}/regions/{region}`IOExceptionpublic CloudRun.Namespaces.Services.ReplaceService replaceService(String name, Service content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.name - Required. The fully qualified name of the service to replace. It can be any of the following forms:
* `namespaces/{project_id_or_number}/services/{service_name}` (only when the `endpoint` is
regional) * `projects/{project_id_or_number}/locations/{region}/services/{service_name}` *
`projects/{project_id_or_number}/regions/{region}/services/{service_name}`content - the ServiceIOExceptionCopyright © 2011–2024 Google. All rights reserved.