class Google::Apis::RemotebuildexecutionV2::GoogleDevtoolsRemoteworkersV1test2DirectoryMetadata

The metadata for a directory. Similar to the equivalent message in the Remote Execution API.

Attributes

digest[RW]

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` @return [Google::Apis::RemotebuildexecutionV2::GoogleDevtoolsRemoteworkersV1test2Digest]

path[RW]

The path of the directory, as in FileMetadata.path. Corresponds to the JSON property `path` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/remotebuildexecution_v2/classes.rb, line 3612
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/remotebuildexecution_v2/classes.rb, line 3617
def update!(**args)
  @digest = args[:digest] if args.key?(:digest)
  @path = args[:path] if args.key?(:path)
end