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:



1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 1984

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.



1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 1984

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:



1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 1984

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



1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 1984

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:



1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 1984

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