Class: Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaUploadIntegrationVersionRequest

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 UploadIntegrationVersion.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudIntegrationsV1alphaUploadIntegrationVersionRequest

Returns a new instance of GoogleCloudIntegrationsV1alphaUploadIntegrationVersionRequest.



11434
11435
11436
# File 'lib/google/apis/integrations_v1/classes.rb', line 11434

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#contentString

The textproto of the IntegrationVersion. Corresponds to the JSON property content

Returns:

  • (String)


11427
11428
11429
# File 'lib/google/apis/integrations_v1/classes.rb', line 11427

def content
  @content
end

#file_formatString

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

Returns:

  • (String)


11432
11433
11434
# File 'lib/google/apis/integrations_v1/classes.rb', line 11432

def file_format
  @file_format
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



11439
11440
11441
11442
# File 'lib/google/apis/integrations_v1/classes.rb', line 11439

def update!(**args)
  @content = args[:content] if args.key?(:content)
  @file_format = args[:file_format] if args.key?(:file_format)
end