Class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1betaGroundingConfig

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) ⇒ GoogleCloudDiscoveryengineV1betaGroundingConfig

Returns a new instance of GoogleCloudDiscoveryengineV1betaGroundingConfig.



10211
10212
10213
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 10211

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)


10209
10210
10211
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 10209

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



10216
10217
10218
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 10216

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