Class: Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaUploadTemplateRequest
- Inherits:
-
Object
- Object
- Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaUploadTemplateRequest
- 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 UploadTemplate.
Instance Attribute Summary collapse
-
#content ⇒ String
Required.
-
#file_format ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudIntegrationsV1alphaUploadTemplateRequest
constructor
A new instance of GoogleCloudIntegrationsV1alphaUploadTemplateRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudIntegrationsV1alphaUploadTemplateRequest
Returns a new instance of GoogleCloudIntegrationsV1alphaUploadTemplateRequest.
11478 11479 11480 |
# File 'lib/google/apis/integrations_v1/classes.rb', line 11478 def initialize(**args) update!(**args) end |
Instance Attribute Details
#content ⇒ String
Required. The textproto of the template.
Corresponds to the JSON property content
11471 11472 11473 |
# File 'lib/google/apis/integrations_v1/classes.rb', line 11471 def content @content end |
#file_format ⇒ String
Required. File format for upload request.
Corresponds to the JSON property fileFormat
11476 11477 11478 |
# File 'lib/google/apis/integrations_v1/classes.rb', line 11476 def file_format @file_format end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
11483 11484 11485 11486 |
# File 'lib/google/apis/integrations_v1/classes.rb', line 11483 def update!(**args) @content = args[:content] if args.key?(:content) @file_format = args[:file_format] if args.key?(:file_format) end |