Class: Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaSfdcChannel
- Inherits:
-
Object
- Object
- Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaSfdcChannel
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/integrations_v1alpha/classes.rb,
lib/google/apis/integrations_v1alpha/representations.rb,
lib/google/apis/integrations_v1alpha/representations.rb
Overview
The SfdcChannel that points to a CDC or Platform Event Channel.
Instance Attribute Summary collapse
-
#channel_topic ⇒ String
The Channel topic defined by salesforce once an channel is opened Corresponds to the JSON property
channelTopic. -
#create_time ⇒ String
Output only.
-
#delete_time ⇒ String
Output only.
-
#description ⇒ String
The description for this channel Corresponds to the JSON property
description. -
#display_name ⇒ String
Client level unique name/alias to easily reference a channel.
-
#is_active ⇒ Boolean
(also: #is_active?)
Indicated if a channel has any active integrations referencing it.
-
#last_replay_id ⇒ String
Last sfdc messsage replay id for channel Corresponds to the JSON property
lastReplayId. -
#name ⇒ String
Resource name of the SFDC channel projects/
project/locations/location/ sfdcInstances/sfdc_instance/sfdcChannels/sfdc_channel. -
#update_time ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudIntegrationsV1alphaSfdcChannel
constructor
A new instance of GoogleCloudIntegrationsV1alphaSfdcChannel.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudIntegrationsV1alphaSfdcChannel
Returns a new instance of GoogleCloudIntegrationsV1alphaSfdcChannel.
8540 8541 8542 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 8540 def initialize(**args) update!(**args) end |
Instance Attribute Details
#channel_topic ⇒ String
The Channel topic defined by salesforce once an channel is opened
Corresponds to the JSON property channelTopic
8494 8495 8496 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 8494 def channel_topic @channel_topic end |
#create_time ⇒ String
Output only. Time when the channel is created
Corresponds to the JSON property createTime
8499 8500 8501 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 8499 def create_time @create_time end |
#delete_time ⇒ String
Output only. Time when the channel was deleted. Empty if not deleted.
Corresponds to the JSON property deleteTime
8504 8505 8506 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 8504 def delete_time @delete_time end |
#description ⇒ String
The description for this channel
Corresponds to the JSON property description
8509 8510 8511 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 8509 def description @description end |
#display_name ⇒ String
Client level unique name/alias to easily reference a channel.
Corresponds to the JSON property displayName
8514 8515 8516 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 8514 def display_name @display_name end |
#is_active ⇒ Boolean Also known as: is_active?
Indicated if a channel has any active integrations referencing it. Set to
false when the channel is created, and set to true if there is any integration
published with the channel configured in it.
Corresponds to the JSON property isActive
8521 8522 8523 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 8521 def is_active @is_active end |
#last_replay_id ⇒ String
Last sfdc messsage replay id for channel
Corresponds to the JSON property lastReplayId
8527 8528 8529 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 8527 def last_replay_id @last_replay_id end |
#name ⇒ String
Resource name of the SFDC channel projects/project/locations/location/
sfdcInstances/sfdc_instance/sfdcChannels/sfdc_channel.
Corresponds to the JSON property name
8533 8534 8535 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 8533 def name @name end |
#update_time ⇒ String
Output only. Time when the channel was last updated
Corresponds to the JSON property updateTime
8538 8539 8540 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 8538 def update_time @update_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
8545 8546 8547 8548 8549 8550 8551 8552 8553 8554 8555 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 8545 def update!(**args) @channel_topic = args[:channel_topic] if args.key?(:channel_topic) @create_time = args[:create_time] if args.key?(:create_time) @delete_time = args[:delete_time] if args.key?(:delete_time) @description = args[:description] if args.key?(:description) @display_name = args[:display_name] if args.key?(:display_name) @is_active = args[:is_active] if args.key?(:is_active) @last_replay_id = args[:last_replay_id] if args.key?(:last_replay_id) @name = args[:name] if args.key?(:name) @update_time = args[:update_time] if args.key?(:update_time) end |