Class: Google::Apis::RemotebuildexecutionV2::BuildBazelRemoteExecutionV2ExecutionCapabilities

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

Capabilities of the remote execution system.

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

Returns a new instance of BuildBazelRemoteExecutionV2ExecutionCapabilities



1408
1409
1410
# File 'generated/google/apis/remotebuildexecution_v2/classes.rb', line 1408

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

Instance Attribute Details

#digest_functionString

Remote execution may only support a single digest function. Corresponds to the JSON property digestFunction

Returns:

  • (String)


1393
1394
1395
# File 'generated/google/apis/remotebuildexecution_v2/classes.rb', line 1393

def digest_function
  @digest_function
end

#exec_enabledBoolean Also known as: exec_enabled?

Whether remote execution is enabled for the particular server/instance. Corresponds to the JSON property execEnabled

Returns:

  • (Boolean)


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

def exec_enabled
  @exec_enabled
end

#execution_priority_capabilitiesGoogle::Apis::RemotebuildexecutionV2::BuildBazelRemoteExecutionV2PriorityCapabilities

Allowed values for priority in ResultsCachePolicy Used for querying both cache and execution valid priority ranges. Corresponds to the JSON property executionPriorityCapabilities



1406
1407
1408
# File 'generated/google/apis/remotebuildexecution_v2/classes.rb', line 1406

def execution_priority_capabilities
  @execution_priority_capabilities
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1413
1414
1415
1416
1417
# File 'generated/google/apis/remotebuildexecution_v2/classes.rb', line 1413

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