google-apis-analyticshub_v1beta1 0.19.0 → 0.21.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: b7653d4b5d2333ed9262663d6754b71be2861d66861c8b80f94bc4357e49a8e6
4
- data.tar.gz: d1a59fdab1922046774bc06797984eeef68c4bbb63396f934c07fc914cb3ca55
3
+ metadata.gz: abe1382f11af8a33a4bd1221dc41edd0f4bcbde1e78595405a73038148ba64c7
4
+ data.tar.gz: a8ffffe87a61ee666398f3060f6488b2b03dac7b5abf951f34bf0391521cb605
5
5
  SHA512:
6
- metadata.gz: c924221bb59e1cf6174bf0f025e263a169a618b7a2c4c504e80caec11af561d4af7c1d3fd1b4032717ad616aa44fc36417e33f95422522e16b5ddec9bd94a2ec
7
- data.tar.gz: f9f5895894c50c36fd7cd3a69b58da2a2a7e368d600da320d0394984d6f47cfce33c55fd0b1b7f0766332fa10a0cad01623a9fbccb0a7fca69ddbaaa3332a31f
6
+ metadata.gz: 8f25c8f5ed4a6a0a4236245091c03d022b5ba4c68834255f7dab6fd1b9f71a8288428255f5b6e9c1bd39d92496e5f0f2c73bd13b474296aba2ae5c208a2c5406
7
+ data.tar.gz: c7e910e5d0d97e51f67395c25bc8f0e2b3caf21288d3553595436065ee045507bfee72878b2e60787062843a181f85c84142a76f82dd86a468b5cad3bc4cd5c2
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-analyticshub_v1beta1
2
2
 
3
+ ### v0.21.0 (2023-08-13)
4
+
5
+ * Regenerated from discovery document revision 20230804
6
+
7
+ ### v0.20.0 (2023-08-06)
8
+
9
+ * Regenerated from discovery document revision 20230803
10
+
3
11
  ### v0.19.0 (2023-07-09)
4
12
 
5
13
  * Regenerated from discovery document revision 20230703
@@ -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
@@ -738,22 +758,22 @@ module Google
738
758
  # evaluates to `true`. A condition can add constraints based on attributes of
739
759
  # the request, the resource, or both. To learn which resources support
740
760
  # conditions in their IAM policies, see the [IAM documentation](https://cloud.
741
- # google.com/iam/help/conditions/resource-policies). **JSON example:** ` "
761
+ # google.com/iam/help/conditions/resource-policies). **JSON example:** ``` ` "
742
762
  # bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
743
763
  # "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
744
764
  # serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
745
765
  # roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
746
766
  # ], "condition": ` "title": "expirable access", "description": "Does not grant
747
767
  # access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
748
- # 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
749
- # bindings: - members: - user:mike@example.com - group:admins@example.com -
750
- # domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com
751
- # role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.
752
- # com role: roles/resourcemanager.organizationViewer condition: title: expirable
753
- # access description: Does not grant access after Sep 2020 expression: request.
754
- # time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
755
- # a description of IAM and its features, see the [IAM documentation](https://
756
- # cloud.google.com/iam/docs/).
768
+ # 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` ``` **YAML
769
+ # example:** ``` bindings: - members: - user:mike@example.com - group:admins@
770
+ # example.com - domain:google.com - serviceAccount:my-project-id@appspot.
771
+ # gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: -
772
+ # user:eve@example.com role: roles/resourcemanager.organizationViewer condition:
773
+ # title: expirable access description: Does not grant access after Sep 2020
774
+ # expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag:
775
+ # BwWWja0YfJA= version: 3 ``` For a description of IAM and its features, see the
776
+ # [IAM documentation](https://cloud.google.com/iam/docs/).
757
777
  class Policy
758
778
  include Google::Apis::Core::Hashable
759
779
 
@@ -847,6 +867,28 @@ module Google
847
867
  end
848
868
  end
849
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
+
850
892
  # Restricted export config, used to configure restricted export on linked
851
893
  # dataset.
852
894
  class RestrictedExportConfig
@@ -899,22 +941,22 @@ module Google
899
941
  # evaluates to `true`. A condition can add constraints based on attributes of
900
942
  # the request, the resource, or both. To learn which resources support
901
943
  # conditions in their IAM policies, see the [IAM documentation](https://cloud.
902
- # google.com/iam/help/conditions/resource-policies). **JSON example:** ` "
944
+ # google.com/iam/help/conditions/resource-policies). **JSON example:** ``` ` "
903
945
  # bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
904
946
  # "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
905
947
  # serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
906
948
  # roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
907
949
  # ], "condition": ` "title": "expirable access", "description": "Does not grant
908
950
  # access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
909
- # 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
910
- # bindings: - members: - user:mike@example.com - group:admins@example.com -
911
- # domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com
912
- # role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.
913
- # com role: roles/resourcemanager.organizationViewer condition: title: expirable
914
- # access description: Does not grant access after Sep 2020 expression: request.
915
- # time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
916
- # a description of IAM and its features, see the [IAM documentation](https://
917
- # cloud.google.com/iam/docs/).
951
+ # 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` ``` **YAML
952
+ # example:** ``` bindings: - members: - user:mike@example.com - group:admins@
953
+ # example.com - domain:google.com - serviceAccount:my-project-id@appspot.
954
+ # gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: -
955
+ # user:eve@example.com role: roles/resourcemanager.organizationViewer condition:
956
+ # title: expirable access description: Does not grant access after Sep 2020
957
+ # expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag:
958
+ # BwWWja0YfJA= version: 3 ``` For a description of IAM and its features, see the
959
+ # [IAM documentation](https://cloud.google.com/iam/docs/).
918
960
  # Corresponds to the JSON property `policy`
919
961
  # @return [Google::Apis::AnalyticshubV1beta1::Policy]
920
962
  attr_accessor :policy
@@ -937,6 +979,28 @@ module Google
937
979
  end
938
980
  end
939
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
+
940
1004
  # Message for subscribing to a listing.
941
1005
  class SubscribeListingRequest
942
1006
  include Google::Apis::Core::Hashable
@@ -969,6 +1033,88 @@ module Google
969
1033
  end
970
1034
  end
971
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
+
972
1118
  # Request message for `TestIamPermissions` method.
973
1119
  class TestIamPermissionsRequest
974
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.19.0"
19
+ GEM_VERSION = "0.21.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 = "20230703"
25
+ REVISION = "20230804"
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,6 +142,12 @@ 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
+
139
151
  class RestrictedExportConfig
140
152
  class Representation < Google::Apis::Core::JsonRepresentation; end
141
153
 
@@ -148,6 +160,12 @@ module Google
148
160
  include Google::Apis::Core::JsonObjectSupport
149
161
  end
150
162
 
163
+ class SubscribeDataExchangeResponse
164
+ class Representation < Google::Apis::Core::JsonRepresentation; end
165
+
166
+ include Google::Apis::Core::JsonObjectSupport
167
+ end
168
+
151
169
  class SubscribeListingRequest
152
170
  class Representation < Google::Apis::Core::JsonRepresentation; end
153
171
 
@@ -160,6 +178,12 @@ module Google
160
178
  include Google::Apis::Core::JsonObjectSupport
161
179
  end
162
180
 
181
+ class Subscription
182
+ class Representation < Google::Apis::Core::JsonRepresentation; end
183
+
184
+ include Google::Apis::Core::JsonObjectSupport
185
+ end
186
+
163
187
  class TestIamPermissionsRequest
164
188
  class Representation < Google::Apis::Core::JsonRepresentation; end
165
189
 
@@ -278,6 +302,13 @@ module Google
278
302
  end
279
303
  end
280
304
 
305
+ class LinkedResource
306
+ # @private
307
+ class Representation < Google::Apis::Core::JsonRepresentation
308
+ property :linked_dataset, as: 'linkedDataset'
309
+ end
310
+ end
311
+
281
312
  class ListDataExchangesResponse
282
313
  # @private
283
314
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -361,6 +392,14 @@ module Google
361
392
  end
362
393
  end
363
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
+
364
403
  class RestrictedExportConfig
365
404
  # @private
366
405
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -379,6 +418,14 @@ module Google
379
418
  end
380
419
  end
381
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
+
382
429
  class SubscribeListingRequest
383
430
  # @private
384
431
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -393,6 +440,23 @@ module Google
393
440
  end
394
441
  end
395
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
+
396
460
  class TestIamPermissionsRequest
397
461
  # @private
398
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.19.0
4
+ version: 0.21.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-07-09 00:00:00.000000000 Z
11
+ date: 2023-08-20 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.19.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-analyticshub_v1beta1/v0.21.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: []