Class: Google::Apis::PartnersV2::LogMessageRequest
- Inherits:
-
Object
- Object
- Google::Apis::PartnersV2::LogMessageRequest
- 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
-
#client_info ⇒ Hash<String,String>
Map of client info, such as URL, browser navigator, browser platform, etc.
-
#details ⇒ String
Details about the client message.
-
#level ⇒ String
Message level of client message.
-
#request_metadata ⇒ Google::Apis::PartnersV2::RequestMetadata
Common data that is in each API request.
Instance Method Summary collapse
-
#initialize(**args) ⇒ LogMessageRequest
constructor
A new instance of LogMessageRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
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_info ⇒ Hash<String,String>
Map of client info, such as URL, browser navigator, browser platform, etc.
Corresponds to the JSON property clientInfo
76 77 78 |
# File 'generated/google/apis/partners_v2/classes.rb', line 76 def client_info @client_info end |
#details ⇒ String
Details about the client message.
Corresponds to the JSON property details
71 72 73 |
# File 'generated/google/apis/partners_v2/classes.rb', line 71 def details @details end |
#level ⇒ String
Message level of client message.
Corresponds to the JSON property level
66 67 68 |
# File 'generated/google/apis/partners_v2/classes.rb', line 66 def level @level end |
#request_metadata ⇒ Google::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 |