Class: Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaUploadTemplateRequest

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

Request for UploadTemplate.

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#contentString

Required. The textproto of the template. Corresponds to the JSON property content

Returns:

  • (String)


11471
11472
11473
# File 'lib/google/apis/integrations_v1/classes.rb', line 11471

def content
  @content
end

#file_formatString

Required. File format for upload request. Corresponds to the JSON property fileFormat

Returns:

  • (String)


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