public class ArtifactRegistry.Projects.Locations.Repositories.YumArtifacts extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
ArtifactRegistry.Projects.Locations.Repositories.YumArtifacts.ArtifactRegistryImport |
class |
ArtifactRegistry.Projects.Locations.Repositories.YumArtifacts.Upload |
| Constructor and Description |
|---|
YumArtifacts() |
| Modifier and Type | Method and Description |
|---|---|
ArtifactRegistry.Projects.Locations.Repositories.YumArtifacts.ArtifactRegistryImport |
artifactregistryImport(String parent,
ImportYumArtifactsRequest content)
Imports Yum (RPM) artifacts.
|
ArtifactRegistry.Projects.Locations.Repositories.YumArtifacts.Upload |
upload(String parent,
UploadYumArtifactRequest content)
Directly uploads a Yum artifact.
|
ArtifactRegistry.Projects.Locations.Repositories.YumArtifacts.Upload |
upload(String parent,
UploadYumArtifactRequest content,
AbstractInputStreamContent mediaContent)
Directly uploads a Yum artifact.
|
public ArtifactRegistry.Projects.Locations.Repositories.YumArtifacts.ArtifactRegistryImport artifactregistryImport(String parent, ImportYumArtifactsRequest 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 ImportYumArtifactsRequestIOExceptionpublic ArtifactRegistry.Projects.Locations.Repositories.YumArtifacts.Upload upload(String parent, UploadYumArtifactRequest 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 UploadYumArtifactRequestIOExceptionpublic ArtifactRegistry.Projects.Locations.Repositories.YumArtifacts.Upload upload(String parent, UploadYumArtifactRequest 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 UploadYumArtifactRequest 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.