diff --git a/generated/google-apis-ces_v1/CHANGELOG.md b/generated/google-apis-ces_v1/CHANGELOG.md index 5f2b0a30132..655fa20b7ff 100644 --- a/generated/google-apis-ces_v1/CHANGELOG.md +++ b/generated/google-apis-ces_v1/CHANGELOG.md @@ -1,5 +1,9 @@ # Release history for google-apis-ces_v1 +### v0.8.0 (2026-05-17) + +* Regenerated from discovery document revision 20260506 + ### v0.7.0 (2026-05-10) * Regenerated from discovery document revision 20260429 diff --git a/generated/google-apis-ces_v1/lib/google/apis/ces_v1/classes.rb b/generated/google-apis-ces_v1/lib/google/apis/ces_v1/classes.rb index 33a4a35a5bf..fc74601fc11 100644 --- a/generated/google-apis-ces_v1/lib/google/apis/ces_v1/classes.rb +++ b/generated/google-apis-ces_v1/lib/google/apis/ces_v1/classes.rb @@ -4952,263 +4952,6 @@ def update!(**args) end end - # Represents an Omnichannel resource. - class Omnichannel - include Google::Apis::Core::Hashable - - # Output only. Timestamp when the omnichannel resource was created. - # Corresponds to the JSON property `createTime` - # @return [String] - attr_accessor :create_time - - # Optional. Human-readable description of the omnichannel resource. - # Corresponds to the JSON property `description` - # @return [String] - attr_accessor :description - - # Required. Display name of the omnichannel resource. - # Corresponds to the JSON property `displayName` - # @return [String] - attr_accessor :display_name - - # Output only. Etag used to ensure the object hasn't changed during a read- - # modify-write operation. - # Corresponds to the JSON property `etag` - # @return [String] - attr_accessor :etag - - # OmnichannelIntegrationConfig contains all App integration configs. - # Corresponds to the JSON property `integrationConfig` - # @return [Google::Apis::CesV1::OmnichannelIntegrationConfig] - attr_accessor :integration_config - - # Identifier. The unique identifier of the omnichannel resource. Format: ` - # projects/`project`/locations/`location`/omnichannels/`omnichannel`` - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - - # Output only. Timestamp when the omnichannel resource was last updated. - # Corresponds to the JSON property `updateTime` - # @return [String] - attr_accessor :update_time - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @create_time = args[:create_time] if args.key?(:create_time) - @description = args[:description] if args.key?(:description) - @display_name = args[:display_name] if args.key?(:display_name) - @etag = args[:etag] if args.key?(:etag) - @integration_config = args[:integration_config] if args.key?(:integration_config) - @name = args[:name] if args.key?(:name) - @update_time = args[:update_time] if args.key?(:update_time) - end - end - - # OmnichannelIntegrationConfig contains all App integration configs. - class OmnichannelIntegrationConfig - include Google::Apis::Core::Hashable - - # Optional. Various of configuration for handling App events. - # Corresponds to the JSON property `channelConfigs` - # @return [Hash] - attr_accessor :channel_configs - - # Optional. The key of routing_configs is a key of `app_configs`, value is a ` - # RoutingConfig`, which contains subscriber's key. - # Corresponds to the JSON property `routingConfigs` - # @return [Hash] - attr_accessor :routing_configs - - # Optional. Various of subscribers configs. - # Corresponds to the JSON property `subscriberConfigs` - # @return [Hash] - attr_accessor :subscriber_configs - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @channel_configs = args[:channel_configs] if args.key?(:channel_configs) - @routing_configs = args[:routing_configs] if args.key?(:routing_configs) - @subscriber_configs = args[:subscriber_configs] if args.key?(:subscriber_configs) - end - end - - # Configs for CES app. - class OmnichannelIntegrationConfigCesAppConfig - include Google::Apis::Core::Hashable - - # The unique identifier of the CES app. Format: `projects/`project`/locations/` - # location`/apps/`app`` - # Corresponds to the JSON property `app` - # @return [String] - attr_accessor :app - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @app = args[:app] if args.key?(:app) - end - end - - # ChannelConfig contains config for various of app integration. - class OmnichannelIntegrationConfigChannelConfig - include Google::Apis::Core::Hashable - - # How Omnichannel should receive/reply events from WhatsApp. - # Corresponds to the JSON property `whatsappConfig` - # @return [Google::Apis::CesV1::OmnichannelIntegrationConfigWhatsappConfig] - attr_accessor :whatsapp_config - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @whatsapp_config = args[:whatsapp_config] if args.key?(:whatsapp_config) - end - end - - # Routing config specify how/who to route app events to a subscriber. - class OmnichannelIntegrationConfigRoutingConfig - include Google::Apis::Core::Hashable - - # The key of the subscriber. - # Corresponds to the JSON property `subscriberKey` - # @return [String] - attr_accessor :subscriber_key - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @subscriber_key = args[:subscriber_key] if args.key?(:subscriber_key) - end - end - - # Configs of subscribers. - class OmnichannelIntegrationConfigSubscriberConfig - include Google::Apis::Core::Hashable - - # Configs for CES app. - # Corresponds to the JSON property `cesAppConfig` - # @return [Google::Apis::CesV1::OmnichannelIntegrationConfigCesAppConfig] - attr_accessor :ces_app_config - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @ces_app_config = args[:ces_app_config] if args.key?(:ces_app_config) - end - end - - # How Omnichannel should receive/reply events from WhatsApp. - class OmnichannelIntegrationConfigWhatsappConfig - include Google::Apis::Core::Hashable - - # The Meta Business Portfolio (MBP) ID. https://www.facebook.com/business/help/ - # 1710077379203657 - # Corresponds to the JSON property `metaBusinessPortfolioId` - # @return [String] - attr_accessor :meta_business_portfolio_id - - # The phone number used for sending/receiving messages. - # Corresponds to the JSON property `phoneNumber` - # @return [String] - attr_accessor :phone_number - - # The Phone Number ID associated with the WhatsApp Business Account. - # Corresponds to the JSON property `phoneNumberId` - # @return [String] - attr_accessor :phone_number_id - - # The verify token configured in the Meta App Dashboard for webhook verification. - # Corresponds to the JSON property `webhookVerifyToken` - # @return [String] - attr_accessor :webhook_verify_token - - # The customer's WhatsApp Business Account (WABA) ID. - # Corresponds to the JSON property `whatsappBusinessAccountId` - # @return [String] - attr_accessor :whatsapp_business_account_id - - # The access token for authenticating API calls to the WhatsApp Cloud API. https: - # //developers.facebook.com/docs/whatsapp/business-management-api/get-started/# - # business-integration-system-user-access-tokens - # Corresponds to the JSON property `whatsappBusinessToken` - # @return [String] - attr_accessor :whatsapp_business_token - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @meta_business_portfolio_id = args[:meta_business_portfolio_id] if args.key?(:meta_business_portfolio_id) - @phone_number = args[:phone_number] if args.key?(:phone_number) - @phone_number_id = args[:phone_number_id] if args.key?(:phone_number_id) - @webhook_verify_token = args[:webhook_verify_token] if args.key?(:webhook_verify_token) - @whatsapp_business_account_id = args[:whatsapp_business_account_id] if args.key?(:whatsapp_business_account_id) - @whatsapp_business_token = args[:whatsapp_business_token] if args.key?(:whatsapp_business_token) - end - end - - # Represents the metadata of the long-running operation. - class OmnichannelOperationMetadata - include Google::Apis::Core::Hashable - - # Output only. The time the operation was created. - # Corresponds to the JSON property `createTime` - # @return [String] - attr_accessor :create_time - - # Output only. The time the operation finished running. - # Corresponds to the JSON property `endTime` - # @return [String] - attr_accessor :end_time - - # Output only. Identifies whether the user has requested cancellation of the - # operation. - # Corresponds to the JSON property `requestedCancellation` - # @return [Boolean] - attr_accessor :requested_cancellation - alias_method :requested_cancellation?, :requested_cancellation - - # Output only. Human-readable status of the operation, if any. - # Corresponds to the JSON property `statusMessage` - # @return [String] - attr_accessor :status_message - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @create_time = args[:create_time] if args.key?(:create_time) - @end_time = args[:end_time] if args.key?(:end_time) - @requested_cancellation = args[:requested_cancellation] if args.key?(:requested_cancellation) - @status_message = args[:status_message] if args.key?(:status_message) - end - end - # A remote API tool defined by an OpenAPI schema. class OpenApiTool include Google::Apis::Core::Hashable diff --git a/generated/google-apis-ces_v1/lib/google/apis/ces_v1/gem_version.rb b/generated/google-apis-ces_v1/lib/google/apis/ces_v1/gem_version.rb index a1fc4526f8b..bfeab81551b 100644 --- a/generated/google-apis-ces_v1/lib/google/apis/ces_v1/gem_version.rb +++ b/generated/google-apis-ces_v1/lib/google/apis/ces_v1/gem_version.rb @@ -16,13 +16,13 @@ module Google module Apis module CesV1 # Version of the google-apis-ces_v1 gem - GEM_VERSION = "0.7.0" + GEM_VERSION = "0.8.0" # Version of the code generator used to generate this client GENERATOR_VERSION = "0.18.0" # Revision of the discovery document this client was generated from - REVISION = "20260429" + REVISION = "20260506" end end end diff --git a/generated/google-apis-ces_v1/lib/google/apis/ces_v1/representations.rb b/generated/google-apis-ces_v1/lib/google/apis/ces_v1/representations.rb index b26882ba4cb..eb8ae3f3274 100644 --- a/generated/google-apis-ces_v1/lib/google/apis/ces_v1/representations.rb +++ b/generated/google-apis-ces_v1/lib/google/apis/ces_v1/representations.rb @@ -784,54 +784,6 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class Omnichannel - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class OmnichannelIntegrationConfig - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class OmnichannelIntegrationConfigCesAppConfig - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class OmnichannelIntegrationConfigChannelConfig - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class OmnichannelIntegrationConfigRoutingConfig - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class OmnichannelIntegrationConfigSubscriberConfig - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class OmnichannelIntegrationConfigWhatsappConfig - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class OmnichannelOperationMetadata - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - class OpenApiTool class Representation < Google::Apis::Core::JsonRepresentation; end @@ -2529,84 +2481,6 @@ class Representation < Google::Apis::Core::JsonRepresentation end end - class Omnichannel - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :create_time, as: 'createTime' - property :description, as: 'description' - property :display_name, as: 'displayName' - property :etag, as: 'etag' - property :integration_config, as: 'integrationConfig', class: Google::Apis::CesV1::OmnichannelIntegrationConfig, decorator: Google::Apis::CesV1::OmnichannelIntegrationConfig::Representation - - property :name, as: 'name' - property :update_time, as: 'updateTime' - end - end - - class OmnichannelIntegrationConfig - # @private - class Representation < Google::Apis::Core::JsonRepresentation - hash :channel_configs, as: 'channelConfigs', class: Google::Apis::CesV1::OmnichannelIntegrationConfigChannelConfig, decorator: Google::Apis::CesV1::OmnichannelIntegrationConfigChannelConfig::Representation - - hash :routing_configs, as: 'routingConfigs', class: Google::Apis::CesV1::OmnichannelIntegrationConfigRoutingConfig, decorator: Google::Apis::CesV1::OmnichannelIntegrationConfigRoutingConfig::Representation - - hash :subscriber_configs, as: 'subscriberConfigs', class: Google::Apis::CesV1::OmnichannelIntegrationConfigSubscriberConfig, decorator: Google::Apis::CesV1::OmnichannelIntegrationConfigSubscriberConfig::Representation - - end - end - - class OmnichannelIntegrationConfigCesAppConfig - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :app, as: 'app' - end - end - - class OmnichannelIntegrationConfigChannelConfig - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :whatsapp_config, as: 'whatsappConfig', class: Google::Apis::CesV1::OmnichannelIntegrationConfigWhatsappConfig, decorator: Google::Apis::CesV1::OmnichannelIntegrationConfigWhatsappConfig::Representation - - end - end - - class OmnichannelIntegrationConfigRoutingConfig - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :subscriber_key, as: 'subscriberKey' - end - end - - class OmnichannelIntegrationConfigSubscriberConfig - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :ces_app_config, as: 'cesAppConfig', class: Google::Apis::CesV1::OmnichannelIntegrationConfigCesAppConfig, decorator: Google::Apis::CesV1::OmnichannelIntegrationConfigCesAppConfig::Representation - - end - end - - class OmnichannelIntegrationConfigWhatsappConfig - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :meta_business_portfolio_id, as: 'metaBusinessPortfolioId' - property :phone_number, as: 'phoneNumber' - property :phone_number_id, as: 'phoneNumberId' - property :webhook_verify_token, as: 'webhookVerifyToken' - property :whatsapp_business_account_id, as: 'whatsappBusinessAccountId' - property :whatsapp_business_token, as: 'whatsappBusinessToken' - end - end - - class OmnichannelOperationMetadata - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :create_time, as: 'createTime' - property :end_time, as: 'endTime' - property :requested_cancellation, as: 'requestedCancellation' - property :status_message, as: 'statusMessage' - end - end - class OpenApiTool # @private class Representation < Google::Apis::Core::JsonRepresentation