Class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineLoggingSourceLocation

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/discoveryengine_v1alpha/classes.rb,
lib/google/apis/discoveryengine_v1alpha/representations.rb,
lib/google/apis/discoveryengine_v1alpha/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) ⇒ GoogleCloudDiscoveryengineLoggingSourceLocation

Returns a new instance of GoogleCloudDiscoveryengineLoggingSourceLocation.



247
248
249
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 247

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

Instance Attribute Details

#function_nameString

Human-readable name of a function or method—for example, google.cloud. discoveryengine.v1alpha.RecommendationService.Recommend. Corresponds to the JSON property functionName

Returns:

  • (String)


245
246
247
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 245

def function_name
  @function_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



252
253
254
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 252

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