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.



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

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)


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

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)


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

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



1400
1401
1402
# File 'generated/google/apis/remotebuildexecution_v2/classes.rb', line 1400

def execution_priority_capabilities
  @execution_priority_capabilities
end

#supported_node_propertiesArray<String>

Supported node properties. Corresponds to the JSON property supportedNodeProperties

Returns:

  • (Array<String>)


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

def supported_node_properties
  @supported_node_properties
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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)
  @supported_node_properties = args[:supported_node_properties] if args.key?(:supported_node_properties)
end