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:



1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 1891

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.



1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 1891

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:



1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 1891

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



1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 1891

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:



1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 1891

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