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

target.apidocs.com.google.api.services.servicemanagement.model.LongRunning.html Maven / Gradle / Ivy

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






LongRunning (Service Management API v1-rev20240823-2.0.0)












com.google.api.services.servicemanagement.model

Class LongRunning

  • All Implemented Interfaces:
    Cloneable, Map<String,Object>


    public final class LongRunning
    extends com.google.api.client.json.GenericJson
    Describes settings to use when generating API methods that use the long-running operation pattern. All default values below are from those used in the client library generators (e.g. [Java](https://github.com/googleapis/gapic-generator-java/blob/04c2faa191a9b5a10b92392fe8482279c4 404803/src/main/java/com/google/api/generator/gapic/composer/common/RetrySettingsComposer.java)).

    This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Service Management API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json

    Author:
    Google, Inc.
    • Constructor Detail

      • LongRunning

        public LongRunning()
    • Method Detail

      • getInitialPollDelay

        public String getInitialPollDelay()
        Initial delay after which the first poll request will be made. Default value: 5 seconds.
        Returns:
        value or null for none
      • setInitialPollDelay

        public LongRunning setInitialPollDelay(String initialPollDelay)
        Initial delay after which the first poll request will be made. Default value: 5 seconds.
        Parameters:
        initialPollDelay - initialPollDelay or null for none
      • getMaxPollDelay

        public String getMaxPollDelay()
        Maximum time between two subsequent poll requests. Default value: 45 seconds.
        Returns:
        value or null for none
      • setMaxPollDelay

        public LongRunning setMaxPollDelay(String maxPollDelay)
        Maximum time between two subsequent poll requests. Default value: 45 seconds.
        Parameters:
        maxPollDelay - maxPollDelay or null for none
      • getPollDelayMultiplier

        public Float getPollDelayMultiplier()
        Multiplier to gradually increase delay between subsequent polls until it reaches max_poll_delay. Default value: 1.5.
        Returns:
        value or null for none
      • setPollDelayMultiplier

        public LongRunning setPollDelayMultiplier(Float pollDelayMultiplier)
        Multiplier to gradually increase delay between subsequent polls until it reaches max_poll_delay. Default value: 1.5.
        Parameters:
        pollDelayMultiplier - pollDelayMultiplier or null for none
      • getTotalPollTimeout

        public String getTotalPollTimeout()
        Total polling timeout. Default value: 5 minutes.
        Returns:
        value or null for none
      • setTotalPollTimeout

        public LongRunning setTotalPollTimeout(String totalPollTimeout)
        Total polling timeout. Default value: 5 minutes.
        Parameters:
        totalPollTimeout - totalPollTimeout or null for none
      • set

        public LongRunning set(String fieldName,
                               Object value)
        Overrides:
        set in class com.google.api.client.json.GenericJson
      • clone

        public LongRunning clone()
        Overrides:
        clone in class com.google.api.client.json.GenericJson

Copyright © 2011–2024 Google. All rights reserved.





© 2015 - 2024 Weber Informatics LLC | Privacy Policy