Class: Google::Apis::RemotebuildexecutionV1alpha::GoogleDevtoolsRemoteexecutionV1testToolDetails

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/remotebuildexecution_v1alpha/classes.rb,
generated/google/apis/remotebuildexecution_v1alpha/representations.rb,
generated/google/apis/remotebuildexecution_v1alpha/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) ⇒ GoogleDevtoolsRemoteexecutionV1testToolDetails

Returns a new instance of GoogleDevtoolsRemoteexecutionV1testToolDetails



2883
2884
2885
# File 'generated/google/apis/remotebuildexecution_v1alpha/classes.rb', line 2883

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)


2876
2877
2878
# File 'generated/google/apis/remotebuildexecution_v1alpha/classes.rb', line 2876

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)


2881
2882
2883
# File 'generated/google/apis/remotebuildexecution_v1alpha/classes.rb', line 2881

def tool_version
  @tool_version
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2888
2889
2890
2891
# File 'generated/google/apis/remotebuildexecution_v1alpha/classes.rb', line 2888

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