Skip to content

Commit bbf0849

Browse files
feat: Automated regeneration of analyticshub v1 client (googleapis#27168)
Auto-created at 2026-06-21 12:09:03 +0000 using the toys pull request generator.
1 parent 1501b7e commit bbf0849

5 files changed

Lines changed: 67 additions & 10 deletions

File tree

api_names_out.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38344,6 +38344,9 @@
3834438344
"/analyticshub:v1/CloudStorageConfig/serviceAccountEmail": service_account_email
3834538345
"/analyticshub:v1/CloudStorageConfig/state": state
3834638346
"/analyticshub:v1/CloudStorageConfig/textConfig": text_config
38347+
"/analyticshub:v1/Compression": compression
38348+
"/analyticshub:v1/Compression/compressionAlgorithm": compression_algorithm
38349+
"/analyticshub:v1/Compression/compressionMode": compression_mode
3834738350
"/analyticshub:v1/DataExchange": data_exchange
3834838351
"/analyticshub:v1/DataExchange/description": description
3834938352
"/analyticshub:v1/DataExchange/discoveryType": discovery_type
@@ -38480,6 +38483,7 @@
3848038483
"/analyticshub:v1/Listing/storedProcedureConfig": stored_procedure_config
3848138484
"/analyticshub:v1/MessageTransform": message_transform
3848238485
"/analyticshub:v1/MessageTransform/aiInference": ai_inference
38486+
"/analyticshub:v1/MessageTransform/compression": compression
3848338487
"/analyticshub:v1/MessageTransform/disabled": disabled
3848438488
"/analyticshub:v1/MessageTransform/enabled": enabled
3848538489
"/analyticshub:v1/MessageTransform/javascriptUdf": javascript_udf

generated/google-apis-analyticshub_v1/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Release history for google-apis-analyticshub_v1
22

3+
### v0.45.0 (2026-06-21)
4+
5+
* Regenerated from discovery document revision 20260607
6+
37
### v0.44.0 (2026-06-14)
48

59
* Regenerated using generator version 0.19.0

generated/google-apis-analyticshub_v1/lib/google/apis/analyticshub_v1/classes.rb

Lines changed: 41 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -302,10 +302,10 @@ def update!(**args)
302302
end
303303

304304
# Configuration for a Bigtable subscription. The Pub/Sub message will be written
305-
# to a Bigtable row as follows: - row key: subscription name and message ID
306-
# delimited by #. - columns: message bytes written to a single column family "
307-
# data" with an empty-string column qualifier. - cell timestamp: the message
308-
# publish timestamp.
305+
# to a Bigtable row as follows: - row key: subscription name, message ID hash,
306+
# and message ID delimited by `#`. - columns: message bytes written to a single
307+
# column family `data` with an empty-string column qualifier. - cell timestamp:
308+
# the message publish timestamp.
309309
class BigtableConfig
310310
include Google::Apis::Core::Hashable
311311

@@ -552,6 +552,32 @@ def update!(**args)
552552
end
553553
end
554554

555+
# Configuration for compressing/decompressing message data using a user-
556+
# specified compression algorithm.
557+
class Compression
558+
include Google::Apis::Core::Hashable
559+
560+
# Required. Specifies the compression algorithm to use.
561+
# Corresponds to the JSON property `compressionAlgorithm`
562+
# @return [String]
563+
attr_accessor :compression_algorithm
564+
565+
# Required. Specifies whether to compress or decompress the message.
566+
# Corresponds to the JSON property `compressionMode`
567+
# @return [String]
568+
attr_accessor :compression_mode
569+
570+
def initialize(**args)
571+
update!(**args)
572+
end
573+
574+
# Update properties of this object
575+
def update!(**args)
576+
@compression_algorithm = args[:compression_algorithm] if args.key?(:compression_algorithm)
577+
@compression_mode = args[:compression_mode] if args.key?(:compression_mode)
578+
end
579+
end
580+
555581
# A data exchange is a container that lets you share data. Along with the
556582
# descriptive information about the data exchange, it contains listings that
557583
# reference shared datasets.
@@ -1124,10 +1150,10 @@ class GooglePubsubV1Subscription
11241150
attr_accessor :bigquery_config
11251151

11261152
# Configuration for a Bigtable subscription. The Pub/Sub message will be written
1127-
# to a Bigtable row as follows: - row key: subscription name and message ID
1128-
# delimited by #. - columns: message bytes written to a single column family "
1129-
# data" with an empty-string column qualifier. - cell timestamp: the message
1130-
# publish timestamp.
1153+
# to a Bigtable row as follows: - row key: subscription name, message ID hash,
1154+
# and message ID delimited by `#`. - columns: message bytes written to a single
1155+
# column family `data` with an empty-string column qualifier. - cell timestamp:
1156+
# the message publish timestamp.
11311157
# Corresponds to the JSON property `bigtableConfig`
11321158
# @return [Google::Apis::AnalyticshubV1::BigtableConfig]
11331159
attr_accessor :bigtable_config
@@ -1670,6 +1696,12 @@ class MessageTransform
16701696
# @return [Google::Apis::AnalyticshubV1::AiInference]
16711697
attr_accessor :ai_inference
16721698

1699+
# Configuration for compressing/decompressing message data using a user-
1700+
# specified compression algorithm.
1701+
# Corresponds to the JSON property `compression`
1702+
# @return [Google::Apis::AnalyticshubV1::Compression]
1703+
attr_accessor :compression
1704+
16731705
# Optional. If true, the transform is disabled and will not be applied to
16741706
# messages. Defaults to `false`.
16751707
# Corresponds to the JSON property `disabled`
@@ -1697,6 +1729,7 @@ def initialize(**args)
16971729
# Update properties of this object
16981730
def update!(**args)
16991731
@ai_inference = args[:ai_inference] if args.key?(:ai_inference)
1732+
@compression = args[:compression] if args.key?(:compression)
17001733
@disabled = args[:disabled] if args.key?(:disabled)
17011734
@enabled = args[:enabled] if args.key?(:enabled)
17021735
@javascript_udf = args[:javascript_udf] if args.key?(:javascript_udf)

generated/google-apis-analyticshub_v1/lib/google/apis/analyticshub_v1/gem_version.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ module Google
1616
module Apis
1717
module AnalyticshubV1
1818
# Version of the google-apis-analyticshub_v1 gem
19-
GEM_VERSION = "0.44.0"
19+
GEM_VERSION = "0.45.0"
2020

2121
# Version of the code generator used to generate this client
2222
GENERATOR_VERSION = "0.19.0"
2323

2424
# Revision of the discovery document this client was generated from
25-
REVISION = "20260427"
25+
REVISION = "20260607"
2626
end
2727
end
2828
end

generated/google-apis-analyticshub_v1/lib/google/apis/analyticshub_v1/representations.rb

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
8282
include Google::Apis::Core::JsonObjectSupport
8383
end
8484

85+
class Compression
86+
class Representation < Google::Apis::Core::JsonRepresentation; end
87+
88+
include Google::Apis::Core::JsonObjectSupport
89+
end
90+
8591
class DataExchange
8692
class Representation < Google::Apis::Core::JsonRepresentation; end
8793

@@ -559,6 +565,14 @@ class Representation < Google::Apis::Core::JsonRepresentation
559565
end
560566
end
561567

568+
class Compression
569+
# @private
570+
class Representation < Google::Apis::Core::JsonRepresentation
571+
property :compression_algorithm, as: 'compressionAlgorithm'
572+
property :compression_mode, as: 'compressionMode'
573+
end
574+
end
575+
562576
class DataExchange
563577
# @private
564578
class Representation < Google::Apis::Core::JsonRepresentation
@@ -845,6 +859,8 @@ class MessageTransform
845859
class Representation < Google::Apis::Core::JsonRepresentation
846860
property :ai_inference, as: 'aiInference', class: Google::Apis::AnalyticshubV1::AiInference, decorator: Google::Apis::AnalyticshubV1::AiInference::Representation
847861

862+
property :compression, as: 'compression', class: Google::Apis::AnalyticshubV1::Compression, decorator: Google::Apis::AnalyticshubV1::Compression::Representation
863+
848864
property :disabled, as: 'disabled'
849865
property :enabled, as: 'enabled'
850866
property :javascript_udf, as: 'javascriptUdf', class: Google::Apis::AnalyticshubV1::JavaScriptUdf, decorator: Google::Apis::AnalyticshubV1::JavaScriptUdf::Representation

0 commit comments

Comments
 (0)