Class ProjectsResource.BrandsResource.IdentityAwareProxyClientsResource
The "identityAwareProxyClients" collection of methods.
Inherited Members
Namespace: Google.Apis.CloudIAP.v1
Assembly: Google.Apis.CloudIAP.v1.dll
Syntax
public class ProjectsResource.BrandsResource.IdentityAwareProxyClientsResource
Constructors
IdentityAwareProxyClientsResource(IClientService)
Constructs a new resource.
Declaration
public IdentityAwareProxyClientsResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
Create(IdentityAwareProxyClient, string)
Creates an Identity Aware Proxy (IAP) OAuth client. The client is owned by IAP. Requires that the brand for the project exists and that it is set for internal-only use.
Declaration
public virtual ProjectsResource.BrandsResource.IdentityAwareProxyClientsResource.CreateRequest Create(IdentityAwareProxyClient body, string parent)
Parameters
Type | Name | Description |
---|---|---|
IdentityAwareProxyClient | body | The body of the request. |
string | parent | Required. Path to create the client in. In the following format: projects/{project_number/id}/brands/{brand}. The project must belong to a G Suite account. |
Returns
Type | Description |
---|---|
ProjectsResource.BrandsResource.IdentityAwareProxyClientsResource.CreateRequest |
Delete(string)
Deletes an Identity Aware Proxy (IAP) OAuth client. Useful for removing obsolete clients, managing the number of clients in a given project, and cleaning up after tests. Requires that the client is owned by IAP.
Declaration
public virtual ProjectsResource.BrandsResource.IdentityAwareProxyClientsResource.DeleteRequest Delete(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. Name of the Identity Aware Proxy client to be deleted. In the following format: projects/{project_number/id}/brands/{brand}/identityAwareProxyClients/{client_id}. |
Returns
Type | Description |
---|---|
ProjectsResource.BrandsResource.IdentityAwareProxyClientsResource.DeleteRequest |
Get(string)
Retrieves an Identity Aware Proxy (IAP) OAuth client. Requires that the client is owned by IAP.
Declaration
public virtual ProjectsResource.BrandsResource.IdentityAwareProxyClientsResource.GetRequest Get(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. Name of the Identity Aware Proxy client to be fetched. In the following format: projects/{project_number/id}/brands/{brand}/identityAwareProxyClients/{client_id}. |
Returns
Type | Description |
---|---|
ProjectsResource.BrandsResource.IdentityAwareProxyClientsResource.GetRequest |
List(string)
Lists the existing clients for the brand.
Declaration
public virtual ProjectsResource.BrandsResource.IdentityAwareProxyClientsResource.ListRequest List(string parent)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. Full brand path. In the following format: projects/{project_number/id}/brands/{brand}. |
Returns
Type | Description |
---|---|
ProjectsResource.BrandsResource.IdentityAwareProxyClientsResource.ListRequest |
ResetSecret(ResetIdentityAwareProxyClientSecretRequest, string)
Resets an Identity Aware Proxy (IAP) OAuth client secret. Useful if the secret was compromised. Requires that the client is owned by IAP.
Declaration
public virtual ProjectsResource.BrandsResource.IdentityAwareProxyClientsResource.ResetSecretRequest ResetSecret(ResetIdentityAwareProxyClientSecretRequest body, string name)
Parameters
Type | Name | Description |
---|---|---|
ResetIdentityAwareProxyClientSecretRequest | body | The body of the request. |
string | name | Required. Name of the Identity Aware Proxy client to that will have its secret reset. In the following format: projects/{project_number/id}/brands/{brand}/identityAwareProxyClients/{client_id}. |
Returns
Type | Description |
---|---|
ProjectsResource.BrandsResource.IdentityAwareProxyClientsResource.ResetSecretRequest |