Class: Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaApiTriggerResource
- Inherits:
-
Object
- Object
- Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaApiTriggerResource
- 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
List of API triggerID and their workflow resource name.
Instance Attribute Summary collapse
-
#integration_resource ⇒ String
Required.
-
#trigger_id ⇒ Array<String>
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudIntegrationsV1alphaApiTriggerResource
constructor
A new instance of GoogleCloudIntegrationsV1alphaApiTriggerResource.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudIntegrationsV1alphaApiTriggerResource
Returns a new instance of GoogleCloudIntegrationsV1alphaApiTriggerResource.
6408 6409 6410 |
# File 'lib/google/apis/integrations_v1/classes.rb', line 6408 def initialize(**args) update!(**args) end |
Instance Attribute Details
#integration_resource ⇒ String
Required. Integration where the API is published
Corresponds to the JSON property integrationResource
6401 6402 6403 |
# File 'lib/google/apis/integrations_v1/classes.rb', line 6401 def integration_resource @integration_resource end |
#trigger_id ⇒ Array<String>
Required. Trigger Id of the API trigger(s) in the integration
Corresponds to the JSON property triggerId
6406 6407 6408 |
# File 'lib/google/apis/integrations_v1/classes.rb', line 6406 def trigger_id @trigger_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6413 6414 6415 6416 |
# File 'lib/google/apis/integrations_v1/classes.rb', line 6413 def update!(**args) @integration_resource = args[:integration_resource] if args.key?(:integration_resource) @trigger_id = args[:trigger_id] if args.key?(:trigger_id) end |