Class: Google::Apis::RetailV2beta::GoogleCloudRetailLoggingSourceLocation

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/retail_v2beta/classes.rb,
lib/google/apis/retail_v2beta/representations.rb,
lib/google/apis/retail_v2beta/representations.rb

Overview

Indicates a location in the source code of the service for which errors are reported.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudRetailLoggingSourceLocation

Returns a new instance of GoogleCloudRetailLoggingSourceLocation.



272
273
274
# File 'lib/google/apis/retail_v2beta/classes.rb', line 272

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#function_nameString

Human-readable name of a function or method. For example, "google.cloud.retail. v2.UserEventService.ImportUserEvents". Corresponds to the JSON property functionName

Returns:

  • (String)


270
271
272
# File 'lib/google/apis/retail_v2beta/classes.rb', line 270

def function_name
  @function_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



277
278
279
# File 'lib/google/apis/retail_v2beta/classes.rb', line 277

def update!(**args)
  @function_name = args[:function_name] if args.key?(:function_name)
end