View Source GoogleApi.ArtifactRegistry.V1.Model.UploadGenericArtifactRequest (google_api_artifact_registry v0.23.0)

The request to upload a generic artifact. The created GenericArtifact will have the resource name {parent}/genericArtifacts/package_id:version_id. The created file will have the resource name {parent}/files/package_id:version_id:filename.

Attributes

  • filename (type: String.t, default: nil) - The name of the file of the generic artifact to be uploaded. E.g. example-file.zip The filename is limited to letters, numbers, and url safe characters, i.e. [a-zA-Z0-9-_.~@].
  • packageId (type: String.t, default: nil) - The ID of the package of the generic artifact. If the package does not exist, a new package will be created. The package_id should start and end with a letter or number, only contain letters, numbers, hyphens, underscores, and periods, and not exceed 256 characters.
  • versionId (type: String.t, default: nil) - The ID of the version of the generic artifact. If the version does not exist, a new version will be created. The version_id must start and end with a letter or number, can only contain lowercase letters, numbers, hyphens and periods, i.e. [a-z0-9-.] and cannot exceed a total of 128 characters. Creating a version called latest is not allowed.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.ArtifactRegistry.V1.Model.UploadGenericArtifactRequest{
  filename: String.t() | nil,
  packageId: String.t() | nil,
  versionId: String.t() | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.