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-
(::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-
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.
-
(::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- (::Google::Protobuf::Timestamp) — Output only. Revision creation timestamp.
#frontmatter
def frontmatter() -> ::Google::Cloud::AgentRegistry::V1::Frontmatter- (::Google::Cloud::AgentRegistry::V1::Frontmatter) — Output only. Extracted YAML frontmatter configuration snapshot.
#gcs_source
def gcs_source() -> ::Google::Cloud::AgentRegistry::V1::GcsSource-
(::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-
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.
-
(::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-
(::String) — Identifier. Resource name of the SkillRevision.
Format:
projects/{project}/locations/{location}/skills/{skill}/revisions/{revision}
#name=
def name=(value) -> ::String-
value (::String) — Identifier. Resource name of the SkillRevision.
Format:
projects/{project}/locations/{location}/skills/{skill}/revisions/{revision}
-
(::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- (::Google::Cloud::AgentRegistry::V1::SkillRevision::ScanResult) — Output only. Scan result of the skill revision.
#sha256_hash
def sha256_hash() -> ::String- (::String) — Output only. Cryptographic SHA-256 integrity and deduplication digest of the payload zip.
#size_bytes
def size_bytes() -> ::Integer- (::Integer) — Output only. Size of the compiled zip payload in bytes (assists client download progress).
#state
def state() -> ::Google::Cloud::AgentRegistry::V1::SkillRevision::State- (::Google::Cloud::AgentRegistry::V1::SkillRevision::State) — Output only. The system-managed lifecycle state of this revision.
#uid
def uid() -> ::String- (::String) — Output only. Universally unique identifier (UUID4) for the skill revision.