Show / Hide Table of Contents

Class ProjectsResource.LocationsResource.OauthClientsResource.CredentialsResource

The "credentials" collection of methods.

Inheritance
object
ProjectsResource.LocationsResource.OauthClientsResource.CredentialsResource
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
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: projects/{project}/locations/{location}/oauthClients/{oauth_client}/credentials/{credential}.

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: projects/{project}/locations/{location}/oauthClients/{oauth_client}/credentials/{credential}.

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. Identifier. The resource name of the OauthClientCredential. Format: projects/{project}/locations/{location}/oauthClients/{oauth_client}/credentials/{credential}

Returns
Type Description
ProjectsResource.LocationsResource.OauthClientsResource.CredentialsResource.PatchRequest
In this article
Back to top Generated by DocFX