Class: Google::Cloud::Monitoring::MetricsScope::V1::OperationMetadata

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/monitoring/metricsscope/v1/metrics_scopes.rb

Overview

Contains metadata for longrunning operation for the edit Metrics Scope endpoints.

Defined Under Namespace

Modules: State

Instance Attribute Summary collapse

Instance Attribute Details

#create_time::Google::Protobuf::Timestamp

Returns The time when the batch request was received.

Returns:



101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
# File 'proto_docs/google/monitoring/metricsscope/v1/metrics_scopes.rb', line 101

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

  # Batch operation states.
  module State
    # Invalid.
    STATE_UNSPECIFIED = 0

    # Request has been received.
    CREATED = 1

    # Request is actively being processed.
    RUNNING = 2

    # The batch processing is done.
    DONE = 3

    # The batch processing was cancelled.
    CANCELLED = 4
  end
end

#state::Google::Cloud::Monitoring::MetricsScope::V1::OperationMetadata::State

Returns Current state of the batch operation.

Returns:



101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
# File 'proto_docs/google/monitoring/metricsscope/v1/metrics_scopes.rb', line 101

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

  # Batch operation states.
  module State
    # Invalid.
    STATE_UNSPECIFIED = 0

    # Request has been received.
    CREATED = 1

    # Request is actively being processed.
    RUNNING = 2

    # The batch processing is done.
    DONE = 3

    # The batch processing was cancelled.
    CANCELLED = 4
  end
end

#update_time::Google::Protobuf::Timestamp

Returns The time when the operation result was last updated.

Returns:



101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
# File 'proto_docs/google/monitoring/metricsscope/v1/metrics_scopes.rb', line 101

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

  # Batch operation states.
  module State
    # Invalid.
    STATE_UNSPECIFIED = 0

    # Request has been received.
    CREATED = 1

    # Request is actively being processed.
    RUNNING = 2

    # The batch processing is done.
    DONE = 3

    # The batch processing was cancelled.
    CANCELLED = 4
  end
end