@maxim_mazurok/gapi.client.eventarc-v1 0.1.20251107 → 0.1.20251219
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.d.ts +9 -95
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
10
10
|
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
11
11
|
// Generated from: https://eventarc.googleapis.com/$discovery/rest?version=v1
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20251219
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -302,7 +302,7 @@ declare namespace gapi.client {
|
|
|
302
302
|
nextPageToken?: string;
|
|
303
303
|
/** A list of operations that matches the specified filter in the request. */
|
|
304
304
|
operations?: GoogleLongrunningOperation[];
|
|
305
|
-
/** Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections
|
|
305
|
+
/** Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections. For example, when attempting to list all resources across all supported locations. */
|
|
306
306
|
unreachable?: string[];
|
|
307
307
|
}
|
|
308
308
|
interface GoogleLongrunningOperation {
|
|
@@ -529,6 +529,10 @@ declare namespace gapi.client {
|
|
|
529
529
|
/** Optional. The name of the Pub/Sub topic created and managed by Eventarc as a transport for the event delivery. Format: `projects/{PROJECT_ID}/topics/{TOPIC_NAME}`. You can set an existing topic for triggers of the type `google.cloud.pubsub.topic.v1.messagePublished`. The topic you provide here is not deleted by Eventarc at trigger deletion. */
|
|
530
530
|
topic?: string;
|
|
531
531
|
}
|
|
532
|
+
interface RetryPolicy {
|
|
533
|
+
/** Optional. The maximum number of delivery attempts for any message. The only valid value is 1. */
|
|
534
|
+
maxAttempts?: number;
|
|
535
|
+
}
|
|
532
536
|
interface SetIamPolicyRequest {
|
|
533
537
|
/** REQUIRED: The complete policy to be applied to the `resource`. The size of the policy is limited to a few 10s of KB. An empty policy is a valid policy but certain Google Cloud services (such as Projects) might reject them. */
|
|
534
538
|
policy?: Policy;
|
|
@@ -572,6 +576,8 @@ declare namespace gapi.client {
|
|
|
572
576
|
labels?: {[P in string]: string};
|
|
573
577
|
/** 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. */
|
|
574
578
|
name?: string;
|
|
579
|
+
/** Optional. The retry policy to use in the Trigger. If unset, event delivery will be retried for up to 24 hours by default: https://cloud.google.com/eventarc/docs/retry-events */
|
|
580
|
+
retryPolicy?: RetryPolicy;
|
|
575
581
|
/** Output only. Whether or not this Trigger satisfies the requirements of physical zone separation */
|
|
576
582
|
satisfiesPzs?: boolean;
|
|
577
583
|
/** Optional. The IAM service account email associated with the trigger. The service account represents the identity of the trigger. The `iam.serviceAccounts.actAs` permission must be granted on the service account to allow a principal to impersonate the service account. For more information, see the [Roles and permissions](/eventarc/docs/all-roles-permissions) page specific to the trigger destination. */
|
|
@@ -1777,97 +1783,6 @@ declare namespace gapi.client {
|
|
|
1777
1783
|
body: TestIamPermissionsRequest,
|
|
1778
1784
|
): Request<TestIamPermissionsResponse>;
|
|
1779
1785
|
}
|
|
1780
|
-
interface KafkaSourcesResource {
|
|
1781
|
-
/** Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. */
|
|
1782
|
-
getIamPolicy(request?: {
|
|
1783
|
-
/** V1 error format. */
|
|
1784
|
-
'$.xgafv'?: string;
|
|
1785
|
-
/** OAuth access token. */
|
|
1786
|
-
access_token?: string;
|
|
1787
|
-
/** Data format for response. */
|
|
1788
|
-
alt?: string;
|
|
1789
|
-
/** JSONP */
|
|
1790
|
-
callback?: string;
|
|
1791
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
1792
|
-
fields?: string;
|
|
1793
|
-
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1794
|
-
key?: string;
|
|
1795
|
-
/** OAuth 2.0 token for the current user. */
|
|
1796
|
-
oauth_token?: string;
|
|
1797
|
-
/** Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). */
|
|
1798
|
-
'options.requestedPolicyVersion'?: number;
|
|
1799
|
-
/** Returns response with indentations and line breaks. */
|
|
1800
|
-
prettyPrint?: boolean;
|
|
1801
|
-
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1802
|
-
quotaUser?: string;
|
|
1803
|
-
/** REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. */
|
|
1804
|
-
resource: string;
|
|
1805
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1806
|
-
upload_protocol?: string;
|
|
1807
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1808
|
-
uploadType?: string;
|
|
1809
|
-
}): Request<Policy>;
|
|
1810
|
-
/** Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. */
|
|
1811
|
-
setIamPolicy(
|
|
1812
|
-
request: {
|
|
1813
|
-
/** V1 error format. */
|
|
1814
|
-
'$.xgafv'?: string;
|
|
1815
|
-
/** OAuth access token. */
|
|
1816
|
-
access_token?: string;
|
|
1817
|
-
/** Data format for response. */
|
|
1818
|
-
alt?: string;
|
|
1819
|
-
/** JSONP */
|
|
1820
|
-
callback?: string;
|
|
1821
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
1822
|
-
fields?: string;
|
|
1823
|
-
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1824
|
-
key?: string;
|
|
1825
|
-
/** OAuth 2.0 token for the current user. */
|
|
1826
|
-
oauth_token?: string;
|
|
1827
|
-
/** Returns response with indentations and line breaks. */
|
|
1828
|
-
prettyPrint?: boolean;
|
|
1829
|
-
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1830
|
-
quotaUser?: string;
|
|
1831
|
-
/** REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. */
|
|
1832
|
-
resource: string;
|
|
1833
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1834
|
-
upload_protocol?: string;
|
|
1835
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1836
|
-
uploadType?: string;
|
|
1837
|
-
},
|
|
1838
|
-
body: SetIamPolicyRequest,
|
|
1839
|
-
): Request<Policy>;
|
|
1840
|
-
/** 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. */
|
|
1841
|
-
testIamPermissions(
|
|
1842
|
-
request: {
|
|
1843
|
-
/** V1 error format. */
|
|
1844
|
-
'$.xgafv'?: string;
|
|
1845
|
-
/** OAuth access token. */
|
|
1846
|
-
access_token?: string;
|
|
1847
|
-
/** Data format for response. */
|
|
1848
|
-
alt?: string;
|
|
1849
|
-
/** JSONP */
|
|
1850
|
-
callback?: string;
|
|
1851
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
1852
|
-
fields?: string;
|
|
1853
|
-
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1854
|
-
key?: string;
|
|
1855
|
-
/** OAuth 2.0 token for the current user. */
|
|
1856
|
-
oauth_token?: string;
|
|
1857
|
-
/** Returns response with indentations and line breaks. */
|
|
1858
|
-
prettyPrint?: boolean;
|
|
1859
|
-
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1860
|
-
quotaUser?: string;
|
|
1861
|
-
/** REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. */
|
|
1862
|
-
resource: string;
|
|
1863
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1864
|
-
upload_protocol?: string;
|
|
1865
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1866
|
-
uploadType?: string;
|
|
1867
|
-
},
|
|
1868
|
-
body: TestIamPermissionsRequest,
|
|
1869
|
-
): Request<TestIamPermissionsResponse>;
|
|
1870
|
-
}
|
|
1871
1786
|
interface MessageBusesResource {
|
|
1872
1787
|
/** Create a new MessageBus in a particular project and location. */
|
|
1873
1788
|
create(request: {
|
|
@@ -2362,7 +2277,7 @@ declare namespace gapi.client {
|
|
|
2362
2277
|
prettyPrint?: boolean;
|
|
2363
2278
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
2364
2279
|
quotaUser?: string;
|
|
2365
|
-
/** When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the
|
|
2280
|
+
/** When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `"projects/example/locations/-"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation. */
|
|
2366
2281
|
returnPartialSuccess?: boolean;
|
|
2367
2282
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2368
2283
|
upload_protocol?: string;
|
|
@@ -3234,7 +3149,6 @@ declare namespace gapi.client {
|
|
|
3234
3149
|
channels: ChannelsResource;
|
|
3235
3150
|
enrollments: EnrollmentsResource;
|
|
3236
3151
|
googleApiSources: GoogleApiSourcesResource;
|
|
3237
|
-
kafkaSources: KafkaSourcesResource;
|
|
3238
3152
|
messageBuses: MessageBusesResource;
|
|
3239
3153
|
operations: OperationsResource;
|
|
3240
3154
|
pipelines: PipelinesResource;
|