Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

Eventarc

import { Eventarc } from "https://googleapis.deno.dev/v1/eventarc:v1.ts";

Build event-driven applications on Google Cloud Platform.

class Eventarc {
constructor(client?: CredentialsClient, baseUrl?: string);
async projectsLocationsChannelConnectionsCreate(
parent: string,
): Promise<GoogleLongrunningOperation>;
async projectsLocationsChannelConnectionsDelete(name: string): Promise<GoogleLongrunningOperation>;
async projectsLocationsChannelConnectionsGet(name: string): Promise<ChannelConnection>;
async projectsLocationsChannelConnectionsGetIamPolicy(resource: string, opts?: ProjectsLocationsChannelConnectionsGetIamPolicyOptions): Promise<Policy>;
async projectsLocationsChannelConnectionsList(parent: string, opts?: ProjectsLocationsChannelConnectionsListOptions): Promise<ListChannelConnectionsResponse>;
async projectsLocationsChannelConnectionsSetIamPolicy(resource: string, req: SetIamPolicyRequest): Promise<Policy>;
async projectsLocationsChannelConnectionsTestIamPermissions(resource: string, req: TestIamPermissionsRequest): Promise<TestIamPermissionsResponse>;
async projectsLocationsChannelsCreate(
parent: string,
req: Channel,
): Promise<GoogleLongrunningOperation>;
async projectsLocationsChannelsDelete(name: string, opts?: ProjectsLocationsChannelsDeleteOptions): Promise<GoogleLongrunningOperation>;
async projectsLocationsChannelsGet(name: string): Promise<Channel>;
async projectsLocationsChannelsGetIamPolicy(resource: string, opts?: ProjectsLocationsChannelsGetIamPolicyOptions): Promise<Policy>;
async projectsLocationsChannelsList(parent: string, opts?: ProjectsLocationsChannelsListOptions): Promise<ListChannelsResponse>;
async projectsLocationsChannelsPatch(
name: string,
req: Channel,
): Promise<GoogleLongrunningOperation>;
async projectsLocationsChannelsSetIamPolicy(resource: string, req: SetIamPolicyRequest): Promise<Policy>;
async projectsLocationsChannelsTestIamPermissions(resource: string, req: TestIamPermissionsRequest): Promise<TestIamPermissionsResponse>;
async projectsLocationsEnrollmentsCreate(
parent: string,
): Promise<GoogleLongrunningOperation>;
async projectsLocationsEnrollmentsDelete(name: string, opts?: ProjectsLocationsEnrollmentsDeleteOptions): Promise<GoogleLongrunningOperation>;
async projectsLocationsEnrollmentsGet(name: string): Promise<Enrollment>;
async projectsLocationsEnrollmentsGetIamPolicy(resource: string, opts?: ProjectsLocationsEnrollmentsGetIamPolicyOptions): Promise<Policy>;
async projectsLocationsEnrollmentsList(parent: string, opts?: ProjectsLocationsEnrollmentsListOptions): Promise<ListEnrollmentsResponse>;
async projectsLocationsEnrollmentsPatch(
name: string,
): Promise<GoogleLongrunningOperation>;
async projectsLocationsEnrollmentsSetIamPolicy(resource: string, req: SetIamPolicyRequest): Promise<Policy>;
async projectsLocationsEnrollmentsTestIamPermissions(resource: string, req: TestIamPermissionsRequest): Promise<TestIamPermissionsResponse>;
async projectsLocationsGet(name: string): Promise<Location>;
async projectsLocationsGetGoogleChannelConfig(name: string): Promise<GoogleChannelConfig>;
async projectsLocationsGoogleApiSourcesCreate(
parent: string,
): Promise<GoogleLongrunningOperation>;
async projectsLocationsGoogleApiSourcesDelete(name: string, opts?: ProjectsLocationsGoogleApiSourcesDeleteOptions): Promise<GoogleLongrunningOperation>;
async projectsLocationsGoogleApiSourcesGet(name: string): Promise<GoogleApiSource>;
async projectsLocationsGoogleApiSourcesGetIamPolicy(resource: string, opts?: ProjectsLocationsGoogleApiSourcesGetIamPolicyOptions): Promise<Policy>;
async projectsLocationsGoogleApiSourcesList(parent: string, opts?: ProjectsLocationsGoogleApiSourcesListOptions): Promise<ListGoogleApiSourcesResponse>;
async projectsLocationsGoogleApiSourcesPatch(
name: string,
): Promise<GoogleLongrunningOperation>;
async projectsLocationsGoogleApiSourcesSetIamPolicy(resource: string, req: SetIamPolicyRequest): Promise<Policy>;
async projectsLocationsGoogleApiSourcesTestIamPermissions(resource: string, req: TestIamPermissionsRequest): Promise<TestIamPermissionsResponse>;
async projectsLocationsKafkaSourcesGetIamPolicy(resource: string, opts?: ProjectsLocationsKafkaSourcesGetIamPolicyOptions): Promise<Policy>;
async projectsLocationsKafkaSourcesSetIamPolicy(resource: string, req: SetIamPolicyRequest): Promise<Policy>;
async projectsLocationsKafkaSourcesTestIamPermissions(resource: string, req: TestIamPermissionsRequest): Promise<TestIamPermissionsResponse>;
async projectsLocationsList(name: string, opts?: ProjectsLocationsListOptions): Promise<ListLocationsResponse>;
async projectsLocationsMessageBusesCreate(
parent: string,
): Promise<GoogleLongrunningOperation>;
async projectsLocationsMessageBusesDelete(name: string, opts?: ProjectsLocationsMessageBusesDeleteOptions): Promise<GoogleLongrunningOperation>;
async projectsLocationsMessageBusesGet(name: string): Promise<MessageBus>;
async projectsLocationsMessageBusesGetIamPolicy(resource: string, opts?: ProjectsLocationsMessageBusesGetIamPolicyOptions): Promise<Policy>;
async projectsLocationsMessageBusesList(parent: string, opts?: ProjectsLocationsMessageBusesListOptions): Promise<ListMessageBusesResponse>;
async projectsLocationsMessageBusesListEnrollments(parent: string, opts?: ProjectsLocationsMessageBusesListEnrollmentsOptions): Promise<ListMessageBusEnrollmentsResponse>;
async projectsLocationsMessageBusesPatch(
name: string,
): Promise<GoogleLongrunningOperation>;
async projectsLocationsMessageBusesSetIamPolicy(resource: string, req: SetIamPolicyRequest): Promise<Policy>;
async projectsLocationsMessageBusesTestIamPermissions(resource: string, req: TestIamPermissionsRequest): Promise<TestIamPermissionsResponse>;
async projectsLocationsOperationsCancel(name: string, req: GoogleLongrunningCancelOperationRequest): Promise<Empty>;
async projectsLocationsOperationsDelete(name: string): Promise<Empty>;
async projectsLocationsOperationsGet(name: string): Promise<GoogleLongrunningOperation>;
async projectsLocationsOperationsList(name: string, opts?: ProjectsLocationsOperationsListOptions): Promise<GoogleLongrunningListOperationsResponse>;
async projectsLocationsPipelinesCreate(
parent: string,
req: Pipeline,
): Promise<GoogleLongrunningOperation>;
async projectsLocationsPipelinesDelete(name: string, opts?: ProjectsLocationsPipelinesDeleteOptions): Promise<GoogleLongrunningOperation>;
async projectsLocationsPipelinesGet(name: string): Promise<Pipeline>;
async projectsLocationsPipelinesGetIamPolicy(resource: string, opts?: ProjectsLocationsPipelinesGetIamPolicyOptions): Promise<Policy>;
async projectsLocationsPipelinesList(parent: string, opts?: ProjectsLocationsPipelinesListOptions): Promise<ListPipelinesResponse>;
async projectsLocationsPipelinesPatch(
name: string,
req: Pipeline,
): Promise<GoogleLongrunningOperation>;
async projectsLocationsPipelinesSetIamPolicy(resource: string, req: SetIamPolicyRequest): Promise<Policy>;
async projectsLocationsPipelinesTestIamPermissions(resource: string, req: TestIamPermissionsRequest): Promise<TestIamPermissionsResponse>;
async projectsLocationsProvidersGet(name: string): Promise<Provider>;
async projectsLocationsProvidersList(parent: string, opts?: ProjectsLocationsProvidersListOptions): Promise<ListProvidersResponse>;
async projectsLocationsTriggersCreate(
parent: string,
req: Trigger,
): Promise<GoogleLongrunningOperation>;
async projectsLocationsTriggersDelete(name: string, opts?: ProjectsLocationsTriggersDeleteOptions): Promise<GoogleLongrunningOperation>;
async projectsLocationsTriggersGet(name: string): Promise<Trigger>;
async projectsLocationsTriggersGetIamPolicy(resource: string, opts?: ProjectsLocationsTriggersGetIamPolicyOptions): Promise<Policy>;
async projectsLocationsTriggersList(parent: string, opts?: ProjectsLocationsTriggersListOptions): Promise<ListTriggersResponse>;
async projectsLocationsTriggersPatch(
name: string,
req: Trigger,
): Promise<GoogleLongrunningOperation>;
async projectsLocationsTriggersSetIamPolicy(resource: string, req: SetIamPolicyRequest): Promise<Policy>;
async projectsLocationsTriggersTestIamPermissions(resource: string, req: TestIamPermissionsRequest): Promise<TestIamPermissionsResponse>;
async projectsLocationsUpdateGoogleChannelConfig(
name: string,
): Promise<GoogleChannelConfig>;
}

§Constructors

§
new Eventarc(client?: CredentialsClient, baseUrl?: string)
[src]

§Methods

§
projectsLocationsChannelConnectionsCreate(parent: string, req: ChannelConnection, opts?: ProjectsLocationsChannelConnectionsCreateOptions): Promise<GoogleLongrunningOperation>
[src]

Create a new ChannelConnection in a particular project and location.

@param parent

Required. The parent collection in which to add this channel connection.

§
projectsLocationsChannelConnectionsDelete(name: string): Promise<GoogleLongrunningOperation>
[src]

Delete a single ChannelConnection.

@param name

Required. The name of the channel connection to delete.

§
projectsLocationsChannelConnectionsGet(name: string): Promise<ChannelConnection>
[src]

Get a single ChannelConnection.

@param name

Required. The name of the channel connection to get.

§
projectsLocationsChannelConnectionsGetIamPolicy(resource: string, opts?: ProjectsLocationsChannelConnectionsGetIamPolicyOptions): Promise<Policy>
[src]

Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.

@param resource

REQUIRED: The resource for which the policy is being requested. See Resource names for the appropriate value for this field.

§
projectsLocationsChannelConnectionsList(parent: string, opts?: ProjectsLocationsChannelConnectionsListOptions): Promise<ListChannelConnectionsResponse>
[src]

List channel connections.

@param parent

Required. The parent collection from which to list channel connections.

§
projectsLocationsChannelConnectionsSetIamPolicy(resource: string, req: SetIamPolicyRequest): Promise<Policy>
[src]

Sets the access control policy on the specified resource. Replaces any existing policy. Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors.

@param resource

REQUIRED: The resource for which the policy is being specified. See Resource names for the appropriate value for this field.

§
projectsLocationsChannelConnectionsTestIamPermissions(resource: string, req: TestIamPermissionsRequest): Promise<TestIamPermissionsResponse>
[src]

Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a NOT_FOUND error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning.

@param resource

REQUIRED: The resource for which the policy detail is being requested. See Resource names for the appropriate value for this field.

§
projectsLocationsChannelsCreate(parent: string, req: Channel, opts?: ProjectsLocationsChannelsCreateOptions): Promise<GoogleLongrunningOperation>
[src]

Create a new channel in a particular project and location.

@param parent

Required. The parent collection in which to add this channel.

§
projectsLocationsChannelsDelete(name: string, opts?: ProjectsLocationsChannelsDeleteOptions): Promise<GoogleLongrunningOperation>
[src]

Delete a single channel.

@param name

Required. The name of the channel to be deleted.

§
projectsLocationsChannelsGet(name: string): Promise<Channel>
[src]

Get a single Channel.

@param name

Required. The name of the channel to get.

§
projectsLocationsChannelsGetIamPolicy(resource: string, opts?: ProjectsLocationsChannelsGetIamPolicyOptions): Promise<Policy>
[src]

Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.

@param resource

REQUIRED: The resource for which the policy is being requested. See Resource names for the appropriate value for this field.

§
projectsLocationsChannelsList(parent: string, opts?: ProjectsLocationsChannelsListOptions): Promise<ListChannelsResponse>
[src]

List channels.

@param parent

Required. The parent collection to list channels on.

§
projectsLocationsChannelsPatch(name: string, req: Channel, opts?: ProjectsLocationsChannelsPatchOptions): Promise<GoogleLongrunningOperation>
[src]

Update a single channel.

@param name

Required. The resource name of the channel. Must be unique within the location on the project and must be in projects/{project}/locations/{location}/channels/{channel_id} format.

§
projectsLocationsChannelsSetIamPolicy(resource: string, req: SetIamPolicyRequest): Promise<Policy>
[src]

Sets the access control policy on the specified resource. Replaces any existing policy. Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors.

@param resource

REQUIRED: The resource for which the policy is being specified. See Resource names for the appropriate value for this field.

§
projectsLocationsChannelsTestIamPermissions(resource: string, req: TestIamPermissionsRequest): Promise<TestIamPermissionsResponse>
[src]

Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a NOT_FOUND error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning.

@param resource

REQUIRED: The resource for which the policy detail is being requested. See Resource names for the appropriate value for this field.

§
projectsLocationsEnrollmentsCreate(parent: string, req: Enrollment, opts?: ProjectsLocationsEnrollmentsCreateOptions): Promise<GoogleLongrunningOperation>
[src]

Create a new Enrollment in a particular project and location.

@param parent

Required. The parent collection in which to add this enrollment.

§
projectsLocationsEnrollmentsDelete(name: string, opts?: ProjectsLocationsEnrollmentsDeleteOptions): Promise<GoogleLongrunningOperation>
[src]

Delete a single Enrollment.

@param name

Required. The name of the Enrollment to be deleted.

§
projectsLocationsEnrollmentsGet(name: string): Promise<Enrollment>
[src]

Get a single Enrollment.

@param name

Required. The name of the Enrollment to get.

§
projectsLocationsEnrollmentsGetIamPolicy(resource: string, opts?: ProjectsLocationsEnrollmentsGetIamPolicyOptions): Promise<Policy>
[src]

Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.

@param resource

REQUIRED: The resource for which the policy is being requested. See Resource names for the appropriate value for this field.

§
projectsLocationsEnrollmentsList(parent: string, opts?: ProjectsLocationsEnrollmentsListOptions): Promise<ListEnrollmentsResponse>
[src]

List Enrollments.

@param parent

Required. The parent collection to list triggers on.

§
projectsLocationsEnrollmentsPatch(name: string, req: Enrollment, opts?: ProjectsLocationsEnrollmentsPatchOptions): Promise<GoogleLongrunningOperation>
[src]

Update a single Enrollment.

@param name

Identifier. Resource name of the form projects/{project}/locations/{location}/enrollments/{enrollment}

§
projectsLocationsEnrollmentsSetIamPolicy(resource: string, req: SetIamPolicyRequest): Promise<Policy>
[src]

Sets the access control policy on the specified resource. Replaces any existing policy. Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors.

@param resource

REQUIRED: The resource for which the policy is being specified. See Resource names for the appropriate value for this field.

§
projectsLocationsEnrollmentsTestIamPermissions(resource: string, req: TestIamPermissionsRequest): Promise<TestIamPermissionsResponse>
[src]

Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a NOT_FOUND error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning.

@param resource

REQUIRED: The resource for which the policy detail is being requested. See Resource names for the appropriate value for this field.

§
projectsLocationsGet(name: string): Promise<Location>
[src]

Gets information about a location.

@param name

Resource name for the location.

§
projectsLocationsGetGoogleChannelConfig(name: string): Promise<GoogleChannelConfig>
[src]

Get a GoogleChannelConfig. The name of the GoogleChannelConfig in the response is ALWAYS coded with projectID.

@param name

Required. The name of the config to get.

§
projectsLocationsGoogleApiSourcesCreate(parent: string, req: GoogleApiSource, opts?: ProjectsLocationsGoogleApiSourcesCreateOptions): Promise<GoogleLongrunningOperation>
[src]

Create a new GoogleApiSource in a particular project and location.

@param parent

Required. The parent collection in which to add this google api source.

§
projectsLocationsGoogleApiSourcesDelete(name: string, opts?: ProjectsLocationsGoogleApiSourcesDeleteOptions): Promise<GoogleLongrunningOperation>
[src]

Delete a single GoogleApiSource.

@param name

Required. The name of the GoogleApiSource to be deleted.

§
projectsLocationsGoogleApiSourcesGet(name: string): Promise<GoogleApiSource>
[src]

Get a single GoogleApiSource.

@param name

Required. The name of the google api source to get.

§
projectsLocationsGoogleApiSourcesGetIamPolicy(resource: string, opts?: ProjectsLocationsGoogleApiSourcesGetIamPolicyOptions): Promise<Policy>
[src]

Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.

@param resource

REQUIRED: The resource for which the policy is being requested. See Resource names for the appropriate value for this field.

§
projectsLocationsGoogleApiSourcesList(parent: string, opts?: ProjectsLocationsGoogleApiSourcesListOptions): Promise<ListGoogleApiSourcesResponse>
[src]

List GoogleApiSources.

@param parent

Required. The parent collection to list GoogleApiSources on.

§
projectsLocationsGoogleApiSourcesPatch(name: string, req: GoogleApiSource, opts?: ProjectsLocationsGoogleApiSourcesPatchOptions): Promise<GoogleLongrunningOperation>
[src]

Update a single GoogleApiSource.

@param name

Identifier. Resource name of the form projects/{project}/locations/{location}/googleApiSources/{google_api_source}

§
projectsLocationsGoogleApiSourcesSetIamPolicy(resource: string, req: SetIamPolicyRequest): Promise<Policy>
[src]

Sets the access control policy on the specified resource. Replaces any existing policy. Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors.

@param resource

REQUIRED: The resource for which the policy is being specified. See Resource names for the appropriate value for this field.

§
projectsLocationsGoogleApiSourcesTestIamPermissions(resource: string, req: TestIamPermissionsRequest): Promise<TestIamPermissionsResponse>
[src]

Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a NOT_FOUND error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning.

@param resource

REQUIRED: The resource for which the policy detail is being requested. See Resource names for the appropriate value for this field.

§
projectsLocationsKafkaSourcesGetIamPolicy(resource: string, opts?: ProjectsLocationsKafkaSourcesGetIamPolicyOptions): Promise<Policy>
[src]

Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.

@param resource

REQUIRED: The resource for which the policy is being requested. See Resource names for the appropriate value for this field.

§
projectsLocationsKafkaSourcesSetIamPolicy(resource: string, req: SetIamPolicyRequest): Promise<Policy>
[src]

Sets the access control policy on the specified resource. Replaces any existing policy. Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors.

@param resource

REQUIRED: The resource for which the policy is being specified. See Resource names for the appropriate value for this field.

§
projectsLocationsKafkaSourcesTestIamPermissions(resource: string, req: TestIamPermissionsRequest): Promise<TestIamPermissionsResponse>
[src]

Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a NOT_FOUND error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning.

@param resource

REQUIRED: The resource for which the policy detail is being requested. See Resource names for the appropriate value for this field.

§
projectsLocationsList(name: string, opts?: ProjectsLocationsListOptions): Promise<ListLocationsResponse>
[src]

Lists information about the supported locations for this service.

@param name

The resource that owns the locations collection, if applicable.

§
projectsLocationsMessageBusesCreate(parent: string, req: MessageBus, opts?: ProjectsLocationsMessageBusesCreateOptions): Promise<GoogleLongrunningOperation>
[src]

Create a new MessageBus in a particular project and location.

@param parent

Required. The parent collection in which to add this message bus.

§
projectsLocationsMessageBusesDelete(name: string, opts?: ProjectsLocationsMessageBusesDeleteOptions): Promise<GoogleLongrunningOperation>
[src]

Delete a single message bus.

@param name

Required. The name of the MessageBus to be deleted.

§
projectsLocationsMessageBusesGet(name: string): Promise<MessageBus>
[src]

Get a single MessageBus.

@param name

Required. The name of the message bus to get.

§
projectsLocationsMessageBusesGetIamPolicy(resource: string, opts?: ProjectsLocationsMessageBusesGetIamPolicyOptions): Promise<Policy>
[src]

Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.

@param resource

REQUIRED: The resource for which the policy is being requested. See Resource names for the appropriate value for this field.

§
projectsLocationsMessageBusesList(parent: string, opts?: ProjectsLocationsMessageBusesListOptions): Promise<ListMessageBusesResponse>
[src]

List message buses.

@param parent

Required. The parent collection to list message buses on.

§
projectsLocationsMessageBusesListEnrollments(parent: string, opts?: ProjectsLocationsMessageBusesListEnrollmentsOptions): Promise<ListMessageBusEnrollmentsResponse>
[src]

List message bus enrollments.

@param parent

Required. The parent message bus to list enrollments on.

§
projectsLocationsMessageBusesPatch(name: string, req: MessageBus, opts?: ProjectsLocationsMessageBusesPatchOptions): Promise<GoogleLongrunningOperation>
[src]

Update a single message bus.

@param name

Identifier. Resource name of the form projects/{project}/locations/{location}/messageBuses/{message_bus}

§
projectsLocationsMessageBusesSetIamPolicy(resource: string, req: SetIamPolicyRequest): Promise<Policy>
[src]

Sets the access control policy on the specified resource. Replaces any existing policy. Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors.

@param resource

REQUIRED: The resource for which the policy is being specified. See Resource names for the appropriate value for this field.

§
projectsLocationsMessageBusesTestIamPermissions(resource: string, req: TestIamPermissionsRequest): Promise<TestIamPermissionsResponse>
[src]

Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a NOT_FOUND error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning.

@param resource

REQUIRED: The resource for which the policy detail is being requested. See Resource names for the appropriate value for this field.

§
projectsLocationsOperationsCancel(name: string, req: GoogleLongrunningCancelOperationRequest): Promise<Empty>
[src]

Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns google.rpc.Code.UNIMPLEMENTED. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to Code.CANCELLED.

@param name

The name of the operation resource to be cancelled.

§
projectsLocationsOperationsDelete(name: string): Promise<Empty>
[src]

Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns google.rpc.Code.UNIMPLEMENTED.

@param name

The name of the operation resource to be deleted.

§
projectsLocationsOperationsGet(name: string): Promise<GoogleLongrunningOperation>
[src]

Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.

@param name

The name of the operation resource.

§
projectsLocationsOperationsList(name: string, opts?: ProjectsLocationsOperationsListOptions): Promise<GoogleLongrunningListOperationsResponse>
[src]

Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns UNIMPLEMENTED.

@param name

The name of the operation's parent resource.

§
projectsLocationsPipelinesCreate(parent: string, req: Pipeline, opts?: ProjectsLocationsPipelinesCreateOptions): Promise<GoogleLongrunningOperation>
[src]

Create a new Pipeline in a particular project and location.

@param parent

Required. The parent collection in which to add this pipeline.

§
projectsLocationsPipelinesDelete(name: string, opts?: ProjectsLocationsPipelinesDeleteOptions): Promise<GoogleLongrunningOperation>
[src]

Delete a single pipeline.

@param name

Required. The name of the Pipeline to be deleted.

§
projectsLocationsPipelinesGet(name: string): Promise<Pipeline>
[src]

Get a single Pipeline.

@param name

Required. The name of the pipeline to get.

§
projectsLocationsPipelinesGetIamPolicy(resource: string, opts?: ProjectsLocationsPipelinesGetIamPolicyOptions): Promise<Policy>
[src]

Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.

@param resource

REQUIRED: The resource for which the policy is being requested. See Resource names for the appropriate value for this field.

§
projectsLocationsPipelinesList(parent: string, opts?: ProjectsLocationsPipelinesListOptions): Promise<ListPipelinesResponse>
[src]

List pipelines.

@param parent

Required. The parent collection to list pipelines on.

§
projectsLocationsPipelinesPatch(name: string, req: Pipeline, opts?: ProjectsLocationsPipelinesPatchOptions): Promise<GoogleLongrunningOperation>
[src]

Update a single pipeline.

@param name

Identifier. The resource name of the Pipeline. Must be unique within the location of the project and must be in projects/{project}/locations/{location}/pipelines/{pipeline} format.

§
projectsLocationsPipelinesSetIamPolicy(resource: string, req: SetIamPolicyRequest): Promise<Policy>
[src]

Sets the access control policy on the specified resource. Replaces any existing policy. Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors.

@param resource

REQUIRED: The resource for which the policy is being specified. See Resource names for the appropriate value for this field.

§
projectsLocationsPipelinesTestIamPermissions(resource: string, req: TestIamPermissionsRequest): Promise<TestIamPermissionsResponse>
[src]

Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a NOT_FOUND error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning.

@param resource

REQUIRED: The resource for which the policy detail is being requested. See Resource names for the appropriate value for this field.

§
projectsLocationsProvidersGet(name: string): Promise<Provider>
[src]

Get a single Provider.

@param name

Required. The name of the provider to get.

§
projectsLocationsProvidersList(parent: string, opts?: ProjectsLocationsProvidersListOptions): Promise<ListProvidersResponse>
[src]

List providers.

@param parent

Required. The parent of the provider to get.

§
projectsLocationsTriggersCreate(parent: string, req: Trigger, opts?: ProjectsLocationsTriggersCreateOptions): Promise<GoogleLongrunningOperation>
[src]

Create a new trigger in a particular project and location.

@param parent

Required. The parent collection in which to add this trigger.

§
projectsLocationsTriggersDelete(name: string, opts?: ProjectsLocationsTriggersDeleteOptions): Promise<GoogleLongrunningOperation>
[src]

Delete a single trigger.

@param name

Required. The name of the trigger to be deleted.

§
projectsLocationsTriggersGet(name: string): Promise<Trigger>
[src]

Get a single trigger.

@param name

Required. The name of the trigger to get.

§
projectsLocationsTriggersGetIamPolicy(resource: string, opts?: ProjectsLocationsTriggersGetIamPolicyOptions): Promise<Policy>
[src]

Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.

@param resource

REQUIRED: The resource for which the policy is being requested. See Resource names for the appropriate value for this field.

§
projectsLocationsTriggersList(parent: string, opts?: ProjectsLocationsTriggersListOptions): Promise<ListTriggersResponse>
[src]

List triggers.

@param parent

Required. The parent collection to list triggers on.

§
projectsLocationsTriggersPatch(name: string, req: Trigger, opts?: ProjectsLocationsTriggersPatchOptions): Promise<GoogleLongrunningOperation>
[src]

Update a single trigger.

@param name

Required. The resource name of the trigger. Must be unique within the location of the project and must be in projects/{project}/locations/{location}/triggers/{trigger} format.

§
projectsLocationsTriggersSetIamPolicy(resource: string, req: SetIamPolicyRequest): Promise<Policy>
[src]

Sets the access control policy on the specified resource. Replaces any existing policy. Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors.

@param resource

REQUIRED: The resource for which the policy is being specified. See Resource names for the appropriate value for this field.

§
projectsLocationsTriggersTestIamPermissions(resource: string, req: TestIamPermissionsRequest): Promise<TestIamPermissionsResponse>
[src]

Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a NOT_FOUND error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning.

@param resource

REQUIRED: The resource for which the policy detail is being requested. See Resource names for the appropriate value for this field.

§
projectsLocationsUpdateGoogleChannelConfig(name: string, req: GoogleChannelConfig, opts?: ProjectsLocationsUpdateGoogleChannelConfigOptions): Promise<GoogleChannelConfig>
[src]

Update a single GoogleChannelConfig

@param name

Required. The resource name of the config. Must be in the format of, projects/{project}/locations/{location}/googleChannelConfig. In API responses, the config name always includes the projectID, regardless of whether the projectID or projectNumber was provided.