target.apidocs.com.google.api.services.servicemanagement.ServiceManagement.Services.Rollouts.html Maven / Gradle / Ivy
ServiceManagement.Services.Rollouts (Service Management API v1-rev20240823-2.0.0)
com.google.api.services.servicemanagement
Class ServiceManagement.Services.Rollouts
- java.lang.Object
-
- com.google.api.services.servicemanagement.ServiceManagement.Services.Rollouts
-
- Enclosing class:
- ServiceManagement.Services
public class ServiceManagement.Services.Rollouts
extends Object
The "rollouts" collection of methods.
-
-
Nested Class Summary
Nested Classes
Modifier and Type
Class and Description
class
ServiceManagement.Services.Rollouts.Create
class
ServiceManagement.Services.Rollouts.Get
class
ServiceManagement.Services.Rollouts.List
-
Constructor Summary
Constructors
Constructor and Description
Rollouts()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
ServiceManagement.Services.Rollouts.Create
create(String serviceName,
Rollout content)
Creates a new service configuration rollout.
ServiceManagement.Services.Rollouts.Get
get(String serviceName,
String rolloutId)
Gets a service configuration rollout.
ServiceManagement.Services.Rollouts.List
list(String serviceName)
Lists the history of the service configuration rollouts for a managed service, from the newest to
the oldest.
-
-
Method Detail
-
create
public ServiceManagement.Services.Rollouts.Create create(String serviceName,
Rollout content)
throws IOException
Creates a new service configuration rollout. Based on rollout, the Google Service Management will
roll out the service configurations to different backend services. For example, the logging
configuration will be pushed to Google Cloud Logging. Please note that any previous pending and
running Rollouts and associated Operations will be automatically cancelled so that the latest
Rollout will not be blocked by previous Rollouts. Only the 100 most recent (in any state) and the
last 10 successful (if not already part of the set of 100 most recent) rollouts are kept for each
service. The rest will be deleted eventually. Operation
Create a request for the method "rollouts.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 Rollout
- Returns:
- the request
- Throws:
IOException
-
get
public ServiceManagement.Services.Rollouts.Get get(String serviceName,
String rolloutId)
throws IOException
Gets a service configuration rollout.
Create a request for the method "rollouts.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`.
rolloutId
- Required. The id of the rollout resource.
- Returns:
- the request
- Throws:
IOException
-
list
public ServiceManagement.Services.Rollouts.List list(String serviceName)
throws IOException
Lists the history of the service configuration rollouts for a managed service, from the newest to
the oldest.
Create a request for the method "rollouts.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
Copyright © 2011–2024 Google. All rights reserved.
© 2015 - 2024 Weber Informatics LLC | Privacy Policy