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

Constructor Details

#initialize(**args) ⇒ BuildBazelRemoteExecutionV2ExecutionCapabilities

Returns a new instance of BuildBazelRemoteExecutionV2ExecutionCapabilities.



1243
1244
1245
# File 'generated/google/apis/remotebuildexecution_v2/classes.rb', line 1243

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)


1224
1225
1226
# File 'generated/google/apis/remotebuildexecution_v2/classes.rb', line 1224

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)


1229
1230
1231
# File 'generated/google/apis/remotebuildexecution_v2/classes.rb', line 1229

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



1236
1237
1238
# File 'generated/google/apis/remotebuildexecution_v2/classes.rb', line 1236

def execution_priority_capabilities
  @execution_priority_capabilities
end

#supported_node_propertiesArray<String>

Supported node properties. Corresponds to the JSON property supportedNodeProperties

Returns:

  • (Array<String>)


1241
1242
1243
# File 'generated/google/apis/remotebuildexecution_v2/classes.rb', line 1241

def supported_node_properties
  @supported_node_properties
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1248
1249
1250
1251
1252
1253
# File 'generated/google/apis/remotebuildexecution_v2/classes.rb', line 1248

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