Class: Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaUploadIntegrationVersionRequest

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/integrations_v1alpha/classes.rb,
lib/google/apis/integrations_v1alpha/representations.rb,
lib/google/apis/integrations_v1alpha/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.



8800
8801
8802
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 8800

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

Instance Attribute Details

#contentString

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

Returns:

  • (String)


8793
8794
8795
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 8793

def content
  @content
end

#file_formatString

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

Returns:

  • (String)


8798
8799
8800
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 8798

def file_format
  @file_format
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8805
8806
8807
8808
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 8805

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