Class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineLoggingSourceLocation
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineLoggingSourceLocation
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/discoveryengine_v1/classes.rb,
lib/google/apis/discoveryengine_v1/representations.rb,
lib/google/apis/discoveryengine_v1/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—for example, `google.cloud.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDiscoveryengineLoggingSourceLocation
constructor
A new instance of GoogleCloudDiscoveryengineLoggingSourceLocation.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDiscoveryengineLoggingSourceLocation
Returns a new instance of GoogleCloudDiscoveryengineLoggingSourceLocation.
684 685 686 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 684 def initialize(**args) update!(**args) end |
Instance Attribute Details
#function_name ⇒ String
Human-readable name of a function or method—for example, google.cloud.
discoveryengine.v1alpha.RecommendationService.Recommend
.
Corresponds to the JSON property functionName
682 683 684 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 682 def function_name @function_name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
689 690 691 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 689 def update!(**args) @function_name = args[:function_name] if args.key?(:function_name) end |