Class: Google::Apis::RemotebuildexecutionV1::BuildBazelRemoteExecutionV2ToolDetails
- Inherits:
-
Object
- Object
- Google::Apis::RemotebuildexecutionV1::BuildBazelRemoteExecutionV2ToolDetails
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/remotebuildexecution_v1/classes.rb,
lib/google/apis/remotebuildexecution_v1/representations.rb,
lib/google/apis/remotebuildexecution_v1/representations.rb
Overview
Details for the tool used to call the API.
Instance Attribute Summary collapse
-
#tool_name ⇒ String
Name of the tool, e.g.
-
#tool_version ⇒ String
Version of the tool used for the request, e.g.
Instance Method Summary collapse
-
#initialize(**args) ⇒ BuildBazelRemoteExecutionV2ToolDetails
constructor
A new instance of BuildBazelRemoteExecutionV2ToolDetails.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ BuildBazelRemoteExecutionV2ToolDetails
Returns a new instance of BuildBazelRemoteExecutionV2ToolDetails.
1384 1385 1386 |
# File 'lib/google/apis/remotebuildexecution_v1/classes.rb', line 1384 def initialize(**args) update!(**args) end |
Instance Attribute Details
#tool_name ⇒ String
Name of the tool, e.g. bazel.
Corresponds to the JSON property toolName
1377 1378 1379 |
# File 'lib/google/apis/remotebuildexecution_v1/classes.rb', line 1377 def tool_name @tool_name end |
#tool_version ⇒ String
Version of the tool used for the request, e.g. 5.0.3.
Corresponds to the JSON property toolVersion
1382 1383 1384 |
# File 'lib/google/apis/remotebuildexecution_v1/classes.rb', line 1382 def tool_version @tool_version end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1389 1390 1391 1392 |
# File 'lib/google/apis/remotebuildexecution_v1/classes.rb', line 1389 def update!(**args) @tool_name = args[:tool_name] if args.key?(:tool_name) @tool_version = args[:tool_version] if args.key?(:tool_version) end |