@google-cloud/storage-control 0.4.0 → 0.5.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.
@@ -363,6 +363,288 @@ export declare class StorageControlClient {
363
363
  ]>;
364
364
  getManagedFolder(request: protos.google.storage.control.v2.IGetManagedFolderRequest, options: CallOptions, callback: Callback<protos.google.storage.control.v2.IManagedFolder, protos.google.storage.control.v2.IGetManagedFolderRequest | null | undefined, {} | null | undefined>): void;
365
365
  getManagedFolder(request: protos.google.storage.control.v2.IGetManagedFolderRequest, callback: Callback<protos.google.storage.control.v2.IManagedFolder, protos.google.storage.control.v2.IGetManagedFolderRequest | null | undefined, {} | null | undefined>): void;
366
+ /**
367
+ * Disables an Anywhere Cache instance. A disabled instance is read-only. The
368
+ * disablement could be revoked by calling ResumeAnywhereCache. The cache
369
+ * instance will be deleted automatically if it remains in the disabled state
370
+ * for at least one hour.
371
+ *
372
+ * @param {Object} request
373
+ * The request object that will be sent.
374
+ * @param {string} request.name
375
+ * Required. The name field in the request should be:
376
+ * `projects/{project}/buckets/{bucket}/anywhereCaches/{anywhere_cache}`
377
+ * @param {string} [request.requestId]
378
+ * Optional. A unique identifier for this request. UUID is the recommended
379
+ * format, but other formats are still accepted. This request is only
380
+ * idempotent if a `request_id` is provided.
381
+ * @param {object} [options]
382
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
383
+ * @returns {Promise} - The promise which resolves to an array.
384
+ * The first element of the array is an object representing {@link protos.google.storage.control.v2.AnywhereCache|AnywhereCache}.
385
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods | documentation }
386
+ * for more details and examples.
387
+ * @example <caption>include:samples/generated/v2/storage_control.disable_anywhere_cache.js</caption>
388
+ * region_tag:storage_v2_generated_StorageControl_DisableAnywhereCache_async
389
+ */
390
+ disableAnywhereCache(request?: protos.google.storage.control.v2.IDisableAnywhereCacheRequest, options?: CallOptions): Promise<[
391
+ protos.google.storage.control.v2.IAnywhereCache,
392
+ protos.google.storage.control.v2.IDisableAnywhereCacheRequest | undefined,
393
+ {} | undefined
394
+ ]>;
395
+ disableAnywhereCache(request: protos.google.storage.control.v2.IDisableAnywhereCacheRequest, options: CallOptions, callback: Callback<protos.google.storage.control.v2.IAnywhereCache, protos.google.storage.control.v2.IDisableAnywhereCacheRequest | null | undefined, {} | null | undefined>): void;
396
+ disableAnywhereCache(request: protos.google.storage.control.v2.IDisableAnywhereCacheRequest, callback: Callback<protos.google.storage.control.v2.IAnywhereCache, protos.google.storage.control.v2.IDisableAnywhereCacheRequest | null | undefined, {} | null | undefined>): void;
397
+ /**
398
+ * Pauses an Anywhere Cache instance.
399
+ *
400
+ * @param {Object} request
401
+ * The request object that will be sent.
402
+ * @param {string} request.name
403
+ * Required. The name field in the request should be:
404
+ * `projects/{project}/buckets/{bucket}/anywhereCaches/{anywhere_cache}`
405
+ * @param {string} [request.requestId]
406
+ * Optional. A unique identifier for this request. UUID is the recommended
407
+ * format, but other formats are still accepted. This request is only
408
+ * idempotent if a `request_id` is provided.
409
+ * @param {object} [options]
410
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
411
+ * @returns {Promise} - The promise which resolves to an array.
412
+ * The first element of the array is an object representing {@link protos.google.storage.control.v2.AnywhereCache|AnywhereCache}.
413
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods | documentation }
414
+ * for more details and examples.
415
+ * @example <caption>include:samples/generated/v2/storage_control.pause_anywhere_cache.js</caption>
416
+ * region_tag:storage_v2_generated_StorageControl_PauseAnywhereCache_async
417
+ */
418
+ pauseAnywhereCache(request?: protos.google.storage.control.v2.IPauseAnywhereCacheRequest, options?: CallOptions): Promise<[
419
+ protos.google.storage.control.v2.IAnywhereCache,
420
+ protos.google.storage.control.v2.IPauseAnywhereCacheRequest | undefined,
421
+ {} | undefined
422
+ ]>;
423
+ pauseAnywhereCache(request: protos.google.storage.control.v2.IPauseAnywhereCacheRequest, options: CallOptions, callback: Callback<protos.google.storage.control.v2.IAnywhereCache, protos.google.storage.control.v2.IPauseAnywhereCacheRequest | null | undefined, {} | null | undefined>): void;
424
+ pauseAnywhereCache(request: protos.google.storage.control.v2.IPauseAnywhereCacheRequest, callback: Callback<protos.google.storage.control.v2.IAnywhereCache, protos.google.storage.control.v2.IPauseAnywhereCacheRequest | null | undefined, {} | null | undefined>): void;
425
+ /**
426
+ * Resumes a disabled or paused Anywhere Cache instance.
427
+ *
428
+ * @param {Object} request
429
+ * The request object that will be sent.
430
+ * @param {string} request.name
431
+ * Required. The name field in the request should be:
432
+ * `projects/{project}/buckets/{bucket}/anywhereCaches/{anywhere_cache}`
433
+ * @param {string} [request.requestId]
434
+ * Optional. A unique identifier for this request. UUID is the recommended
435
+ * format, but other formats are still accepted. This request is only
436
+ * idempotent if a `request_id` is provided.
437
+ * @param {object} [options]
438
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
439
+ * @returns {Promise} - The promise which resolves to an array.
440
+ * The first element of the array is an object representing {@link protos.google.storage.control.v2.AnywhereCache|AnywhereCache}.
441
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods | documentation }
442
+ * for more details and examples.
443
+ * @example <caption>include:samples/generated/v2/storage_control.resume_anywhere_cache.js</caption>
444
+ * region_tag:storage_v2_generated_StorageControl_ResumeAnywhereCache_async
445
+ */
446
+ resumeAnywhereCache(request?: protos.google.storage.control.v2.IResumeAnywhereCacheRequest, options?: CallOptions): Promise<[
447
+ protos.google.storage.control.v2.IAnywhereCache,
448
+ protos.google.storage.control.v2.IResumeAnywhereCacheRequest | undefined,
449
+ {} | undefined
450
+ ]>;
451
+ resumeAnywhereCache(request: protos.google.storage.control.v2.IResumeAnywhereCacheRequest, options: CallOptions, callback: Callback<protos.google.storage.control.v2.IAnywhereCache, protos.google.storage.control.v2.IResumeAnywhereCacheRequest | null | undefined, {} | null | undefined>): void;
452
+ resumeAnywhereCache(request: protos.google.storage.control.v2.IResumeAnywhereCacheRequest, callback: Callback<protos.google.storage.control.v2.IAnywhereCache, protos.google.storage.control.v2.IResumeAnywhereCacheRequest | null | undefined, {} | null | undefined>): void;
453
+ /**
454
+ * Gets an Anywhere Cache instance.
455
+ *
456
+ * @param {Object} request
457
+ * The request object that will be sent.
458
+ * @param {string} request.name
459
+ * Required. The name field in the request should be:
460
+ * `projects/{project}/buckets/{bucket}/anywhereCaches/{anywhere_cache}`
461
+ * @param {string} [request.requestId]
462
+ * Optional. A unique identifier for this request. UUID is the recommended
463
+ * format, but other formats are still accepted.
464
+ * @param {object} [options]
465
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
466
+ * @returns {Promise} - The promise which resolves to an array.
467
+ * The first element of the array is an object representing {@link protos.google.storage.control.v2.AnywhereCache|AnywhereCache}.
468
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods | documentation }
469
+ * for more details and examples.
470
+ * @example <caption>include:samples/generated/v2/storage_control.get_anywhere_cache.js</caption>
471
+ * region_tag:storage_v2_generated_StorageControl_GetAnywhereCache_async
472
+ */
473
+ getAnywhereCache(request?: protos.google.storage.control.v2.IGetAnywhereCacheRequest, options?: CallOptions): Promise<[
474
+ protos.google.storage.control.v2.IAnywhereCache,
475
+ protos.google.storage.control.v2.IGetAnywhereCacheRequest | undefined,
476
+ {} | undefined
477
+ ]>;
478
+ getAnywhereCache(request: protos.google.storage.control.v2.IGetAnywhereCacheRequest, options: CallOptions, callback: Callback<protos.google.storage.control.v2.IAnywhereCache, protos.google.storage.control.v2.IGetAnywhereCacheRequest | null | undefined, {} | null | undefined>): void;
479
+ getAnywhereCache(request: protos.google.storage.control.v2.IGetAnywhereCacheRequest, callback: Callback<protos.google.storage.control.v2.IAnywhereCache, protos.google.storage.control.v2.IGetAnywhereCacheRequest | null | undefined, {} | null | undefined>): void;
480
+ /**
481
+ * Returns the Project scoped singleton IntelligenceConfig resource.
482
+ *
483
+ * @param {Object} request
484
+ * The request object that will be sent.
485
+ * @param {string} request.name
486
+ * Required. The name of the `IntelligenceConfig` resource associated with
487
+ * your project.
488
+ *
489
+ * Format: `projects/{id}/locations/global/intelligenceConfig`
490
+ * @param {object} [options]
491
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
492
+ * @returns {Promise} - The promise which resolves to an array.
493
+ * The first element of the array is an object representing {@link protos.google.storage.control.v2.IntelligenceConfig|IntelligenceConfig}.
494
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods | documentation }
495
+ * for more details and examples.
496
+ * @example <caption>include:samples/generated/v2/storage_control.get_project_intelligence_config.js</caption>
497
+ * region_tag:storage_v2_generated_StorageControl_GetProjectIntelligenceConfig_async
498
+ */
499
+ getProjectIntelligenceConfig(request?: protos.google.storage.control.v2.IGetProjectIntelligenceConfigRequest, options?: CallOptions): Promise<[
500
+ protos.google.storage.control.v2.IIntelligenceConfig,
501
+ protos.google.storage.control.v2.IGetProjectIntelligenceConfigRequest | undefined,
502
+ {} | undefined
503
+ ]>;
504
+ getProjectIntelligenceConfig(request: protos.google.storage.control.v2.IGetProjectIntelligenceConfigRequest, options: CallOptions, callback: Callback<protos.google.storage.control.v2.IIntelligenceConfig, protos.google.storage.control.v2.IGetProjectIntelligenceConfigRequest | null | undefined, {} | null | undefined>): void;
505
+ getProjectIntelligenceConfig(request: protos.google.storage.control.v2.IGetProjectIntelligenceConfigRequest, callback: Callback<protos.google.storage.control.v2.IIntelligenceConfig, protos.google.storage.control.v2.IGetProjectIntelligenceConfigRequest | null | undefined, {} | null | undefined>): void;
506
+ /**
507
+ * Updates the Project scoped singleton IntelligenceConfig resource.
508
+ *
509
+ * @param {Object} request
510
+ * The request object that will be sent.
511
+ * @param {google.storage.control.v2.IntelligenceConfig} request.intelligenceConfig
512
+ * Required. The `IntelligenceConfig` resource to be updated.
513
+ * @param {google.protobuf.FieldMask} request.updateMask
514
+ * Required. The `update_mask` that specifies the fields within the
515
+ * `IntelligenceConfig` resource that should be modified by this update. Only
516
+ * the listed fields are updated.
517
+ * @param {string} [request.requestId]
518
+ * Optional. The ID that uniquely identifies the request, preventing duplicate
519
+ * processing.
520
+ * @param {object} [options]
521
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
522
+ * @returns {Promise} - The promise which resolves to an array.
523
+ * The first element of the array is an object representing {@link protos.google.storage.control.v2.IntelligenceConfig|IntelligenceConfig}.
524
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods | documentation }
525
+ * for more details and examples.
526
+ * @example <caption>include:samples/generated/v2/storage_control.update_project_intelligence_config.js</caption>
527
+ * region_tag:storage_v2_generated_StorageControl_UpdateProjectIntelligenceConfig_async
528
+ */
529
+ updateProjectIntelligenceConfig(request?: protos.google.storage.control.v2.IUpdateProjectIntelligenceConfigRequest, options?: CallOptions): Promise<[
530
+ protos.google.storage.control.v2.IIntelligenceConfig,
531
+ protos.google.storage.control.v2.IUpdateProjectIntelligenceConfigRequest | undefined,
532
+ {} | undefined
533
+ ]>;
534
+ updateProjectIntelligenceConfig(request: protos.google.storage.control.v2.IUpdateProjectIntelligenceConfigRequest, options: CallOptions, callback: Callback<protos.google.storage.control.v2.IIntelligenceConfig, protos.google.storage.control.v2.IUpdateProjectIntelligenceConfigRequest | null | undefined, {} | null | undefined>): void;
535
+ updateProjectIntelligenceConfig(request: protos.google.storage.control.v2.IUpdateProjectIntelligenceConfigRequest, callback: Callback<protos.google.storage.control.v2.IIntelligenceConfig, protos.google.storage.control.v2.IUpdateProjectIntelligenceConfigRequest | null | undefined, {} | null | undefined>): void;
536
+ /**
537
+ * Returns the Folder scoped singleton IntelligenceConfig resource.
538
+ *
539
+ * @param {Object} request
540
+ * The request object that will be sent.
541
+ * @param {string} request.name
542
+ * Required. The name of the `IntelligenceConfig` resource associated with
543
+ * your folder.
544
+ *
545
+ * Format: `folders/{id}/locations/global/intelligenceConfig`
546
+ * @param {object} [options]
547
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
548
+ * @returns {Promise} - The promise which resolves to an array.
549
+ * The first element of the array is an object representing {@link protos.google.storage.control.v2.IntelligenceConfig|IntelligenceConfig}.
550
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods | documentation }
551
+ * for more details and examples.
552
+ * @example <caption>include:samples/generated/v2/storage_control.get_folder_intelligence_config.js</caption>
553
+ * region_tag:storage_v2_generated_StorageControl_GetFolderIntelligenceConfig_async
554
+ */
555
+ getFolderIntelligenceConfig(request?: protos.google.storage.control.v2.IGetFolderIntelligenceConfigRequest, options?: CallOptions): Promise<[
556
+ protos.google.storage.control.v2.IIntelligenceConfig,
557
+ protos.google.storage.control.v2.IGetFolderIntelligenceConfigRequest | undefined,
558
+ {} | undefined
559
+ ]>;
560
+ getFolderIntelligenceConfig(request: protos.google.storage.control.v2.IGetFolderIntelligenceConfigRequest, options: CallOptions, callback: Callback<protos.google.storage.control.v2.IIntelligenceConfig, protos.google.storage.control.v2.IGetFolderIntelligenceConfigRequest | null | undefined, {} | null | undefined>): void;
561
+ getFolderIntelligenceConfig(request: protos.google.storage.control.v2.IGetFolderIntelligenceConfigRequest, callback: Callback<protos.google.storage.control.v2.IIntelligenceConfig, protos.google.storage.control.v2.IGetFolderIntelligenceConfigRequest | null | undefined, {} | null | undefined>): void;
562
+ /**
563
+ * Updates the Folder scoped singleton IntelligenceConfig resource.
564
+ *
565
+ * @param {Object} request
566
+ * The request object that will be sent.
567
+ * @param {google.storage.control.v2.IntelligenceConfig} request.intelligenceConfig
568
+ * Required. The `IntelligenceConfig` resource to be updated.
569
+ * @param {google.protobuf.FieldMask} request.updateMask
570
+ * Required. The `update_mask` that specifies the fields within the
571
+ * `IntelligenceConfig` resource that should be modified by this update. Only
572
+ * the listed fields are updated.
573
+ * @param {string} [request.requestId]
574
+ * Optional. The ID that uniquely identifies the request, preventing duplicate
575
+ * processing.
576
+ * @param {object} [options]
577
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
578
+ * @returns {Promise} - The promise which resolves to an array.
579
+ * The first element of the array is an object representing {@link protos.google.storage.control.v2.IntelligenceConfig|IntelligenceConfig}.
580
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods | documentation }
581
+ * for more details and examples.
582
+ * @example <caption>include:samples/generated/v2/storage_control.update_folder_intelligence_config.js</caption>
583
+ * region_tag:storage_v2_generated_StorageControl_UpdateFolderIntelligenceConfig_async
584
+ */
585
+ updateFolderIntelligenceConfig(request?: protos.google.storage.control.v2.IUpdateFolderIntelligenceConfigRequest, options?: CallOptions): Promise<[
586
+ protos.google.storage.control.v2.IIntelligenceConfig,
587
+ protos.google.storage.control.v2.IUpdateFolderIntelligenceConfigRequest | undefined,
588
+ {} | undefined
589
+ ]>;
590
+ updateFolderIntelligenceConfig(request: protos.google.storage.control.v2.IUpdateFolderIntelligenceConfigRequest, options: CallOptions, callback: Callback<protos.google.storage.control.v2.IIntelligenceConfig, protos.google.storage.control.v2.IUpdateFolderIntelligenceConfigRequest | null | undefined, {} | null | undefined>): void;
591
+ updateFolderIntelligenceConfig(request: protos.google.storage.control.v2.IUpdateFolderIntelligenceConfigRequest, callback: Callback<protos.google.storage.control.v2.IIntelligenceConfig, protos.google.storage.control.v2.IUpdateFolderIntelligenceConfigRequest | null | undefined, {} | null | undefined>): void;
592
+ /**
593
+ * Returns the Organization scoped singleton IntelligenceConfig resource.
594
+ *
595
+ * @param {Object} request
596
+ * The request object that will be sent.
597
+ * @param {string} request.name
598
+ * Required. The name of the `IntelligenceConfig` resource associated with
599
+ * your organization.
600
+ *
601
+ * Format: `organizations/{org_id}/locations/global/intelligenceConfig`
602
+ * @param {object} [options]
603
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
604
+ * @returns {Promise} - The promise which resolves to an array.
605
+ * The first element of the array is an object representing {@link protos.google.storage.control.v2.IntelligenceConfig|IntelligenceConfig}.
606
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods | documentation }
607
+ * for more details and examples.
608
+ * @example <caption>include:samples/generated/v2/storage_control.get_organization_intelligence_config.js</caption>
609
+ * region_tag:storage_v2_generated_StorageControl_GetOrganizationIntelligenceConfig_async
610
+ */
611
+ getOrganizationIntelligenceConfig(request?: protos.google.storage.control.v2.IGetOrganizationIntelligenceConfigRequest, options?: CallOptions): Promise<[
612
+ protos.google.storage.control.v2.IIntelligenceConfig,
613
+ protos.google.storage.control.v2.IGetOrganizationIntelligenceConfigRequest | undefined,
614
+ {} | undefined
615
+ ]>;
616
+ getOrganizationIntelligenceConfig(request: protos.google.storage.control.v2.IGetOrganizationIntelligenceConfigRequest, options: CallOptions, callback: Callback<protos.google.storage.control.v2.IIntelligenceConfig, protos.google.storage.control.v2.IGetOrganizationIntelligenceConfigRequest | null | undefined, {} | null | undefined>): void;
617
+ getOrganizationIntelligenceConfig(request: protos.google.storage.control.v2.IGetOrganizationIntelligenceConfigRequest, callback: Callback<protos.google.storage.control.v2.IIntelligenceConfig, protos.google.storage.control.v2.IGetOrganizationIntelligenceConfigRequest | null | undefined, {} | null | undefined>): void;
618
+ /**
619
+ * Updates the Organization scoped singleton IntelligenceConfig resource.
620
+ *
621
+ * @param {Object} request
622
+ * The request object that will be sent.
623
+ * @param {google.storage.control.v2.IntelligenceConfig} request.intelligenceConfig
624
+ * Required. The `IntelligenceConfig` resource to be updated.
625
+ * @param {google.protobuf.FieldMask} request.updateMask
626
+ * Required. The `update_mask` that specifies the fields within the
627
+ * `IntelligenceConfig` resource that should be modified by this update. Only
628
+ * the listed fields are updated.
629
+ * @param {string} [request.requestId]
630
+ * Optional. The ID that uniquely identifies the request, preventing duplicate
631
+ * processing.
632
+ * @param {object} [options]
633
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
634
+ * @returns {Promise} - The promise which resolves to an array.
635
+ * The first element of the array is an object representing {@link protos.google.storage.control.v2.IntelligenceConfig|IntelligenceConfig}.
636
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods | documentation }
637
+ * for more details and examples.
638
+ * @example <caption>include:samples/generated/v2/storage_control.update_organization_intelligence_config.js</caption>
639
+ * region_tag:storage_v2_generated_StorageControl_UpdateOrganizationIntelligenceConfig_async
640
+ */
641
+ updateOrganizationIntelligenceConfig(request?: protos.google.storage.control.v2.IUpdateOrganizationIntelligenceConfigRequest, options?: CallOptions): Promise<[
642
+ protos.google.storage.control.v2.IIntelligenceConfig,
643
+ protos.google.storage.control.v2.IUpdateOrganizationIntelligenceConfigRequest | undefined,
644
+ {} | undefined
645
+ ]>;
646
+ updateOrganizationIntelligenceConfig(request: protos.google.storage.control.v2.IUpdateOrganizationIntelligenceConfigRequest, options: CallOptions, callback: Callback<protos.google.storage.control.v2.IIntelligenceConfig, protos.google.storage.control.v2.IUpdateOrganizationIntelligenceConfigRequest | null | undefined, {} | null | undefined>): void;
647
+ updateOrganizationIntelligenceConfig(request: protos.google.storage.control.v2.IUpdateOrganizationIntelligenceConfigRequest, callback: Callback<protos.google.storage.control.v2.IIntelligenceConfig, protos.google.storage.control.v2.IUpdateOrganizationIntelligenceConfigRequest | null | undefined, {} | null | undefined>): void;
366
648
  /**
367
649
  * Renames a source folder to a destination folder. This operation is only
368
650
  * applicable to a hierarchical namespace enabled bucket. During a rename, the
@@ -417,52 +699,151 @@ export declare class StorageControlClient {
417
699
  */
418
700
  checkRenameFolderProgress(name: string): Promise<LROperation<protos.google.storage.control.v2.Folder, protos.google.storage.control.v2.RenameFolderMetadata>>;
419
701
  /**
420
- * Retrieves a list of folders. This operation is only applicable to a
421
- * hierarchical namespace enabled bucket.
702
+ * Creates an Anywhere Cache instance.
422
703
  *
423
704
  * @param {Object} request
424
705
  * The request object that will be sent.
425
706
  * @param {string} request.parent
426
- * Required. Name of the bucket in which to look for folders. The bucket must
427
- * be a hierarchical namespace enabled bucket.
428
- * @param {number} [request.pageSize]
429
- * Optional. Maximum number of folders to return in a single response. The
430
- * service will use this parameter or 1,000 items, whichever is smaller.
431
- * @param {string} [request.pageToken]
432
- * Optional. A previously-returned page token representing part of the larger
433
- * set of results to view.
434
- * @param {string} [request.prefix]
435
- * Optional. Filter results to folders whose names begin with this prefix.
436
- * If set, the value must either be an empty string or end with a '/'.
437
- * @param {string} [request.delimiter]
438
- * Optional. If set, returns results in a directory-like mode. The results
439
- * will only include folders that either exactly match the above prefix, or
440
- * are one level below the prefix. The only supported value is '/'.
441
- * @param {string} [request.lexicographicStart]
442
- * Optional. Filter results to folders whose names are lexicographically equal
443
- * to or after lexicographic_start. If lexicographic_end is also set, the
444
- * folders listed have names between lexicographic_start (inclusive) and
445
- * lexicographic_end (exclusive).
446
- * @param {string} [request.lexicographicEnd]
447
- * Optional. Filter results to folders whose names are lexicographically
448
- * before lexicographic_end. If lexicographic_start is also set, the folders
449
- * listed have names between lexicographic_start (inclusive) and
450
- * lexicographic_end (exclusive).
707
+ * Required. The bucket to which this cache belongs.
708
+ * Format: `projects/{project}/buckets/{bucket}`
709
+ * @param {google.storage.control.v2.AnywhereCache} request.anywhereCache
710
+ * Required. Properties of the Anywhere Cache instance being created.
711
+ * The parent bucket name is specified in the `parent` field. Server uses the
712
+ * default value of `ttl` or `admission_policy` if not specified in
713
+ * request.
451
714
  * @param {string} [request.requestId]
452
715
  * Optional. A unique identifier for this request. UUID is the recommended
453
- * format, but other formats are still accepted.
716
+ * format, but other formats are still accepted. This request is only
717
+ * idempotent if a `request_id` is provided.
454
718
  * @param {object} [options]
455
719
  * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
456
720
  * @returns {Promise} - The promise which resolves to an array.
457
- * The first element of the array is Array of {@link protos.google.storage.control.v2.Folder|Folder}.
458
- * The client library will perform auto-pagination by default: it will call the API as many
459
- * times as needed and will merge results from all the pages into this array.
460
- * Note that it can affect your quota.
461
- * We recommend using `listFoldersAsync()`
462
- * method described below for async iteration which you can stop as needed.
463
- * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination | documentation }
721
+ * The first element of the array is an object representing
722
+ * a long running operation. Its `promise()` method returns a promise
723
+ * you can `await` for.
724
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#long-running-operations | documentation }
725
+ * for more details and examples.
726
+ * @example <caption>include:samples/generated/v2/storage_control.create_anywhere_cache.js</caption>
727
+ * region_tag:storage_v2_generated_StorageControl_CreateAnywhereCache_async
728
+ */
729
+ createAnywhereCache(request?: protos.google.storage.control.v2.ICreateAnywhereCacheRequest, options?: CallOptions): Promise<[
730
+ LROperation<protos.google.storage.control.v2.IAnywhereCache, protos.google.storage.control.v2.ICreateAnywhereCacheMetadata>,
731
+ protos.google.longrunning.IOperation | undefined,
732
+ {} | undefined
733
+ ]>;
734
+ createAnywhereCache(request: protos.google.storage.control.v2.ICreateAnywhereCacheRequest, options: CallOptions, callback: Callback<LROperation<protos.google.storage.control.v2.IAnywhereCache, protos.google.storage.control.v2.ICreateAnywhereCacheMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void;
735
+ createAnywhereCache(request: protos.google.storage.control.v2.ICreateAnywhereCacheRequest, callback: Callback<LROperation<protos.google.storage.control.v2.IAnywhereCache, protos.google.storage.control.v2.ICreateAnywhereCacheMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void;
736
+ /**
737
+ * Check the status of the long running operation returned by `createAnywhereCache()`.
738
+ * @param {String} name
739
+ * The operation name that will be passed.
740
+ * @returns {Promise} - The promise which resolves to an object.
741
+ * The decoded operation object has result and metadata field to get information from.
742
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#long-running-operations | documentation }
743
+ * for more details and examples.
744
+ * @example <caption>include:samples/generated/v2/storage_control.create_anywhere_cache.js</caption>
745
+ * region_tag:storage_v2_generated_StorageControl_CreateAnywhereCache_async
746
+ */
747
+ checkCreateAnywhereCacheProgress(name: string): Promise<LROperation<protos.google.storage.control.v2.AnywhereCache, protos.google.storage.control.v2.CreateAnywhereCacheMetadata>>;
748
+ /**
749
+ * Updates an Anywhere Cache instance. Mutable fields include `ttl` and
750
+ * `admission_policy`.
751
+ *
752
+ * @param {Object} request
753
+ * The request object that will be sent.
754
+ * @param {google.storage.control.v2.AnywhereCache} request.anywhereCache
755
+ * Required. The Anywhere Cache instance to be updated.
756
+ * @param {google.protobuf.FieldMask} request.updateMask
757
+ * Required. List of fields to be updated. Mutable fields of AnywhereCache
758
+ * include `ttl` and `admission_policy`.
759
+ *
760
+ * To specify ALL fields, specify a single field with the value `*`. Note: We
761
+ * recommend against doing this. If a new field is introduced at a later time,
762
+ * an older client updating with the `*` may accidentally reset the new
763
+ * field's value.
764
+ *
765
+ * Not specifying any fields is an error.
766
+ * @param {string} [request.requestId]
767
+ * Optional. A unique identifier for this request. UUID is the recommended
768
+ * format, but other formats are still accepted. This request is only
769
+ * idempotent if a `request_id` is provided.
770
+ * @param {object} [options]
771
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
772
+ * @returns {Promise} - The promise which resolves to an array.
773
+ * The first element of the array is an object representing
774
+ * a long running operation. Its `promise()` method returns a promise
775
+ * you can `await` for.
776
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#long-running-operations | documentation }
777
+ * for more details and examples.
778
+ * @example <caption>include:samples/generated/v2/storage_control.update_anywhere_cache.js</caption>
779
+ * region_tag:storage_v2_generated_StorageControl_UpdateAnywhereCache_async
780
+ */
781
+ updateAnywhereCache(request?: protos.google.storage.control.v2.IUpdateAnywhereCacheRequest, options?: CallOptions): Promise<[
782
+ LROperation<protos.google.storage.control.v2.IAnywhereCache, protos.google.storage.control.v2.IUpdateAnywhereCacheMetadata>,
783
+ protos.google.longrunning.IOperation | undefined,
784
+ {} | undefined
785
+ ]>;
786
+ updateAnywhereCache(request: protos.google.storage.control.v2.IUpdateAnywhereCacheRequest, options: CallOptions, callback: Callback<LROperation<protos.google.storage.control.v2.IAnywhereCache, protos.google.storage.control.v2.IUpdateAnywhereCacheMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void;
787
+ updateAnywhereCache(request: protos.google.storage.control.v2.IUpdateAnywhereCacheRequest, callback: Callback<LROperation<protos.google.storage.control.v2.IAnywhereCache, protos.google.storage.control.v2.IUpdateAnywhereCacheMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void;
788
+ /**
789
+ * Check the status of the long running operation returned by `updateAnywhereCache()`.
790
+ * @param {String} name
791
+ * The operation name that will be passed.
792
+ * @returns {Promise} - The promise which resolves to an object.
793
+ * The decoded operation object has result and metadata field to get information from.
794
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#long-running-operations | documentation }
464
795
  * for more details and examples.
796
+ * @example <caption>include:samples/generated/v2/storage_control.update_anywhere_cache.js</caption>
797
+ * region_tag:storage_v2_generated_StorageControl_UpdateAnywhereCache_async
465
798
  */
799
+ checkUpdateAnywhereCacheProgress(name: string): Promise<LROperation<protos.google.storage.control.v2.AnywhereCache, protos.google.storage.control.v2.UpdateAnywhereCacheMetadata>>;
800
+ /**
801
+ * Retrieves a list of folders. This operation is only applicable to a
802
+ * hierarchical namespace enabled bucket.
803
+ *
804
+ * @param {Object} request
805
+ * The request object that will be sent.
806
+ * @param {string} request.parent
807
+ * Required. Name of the bucket in which to look for folders. The bucket must
808
+ * be a hierarchical namespace enabled bucket.
809
+ * @param {number} [request.pageSize]
810
+ * Optional. Maximum number of folders to return in a single response. The
811
+ * service will use this parameter or 1,000 items, whichever is smaller.
812
+ * @param {string} [request.pageToken]
813
+ * Optional. A previously-returned page token representing part of the larger
814
+ * set of results to view.
815
+ * @param {string} [request.prefix]
816
+ * Optional. Filter results to folders whose names begin with this prefix.
817
+ * If set, the value must either be an empty string or end with a '/'.
818
+ * @param {string} [request.delimiter]
819
+ * Optional. If set, returns results in a directory-like mode. The results
820
+ * will only include folders that either exactly match the above prefix, or
821
+ * are one level below the prefix. The only supported value is '/'.
822
+ * @param {string} [request.lexicographicStart]
823
+ * Optional. Filter results to folders whose names are lexicographically equal
824
+ * to or after lexicographic_start. If lexicographic_end is also set, the
825
+ * folders listed have names between lexicographic_start (inclusive) and
826
+ * lexicographic_end (exclusive).
827
+ * @param {string} [request.lexicographicEnd]
828
+ * Optional. Filter results to folders whose names are lexicographically
829
+ * before lexicographic_end. If lexicographic_start is also set, the folders
830
+ * listed have names between lexicographic_start (inclusive) and
831
+ * lexicographic_end (exclusive).
832
+ * @param {string} [request.requestId]
833
+ * Optional. A unique identifier for this request. UUID is the recommended
834
+ * format, but other formats are still accepted.
835
+ * @param {object} [options]
836
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
837
+ * @returns {Promise} - The promise which resolves to an array.
838
+ * The first element of the array is Array of {@link protos.google.storage.control.v2.Folder|Folder}.
839
+ * The client library will perform auto-pagination by default: it will call the API as many
840
+ * times as needed and will merge results from all the pages into this array.
841
+ * Note that it can affect your quota.
842
+ * We recommend using `listFoldersAsync()`
843
+ * method described below for async iteration which you can stop as needed.
844
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination | documentation }
845
+ * for more details and examples.
846
+ */
466
847
  listFolders(request?: protos.google.storage.control.v2.IListFoldersRequest, options?: CallOptions): Promise<[
467
848
  protos.google.storage.control.v2.IFolder[],
468
849
  protos.google.storage.control.v2.IListFoldersRequest | null,
@@ -564,36 +945,36 @@ export declare class StorageControlClient {
564
945
  */
565
946
  listFoldersAsync(request?: protos.google.storage.control.v2.IListFoldersRequest, options?: CallOptions): AsyncIterable<protos.google.storage.control.v2.IFolder>;
566
947
  /**
567
- * Retrieves a list of managed folders for a given bucket.
568
- *
569
- * @param {Object} request
570
- * The request object that will be sent.
571
- * @param {string} request.parent
572
- * Required. Name of the bucket this managed folder belongs to.
573
- * @param {number} [request.pageSize]
574
- * Optional. Maximum number of managed folders to return in a single response.
575
- * The service will use this parameter or 1,000 items, whichever is smaller.
576
- * @param {string} [request.pageToken]
577
- * Optional. A previously-returned page token representing part of the larger
578
- * set of results to view.
579
- * @param {string} [request.prefix]
580
- * Optional. Filter results to match managed folders with name starting with
581
- * this prefix.
582
- * @param {string} [request.requestId]
583
- * Optional. A unique identifier for this request. UUID is the recommended
584
- * format, but other formats are still accepted.
585
- * @param {object} [options]
586
- * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
587
- * @returns {Promise} - The promise which resolves to an array.
588
- * The first element of the array is Array of {@link protos.google.storage.control.v2.ManagedFolder|ManagedFolder}.
589
- * The client library will perform auto-pagination by default: it will call the API as many
590
- * times as needed and will merge results from all the pages into this array.
591
- * Note that it can affect your quota.
592
- * We recommend using `listManagedFoldersAsync()`
593
- * method described below for async iteration which you can stop as needed.
594
- * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination | documentation }
595
- * for more details and examples.
596
- */
948
+ * Retrieves a list of managed folders for a given bucket.
949
+ *
950
+ * @param {Object} request
951
+ * The request object that will be sent.
952
+ * @param {string} request.parent
953
+ * Required. Name of the bucket this managed folder belongs to.
954
+ * @param {number} [request.pageSize]
955
+ * Optional. Maximum number of managed folders to return in a single response.
956
+ * The service will use this parameter or 1,000 items, whichever is smaller.
957
+ * @param {string} [request.pageToken]
958
+ * Optional. A previously-returned page token representing part of the larger
959
+ * set of results to view.
960
+ * @param {string} [request.prefix]
961
+ * Optional. Filter results to match managed folders with name starting with
962
+ * this prefix.
963
+ * @param {string} [request.requestId]
964
+ * Optional. A unique identifier for this request. UUID is the recommended
965
+ * format, but other formats are still accepted.
966
+ * @param {object} [options]
967
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
968
+ * @returns {Promise} - The promise which resolves to an array.
969
+ * The first element of the array is Array of {@link protos.google.storage.control.v2.ManagedFolder|ManagedFolder}.
970
+ * The client library will perform auto-pagination by default: it will call the API as many
971
+ * times as needed and will merge results from all the pages into this array.
972
+ * Note that it can affect your quota.
973
+ * We recommend using `listManagedFoldersAsync()`
974
+ * method described below for async iteration which you can stop as needed.
975
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination | documentation }
976
+ * for more details and examples.
977
+ */
597
978
  listManagedFolders(request?: protos.google.storage.control.v2.IListManagedFoldersRequest, options?: CallOptions): Promise<[
598
979
  protos.google.storage.control.v2.IManagedFolder[],
599
980
  protos.google.storage.control.v2.IListManagedFoldersRequest | null,
@@ -665,35 +1046,127 @@ export declare class StorageControlClient {
665
1046
  */
666
1047
  listManagedFoldersAsync(request?: protos.google.storage.control.v2.IListManagedFoldersRequest, options?: CallOptions): AsyncIterable<protos.google.storage.control.v2.IManagedFolder>;
667
1048
  /**
668
- * Gets the latest state of a long-running operation. Clients can use this
669
- * method to poll the operation result at intervals as recommended by the API
670
- * service.
671
- *
672
- * @param {Object} request - The request object that will be sent.
673
- * @param {string} request.name - The name of the operation resource.
674
- * @param {Object=} options
675
- * Optional parameters. You can override the default settings for this call,
676
- * e.g, timeout, retries, paginations, etc. See {@link
677
- * https://googleapis.github.io/gax-nodejs/global.html#CallOptions | gax.CallOptions}
678
- * for the details.
679
- * @param {function(?Error, ?Object)=} callback
680
- * The function which will be called with the result of the API call.
681
- *
682
- * The second parameter to the callback is an object representing
683
- * {@link google.longrunning.Operation | google.longrunning.Operation}.
684
- * @return {Promise} - The promise which resolves to an array.
685
- * The first element of the array is an object representing
686
- * {@link google.longrunning.Operation | google.longrunning.Operation}.
687
- * The promise has a method named "cancel" which cancels the ongoing API call.
1049
+ * Lists Anywhere Cache instances for a given bucket.
1050
+ *
1051
+ * @param {Object} request
1052
+ * The request object that will be sent.
1053
+ * @param {string} request.parent
1054
+ * Required. The bucket to which this cache belongs.
1055
+ * @param {number} request.pageSize
1056
+ * Maximum number of caches to return in a single response.
1057
+ * The service will use this parameter or 1,000 items, whichever is smaller.
1058
+ * @param {string} request.pageToken
1059
+ * A previously-returned page token representing part of the larger set of
1060
+ * results to view.
1061
+ * @param {string} [request.requestId]
1062
+ * Optional. A unique identifier for this request. UUID is the recommended
1063
+ * format, but other formats are still accepted.
1064
+ * @param {object} [options]
1065
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
1066
+ * @returns {Promise} - The promise which resolves to an array.
1067
+ * The first element of the array is Array of {@link protos.google.storage.control.v2.AnywhereCache|AnywhereCache}.
1068
+ * The client library will perform auto-pagination by default: it will call the API as many
1069
+ * times as needed and will merge results from all the pages into this array.
1070
+ * Note that it can affect your quota.
1071
+ * We recommend using `listAnywhereCachesAsync()`
1072
+ * method described below for async iteration which you can stop as needed.
1073
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination | documentation }
1074
+ * for more details and examples.
1075
+ */
1076
+ listAnywhereCaches(request?: protos.google.storage.control.v2.IListAnywhereCachesRequest, options?: CallOptions): Promise<[
1077
+ protos.google.storage.control.v2.IAnywhereCache[],
1078
+ protos.google.storage.control.v2.IListAnywhereCachesRequest | null,
1079
+ protos.google.storage.control.v2.IListAnywhereCachesResponse
1080
+ ]>;
1081
+ listAnywhereCaches(request: protos.google.storage.control.v2.IListAnywhereCachesRequest, options: CallOptions, callback: PaginationCallback<protos.google.storage.control.v2.IListAnywhereCachesRequest, protos.google.storage.control.v2.IListAnywhereCachesResponse | null | undefined, protos.google.storage.control.v2.IAnywhereCache>): void;
1082
+ listAnywhereCaches(request: protos.google.storage.control.v2.IListAnywhereCachesRequest, callback: PaginationCallback<protos.google.storage.control.v2.IListAnywhereCachesRequest, protos.google.storage.control.v2.IListAnywhereCachesResponse | null | undefined, protos.google.storage.control.v2.IAnywhereCache>): void;
1083
+ /**
1084
+ * Equivalent to `listAnywhereCaches`, but returns a NodeJS Stream object.
1085
+ * @param {Object} request
1086
+ * The request object that will be sent.
1087
+ * @param {string} request.parent
1088
+ * Required. The bucket to which this cache belongs.
1089
+ * @param {number} request.pageSize
1090
+ * Maximum number of caches to return in a single response.
1091
+ * The service will use this parameter or 1,000 items, whichever is smaller.
1092
+ * @param {string} request.pageToken
1093
+ * A previously-returned page token representing part of the larger set of
1094
+ * results to view.
1095
+ * @param {string} [request.requestId]
1096
+ * Optional. A unique identifier for this request. UUID is the recommended
1097
+ * format, but other formats are still accepted.
1098
+ * @param {object} [options]
1099
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
1100
+ * @returns {Stream}
1101
+ * An object stream which emits an object representing {@link protos.google.storage.control.v2.AnywhereCache|AnywhereCache} on 'data' event.
1102
+ * The client library will perform auto-pagination by default: it will call the API as many
1103
+ * times as needed. Note that it can affect your quota.
1104
+ * We recommend using `listAnywhereCachesAsync()`
1105
+ * method described below for async iteration which you can stop as needed.
1106
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination | documentation }
1107
+ * for more details and examples.
1108
+ */
1109
+ listAnywhereCachesStream(request?: protos.google.storage.control.v2.IListAnywhereCachesRequest, options?: CallOptions): Transform;
1110
+ /**
1111
+ * Equivalent to `listAnywhereCaches`, but returns an iterable object.
688
1112
  *
689
- * @example
690
- * ```
691
- * const client = longrunning.operationsClient();
692
- * const name = '';
693
- * const [response] = await client.getOperation({name});
694
- * // doThingsWith(response)
695
- * ```
1113
+ * `for`-`await`-`of` syntax is used with the iterable to get response elements on-demand.
1114
+ * @param {Object} request
1115
+ * The request object that will be sent.
1116
+ * @param {string} request.parent
1117
+ * Required. The bucket to which this cache belongs.
1118
+ * @param {number} request.pageSize
1119
+ * Maximum number of caches to return in a single response.
1120
+ * The service will use this parameter or 1,000 items, whichever is smaller.
1121
+ * @param {string} request.pageToken
1122
+ * A previously-returned page token representing part of the larger set of
1123
+ * results to view.
1124
+ * @param {string} [request.requestId]
1125
+ * Optional. A unique identifier for this request. UUID is the recommended
1126
+ * format, but other formats are still accepted.
1127
+ * @param {object} [options]
1128
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
1129
+ * @returns {Object}
1130
+ * An iterable Object that allows {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols | async iteration }.
1131
+ * When you iterate the returned iterable, each element will be an object representing
1132
+ * {@link protos.google.storage.control.v2.AnywhereCache|AnywhereCache}. The API will be called under the hood as needed, once per the page,
1133
+ * so you can stop the iteration when you don't need more results.
1134
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination | documentation }
1135
+ * for more details and examples.
1136
+ * @example <caption>include:samples/generated/v2/storage_control.list_anywhere_caches.js</caption>
1137
+ * region_tag:storage_v2_generated_StorageControl_ListAnywhereCaches_async
696
1138
  */
1139
+ listAnywhereCachesAsync(request?: protos.google.storage.control.v2.IListAnywhereCachesRequest, options?: CallOptions): AsyncIterable<protos.google.storage.control.v2.IAnywhereCache>;
1140
+ /**
1141
+ * Gets the latest state of a long-running operation. Clients can use this
1142
+ * method to poll the operation result at intervals as recommended by the API
1143
+ * service.
1144
+ *
1145
+ * @param {Object} request - The request object that will be sent.
1146
+ * @param {string} request.name - The name of the operation resource.
1147
+ * @param {Object=} options
1148
+ * Optional parameters. You can override the default settings for this call,
1149
+ * e.g, timeout, retries, paginations, etc. See {@link
1150
+ * https://googleapis.github.io/gax-nodejs/global.html#CallOptions | gax.CallOptions}
1151
+ * for the details.
1152
+ * @param {function(?Error, ?Object)=} callback
1153
+ * The function which will be called with the result of the API call.
1154
+ *
1155
+ * The second parameter to the callback is an object representing
1156
+ * {@link google.longrunning.Operation | google.longrunning.Operation}.
1157
+ * @return {Promise} - The promise which resolves to an array.
1158
+ * The first element of the array is an object representing
1159
+ * {@link google.longrunning.Operation | google.longrunning.Operation}.
1160
+ * The promise has a method named "cancel" which cancels the ongoing API call.
1161
+ *
1162
+ * @example
1163
+ * ```
1164
+ * const client = longrunning.operationsClient();
1165
+ * const name = '';
1166
+ * const [response] = await client.getOperation({name});
1167
+ * // doThingsWith(response)
1168
+ * ```
1169
+ */
697
1170
  getOperation(request: protos.google.longrunning.GetOperationRequest, optionsOrCallback?: gax.CallOptions | Callback<protos.google.longrunning.Operation, protos.google.longrunning.GetOperationRequest, {} | null | undefined>, callback?: Callback<protos.google.longrunning.Operation, protos.google.longrunning.GetOperationRequest, {} | null | undefined>): Promise<[protos.google.longrunning.Operation]>;
698
1171
  /**
699
1172
  * Lists operations that match the specified filter in the request. If the
@@ -784,6 +1257,39 @@ export declare class StorageControlClient {
784
1257
  * ```
785
1258
  */
786
1259
  deleteOperation(request: protos.google.longrunning.DeleteOperationRequest, optionsOrCallback?: gax.CallOptions | Callback<protos.google.protobuf.Empty, protos.google.longrunning.DeleteOperationRequest, {} | null | undefined>, callback?: Callback<protos.google.protobuf.Empty, protos.google.longrunning.DeleteOperationRequest, {} | null | undefined>): Promise<protos.google.protobuf.Empty>;
1260
+ /**
1261
+ * Return a fully-qualified anywhereCache resource name string.
1262
+ *
1263
+ * @param {string} project
1264
+ * @param {string} bucket
1265
+ * @param {string} anywhere_cache
1266
+ * @returns {string} Resource name string.
1267
+ */
1268
+ anywhereCachePath(project: string, bucket: string, anywhereCache: string): string;
1269
+ /**
1270
+ * Parse the project from AnywhereCache resource.
1271
+ *
1272
+ * @param {string} anywhereCacheName
1273
+ * A fully-qualified path representing AnywhereCache resource.
1274
+ * @returns {string} A string representing the project.
1275
+ */
1276
+ matchProjectFromAnywhereCacheName(anywhereCacheName: string): string | number;
1277
+ /**
1278
+ * Parse the bucket from AnywhereCache resource.
1279
+ *
1280
+ * @param {string} anywhereCacheName
1281
+ * A fully-qualified path representing AnywhereCache resource.
1282
+ * @returns {string} A string representing the bucket.
1283
+ */
1284
+ matchBucketFromAnywhereCacheName(anywhereCacheName: string): string | number;
1285
+ /**
1286
+ * Parse the anywhere_cache from AnywhereCache resource.
1287
+ *
1288
+ * @param {string} anywhereCacheName
1289
+ * A fully-qualified path representing AnywhereCache resource.
1290
+ * @returns {string} A string representing the anywhere_cache.
1291
+ */
1292
+ matchAnywhereCacheFromAnywhereCacheName(anywhereCacheName: string): string | number;
787
1293
  /**
788
1294
  * Return a fully-qualified bucket resource name string.
789
1295
  *
@@ -841,6 +1347,30 @@ export declare class StorageControlClient {
841
1347
  * @returns {string} A string representing the folder.
842
1348
  */
843
1349
  matchFolderFromFolderName(folderName: string): string | number;
1350
+ /**
1351
+ * Return a fully-qualified folderLocationIntelligenceConfig resource name string.
1352
+ *
1353
+ * @param {string} folder
1354
+ * @param {string} location
1355
+ * @returns {string} Resource name string.
1356
+ */
1357
+ folderLocationIntelligenceConfigPath(folder: string, location: string): string;
1358
+ /**
1359
+ * Parse the folder from FolderLocationIntelligenceConfig resource.
1360
+ *
1361
+ * @param {string} folderLocationIntelligenceConfigName
1362
+ * A fully-qualified path representing folder_location_intelligenceConfig resource.
1363
+ * @returns {string} A string representing the folder.
1364
+ */
1365
+ matchFolderFromFolderLocationIntelligenceConfigName(folderLocationIntelligenceConfigName: string): string | number;
1366
+ /**
1367
+ * Parse the location from FolderLocationIntelligenceConfig resource.
1368
+ *
1369
+ * @param {string} folderLocationIntelligenceConfigName
1370
+ * A fully-qualified path representing folder_location_intelligenceConfig resource.
1371
+ * @returns {string} A string representing the location.
1372
+ */
1373
+ matchLocationFromFolderLocationIntelligenceConfigName(folderLocationIntelligenceConfigName: string): string | number;
844
1374
  /**
845
1375
  * Return a fully-qualified managedFolder resource name string.
846
1376
  *
@@ -874,6 +1404,30 @@ export declare class StorageControlClient {
874
1404
  * @returns {string} A string representing the managed_folder.
875
1405
  */
876
1406
  matchManagedFolderFromManagedFolderName(managedFolderName: string): string | number;
1407
+ /**
1408
+ * Return a fully-qualified orgLocationIntelligenceConfig resource name string.
1409
+ *
1410
+ * @param {string} org
1411
+ * @param {string} location
1412
+ * @returns {string} Resource name string.
1413
+ */
1414
+ orgLocationIntelligenceConfigPath(org: string, location: string): string;
1415
+ /**
1416
+ * Parse the org from OrgLocationIntelligenceConfig resource.
1417
+ *
1418
+ * @param {string} orgLocationIntelligenceConfigName
1419
+ * A fully-qualified path representing org_location_intelligenceConfig resource.
1420
+ * @returns {string} A string representing the org.
1421
+ */
1422
+ matchOrgFromOrgLocationIntelligenceConfigName(orgLocationIntelligenceConfigName: string): string | number;
1423
+ /**
1424
+ * Parse the location from OrgLocationIntelligenceConfig resource.
1425
+ *
1426
+ * @param {string} orgLocationIntelligenceConfigName
1427
+ * A fully-qualified path representing org_location_intelligenceConfig resource.
1428
+ * @returns {string} A string representing the location.
1429
+ */
1430
+ matchLocationFromOrgLocationIntelligenceConfigName(orgLocationIntelligenceConfigName: string): string | number;
877
1431
  /**
878
1432
  * Return a fully-qualified project resource name string.
879
1433
  *
@@ -889,6 +1443,30 @@ export declare class StorageControlClient {
889
1443
  * @returns {string} A string representing the project.
890
1444
  */
891
1445
  matchProjectFromProjectName(projectName: string): string | number;
1446
+ /**
1447
+ * Return a fully-qualified projectLocationIntelligenceConfig resource name string.
1448
+ *
1449
+ * @param {string} project
1450
+ * @param {string} location
1451
+ * @returns {string} Resource name string.
1452
+ */
1453
+ projectLocationIntelligenceConfigPath(project: string, location: string): string;
1454
+ /**
1455
+ * Parse the project from ProjectLocationIntelligenceConfig resource.
1456
+ *
1457
+ * @param {string} projectLocationIntelligenceConfigName
1458
+ * A fully-qualified path representing project_location_intelligenceConfig resource.
1459
+ * @returns {string} A string representing the project.
1460
+ */
1461
+ matchProjectFromProjectLocationIntelligenceConfigName(projectLocationIntelligenceConfigName: string): string | number;
1462
+ /**
1463
+ * Parse the location from ProjectLocationIntelligenceConfig resource.
1464
+ *
1465
+ * @param {string} projectLocationIntelligenceConfigName
1466
+ * A fully-qualified path representing project_location_intelligenceConfig resource.
1467
+ * @returns {string} A string representing the location.
1468
+ */
1469
+ matchLocationFromProjectLocationIntelligenceConfigName(projectLocationIntelligenceConfigName: string): string | number;
892
1470
  /**
893
1471
  * Return a fully-qualified storageLayout resource name string.
894
1472
  *