@googleapis/discoveryengine 25.0.0 → 25.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/build/v1alpha.js CHANGED
@@ -969,6 +969,39 @@ var discoveryengine_v1alpha;
969
969
  return (0, googleapis_common_1.createAPIRequest)(parameters);
970
970
  }
971
971
  }
972
+ checkRefreshToken(paramsOrCallback, optionsOrCallback, callback) {
973
+ let params = (paramsOrCallback ||
974
+ {});
975
+ let options = (optionsOrCallback || {});
976
+ if (typeof paramsOrCallback === 'function') {
977
+ callback = paramsOrCallback;
978
+ params =
979
+ {};
980
+ options = {};
981
+ }
982
+ if (typeof optionsOrCallback === 'function') {
983
+ callback = optionsOrCallback;
984
+ options = {};
985
+ }
986
+ const rootUrl = options.rootUrl || 'https://discoveryengine.googleapis.com/';
987
+ const parameters = {
988
+ options: Object.assign({
989
+ url: (rootUrl + '/v1alpha/{+name}:checkRefreshToken').replace(/([^:]\/)\/+/g, '$1'),
990
+ method: 'GET',
991
+ apiVersion: '',
992
+ }, options),
993
+ params,
994
+ requiredParams: ['name'],
995
+ pathParams: ['name'],
996
+ context: this.context,
997
+ };
998
+ if (callback) {
999
+ (0, googleapis_common_1.createAPIRequest)(parameters, callback);
1000
+ }
1001
+ else {
1002
+ return (0, googleapis_common_1.createAPIRequest)(parameters);
1003
+ }
1004
+ }
972
1005
  getConnectorSecret(paramsOrCallback, optionsOrCallback, callback) {
973
1006
  let params = (paramsOrCallback ||
974
1007
  {});
@@ -4608,6 +4641,39 @@ var discoveryengine_v1alpha;
4608
4641
  return (0, googleapis_common_1.createAPIRequest)(parameters);
4609
4642
  }
4610
4643
  }
4644
+ getWorkspaceSettings(paramsOrCallback, optionsOrCallback, callback) {
4645
+ let params = (paramsOrCallback ||
4646
+ {});
4647
+ let options = (optionsOrCallback || {});
4648
+ if (typeof paramsOrCallback === 'function') {
4649
+ callback = paramsOrCallback;
4650
+ params =
4651
+ {};
4652
+ options = {};
4653
+ }
4654
+ if (typeof optionsOrCallback === 'function') {
4655
+ callback = optionsOrCallback;
4656
+ options = {};
4657
+ }
4658
+ const rootUrl = options.rootUrl || 'https://discoveryengine.googleapis.com/';
4659
+ const parameters = {
4660
+ options: Object.assign({
4661
+ url: (rootUrl + '/v1alpha/{+name}:getWorkspaceSettings').replace(/([^:]\/)\/+/g, '$1'),
4662
+ method: 'GET',
4663
+ apiVersion: '',
4664
+ }, options),
4665
+ params,
4666
+ requiredParams: ['name'],
4667
+ pathParams: ['name'],
4668
+ context: this.context,
4669
+ };
4670
+ if (callback) {
4671
+ (0, googleapis_common_1.createAPIRequest)(parameters, callback);
4672
+ }
4673
+ else {
4674
+ return (0, googleapis_common_1.createAPIRequest)(parameters);
4675
+ }
4676
+ }
4611
4677
  list(paramsOrCallback, optionsOrCallback, callback) {
4612
4678
  let params = (paramsOrCallback ||
4613
4679
  {});