Class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAnswerStepActionObservationSearchResultSnippetInfo
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAnswerStepActionObservationSearchResultSnippetInfo
- 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
Snippet information.
Instance Attribute Summary collapse
-
#snippet ⇒ String
Snippet content.
-
#snippet_status ⇒ String
Status of the snippet defined by the search team.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaAnswerStepActionObservationSearchResultSnippetInfo
constructor
A new instance of GoogleCloudDiscoveryengineV1alphaAnswerStepActionObservationSearchResultSnippetInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaAnswerStepActionObservationSearchResultSnippetInfo
Returns a new instance of GoogleCloudDiscoveryengineV1alphaAnswerStepActionObservationSearchResultSnippetInfo.
3827 3828 3829 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 3827 def initialize(**args) update!(**args) end |
Instance Attribute Details
#snippet ⇒ String
Snippet content.
Corresponds to the JSON property snippet
3820 3821 3822 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 3820 def snippet @snippet end |
#snippet_status ⇒ String
Status of the snippet defined by the search team.
Corresponds to the JSON property snippetStatus
3825 3826 3827 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 3825 def snippet_status @snippet_status end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3832 3833 3834 3835 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 3832 def update!(**args) @snippet = args[:snippet] if args.key?(:snippet) @snippet_status = args[:snippet_status] if args.key?(:snippet_status) end |