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

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

A response message for ContentAddressableStorage.GetTree.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ BuildBazelRemoteExecutionV2GetTreeResponse

Returns a new instance of BuildBazelRemoteExecutionV2GetTreeResponse.



1443
1444
1445
# File 'lib/google/apis/remotebuildexecution_v2/classes.rb', line 1443

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



1434
1435
1436
# File 'lib/google/apis/remotebuildexecution_v2/classes.rb', line 1434

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)


1441
1442
1443
# File 'lib/google/apis/remotebuildexecution_v2/classes.rb', line 1441

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1448
1449
1450
1451
# File 'lib/google/apis/remotebuildexecution_v2/classes.rb', line 1448

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