Class: Google::Apis::RemotebuildexecutionV1alpha::GoogleDevtoolsRemoteworkersV1test2DirectoryMetadata
- Inherits:
-
Object
- Object
- Google::Apis::RemotebuildexecutionV1alpha::GoogleDevtoolsRemoteworkersV1test2DirectoryMetadata
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/remotebuildexecution_v1alpha/classes.rb,
generated/google/apis/remotebuildexecution_v1alpha/representations.rb,
generated/google/apis/remotebuildexecution_v1alpha/representations.rb
Overview
The metadata for a directory. Similar to the equivalent message in the Remote Execution API.
Instance Attribute Summary collapse
-
#digest ⇒ Google::Apis::RemotebuildexecutionV1alpha::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.
-
#path ⇒ String
The path of the directory, as in FileMetadata.path.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleDevtoolsRemoteworkersV1test2DirectoryMetadata
constructor
A new instance of GoogleDevtoolsRemoteworkersV1test2DirectoryMetadata.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleDevtoolsRemoteworkersV1test2DirectoryMetadata
Returns a new instance of GoogleDevtoolsRemoteworkersV1test2DirectoryMetadata.
2740 2741 2742 |
# File 'generated/google/apis/remotebuildexecution_v1alpha/classes.rb', line 2740 def initialize(**args) update!(**args) end |
Instance Attribute Details
#digest ⇒ Google::Apis::RemotebuildexecutionV1alpha::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
2733 2734 2735 |
# File 'generated/google/apis/remotebuildexecution_v1alpha/classes.rb', line 2733 def digest @digest end |
#path ⇒ String
The path of the directory, as in FileMetadata.path.
Corresponds to the JSON property path
2738 2739 2740 |
# File 'generated/google/apis/remotebuildexecution_v1alpha/classes.rb', line 2738 def path @path end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2745 2746 2747 2748 |
# File 'generated/google/apis/remotebuildexecution_v1alpha/classes.rb', line 2745 def update!(**args) @digest = args[:digest] if args.key?(:digest) @path = args[:path] if args.key?(:path) end |