google-apis-analyticshub_v1 0.35.0 → 0.37.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d2a2428781a70e78aa80bf15c2461c46649a4e6d704059f498fa5910d8d4dc27
|
4
|
+
data.tar.gz: 3cd234ec7c88ef8aa85fc06484aea190f6b9525589491fb3f9bdffdbe1745550
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8616716e0e5950ba6f096c0d16ff93814127d9bf497a69d744baf96337accad6ca7eff1f0890fc26088bfa86f83ee6f1e98c946bcb9a51445e6532f1521f20eb
|
7
|
+
data.tar.gz: 06ac5c9a7fe39d9dbb0b2cafa37f2093a920b07c2d95f34fe142c75a17630545c850ae6ac58b59ad7009df5409ba91b556a64f1f07a466f55d46c58e3e702b6c
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-analyticshub_v1
|
2
2
|
|
3
|
+
### v0.37.0 (2025-09-07)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20250901
|
6
|
+
|
7
|
+
### v0.36.0 (2025-08-17)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20250807
|
10
|
+
|
3
11
|
### v0.35.0 (2025-06-29)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20250623
|
@@ -22,6 +22,19 @@ module Google
|
|
22
22
|
module Apis
|
23
23
|
module AnalyticshubV1
|
24
24
|
|
25
|
+
# Message for approving a QueryTemplate.
|
26
|
+
class ApproveQueryTemplateRequest
|
27
|
+
include Google::Apis::Core::Hashable
|
28
|
+
|
29
|
+
def initialize(**args)
|
30
|
+
update!(**args)
|
31
|
+
end
|
32
|
+
|
33
|
+
# Update properties of this object
|
34
|
+
def update!(**args)
|
35
|
+
end
|
36
|
+
end
|
37
|
+
|
25
38
|
# Specifies the audit configuration for a service. The configuration determines
|
26
39
|
# which permission types are logged, and what identities, if any, are exempted
|
27
40
|
# from logging. An AuditConfig must have one or more AuditLogConfigs. If there
|
@@ -211,6 +224,19 @@ module Google
|
|
211
224
|
# @return [String]
|
212
225
|
attr_accessor :dataset
|
213
226
|
|
227
|
+
# Output only. Server-owned effective state of replicas. Contains both primary
|
228
|
+
# and secondary replicas. Each replica includes a system-computed (output-only)
|
229
|
+
# state and primary designation.
|
230
|
+
# Corresponds to the JSON property `effectiveReplicas`
|
231
|
+
# @return [Array<Google::Apis::AnalyticshubV1::Replica>]
|
232
|
+
attr_accessor :effective_replicas
|
233
|
+
|
234
|
+
# Optional. A list of regions where the publisher has created shared dataset
|
235
|
+
# replicas.
|
236
|
+
# Corresponds to the JSON property `replicaLocations`
|
237
|
+
# @return [Array<String>]
|
238
|
+
attr_accessor :replica_locations
|
239
|
+
|
214
240
|
# Restricted export policy used to configure restricted export on linked dataset.
|
215
241
|
# Corresponds to the JSON property `restrictedExportPolicy`
|
216
242
|
# @return [Google::Apis::AnalyticshubV1::RestrictedExportPolicy]
|
@@ -229,6 +255,8 @@ module Google
|
|
229
255
|
# Update properties of this object
|
230
256
|
def update!(**args)
|
231
257
|
@dataset = args[:dataset] if args.key?(:dataset)
|
258
|
+
@effective_replicas = args[:effective_replicas] if args.key?(:effective_replicas)
|
259
|
+
@replica_locations = args[:replica_locations] if args.key?(:replica_locations)
|
232
260
|
@restricted_export_policy = args[:restricted_export_policy] if args.key?(:restricted_export_policy)
|
233
261
|
@selected_resources = args[:selected_resources] if args.key?(:selected_resources)
|
234
262
|
end
|
@@ -670,6 +698,13 @@ module Google
|
|
670
698
|
# @return [String]
|
671
699
|
attr_accessor :location
|
672
700
|
|
701
|
+
# Optional. The geographic locations where the dataset should be replicated. See
|
702
|
+
# [BigQuery locations](https://cloud.google.com/bigquery/docs/locations) for
|
703
|
+
# supported locations.
|
704
|
+
# Corresponds to the JSON property `replicaLocations`
|
705
|
+
# @return [Array<String>]
|
706
|
+
attr_accessor :replica_locations
|
707
|
+
|
673
708
|
def initialize(**args)
|
674
709
|
update!(**args)
|
675
710
|
end
|
@@ -681,6 +716,7 @@ module Google
|
|
681
716
|
@friendly_name = args[:friendly_name] if args.key?(:friendly_name)
|
682
717
|
@labels = args[:labels] if args.key?(:labels)
|
683
718
|
@location = args[:location] if args.key?(:location)
|
719
|
+
@replica_locations = args[:replica_locations] if args.key?(:replica_locations)
|
684
720
|
end
|
685
721
|
end
|
686
722
|
|
@@ -1274,6 +1310,31 @@ module Google
|
|
1274
1310
|
end
|
1275
1311
|
end
|
1276
1312
|
|
1313
|
+
# Message for response to the list of QueryTemplates.
|
1314
|
+
class ListQueryTemplatesResponse
|
1315
|
+
include Google::Apis::Core::Hashable
|
1316
|
+
|
1317
|
+
# A token to request the next page of results.
|
1318
|
+
# Corresponds to the JSON property `nextPageToken`
|
1319
|
+
# @return [String]
|
1320
|
+
attr_accessor :next_page_token
|
1321
|
+
|
1322
|
+
# The list of QueryTemplates.
|
1323
|
+
# Corresponds to the JSON property `queryTemplates`
|
1324
|
+
# @return [Array<Google::Apis::AnalyticshubV1::QueryTemplate>]
|
1325
|
+
attr_accessor :query_templates
|
1326
|
+
|
1327
|
+
def initialize(**args)
|
1328
|
+
update!(**args)
|
1329
|
+
end
|
1330
|
+
|
1331
|
+
# Update properties of this object
|
1332
|
+
def update!(**args)
|
1333
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
1334
|
+
@query_templates = args[:query_templates] if args.key?(:query_templates)
|
1335
|
+
end
|
1336
|
+
end
|
1337
|
+
|
1277
1338
|
# Message for response to the listing of shared resource subscriptions.
|
1278
1339
|
class ListSharedResourceSubscriptionsResponse
|
1279
1340
|
include Google::Apis::Core::Hashable
|
@@ -1913,6 +1974,89 @@ module Google
|
|
1913
1974
|
end
|
1914
1975
|
end
|
1915
1976
|
|
1977
|
+
# A query template is a container for sharing table-valued functions defined by
|
1978
|
+
# contributors in a data clean room.
|
1979
|
+
class QueryTemplate
|
1980
|
+
include Google::Apis::Core::Hashable
|
1981
|
+
|
1982
|
+
# Output only. Timestamp when the QueryTemplate was created.
|
1983
|
+
# Corresponds to the JSON property `createTime`
|
1984
|
+
# @return [String]
|
1985
|
+
attr_accessor :create_time
|
1986
|
+
|
1987
|
+
# Optional. Short description of the QueryTemplate. The description must not
|
1988
|
+
# contain Unicode non-characters and C0 and C1 control codes except tabs (HT),
|
1989
|
+
# new lines (LF), carriage returns (CR), and page breaks (FF). Default value is
|
1990
|
+
# an empty string. Max length: 2000 bytes.
|
1991
|
+
# Corresponds to the JSON property `description`
|
1992
|
+
# @return [String]
|
1993
|
+
attr_accessor :description
|
1994
|
+
|
1995
|
+
# Required. Human-readable display name of the QueryTemplate. The display name
|
1996
|
+
# must contain only Unicode letters, numbers (0-9), underscores (_), dashes (-),
|
1997
|
+
# spaces ( ), ampersands (&) and can't start or end with spaces. Default value
|
1998
|
+
# is an empty string. Max length: 63 bytes.
|
1999
|
+
# Corresponds to the JSON property `displayName`
|
2000
|
+
# @return [String]
|
2001
|
+
attr_accessor :display_name
|
2002
|
+
|
2003
|
+
# Optional. Documentation describing the QueryTemplate.
|
2004
|
+
# Corresponds to the JSON property `documentation`
|
2005
|
+
# @return [String]
|
2006
|
+
attr_accessor :documentation
|
2007
|
+
|
2008
|
+
# Output only. The resource name of the QueryTemplate. e.g. `projects/myproject/
|
2009
|
+
# locations/us/dataExchanges/123/queryTemplates/456`
|
2010
|
+
# Corresponds to the JSON property `name`
|
2011
|
+
# @return [String]
|
2012
|
+
attr_accessor :name
|
2013
|
+
|
2014
|
+
# Optional. Email or URL of the primary point of contact of the QueryTemplate.
|
2015
|
+
# Max Length: 1000 bytes.
|
2016
|
+
# Corresponds to the JSON property `primaryContact`
|
2017
|
+
# @return [String]
|
2018
|
+
attr_accessor :primary_contact
|
2019
|
+
|
2020
|
+
# Optional. Will be deprecated. Email or URL of the primary point of contact of
|
2021
|
+
# the QueryTemplate. Max Length: 1000 bytes.
|
2022
|
+
# Corresponds to the JSON property `proposer`
|
2023
|
+
# @return [String]
|
2024
|
+
attr_accessor :proposer
|
2025
|
+
|
2026
|
+
# Represents a bigquery routine.
|
2027
|
+
# Corresponds to the JSON property `routine`
|
2028
|
+
# @return [Google::Apis::AnalyticshubV1::Routine]
|
2029
|
+
attr_accessor :routine
|
2030
|
+
|
2031
|
+
# Output only. The QueryTemplate lifecycle state.
|
2032
|
+
# Corresponds to the JSON property `state`
|
2033
|
+
# @return [String]
|
2034
|
+
attr_accessor :state
|
2035
|
+
|
2036
|
+
# Output only. Timestamp when the QueryTemplate was last modified.
|
2037
|
+
# Corresponds to the JSON property `updateTime`
|
2038
|
+
# @return [String]
|
2039
|
+
attr_accessor :update_time
|
2040
|
+
|
2041
|
+
def initialize(**args)
|
2042
|
+
update!(**args)
|
2043
|
+
end
|
2044
|
+
|
2045
|
+
# Update properties of this object
|
2046
|
+
def update!(**args)
|
2047
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
2048
|
+
@description = args[:description] if args.key?(:description)
|
2049
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
2050
|
+
@documentation = args[:documentation] if args.key?(:documentation)
|
2051
|
+
@name = args[:name] if args.key?(:name)
|
2052
|
+
@primary_contact = args[:primary_contact] if args.key?(:primary_contact)
|
2053
|
+
@proposer = args[:proposer] if args.key?(:proposer)
|
2054
|
+
@routine = args[:routine] if args.key?(:routine)
|
2055
|
+
@state = args[:state] if args.key?(:state)
|
2056
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
2057
|
+
end
|
2058
|
+
end
|
2059
|
+
|
1916
2060
|
# Message for refreshing a subscription.
|
1917
2061
|
class RefreshSubscriptionRequest
|
1918
2062
|
include Google::Apis::Core::Hashable
|
@@ -1947,6 +2091,42 @@ module Google
|
|
1947
2091
|
end
|
1948
2092
|
end
|
1949
2093
|
|
2094
|
+
# Represents the state of a replica of a shared dataset. It includes the
|
2095
|
+
# geographic location of the replica and system-computed, output-only fields
|
2096
|
+
# indicating its replication state and whether it is the primary replica.
|
2097
|
+
class Replica
|
2098
|
+
include Google::Apis::Core::Hashable
|
2099
|
+
|
2100
|
+
# Output only. The geographic location where the replica resides. See [BigQuery
|
2101
|
+
# locations](https://cloud.google.com/bigquery/docs/locations) for supported
|
2102
|
+
# locations. Eg. "us-central1".
|
2103
|
+
# Corresponds to the JSON property `location`
|
2104
|
+
# @return [String]
|
2105
|
+
attr_accessor :location
|
2106
|
+
|
2107
|
+
# Output only. Indicates that this replica is the primary replica.
|
2108
|
+
# Corresponds to the JSON property `primaryState`
|
2109
|
+
# @return [String]
|
2110
|
+
attr_accessor :primary_state
|
2111
|
+
|
2112
|
+
# Output only. Assigned by Analytics Hub based on real BigQuery replication
|
2113
|
+
# state.
|
2114
|
+
# Corresponds to the JSON property `replicaState`
|
2115
|
+
# @return [String]
|
2116
|
+
attr_accessor :replica_state
|
2117
|
+
|
2118
|
+
def initialize(**args)
|
2119
|
+
update!(**args)
|
2120
|
+
end
|
2121
|
+
|
2122
|
+
# Update properties of this object
|
2123
|
+
def update!(**args)
|
2124
|
+
@location = args[:location] if args.key?(:location)
|
2125
|
+
@primary_state = args[:primary_state] if args.key?(:primary_state)
|
2126
|
+
@replica_state = args[:replica_state] if args.key?(:replica_state)
|
2127
|
+
end
|
2128
|
+
end
|
2129
|
+
|
1950
2130
|
# Restricted export config, used to configure restricted export on linked
|
1951
2131
|
# dataset.
|
1952
2132
|
class RestrictedExportConfig
|
@@ -2088,6 +2268,31 @@ module Google
|
|
2088
2268
|
end
|
2089
2269
|
end
|
2090
2270
|
|
2271
|
+
# Represents a bigquery routine.
|
2272
|
+
class Routine
|
2273
|
+
include Google::Apis::Core::Hashable
|
2274
|
+
|
2275
|
+
# Optional. The definition body of the routine.
|
2276
|
+
# Corresponds to the JSON property `definitionBody`
|
2277
|
+
# @return [String]
|
2278
|
+
attr_accessor :definition_body
|
2279
|
+
|
2280
|
+
# Required. The type of routine.
|
2281
|
+
# Corresponds to the JSON property `routineType`
|
2282
|
+
# @return [String]
|
2283
|
+
attr_accessor :routine_type
|
2284
|
+
|
2285
|
+
def initialize(**args)
|
2286
|
+
update!(**args)
|
2287
|
+
end
|
2288
|
+
|
2289
|
+
# Update properties of this object
|
2290
|
+
def update!(**args)
|
2291
|
+
@definition_body = args[:definition_body] if args.key?(:definition_body)
|
2292
|
+
@routine_type = args[:routine_type] if args.key?(:routine_type)
|
2293
|
+
end
|
2294
|
+
end
|
2295
|
+
|
2091
2296
|
# Resource in this dataset that is selectively shared.
|
2092
2297
|
class SelectedResource
|
2093
2298
|
include Google::Apis::Core::Hashable
|
@@ -2235,6 +2440,19 @@ module Google
|
|
2235
2440
|
end
|
2236
2441
|
end
|
2237
2442
|
|
2443
|
+
# Message for submitting a QueryTemplate.
|
2444
|
+
class SubmitQueryTemplateRequest
|
2445
|
+
include Google::Apis::Core::Hashable
|
2446
|
+
|
2447
|
+
def initialize(**args)
|
2448
|
+
update!(**args)
|
2449
|
+
end
|
2450
|
+
|
2451
|
+
# Update properties of this object
|
2452
|
+
def update!(**args)
|
2453
|
+
end
|
2454
|
+
end
|
2455
|
+
|
2238
2456
|
# Message for subscribing to a Data Exchange.
|
2239
2457
|
class SubscribeDataExchangeRequest
|
2240
2458
|
include Google::Apis::Core::Hashable
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module AnalyticshubV1
|
18
18
|
# Version of the google-apis-analyticshub_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.37.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.18.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20250901"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -22,6 +22,12 @@ module Google
|
|
22
22
|
module Apis
|
23
23
|
module AnalyticshubV1
|
24
24
|
|
25
|
+
class ApproveQueryTemplateRequest
|
26
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
27
|
+
|
28
|
+
include Google::Apis::Core::JsonObjectSupport
|
29
|
+
end
|
30
|
+
|
25
31
|
class AuditConfig
|
26
32
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
27
33
|
|
@@ -202,6 +208,12 @@ module Google
|
|
202
208
|
include Google::Apis::Core::JsonObjectSupport
|
203
209
|
end
|
204
210
|
|
211
|
+
class ListQueryTemplatesResponse
|
212
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
213
|
+
|
214
|
+
include Google::Apis::Core::JsonObjectSupport
|
215
|
+
end
|
216
|
+
|
205
217
|
class ListSharedResourceSubscriptionsResponse
|
206
218
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
207
219
|
|
@@ -280,6 +292,12 @@ module Google
|
|
280
292
|
include Google::Apis::Core::JsonObjectSupport
|
281
293
|
end
|
282
294
|
|
295
|
+
class QueryTemplate
|
296
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
297
|
+
|
298
|
+
include Google::Apis::Core::JsonObjectSupport
|
299
|
+
end
|
300
|
+
|
283
301
|
class RefreshSubscriptionRequest
|
284
302
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
285
303
|
|
@@ -292,6 +310,12 @@ module Google
|
|
292
310
|
include Google::Apis::Core::JsonObjectSupport
|
293
311
|
end
|
294
312
|
|
313
|
+
class Replica
|
314
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
315
|
+
|
316
|
+
include Google::Apis::Core::JsonObjectSupport
|
317
|
+
end
|
318
|
+
|
295
319
|
class RestrictedExportConfig
|
296
320
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
297
321
|
|
@@ -322,6 +346,12 @@ module Google
|
|
322
346
|
include Google::Apis::Core::JsonObjectSupport
|
323
347
|
end
|
324
348
|
|
349
|
+
class Routine
|
350
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
351
|
+
|
352
|
+
include Google::Apis::Core::JsonObjectSupport
|
353
|
+
end
|
354
|
+
|
325
355
|
class SelectedResource
|
326
356
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
327
357
|
|
@@ -346,6 +376,12 @@ module Google
|
|
346
376
|
include Google::Apis::Core::JsonObjectSupport
|
347
377
|
end
|
348
378
|
|
379
|
+
class SubmitQueryTemplateRequest
|
380
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
381
|
+
|
382
|
+
include Google::Apis::Core::JsonObjectSupport
|
383
|
+
end
|
384
|
+
|
349
385
|
class SubscribeDataExchangeRequest
|
350
386
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
351
387
|
|
@@ -394,6 +430,12 @@ module Google
|
|
394
430
|
include Google::Apis::Core::JsonObjectSupport
|
395
431
|
end
|
396
432
|
|
433
|
+
class ApproveQueryTemplateRequest
|
434
|
+
# @private
|
435
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
436
|
+
end
|
437
|
+
end
|
438
|
+
|
397
439
|
class AuditConfig
|
398
440
|
# @private
|
399
441
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -435,6 +477,9 @@ module Google
|
|
435
477
|
# @private
|
436
478
|
class Representation < Google::Apis::Core::JsonRepresentation
|
437
479
|
property :dataset, as: 'dataset'
|
480
|
+
collection :effective_replicas, as: 'effectiveReplicas', class: Google::Apis::AnalyticshubV1::Replica, decorator: Google::Apis::AnalyticshubV1::Replica::Representation
|
481
|
+
|
482
|
+
collection :replica_locations, as: 'replicaLocations'
|
438
483
|
property :restricted_export_policy, as: 'restrictedExportPolicy', class: Google::Apis::AnalyticshubV1::RestrictedExportPolicy, decorator: Google::Apis::AnalyticshubV1::RestrictedExportPolicy::Representation
|
439
484
|
|
440
485
|
collection :selected_resources, as: 'selectedResources', class: Google::Apis::AnalyticshubV1::SelectedResource, decorator: Google::Apis::AnalyticshubV1::SelectedResource::Representation
|
@@ -526,6 +571,7 @@ module Google
|
|
526
571
|
property :friendly_name, as: 'friendlyName'
|
527
572
|
hash :labels, as: 'labels'
|
528
573
|
property :location, as: 'location'
|
574
|
+
collection :replica_locations, as: 'replicaLocations'
|
529
575
|
end
|
530
576
|
end
|
531
577
|
|
@@ -687,6 +733,15 @@ module Google
|
|
687
733
|
end
|
688
734
|
end
|
689
735
|
|
736
|
+
class ListQueryTemplatesResponse
|
737
|
+
# @private
|
738
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
739
|
+
property :next_page_token, as: 'nextPageToken'
|
740
|
+
collection :query_templates, as: 'queryTemplates', class: Google::Apis::AnalyticshubV1::QueryTemplate, decorator: Google::Apis::AnalyticshubV1::QueryTemplate::Representation
|
741
|
+
|
742
|
+
end
|
743
|
+
end
|
744
|
+
|
690
745
|
class ListSharedResourceSubscriptionsResponse
|
691
746
|
# @private
|
692
747
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -834,6 +889,23 @@ module Google
|
|
834
889
|
end
|
835
890
|
end
|
836
891
|
|
892
|
+
class QueryTemplate
|
893
|
+
# @private
|
894
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
895
|
+
property :create_time, as: 'createTime'
|
896
|
+
property :description, as: 'description'
|
897
|
+
property :display_name, as: 'displayName'
|
898
|
+
property :documentation, as: 'documentation'
|
899
|
+
property :name, as: 'name'
|
900
|
+
property :primary_contact, as: 'primaryContact'
|
901
|
+
property :proposer, as: 'proposer'
|
902
|
+
property :routine, as: 'routine', class: Google::Apis::AnalyticshubV1::Routine, decorator: Google::Apis::AnalyticshubV1::Routine::Representation
|
903
|
+
|
904
|
+
property :state, as: 'state'
|
905
|
+
property :update_time, as: 'updateTime'
|
906
|
+
end
|
907
|
+
end
|
908
|
+
|
837
909
|
class RefreshSubscriptionRequest
|
838
910
|
# @private
|
839
911
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -848,6 +920,15 @@ module Google
|
|
848
920
|
end
|
849
921
|
end
|
850
922
|
|
923
|
+
class Replica
|
924
|
+
# @private
|
925
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
926
|
+
property :location, as: 'location'
|
927
|
+
property :primary_state, as: 'primaryState'
|
928
|
+
property :replica_state, as: 'replicaState'
|
929
|
+
end
|
930
|
+
end
|
931
|
+
|
851
932
|
class RestrictedExportConfig
|
852
933
|
# @private
|
853
934
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -887,6 +968,14 @@ module Google
|
|
887
968
|
end
|
888
969
|
end
|
889
970
|
|
971
|
+
class Routine
|
972
|
+
# @private
|
973
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
974
|
+
property :definition_body, as: 'definitionBody'
|
975
|
+
property :routine_type, as: 'routineType'
|
976
|
+
end
|
977
|
+
end
|
978
|
+
|
890
979
|
class SelectedResource
|
891
980
|
# @private
|
892
981
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -923,6 +1012,12 @@ module Google
|
|
923
1012
|
end
|
924
1013
|
end
|
925
1014
|
|
1015
|
+
class SubmitQueryTemplateRequest
|
1016
|
+
# @private
|
1017
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1018
|
+
end
|
1019
|
+
end
|
1020
|
+
|
926
1021
|
class SubscribeDataExchangeRequest
|
927
1022
|
# @private
|
928
1023
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -815,6 +815,252 @@ module Google
|
|
815
815
|
execute_or_queue_command(command, &block)
|
816
816
|
end
|
817
817
|
|
818
|
+
# Approves a query template.
|
819
|
+
# @param [String] name
|
820
|
+
# Required. The resource path of the QueryTemplate. e.g. `projects/myproject/
|
821
|
+
# locations/us/dataExchanges/123/queryTemplates/myqueryTemplate`.
|
822
|
+
# @param [Google::Apis::AnalyticshubV1::ApproveQueryTemplateRequest] approve_query_template_request_object
|
823
|
+
# @param [String] fields
|
824
|
+
# Selector specifying which fields to include in a partial response.
|
825
|
+
# @param [String] quota_user
|
826
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
827
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
828
|
+
# @param [Google::Apis::RequestOptions] options
|
829
|
+
# Request-specific options
|
830
|
+
#
|
831
|
+
# @yield [result, err] Result & error if block supplied
|
832
|
+
# @yieldparam result [Google::Apis::AnalyticshubV1::QueryTemplate] parsed result object
|
833
|
+
# @yieldparam err [StandardError] error object if request failed
|
834
|
+
#
|
835
|
+
# @return [Google::Apis::AnalyticshubV1::QueryTemplate]
|
836
|
+
#
|
837
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
838
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
839
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
840
|
+
def approve_query_template(name, approve_query_template_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
841
|
+
command = make_simple_command(:post, 'v1/{+name}:approve', options)
|
842
|
+
command.request_representation = Google::Apis::AnalyticshubV1::ApproveQueryTemplateRequest::Representation
|
843
|
+
command.request_object = approve_query_template_request_object
|
844
|
+
command.response_representation = Google::Apis::AnalyticshubV1::QueryTemplate::Representation
|
845
|
+
command.response_class = Google::Apis::AnalyticshubV1::QueryTemplate
|
846
|
+
command.params['name'] = name unless name.nil?
|
847
|
+
command.query['fields'] = fields unless fields.nil?
|
848
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
849
|
+
execute_or_queue_command(command, &block)
|
850
|
+
end
|
851
|
+
|
852
|
+
# Creates a new QueryTemplate
|
853
|
+
# @param [String] parent
|
854
|
+
# Required. The parent resource path of the QueryTemplate. e.g. `projects/
|
855
|
+
# myproject/locations/us/dataExchanges/123/queryTemplates/myQueryTemplate`.
|
856
|
+
# @param [Google::Apis::AnalyticshubV1::QueryTemplate] query_template_object
|
857
|
+
# @param [String] query_template_id
|
858
|
+
# Required. The ID of the QueryTemplate to create. Must contain only Unicode
|
859
|
+
# letters, numbers (0-9), underscores (_). Max length: 100 bytes.
|
860
|
+
# @param [String] fields
|
861
|
+
# Selector specifying which fields to include in a partial response.
|
862
|
+
# @param [String] quota_user
|
863
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
864
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
865
|
+
# @param [Google::Apis::RequestOptions] options
|
866
|
+
# Request-specific options
|
867
|
+
#
|
868
|
+
# @yield [result, err] Result & error if block supplied
|
869
|
+
# @yieldparam result [Google::Apis::AnalyticshubV1::QueryTemplate] parsed result object
|
870
|
+
# @yieldparam err [StandardError] error object if request failed
|
871
|
+
#
|
872
|
+
# @return [Google::Apis::AnalyticshubV1::QueryTemplate]
|
873
|
+
#
|
874
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
875
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
876
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
877
|
+
def create_project_location_data_exchange_query_template(parent, query_template_object = nil, query_template_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
878
|
+
command = make_simple_command(:post, 'v1/{+parent}/queryTemplates', options)
|
879
|
+
command.request_representation = Google::Apis::AnalyticshubV1::QueryTemplate::Representation
|
880
|
+
command.request_object = query_template_object
|
881
|
+
command.response_representation = Google::Apis::AnalyticshubV1::QueryTemplate::Representation
|
882
|
+
command.response_class = Google::Apis::AnalyticshubV1::QueryTemplate
|
883
|
+
command.params['parent'] = parent unless parent.nil?
|
884
|
+
command.query['queryTemplateId'] = query_template_id unless query_template_id.nil?
|
885
|
+
command.query['fields'] = fields unless fields.nil?
|
886
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
887
|
+
execute_or_queue_command(command, &block)
|
888
|
+
end
|
889
|
+
|
890
|
+
# Deletes a query template.
|
891
|
+
# @param [String] name
|
892
|
+
# Required. The resource path of the QueryTemplate. e.g. `projects/myproject/
|
893
|
+
# locations/us/dataExchanges/123/queryTemplates/myqueryTemplate`.
|
894
|
+
# @param [String] fields
|
895
|
+
# Selector specifying which fields to include in a partial response.
|
896
|
+
# @param [String] quota_user
|
897
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
898
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
899
|
+
# @param [Google::Apis::RequestOptions] options
|
900
|
+
# Request-specific options
|
901
|
+
#
|
902
|
+
# @yield [result, err] Result & error if block supplied
|
903
|
+
# @yieldparam result [Google::Apis::AnalyticshubV1::Empty] parsed result object
|
904
|
+
# @yieldparam err [StandardError] error object if request failed
|
905
|
+
#
|
906
|
+
# @return [Google::Apis::AnalyticshubV1::Empty]
|
907
|
+
#
|
908
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
909
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
910
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
911
|
+
def delete_project_location_data_exchange_query_template(name, fields: nil, quota_user: nil, options: nil, &block)
|
912
|
+
command = make_simple_command(:delete, 'v1/{+name}', options)
|
913
|
+
command.response_representation = Google::Apis::AnalyticshubV1::Empty::Representation
|
914
|
+
command.response_class = Google::Apis::AnalyticshubV1::Empty
|
915
|
+
command.params['name'] = name unless name.nil?
|
916
|
+
command.query['fields'] = fields unless fields.nil?
|
917
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
918
|
+
execute_or_queue_command(command, &block)
|
919
|
+
end
|
920
|
+
|
921
|
+
# Gets a QueryTemplate
|
922
|
+
# @param [String] name
|
923
|
+
# Required. The parent resource path of the QueryTemplate. e.g. `projects/
|
924
|
+
# myproject/locations/us/dataExchanges/123/queryTemplates/myqueryTemplate`.
|
925
|
+
# @param [String] fields
|
926
|
+
# Selector specifying which fields to include in a partial response.
|
927
|
+
# @param [String] quota_user
|
928
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
929
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
930
|
+
# @param [Google::Apis::RequestOptions] options
|
931
|
+
# Request-specific options
|
932
|
+
#
|
933
|
+
# @yield [result, err] Result & error if block supplied
|
934
|
+
# @yieldparam result [Google::Apis::AnalyticshubV1::QueryTemplate] parsed result object
|
935
|
+
# @yieldparam err [StandardError] error object if request failed
|
936
|
+
#
|
937
|
+
# @return [Google::Apis::AnalyticshubV1::QueryTemplate]
|
938
|
+
#
|
939
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
940
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
941
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
942
|
+
def get_project_location_data_exchange_query_template(name, fields: nil, quota_user: nil, options: nil, &block)
|
943
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
944
|
+
command.response_representation = Google::Apis::AnalyticshubV1::QueryTemplate::Representation
|
945
|
+
command.response_class = Google::Apis::AnalyticshubV1::QueryTemplate
|
946
|
+
command.params['name'] = name unless name.nil?
|
947
|
+
command.query['fields'] = fields unless fields.nil?
|
948
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
949
|
+
execute_or_queue_command(command, &block)
|
950
|
+
end
|
951
|
+
|
952
|
+
# Lists all QueryTemplates in a given project and location.
|
953
|
+
# @param [String] parent
|
954
|
+
# Required. The parent resource path of the QueryTemplates. e.g. `projects/
|
955
|
+
# myproject/locations/us/dataExchanges/123`.
|
956
|
+
# @param [Fixnum] page_size
|
957
|
+
# Optional. The maximum number of results to return in a single response page.
|
958
|
+
# Leverage the page tokens to iterate through the entire collection.
|
959
|
+
# @param [String] page_token
|
960
|
+
# Optional. Page token, returned by a previous call, to request the next page of
|
961
|
+
# results.
|
962
|
+
# @param [String] fields
|
963
|
+
# Selector specifying which fields to include in a partial response.
|
964
|
+
# @param [String] quota_user
|
965
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
966
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
967
|
+
# @param [Google::Apis::RequestOptions] options
|
968
|
+
# Request-specific options
|
969
|
+
#
|
970
|
+
# @yield [result, err] Result & error if block supplied
|
971
|
+
# @yieldparam result [Google::Apis::AnalyticshubV1::ListQueryTemplatesResponse] parsed result object
|
972
|
+
# @yieldparam err [StandardError] error object if request failed
|
973
|
+
#
|
974
|
+
# @return [Google::Apis::AnalyticshubV1::ListQueryTemplatesResponse]
|
975
|
+
#
|
976
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
977
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
978
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
979
|
+
def list_project_location_data_exchange_query_templates(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
980
|
+
command = make_simple_command(:get, 'v1/{+parent}/queryTemplates', options)
|
981
|
+
command.response_representation = Google::Apis::AnalyticshubV1::ListQueryTemplatesResponse::Representation
|
982
|
+
command.response_class = Google::Apis::AnalyticshubV1::ListQueryTemplatesResponse
|
983
|
+
command.params['parent'] = parent unless parent.nil?
|
984
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
985
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
986
|
+
command.query['fields'] = fields unless fields.nil?
|
987
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
988
|
+
execute_or_queue_command(command, &block)
|
989
|
+
end
|
990
|
+
|
991
|
+
# Updates an existing QueryTemplate
|
992
|
+
# @param [String] name
|
993
|
+
# Output only. The resource name of the QueryTemplate. e.g. `projects/myproject/
|
994
|
+
# locations/us/dataExchanges/123/queryTemplates/456`
|
995
|
+
# @param [Google::Apis::AnalyticshubV1::QueryTemplate] query_template_object
|
996
|
+
# @param [String] update_mask
|
997
|
+
# Optional. Field mask specifies the fields to update in the query template
|
998
|
+
# resource. The fields specified in the `updateMask` are relative to the
|
999
|
+
# resource and are not a full request.
|
1000
|
+
# @param [String] fields
|
1001
|
+
# Selector specifying which fields to include in a partial response.
|
1002
|
+
# @param [String] quota_user
|
1003
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1004
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1005
|
+
# @param [Google::Apis::RequestOptions] options
|
1006
|
+
# Request-specific options
|
1007
|
+
#
|
1008
|
+
# @yield [result, err] Result & error if block supplied
|
1009
|
+
# @yieldparam result [Google::Apis::AnalyticshubV1::QueryTemplate] parsed result object
|
1010
|
+
# @yieldparam err [StandardError] error object if request failed
|
1011
|
+
#
|
1012
|
+
# @return [Google::Apis::AnalyticshubV1::QueryTemplate]
|
1013
|
+
#
|
1014
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1015
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1016
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1017
|
+
def patch_project_location_data_exchange_query_template(name, query_template_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1018
|
+
command = make_simple_command(:patch, 'v1/{+name}', options)
|
1019
|
+
command.request_representation = Google::Apis::AnalyticshubV1::QueryTemplate::Representation
|
1020
|
+
command.request_object = query_template_object
|
1021
|
+
command.response_representation = Google::Apis::AnalyticshubV1::QueryTemplate::Representation
|
1022
|
+
command.response_class = Google::Apis::AnalyticshubV1::QueryTemplate
|
1023
|
+
command.params['name'] = name unless name.nil?
|
1024
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
1025
|
+
command.query['fields'] = fields unless fields.nil?
|
1026
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1027
|
+
execute_or_queue_command(command, &block)
|
1028
|
+
end
|
1029
|
+
|
1030
|
+
# Submits a query template for approval.
|
1031
|
+
# @param [String] name
|
1032
|
+
# Required. The resource path of the QueryTemplate. e.g. `projects/myproject/
|
1033
|
+
# locations/us/dataExchanges/123/queryTemplates/myqueryTemplate`.
|
1034
|
+
# @param [Google::Apis::AnalyticshubV1::SubmitQueryTemplateRequest] submit_query_template_request_object
|
1035
|
+
# @param [String] fields
|
1036
|
+
# Selector specifying which fields to include in a partial response.
|
1037
|
+
# @param [String] quota_user
|
1038
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1039
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1040
|
+
# @param [Google::Apis::RequestOptions] options
|
1041
|
+
# Request-specific options
|
1042
|
+
#
|
1043
|
+
# @yield [result, err] Result & error if block supplied
|
1044
|
+
# @yieldparam result [Google::Apis::AnalyticshubV1::QueryTemplate] parsed result object
|
1045
|
+
# @yieldparam err [StandardError] error object if request failed
|
1046
|
+
#
|
1047
|
+
# @return [Google::Apis::AnalyticshubV1::QueryTemplate]
|
1048
|
+
#
|
1049
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1050
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1051
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1052
|
+
def submit_query_template(name, submit_query_template_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1053
|
+
command = make_simple_command(:post, 'v1/{+name}:submit', options)
|
1054
|
+
command.request_representation = Google::Apis::AnalyticshubV1::SubmitQueryTemplateRequest::Representation
|
1055
|
+
command.request_object = submit_query_template_request_object
|
1056
|
+
command.response_representation = Google::Apis::AnalyticshubV1::QueryTemplate::Representation
|
1057
|
+
command.response_class = Google::Apis::AnalyticshubV1::QueryTemplate
|
1058
|
+
command.params['name'] = name unless name.nil?
|
1059
|
+
command.query['fields'] = fields unless fields.nil?
|
1060
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1061
|
+
execute_or_queue_command(command, &block)
|
1062
|
+
end
|
1063
|
+
|
818
1064
|
# Deletes a subscription.
|
819
1065
|
# @param [String] name
|
820
1066
|
# Required. Resource name of the subscription to delete. e.g. projects/123/
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-analyticshub_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.37.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
@@ -57,7 +57,7 @@ licenses:
|
|
57
57
|
metadata:
|
58
58
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
59
59
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-analyticshub_v1/CHANGELOG.md
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-analyticshub_v1/v0.
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-analyticshub_v1/v0.37.0
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-analyticshub_v1
|
62
62
|
rdoc_options: []
|
63
63
|
require_paths:
|