Class: Google::Apis::RemotebuildexecutionV2::BuildBazelRemoteExecutionV2ToolDetails
- Inherits:
-
Object
- Object
- Google::Apis::RemotebuildexecutionV2::BuildBazelRemoteExecutionV2ToolDetails
- 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
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.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ BuildBazelRemoteExecutionV2ToolDetails
Returns a new instance of BuildBazelRemoteExecutionV2ToolDetails
2055 2056 2057 |
# File 'generated/google/apis/remotebuildexecution_v2/classes.rb', line 2055 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
2048 2049 2050 |
# File 'generated/google/apis/remotebuildexecution_v2/classes.rb', line 2048 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
2053 2054 2055 |
# File 'generated/google/apis/remotebuildexecution_v2/classes.rb', line 2053 def tool_version @tool_version end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2060 2061 2062 2063 |
# File 'generated/google/apis/remotebuildexecution_v2/classes.rb', line 2060 def update!(**args) @tool_name = args[:tool_name] if args.key?(:tool_name) @tool_version = args[:tool_version] if args.key?(:tool_version) end |