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.


1397
1398
1399
# File 'generated/google/apis/remotebuildexecution_v2/classes.rb', line 1397

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


1388
1389
1390
# File 'generated/google/apis/remotebuildexecution_v2/classes.rb', line 1388

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)

1395
1396
1397
# File 'generated/google/apis/remotebuildexecution_v2/classes.rb', line 1395

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


1402
1403
1404
1405
# File 'generated/google/apis/remotebuildexecution_v2/classes.rb', line 1402

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