Class: Google::Apis::TestingV1::ClientInfo

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

Overview

Information about the client which invoked the test.

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

Returns a new instance of ClientInfo



745
746
747
# File 'generated/google/apis/testing_v1/classes.rb', line 745

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

Instance Attribute Details

#client_info_detailsArray<Google::Apis::TestingV1::ClientInfoDetail>

The list of detailed information about client. Corresponds to the JSON property clientInfoDetails



737
738
739
# File 'generated/google/apis/testing_v1/classes.rb', line 737

def client_info_details
  @client_info_details
end

#nameString

Client name, such as gcloud. Required Corresponds to the JSON property name

Returns:

  • (String)


743
744
745
# File 'generated/google/apis/testing_v1/classes.rb', line 743

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



750
751
752
753
# File 'generated/google/apis/testing_v1/classes.rb', line 750

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