All Downloads are FREE. Search and download functionalities are using the official Maven repository.

target.apidocs.com.google.api.services.servicemanagement.ServiceManagement.Services.Configs.html Maven / Gradle / Ivy

There is a newer version: v1-rev20241106-2.0.0
Show newest version






ServiceManagement.Services.Configs (Service Management API v1-rev20240823-2.0.0)












com.google.api.services.servicemanagement

Class ServiceManagement.Services.Configs

  • java.lang.Object
    • com.google.api.services.servicemanagement.ServiceManagement.Services.Configs
    • Constructor Detail

      • Configs

        public Configs()
    • 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