Class: Google::Apis::RemotebuildexecutionV2::BuildBazelRemoteExecutionV2ToolDetails

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

Overview

Details for the tool used to call the API.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ BuildBazelRemoteExecutionV2ToolDetails

Returns a new instance of BuildBazelRemoteExecutionV2ToolDetails.



2040
2041
2042
# File 'lib/google/apis/remotebuildexecution_v2/classes.rb', line 2040

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)


2033
2034
2035
# File 'lib/google/apis/remotebuildexecution_v2/classes.rb', line 2033

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)


2038
2039
2040
# File 'lib/google/apis/remotebuildexecution_v2/classes.rb', line 2038

def tool_version
  @tool_version
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2045
2046
2047
2048
# File 'lib/google/apis/remotebuildexecution_v2/classes.rb', line 2045

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