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

target.apidocs.com.google.api.services.compute.model.DeprecationStatus.html Maven / Gradle / Ivy







DeprecationStatus (Compute Engine API beta-rev20220726-2.0.0)












com.google.api.services.compute.model

Class DeprecationStatus

    • Constructor Detail

      • DeprecationStatus

        public DeprecationStatus()
    • Method Detail

      • getDeleted

        public String getDeleted()
        An optional RFC3339 timestamp on or after which the state of this resource is intended to change to DELETED. This is only informational and the status will not change unless the client explicitly changes it.
        Returns:
        value or null for none
      • setDeleted

        public DeprecationStatus setDeleted(String deleted)
        An optional RFC3339 timestamp on or after which the state of this resource is intended to change to DELETED. This is only informational and the status will not change unless the client explicitly changes it.
        Parameters:
        deleted - deleted or null for none
      • getDeprecated

        public String getDeprecated()
        An optional RFC3339 timestamp on or after which the state of this resource is intended to change to DEPRECATED. This is only informational and the status will not change unless the client explicitly changes it.
        Returns:
        value or null for none
      • setDeprecated

        public DeprecationStatus setDeprecated(String deprecated)
        An optional RFC3339 timestamp on or after which the state of this resource is intended to change to DEPRECATED. This is only informational and the status will not change unless the client explicitly changes it.
        Parameters:
        deprecated - deprecated or null for none
      • getObsolete

        public String getObsolete()
        An optional RFC3339 timestamp on or after which the state of this resource is intended to change to OBSOLETE. This is only informational and the status will not change unless the client explicitly changes it.
        Returns:
        value or null for none
      • setObsolete

        public DeprecationStatus setObsolete(String obsolete)
        An optional RFC3339 timestamp on or after which the state of this resource is intended to change to OBSOLETE. This is only informational and the status will not change unless the client explicitly changes it.
        Parameters:
        obsolete - obsolete or null for none
      • getReplacement

        public String getReplacement()
        The URL of the suggested replacement for a deprecated resource. The suggested replacement resource must be the same kind of resource as the deprecated resource.
        Returns:
        value or null for none
      • setReplacement

        public DeprecationStatus setReplacement(String replacement)
        The URL of the suggested replacement for a deprecated resource. The suggested replacement resource must be the same kind of resource as the deprecated resource.
        Parameters:
        replacement - replacement or null for none
      • getState

        public String getState()
        The deprecation state of this resource. This can be ACTIVE, DEPRECATED, OBSOLETE, or DELETED. Operations which communicate the end of life date for an image, can use ACTIVE. Operations which create a new resource using a DEPRECATED resource will return successfully, but with a warning indicating the deprecated resource and recommending its replacement. Operations which use OBSOLETE or DELETED resources will be rejected and result in an error.
        Returns:
        value or null for none
      • setState

        public DeprecationStatus setState(String state)
        The deprecation state of this resource. This can be ACTIVE, DEPRECATED, OBSOLETE, or DELETED. Operations which communicate the end of life date for an image, can use ACTIVE. Operations which create a new resource using a DEPRECATED resource will return successfully, but with a warning indicating the deprecated resource and recommending its replacement. Operations which use OBSOLETE or DELETED resources will be rejected and result in an error.
        Parameters:
        state - state or null for none
      • getStateOverride

        public RolloutPolicy getStateOverride()
        The rollout policy for this deprecation. This policy is only enforced by image family views. The rollout policy restricts the zones where the associated resource is considered in a deprecated state. When the rollout policy does not include the user specified zone, or if the zone is rolled out, the associated resource is considered in a deprecated state. The rollout policy for this deprecation is read-only, except for allowlisted users. This field might not be configured. To view the latest non-deprecated image in a specific zone, use the imageFamilyViews.get method.
        Returns:
        value or null for none
      • setStateOverride

        public DeprecationStatus setStateOverride(RolloutPolicy stateOverride)
        The rollout policy for this deprecation. This policy is only enforced by image family views. The rollout policy restricts the zones where the associated resource is considered in a deprecated state. When the rollout policy does not include the user specified zone, or if the zone is rolled out, the associated resource is considered in a deprecated state. The rollout policy for this deprecation is read-only, except for allowlisted users. This field might not be configured. To view the latest non-deprecated image in a specific zone, use the imageFamilyViews.get method.
        Parameters:
        stateOverride - stateOverride or null for none

Copyright © 2011–2022 Google. All rights reserved.





© 2015 - 2025 Weber Informatics LLC | Privacy Policy