google-apis-analyticshub_v1 0.27.0 → 0.28.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: 1854c7162af81664c6244ade6fa6df30159fa052ae83987226c30070268b62ad
4
- data.tar.gz: 40fecbefb8cf6f8ac12f22ebf7dc1721fa83037c01a4786760e671588f8d1dc0
3
+ metadata.gz: 4e6dd27a168d018a419788a72d8e5c5245dd7bf52ad04d4bd5d24c099807d7a0
4
+ data.tar.gz: bb06c6e04c8251c3d8b45b9d81a65537b341c7b0bb80e6014d95baeead3d83b9
5
5
  SHA512:
6
- metadata.gz: 9408cd6a7407bf2990ecbf44f837b00b157426926f7c3041de0a6ee5f029254008b9dfb734aab164519c3370b8c99a9791a213be54449189c2bc2bbdbc395820
7
- data.tar.gz: eff20e451f44aac7d5bf3ebfa3ca7ede3692856f8e280c2329f0c3ee8ef84500287ff7308b328736f5d43c82ca1ca30753c8198b7a2938c61e392b94a5daefd3
6
+ metadata.gz: 93c6f74c4ddb851862d1c3822572e8fb8e5a99e9123954b0aafc068388b90b86059352837f7e9d61c2b9f5305377add5e3ef7acd24e5fc48fa5a948c79ab3adc
7
+ data.tar.gz: 2b4355382b9cd9b3bc7188064c19feed421bb2ee292f9fc3fb1eb94ddf5d359d8c3ca74273db691c1835566656e35054fb63f98c0155cae522f5f4ba1498dfaf
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-analyticshub_v1
2
2
 
3
+ ### v0.28.0 (2025-02-26)
4
+
5
+ * Regenerated from discovery document revision 20250217
6
+ * Regenerated using generator version 0.16.0
7
+
3
8
  ### v0.27.0 (2025-01-05)
4
9
 
5
10
  * Regenerated from discovery document revision 20241213
@@ -241,8 +241,8 @@ module Google
241
241
  class BigQueryDatasetSource
242
242
  include Google::Apis::Core::Hashable
243
243
 
244
- # Resource name of the dataset source for this listing. e.g. `projects/myproject/
245
- # datasets/123`
244
+ # Optional. Resource name of the dataset source for this listing. e.g. `projects/
245
+ # myproject/datasets/123`
246
246
  # Corresponds to the JSON property `dataset`
247
247
  # @return [String]
248
248
  attr_accessor :dataset
@@ -418,7 +418,7 @@ module Google
418
418
 
419
419
  # Optional. The maximum duration that can elapse before a new Cloud Storage file
420
420
  # is created. Min 1 minute, max 10 minutes, default 5 minutes. May not exceed
421
- # the subscription's acknowledgement deadline.
421
+ # the subscription's acknowledgment deadline.
422
422
  # Corresponds to the JSON property `maxDuration`
423
423
  # @return [String]
424
424
  attr_accessor :max_duration
@@ -519,6 +519,13 @@ module Google
519
519
  # @return [Fixnum]
520
520
  attr_accessor :listing_count
521
521
 
522
+ # Optional. By default, false. If true, the DataExchange has an email sharing
523
+ # mandate enabled.
524
+ # Corresponds to the JSON property `logLinkedDatasetQueryUserEmail`
525
+ # @return [Boolean]
526
+ attr_accessor :log_linked_dataset_query_user_email
527
+ alias_method :log_linked_dataset_query_user_email?, :log_linked_dataset_query_user_email
528
+
522
529
  # Output only. The resource name of the data exchange. e.g. `projects/myproject/
523
530
  # locations/US/dataExchanges/123`.
524
531
  # Corresponds to the JSON property `name`
@@ -549,6 +556,7 @@ module Google
549
556
  @documentation = args[:documentation] if args.key?(:documentation)
550
557
  @icon = args[:icon] if args.key?(:icon)
551
558
  @listing_count = args[:listing_count] if args.key?(:listing_count)
559
+ @log_linked_dataset_query_user_email = args[:log_linked_dataset_query_user_email] if args.key?(:log_linked_dataset_query_user_email)
552
560
  @name = args[:name] if args.key?(:name)
553
561
  @primary_contact = args[:primary_contact] if args.key?(:primary_contact)
554
562
  @sharing_environment_config = args[:sharing_environment_config] if args.key?(:sharing_environment_config)
@@ -636,11 +644,11 @@ module Google
636
644
 
637
645
  # Optional. The maximum number of delivery attempts for any message. The value
638
646
  # must be between 5 and 100. The number of delivery attempts is defined as 1 + (
639
- # the sum of number of NACKs and number of times the acknowledgement deadline
640
- # has been exceeded for the message). A NACK is any call to ModifyAckDeadline
641
- # with a 0 deadline. Note that client libraries may automatically extend
642
- # ack_deadlines. This field will be honored on a best effort basis. If this
643
- # parameter is 0, a default value of 5 is used.
647
+ # the sum of number of NACKs and number of times the acknowledgment deadline has
648
+ # been exceeded for the message). A NACK is any call to ModifyAckDeadline with a
649
+ # 0 deadline. Note that client libraries may automatically extend ack_deadlines.
650
+ # This field will be honored on a best effort basis. If this parameter is 0, a
651
+ # default value of 5 is used.
644
652
  # Corresponds to the JSON property `maxDeliveryAttempts`
645
653
  # @return [Fixnum]
646
654
  attr_accessor :max_delivery_attempts
@@ -673,7 +681,7 @@ module Google
673
681
  class DestinationDataset
674
682
  include Google::Apis::Core::Hashable
675
683
 
676
- # Contains the reference that identifies a destination bigquery dataset.
684
+ # Required. A reference that identifies the destination dataset.
677
685
  # Corresponds to the JSON property `datasetReference`
678
686
  # @return [Google::Apis::AnalyticshubV1::DestinationDatasetReference]
679
687
  attr_accessor :dataset_reference
@@ -716,7 +724,7 @@ module Google
716
724
  end
717
725
  end
718
726
 
719
- # Contains the reference that identifies a destination bigquery dataset.
727
+ #
720
728
  class DestinationDatasetReference
721
729
  include Google::Apis::Core::Hashable
722
730
 
@@ -1053,7 +1061,7 @@ module Google
1053
1061
  # Optional. If true, Pub/Sub provides the following guarantees for the delivery
1054
1062
  # of a message with a given value of `message_id` on this subscription: * The
1055
1063
  # message sent to a subscriber is guaranteed not to be resent before the message'
1056
- # s acknowledgement deadline expires. * An acknowledged message will not be
1064
+ # s acknowledgment deadline expires. * An acknowledged message will not be
1057
1065
  # resent to a subscriber. Note that subscribers may still receive multiple
1058
1066
  # copies of a message when `enable_exactly_once_delivery` is true if the message
1059
1067
  # was published multiple times by a publisher client. These copies are
@@ -1101,6 +1109,12 @@ module Google
1101
1109
  # @return [String]
1102
1110
  attr_accessor :message_retention_duration
1103
1111
 
1112
+ # Optional. Transforms to be applied to messages before they are delivered to
1113
+ # subscribers. Transforms are applied in the order specified.
1114
+ # Corresponds to the JSON property `messageTransforms`
1115
+ # @return [Array<Google::Apis::AnalyticshubV1::MessageTransform>]
1116
+ attr_accessor :message_transforms
1117
+
1104
1118
  # Required. Name of the subscription. Format is `projects/`project`/
1105
1119
  # subscriptions/`sub``.
1106
1120
  # Corresponds to the JSON property `name`
@@ -1126,7 +1140,7 @@ module Google
1126
1140
  # A policy that specifies how Pub/Sub retries message delivery. Retry delay will
1127
1141
  # be exponential based on provided minimum and maximum backoffs. https://en.
1128
1142
  # wikipedia.org/wiki/Exponential_backoff. RetryPolicy will be triggered on NACKs
1129
- # or acknowledgement deadline exceeded events for a given message. Retry Policy
1143
+ # or acknowledgment deadline exceeded events for a given message. Retry Policy
1130
1144
  # is implemented on a best effort basis. At times, the delay between consecutive
1131
1145
  # deliveries may not match the configuration. That is, delay can be more or less
1132
1146
  # than configured backoff.
@@ -1168,6 +1182,7 @@ module Google
1168
1182
  @filter = args[:filter] if args.key?(:filter)
1169
1183
  @labels = args[:labels] if args.key?(:labels)
1170
1184
  @message_retention_duration = args[:message_retention_duration] if args.key?(:message_retention_duration)
1185
+ @message_transforms = args[:message_transforms] if args.key?(:message_transforms)
1171
1186
  @name = args[:name] if args.key?(:name)
1172
1187
  @push_config = args[:push_config] if args.key?(:push_config)
1173
1188
  @retain_acked_messages = args[:retain_acked_messages] if args.key?(:retain_acked_messages)
@@ -1177,6 +1192,43 @@ module Google
1177
1192
  end
1178
1193
  end
1179
1194
 
1195
+ # User-defined JavaScript function that can transform or filter a Pub/Sub
1196
+ # message.
1197
+ class JavaScriptUdf
1198
+ include Google::Apis::Core::Hashable
1199
+
1200
+ # Required. JavaScript code that contains a function `function_name` with the
1201
+ # below signature: ``` /** * Transforms a Pub/Sub message. * @return `(Object)>|
1202
+ # null)` - To * filter a message, return `null`. To transform a message return a
1203
+ # map * with the following keys: * - (required) 'data' : `string` * - (optional)
1204
+ # 'attributes' : `Object` * Returning empty `attributes` will remove all
1205
+ # attributes from the * message. * * @param `(Object)>` Pub/Sub * message. Keys:
1206
+ # * - (required) 'data' : `string` * - (required) 'attributes' : `Object` * * @
1207
+ # param `Object` metadata - Pub/Sub message metadata. * Keys: * - (required) '
1208
+ # message_id' : `string` * - (optional) 'publish_time': `string` YYYY-MM-DDTHH:
1209
+ # MM:SSZ format * - (optional) 'ordering_key': `string` */ function (message,
1210
+ # metadata) ` ` ```
1211
+ # Corresponds to the JSON property `code`
1212
+ # @return [String]
1213
+ attr_accessor :code
1214
+
1215
+ # Required. Name of the JavasScript function that should applied to Pub/Sub
1216
+ # messages.
1217
+ # Corresponds to the JSON property `functionName`
1218
+ # @return [String]
1219
+ attr_accessor :function_name
1220
+
1221
+ def initialize(**args)
1222
+ update!(**args)
1223
+ end
1224
+
1225
+ # Update properties of this object
1226
+ def update!(**args)
1227
+ @code = args[:code] if args.key?(:code)
1228
+ @function_name = args[:function_name] if args.key?(:function_name)
1229
+ end
1230
+ end
1231
+
1180
1232
  # Reference to a linked resource tracked by this Subscription.
1181
1233
  class LinkedResource
1182
1234
  include Google::Apis::Core::Hashable
@@ -1403,6 +1455,13 @@ module Google
1403
1455
  # @return [String]
1404
1456
  attr_accessor :icon
1405
1457
 
1458
+ # Optional. By default, false. If true, the Listing has an email sharing mandate
1459
+ # enabled.
1460
+ # Corresponds to the JSON property `logLinkedDatasetQueryUserEmail`
1461
+ # @return [Boolean]
1462
+ attr_accessor :log_linked_dataset_query_user_email
1463
+ alias_method :log_linked_dataset_query_user_email?, :log_linked_dataset_query_user_email
1464
+
1406
1465
  # Output only. The resource name of the listing. e.g. `projects/myproject/
1407
1466
  # locations/US/dataExchanges/123/listings/456`
1408
1467
  # Corresponds to the JSON property `name`
@@ -1462,6 +1521,7 @@ module Google
1462
1521
  @display_name = args[:display_name] if args.key?(:display_name)
1463
1522
  @documentation = args[:documentation] if args.key?(:documentation)
1464
1523
  @icon = args[:icon] if args.key?(:icon)
1524
+ @log_linked_dataset_query_user_email = args[:log_linked_dataset_query_user_email] if args.key?(:log_linked_dataset_query_user_email)
1465
1525
  @name = args[:name] if args.key?(:name)
1466
1526
  @primary_contact = args[:primary_contact] if args.key?(:primary_contact)
1467
1527
  @publisher = args[:publisher] if args.key?(:publisher)
@@ -1473,6 +1533,34 @@ module Google
1473
1533
  end
1474
1534
  end
1475
1535
 
1536
+ # All supported message transforms types.
1537
+ class MessageTransform
1538
+ include Google::Apis::Core::Hashable
1539
+
1540
+ # Optional. If set to true, the transform is enabled. If false, the transform is
1541
+ # disabled and will not be applied to messages. Defaults to `true`.
1542
+ # Corresponds to the JSON property `enabled`
1543
+ # @return [Boolean]
1544
+ attr_accessor :enabled
1545
+ alias_method :enabled?, :enabled
1546
+
1547
+ # User-defined JavaScript function that can transform or filter a Pub/Sub
1548
+ # message.
1549
+ # Corresponds to the JSON property `javascriptUdf`
1550
+ # @return [Google::Apis::AnalyticshubV1::JavaScriptUdf]
1551
+ attr_accessor :javascript_udf
1552
+
1553
+ def initialize(**args)
1554
+ update!(**args)
1555
+ end
1556
+
1557
+ # Update properties of this object
1558
+ def update!(**args)
1559
+ @enabled = args[:enabled] if args.key?(:enabled)
1560
+ @javascript_udf = args[:javascript_udf] if args.key?(:javascript_udf)
1561
+ end
1562
+ end
1563
+
1476
1564
  # Sets the `data` field as the HTTP body for delivery.
1477
1565
  class NoWrapper
1478
1566
  include Google::Apis::Core::Hashable
@@ -1982,7 +2070,7 @@ module Google
1982
2070
  # A policy that specifies how Pub/Sub retries message delivery. Retry delay will
1983
2071
  # be exponential based on provided minimum and maximum backoffs. https://en.
1984
2072
  # wikipedia.org/wiki/Exponential_backoff. RetryPolicy will be triggered on NACKs
1985
- # or acknowledgement deadline exceeded events for a given message. Retry Policy
2073
+ # or acknowledgment deadline exceeded events for a given message. Retry Policy
1986
2074
  # is implemented on a best effort basis. At times, the delay between consecutive
1987
2075
  # deliveries may not match the configuration. That is, delay can be more or less
1988
2076
  # than configured backoff.
@@ -2042,6 +2130,13 @@ module Google
2042
2130
  class SelectedResource
2043
2131
  include Google::Apis::Core::Hashable
2044
2132
 
2133
+ # Optional. Format: For routine: `projects/`projectId`/datasets/`datasetId`/
2134
+ # routines/`routineId`` Example:"projects/test_project/datasets/test_dataset/
2135
+ # routines/test_routine"
2136
+ # Corresponds to the JSON property `routine`
2137
+ # @return [String]
2138
+ attr_accessor :routine
2139
+
2045
2140
  # Optional. Format: For table: `projects/`projectId`/datasets/`datasetId`/tables/
2046
2141
  # `tableId`` Example:"projects/test_project/datasets/test_dataset/tables/
2047
2142
  # test_table"
@@ -2055,6 +2150,7 @@ module Google
2055
2150
 
2056
2151
  # Update properties of this object
2057
2152
  def update!(**args)
2153
+ @routine = args[:routine] if args.key?(:routine)
2058
2154
  @table = args[:table] if args.key?(:table)
2059
2155
  end
2060
2156
  end
@@ -2329,6 +2425,13 @@ module Google
2329
2425
  # @return [String]
2330
2426
  attr_accessor :listing
2331
2427
 
2428
+ # Output only. By default, false. If true, the Subscriber agreed to the email
2429
+ # sharing mandate that is enabled for DataExchange/Listing.
2430
+ # Corresponds to the JSON property `logLinkedDatasetQueryUserEmail`
2431
+ # @return [Boolean]
2432
+ attr_accessor :log_linked_dataset_query_user_email
2433
+ alias_method :log_linked_dataset_query_user_email?, :log_linked_dataset_query_user_email
2434
+
2332
2435
  # Output only. The resource name of the subscription. e.g. `projects/myproject/
2333
2436
  # locations/US/subscriptions/123`.
2334
2437
  # Corresponds to the JSON property `name`
@@ -2373,6 +2476,7 @@ module Google
2373
2476
  @linked_dataset_map = args[:linked_dataset_map] if args.key?(:linked_dataset_map)
2374
2477
  @linked_resources = args[:linked_resources] if args.key?(:linked_resources)
2375
2478
  @listing = args[:listing] if args.key?(:listing)
2479
+ @log_linked_dataset_query_user_email = args[:log_linked_dataset_query_user_email] if args.key?(:log_linked_dataset_query_user_email)
2376
2480
  @name = args[:name] if args.key?(:name)
2377
2481
  @organization_display_name = args[:organization_display_name] if args.key?(:organization_display_name)
2378
2482
  @organization_id = args[:organization_id] if args.key?(:organization_id)
@@ -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.27.0"
19
+ GEM_VERSION = "0.28.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.15.1"
22
+ GENERATOR_VERSION = "0.16.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20241213"
25
+ REVISION = "20250217"
26
26
  end
27
27
  end
28
28
  end
@@ -178,6 +178,12 @@ module Google
178
178
  include Google::Apis::Core::JsonObjectSupport
179
179
  end
180
180
 
181
+ class JavaScriptUdf
182
+ class Representation < Google::Apis::Core::JsonRepresentation; end
183
+
184
+ include Google::Apis::Core::JsonObjectSupport
185
+ end
186
+
181
187
  class LinkedResource
182
188
  class Representation < Google::Apis::Core::JsonRepresentation; end
183
189
 
@@ -220,6 +226,12 @@ module Google
220
226
  include Google::Apis::Core::JsonObjectSupport
221
227
  end
222
228
 
229
+ class MessageTransform
230
+ class Representation < Google::Apis::Core::JsonRepresentation; end
231
+
232
+ include Google::Apis::Core::JsonObjectSupport
233
+ end
234
+
223
235
  class NoWrapper
224
236
  class Representation < Google::Apis::Core::JsonRepresentation; end
225
237
 
@@ -483,6 +495,7 @@ module Google
483
495
  property :documentation, as: 'documentation'
484
496
  property :icon, :base64 => true, as: 'icon'
485
497
  property :listing_count, as: 'listingCount'
498
+ property :log_linked_dataset_query_user_email, as: 'logLinkedDatasetQueryUserEmail'
486
499
  property :name, as: 'name'
487
500
  property :primary_contact, as: 'primaryContact'
488
501
  property :sharing_environment_config, as: 'sharingEnvironmentConfig', class: Google::Apis::AnalyticshubV1::SharingEnvironmentConfig, decorator: Google::Apis::AnalyticshubV1::SharingEnvironmentConfig::Representation
@@ -637,6 +650,8 @@ module Google
637
650
  property :filter, as: 'filter'
638
651
  hash :labels, as: 'labels'
639
652
  property :message_retention_duration, as: 'messageRetentionDuration'
653
+ collection :message_transforms, as: 'messageTransforms', class: Google::Apis::AnalyticshubV1::MessageTransform, decorator: Google::Apis::AnalyticshubV1::MessageTransform::Representation
654
+
640
655
  property :name, as: 'name'
641
656
  property :push_config, as: 'pushConfig', class: Google::Apis::AnalyticshubV1::PushConfig, decorator: Google::Apis::AnalyticshubV1::PushConfig::Representation
642
657
 
@@ -648,6 +663,14 @@ module Google
648
663
  end
649
664
  end
650
665
 
666
+ class JavaScriptUdf
667
+ # @private
668
+ class Representation < Google::Apis::Core::JsonRepresentation
669
+ property :code, as: 'code'
670
+ property :function_name, as: 'functionName'
671
+ end
672
+ end
673
+
651
674
  class LinkedResource
652
675
  # @private
653
676
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -717,6 +740,7 @@ module Google
717
740
  property :display_name, as: 'displayName'
718
741
  property :documentation, as: 'documentation'
719
742
  property :icon, :base64 => true, as: 'icon'
743
+ property :log_linked_dataset_query_user_email, as: 'logLinkedDatasetQueryUserEmail'
720
744
  property :name, as: 'name'
721
745
  property :primary_contact, as: 'primaryContact'
722
746
  property :publisher, as: 'publisher', class: Google::Apis::AnalyticshubV1::Publisher, decorator: Google::Apis::AnalyticshubV1::Publisher::Representation
@@ -731,6 +755,15 @@ module Google
731
755
  end
732
756
  end
733
757
 
758
+ class MessageTransform
759
+ # @private
760
+ class Representation < Google::Apis::Core::JsonRepresentation
761
+ property :enabled, as: 'enabled'
762
+ property :javascript_udf, as: 'javascriptUdf', class: Google::Apis::AnalyticshubV1::JavaScriptUdf, decorator: Google::Apis::AnalyticshubV1::JavaScriptUdf::Representation
763
+
764
+ end
765
+ end
766
+
734
767
  class NoWrapper
735
768
  # @private
736
769
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -874,6 +907,7 @@ module Google
874
907
  class SelectedResource
875
908
  # @private
876
909
  class Representation < Google::Apis::Core::JsonRepresentation
910
+ property :routine, as: 'routine'
877
911
  property :table, as: 'table'
878
912
  end
879
913
  end
@@ -956,6 +990,7 @@ module Google
956
990
  collection :linked_resources, as: 'linkedResources', class: Google::Apis::AnalyticshubV1::LinkedResource, decorator: Google::Apis::AnalyticshubV1::LinkedResource::Representation
957
991
 
958
992
  property :listing, as: 'listing'
993
+ property :log_linked_dataset_query_user_email, as: 'logLinkedDatasetQueryUserEmail'
959
994
  property :name, as: 'name'
960
995
  property :organization_display_name, as: 'organizationDisplayName'
961
996
  property :organization_id, as: 'organizationId'
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-analyticshub_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.27.0
4
+ version: 0.28.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2025-01-05 00:00:00.000000000 Z
10
+ date: 2025-03-02 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: google-apis-core
@@ -58,9 +57,8 @@ licenses:
58
57
  metadata:
59
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-analyticshub_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-analyticshub_v1/v0.27.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-analyticshub_v1/v0.28.0
62
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-analyticshub_v1
63
- post_install_message:
64
62
  rdoc_options: []
65
63
  require_paths:
66
64
  - lib
@@ -75,8 +73,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
73
  - !ruby/object:Gem::Version
76
74
  version: '0'
77
75
  requirements: []
78
- rubygems_version: 3.5.23
79
- signing_key:
76
+ rubygems_version: 3.6.5
80
77
  specification_version: 4
81
78
  summary: Simple REST client for Analytics Hub API V1
82
79
  test_files: []