@@ -4952,263 +4952,6 @@ def update!(**args)
49524952 end
49534953 end
49544954
4955- # Represents an Omnichannel resource.
4956- class Omnichannel
4957- include Google ::Apis ::Core ::Hashable
4958-
4959- # Output only. Timestamp when the omnichannel resource was created.
4960- # Corresponds to the JSON property `createTime`
4961- # @return [String]
4962- attr_accessor :create_time
4963-
4964- # Optional. Human-readable description of the omnichannel resource.
4965- # Corresponds to the JSON property `description`
4966- # @return [String]
4967- attr_accessor :description
4968-
4969- # Required. Display name of the omnichannel resource.
4970- # Corresponds to the JSON property `displayName`
4971- # @return [String]
4972- attr_accessor :display_name
4973-
4974- # Output only. Etag used to ensure the object hasn't changed during a read-
4975- # modify-write operation.
4976- # Corresponds to the JSON property `etag`
4977- # @return [String]
4978- attr_accessor :etag
4979-
4980- # OmnichannelIntegrationConfig contains all App integration configs.
4981- # Corresponds to the JSON property `integrationConfig`
4982- # @return [Google::Apis::CesV1::OmnichannelIntegrationConfig]
4983- attr_accessor :integration_config
4984-
4985- # Identifier. The unique identifier of the omnichannel resource. Format: `
4986- # projects/`project`/locations/`location`/omnichannels/`omnichannel``
4987- # Corresponds to the JSON property `name`
4988- # @return [String]
4989- attr_accessor :name
4990-
4991- # Output only. Timestamp when the omnichannel resource was last updated.
4992- # Corresponds to the JSON property `updateTime`
4993- # @return [String]
4994- attr_accessor :update_time
4995-
4996- def initialize ( **args )
4997- update! ( **args )
4998- end
4999-
5000- # Update properties of this object
5001- def update! ( **args )
5002- @create_time = args [ :create_time ] if args . key? ( :create_time )
5003- @description = args [ :description ] if args . key? ( :description )
5004- @display_name = args [ :display_name ] if args . key? ( :display_name )
5005- @etag = args [ :etag ] if args . key? ( :etag )
5006- @integration_config = args [ :integration_config ] if args . key? ( :integration_config )
5007- @name = args [ :name ] if args . key? ( :name )
5008- @update_time = args [ :update_time ] if args . key? ( :update_time )
5009- end
5010- end
5011-
5012- # OmnichannelIntegrationConfig contains all App integration configs.
5013- class OmnichannelIntegrationConfig
5014- include Google ::Apis ::Core ::Hashable
5015-
5016- # Optional. Various of configuration for handling App events.
5017- # Corresponds to the JSON property `channelConfigs`
5018- # @return [Hash<String,Google::Apis::CesV1::OmnichannelIntegrationConfigChannelConfig>]
5019- attr_accessor :channel_configs
5020-
5021- # Optional. The key of routing_configs is a key of `app_configs`, value is a `
5022- # RoutingConfig`, which contains subscriber's key.
5023- # Corresponds to the JSON property `routingConfigs`
5024- # @return [Hash<String,Google::Apis::CesV1::OmnichannelIntegrationConfigRoutingConfig>]
5025- attr_accessor :routing_configs
5026-
5027- # Optional. Various of subscribers configs.
5028- # Corresponds to the JSON property `subscriberConfigs`
5029- # @return [Hash<String,Google::Apis::CesV1::OmnichannelIntegrationConfigSubscriberConfig>]
5030- attr_accessor :subscriber_configs
5031-
5032- def initialize ( **args )
5033- update! ( **args )
5034- end
5035-
5036- # Update properties of this object
5037- def update! ( **args )
5038- @channel_configs = args [ :channel_configs ] if args . key? ( :channel_configs )
5039- @routing_configs = args [ :routing_configs ] if args . key? ( :routing_configs )
5040- @subscriber_configs = args [ :subscriber_configs ] if args . key? ( :subscriber_configs )
5041- end
5042- end
5043-
5044- # Configs for CES app.
5045- class OmnichannelIntegrationConfigCesAppConfig
5046- include Google ::Apis ::Core ::Hashable
5047-
5048- # The unique identifier of the CES app. Format: `projects/`project`/locations/`
5049- # location`/apps/`app``
5050- # Corresponds to the JSON property `app`
5051- # @return [String]
5052- attr_accessor :app
5053-
5054- def initialize ( **args )
5055- update! ( **args )
5056- end
5057-
5058- # Update properties of this object
5059- def update! ( **args )
5060- @app = args [ :app ] if args . key? ( :app )
5061- end
5062- end
5063-
5064- # ChannelConfig contains config for various of app integration.
5065- class OmnichannelIntegrationConfigChannelConfig
5066- include Google ::Apis ::Core ::Hashable
5067-
5068- # How Omnichannel should receive/reply events from WhatsApp.
5069- # Corresponds to the JSON property `whatsappConfig`
5070- # @return [Google::Apis::CesV1::OmnichannelIntegrationConfigWhatsappConfig]
5071- attr_accessor :whatsapp_config
5072-
5073- def initialize ( **args )
5074- update! ( **args )
5075- end
5076-
5077- # Update properties of this object
5078- def update! ( **args )
5079- @whatsapp_config = args [ :whatsapp_config ] if args . key? ( :whatsapp_config )
5080- end
5081- end
5082-
5083- # Routing config specify how/who to route app events to a subscriber.
5084- class OmnichannelIntegrationConfigRoutingConfig
5085- include Google ::Apis ::Core ::Hashable
5086-
5087- # The key of the subscriber.
5088- # Corresponds to the JSON property `subscriberKey`
5089- # @return [String]
5090- attr_accessor :subscriber_key
5091-
5092- def initialize ( **args )
5093- update! ( **args )
5094- end
5095-
5096- # Update properties of this object
5097- def update! ( **args )
5098- @subscriber_key = args [ :subscriber_key ] if args . key? ( :subscriber_key )
5099- end
5100- end
5101-
5102- # Configs of subscribers.
5103- class OmnichannelIntegrationConfigSubscriberConfig
5104- include Google ::Apis ::Core ::Hashable
5105-
5106- # Configs for CES app.
5107- # Corresponds to the JSON property `cesAppConfig`
5108- # @return [Google::Apis::CesV1::OmnichannelIntegrationConfigCesAppConfig]
5109- attr_accessor :ces_app_config
5110-
5111- def initialize ( **args )
5112- update! ( **args )
5113- end
5114-
5115- # Update properties of this object
5116- def update! ( **args )
5117- @ces_app_config = args [ :ces_app_config ] if args . key? ( :ces_app_config )
5118- end
5119- end
5120-
5121- # How Omnichannel should receive/reply events from WhatsApp.
5122- class OmnichannelIntegrationConfigWhatsappConfig
5123- include Google ::Apis ::Core ::Hashable
5124-
5125- # The Meta Business Portfolio (MBP) ID. https://www.facebook.com/business/help/
5126- # 1710077379203657
5127- # Corresponds to the JSON property `metaBusinessPortfolioId`
5128- # @return [String]
5129- attr_accessor :meta_business_portfolio_id
5130-
5131- # The phone number used for sending/receiving messages.
5132- # Corresponds to the JSON property `phoneNumber`
5133- # @return [String]
5134- attr_accessor :phone_number
5135-
5136- # The Phone Number ID associated with the WhatsApp Business Account.
5137- # Corresponds to the JSON property `phoneNumberId`
5138- # @return [String]
5139- attr_accessor :phone_number_id
5140-
5141- # The verify token configured in the Meta App Dashboard for webhook verification.
5142- # Corresponds to the JSON property `webhookVerifyToken`
5143- # @return [String]
5144- attr_accessor :webhook_verify_token
5145-
5146- # The customer's WhatsApp Business Account (WABA) ID.
5147- # Corresponds to the JSON property `whatsappBusinessAccountId`
5148- # @return [String]
5149- attr_accessor :whatsapp_business_account_id
5150-
5151- # The access token for authenticating API calls to the WhatsApp Cloud API. https:
5152- # //developers.facebook.com/docs/whatsapp/business-management-api/get-started/#
5153- # business-integration-system-user-access-tokens
5154- # Corresponds to the JSON property `whatsappBusinessToken`
5155- # @return [String]
5156- attr_accessor :whatsapp_business_token
5157-
5158- def initialize ( **args )
5159- update! ( **args )
5160- end
5161-
5162- # Update properties of this object
5163- def update! ( **args )
5164- @meta_business_portfolio_id = args [ :meta_business_portfolio_id ] if args . key? ( :meta_business_portfolio_id )
5165- @phone_number = args [ :phone_number ] if args . key? ( :phone_number )
5166- @phone_number_id = args [ :phone_number_id ] if args . key? ( :phone_number_id )
5167- @webhook_verify_token = args [ :webhook_verify_token ] if args . key? ( :webhook_verify_token )
5168- @whatsapp_business_account_id = args [ :whatsapp_business_account_id ] if args . key? ( :whatsapp_business_account_id )
5169- @whatsapp_business_token = args [ :whatsapp_business_token ] if args . key? ( :whatsapp_business_token )
5170- end
5171- end
5172-
5173- # Represents the metadata of the long-running operation.
5174- class OmnichannelOperationMetadata
5175- include Google ::Apis ::Core ::Hashable
5176-
5177- # Output only. The time the operation was created.
5178- # Corresponds to the JSON property `createTime`
5179- # @return [String]
5180- attr_accessor :create_time
5181-
5182- # Output only. The time the operation finished running.
5183- # Corresponds to the JSON property `endTime`
5184- # @return [String]
5185- attr_accessor :end_time
5186-
5187- # Output only. Identifies whether the user has requested cancellation of the
5188- # operation.
5189- # Corresponds to the JSON property `requestedCancellation`
5190- # @return [Boolean]
5191- attr_accessor :requested_cancellation
5192- alias_method :requested_cancellation? , :requested_cancellation
5193-
5194- # Output only. Human-readable status of the operation, if any.
5195- # Corresponds to the JSON property `statusMessage`
5196- # @return [String]
5197- attr_accessor :status_message
5198-
5199- def initialize ( **args )
5200- update! ( **args )
5201- end
5202-
5203- # Update properties of this object
5204- def update! ( **args )
5205- @create_time = args [ :create_time ] if args . key? ( :create_time )
5206- @end_time = args [ :end_time ] if args . key? ( :end_time )
5207- @requested_cancellation = args [ :requested_cancellation ] if args . key? ( :requested_cancellation )
5208- @status_message = args [ :status_message ] if args . key? ( :status_message )
5209- end
5210- end
5211-
52124955 # A remote API tool defined by an OpenAPI schema.
52134956 class OpenApiTool
52144957 include Google ::Apis ::Core ::Hashable
0 commit comments