public class ArtifactRegistry.Projects extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
ArtifactRegistry.Projects.GetProjectSettings |
class |
ArtifactRegistry.Projects.Locations
The "locations" collection of methods.
|
class |
ArtifactRegistry.Projects.UpdateProjectSettings |
| Constructor and Description |
|---|
Projects() |
| Modifier and Type | Method and Description |
|---|---|
ArtifactRegistry.Projects.GetProjectSettings |
getProjectSettings(String name)
Retrieves the Settings for the Project.
|
ArtifactRegistry.Projects.Locations |
locations()
An accessor for creating requests from the Locations collection.
|
ArtifactRegistry.Projects.UpdateProjectSettings |
updateProjectSettings(String name,
ProjectSettings content)
Updates the Settings for the Project.
|
public ArtifactRegistry.Projects.GetProjectSettings getProjectSettings(String name) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote
operation.name - Required. The name of the projectSettings resource.IOExceptionpublic ArtifactRegistry.Projects.UpdateProjectSettings updateProjectSettings(String name, ProjectSettings content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote
operation.name - The name of the project's settings. Always of the form: projects/{project-id}/projectSettings In
update request: never set In response: always setcontent - the ProjectSettingsIOExceptionpublic ArtifactRegistry.Projects.Locations locations()
The typical use is:
ArtifactRegistry artifactregistry = new ArtifactRegistry(...);ArtifactRegistry.Locations.List request = artifactregistry.locations().list(parameters ...)
Copyright © 2011–2022 Google. All rights reserved.