public class ArtifactRegistry.Projects.Locations.Repositories.AptArtifacts extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
ArtifactRegistry.Projects.Locations.Repositories.AptArtifacts.ArtifactRegistryImport |
class |
ArtifactRegistry.Projects.Locations.Repositories.AptArtifacts.Upload |
| Constructor and Description |
|---|
AptArtifacts() |
| Modifier and Type | Method and Description |
|---|---|
ArtifactRegistry.Projects.Locations.Repositories.AptArtifacts.ArtifactRegistryImport |
artifactregistryImport(String parent,
ImportAptArtifactsRequest content)
Imports Apt artifacts.
|
ArtifactRegistry.Projects.Locations.Repositories.AptArtifacts.Upload |
upload(String parent,
UploadAptArtifactRequest content)
Directly uploads an Apt artifact.
|
ArtifactRegistry.Projects.Locations.Repositories.AptArtifacts.Upload |
upload(String parent,
UploadAptArtifactRequest content,
AbstractInputStreamContent mediaContent)
Directly uploads an Apt artifact.
|
public ArtifactRegistry.Projects.Locations.Repositories.AptArtifacts.ArtifactRegistryImport artifactregistryImport(String parent, ImportAptArtifactsRequest content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the
remote operation.parent - The name of the parent resource where the artifacts will be imported.content - the ImportAptArtifactsRequestIOExceptionpublic ArtifactRegistry.Projects.Locations.Repositories.AptArtifacts.Upload upload(String parent, UploadAptArtifactRequest content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.parent - The name of the parent resource where the artifacts will be uploaded.content - the UploadAptArtifactRequestIOExceptionpublic ArtifactRegistry.Projects.Locations.Repositories.AptArtifacts.Upload upload(String parent, UploadAptArtifactRequest content, AbstractInputStreamContent mediaContent) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.
This method should be used for uploading media content.
parent - The name of the parent resource where the artifacts will be uploaded.content - the UploadAptArtifactRequest media metadata or null if nonemediaContent - The media HTTP content or null if none.IOException - if the initialization of the request failsCopyright © 2011–2022 Google. All rights reserved.