Class: Google::Apis::RemotebuildexecutionV2::BuildBazelRemoteExecutionV2BatchUpdateBlobsRequest

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 request message for ContentAddressableStorage.BatchUpdateBlobs.

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

Returns a new instance of BuildBazelRemoteExecutionV2BatchUpdateBlobsRequest.


468
469
470
# File 'generated/google/apis/remotebuildexecution_v2/classes.rb', line 468

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

Instance Attribute Details

#requestsArray<Google::Apis::RemotebuildexecutionV2::BuildBazelRemoteExecutionV2BatchUpdateBlobsRequestRequest>

The individual upload requests. Corresponds to the JSON property requests


466
467
468
# File 'generated/google/apis/remotebuildexecution_v2/classes.rb', line 466

def requests
  @requests
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


473
474
475
# File 'generated/google/apis/remotebuildexecution_v2/classes.rb', line 473

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