Agent Registry V1 API - Class Google::Cloud::AgentRegistry::V1::SkillRevision (v0.5.0)

Reference documentation and code samples for the Agent Registry V1 API class Google::Cloud::AgentRegistry::V1::SkillRevision.

Represents an immutable, versioned snapshot of a Skill package.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#archive_upload_source

def archive_upload_source() -> ::Google::Cloud::AgentRegistry::V1::ArchiveUploadSource
Returns
  • (::Google::Cloud::AgentRegistry::V1::ArchiveUploadSource) — Optional. Immutable. Direct write-only raw archive upload source.

    Note: The following fields are mutually exclusive: archive_upload_source, gcs_source. If a field in that set is populated, all other fields in the set will automatically be cleared.

#archive_upload_source=

def archive_upload_source=(value) -> ::Google::Cloud::AgentRegistry::V1::ArchiveUploadSource
Parameter
  • value (::Google::Cloud::AgentRegistry::V1::ArchiveUploadSource) — Optional. Immutable. Direct write-only raw archive upload source.

    Note: The following fields are mutually exclusive: archive_upload_source, gcs_source. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::Google::Cloud::AgentRegistry::V1::ArchiveUploadSource) — Optional. Immutable. Direct write-only raw archive upload source.

    Note: The following fields are mutually exclusive: archive_upload_source, gcs_source. If a field in that set is populated, all other fields in the set will automatically be cleared.

#create_time

def create_time() -> ::Google::Protobuf::Timestamp
Returns

#frontmatter

def frontmatter() -> ::Google::Cloud::AgentRegistry::V1::Frontmatter
Returns

#gcs_source

def gcs_source() -> ::Google::Cloud::AgentRegistry::V1::GcsSource
Returns
  • (::Google::Cloud::AgentRegistry::V1::GcsSource) — Optional. Immutable. Cloud Storage object generation URI.

    Note: The following fields are mutually exclusive: gcs_source, archive_upload_source. If a field in that set is populated, all other fields in the set will automatically be cleared.

#gcs_source=

def gcs_source=(value) -> ::Google::Cloud::AgentRegistry::V1::GcsSource
Parameter
  • value (::Google::Cloud::AgentRegistry::V1::GcsSource) — Optional. Immutable. Cloud Storage object generation URI.

    Note: The following fields are mutually exclusive: gcs_source, archive_upload_source. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::Google::Cloud::AgentRegistry::V1::GcsSource) — Optional. Immutable. Cloud Storage object generation URI.

    Note: The following fields are mutually exclusive: gcs_source, archive_upload_source. If a field in that set is populated, all other fields in the set will automatically be cleared.

#name

def name() -> ::String
Returns
  • (::String) — Identifier. Resource name of the SkillRevision. Format: projects/{project}/locations/{location}/skills/{skill}/revisions/{revision}

#name=

def name=(value) -> ::String
Parameter
  • value (::String) — Identifier. Resource name of the SkillRevision. Format: projects/{project}/locations/{location}/skills/{skill}/revisions/{revision}
Returns
  • (::String) — Identifier. Resource name of the SkillRevision. Format: projects/{project}/locations/{location}/skills/{skill}/revisions/{revision}

#scan_result

def scan_result() -> ::Google::Cloud::AgentRegistry::V1::SkillRevision::ScanResult
Returns

#sha256_hash

def sha256_hash() -> ::String
Returns
  • (::String) — Output only. Cryptographic SHA-256 integrity and deduplication digest of the payload zip.

#size_bytes

def size_bytes() -> ::Integer
Returns
  • (::Integer) — Output only. Size of the compiled zip payload in bytes (assists client download progress).

#state

def state() -> ::Google::Cloud::AgentRegistry::V1::SkillRevision::State
Returns

#uid

def uid() -> ::String
Returns
  • (::String) — Output only. Universally unique identifier (UUID4) for the skill revision.