Class: Google::Apis::RetailV2alpha::GoogleCloudRetailLoggingSourceLocation
- Inherits:
-
Object
- Object
- Google::Apis::RetailV2alpha::GoogleCloudRetailLoggingSourceLocation
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/retail_v2alpha/classes.rb,
lib/google/apis/retail_v2alpha/representations.rb,
lib/google/apis/retail_v2alpha/representations.rb
Overview
Indicates a location in the source code of the service for which errors are reported.
Instance Attribute Summary collapse
-
#function_name ⇒ String
Human-readable name of a function or method.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudRetailLoggingSourceLocation
constructor
A new instance of GoogleCloudRetailLoggingSourceLocation.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudRetailLoggingSourceLocation
Returns a new instance of GoogleCloudRetailLoggingSourceLocation.
315 316 317 |
# File 'lib/google/apis/retail_v2alpha/classes.rb', line 315 def initialize(**args) update!(**args) end |
Instance Attribute Details
#function_name ⇒ String
Human-readable name of a function or method. For example, "google.cloud.retail.
v2.UserEventService.ImportUserEvents".
Corresponds to the JSON property functionName
313 314 315 |
# File 'lib/google/apis/retail_v2alpha/classes.rb', line 313 def function_name @function_name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
320 321 322 |
# File 'lib/google/apis/retail_v2alpha/classes.rb', line 320 def update!(**args) @function_name = args[:function_name] if args.key?(:function_name) end |