Class: Google::Apis::RemotebuildexecutionV2::GoogleDevtoolsRemoteworkersV1test2Blob
- Inherits:
-
Object
- Object
- Google::Apis::RemotebuildexecutionV2::GoogleDevtoolsRemoteworkersV1test2Blob
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/remotebuildexecution_v2/classes.rb,
generated/google/apis/remotebuildexecution_v2/representations.rb,
generated/google/apis/remotebuildexecution_v2/representations.rb
Overview
Describes a blob of binary content with its digest.
Instance Attribute Summary collapse
-
#contents ⇒ String
The contents of the blob.
-
#digest ⇒ Google::Apis::RemotebuildexecutionV2::GoogleDevtoolsRemoteworkersV1test2Digest
The CommandTask and CommandResult messages assume the existence of a service that can serve blobs of content, identified by a hash and size known as a " digest." The method by which these blobs may be retrieved is not specified here, but a model implementation is in the Remote Execution API's " ContentAddressibleStorage" interface.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleDevtoolsRemoteworkersV1test2Blob
constructor
A new instance of GoogleDevtoolsRemoteworkersV1test2Blob.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleDevtoolsRemoteworkersV1test2Blob
Returns a new instance of GoogleDevtoolsRemoteworkersV1test2Blob.
2982 2983 2984 |
# File 'generated/google/apis/remotebuildexecution_v2/classes.rb', line 2982 def initialize(**args) update!(**args) end |
Instance Attribute Details
#contents ⇒ String
The contents of the blob.
Corresponds to the JSON property contents
NOTE: Values are automatically base64 encoded/decoded in the client library.
2969 2970 2971 |
# File 'generated/google/apis/remotebuildexecution_v2/classes.rb', line 2969 def contents @contents end |
#digest ⇒ Google::Apis::RemotebuildexecutionV2::GoogleDevtoolsRemoteworkersV1test2Digest
The CommandTask and CommandResult messages assume the existence of a service
that can serve blobs of content, identified by a hash and size known as a "
digest." The method by which these blobs may be retrieved is not specified
here, but a model implementation is in the Remote Execution API's "
ContentAddressibleStorage" interface. In the context of the RWAPI, a Digest
will virtually always refer to the contents of a file or a directory. The
latter is represented by the byte-encoded Directory message.
Corresponds to the JSON property digest
2980 2981 2982 |
# File 'generated/google/apis/remotebuildexecution_v2/classes.rb', line 2980 def digest @digest end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2987 2988 2989 2990 |
# File 'generated/google/apis/remotebuildexecution_v2/classes.rb', line 2987 def update!(**args) @contents = args[:contents] if args.key?(:contents) @digest = args[:digest] if args.key?(:digest) end |