@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.
@@ -618,13 +618,9 @@ export declare namespace alloydb_v1alpha {
618
618
  */
619
619
  export interface Schema$ConnectionPoolConfig {
620
620
  /**
621
- * 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.
621
+ * Output only. The number of running AuthProxy poolers per instance.
622
622
  */
623
- defaultPoolSize?: string | null;
624
- /**
625
- * Optional. Deprecated; Prefer 'enabled' as this will be removed soon.
626
- */
627
- enable?: boolean | null;
623
+ authproxyPoolerCount?: number | null;
628
624
  /**
629
625
  * Optional. Whether to enable Managed Connection Pool (MCP).
630
626
  */
@@ -635,42 +631,10 @@ export declare namespace alloydb_v1alpha {
635
631
  flags?: {
636
632
  [key: string]: string;
637
633
  } | null;
638
- /**
639
- * 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.
640
- */
641
- ignoreStartupParameters?: string[] | null;
642
- /**
643
- * 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.
644
- */
645
- maxClientConn?: string | null;
646
- /**
647
- * 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.
648
- */
649
- maxPreparedStatements?: string | null;
650
- /**
651
- * 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.
652
- */
653
- minPoolSize?: string | null;
654
634
  /**
655
635
  * Output only. The number of running poolers per instance.
656
636
  */
657
637
  poolerCount?: number | null;
658
- /**
659
- * 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.
660
- */
661
- poolMode?: string | null;
662
- /**
663
- * 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.
664
- */
665
- queryWaitTimeout?: string | null;
666
- /**
667
- * 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.
668
- */
669
- serverIdleTimeout?: string | null;
670
- /**
671
- * 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.
672
- */
673
- statsUsers?: string[] | null;
674
638
  }
675
639
  /**
676
640
  * ContinuousBackupConfig describes the continuous backups recovery configurations of a cluster.
@@ -804,6 +768,19 @@ export declare namespace alloydb_v1alpha {
804
768
  */
805
769
  time?: Schema$GoogleTypeTimeOfDay;
806
770
  }
771
+ /**
772
+ * The DNS config for the endpoint, containing the DNS record name, type and targets.
773
+ */
774
+ export interface Schema$DNSConfig {
775
+ /**
776
+ * The fully qualified domain name (FQDN) of the DNS record, e.g., ".location.alloydb-psa.goog".
777
+ */
778
+ dnsName?: string | null;
779
+ /**
780
+ * The type of the DNS record, e.g., "A", "AAAA", "CNAME".
781
+ */
782
+ dnsRecordType?: string | null;
783
+ }
807
784
  /**
808
785
  * 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); \}
809
786
  */
@@ -831,6 +808,69 @@ export declare namespace alloydb_v1alpha {
831
808
  */
832
809
  kmsKeyVersions?: string[] | null;
833
810
  }
811
+ /**
812
+ * Endpoint resource.
813
+ */
814
+ export interface Schema$Endpoint {
815
+ /**
816
+ * Annotations to allow client tools to store small amount of arbitrary data. This is distinct from labels. https://google.aip.dev/128
817
+ */
818
+ annotations?: {
819
+ [key: string]: string;
820
+ } | null;
821
+ /**
822
+ * Output only. Create time stamp
823
+ */
824
+ createTime?: string | null;
825
+ /**
826
+ * Output only. Delete time stamp
827
+ */
828
+ deleteTime?: string | null;
829
+ /**
830
+ * User-settable and human-readable display name for the Endpoint.
831
+ */
832
+ displayName?: string | null;
833
+ /**
834
+ * 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.
835
+ */
836
+ dnsConfig?: Schema$DNSConfig;
837
+ /**
838
+ * 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.
839
+ */
840
+ effectiveTargetInstances?: string[] | null;
841
+ /**
842
+ * The type of the endpoint, either write or read.
843
+ */
844
+ endpointType?: string | null;
845
+ /**
846
+ * For Resource freshness validation (https://google.aip.dev/154)
847
+ */
848
+ etag?: string | null;
849
+ /**
850
+ * 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\}
851
+ */
852
+ name?: string | null;
853
+ /**
854
+ * 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.
855
+ */
856
+ reconciling?: boolean | null;
857
+ /**
858
+ * Output only. The state of the endpoint.
859
+ */
860
+ state?: string | null;
861
+ /**
862
+ * 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.
863
+ */
864
+ targetInstances?: string[] | null;
865
+ /**
866
+ * 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.
867
+ */
868
+ uid?: string | null;
869
+ /**
870
+ * Output only. Update time stamp
871
+ */
872
+ updateTime?: string | null;
873
+ }
834
874
  /**
835
875
  * Export cluster request.
836
876
  */
@@ -1183,7 +1223,7 @@ export declare namespace alloydb_v1alpha {
1183
1223
  */
1184
1224
  export interface Schema$InstanceNetworkConfig {
1185
1225
  /**
1186
- * 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])?.
1226
+ * 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])?.
1187
1227
  */
1188
1228
  allocatedIpRangeOverride?: string | null;
1189
1229
  /**
@@ -1267,6 +1307,23 @@ export declare namespace alloydb_v1alpha {
1267
1307
  */
1268
1308
  unreachable?: string[] | null;
1269
1309
  }
1310
+ /**
1311
+ * Message for response to listing Endpoints
1312
+ */
1313
+ export interface Schema$ListEndpointsResponse {
1314
+ /**
1315
+ * The list of Endpoints
1316
+ */
1317
+ endpoints?: Schema$Endpoint[];
1318
+ /**
1319
+ * A token identifying a page of results the server should return.
1320
+ */
1321
+ nextPageToken?: string | null;
1322
+ /**
1323
+ * Locations that could not be reached.
1324
+ */
1325
+ unreachable?: string[] | null;
1326
+ }
1270
1327
  /**
1271
1328
  * Message for response to listing Instances
1272
1329
  */
@@ -1421,6 +1478,10 @@ export declare namespace alloydb_v1alpha {
1421
1478
  * Output only. The private IP address of the VM e.g. "10.57.0.34".
1422
1479
  */
1423
1480
  ip?: string | null;
1481
+ /**
1482
+ * Output only. Indicates whether the node set up to be configured as a hot standby.
1483
+ */
1484
+ isHotStandby?: boolean | null;
1424
1485
  /**
1425
1486
  * 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.
1426
1487
  */
@@ -1462,6 +1523,10 @@ export declare namespace alloydb_v1alpha {
1462
1523
  * Track actively running queries on the instance. If not set, this flag is "off" by default.
1463
1524
  */
1464
1525
  trackActiveQueries?: boolean | null;
1526
+ /**
1527
+ * 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.
1528
+ */
1529
+ trackActiveQueryPlan?: boolean | null;
1465
1530
  /**
1466
1531
  * Track client address for an instance. If not set, default value is "off".
1467
1532
  */
@@ -1579,6 +1644,10 @@ export declare namespace alloydb_v1alpha {
1579
1644
  * 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.
1580
1645
  */
1581
1646
  etag?: string | null;
1647
+ /**
1648
+ * 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.
1649
+ */
1650
+ failover?: boolean | null;
1582
1651
  /**
1583
1652
  * 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).
1584
1653
  */
@@ -2213,7 +2282,7 @@ export declare namespace alloydb_v1alpha {
2213
2282
  uniqueId?: string | null;
2214
2283
  }
2215
2284
  /**
2216
- * Common model for database resource instance metadata. Next ID: 30
2285
+ * Common model for database resource instance metadata. Next ID: 32
2217
2286
  */
2218
2287
  export interface Schema$StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata {
2219
2288
  /**
@@ -2284,6 +2353,10 @@ export declare namespace alloydb_v1alpha {
2284
2353
  * Optional. Maintenance info for the resource.
2285
2354
  */
2286
2355
  maintenanceInfo?: Schema$StorageDatabasecenterPartnerapiV1mainResourceMaintenanceInfo;
2356
+ /**
2357
+ * Optional. The modes of the database resource.
2358
+ */
2359
+ modes?: string[] | null;
2287
2360
  /**
2288
2361
  * 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.
2289
2362
  */
@@ -2300,6 +2373,10 @@ export declare namespace alloydb_v1alpha {
2300
2373
  * 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.
2301
2374
  */
2302
2375
  resourceContainer?: string | null;
2376
+ /**
2377
+ * Optional. List of resource flags for the database resource.
2378
+ */
2379
+ resourceFlags?: Schema$StorageDatabasecenterPartnerapiV1mainResourceFlags[];
2303
2380
  /**
2304
2381
  * 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
2305
2382
  */
@@ -2365,9 +2442,13 @@ export declare namespace alloydb_v1alpha {
2365
2442
  signalType?: string | null;
2366
2443
  }
2367
2444
  /**
2368
- * 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
2445
+ * 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
2369
2446
  */
2370
2447
  export interface Schema$StorageDatabasecenterPartnerapiV1mainDatabaseResourceSignalData {
2448
+ /**
2449
+ * Deprecated: Use signal_metadata_list instead.
2450
+ */
2451
+ backupRun?: Schema$StorageDatabasecenterPartnerapiV1mainBackupRun;
2371
2452
  /**
2372
2453
  * Required. Full Resource name of the source resource.
2373
2454
  */
@@ -2376,14 +2457,22 @@ export declare namespace alloydb_v1alpha {
2376
2457
  * Required. Last time signal was refreshed
2377
2458
  */
2378
2459
  lastRefreshTime?: string | null;
2460
+ /**
2461
+ * Required. Resource location.
2462
+ */
2463
+ location?: string | null;
2379
2464
  /**
2380
2465
  * Database resource id.
2381
2466
  */
2382
2467
  resourceId?: Schema$StorageDatabasecenterPartnerapiV1mainDatabaseResourceId;
2383
2468
  /**
2384
- * Signal data for boolean signals.
2469
+ * Deprecated: Use signal_metadata_list instead.
2385
2470
  */
2386
2471
  signalBoolValue?: boolean | null;
2472
+ /**
2473
+ * This will support array of OneOf signal metadata information for a given signal type.
2474
+ */
2475
+ signalMetadataList?: Schema$StorageDatabasecenterPartnerapiV1mainSignalMetadata[];
2387
2476
  /**
2388
2477
  * Required. Output only. Signal state of the signal
2389
2478
  */
@@ -2503,6 +2592,19 @@ export declare namespace alloydb_v1alpha {
2503
2592
  */
2504
2593
  message?: string | null;
2505
2594
  }
2595
+ /**
2596
+ * Message type for storing resource flags.
2597
+ */
2598
+ export interface Schema$StorageDatabasecenterPartnerapiV1mainResourceFlags {
2599
+ /**
2600
+ * Optional. Key of the resource flag.
2601
+ */
2602
+ key?: string | null;
2603
+ /**
2604
+ * Optional. Value of the resource flag.
2605
+ */
2606
+ value?: string | null;
2607
+ }
2506
2608
  /**
2507
2609
  * Deny maintenance period for the database resource. It specifies the time range during which the maintenance cannot start. This is configured by the customer.
2508
2610
  */
@@ -2524,10 +2626,18 @@ export declare namespace alloydb_v1alpha {
2524
2626
  * MaintenanceInfo to capture the maintenance details of database resource.
2525
2627
  */
2526
2628
  export interface Schema$StorageDatabasecenterPartnerapiV1mainResourceMaintenanceInfo {
2629
+ /**
2630
+ * Optional. The date when the current maintenance version was released.
2631
+ */
2632
+ currentVersionReleaseDate?: Schema$GoogleTypeDate;
2527
2633
  /**
2528
2634
  * Optional. List of Deny maintenance period for the database resource.
2529
2635
  */
2530
2636
  denyMaintenanceSchedules?: Schema$StorageDatabasecenterPartnerapiV1mainResourceMaintenanceDenySchedule[];
2637
+ /**
2638
+ * Optional. Whether the instance is in stopped state. This information is temporarily being captured in maintenanceInfo, till STOPPED state is supported by DB Center.
2639
+ */
2640
+ isInstanceStopped?: boolean | null;
2531
2641
  /**
2532
2642
  * Optional. Maintenance window for the database resource.
2533
2643
  */
@@ -2578,6 +2688,19 @@ export declare namespace alloydb_v1alpha {
2578
2688
  */
2579
2689
  timestampBasedRetentionTime?: string | null;
2580
2690
  }
2691
+ /**
2692
+ * 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
2693
+ */
2694
+ export interface Schema$StorageDatabasecenterPartnerapiV1mainSignalMetadata {
2695
+ /**
2696
+ * Signal data for backup runs.
2697
+ */
2698
+ backupRun?: Schema$StorageDatabasecenterPartnerapiV1mainBackupRun;
2699
+ /**
2700
+ * Signal data for boolean signals.
2701
+ */
2702
+ signalBoolValue?: boolean | null;
2703
+ }
2581
2704
  /**
2582
2705
  * 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.
2583
2706
  */
@@ -2882,6 +3005,7 @@ export declare namespace alloydb_v1alpha {
2882
3005
  context: APIRequestContext;
2883
3006
  backups: Resource$Projects$Locations$Backups;
2884
3007
  clusters: Resource$Projects$Locations$Clusters;
3008
+ endpoints: Resource$Projects$Locations$Endpoints;
2885
3009
  operations: Resource$Projects$Locations$Operations;
2886
3010
  supportedDatabaseFlags: Resource$Projects$Locations$Supporteddatabaseflags;
2887
3011
  constructor(context: APIRequestContext);
@@ -2950,7 +3074,7 @@ export declare namespace alloydb_v1alpha {
2950
3074
  get(params: Params$Resource$Projects$Locations$Get, callback: BodyResponseCallback<Schema$GoogleCloudLocationLocation>): void;
2951
3075
  get(callback: BodyResponseCallback<Schema$GoogleCloudLocationLocation>): void;
2952
3076
  /**
2953
- * Lists information about the supported locations for this service.
3077
+ * 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.
2954
3078
  * @example
2955
3079
  * ```js
2956
3080
  * // Before running the sample:
@@ -2980,7 +3104,7 @@ export declare namespace alloydb_v1alpha {
2980
3104
  *
2981
3105
  * // Do the magic
2982
3106
  * const res = await alloydb.projects.locations.list({
2983
- * // Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage.
3107
+ * // Optional. Do not use this field unless explicitly documented otherwise. This is primarily for internal usage.
2984
3108
  * extraLocationTypes: 'placeholder-value',
2985
3109
  * // 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).
2986
3110
  * filter: 'placeholder-value',
@@ -3027,7 +3151,7 @@ export declare namespace alloydb_v1alpha {
3027
3151
  }
3028
3152
  export interface Params$Resource$Projects$Locations$List extends StandardParameters {
3029
3153
  /**
3030
- * Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage.
3154
+ * Optional. Do not use this field unless explicitly documented otherwise. This is primarily for internal usage.
3031
3155
  */
3032
3156
  extraLocationTypes?: string[];
3033
3157
  /**
@@ -4385,6 +4509,7 @@ export declare namespace alloydb_v1alpha {
4385
4509
  * // request body parameters
4386
4510
  * // {
4387
4511
  * // "etag": "my_etag",
4512
+ * // "failover": false,
4388
4513
  * // "requestId": "my_requestId",
4389
4514
  * // "validateOnly": false
4390
4515
  * // }
@@ -6405,6 +6530,501 @@ export declare namespace alloydb_v1alpha {
6405
6530
  */
6406
6531
  requestBody?: Schema$User;
6407
6532
  }
6533
+ export class Resource$Projects$Locations$Endpoints {
6534
+ context: APIRequestContext;
6535
+ constructor(context: APIRequestContext);
6536
+ /**
6537
+ * Creates a new Endpoint in a given project and location.
6538
+ * @example
6539
+ * ```js
6540
+ * // Before running the sample:
6541
+ * // - Enable the API at:
6542
+ * // https://console.developers.google.com/apis/api/alloydb.googleapis.com
6543
+ * // - Login into gcloud by running:
6544
+ * // ```sh
6545
+ * // $ gcloud auth application-default login
6546
+ * // ```
6547
+ * // - Install the npm module by running:
6548
+ * // ```sh
6549
+ * // $ npm install googleapis
6550
+ * // ```
6551
+ *
6552
+ * const {google} = require('googleapis');
6553
+ * const alloydb = google.alloydb('v1alpha');
6554
+ *
6555
+ * async function main() {
6556
+ * const auth = new google.auth.GoogleAuth({
6557
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
6558
+ * scopes: ['https://www.googleapis.com/auth/cloud-platform'],
6559
+ * });
6560
+ *
6561
+ * // Acquire an auth client, and bind it to all future calls
6562
+ * const authClient = await auth.getClient();
6563
+ * google.options({auth: authClient});
6564
+ *
6565
+ * // Do the magic
6566
+ * const res = await alloydb.projects.locations.endpoints.create({
6567
+ * // Required. ID of the requesting object.
6568
+ * endpointId: 'placeholder-value',
6569
+ * // Required. The location of the new endpoint. For the required format, see the comment on the Endpoint.name field.
6570
+ * parent: 'projects/my-project/locations/my-location',
6571
+ * // 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).
6572
+ * requestId: 'placeholder-value',
6573
+ * // Optional. If set, the backend validates the request, but doesn't actually execute it.
6574
+ * validateOnly: 'placeholder-value',
6575
+ *
6576
+ * // Request body metadata
6577
+ * requestBody: {
6578
+ * // request body parameters
6579
+ * // {
6580
+ * // "annotations": {},
6581
+ * // "createTime": "my_createTime",
6582
+ * // "deleteTime": "my_deleteTime",
6583
+ * // "displayName": "my_displayName",
6584
+ * // "dnsConfig": {},
6585
+ * // "effectiveTargetInstances": [],
6586
+ * // "endpointType": "my_endpointType",
6587
+ * // "etag": "my_etag",
6588
+ * // "name": "my_name",
6589
+ * // "reconciling": false,
6590
+ * // "state": "my_state",
6591
+ * // "targetInstances": [],
6592
+ * // "uid": "my_uid",
6593
+ * // "updateTime": "my_updateTime"
6594
+ * // }
6595
+ * },
6596
+ * });
6597
+ * console.log(res.data);
6598
+ *
6599
+ * // Example response
6600
+ * // {
6601
+ * // "done": false,
6602
+ * // "error": {},
6603
+ * // "metadata": {},
6604
+ * // "name": "my_name",
6605
+ * // "response": {}
6606
+ * // }
6607
+ * }
6608
+ *
6609
+ * main().catch(e => {
6610
+ * console.error(e);
6611
+ * throw e;
6612
+ * });
6613
+ *
6614
+ * ```
6615
+ *
6616
+ * @param params - Parameters for request
6617
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
6618
+ * @param callback - Optional callback that handles the response.
6619
+ * @returns A promise if used with async/await, or void if used with a callback.
6620
+ */
6621
+ create(params: Params$Resource$Projects$Locations$Endpoints$Create, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
6622
+ create(params?: Params$Resource$Projects$Locations$Endpoints$Create, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
6623
+ create(params: Params$Resource$Projects$Locations$Endpoints$Create, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
6624
+ create(params: Params$Resource$Projects$Locations$Endpoints$Create, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
6625
+ create(params: Params$Resource$Projects$Locations$Endpoints$Create, callback: BodyResponseCallback<Schema$Operation>): void;
6626
+ create(callback: BodyResponseCallback<Schema$Operation>): void;
6627
+ /**
6628
+ * Deletes a single Endpoint.
6629
+ * @example
6630
+ * ```js
6631
+ * // Before running the sample:
6632
+ * // - Enable the API at:
6633
+ * // https://console.developers.google.com/apis/api/alloydb.googleapis.com
6634
+ * // - Login into gcloud by running:
6635
+ * // ```sh
6636
+ * // $ gcloud auth application-default login
6637
+ * // ```
6638
+ * // - Install the npm module by running:
6639
+ * // ```sh
6640
+ * // $ npm install googleapis
6641
+ * // ```
6642
+ *
6643
+ * const {google} = require('googleapis');
6644
+ * const alloydb = google.alloydb('v1alpha');
6645
+ *
6646
+ * async function main() {
6647
+ * const auth = new google.auth.GoogleAuth({
6648
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
6649
+ * scopes: ['https://www.googleapis.com/auth/cloud-platform'],
6650
+ * });
6651
+ *
6652
+ * // Acquire an auth client, and bind it to all future calls
6653
+ * const authClient = await auth.getClient();
6654
+ * google.options({auth: authClient});
6655
+ *
6656
+ * // Do the magic
6657
+ * const res = await alloydb.projects.locations.endpoints.delete({
6658
+ * // 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.
6659
+ * etag: 'placeholder-value',
6660
+ * // Required. The name of the resource. For the required format, see the comment on the Endpoint.name field.
6661
+ * name: 'projects/my-project/locations/my-location/endpoints/my-endpoint',
6662
+ * // 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).
6663
+ * requestId: 'placeholder-value',
6664
+ * // Optional. If set, the backend validates the request, but doesn't actually execute it.
6665
+ * validateOnly: 'placeholder-value',
6666
+ * });
6667
+ * console.log(res.data);
6668
+ *
6669
+ * // Example response
6670
+ * // {
6671
+ * // "done": false,
6672
+ * // "error": {},
6673
+ * // "metadata": {},
6674
+ * // "name": "my_name",
6675
+ * // "response": {}
6676
+ * // }
6677
+ * }
6678
+ *
6679
+ * main().catch(e => {
6680
+ * console.error(e);
6681
+ * throw e;
6682
+ * });
6683
+ *
6684
+ * ```
6685
+ *
6686
+ * @param params - Parameters for request
6687
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
6688
+ * @param callback - Optional callback that handles the response.
6689
+ * @returns A promise if used with async/await, or void if used with a callback.
6690
+ */
6691
+ delete(params: Params$Resource$Projects$Locations$Endpoints$Delete, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
6692
+ delete(params?: Params$Resource$Projects$Locations$Endpoints$Delete, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
6693
+ delete(params: Params$Resource$Projects$Locations$Endpoints$Delete, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
6694
+ delete(params: Params$Resource$Projects$Locations$Endpoints$Delete, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
6695
+ delete(params: Params$Resource$Projects$Locations$Endpoints$Delete, callback: BodyResponseCallback<Schema$Operation>): void;
6696
+ delete(callback: BodyResponseCallback<Schema$Operation>): void;
6697
+ /**
6698
+ * Gets details of a single Endpoint.
6699
+ * @example
6700
+ * ```js
6701
+ * // Before running the sample:
6702
+ * // - Enable the API at:
6703
+ * // https://console.developers.google.com/apis/api/alloydb.googleapis.com
6704
+ * // - Login into gcloud by running:
6705
+ * // ```sh
6706
+ * // $ gcloud auth application-default login
6707
+ * // ```
6708
+ * // - Install the npm module by running:
6709
+ * // ```sh
6710
+ * // $ npm install googleapis
6711
+ * // ```
6712
+ *
6713
+ * const {google} = require('googleapis');
6714
+ * const alloydb = google.alloydb('v1alpha');
6715
+ *
6716
+ * async function main() {
6717
+ * const auth = new google.auth.GoogleAuth({
6718
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
6719
+ * scopes: ['https://www.googleapis.com/auth/cloud-platform'],
6720
+ * });
6721
+ *
6722
+ * // Acquire an auth client, and bind it to all future calls
6723
+ * const authClient = await auth.getClient();
6724
+ * google.options({auth: authClient});
6725
+ *
6726
+ * // Do the magic
6727
+ * const res = await alloydb.projects.locations.endpoints.get({
6728
+ * // Required. The name of the resource. For the required format, see the comment on the Endpoint.name field.
6729
+ * name: 'projects/my-project/locations/my-location/endpoints/my-endpoint',
6730
+ * });
6731
+ * console.log(res.data);
6732
+ *
6733
+ * // Example response
6734
+ * // {
6735
+ * // "annotations": {},
6736
+ * // "createTime": "my_createTime",
6737
+ * // "deleteTime": "my_deleteTime",
6738
+ * // "displayName": "my_displayName",
6739
+ * // "dnsConfig": {},
6740
+ * // "effectiveTargetInstances": [],
6741
+ * // "endpointType": "my_endpointType",
6742
+ * // "etag": "my_etag",
6743
+ * // "name": "my_name",
6744
+ * // "reconciling": false,
6745
+ * // "state": "my_state",
6746
+ * // "targetInstances": [],
6747
+ * // "uid": "my_uid",
6748
+ * // "updateTime": "my_updateTime"
6749
+ * // }
6750
+ * }
6751
+ *
6752
+ * main().catch(e => {
6753
+ * console.error(e);
6754
+ * throw e;
6755
+ * });
6756
+ *
6757
+ * ```
6758
+ *
6759
+ * @param params - Parameters for request
6760
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
6761
+ * @param callback - Optional callback that handles the response.
6762
+ * @returns A promise if used with async/await, or void if used with a callback.
6763
+ */
6764
+ get(params: Params$Resource$Projects$Locations$Endpoints$Get, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
6765
+ get(params?: Params$Resource$Projects$Locations$Endpoints$Get, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Endpoint>>;
6766
+ get(params: Params$Resource$Projects$Locations$Endpoints$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
6767
+ get(params: Params$Resource$Projects$Locations$Endpoints$Get, options: MethodOptions | BodyResponseCallback<Schema$Endpoint>, callback: BodyResponseCallback<Schema$Endpoint>): void;
6768
+ get(params: Params$Resource$Projects$Locations$Endpoints$Get, callback: BodyResponseCallback<Schema$Endpoint>): void;
6769
+ get(callback: BodyResponseCallback<Schema$Endpoint>): void;
6770
+ /**
6771
+ * Lists Endpoints in a given project and location.
6772
+ * @example
6773
+ * ```js
6774
+ * // Before running the sample:
6775
+ * // - Enable the API at:
6776
+ * // https://console.developers.google.com/apis/api/alloydb.googleapis.com
6777
+ * // - Login into gcloud by running:
6778
+ * // ```sh
6779
+ * // $ gcloud auth application-default login
6780
+ * // ```
6781
+ * // - Install the npm module by running:
6782
+ * // ```sh
6783
+ * // $ npm install googleapis
6784
+ * // ```
6785
+ *
6786
+ * const {google} = require('googleapis');
6787
+ * const alloydb = google.alloydb('v1alpha');
6788
+ *
6789
+ * async function main() {
6790
+ * const auth = new google.auth.GoogleAuth({
6791
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
6792
+ * scopes: ['https://www.googleapis.com/auth/cloud-platform'],
6793
+ * });
6794
+ *
6795
+ * // Acquire an auth client, and bind it to all future calls
6796
+ * const authClient = await auth.getClient();
6797
+ * google.options({auth: authClient});
6798
+ *
6799
+ * // Do the magic
6800
+ * const res = await alloydb.projects.locations.endpoints.list({
6801
+ * // Optional. Filtering results. This field is currently not supported, its value will be ignored if passed.
6802
+ * filter: 'placeholder-value',
6803
+ * // Optional. Hint for how to order the results
6804
+ * orderBy: 'placeholder-value',
6805
+ * // Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.
6806
+ * pageSize: 'placeholder-value',
6807
+ * // 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.
6808
+ * pageToken: 'placeholder-value',
6809
+ * // 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/-
6810
+ * parent: 'projects/my-project/locations/my-location',
6811
+ * });
6812
+ * console.log(res.data);
6813
+ *
6814
+ * // Example response
6815
+ * // {
6816
+ * // "endpoints": [],
6817
+ * // "nextPageToken": "my_nextPageToken",
6818
+ * // "unreachable": []
6819
+ * // }
6820
+ * }
6821
+ *
6822
+ * main().catch(e => {
6823
+ * console.error(e);
6824
+ * throw e;
6825
+ * });
6826
+ *
6827
+ * ```
6828
+ *
6829
+ * @param params - Parameters for request
6830
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
6831
+ * @param callback - Optional callback that handles the response.
6832
+ * @returns A promise if used with async/await, or void if used with a callback.
6833
+ */
6834
+ list(params: Params$Resource$Projects$Locations$Endpoints$List, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
6835
+ list(params?: Params$Resource$Projects$Locations$Endpoints$List, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$ListEndpointsResponse>>;
6836
+ list(params: Params$Resource$Projects$Locations$Endpoints$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
6837
+ list(params: Params$Resource$Projects$Locations$Endpoints$List, options: MethodOptions | BodyResponseCallback<Schema$ListEndpointsResponse>, callback: BodyResponseCallback<Schema$ListEndpointsResponse>): void;
6838
+ list(params: Params$Resource$Projects$Locations$Endpoints$List, callback: BodyResponseCallback<Schema$ListEndpointsResponse>): void;
6839
+ list(callback: BodyResponseCallback<Schema$ListEndpointsResponse>): void;
6840
+ /**
6841
+ * Updates the parameters of a single Endpoint.
6842
+ * @example
6843
+ * ```js
6844
+ * // Before running the sample:
6845
+ * // - Enable the API at:
6846
+ * // https://console.developers.google.com/apis/api/alloydb.googleapis.com
6847
+ * // - Login into gcloud by running:
6848
+ * // ```sh
6849
+ * // $ gcloud auth application-default login
6850
+ * // ```
6851
+ * // - Install the npm module by running:
6852
+ * // ```sh
6853
+ * // $ npm install googleapis
6854
+ * // ```
6855
+ *
6856
+ * const {google} = require('googleapis');
6857
+ * const alloydb = google.alloydb('v1alpha');
6858
+ *
6859
+ * async function main() {
6860
+ * const auth = new google.auth.GoogleAuth({
6861
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
6862
+ * scopes: ['https://www.googleapis.com/auth/cloud-platform'],
6863
+ * });
6864
+ *
6865
+ * // Acquire an auth client, and bind it to all future calls
6866
+ * const authClient = await auth.getClient();
6867
+ * google.options({auth: authClient});
6868
+ *
6869
+ * // Do the magic
6870
+ * const res = await alloydb.projects.locations.endpoints.patch({
6871
+ * // 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.
6872
+ * allowMissing: 'placeholder-value',
6873
+ * // 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\}
6874
+ * name: 'projects/my-project/locations/my-location/endpoints/my-endpoint',
6875
+ * // 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).
6876
+ * requestId: 'placeholder-value',
6877
+ * // 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.
6878
+ * updateMask: 'placeholder-value',
6879
+ * // Optional. If set, the backend validates the request, but doesn't actually execute it.
6880
+ * validateOnly: 'placeholder-value',
6881
+ *
6882
+ * // Request body metadata
6883
+ * requestBody: {
6884
+ * // request body parameters
6885
+ * // {
6886
+ * // "annotations": {},
6887
+ * // "createTime": "my_createTime",
6888
+ * // "deleteTime": "my_deleteTime",
6889
+ * // "displayName": "my_displayName",
6890
+ * // "dnsConfig": {},
6891
+ * // "effectiveTargetInstances": [],
6892
+ * // "endpointType": "my_endpointType",
6893
+ * // "etag": "my_etag",
6894
+ * // "name": "my_name",
6895
+ * // "reconciling": false,
6896
+ * // "state": "my_state",
6897
+ * // "targetInstances": [],
6898
+ * // "uid": "my_uid",
6899
+ * // "updateTime": "my_updateTime"
6900
+ * // }
6901
+ * },
6902
+ * });
6903
+ * console.log(res.data);
6904
+ *
6905
+ * // Example response
6906
+ * // {
6907
+ * // "done": false,
6908
+ * // "error": {},
6909
+ * // "metadata": {},
6910
+ * // "name": "my_name",
6911
+ * // "response": {}
6912
+ * // }
6913
+ * }
6914
+ *
6915
+ * main().catch(e => {
6916
+ * console.error(e);
6917
+ * throw e;
6918
+ * });
6919
+ *
6920
+ * ```
6921
+ *
6922
+ * @param params - Parameters for request
6923
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
6924
+ * @param callback - Optional callback that handles the response.
6925
+ * @returns A promise if used with async/await, or void if used with a callback.
6926
+ */
6927
+ patch(params: Params$Resource$Projects$Locations$Endpoints$Patch, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
6928
+ patch(params?: Params$Resource$Projects$Locations$Endpoints$Patch, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
6929
+ patch(params: Params$Resource$Projects$Locations$Endpoints$Patch, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
6930
+ patch(params: Params$Resource$Projects$Locations$Endpoints$Patch, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
6931
+ patch(params: Params$Resource$Projects$Locations$Endpoints$Patch, callback: BodyResponseCallback<Schema$Operation>): void;
6932
+ patch(callback: BodyResponseCallback<Schema$Operation>): void;
6933
+ }
6934
+ export interface Params$Resource$Projects$Locations$Endpoints$Create extends StandardParameters {
6935
+ /**
6936
+ * Required. ID of the requesting object.
6937
+ */
6938
+ endpointId?: string;
6939
+ /**
6940
+ * Required. The location of the new endpoint. For the required format, see the comment on the Endpoint.name field.
6941
+ */
6942
+ parent?: string;
6943
+ /**
6944
+ * 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).
6945
+ */
6946
+ requestId?: string;
6947
+ /**
6948
+ * Optional. If set, the backend validates the request, but doesn't actually execute it.
6949
+ */
6950
+ validateOnly?: boolean;
6951
+ /**
6952
+ * Request body metadata
6953
+ */
6954
+ requestBody?: Schema$Endpoint;
6955
+ }
6956
+ export interface Params$Resource$Projects$Locations$Endpoints$Delete extends StandardParameters {
6957
+ /**
6958
+ * 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.
6959
+ */
6960
+ etag?: string;
6961
+ /**
6962
+ * Required. The name of the resource. For the required format, see the comment on the Endpoint.name field.
6963
+ */
6964
+ name?: string;
6965
+ /**
6966
+ * 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).
6967
+ */
6968
+ requestId?: string;
6969
+ /**
6970
+ * Optional. If set, the backend validates the request, but doesn't actually execute it.
6971
+ */
6972
+ validateOnly?: boolean;
6973
+ }
6974
+ export interface Params$Resource$Projects$Locations$Endpoints$Get extends StandardParameters {
6975
+ /**
6976
+ * Required. The name of the resource. For the required format, see the comment on the Endpoint.name field.
6977
+ */
6978
+ name?: string;
6979
+ }
6980
+ export interface Params$Resource$Projects$Locations$Endpoints$List extends StandardParameters {
6981
+ /**
6982
+ * Optional. Filtering results. This field is currently not supported, its value will be ignored if passed.
6983
+ */
6984
+ filter?: string;
6985
+ /**
6986
+ * Optional. Hint for how to order the results
6987
+ */
6988
+ orderBy?: string;
6989
+ /**
6990
+ * Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.
6991
+ */
6992
+ pageSize?: number;
6993
+ /**
6994
+ * 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.
6995
+ */
6996
+ pageToken?: string;
6997
+ /**
6998
+ * 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/-
6999
+ */
7000
+ parent?: string;
7001
+ }
7002
+ export interface Params$Resource$Projects$Locations$Endpoints$Patch extends StandardParameters {
7003
+ /**
7004
+ * 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.
7005
+ */
7006
+ allowMissing?: boolean;
7007
+ /**
7008
+ * 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\}
7009
+ */
7010
+ name?: string;
7011
+ /**
7012
+ * 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).
7013
+ */
7014
+ requestId?: string;
7015
+ /**
7016
+ * 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.
7017
+ */
7018
+ updateMask?: string;
7019
+ /**
7020
+ * Optional. If set, the backend validates the request, but doesn't actually execute it.
7021
+ */
7022
+ validateOnly?: boolean;
7023
+ /**
7024
+ * Request body metadata
7025
+ */
7026
+ requestBody?: Schema$Endpoint;
7027
+ }
6408
7028
  export class Resource$Projects$Locations$Operations {
6409
7029
  context: APIRequestContext;
6410
7030
  constructor(context: APIRequestContext);