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

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/remotebuildexecution_v2/classes.rb,
lib/google/apis/remotebuildexecution_v2/representations.rb,
lib/google/apis/remotebuildexecution_v2/representations.rb
more...

Overview

Capabilities of the remote execution system.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ BuildBazelRemoteExecutionV2ExecutionCapabilities

Returns a new instance of BuildBazelRemoteExecutionV2ExecutionCapabilities.

[View source]

1288
1289
1290
# File 'lib/google/apis/remotebuildexecution_v2/classes.rb', line 1288

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)

1269
1270
1271
# File 'lib/google/apis/remotebuildexecution_v2/classes.rb', line 1269

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)

1274
1275
1276
# File 'lib/google/apis/remotebuildexecution_v2/classes.rb', line 1274

def exec_enabled
  @exec_enabled
end

#execution_priority_capabilitiesGoogle::Apis::RemotebuildexecutionV2::BuildBazelRemoteExecutionV2PriorityCapabilities

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


1281
1282
1283
# File 'lib/google/apis/remotebuildexecution_v2/classes.rb', line 1281

def execution_priority_capabilities
  @execution_priority_capabilities
end

#supported_node_propertiesArray<String>

Supported node properties. Corresponds to the JSON property supportedNodeProperties

Returns:

  • (Array<String>)

1286
1287
1288
# File 'lib/google/apis/remotebuildexecution_v2/classes.rb', line 1286

def supported_node_properties
  @supported_node_properties
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object

[View source]

1293
1294
1295
1296
1297
1298
# File 'lib/google/apis/remotebuildexecution_v2/classes.rb', line 1293

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