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
3848 3849 3850 |
# File 'generated/google/apis/remotebuildexecution_v1/classes.rb', line 3848 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
3816 3817 3818 |
# File 'generated/google/apis/remotebuildexecution_v1/classes.rb', line 3816 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
3824 3825 3826 |
# File 'generated/google/apis/remotebuildexecution_v1/classes.rb', line 3824 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
3831 3832 3833 |
# File 'generated/google/apis/remotebuildexecution_v1/classes.rb', line 3831 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.
3841 3842 3843 |
# File 'generated/google/apis/remotebuildexecution_v1/classes.rb', line 3841 def resume_marker @resume_marker end |
#state ⇒ String
The state of the element
.
Corresponds to the JSON property state
3846 3847 3848 |
# File 'generated/google/apis/remotebuildexecution_v1/classes.rb', line 3846 def state @state end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3853 3854 3855 3856 3857 3858 3859 |
# File 'generated/google/apis/remotebuildexecution_v1/classes.rb', line 3853 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 |