target.apidocs.com.google.api.services.servicemanagement.ServiceManagement.Services.Configs.html Maven / Gradle / Ivy
ServiceManagement.Services.Configs (Service Management API v1-rev20240920-2.0.0)
com.google.api.services.servicemanagement
Class ServiceManagement.Services.Configs
- java.lang.Object
-
- com.google.api.services.servicemanagement.ServiceManagement.Services.Configs
-
- Enclosing class:
- ServiceManagement.Services
public class ServiceManagement.Services.Configs
extends Object
The "configs" collection of methods.
-
-
Nested Class Summary
Nested Classes
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 Summary
Constructors
Constructor and Description
Configs()
-
Method Summary
All Methods Instance Methods Concrete Methods
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).
-
-
Method Detail
-
create
public ServiceManagement.Services.Configs.Create create(String serviceName,
Service content)
throws IOException
Creates a new service configuration (version) for a managed service. This method only stores the
service configuration. To roll out the service configuration to backend systems please call
CreateServiceRollout. Only the 100 most recent service configurations and ones referenced by
existing rollouts are kept for each service. The rest will be deleted eventually.
Create a request for the method "configs.create".
This request holds the parameters needed by the servicemanagement server. After setting any
optional parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
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
- Returns:
- the request
- Throws:
IOException
-
get
public ServiceManagement.Services.Configs.Get get(String serviceName,
String configId)
throws IOException
Gets a service configuration (version) for a managed service.
Create a request for the method "configs.get".
This request holds the parameters needed by the servicemanagement server. After setting any
optional parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
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`.
- Returns:
- the request
- Throws:
IOException
-
list
public ServiceManagement.Services.Configs.List list(String serviceName)
throws IOException
Lists the history of the service configuration for a managed service, from the newest to the
oldest.
Create a request for the method "configs.list".
This request holds the parameters needed by the servicemanagement server. After setting any
optional parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
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`.
- Returns:
- the request
- Throws:
IOException
-
submit
public ServiceManagement.Services.Configs.Submit submit(String serviceName,
SubmitConfigSourceRequest content)
throws IOException
Creates a new service configuration (version) for a managed service based on user-supplied
configuration source files (for example: OpenAPI Specification). This method stores the source
configurations as well as the generated service configuration. To rollout the service
configuration to other services, please call CreateServiceRollout. Only the 100 most recent
configuration sources and ones referenced by existing service configurtions are kept for each
service. The rest will be deleted eventually. Operation
Create a request for the method "configs.submit".
This request holds the parameters needed by the servicemanagement server. After setting any
optional parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
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
- Returns:
- the request
- Throws:
IOException
Copyright © 2011–2024 Google. All rights reserved.
© 2015 - 2024 Weber Informatics LLC | Privacy Policy