You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If the listing is commercial then this field must be set to true, otherwise a failure is thrown. This acts as a safety guard to avoid deleting commercial listings accidentally.
108
+
description: 'example listing for multiregion'
109
+
exclude_test: true #Handwritten Create test as replica has to be created through Go BQ client
Server owned effective state of replicas. Contains both primary and secondary replicas.
249
+
Each replica includes a system-computed (output-only) state and primary designation.
250
+
output: true
251
+
min_version: 'beta'
252
+
item_type:
253
+
type: NestedObject
254
+
properties:
255
+
- name: 'location'
256
+
type: String
257
+
description: |
258
+
The geographic location where the replica resides.
259
+
output: true
260
+
- name: 'replicaState'
261
+
type: String
262
+
description: |
263
+
Output-only. Assigned by Analytics Hub based on real BigQuery replication state.
264
+
Possible values: REPLICA_STATE_UNSPECIFIED, READY_TO_USE, UNAVAILABLE
265
+
output: true
266
+
- name: 'primaryState'
267
+
type: String
268
+
description: |
269
+
Output-only. Indicates that this replica is the primary replica.
270
+
Possible values: PRIMARY_STATE_UNSPECIFIED, PRIMARY_REPLICA
271
+
output: true
248
272
- name: 'pubsubTopic'
249
273
type: NestedObject
250
274
description: Pub/Sub topic source.
@@ -288,41 +312,3 @@ properties:
288
312
type: Boolean
289
313
description:
290
314
If true, subscriber email logging is enabled and all queries on the linked dataset will log the email address of the querying user. Once enabled, this setting cannot be turned off.
291
-
- name: 'state'
292
-
type: String
293
-
description: |-
294
-
Current state of the listing.
295
-
output: true
296
-
- name: 'discoveryType'
297
-
type: Enum
298
-
enum_values:
299
-
- 'DISCOVERY_TYPE_PRIVATE'
300
-
- 'DISCOVERY_TYPE_PUBLIC'
301
-
default_from_api: true
302
-
description: Specifies the type of discovery on the discovery page. Cannot be set for a restricted listing. Note that this does not control the visibility of the exchange/listing which is defined by IAM permission.
303
-
- name: 'allowOnlyMetadataSharing'
304
-
type: Boolean
305
-
immutable: true
306
-
description: If true, the listing is only available to get the resource metadata. Listing is non subscribable.
307
-
- name: 'commercialInfo'
308
-
type: NestedObject
309
-
description: |
310
-
Commercial info contains the information about the commercial data products associated with the listing.
311
-
output: true
312
-
properties:
313
-
- name: 'cloudMarketplace'
314
-
type: NestedObject
315
-
description: Details of the Marketplace Data Product associated with the Listing.
316
-
output: true
317
-
properties:
318
-
- name: 'service'
319
-
type: String
320
-
description: |
321
-
Resource name of the commercial service associated with the Marketplace Data Product. e.g. example.com
322
-
output: true
323
-
- name: 'commercialState'
324
-
type: String
325
-
description: |
326
-
Commercial state of the Marketplace Data Product.
327
-
Possible values: COMMERCIAL_STATE_UNSPECIFIED, ONBOARDING, ACTIVE
exclude_test: true #Handwritten Create test as replica has to be created through Go BQ client
55
69
parameters:
56
70
- name: 'dataExchangeId'
57
71
type: String
@@ -77,6 +91,7 @@ properties:
77
91
- name: 'destinationDataset'
78
92
type: NestedObject
79
93
required: true
94
+
ignore_read: true
80
95
description:
81
96
The destination dataset for this subscription.
82
97
properties:
@@ -112,6 +127,16 @@ properties:
112
127
description: |
113
128
The labels associated with this dataset. You can use these to
114
129
organize and group your datasets.
130
+
- name: 'replicaLocations'
131
+
is_set: true
132
+
type: Array
133
+
min_version: 'beta'
134
+
set_hash_func: 'tpgresource.CaseInsensitiveHash'# Add this line
135
+
description: |
136
+
List of regions where the subscriber wants dataset replicas.
137
+
item_type:
138
+
type: String
139
+
diff_suppress_func: 'tpgresource.CaseDiffSuppress'# Apply here for array elements
115
140
- name: 'name'
116
141
type: String
117
142
description: |-
@@ -198,19 +223,3 @@ properties:
198
223
type: Boolean
199
224
description: 'Output only. By default, false. If true, the Subscriber agreed to the email sharing mandate that is enabled for Listing.'
200
225
output: true
201
-
- name: 'commercialInfo'
202
-
type: NestedObject
203
-
description: |
204
-
Commercial info metadata for this subscription. This is set if this is a commercial subscription i.e. if this subscription was created from subscribing to a commercial listing.
205
-
output: true
206
-
properties:
207
-
- name: 'cloudMarketplace'
208
-
type: NestedObject
209
-
description: Cloud Marketplace commercial metadata for this subscription.
0 commit comments