Class: Google::Apis::ConnectorsV1::WebhookData

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/connectors_v1/classes.rb,
lib/google/apis/connectors_v1/representations.rb,
lib/google/apis/connectors_v1/representations.rb

Overview

WebhookData has details of webhook configuration.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ WebhookData

Returns a new instance of WebhookData.



5700
5701
5702
# File 'lib/google/apis/connectors_v1/classes.rb', line 5700

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

Instance Attribute Details

#additional_variablesArray<Google::Apis::ConnectorsV1::ConfigVariable>

Output only. Additional webhook related field values. Corresponds to the JSON property additionalVariables



5672
5673
5674
# File 'lib/google/apis/connectors_v1/classes.rb', line 5672

def additional_variables
  @additional_variables
end

#create_timeString

Output only. Timestamp when the webhook was created. Corresponds to the JSON property createTime

Returns:

  • (String)


5677
5678
5679
# File 'lib/google/apis/connectors_v1/classes.rb', line 5677

def create_time
  @create_time
end

#idString

Output only. ID to uniquely identify webhook. Corresponds to the JSON property id

Returns:

  • (String)


5682
5683
5684
# File 'lib/google/apis/connectors_v1/classes.rb', line 5682

def id
  @id
end

#nameString

Output only. Name of the Webhook Corresponds to the JSON property name

Returns:

  • (String)


5687
5688
5689
# File 'lib/google/apis/connectors_v1/classes.rb', line 5687

def name
  @name
end

#next_refresh_timeString

Output only. Next webhook refresh time. Will be null if refresh is not supported. Corresponds to the JSON property nextRefreshTime

Returns:

  • (String)


5693
5694
5695
# File 'lib/google/apis/connectors_v1/classes.rb', line 5693

def next_refresh_time
  @next_refresh_time
end

#update_timeString

Output only. Timestamp when the webhook was last updated. Corresponds to the JSON property updateTime

Returns:

  • (String)


5698
5699
5700
# File 'lib/google/apis/connectors_v1/classes.rb', line 5698

def update_time
  @update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5705
5706
5707
5708
5709
5710
5711
5712
# File 'lib/google/apis/connectors_v1/classes.rb', line 5705

def update!(**args)
  @additional_variables = args[:additional_variables] if args.key?(:additional_variables)
  @create_time = args[:create_time] if args.key?(:create_time)
  @id = args[:id] if args.key?(:id)
  @name = args[:name] if args.key?(:name)
  @next_refresh_time = args[:next_refresh_time] if args.key?(:next_refresh_time)
  @update_time = args[:update_time] if args.key?(:update_time)
end