Class: Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaApiTriggerResource

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

List of API triggerID and their workflow resource name.

Instance Attribute Summary collapse

Instance Method Summary collapse

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_resourceString

Required. Integration where the API is published Corresponds to the JSON property integrationResource

Returns:

  • (String)


6401
6402
6403
# File 'lib/google/apis/integrations_v1/classes.rb', line 6401

def integration_resource
  @integration_resource
end

#trigger_idArray<String>

Required. Trigger Id of the API trigger(s) in the integration Corresponds to the JSON property triggerId

Returns:

  • (Array<String>)


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