Class: Google::Apis::RemotebuildexecutionV1alpha::GoogleDevtoolsRemoteworkersV1test2Directory

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



2810
2811
2812
# File 'lib/google/apis/remotebuildexecution_v1alpha/classes.rb', line 2810

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

Instance Attribute Details

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

Any subdirectories Corresponds to the JSON property directories



2803
2804
2805
# File 'lib/google/apis/remotebuildexecution_v1alpha/classes.rb', line 2803

def directories
  @directories
end

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

The files in this directory Corresponds to the JSON property files



2808
2809
2810
# File 'lib/google/apis/remotebuildexecution_v1alpha/classes.rb', line 2808

def files
  @files
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2815
2816
2817
2818
# File 'lib/google/apis/remotebuildexecution_v1alpha/classes.rb', line 2815

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