Class: Google::Apis::AgentregistryV1alpha::ArchiveUploadSource

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/agentregistry_v1alpha/classes.rb,
lib/google/apis/agentregistry_v1alpha/representations.rb,
lib/google/apis/agentregistry_v1alpha/representations.rb

Overview

Direct write-only raw archive payload upload.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ArchiveUploadSource

Returns a new instance of ArchiveUploadSource.



264
265
266
# File 'lib/google/apis/agentregistry_v1alpha/classes.rb', line 264

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

Instance Attribute Details

#archive_contentString

Required. Input only. Write-only raw ZIP/TAR archive payload bytes containing the skill package. Corresponds to the JSON property archiveContent NOTE: Values are automatically base64 encoded/decoded in the client library.

Returns:

  • (String)


262
263
264
# File 'lib/google/apis/agentregistry_v1alpha/classes.rb', line 262

def archive_content
  @archive_content
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



269
270
271
# File 'lib/google/apis/agentregistry_v1alpha/classes.rb', line 269

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