Class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaGroundingConfig

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

Grounding configuration.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaGroundingConfig

Returns a new instance of GoogleCloudDiscoveryengineV1alphaGroundingConfig.



4348
4349
4350
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 4348

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

Instance Attribute Details

#nameString

Required. Name of the GroundingConfig, of the form projects/project/ locations/location/groundingConfig. Corresponds to the JSON property name

Returns:

  • (String)


4346
4347
4348
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 4346

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4353
4354
4355
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 4353

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