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



83
84
85
# File 'generated/google/apis/partners_v2/classes.rb', line 83

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


76
77
78
# File 'generated/google/apis/partners_v2/classes.rb', line 76

def client_info
  @client_info
end

#detailsString

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

Returns:

  • (String)


71
72
73
# File 'generated/google/apis/partners_v2/classes.rb', line 71

def details
  @details
end

#levelString

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

Returns:

  • (String)


66
67
68
# File 'generated/google/apis/partners_v2/classes.rb', line 66

def level
  @level
end

#request_metadataGoogle::Apis::PartnersV2::RequestMetadata

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



81
82
83
# File 'generated/google/apis/partners_v2/classes.rb', line 81

def 
  @request_metadata
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



88
89
90
91
92
93
# File 'generated/google/apis/partners_v2/classes.rb', line 88

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