google-apis-analyticshub_v1beta1 0.18.0 → 0.20.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e8483ea26e3f5b81fe9b4902f33dd2a94556d3eb894a03aa1ddba7c589706ed0
4
- data.tar.gz: 5e5f6f1c835ad47c3df5295971df9709f0d23ed51977e1dbc432884a156f1ca5
3
+ metadata.gz: 46e49d3d08187e48ee2dc7a8b291827311500f1f2884c0485dd1eb12c5379390
4
+ data.tar.gz: b693b90732f01d78a296ea822e1f1ed6c34d094aa054cfa934c86480bab5bee6
5
5
  SHA512:
6
- metadata.gz: 3a09117d1abc8f0b67c5d7f0468b0c711a908ee935b3c455dfdf943ae8eb361da350a97bde76e163595b7e8931407d6d10c0bdd46fe9d00b425b2f5c87cfb271
7
- data.tar.gz: 60575fcd119b3678b19660088deeb0000468798287fda87bf87c6f069c20344a11bd58de7eaafd24f6ae9248aa0f58e813b9a3c9cc74215434a1ae828f3fc069
6
+ metadata.gz: fb8d81e1d4d52a3beca3ee605e57f4fbf385b5caad60039c02518f5c73acba975325f44c7d249399f93b913f86ec455ea275213bbcb5e75eeee2417a39ba6ddf
7
+ data.tar.gz: 50c7974f8b7f4cd7cab5c6a27ccc07652074fc137aadf22d39b9c48d08fb028f725c50c69500c94da1493bfdadf261dc60aa25f06a55a51a3117c226f1e6f2cb
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-analyticshub_v1beta1
2
2
 
3
+ ### v0.20.0 (2023-08-06)
4
+
5
+ * Regenerated from discovery document revision 20230803
6
+
7
+ ### v0.19.0 (2023-07-09)
8
+
9
+ * Regenerated from discovery document revision 20230703
10
+
3
11
  ### v0.18.0 (2023-04-23)
4
12
 
5
13
  * Regenerated from discovery document revision 20230414
@@ -480,6 +480,26 @@ module Google
480
480
  end
481
481
  end
482
482
 
483
+ # Reference to a linked resource tracked by this Subscription.
484
+ class LinkedResource
485
+ include Google::Apis::Core::Hashable
486
+
487
+ # Output only. Name of the linked dataset, e.g. projects/subscriberproject/
488
+ # datasets/linked_dataset
489
+ # Corresponds to the JSON property `linkedDataset`
490
+ # @return [String]
491
+ attr_accessor :linked_dataset
492
+
493
+ def initialize(**args)
494
+ update!(**args)
495
+ end
496
+
497
+ # Update properties of this object
498
+ def update!(**args)
499
+ @linked_dataset = args[:linked_dataset] if args.key?(:linked_dataset)
500
+ end
501
+ end
502
+
483
503
  # Message for response to the list of data exchanges.
484
504
  class ListDataExchangesResponse
485
505
  include Google::Apis::Core::Hashable
@@ -635,6 +655,12 @@ module Google
635
655
  # @return [String]
636
656
  attr_accessor :request_access
637
657
 
658
+ # Restricted export config, used to configure restricted export on linked
659
+ # dataset.
660
+ # Corresponds to the JSON property `restrictedExportConfig`
661
+ # @return [Google::Apis::AnalyticshubV1beta1::RestrictedExportConfig]
662
+ attr_accessor :restricted_export_config
663
+
638
664
  # Output only. Current state of the listing.
639
665
  # Corresponds to the JSON property `state`
640
666
  # @return [String]
@@ -657,6 +683,7 @@ module Google
657
683
  @primary_contact = args[:primary_contact] if args.key?(:primary_contact)
658
684
  @publisher = args[:publisher] if args.key?(:publisher)
659
685
  @request_access = args[:request_access] if args.key?(:request_access)
686
+ @restricted_export_config = args[:restricted_export_config] if args.key?(:restricted_export_config)
660
687
  @state = args[:state] if args.key?(:state)
661
688
  end
662
689
  end
@@ -840,6 +867,65 @@ module Google
840
867
  end
841
868
  end
842
869
 
870
+ # Message for response when you refresh a subscription.
871
+ class RefreshSubscriptionResponse
872
+ include Google::Apis::Core::Hashable
873
+
874
+ # A subscription represents a subscribers' access to a particular set of
875
+ # published data. It contains references to associated listings, data exchanges,
876
+ # and linked datasets. TODO(b/267528977) Consider port the new resource to
877
+ # v1beta1 and dataexchange APIs.
878
+ # Corresponds to the JSON property `subscription`
879
+ # @return [Google::Apis::AnalyticshubV1beta1::Subscription]
880
+ attr_accessor :subscription
881
+
882
+ def initialize(**args)
883
+ update!(**args)
884
+ end
885
+
886
+ # Update properties of this object
887
+ def update!(**args)
888
+ @subscription = args[:subscription] if args.key?(:subscription)
889
+ end
890
+ end
891
+
892
+ # Restricted export config, used to configure restricted export on linked
893
+ # dataset.
894
+ class RestrictedExportConfig
895
+ include Google::Apis::Core::Hashable
896
+
897
+ # Optional. If true, enable restricted export.
898
+ # Corresponds to the JSON property `enabled`
899
+ # @return [Boolean]
900
+ attr_accessor :enabled
901
+ alias_method :enabled?, :enabled
902
+
903
+ # Output only. If true, restrict direct table access(read api/tabledata.list) on
904
+ # linked table.
905
+ # Corresponds to the JSON property `restrictDirectTableAccess`
906
+ # @return [Boolean]
907
+ attr_accessor :restrict_direct_table_access
908
+ alias_method :restrict_direct_table_access?, :restrict_direct_table_access
909
+
910
+ # Optional. If true, restrict export of query result derived from restricted
911
+ # linked dataset table.
912
+ # Corresponds to the JSON property `restrictQueryResult`
913
+ # @return [Boolean]
914
+ attr_accessor :restrict_query_result
915
+ alias_method :restrict_query_result?, :restrict_query_result
916
+
917
+ def initialize(**args)
918
+ update!(**args)
919
+ end
920
+
921
+ # Update properties of this object
922
+ def update!(**args)
923
+ @enabled = args[:enabled] if args.key?(:enabled)
924
+ @restrict_direct_table_access = args[:restrict_direct_table_access] if args.key?(:restrict_direct_table_access)
925
+ @restrict_query_result = args[:restrict_query_result] if args.key?(:restrict_query_result)
926
+ end
927
+ end
928
+
843
929
  # Request message for `SetIamPolicy` method.
844
930
  class SetIamPolicyRequest
845
931
  include Google::Apis::Core::Hashable
@@ -893,6 +979,28 @@ module Google
893
979
  end
894
980
  end
895
981
 
982
+ # Message for response when you subscribe to a Data Exchange.
983
+ class SubscribeDataExchangeResponse
984
+ include Google::Apis::Core::Hashable
985
+
986
+ # A subscription represents a subscribers' access to a particular set of
987
+ # published data. It contains references to associated listings, data exchanges,
988
+ # and linked datasets. TODO(b/267528977) Consider port the new resource to
989
+ # v1beta1 and dataexchange APIs.
990
+ # Corresponds to the JSON property `subscription`
991
+ # @return [Google::Apis::AnalyticshubV1beta1::Subscription]
992
+ attr_accessor :subscription
993
+
994
+ def initialize(**args)
995
+ update!(**args)
996
+ end
997
+
998
+ # Update properties of this object
999
+ def update!(**args)
1000
+ @subscription = args[:subscription] if args.key?(:subscription)
1001
+ end
1002
+ end
1003
+
896
1004
  # Message for subscribing to a listing.
897
1005
  class SubscribeListingRequest
898
1006
  include Google::Apis::Core::Hashable
@@ -925,6 +1033,88 @@ module Google
925
1033
  end
926
1034
  end
927
1035
 
1036
+ # A subscription represents a subscribers' access to a particular set of
1037
+ # published data. It contains references to associated listings, data exchanges,
1038
+ # and linked datasets. TODO(b/267528977) Consider port the new resource to
1039
+ # v1beta1 and dataexchange APIs.
1040
+ class Subscription
1041
+ include Google::Apis::Core::Hashable
1042
+
1043
+ # Output only. Timestamp when the subscription was created.
1044
+ # Corresponds to the JSON property `creationTime`
1045
+ # @return [String]
1046
+ attr_accessor :creation_time
1047
+
1048
+ # Output only. Resource name of the source Data Exchange. e.g. projects/123/
1049
+ # locations/US/dataExchanges/456
1050
+ # Corresponds to the JSON property `dataExchange`
1051
+ # @return [String]
1052
+ attr_accessor :data_exchange
1053
+
1054
+ # Output only. Timestamp when the subscription was last modified.
1055
+ # Corresponds to the JSON property `lastModifyTime`
1056
+ # @return [String]
1057
+ attr_accessor :last_modify_time
1058
+
1059
+ # Output only. Map of listing resource names to associated linked resource, e.g.
1060
+ # projects/123/locations/US/dataExchanges/456/listings/789 -> projects/123/
1061
+ # datasets/my_dataset For listing-level subscriptions, this is a map of size 1.
1062
+ # Only contains values if state == STATE_ACTIVE.
1063
+ # Corresponds to the JSON property `linkedDatasetMap`
1064
+ # @return [Hash<String,Google::Apis::AnalyticshubV1beta1::LinkedResource>]
1065
+ attr_accessor :linked_dataset_map
1066
+
1067
+ # Output only. Resource name of the source Listing. e.g. projects/123/locations/
1068
+ # US/dataExchanges/456/listings/789
1069
+ # Corresponds to the JSON property `listing`
1070
+ # @return [String]
1071
+ attr_accessor :listing
1072
+
1073
+ # Output only. The resource name of the subscription. e.g. `projects/myproject/
1074
+ # locations/US/subscriptions/123`.
1075
+ # Corresponds to the JSON property `name`
1076
+ # @return [String]
1077
+ attr_accessor :name
1078
+
1079
+ # Output only. Display name of the project of this subscription.
1080
+ # Corresponds to the JSON property `organizationDisplayName`
1081
+ # @return [String]
1082
+ attr_accessor :organization_display_name
1083
+
1084
+ # Output only. Organization of the project this subscription belongs to.
1085
+ # Corresponds to the JSON property `organizationId`
1086
+ # @return [String]
1087
+ attr_accessor :organization_id
1088
+
1089
+ # Output only. Current state of the subscription.
1090
+ # Corresponds to the JSON property `state`
1091
+ # @return [String]
1092
+ attr_accessor :state
1093
+
1094
+ # Output only. Email of the subscriber.
1095
+ # Corresponds to the JSON property `subscriberContact`
1096
+ # @return [String]
1097
+ attr_accessor :subscriber_contact
1098
+
1099
+ def initialize(**args)
1100
+ update!(**args)
1101
+ end
1102
+
1103
+ # Update properties of this object
1104
+ def update!(**args)
1105
+ @creation_time = args[:creation_time] if args.key?(:creation_time)
1106
+ @data_exchange = args[:data_exchange] if args.key?(:data_exchange)
1107
+ @last_modify_time = args[:last_modify_time] if args.key?(:last_modify_time)
1108
+ @linked_dataset_map = args[:linked_dataset_map] if args.key?(:linked_dataset_map)
1109
+ @listing = args[:listing] if args.key?(:listing)
1110
+ @name = args[:name] if args.key?(:name)
1111
+ @organization_display_name = args[:organization_display_name] if args.key?(:organization_display_name)
1112
+ @organization_id = args[:organization_id] if args.key?(:organization_id)
1113
+ @state = args[:state] if args.key?(:state)
1114
+ @subscriber_contact = args[:subscriber_contact] if args.key?(:subscriber_contact)
1115
+ end
1116
+ end
1117
+
928
1118
  # Request message for `TestIamPermissions` method.
929
1119
  class TestIamPermissionsRequest
930
1120
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module AnalyticshubV1beta1
18
18
  # Version of the google-apis-analyticshub_v1beta1 gem
19
- GEM_VERSION = "0.18.0"
19
+ GEM_VERSION = "0.20.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20230414"
25
+ REVISION = "20230803"
26
26
  end
27
27
  end
28
28
  end
@@ -94,6 +94,12 @@ module Google
94
94
  include Google::Apis::Core::JsonObjectSupport
95
95
  end
96
96
 
97
+ class LinkedResource
98
+ class Representation < Google::Apis::Core::JsonRepresentation; end
99
+
100
+ include Google::Apis::Core::JsonObjectSupport
101
+ end
102
+
97
103
  class ListDataExchangesResponse
98
104
  class Representation < Google::Apis::Core::JsonRepresentation; end
99
105
 
@@ -136,12 +142,30 @@ module Google
136
142
  include Google::Apis::Core::JsonObjectSupport
137
143
  end
138
144
 
145
+ class RefreshSubscriptionResponse
146
+ class Representation < Google::Apis::Core::JsonRepresentation; end
147
+
148
+ include Google::Apis::Core::JsonObjectSupport
149
+ end
150
+
151
+ class RestrictedExportConfig
152
+ class Representation < Google::Apis::Core::JsonRepresentation; end
153
+
154
+ include Google::Apis::Core::JsonObjectSupport
155
+ end
156
+
139
157
  class SetIamPolicyRequest
140
158
  class Representation < Google::Apis::Core::JsonRepresentation; end
141
159
 
142
160
  include Google::Apis::Core::JsonObjectSupport
143
161
  end
144
162
 
163
+ class SubscribeDataExchangeResponse
164
+ class Representation < Google::Apis::Core::JsonRepresentation; end
165
+
166
+ include Google::Apis::Core::JsonObjectSupport
167
+ end
168
+
145
169
  class SubscribeListingRequest
146
170
  class Representation < Google::Apis::Core::JsonRepresentation; end
147
171
 
@@ -154,6 +178,12 @@ module Google
154
178
  include Google::Apis::Core::JsonObjectSupport
155
179
  end
156
180
 
181
+ class Subscription
182
+ class Representation < Google::Apis::Core::JsonRepresentation; end
183
+
184
+ include Google::Apis::Core::JsonObjectSupport
185
+ end
186
+
157
187
  class TestIamPermissionsRequest
158
188
  class Representation < Google::Apis::Core::JsonRepresentation; end
159
189
 
@@ -272,6 +302,13 @@ module Google
272
302
  end
273
303
  end
274
304
 
305
+ class LinkedResource
306
+ # @private
307
+ class Representation < Google::Apis::Core::JsonRepresentation
308
+ property :linked_dataset, as: 'linkedDataset'
309
+ end
310
+ end
311
+
275
312
  class ListDataExchangesResponse
276
313
  # @private
277
314
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -316,6 +353,8 @@ module Google
316
353
  property :publisher, as: 'publisher', class: Google::Apis::AnalyticshubV1beta1::Publisher, decorator: Google::Apis::AnalyticshubV1beta1::Publisher::Representation
317
354
 
318
355
  property :request_access, as: 'requestAccess'
356
+ property :restricted_export_config, as: 'restrictedExportConfig', class: Google::Apis::AnalyticshubV1beta1::RestrictedExportConfig, decorator: Google::Apis::AnalyticshubV1beta1::RestrictedExportConfig::Representation
357
+
319
358
  property :state, as: 'state'
320
359
  end
321
360
  end
@@ -353,6 +392,23 @@ module Google
353
392
  end
354
393
  end
355
394
 
395
+ class RefreshSubscriptionResponse
396
+ # @private
397
+ class Representation < Google::Apis::Core::JsonRepresentation
398
+ property :subscription, as: 'subscription', class: Google::Apis::AnalyticshubV1beta1::Subscription, decorator: Google::Apis::AnalyticshubV1beta1::Subscription::Representation
399
+
400
+ end
401
+ end
402
+
403
+ class RestrictedExportConfig
404
+ # @private
405
+ class Representation < Google::Apis::Core::JsonRepresentation
406
+ property :enabled, as: 'enabled'
407
+ property :restrict_direct_table_access, as: 'restrictDirectTableAccess'
408
+ property :restrict_query_result, as: 'restrictQueryResult'
409
+ end
410
+ end
411
+
356
412
  class SetIamPolicyRequest
357
413
  # @private
358
414
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -362,6 +418,14 @@ module Google
362
418
  end
363
419
  end
364
420
 
421
+ class SubscribeDataExchangeResponse
422
+ # @private
423
+ class Representation < Google::Apis::Core::JsonRepresentation
424
+ property :subscription, as: 'subscription', class: Google::Apis::AnalyticshubV1beta1::Subscription, decorator: Google::Apis::AnalyticshubV1beta1::Subscription::Representation
425
+
426
+ end
427
+ end
428
+
365
429
  class SubscribeListingRequest
366
430
  # @private
367
431
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -376,6 +440,23 @@ module Google
376
440
  end
377
441
  end
378
442
 
443
+ class Subscription
444
+ # @private
445
+ class Representation < Google::Apis::Core::JsonRepresentation
446
+ property :creation_time, as: 'creationTime'
447
+ property :data_exchange, as: 'dataExchange'
448
+ property :last_modify_time, as: 'lastModifyTime'
449
+ hash :linked_dataset_map, as: 'linkedDatasetMap', class: Google::Apis::AnalyticshubV1beta1::LinkedResource, decorator: Google::Apis::AnalyticshubV1beta1::LinkedResource::Representation
450
+
451
+ property :listing, as: 'listing'
452
+ property :name, as: 'name'
453
+ property :organization_display_name, as: 'organizationDisplayName'
454
+ property :organization_id, as: 'organizationId'
455
+ property :state, as: 'state'
456
+ property :subscriber_contact, as: 'subscriberContact'
457
+ end
458
+ end
459
+
379
460
  class TestIamPermissionsRequest
380
461
  # @private
381
462
  class Representation < Google::Apis::Core::JsonRepresentation
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-analyticshub_v1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.18.0
4
+ version: 0.20.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-04-23 00:00:00.000000000 Z
11
+ date: 2023-08-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-analyticshub_v1beta1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-analyticshub_v1beta1/v0.18.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-analyticshub_v1beta1/v0.20.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-analyticshub_v1beta1
63
63
  post_install_message:
64
64
  rdoc_options: []