Class: Google::Apis::RemotebuildexecutionV2::GoogleDevtoolsRemoteworkersV1test2Directory

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/remotebuildexecution_v2/classes.rb,
lib/google/apis/remotebuildexecution_v2/representations.rb,
lib/google/apis/remotebuildexecution_v2/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

Constructor Details

#initialize(**args) ⇒ GoogleDevtoolsRemoteworkersV1test2Directory

Returns a new instance of GoogleDevtoolsRemoteworkersV1test2Directory.



3580
3581
3582
# File 'lib/google/apis/remotebuildexecution_v2/classes.rb', line 3580

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

Instance Attribute Details

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

Any subdirectories Corresponds to the JSON property directories



3573
3574
3575
# File 'lib/google/apis/remotebuildexecution_v2/classes.rb', line 3573

def directories
  @directories
end

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

The files in this directory Corresponds to the JSON property files



3578
3579
3580
# File 'lib/google/apis/remotebuildexecution_v2/classes.rb', line 3578

def files
  @files
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3585
3586
3587
3588
# File 'lib/google/apis/remotebuildexecution_v2/classes.rb', line 3585

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