@googleapis/alloydb 19.1.0 → 21.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/build/v1beta.d.ts CHANGED
@@ -605,13 +605,9 @@ export declare namespace alloydb_v1beta {
605
605
  */
606
606
  export interface Schema$ConnectionPoolConfig {
607
607
  /**
608
- * Optional. Deprecated. Use 'flags' instead. The default pool size. Defaults to 20. Note: This field should not be added to client libraries if not present already.
608
+ * Output only. The number of running AuthProxy poolers per instance.
609
609
  */
610
- defaultPoolSize?: string | null;
611
- /**
612
- * Optional. Deprecated; Prefer 'enabled' as this will be removed soon.
613
- */
614
- enable?: boolean | null;
610
+ authproxyPoolerCount?: number | null;
615
611
  /**
616
612
  * Optional. Whether to enable Managed Connection Pool (MCP).
617
613
  */
@@ -622,42 +618,10 @@ export declare namespace alloydb_v1beta {
622
618
  flags?: {
623
619
  [key: string]: string;
624
620
  } | null;
625
- /**
626
- * Optional. Deprecated. Use 'flags' instead. The list of startup parameters to ignore. Defaults to ["extra_float_digits"] Note: This field should not be added to client libraries if not present already.
627
- */
628
- ignoreStartupParameters?: string[] | null;
629
- /**
630
- * Optional. Deprecated. Use 'flags' instead. The maximum number of client connections allowed. Note: This field should not be added to client libraries if not present already.
631
- */
632
- maxClientConn?: string | null;
633
- /**
634
- * Optional. Deprecated. Use 'flags' instead. The maximum number of prepared statements allowed. MCP makes sure that any statement prepared by a client, up to this limit, is available on the backing server connection in transaction and statement pooling mode. Even if the statement was originally prepared on another server connection. Defaults to 0. Note: This field should not be added to client libraries if not present already.
635
- */
636
- maxPreparedStatements?: string | null;
637
- /**
638
- * Optional. Deprecated. Use 'flags' instead. The minimum pool size. Defaults to 0. Note: This field should not be added to client libraries if not present already.
639
- */
640
- minPoolSize?: string | null;
641
621
  /**
642
622
  * Output only. The number of running poolers per instance.
643
623
  */
644
624
  poolerCount?: number | null;
645
- /**
646
- * Optional. Deprecated. Use 'flags' instead. The pool mode. Defaults to `POOL_MODE_TRANSACTION`. Note: This field should not be added to client libraries if not present already.
647
- */
648
- poolMode?: string | null;
649
- /**
650
- * Optional. Deprecated. Use 'flags' instead. The maximum number of seconds queries are allowed to spend waiting for execution. If the query is not assigned to a server during that time, the client is disconnected. 0 disables. Note: This field should not be added to client libraries if not present already.
651
- */
652
- queryWaitTimeout?: string | null;
653
- /**
654
- * Optional. Deprecated. Use 'flags' instead. The maximum number of seconds a server is allowed to be idle before it is disconnected. 0 disables. Note: This field should not be added to client libraries if not present already.
655
- */
656
- serverIdleTimeout?: string | null;
657
- /**
658
- * Optional. Deprecated. Use 'flags' instead. The list of users that are allowed to connect to the MCP stats console. The users must exist in the database. Note: This field should not be added to client libraries if not present already.
659
- */
660
- statsUsers?: string[] | null;
661
625
  }
662
626
  /**
663
627
  * ContinuousBackupConfig describes the continuous backups recovery configurations of a cluster.
@@ -791,6 +755,19 @@ export declare namespace alloydb_v1beta {
791
755
  */
792
756
  time?: Schema$GoogleTypeTimeOfDay;
793
757
  }
758
+ /**
759
+ * The DNS config for the endpoint, containing the DNS record name, type and targets.
760
+ */
761
+ export interface Schema$DNSConfig {
762
+ /**
763
+ * The fully qualified domain name (FQDN) of the DNS record, e.g., ".location.alloydb-psa.goog".
764
+ */
765
+ dnsName?: string | null;
766
+ /**
767
+ * The type of the DNS record, e.g., "A", "AAAA", "CNAME".
768
+ */
769
+ dnsRecordType?: string | null;
770
+ }
794
771
  /**
795
772
  * A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); \}
796
773
  */
@@ -818,6 +795,69 @@ export declare namespace alloydb_v1beta {
818
795
  */
819
796
  kmsKeyVersions?: string[] | null;
820
797
  }
798
+ /**
799
+ * Endpoint resource.
800
+ */
801
+ export interface Schema$Endpoint {
802
+ /**
803
+ * Annotations to allow client tools to store small amount of arbitrary data. This is distinct from labels. https://google.aip.dev/128
804
+ */
805
+ annotations?: {
806
+ [key: string]: string;
807
+ } | null;
808
+ /**
809
+ * Output only. Create time stamp
810
+ */
811
+ createTime?: string | null;
812
+ /**
813
+ * Output only. Delete time stamp
814
+ */
815
+ deleteTime?: string | null;
816
+ /**
817
+ * User-settable and human-readable display name for the Endpoint.
818
+ */
819
+ displayName?: string | null;
820
+ /**
821
+ * Output only. The DNS config for the endpoint. Each endpoint is associated with a specific DNS name and the DNS type. The DNS targets are the IP addresses of the target instances. The dns_type is the type of the DNS record, eg. Type "A" or Type "CNAME". This field is not configurable by the user, and it is updated when user specifies the target instances.
822
+ */
823
+ dnsConfig?: Schema$DNSConfig;
824
+ /**
825
+ * Output only. The effective target instances that the endpoint is associated with. This is a list of target instance names, e.g. projects/{project_number\}/locations/{location\}/clusters/{cluster_id\}/instances/{instance_id\} For write endpoint, there is only one effective target instance which has to be a primary instance. Effective target instances are only different from target instances after a switchover or cross-region failover operation. Otherwise, effective_target_instances are the same as target_instances. Note that after a cross-region failover operation, the effective_target_instances can be stale until the operation to update the endpoint is complete.
826
+ */
827
+ effectiveTargetInstances?: string[] | null;
828
+ /**
829
+ * The type of the endpoint, either write or read.
830
+ */
831
+ endpointType?: string | null;
832
+ /**
833
+ * For Resource freshness validation (https://google.aip.dev/154)
834
+ */
835
+ etag?: string | null;
836
+ /**
837
+ * Output only. Identifier. The name of the endpoint resource with the format: * projects/{project\}/locations/{region\}/endpoints/{endpoint_id\} where the endpoint ID segment should satisfy the regex expression `[a-z0-9-]+`. For more details see https://google.aip.dev/122. The prefix of the endpoint resource name is the name of the parent resource: * projects/{project\}/locations/{region\}
838
+ */
839
+ name?: string | null;
840
+ /**
841
+ * Output only. Reconciling (https://google.aip.dev/128#reconciliation). Set to true if the current state of Endpoint does not match the user's intended state, and the service is actively updating the Endpoint to reconcile them. This can happen due to user-triggered updates or system actions like failover or maintenance.
842
+ */
843
+ reconciling?: boolean | null;
844
+ /**
845
+ * Output only. The state of the endpoint.
846
+ */
847
+ state?: string | null;
848
+ /**
849
+ * The names of the target instances for the endpoint, should be of format projects/{project\}/locations/{region\}/clusters/{cluster\}/instances/{instance\}. For write endpoint, there is only one target instance which has to be a primary instance. For read endpoint, there can be multiple target instances which can be read or secondary instances. After a cross-region failover or switchover operation, the endpoint will be associated with a different target instance. This change will be reflected in the effective_target_instances field.
850
+ */
851
+ targetInstances?: string[] | null;
852
+ /**
853
+ * Output only. The system-generated UID of the resource. The UID is assigned when the resource is created, and it is retained until it is deleted.
854
+ */
855
+ uid?: string | null;
856
+ /**
857
+ * Output only. Update time stamp
858
+ */
859
+ updateTime?: string | null;
860
+ }
821
861
  /**
822
862
  * Export cluster request.
823
863
  */
@@ -1166,7 +1206,7 @@ export declare namespace alloydb_v1beta {
1166
1206
  */
1167
1207
  export interface Schema$InstanceNetworkConfig {
1168
1208
  /**
1169
- * Optional. Name of the allocated IP range for the private IP AlloyDB instance, for example: "google-managed-services-default". If set, the instance IPs will be created from this allocated range and will override the IP range used by the parent cluster. The range name must comply with [RFC 1035](http://datatracker.ietf.org/doc/html/rfc1035). Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])?.
1209
+ * Optional. Name of the allocated IP range for the private IP AlloyDB instance, for example: "google-managed-services-default". If set, the instance IPs will be created from this allocated range and will override the IP range used by the parent cluster. The range name must comply with [RFC 1035](https://datatracker.ietf.org/doc/html/rfc1035). Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])?.
1170
1210
  */
1171
1211
  allocatedIpRangeOverride?: string | null;
1172
1212
  /**
@@ -1250,6 +1290,23 @@ export declare namespace alloydb_v1beta {
1250
1290
  */
1251
1291
  unreachable?: string[] | null;
1252
1292
  }
1293
+ /**
1294
+ * Message for response to listing Endpoints
1295
+ */
1296
+ export interface Schema$ListEndpointsResponse {
1297
+ /**
1298
+ * The list of Endpoints
1299
+ */
1300
+ endpoints?: Schema$Endpoint[];
1301
+ /**
1302
+ * A token identifying a page of results the server should return.
1303
+ */
1304
+ nextPageToken?: string | null;
1305
+ /**
1306
+ * Locations that could not be reached.
1307
+ */
1308
+ unreachable?: string[] | null;
1309
+ }
1253
1310
  /**
1254
1311
  * Message for response to listing Instances
1255
1312
  */
@@ -1404,6 +1461,10 @@ export declare namespace alloydb_v1beta {
1404
1461
  * Output only. The private IP address of the VM e.g. "10.57.0.34".
1405
1462
  */
1406
1463
  ip?: string | null;
1464
+ /**
1465
+ * Output only. Indicates whether the node set up to be configured as a hot standby.
1466
+ */
1467
+ isHotStandby?: boolean | null;
1407
1468
  /**
1408
1469
  * Output only. Determined by state of the compute VM and postgres-service health. Compute VM state can have values listed in https://cloud.google.com/compute/docs/instances/instance-life-cycle and postgres-service health can have values: HEALTHY and UNHEALTHY.
1409
1470
  */
@@ -1445,6 +1506,10 @@ export declare namespace alloydb_v1beta {
1445
1506
  * Track actively running queries on the instance. If not set, this flag is "off" by default.
1446
1507
  */
1447
1508
  trackActiveQueries?: boolean | null;
1509
+ /**
1510
+ * Indicates whether to track active query plans for an instance. If not set, the default value is "off". Can only be enabled if track_active_queries is enabled.
1511
+ */
1512
+ trackActiveQueryPlan?: boolean | null;
1448
1513
  /**
1449
1514
  * Track client address for an instance. If not set, default value is "off".
1450
1515
  */
@@ -1562,6 +1627,10 @@ export declare namespace alloydb_v1beta {
1562
1627
  * Optional. The current etag of the Cluster. If an etag is provided and does not match the current etag of the Cluster, deletion will be blocked and an ABORTED error will be returned.
1563
1628
  */
1564
1629
  etag?: string | null;
1630
+ /**
1631
+ * Optional. If set, the promote operation will attempt to recreate the original primary cluster as a secondary cluster when it comes back online. Otherwise, the promoted cluster will be a standalone cluster. Currently only supported when there is a single secondary cluster.
1632
+ */
1633
+ failover?: boolean | null;
1565
1634
  /**
1566
1635
  * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server ignores the request if it has already been completed. The server guarantees that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
1567
1636
  */
@@ -2196,7 +2265,7 @@ export declare namespace alloydb_v1beta {
2196
2265
  uniqueId?: string | null;
2197
2266
  }
2198
2267
  /**
2199
- * Common model for database resource instance metadata. Next ID: 30
2268
+ * Common model for database resource instance metadata. Next ID: 32
2200
2269
  */
2201
2270
  export interface Schema$StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata {
2202
2271
  /**
@@ -2267,6 +2336,10 @@ export declare namespace alloydb_v1beta {
2267
2336
  * Optional. Maintenance info for the resource.
2268
2337
  */
2269
2338
  maintenanceInfo?: Schema$StorageDatabasecenterPartnerapiV1mainResourceMaintenanceInfo;
2339
+ /**
2340
+ * Optional. The modes of the database resource.
2341
+ */
2342
+ modes?: string[] | null;
2270
2343
  /**
2271
2344
  * Identifier for this resource's immediate parent/primary resource if the current resource is a replica or derived form of another Database resource. Else it would be NULL. REQUIRED if the immediate parent exists when first time resource is getting ingested, otherwise optional.
2272
2345
  */
@@ -2283,6 +2356,10 @@ export declare namespace alloydb_v1beta {
2283
2356
  * Closest parent Cloud Resource Manager container of this resource. It must be resource name of a Cloud Resource Manager project with the format of "/", such as "projects/123". For GCP provided resources, number should be project number.
2284
2357
  */
2285
2358
  resourceContainer?: string | null;
2359
+ /**
2360
+ * Optional. List of resource flags for the database resource.
2361
+ */
2362
+ resourceFlags?: Schema$StorageDatabasecenterPartnerapiV1mainResourceFlags[];
2286
2363
  /**
2287
2364
  * Required. Different from DatabaseResourceId.unique_id, a resource name can be reused over time. That is, after a resource named "ABC" is deleted, the name "ABC" can be used to to create a new resource within the same source. Resource name to follow CAIS resource_name format as noted here go/condor-common-datamodel
2288
2365
  */
@@ -2348,9 +2425,13 @@ export declare namespace alloydb_v1beta {
2348
2425
  signalType?: string | null;
2349
2426
  }
2350
2427
  /**
2351
- * Database resource signal data. This is used to send signals to Condor which are based on the DB/Instance/Fleet level configurations. These will be used to send signals for all inventory types. Next ID: 7
2428
+ * Database resource signal data. This is used to send signals to Condor which are based on the DB/Instance/Fleet level configurations. These will be used to send signals for all inventory types. Next ID: 10
2352
2429
  */
2353
2430
  export interface Schema$StorageDatabasecenterPartnerapiV1mainDatabaseResourceSignalData {
2431
+ /**
2432
+ * Deprecated: Use signal_metadata_list instead.
2433
+ */
2434
+ backupRun?: Schema$StorageDatabasecenterPartnerapiV1mainBackupRun;
2354
2435
  /**
2355
2436
  * Required. Full Resource name of the source resource.
2356
2437
  */
@@ -2359,14 +2440,22 @@ export declare namespace alloydb_v1beta {
2359
2440
  * Required. Last time signal was refreshed
2360
2441
  */
2361
2442
  lastRefreshTime?: string | null;
2443
+ /**
2444
+ * Required. Resource location.
2445
+ */
2446
+ location?: string | null;
2362
2447
  /**
2363
2448
  * Database resource id.
2364
2449
  */
2365
2450
  resourceId?: Schema$StorageDatabasecenterPartnerapiV1mainDatabaseResourceId;
2366
2451
  /**
2367
- * Signal data for boolean signals.
2452
+ * Deprecated: Use signal_metadata_list instead.
2368
2453
  */
2369
2454
  signalBoolValue?: boolean | null;
2455
+ /**
2456
+ * This will support array of OneOf signal metadata information for a given signal type.
2457
+ */
2458
+ signalMetadataList?: Schema$StorageDatabasecenterPartnerapiV1mainSignalMetadata[];
2370
2459
  /**
2371
2460
  * Required. Output only. Signal state of the signal
2372
2461
  */
@@ -2486,6 +2575,19 @@ export declare namespace alloydb_v1beta {
2486
2575
  */
2487
2576
  message?: string | null;
2488
2577
  }
2578
+ /**
2579
+ * Message type for storing resource flags.
2580
+ */
2581
+ export interface Schema$StorageDatabasecenterPartnerapiV1mainResourceFlags {
2582
+ /**
2583
+ * Optional. Key of the resource flag.
2584
+ */
2585
+ key?: string | null;
2586
+ /**
2587
+ * Optional. Value of the resource flag.
2588
+ */
2589
+ value?: string | null;
2590
+ }
2489
2591
  /**
2490
2592
  * Deny maintenance period for the database resource. It specifies the time range during which the maintenance cannot start. This is configured by the customer.
2491
2593
  */
@@ -2507,10 +2609,18 @@ export declare namespace alloydb_v1beta {
2507
2609
  * MaintenanceInfo to capture the maintenance details of database resource.
2508
2610
  */
2509
2611
  export interface Schema$StorageDatabasecenterPartnerapiV1mainResourceMaintenanceInfo {
2612
+ /**
2613
+ * Optional. The date when the current maintenance version was released.
2614
+ */
2615
+ currentVersionReleaseDate?: Schema$GoogleTypeDate;
2510
2616
  /**
2511
2617
  * Optional. List of Deny maintenance period for the database resource.
2512
2618
  */
2513
2619
  denyMaintenanceSchedules?: Schema$StorageDatabasecenterPartnerapiV1mainResourceMaintenanceDenySchedule[];
2620
+ /**
2621
+ * Optional. Whether the instance is in stopped state. This information is temporarily being captured in maintenanceInfo, till STOPPED state is supported by DB Center.
2622
+ */
2623
+ isInstanceStopped?: boolean | null;
2514
2624
  /**
2515
2625
  * Optional. Maintenance window for the database resource.
2516
2626
  */
@@ -2561,6 +2671,19 @@ export declare namespace alloydb_v1beta {
2561
2671
  */
2562
2672
  timestampBasedRetentionTime?: string | null;
2563
2673
  }
2674
+ /**
2675
+ * SignalMetadata contains one of the signal metadata proto messages associated with a SignalType. This proto will be mapped to SignalMetadata message in storage.proto. Next ID: 3
2676
+ */
2677
+ export interface Schema$StorageDatabasecenterPartnerapiV1mainSignalMetadata {
2678
+ /**
2679
+ * Signal data for backup runs.
2680
+ */
2681
+ backupRun?: Schema$StorageDatabasecenterPartnerapiV1mainBackupRun;
2682
+ /**
2683
+ * Signal data for boolean signals.
2684
+ */
2685
+ signalBoolValue?: boolean | null;
2686
+ }
2564
2687
  /**
2565
2688
  * Message type for storing tags. Tags provide a way to create annotations for resources, and in some cases conditionally allow or deny policies based on whether a resource has a specific tag.
2566
2689
  */
@@ -2865,6 +2988,7 @@ export declare namespace alloydb_v1beta {
2865
2988
  context: APIRequestContext;
2866
2989
  backups: Resource$Projects$Locations$Backups;
2867
2990
  clusters: Resource$Projects$Locations$Clusters;
2991
+ endpoints: Resource$Projects$Locations$Endpoints;
2868
2992
  operations: Resource$Projects$Locations$Operations;
2869
2993
  supportedDatabaseFlags: Resource$Projects$Locations$Supporteddatabaseflags;
2870
2994
  constructor(context: APIRequestContext);
@@ -2933,7 +3057,7 @@ export declare namespace alloydb_v1beta {
2933
3057
  get(params: Params$Resource$Projects$Locations$Get, callback: BodyResponseCallback<Schema$GoogleCloudLocationLocation>): void;
2934
3058
  get(callback: BodyResponseCallback<Schema$GoogleCloudLocationLocation>): void;
2935
3059
  /**
2936
- * Lists information about the supported locations for this service.
3060
+ * Lists information about the supported locations for this service. This method lists locations based on the resource scope provided in the ListLocationsRequest.name field: * **Global locations**: If `name` is empty, the method lists the public locations available to all projects. * **Project-specific locations**: If `name` follows the format `projects/{project\}`, the method lists locations visible to that specific project. This includes public, private, or other project-specific locations enabled for the project. For gRPC and client library implementations, the resource name is passed as the `name` field. For direct service calls, the resource name is incorporated into the request path based on the specific service implementation and version.
2937
3061
  * @example
2938
3062
  * ```js
2939
3063
  * // Before running the sample:
@@ -2963,7 +3087,7 @@ export declare namespace alloydb_v1beta {
2963
3087
  *
2964
3088
  * // Do the magic
2965
3089
  * const res = await alloydb.projects.locations.list({
2966
- * // Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage.
3090
+ * // Optional. Do not use this field unless explicitly documented otherwise. This is primarily for internal usage.
2967
3091
  * extraLocationTypes: 'placeholder-value',
2968
3092
  * // A filter to narrow down results to a preferred subset. The filtering language accepts strings like `"displayName=tokyo"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160).
2969
3093
  * filter: 'placeholder-value',
@@ -3010,7 +3134,7 @@ export declare namespace alloydb_v1beta {
3010
3134
  }
3011
3135
  export interface Params$Resource$Projects$Locations$List extends StandardParameters {
3012
3136
  /**
3013
- * Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage.
3137
+ * Optional. Do not use this field unless explicitly documented otherwise. This is primarily for internal usage.
3014
3138
  */
3015
3139
  extraLocationTypes?: string[];
3016
3140
  /**
@@ -4361,6 +4485,7 @@ export declare namespace alloydb_v1beta {
4361
4485
  * // request body parameters
4362
4486
  * // {
4363
4487
  * // "etag": "my_etag",
4488
+ * // "failover": false,
4364
4489
  * // "requestId": "my_requestId",
4365
4490
  * // "validateOnly": false
4366
4491
  * // }
@@ -6377,6 +6502,501 @@ export declare namespace alloydb_v1beta {
6377
6502
  */
6378
6503
  requestBody?: Schema$User;
6379
6504
  }
6505
+ export class Resource$Projects$Locations$Endpoints {
6506
+ context: APIRequestContext;
6507
+ constructor(context: APIRequestContext);
6508
+ /**
6509
+ * Creates a new Endpoint in a given project and location.
6510
+ * @example
6511
+ * ```js
6512
+ * // Before running the sample:
6513
+ * // - Enable the API at:
6514
+ * // https://console.developers.google.com/apis/api/alloydb.googleapis.com
6515
+ * // - Login into gcloud by running:
6516
+ * // ```sh
6517
+ * // $ gcloud auth application-default login
6518
+ * // ```
6519
+ * // - Install the npm module by running:
6520
+ * // ```sh
6521
+ * // $ npm install googleapis
6522
+ * // ```
6523
+ *
6524
+ * const {google} = require('googleapis');
6525
+ * const alloydb = google.alloydb('v1beta');
6526
+ *
6527
+ * async function main() {
6528
+ * const auth = new google.auth.GoogleAuth({
6529
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
6530
+ * scopes: ['https://www.googleapis.com/auth/cloud-platform'],
6531
+ * });
6532
+ *
6533
+ * // Acquire an auth client, and bind it to all future calls
6534
+ * const authClient = await auth.getClient();
6535
+ * google.options({auth: authClient});
6536
+ *
6537
+ * // Do the magic
6538
+ * const res = await alloydb.projects.locations.endpoints.create({
6539
+ * // Required. ID of the requesting object.
6540
+ * endpointId: 'placeholder-value',
6541
+ * // Required. The location of the new endpoint. For the required format, see the comment on the Endpoint.name field.
6542
+ * parent: 'projects/my-project/locations/my-location',
6543
+ * // Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server ignores the request if it has already been completed. The server guarantees that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if the original operation with the same request ID was received, and if so, ignores the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
6544
+ * requestId: 'placeholder-value',
6545
+ * // Optional. If set, the backend validates the request, but doesn't actually execute it.
6546
+ * validateOnly: 'placeholder-value',
6547
+ *
6548
+ * // Request body metadata
6549
+ * requestBody: {
6550
+ * // request body parameters
6551
+ * // {
6552
+ * // "annotations": {},
6553
+ * // "createTime": "my_createTime",
6554
+ * // "deleteTime": "my_deleteTime",
6555
+ * // "displayName": "my_displayName",
6556
+ * // "dnsConfig": {},
6557
+ * // "effectiveTargetInstances": [],
6558
+ * // "endpointType": "my_endpointType",
6559
+ * // "etag": "my_etag",
6560
+ * // "name": "my_name",
6561
+ * // "reconciling": false,
6562
+ * // "state": "my_state",
6563
+ * // "targetInstances": [],
6564
+ * // "uid": "my_uid",
6565
+ * // "updateTime": "my_updateTime"
6566
+ * // }
6567
+ * },
6568
+ * });
6569
+ * console.log(res.data);
6570
+ *
6571
+ * // Example response
6572
+ * // {
6573
+ * // "done": false,
6574
+ * // "error": {},
6575
+ * // "metadata": {},
6576
+ * // "name": "my_name",
6577
+ * // "response": {}
6578
+ * // }
6579
+ * }
6580
+ *
6581
+ * main().catch(e => {
6582
+ * console.error(e);
6583
+ * throw e;
6584
+ * });
6585
+ *
6586
+ * ```
6587
+ *
6588
+ * @param params - Parameters for request
6589
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
6590
+ * @param callback - Optional callback that handles the response.
6591
+ * @returns A promise if used with async/await, or void if used with a callback.
6592
+ */
6593
+ create(params: Params$Resource$Projects$Locations$Endpoints$Create, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
6594
+ create(params?: Params$Resource$Projects$Locations$Endpoints$Create, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
6595
+ create(params: Params$Resource$Projects$Locations$Endpoints$Create, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
6596
+ create(params: Params$Resource$Projects$Locations$Endpoints$Create, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
6597
+ create(params: Params$Resource$Projects$Locations$Endpoints$Create, callback: BodyResponseCallback<Schema$Operation>): void;
6598
+ create(callback: BodyResponseCallback<Schema$Operation>): void;
6599
+ /**
6600
+ * Deletes a single Endpoint.
6601
+ * @example
6602
+ * ```js
6603
+ * // Before running the sample:
6604
+ * // - Enable the API at:
6605
+ * // https://console.developers.google.com/apis/api/alloydb.googleapis.com
6606
+ * // - Login into gcloud by running:
6607
+ * // ```sh
6608
+ * // $ gcloud auth application-default login
6609
+ * // ```
6610
+ * // - Install the npm module by running:
6611
+ * // ```sh
6612
+ * // $ npm install googleapis
6613
+ * // ```
6614
+ *
6615
+ * const {google} = require('googleapis');
6616
+ * const alloydb = google.alloydb('v1beta');
6617
+ *
6618
+ * async function main() {
6619
+ * const auth = new google.auth.GoogleAuth({
6620
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
6621
+ * scopes: ['https://www.googleapis.com/auth/cloud-platform'],
6622
+ * });
6623
+ *
6624
+ * // Acquire an auth client, and bind it to all future calls
6625
+ * const authClient = await auth.getClient();
6626
+ * google.options({auth: authClient});
6627
+ *
6628
+ * // Do the magic
6629
+ * const res = await alloydb.projects.locations.endpoints.delete({
6630
+ * // Optional. The current etag of the Endpoint. If an etag is provided and does not match the current etag of the Endpoint, deletion will be blocked and an ABORTED error will be returned.
6631
+ * etag: 'placeholder-value',
6632
+ * // Required. The name of the resource. For the required format, see the comment on the Endpoint.name field.
6633
+ * name: 'projects/my-project/locations/my-location/endpoints/my-endpoint',
6634
+ * // Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server ignores the request if it has already been completed. The server guarantees that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if the original operation with the same request ID was received, and if so, ignores the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
6635
+ * requestId: 'placeholder-value',
6636
+ * // Optional. If set, the backend validates the request, but doesn't actually execute it.
6637
+ * validateOnly: 'placeholder-value',
6638
+ * });
6639
+ * console.log(res.data);
6640
+ *
6641
+ * // Example response
6642
+ * // {
6643
+ * // "done": false,
6644
+ * // "error": {},
6645
+ * // "metadata": {},
6646
+ * // "name": "my_name",
6647
+ * // "response": {}
6648
+ * // }
6649
+ * }
6650
+ *
6651
+ * main().catch(e => {
6652
+ * console.error(e);
6653
+ * throw e;
6654
+ * });
6655
+ *
6656
+ * ```
6657
+ *
6658
+ * @param params - Parameters for request
6659
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
6660
+ * @param callback - Optional callback that handles the response.
6661
+ * @returns A promise if used with async/await, or void if used with a callback.
6662
+ */
6663
+ delete(params: Params$Resource$Projects$Locations$Endpoints$Delete, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
6664
+ delete(params?: Params$Resource$Projects$Locations$Endpoints$Delete, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
6665
+ delete(params: Params$Resource$Projects$Locations$Endpoints$Delete, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
6666
+ delete(params: Params$Resource$Projects$Locations$Endpoints$Delete, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
6667
+ delete(params: Params$Resource$Projects$Locations$Endpoints$Delete, callback: BodyResponseCallback<Schema$Operation>): void;
6668
+ delete(callback: BodyResponseCallback<Schema$Operation>): void;
6669
+ /**
6670
+ * Gets details of a single Endpoint.
6671
+ * @example
6672
+ * ```js
6673
+ * // Before running the sample:
6674
+ * // - Enable the API at:
6675
+ * // https://console.developers.google.com/apis/api/alloydb.googleapis.com
6676
+ * // - Login into gcloud by running:
6677
+ * // ```sh
6678
+ * // $ gcloud auth application-default login
6679
+ * // ```
6680
+ * // - Install the npm module by running:
6681
+ * // ```sh
6682
+ * // $ npm install googleapis
6683
+ * // ```
6684
+ *
6685
+ * const {google} = require('googleapis');
6686
+ * const alloydb = google.alloydb('v1beta');
6687
+ *
6688
+ * async function main() {
6689
+ * const auth = new google.auth.GoogleAuth({
6690
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
6691
+ * scopes: ['https://www.googleapis.com/auth/cloud-platform'],
6692
+ * });
6693
+ *
6694
+ * // Acquire an auth client, and bind it to all future calls
6695
+ * const authClient = await auth.getClient();
6696
+ * google.options({auth: authClient});
6697
+ *
6698
+ * // Do the magic
6699
+ * const res = await alloydb.projects.locations.endpoints.get({
6700
+ * // Required. The name of the resource. For the required format, see the comment on the Endpoint.name field.
6701
+ * name: 'projects/my-project/locations/my-location/endpoints/my-endpoint',
6702
+ * });
6703
+ * console.log(res.data);
6704
+ *
6705
+ * // Example response
6706
+ * // {
6707
+ * // "annotations": {},
6708
+ * // "createTime": "my_createTime",
6709
+ * // "deleteTime": "my_deleteTime",
6710
+ * // "displayName": "my_displayName",
6711
+ * // "dnsConfig": {},
6712
+ * // "effectiveTargetInstances": [],
6713
+ * // "endpointType": "my_endpointType",
6714
+ * // "etag": "my_etag",
6715
+ * // "name": "my_name",
6716
+ * // "reconciling": false,
6717
+ * // "state": "my_state",
6718
+ * // "targetInstances": [],
6719
+ * // "uid": "my_uid",
6720
+ * // "updateTime": "my_updateTime"
6721
+ * // }
6722
+ * }
6723
+ *
6724
+ * main().catch(e => {
6725
+ * console.error(e);
6726
+ * throw e;
6727
+ * });
6728
+ *
6729
+ * ```
6730
+ *
6731
+ * @param params - Parameters for request
6732
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
6733
+ * @param callback - Optional callback that handles the response.
6734
+ * @returns A promise if used with async/await, or void if used with a callback.
6735
+ */
6736
+ get(params: Params$Resource$Projects$Locations$Endpoints$Get, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
6737
+ get(params?: Params$Resource$Projects$Locations$Endpoints$Get, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Endpoint>>;
6738
+ get(params: Params$Resource$Projects$Locations$Endpoints$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
6739
+ get(params: Params$Resource$Projects$Locations$Endpoints$Get, options: MethodOptions | BodyResponseCallback<Schema$Endpoint>, callback: BodyResponseCallback<Schema$Endpoint>): void;
6740
+ get(params: Params$Resource$Projects$Locations$Endpoints$Get, callback: BodyResponseCallback<Schema$Endpoint>): void;
6741
+ get(callback: BodyResponseCallback<Schema$Endpoint>): void;
6742
+ /**
6743
+ * Lists Endpoints in a given project and location.
6744
+ * @example
6745
+ * ```js
6746
+ * // Before running the sample:
6747
+ * // - Enable the API at:
6748
+ * // https://console.developers.google.com/apis/api/alloydb.googleapis.com
6749
+ * // - Login into gcloud by running:
6750
+ * // ```sh
6751
+ * // $ gcloud auth application-default login
6752
+ * // ```
6753
+ * // - Install the npm module by running:
6754
+ * // ```sh
6755
+ * // $ npm install googleapis
6756
+ * // ```
6757
+ *
6758
+ * const {google} = require('googleapis');
6759
+ * const alloydb = google.alloydb('v1beta');
6760
+ *
6761
+ * async function main() {
6762
+ * const auth = new google.auth.GoogleAuth({
6763
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
6764
+ * scopes: ['https://www.googleapis.com/auth/cloud-platform'],
6765
+ * });
6766
+ *
6767
+ * // Acquire an auth client, and bind it to all future calls
6768
+ * const authClient = await auth.getClient();
6769
+ * google.options({auth: authClient});
6770
+ *
6771
+ * // Do the magic
6772
+ * const res = await alloydb.projects.locations.endpoints.list({
6773
+ * // Optional. Filtering results. This field is currently not supported, its value will be ignored if passed.
6774
+ * filter: 'placeholder-value',
6775
+ * // Optional. Hint for how to order the results
6776
+ * orderBy: 'placeholder-value',
6777
+ * // Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.
6778
+ * pageSize: 'placeholder-value',
6779
+ * // Optional. A page token, received from a previous `ListEndpoints` call. This should be provided to retrieve the subsequent page. This field is currently not supported, its value will be ignored if passed.
6780
+ * pageToken: 'placeholder-value',
6781
+ * // Required. The name of the parent resource. For the required format, see the comment on the Endpoint.name field. Additionally, you can perform an aggregated list operation by specifying a value with the following format: * projects/{project\}/locations/-
6782
+ * parent: 'projects/my-project/locations/my-location',
6783
+ * });
6784
+ * console.log(res.data);
6785
+ *
6786
+ * // Example response
6787
+ * // {
6788
+ * // "endpoints": [],
6789
+ * // "nextPageToken": "my_nextPageToken",
6790
+ * // "unreachable": []
6791
+ * // }
6792
+ * }
6793
+ *
6794
+ * main().catch(e => {
6795
+ * console.error(e);
6796
+ * throw e;
6797
+ * });
6798
+ *
6799
+ * ```
6800
+ *
6801
+ * @param params - Parameters for request
6802
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
6803
+ * @param callback - Optional callback that handles the response.
6804
+ * @returns A promise if used with async/await, or void if used with a callback.
6805
+ */
6806
+ list(params: Params$Resource$Projects$Locations$Endpoints$List, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
6807
+ list(params?: Params$Resource$Projects$Locations$Endpoints$List, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$ListEndpointsResponse>>;
6808
+ list(params: Params$Resource$Projects$Locations$Endpoints$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
6809
+ list(params: Params$Resource$Projects$Locations$Endpoints$List, options: MethodOptions | BodyResponseCallback<Schema$ListEndpointsResponse>, callback: BodyResponseCallback<Schema$ListEndpointsResponse>): void;
6810
+ list(params: Params$Resource$Projects$Locations$Endpoints$List, callback: BodyResponseCallback<Schema$ListEndpointsResponse>): void;
6811
+ list(callback: BodyResponseCallback<Schema$ListEndpointsResponse>): void;
6812
+ /**
6813
+ * Updates the parameters of a single Endpoint.
6814
+ * @example
6815
+ * ```js
6816
+ * // Before running the sample:
6817
+ * // - Enable the API at:
6818
+ * // https://console.developers.google.com/apis/api/alloydb.googleapis.com
6819
+ * // - Login into gcloud by running:
6820
+ * // ```sh
6821
+ * // $ gcloud auth application-default login
6822
+ * // ```
6823
+ * // - Install the npm module by running:
6824
+ * // ```sh
6825
+ * // $ npm install googleapis
6826
+ * // ```
6827
+ *
6828
+ * const {google} = require('googleapis');
6829
+ * const alloydb = google.alloydb('v1beta');
6830
+ *
6831
+ * async function main() {
6832
+ * const auth = new google.auth.GoogleAuth({
6833
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
6834
+ * scopes: ['https://www.googleapis.com/auth/cloud-platform'],
6835
+ * });
6836
+ *
6837
+ * // Acquire an auth client, and bind it to all future calls
6838
+ * const authClient = await auth.getClient();
6839
+ * google.options({auth: authClient});
6840
+ *
6841
+ * // Do the magic
6842
+ * const res = await alloydb.projects.locations.endpoints.patch({
6843
+ * // Optional. If set to true, update succeeds even if endpoint is not found. In that case, a new endpoint is created and `update_mask` is ignored.
6844
+ * allowMissing: 'placeholder-value',
6845
+ * // Output only. Identifier. The name of the endpoint resource with the format: * projects/{project\}/locations/{region\}/endpoints/{endpoint_id\} where the endpoint ID segment should satisfy the regex expression `[a-z0-9-]+`. For more details see https://google.aip.dev/122. The prefix of the endpoint resource name is the name of the parent resource: * projects/{project\}/locations/{region\}
6846
+ * name: 'projects/my-project/locations/my-location/endpoints/my-endpoint',
6847
+ * // Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server ignores the request if it has already been completed. The server guarantees that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if the original operation with the same request ID was received, and if so, ignores the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
6848
+ * requestId: 'placeholder-value',
6849
+ * // Optional. Field mask is used to specify the fields to be overwritten in the Endpoint resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.
6850
+ * updateMask: 'placeholder-value',
6851
+ * // Optional. If set, the backend validates the request, but doesn't actually execute it.
6852
+ * validateOnly: 'placeholder-value',
6853
+ *
6854
+ * // Request body metadata
6855
+ * requestBody: {
6856
+ * // request body parameters
6857
+ * // {
6858
+ * // "annotations": {},
6859
+ * // "createTime": "my_createTime",
6860
+ * // "deleteTime": "my_deleteTime",
6861
+ * // "displayName": "my_displayName",
6862
+ * // "dnsConfig": {},
6863
+ * // "effectiveTargetInstances": [],
6864
+ * // "endpointType": "my_endpointType",
6865
+ * // "etag": "my_etag",
6866
+ * // "name": "my_name",
6867
+ * // "reconciling": false,
6868
+ * // "state": "my_state",
6869
+ * // "targetInstances": [],
6870
+ * // "uid": "my_uid",
6871
+ * // "updateTime": "my_updateTime"
6872
+ * // }
6873
+ * },
6874
+ * });
6875
+ * console.log(res.data);
6876
+ *
6877
+ * // Example response
6878
+ * // {
6879
+ * // "done": false,
6880
+ * // "error": {},
6881
+ * // "metadata": {},
6882
+ * // "name": "my_name",
6883
+ * // "response": {}
6884
+ * // }
6885
+ * }
6886
+ *
6887
+ * main().catch(e => {
6888
+ * console.error(e);
6889
+ * throw e;
6890
+ * });
6891
+ *
6892
+ * ```
6893
+ *
6894
+ * @param params - Parameters for request
6895
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
6896
+ * @param callback - Optional callback that handles the response.
6897
+ * @returns A promise if used with async/await, or void if used with a callback.
6898
+ */
6899
+ patch(params: Params$Resource$Projects$Locations$Endpoints$Patch, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
6900
+ patch(params?: Params$Resource$Projects$Locations$Endpoints$Patch, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
6901
+ patch(params: Params$Resource$Projects$Locations$Endpoints$Patch, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
6902
+ patch(params: Params$Resource$Projects$Locations$Endpoints$Patch, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
6903
+ patch(params: Params$Resource$Projects$Locations$Endpoints$Patch, callback: BodyResponseCallback<Schema$Operation>): void;
6904
+ patch(callback: BodyResponseCallback<Schema$Operation>): void;
6905
+ }
6906
+ export interface Params$Resource$Projects$Locations$Endpoints$Create extends StandardParameters {
6907
+ /**
6908
+ * Required. ID of the requesting object.
6909
+ */
6910
+ endpointId?: string;
6911
+ /**
6912
+ * Required. The location of the new endpoint. For the required format, see the comment on the Endpoint.name field.
6913
+ */
6914
+ parent?: string;
6915
+ /**
6916
+ * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server ignores the request if it has already been completed. The server guarantees that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if the original operation with the same request ID was received, and if so, ignores the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
6917
+ */
6918
+ requestId?: string;
6919
+ /**
6920
+ * Optional. If set, the backend validates the request, but doesn't actually execute it.
6921
+ */
6922
+ validateOnly?: boolean;
6923
+ /**
6924
+ * Request body metadata
6925
+ */
6926
+ requestBody?: Schema$Endpoint;
6927
+ }
6928
+ export interface Params$Resource$Projects$Locations$Endpoints$Delete extends StandardParameters {
6929
+ /**
6930
+ * Optional. The current etag of the Endpoint. If an etag is provided and does not match the current etag of the Endpoint, deletion will be blocked and an ABORTED error will be returned.
6931
+ */
6932
+ etag?: string;
6933
+ /**
6934
+ * Required. The name of the resource. For the required format, see the comment on the Endpoint.name field.
6935
+ */
6936
+ name?: string;
6937
+ /**
6938
+ * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server ignores the request if it has already been completed. The server guarantees that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if the original operation with the same request ID was received, and if so, ignores the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
6939
+ */
6940
+ requestId?: string;
6941
+ /**
6942
+ * Optional. If set, the backend validates the request, but doesn't actually execute it.
6943
+ */
6944
+ validateOnly?: boolean;
6945
+ }
6946
+ export interface Params$Resource$Projects$Locations$Endpoints$Get extends StandardParameters {
6947
+ /**
6948
+ * Required. The name of the resource. For the required format, see the comment on the Endpoint.name field.
6949
+ */
6950
+ name?: string;
6951
+ }
6952
+ export interface Params$Resource$Projects$Locations$Endpoints$List extends StandardParameters {
6953
+ /**
6954
+ * Optional. Filtering results. This field is currently not supported, its value will be ignored if passed.
6955
+ */
6956
+ filter?: string;
6957
+ /**
6958
+ * Optional. Hint for how to order the results
6959
+ */
6960
+ orderBy?: string;
6961
+ /**
6962
+ * Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.
6963
+ */
6964
+ pageSize?: number;
6965
+ /**
6966
+ * Optional. A page token, received from a previous `ListEndpoints` call. This should be provided to retrieve the subsequent page. This field is currently not supported, its value will be ignored if passed.
6967
+ */
6968
+ pageToken?: string;
6969
+ /**
6970
+ * Required. The name of the parent resource. For the required format, see the comment on the Endpoint.name field. Additionally, you can perform an aggregated list operation by specifying a value with the following format: * projects/{project\}/locations/-
6971
+ */
6972
+ parent?: string;
6973
+ }
6974
+ export interface Params$Resource$Projects$Locations$Endpoints$Patch extends StandardParameters {
6975
+ /**
6976
+ * Optional. If set to true, update succeeds even if endpoint is not found. In that case, a new endpoint is created and `update_mask` is ignored.
6977
+ */
6978
+ allowMissing?: boolean;
6979
+ /**
6980
+ * Output only. Identifier. The name of the endpoint resource with the format: * projects/{project\}/locations/{region\}/endpoints/{endpoint_id\} where the endpoint ID segment should satisfy the regex expression `[a-z0-9-]+`. For more details see https://google.aip.dev/122. The prefix of the endpoint resource name is the name of the parent resource: * projects/{project\}/locations/{region\}
6981
+ */
6982
+ name?: string;
6983
+ /**
6984
+ * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server ignores the request if it has already been completed. The server guarantees that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if the original operation with the same request ID was received, and if so, ignores the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
6985
+ */
6986
+ requestId?: string;
6987
+ /**
6988
+ * Optional. Field mask is used to specify the fields to be overwritten in the Endpoint resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.
6989
+ */
6990
+ updateMask?: string;
6991
+ /**
6992
+ * Optional. If set, the backend validates the request, but doesn't actually execute it.
6993
+ */
6994
+ validateOnly?: boolean;
6995
+ /**
6996
+ * Request body metadata
6997
+ */
6998
+ requestBody?: Schema$Endpoint;
6999
+ }
6380
7000
  export class Resource$Projects$Locations$Operations {
6381
7001
  context: APIRequestContext;
6382
7002
  constructor(context: APIRequestContext);