Class: Google::Apis::RemotebuildexecutionV2::BuildBazelRemoteExecutionV2GetTreeResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/remotebuildexecution_v2/classes.rb,
generated/google/apis/remotebuildexecution_v2/representations.rb,
generated/google/apis/remotebuildexecution_v2/representations.rb

Overview

A response message for ContentAddressableStorage.GetTree.

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) ⇒ BuildBazelRemoteExecutionV2GetTreeResponse

Returns a new instance of BuildBazelRemoteExecutionV2GetTreeResponse.



1568
1569
1570
# File 'generated/google/apis/remotebuildexecution_v2/classes.rb', line 1568

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

Instance Attribute Details

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

The directories descended from the requested root. Corresponds to the JSON property directories



1558
1559
1560
# File 'generated/google/apis/remotebuildexecution_v2/classes.rb', line 1558

def directories
  @directories
end

#next_page_tokenString

If present, signifies that there are more results which the client can retrieve by passing this as the page_token in a subsequent request. If empty, signifies that this is the last page of results. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


1566
1567
1568
# File 'generated/google/apis/remotebuildexecution_v2/classes.rb', line 1566

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1573
1574
1575
1576
# File 'generated/google/apis/remotebuildexecution_v2/classes.rb', line 1573

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