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

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

Overview

Information about the client which invoked the test.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ClientInfo

Returns a new instance of ClientInfo.



792
793
794
# File 'lib/google/apis/testing_v1/classes.rb', line 792

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



785
786
787
# File 'lib/google/apis/testing_v1/classes.rb', line 785

def client_info_details
  @client_info_details
end

#nameString

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

Returns:

  • (String)


790
791
792
# File 'lib/google/apis/testing_v1/classes.rb', line 790

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



797
798
799
800
# File 'lib/google/apis/testing_v1/classes.rb', line 797

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