@maxim_mazurok/gapi.client.eventarc-v1 0.0.20241004 → 0.0.20241029

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.
Files changed (2) hide show
  1. package/index.d.ts +1305 -129
  2. 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: 20241004
12
+ // Revision: 20241029
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -103,6 +103,30 @@ declare namespace gapi.client {
103
103
  workflow?: string;
104
104
  }
105
105
  interface Empty {}
106
+ interface Enrollment {
107
+ /** Optional. Resource annotations. */
108
+ annotations?: {[P in string]: string};
109
+ /** Required. A CEL expression identifying which messages this enrollment applies to. */
110
+ celMatch?: string;
111
+ /** Output only. The creation time. */
112
+ createTime?: string;
113
+ /** Required. Destination is the Pipeline that the Enrollment is delivering to. It must point to the full resource name of a Pipeline. Format: "projects/{PROJECT_ID}/locations/{region}/pipelines/{PIPELINE_ID)" */
114
+ destination?: string;
115
+ /** Optional. Resource display name. */
116
+ displayName?: string;
117
+ /** Output only. This checksum is computed by the server based on the value of other fields, and might be sent only on update and delete requests to ensure that the client has an up-to-date value before proceeding. */
118
+ etag?: string;
119
+ /** Optional. Resource labels. */
120
+ labels?: {[P in string]: string};
121
+ /** Required. Resource name of the message bus identifying the source of the messages. It matches the form projects/{project}/locations/{location}/messageBuses/{messageBus}. */
122
+ messageBus?: string;
123
+ /** Identifier. Resource name of the form projects/{project}/locations/{location}/enrollments/{enrollment} */
124
+ name?: string;
125
+ /** Output only. Server assigned unique identifier for the channel. The value is a UUID4 string and guaranteed to remain unchanged until the resource is deleted. */
126
+ uid?: string;
127
+ /** Output only. The last-modified time. */
128
+ updateTime?: string;
129
+ }
106
130
  interface EventFilter {
107
131
  /** Required. The name of a CloudEvents attribute. Currently, only a subset of attributes are supported for filtering. You can [retrieve a specific provider's supported event types](/eventarc/docs/list-providers#describe-provider). All triggers MUST provide a filter for the 'type' attribute. */
108
132
  attribute?: string;
@@ -153,6 +177,30 @@ declare namespace gapi.client {
153
177
  /** Required. Name of the GKE service. */
154
178
  service?: string;
155
179
  }
180
+ interface GoogleApiSource {
181
+ /** Optional. Resource annotations. */
182
+ annotations?: {[P in string]: string};
183
+ /** Output only. The creation time. */
184
+ createTime?: string;
185
+ /** Optional. Resource name of a KMS crypto key (managed by the user) used to encrypt/decrypt their event data. It must match the pattern `projects/*‍/locations/*‍/keyRings/*‍/cryptoKeys/*`. */
186
+ cryptoKeyName?: string;
187
+ /** Required. Destination is the message bus that the GoogleApiSource is delivering to. It must be point to the full resource name of a MessageBus. Format: "projects/{PROJECT_ID}/locations/{region}/messagesBuses/{MESSAGE_BUS_ID) */
188
+ destination?: string;
189
+ /** Optional. Resource display name. */
190
+ displayName?: string;
191
+ /** Output only. This checksum is computed by the server based on the value of other fields, and might be sent only on update and delete requests to ensure that the client has an up-to-date value before proceeding. */
192
+ etag?: string;
193
+ /** Optional. Resource labels. */
194
+ labels?: {[P in string]: string};
195
+ /** Optional. Config to control Platform logging for the GoogleApiSource. */
196
+ loggingConfig?: LoggingConfig;
197
+ /** Identifier. Resource name of the form projects/{project}/locations/{location}/googleApiSources/{google_api_source} */
198
+ name?: string;
199
+ /** Output only. Server assigned unique identifier for the channel. The value is a UUID4 string and guaranteed to remain unchanged until the resource is deleted. */
200
+ uid?: string;
201
+ /** Output only. The last-modified time. */
202
+ updateTime?: string;
203
+ }
156
204
  interface GoogleChannelConfig {
157
205
  /** Optional. Resource name of a KMS crypto key (managed by the user) used to encrypt/decrypt their event data. It must match the pattern `projects/*‍/locations/*‍/keyRings/*‍/cryptoKeys/*`. */
158
206
  cryptoKeyName?: string;
@@ -161,6 +209,83 @@ declare namespace gapi.client {
161
209
  /** Output only. The last-modified time. */
162
210
  updateTime?: string;
163
211
  }
212
+ interface GoogleCloudEventarcV1PipelineDestination {
213
+ /** Optional. An authentication config used to authenticate message requests, such that destinations can verify the source. For example, this can be used with private GCP destinations that require GCP credentials to access like Cloud Run. This field is optional and should be set only by users interested in authenticated push */
214
+ authenticationConfig?: GoogleCloudEventarcV1PipelineDestinationAuthenticationConfig;
215
+ /** Optional. An HTTP endpoint destination described by an URI. If a DNS FQDN is provided as the endpoint, Pipeline will create a peering zone to the consumer VPC and forward DNS requests to the VPC specified by network config to resolve the service endpoint. See: https://cloud.google.com/dns/docs/zones/zones-overview#peering_zones */
216
+ httpEndpoint?: GoogleCloudEventarcV1PipelineDestinationHttpEndpoint;
217
+ /** Optional. The resource name of the Message Bus to which events should be published. The Message Bus resource should exist in the same project as the Pipeline. Format: `projects/{project}/locations/{location}/messageBuses/{message_bus}` */
218
+ messageBus?: string;
219
+ /** Optional. Network config is used to configure how Pipeline resolves and connects to a destination. */
220
+ networkConfig?: GoogleCloudEventarcV1PipelineDestinationNetworkConfig;
221
+ /** Optional. The message format before it is delivered to the destination. If not set, the message will be delivered in the format it was originally delivered to the Pipeline. This field can only be set if Pipeline.input_payload_format is also set. */
222
+ outputPayloadFormat?: GoogleCloudEventarcV1PipelineMessagePayloadFormat;
223
+ /** Optional. The resource name of the Pub/Sub topic to which events should be published. Format: `projects/{project}/locations/{location}/topics/{topic}` */
224
+ topic?: string;
225
+ /** Optional. The resource name of the Workflow whose Executions are triggered by the events. The Workflow resource should be deployed in the same project as the Pipeline. Format: `projects/{project}/locations/{location}/workflows/{workflow}` */
226
+ workflow?: string;
227
+ }
228
+ interface GoogleCloudEventarcV1PipelineDestinationAuthenticationConfig {
229
+ /** Optional. This authenticate method will apply Google OIDC tokens signed by a GCP service account to the requests. */
230
+ googleOidc?: GoogleCloudEventarcV1PipelineDestinationAuthenticationConfigOidcToken;
231
+ /** Optional. If specified, an [OAuth token](https://developers.google.com/identity/protocols/OAuth2) will be generated and attached as an `Authorization` header in the HTTP request. This type of authorization should generally only be used when calling Google APIs hosted on *.googleapis.com. */
232
+ oauthToken?: GoogleCloudEventarcV1PipelineDestinationAuthenticationConfigOAuthToken;
233
+ }
234
+ interface GoogleCloudEventarcV1PipelineDestinationAuthenticationConfigOAuthToken {
235
+ /** Optional. OAuth scope to be used for generating OAuth access token. If not specified, "https://www.googleapis.com/auth/cloud-platform" will be used. */
236
+ scope?: string;
237
+ /** Required. Service account email used to generate the [OAuth token](https://developers.google.com/identity/protocols/OAuth2). The principal who calls this API must have iam.serviceAccounts.actAs permission in the service account. See https://cloud.google.com/iam/docs/understanding-service-accounts for more information. Eventarc service agents must have roles/roles/iam.serviceAccountTokenCreator role to allow Pipeline to create OAuth2 tokens for authenticated requests. */
238
+ serviceAccount?: string;
239
+ }
240
+ interface GoogleCloudEventarcV1PipelineDestinationAuthenticationConfigOidcToken {
241
+ /** Optional. Audience to be used to generate the OIDC Token. The audience claim identifies the recipient that the JWT is intended for. If unspecified, the destination URI will be used. */
242
+ audience?: string;
243
+ /** Required. Service account email used to generate the OIDC Token. The principal who calls this API must have iam.serviceAccounts.actAs permission in the service account. See https://cloud.google.com/iam/docs/understanding-service-accounts for more information. Eventarc service agents must have roles/roles/iam.serviceAccountTokenCreator role to allow the Pipeline to create OpenID tokens for authenticated requests. */
244
+ serviceAccount?: string;
245
+ }
246
+ interface GoogleCloudEventarcV1PipelineDestinationHttpEndpoint {
247
+ /** Optional. The CEL expression used to modify how the destination-bound HTTP request is constructed. If a binding expression is not specified here, the message is treated as a CloudEvent and is mapped to the HTTP request according to the CloudEvent HTTP Protocol Binding Binary Content Mode. In this representation, all fields except the `data` and `datacontenttype` field on the message are mapped to HTTP request headers with a prefix of `ce-`. To construct the HTTP request payload and the value of the content-type HTTP header, the payload format is defined as follows: 1) Use the output_payload_format_type on the Pipeline.Destination if it is set, else: 2) Use the input_payload_format_type on the Pipeline if it is set, else: 3) Treat the payload as opaque binary data. The `data` field of the message is converted to the payload format or left as-is for case 3) and then attached as the payload of the HTTP request. The `content-type` header on the HTTP request is set to the payload format type or left empty for case 3). However, if a mediation has updated the `datacontenttype` field on the message so that it is not the same as the payload format type but it is still a prefix of the payload format type, then the `content-type` header on the HTTP request is set to this `datacontenttype` value. For example, if the `datacontenttype` is "application/json" and the payload format type is "application/json; charset=utf-8", then the `content-type` header on the HTTP request is set to "application/json; charset=utf-8". If a non-empty binding expression is specified then this expression is used to modify the default CloudEvent HTTP Protocol Binding Binary Content representation. The result of the CEL expression must be a map of key/value pairs which is used as follows: - If a map named `headers` exists on the result of the expression, then its key/value pairs are directly mapped to the HTTP request headers. The headers values are constructed from the corresponding value type's canonical representation. If the `headers` field doesn't exist then the resulting HTTP request will be the headers of the CloudEvent HTTP Binding Binary Content Mode representation of the final message. Note: If the specified binding expression, has updated the `datacontenttype` field on the message so that it is not the same as the payload format type but it is still a prefix of the payload format type, then the `content-type` header in the `headers` map is set to this `datacontenttype` value. - If a field named `body` exists on the result of the expression then its value is directly mapped to the body of the request. If the value of the `body` field is of type bytes or string then it is used for the HTTP request body as-is, with no conversion. If the body field is of any other type then it is converted to a JSON string. If the body field does not exist then the resulting payload of the HTTP request will be data value of the CloudEvent HTTP Binding Binary Content Mode representation of the final message as described earlier. - Any other fields in the resulting expression will be ignored. The CEL expression may access the incoming CloudEvent message in its definition, as follows: - The `data` field of the incoming CloudEvent message can be accessed using the `message.data` value. Subfields of `message.data` may also be accessed if an input_payload_format has been specified on the Pipeline. - Each attribute of the incoming CloudEvent message can be accessed using the `message.` value, where is replaced with the name of the attribute. - Existing headers can be accessed in the CEL expression using the `headers` variable. The `headers` variable defines a map of key/value pairs corresponding to the HTTP headers of the CloudEvent HTTP Binding Binary Content Mode representation of the final message as described earlier. For example, the following CEL expression can be used to construct an HTTP request by adding an additional header to the HTTP headers of the CloudEvent HTTP Binding Binary Content Mode representation of the final message and by overwriting the body of the request: ``` { "headers": headers.merge({"new-header-key": "new-header-value"}), "body": "new-body" } ``` Additionally, the following CEL extension functions are provided for use in this CEL expression: - toBase64Url: map.toBase64Url() -> string - Converts a CelValue to a base64url encoded string - toJsonString: map.toJsonString() -> string - Converts a CelValue to a JSON string - merge: map1.merge(map2) -> map3 - Merges the passed CEL map with the existing CEL map the function is applied to. - If the same key exists in both maps, if the key's value is type map both maps are merged else the value from the passed map is used. - denormalize: map.denormalize() -> map - Denormalizes a CEL map such that every value of type map or key in the map is expanded to return a single level map. - The resulting keys are "." separated indices of the map keys. - For example: { "a": 1, "b": { "c": 2, "d": 3 } "e": [4, 5] } .denormalize() -> { "a": 1, "b.c": 2, "b.d": 3, "e.0": 4, "e.1": 5 } - setField: map.setField(key, value) -> message - Sets the field of the message with the given key to the given value. - If the field is not present it will be added. - If the field is present it will be overwritten. - The key can be a dot separated path to set a field in a nested message. - Key must be of type string. - Value may be any valid type. - removeFields: map.removeFields([key1, key2, ...]) -> message - Removes the fields of the map with the given keys. - The keys can be a dot separated path to remove a field in a nested message. - If a key is not found it will be ignored. - Keys must be of type string. - toMap: [map1, map2, ...].toMap() -> map - Converts a CEL list of CEL maps to a single CEL map - toDestinationPayloadFormat(): message.data.toDestinationPayloadFormat() -> string or bytes - Converts the message data to the destination payload format specified in Pipeline.Destination.output_payload_format - This function is meant to be applied to the message.data field. - If the destination payload format is not set, the function will return the message data unchanged. - toCloudEventJsonWithPayloadFormat: message.toCloudEventJsonWithPayloadFormat() -> map - Converts a message to the corresponding structure of JSON format for CloudEvents - This function applies toDestinationPayloadFormat() to the message data. It also sets the corresponding datacontenttype of the CloudEvent, as indicated by Pipeline.Destination.output_payload_format. If no output_payload_format is set it will use the existing datacontenttype on the CloudEvent if present, else leave datacontenttype absent. - This function expects that the content of the message will adhere to the standard CloudEvent format. If it doesn't then this function will fail. - The result is a CEL map that corresponds to the JSON representation of the CloudEvent. To convert that data to a JSON string it can be chained with the toJsonString function. The Pipeline expects that the message it receives adheres to the standard CloudEvent format. If it doesn't then the outgoing message request may fail with a persistent error. */
248
+ messageBindingTemplate?: string;
249
+ /** Required. The URI of the HTTP enpdoint. The value must be a RFC2396 URI string. Examples: `https://svc.us-central1.p.local:8080/route`. Only the HTTPS protocol is supported. */
250
+ uri?: string;
251
+ }
252
+ interface GoogleCloudEventarcV1PipelineDestinationNetworkConfig {
253
+ /** Required. Name of the NetworkAttachment that allows access to the consumer VPC. Format: `projects/{PROJECT_ID}/regions/{REGION}/networkAttachments/{NETWORK_ATTACHMENT_NAME}` */
254
+ networkAttachment?: string;
255
+ }
256
+ interface GoogleCloudEventarcV1PipelineMediation {
257
+ /** Optional. How the Pipeline is to transform messages */
258
+ transformation?: GoogleCloudEventarcV1PipelineMediationTransformation;
259
+ }
260
+ interface GoogleCloudEventarcV1PipelineMediationTransformation {
261
+ /** Optional. The CEL expression template to apply to transform messages. The following CEL extension functions are provided for use in this CEL expression: - merge: map1.merge(map2) -> map3 - Merges the passed CEL map with the existing CEL map the function is applied to. - If the same key exists in both maps, if the key's value is type map both maps are merged else the value from the passed map is used. - denormalize: map.denormalize() -> map - Denormalizes a CEL map such that every value of type map or key in the map is expanded to return a single level map. - The resulting keys are "." separated indices of the map keys. - For example: { "a": 1, "b": { "c": 2, "d": 3 } "e": [4, 5] } .denormalize() -> { "a": 1, "b.c": 2, "b.d": 3, "e.0": 4, "e.1": 5 } - setField: map.setField(key, value) -> message - Sets the field of the message with the given key to the given value. - If the field is not present it will be added. - If the field is present it will be overwritten. - The key can be a dot separated path to set a field in a nested message. - Key must be of type string. - Value may be any valid type. - removeFields: map.removeFields([key1, key2, ...]) -> message - Removes the fields of the map with the given keys. - The keys can be a dot separated path to remove a field in a nested message. - If a key is not found it will be ignored. - Keys must be of type string. - toMap: [map1, map2, ...].toMap() -> map - Converts a CEL list of CEL maps to a single CEL map - toDestinationPayloadFormat(): message.data.toDestinationPayloadFormat() -> string or bytes - Converts the message data to the destination payload format specified in Pipeline.Destination.output_payload_format - This function is meant to be applied to the message.data field. - If the destination payload format is not set, the function will return the message data unchanged. - toCloudEventJsonWithPayloadFormat: message.toCloudEventJsonWithPayloadFormat() -> map - Converts a message to the corresponding structure of JSON format for CloudEvents - This function applies toDestinationPayloadFormat() to the message data. It also sets the corresponding datacontenttype of the CloudEvent, as indicated by Pipeline.Destination.output_payload_format. If no output_payload_format is set it will use the existing datacontenttype on the CloudEvent if present, else leave datacontenttype absent. - This function expects that the content of the message will adhere to the standard CloudEvent format. If it doesn't then this function will fail. - The result is a CEL map that corresponds to the JSON representation of the CloudEvent. To convert that data to a JSON string it can be chained with the toJsonString function. */
262
+ transformationTemplate?: string;
263
+ }
264
+ interface GoogleCloudEventarcV1PipelineMessagePayloadFormat {
265
+ /** Optional. Avro format. */
266
+ avro?: GoogleCloudEventarcV1PipelineMessagePayloadFormatAvroFormat;
267
+ /** Optional. JSON format. */
268
+ json?: any;
269
+ /** Optional. Protobuf format. */
270
+ protobuf?: GoogleCloudEventarcV1PipelineMessagePayloadFormatProtobufFormat;
271
+ }
272
+ interface GoogleCloudEventarcV1PipelineMessagePayloadFormatAvroFormat {
273
+ /** Optional. The entire schema definition is stored in this field. */
274
+ schemaDefinition?: string;
275
+ }
276
+ interface GoogleCloudEventarcV1PipelineMessagePayloadFormatJsonFormat {}
277
+ interface GoogleCloudEventarcV1PipelineMessagePayloadFormatProtobufFormat {
278
+ /** Optional. The entire schema definition is stored in this field. */
279
+ schemaDefinition?: string;
280
+ }
281
+ interface GoogleCloudEventarcV1PipelineRetryPolicy {
282
+ /** Optional. The maximum number of delivery attempts for any message. The value must be between 1 and 100. The default value for this field is 5. */
283
+ maxAttempts?: number;
284
+ /** Optional. The maximum amount of seconds to wait between retry attempts. The value must be between 1 and 600. The default value for this field is 60. */
285
+ maxRetryDelay?: string;
286
+ /** Optional. The minimum amount of seconds to wait between retry attempts. The value must be between 1 and 600. The default value for this field is 5. */
287
+ minRetryDelay?: string;
288
+ }
164
289
  interface GoogleLongrunningCancelOperationRequest {}
165
290
  interface GoogleLongrunningListOperationsResponse {
166
291
  /** The standard List next-page token. */
@@ -208,12 +333,52 @@ declare namespace gapi.client {
208
333
  /** Unreachable resources, if any. */
209
334
  unreachable?: string[];
210
335
  }
336
+ interface ListEnrollmentsResponse {
337
+ /** The requested Enrollments, up to the number specified in `page_size`. */
338
+ enrollments?: Enrollment[];
339
+ /** A page token that can be sent to `ListEnrollments` to request the next page. If this is empty, then there are no more pages. */
340
+ nextPageToken?: string;
341
+ /** Unreachable resources, if any. */
342
+ unreachable?: string[];
343
+ }
344
+ interface ListGoogleApiSourcesResponse {
345
+ /** The requested GoogleApiSources, up to the number specified in `page_size`. */
346
+ googleApiSources?: GoogleApiSource[];
347
+ /** A page token that can be sent to `ListMessageBusEnrollments` to request the next page. If this is empty, then there are no more pages. */
348
+ nextPageToken?: string;
349
+ /** Unreachable resources, if any. */
350
+ unreachable?: string[];
351
+ }
211
352
  interface ListLocationsResponse {
212
353
  /** A list of locations that matches the specified filter in the request. */
213
354
  locations?: Location[];
214
355
  /** The standard List next-page token. */
215
356
  nextPageToken?: string;
216
357
  }
358
+ interface ListMessageBusEnrollmentsResponse {
359
+ /** The requested enrollments, up to the number specified in `page_size`. */
360
+ enrollments?: string[];
361
+ /** A page token that can be sent to `ListMessageBusEnrollments` to request the next page. If this is empty, then there are no more pages. */
362
+ nextPageToken?: string;
363
+ /** Unreachable resources, if any. */
364
+ unreachable?: string[];
365
+ }
366
+ interface ListMessageBusesResponse {
367
+ /** The requested message buses, up to the number specified in `page_size`. */
368
+ messageBuses?: MessageBus[];
369
+ /** A page token that can be sent to `ListMessageBuses` to request the next page. If this is empty, then there are no more pages. */
370
+ nextPageToken?: string;
371
+ /** Unreachable resources, if any. */
372
+ unreachable?: string[];
373
+ }
374
+ interface ListPipelinesResponse {
375
+ /** A page token that can be sent to `ListPipelines` to request the next page. If this is empty, then there are no more pages. */
376
+ nextPageToken?: string;
377
+ /** The requested pipelines, up to the number specified in `page_size`. */
378
+ pipelines?: Pipeline[];
379
+ /** Unreachable resources, if any. */
380
+ unreachable?: string[];
381
+ }
217
382
  interface ListProvidersResponse {
218
383
  /** A page token that can be sent to `ListProviders` to request the next page. If this is empty, then there are no more pages. */
219
384
  nextPageToken?: string;
@@ -242,6 +407,32 @@ declare namespace gapi.client {
242
407
  /** Resource name for the location, which may vary between implementations. For example: `"projects/example-project/locations/us-east1"` */
243
408
  name?: string;
244
409
  }
410
+ interface LoggingConfig {
411
+ /** Optional. The minimum severity of logs that will be sent to Stackdriver/Platform Telemetry. Logs at severitiy ≥ this value will be sent, unless it is NONE. */
412
+ logSeverity?: string;
413
+ }
414
+ interface MessageBus {
415
+ /** Optional. Resource annotations. */
416
+ annotations?: {[P in string]: string};
417
+ /** Output only. The creation time. */
418
+ createTime?: string;
419
+ /** Optional. Resource name of a KMS crypto key (managed by the user) used to encrypt/decrypt their event data. It must match the pattern `projects/*‍/locations/*‍/keyRings/*‍/cryptoKeys/*`. */
420
+ cryptoKeyName?: string;
421
+ /** Optional. Resource display name. */
422
+ displayName?: string;
423
+ /** Output only. This checksum is computed by the server based on the value of other fields, and might be sent only on update and delete requests to ensure that the client has an up-to-date value before proceeding. */
424
+ etag?: string;
425
+ /** Optional. Resource labels. */
426
+ labels?: {[P in string]: string};
427
+ /** Optional. Config to control Platform logging for the Message Bus. This log configuration is applied to the Message Bus itself, and all the Enrollments attached to it. */
428
+ loggingConfig?: LoggingConfig;
429
+ /** Identifier. Resource name of the form projects/{project}/locations/{location}/messageBuses/{message_bus} */
430
+ name?: string;
431
+ /** Output only. Server assigned unique identifier for the channel. The value is a UUID4 string and guaranteed to remain unchanged until the resource is deleted. */
432
+ uid?: string;
433
+ /** Output only. The last-modified time. */
434
+ updateTime?: string;
435
+ }
245
436
  interface NetworkConfig {
246
437
  /** Required. Name of the NetworkAttachment that allows access to the customer's VPC. Format: `projects/{PROJECT_ID}/regions/{REGION}/networkAttachments/{NETWORK_ATTACHMENT_NAME}` */
247
438
  networkAttachment?: string;
@@ -262,6 +453,36 @@ declare namespace gapi.client {
262
453
  /** Output only. Name of the verb executed by the operation. */
263
454
  verb?: string;
264
455
  }
456
+ interface Pipeline {
457
+ /** Optional. User-defined annotations. See https://google.aip.dev/128#annotations. */
458
+ annotations?: {[P in string]: string};
459
+ /** Output only. The creation time. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z". */
460
+ createTime?: string;
461
+ /** Optional. Resource name of a KMS crypto key (managed by the user) used to encrypt/decrypt the event data. If not set, an internal Google-owned key will be used to encrypt messages. It must match the pattern "projects/{project}/locations/{location}/keyRings/{keyring}/cryptoKeys/{key}". */
462
+ cryptoKeyName?: string;
463
+ /** Required. List of destinations to which messages will be forwarded. Currently, exactly one destination is supported per Pipeline. */
464
+ destinations?: GoogleCloudEventarcV1PipelineDestination[];
465
+ /** Optional. Display name of resource. */
466
+ displayName?: string;
467
+ /** Output only. This checksum is computed by the server based on the value of other fields, and might be sent only on create requests to ensure that the client has an up-to-date value before proceeding. */
468
+ etag?: string;
469
+ /** Optional. The payload format expected for the messages received by the Pipeline. If input_payload_format is set then any messages not matching this format will be treated as persistent errors. If input_payload_format is not set, then the message data will be treated as an opaque binary and no output format can be set on the Pipeline through the Pipeline.Destination.output_payload_format field. Any Mediations on the Pipeline that involve access to the data field will fail as persistent errors. */
470
+ inputPayloadFormat?: GoogleCloudEventarcV1PipelineMessagePayloadFormat;
471
+ /** Optional. User labels attached to the Pipeline that can be used to group resources. An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }. */
472
+ labels?: {[P in string]: string};
473
+ /** Optional. Config to control Platform Logging for Pipelines. */
474
+ loggingConfig?: LoggingConfig;
475
+ /** Optional. List of mediation operations to be performed on the message. Currently, only one Transformation operation is allowed in each Pipeline. */
476
+ mediations?: GoogleCloudEventarcV1PipelineMediation[];
477
+ /** 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. */
478
+ name?: string;
479
+ /** Optional. The retry policy to use in the pipeline. */
480
+ retryPolicy?: GoogleCloudEventarcV1PipelineRetryPolicy;
481
+ /** Output only. Server-assigned unique identifier for the Pipeline. The value is a UUID4 string and guaranteed to remain unchanged until the resource is deleted. */
482
+ uid?: string;
483
+ /** Output only. The last-modified time. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z". */
484
+ updateTime?: string;
485
+ }
265
486
  interface Policy {
266
487
  /** Specifies cloud audit logging configuration for this policy. */
267
488
  auditConfigs?: AuditConfig[];
@@ -891,8 +1112,8 @@ declare namespace gapi.client {
891
1112
  ): Request<TestIamPermissionsResponse>;
892
1113
  }
893
1114
  interface EnrollmentsResource {
894
- /** Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. */
895
- getIamPolicy(request?: {
1115
+ /** Create a new Enrollment in a particular project and location. */
1116
+ create(request: {
896
1117
  /** V1 error format. */
897
1118
  '$.xgafv'?: string;
898
1119
  /** OAuth access token. */
@@ -901,57 +1122,30 @@ declare namespace gapi.client {
901
1122
  alt?: string;
902
1123
  /** JSONP */
903
1124
  callback?: string;
1125
+ /** Required. The user-provided ID to be assigned to the Enrollment. It should match the format (^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$). */
1126
+ enrollmentId?: string;
904
1127
  /** Selector specifying which fields to include in a partial response. */
905
1128
  fields?: string;
906
1129
  /** 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. */
907
1130
  key?: string;
908
1131
  /** OAuth 2.0 token for the current user. */
909
1132
  oauth_token?: string;
910
- /** 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). */
911
- 'options.requestedPolicyVersion'?: number;
1133
+ /** Required. The parent collection in which to add this enrollment. */
1134
+ parent: string;
912
1135
  /** Returns response with indentations and line breaks. */
913
1136
  prettyPrint?: boolean;
914
1137
  /** 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. */
915
1138
  quotaUser?: string;
916
- /** 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. */
917
- resource: string;
918
1139
  /** Upload protocol for media (e.g. "raw", "multipart"). */
919
1140
  upload_protocol?: string;
920
1141
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
921
1142
  uploadType?: string;
922
- }): Request<Policy>;
923
- /** Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. */
924
- setIamPolicy(
925
- request: {
926
- /** V1 error format. */
927
- '$.xgafv'?: string;
928
- /** OAuth access token. */
929
- access_token?: string;
930
- /** Data format for response. */
931
- alt?: string;
932
- /** JSONP */
933
- callback?: string;
934
- /** Selector specifying which fields to include in a partial response. */
935
- fields?: string;
936
- /** 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. */
937
- key?: string;
938
- /** OAuth 2.0 token for the current user. */
939
- oauth_token?: string;
940
- /** Returns response with indentations and line breaks. */
941
- prettyPrint?: boolean;
942
- /** 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. */
943
- quotaUser?: string;
944
- /** 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. */
945
- resource: string;
946
- /** Upload protocol for media (e.g. "raw", "multipart"). */
947
- upload_protocol?: string;
948
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
949
- uploadType?: string;
950
- },
951
- body: SetIamPolicyRequest
952
- ): Request<Policy>;
953
- /** 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. */
954
- testIamPermissions(
1143
+ /** Optional. If set, validate the request and preview the review, but do not post it. */
1144
+ validateOnly?: boolean;
1145
+ /** Request body */
1146
+ resource: Enrollment;
1147
+ }): Request<GoogleLongrunningOperation>;
1148
+ create(
955
1149
  request: {
956
1150
  /** V1 error format. */
957
1151
  '$.xgafv'?: string;
@@ -961,118 +1155,89 @@ declare namespace gapi.client {
961
1155
  alt?: string;
962
1156
  /** JSONP */
963
1157
  callback?: string;
1158
+ /** Required. The user-provided ID to be assigned to the Enrollment. It should match the format (^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$). */
1159
+ enrollmentId?: string;
964
1160
  /** Selector specifying which fields to include in a partial response. */
965
1161
  fields?: string;
966
1162
  /** 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. */
967
1163
  key?: string;
968
1164
  /** OAuth 2.0 token for the current user. */
969
1165
  oauth_token?: string;
1166
+ /** Required. The parent collection in which to add this enrollment. */
1167
+ parent: string;
970
1168
  /** Returns response with indentations and line breaks. */
971
1169
  prettyPrint?: boolean;
972
1170
  /** 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. */
973
1171
  quotaUser?: string;
974
- /** 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. */
975
- resource: string;
976
1172
  /** Upload protocol for media (e.g. "raw", "multipart"). */
977
1173
  upload_protocol?: string;
978
1174
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
979
1175
  uploadType?: string;
1176
+ /** Optional. If set, validate the request and preview the review, but do not post it. */
1177
+ validateOnly?: boolean;
980
1178
  },
981
- body: TestIamPermissionsRequest
982
- ): Request<TestIamPermissionsResponse>;
983
- }
984
- interface GoogleApiSourcesResource {
985
- /** Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. */
986
- getIamPolicy(request?: {
1179
+ body: Enrollment
1180
+ ): Request<GoogleLongrunningOperation>;
1181
+ /** Delete a single Enrollment. */
1182
+ delete(request?: {
987
1183
  /** V1 error format. */
988
1184
  '$.xgafv'?: string;
989
1185
  /** OAuth access token. */
990
1186
  access_token?: string;
1187
+ /** Optional. If set to true, and the Enrollment is not found, the request will succeed but no action will be taken on the server. */
1188
+ allowMissing?: boolean;
991
1189
  /** Data format for response. */
992
1190
  alt?: string;
993
1191
  /** JSONP */
994
1192
  callback?: string;
1193
+ /** Optional. If provided, the Enrollment will only be deleted if the etag matches the current etag on the resource. */
1194
+ etag?: string;
995
1195
  /** Selector specifying which fields to include in a partial response. */
996
1196
  fields?: string;
997
1197
  /** 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. */
998
1198
  key?: string;
1199
+ /** Required. The name of the Enrollment to be deleted. */
1200
+ name: string;
999
1201
  /** OAuth 2.0 token for the current user. */
1000
1202
  oauth_token?: string;
1001
- /** 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). */
1002
- 'options.requestedPolicyVersion'?: number;
1003
1203
  /** Returns response with indentations and line breaks. */
1004
1204
  prettyPrint?: boolean;
1005
1205
  /** 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. */
1006
1206
  quotaUser?: string;
1007
- /** 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. */
1008
- resource: string;
1009
1207
  /** Upload protocol for media (e.g. "raw", "multipart"). */
1010
1208
  upload_protocol?: string;
1011
1209
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1012
1210
  uploadType?: string;
1013
- }): Request<Policy>;
1014
- /** Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. */
1015
- setIamPolicy(
1016
- request: {
1017
- /** V1 error format. */
1018
- '$.xgafv'?: string;
1019
- /** OAuth access token. */
1020
- access_token?: string;
1021
- /** Data format for response. */
1022
- alt?: string;
1023
- /** JSONP */
1024
- callback?: string;
1025
- /** Selector specifying which fields to include in a partial response. */
1026
- fields?: string;
1027
- /** 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. */
1028
- key?: string;
1029
- /** OAuth 2.0 token for the current user. */
1030
- oauth_token?: string;
1031
- /** Returns response with indentations and line breaks. */
1032
- prettyPrint?: boolean;
1033
- /** 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. */
1034
- quotaUser?: string;
1035
- /** 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. */
1036
- resource: string;
1037
- /** Upload protocol for media (e.g. "raw", "multipart"). */
1038
- upload_protocol?: string;
1039
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1040
- uploadType?: string;
1041
- },
1042
- body: SetIamPolicyRequest
1043
- ): Request<Policy>;
1044
- /** 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. */
1045
- testIamPermissions(
1046
- request: {
1047
- /** V1 error format. */
1048
- '$.xgafv'?: string;
1049
- /** OAuth access token. */
1050
- access_token?: string;
1051
- /** Data format for response. */
1052
- alt?: string;
1053
- /** JSONP */
1054
- callback?: string;
1055
- /** Selector specifying which fields to include in a partial response. */
1056
- fields?: string;
1057
- /** 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. */
1058
- key?: string;
1059
- /** OAuth 2.0 token for the current user. */
1060
- oauth_token?: string;
1061
- /** Returns response with indentations and line breaks. */
1062
- prettyPrint?: boolean;
1063
- /** 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. */
1064
- quotaUser?: string;
1065
- /** 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. */
1066
- resource: string;
1067
- /** Upload protocol for media (e.g. "raw", "multipart"). */
1068
- upload_protocol?: string;
1069
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1070
- uploadType?: string;
1071
- },
1072
- body: TestIamPermissionsRequest
1073
- ): Request<TestIamPermissionsResponse>;
1074
- }
1075
- interface MessageBusesResource {
1211
+ /** Optional. If set, validate the request and preview the review, but do not post it. */
1212
+ validateOnly?: boolean;
1213
+ }): Request<GoogleLongrunningOperation>;
1214
+ /** Get a single Enrollment. */
1215
+ get(request?: {
1216
+ /** V1 error format. */
1217
+ '$.xgafv'?: string;
1218
+ /** OAuth access token. */
1219
+ access_token?: string;
1220
+ /** Data format for response. */
1221
+ alt?: string;
1222
+ /** JSONP */
1223
+ callback?: string;
1224
+ /** Selector specifying which fields to include in a partial response. */
1225
+ fields?: string;
1226
+ /** 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. */
1227
+ key?: string;
1228
+ /** Required. The name of the Enrollment to get. */
1229
+ name: string;
1230
+ /** OAuth 2.0 token for the current user. */
1231
+ oauth_token?: string;
1232
+ /** Returns response with indentations and line breaks. */
1233
+ prettyPrint?: boolean;
1234
+ /** 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. */
1235
+ quotaUser?: string;
1236
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1237
+ upload_protocol?: string;
1238
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1239
+ uploadType?: string;
1240
+ }): Request<Enrollment>;
1076
1241
  /** Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. */
1077
1242
  getIamPolicy(request?: {
1078
1243
  /** V1 error format. */
@@ -1102,20 +1267,800 @@ declare namespace gapi.client {
1102
1267
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1103
1268
  uploadType?: string;
1104
1269
  }): Request<Policy>;
1105
- /** Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. */
1106
- setIamPolicy(
1107
- request: {
1108
- /** V1 error format. */
1109
- '$.xgafv'?: string;
1110
- /** OAuth access token. */
1111
- access_token?: string;
1112
- /** Data format for response. */
1113
- alt?: string;
1114
- /** JSONP */
1115
- callback?: string;
1116
- /** Selector specifying which fields to include in a partial response. */
1117
- fields?: string;
1118
- /** 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. */
1270
+ /** List Enrollments. */
1271
+ list(request?: {
1272
+ /** V1 error format. */
1273
+ '$.xgafv'?: string;
1274
+ /** OAuth access token. */
1275
+ access_token?: string;
1276
+ /** Data format for response. */
1277
+ alt?: string;
1278
+ /** JSONP */
1279
+ callback?: string;
1280
+ /** Selector specifying which fields to include in a partial response. */
1281
+ fields?: string;
1282
+ /** Optional. The filter field that the list request will filter on. Possible filtersare described in https://google.aip.dev/160. */
1283
+ filter?: string;
1284
+ /** 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. */
1285
+ key?: string;
1286
+ /** OAuth 2.0 token for the current user. */
1287
+ oauth_token?: string;
1288
+ /** Optional. The sorting order of the resources returned. Value should be a comma-separated list of fields. The default sorting order is ascending. To specify descending order for a field, append a `desc` suffix; for example: `name desc, update_time`. */
1289
+ orderBy?: string;
1290
+ /** Optional. The maximum number of results to return on each page. Note: The service may send fewer. */
1291
+ pageSize?: number;
1292
+ /** Optional. The page token; provide the value from the `next_page_token` field in a previous call to retrieve the subsequent page. When paginating, all other parameters provided must match the previous call that provided the page token. */
1293
+ pageToken?: string;
1294
+ /** Required. The parent collection to list triggers on. */
1295
+ parent: string;
1296
+ /** Returns response with indentations and line breaks. */
1297
+ prettyPrint?: boolean;
1298
+ /** 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. */
1299
+ quotaUser?: string;
1300
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1301
+ upload_protocol?: string;
1302
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1303
+ uploadType?: string;
1304
+ }): Request<ListEnrollmentsResponse>;
1305
+ /** Update a single Enrollment. */
1306
+ patch(request: {
1307
+ /** V1 error format. */
1308
+ '$.xgafv'?: string;
1309
+ /** OAuth access token. */
1310
+ access_token?: string;
1311
+ /** Optional. If set to true, and the Enrollment is not found, a new Enrollment will be created. In this situation, `update_mask` is ignored. */
1312
+ allowMissing?: boolean;
1313
+ /** Data format for response. */
1314
+ alt?: string;
1315
+ /** JSONP */
1316
+ callback?: string;
1317
+ /** Selector specifying which fields to include in a partial response. */
1318
+ fields?: string;
1319
+ /** 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. */
1320
+ key?: string;
1321
+ /** Identifier. Resource name of the form projects/{project}/locations/{location}/enrollments/{enrollment} */
1322
+ name: string;
1323
+ /** OAuth 2.0 token for the current user. */
1324
+ oauth_token?: string;
1325
+ /** Returns response with indentations and line breaks. */
1326
+ prettyPrint?: boolean;
1327
+ /** 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. */
1328
+ quotaUser?: string;
1329
+ /** Optional. The fields to be updated; only fields explicitly provided are updated. If no field mask is provided, all provided fields in the request are updated. To update all fields, provide a field mask of "*". */
1330
+ updateMask?: string;
1331
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1332
+ upload_protocol?: string;
1333
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1334
+ uploadType?: string;
1335
+ /** Optional. If set, validate the request and preview the review, but do not post it. */
1336
+ validateOnly?: boolean;
1337
+ /** Request body */
1338
+ resource: Enrollment;
1339
+ }): Request<GoogleLongrunningOperation>;
1340
+ patch(
1341
+ request: {
1342
+ /** V1 error format. */
1343
+ '$.xgafv'?: string;
1344
+ /** OAuth access token. */
1345
+ access_token?: string;
1346
+ /** Optional. If set to true, and the Enrollment is not found, a new Enrollment will be created. In this situation, `update_mask` is ignored. */
1347
+ allowMissing?: boolean;
1348
+ /** Data format for response. */
1349
+ alt?: string;
1350
+ /** JSONP */
1351
+ callback?: string;
1352
+ /** Selector specifying which fields to include in a partial response. */
1353
+ fields?: string;
1354
+ /** 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. */
1355
+ key?: string;
1356
+ /** Identifier. Resource name of the form projects/{project}/locations/{location}/enrollments/{enrollment} */
1357
+ name: string;
1358
+ /** OAuth 2.0 token for the current user. */
1359
+ oauth_token?: string;
1360
+ /** Returns response with indentations and line breaks. */
1361
+ prettyPrint?: boolean;
1362
+ /** 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. */
1363
+ quotaUser?: string;
1364
+ /** Optional. The fields to be updated; only fields explicitly provided are updated. If no field mask is provided, all provided fields in the request are updated. To update all fields, provide a field mask of "*". */
1365
+ updateMask?: string;
1366
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1367
+ upload_protocol?: string;
1368
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1369
+ uploadType?: string;
1370
+ /** Optional. If set, validate the request and preview the review, but do not post it. */
1371
+ validateOnly?: boolean;
1372
+ },
1373
+ body: Enrollment
1374
+ ): Request<GoogleLongrunningOperation>;
1375
+ /** Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. */
1376
+ setIamPolicy(
1377
+ request: {
1378
+ /** V1 error format. */
1379
+ '$.xgafv'?: string;
1380
+ /** OAuth access token. */
1381
+ access_token?: string;
1382
+ /** Data format for response. */
1383
+ alt?: string;
1384
+ /** JSONP */
1385
+ callback?: string;
1386
+ /** Selector specifying which fields to include in a partial response. */
1387
+ fields?: string;
1388
+ /** 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. */
1389
+ key?: string;
1390
+ /** OAuth 2.0 token for the current user. */
1391
+ oauth_token?: string;
1392
+ /** Returns response with indentations and line breaks. */
1393
+ prettyPrint?: boolean;
1394
+ /** 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. */
1395
+ quotaUser?: string;
1396
+ /** 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. */
1397
+ resource: string;
1398
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1399
+ upload_protocol?: string;
1400
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1401
+ uploadType?: string;
1402
+ },
1403
+ body: SetIamPolicyRequest
1404
+ ): Request<Policy>;
1405
+ /** 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. */
1406
+ testIamPermissions(
1407
+ request: {
1408
+ /** V1 error format. */
1409
+ '$.xgafv'?: string;
1410
+ /** OAuth access token. */
1411
+ access_token?: string;
1412
+ /** Data format for response. */
1413
+ alt?: string;
1414
+ /** JSONP */
1415
+ callback?: string;
1416
+ /** Selector specifying which fields to include in a partial response. */
1417
+ fields?: string;
1418
+ /** 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. */
1419
+ key?: string;
1420
+ /** OAuth 2.0 token for the current user. */
1421
+ oauth_token?: string;
1422
+ /** Returns response with indentations and line breaks. */
1423
+ prettyPrint?: boolean;
1424
+ /** 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. */
1425
+ quotaUser?: string;
1426
+ /** 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. */
1427
+ resource: string;
1428
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1429
+ upload_protocol?: string;
1430
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1431
+ uploadType?: string;
1432
+ },
1433
+ body: TestIamPermissionsRequest
1434
+ ): Request<TestIamPermissionsResponse>;
1435
+ }
1436
+ interface GoogleApiSourcesResource {
1437
+ /** Create a new GoogleApiSource in a particular project and location. */
1438
+ create(request: {
1439
+ /** V1 error format. */
1440
+ '$.xgafv'?: string;
1441
+ /** OAuth access token. */
1442
+ access_token?: string;
1443
+ /** Data format for response. */
1444
+ alt?: string;
1445
+ /** JSONP */
1446
+ callback?: string;
1447
+ /** Selector specifying which fields to include in a partial response. */
1448
+ fields?: string;
1449
+ /** Required. The user-provided ID to be assigned to the GoogleApiSource. It should match the format (^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$). */
1450
+ googleApiSourceId?: string;
1451
+ /** 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. */
1452
+ key?: string;
1453
+ /** OAuth 2.0 token for the current user. */
1454
+ oauth_token?: string;
1455
+ /** Required. The parent collection in which to add this google api source. */
1456
+ parent: string;
1457
+ /** Returns response with indentations and line breaks. */
1458
+ prettyPrint?: boolean;
1459
+ /** 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. */
1460
+ quotaUser?: string;
1461
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1462
+ upload_protocol?: string;
1463
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1464
+ uploadType?: string;
1465
+ /** Optional. If set, validate the request and preview the review, but do not post it. */
1466
+ validateOnly?: boolean;
1467
+ /** Request body */
1468
+ resource: GoogleApiSource;
1469
+ }): Request<GoogleLongrunningOperation>;
1470
+ create(
1471
+ request: {
1472
+ /** V1 error format. */
1473
+ '$.xgafv'?: string;
1474
+ /** OAuth access token. */
1475
+ access_token?: string;
1476
+ /** Data format for response. */
1477
+ alt?: string;
1478
+ /** JSONP */
1479
+ callback?: string;
1480
+ /** Selector specifying which fields to include in a partial response. */
1481
+ fields?: string;
1482
+ /** Required. The user-provided ID to be assigned to the GoogleApiSource. It should match the format (^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$). */
1483
+ googleApiSourceId?: string;
1484
+ /** 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. */
1485
+ key?: string;
1486
+ /** OAuth 2.0 token for the current user. */
1487
+ oauth_token?: string;
1488
+ /** Required. The parent collection in which to add this google api source. */
1489
+ parent: string;
1490
+ /** Returns response with indentations and line breaks. */
1491
+ prettyPrint?: boolean;
1492
+ /** 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. */
1493
+ quotaUser?: string;
1494
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1495
+ upload_protocol?: string;
1496
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1497
+ uploadType?: string;
1498
+ /** Optional. If set, validate the request and preview the review, but do not post it. */
1499
+ validateOnly?: boolean;
1500
+ },
1501
+ body: GoogleApiSource
1502
+ ): Request<GoogleLongrunningOperation>;
1503
+ /** Delete a single GoogleApiSource. */
1504
+ delete(request?: {
1505
+ /** V1 error format. */
1506
+ '$.xgafv'?: string;
1507
+ /** OAuth access token. */
1508
+ access_token?: string;
1509
+ /** Optional. If set to true, and the MessageBus is not found, the request will succeed but no action will be taken on the server. */
1510
+ allowMissing?: boolean;
1511
+ /** Data format for response. */
1512
+ alt?: string;
1513
+ /** JSONP */
1514
+ callback?: string;
1515
+ /** Optional. If provided, the MessageBus will only be deleted if the etag matches the current etag on the resource. */
1516
+ etag?: string;
1517
+ /** Selector specifying which fields to include in a partial response. */
1518
+ fields?: string;
1519
+ /** 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. */
1520
+ key?: string;
1521
+ /** Required. The name of the GoogleApiSource to be deleted. */
1522
+ name: string;
1523
+ /** OAuth 2.0 token for the current user. */
1524
+ oauth_token?: string;
1525
+ /** Returns response with indentations and line breaks. */
1526
+ prettyPrint?: boolean;
1527
+ /** 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. */
1528
+ quotaUser?: string;
1529
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1530
+ upload_protocol?: string;
1531
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1532
+ uploadType?: string;
1533
+ /** Optional. If set, validate the request and preview the review, but do not post it. */
1534
+ validateOnly?: boolean;
1535
+ }): Request<GoogleLongrunningOperation>;
1536
+ /** Get a single GoogleApiSource. */
1537
+ get(request?: {
1538
+ /** V1 error format. */
1539
+ '$.xgafv'?: string;
1540
+ /** OAuth access token. */
1541
+ access_token?: string;
1542
+ /** Data format for response. */
1543
+ alt?: string;
1544
+ /** JSONP */
1545
+ callback?: string;
1546
+ /** Selector specifying which fields to include in a partial response. */
1547
+ fields?: string;
1548
+ /** 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. */
1549
+ key?: string;
1550
+ /** Required. The name of the google api source to get. */
1551
+ name: string;
1552
+ /** OAuth 2.0 token for the current user. */
1553
+ oauth_token?: string;
1554
+ /** Returns response with indentations and line breaks. */
1555
+ prettyPrint?: boolean;
1556
+ /** 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. */
1557
+ quotaUser?: string;
1558
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1559
+ upload_protocol?: string;
1560
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1561
+ uploadType?: string;
1562
+ }): Request<GoogleApiSource>;
1563
+ /** Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. */
1564
+ getIamPolicy(request?: {
1565
+ /** V1 error format. */
1566
+ '$.xgafv'?: string;
1567
+ /** OAuth access token. */
1568
+ access_token?: string;
1569
+ /** Data format for response. */
1570
+ alt?: string;
1571
+ /** JSONP */
1572
+ callback?: string;
1573
+ /** Selector specifying which fields to include in a partial response. */
1574
+ fields?: string;
1575
+ /** 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. */
1576
+ key?: string;
1577
+ /** OAuth 2.0 token for the current user. */
1578
+ oauth_token?: string;
1579
+ /** 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). */
1580
+ 'options.requestedPolicyVersion'?: number;
1581
+ /** Returns response with indentations and line breaks. */
1582
+ prettyPrint?: boolean;
1583
+ /** 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. */
1584
+ quotaUser?: string;
1585
+ /** 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. */
1586
+ resource: string;
1587
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1588
+ upload_protocol?: string;
1589
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1590
+ uploadType?: string;
1591
+ }): Request<Policy>;
1592
+ /** List GoogleApiSources. */
1593
+ list(request?: {
1594
+ /** V1 error format. */
1595
+ '$.xgafv'?: string;
1596
+ /** OAuth access token. */
1597
+ access_token?: string;
1598
+ /** Data format for response. */
1599
+ alt?: string;
1600
+ /** JSONP */
1601
+ callback?: string;
1602
+ /** Selector specifying which fields to include in a partial response. */
1603
+ fields?: string;
1604
+ /** Optional. The filter field that the list request will filter on. Possible filtersare described in https://google.aip.dev/160. */
1605
+ filter?: string;
1606
+ /** 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. */
1607
+ key?: string;
1608
+ /** OAuth 2.0 token for the current user. */
1609
+ oauth_token?: string;
1610
+ /** Optional. The sorting order of the resources returned. Value should be a comma-separated list of fields. The default sorting order is ascending. To specify descending order for a field, append a `desc` suffix; for example: `name desc, update_time`. */
1611
+ orderBy?: string;
1612
+ /** Optional. The maximum number of results to return on each page. Note: The service may send fewer. */
1613
+ pageSize?: number;
1614
+ /** Optional. The page token; provide the value from the `next_page_token` field in a previous call to retrieve the subsequent page. When paginating, all other parameters provided must match the previous call that provided the page token. */
1615
+ pageToken?: string;
1616
+ /** Required. The parent collection to list GoogleApiSources on. */
1617
+ parent: string;
1618
+ /** Returns response with indentations and line breaks. */
1619
+ prettyPrint?: boolean;
1620
+ /** 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. */
1621
+ quotaUser?: string;
1622
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1623
+ upload_protocol?: string;
1624
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1625
+ uploadType?: string;
1626
+ }): Request<ListGoogleApiSourcesResponse>;
1627
+ /** Update a single GoogleApiSource. */
1628
+ patch(request: {
1629
+ /** V1 error format. */
1630
+ '$.xgafv'?: string;
1631
+ /** OAuth access token. */
1632
+ access_token?: string;
1633
+ /** Optional. If set to true, and the GoogleApiSource is not found, a new GoogleApiSource will be created. In this situation, `update_mask` is ignored. */
1634
+ allowMissing?: boolean;
1635
+ /** Data format for response. */
1636
+ alt?: string;
1637
+ /** JSONP */
1638
+ callback?: string;
1639
+ /** Selector specifying which fields to include in a partial response. */
1640
+ fields?: string;
1641
+ /** 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. */
1642
+ key?: string;
1643
+ /** Identifier. Resource name of the form projects/{project}/locations/{location}/googleApiSources/{google_api_source} */
1644
+ name: string;
1645
+ /** OAuth 2.0 token for the current user. */
1646
+ oauth_token?: string;
1647
+ /** Returns response with indentations and line breaks. */
1648
+ prettyPrint?: boolean;
1649
+ /** 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. */
1650
+ quotaUser?: string;
1651
+ /** Optional. The fields to be updated; only fields explicitly provided are updated. If no field mask is provided, all provided fields in the request are updated. To update all fields, provide a field mask of "*". */
1652
+ updateMask?: string;
1653
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1654
+ upload_protocol?: string;
1655
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1656
+ uploadType?: string;
1657
+ /** Optional. If set, validate the request and preview the review, but do not post it. */
1658
+ validateOnly?: boolean;
1659
+ /** Request body */
1660
+ resource: GoogleApiSource;
1661
+ }): Request<GoogleLongrunningOperation>;
1662
+ patch(
1663
+ request: {
1664
+ /** V1 error format. */
1665
+ '$.xgafv'?: string;
1666
+ /** OAuth access token. */
1667
+ access_token?: string;
1668
+ /** Optional. If set to true, and the GoogleApiSource is not found, a new GoogleApiSource will be created. In this situation, `update_mask` is ignored. */
1669
+ allowMissing?: boolean;
1670
+ /** Data format for response. */
1671
+ alt?: string;
1672
+ /** JSONP */
1673
+ callback?: string;
1674
+ /** Selector specifying which fields to include in a partial response. */
1675
+ fields?: string;
1676
+ /** 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. */
1677
+ key?: string;
1678
+ /** Identifier. Resource name of the form projects/{project}/locations/{location}/googleApiSources/{google_api_source} */
1679
+ name: string;
1680
+ /** OAuth 2.0 token for the current user. */
1681
+ oauth_token?: string;
1682
+ /** Returns response with indentations and line breaks. */
1683
+ prettyPrint?: boolean;
1684
+ /** 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. */
1685
+ quotaUser?: string;
1686
+ /** Optional. The fields to be updated; only fields explicitly provided are updated. If no field mask is provided, all provided fields in the request are updated. To update all fields, provide a field mask of "*". */
1687
+ updateMask?: string;
1688
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1689
+ upload_protocol?: string;
1690
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1691
+ uploadType?: string;
1692
+ /** Optional. If set, validate the request and preview the review, but do not post it. */
1693
+ validateOnly?: boolean;
1694
+ },
1695
+ body: GoogleApiSource
1696
+ ): Request<GoogleLongrunningOperation>;
1697
+ /** Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. */
1698
+ setIamPolicy(
1699
+ request: {
1700
+ /** V1 error format. */
1701
+ '$.xgafv'?: string;
1702
+ /** OAuth access token. */
1703
+ access_token?: string;
1704
+ /** Data format for response. */
1705
+ alt?: string;
1706
+ /** JSONP */
1707
+ callback?: string;
1708
+ /** Selector specifying which fields to include in a partial response. */
1709
+ fields?: string;
1710
+ /** 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. */
1711
+ key?: string;
1712
+ /** OAuth 2.0 token for the current user. */
1713
+ oauth_token?: string;
1714
+ /** Returns response with indentations and line breaks. */
1715
+ prettyPrint?: boolean;
1716
+ /** 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. */
1717
+ quotaUser?: string;
1718
+ /** 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. */
1719
+ resource: string;
1720
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1721
+ upload_protocol?: string;
1722
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1723
+ uploadType?: string;
1724
+ },
1725
+ body: SetIamPolicyRequest
1726
+ ): Request<Policy>;
1727
+ /** 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. */
1728
+ testIamPermissions(
1729
+ request: {
1730
+ /** V1 error format. */
1731
+ '$.xgafv'?: string;
1732
+ /** OAuth access token. */
1733
+ access_token?: string;
1734
+ /** Data format for response. */
1735
+ alt?: string;
1736
+ /** JSONP */
1737
+ callback?: string;
1738
+ /** Selector specifying which fields to include in a partial response. */
1739
+ fields?: string;
1740
+ /** 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. */
1741
+ key?: string;
1742
+ /** OAuth 2.0 token for the current user. */
1743
+ oauth_token?: string;
1744
+ /** Returns response with indentations and line breaks. */
1745
+ prettyPrint?: boolean;
1746
+ /** 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. */
1747
+ quotaUser?: string;
1748
+ /** 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. */
1749
+ resource: string;
1750
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1751
+ upload_protocol?: string;
1752
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1753
+ uploadType?: string;
1754
+ },
1755
+ body: TestIamPermissionsRequest
1756
+ ): Request<TestIamPermissionsResponse>;
1757
+ }
1758
+ interface MessageBusesResource {
1759
+ /** Create a new MessageBus in a particular project and location. */
1760
+ create(request: {
1761
+ /** V1 error format. */
1762
+ '$.xgafv'?: string;
1763
+ /** OAuth access token. */
1764
+ access_token?: string;
1765
+ /** Data format for response. */
1766
+ alt?: string;
1767
+ /** JSONP */
1768
+ callback?: string;
1769
+ /** Selector specifying which fields to include in a partial response. */
1770
+ fields?: string;
1771
+ /** 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. */
1772
+ key?: string;
1773
+ /** Required. The user-provided ID to be assigned to the MessageBus. It should match the format (^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$) */
1774
+ messageBusId?: string;
1775
+ /** OAuth 2.0 token for the current user. */
1776
+ oauth_token?: string;
1777
+ /** Required. The parent collection in which to add this message bus. */
1778
+ parent: string;
1779
+ /** Returns response with indentations and line breaks. */
1780
+ prettyPrint?: boolean;
1781
+ /** 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. */
1782
+ quotaUser?: string;
1783
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1784
+ upload_protocol?: string;
1785
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1786
+ uploadType?: string;
1787
+ /** Optional. If set, validate the request and preview the review, but do not post it. */
1788
+ validateOnly?: boolean;
1789
+ /** Request body */
1790
+ resource: MessageBus;
1791
+ }): Request<GoogleLongrunningOperation>;
1792
+ create(
1793
+ request: {
1794
+ /** V1 error format. */
1795
+ '$.xgafv'?: string;
1796
+ /** OAuth access token. */
1797
+ access_token?: string;
1798
+ /** Data format for response. */
1799
+ alt?: string;
1800
+ /** JSONP */
1801
+ callback?: string;
1802
+ /** Selector specifying which fields to include in a partial response. */
1803
+ fields?: string;
1804
+ /** 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. */
1805
+ key?: string;
1806
+ /** Required. The user-provided ID to be assigned to the MessageBus. It should match the format (^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$) */
1807
+ messageBusId?: string;
1808
+ /** OAuth 2.0 token for the current user. */
1809
+ oauth_token?: string;
1810
+ /** Required. The parent collection in which to add this message bus. */
1811
+ parent: string;
1812
+ /** Returns response with indentations and line breaks. */
1813
+ prettyPrint?: boolean;
1814
+ /** 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. */
1815
+ quotaUser?: string;
1816
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1817
+ upload_protocol?: string;
1818
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1819
+ uploadType?: string;
1820
+ /** Optional. If set, validate the request and preview the review, but do not post it. */
1821
+ validateOnly?: boolean;
1822
+ },
1823
+ body: MessageBus
1824
+ ): Request<GoogleLongrunningOperation>;
1825
+ /** Delete a single message bus. */
1826
+ delete(request?: {
1827
+ /** V1 error format. */
1828
+ '$.xgafv'?: string;
1829
+ /** OAuth access token. */
1830
+ access_token?: string;
1831
+ /** Optional. If set to true, and the MessageBus is not found, the request will succeed but no action will be taken on the server. */
1832
+ allowMissing?: boolean;
1833
+ /** Data format for response. */
1834
+ alt?: string;
1835
+ /** JSONP */
1836
+ callback?: string;
1837
+ /** Optional. If provided, the MessageBus will only be deleted if the etag matches the current etag on the resource. */
1838
+ etag?: string;
1839
+ /** Selector specifying which fields to include in a partial response. */
1840
+ fields?: string;
1841
+ /** 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. */
1842
+ key?: string;
1843
+ /** Required. The name of the MessageBus to be deleted. */
1844
+ name: string;
1845
+ /** OAuth 2.0 token for the current user. */
1846
+ oauth_token?: string;
1847
+ /** Returns response with indentations and line breaks. */
1848
+ prettyPrint?: boolean;
1849
+ /** 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. */
1850
+ quotaUser?: string;
1851
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1852
+ upload_protocol?: string;
1853
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1854
+ uploadType?: string;
1855
+ /** Optional. If set, validate the request and preview the review, but do not post it. */
1856
+ validateOnly?: boolean;
1857
+ }): Request<GoogleLongrunningOperation>;
1858
+ /** Get a single MessageBus. */
1859
+ get(request?: {
1860
+ /** V1 error format. */
1861
+ '$.xgafv'?: string;
1862
+ /** OAuth access token. */
1863
+ access_token?: string;
1864
+ /** Data format for response. */
1865
+ alt?: string;
1866
+ /** JSONP */
1867
+ callback?: string;
1868
+ /** Selector specifying which fields to include in a partial response. */
1869
+ fields?: string;
1870
+ /** 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. */
1871
+ key?: string;
1872
+ /** Required. The name of the message bus to get. */
1873
+ name: string;
1874
+ /** OAuth 2.0 token for the current user. */
1875
+ oauth_token?: string;
1876
+ /** Returns response with indentations and line breaks. */
1877
+ prettyPrint?: boolean;
1878
+ /** 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. */
1879
+ quotaUser?: string;
1880
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1881
+ upload_protocol?: string;
1882
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1883
+ uploadType?: string;
1884
+ }): Request<MessageBus>;
1885
+ /** Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. */
1886
+ getIamPolicy(request?: {
1887
+ /** V1 error format. */
1888
+ '$.xgafv'?: string;
1889
+ /** OAuth access token. */
1890
+ access_token?: string;
1891
+ /** Data format for response. */
1892
+ alt?: string;
1893
+ /** JSONP */
1894
+ callback?: string;
1895
+ /** Selector specifying which fields to include in a partial response. */
1896
+ fields?: string;
1897
+ /** 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. */
1898
+ key?: string;
1899
+ /** OAuth 2.0 token for the current user. */
1900
+ oauth_token?: string;
1901
+ /** 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). */
1902
+ 'options.requestedPolicyVersion'?: number;
1903
+ /** Returns response with indentations and line breaks. */
1904
+ prettyPrint?: boolean;
1905
+ /** 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. */
1906
+ quotaUser?: string;
1907
+ /** 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. */
1908
+ resource: string;
1909
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1910
+ upload_protocol?: string;
1911
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1912
+ uploadType?: string;
1913
+ }): Request<Policy>;
1914
+ /** List message buses. */
1915
+ list(request?: {
1916
+ /** V1 error format. */
1917
+ '$.xgafv'?: string;
1918
+ /** OAuth access token. */
1919
+ access_token?: string;
1920
+ /** Data format for response. */
1921
+ alt?: string;
1922
+ /** JSONP */
1923
+ callback?: string;
1924
+ /** Selector specifying which fields to include in a partial response. */
1925
+ fields?: string;
1926
+ /** Optional. The filter field that the list request will filter on. Possible filtersare described in https://google.aip.dev/160. */
1927
+ filter?: string;
1928
+ /** 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. */
1929
+ key?: string;
1930
+ /** OAuth 2.0 token for the current user. */
1931
+ oauth_token?: string;
1932
+ /** Optional. The sorting order of the resources returned. Value should be a comma-separated list of fields. The default sorting order is ascending. To specify descending order for a field, append a `desc` suffix; for example: `name desc, update_time`. */
1933
+ orderBy?: string;
1934
+ /** Optional. The maximum number of results to return on each page. Note: The service may send fewer. */
1935
+ pageSize?: number;
1936
+ /** Optional. The page token; provide the value from the `next_page_token` field in a previous call to retrieve the subsequent page. When paginating, all other parameters provided must match the previous call that provided the page token. */
1937
+ pageToken?: string;
1938
+ /** Required. The parent collection to list triggers on. */
1939
+ parent: string;
1940
+ /** Returns response with indentations and line breaks. */
1941
+ prettyPrint?: boolean;
1942
+ /** 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. */
1943
+ quotaUser?: string;
1944
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1945
+ upload_protocol?: string;
1946
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1947
+ uploadType?: string;
1948
+ }): Request<ListMessageBusesResponse>;
1949
+ /** List message bus enrollments. */
1950
+ listEnrollments(request?: {
1951
+ /** V1 error format. */
1952
+ '$.xgafv'?: string;
1953
+ /** OAuth access token. */
1954
+ access_token?: string;
1955
+ /** Data format for response. */
1956
+ alt?: string;
1957
+ /** JSONP */
1958
+ callback?: string;
1959
+ /** Selector specifying which fields to include in a partial response. */
1960
+ fields?: string;
1961
+ /** 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. */
1962
+ key?: string;
1963
+ /** OAuth 2.0 token for the current user. */
1964
+ oauth_token?: string;
1965
+ /** Optional. The maximum number of results to return on each page. Note: The service may send fewer. */
1966
+ pageSize?: number;
1967
+ /** Optional. The page token; provide the value from the `next_page_token` field in a previous call to retrieve the subsequent page. When paginating, all other parameters provided must match the previous call that provided the page token. */
1968
+ pageToken?: string;
1969
+ /** Required. The parent message bus to list enrollments on. */
1970
+ parent: string;
1971
+ /** Returns response with indentations and line breaks. */
1972
+ prettyPrint?: boolean;
1973
+ /** 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. */
1974
+ quotaUser?: string;
1975
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1976
+ upload_protocol?: string;
1977
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1978
+ uploadType?: string;
1979
+ }): Request<ListMessageBusEnrollmentsResponse>;
1980
+ /** Update a single message bus. */
1981
+ patch(request: {
1982
+ /** V1 error format. */
1983
+ '$.xgafv'?: string;
1984
+ /** OAuth access token. */
1985
+ access_token?: string;
1986
+ /** Optional. If set to true, and the MessageBus is not found, a new MessageBus will be created. In this situation, `update_mask` is ignored. */
1987
+ allowMissing?: boolean;
1988
+ /** Data format for response. */
1989
+ alt?: string;
1990
+ /** JSONP */
1991
+ callback?: string;
1992
+ /** Selector specifying which fields to include in a partial response. */
1993
+ fields?: string;
1994
+ /** 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. */
1995
+ key?: string;
1996
+ /** Identifier. Resource name of the form projects/{project}/locations/{location}/messageBuses/{message_bus} */
1997
+ name: string;
1998
+ /** OAuth 2.0 token for the current user. */
1999
+ oauth_token?: string;
2000
+ /** Returns response with indentations and line breaks. */
2001
+ prettyPrint?: boolean;
2002
+ /** 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. */
2003
+ quotaUser?: string;
2004
+ /** Optional. The fields to be updated; only fields explicitly provided are updated. If no field mask is provided, all provided fields in the request are updated. To update all fields, provide a field mask of "*". */
2005
+ updateMask?: string;
2006
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2007
+ upload_protocol?: string;
2008
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2009
+ uploadType?: string;
2010
+ /** Optional. If set, validate the request and preview the review, but do not post it. */
2011
+ validateOnly?: boolean;
2012
+ /** Request body */
2013
+ resource: MessageBus;
2014
+ }): Request<GoogleLongrunningOperation>;
2015
+ patch(
2016
+ request: {
2017
+ /** V1 error format. */
2018
+ '$.xgafv'?: string;
2019
+ /** OAuth access token. */
2020
+ access_token?: string;
2021
+ /** Optional. If set to true, and the MessageBus is not found, a new MessageBus will be created. In this situation, `update_mask` is ignored. */
2022
+ allowMissing?: boolean;
2023
+ /** Data format for response. */
2024
+ alt?: string;
2025
+ /** JSONP */
2026
+ callback?: string;
2027
+ /** Selector specifying which fields to include in a partial response. */
2028
+ fields?: string;
2029
+ /** 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. */
2030
+ key?: string;
2031
+ /** Identifier. Resource name of the form projects/{project}/locations/{location}/messageBuses/{message_bus} */
2032
+ name: string;
2033
+ /** OAuth 2.0 token for the current user. */
2034
+ oauth_token?: string;
2035
+ /** Returns response with indentations and line breaks. */
2036
+ prettyPrint?: boolean;
2037
+ /** 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. */
2038
+ quotaUser?: string;
2039
+ /** Optional. The fields to be updated; only fields explicitly provided are updated. If no field mask is provided, all provided fields in the request are updated. To update all fields, provide a field mask of "*". */
2040
+ updateMask?: string;
2041
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2042
+ upload_protocol?: string;
2043
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2044
+ uploadType?: string;
2045
+ /** Optional. If set, validate the request and preview the review, but do not post it. */
2046
+ validateOnly?: boolean;
2047
+ },
2048
+ body: MessageBus
2049
+ ): Request<GoogleLongrunningOperation>;
2050
+ /** Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. */
2051
+ setIamPolicy(
2052
+ request: {
2053
+ /** V1 error format. */
2054
+ '$.xgafv'?: string;
2055
+ /** OAuth access token. */
2056
+ access_token?: string;
2057
+ /** Data format for response. */
2058
+ alt?: string;
2059
+ /** JSONP */
2060
+ callback?: string;
2061
+ /** Selector specifying which fields to include in a partial response. */
2062
+ fields?: string;
2063
+ /** 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. */
1119
2064
  key?: string;
1120
2065
  /** OAuth 2.0 token for the current user. */
1121
2066
  oauth_token?: string;
@@ -1311,6 +2256,132 @@ declare namespace gapi.client {
1311
2256
  }): Request<GoogleLongrunningListOperationsResponse>;
1312
2257
  }
1313
2258
  interface PipelinesResource {
2259
+ /** Create a new Pipeline in a particular project and location. */
2260
+ create(request: {
2261
+ /** V1 error format. */
2262
+ '$.xgafv'?: string;
2263
+ /** OAuth access token. */
2264
+ access_token?: string;
2265
+ /** Data format for response. */
2266
+ alt?: string;
2267
+ /** JSONP */
2268
+ callback?: string;
2269
+ /** Selector specifying which fields to include in a partial response. */
2270
+ fields?: string;
2271
+ /** 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. */
2272
+ key?: string;
2273
+ /** OAuth 2.0 token for the current user. */
2274
+ oauth_token?: string;
2275
+ /** Required. The parent collection in which to add this pipeline. */
2276
+ parent: string;
2277
+ /** Required. The user-provided ID to be assigned to the Pipeline. */
2278
+ pipelineId?: string;
2279
+ /** Returns response with indentations and line breaks. */
2280
+ prettyPrint?: boolean;
2281
+ /** 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. */
2282
+ quotaUser?: string;
2283
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2284
+ upload_protocol?: string;
2285
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2286
+ uploadType?: string;
2287
+ /** Optional. If set, validate the request and preview the review, but do not post it. */
2288
+ validateOnly?: boolean;
2289
+ /** Request body */
2290
+ resource: Pipeline;
2291
+ }): Request<GoogleLongrunningOperation>;
2292
+ create(
2293
+ request: {
2294
+ /** V1 error format. */
2295
+ '$.xgafv'?: string;
2296
+ /** OAuth access token. */
2297
+ access_token?: string;
2298
+ /** Data format for response. */
2299
+ alt?: string;
2300
+ /** JSONP */
2301
+ callback?: string;
2302
+ /** Selector specifying which fields to include in a partial response. */
2303
+ fields?: string;
2304
+ /** 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. */
2305
+ key?: string;
2306
+ /** OAuth 2.0 token for the current user. */
2307
+ oauth_token?: string;
2308
+ /** Required. The parent collection in which to add this pipeline. */
2309
+ parent: string;
2310
+ /** Required. The user-provided ID to be assigned to the Pipeline. */
2311
+ pipelineId?: string;
2312
+ /** Returns response with indentations and line breaks. */
2313
+ prettyPrint?: boolean;
2314
+ /** 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. */
2315
+ quotaUser?: string;
2316
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2317
+ upload_protocol?: string;
2318
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2319
+ uploadType?: string;
2320
+ /** Optional. If set, validate the request and preview the review, but do not post it. */
2321
+ validateOnly?: boolean;
2322
+ },
2323
+ body: Pipeline
2324
+ ): Request<GoogleLongrunningOperation>;
2325
+ /** Delete a single pipeline. */
2326
+ delete(request?: {
2327
+ /** V1 error format. */
2328
+ '$.xgafv'?: string;
2329
+ /** OAuth access token. */
2330
+ access_token?: string;
2331
+ /** Optional. If set to true, and the Pipeline is not found, the request will succeed but no action will be taken on the server. */
2332
+ allowMissing?: boolean;
2333
+ /** Data format for response. */
2334
+ alt?: string;
2335
+ /** JSONP */
2336
+ callback?: string;
2337
+ /** Optional. If provided, the Pipeline will only be deleted if the etag matches the current etag on the resource. */
2338
+ etag?: string;
2339
+ /** Selector specifying which fields to include in a partial response. */
2340
+ fields?: string;
2341
+ /** 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. */
2342
+ key?: string;
2343
+ /** Required. The name of the Pipeline to be deleted. */
2344
+ name: string;
2345
+ /** OAuth 2.0 token for the current user. */
2346
+ oauth_token?: string;
2347
+ /** Returns response with indentations and line breaks. */
2348
+ prettyPrint?: boolean;
2349
+ /** 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. */
2350
+ quotaUser?: string;
2351
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2352
+ upload_protocol?: string;
2353
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2354
+ uploadType?: string;
2355
+ /** Optional. If set, validate the request and preview the review, but do not post it. */
2356
+ validateOnly?: boolean;
2357
+ }): Request<GoogleLongrunningOperation>;
2358
+ /** Get a single Pipeline. */
2359
+ get(request?: {
2360
+ /** V1 error format. */
2361
+ '$.xgafv'?: string;
2362
+ /** OAuth access token. */
2363
+ access_token?: string;
2364
+ /** Data format for response. */
2365
+ alt?: string;
2366
+ /** JSONP */
2367
+ callback?: string;
2368
+ /** Selector specifying which fields to include in a partial response. */
2369
+ fields?: string;
2370
+ /** 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. */
2371
+ key?: string;
2372
+ /** Required. The name of the pipeline to get. */
2373
+ name: string;
2374
+ /** OAuth 2.0 token for the current user. */
2375
+ oauth_token?: string;
2376
+ /** Returns response with indentations and line breaks. */
2377
+ prettyPrint?: boolean;
2378
+ /** 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. */
2379
+ quotaUser?: string;
2380
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2381
+ upload_protocol?: string;
2382
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2383
+ uploadType?: string;
2384
+ }): Request<Pipeline>;
1314
2385
  /** Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. */
1315
2386
  getIamPolicy(request?: {
1316
2387
  /** V1 error format. */
@@ -1340,6 +2411,111 @@ declare namespace gapi.client {
1340
2411
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1341
2412
  uploadType?: string;
1342
2413
  }): Request<Policy>;
2414
+ /** List pipelines. */
2415
+ list(request?: {
2416
+ /** V1 error format. */
2417
+ '$.xgafv'?: string;
2418
+ /** OAuth access token. */
2419
+ access_token?: string;
2420
+ /** Data format for response. */
2421
+ alt?: string;
2422
+ /** JSONP */
2423
+ callback?: string;
2424
+ /** Selector specifying which fields to include in a partial response. */
2425
+ fields?: string;
2426
+ /** Optional. The filter field that the list request will filter on. Possible filters are described in https://google.aip.dev/160. */
2427
+ filter?: string;
2428
+ /** 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. */
2429
+ key?: string;
2430
+ /** OAuth 2.0 token for the current user. */
2431
+ oauth_token?: string;
2432
+ /** Optional. The sorting order of the resources returned. Value should be a comma-separated list of fields. The default sorting order is ascending. To specify descending order for a field, append a `desc` suffix; for example: `name desc, update_time`. */
2433
+ orderBy?: string;
2434
+ /** Optional. The maximum number of results to return on each page. Note: The service may send fewer. */
2435
+ pageSize?: number;
2436
+ /** Optional. The page token; provide the value from the `next_page_token` field in a previous call to retrieve the subsequent page. When paginating, all other parameters provided must match the previous call that provided the page token. */
2437
+ pageToken?: string;
2438
+ /** Required. The parent collection to list pipelines on. */
2439
+ parent: string;
2440
+ /** Returns response with indentations and line breaks. */
2441
+ prettyPrint?: boolean;
2442
+ /** 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. */
2443
+ quotaUser?: string;
2444
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2445
+ upload_protocol?: string;
2446
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2447
+ uploadType?: string;
2448
+ }): Request<ListPipelinesResponse>;
2449
+ /** Update a single pipeline. */
2450
+ patch(request: {
2451
+ /** V1 error format. */
2452
+ '$.xgafv'?: string;
2453
+ /** OAuth access token. */
2454
+ access_token?: string;
2455
+ /** Optional. If set to true, and the Pipeline is not found, a new Pipeline will be created. In this situation, `update_mask` is ignored. */
2456
+ allowMissing?: boolean;
2457
+ /** Data format for response. */
2458
+ alt?: string;
2459
+ /** JSONP */
2460
+ callback?: string;
2461
+ /** Selector specifying which fields to include in a partial response. */
2462
+ fields?: string;
2463
+ /** 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. */
2464
+ key?: string;
2465
+ /** 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. */
2466
+ name: string;
2467
+ /** OAuth 2.0 token for the current user. */
2468
+ oauth_token?: string;
2469
+ /** Returns response with indentations and line breaks. */
2470
+ prettyPrint?: boolean;
2471
+ /** 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. */
2472
+ quotaUser?: string;
2473
+ /** Optional. The fields to be updated; only fields explicitly provided are updated. If no field mask is provided, all provided fields in the request are updated. To update all fields, provide a field mask of "*". */
2474
+ updateMask?: string;
2475
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2476
+ upload_protocol?: string;
2477
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2478
+ uploadType?: string;
2479
+ /** Optional. If set, validate the request and preview the review, but do not post it. */
2480
+ validateOnly?: boolean;
2481
+ /** Request body */
2482
+ resource: Pipeline;
2483
+ }): Request<GoogleLongrunningOperation>;
2484
+ patch(
2485
+ request: {
2486
+ /** V1 error format. */
2487
+ '$.xgafv'?: string;
2488
+ /** OAuth access token. */
2489
+ access_token?: string;
2490
+ /** Optional. If set to true, and the Pipeline is not found, a new Pipeline will be created. In this situation, `update_mask` is ignored. */
2491
+ allowMissing?: boolean;
2492
+ /** Data format for response. */
2493
+ alt?: string;
2494
+ /** JSONP */
2495
+ callback?: string;
2496
+ /** Selector specifying which fields to include in a partial response. */
2497
+ fields?: string;
2498
+ /** 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. */
2499
+ key?: string;
2500
+ /** 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. */
2501
+ name: string;
2502
+ /** OAuth 2.0 token for the current user. */
2503
+ oauth_token?: string;
2504
+ /** Returns response with indentations and line breaks. */
2505
+ prettyPrint?: boolean;
2506
+ /** 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. */
2507
+ quotaUser?: string;
2508
+ /** Optional. The fields to be updated; only fields explicitly provided are updated. If no field mask is provided, all provided fields in the request are updated. To update all fields, provide a field mask of "*". */
2509
+ updateMask?: string;
2510
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2511
+ upload_protocol?: string;
2512
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2513
+ uploadType?: string;
2514
+ /** Optional. If set, validate the request and preview the review, but do not post it. */
2515
+ validateOnly?: boolean;
2516
+ },
2517
+ body: Pipeline
2518
+ ): Request<GoogleLongrunningOperation>;
1343
2519
  /** Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. */
1344
2520
  setIamPolicy(
1345
2521
  request: {