Class: Google::Apis::RemotebuildexecutionV1::BuildBazelRemoteExecutionV2ToolDetails

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

Overview

Details for the tool used to call the API.

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

Returns a new instance of BuildBazelRemoteExecutionV2ToolDetails



1355
1356
1357
# File 'generated/google/apis/remotebuildexecution_v1/classes.rb', line 1355

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

Instance Attribute Details

#tool_nameString

Name of the tool, e.g. bazel. Corresponds to the JSON property toolName

Returns:

  • (String)


1348
1349
1350
# File 'generated/google/apis/remotebuildexecution_v1/classes.rb', line 1348

def tool_name
  @tool_name
end

#tool_versionString

Version of the tool used for the request, e.g. 5.0.3. Corresponds to the JSON property toolVersion

Returns:

  • (String)


1353
1354
1355
# File 'generated/google/apis/remotebuildexecution_v1/classes.rb', line 1353

def tool_version
  @tool_version
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1360
1361
1362
1363
# File 'generated/google/apis/remotebuildexecution_v1/classes.rb', line 1360

def update!(**args)
  @tool_name = args[:tool_name] if args.key?(:tool_name)
  @tool_version = args[:tool_version] if args.key?(:tool_version)
end