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

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

Details of rendering for a single target.

Defined Under Namespace

Modules: FailureCause, TargetRenderState

Instance Attribute Summary collapse

Instance Attribute Details

#failure_cause::Google::Cloud::Deploy::V1::Release::TargetRender::FailureCause (readonly)

Returns Output only. Reason this render failed. This will always be unspecified while the render in progress.

Returns:



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
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 1576

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

#failure_message::String (readonly)

Returns Output only. Additional information about the render failure, if available.

Returns:

  • (::String)

    Output only. Additional information about the render failure, if available.



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
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 1576

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

#metadata::Google::Cloud::Deploy::V1::RenderMetadata (readonly)

Returns Output only. Metadata related to the Release render for this Target.

Returns:



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
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 1576

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

#rendering_build::String (readonly)

Returns 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}.

Returns:

  • (::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}.



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
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 1576

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

#rendering_state::Google::Cloud::Deploy::V1::Release::TargetRender::TargetRenderState (readonly)

Returns Output only. Current state of the render operation for this Target.

Returns:



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
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 1576

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