public class Iam.Projects.Locations.OauthClients extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
Iam.Projects.Locations.OauthClients.Create |
class |
Iam.Projects.Locations.OauthClients.Credentials
The "credentials" collection of methods.
|
class |
Iam.Projects.Locations.OauthClients.Delete |
class |
Iam.Projects.Locations.OauthClients.Get |
class |
Iam.Projects.Locations.OauthClients.List |
class |
Iam.Projects.Locations.OauthClients.Patch |
class |
Iam.Projects.Locations.OauthClients.Undelete |
| Constructor and Description |
|---|
OauthClients() |
| Modifier and Type | Method and Description |
|---|---|
Iam.Projects.Locations.OauthClients.Create |
create(String parent,
OauthClient content)
Creates a new OauthClient.
|
Iam.Projects.Locations.OauthClients.Credentials |
credentials()
An accessor for creating requests from the Credentials collection.
|
Iam.Projects.Locations.OauthClients.Delete |
delete(String name)
Deletes an OauthClient.
|
Iam.Projects.Locations.OauthClients.Get |
get(String name)
Gets an individual OauthClient.
|
Iam.Projects.Locations.OauthClients.List |
list(String parent)
Lists all non-deleted OauthClients in a project.
|
Iam.Projects.Locations.OauthClients.Patch |
patch(String name,
OauthClient content)
Updates an existing OauthClient.
|
Iam.Projects.Locations.OauthClients.Undelete |
undelete(String name,
UndeleteOauthClientRequest content)
Undeletes an OauthClient, as long as it was deleted fewer than 30 days ago.
|
public Iam.Projects.Locations.OauthClients.Create create(String parent, OauthClient content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.parent - Required. The parent resource to create the OauthClient in. The only supported location is `global`.content - the OauthClientIOExceptionpublic Iam.Projects.Locations.OauthClients.Delete delete(String name) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.name - Required. The name of the OauthClient to delete. Format:
`projects/{project}/locations/{location}/oauthClients/{oauth_client}`.IOExceptionpublic Iam.Projects.Locations.OauthClients.Get get(String name) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.name - Required. The name of the OauthClient to retrieve. Format:
`projects/{project}/locations/{location}/oauthClients/{oauth_client}`.IOExceptionpublic Iam.Projects.Locations.OauthClients.List list(String parent) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.parent - Required. The parent to list OauthClients for.IOExceptionpublic Iam.Projects.Locations.OauthClients.Patch patch(String name, OauthClient content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.name - Immutable. Identifier. The resource name of the OauthClient.
Format:`projects/{project}/locations/{location}/oauthClients/{oauth_client}`.content - the OauthClientIOExceptionpublic Iam.Projects.Locations.OauthClients.Undelete undelete(String name, UndeleteOauthClientRequest content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.name - Required. The name of the OauthClient to undelete. Format:
`projects/{project}/locations/{location}/oauthClients/{oauth_client}`.content - the UndeleteOauthClientRequestIOExceptionpublic Iam.Projects.Locations.OauthClients.Credentials credentials()
The typical use is:
Iam iam = new Iam(...);Iam.Credentials.List request = iam.credentials().list(parameters ...)
Copyright © 2011–2024 Google. All rights reserved.