@@ -37,12 +37,20 @@ class CloudRedis extends \Google\Service
3737 /** See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.. */
3838 const CLOUD_PLATFORM =
3939 "https://www.googleapis.com/auth/cloud-platform " ;
40+ /** See your Google Cloud Memorystore for Redis data and the email address of your Google Account. */
41+ const REDIS_READ_ONLY =
42+ "https://www.googleapis.com/auth/redis.read-only " ;
43+ /** See, edit, configure, and delete your Google Cloud Memorystore for Redis data and see the email address for your Google Account. */
44+ const REDIS_READ_WRITE =
45+ "https://www.googleapis.com/auth/redis.read-write " ;
4046
4147 public $ projects_locations ;
4248 public $ projects_locations_aclPolicies ;
4349 public $ projects_locations_backupCollections ;
4450 public $ projects_locations_backupCollections_backups ;
4551 public $ projects_locations_clusters ;
52+ public $ projects_locations_clusters_tokenAuthUsers ;
53+ public $ projects_locations_clusters_tokenAuthUsers_authTokens ;
4654 public $ projects_locations_instances ;
4755 public $ projects_locations_operations ;
4856 public $ rootUrlTemplate ;
@@ -319,7 +327,17 @@ public function __construct($clientOrConfig = [], $rootUrl = null)
319327 'clusters ' ,
320328 [
321329 'methods ' => [
322- 'backup ' => [
330+ 'addTokenAuthUser ' => [
331+ 'path ' => 'v1/{+cluster}:addTokenAuthUser ' ,
332+ 'httpMethod ' => 'POST ' ,
333+ 'parameters ' => [
334+ 'cluster ' => [
335+ 'location ' => 'path ' ,
336+ 'type ' => 'string ' ,
337+ 'required ' => true ,
338+ ],
339+ ],
340+ ],'backup ' => [
323341 'path ' => 'v1/{+name}:backup ' ,
324342 'httpMethod ' => 'POST ' ,
325343 'parameters ' => [
@@ -431,6 +449,136 @@ public function __construct($clientOrConfig = [], $rootUrl = null)
431449 ]
432450 ]
433451 );
452+ $ this ->projects_locations_clusters_tokenAuthUsers = new CloudRedis \Resource \ProjectsLocationsClustersTokenAuthUsers (
453+ $ this ,
454+ $ this ->serviceName ,
455+ 'tokenAuthUsers ' ,
456+ [
457+ 'methods ' => [
458+ 'addAuthToken ' => [
459+ 'path ' => 'v1/{+tokenAuthUser}:addAuthToken ' ,
460+ 'httpMethod ' => 'POST ' ,
461+ 'parameters ' => [
462+ 'tokenAuthUser ' => [
463+ 'location ' => 'path ' ,
464+ 'type ' => 'string ' ,
465+ 'required ' => true ,
466+ ],
467+ ],
468+ ],'delete ' => [
469+ 'path ' => 'v1/{+name} ' ,
470+ 'httpMethod ' => 'DELETE ' ,
471+ 'parameters ' => [
472+ 'name ' => [
473+ 'location ' => 'path ' ,
474+ 'type ' => 'string ' ,
475+ 'required ' => true ,
476+ ],
477+ 'force ' => [
478+ 'location ' => 'query ' ,
479+ 'type ' => 'boolean ' ,
480+ ],
481+ 'requestId ' => [
482+ 'location ' => 'query ' ,
483+ 'type ' => 'string ' ,
484+ ],
485+ ],
486+ ],'get ' => [
487+ 'path ' => 'v1/{+name} ' ,
488+ 'httpMethod ' => 'GET ' ,
489+ 'parameters ' => [
490+ 'name ' => [
491+ 'location ' => 'path ' ,
492+ 'type ' => 'string ' ,
493+ 'required ' => true ,
494+ ],
495+ ],
496+ ],'list ' => [
497+ 'path ' => 'v1/{+parent}/tokenAuthUsers ' ,
498+ 'httpMethod ' => 'GET ' ,
499+ 'parameters ' => [
500+ 'parent ' => [
501+ 'location ' => 'path ' ,
502+ 'type ' => 'string ' ,
503+ 'required ' => true ,
504+ ],
505+ 'filter ' => [
506+ 'location ' => 'query ' ,
507+ 'type ' => 'string ' ,
508+ ],
509+ 'orderBy ' => [
510+ 'location ' => 'query ' ,
511+ 'type ' => 'string ' ,
512+ ],
513+ 'pageSize ' => [
514+ 'location ' => 'query ' ,
515+ 'type ' => 'integer ' ,
516+ ],
517+ 'pageToken ' => [
518+ 'location ' => 'query ' ,
519+ 'type ' => 'string ' ,
520+ ],
521+ ],
522+ ],
523+ ]
524+ ]
525+ );
526+ $ this ->projects_locations_clusters_tokenAuthUsers_authTokens = new CloudRedis \Resource \ProjectsLocationsClustersTokenAuthUsersAuthTokens (
527+ $ this ,
528+ $ this ->serviceName ,
529+ 'authTokens ' ,
530+ [
531+ 'methods ' => [
532+ 'delete ' => [
533+ 'path ' => 'v1/{+name} ' ,
534+ 'httpMethod ' => 'DELETE ' ,
535+ 'parameters ' => [
536+ 'name ' => [
537+ 'location ' => 'path ' ,
538+ 'type ' => 'string ' ,
539+ 'required ' => true ,
540+ ],
541+ ],
542+ ],'get ' => [
543+ 'path ' => 'v1/{+name} ' ,
544+ 'httpMethod ' => 'GET ' ,
545+ 'parameters ' => [
546+ 'name ' => [
547+ 'location ' => 'path ' ,
548+ 'type ' => 'string ' ,
549+ 'required ' => true ,
550+ ],
551+ ],
552+ ],'list ' => [
553+ 'path ' => 'v1/{+parent}/authTokens ' ,
554+ 'httpMethod ' => 'GET ' ,
555+ 'parameters ' => [
556+ 'parent ' => [
557+ 'location ' => 'path ' ,
558+ 'type ' => 'string ' ,
559+ 'required ' => true ,
560+ ],
561+ 'filter ' => [
562+ 'location ' => 'query ' ,
563+ 'type ' => 'string ' ,
564+ ],
565+ 'orderBy ' => [
566+ 'location ' => 'query ' ,
567+ 'type ' => 'string ' ,
568+ ],
569+ 'pageSize ' => [
570+ 'location ' => 'query ' ,
571+ 'type ' => 'integer ' ,
572+ ],
573+ 'pageToken ' => [
574+ 'location ' => 'query ' ,
575+ 'type ' => 'string ' ,
576+ ],
577+ ],
578+ ],
579+ ]
580+ ]
581+ );
434582 $ this ->projects_locations_instances = new CloudRedis \Resource \ProjectsLocationsInstances (
435583 $ this ,
436584 $ this ->serviceName ,
0 commit comments