Class: Google::Apis::RemotebuildexecutionV1::GoogleDevtoolsRemoteworkersV1test2Directory

Inherits:
Object
  • Object
show all
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

The contents of a directory. Similar to the equivalent message in the Remote Execution API.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ GoogleDevtoolsRemoteworkersV1test2Directory

Returns a new instance of GoogleDevtoolsRemoteworkersV1test2Directory.



2671
2672
2673
# File 'generated/google/apis/remotebuildexecution_v1/classes.rb', line 2671

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#directoriesArray<Google::Apis::RemotebuildexecutionV1::GoogleDevtoolsRemoteworkersV1test2DirectoryMetadata>

Any subdirectories Corresponds to the JSON property directories



2664
2665
2666
# File 'generated/google/apis/remotebuildexecution_v1/classes.rb', line 2664

def directories
  @directories
end

#filesArray<Google::Apis::RemotebuildexecutionV1::GoogleDevtoolsRemoteworkersV1test2FileMetadata>

The files in this directory Corresponds to the JSON property files



2669
2670
2671
# File 'generated/google/apis/remotebuildexecution_v1/classes.rb', line 2669

def files
  @files
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2676
2677
2678
2679
# File 'generated/google/apis/remotebuildexecution_v1/classes.rb', line 2676

def update!(**args)
  @directories = args[:directories] if args.key?(:directories)
  @files = args[:files] if args.key?(:files)
end