google-cloud-memorystore-v1 1.9.0 → 1.11.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.
- checksums.yaml +4 -4
- data/lib/google/cloud/memorystore/v1/memorystore/client.rb +1076 -4
- data/lib/google/cloud/memorystore/v1/memorystore/credentials.rb +3 -1
- data/lib/google/cloud/memorystore/v1/memorystore/paths.rb +63 -0
- data/lib/google/cloud/memorystore/v1/memorystore/rest/client.rb +1006 -4
- data/lib/google/cloud/memorystore/v1/memorystore/rest/service_stub.rb +614 -0
- data/lib/google/cloud/memorystore/v1/memorystore_pb.rb +20 -1
- data/lib/google/cloud/memorystore/v1/memorystore_services_pb.rb +32 -0
- data/lib/google/cloud/memorystore/v1/version.rb +1 -1
- data/proto_docs/google/cloud/memorystore/v1/memorystore.rb +377 -22
- metadata +1 -1
|
@@ -115,7 +115,7 @@ module Google
|
|
|
115
115
|
# Optional. Endpoints for the instance.
|
|
116
116
|
# @!attribute [rw] mode
|
|
117
117
|
# @return [::Google::Cloud::Memorystore::V1::Instance::Mode]
|
|
118
|
-
# Optional. The mode config for the instance.
|
|
118
|
+
# Optional. Immutable. The mode config for the instance.
|
|
119
119
|
# @!attribute [rw] simulate_maintenance_event
|
|
120
120
|
# @return [::Boolean]
|
|
121
121
|
# Optional. Input only. Simulate a maintenance event.
|
|
@@ -187,6 +187,9 @@ module Google
|
|
|
187
187
|
# @!attribute [rw] rotate_server_certificate
|
|
188
188
|
# @return [::Boolean]
|
|
189
189
|
# Optional. Input only. Rotate the server certificates.
|
|
190
|
+
# @!attribute [r] migration_config
|
|
191
|
+
# @return [::Google::Cloud::Memorystore::V1::MigrationConfig]
|
|
192
|
+
# Output only. Migration config for the instance.
|
|
190
193
|
class Instance
|
|
191
194
|
include ::Google::Protobuf::MessageExts
|
|
192
195
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
@@ -305,6 +308,9 @@ module Google
|
|
|
305
308
|
|
|
306
309
|
# Instance is being deleted.
|
|
307
310
|
DELETING = 4
|
|
311
|
+
|
|
312
|
+
# Instance is being migrated.
|
|
313
|
+
MIGRATING = 6
|
|
308
314
|
end
|
|
309
315
|
|
|
310
316
|
# Possible authorization modes of the instance.
|
|
@@ -317,6 +323,9 @@ module Google
|
|
|
317
323
|
|
|
318
324
|
# IAM basic authorization.
|
|
319
325
|
IAM_AUTH = 2
|
|
326
|
+
|
|
327
|
+
# Token based authorization.
|
|
328
|
+
TOKEN_AUTH = 3
|
|
320
329
|
end
|
|
321
330
|
|
|
322
331
|
# Possible in-transit encryption modes of the instance.
|
|
@@ -362,7 +371,7 @@ module Google
|
|
|
362
371
|
# Standard large.
|
|
363
372
|
STANDARD_LARGE = 8
|
|
364
373
|
|
|
365
|
-
# High memory
|
|
374
|
+
# High memory 2xlarge.
|
|
366
375
|
HIGHMEM_2XLARGE = 9
|
|
367
376
|
|
|
368
377
|
# Custom pico.
|
|
@@ -409,6 +418,107 @@ module Google
|
|
|
409
418
|
end
|
|
410
419
|
end
|
|
411
420
|
|
|
421
|
+
# Request for `StartMigration`.
|
|
422
|
+
# @!attribute [rw] self_managed_source
|
|
423
|
+
# @return [::Google::Cloud::Memorystore::V1::SelfManagedSource]
|
|
424
|
+
# Required. Configuration for migrating from a self-managed Valkey/Redis
|
|
425
|
+
# instance
|
|
426
|
+
# @!attribute [rw] name
|
|
427
|
+
# @return [::String]
|
|
428
|
+
# Required. The resource name of the instance to start migration on.
|
|
429
|
+
# Format: projects/\\{project}/locations/\\{location}/instances/\\{instance}
|
|
430
|
+
class StartMigrationRequest
|
|
431
|
+
include ::Google::Protobuf::MessageExts
|
|
432
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
433
|
+
end
|
|
434
|
+
|
|
435
|
+
# Request for `FinishMigration`.
|
|
436
|
+
# @!attribute [rw] name
|
|
437
|
+
# @return [::String]
|
|
438
|
+
# Required. The resource name of the instance to finalize migration on.
|
|
439
|
+
# Format: projects/\\{project}/locations/\\{location}/instances/\\{instance}
|
|
440
|
+
# @!attribute [rw] force
|
|
441
|
+
# @return [::Boolean]
|
|
442
|
+
# Optional. By default, the `FinishMigration` operation ensures the target
|
|
443
|
+
# replication offset to catch up to the source offset as of the time of the
|
|
444
|
+
# call. Set this field to `true` to bypass this offset verification check.
|
|
445
|
+
class FinishMigrationRequest
|
|
446
|
+
include ::Google::Protobuf::MessageExts
|
|
447
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
448
|
+
end
|
|
449
|
+
|
|
450
|
+
# Details of the self-managed source instance.
|
|
451
|
+
# @!attribute [rw] ip_address
|
|
452
|
+
# @return [::String]
|
|
453
|
+
# Required. The IP address of the source instance.
|
|
454
|
+
# This IP address should be a stable IP address that can be accessed by the
|
|
455
|
+
# Memorystore instance throughout the migration process.
|
|
456
|
+
# @!attribute [rw] port
|
|
457
|
+
# @return [::Integer]
|
|
458
|
+
# Required. The port of the source instance.
|
|
459
|
+
# This port should be a stable port that can be accessed by the Memorystore
|
|
460
|
+
# instance throughout the migration process.
|
|
461
|
+
# @!attribute [rw] network_attachment
|
|
462
|
+
# @return [::String]
|
|
463
|
+
# Required. The resource name of the Private Service Connect Network
|
|
464
|
+
# Attachment used to establish connectivity to the source instance. This
|
|
465
|
+
# network attachment has the following requirements:
|
|
466
|
+
# 1. It must be in the same project as the Memorystore instance.
|
|
467
|
+
# 2. It must be in the same region as the Memorystore instance.
|
|
468
|
+
# 3. The subnet attached to the network attachment must be in the same VPC
|
|
469
|
+
# network as the source instance nodes.
|
|
470
|
+
#
|
|
471
|
+
# Format:
|
|
472
|
+
# projects/\\{project}/regions/\\{region}/networkAttachments/\\{network_attachment}
|
|
473
|
+
class SelfManagedSource
|
|
474
|
+
include ::Google::Protobuf::MessageExts
|
|
475
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
476
|
+
end
|
|
477
|
+
|
|
478
|
+
# Configuration for the migration of an instance.
|
|
479
|
+
# @!attribute [r] self_managed_source
|
|
480
|
+
# @return [::Google::Cloud::Memorystore::V1::SelfManagedSource]
|
|
481
|
+
# Output only. Configuration for migrating from a self-managed Valkey/Redis
|
|
482
|
+
# instance
|
|
483
|
+
# @!attribute [r] state
|
|
484
|
+
# @return [::Google::Cloud::Memorystore::V1::MigrationConfig::State]
|
|
485
|
+
# Output only. Migration state of the instance.
|
|
486
|
+
# @!attribute [r] force_finish_migration
|
|
487
|
+
# @return [::Boolean]
|
|
488
|
+
# Output only. Represents a boolean flag to force migration finalization
|
|
489
|
+
# without offset catch up validation between source and target before
|
|
490
|
+
# stopping replication.
|
|
491
|
+
class MigrationConfig
|
|
492
|
+
include ::Google::Protobuf::MessageExts
|
|
493
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
494
|
+
|
|
495
|
+
# Migration state of the instance.
|
|
496
|
+
# New values may be added in the future.
|
|
497
|
+
module State
|
|
498
|
+
# Instance has no migration related activity. This is the initial state.
|
|
499
|
+
STATE_UNSPECIFIED = 0
|
|
500
|
+
|
|
501
|
+
# Instance is not currently migrating. The instance underwent a migration
|
|
502
|
+
# attempt that failed, and the subsequent rollback was successful. The
|
|
503
|
+
# instance is now ready for a new migration attempt if desired.
|
|
504
|
+
ROLLED_BACK = 1
|
|
505
|
+
|
|
506
|
+
# Indicates a previous migration attempt failed. The high-level instance
|
|
507
|
+
# state will be `MIGRATING`. The instance is not ready for a new migration
|
|
508
|
+
# attempt. Rollback is in progress to restore the instance to its original
|
|
509
|
+
# state. The instance will remain in this state until rollback is
|
|
510
|
+
# successful.
|
|
511
|
+
ROLLING_BACK = 5
|
|
512
|
+
|
|
513
|
+
# Instance is in the process of migration. Instance has established
|
|
514
|
+
# successful replication and is ready for cutover.
|
|
515
|
+
REPLICATION_ESTABLISHED = 6
|
|
516
|
+
|
|
517
|
+
# Instance is successfully migrated.
|
|
518
|
+
MIGRATED = 4
|
|
519
|
+
end
|
|
520
|
+
end
|
|
521
|
+
|
|
412
522
|
# The automated backup config for an instance.
|
|
413
523
|
# @!attribute [rw] fixed_frequency_schedule
|
|
414
524
|
# @return [::Google::Cloud::Memorystore::V1::AutomatedBackupConfig::FixedFrequencySchedule]
|
|
@@ -672,6 +782,71 @@ module Google
|
|
|
672
782
|
end
|
|
673
783
|
end
|
|
674
784
|
|
|
785
|
+
# Token based auth user for the instance.
|
|
786
|
+
# @!attribute [rw] name
|
|
787
|
+
# @return [::String]
|
|
788
|
+
# Identifier. Token based auth user name.
|
|
789
|
+
# @!attribute [r] state
|
|
790
|
+
# @return [::Google::Cloud::Memorystore::V1::TokenAuthUser::State]
|
|
791
|
+
# Output only. The state of the token based auth user.
|
|
792
|
+
class TokenAuthUser
|
|
793
|
+
include ::Google::Protobuf::MessageExts
|
|
794
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
795
|
+
|
|
796
|
+
# Represents the different states of a token based auth user.
|
|
797
|
+
# New values may be added in the future.
|
|
798
|
+
module State
|
|
799
|
+
# Not set.
|
|
800
|
+
STATE_UNSPECIFIED = 0
|
|
801
|
+
|
|
802
|
+
# The auth user is active.
|
|
803
|
+
ACTIVE = 1
|
|
804
|
+
|
|
805
|
+
# The auth user is being created.
|
|
806
|
+
CREATING = 2
|
|
807
|
+
|
|
808
|
+
# The auth user is being updated.
|
|
809
|
+
UPDATING = 3
|
|
810
|
+
|
|
811
|
+
# The auth user is being deleted.
|
|
812
|
+
DELETING = 4
|
|
813
|
+
end
|
|
814
|
+
end
|
|
815
|
+
|
|
816
|
+
# Auth token for the instance.
|
|
817
|
+
# @!attribute [rw] name
|
|
818
|
+
# @return [::String]
|
|
819
|
+
# Identifier. Name of the auth token.
|
|
820
|
+
# @!attribute [r] token
|
|
821
|
+
# @return [::String]
|
|
822
|
+
# Output only. The auth token.
|
|
823
|
+
# @!attribute [r] create_time
|
|
824
|
+
# @return [::Google::Protobuf::Timestamp]
|
|
825
|
+
# Output only. Create time of the auth token.
|
|
826
|
+
# @!attribute [r] state
|
|
827
|
+
# @return [::Google::Cloud::Memorystore::V1::AuthToken::State]
|
|
828
|
+
# Output only. The state of the auth token.
|
|
829
|
+
class AuthToken
|
|
830
|
+
include ::Google::Protobuf::MessageExts
|
|
831
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
832
|
+
|
|
833
|
+
# Represents the different states of an auth token.
|
|
834
|
+
# New values may be added in the future.
|
|
835
|
+
module State
|
|
836
|
+
# Not set.
|
|
837
|
+
STATE_UNSPECIFIED = 0
|
|
838
|
+
|
|
839
|
+
# The auth token is active.
|
|
840
|
+
ACTIVE = 1
|
|
841
|
+
|
|
842
|
+
# The auth token is being created.
|
|
843
|
+
CREATING = 2
|
|
844
|
+
|
|
845
|
+
# The auth token is being deleted.
|
|
846
|
+
DELETING = 3
|
|
847
|
+
end
|
|
848
|
+
end
|
|
849
|
+
|
|
675
850
|
# Maintenance policy per instance.
|
|
676
851
|
# @!attribute [r] create_time
|
|
677
852
|
# @return [::Google::Protobuf::Timestamp]
|
|
@@ -753,7 +928,7 @@ module Google
|
|
|
753
928
|
# @!attribute [rw] network
|
|
754
929
|
# @return [::String]
|
|
755
930
|
# Required. The network where the PSC endpoints are created, in the form of
|
|
756
|
-
# projects/\\{project_id}/global/networks/\\{
|
|
931
|
+
# projects/\\{project_id}/global/networks/\\{network_name}.
|
|
757
932
|
# @!attribute [r] service_attachment
|
|
758
933
|
# @return [::String]
|
|
759
934
|
# Output only. The service attachment which is the target of the PSC
|
|
@@ -797,7 +972,7 @@ module Google
|
|
|
797
972
|
# @!attribute [rw] network
|
|
798
973
|
# @return [::String]
|
|
799
974
|
# Required. The consumer network where the IP address resides, in the form of
|
|
800
|
-
# projects/\\{project_id}/global/networks/\\{
|
|
975
|
+
# projects/\\{project_id}/global/networks/\\{network_name}.
|
|
801
976
|
# @!attribute [rw] service_attachment
|
|
802
977
|
# @return [::String]
|
|
803
978
|
# Required. The service attachment which is the target of the PSC connection,
|
|
@@ -828,7 +1003,7 @@ module Google
|
|
|
828
1003
|
# @return [::String]
|
|
829
1004
|
# Output only. The network where the IP address of the discovery endpoint
|
|
830
1005
|
# will be reserved, in the form of
|
|
831
|
-
# projects/\\{network_project}/global/networks/\\{
|
|
1006
|
+
# projects/\\{network_project}/global/networks/\\{network_name}.
|
|
832
1007
|
class DiscoveryEndpoint
|
|
833
1008
|
include ::Google::Protobuf::MessageExts
|
|
834
1009
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
@@ -1012,7 +1187,7 @@ module Google
|
|
|
1012
1187
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
1013
1188
|
end
|
|
1014
1189
|
|
|
1015
|
-
# Response message for
|
|
1190
|
+
# Response message for `ListInstances`.
|
|
1016
1191
|
# @!attribute [rw] instances
|
|
1017
1192
|
# @return [::Array<::Google::Cloud::Memorystore::V1::Instance>]
|
|
1018
1193
|
# If the \\{location} requested was "-" the response contains a list of
|
|
@@ -1133,7 +1308,7 @@ module Google
|
|
|
1133
1308
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
1134
1309
|
end
|
|
1135
1310
|
|
|
1136
|
-
# Request for
|
|
1311
|
+
# Request for `ListBackupCollections`.
|
|
1137
1312
|
# @!attribute [rw] parent
|
|
1138
1313
|
# @return [::String]
|
|
1139
1314
|
# Required. The resource name of the backupCollection location using the
|
|
@@ -1147,18 +1322,18 @@ module Google
|
|
|
1147
1322
|
# If not specified, a default value of 1000 will be used by the service.
|
|
1148
1323
|
# Regardless of the page_size value, the response may include a partial list
|
|
1149
1324
|
# and a caller should only rely on response's
|
|
1150
|
-
#
|
|
1325
|
+
# `next_page_token`
|
|
1151
1326
|
# to determine if there are more clusters left to be queried.
|
|
1152
1327
|
# @!attribute [rw] page_token
|
|
1153
1328
|
# @return [::String]
|
|
1154
1329
|
# Optional. The `next_page_token` value returned from a previous
|
|
1155
|
-
#
|
|
1330
|
+
# `ListBackupCollections` request, if any.
|
|
1156
1331
|
class ListBackupCollectionsRequest
|
|
1157
1332
|
include ::Google::Protobuf::MessageExts
|
|
1158
1333
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
1159
1334
|
end
|
|
1160
1335
|
|
|
1161
|
-
# Response for
|
|
1336
|
+
# Response for `ListBackupCollections`.
|
|
1162
1337
|
# @!attribute [rw] backup_collections
|
|
1163
1338
|
# @return [::Array<::Google::Cloud::Memorystore::V1::BackupCollection>]
|
|
1164
1339
|
# A list of backupCollections in the project.
|
|
@@ -1183,7 +1358,7 @@ module Google
|
|
|
1183
1358
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
1184
1359
|
end
|
|
1185
1360
|
|
|
1186
|
-
# Request for
|
|
1361
|
+
# Request for `GetBackupCollection`.
|
|
1187
1362
|
# @!attribute [rw] name
|
|
1188
1363
|
# @return [::String]
|
|
1189
1364
|
# Required. Instance backupCollection resource name using the form:
|
|
@@ -1194,7 +1369,7 @@ module Google
|
|
|
1194
1369
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
1195
1370
|
end
|
|
1196
1371
|
|
|
1197
|
-
# Request for
|
|
1372
|
+
# Request for `ListBackups`.
|
|
1198
1373
|
# @!attribute [rw] parent
|
|
1199
1374
|
# @return [::String]
|
|
1200
1375
|
# Required. The resource name of the backupCollection using the form:
|
|
@@ -1206,18 +1381,18 @@ module Google
|
|
|
1206
1381
|
# If not specified, a default value of 1000 will be used by the service.
|
|
1207
1382
|
# Regardless of the page_size value, the response may include a partial list
|
|
1208
1383
|
# and a caller should only rely on response's
|
|
1209
|
-
#
|
|
1384
|
+
# `next_page_token`
|
|
1210
1385
|
# to determine if there are more clusters left to be queried.
|
|
1211
1386
|
# @!attribute [rw] page_token
|
|
1212
1387
|
# @return [::String]
|
|
1213
1388
|
# Optional. The `next_page_token` value returned from a previous
|
|
1214
|
-
#
|
|
1389
|
+
# `ListBackupCollections` request, if any.
|
|
1215
1390
|
class ListBackupsRequest
|
|
1216
1391
|
include ::Google::Protobuf::MessageExts
|
|
1217
1392
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
1218
1393
|
end
|
|
1219
1394
|
|
|
1220
|
-
# Response for
|
|
1395
|
+
# Response for `ListBackups`.
|
|
1221
1396
|
# @!attribute [rw] backups
|
|
1222
1397
|
# @return [::Array<::Google::Cloud::Memorystore::V1::Backup>]
|
|
1223
1398
|
# A list of backups in the project.
|
|
@@ -1233,7 +1408,7 @@ module Google
|
|
|
1233
1408
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
1234
1409
|
end
|
|
1235
1410
|
|
|
1236
|
-
# Request for
|
|
1411
|
+
# Request for `GetBackup`.
|
|
1237
1412
|
# @!attribute [rw] name
|
|
1238
1413
|
# @return [::String]
|
|
1239
1414
|
# Required. Instance backup resource name using the form:
|
|
@@ -1243,7 +1418,7 @@ module Google
|
|
|
1243
1418
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
1244
1419
|
end
|
|
1245
1420
|
|
|
1246
|
-
# Request for
|
|
1421
|
+
# Request for `DeleteBackup`.
|
|
1247
1422
|
# @!attribute [rw] name
|
|
1248
1423
|
# @return [::String]
|
|
1249
1424
|
# Required. Instance backup resource name using the form:
|
|
@@ -1256,7 +1431,7 @@ module Google
|
|
|
1256
1431
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
1257
1432
|
end
|
|
1258
1433
|
|
|
1259
|
-
# Request for
|
|
1434
|
+
# Request for `ExportBackup`.
|
|
1260
1435
|
# @!attribute [rw] gcs_bucket
|
|
1261
1436
|
# @return [::String]
|
|
1262
1437
|
# Google Cloud Storage bucket, like "my-bucket".
|
|
@@ -1269,7 +1444,7 @@ module Google
|
|
|
1269
1444
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
1270
1445
|
end
|
|
1271
1446
|
|
|
1272
|
-
# Request for
|
|
1447
|
+
# Request for `BackupInstance`.
|
|
1273
1448
|
# @!attribute [rw] name
|
|
1274
1449
|
# @return [::String]
|
|
1275
1450
|
# Required. Instance resource name using the form:
|
|
@@ -1288,7 +1463,7 @@ module Google
|
|
|
1288
1463
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
1289
1464
|
end
|
|
1290
1465
|
|
|
1291
|
-
# Request message for
|
|
1466
|
+
# Request message for `GetCertificateAuthority`.
|
|
1292
1467
|
# @!attribute [rw] name
|
|
1293
1468
|
# @return [::String]
|
|
1294
1469
|
# Required. The name of the certificate authority.
|
|
@@ -1299,6 +1474,187 @@ module Google
|
|
|
1299
1474
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
1300
1475
|
end
|
|
1301
1476
|
|
|
1477
|
+
# Request message for `ListTokenAuthUsers`.
|
|
1478
|
+
# @!attribute [rw] parent
|
|
1479
|
+
# @return [::String]
|
|
1480
|
+
# Required. The parent to list token auth users from.
|
|
1481
|
+
# Format: projects/\\{project}/locations/\\{location}/instances/\\{instance}
|
|
1482
|
+
# @!attribute [rw] page_size
|
|
1483
|
+
# @return [::Integer]
|
|
1484
|
+
# Optional. The maximum number of items to return. The maximum value is 1000;
|
|
1485
|
+
# values above 1000 will be coerced to 1000. If not specified, a default
|
|
1486
|
+
# value of 1000 will be used by the service. Regardless of the page_size
|
|
1487
|
+
# value, the response may include a partial list and a caller should only
|
|
1488
|
+
# rely on response's `next_page_token` to determine if there are more token
|
|
1489
|
+
# auth users left to be queried.
|
|
1490
|
+
# @!attribute [rw] page_token
|
|
1491
|
+
# @return [::String]
|
|
1492
|
+
# Optional. The `next_page_token` value returned from a previous
|
|
1493
|
+
# `ListTokenAuthUsers` request, if any.
|
|
1494
|
+
# @!attribute [rw] filter
|
|
1495
|
+
# @return [::String]
|
|
1496
|
+
# Optional. Expression for filtering results.
|
|
1497
|
+
# @!attribute [rw] order_by
|
|
1498
|
+
# @return [::String]
|
|
1499
|
+
# Optional. Sort results by a defined order.
|
|
1500
|
+
class ListTokenAuthUsersRequest
|
|
1501
|
+
include ::Google::Protobuf::MessageExts
|
|
1502
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
1503
|
+
end
|
|
1504
|
+
|
|
1505
|
+
# Response message for `ListTokenAuthUsers`.
|
|
1506
|
+
# @!attribute [rw] token_auth_users
|
|
1507
|
+
# @return [::Array<::Google::Cloud::Memorystore::V1::TokenAuthUser>]
|
|
1508
|
+
# A list of token auth users in the project.
|
|
1509
|
+
# @!attribute [rw] next_page_token
|
|
1510
|
+
# @return [::String]
|
|
1511
|
+
# Token to retrieve the next page of results, or empty if there are no more
|
|
1512
|
+
# results in the list.
|
|
1513
|
+
# @!attribute [rw] unreachable
|
|
1514
|
+
# @return [::Array<::String>]
|
|
1515
|
+
# Unordered list. Token auth users that could not be reached.
|
|
1516
|
+
class ListTokenAuthUsersResponse
|
|
1517
|
+
include ::Google::Protobuf::MessageExts
|
|
1518
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
1519
|
+
end
|
|
1520
|
+
|
|
1521
|
+
# Request message for `GetTokenAuthUser`.
|
|
1522
|
+
# @!attribute [rw] name
|
|
1523
|
+
# @return [::String]
|
|
1524
|
+
# Required. The name of token auth user for a basic auth enabled instance.
|
|
1525
|
+
# Format:
|
|
1526
|
+
# projects/\\{project}/locations/\\{location}/instances/\\{instance}/tokenAuthUsers/\\{token_auth_user}
|
|
1527
|
+
class GetTokenAuthUserRequest
|
|
1528
|
+
include ::Google::Protobuf::MessageExts
|
|
1529
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
1530
|
+
end
|
|
1531
|
+
|
|
1532
|
+
# Request message for `ListAuthTokens`.
|
|
1533
|
+
# @!attribute [rw] parent
|
|
1534
|
+
# @return [::String]
|
|
1535
|
+
# Required. The parent to list auth tokens from.
|
|
1536
|
+
# Format:
|
|
1537
|
+
# projects/\\{project}/locations/\\{location}/instances/\\{instance}/tokenAuthUsers/\\{token_auth_user}
|
|
1538
|
+
# @!attribute [rw] page_size
|
|
1539
|
+
# @return [::Integer]
|
|
1540
|
+
# Optional. The maximum number of items to return. The maximum value is 1000;
|
|
1541
|
+
# values above 1000 will be coerced to 1000.
|
|
1542
|
+
#
|
|
1543
|
+
# If not specified, a default value of 1000 will be used by the service.
|
|
1544
|
+
# Regardless of the page_size value, the response may include a partial list
|
|
1545
|
+
# and a caller should only rely on response's
|
|
1546
|
+
# `next_page_token`
|
|
1547
|
+
# to determine if there are more auth tokens left to be queried.
|
|
1548
|
+
# @!attribute [rw] page_token
|
|
1549
|
+
# @return [::String]
|
|
1550
|
+
# Optional. The `next_page_token` value returned from a previous
|
|
1551
|
+
# `ListAuthTokens` request, if any.
|
|
1552
|
+
# @!attribute [rw] filter
|
|
1553
|
+
# @return [::String]
|
|
1554
|
+
# Optional. Expression for filtering results.
|
|
1555
|
+
# @!attribute [rw] order_by
|
|
1556
|
+
# @return [::String]
|
|
1557
|
+
# Optional. Sort results by a defined order.
|
|
1558
|
+
class ListAuthTokensRequest
|
|
1559
|
+
include ::Google::Protobuf::MessageExts
|
|
1560
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
1561
|
+
end
|
|
1562
|
+
|
|
1563
|
+
# Response message for `ListAuthTokens`.
|
|
1564
|
+
# @!attribute [rw] auth_tokens
|
|
1565
|
+
# @return [::Array<::Google::Cloud::Memorystore::V1::AuthToken>]
|
|
1566
|
+
# A list of auth tokens in the project.
|
|
1567
|
+
# @!attribute [rw] next_page_token
|
|
1568
|
+
# @return [::String]
|
|
1569
|
+
# Token to retrieve the next page of results, or empty if there are no more
|
|
1570
|
+
# results in the list.
|
|
1571
|
+
# @!attribute [rw] unreachable
|
|
1572
|
+
# @return [::Array<::String>]
|
|
1573
|
+
# Unordered list. Auth tokens that could not be reached.
|
|
1574
|
+
class ListAuthTokensResponse
|
|
1575
|
+
include ::Google::Protobuf::MessageExts
|
|
1576
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
1577
|
+
end
|
|
1578
|
+
|
|
1579
|
+
# Request message for `GetAuthToken`.
|
|
1580
|
+
# @!attribute [rw] name
|
|
1581
|
+
# @return [::String]
|
|
1582
|
+
# Required. The name of token auth user for a token auth enabled instance.
|
|
1583
|
+
# Format:
|
|
1584
|
+
# projects/\\{project}/locations/\\{location}/instances/\\{instance}/tokenAuthUsers/\\{token_auth_user}/authTokens/\\{auth_token}
|
|
1585
|
+
class GetAuthTokenRequest
|
|
1586
|
+
include ::Google::Protobuf::MessageExts
|
|
1587
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
1588
|
+
end
|
|
1589
|
+
|
|
1590
|
+
# Request message for `AddTokenAuthUser`.
|
|
1591
|
+
# @!attribute [rw] instance
|
|
1592
|
+
# @return [::String]
|
|
1593
|
+
# Required. The instance resource that this token auth user will be added
|
|
1594
|
+
# for. Format: projects/\\{project}/locations/\\{location}/instances/\\{instance}
|
|
1595
|
+
# @!attribute [rw] token_auth_user
|
|
1596
|
+
# @return [::String]
|
|
1597
|
+
# Required. The name of the token auth user to add.
|
|
1598
|
+
class AddTokenAuthUserRequest
|
|
1599
|
+
include ::Google::Protobuf::MessageExts
|
|
1600
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
1601
|
+
end
|
|
1602
|
+
|
|
1603
|
+
# Request message for `DeleteTokenAuthUser`.
|
|
1604
|
+
# @!attribute [rw] name
|
|
1605
|
+
# @return [::String]
|
|
1606
|
+
# Required. The name of the token auth user to delete.
|
|
1607
|
+
# Format:
|
|
1608
|
+
# projects/\\{project}/locations/\\{location}/instances/\\{instance}/tokenAuthUsers/\\{token_auth_user}
|
|
1609
|
+
# @!attribute [rw] request_id
|
|
1610
|
+
# @return [::String]
|
|
1611
|
+
# Optional. An optional request ID to identify requests. Specify a unique
|
|
1612
|
+
# request ID so that if you must retry your request, the server will know to
|
|
1613
|
+
# ignore the request if it has already been completed. The server will
|
|
1614
|
+
# guarantee that for at least 60 minutes after the first request.
|
|
1615
|
+
#
|
|
1616
|
+
# For example, consider a situation where you make an initial request and the
|
|
1617
|
+
# request times out. If you make the request again with the same request
|
|
1618
|
+
# ID, the server can check if original operation with the same request ID
|
|
1619
|
+
# was received, and if so, will ignore the second request. This prevents
|
|
1620
|
+
# clients from accidentally creating duplicate commitments.
|
|
1621
|
+
#
|
|
1622
|
+
# The request ID must be a valid UUID with the exception that zero UUID is
|
|
1623
|
+
# not supported (00000000-0000-0000-0000-000000000000).
|
|
1624
|
+
# @!attribute [rw] force
|
|
1625
|
+
# @return [::Boolean]
|
|
1626
|
+
# Optional. If set to true, any auth tokens from this user will also be
|
|
1627
|
+
# deleted. Otherwise, the request will only work if the user has no auth
|
|
1628
|
+
# tokens.
|
|
1629
|
+
class DeleteTokenAuthUserRequest
|
|
1630
|
+
include ::Google::Protobuf::MessageExts
|
|
1631
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
1632
|
+
end
|
|
1633
|
+
|
|
1634
|
+
# Request message for `AddAuthToken`.
|
|
1635
|
+
# @!attribute [rw] token_auth_user
|
|
1636
|
+
# @return [::String]
|
|
1637
|
+
# Required. The name of the token auth user resource that this token will be
|
|
1638
|
+
# added for.
|
|
1639
|
+
# @!attribute [rw] auth_token
|
|
1640
|
+
# @return [::Google::Cloud::Memorystore::V1::AuthToken]
|
|
1641
|
+
# Required. The auth token to add.
|
|
1642
|
+
class AddAuthTokenRequest
|
|
1643
|
+
include ::Google::Protobuf::MessageExts
|
|
1644
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
1645
|
+
end
|
|
1646
|
+
|
|
1647
|
+
# Request message for `DeleteAuthToken`.
|
|
1648
|
+
# @!attribute [rw] name
|
|
1649
|
+
# @return [::String]
|
|
1650
|
+
# Required. The name of the token auth user resource that this token will be
|
|
1651
|
+
# deleted from. Format:
|
|
1652
|
+
# projects/\\{project}/locations/\\{location}/instances/\\{instance}/tokenAuthUsers/\\{token_auth_user}/authTokens/\\{name}
|
|
1653
|
+
class DeleteAuthTokenRequest
|
|
1654
|
+
include ::Google::Protobuf::MessageExts
|
|
1655
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
1656
|
+
end
|
|
1657
|
+
|
|
1302
1658
|
# A certificate authority for an instance.
|
|
1303
1659
|
# @!attribute [rw] managed_server_ca
|
|
1304
1660
|
# @return [::Google::Cloud::Memorystore::V1::CertificateAuthority::ManagedCertificateAuthority]
|
|
@@ -1364,8 +1720,7 @@ module Google
|
|
|
1364
1720
|
end
|
|
1365
1721
|
end
|
|
1366
1722
|
|
|
1367
|
-
# Request for
|
|
1368
|
-
# {::Google::Cloud::Memorystore::V1::Memorystore::Client#get_shared_regional_certificate_authority GetSharedRegionalCertificateAuthority}.
|
|
1723
|
+
# Request for `GetSharedRegionalCertificateAuthority`.
|
|
1369
1724
|
# @!attribute [rw] name
|
|
1370
1725
|
# @return [::String]
|
|
1371
1726
|
# Required. Regional certificate authority resource name using the form:
|