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



1541
1542
1543
# File 'generated/google/apis/partners_v2/classes.rb', line 1541

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


1524
1525
1526
# File 'generated/google/apis/partners_v2/classes.rb', line 1524

def client_info
  @client_info
end

#detailsString

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

Returns:

  • (String)


1529
1530
1531
# File 'generated/google/apis/partners_v2/classes.rb', line 1529

def details
  @details
end

#levelString

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

Returns:

  • (String)


1534
1535
1536
# File 'generated/google/apis/partners_v2/classes.rb', line 1534

def level
  @level
end

#request_metadataGoogle::Apis::PartnersV2::RequestMetadata

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



1539
1540
1541
# File 'generated/google/apis/partners_v2/classes.rb', line 1539

def 
  @request_metadata
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1546
1547
1548
1549
1550
1551
# File 'generated/google/apis/partners_v2/classes.rb', line 1546

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