public class ServiceManagement.Services.Configs extends Object
Modifier and Type | Class and Description |
---|---|
class |
ServiceManagement.Services.Configs.Create |
class |
ServiceManagement.Services.Configs.Get |
class |
ServiceManagement.Services.Configs.List |
class |
ServiceManagement.Services.Configs.Submit |
Constructor and Description |
---|
Configs() |
Modifier and Type | Method and Description |
---|---|
ServiceManagement.Services.Configs.Create |
create(String serviceName,
Service content)
Creates a new service configuration (version) for a managed service.
|
ServiceManagement.Services.Configs.Get |
get(String serviceName,
String configId)
Gets a service configuration (version) for a managed service.
|
ServiceManagement.Services.Configs.List |
list(String serviceName)
Lists the history of the service configuration for a managed service, from the newest to the
oldest.
|
ServiceManagement.Services.Configs.Submit |
submit(String serviceName,
SubmitConfigSourceRequest content)
Creates a new service configuration (version) for a managed service based on user-supplied
configuration source files (for example: OpenAPI Specification).
|
public ServiceManagement.Services.Configs.Create create(String serviceName, Service content) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.serviceName
- Required. The name of the service. See the [overview](https://cloud.google.com/service-
management/overview) for naming requirements. For example: `example.googleapis.com`.content
- the Service
IOException
public ServiceManagement.Services.Configs.Get get(String serviceName, String configId) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.serviceName
- Required. The name of the service. See the [overview](https://cloud.google.com/service-
management/overview) for naming requirements. For example: `example.googleapis.com`.configId
- Required. The id of the service configuration resource. This field must be specified for the server
to return all fields, including `SourceInfo`.IOException
public ServiceManagement.Services.Configs.List list(String serviceName) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.serviceName
- Required. The name of the service. See the [overview](https://cloud.google.com/service-
management/overview) for naming requirements. For example: `example.googleapis.com`.IOException
public ServiceManagement.Services.Configs.Submit submit(String serviceName, SubmitConfigSourceRequest content) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.serviceName
- Required. The name of the service. See the [overview](https://cloud.google.com/service-
management/overview) for naming requirements. For example: `example.googleapis.com`.content
- the SubmitConfigSourceRequest
IOException
Copyright © 2011–2024 Google. All rights reserved.