Class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaCollection
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaCollection
- 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
Collection is a container for configuring resources and access to a set of DataStores.
Instance Attribute Summary collapse
-
#create_time ⇒ String
Output only.
-
#data_connector ⇒ Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaDataConnector
Manages the connection to external data sources for all data stores grouped under a Collection.
-
#display_name ⇒ String
Required.
-
#name ⇒ String
Immutable.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaCollection
constructor
A new instance of GoogleCloudDiscoveryengineV1alphaCollection.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaCollection
Returns a new instance of GoogleCloudDiscoveryengineV1alphaCollection.
6705 6706 6707 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 6705 def initialize(**args) update!(**args) end |
Instance Attribute Details
#create_time ⇒ String
Output only. Timestamp the Collection was created at.
Corresponds to the JSON property createTime
6680 6681 6682 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 6680 def create_time @create_time end |
#data_connector ⇒ Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaDataConnector
Manages the connection to external data sources for all data stores grouped
under a Collection. It's a singleton resource of Collection. The
initialization is only supported through DataConnectorService.
SetUpDataConnector method, which will create a new Collection and initialize
its DataConnector.
Corresponds to the JSON property dataConnector
6689 6690 6691 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 6689 def data_connector @data_connector end |
#display_name ⇒ String
Required. The Collection display name. This field must be a UTF-8 encoded
string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT
error is returned.
Corresponds to the JSON property displayName
6696 6697 6698 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 6696 def display_name @display_name end |
#name ⇒ String
Immutable. The full resource name of the Collection. Format: projects/
project/locations/
location/collections/
collection_id`. This field must be
a UTF-8 encoded string with a length limit of 1024 characters.
Corresponds to the JSON property
name`
6703 6704 6705 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 6703 def name @name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6710 6711 6712 6713 6714 6715 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 6710 def update!(**args) @create_time = args[:create_time] if args.key?(:create_time) @data_connector = args[:data_connector] if args.key?(:data_connector) @display_name = args[:display_name] if args.key?(:display_name) @name = args[:name] if args.key?(:name) end |