Class: Google::Cloud::Functions::V2::ListRuntimesResponse

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

Overview

Response for the ListRuntimes method.

Defined Under Namespace

Modules: RuntimeStage Classes: Runtime

Instance Attribute Summary collapse

Instance Attribute Details

#runtimes::Array<::Google::Cloud::Functions::V2::ListRuntimesResponse::Runtime>

Returns The runtimes that match the request.

Returns:



890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
# File 'proto_docs/google/cloud/functions/v2/functions.rb', line 890

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

  # Describes a runtime and any special information (e.g., deprecation status)
  # related to it.
  # @!attribute [rw] name
  #   @return [::String]
  #     The name of the runtime, e.g., 'go113', 'nodejs12', etc.
  # @!attribute [rw] display_name
  #   @return [::String]
  #     The user facing name, eg 'Go 1.13', 'Node.js 12', etc.
  # @!attribute [rw] stage
  #   @return [::Google::Cloud::Functions::V2::ListRuntimesResponse::RuntimeStage]
  #     The stage of life this runtime is in, e.g., BETA, GA, etc.
  # @!attribute [rw] warnings
  #   @return [::Array<::String>]
  #     Warning messages, e.g., a deprecation warning.
  # @!attribute [rw] environment
  #   @return [::Google::Cloud::Functions::V2::Environment]
  #     The environment for the runtime.
  # @!attribute [rw] deprecation_date
  #   @return [::Google::Type::Date]
  #     Deprecation date for the runtime.
  # @!attribute [rw] decommission_date
  #   @return [::Google::Type::Date]
  #     Decommission date for the runtime.
  class Runtime
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The various stages that a runtime can be in.
  module RuntimeStage
    # Not specified.
    RUNTIME_STAGE_UNSPECIFIED = 0

    # The runtime is in development.
    DEVELOPMENT = 1

    # The runtime is in the Alpha stage.
    ALPHA = 2

    # The runtime is in the Beta stage.
    BETA = 3

    # The runtime is generally available.
    GA = 4

    # The runtime is deprecated.
    DEPRECATED = 5

    # The runtime is no longer supported.
    DECOMMISSIONED = 6
  end
end