Class: Google::Apis::IntegrationsV1::GoogleCloudConnectorsV1EventingRuntimeDataWebhookData

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

Overview

WebhookData has details of webhook configuration.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudConnectorsV1EventingRuntimeDataWebhookData

Returns a new instance of GoogleCloudConnectorsV1EventingRuntimeDataWebhookData.



6042
6043
6044
# File 'lib/google/apis/integrations_v1/classes.rb', line 6042

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

Instance Attribute Details

#additional_variablesArray<Google::Apis::IntegrationsV1::GoogleCloudConnectorsV1ConfigVariable>

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



6014
6015
6016
# File 'lib/google/apis/integrations_v1/classes.rb', line 6014

def additional_variables
  @additional_variables
end

#create_timeString

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

Returns:

  • (String)


6019
6020
6021
# File 'lib/google/apis/integrations_v1/classes.rb', line 6019

def create_time
  @create_time
end

#idString

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

Returns:

  • (String)


6024
6025
6026
# File 'lib/google/apis/integrations_v1/classes.rb', line 6024

def id
  @id
end

#nameString

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

Returns:

  • (String)


6029
6030
6031
# File 'lib/google/apis/integrations_v1/classes.rb', line 6029

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)


6035
6036
6037
# File 'lib/google/apis/integrations_v1/classes.rb', line 6035

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)


6040
6041
6042
# File 'lib/google/apis/integrations_v1/classes.rb', line 6040

def update_time
  @update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6047
6048
6049
6050
6051
6052
6053
6054
# File 'lib/google/apis/integrations_v1/classes.rb', line 6047

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