Class: Google::Apis::RemotebuildexecutionV1::GoogleWatcherV1Change
- Inherits:
-
Object
- Object
- Google::Apis::RemotebuildexecutionV1::GoogleWatcherV1Change
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/remotebuildexecution_v1/classes.rb,
generated/google/apis/remotebuildexecution_v1/representations.rb,
generated/google/apis/remotebuildexecution_v1/representations.rb
Overview
A Change indicates the most recent state of an element.
Instance Attribute Summary collapse
-
#continued ⇒ Boolean
(also: #continued?)
If true, this Change is followed by more Changes that are in the same group as this Change.
-
#data ⇒ Hash<String,Object>
The actual change data.
-
#element ⇒ String
Name of the element, interpreted relative to the entity's actual name.
-
#resume_marker ⇒ String
If present, provides a compact representation of all the messages that have been received by the caller for the given entity, e.g., it could be a sequence number or a multi-part timestamp/version vector.
-
#state ⇒ String
The state of the
element
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleWatcherV1Change
constructor
A new instance of GoogleWatcherV1Change.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ GoogleWatcherV1Change
Returns a new instance of GoogleWatcherV1Change
3826 3827 3828 |
# File 'generated/google/apis/remotebuildexecution_v1/classes.rb', line 3826 def initialize(**args) update!(**args) end |
Instance Attribute Details
#continued ⇒ Boolean Also known as: continued?
If true, this Change is followed by more Changes that are in the same group
as this Change.
Corresponds to the JSON property continued
3794 3795 3796 |
# File 'generated/google/apis/remotebuildexecution_v1/classes.rb', line 3794 def continued @continued end |
#data ⇒ Hash<String,Object>
The actual change data. This field is present only when state() == EXISTS
or state() == ERROR
. Please see google.protobuf.Any about how to use
the Any type.
Corresponds to the JSON property data
3802 3803 3804 |
# File 'generated/google/apis/remotebuildexecution_v1/classes.rb', line 3802 def data @data end |
#element ⇒ String
Name of the element, interpreted relative to the entity's actual
name. "" refers to the entity itself. The element name is a valid
UTF-8 string.
Corresponds to the JSON property element
3809 3810 3811 |
# File 'generated/google/apis/remotebuildexecution_v1/classes.rb', line 3809 def element @element end |
#resume_marker ⇒ String
If present, provides a compact representation of all the messages that have
been received by the caller for the given entity, e.g., it could be a
sequence number or a multi-part timestamp/version vector. This marker can
be provided in the Request message, allowing the caller to resume the
stream watching at a specific point without fetching the initial state.
Corresponds to the JSON property resumeMarker
NOTE: Values are automatically base64 encoded/decoded in the client library.
3819 3820 3821 |
# File 'generated/google/apis/remotebuildexecution_v1/classes.rb', line 3819 def resume_marker @resume_marker end |
#state ⇒ String
The state of the element
.
Corresponds to the JSON property state
3824 3825 3826 |
# File 'generated/google/apis/remotebuildexecution_v1/classes.rb', line 3824 def state @state end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3831 3832 3833 3834 3835 3836 3837 |
# File 'generated/google/apis/remotebuildexecution_v1/classes.rb', line 3831 def update!(**args) @continued = args[:continued] if args.key?(:continued) @data = args[:data] if args.key?(:data) @element = args[:element] if args.key?(:element) @resume_marker = args[:resume_marker] if args.key?(:resume_marker) @state = args[:state] if args.key?(:state) end |