target.apidocs.com.google.api.services.artifactregistry.v1.ArtifactRegistry.Projects.html Maven / Gradle / Ivy
ArtifactRegistry.Projects (Artifact Registry API v1-rev20241205-2.0.0)
com.google.api.services.artifactregistry.v1
Class ArtifactRegistry.Projects
- java.lang.Object
-
- com.google.api.services.artifactregistry.v1.ArtifactRegistry.Projects
-
- Enclosing class:
- ArtifactRegistry
public class ArtifactRegistry.Projects
extends Object
The "projects" collection of methods.
-
-
Nested Class Summary
Nested Classes
Modifier and Type
Class and Description
class
ArtifactRegistry.Projects.GetProjectSettings
class
ArtifactRegistry.Projects.Locations
The "locations" collection of methods.
class
ArtifactRegistry.Projects.UpdateProjectSettings
-
Constructor Summary
Constructors
Constructor and Description
Projects()
-
Method Summary
All Methods Instance Methods Concrete Methods
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.
-
-
Method Detail
-
getProjectSettings
public ArtifactRegistry.Projects.GetProjectSettings getProjectSettings(String name)
throws IOException
Retrieves the Settings for the Project.
Create a request for the method "projects.getProjectSettings".
This request holds the parameters needed by the artifactregistry server. After setting any
optional parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote
operation.
- Parameters:
name
- Required. The name of the projectSettings resource.
- Returns:
- the request
- Throws:
IOException
-
updateProjectSettings
public ArtifactRegistry.Projects.UpdateProjectSettings updateProjectSettings(String name,
ProjectSettings content)
throws IOException
Updates the Settings for the Project.
Create a request for the method "projects.updateProjectSettings".
This request holds the parameters needed by the artifactregistry server. After setting any
optional parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote
operation.
- Parameters:
name
- The name of the project's settings. Always of the form: projects/{project-id}/projectSettings In
update request: never set In response: always set
content
- the ProjectSettings
- Returns:
- the request
- Throws:
IOException
-
locations
public ArtifactRegistry.Projects.Locations locations()
An accessor for creating requests from the Locations collection.
The typical use is:
ArtifactRegistry artifactregistry = new ArtifactRegistry(...);
ArtifactRegistry.Locations.List request = artifactregistry.locations().list(parameters ...)
- Returns:
- the resource collection
Copyright © 2011–2024 Google. All rights reserved.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy