Class: Google::Apis::PartnersV2::LogMessageRequest

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

Overview

Request message for LogClientMessage.

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

Returns a new instance of LogMessageRequest.


407
408
409
# File 'generated/google/apis/partners_v2/classes.rb', line 407

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

Instance Attribute Details

#client_infoHash<String,String>

Map of client info, such as URL, browser navigator, browser platform, etc. Corresponds to the JSON property clientInfo

Returns:

  • (Hash<String,String>)

405
406
407
# File 'generated/google/apis/partners_v2/classes.rb', line 405

def client_info
  @client_info
end

#detailsString

Details about the client message. Corresponds to the JSON property details

Returns:

  • (String)

400
401
402
# File 'generated/google/apis/partners_v2/classes.rb', line 400

def details
  @details
end

#levelString

Message level of client message. Corresponds to the JSON property level

Returns:

  • (String)

395
396
397
# File 'generated/google/apis/partners_v2/classes.rb', line 395

def level
  @level
end

#request_metadataGoogle::Apis::PartnersV2::RequestMetadata

Common data that is in each API request. Corresponds to the JSON property requestMetadata


390
391
392
# File 'generated/google/apis/partners_v2/classes.rb', line 390

def 
  @request_metadata
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


412
413
414
415
416
417
# File 'generated/google/apis/partners_v2/classes.rb', line 412

def update!(**args)
  @request_metadata = args[:request_metadata] if args.key?(:request_metadata)
  @level = args[:level] if args.key?(:level)
  @details = args[:details] if args.key?(:details)
  @client_info = args[:client_info] if args.key?(:client_info)
end