target.apidocs.com.google.api.services.servicemanagement.ServiceManagement.Services.Configs.html Maven / Gradle / Ivy
<span class="http"><span class="http"><span class="scala"><span class="hljs-type">ServiceManagement</span>.<span class="hljs-type">Services</span>.<span class="hljs-type">Configs</span> (<span class="hljs-type">Service</span> <span class="hljs-type">Management</span> <span class="hljs-type">API</span> v1-rev20241202<span class="hljs-number">-2.0</span><span class="hljs-number">.0</span>)</span></span></span>
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).
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
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.