Class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1DatastoreConfig
- Inherits:
-
Object
- Object
- Google::Apis::ApigeeV1::GoogleCloudApigeeV1DatastoreConfig
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/apigee_v1/classes.rb,
lib/google/apis/apigee_v1/representations.rb,
lib/google/apis/apigee_v1/representations.rb
Overview
Configuration detail for datastore
Instance Attribute Summary collapse
-
#bucket_name ⇒ String
Name of the Cloud Storage bucket.
-
#dataset_name ⇒ String
BigQuery dataset name Required for
bigquerytarget_type. -
#path ⇒ String
Path of Cloud Storage bucket Required for
gcstarget_type. -
#project_id ⇒ String
Required.
-
#table_prefix ⇒ String
Prefix of BigQuery table Required for
bigquerytarget_type.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudApigeeV1DatastoreConfig
constructor
A new instance of GoogleCloudApigeeV1DatastoreConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudApigeeV1DatastoreConfig
Returns a new instance of GoogleCloudApigeeV1DatastoreConfig.
1775 1776 1777 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 1775 def initialize(**args) update!(**args) end |
Instance Attribute Details
#bucket_name ⇒ String
Name of the Cloud Storage bucket. Required for gcs target_type.
Corresponds to the JSON property bucketName
1753 1754 1755 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 1753 def bucket_name @bucket_name end |
#dataset_name ⇒ String
BigQuery dataset name Required for bigquery target_type.
Corresponds to the JSON property datasetName
1758 1759 1760 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 1758 def dataset_name @dataset_name end |
#path ⇒ String
Path of Cloud Storage bucket Required for gcs target_type.
Corresponds to the JSON property path
1763 1764 1765 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 1763 def path @path end |
#project_id ⇒ String
Required. GCP project in which the datastore exists
Corresponds to the JSON property projectId
1768 1769 1770 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 1768 def project_id @project_id end |
#table_prefix ⇒ String
Prefix of BigQuery table Required for bigquery target_type.
Corresponds to the JSON property tablePrefix
1773 1774 1775 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 1773 def table_prefix @table_prefix end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1780 1781 1782 1783 1784 1785 1786 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 1780 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 |