Class: Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaGenerateOpenApiSpecRequest
- Inherits:
-
Object
- Object
- Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaGenerateOpenApiSpecRequest
- 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
Request for GenerateOpenApiSpec.
Instance Attribute Summary collapse
-
#api_trigger_resources ⇒ Array<Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaApiTriggerResource>
Required.
-
#file_format ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudIntegrationsV1alphaGenerateOpenApiSpecRequest
constructor
A new instance of GoogleCloudIntegrationsV1alphaGenerateOpenApiSpecRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudIntegrationsV1alphaGenerateOpenApiSpecRequest
Returns a new instance of GoogleCloudIntegrationsV1alphaGenerateOpenApiSpecRequest.
8157 8158 8159 |
# File 'lib/google/apis/integrations_v1/classes.rb', line 8157 def initialize(**args) update!(**args) end |
Instance Attribute Details
#api_trigger_resources ⇒ Array<Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaApiTriggerResource>
Required. List of api triggers
Corresponds to the JSON property apiTriggerResources
8150 8151 8152 |
# File 'lib/google/apis/integrations_v1/classes.rb', line 8150 def api_trigger_resources @api_trigger_resources end |
#file_format ⇒ String
Required. File format for generated spec.
Corresponds to the JSON property fileFormat
8155 8156 8157 |
# File 'lib/google/apis/integrations_v1/classes.rb', line 8155 def file_format @file_format end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
8162 8163 8164 8165 |
# File 'lib/google/apis/integrations_v1/classes.rb', line 8162 def update!(**args) @api_trigger_resources = args[:api_trigger_resources] if args.key?(:api_trigger_resources) @file_format = args[:file_format] if args.key?(:file_format) end |