target.apidocs.com.google.api.services.secretmanager.v1.SecretManager.Projects.Locations.html Maven / Gradle / Ivy
The newest version!
SecretManager.Projects.Locations (Secret Manager API v1-rev20240924-2.0.0)
com.google.api.services.secretmanager.v1
Class SecretManager.Projects.Locations
- java.lang.Object
-
- com.google.api.services.secretmanager.v1.SecretManager.Projects.Locations
-
- Enclosing class:
- SecretManager.Projects
public class SecretManager.Projects.Locations
extends Object
The "locations" collection of methods.
-
-
Nested Class Summary
Nested Classes
Modifier and Type
Class and Description
class
SecretManager.Projects.Locations.Get
class
SecretManager.Projects.Locations.List
class
SecretManager.Projects.Locations.Secrets
The "secrets" collection of methods.
-
Constructor Summary
Constructors
Constructor and Description
Locations()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
SecretManager.Projects.Locations.Get
get(String name)
Gets information about a location.
SecretManager.Projects.Locations.List
list(String name)
Lists information about the supported locations for this service.
SecretManager.Projects.Locations.Secrets
secrets()
An accessor for creating requests from the Secrets collection.
-
-
Method Detail
-
get
public SecretManager.Projects.Locations.Get get(String name)
throws IOException
Gets information about a location.
Create a request for the method "locations.get".
This request holds the parameters needed by the secretmanager server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
name
- Resource name for the location.
- Returns:
- the request
- Throws:
IOException
-
list
public SecretManager.Projects.Locations.List list(String name)
throws IOException
Lists information about the supported locations for this service.
Create a request for the method "locations.list".
This request holds the parameters needed by the secretmanager server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
name
- The resource that owns the locations collection, if applicable.
- Returns:
- the request
- Throws:
IOException
-
secrets
public SecretManager.Projects.Locations.Secrets secrets()
An accessor for creating requests from the Secrets collection.
The typical use is:
SecretManager secretmanager = new SecretManager(...);
SecretManager.Secrets.List request = secretmanager.secrets().list(parameters ...)
- Returns:
- the resource collection
Copyright © 2011–2024 Google. All rights reserved.
© 2015 - 2024 Weber Informatics LLC | Privacy Policy