Class ProjectsResource.LocationsResource.OauthClientsResource.CredentialsResource
The "credentials" collection of methods.
Inherited Members
Namespace: Google.Apis.Iam.v1
Assembly: Google.Apis.Iam.v1.dll
Syntax
public class ProjectsResource.LocationsResource.OauthClientsResource.CredentialsResource
Constructors
CredentialsResource(IClientService)
Constructs a new resource.
Declaration
public CredentialsResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
Create(OauthClientCredential, string)
Creates a new OauthClientCredential.
Declaration
public virtual ProjectsResource.LocationsResource.OauthClientsResource.CredentialsResource.CreateRequest Create(OauthClientCredential body, string parent)
Parameters
Type | Name | Description |
---|---|---|
OauthClientCredential | body | The body of the request. |
string | parent | Required. The parent resource to create the OauthClientCredential in. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.OauthClientsResource.CredentialsResource.CreateRequest |
Delete(string)
Deletes an OauthClientCredential. Before deleting an OauthClientCredential, it should first be disabled.
Declaration
public virtual ProjectsResource.LocationsResource.OauthClientsResource.CredentialsResource.DeleteRequest Delete(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The name of the OauthClientCredential to delete. Format:
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.OauthClientsResource.CredentialsResource.DeleteRequest |
Get(string)
Gets an individual OauthClientCredential.
Declaration
public virtual ProjectsResource.LocationsResource.OauthClientsResource.CredentialsResource.GetRequest Get(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The name of the OauthClientCredential to retrieve. Format:
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.OauthClientsResource.CredentialsResource.GetRequest |
List(string)
Lists all OauthClientCredentials in an OauthClient.
Declaration
public virtual ProjectsResource.LocationsResource.OauthClientsResource.CredentialsResource.ListRequest List(string parent)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. The parent to list OauthClientCredentials for. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.OauthClientsResource.CredentialsResource.ListRequest |
Patch(OauthClientCredential, string)
Updates an existing OauthClientCredential.
Declaration
public virtual ProjectsResource.LocationsResource.OauthClientsResource.CredentialsResource.PatchRequest Patch(OauthClientCredential body, string name)
Parameters
Type | Name | Description |
---|---|---|
OauthClientCredential | body | The body of the request. |
string | name | Immutable. The resource name of the OauthClientCredential. Format:
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.OauthClientsResource.CredentialsResource.PatchRequest |