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



1552
1553
1554
# File 'generated/google/apis/partners_v2/classes.rb', line 1552

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


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

def client_info
  @client_info
end

#detailsString

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

Returns:

  • (String)


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

def details
  @details
end

#levelString

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

Returns:

  • (String)


1545
1546
1547
# File 'generated/google/apis/partners_v2/classes.rb', line 1545

def level
  @level
end

#request_metadataGoogle::Apis::PartnersV2::RequestMetadata

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



1550
1551
1552
# File 'generated/google/apis/partners_v2/classes.rb', line 1550

def 
  @request_metadata
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1557
1558
1559
1560
1561
1562
# File 'generated/google/apis/partners_v2/classes.rb', line 1557

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