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:



835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
# File 'proto_docs/google/cloud/functions/v2/functions.rb', line 835

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