Class: Google::Cloud::Functions::V2::Stage

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

Overview

Each Stage of the deployment process

Defined Under Namespace

Modules: Name, State

Instance Attribute Summary collapse

Instance Attribute Details

#message::String

Returns Message describing the Stage.

Returns:

  • (::String)

    Message describing the Stage



1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
# File 'proto_docs/google/cloud/functions/v2/functions.rb', line 1040

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

  # Possible names for a Stage
  module Name
    # Not specified. Invalid name.
    NAME_UNSPECIFIED = 0

    # Artifact Regsitry Stage
    ARTIFACT_REGISTRY = 1

    # Build Stage
    BUILD = 2

    # Service Stage
    SERVICE = 3

    # Trigger Stage
    TRIGGER = 4

    # Service Rollback Stage
    SERVICE_ROLLBACK = 5

    # Trigger Rollback Stage
    TRIGGER_ROLLBACK = 6
  end

  # Possible states for a Stage
  module State
    # Not specified. Invalid state.
    STATE_UNSPECIFIED = 0

    # Stage has not started.
    NOT_STARTED = 1

    # Stage is in progress.
    IN_PROGRESS = 2

    # Stage has completed.
    COMPLETE = 3
  end
end

#name::Google::Cloud::Functions::V2::Stage::Name

Returns Name of the Stage. This will be unique for each Stage.

Returns:



1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
# File 'proto_docs/google/cloud/functions/v2/functions.rb', line 1040

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

  # Possible names for a Stage
  module Name
    # Not specified. Invalid name.
    NAME_UNSPECIFIED = 0

    # Artifact Regsitry Stage
    ARTIFACT_REGISTRY = 1

    # Build Stage
    BUILD = 2

    # Service Stage
    SERVICE = 3

    # Trigger Stage
    TRIGGER = 4

    # Service Rollback Stage
    SERVICE_ROLLBACK = 5

    # Trigger Rollback Stage
    TRIGGER_ROLLBACK = 6
  end

  # Possible states for a Stage
  module State
    # Not specified. Invalid state.
    STATE_UNSPECIFIED = 0

    # Stage has not started.
    NOT_STARTED = 1

    # Stage is in progress.
    IN_PROGRESS = 2

    # Stage has completed.
    COMPLETE = 3
  end
end

#resource::String

Returns Resource of the Stage.

Returns:

  • (::String)

    Resource of the Stage



1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
# File 'proto_docs/google/cloud/functions/v2/functions.rb', line 1040

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

  # Possible names for a Stage
  module Name
    # Not specified. Invalid name.
    NAME_UNSPECIFIED = 0

    # Artifact Regsitry Stage
    ARTIFACT_REGISTRY = 1

    # Build Stage
    BUILD = 2

    # Service Stage
    SERVICE = 3

    # Trigger Stage
    TRIGGER = 4

    # Service Rollback Stage
    SERVICE_ROLLBACK = 5

    # Trigger Rollback Stage
    TRIGGER_ROLLBACK = 6
  end

  # Possible states for a Stage
  module State
    # Not specified. Invalid state.
    STATE_UNSPECIFIED = 0

    # Stage has not started.
    NOT_STARTED = 1

    # Stage is in progress.
    IN_PROGRESS = 2

    # Stage has completed.
    COMPLETE = 3
  end
end

#resource_uri::String

Returns Link to the current Stage resource.

Returns:

  • (::String)

    Link to the current Stage resource



1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
# File 'proto_docs/google/cloud/functions/v2/functions.rb', line 1040

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

  # Possible names for a Stage
  module Name
    # Not specified. Invalid name.
    NAME_UNSPECIFIED = 0

    # Artifact Regsitry Stage
    ARTIFACT_REGISTRY = 1

    # Build Stage
    BUILD = 2

    # Service Stage
    SERVICE = 3

    # Trigger Stage
    TRIGGER = 4

    # Service Rollback Stage
    SERVICE_ROLLBACK = 5

    # Trigger Rollback Stage
    TRIGGER_ROLLBACK = 6
  end

  # Possible states for a Stage
  module State
    # Not specified. Invalid state.
    STATE_UNSPECIFIED = 0

    # Stage has not started.
    NOT_STARTED = 1

    # Stage is in progress.
    IN_PROGRESS = 2

    # Stage has completed.
    COMPLETE = 3
  end
end

#state::Google::Cloud::Functions::V2::Stage::State

Returns Current state of the Stage.

Returns:



1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
# File 'proto_docs/google/cloud/functions/v2/functions.rb', line 1040

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

  # Possible names for a Stage
  module Name
    # Not specified. Invalid name.
    NAME_UNSPECIFIED = 0

    # Artifact Regsitry Stage
    ARTIFACT_REGISTRY = 1

    # Build Stage
    BUILD = 2

    # Service Stage
    SERVICE = 3

    # Trigger Stage
    TRIGGER = 4

    # Service Rollback Stage
    SERVICE_ROLLBACK = 5

    # Trigger Rollback Stage
    TRIGGER_ROLLBACK = 6
  end

  # Possible states for a Stage
  module State
    # Not specified. Invalid state.
    STATE_UNSPECIFIED = 0

    # Stage has not started.
    NOT_STARTED = 1

    # Stage is in progress.
    IN_PROGRESS = 2

    # Stage has completed.
    COMPLETE = 3
  end
end

#state_messages::Array<::Google::Cloud::Functions::V2::StateMessage>

Returns State messages from the current Stage.

Returns:



1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
# File 'proto_docs/google/cloud/functions/v2/functions.rb', line 1040

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

  # Possible names for a Stage
  module Name
    # Not specified. Invalid name.
    NAME_UNSPECIFIED = 0

    # Artifact Regsitry Stage
    ARTIFACT_REGISTRY = 1

    # Build Stage
    BUILD = 2

    # Service Stage
    SERVICE = 3

    # Trigger Stage
    TRIGGER = 4

    # Service Rollback Stage
    SERVICE_ROLLBACK = 5

    # Trigger Rollback Stage
    TRIGGER_ROLLBACK = 6
  end

  # Possible states for a Stage
  module State
    # Not specified. Invalid state.
    STATE_UNSPECIFIED = 0

    # Stage has not started.
    NOT_STARTED = 1

    # Stage is in progress.
    IN_PROGRESS = 2

    # Stage has completed.
    COMPLETE = 3
  end
end