Class: Google::Apis::ConnectorsV1::EventType
- Inherits:
-
Object
- Object
- Google::Apis::ConnectorsV1::EventType
- 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
EventType includes fields.
Instance Attribute Summary collapse
-
#create_time ⇒ String
Output only.
-
#enriched_event_payload_schema ⇒ String
Output only.
-
#entity_type ⇒ String
Output only.
-
#event_payload_schema ⇒ String
Output only.
-
#event_type_id ⇒ String
Output only.
-
#id_path ⇒ String
Output only.
-
#name ⇒ String
Output only.
-
#update_time ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ EventType
constructor
A new instance of EventType.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ EventType
Returns a new instance of EventType.
2440 2441 2442 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 2440 def initialize(**args) update!(**args) end |
Instance Attribute Details
#create_time ⇒ String
Output only. Created time.
Corresponds to the JSON property createTime
2398 2399 2400 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 2398 def create_time @create_time end |
#enriched_event_payload_schema ⇒ String
Output only. Schema of the event payload after enriched. Will be null if read
before send is not supported.
Corresponds to the JSON property enrichedEventPayloadSchema
2404 2405 2406 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 2404 def enriched_event_payload_schema @enriched_event_payload_schema end |
#entity_type ⇒ String
Output only. Runtime entity type name. Will be null if entity type map is not
available. Used for read before send feature.
Corresponds to the JSON property entityType
2410 2411 2412 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 2410 def entity_type @entity_type end |
#event_payload_schema ⇒ String
Output only. Schema of webhook event payload.
Corresponds to the JSON property eventPayloadSchema
2415 2416 2417 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 2415 def event_payload_schema @event_payload_schema end |
#event_type_id ⇒ String
Output only. Event type id. Example: ticket.created
.
Corresponds to the JSON property eventTypeId
2420 2421 2422 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 2420 def event_type_id @event_type_id end |
#id_path ⇒ String
Output only. Id path denotes the path of id in webhook payload.
Corresponds to the JSON property idPath
2425 2426 2427 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 2425 def id_path @id_path end |
#name ⇒ String
Output only. Resource name of the eventtype. Format: projects/project
/
locations/location
/providers/provider
/connectors/connector
/versions/
version
/eventtypes/eventtype
Only global location is supported for
Connector resource.
Corresponds to the JSON property name
2433 2434 2435 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 2433 def name @name end |
#update_time ⇒ String
Output only. Updated time.
Corresponds to the JSON property updateTime
2438 2439 2440 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 2438 def update_time @update_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2445 2446 2447 2448 2449 2450 2451 2452 2453 2454 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 2445 def update!(**args) @create_time = args[:create_time] if args.key?(:create_time) @enriched_event_payload_schema = args[:enriched_event_payload_schema] if args.key?(:enriched_event_payload_schema) @entity_type = args[:entity_type] if args.key?(:entity_type) @event_payload_schema = args[:event_payload_schema] if args.key?(:event_payload_schema) @event_type_id = args[:event_type_id] if args.key?(:event_type_id) @id_path = args[:id_path] if args.key?(:id_path) @name = args[:name] if args.key?(:name) @update_time = args[:update_time] if args.key?(:update_time) end |