GoogleApi.DiscoveryEngine.V1beta.Model.GoogleCloudDiscoveryengineV1alphaCollection (google_api_discovery_engine v0.28.0)

View Source

Collection is a container for configuring resources and access to a set of DataStores.

Attributes

  • createTime (type: DateTime.t, default: nil) - Output only. Timestamp the Collection was created at.
  • dataConnector (type: GoogleApi.DiscoveryEngine.V1beta.Model.GoogleCloudDiscoveryengineV1alphaDataConnector.t, default: nil) - Output only. The data connector, if present, manages the connection for data stores in the Collection. To set up the connector, use DataConnectorService.SetUpDataConnector method, which creates a new Collection while setting up the DataConnector singleton resource. Setting up connector on an existing Collection is not supported. This output only field contains a subset of the DataConnector fields, including name, data_source, entities.entity_name and entities.data_store. To get more details about a data connector, use the DataConnectorService.GetDataConnector method.
  • displayName (type: String.t, default: nil) - 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.
  • name (type: String.t, default: nil) - 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.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() ::
  %GoogleApi.DiscoveryEngine.V1beta.Model.GoogleCloudDiscoveryengineV1alphaCollection{
    createTime: DateTime.t() | nil,
    dataConnector:
      GoogleApi.DiscoveryEngine.V1beta.Model.GoogleCloudDiscoveryengineV1alphaDataConnector.t()
      | nil,
    displayName: String.t() | nil,
    name: String.t() | nil
  }

Functions

decode(value, options)

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.