Class ProjectsResource.LocationsResource.ConnectionsResource.EventSubscriptionsResource
The "eventSubscriptions" collection of methods.
Inheritance
Inherited Members
Namespace: Google.Apis.Connectors.v1
Assembly: Google.Apis.Connectors.v1.dll
Syntax
public class ProjectsResource.LocationsResource.ConnectionsResource.EventSubscriptionsResource
Constructors
EventSubscriptionsResource(IClientService)
Constructs a new resource.
Declaration
public EventSubscriptionsResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
Create(EventSubscription, string)
Creates a new EventSubscription in a given project,location and connection.
Declaration
public virtual ProjectsResource.LocationsResource.ConnectionsResource.EventSubscriptionsResource.CreateRequest Create(EventSubscription body, string parent)
Parameters
Type | Name | Description |
---|---|---|
EventSubscription | body | The body of the request. |
string | parent | Required. Parent resource of the EventSubscription, of the form:
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.ConnectionsResource.EventSubscriptionsResource.CreateRequest |
Delete(string)
Deletes a single EventSubscription.
Declaration
public virtual ProjectsResource.LocationsResource.ConnectionsResource.EventSubscriptionsResource.DeleteRequest Delete(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. Resource name of the form: |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.ConnectionsResource.EventSubscriptionsResource.DeleteRequest |
Get(string)
Gets details of a single EventSubscription.
Declaration
public virtual ProjectsResource.LocationsResource.ConnectionsResource.EventSubscriptionsResource.GetRequest Get(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. Resource name of the form: |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.ConnectionsResource.EventSubscriptionsResource.GetRequest |
List(string)
List EventSubscriptions in a given project,location and connection.
Declaration
public virtual ProjectsResource.LocationsResource.ConnectionsResource.EventSubscriptionsResource.ListRequest List(string parent)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. Parent resource of the EventSubscription, of the form:
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.ConnectionsResource.EventSubscriptionsResource.ListRequest |
Patch(EventSubscription, string)
Updates the parameters of a single EventSubscription.
Declaration
public virtual ProjectsResource.LocationsResource.ConnectionsResource.EventSubscriptionsResource.PatchRequest Patch(EventSubscription body, string name)
Parameters
Type | Name | Description |
---|---|---|
EventSubscription | body | The body of the request. |
string | name | Required. Resource name of the EventSubscription. Format: projects/{project}/locations/{location}/connections/{connection}/eventSubscriptions/{event_subscription} |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.ConnectionsResource.EventSubscriptionsResource.PatchRequest |
Retry(RetryEventSubscriptionRequest, string)
RetryEventSubscription retries the registration of Subscription.
Declaration
public virtual ProjectsResource.LocationsResource.ConnectionsResource.EventSubscriptionsResource.RetryRequest Retry(RetryEventSubscriptionRequest body, string name)
Parameters
Type | Name | Description |
---|---|---|
RetryEventSubscriptionRequest | body | The body of the request. |
string | name | Required. Resource name of the form: |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.ConnectionsResource.EventSubscriptionsResource.RetryRequest |