Class ProjectsResource.LocationsResource.ConnectionsResource.ActionsResource
The "actions" collection of methods.
Inherited Members
Namespace: Google.Apis.Connectors.v2
Assembly: Google.Apis.Connectors.v2.dll
Syntax
public class ProjectsResource.LocationsResource.ConnectionsResource.ActionsResource
Constructors
ActionsResource(IClientService)
Constructs a new resource.
Declaration
public ActionsResource(IClientService service)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service |
Methods
Execute(ExecuteActionRequest, string)
Executes an action with the name specified in the request. The input parameters for executing the action are passed through the body of the ExecuteAction request.
Declaration
public virtual ProjectsResource.LocationsResource.ConnectionsResource.ActionsResource.ExecuteRequest Execute(ExecuteActionRequest body, string name)
Parameters
| Type | Name | Description |
|---|---|---|
| ExecuteActionRequest | body | The body of the request. |
| string | name | Required. Resource name of the Action. Format: projects/{project}/locations/{location}/connections/{connection}/actions/{action} |
Returns
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.ConnectionsResource.ActionsResource.ExecuteRequest |
Get(string)
Gets the schema of the given action.
Declaration
public virtual ProjectsResource.LocationsResource.ConnectionsResource.ActionsResource.GetRequest Get(string name)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | Required. Resource name of the Action. Format: projects/{project}/locations/{location}/connections/{connection}/actions/{action} |
Returns
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.ConnectionsResource.ActionsResource.GetRequest |
List(string)
Gets the schema of all the actions supported by the connector.
Declaration
public virtual ProjectsResource.LocationsResource.ConnectionsResource.ActionsResource.ListRequest List(string parent)
Parameters
| Type | Name | Description |
|---|---|---|
| string | parent | Required. Parent resource name of the Action. Format: projects/{project}/locations/{location}/connections/{connection} |
Returns
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.ConnectionsResource.ActionsResource.ListRequest |