Class: Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaSfdcChannel

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudIntegrationsV1alphaSfdcChannel

Returns a new instance of GoogleCloudIntegrationsV1alphaSfdcChannel.



7954
7955
7956
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 7954

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#channel_topicString

The Channel topic defined by salesforce once an channel is opened Corresponds to the JSON property channelTopic

Returns:

  • (String)


7908
7909
7910
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 7908

def channel_topic
  @channel_topic
end

#create_timeString

Output only. Time when the channel is created Corresponds to the JSON property createTime

Returns:

  • (String)


7913
7914
7915
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 7913

def create_time
  @create_time
end

#delete_timeString

Output only. Time when the channel was deleted. Empty if not deleted. Corresponds to the JSON property deleteTime

Returns:

  • (String)


7918
7919
7920
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 7918

def delete_time
  @delete_time
end

#descriptionString

The description for this channel Corresponds to the JSON property description

Returns:

  • (String)


7923
7924
7925
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 7923

def description
  @description
end

#display_nameString

Client level unique name/alias to easily reference a channel. Corresponds to the JSON property displayName

Returns:

  • (String)


7928
7929
7930
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 7928

def display_name
  @display_name
end

#is_activeBoolean 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

Returns:

  • (Boolean)


7935
7936
7937
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 7935

def is_active
  @is_active
end

#last_replay_idString

Last sfdc messsage replay id for channel Corresponds to the JSON property lastReplayId

Returns:

  • (String)


7941
7942
7943
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 7941

def last_replay_id
  @last_replay_id
end

#nameString

Resource name of the SFDC channel projects/project/locations/location/ sfdcInstances/sfdc_instance/sfdcChannels/sfdc_channel. Corresponds to the JSON property name

Returns:

  • (String)


7947
7948
7949
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 7947

def name
  @name
end

#update_timeString

Output only. Time when the channel was last updated Corresponds to the JSON property updateTime

Returns:

  • (String)


7952
7953
7954
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 7952

def update_time
  @update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7959
7960
7961
7962
7963
7964
7965
7966
7967
7968
7969
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 7959

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