diff --git a/api_names_out.yaml b/api_names_out.yaml index aa010713e26..4a783578a3e 100644 --- a/api_names_out.yaml +++ b/api_names_out.yaml @@ -267857,6 +267857,9 @@ "/pubsub:v1/AcknowledgeRequest": acknowledge_request "/pubsub:v1/AcknowledgeRequest/ackIds": ack_ids "/pubsub:v1/AcknowledgeRequest/ackIds/ack_id": ack_id +"/pubsub:v1/AnalyticsHubSubscriptionInfo": analytics_hub_subscription_info +"/pubsub:v1/AnalyticsHubSubscriptionInfo/listing": listing +"/pubsub:v1/AnalyticsHubSubscriptionInfo/subscription": subscription "/pubsub:v1/AvroConfig": avro_config "/pubsub:v1/AvroConfig/useTopicSchema": use_topic_schema "/pubsub:v1/AvroConfig/writeMetadata": write_metadata @@ -268020,6 +268023,7 @@ "/pubsub:v1/Snapshot/topic": topic "/pubsub:v1/Subscription": subscription "/pubsub:v1/Subscription/ackDeadlineSeconds": ack_deadline_seconds +"/pubsub:v1/Subscription/analyticsHubSubscriptionInfo": analytics_hub_subscription_info "/pubsub:v1/Subscription/bigqueryConfig": bigquery_config "/pubsub:v1/Subscription/cloudStorageConfig": cloud_storage_config "/pubsub:v1/Subscription/deadLetterPolicy": dead_letter_policy diff --git a/generated/google-apis-pubsub_v1/CHANGELOG.md b/generated/google-apis-pubsub_v1/CHANGELOG.md index df7473550dc..e2aeb0cad46 100644 --- a/generated/google-apis-pubsub_v1/CHANGELOG.md +++ b/generated/google-apis-pubsub_v1/CHANGELOG.md @@ -1,5 +1,9 @@ # Release history for google-apis-pubsub_v1 +### v0.53.0 (2024-06-26) + +* Regenerated from discovery document revision 20240618 + ### v0.52.0 (2024-06-16) * Regenerated from discovery document revision 20240607 diff --git a/generated/google-apis-pubsub_v1/lib/google/apis/pubsub_v1/classes.rb b/generated/google-apis-pubsub_v1/lib/google/apis/pubsub_v1/classes.rb index c535111253f..680befed122 100644 --- a/generated/google-apis-pubsub_v1/lib/google/apis/pubsub_v1/classes.rb +++ b/generated/google-apis-pubsub_v1/lib/google/apis/pubsub_v1/classes.rb @@ -42,6 +42,35 @@ def update!(**args) end end + # Information about an associated Analytics Hub subscription (https://cloud. + # google.com/bigquery/docs/analytics-hub-manage-subscriptions). + class AnalyticsHubSubscriptionInfo + include Google::Apis::Core::Hashable + + # Optional. The name of the associated Analytics Hub listing resource. Pattern: " + # projects/`project`/locations/`location`/dataExchanges/`data_exchange`/listings/ + # `listing`" + # Corresponds to the JSON property `listing` + # @return [String] + attr_accessor :listing + + # Optional. The name of the associated Analytics Hub subscription resource. + # Pattern: "projects/`project`/locations/`location`/subscriptions/`subscription`" + # Corresponds to the JSON property `subscription` + # @return [String] + attr_accessor :subscription + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @listing = args[:listing] if args.key?(:listing) + @subscription = args[:subscription] if args.key?(:subscription) + end + end + # Configuration for writing message data in Avro format. Message payloads and # metadata will be written to files as an Avro binary. class AvroConfig @@ -1619,6 +1648,12 @@ class Subscription # @return [Fixnum] attr_accessor :ack_deadline_seconds + # Information about an associated Analytics Hub subscription (https://cloud. + # google.com/bigquery/docs/analytics-hub-manage-subscriptions). + # Corresponds to the JSON property `analyticsHubSubscriptionInfo` + # @return [Google::Apis::PubsubV1::AnalyticsHubSubscriptionInfo] + attr_accessor :analytics_hub_subscription_info + # Configuration for a BigQuery subscription. # Corresponds to the JSON property `bigqueryConfig` # @return [Google::Apis::PubsubV1::BigQueryConfig] @@ -1765,6 +1800,7 @@ def initialize(**args) # Update properties of this object def update!(**args) @ack_deadline_seconds = args[:ack_deadline_seconds] if args.key?(:ack_deadline_seconds) + @analytics_hub_subscription_info = args[:analytics_hub_subscription_info] if args.key?(:analytics_hub_subscription_info) @bigquery_config = args[:bigquery_config] if args.key?(:bigquery_config) @cloud_storage_config = args[:cloud_storage_config] if args.key?(:cloud_storage_config) @dead_letter_policy = args[:dead_letter_policy] if args.key?(:dead_letter_policy) diff --git a/generated/google-apis-pubsub_v1/lib/google/apis/pubsub_v1/gem_version.rb b/generated/google-apis-pubsub_v1/lib/google/apis/pubsub_v1/gem_version.rb index 3f6f5902b66..8f42c8ba1ce 100644 --- a/generated/google-apis-pubsub_v1/lib/google/apis/pubsub_v1/gem_version.rb +++ b/generated/google-apis-pubsub_v1/lib/google/apis/pubsub_v1/gem_version.rb @@ -16,13 +16,13 @@ module Google module Apis module PubsubV1 # Version of the google-apis-pubsub_v1 gem - GEM_VERSION = "0.52.0" + GEM_VERSION = "0.53.0" # Version of the code generator used to generate this client GENERATOR_VERSION = "0.15.0" # Revision of the discovery document this client was generated from - REVISION = "20240607" + REVISION = "20240618" end end end diff --git a/generated/google-apis-pubsub_v1/lib/google/apis/pubsub_v1/representations.rb b/generated/google-apis-pubsub_v1/lib/google/apis/pubsub_v1/representations.rb index 7a50385130a..606cc59902f 100644 --- a/generated/google-apis-pubsub_v1/lib/google/apis/pubsub_v1/representations.rb +++ b/generated/google-apis-pubsub_v1/lib/google/apis/pubsub_v1/representations.rb @@ -28,6 +28,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class AnalyticsHubSubscriptionInfo + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class AvroConfig class Representation < Google::Apis::Core::JsonRepresentation; end @@ -359,6 +365,14 @@ class Representation < Google::Apis::Core::JsonRepresentation end end + class AnalyticsHubSubscriptionInfo + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :listing, as: 'listing' + property :subscription, as: 'subscription' + end + end + class AvroConfig # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -734,6 +748,8 @@ class Subscription # @private class Representation < Google::Apis::Core::JsonRepresentation property :ack_deadline_seconds, as: 'ackDeadlineSeconds' + property :analytics_hub_subscription_info, as: 'analyticsHubSubscriptionInfo', class: Google::Apis::PubsubV1::AnalyticsHubSubscriptionInfo, decorator: Google::Apis::PubsubV1::AnalyticsHubSubscriptionInfo::Representation + property :bigquery_config, as: 'bigqueryConfig', class: Google::Apis::PubsubV1::BigQueryConfig, decorator: Google::Apis::PubsubV1::BigQueryConfig::Representation property :cloud_storage_config, as: 'cloudStorageConfig', class: Google::Apis::PubsubV1::CloudStorageConfig, decorator: Google::Apis::PubsubV1::CloudStorageConfig::Representation