NOTE: Some aspects of this product are in Beta. The hybrid installation options are GA. To join the Beta program, reach out to your Apigee representative.

REST Resource: organizations.analytics.datastores

Resource: Datastore

The data store defines the connection to export data repository (Cloud Storage, BigQuery), including the credentials used to access the data repository.

JSON representation
{
  "self": string,
  "displayName": string,
  "org": string,
  "targetType": string,
  "createTime": string,
  "lastUpdateTime": string,
  "datastoreConfig": {
    object (DatastoreConfig)
  }
}
Fields
self

string

Output only. Resource link of Datastore.

Example: /organizations/{org}/analytics/datastores/{uuid}

displayName

string

Required. Display name in UI

org

string

Output only. Organization that the datastore belongs to

targetType

string

Destination storage type. Supported types gcs or bigquery.

createTime

string (int64 format)

Output only. Datastore create time, in milliseconds since the epoch of 1970-01-01T00:00:00Z

lastUpdateTime

string (int64 format)

Output only. Datastore last update time, in milliseconds since the epoch of 1970-01-01T00:00:00Z

datastoreConfig

object (DatastoreConfig)

Datastore Configurations.

DatastoreConfig

Configuration detail for datastore

JSON representation
{
  "projectId": string,
  "bucketName": string,
  "path": string,
  "datasetName": string,
  "tablePrefix": string
}
Fields
projectId

string

Required. GCP project in which the datastore exists

bucketName

string

Name of the Cloud Storage bucket. Required for gcs targetType.

path

string

Path of Cloud Storage bucket Required for gcs targetType.

datasetName

string

BigQuery dataset name Required for bigquery targetType.

tablePrefix

string

Prefix of BigQuery table Required for bigquery targetType.

Methods

create

Create a Datastore for an org

delete

Delete a Datastore from an org.

get

Get a Datastore

list

List Datastores

test

Test if Datastore configuration is correct.

update

Update a Datastore