Class ProjectsResource.LocationsResource.ServiceConnectionTokensResource
The "serviceConnectionTokens" collection of methods.
Inherited Members
Namespace: Google.Apis.Networkconnectivity.v1
Assembly: Google.Apis.Networkconnectivity.v1.dll
Syntax
public class ProjectsResource.LocationsResource.ServiceConnectionTokensResource
Constructors
ServiceConnectionTokensResource(IClientService)
Constructs a new resource.
Declaration
public ServiceConnectionTokensResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
Create(ServiceConnectionToken, string)
Creates a new ServiceConnectionToken in a given project and location.
Declaration
public virtual ProjectsResource.LocationsResource.ServiceConnectionTokensResource.CreateRequest Create(ServiceConnectionToken body, string parent)
Parameters
Type | Name | Description |
---|---|---|
ServiceConnectionToken | body | The body of the request. |
string | parent | Required. The parent resource's name of the ServiceConnectionToken. ex. projects/123/locations/us-east1 |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.ServiceConnectionTokensResource.CreateRequest |
Delete(string)
Deletes a single ServiceConnectionToken.
Declaration
public virtual ProjectsResource.LocationsResource.ServiceConnectionTokensResource.DeleteRequest Delete(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The name of the ServiceConnectionToken to delete. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.ServiceConnectionTokensResource.DeleteRequest |
Get(string)
Gets details of a single ServiceConnectionToken.
Declaration
public virtual ProjectsResource.LocationsResource.ServiceConnectionTokensResource.GetRequest Get(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. Name of the ServiceConnectionToken to get. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.ServiceConnectionTokensResource.GetRequest |
List(string)
Lists ServiceConnectionTokens in a given project and location.
Declaration
public virtual ProjectsResource.LocationsResource.ServiceConnectionTokensResource.ListRequest List(string parent)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. The parent resource's name. ex. projects/123/locations/us-east1 |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.ServiceConnectionTokensResource.ListRequest |