Class: Google::Apis::ConnectorsV1::WebhookData
- Inherits:
-
Object
- Object
- Google::Apis::ConnectorsV1::WebhookData
- 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
-
#additional_variables ⇒ Array<Google::Apis::ConnectorsV1::ConfigVariable>
Output only.
-
#create_time ⇒ String
Output only.
-
#id ⇒ String
Output only.
-
#name ⇒ String
Output only.
-
#next_refresh_time ⇒ String
Output only.
-
#update_time ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ WebhookData
constructor
A new instance of WebhookData.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ WebhookData
Returns a new instance of WebhookData.
5534 5535 5536 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 5534 def initialize(**args) update!(**args) end |
Instance Attribute Details
#additional_variables ⇒ Array<Google::Apis::ConnectorsV1::ConfigVariable>
Output only. Additional webhook related field values.
Corresponds to the JSON property additionalVariables
5506 5507 5508 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 5506 def additional_variables @additional_variables end |
#create_time ⇒ String
Output only. Timestamp when the webhook was created.
Corresponds to the JSON property createTime
5511 5512 5513 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 5511 def create_time @create_time end |
#id ⇒ String
Output only. ID to uniquely identify webhook.
Corresponds to the JSON property id
5516 5517 5518 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 5516 def id @id end |
#name ⇒ String
Output only. Name of the Webhook
Corresponds to the JSON property name
5521 5522 5523 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 5521 def name @name end |
#next_refresh_time ⇒ String
Output only. Next webhook refresh time. Will be null if refresh is not
supported.
Corresponds to the JSON property nextRefreshTime
5527 5528 5529 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 5527 def next_refresh_time @next_refresh_time end |
#update_time ⇒ String
Output only. Timestamp when the webhook was last updated.
Corresponds to the JSON property updateTime
5532 5533 5534 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 5532 def update_time @update_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5539 5540 5541 5542 5543 5544 5545 5546 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 5539 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 |