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.



1331
1332
1333
# File 'generated/google/apis/remotebuildexecution_v2/classes.rb', line 1331

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)


1316
1317
1318
# File 'generated/google/apis/remotebuildexecution_v2/classes.rb', line 1316

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)


1321
1322
1323
# File 'generated/google/apis/remotebuildexecution_v2/classes.rb', line 1321

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



1329
1330
1331
# File 'generated/google/apis/remotebuildexecution_v2/classes.rb', line 1329

def execution_priority_capabilities
  @execution_priority_capabilities
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1336
1337
1338
1339
1340
# File 'generated/google/apis/remotebuildexecution_v2/classes.rb', line 1336

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