Class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1DatastoreConfig

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/apigee_v1/classes.rb,
generated/google/apis/apigee_v1/representations.rb,
generated/google/apis/apigee_v1/representations.rb

Overview

Configuration detail for datastore

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ GoogleCloudApigeeV1DatastoreConfig

Returns a new instance of GoogleCloudApigeeV1DatastoreConfig.


1388
1389
1390
# File 'generated/google/apis/apigee_v1/classes.rb', line 1388

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

Instance Attribute Details

#bucket_nameString

Name of the Cloud Storage bucket. Required for gcs target_type. Corresponds to the JSON property bucketName

Returns:

  • (String)

1366
1367
1368
# File 'generated/google/apis/apigee_v1/classes.rb', line 1366

def bucket_name
  @bucket_name
end

#dataset_nameString

BigQuery dataset name Required for bigquery target_type. Corresponds to the JSON property datasetName

Returns:

  • (String)

1371
1372
1373
# File 'generated/google/apis/apigee_v1/classes.rb', line 1371

def dataset_name
  @dataset_name
end

#pathString

Path of Cloud Storage bucket Required for gcs target_type. Corresponds to the JSON property path

Returns:

  • (String)

1376
1377
1378
# File 'generated/google/apis/apigee_v1/classes.rb', line 1376

def path
  @path
end

#project_idString

Required. GCP project in which the datastore exists Corresponds to the JSON property projectId

Returns:

  • (String)

1381
1382
1383
# File 'generated/google/apis/apigee_v1/classes.rb', line 1381

def project_id
  @project_id
end

#table_prefixString

Prefix of BigQuery table Required for bigquery target_type. Corresponds to the JSON property tablePrefix

Returns:

  • (String)

1386
1387
1388
# File 'generated/google/apis/apigee_v1/classes.rb', line 1386

def table_prefix
  @table_prefix
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


1393
1394
1395
1396
1397
1398
1399
# File 'generated/google/apis/apigee_v1/classes.rb', line 1393

def update!(**args)
  @bucket_name = args[:bucket_name] if args.key?(:bucket_name)
  @dataset_name = args[:dataset_name] if args.key?(:dataset_name)
  @path = args[:path] if args.key?(:path)
  @project_id = args[:project_id] if args.key?(:project_id)
  @table_prefix = args[:table_prefix] if args.key?(:table_prefix)
end