Class: Google::Cloud::Deploy::V1::Release

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/deploy/v1/cloud_deploy.rb

Overview

A Release resource in the Cloud Deploy API.

A Release defines a specific Skaffold configuration instance that can be deployed.

Defined Under Namespace

Modules: RenderState Classes: AnnotationsEntry, DeployParametersEntry, LabelsEntry, ReleaseCondition, ReleaseReadyCondition, SkaffoldSupportedCondition, TargetArtifactsEntry, TargetRender, TargetRendersEntry

Instance Attribute Summary collapse

Instance Attribute Details

#abandoned::Boolean (readonly)

Returns Output only. Indicates whether this is an abandoned release.

Returns:

  • (::Boolean)

    Output only. Indicates whether this is an abandoned release.



1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 1552

class Release
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Details of rendering for a single target.
  # @!attribute [r] rendering_build
  #   @return [::String]
  #     Output only. The resource name of the Cloud Build `Build` object that is
  #     used to render the manifest for this target. Format is
  #     `projects/{project}/locations/{location}/builds/{build}`.
  # @!attribute [r] rendering_state
  #   @return [::Google::Cloud::Deploy::V1::Release::TargetRender::TargetRenderState]
  #     Output only. Current state of the render operation for this Target.
  # @!attribute [r] metadata
  #   @return [::Google::Cloud::Deploy::V1::RenderMetadata]
  #     Output only. Metadata related to the `Release` render for this Target.
  # @!attribute [r] failure_cause
  #   @return [::Google::Cloud::Deploy::V1::Release::TargetRender::FailureCause]
  #     Output only. Reason this render failed. This will always be unspecified
  #     while the render in progress.
  # @!attribute [r] failure_message
  #   @return [::String]
  #     Output only. Additional information about the render failure, if
  #     available.
  class TargetRender
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Valid states of the render operation.
    module TargetRenderState
      # The render operation state is unspecified.
      TARGET_RENDER_STATE_UNSPECIFIED = 0

      # The render operation has completed successfully.
      SUCCEEDED = 1

      # The render operation has failed.
      FAILED = 2

      # The render operation is in progress.
      IN_PROGRESS = 3
    end

    # Well-known rendering failures.
    module FailureCause
      # No reason for failure is specified.
      FAILURE_CAUSE_UNSPECIFIED = 0

      # Cloud Build is not available, either because it is not enabled or
      # because Cloud Deploy has insufficient permissions. See [required
      # permission](https://cloud.google.com/deploy/docs/cloud-deploy-service-account#required_permissions).
      CLOUD_BUILD_UNAVAILABLE = 1

      # The render operation did not complete successfully; check Cloud Build
      # logs.
      EXECUTION_FAILED = 2

      # Cloud Build failed to fulfill Cloud Deploy's request. See
      # failure_message for additional details.
      CLOUD_BUILD_REQUEST_FAILED = 3

      # The render operation did not complete successfully because the
      # verification stanza required for verify was not found on the Skaffold
      # configuration.
      VERIFICATION_CONFIG_NOT_FOUND = 4

      # The render operation did not complete successfully because the custom
      # action required for predeploy or postdeploy was not found in the
      # Skaffold configuration. See failure_message for additional details.
      CUSTOM_ACTION_NOT_FOUND = 5

      # Release failed during rendering because the release configuration is
      # not supported with the specified deployment strategy.
      DEPLOYMENT_STRATEGY_NOT_SUPPORTED = 6

      # The render operation had a feature configured that is not supported.
      RENDER_FEATURE_NOT_SUPPORTED = 7
    end
  end

  # ReleaseReadyCondition contains information around the status of the
  # Release. If a release is not ready, you cannot create a rollout with the
  # release.
  # @!attribute [rw] status
  #   @return [::Boolean]
  #     True if the Release is in a valid state. Otherwise at least one condition
  #     in `ReleaseCondition` is in an invalid state. Iterate over those
  #     conditions and see which condition(s) has status = false to find out what
  #     is wrong with the Release.
  class ReleaseReadyCondition
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # SkaffoldSupportedCondition contains information about when support for the
  # release's version of Skaffold ends.
  # @!attribute [rw] status
  #   @return [::Boolean]
  #     True if the version of Skaffold used by this release is supported.
  # @!attribute [rw] skaffold_support_state
  #   @return [::Google::Cloud::Deploy::V1::SkaffoldSupportState]
  #     The Skaffold support state for this release's version of Skaffold.
  # @!attribute [rw] maintenance_mode_time
  #   @return [::Google::Protobuf::Timestamp]
  #     The time at which this release's version of Skaffold will enter
  #     maintenance mode.
  # @!attribute [rw] support_expiration_time
  #   @return [::Google::Protobuf::Timestamp]
  #     The time at which this release's version of Skaffold will no longer be
  #     supported.
  class SkaffoldSupportedCondition
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # ReleaseCondition contains all conditions relevant to a Release.
  # @!attribute [rw] release_ready_condition
  #   @return [::Google::Cloud::Deploy::V1::Release::ReleaseReadyCondition]
  #     Details around the Releases's overall status.
  # @!attribute [rw] skaffold_supported_condition
  #   @return [::Google::Cloud::Deploy::V1::Release::SkaffoldSupportedCondition]
  #     Details around the support state of the release's Skaffold
  #     version.
  class ReleaseCondition
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class AnnotationsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::Google::Cloud::Deploy::V1::TargetArtifact]
  class TargetArtifactsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::Google::Cloud::Deploy::V1::Release::TargetRender]
  class TargetRendersEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class DeployParametersEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Valid states of the render operation.
  module RenderState
    # The render state is unspecified.
    RENDER_STATE_UNSPECIFIED = 0

    # All rendering operations have completed successfully.
    SUCCEEDED = 1

    # All rendering operations have completed, and one or more have failed.
    FAILED = 2

    # Rendering has started and is not complete.
    IN_PROGRESS = 3
  end
end

#annotations::Google::Protobuf::Map{::String => ::String}

Returns User annotations. These attributes can only be set and used by the user, and not by Cloud Deploy. See https://google.aip.dev/128#annotations for more details such as format and size limitations.

Returns:

  • (::Google::Protobuf::Map{::String => ::String})

    User annotations. These attributes can only be set and used by the user, and not by Cloud Deploy. See https://google.aip.dev/128#annotations for more details such as format and size limitations.



1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 1552

class Release
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Details of rendering for a single target.
  # @!attribute [r] rendering_build
  #   @return [::String]
  #     Output only. The resource name of the Cloud Build `Build` object that is
  #     used to render the manifest for this target. Format is
  #     `projects/{project}/locations/{location}/builds/{build}`.
  # @!attribute [r] rendering_state
  #   @return [::Google::Cloud::Deploy::V1::Release::TargetRender::TargetRenderState]
  #     Output only. Current state of the render operation for this Target.
  # @!attribute [r] metadata
  #   @return [::Google::Cloud::Deploy::V1::RenderMetadata]
  #     Output only. Metadata related to the `Release` render for this Target.
  # @!attribute [r] failure_cause
  #   @return [::Google::Cloud::Deploy::V1::Release::TargetRender::FailureCause]
  #     Output only. Reason this render failed. This will always be unspecified
  #     while the render in progress.
  # @!attribute [r] failure_message
  #   @return [::String]
  #     Output only. Additional information about the render failure, if
  #     available.
  class TargetRender
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Valid states of the render operation.
    module TargetRenderState
      # The render operation state is unspecified.
      TARGET_RENDER_STATE_UNSPECIFIED = 0

      # The render operation has completed successfully.
      SUCCEEDED = 1

      # The render operation has failed.
      FAILED = 2

      # The render operation is in progress.
      IN_PROGRESS = 3
    end

    # Well-known rendering failures.
    module FailureCause
      # No reason for failure is specified.
      FAILURE_CAUSE_UNSPECIFIED = 0

      # Cloud Build is not available, either because it is not enabled or
      # because Cloud Deploy has insufficient permissions. See [required
      # permission](https://cloud.google.com/deploy/docs/cloud-deploy-service-account#required_permissions).
      CLOUD_BUILD_UNAVAILABLE = 1

      # The render operation did not complete successfully; check Cloud Build
      # logs.
      EXECUTION_FAILED = 2

      # Cloud Build failed to fulfill Cloud Deploy's request. See
      # failure_message for additional details.
      CLOUD_BUILD_REQUEST_FAILED = 3

      # The render operation did not complete successfully because the
      # verification stanza required for verify was not found on the Skaffold
      # configuration.
      VERIFICATION_CONFIG_NOT_FOUND = 4

      # The render operation did not complete successfully because the custom
      # action required for predeploy or postdeploy was not found in the
      # Skaffold configuration. See failure_message for additional details.
      CUSTOM_ACTION_NOT_FOUND = 5

      # Release failed during rendering because the release configuration is
      # not supported with the specified deployment strategy.
      DEPLOYMENT_STRATEGY_NOT_SUPPORTED = 6

      # The render operation had a feature configured that is not supported.
      RENDER_FEATURE_NOT_SUPPORTED = 7
    end
  end

  # ReleaseReadyCondition contains information around the status of the
  # Release. If a release is not ready, you cannot create a rollout with the
  # release.
  # @!attribute [rw] status
  #   @return [::Boolean]
  #     True if the Release is in a valid state. Otherwise at least one condition
  #     in `ReleaseCondition` is in an invalid state. Iterate over those
  #     conditions and see which condition(s) has status = false to find out what
  #     is wrong with the Release.
  class ReleaseReadyCondition
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # SkaffoldSupportedCondition contains information about when support for the
  # release's version of Skaffold ends.
  # @!attribute [rw] status
  #   @return [::Boolean]
  #     True if the version of Skaffold used by this release is supported.
  # @!attribute [rw] skaffold_support_state
  #   @return [::Google::Cloud::Deploy::V1::SkaffoldSupportState]
  #     The Skaffold support state for this release's version of Skaffold.
  # @!attribute [rw] maintenance_mode_time
  #   @return [::Google::Protobuf::Timestamp]
  #     The time at which this release's version of Skaffold will enter
  #     maintenance mode.
  # @!attribute [rw] support_expiration_time
  #   @return [::Google::Protobuf::Timestamp]
  #     The time at which this release's version of Skaffold will no longer be
  #     supported.
  class SkaffoldSupportedCondition
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # ReleaseCondition contains all conditions relevant to a Release.
  # @!attribute [rw] release_ready_condition
  #   @return [::Google::Cloud::Deploy::V1::Release::ReleaseReadyCondition]
  #     Details around the Releases's overall status.
  # @!attribute [rw] skaffold_supported_condition
  #   @return [::Google::Cloud::Deploy::V1::Release::SkaffoldSupportedCondition]
  #     Details around the support state of the release's Skaffold
  #     version.
  class ReleaseCondition
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class AnnotationsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::Google::Cloud::Deploy::V1::TargetArtifact]
  class TargetArtifactsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::Google::Cloud::Deploy::V1::Release::TargetRender]
  class TargetRendersEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class DeployParametersEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Valid states of the render operation.
  module RenderState
    # The render state is unspecified.
    RENDER_STATE_UNSPECIFIED = 0

    # All rendering operations have completed successfully.
    SUCCEEDED = 1

    # All rendering operations have completed, and one or more have failed.
    FAILED = 2

    # Rendering has started and is not complete.
    IN_PROGRESS = 3
  end
end

#build_artifacts::Array<::Google::Cloud::Deploy::V1::BuildArtifact>

Returns List of artifacts to pass through to Skaffold command.

Returns:



1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 1552

class Release
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Details of rendering for a single target.
  # @!attribute [r] rendering_build
  #   @return [::String]
  #     Output only. The resource name of the Cloud Build `Build` object that is
  #     used to render the manifest for this target. Format is
  #     `projects/{project}/locations/{location}/builds/{build}`.
  # @!attribute [r] rendering_state
  #   @return [::Google::Cloud::Deploy::V1::Release::TargetRender::TargetRenderState]
  #     Output only. Current state of the render operation for this Target.
  # @!attribute [r] metadata
  #   @return [::Google::Cloud::Deploy::V1::RenderMetadata]
  #     Output only. Metadata related to the `Release` render for this Target.
  # @!attribute [r] failure_cause
  #   @return [::Google::Cloud::Deploy::V1::Release::TargetRender::FailureCause]
  #     Output only. Reason this render failed. This will always be unspecified
  #     while the render in progress.
  # @!attribute [r] failure_message
  #   @return [::String]
  #     Output only. Additional information about the render failure, if
  #     available.
  class TargetRender
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Valid states of the render operation.
    module TargetRenderState
      # The render operation state is unspecified.
      TARGET_RENDER_STATE_UNSPECIFIED = 0

      # The render operation has completed successfully.
      SUCCEEDED = 1

      # The render operation has failed.
      FAILED = 2

      # The render operation is in progress.
      IN_PROGRESS = 3
    end

    # Well-known rendering failures.
    module FailureCause
      # No reason for failure is specified.
      FAILURE_CAUSE_UNSPECIFIED = 0

      # Cloud Build is not available, either because it is not enabled or
      # because Cloud Deploy has insufficient permissions. See [required
      # permission](https://cloud.google.com/deploy/docs/cloud-deploy-service-account#required_permissions).
      CLOUD_BUILD_UNAVAILABLE = 1

      # The render operation did not complete successfully; check Cloud Build
      # logs.
      EXECUTION_FAILED = 2

      # Cloud Build failed to fulfill Cloud Deploy's request. See
      # failure_message for additional details.
      CLOUD_BUILD_REQUEST_FAILED = 3

      # The render operation did not complete successfully because the
      # verification stanza required for verify was not found on the Skaffold
      # configuration.
      VERIFICATION_CONFIG_NOT_FOUND = 4

      # The render operation did not complete successfully because the custom
      # action required for predeploy or postdeploy was not found in the
      # Skaffold configuration. See failure_message for additional details.
      CUSTOM_ACTION_NOT_FOUND = 5

      # Release failed during rendering because the release configuration is
      # not supported with the specified deployment strategy.
      DEPLOYMENT_STRATEGY_NOT_SUPPORTED = 6

      # The render operation had a feature configured that is not supported.
      RENDER_FEATURE_NOT_SUPPORTED = 7
    end
  end

  # ReleaseReadyCondition contains information around the status of the
  # Release. If a release is not ready, you cannot create a rollout with the
  # release.
  # @!attribute [rw] status
  #   @return [::Boolean]
  #     True if the Release is in a valid state. Otherwise at least one condition
  #     in `ReleaseCondition` is in an invalid state. Iterate over those
  #     conditions and see which condition(s) has status = false to find out what
  #     is wrong with the Release.
  class ReleaseReadyCondition
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # SkaffoldSupportedCondition contains information about when support for the
  # release's version of Skaffold ends.
  # @!attribute [rw] status
  #   @return [::Boolean]
  #     True if the version of Skaffold used by this release is supported.
  # @!attribute [rw] skaffold_support_state
  #   @return [::Google::Cloud::Deploy::V1::SkaffoldSupportState]
  #     The Skaffold support state for this release's version of Skaffold.
  # @!attribute [rw] maintenance_mode_time
  #   @return [::Google::Protobuf::Timestamp]
  #     The time at which this release's version of Skaffold will enter
  #     maintenance mode.
  # @!attribute [rw] support_expiration_time
  #   @return [::Google::Protobuf::Timestamp]
  #     The time at which this release's version of Skaffold will no longer be
  #     supported.
  class SkaffoldSupportedCondition
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # ReleaseCondition contains all conditions relevant to a Release.
  # @!attribute [rw] release_ready_condition
  #   @return [::Google::Cloud::Deploy::V1::Release::ReleaseReadyCondition]
  #     Details around the Releases's overall status.
  # @!attribute [rw] skaffold_supported_condition
  #   @return [::Google::Cloud::Deploy::V1::Release::SkaffoldSupportedCondition]
  #     Details around the support state of the release's Skaffold
  #     version.
  class ReleaseCondition
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class AnnotationsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::Google::Cloud::Deploy::V1::TargetArtifact]
  class TargetArtifactsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::Google::Cloud::Deploy::V1::Release::TargetRender]
  class TargetRendersEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class DeployParametersEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Valid states of the render operation.
  module RenderState
    # The render state is unspecified.
    RENDER_STATE_UNSPECIFIED = 0

    # All rendering operations have completed successfully.
    SUCCEEDED = 1

    # All rendering operations have completed, and one or more have failed.
    FAILED = 2

    # Rendering has started and is not complete.
    IN_PROGRESS = 3
  end
end

#condition::Google::Cloud::Deploy::V1::Release::ReleaseCondition (readonly)

Returns Output only. Information around the state of the Release.

Returns:



1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 1552

class Release
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Details of rendering for a single target.
  # @!attribute [r] rendering_build
  #   @return [::String]
  #     Output only. The resource name of the Cloud Build `Build` object that is
  #     used to render the manifest for this target. Format is
  #     `projects/{project}/locations/{location}/builds/{build}`.
  # @!attribute [r] rendering_state
  #   @return [::Google::Cloud::Deploy::V1::Release::TargetRender::TargetRenderState]
  #     Output only. Current state of the render operation for this Target.
  # @!attribute [r] metadata
  #   @return [::Google::Cloud::Deploy::V1::RenderMetadata]
  #     Output only. Metadata related to the `Release` render for this Target.
  # @!attribute [r] failure_cause
  #   @return [::Google::Cloud::Deploy::V1::Release::TargetRender::FailureCause]
  #     Output only. Reason this render failed. This will always be unspecified
  #     while the render in progress.
  # @!attribute [r] failure_message
  #   @return [::String]
  #     Output only. Additional information about the render failure, if
  #     available.
  class TargetRender
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Valid states of the render operation.
    module TargetRenderState
      # The render operation state is unspecified.
      TARGET_RENDER_STATE_UNSPECIFIED = 0

      # The render operation has completed successfully.
      SUCCEEDED = 1

      # The render operation has failed.
      FAILED = 2

      # The render operation is in progress.
      IN_PROGRESS = 3
    end

    # Well-known rendering failures.
    module FailureCause
      # No reason for failure is specified.
      FAILURE_CAUSE_UNSPECIFIED = 0

      # Cloud Build is not available, either because it is not enabled or
      # because Cloud Deploy has insufficient permissions. See [required
      # permission](https://cloud.google.com/deploy/docs/cloud-deploy-service-account#required_permissions).
      CLOUD_BUILD_UNAVAILABLE = 1

      # The render operation did not complete successfully; check Cloud Build
      # logs.
      EXECUTION_FAILED = 2

      # Cloud Build failed to fulfill Cloud Deploy's request. See
      # failure_message for additional details.
      CLOUD_BUILD_REQUEST_FAILED = 3

      # The render operation did not complete successfully because the
      # verification stanza required for verify was not found on the Skaffold
      # configuration.
      VERIFICATION_CONFIG_NOT_FOUND = 4

      # The render operation did not complete successfully because the custom
      # action required for predeploy or postdeploy was not found in the
      # Skaffold configuration. See failure_message for additional details.
      CUSTOM_ACTION_NOT_FOUND = 5

      # Release failed during rendering because the release configuration is
      # not supported with the specified deployment strategy.
      DEPLOYMENT_STRATEGY_NOT_SUPPORTED = 6

      # The render operation had a feature configured that is not supported.
      RENDER_FEATURE_NOT_SUPPORTED = 7
    end
  end

  # ReleaseReadyCondition contains information around the status of the
  # Release. If a release is not ready, you cannot create a rollout with the
  # release.
  # @!attribute [rw] status
  #   @return [::Boolean]
  #     True if the Release is in a valid state. Otherwise at least one condition
  #     in `ReleaseCondition` is in an invalid state. Iterate over those
  #     conditions and see which condition(s) has status = false to find out what
  #     is wrong with the Release.
  class ReleaseReadyCondition
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # SkaffoldSupportedCondition contains information about when support for the
  # release's version of Skaffold ends.
  # @!attribute [rw] status
  #   @return [::Boolean]
  #     True if the version of Skaffold used by this release is supported.
  # @!attribute [rw] skaffold_support_state
  #   @return [::Google::Cloud::Deploy::V1::SkaffoldSupportState]
  #     The Skaffold support state for this release's version of Skaffold.
  # @!attribute [rw] maintenance_mode_time
  #   @return [::Google::Protobuf::Timestamp]
  #     The time at which this release's version of Skaffold will enter
  #     maintenance mode.
  # @!attribute [rw] support_expiration_time
  #   @return [::Google::Protobuf::Timestamp]
  #     The time at which this release's version of Skaffold will no longer be
  #     supported.
  class SkaffoldSupportedCondition
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # ReleaseCondition contains all conditions relevant to a Release.
  # @!attribute [rw] release_ready_condition
  #   @return [::Google::Cloud::Deploy::V1::Release::ReleaseReadyCondition]
  #     Details around the Releases's overall status.
  # @!attribute [rw] skaffold_supported_condition
  #   @return [::Google::Cloud::Deploy::V1::Release::SkaffoldSupportedCondition]
  #     Details around the support state of the release's Skaffold
  #     version.
  class ReleaseCondition
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class AnnotationsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::Google::Cloud::Deploy::V1::TargetArtifact]
  class TargetArtifactsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::Google::Cloud::Deploy::V1::Release::TargetRender]
  class TargetRendersEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class DeployParametersEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Valid states of the render operation.
  module RenderState
    # The render state is unspecified.
    RENDER_STATE_UNSPECIFIED = 0

    # All rendering operations have completed successfully.
    SUCCEEDED = 1

    # All rendering operations have completed, and one or more have failed.
    FAILED = 2

    # Rendering has started and is not complete.
    IN_PROGRESS = 3
  end
end

#create_time::Google::Protobuf::Timestamp (readonly)

Returns Output only. Time at which the Release was created.

Returns:



1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 1552

class Release
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Details of rendering for a single target.
  # @!attribute [r] rendering_build
  #   @return [::String]
  #     Output only. The resource name of the Cloud Build `Build` object that is
  #     used to render the manifest for this target. Format is
  #     `projects/{project}/locations/{location}/builds/{build}`.
  # @!attribute [r] rendering_state
  #   @return [::Google::Cloud::Deploy::V1::Release::TargetRender::TargetRenderState]
  #     Output only. Current state of the render operation for this Target.
  # @!attribute [r] metadata
  #   @return [::Google::Cloud::Deploy::V1::RenderMetadata]
  #     Output only. Metadata related to the `Release` render for this Target.
  # @!attribute [r] failure_cause
  #   @return [::Google::Cloud::Deploy::V1::Release::TargetRender::FailureCause]
  #     Output only. Reason this render failed. This will always be unspecified
  #     while the render in progress.
  # @!attribute [r] failure_message
  #   @return [::String]
  #     Output only. Additional information about the render failure, if
  #     available.
  class TargetRender
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Valid states of the render operation.
    module TargetRenderState
      # The render operation state is unspecified.
      TARGET_RENDER_STATE_UNSPECIFIED = 0

      # The render operation has completed successfully.
      SUCCEEDED = 1

      # The render operation has failed.
      FAILED = 2

      # The render operation is in progress.
      IN_PROGRESS = 3
    end

    # Well-known rendering failures.
    module FailureCause
      # No reason for failure is specified.
      FAILURE_CAUSE_UNSPECIFIED = 0

      # Cloud Build is not available, either because it is not enabled or
      # because Cloud Deploy has insufficient permissions. See [required
      # permission](https://cloud.google.com/deploy/docs/cloud-deploy-service-account#required_permissions).
      CLOUD_BUILD_UNAVAILABLE = 1

      # The render operation did not complete successfully; check Cloud Build
      # logs.
      EXECUTION_FAILED = 2

      # Cloud Build failed to fulfill Cloud Deploy's request. See
      # failure_message for additional details.
      CLOUD_BUILD_REQUEST_FAILED = 3

      # The render operation did not complete successfully because the
      # verification stanza required for verify was not found on the Skaffold
      # configuration.
      VERIFICATION_CONFIG_NOT_FOUND = 4

      # The render operation did not complete successfully because the custom
      # action required for predeploy or postdeploy was not found in the
      # Skaffold configuration. See failure_message for additional details.
      CUSTOM_ACTION_NOT_FOUND = 5

      # Release failed during rendering because the release configuration is
      # not supported with the specified deployment strategy.
      DEPLOYMENT_STRATEGY_NOT_SUPPORTED = 6

      # The render operation had a feature configured that is not supported.
      RENDER_FEATURE_NOT_SUPPORTED = 7
    end
  end

  # ReleaseReadyCondition contains information around the status of the
  # Release. If a release is not ready, you cannot create a rollout with the
  # release.
  # @!attribute [rw] status
  #   @return [::Boolean]
  #     True if the Release is in a valid state. Otherwise at least one condition
  #     in `ReleaseCondition` is in an invalid state. Iterate over those
  #     conditions and see which condition(s) has status = false to find out what
  #     is wrong with the Release.
  class ReleaseReadyCondition
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # SkaffoldSupportedCondition contains information about when support for the
  # release's version of Skaffold ends.
  # @!attribute [rw] status
  #   @return [::Boolean]
  #     True if the version of Skaffold used by this release is supported.
  # @!attribute [rw] skaffold_support_state
  #   @return [::Google::Cloud::Deploy::V1::SkaffoldSupportState]
  #     The Skaffold support state for this release's version of Skaffold.
  # @!attribute [rw] maintenance_mode_time
  #   @return [::Google::Protobuf::Timestamp]
  #     The time at which this release's version of Skaffold will enter
  #     maintenance mode.
  # @!attribute [rw] support_expiration_time
  #   @return [::Google::Protobuf::Timestamp]
  #     The time at which this release's version of Skaffold will no longer be
  #     supported.
  class SkaffoldSupportedCondition
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # ReleaseCondition contains all conditions relevant to a Release.
  # @!attribute [rw] release_ready_condition
  #   @return [::Google::Cloud::Deploy::V1::Release::ReleaseReadyCondition]
  #     Details around the Releases's overall status.
  # @!attribute [rw] skaffold_supported_condition
  #   @return [::Google::Cloud::Deploy::V1::Release::SkaffoldSupportedCondition]
  #     Details around the support state of the release's Skaffold
  #     version.
  class ReleaseCondition
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class AnnotationsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::Google::Cloud::Deploy::V1::TargetArtifact]
  class TargetArtifactsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::Google::Cloud::Deploy::V1::Release::TargetRender]
  class TargetRendersEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class DeployParametersEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Valid states of the render operation.
  module RenderState
    # The render state is unspecified.
    RENDER_STATE_UNSPECIFIED = 0

    # All rendering operations have completed successfully.
    SUCCEEDED = 1

    # All rendering operations have completed, and one or more have failed.
    FAILED = 2

    # Rendering has started and is not complete.
    IN_PROGRESS = 3
  end
end

#custom_target_type_snapshots::Array<::Google::Cloud::Deploy::V1::CustomTargetType> (readonly)

Returns Output only. Snapshot of the custom target types referenced by the targets taken at release creation time.

Returns:



1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 1552

class Release
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Details of rendering for a single target.
  # @!attribute [r] rendering_build
  #   @return [::String]
  #     Output only. The resource name of the Cloud Build `Build` object that is
  #     used to render the manifest for this target. Format is
  #     `projects/{project}/locations/{location}/builds/{build}`.
  # @!attribute [r] rendering_state
  #   @return [::Google::Cloud::Deploy::V1::Release::TargetRender::TargetRenderState]
  #     Output only. Current state of the render operation for this Target.
  # @!attribute [r] metadata
  #   @return [::Google::Cloud::Deploy::V1::RenderMetadata]
  #     Output only. Metadata related to the `Release` render for this Target.
  # @!attribute [r] failure_cause
  #   @return [::Google::Cloud::Deploy::V1::Release::TargetRender::FailureCause]
  #     Output only. Reason this render failed. This will always be unspecified
  #     while the render in progress.
  # @!attribute [r] failure_message
  #   @return [::String]
  #     Output only. Additional information about the render failure, if
  #     available.
  class TargetRender
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Valid states of the render operation.
    module TargetRenderState
      # The render operation state is unspecified.
      TARGET_RENDER_STATE_UNSPECIFIED = 0

      # The render operation has completed successfully.
      SUCCEEDED = 1

      # The render operation has failed.
      FAILED = 2

      # The render operation is in progress.
      IN_PROGRESS = 3
    end

    # Well-known rendering failures.
    module FailureCause
      # No reason for failure is specified.
      FAILURE_CAUSE_UNSPECIFIED = 0

      # Cloud Build is not available, either because it is not enabled or
      # because Cloud Deploy has insufficient permissions. See [required
      # permission](https://cloud.google.com/deploy/docs/cloud-deploy-service-account#required_permissions).
      CLOUD_BUILD_UNAVAILABLE = 1

      # The render operation did not complete successfully; check Cloud Build
      # logs.
      EXECUTION_FAILED = 2

      # Cloud Build failed to fulfill Cloud Deploy's request. See
      # failure_message for additional details.
      CLOUD_BUILD_REQUEST_FAILED = 3

      # The render operation did not complete successfully because the
      # verification stanza required for verify was not found on the Skaffold
      # configuration.
      VERIFICATION_CONFIG_NOT_FOUND = 4

      # The render operation did not complete successfully because the custom
      # action required for predeploy or postdeploy was not found in the
      # Skaffold configuration. See failure_message for additional details.
      CUSTOM_ACTION_NOT_FOUND = 5

      # Release failed during rendering because the release configuration is
      # not supported with the specified deployment strategy.
      DEPLOYMENT_STRATEGY_NOT_SUPPORTED = 6

      # The render operation had a feature configured that is not supported.
      RENDER_FEATURE_NOT_SUPPORTED = 7
    end
  end

  # ReleaseReadyCondition contains information around the status of the
  # Release. If a release is not ready, you cannot create a rollout with the
  # release.
  # @!attribute [rw] status
  #   @return [::Boolean]
  #     True if the Release is in a valid state. Otherwise at least one condition
  #     in `ReleaseCondition` is in an invalid state. Iterate over those
  #     conditions and see which condition(s) has status = false to find out what
  #     is wrong with the Release.
  class ReleaseReadyCondition
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # SkaffoldSupportedCondition contains information about when support for the
  # release's version of Skaffold ends.
  # @!attribute [rw] status
  #   @return [::Boolean]
  #     True if the version of Skaffold used by this release is supported.
  # @!attribute [rw] skaffold_support_state
  #   @return [::Google::Cloud::Deploy::V1::SkaffoldSupportState]
  #     The Skaffold support state for this release's version of Skaffold.
  # @!attribute [rw] maintenance_mode_time
  #   @return [::Google::Protobuf::Timestamp]
  #     The time at which this release's version of Skaffold will enter
  #     maintenance mode.
  # @!attribute [rw] support_expiration_time
  #   @return [::Google::Protobuf::Timestamp]
  #     The time at which this release's version of Skaffold will no longer be
  #     supported.
  class SkaffoldSupportedCondition
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # ReleaseCondition contains all conditions relevant to a Release.
  # @!attribute [rw] release_ready_condition
  #   @return [::Google::Cloud::Deploy::V1::Release::ReleaseReadyCondition]
  #     Details around the Releases's overall status.
  # @!attribute [rw] skaffold_supported_condition
  #   @return [::Google::Cloud::Deploy::V1::Release::SkaffoldSupportedCondition]
  #     Details around the support state of the release's Skaffold
  #     version.
  class ReleaseCondition
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class AnnotationsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::Google::Cloud::Deploy::V1::TargetArtifact]
  class TargetArtifactsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::Google::Cloud::Deploy::V1::Release::TargetRender]
  class TargetRendersEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class DeployParametersEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Valid states of the render operation.
  module RenderState
    # The render state is unspecified.
    RENDER_STATE_UNSPECIFIED = 0

    # All rendering operations have completed successfully.
    SUCCEEDED = 1

    # All rendering operations have completed, and one or more have failed.
    FAILED = 2

    # Rendering has started and is not complete.
    IN_PROGRESS = 3
  end
end

#delivery_pipeline_snapshot::Google::Cloud::Deploy::V1::DeliveryPipeline (readonly)

Returns Output only. Snapshot of the parent pipeline taken at release creation time.

Returns:



1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 1552

class Release
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Details of rendering for a single target.
  # @!attribute [r] rendering_build
  #   @return [::String]
  #     Output only. The resource name of the Cloud Build `Build` object that is
  #     used to render the manifest for this target. Format is
  #     `projects/{project}/locations/{location}/builds/{build}`.
  # @!attribute [r] rendering_state
  #   @return [::Google::Cloud::Deploy::V1::Release::TargetRender::TargetRenderState]
  #     Output only. Current state of the render operation for this Target.
  # @!attribute [r] metadata
  #   @return [::Google::Cloud::Deploy::V1::RenderMetadata]
  #     Output only. Metadata related to the `Release` render for this Target.
  # @!attribute [r] failure_cause
  #   @return [::Google::Cloud::Deploy::V1::Release::TargetRender::FailureCause]
  #     Output only. Reason this render failed. This will always be unspecified
  #     while the render in progress.
  # @!attribute [r] failure_message
  #   @return [::String]
  #     Output only. Additional information about the render failure, if
  #     available.
  class TargetRender
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Valid states of the render operation.
    module TargetRenderState
      # The render operation state is unspecified.
      TARGET_RENDER_STATE_UNSPECIFIED = 0

      # The render operation has completed successfully.
      SUCCEEDED = 1

      # The render operation has failed.
      FAILED = 2

      # The render operation is in progress.
      IN_PROGRESS = 3
    end

    # Well-known rendering failures.
    module FailureCause
      # No reason for failure is specified.
      FAILURE_CAUSE_UNSPECIFIED = 0

      # Cloud Build is not available, either because it is not enabled or
      # because Cloud Deploy has insufficient permissions. See [required
      # permission](https://cloud.google.com/deploy/docs/cloud-deploy-service-account#required_permissions).
      CLOUD_BUILD_UNAVAILABLE = 1

      # The render operation did not complete successfully; check Cloud Build
      # logs.
      EXECUTION_FAILED = 2

      # Cloud Build failed to fulfill Cloud Deploy's request. See
      # failure_message for additional details.
      CLOUD_BUILD_REQUEST_FAILED = 3

      # The render operation did not complete successfully because the
      # verification stanza required for verify was not found on the Skaffold
      # configuration.
      VERIFICATION_CONFIG_NOT_FOUND = 4

      # The render operation did not complete successfully because the custom
      # action required for predeploy or postdeploy was not found in the
      # Skaffold configuration. See failure_message for additional details.
      CUSTOM_ACTION_NOT_FOUND = 5

      # Release failed during rendering because the release configuration is
      # not supported with the specified deployment strategy.
      DEPLOYMENT_STRATEGY_NOT_SUPPORTED = 6

      # The render operation had a feature configured that is not supported.
      RENDER_FEATURE_NOT_SUPPORTED = 7
    end
  end

  # ReleaseReadyCondition contains information around the status of the
  # Release. If a release is not ready, you cannot create a rollout with the
  # release.
  # @!attribute [rw] status
  #   @return [::Boolean]
  #     True if the Release is in a valid state. Otherwise at least one condition
  #     in `ReleaseCondition` is in an invalid state. Iterate over those
  #     conditions and see which condition(s) has status = false to find out what
  #     is wrong with the Release.
  class ReleaseReadyCondition
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # SkaffoldSupportedCondition contains information about when support for the
  # release's version of Skaffold ends.
  # @!attribute [rw] status
  #   @return [::Boolean]
  #     True if the version of Skaffold used by this release is supported.
  # @!attribute [rw] skaffold_support_state
  #   @return [::Google::Cloud::Deploy::V1::SkaffoldSupportState]
  #     The Skaffold support state for this release's version of Skaffold.
  # @!attribute [rw] maintenance_mode_time
  #   @return [::Google::Protobuf::Timestamp]
  #     The time at which this release's version of Skaffold will enter
  #     maintenance mode.
  # @!attribute [rw] support_expiration_time
  #   @return [::Google::Protobuf::Timestamp]
  #     The time at which this release's version of Skaffold will no longer be
  #     supported.
  class SkaffoldSupportedCondition
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # ReleaseCondition contains all conditions relevant to a Release.
  # @!attribute [rw] release_ready_condition
  #   @return [::Google::Cloud::Deploy::V1::Release::ReleaseReadyCondition]
  #     Details around the Releases's overall status.
  # @!attribute [rw] skaffold_supported_condition
  #   @return [::Google::Cloud::Deploy::V1::Release::SkaffoldSupportedCondition]
  #     Details around the support state of the release's Skaffold
  #     version.
  class ReleaseCondition
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class AnnotationsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::Google::Cloud::Deploy::V1::TargetArtifact]
  class TargetArtifactsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::Google::Cloud::Deploy::V1::Release::TargetRender]
  class TargetRendersEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class DeployParametersEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Valid states of the render operation.
  module RenderState
    # The render state is unspecified.
    RENDER_STATE_UNSPECIFIED = 0

    # All rendering operations have completed successfully.
    SUCCEEDED = 1

    # All rendering operations have completed, and one or more have failed.
    FAILED = 2

    # Rendering has started and is not complete.
    IN_PROGRESS = 3
  end
end

#deploy_parameters::Google::Protobuf::Map{::String => ::String}

Returns Optional. The deploy parameters to use for all targets in this release.

Returns:

  • (::Google::Protobuf::Map{::String => ::String})

    Optional. The deploy parameters to use for all targets in this release.



1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 1552

class Release
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Details of rendering for a single target.
  # @!attribute [r] rendering_build
  #   @return [::String]
  #     Output only. The resource name of the Cloud Build `Build` object that is
  #     used to render the manifest for this target. Format is
  #     `projects/{project}/locations/{location}/builds/{build}`.
  # @!attribute [r] rendering_state
  #   @return [::Google::Cloud::Deploy::V1::Release::TargetRender::TargetRenderState]
  #     Output only. Current state of the render operation for this Target.
  # @!attribute [r] metadata
  #   @return [::Google::Cloud::Deploy::V1::RenderMetadata]
  #     Output only. Metadata related to the `Release` render for this Target.
  # @!attribute [r] failure_cause
  #   @return [::Google::Cloud::Deploy::V1::Release::TargetRender::FailureCause]
  #     Output only. Reason this render failed. This will always be unspecified
  #     while the render in progress.
  # @!attribute [r] failure_message
  #   @return [::String]
  #     Output only. Additional information about the render failure, if
  #     available.
  class TargetRender
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Valid states of the render operation.
    module TargetRenderState
      # The render operation state is unspecified.
      TARGET_RENDER_STATE_UNSPECIFIED = 0

      # The render operation has completed successfully.
      SUCCEEDED = 1

      # The render operation has failed.
      FAILED = 2

      # The render operation is in progress.
      IN_PROGRESS = 3
    end

    # Well-known rendering failures.
    module FailureCause
      # No reason for failure is specified.
      FAILURE_CAUSE_UNSPECIFIED = 0

      # Cloud Build is not available, either because it is not enabled or
      # because Cloud Deploy has insufficient permissions. See [required
      # permission](https://cloud.google.com/deploy/docs/cloud-deploy-service-account#required_permissions).
      CLOUD_BUILD_UNAVAILABLE = 1

      # The render operation did not complete successfully; check Cloud Build
      # logs.
      EXECUTION_FAILED = 2

      # Cloud Build failed to fulfill Cloud Deploy's request. See
      # failure_message for additional details.
      CLOUD_BUILD_REQUEST_FAILED = 3

      # The render operation did not complete successfully because the
      # verification stanza required for verify was not found on the Skaffold
      # configuration.
      VERIFICATION_CONFIG_NOT_FOUND = 4

      # The render operation did not complete successfully because the custom
      # action required for predeploy or postdeploy was not found in the
      # Skaffold configuration. See failure_message for additional details.
      CUSTOM_ACTION_NOT_FOUND = 5

      # Release failed during rendering because the release configuration is
      # not supported with the specified deployment strategy.
      DEPLOYMENT_STRATEGY_NOT_SUPPORTED = 6

      # The render operation had a feature configured that is not supported.
      RENDER_FEATURE_NOT_SUPPORTED = 7
    end
  end

  # ReleaseReadyCondition contains information around the status of the
  # Release. If a release is not ready, you cannot create a rollout with the
  # release.
  # @!attribute [rw] status
  #   @return [::Boolean]
  #     True if the Release is in a valid state. Otherwise at least one condition
  #     in `ReleaseCondition` is in an invalid state. Iterate over those
  #     conditions and see which condition(s) has status = false to find out what
  #     is wrong with the Release.
  class ReleaseReadyCondition
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # SkaffoldSupportedCondition contains information about when support for the
  # release's version of Skaffold ends.
  # @!attribute [rw] status
  #   @return [::Boolean]
  #     True if the version of Skaffold used by this release is supported.
  # @!attribute [rw] skaffold_support_state
  #   @return [::Google::Cloud::Deploy::V1::SkaffoldSupportState]
  #     The Skaffold support state for this release's version of Skaffold.
  # @!attribute [rw] maintenance_mode_time
  #   @return [::Google::Protobuf::Timestamp]
  #     The time at which this release's version of Skaffold will enter
  #     maintenance mode.
  # @!attribute [rw] support_expiration_time
  #   @return [::Google::Protobuf::Timestamp]
  #     The time at which this release's version of Skaffold will no longer be
  #     supported.
  class SkaffoldSupportedCondition
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # ReleaseCondition contains all conditions relevant to a Release.
  # @!attribute [rw] release_ready_condition
  #   @return [::Google::Cloud::Deploy::V1::Release::ReleaseReadyCondition]
  #     Details around the Releases's overall status.
  # @!attribute [rw] skaffold_supported_condition
  #   @return [::Google::Cloud::Deploy::V1::Release::SkaffoldSupportedCondition]
  #     Details around the support state of the release's Skaffold
  #     version.
  class ReleaseCondition
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class AnnotationsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::Google::Cloud::Deploy::V1::TargetArtifact]
  class TargetArtifactsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::Google::Cloud::Deploy::V1::Release::TargetRender]
  class TargetRendersEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class DeployParametersEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Valid states of the render operation.
  module RenderState
    # The render state is unspecified.
    RENDER_STATE_UNSPECIFIED = 0

    # All rendering operations have completed successfully.
    SUCCEEDED = 1

    # All rendering operations have completed, and one or more have failed.
    FAILED = 2

    # Rendering has started and is not complete.
    IN_PROGRESS = 3
  end
end

#description::String

Returns Description of the Release. Max length is 255 characters.

Returns:

  • (::String)

    Description of the Release. Max length is 255 characters.



1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 1552

class Release
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Details of rendering for a single target.
  # @!attribute [r] rendering_build
  #   @return [::String]
  #     Output only. The resource name of the Cloud Build `Build` object that is
  #     used to render the manifest for this target. Format is
  #     `projects/{project}/locations/{location}/builds/{build}`.
  # @!attribute [r] rendering_state
  #   @return [::Google::Cloud::Deploy::V1::Release::TargetRender::TargetRenderState]
  #     Output only. Current state of the render operation for this Target.
  # @!attribute [r] metadata
  #   @return [::Google::Cloud::Deploy::V1::RenderMetadata]
  #     Output only. Metadata related to the `Release` render for this Target.
  # @!attribute [r] failure_cause
  #   @return [::Google::Cloud::Deploy::V1::Release::TargetRender::FailureCause]
  #     Output only. Reason this render failed. This will always be unspecified
  #     while the render in progress.
  # @!attribute [r] failure_message
  #   @return [::String]
  #     Output only. Additional information about the render failure, if
  #     available.
  class TargetRender
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Valid states of the render operation.
    module TargetRenderState
      # The render operation state is unspecified.
      TARGET_RENDER_STATE_UNSPECIFIED = 0

      # The render operation has completed successfully.
      SUCCEEDED = 1

      # The render operation has failed.
      FAILED = 2

      # The render operation is in progress.
      IN_PROGRESS = 3
    end

    # Well-known rendering failures.
    module FailureCause
      # No reason for failure is specified.
      FAILURE_CAUSE_UNSPECIFIED = 0

      # Cloud Build is not available, either because it is not enabled or
      # because Cloud Deploy has insufficient permissions. See [required
      # permission](https://cloud.google.com/deploy/docs/cloud-deploy-service-account#required_permissions).
      CLOUD_BUILD_UNAVAILABLE = 1

      # The render operation did not complete successfully; check Cloud Build
      # logs.
      EXECUTION_FAILED = 2

      # Cloud Build failed to fulfill Cloud Deploy's request. See
      # failure_message for additional details.
      CLOUD_BUILD_REQUEST_FAILED = 3

      # The render operation did not complete successfully because the
      # verification stanza required for verify was not found on the Skaffold
      # configuration.
      VERIFICATION_CONFIG_NOT_FOUND = 4

      # The render operation did not complete successfully because the custom
      # action required for predeploy or postdeploy was not found in the
      # Skaffold configuration. See failure_message for additional details.
      CUSTOM_ACTION_NOT_FOUND = 5

      # Release failed during rendering because the release configuration is
      # not supported with the specified deployment strategy.
      DEPLOYMENT_STRATEGY_NOT_SUPPORTED = 6

      # The render operation had a feature configured that is not supported.
      RENDER_FEATURE_NOT_SUPPORTED = 7
    end
  end

  # ReleaseReadyCondition contains information around the status of the
  # Release. If a release is not ready, you cannot create a rollout with the
  # release.
  # @!attribute [rw] status
  #   @return [::Boolean]
  #     True if the Release is in a valid state. Otherwise at least one condition
  #     in `ReleaseCondition` is in an invalid state. Iterate over those
  #     conditions and see which condition(s) has status = false to find out what
  #     is wrong with the Release.
  class ReleaseReadyCondition
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # SkaffoldSupportedCondition contains information about when support for the
  # release's version of Skaffold ends.
  # @!attribute [rw] status
  #   @return [::Boolean]
  #     True if the version of Skaffold used by this release is supported.
  # @!attribute [rw] skaffold_support_state
  #   @return [::Google::Cloud::Deploy::V1::SkaffoldSupportState]
  #     The Skaffold support state for this release's version of Skaffold.
  # @!attribute [rw] maintenance_mode_time
  #   @return [::Google::Protobuf::Timestamp]
  #     The time at which this release's version of Skaffold will enter
  #     maintenance mode.
  # @!attribute [rw] support_expiration_time
  #   @return [::Google::Protobuf::Timestamp]
  #     The time at which this release's version of Skaffold will no longer be
  #     supported.
  class SkaffoldSupportedCondition
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # ReleaseCondition contains all conditions relevant to a Release.
  # @!attribute [rw] release_ready_condition
  #   @return [::Google::Cloud::Deploy::V1::Release::ReleaseReadyCondition]
  #     Details around the Releases's overall status.
  # @!attribute [rw] skaffold_supported_condition
  #   @return [::Google::Cloud::Deploy::V1::Release::SkaffoldSupportedCondition]
  #     Details around the support state of the release's Skaffold
  #     version.
  class ReleaseCondition
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class AnnotationsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::Google::Cloud::Deploy::V1::TargetArtifact]
  class TargetArtifactsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::Google::Cloud::Deploy::V1::Release::TargetRender]
  class TargetRendersEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class DeployParametersEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Valid states of the render operation.
  module RenderState
    # The render state is unspecified.
    RENDER_STATE_UNSPECIFIED = 0

    # All rendering operations have completed successfully.
    SUCCEEDED = 1

    # All rendering operations have completed, and one or more have failed.
    FAILED = 2

    # Rendering has started and is not complete.
    IN_PROGRESS = 3
  end
end

#etag::String

Returns This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.

Returns:

  • (::String)

    This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.



1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 1552

class Release
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Details of rendering for a single target.
  # @!attribute [r] rendering_build
  #   @return [::String]
  #     Output only. The resource name of the Cloud Build `Build` object that is
  #     used to render the manifest for this target. Format is
  #     `projects/{project}/locations/{location}/builds/{build}`.
  # @!attribute [r] rendering_state
  #   @return [::Google::Cloud::Deploy::V1::Release::TargetRender::TargetRenderState]
  #     Output only. Current state of the render operation for this Target.
  # @!attribute [r] metadata
  #   @return [::Google::Cloud::Deploy::V1::RenderMetadata]
  #     Output only. Metadata related to the `Release` render for this Target.
  # @!attribute [r] failure_cause
  #   @return [::Google::Cloud::Deploy::V1::Release::TargetRender::FailureCause]
  #     Output only. Reason this render failed. This will always be unspecified
  #     while the render in progress.
  # @!attribute [r] failure_message
  #   @return [::String]
  #     Output only. Additional information about the render failure, if
  #     available.
  class TargetRender
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Valid states of the render operation.
    module TargetRenderState
      # The render operation state is unspecified.
      TARGET_RENDER_STATE_UNSPECIFIED = 0

      # The render operation has completed successfully.
      SUCCEEDED = 1

      # The render operation has failed.
      FAILED = 2

      # The render operation is in progress.
      IN_PROGRESS = 3
    end

    # Well-known rendering failures.
    module FailureCause
      # No reason for failure is specified.
      FAILURE_CAUSE_UNSPECIFIED = 0

      # Cloud Build is not available, either because it is not enabled or
      # because Cloud Deploy has insufficient permissions. See [required
      # permission](https://cloud.google.com/deploy/docs/cloud-deploy-service-account#required_permissions).
      CLOUD_BUILD_UNAVAILABLE = 1

      # The render operation did not complete successfully; check Cloud Build
      # logs.
      EXECUTION_FAILED = 2

      # Cloud Build failed to fulfill Cloud Deploy's request. See
      # failure_message for additional details.
      CLOUD_BUILD_REQUEST_FAILED = 3

      # The render operation did not complete successfully because the
      # verification stanza required for verify was not found on the Skaffold
      # configuration.
      VERIFICATION_CONFIG_NOT_FOUND = 4

      # The render operation did not complete successfully because the custom
      # action required for predeploy or postdeploy was not found in the
      # Skaffold configuration. See failure_message for additional details.
      CUSTOM_ACTION_NOT_FOUND = 5

      # Release failed during rendering because the release configuration is
      # not supported with the specified deployment strategy.
      DEPLOYMENT_STRATEGY_NOT_SUPPORTED = 6

      # The render operation had a feature configured that is not supported.
      RENDER_FEATURE_NOT_SUPPORTED = 7
    end
  end

  # ReleaseReadyCondition contains information around the status of the
  # Release. If a release is not ready, you cannot create a rollout with the
  # release.
  # @!attribute [rw] status
  #   @return [::Boolean]
  #     True if the Release is in a valid state. Otherwise at least one condition
  #     in `ReleaseCondition` is in an invalid state. Iterate over those
  #     conditions and see which condition(s) has status = false to find out what
  #     is wrong with the Release.
  class ReleaseReadyCondition
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # SkaffoldSupportedCondition contains information about when support for the
  # release's version of Skaffold ends.
  # @!attribute [rw] status
  #   @return [::Boolean]
  #     True if the version of Skaffold used by this release is supported.
  # @!attribute [rw] skaffold_support_state
  #   @return [::Google::Cloud::Deploy::V1::SkaffoldSupportState]
  #     The Skaffold support state for this release's version of Skaffold.
  # @!attribute [rw] maintenance_mode_time
  #   @return [::Google::Protobuf::Timestamp]
  #     The time at which this release's version of Skaffold will enter
  #     maintenance mode.
  # @!attribute [rw] support_expiration_time
  #   @return [::Google::Protobuf::Timestamp]
  #     The time at which this release's version of Skaffold will no longer be
  #     supported.
  class SkaffoldSupportedCondition
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # ReleaseCondition contains all conditions relevant to a Release.
  # @!attribute [rw] release_ready_condition
  #   @return [::Google::Cloud::Deploy::V1::Release::ReleaseReadyCondition]
  #     Details around the Releases's overall status.
  # @!attribute [rw] skaffold_supported_condition
  #   @return [::Google::Cloud::Deploy::V1::Release::SkaffoldSupportedCondition]
  #     Details around the support state of the release's Skaffold
  #     version.
  class ReleaseCondition
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class AnnotationsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::Google::Cloud::Deploy::V1::TargetArtifact]
  class TargetArtifactsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::Google::Cloud::Deploy::V1::Release::TargetRender]
  class TargetRendersEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class DeployParametersEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Valid states of the render operation.
  module RenderState
    # The render state is unspecified.
    RENDER_STATE_UNSPECIFIED = 0

    # All rendering operations have completed successfully.
    SUCCEEDED = 1

    # All rendering operations have completed, and one or more have failed.
    FAILED = 2

    # Rendering has started and is not complete.
    IN_PROGRESS = 3
  end
end

#labels::Google::Protobuf::Map{::String => ::String}

Returns Labels are attributes that can be set and used by both the user and by Cloud Deploy. Labels must meet the following constraints:

  • Keys and values can contain only lowercase letters, numeric characters, underscores, and dashes.
  • All characters must use UTF-8 encoding, and international characters are allowed.
  • Keys must start with a lowercase letter or international character.
  • Each resource is limited to a maximum of 64 labels.

Both keys and values are additionally constrained to be <= 128 bytes.

Returns:

  • (::Google::Protobuf::Map{::String => ::String})

    Labels are attributes that can be set and used by both the user and by Cloud Deploy. Labels must meet the following constraints:

    • Keys and values can contain only lowercase letters, numeric characters, underscores, and dashes.
    • All characters must use UTF-8 encoding, and international characters are allowed.
    • Keys must start with a lowercase letter or international character.
    • Each resource is limited to a maximum of 64 labels.

    Both keys and values are additionally constrained to be <= 128 bytes.



1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 1552

class Release
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Details of rendering for a single target.
  # @!attribute [r] rendering_build
  #   @return [::String]
  #     Output only. The resource name of the Cloud Build `Build` object that is
  #     used to render the manifest for this target. Format is
  #     `projects/{project}/locations/{location}/builds/{build}`.
  # @!attribute [r] rendering_state
  #   @return [::Google::Cloud::Deploy::V1::Release::TargetRender::TargetRenderState]
  #     Output only. Current state of the render operation for this Target.
  # @!attribute [r] metadata
  #   @return [::Google::Cloud::Deploy::V1::RenderMetadata]
  #     Output only. Metadata related to the `Release` render for this Target.
  # @!attribute [r] failure_cause
  #   @return [::Google::Cloud::Deploy::V1::Release::TargetRender::FailureCause]
  #     Output only. Reason this render failed. This will always be unspecified
  #     while the render in progress.
  # @!attribute [r] failure_message
  #   @return [::String]
  #     Output only. Additional information about the render failure, if
  #     available.
  class TargetRender
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Valid states of the render operation.
    module TargetRenderState
      # The render operation state is unspecified.
      TARGET_RENDER_STATE_UNSPECIFIED = 0

      # The render operation has completed successfully.
      SUCCEEDED = 1

      # The render operation has failed.
      FAILED = 2

      # The render operation is in progress.
      IN_PROGRESS = 3
    end

    # Well-known rendering failures.
    module FailureCause
      # No reason for failure is specified.
      FAILURE_CAUSE_UNSPECIFIED = 0

      # Cloud Build is not available, either because it is not enabled or
      # because Cloud Deploy has insufficient permissions. See [required
      # permission](https://cloud.google.com/deploy/docs/cloud-deploy-service-account#required_permissions).
      CLOUD_BUILD_UNAVAILABLE = 1

      # The render operation did not complete successfully; check Cloud Build
      # logs.
      EXECUTION_FAILED = 2

      # Cloud Build failed to fulfill Cloud Deploy's request. See
      # failure_message for additional details.
      CLOUD_BUILD_REQUEST_FAILED = 3

      # The render operation did not complete successfully because the
      # verification stanza required for verify was not found on the Skaffold
      # configuration.
      VERIFICATION_CONFIG_NOT_FOUND = 4

      # The render operation did not complete successfully because the custom
      # action required for predeploy or postdeploy was not found in the
      # Skaffold configuration. See failure_message for additional details.
      CUSTOM_ACTION_NOT_FOUND = 5

      # Release failed during rendering because the release configuration is
      # not supported with the specified deployment strategy.
      DEPLOYMENT_STRATEGY_NOT_SUPPORTED = 6

      # The render operation had a feature configured that is not supported.
      RENDER_FEATURE_NOT_SUPPORTED = 7
    end
  end

  # ReleaseReadyCondition contains information around the status of the
  # Release. If a release is not ready, you cannot create a rollout with the
  # release.
  # @!attribute [rw] status
  #   @return [::Boolean]
  #     True if the Release is in a valid state. Otherwise at least one condition
  #     in `ReleaseCondition` is in an invalid state. Iterate over those
  #     conditions and see which condition(s) has status = false to find out what
  #     is wrong with the Release.
  class ReleaseReadyCondition
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # SkaffoldSupportedCondition contains information about when support for the
  # release's version of Skaffold ends.
  # @!attribute [rw] status
  #   @return [::Boolean]
  #     True if the version of Skaffold used by this release is supported.
  # @!attribute [rw] skaffold_support_state
  #   @return [::Google::Cloud::Deploy::V1::SkaffoldSupportState]
  #     The Skaffold support state for this release's version of Skaffold.
  # @!attribute [rw] maintenance_mode_time
  #   @return [::Google::Protobuf::Timestamp]
  #     The time at which this release's version of Skaffold will enter
  #     maintenance mode.
  # @!attribute [rw] support_expiration_time
  #   @return [::Google::Protobuf::Timestamp]
  #     The time at which this release's version of Skaffold will no longer be
  #     supported.
  class SkaffoldSupportedCondition
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # ReleaseCondition contains all conditions relevant to a Release.
  # @!attribute [rw] release_ready_condition
  #   @return [::Google::Cloud::Deploy::V1::Release::ReleaseReadyCondition]
  #     Details around the Releases's overall status.
  # @!attribute [rw] skaffold_supported_condition
  #   @return [::Google::Cloud::Deploy::V1::Release::SkaffoldSupportedCondition]
  #     Details around the support state of the release's Skaffold
  #     version.
  class ReleaseCondition
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class AnnotationsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::Google::Cloud::Deploy::V1::TargetArtifact]
  class TargetArtifactsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::Google::Cloud::Deploy::V1::Release::TargetRender]
  class TargetRendersEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class DeployParametersEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Valid states of the render operation.
  module RenderState
    # The render state is unspecified.
    RENDER_STATE_UNSPECIFIED = 0

    # All rendering operations have completed successfully.
    SUCCEEDED = 1

    # All rendering operations have completed, and one or more have failed.
    FAILED = 2

    # Rendering has started and is not complete.
    IN_PROGRESS = 3
  end
end

#name::String

Returns Optional. Name of the Release. Format is projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/[a-z][a-z0-9\-]{0,62}.

Returns:

  • (::String)

    Optional. Name of the Release. Format is projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/[a-z][a-z0-9\-]{0,62}.



1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 1552

class Release
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Details of rendering for a single target.
  # @!attribute [r] rendering_build
  #   @return [::String]
  #     Output only. The resource name of the Cloud Build `Build` object that is
  #     used to render the manifest for this target. Format is
  #     `projects/{project}/locations/{location}/builds/{build}`.
  # @!attribute [r] rendering_state
  #   @return [::Google::Cloud::Deploy::V1::Release::TargetRender::TargetRenderState]
  #     Output only. Current state of the render operation for this Target.
  # @!attribute [r] metadata
  #   @return [::Google::Cloud::Deploy::V1::RenderMetadata]
  #     Output only. Metadata related to the `Release` render for this Target.
  # @!attribute [r] failure_cause
  #   @return [::Google::Cloud::Deploy::V1::Release::TargetRender::FailureCause]
  #     Output only. Reason this render failed. This will always be unspecified
  #     while the render in progress.
  # @!attribute [r] failure_message
  #   @return [::String]
  #     Output only. Additional information about the render failure, if
  #     available.
  class TargetRender
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Valid states of the render operation.
    module TargetRenderState
      # The render operation state is unspecified.
      TARGET_RENDER_STATE_UNSPECIFIED = 0

      # The render operation has completed successfully.
      SUCCEEDED = 1

      # The render operation has failed.
      FAILED = 2

      # The render operation is in progress.
      IN_PROGRESS = 3
    end

    # Well-known rendering failures.
    module FailureCause
      # No reason for failure is specified.
      FAILURE_CAUSE_UNSPECIFIED = 0

      # Cloud Build is not available, either because it is not enabled or
      # because Cloud Deploy has insufficient permissions. See [required
      # permission](https://cloud.google.com/deploy/docs/cloud-deploy-service-account#required_permissions).
      CLOUD_BUILD_UNAVAILABLE = 1

      # The render operation did not complete successfully; check Cloud Build
      # logs.
      EXECUTION_FAILED = 2

      # Cloud Build failed to fulfill Cloud Deploy's request. See
      # failure_message for additional details.
      CLOUD_BUILD_REQUEST_FAILED = 3

      # The render operation did not complete successfully because the
      # verification stanza required for verify was not found on the Skaffold
      # configuration.
      VERIFICATION_CONFIG_NOT_FOUND = 4

      # The render operation did not complete successfully because the custom
      # action required for predeploy or postdeploy was not found in the
      # Skaffold configuration. See failure_message for additional details.
      CUSTOM_ACTION_NOT_FOUND = 5

      # Release failed during rendering because the release configuration is
      # not supported with the specified deployment strategy.
      DEPLOYMENT_STRATEGY_NOT_SUPPORTED = 6

      # The render operation had a feature configured that is not supported.
      RENDER_FEATURE_NOT_SUPPORTED = 7
    end
  end

  # ReleaseReadyCondition contains information around the status of the
  # Release. If a release is not ready, you cannot create a rollout with the
  # release.
  # @!attribute [rw] status
  #   @return [::Boolean]
  #     True if the Release is in a valid state. Otherwise at least one condition
  #     in `ReleaseCondition` is in an invalid state. Iterate over those
  #     conditions and see which condition(s) has status = false to find out what
  #     is wrong with the Release.
  class ReleaseReadyCondition
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # SkaffoldSupportedCondition contains information about when support for the
  # release's version of Skaffold ends.
  # @!attribute [rw] status
  #   @return [::Boolean]
  #     True if the version of Skaffold used by this release is supported.
  # @!attribute [rw] skaffold_support_state
  #   @return [::Google::Cloud::Deploy::V1::SkaffoldSupportState]
  #     The Skaffold support state for this release's version of Skaffold.
  # @!attribute [rw] maintenance_mode_time
  #   @return [::Google::Protobuf::Timestamp]
  #     The time at which this release's version of Skaffold will enter
  #     maintenance mode.
  # @!attribute [rw] support_expiration_time
  #   @return [::Google::Protobuf::Timestamp]
  #     The time at which this release's version of Skaffold will no longer be
  #     supported.
  class SkaffoldSupportedCondition
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # ReleaseCondition contains all conditions relevant to a Release.
  # @!attribute [rw] release_ready_condition
  #   @return [::Google::Cloud::Deploy::V1::Release::ReleaseReadyCondition]
  #     Details around the Releases's overall status.
  # @!attribute [rw] skaffold_supported_condition
  #   @return [::Google::Cloud::Deploy::V1::Release::SkaffoldSupportedCondition]
  #     Details around the support state of the release's Skaffold
  #     version.
  class ReleaseCondition
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class AnnotationsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::Google::Cloud::Deploy::V1::TargetArtifact]
  class TargetArtifactsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::Google::Cloud::Deploy::V1::Release::TargetRender]
  class TargetRendersEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class DeployParametersEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Valid states of the render operation.
  module RenderState
    # The render state is unspecified.
    RENDER_STATE_UNSPECIFIED = 0

    # All rendering operations have completed successfully.
    SUCCEEDED = 1

    # All rendering operations have completed, and one or more have failed.
    FAILED = 2

    # Rendering has started and is not complete.
    IN_PROGRESS = 3
  end
end

#render_end_time::Google::Protobuf::Timestamp (readonly)

Returns Output only. Time at which the render completed.

Returns:



1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 1552

class Release
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Details of rendering for a single target.
  # @!attribute [r] rendering_build
  #   @return [::String]
  #     Output only. The resource name of the Cloud Build `Build` object that is
  #     used to render the manifest for this target. Format is
  #     `projects/{project}/locations/{location}/builds/{build}`.
  # @!attribute [r] rendering_state
  #   @return [::Google::Cloud::Deploy::V1::Release::TargetRender::TargetRenderState]
  #     Output only. Current state of the render operation for this Target.
  # @!attribute [r] metadata
  #   @return [::Google::Cloud::Deploy::V1::RenderMetadata]
  #     Output only. Metadata related to the `Release` render for this Target.
  # @!attribute [r] failure_cause
  #   @return [::Google::Cloud::Deploy::V1::Release::TargetRender::FailureCause]
  #     Output only. Reason this render failed. This will always be unspecified
  #     while the render in progress.
  # @!attribute [r] failure_message
  #   @return [::String]
  #     Output only. Additional information about the render failure, if
  #     available.
  class TargetRender
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Valid states of the render operation.
    module TargetRenderState
      # The render operation state is unspecified.
      TARGET_RENDER_STATE_UNSPECIFIED = 0

      # The render operation has completed successfully.
      SUCCEEDED = 1

      # The render operation has failed.
      FAILED = 2

      # The render operation is in progress.
      IN_PROGRESS = 3
    end

    # Well-known rendering failures.
    module FailureCause
      # No reason for failure is specified.
      FAILURE_CAUSE_UNSPECIFIED = 0

      # Cloud Build is not available, either because it is not enabled or
      # because Cloud Deploy has insufficient permissions. See [required
      # permission](https://cloud.google.com/deploy/docs/cloud-deploy-service-account#required_permissions).
      CLOUD_BUILD_UNAVAILABLE = 1

      # The render operation did not complete successfully; check Cloud Build
      # logs.
      EXECUTION_FAILED = 2

      # Cloud Build failed to fulfill Cloud Deploy's request. See
      # failure_message for additional details.
      CLOUD_BUILD_REQUEST_FAILED = 3

      # The render operation did not complete successfully because the
      # verification stanza required for verify was not found on the Skaffold
      # configuration.
      VERIFICATION_CONFIG_NOT_FOUND = 4

      # The render operation did not complete successfully because the custom
      # action required for predeploy or postdeploy was not found in the
      # Skaffold configuration. See failure_message for additional details.
      CUSTOM_ACTION_NOT_FOUND = 5

      # Release failed during rendering because the release configuration is
      # not supported with the specified deployment strategy.
      DEPLOYMENT_STRATEGY_NOT_SUPPORTED = 6

      # The render operation had a feature configured that is not supported.
      RENDER_FEATURE_NOT_SUPPORTED = 7
    end
  end

  # ReleaseReadyCondition contains information around the status of the
  # Release. If a release is not ready, you cannot create a rollout with the
  # release.
  # @!attribute [rw] status
  #   @return [::Boolean]
  #     True if the Release is in a valid state. Otherwise at least one condition
  #     in `ReleaseCondition` is in an invalid state. Iterate over those
  #     conditions and see which condition(s) has status = false to find out what
  #     is wrong with the Release.
  class ReleaseReadyCondition
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # SkaffoldSupportedCondition contains information about when support for the
  # release's version of Skaffold ends.
  # @!attribute [rw] status
  #   @return [::Boolean]
  #     True if the version of Skaffold used by this release is supported.
  # @!attribute [rw] skaffold_support_state
  #   @return [::Google::Cloud::Deploy::V1::SkaffoldSupportState]
  #     The Skaffold support state for this release's version of Skaffold.
  # @!attribute [rw] maintenance_mode_time
  #   @return [::Google::Protobuf::Timestamp]
  #     The time at which this release's version of Skaffold will enter
  #     maintenance mode.
  # @!attribute [rw] support_expiration_time
  #   @return [::Google::Protobuf::Timestamp]
  #     The time at which this release's version of Skaffold will no longer be
  #     supported.
  class SkaffoldSupportedCondition
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # ReleaseCondition contains all conditions relevant to a Release.
  # @!attribute [rw] release_ready_condition
  #   @return [::Google::Cloud::Deploy::V1::Release::ReleaseReadyCondition]
  #     Details around the Releases's overall status.
  # @!attribute [rw] skaffold_supported_condition
  #   @return [::Google::Cloud::Deploy::V1::Release::SkaffoldSupportedCondition]
  #     Details around the support state of the release's Skaffold
  #     version.
  class ReleaseCondition
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class AnnotationsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::Google::Cloud::Deploy::V1::TargetArtifact]
  class TargetArtifactsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::Google::Cloud::Deploy::V1::Release::TargetRender]
  class TargetRendersEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class DeployParametersEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Valid states of the render operation.
  module RenderState
    # The render state is unspecified.
    RENDER_STATE_UNSPECIFIED = 0

    # All rendering operations have completed successfully.
    SUCCEEDED = 1

    # All rendering operations have completed, and one or more have failed.
    FAILED = 2

    # Rendering has started and is not complete.
    IN_PROGRESS = 3
  end
end

#render_start_time::Google::Protobuf::Timestamp (readonly)

Returns Output only. Time at which the render began.

Returns:



1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 1552

class Release
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Details of rendering for a single target.
  # @!attribute [r] rendering_build
  #   @return [::String]
  #     Output only. The resource name of the Cloud Build `Build` object that is
  #     used to render the manifest for this target. Format is
  #     `projects/{project}/locations/{location}/builds/{build}`.
  # @!attribute [r] rendering_state
  #   @return [::Google::Cloud::Deploy::V1::Release::TargetRender::TargetRenderState]
  #     Output only. Current state of the render operation for this Target.
  # @!attribute [r] metadata
  #   @return [::Google::Cloud::Deploy::V1::RenderMetadata]
  #     Output only. Metadata related to the `Release` render for this Target.
  # @!attribute [r] failure_cause
  #   @return [::Google::Cloud::Deploy::V1::Release::TargetRender::FailureCause]
  #     Output only. Reason this render failed. This will always be unspecified
  #     while the render in progress.
  # @!attribute [r] failure_message
  #   @return [::String]
  #     Output only. Additional information about the render failure, if
  #     available.
  class TargetRender
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Valid states of the render operation.
    module TargetRenderState
      # The render operation state is unspecified.
      TARGET_RENDER_STATE_UNSPECIFIED = 0

      # The render operation has completed successfully.
      SUCCEEDED = 1

      # The render operation has failed.
      FAILED = 2

      # The render operation is in progress.
      IN_PROGRESS = 3
    end

    # Well-known rendering failures.
    module FailureCause
      # No reason for failure is specified.
      FAILURE_CAUSE_UNSPECIFIED = 0

      # Cloud Build is not available, either because it is not enabled or
      # because Cloud Deploy has insufficient permissions. See [required
      # permission](https://cloud.google.com/deploy/docs/cloud-deploy-service-account#required_permissions).
      CLOUD_BUILD_UNAVAILABLE = 1

      # The render operation did not complete successfully; check Cloud Build
      # logs.
      EXECUTION_FAILED = 2

      # Cloud Build failed to fulfill Cloud Deploy's request. See
      # failure_message for additional details.
      CLOUD_BUILD_REQUEST_FAILED = 3

      # The render operation did not complete successfully because the
      # verification stanza required for verify was not found on the Skaffold
      # configuration.
      VERIFICATION_CONFIG_NOT_FOUND = 4

      # The render operation did not complete successfully because the custom
      # action required for predeploy or postdeploy was not found in the
      # Skaffold configuration. See failure_message for additional details.
      CUSTOM_ACTION_NOT_FOUND = 5

      # Release failed during rendering because the release configuration is
      # not supported with the specified deployment strategy.
      DEPLOYMENT_STRATEGY_NOT_SUPPORTED = 6

      # The render operation had a feature configured that is not supported.
      RENDER_FEATURE_NOT_SUPPORTED = 7
    end
  end

  # ReleaseReadyCondition contains information around the status of the
  # Release. If a release is not ready, you cannot create a rollout with the
  # release.
  # @!attribute [rw] status
  #   @return [::Boolean]
  #     True if the Release is in a valid state. Otherwise at least one condition
  #     in `ReleaseCondition` is in an invalid state. Iterate over those
  #     conditions and see which condition(s) has status = false to find out what
  #     is wrong with the Release.
  class ReleaseReadyCondition
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # SkaffoldSupportedCondition contains information about when support for the
  # release's version of Skaffold ends.
  # @!attribute [rw] status
  #   @return [::Boolean]
  #     True if the version of Skaffold used by this release is supported.
  # @!attribute [rw] skaffold_support_state
  #   @return [::Google::Cloud::Deploy::V1::SkaffoldSupportState]
  #     The Skaffold support state for this release's version of Skaffold.
  # @!attribute [rw] maintenance_mode_time
  #   @return [::Google::Protobuf::Timestamp]
  #     The time at which this release's version of Skaffold will enter
  #     maintenance mode.
  # @!attribute [rw] support_expiration_time
  #   @return [::Google::Protobuf::Timestamp]
  #     The time at which this release's version of Skaffold will no longer be
  #     supported.
  class SkaffoldSupportedCondition
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # ReleaseCondition contains all conditions relevant to a Release.
  # @!attribute [rw] release_ready_condition
  #   @return [::Google::Cloud::Deploy::V1::Release::ReleaseReadyCondition]
  #     Details around the Releases's overall status.
  # @!attribute [rw] skaffold_supported_condition
  #   @return [::Google::Cloud::Deploy::V1::Release::SkaffoldSupportedCondition]
  #     Details around the support state of the release's Skaffold
  #     version.
  class ReleaseCondition
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class AnnotationsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::Google::Cloud::Deploy::V1::TargetArtifact]
  class TargetArtifactsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::Google::Cloud::Deploy::V1::Release::TargetRender]
  class TargetRendersEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class DeployParametersEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Valid states of the render operation.
  module RenderState
    # The render state is unspecified.
    RENDER_STATE_UNSPECIFIED = 0

    # All rendering operations have completed successfully.
    SUCCEEDED = 1

    # All rendering operations have completed, and one or more have failed.
    FAILED = 2

    # Rendering has started and is not complete.
    IN_PROGRESS = 3
  end
end

#render_state::Google::Cloud::Deploy::V1::Release::RenderState (readonly)

Returns Output only. Current state of the render operation.

Returns:



1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 1552

class Release
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Details of rendering for a single target.
  # @!attribute [r] rendering_build
  #   @return [::String]
  #     Output only. The resource name of the Cloud Build `Build` object that is
  #     used to render the manifest for this target. Format is
  #     `projects/{project}/locations/{location}/builds/{build}`.
  # @!attribute [r] rendering_state
  #   @return [::Google::Cloud::Deploy::V1::Release::TargetRender::TargetRenderState]
  #     Output only. Current state of the render operation for this Target.
  # @!attribute [r] metadata
  #   @return [::Google::Cloud::Deploy::V1::RenderMetadata]
  #     Output only. Metadata related to the `Release` render for this Target.
  # @!attribute [r] failure_cause
  #   @return [::Google::Cloud::Deploy::V1::Release::TargetRender::FailureCause]
  #     Output only. Reason this render failed. This will always be unspecified
  #     while the render in progress.
  # @!attribute [r] failure_message
  #   @return [::String]
  #     Output only. Additional information about the render failure, if
  #     available.
  class TargetRender
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Valid states of the render operation.
    module TargetRenderState
      # The render operation state is unspecified.
      TARGET_RENDER_STATE_UNSPECIFIED = 0

      # The render operation has completed successfully.
      SUCCEEDED = 1

      # The render operation has failed.
      FAILED = 2

      # The render operation is in progress.
      IN_PROGRESS = 3
    end

    # Well-known rendering failures.
    module FailureCause
      # No reason for failure is specified.
      FAILURE_CAUSE_UNSPECIFIED = 0

      # Cloud Build is not available, either because it is not enabled or
      # because Cloud Deploy has insufficient permissions. See [required
      # permission](https://cloud.google.com/deploy/docs/cloud-deploy-service-account#required_permissions).
      CLOUD_BUILD_UNAVAILABLE = 1

      # The render operation did not complete successfully; check Cloud Build
      # logs.
      EXECUTION_FAILED = 2

      # Cloud Build failed to fulfill Cloud Deploy's request. See
      # failure_message for additional details.
      CLOUD_BUILD_REQUEST_FAILED = 3

      # The render operation did not complete successfully because the
      # verification stanza required for verify was not found on the Skaffold
      # configuration.
      VERIFICATION_CONFIG_NOT_FOUND = 4

      # The render operation did not complete successfully because the custom
      # action required for predeploy or postdeploy was not found in the
      # Skaffold configuration. See failure_message for additional details.
      CUSTOM_ACTION_NOT_FOUND = 5

      # Release failed during rendering because the release configuration is
      # not supported with the specified deployment strategy.
      DEPLOYMENT_STRATEGY_NOT_SUPPORTED = 6

      # The render operation had a feature configured that is not supported.
      RENDER_FEATURE_NOT_SUPPORTED = 7
    end
  end

  # ReleaseReadyCondition contains information around the status of the
  # Release. If a release is not ready, you cannot create a rollout with the
  # release.
  # @!attribute [rw] status
  #   @return [::Boolean]
  #     True if the Release is in a valid state. Otherwise at least one condition
  #     in `ReleaseCondition` is in an invalid state. Iterate over those
  #     conditions and see which condition(s) has status = false to find out what
  #     is wrong with the Release.
  class ReleaseReadyCondition
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # SkaffoldSupportedCondition contains information about when support for the
  # release's version of Skaffold ends.
  # @!attribute [rw] status
  #   @return [::Boolean]
  #     True if the version of Skaffold used by this release is supported.
  # @!attribute [rw] skaffold_support_state
  #   @return [::Google::Cloud::Deploy::V1::SkaffoldSupportState]
  #     The Skaffold support state for this release's version of Skaffold.
  # @!attribute [rw] maintenance_mode_time
  #   @return [::Google::Protobuf::Timestamp]
  #     The time at which this release's version of Skaffold will enter
  #     maintenance mode.
  # @!attribute [rw] support_expiration_time
  #   @return [::Google::Protobuf::Timestamp]
  #     The time at which this release's version of Skaffold will no longer be
  #     supported.
  class SkaffoldSupportedCondition
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # ReleaseCondition contains all conditions relevant to a Release.
  # @!attribute [rw] release_ready_condition
  #   @return [::Google::Cloud::Deploy::V1::Release::ReleaseReadyCondition]
  #     Details around the Releases's overall status.
  # @!attribute [rw] skaffold_supported_condition
  #   @return [::Google::Cloud::Deploy::V1::Release::SkaffoldSupportedCondition]
  #     Details around the support state of the release's Skaffold
  #     version.
  class ReleaseCondition
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class AnnotationsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::Google::Cloud::Deploy::V1::TargetArtifact]
  class TargetArtifactsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::Google::Cloud::Deploy::V1::Release::TargetRender]
  class TargetRendersEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class DeployParametersEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Valid states of the render operation.
  module RenderState
    # The render state is unspecified.
    RENDER_STATE_UNSPECIFIED = 0

    # All rendering operations have completed successfully.
    SUCCEEDED = 1

    # All rendering operations have completed, and one or more have failed.
    FAILED = 2

    # Rendering has started and is not complete.
    IN_PROGRESS = 3
  end
end

#skaffold_config_path::String

Returns Filepath of the Skaffold config inside of the config URI.

Returns:

  • (::String)

    Filepath of the Skaffold config inside of the config URI.



1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 1552

class Release
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Details of rendering for a single target.
  # @!attribute [r] rendering_build
  #   @return [::String]
  #     Output only. The resource name of the Cloud Build `Build` object that is
  #     used to render the manifest for this target. Format is
  #     `projects/{project}/locations/{location}/builds/{build}`.
  # @!attribute [r] rendering_state
  #   @return [::Google::Cloud::Deploy::V1::Release::TargetRender::TargetRenderState]
  #     Output only. Current state of the render operation for this Target.
  # @!attribute [r] metadata
  #   @return [::Google::Cloud::Deploy::V1::RenderMetadata]
  #     Output only. Metadata related to the `Release` render for this Target.
  # @!attribute [r] failure_cause
  #   @return [::Google::Cloud::Deploy::V1::Release::TargetRender::FailureCause]
  #     Output only. Reason this render failed. This will always be unspecified
  #     while the render in progress.
  # @!attribute [r] failure_message
  #   @return [::String]
  #     Output only. Additional information about the render failure, if
  #     available.
  class TargetRender
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Valid states of the render operation.
    module TargetRenderState
      # The render operation state is unspecified.
      TARGET_RENDER_STATE_UNSPECIFIED = 0

      # The render operation has completed successfully.
      SUCCEEDED = 1

      # The render operation has failed.
      FAILED = 2

      # The render operation is in progress.
      IN_PROGRESS = 3
    end

    # Well-known rendering failures.
    module FailureCause
      # No reason for failure is specified.
      FAILURE_CAUSE_UNSPECIFIED = 0

      # Cloud Build is not available, either because it is not enabled or
      # because Cloud Deploy has insufficient permissions. See [required
      # permission](https://cloud.google.com/deploy/docs/cloud-deploy-service-account#required_permissions).
      CLOUD_BUILD_UNAVAILABLE = 1

      # The render operation did not complete successfully; check Cloud Build
      # logs.
      EXECUTION_FAILED = 2

      # Cloud Build failed to fulfill Cloud Deploy's request. See
      # failure_message for additional details.
      CLOUD_BUILD_REQUEST_FAILED = 3

      # The render operation did not complete successfully because the
      # verification stanza required for verify was not found on the Skaffold
      # configuration.
      VERIFICATION_CONFIG_NOT_FOUND = 4

      # The render operation did not complete successfully because the custom
      # action required for predeploy or postdeploy was not found in the
      # Skaffold configuration. See failure_message for additional details.
      CUSTOM_ACTION_NOT_FOUND = 5

      # Release failed during rendering because the release configuration is
      # not supported with the specified deployment strategy.
      DEPLOYMENT_STRATEGY_NOT_SUPPORTED = 6

      # The render operation had a feature configured that is not supported.
      RENDER_FEATURE_NOT_SUPPORTED = 7
    end
  end

  # ReleaseReadyCondition contains information around the status of the
  # Release. If a release is not ready, you cannot create a rollout with the
  # release.
  # @!attribute [rw] status
  #   @return [::Boolean]
  #     True if the Release is in a valid state. Otherwise at least one condition
  #     in `ReleaseCondition` is in an invalid state. Iterate over those
  #     conditions and see which condition(s) has status = false to find out what
  #     is wrong with the Release.
  class ReleaseReadyCondition
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # SkaffoldSupportedCondition contains information about when support for the
  # release's version of Skaffold ends.
  # @!attribute [rw] status
  #   @return [::Boolean]
  #     True if the version of Skaffold used by this release is supported.
  # @!attribute [rw] skaffold_support_state
  #   @return [::Google::Cloud::Deploy::V1::SkaffoldSupportState]
  #     The Skaffold support state for this release's version of Skaffold.
  # @!attribute [rw] maintenance_mode_time
  #   @return [::Google::Protobuf::Timestamp]
  #     The time at which this release's version of Skaffold will enter
  #     maintenance mode.
  # @!attribute [rw] support_expiration_time
  #   @return [::Google::Protobuf::Timestamp]
  #     The time at which this release's version of Skaffold will no longer be
  #     supported.
  class SkaffoldSupportedCondition
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # ReleaseCondition contains all conditions relevant to a Release.
  # @!attribute [rw] release_ready_condition
  #   @return [::Google::Cloud::Deploy::V1::Release::ReleaseReadyCondition]
  #     Details around the Releases's overall status.
  # @!attribute [rw] skaffold_supported_condition
  #   @return [::Google::Cloud::Deploy::V1::Release::SkaffoldSupportedCondition]
  #     Details around the support state of the release's Skaffold
  #     version.
  class ReleaseCondition
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class AnnotationsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::Google::Cloud::Deploy::V1::TargetArtifact]
  class TargetArtifactsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::Google::Cloud::Deploy::V1::Release::TargetRender]
  class TargetRendersEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class DeployParametersEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Valid states of the render operation.
  module RenderState
    # The render state is unspecified.
    RENDER_STATE_UNSPECIFIED = 0

    # All rendering operations have completed successfully.
    SUCCEEDED = 1

    # All rendering operations have completed, and one or more have failed.
    FAILED = 2

    # Rendering has started and is not complete.
    IN_PROGRESS = 3
  end
end

#skaffold_config_uri::String

Returns Cloud Storage URI of tar.gz archive containing Skaffold configuration.

Returns:

  • (::String)

    Cloud Storage URI of tar.gz archive containing Skaffold configuration.



1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 1552

class Release
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Details of rendering for a single target.
  # @!attribute [r] rendering_build
  #   @return [::String]
  #     Output only. The resource name of the Cloud Build `Build` object that is
  #     used to render the manifest for this target. Format is
  #     `projects/{project}/locations/{location}/builds/{build}`.
  # @!attribute [r] rendering_state
  #   @return [::Google::Cloud::Deploy::V1::Release::TargetRender::TargetRenderState]
  #     Output only. Current state of the render operation for this Target.
  # @!attribute [r] metadata
  #   @return [::Google::Cloud::Deploy::V1::RenderMetadata]
  #     Output only. Metadata related to the `Release` render for this Target.
  # @!attribute [r] failure_cause
  #   @return [::Google::Cloud::Deploy::V1::Release::TargetRender::FailureCause]
  #     Output only. Reason this render failed. This will always be unspecified
  #     while the render in progress.
  # @!attribute [r] failure_message
  #   @return [::String]
  #     Output only. Additional information about the render failure, if
  #     available.
  class TargetRender
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Valid states of the render operation.
    module TargetRenderState
      # The render operation state is unspecified.
      TARGET_RENDER_STATE_UNSPECIFIED = 0

      # The render operation has completed successfully.
      SUCCEEDED = 1

      # The render operation has failed.
      FAILED = 2

      # The render operation is in progress.
      IN_PROGRESS = 3
    end

    # Well-known rendering failures.
    module FailureCause
      # No reason for failure is specified.
      FAILURE_CAUSE_UNSPECIFIED = 0

      # Cloud Build is not available, either because it is not enabled or
      # because Cloud Deploy has insufficient permissions. See [required
      # permission](https://cloud.google.com/deploy/docs/cloud-deploy-service-account#required_permissions).
      CLOUD_BUILD_UNAVAILABLE = 1

      # The render operation did not complete successfully; check Cloud Build
      # logs.
      EXECUTION_FAILED = 2

      # Cloud Build failed to fulfill Cloud Deploy's request. See
      # failure_message for additional details.
      CLOUD_BUILD_REQUEST_FAILED = 3

      # The render operation did not complete successfully because the
      # verification stanza required for verify was not found on the Skaffold
      # configuration.
      VERIFICATION_CONFIG_NOT_FOUND = 4

      # The render operation did not complete successfully because the custom
      # action required for predeploy or postdeploy was not found in the
      # Skaffold configuration. See failure_message for additional details.
      CUSTOM_ACTION_NOT_FOUND = 5

      # Release failed during rendering because the release configuration is
      # not supported with the specified deployment strategy.
      DEPLOYMENT_STRATEGY_NOT_SUPPORTED = 6

      # The render operation had a feature configured that is not supported.
      RENDER_FEATURE_NOT_SUPPORTED = 7
    end
  end

  # ReleaseReadyCondition contains information around the status of the
  # Release. If a release is not ready, you cannot create a rollout with the
  # release.
  # @!attribute [rw] status
  #   @return [::Boolean]
  #     True if the Release is in a valid state. Otherwise at least one condition
  #     in `ReleaseCondition` is in an invalid state. Iterate over those
  #     conditions and see which condition(s) has status = false to find out what
  #     is wrong with the Release.
  class ReleaseReadyCondition
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # SkaffoldSupportedCondition contains information about when support for the
  # release's version of Skaffold ends.
  # @!attribute [rw] status
  #   @return [::Boolean]
  #     True if the version of Skaffold used by this release is supported.
  # @!attribute [rw] skaffold_support_state
  #   @return [::Google::Cloud::Deploy::V1::SkaffoldSupportState]
  #     The Skaffold support state for this release's version of Skaffold.
  # @!attribute [rw] maintenance_mode_time
  #   @return [::Google::Protobuf::Timestamp]
  #     The time at which this release's version of Skaffold will enter
  #     maintenance mode.
  # @!attribute [rw] support_expiration_time
  #   @return [::Google::Protobuf::Timestamp]
  #     The time at which this release's version of Skaffold will no longer be
  #     supported.
  class SkaffoldSupportedCondition
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # ReleaseCondition contains all conditions relevant to a Release.
  # @!attribute [rw] release_ready_condition
  #   @return [::Google::Cloud::Deploy::V1::Release::ReleaseReadyCondition]
  #     Details around the Releases's overall status.
  # @!attribute [rw] skaffold_supported_condition
  #   @return [::Google::Cloud::Deploy::V1::Release::SkaffoldSupportedCondition]
  #     Details around the support state of the release's Skaffold
  #     version.
  class ReleaseCondition
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class AnnotationsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::Google::Cloud::Deploy::V1::TargetArtifact]
  class TargetArtifactsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::Google::Cloud::Deploy::V1::Release::TargetRender]
  class TargetRendersEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class DeployParametersEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Valid states of the render operation.
  module RenderState
    # The render state is unspecified.
    RENDER_STATE_UNSPECIFIED = 0

    # All rendering operations have completed successfully.
    SUCCEEDED = 1

    # All rendering operations have completed, and one or more have failed.
    FAILED = 2

    # Rendering has started and is not complete.
    IN_PROGRESS = 3
  end
end

#skaffold_version::String

Returns The Skaffold version to use when operating on this release, such as "1.20.0". Not all versions are valid; Cloud Deploy supports a specific set of versions.

If unset, the most recent supported Skaffold version will be used.

Returns:

  • (::String)

    The Skaffold version to use when operating on this release, such as "1.20.0". Not all versions are valid; Cloud Deploy supports a specific set of versions.

    If unset, the most recent supported Skaffold version will be used.



1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 1552

class Release
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Details of rendering for a single target.
  # @!attribute [r] rendering_build
  #   @return [::String]
  #     Output only. The resource name of the Cloud Build `Build` object that is
  #     used to render the manifest for this target. Format is
  #     `projects/{project}/locations/{location}/builds/{build}`.
  # @!attribute [r] rendering_state
  #   @return [::Google::Cloud::Deploy::V1::Release::TargetRender::TargetRenderState]
  #     Output only. Current state of the render operation for this Target.
  # @!attribute [r] metadata
  #   @return [::Google::Cloud::Deploy::V1::RenderMetadata]
  #     Output only. Metadata related to the `Release` render for this Target.
  # @!attribute [r] failure_cause
  #   @return [::Google::Cloud::Deploy::V1::Release::TargetRender::FailureCause]
  #     Output only. Reason this render failed. This will always be unspecified
  #     while the render in progress.
  # @!attribute [r] failure_message
  #   @return [::String]
  #     Output only. Additional information about the render failure, if
  #     available.
  class TargetRender
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Valid states of the render operation.
    module TargetRenderState
      # The render operation state is unspecified.
      TARGET_RENDER_STATE_UNSPECIFIED = 0

      # The render operation has completed successfully.
      SUCCEEDED = 1

      # The render operation has failed.
      FAILED = 2

      # The render operation is in progress.
      IN_PROGRESS = 3
    end

    # Well-known rendering failures.
    module FailureCause
      # No reason for failure is specified.
      FAILURE_CAUSE_UNSPECIFIED = 0

      # Cloud Build is not available, either because it is not enabled or
      # because Cloud Deploy has insufficient permissions. See [required
      # permission](https://cloud.google.com/deploy/docs/cloud-deploy-service-account#required_permissions).
      CLOUD_BUILD_UNAVAILABLE = 1

      # The render operation did not complete successfully; check Cloud Build
      # logs.
      EXECUTION_FAILED = 2

      # Cloud Build failed to fulfill Cloud Deploy's request. See
      # failure_message for additional details.
      CLOUD_BUILD_REQUEST_FAILED = 3

      # The render operation did not complete successfully because the
      # verification stanza required for verify was not found on the Skaffold
      # configuration.
      VERIFICATION_CONFIG_NOT_FOUND = 4

      # The render operation did not complete successfully because the custom
      # action required for predeploy or postdeploy was not found in the
      # Skaffold configuration. See failure_message for additional details.
      CUSTOM_ACTION_NOT_FOUND = 5

      # Release failed during rendering because the release configuration is
      # not supported with the specified deployment strategy.
      DEPLOYMENT_STRATEGY_NOT_SUPPORTED = 6

      # The render operation had a feature configured that is not supported.
      RENDER_FEATURE_NOT_SUPPORTED = 7
    end
  end

  # ReleaseReadyCondition contains information around the status of the
  # Release. If a release is not ready, you cannot create a rollout with the
  # release.
  # @!attribute [rw] status
  #   @return [::Boolean]
  #     True if the Release is in a valid state. Otherwise at least one condition
  #     in `ReleaseCondition` is in an invalid state. Iterate over those
  #     conditions and see which condition(s) has status = false to find out what
  #     is wrong with the Release.
  class ReleaseReadyCondition
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # SkaffoldSupportedCondition contains information about when support for the
  # release's version of Skaffold ends.
  # @!attribute [rw] status
  #   @return [::Boolean]
  #     True if the version of Skaffold used by this release is supported.
  # @!attribute [rw] skaffold_support_state
  #   @return [::Google::Cloud::Deploy::V1::SkaffoldSupportState]
  #     The Skaffold support state for this release's version of Skaffold.
  # @!attribute [rw] maintenance_mode_time
  #   @return [::Google::Protobuf::Timestamp]
  #     The time at which this release's version of Skaffold will enter
  #     maintenance mode.
  # @!attribute [rw] support_expiration_time
  #   @return [::Google::Protobuf::Timestamp]
  #     The time at which this release's version of Skaffold will no longer be
  #     supported.
  class SkaffoldSupportedCondition
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # ReleaseCondition contains all conditions relevant to a Release.
  # @!attribute [rw] release_ready_condition
  #   @return [::Google::Cloud::Deploy::V1::Release::ReleaseReadyCondition]
  #     Details around the Releases's overall status.
  # @!attribute [rw] skaffold_supported_condition
  #   @return [::Google::Cloud::Deploy::V1::Release::SkaffoldSupportedCondition]
  #     Details around the support state of the release's Skaffold
  #     version.
  class ReleaseCondition
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class AnnotationsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::Google::Cloud::Deploy::V1::TargetArtifact]
  class TargetArtifactsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::Google::Cloud::Deploy::V1::Release::TargetRender]
  class TargetRendersEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class DeployParametersEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Valid states of the render operation.
  module RenderState
    # The render state is unspecified.
    RENDER_STATE_UNSPECIFIED = 0

    # All rendering operations have completed successfully.
    SUCCEEDED = 1

    # All rendering operations have completed, and one or more have failed.
    FAILED = 2

    # Rendering has started and is not complete.
    IN_PROGRESS = 3
  end
end

#target_artifacts::Google::Protobuf::Map{::String => ::Google::Cloud::Deploy::V1::TargetArtifact} (readonly)

Returns Output only. Map from target ID to the target artifacts created during the render operation.

Returns:



1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 1552

class Release
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Details of rendering for a single target.
  # @!attribute [r] rendering_build
  #   @return [::String]
  #     Output only. The resource name of the Cloud Build `Build` object that is
  #     used to render the manifest for this target. Format is
  #     `projects/{project}/locations/{location}/builds/{build}`.
  # @!attribute [r] rendering_state
  #   @return [::Google::Cloud::Deploy::V1::Release::TargetRender::TargetRenderState]
  #     Output only. Current state of the render operation for this Target.
  # @!attribute [r] metadata
  #   @return [::Google::Cloud::Deploy::V1::RenderMetadata]
  #     Output only. Metadata related to the `Release` render for this Target.
  # @!attribute [r] failure_cause
  #   @return [::Google::Cloud::Deploy::V1::Release::TargetRender::FailureCause]
  #     Output only. Reason this render failed. This will always be unspecified
  #     while the render in progress.
  # @!attribute [r] failure_message
  #   @return [::String]
  #     Output only. Additional information about the render failure, if
  #     available.
  class TargetRender
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Valid states of the render operation.
    module TargetRenderState
      # The render operation state is unspecified.
      TARGET_RENDER_STATE_UNSPECIFIED = 0

      # The render operation has completed successfully.
      SUCCEEDED = 1

      # The render operation has failed.
      FAILED = 2

      # The render operation is in progress.
      IN_PROGRESS = 3
    end

    # Well-known rendering failures.
    module FailureCause
      # No reason for failure is specified.
      FAILURE_CAUSE_UNSPECIFIED = 0

      # Cloud Build is not available, either because it is not enabled or
      # because Cloud Deploy has insufficient permissions. See [required
      # permission](https://cloud.google.com/deploy/docs/cloud-deploy-service-account#required_permissions).
      CLOUD_BUILD_UNAVAILABLE = 1

      # The render operation did not complete successfully; check Cloud Build
      # logs.
      EXECUTION_FAILED = 2

      # Cloud Build failed to fulfill Cloud Deploy's request. See
      # failure_message for additional details.
      CLOUD_BUILD_REQUEST_FAILED = 3

      # The render operation did not complete successfully because the
      # verification stanza required for verify was not found on the Skaffold
      # configuration.
      VERIFICATION_CONFIG_NOT_FOUND = 4

      # The render operation did not complete successfully because the custom
      # action required for predeploy or postdeploy was not found in the
      # Skaffold configuration. See failure_message for additional details.
      CUSTOM_ACTION_NOT_FOUND = 5

      # Release failed during rendering because the release configuration is
      # not supported with the specified deployment strategy.
      DEPLOYMENT_STRATEGY_NOT_SUPPORTED = 6

      # The render operation had a feature configured that is not supported.
      RENDER_FEATURE_NOT_SUPPORTED = 7
    end
  end

  # ReleaseReadyCondition contains information around the status of the
  # Release. If a release is not ready, you cannot create a rollout with the
  # release.
  # @!attribute [rw] status
  #   @return [::Boolean]
  #     True if the Release is in a valid state. Otherwise at least one condition
  #     in `ReleaseCondition` is in an invalid state. Iterate over those
  #     conditions and see which condition(s) has status = false to find out what
  #     is wrong with the Release.
  class ReleaseReadyCondition
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # SkaffoldSupportedCondition contains information about when support for the
  # release's version of Skaffold ends.
  # @!attribute [rw] status
  #   @return [::Boolean]
  #     True if the version of Skaffold used by this release is supported.
  # @!attribute [rw] skaffold_support_state
  #   @return [::Google::Cloud::Deploy::V1::SkaffoldSupportState]
  #     The Skaffold support state for this release's version of Skaffold.
  # @!attribute [rw] maintenance_mode_time
  #   @return [::Google::Protobuf::Timestamp]
  #     The time at which this release's version of Skaffold will enter
  #     maintenance mode.
  # @!attribute [rw] support_expiration_time
  #   @return [::Google::Protobuf::Timestamp]
  #     The time at which this release's version of Skaffold will no longer be
  #     supported.
  class SkaffoldSupportedCondition
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # ReleaseCondition contains all conditions relevant to a Release.
  # @!attribute [rw] release_ready_condition
  #   @return [::Google::Cloud::Deploy::V1::Release::ReleaseReadyCondition]
  #     Details around the Releases's overall status.
  # @!attribute [rw] skaffold_supported_condition
  #   @return [::Google::Cloud::Deploy::V1::Release::SkaffoldSupportedCondition]
  #     Details around the support state of the release's Skaffold
  #     version.
  class ReleaseCondition
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class AnnotationsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::Google::Cloud::Deploy::V1::TargetArtifact]
  class TargetArtifactsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::Google::Cloud::Deploy::V1::Release::TargetRender]
  class TargetRendersEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class DeployParametersEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Valid states of the render operation.
  module RenderState
    # The render state is unspecified.
    RENDER_STATE_UNSPECIFIED = 0

    # All rendering operations have completed successfully.
    SUCCEEDED = 1

    # All rendering operations have completed, and one or more have failed.
    FAILED = 2

    # Rendering has started and is not complete.
    IN_PROGRESS = 3
  end
end

#target_renders::Google::Protobuf::Map{::String => ::Google::Cloud::Deploy::V1::Release::TargetRender} (readonly)

Returns Output only. Map from target ID to details of the render operation for that target.

Returns:



1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 1552

class Release
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Details of rendering for a single target.
  # @!attribute [r] rendering_build
  #   @return [::String]
  #     Output only. The resource name of the Cloud Build `Build` object that is
  #     used to render the manifest for this target. Format is
  #     `projects/{project}/locations/{location}/builds/{build}`.
  # @!attribute [r] rendering_state
  #   @return [::Google::Cloud::Deploy::V1::Release::TargetRender::TargetRenderState]
  #     Output only. Current state of the render operation for this Target.
  # @!attribute [r] metadata
  #   @return [::Google::Cloud::Deploy::V1::RenderMetadata]
  #     Output only. Metadata related to the `Release` render for this Target.
  # @!attribute [r] failure_cause
  #   @return [::Google::Cloud::Deploy::V1::Release::TargetRender::FailureCause]
  #     Output only. Reason this render failed. This will always be unspecified
  #     while the render in progress.
  # @!attribute [r] failure_message
  #   @return [::String]
  #     Output only. Additional information about the render failure, if
  #     available.
  class TargetRender
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Valid states of the render operation.
    module TargetRenderState
      # The render operation state is unspecified.
      TARGET_RENDER_STATE_UNSPECIFIED = 0

      # The render operation has completed successfully.
      SUCCEEDED = 1

      # The render operation has failed.
      FAILED = 2

      # The render operation is in progress.
      IN_PROGRESS = 3
    end

    # Well-known rendering failures.
    module FailureCause
      # No reason for failure is specified.
      FAILURE_CAUSE_UNSPECIFIED = 0

      # Cloud Build is not available, either because it is not enabled or
      # because Cloud Deploy has insufficient permissions. See [required
      # permission](https://cloud.google.com/deploy/docs/cloud-deploy-service-account#required_permissions).
      CLOUD_BUILD_UNAVAILABLE = 1

      # The render operation did not complete successfully; check Cloud Build
      # logs.
      EXECUTION_FAILED = 2

      # Cloud Build failed to fulfill Cloud Deploy's request. See
      # failure_message for additional details.
      CLOUD_BUILD_REQUEST_FAILED = 3

      # The render operation did not complete successfully because the
      # verification stanza required for verify was not found on the Skaffold
      # configuration.
      VERIFICATION_CONFIG_NOT_FOUND = 4

      # The render operation did not complete successfully because the custom
      # action required for predeploy or postdeploy was not found in the
      # Skaffold configuration. See failure_message for additional details.
      CUSTOM_ACTION_NOT_FOUND = 5

      # Release failed during rendering because the release configuration is
      # not supported with the specified deployment strategy.
      DEPLOYMENT_STRATEGY_NOT_SUPPORTED = 6

      # The render operation had a feature configured that is not supported.
      RENDER_FEATURE_NOT_SUPPORTED = 7
    end
  end

  # ReleaseReadyCondition contains information around the status of the
  # Release. If a release is not ready, you cannot create a rollout with the
  # release.
  # @!attribute [rw] status
  #   @return [::Boolean]
  #     True if the Release is in a valid state. Otherwise at least one condition
  #     in `ReleaseCondition` is in an invalid state. Iterate over those
  #     conditions and see which condition(s) has status = false to find out what
  #     is wrong with the Release.
  class ReleaseReadyCondition
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # SkaffoldSupportedCondition contains information about when support for the
  # release's version of Skaffold ends.
  # @!attribute [rw] status
  #   @return [::Boolean]
  #     True if the version of Skaffold used by this release is supported.
  # @!attribute [rw] skaffold_support_state
  #   @return [::Google::Cloud::Deploy::V1::SkaffoldSupportState]
  #     The Skaffold support state for this release's version of Skaffold.
  # @!attribute [rw] maintenance_mode_time
  #   @return [::Google::Protobuf::Timestamp]
  #     The time at which this release's version of Skaffold will enter
  #     maintenance mode.
  # @!attribute [rw] support_expiration_time
  #   @return [::Google::Protobuf::Timestamp]
  #     The time at which this release's version of Skaffold will no longer be
  #     supported.
  class SkaffoldSupportedCondition
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # ReleaseCondition contains all conditions relevant to a Release.
  # @!attribute [rw] release_ready_condition
  #   @return [::Google::Cloud::Deploy::V1::Release::ReleaseReadyCondition]
  #     Details around the Releases's overall status.
  # @!attribute [rw] skaffold_supported_condition
  #   @return [::Google::Cloud::Deploy::V1::Release::SkaffoldSupportedCondition]
  #     Details around the support state of the release's Skaffold
  #     version.
  class ReleaseCondition
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class AnnotationsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::Google::Cloud::Deploy::V1::TargetArtifact]
  class TargetArtifactsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::Google::Cloud::Deploy::V1::Release::TargetRender]
  class TargetRendersEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class DeployParametersEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Valid states of the render operation.
  module RenderState
    # The render state is unspecified.
    RENDER_STATE_UNSPECIFIED = 0

    # All rendering operations have completed successfully.
    SUCCEEDED = 1

    # All rendering operations have completed, and one or more have failed.
    FAILED = 2

    # Rendering has started and is not complete.
    IN_PROGRESS = 3
  end
end

#target_snapshots::Array<::Google::Cloud::Deploy::V1::Target> (readonly)

Returns Output only. Snapshot of the targets taken at release creation time.

Returns:



1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 1552

class Release
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Details of rendering for a single target.
  # @!attribute [r] rendering_build
  #   @return [::String]
  #     Output only. The resource name of the Cloud Build `Build` object that is
  #     used to render the manifest for this target. Format is
  #     `projects/{project}/locations/{location}/builds/{build}`.
  # @!attribute [r] rendering_state
  #   @return [::Google::Cloud::Deploy::V1::Release::TargetRender::TargetRenderState]
  #     Output only. Current state of the render operation for this Target.
  # @!attribute [r] metadata
  #   @return [::Google::Cloud::Deploy::V1::RenderMetadata]
  #     Output only. Metadata related to the `Release` render for this Target.
  # @!attribute [r] failure_cause
  #   @return [::Google::Cloud::Deploy::V1::Release::TargetRender::FailureCause]
  #     Output only. Reason this render failed. This will always be unspecified
  #     while the render in progress.
  # @!attribute [r] failure_message
  #   @return [::String]
  #     Output only. Additional information about the render failure, if
  #     available.
  class TargetRender
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Valid states of the render operation.
    module TargetRenderState
      # The render operation state is unspecified.
      TARGET_RENDER_STATE_UNSPECIFIED = 0

      # The render operation has completed successfully.
      SUCCEEDED = 1

      # The render operation has failed.
      FAILED = 2

      # The render operation is in progress.
      IN_PROGRESS = 3
    end

    # Well-known rendering failures.
    module FailureCause
      # No reason for failure is specified.
      FAILURE_CAUSE_UNSPECIFIED = 0

      # Cloud Build is not available, either because it is not enabled or
      # because Cloud Deploy has insufficient permissions. See [required
      # permission](https://cloud.google.com/deploy/docs/cloud-deploy-service-account#required_permissions).
      CLOUD_BUILD_UNAVAILABLE = 1

      # The render operation did not complete successfully; check Cloud Build
      # logs.
      EXECUTION_FAILED = 2

      # Cloud Build failed to fulfill Cloud Deploy's request. See
      # failure_message for additional details.
      CLOUD_BUILD_REQUEST_FAILED = 3

      # The render operation did not complete successfully because the
      # verification stanza required for verify was not found on the Skaffold
      # configuration.
      VERIFICATION_CONFIG_NOT_FOUND = 4

      # The render operation did not complete successfully because the custom
      # action required for predeploy or postdeploy was not found in the
      # Skaffold configuration. See failure_message for additional details.
      CUSTOM_ACTION_NOT_FOUND = 5

      # Release failed during rendering because the release configuration is
      # not supported with the specified deployment strategy.
      DEPLOYMENT_STRATEGY_NOT_SUPPORTED = 6

      # The render operation had a feature configured that is not supported.
      RENDER_FEATURE_NOT_SUPPORTED = 7
    end
  end

  # ReleaseReadyCondition contains information around the status of the
  # Release. If a release is not ready, you cannot create a rollout with the
  # release.
  # @!attribute [rw] status
  #   @return [::Boolean]
  #     True if the Release is in a valid state. Otherwise at least one condition
  #     in `ReleaseCondition` is in an invalid state. Iterate over those
  #     conditions and see which condition(s) has status = false to find out what
  #     is wrong with the Release.
  class ReleaseReadyCondition
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # SkaffoldSupportedCondition contains information about when support for the
  # release's version of Skaffold ends.
  # @!attribute [rw] status
  #   @return [::Boolean]
  #     True if the version of Skaffold used by this release is supported.
  # @!attribute [rw] skaffold_support_state
  #   @return [::Google::Cloud::Deploy::V1::SkaffoldSupportState]
  #     The Skaffold support state for this release's version of Skaffold.
  # @!attribute [rw] maintenance_mode_time
  #   @return [::Google::Protobuf::Timestamp]
  #     The time at which this release's version of Skaffold will enter
  #     maintenance mode.
  # @!attribute [rw] support_expiration_time
  #   @return [::Google::Protobuf::Timestamp]
  #     The time at which this release's version of Skaffold will no longer be
  #     supported.
  class SkaffoldSupportedCondition
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # ReleaseCondition contains all conditions relevant to a Release.
  # @!attribute [rw] release_ready_condition
  #   @return [::Google::Cloud::Deploy::V1::Release::ReleaseReadyCondition]
  #     Details around the Releases's overall status.
  # @!attribute [rw] skaffold_supported_condition
  #   @return [::Google::Cloud::Deploy::V1::Release::SkaffoldSupportedCondition]
  #     Details around the support state of the release's Skaffold
  #     version.
  class ReleaseCondition
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class AnnotationsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::Google::Cloud::Deploy::V1::TargetArtifact]
  class TargetArtifactsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::Google::Cloud::Deploy::V1::Release::TargetRender]
  class TargetRendersEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class DeployParametersEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Valid states of the render operation.
  module RenderState
    # The render state is unspecified.
    RENDER_STATE_UNSPECIFIED = 0

    # All rendering operations have completed successfully.
    SUCCEEDED = 1

    # All rendering operations have completed, and one or more have failed.
    FAILED = 2

    # Rendering has started and is not complete.
    IN_PROGRESS = 3
  end
end

#uid::String (readonly)

Returns Output only. Unique identifier of the Release.

Returns:

  • (::String)

    Output only. Unique identifier of the Release.



1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 1552

class Release
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Details of rendering for a single target.
  # @!attribute [r] rendering_build
  #   @return [::String]
  #     Output only. The resource name of the Cloud Build `Build` object that is
  #     used to render the manifest for this target. Format is
  #     `projects/{project}/locations/{location}/builds/{build}`.
  # @!attribute [r] rendering_state
  #   @return [::Google::Cloud::Deploy::V1::Release::TargetRender::TargetRenderState]
  #     Output only. Current state of the render operation for this Target.
  # @!attribute [r] metadata
  #   @return [::Google::Cloud::Deploy::V1::RenderMetadata]
  #     Output only. Metadata related to the `Release` render for this Target.
  # @!attribute [r] failure_cause
  #   @return [::Google::Cloud::Deploy::V1::Release::TargetRender::FailureCause]
  #     Output only. Reason this render failed. This will always be unspecified
  #     while the render in progress.
  # @!attribute [r] failure_message
  #   @return [::String]
  #     Output only. Additional information about the render failure, if
  #     available.
  class TargetRender
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Valid states of the render operation.
    module TargetRenderState
      # The render operation state is unspecified.
      TARGET_RENDER_STATE_UNSPECIFIED = 0

      # The render operation has completed successfully.
      SUCCEEDED = 1

      # The render operation has failed.
      FAILED = 2

      # The render operation is in progress.
      IN_PROGRESS = 3
    end

    # Well-known rendering failures.
    module FailureCause
      # No reason for failure is specified.
      FAILURE_CAUSE_UNSPECIFIED = 0

      # Cloud Build is not available, either because it is not enabled or
      # because Cloud Deploy has insufficient permissions. See [required
      # permission](https://cloud.google.com/deploy/docs/cloud-deploy-service-account#required_permissions).
      CLOUD_BUILD_UNAVAILABLE = 1

      # The render operation did not complete successfully; check Cloud Build
      # logs.
      EXECUTION_FAILED = 2

      # Cloud Build failed to fulfill Cloud Deploy's request. See
      # failure_message for additional details.
      CLOUD_BUILD_REQUEST_FAILED = 3

      # The render operation did not complete successfully because the
      # verification stanza required for verify was not found on the Skaffold
      # configuration.
      VERIFICATION_CONFIG_NOT_FOUND = 4

      # The render operation did not complete successfully because the custom
      # action required for predeploy or postdeploy was not found in the
      # Skaffold configuration. See failure_message for additional details.
      CUSTOM_ACTION_NOT_FOUND = 5

      # Release failed during rendering because the release configuration is
      # not supported with the specified deployment strategy.
      DEPLOYMENT_STRATEGY_NOT_SUPPORTED = 6

      # The render operation had a feature configured that is not supported.
      RENDER_FEATURE_NOT_SUPPORTED = 7
    end
  end

  # ReleaseReadyCondition contains information around the status of the
  # Release. If a release is not ready, you cannot create a rollout with the
  # release.
  # @!attribute [rw] status
  #   @return [::Boolean]
  #     True if the Release is in a valid state. Otherwise at least one condition
  #     in `ReleaseCondition` is in an invalid state. Iterate over those
  #     conditions and see which condition(s) has status = false to find out what
  #     is wrong with the Release.
  class ReleaseReadyCondition
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # SkaffoldSupportedCondition contains information about when support for the
  # release's version of Skaffold ends.
  # @!attribute [rw] status
  #   @return [::Boolean]
  #     True if the version of Skaffold used by this release is supported.
  # @!attribute [rw] skaffold_support_state
  #   @return [::Google::Cloud::Deploy::V1::SkaffoldSupportState]
  #     The Skaffold support state for this release's version of Skaffold.
  # @!attribute [rw] maintenance_mode_time
  #   @return [::Google::Protobuf::Timestamp]
  #     The time at which this release's version of Skaffold will enter
  #     maintenance mode.
  # @!attribute [rw] support_expiration_time
  #   @return [::Google::Protobuf::Timestamp]
  #     The time at which this release's version of Skaffold will no longer be
  #     supported.
  class SkaffoldSupportedCondition
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # ReleaseCondition contains all conditions relevant to a Release.
  # @!attribute [rw] release_ready_condition
  #   @return [::Google::Cloud::Deploy::V1::Release::ReleaseReadyCondition]
  #     Details around the Releases's overall status.
  # @!attribute [rw] skaffold_supported_condition
  #   @return [::Google::Cloud::Deploy::V1::Release::SkaffoldSupportedCondition]
  #     Details around the support state of the release's Skaffold
  #     version.
  class ReleaseCondition
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class AnnotationsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::Google::Cloud::Deploy::V1::TargetArtifact]
  class TargetArtifactsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::Google::Cloud::Deploy::V1::Release::TargetRender]
  class TargetRendersEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class DeployParametersEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Valid states of the render operation.
  module RenderState
    # The render state is unspecified.
    RENDER_STATE_UNSPECIFIED = 0

    # All rendering operations have completed successfully.
    SUCCEEDED = 1

    # All rendering operations have completed, and one or more have failed.
    FAILED = 2

    # Rendering has started and is not complete.
    IN_PROGRESS = 3
  end
end