Class: Google::Cloud::Orchestration::Airflow::Service::V1::OperationMetadata

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/orchestration/airflow/service/v1/operations.rb

Overview

Metadata describing an operation.

Defined Under Namespace

Modules: State, Type

Instance Attribute Summary collapse

Instance Attribute Details

#create_time::Google::Protobuf::Timestamp

Returns Output only. The time the operation was submitted to the server.

Returns:



47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
# File 'proto_docs/google/cloud/orchestration/airflow/service/v1/operations.rb', line 47

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

  # An enum describing the overall state of an operation.
  module State
    # Unused.
    STATE_UNSPECIFIED = 0

    # The operation has been created but is not yet started.
    PENDING = 1

    # The operation is underway.
    RUNNING = 2

    # The operation completed successfully.
    SUCCEEDED = 3

    SUCCESSFUL = 3

    # The operation is no longer running but did not succeed.
    FAILED = 4
  end

  # Type of longrunning operation.
  module Type
    # Unused.
    TYPE_UNSPECIFIED = 0

    # A resource creation operation.
    CREATE = 1

    # A resource deletion operation.
    DELETE = 2

    # A resource update operation.
    UPDATE = 3

    # A resource check operation.
    CHECK = 4

    # Saves snapshot of the resource operation.
    SAVE_SNAPSHOT = 5

    # Loads snapshot of the resource operation.
    LOAD_SNAPSHOT = 6

    # Triggers failover of environment's Cloud SQL instance (only for highly
    # resilient environments).
    DATABASE_FAILOVER = 7
  end
end

#end_time::Google::Protobuf::Timestamp

Returns Output only. The time when the operation terminated, regardless of its success. This field is unset if the operation is still ongoing.

Returns:

  • (::Google::Protobuf::Timestamp)

    Output only. The time when the operation terminated, regardless of its success. This field is unset if the operation is still ongoing.



47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
# File 'proto_docs/google/cloud/orchestration/airflow/service/v1/operations.rb', line 47

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

  # An enum describing the overall state of an operation.
  module State
    # Unused.
    STATE_UNSPECIFIED = 0

    # The operation has been created but is not yet started.
    PENDING = 1

    # The operation is underway.
    RUNNING = 2

    # The operation completed successfully.
    SUCCEEDED = 3

    SUCCESSFUL = 3

    # The operation is no longer running but did not succeed.
    FAILED = 4
  end

  # Type of longrunning operation.
  module Type
    # Unused.
    TYPE_UNSPECIFIED = 0

    # A resource creation operation.
    CREATE = 1

    # A resource deletion operation.
    DELETE = 2

    # A resource update operation.
    UPDATE = 3

    # A resource check operation.
    CHECK = 4

    # Saves snapshot of the resource operation.
    SAVE_SNAPSHOT = 5

    # Loads snapshot of the resource operation.
    LOAD_SNAPSHOT = 6

    # Triggers failover of environment's Cloud SQL instance (only for highly
    # resilient environments).
    DATABASE_FAILOVER = 7
  end
end

#operation_type::Google::Cloud::Orchestration::Airflow::Service::V1::OperationMetadata::Type

Returns Output only. The type of operation being performed.

Returns:



47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
# File 'proto_docs/google/cloud/orchestration/airflow/service/v1/operations.rb', line 47

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

  # An enum describing the overall state of an operation.
  module State
    # Unused.
    STATE_UNSPECIFIED = 0

    # The operation has been created but is not yet started.
    PENDING = 1

    # The operation is underway.
    RUNNING = 2

    # The operation completed successfully.
    SUCCEEDED = 3

    SUCCESSFUL = 3

    # The operation is no longer running but did not succeed.
    FAILED = 4
  end

  # Type of longrunning operation.
  module Type
    # Unused.
    TYPE_UNSPECIFIED = 0

    # A resource creation operation.
    CREATE = 1

    # A resource deletion operation.
    DELETE = 2

    # A resource update operation.
    UPDATE = 3

    # A resource check operation.
    CHECK = 4

    # Saves snapshot of the resource operation.
    SAVE_SNAPSHOT = 5

    # Loads snapshot of the resource operation.
    LOAD_SNAPSHOT = 6

    # Triggers failover of environment's Cloud SQL instance (only for highly
    # resilient environments).
    DATABASE_FAILOVER = 7
  end
end

#resource::String

Returns Output only. The resource being operated on, as a relative resource name.

Returns:



47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
# File 'proto_docs/google/cloud/orchestration/airflow/service/v1/operations.rb', line 47

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

  # An enum describing the overall state of an operation.
  module State
    # Unused.
    STATE_UNSPECIFIED = 0

    # The operation has been created but is not yet started.
    PENDING = 1

    # The operation is underway.
    RUNNING = 2

    # The operation completed successfully.
    SUCCEEDED = 3

    SUCCESSFUL = 3

    # The operation is no longer running but did not succeed.
    FAILED = 4
  end

  # Type of longrunning operation.
  module Type
    # Unused.
    TYPE_UNSPECIFIED = 0

    # A resource creation operation.
    CREATE = 1

    # A resource deletion operation.
    DELETE = 2

    # A resource update operation.
    UPDATE = 3

    # A resource check operation.
    CHECK = 4

    # Saves snapshot of the resource operation.
    SAVE_SNAPSHOT = 5

    # Loads snapshot of the resource operation.
    LOAD_SNAPSHOT = 6

    # Triggers failover of environment's Cloud SQL instance (only for highly
    # resilient environments).
    DATABASE_FAILOVER = 7
  end
end

#resource_uuid::String

Returns Output only. The UUID of the resource being operated on.

Returns:

  • (::String)

    Output only. The UUID of the resource being operated on.



47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
# File 'proto_docs/google/cloud/orchestration/airflow/service/v1/operations.rb', line 47

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

  # An enum describing the overall state of an operation.
  module State
    # Unused.
    STATE_UNSPECIFIED = 0

    # The operation has been created but is not yet started.
    PENDING = 1

    # The operation is underway.
    RUNNING = 2

    # The operation completed successfully.
    SUCCEEDED = 3

    SUCCESSFUL = 3

    # The operation is no longer running but did not succeed.
    FAILED = 4
  end

  # Type of longrunning operation.
  module Type
    # Unused.
    TYPE_UNSPECIFIED = 0

    # A resource creation operation.
    CREATE = 1

    # A resource deletion operation.
    DELETE = 2

    # A resource update operation.
    UPDATE = 3

    # A resource check operation.
    CHECK = 4

    # Saves snapshot of the resource operation.
    SAVE_SNAPSHOT = 5

    # Loads snapshot of the resource operation.
    LOAD_SNAPSHOT = 6

    # Triggers failover of environment's Cloud SQL instance (only for highly
    # resilient environments).
    DATABASE_FAILOVER = 7
  end
end

#state::Google::Cloud::Orchestration::Airflow::Service::V1::OperationMetadata::State

Returns Output only. The current operation state.

Returns:



47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
# File 'proto_docs/google/cloud/orchestration/airflow/service/v1/operations.rb', line 47

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

  # An enum describing the overall state of an operation.
  module State
    # Unused.
    STATE_UNSPECIFIED = 0

    # The operation has been created but is not yet started.
    PENDING = 1

    # The operation is underway.
    RUNNING = 2

    # The operation completed successfully.
    SUCCEEDED = 3

    SUCCESSFUL = 3

    # The operation is no longer running but did not succeed.
    FAILED = 4
  end

  # Type of longrunning operation.
  module Type
    # Unused.
    TYPE_UNSPECIFIED = 0

    # A resource creation operation.
    CREATE = 1

    # A resource deletion operation.
    DELETE = 2

    # A resource update operation.
    UPDATE = 3

    # A resource check operation.
    CHECK = 4

    # Saves snapshot of the resource operation.
    SAVE_SNAPSHOT = 5

    # Loads snapshot of the resource operation.
    LOAD_SNAPSHOT = 6

    # Triggers failover of environment's Cloud SQL instance (only for highly
    # resilient environments).
    DATABASE_FAILOVER = 7
  end
end