google-apis-redis_v1 0.45.0 → 0.47.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +9 -0
- data/OVERVIEW.md +2 -2
- data/lib/google/apis/redis_v1/classes.rb +718 -1
- data/lib/google/apis/redis_v1/gem_version.rb +3 -3
- data/lib/google/apis/redis_v1/representations.rb +277 -0
- metadata +7 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 18ccbf283985db310853f8a0e3efc5ad6897c79420d3851c71ba9680d49134e2
|
4
|
+
data.tar.gz: 31b01490f2ab3f68b1d6b2ddd5441053f979423a36aac1a9fe0663986080051b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 384d9a4ade2fe3b8ff6ec9ec1e6ccd9fd815e61cdf7b86f1f5f33b2bcaecf8c064a2651df41fdd7bebda04213568779dcc72fbe37af19971d6bb2e53d61557c7
|
7
|
+
data.tar.gz: 823d84127f5cc67fae440c17bdd244d15dd5e4ab6f3f02a529b37b6639d7b205ccdefcd196570748e1dcf8623825284f8382db824cf64d8605c9ad725ae246f2
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,14 @@
|
|
1
1
|
# Release history for google-apis-redis_v1
|
2
2
|
|
3
|
+
### v0.47.0 (2024-03-03)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20240226
|
6
|
+
|
7
|
+
### v0.46.0 (2024-02-24)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20240220
|
10
|
+
* Regenerated using generator version 0.14.0
|
11
|
+
|
3
12
|
### v0.45.0 (2024-01-28)
|
4
13
|
|
5
14
|
* Regenerated from discovery document revision 20240118
|
data/OVERVIEW.md
CHANGED
@@ -83,9 +83,9 @@ The [product documentation](https://cloud.google.com/memorystore/docs/redis/) ma
|
|
83
83
|
|
84
84
|
## Supported Ruby versions
|
85
85
|
|
86
|
-
This library is supported on Ruby 2.
|
86
|
+
This library is supported on Ruby 2.7+.
|
87
87
|
|
88
|
-
Google provides official support for Ruby versions that are actively supported by Ruby Core -- that is, Ruby versions that are either in normal maintenance or in security maintenance, and not end of life.
|
88
|
+
Google provides official support for Ruby versions that are actively supported by Ruby Core -- that is, Ruby versions that are either in normal maintenance or in security maintenance, and not end of life. Older versions of Ruby _may_ still work, but are unsupported and not recommended. See https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby support schedule.
|
89
89
|
|
90
90
|
## License
|
91
91
|
|
@@ -22,6 +22,114 @@ module Google
|
|
22
22
|
module Apis
|
23
23
|
module RedisV1
|
24
24
|
|
25
|
+
# Configuration for availability of database instance
|
26
|
+
class AvailabilityConfiguration
|
27
|
+
include Google::Apis::Core::Hashable
|
28
|
+
|
29
|
+
# Availability type. Potential values: * `ZONAL`: The instance serves data from
|
30
|
+
# only one zone. Outages in that zone affect data accessibility. * `REGIONAL`:
|
31
|
+
# The instance can serve data from more than one zone in a region (it is highly
|
32
|
+
# available).
|
33
|
+
# Corresponds to the JSON property `availabilityType`
|
34
|
+
# @return [String]
|
35
|
+
attr_accessor :availability_type
|
36
|
+
|
37
|
+
#
|
38
|
+
# Corresponds to the JSON property `externalReplicaConfigured`
|
39
|
+
# @return [Boolean]
|
40
|
+
attr_accessor :external_replica_configured
|
41
|
+
alias_method :external_replica_configured?, :external_replica_configured
|
42
|
+
|
43
|
+
#
|
44
|
+
# Corresponds to the JSON property `promotableReplicaConfigured`
|
45
|
+
# @return [Boolean]
|
46
|
+
attr_accessor :promotable_replica_configured
|
47
|
+
alias_method :promotable_replica_configured?, :promotable_replica_configured
|
48
|
+
|
49
|
+
def initialize(**args)
|
50
|
+
update!(**args)
|
51
|
+
end
|
52
|
+
|
53
|
+
# Update properties of this object
|
54
|
+
def update!(**args)
|
55
|
+
@availability_type = args[:availability_type] if args.key?(:availability_type)
|
56
|
+
@external_replica_configured = args[:external_replica_configured] if args.key?(:external_replica_configured)
|
57
|
+
@promotable_replica_configured = args[:promotable_replica_configured] if args.key?(:promotable_replica_configured)
|
58
|
+
end
|
59
|
+
end
|
60
|
+
|
61
|
+
# Configuration for automatic backups
|
62
|
+
class BackupConfiguration
|
63
|
+
include Google::Apis::Core::Hashable
|
64
|
+
|
65
|
+
# Whether customer visible automated backups are enabled on the instance.
|
66
|
+
# Corresponds to the JSON property `automatedBackupEnabled`
|
67
|
+
# @return [Boolean]
|
68
|
+
attr_accessor :automated_backup_enabled
|
69
|
+
alias_method :automated_backup_enabled?, :automated_backup_enabled
|
70
|
+
|
71
|
+
# Backup retention settings.
|
72
|
+
# Corresponds to the JSON property `backupRetentionSettings`
|
73
|
+
# @return [Google::Apis::RedisV1::RetentionSettings]
|
74
|
+
attr_accessor :backup_retention_settings
|
75
|
+
|
76
|
+
# Whether point-in-time recovery is enabled. This is optional field, if the
|
77
|
+
# database service does not have this feature or metadata is not available in
|
78
|
+
# control plane, this can be omitted.
|
79
|
+
# Corresponds to the JSON property `pointInTimeRecoveryEnabled`
|
80
|
+
# @return [Boolean]
|
81
|
+
attr_accessor :point_in_time_recovery_enabled
|
82
|
+
alias_method :point_in_time_recovery_enabled?, :point_in_time_recovery_enabled
|
83
|
+
|
84
|
+
def initialize(**args)
|
85
|
+
update!(**args)
|
86
|
+
end
|
87
|
+
|
88
|
+
# Update properties of this object
|
89
|
+
def update!(**args)
|
90
|
+
@automated_backup_enabled = args[:automated_backup_enabled] if args.key?(:automated_backup_enabled)
|
91
|
+
@backup_retention_settings = args[:backup_retention_settings] if args.key?(:backup_retention_settings)
|
92
|
+
@point_in_time_recovery_enabled = args[:point_in_time_recovery_enabled] if args.key?(:point_in_time_recovery_enabled)
|
93
|
+
end
|
94
|
+
end
|
95
|
+
|
96
|
+
# A backup run.
|
97
|
+
class BackupRun
|
98
|
+
include Google::Apis::Core::Hashable
|
99
|
+
|
100
|
+
# The time the backup operation completed. REQUIRED
|
101
|
+
# Corresponds to the JSON property `endTime`
|
102
|
+
# @return [String]
|
103
|
+
attr_accessor :end_time
|
104
|
+
|
105
|
+
# An error that occurred during a backup creation operation.
|
106
|
+
# Corresponds to the JSON property `error`
|
107
|
+
# @return [Google::Apis::RedisV1::OperationError]
|
108
|
+
attr_accessor :error
|
109
|
+
|
110
|
+
# The time the backup operation started. REQUIRED
|
111
|
+
# Corresponds to the JSON property `startTime`
|
112
|
+
# @return [String]
|
113
|
+
attr_accessor :start_time
|
114
|
+
|
115
|
+
# The status of this run. REQUIRED
|
116
|
+
# Corresponds to the JSON property `status`
|
117
|
+
# @return [String]
|
118
|
+
attr_accessor :status
|
119
|
+
|
120
|
+
def initialize(**args)
|
121
|
+
update!(**args)
|
122
|
+
end
|
123
|
+
|
124
|
+
# Update properties of this object
|
125
|
+
def update!(**args)
|
126
|
+
@end_time = args[:end_time] if args.key?(:end_time)
|
127
|
+
@error = args[:error] if args.key?(:error)
|
128
|
+
@start_time = args[:start_time] if args.key?(:start_time)
|
129
|
+
@status = args[:status] if args.key?(:status)
|
130
|
+
end
|
131
|
+
end
|
132
|
+
|
25
133
|
#
|
26
134
|
class CertChain
|
27
135
|
include Google::Apis::Core::Hashable
|
@@ -119,7 +227,8 @@ module Google
|
|
119
227
|
# @return [Fixnum]
|
120
228
|
attr_accessor :shard_count
|
121
229
|
|
122
|
-
# Output only. Redis memory size in GB for the entire cluster
|
230
|
+
# Output only. Redis memory size in GB for the entire cluster rounded up to the
|
231
|
+
# next integer.
|
123
232
|
# Corresponds to the JSON property `sizeGb`
|
124
233
|
# @return [Fixnum]
|
125
234
|
attr_accessor :size_gb
|
@@ -168,6 +277,494 @@ module Google
|
|
168
277
|
end
|
169
278
|
end
|
170
279
|
|
280
|
+
# Contains compliance information about a security standard indicating unmet
|
281
|
+
# recommendations.
|
282
|
+
class Compliance
|
283
|
+
include Google::Apis::Core::Hashable
|
284
|
+
|
285
|
+
# Industry-wide compliance standards or benchmarks, such as CIS, PCI, and OWASP.
|
286
|
+
# Corresponds to the JSON property `standard`
|
287
|
+
# @return [String]
|
288
|
+
attr_accessor :standard
|
289
|
+
|
290
|
+
# Version of the standard or benchmark, for example, 1.1
|
291
|
+
# Corresponds to the JSON property `version`
|
292
|
+
# @return [String]
|
293
|
+
attr_accessor :version
|
294
|
+
|
295
|
+
def initialize(**args)
|
296
|
+
update!(**args)
|
297
|
+
end
|
298
|
+
|
299
|
+
# Update properties of this object
|
300
|
+
def update!(**args)
|
301
|
+
@standard = args[:standard] if args.key?(:standard)
|
302
|
+
@version = args[:version] if args.key?(:version)
|
303
|
+
end
|
304
|
+
end
|
305
|
+
|
306
|
+
# Any custom metadata associated with the resource. i.e. A spanner instance can
|
307
|
+
# have multiple databases with its own unique metadata. Information for these
|
308
|
+
# individual databases can be captured in custom metadata data
|
309
|
+
class CustomMetadataData
|
310
|
+
include Google::Apis::Core::Hashable
|
311
|
+
|
312
|
+
#
|
313
|
+
# Corresponds to the JSON property `databaseMetadata`
|
314
|
+
# @return [Array<Google::Apis::RedisV1::DatabaseMetadata>]
|
315
|
+
attr_accessor :database_metadata
|
316
|
+
|
317
|
+
def initialize(**args)
|
318
|
+
update!(**args)
|
319
|
+
end
|
320
|
+
|
321
|
+
# Update properties of this object
|
322
|
+
def update!(**args)
|
323
|
+
@database_metadata = args[:database_metadata] if args.key?(:database_metadata)
|
324
|
+
end
|
325
|
+
end
|
326
|
+
|
327
|
+
# Metadata for individual databases created in an instance. i.e. spanner
|
328
|
+
# instance can have multiple databases with unique configuration settings.
|
329
|
+
class DatabaseMetadata
|
330
|
+
include Google::Apis::Core::Hashable
|
331
|
+
|
332
|
+
# Configuration for automatic backups
|
333
|
+
# Corresponds to the JSON property `backupConfiguration`
|
334
|
+
# @return [Google::Apis::RedisV1::BackupConfiguration]
|
335
|
+
attr_accessor :backup_configuration
|
336
|
+
|
337
|
+
# A backup run.
|
338
|
+
# Corresponds to the JSON property `backupRun`
|
339
|
+
# @return [Google::Apis::RedisV1::BackupRun]
|
340
|
+
attr_accessor :backup_run
|
341
|
+
|
342
|
+
# Product specification for Condor resources.
|
343
|
+
# Corresponds to the JSON property `product`
|
344
|
+
# @return [Google::Apis::RedisV1::Product]
|
345
|
+
attr_accessor :product
|
346
|
+
|
347
|
+
# DatabaseResourceId will serve as primary key for any resource ingestion event.
|
348
|
+
# Corresponds to the JSON property `resourceId`
|
349
|
+
# @return [Google::Apis::RedisV1::DatabaseResourceId]
|
350
|
+
attr_accessor :resource_id
|
351
|
+
|
352
|
+
# Required. Database name. Resource name to follow CAIS resource_name format as
|
353
|
+
# noted here go/condor-common-datamodel
|
354
|
+
# Corresponds to the JSON property `resourceName`
|
355
|
+
# @return [String]
|
356
|
+
attr_accessor :resource_name
|
357
|
+
|
358
|
+
def initialize(**args)
|
359
|
+
update!(**args)
|
360
|
+
end
|
361
|
+
|
362
|
+
# Update properties of this object
|
363
|
+
def update!(**args)
|
364
|
+
@backup_configuration = args[:backup_configuration] if args.key?(:backup_configuration)
|
365
|
+
@backup_run = args[:backup_run] if args.key?(:backup_run)
|
366
|
+
@product = args[:product] if args.key?(:product)
|
367
|
+
@resource_id = args[:resource_id] if args.key?(:resource_id)
|
368
|
+
@resource_name = args[:resource_name] if args.key?(:resource_name)
|
369
|
+
end
|
370
|
+
end
|
371
|
+
|
372
|
+
# DatabaseResourceFeed is the top level proto to be used to ingest different
|
373
|
+
# database resource level events into Condor platform.
|
374
|
+
class DatabaseResourceFeed
|
375
|
+
include Google::Apis::Core::Hashable
|
376
|
+
|
377
|
+
# Required. Timestamp when feed is generated.
|
378
|
+
# Corresponds to the JSON property `feedTimestamp`
|
379
|
+
# @return [String]
|
380
|
+
attr_accessor :feed_timestamp
|
381
|
+
|
382
|
+
# Required. Type feed to be ingested into condor
|
383
|
+
# Corresponds to the JSON property `feedType`
|
384
|
+
# @return [String]
|
385
|
+
attr_accessor :feed_type
|
386
|
+
|
387
|
+
# Common model for database resource recommendation signal data.
|
388
|
+
# Corresponds to the JSON property `recommendationSignalData`
|
389
|
+
# @return [Google::Apis::RedisV1::DatabaseResourceRecommendationSignalData]
|
390
|
+
attr_accessor :recommendation_signal_data
|
391
|
+
|
392
|
+
# Common model for database resource health signal data.
|
393
|
+
# Corresponds to the JSON property `resourceHealthSignalData`
|
394
|
+
# @return [Google::Apis::RedisV1::DatabaseResourceHealthSignalData]
|
395
|
+
attr_accessor :resource_health_signal_data
|
396
|
+
|
397
|
+
# DatabaseResourceId will serve as primary key for any resource ingestion event.
|
398
|
+
# Corresponds to the JSON property `resourceId`
|
399
|
+
# @return [Google::Apis::RedisV1::DatabaseResourceId]
|
400
|
+
attr_accessor :resource_id
|
401
|
+
|
402
|
+
# Common model for database resource instance metadata.
|
403
|
+
# Corresponds to the JSON property `resourceMetadata`
|
404
|
+
# @return [Google::Apis::RedisV1::DatabaseResourceMetadata]
|
405
|
+
attr_accessor :resource_metadata
|
406
|
+
|
407
|
+
def initialize(**args)
|
408
|
+
update!(**args)
|
409
|
+
end
|
410
|
+
|
411
|
+
# Update properties of this object
|
412
|
+
def update!(**args)
|
413
|
+
@feed_timestamp = args[:feed_timestamp] if args.key?(:feed_timestamp)
|
414
|
+
@feed_type = args[:feed_type] if args.key?(:feed_type)
|
415
|
+
@recommendation_signal_data = args[:recommendation_signal_data] if args.key?(:recommendation_signal_data)
|
416
|
+
@resource_health_signal_data = args[:resource_health_signal_data] if args.key?(:resource_health_signal_data)
|
417
|
+
@resource_id = args[:resource_id] if args.key?(:resource_id)
|
418
|
+
@resource_metadata = args[:resource_metadata] if args.key?(:resource_metadata)
|
419
|
+
end
|
420
|
+
end
|
421
|
+
|
422
|
+
# Common model for database resource health signal data.
|
423
|
+
class DatabaseResourceHealthSignalData
|
424
|
+
include Google::Apis::Core::Hashable
|
425
|
+
|
426
|
+
# Any other additional metadata
|
427
|
+
# Corresponds to the JSON property `additionalMetadata`
|
428
|
+
# @return [Hash<String,Object>]
|
429
|
+
attr_accessor :additional_metadata
|
430
|
+
|
431
|
+
# Industry standards associated with this signal; if this signal is an issue,
|
432
|
+
# that could be a violation of the associated industry standard(s). For example,
|
433
|
+
# AUTO_BACKUP_DISABLED signal is associated with CIS GCP 1.1, CIS GCP 1.2, CIS
|
434
|
+
# GCP 1.3, NIST 800-53 and ISO-27001 compliance standards. If a database
|
435
|
+
# resource does not have automated backup enable, it will violate these
|
436
|
+
# following industry standards.
|
437
|
+
# Corresponds to the JSON property `compliance`
|
438
|
+
# @return [Array<Google::Apis::RedisV1::Compliance>]
|
439
|
+
attr_accessor :compliance
|
440
|
+
|
441
|
+
# Description associated with signal
|
442
|
+
# Corresponds to the JSON property `description`
|
443
|
+
# @return [String]
|
444
|
+
attr_accessor :description
|
445
|
+
|
446
|
+
# Required. The last time at which the event described by this signal took place
|
447
|
+
# Corresponds to the JSON property `eventTime`
|
448
|
+
# @return [String]
|
449
|
+
attr_accessor :event_time
|
450
|
+
|
451
|
+
# The external-uri of the signal, using which more information about this signal
|
452
|
+
# can be obtained. In GCP, this will take user to SCC page to get more details
|
453
|
+
# about signals.
|
454
|
+
# Corresponds to the JSON property `externalUri`
|
455
|
+
# @return [String]
|
456
|
+
attr_accessor :external_uri
|
457
|
+
|
458
|
+
# Required. The name of the signal, ex: PUBLIC_SQL_INSTANCE,
|
459
|
+
# SQL_LOG_ERROR_VERBOSITY etc.
|
460
|
+
# Corresponds to the JSON property `name`
|
461
|
+
# @return [String]
|
462
|
+
attr_accessor :name
|
463
|
+
|
464
|
+
# Cloud provider name. Ex: GCP/AWS/Azure/OnPrem/SelfManaged
|
465
|
+
# Corresponds to the JSON property `provider`
|
466
|
+
# @return [String]
|
467
|
+
attr_accessor :provider
|
468
|
+
|
469
|
+
# Closest parent container of this resource. In GCP, 'container' refers to a
|
470
|
+
# Cloud Resource Manager project. It must be resource name of a Cloud Resource
|
471
|
+
# Manager project with the format of "provider//", such as "projects/123". For
|
472
|
+
# GCP provided resources, number should be project number.
|
473
|
+
# Corresponds to the JSON property `resourceContainer`
|
474
|
+
# @return [String]
|
475
|
+
attr_accessor :resource_container
|
476
|
+
|
477
|
+
# Required. Database resource name associated with the signal. Resource name to
|
478
|
+
# follow CAIS resource_name format as noted here go/condor-common-datamodel
|
479
|
+
# Corresponds to the JSON property `resourceName`
|
480
|
+
# @return [String]
|
481
|
+
attr_accessor :resource_name
|
482
|
+
|
483
|
+
# Required. The class of the signal, such as if it's a THREAT or VULNERABILITY.
|
484
|
+
# Corresponds to the JSON property `signalClass`
|
485
|
+
# @return [String]
|
486
|
+
attr_accessor :signal_class
|
487
|
+
|
488
|
+
# Required. Unique identifier for the signal. This is an unique id which would
|
489
|
+
# be mainatined by partner to identify a signal.
|
490
|
+
# Corresponds to the JSON property `signalId`
|
491
|
+
# @return [String]
|
492
|
+
attr_accessor :signal_id
|
493
|
+
|
494
|
+
# Required. Type of signal, for example, `AVAILABLE_IN_MULTIPLE_ZONES`, `
|
495
|
+
# LOGGING_MOST_ERRORS`, etc.
|
496
|
+
# Corresponds to the JSON property `signalType`
|
497
|
+
# @return [String]
|
498
|
+
attr_accessor :signal_type
|
499
|
+
|
500
|
+
#
|
501
|
+
# Corresponds to the JSON property `state`
|
502
|
+
# @return [String]
|
503
|
+
attr_accessor :state
|
504
|
+
|
505
|
+
def initialize(**args)
|
506
|
+
update!(**args)
|
507
|
+
end
|
508
|
+
|
509
|
+
# Update properties of this object
|
510
|
+
def update!(**args)
|
511
|
+
@additional_metadata = args[:additional_metadata] if args.key?(:additional_metadata)
|
512
|
+
@compliance = args[:compliance] if args.key?(:compliance)
|
513
|
+
@description = args[:description] if args.key?(:description)
|
514
|
+
@event_time = args[:event_time] if args.key?(:event_time)
|
515
|
+
@external_uri = args[:external_uri] if args.key?(:external_uri)
|
516
|
+
@name = args[:name] if args.key?(:name)
|
517
|
+
@provider = args[:provider] if args.key?(:provider)
|
518
|
+
@resource_container = args[:resource_container] if args.key?(:resource_container)
|
519
|
+
@resource_name = args[:resource_name] if args.key?(:resource_name)
|
520
|
+
@signal_class = args[:signal_class] if args.key?(:signal_class)
|
521
|
+
@signal_id = args[:signal_id] if args.key?(:signal_id)
|
522
|
+
@signal_type = args[:signal_type] if args.key?(:signal_type)
|
523
|
+
@state = args[:state] if args.key?(:state)
|
524
|
+
end
|
525
|
+
end
|
526
|
+
|
527
|
+
# DatabaseResourceId will serve as primary key for any resource ingestion event.
|
528
|
+
class DatabaseResourceId
|
529
|
+
include Google::Apis::Core::Hashable
|
530
|
+
|
531
|
+
# Required. Cloud provider name. Ex: GCP/AWS/Azure/OnPrem/SelfManaged
|
532
|
+
# Corresponds to the JSON property `provider`
|
533
|
+
# @return [String]
|
534
|
+
attr_accessor :provider
|
535
|
+
|
536
|
+
# Optional. Needs to be used only when the provider is PROVIDER_OTHER.
|
537
|
+
# Corresponds to the JSON property `providerDescription`
|
538
|
+
# @return [String]
|
539
|
+
attr_accessor :provider_description
|
540
|
+
|
541
|
+
# Required. The type of resource this ID is identifying. Ex redis.googleapis.com/
|
542
|
+
# Instance, redis.googleapis.com/Cluster, alloydb.googleapis.com/Cluster,
|
543
|
+
# alloydb.googleapis.com/Instance, spanner.googleapis.com/Instance REQUIRED
|
544
|
+
# Please refer go/condor-common-datamodel
|
545
|
+
# Corresponds to the JSON property `resourceType`
|
546
|
+
# @return [String]
|
547
|
+
attr_accessor :resource_type
|
548
|
+
|
549
|
+
# Required. A service-local token that distinguishes this resource from other
|
550
|
+
# resources within the same service.
|
551
|
+
# Corresponds to the JSON property `uniqueId`
|
552
|
+
# @return [String]
|
553
|
+
attr_accessor :unique_id
|
554
|
+
|
555
|
+
def initialize(**args)
|
556
|
+
update!(**args)
|
557
|
+
end
|
558
|
+
|
559
|
+
# Update properties of this object
|
560
|
+
def update!(**args)
|
561
|
+
@provider = args[:provider] if args.key?(:provider)
|
562
|
+
@provider_description = args[:provider_description] if args.key?(:provider_description)
|
563
|
+
@resource_type = args[:resource_type] if args.key?(:resource_type)
|
564
|
+
@unique_id = args[:unique_id] if args.key?(:unique_id)
|
565
|
+
end
|
566
|
+
end
|
567
|
+
|
568
|
+
# Common model for database resource instance metadata.
|
569
|
+
class DatabaseResourceMetadata
|
570
|
+
include Google::Apis::Core::Hashable
|
571
|
+
|
572
|
+
# Configuration for availability of database instance
|
573
|
+
# Corresponds to the JSON property `availabilityConfiguration`
|
574
|
+
# @return [Google::Apis::RedisV1::AvailabilityConfiguration]
|
575
|
+
attr_accessor :availability_configuration
|
576
|
+
|
577
|
+
# Configuration for automatic backups
|
578
|
+
# Corresponds to the JSON property `backupConfiguration`
|
579
|
+
# @return [Google::Apis::RedisV1::BackupConfiguration]
|
580
|
+
attr_accessor :backup_configuration
|
581
|
+
|
582
|
+
# A backup run.
|
583
|
+
# Corresponds to the JSON property `backupRun`
|
584
|
+
# @return [Google::Apis::RedisV1::BackupRun]
|
585
|
+
attr_accessor :backup_run
|
586
|
+
|
587
|
+
# The creation time of the resource, i.e. the time when resource is created and
|
588
|
+
# recorded in partner service.
|
589
|
+
# Corresponds to the JSON property `creationTime`
|
590
|
+
# @return [String]
|
591
|
+
attr_accessor :creation_time
|
592
|
+
|
593
|
+
# Current state of the instance.
|
594
|
+
# Corresponds to the JSON property `currentState`
|
595
|
+
# @return [String]
|
596
|
+
attr_accessor :current_state
|
597
|
+
|
598
|
+
# Any custom metadata associated with the resource. i.e. A spanner instance can
|
599
|
+
# have multiple databases with its own unique metadata. Information for these
|
600
|
+
# individual databases can be captured in custom metadata data
|
601
|
+
# Corresponds to the JSON property `customMetadata`
|
602
|
+
# @return [Google::Apis::RedisV1::CustomMetadataData]
|
603
|
+
attr_accessor :custom_metadata
|
604
|
+
|
605
|
+
# Entitlements associated with the resource
|
606
|
+
# Corresponds to the JSON property `entitlements`
|
607
|
+
# @return [Array<Google::Apis::RedisV1::Entitlement>]
|
608
|
+
attr_accessor :entitlements
|
609
|
+
|
610
|
+
# The state that the instance is expected to be in. For example, an instance
|
611
|
+
# state can transition to UNHEALTHY due to wrong patch update, while the
|
612
|
+
# expected state will remain at the HEALTHY.
|
613
|
+
# Corresponds to the JSON property `expectedState`
|
614
|
+
# @return [String]
|
615
|
+
attr_accessor :expected_state
|
616
|
+
|
617
|
+
# DatabaseResourceId will serve as primary key for any resource ingestion event.
|
618
|
+
# Corresponds to the JSON property `id`
|
619
|
+
# @return [Google::Apis::RedisV1::DatabaseResourceId]
|
620
|
+
attr_accessor :id
|
621
|
+
|
622
|
+
# The type of the instance. Specified at creation time.
|
623
|
+
# Corresponds to the JSON property `instanceType`
|
624
|
+
# @return [String]
|
625
|
+
attr_accessor :instance_type
|
626
|
+
|
627
|
+
# The resource location. REQUIRED
|
628
|
+
# Corresponds to the JSON property `location`
|
629
|
+
# @return [String]
|
630
|
+
attr_accessor :location
|
631
|
+
|
632
|
+
# DatabaseResourceId will serve as primary key for any resource ingestion event.
|
633
|
+
# Corresponds to the JSON property `primaryResourceId`
|
634
|
+
# @return [Google::Apis::RedisV1::DatabaseResourceId]
|
635
|
+
attr_accessor :primary_resource_id
|
636
|
+
|
637
|
+
# Product specification for Condor resources.
|
638
|
+
# Corresponds to the JSON property `product`
|
639
|
+
# @return [Google::Apis::RedisV1::Product]
|
640
|
+
attr_accessor :product
|
641
|
+
|
642
|
+
# Closest parent Cloud Resource Manager container of this resource. It must be
|
643
|
+
# resource name of a Cloud Resource Manager project with the format of "/", such
|
644
|
+
# as "projects/123". For GCP provided resources, number should be project number.
|
645
|
+
# Corresponds to the JSON property `resourceContainer`
|
646
|
+
# @return [String]
|
647
|
+
attr_accessor :resource_container
|
648
|
+
|
649
|
+
# Required. Different from DatabaseResourceId.unique_id, a resource name can be
|
650
|
+
# reused over time. That is, after a resource named "ABC" is deleted, the name "
|
651
|
+
# ABC" can be used to to create a new resource within the same source. Resource
|
652
|
+
# name to follow CAIS resource_name format as noted here go/condor-common-
|
653
|
+
# datamodel
|
654
|
+
# Corresponds to the JSON property `resourceName`
|
655
|
+
# @return [String]
|
656
|
+
attr_accessor :resource_name
|
657
|
+
|
658
|
+
# The time at which the resource was updated and recorded at partner service.
|
659
|
+
# Corresponds to the JSON property `updationTime`
|
660
|
+
# @return [String]
|
661
|
+
attr_accessor :updation_time
|
662
|
+
|
663
|
+
# User-provided labels, represented as a dictionary where each label is a single
|
664
|
+
# key value pair.
|
665
|
+
# Corresponds to the JSON property `userLabels`
|
666
|
+
# @return [Hash<String,String>]
|
667
|
+
attr_accessor :user_labels
|
668
|
+
|
669
|
+
def initialize(**args)
|
670
|
+
update!(**args)
|
671
|
+
end
|
672
|
+
|
673
|
+
# Update properties of this object
|
674
|
+
def update!(**args)
|
675
|
+
@availability_configuration = args[:availability_configuration] if args.key?(:availability_configuration)
|
676
|
+
@backup_configuration = args[:backup_configuration] if args.key?(:backup_configuration)
|
677
|
+
@backup_run = args[:backup_run] if args.key?(:backup_run)
|
678
|
+
@creation_time = args[:creation_time] if args.key?(:creation_time)
|
679
|
+
@current_state = args[:current_state] if args.key?(:current_state)
|
680
|
+
@custom_metadata = args[:custom_metadata] if args.key?(:custom_metadata)
|
681
|
+
@entitlements = args[:entitlements] if args.key?(:entitlements)
|
682
|
+
@expected_state = args[:expected_state] if args.key?(:expected_state)
|
683
|
+
@id = args[:id] if args.key?(:id)
|
684
|
+
@instance_type = args[:instance_type] if args.key?(:instance_type)
|
685
|
+
@location = args[:location] if args.key?(:location)
|
686
|
+
@primary_resource_id = args[:primary_resource_id] if args.key?(:primary_resource_id)
|
687
|
+
@product = args[:product] if args.key?(:product)
|
688
|
+
@resource_container = args[:resource_container] if args.key?(:resource_container)
|
689
|
+
@resource_name = args[:resource_name] if args.key?(:resource_name)
|
690
|
+
@updation_time = args[:updation_time] if args.key?(:updation_time)
|
691
|
+
@user_labels = args[:user_labels] if args.key?(:user_labels)
|
692
|
+
end
|
693
|
+
end
|
694
|
+
|
695
|
+
# Common model for database resource recommendation signal data.
|
696
|
+
class DatabaseResourceRecommendationSignalData
|
697
|
+
include Google::Apis::Core::Hashable
|
698
|
+
|
699
|
+
# Optional. Any other additional metadata specific to recommendation
|
700
|
+
# Corresponds to the JSON property `additionalMetadata`
|
701
|
+
# @return [Hash<String,Object>]
|
702
|
+
attr_accessor :additional_metadata
|
703
|
+
|
704
|
+
# Required. last time recommendationw as refreshed
|
705
|
+
# Corresponds to the JSON property `lastRefreshTime`
|
706
|
+
# @return [String]
|
707
|
+
attr_accessor :last_refresh_time
|
708
|
+
|
709
|
+
# Required. Recommendation state
|
710
|
+
# Corresponds to the JSON property `recommendationState`
|
711
|
+
# @return [String]
|
712
|
+
attr_accessor :recommendation_state
|
713
|
+
|
714
|
+
# Required. Name of recommendation. Examples: organizations/1234/locations/us-
|
715
|
+
# central1/recommenders/google.cloudsql.instance.PerformanceRecommender/
|
716
|
+
# recommendations/9876
|
717
|
+
# Corresponds to the JSON property `recommender`
|
718
|
+
# @return [String]
|
719
|
+
attr_accessor :recommender
|
720
|
+
|
721
|
+
# Required. ID of recommender. Examples: "google.cloudsql.instance.
|
722
|
+
# PerformanceRecommender"
|
723
|
+
# Corresponds to the JSON property `recommenderId`
|
724
|
+
# @return [String]
|
725
|
+
attr_accessor :recommender_id
|
726
|
+
|
727
|
+
# Required. Contains an identifier for a subtype of recommendations produced for
|
728
|
+
# the same recommender. Subtype is a function of content and impact, meaning a
|
729
|
+
# new subtype might be added when significant changes to `content` or `
|
730
|
+
# primary_impact.category` are introduced. See the Recommenders section to see a
|
731
|
+
# list of subtypes for a given Recommender. Examples: For recommender = "google.
|
732
|
+
# cloudsql.instance.PerformanceRecommender", recommender_subtype can be "
|
733
|
+
# MYSQL_HIGH_NUMBER_OF_OPEN_TABLES_BEST_PRACTICE"/"
|
734
|
+
# POSTGRES_HIGH_TRANSACTION_ID_UTILIZATION_BEST_PRACTICE"
|
735
|
+
# Corresponds to the JSON property `recommenderSubtype`
|
736
|
+
# @return [String]
|
737
|
+
attr_accessor :recommender_subtype
|
738
|
+
|
739
|
+
# Required. Database resource name associated with the signal. Resource name to
|
740
|
+
# follow CAIS resource_name format as noted here go/condor-common-datamodel
|
741
|
+
# Corresponds to the JSON property `resourceName`
|
742
|
+
# @return [String]
|
743
|
+
attr_accessor :resource_name
|
744
|
+
|
745
|
+
# Required. Type of signal, for example, `SIGNAL_TYPE_IDLE`, `
|
746
|
+
# SIGNAL_TYPE_HIGH_NUMBER_OF_TABLES`, etc.
|
747
|
+
# Corresponds to the JSON property `signalType`
|
748
|
+
# @return [String]
|
749
|
+
attr_accessor :signal_type
|
750
|
+
|
751
|
+
def initialize(**args)
|
752
|
+
update!(**args)
|
753
|
+
end
|
754
|
+
|
755
|
+
# Update properties of this object
|
756
|
+
def update!(**args)
|
757
|
+
@additional_metadata = args[:additional_metadata] if args.key?(:additional_metadata)
|
758
|
+
@last_refresh_time = args[:last_refresh_time] if args.key?(:last_refresh_time)
|
759
|
+
@recommendation_state = args[:recommendation_state] if args.key?(:recommendation_state)
|
760
|
+
@recommender = args[:recommender] if args.key?(:recommender)
|
761
|
+
@recommender_id = args[:recommender_id] if args.key?(:recommender_id)
|
762
|
+
@recommender_subtype = args[:recommender_subtype] if args.key?(:recommender_subtype)
|
763
|
+
@resource_name = args[:resource_name] if args.key?(:resource_name)
|
764
|
+
@signal_type = args[:signal_type] if args.key?(:signal_type)
|
765
|
+
end
|
766
|
+
end
|
767
|
+
|
171
768
|
# Endpoints on each network, for Redis clients to connect to the cluster.
|
172
769
|
class DiscoveryEndpoint
|
173
770
|
include Google::Apis::Core::Hashable
|
@@ -217,6 +814,32 @@ module Google
|
|
217
814
|
end
|
218
815
|
end
|
219
816
|
|
817
|
+
# Proto representing the access that a user has to a specific feature/service.
|
818
|
+
# NextId: 3.
|
819
|
+
class Entitlement
|
820
|
+
include Google::Apis::Core::Hashable
|
821
|
+
|
822
|
+
# The current state of user's accessibility to a feature/benefit.
|
823
|
+
# Corresponds to the JSON property `entitlementState`
|
824
|
+
# @return [String]
|
825
|
+
attr_accessor :entitlement_state
|
826
|
+
|
827
|
+
# An enum that represents the type of this entitlement.
|
828
|
+
# Corresponds to the JSON property `type`
|
829
|
+
# @return [String]
|
830
|
+
attr_accessor :type
|
831
|
+
|
832
|
+
def initialize(**args)
|
833
|
+
update!(**args)
|
834
|
+
end
|
835
|
+
|
836
|
+
# Update properties of this object
|
837
|
+
def update!(**args)
|
838
|
+
@entitlement_state = args[:entitlement_state] if args.key?(:entitlement_state)
|
839
|
+
@type = args[:type] if args.key?(:type)
|
840
|
+
end
|
841
|
+
end
|
842
|
+
|
220
843
|
# Request for Export.
|
221
844
|
class ExportInstanceRequest
|
222
845
|
include Google::Apis::Core::Hashable
|
@@ -1109,6 +1732,37 @@ module Google
|
|
1109
1732
|
end
|
1110
1733
|
end
|
1111
1734
|
|
1735
|
+
# An error that occurred during a backup creation operation.
|
1736
|
+
class OperationError
|
1737
|
+
include Google::Apis::Core::Hashable
|
1738
|
+
|
1739
|
+
# Identifies the specific error that occurred. REQUIRED
|
1740
|
+
# Corresponds to the JSON property `code`
|
1741
|
+
# @return [String]
|
1742
|
+
attr_accessor :code
|
1743
|
+
|
1744
|
+
#
|
1745
|
+
# Corresponds to the JSON property `errorType`
|
1746
|
+
# @return [String]
|
1747
|
+
attr_accessor :error_type
|
1748
|
+
|
1749
|
+
# Additional information about the error encountered. REQUIRED
|
1750
|
+
# Corresponds to the JSON property `message`
|
1751
|
+
# @return [String]
|
1752
|
+
attr_accessor :message
|
1753
|
+
|
1754
|
+
def initialize(**args)
|
1755
|
+
update!(**args)
|
1756
|
+
end
|
1757
|
+
|
1758
|
+
# Update properties of this object
|
1759
|
+
def update!(**args)
|
1760
|
+
@code = args[:code] if args.key?(:code)
|
1761
|
+
@error_type = args[:error_type] if args.key?(:error_type)
|
1762
|
+
@message = args[:message] if args.key?(:message)
|
1763
|
+
end
|
1764
|
+
end
|
1765
|
+
|
1112
1766
|
# Pre-defined metadata fields.
|
1113
1767
|
class OperationMetadata
|
1114
1768
|
include Google::Apis::Core::Hashable
|
@@ -1232,6 +1886,38 @@ module Google
|
|
1232
1886
|
end
|
1233
1887
|
end
|
1234
1888
|
|
1889
|
+
# Product specification for Condor resources.
|
1890
|
+
class Product
|
1891
|
+
include Google::Apis::Core::Hashable
|
1892
|
+
|
1893
|
+
# The specific engine that the underlying database is running.
|
1894
|
+
# Corresponds to the JSON property `engine`
|
1895
|
+
# @return [String]
|
1896
|
+
attr_accessor :engine
|
1897
|
+
|
1898
|
+
# Type of specific database product. It could be CloudSQL, AlloyDB etc..
|
1899
|
+
# Corresponds to the JSON property `type`
|
1900
|
+
# @return [String]
|
1901
|
+
attr_accessor :type
|
1902
|
+
|
1903
|
+
# Version of the underlying database engine. Example values: For MySQL, it could
|
1904
|
+
# be "8.0", "5.7" etc.. For Postgres, it could be "14", "15" etc..
|
1905
|
+
# Corresponds to the JSON property `version`
|
1906
|
+
# @return [String]
|
1907
|
+
attr_accessor :version
|
1908
|
+
|
1909
|
+
def initialize(**args)
|
1910
|
+
update!(**args)
|
1911
|
+
end
|
1912
|
+
|
1913
|
+
# Update properties of this object
|
1914
|
+
def update!(**args)
|
1915
|
+
@engine = args[:engine] if args.key?(:engine)
|
1916
|
+
@type = args[:type] if args.key?(:type)
|
1917
|
+
@version = args[:version] if args.key?(:version)
|
1918
|
+
end
|
1919
|
+
end
|
1920
|
+
|
1235
1921
|
#
|
1236
1922
|
class PscConfig
|
1237
1923
|
include Google::Apis::Core::Hashable
|
@@ -1354,6 +2040,37 @@ module Google
|
|
1354
2040
|
end
|
1355
2041
|
end
|
1356
2042
|
|
2043
|
+
#
|
2044
|
+
class RetentionSettings
|
2045
|
+
include Google::Apis::Core::Hashable
|
2046
|
+
|
2047
|
+
#
|
2048
|
+
# Corresponds to the JSON property `quantityBasedRetention`
|
2049
|
+
# @return [Fixnum]
|
2050
|
+
attr_accessor :quantity_based_retention
|
2051
|
+
|
2052
|
+
# The unit that 'retained_backups' represents.
|
2053
|
+
# Corresponds to the JSON property `retentionUnit`
|
2054
|
+
# @return [String]
|
2055
|
+
attr_accessor :retention_unit
|
2056
|
+
|
2057
|
+
#
|
2058
|
+
# Corresponds to the JSON property `timeBasedRetention`
|
2059
|
+
# @return [String]
|
2060
|
+
attr_accessor :time_based_retention
|
2061
|
+
|
2062
|
+
def initialize(**args)
|
2063
|
+
update!(**args)
|
2064
|
+
end
|
2065
|
+
|
2066
|
+
# Update properties of this object
|
2067
|
+
def update!(**args)
|
2068
|
+
@quantity_based_retention = args[:quantity_based_retention] if args.key?(:quantity_based_retention)
|
2069
|
+
@retention_unit = args[:retention_unit] if args.key?(:retention_unit)
|
2070
|
+
@time_based_retention = args[:time_based_retention] if args.key?(:time_based_retention)
|
2071
|
+
end
|
2072
|
+
end
|
2073
|
+
|
1357
2074
|
# Represents additional information about the state of the cluster.
|
1358
2075
|
class StateInfo
|
1359
2076
|
include Google::Apis::Core::Hashable
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module RedisV1
|
18
18
|
# Version of the google-apis-redis_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.47.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.14.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20240226"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -22,6 +22,24 @@ module Google
|
|
22
22
|
module Apis
|
23
23
|
module RedisV1
|
24
24
|
|
25
|
+
class AvailabilityConfiguration
|
26
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
27
|
+
|
28
|
+
include Google::Apis::Core::JsonObjectSupport
|
29
|
+
end
|
30
|
+
|
31
|
+
class BackupConfiguration
|
32
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
33
|
+
|
34
|
+
include Google::Apis::Core::JsonObjectSupport
|
35
|
+
end
|
36
|
+
|
37
|
+
class BackupRun
|
38
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
39
|
+
|
40
|
+
include Google::Apis::Core::JsonObjectSupport
|
41
|
+
end
|
42
|
+
|
25
43
|
class CertChain
|
26
44
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
27
45
|
|
@@ -40,6 +58,54 @@ module Google
|
|
40
58
|
include Google::Apis::Core::JsonObjectSupport
|
41
59
|
end
|
42
60
|
|
61
|
+
class Compliance
|
62
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
63
|
+
|
64
|
+
include Google::Apis::Core::JsonObjectSupport
|
65
|
+
end
|
66
|
+
|
67
|
+
class CustomMetadataData
|
68
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
69
|
+
|
70
|
+
include Google::Apis::Core::JsonObjectSupport
|
71
|
+
end
|
72
|
+
|
73
|
+
class DatabaseMetadata
|
74
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
75
|
+
|
76
|
+
include Google::Apis::Core::JsonObjectSupport
|
77
|
+
end
|
78
|
+
|
79
|
+
class DatabaseResourceFeed
|
80
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
81
|
+
|
82
|
+
include Google::Apis::Core::JsonObjectSupport
|
83
|
+
end
|
84
|
+
|
85
|
+
class DatabaseResourceHealthSignalData
|
86
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
87
|
+
|
88
|
+
include Google::Apis::Core::JsonObjectSupport
|
89
|
+
end
|
90
|
+
|
91
|
+
class DatabaseResourceId
|
92
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
93
|
+
|
94
|
+
include Google::Apis::Core::JsonObjectSupport
|
95
|
+
end
|
96
|
+
|
97
|
+
class DatabaseResourceMetadata
|
98
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
99
|
+
|
100
|
+
include Google::Apis::Core::JsonObjectSupport
|
101
|
+
end
|
102
|
+
|
103
|
+
class DatabaseResourceRecommendationSignalData
|
104
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
105
|
+
|
106
|
+
include Google::Apis::Core::JsonObjectSupport
|
107
|
+
end
|
108
|
+
|
43
109
|
class DiscoveryEndpoint
|
44
110
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
45
111
|
|
@@ -52,6 +118,12 @@ module Google
|
|
52
118
|
include Google::Apis::Core::JsonObjectSupport
|
53
119
|
end
|
54
120
|
|
121
|
+
class Entitlement
|
122
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
123
|
+
|
124
|
+
include Google::Apis::Core::JsonObjectSupport
|
125
|
+
end
|
126
|
+
|
55
127
|
class ExportInstanceRequest
|
56
128
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
57
129
|
|
@@ -178,6 +250,12 @@ module Google
|
|
178
250
|
include Google::Apis::Core::JsonObjectSupport
|
179
251
|
end
|
180
252
|
|
253
|
+
class OperationError
|
254
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
255
|
+
|
256
|
+
include Google::Apis::Core::JsonObjectSupport
|
257
|
+
end
|
258
|
+
|
181
259
|
class OperationMetadata
|
182
260
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
183
261
|
|
@@ -196,6 +274,12 @@ module Google
|
|
196
274
|
include Google::Apis::Core::JsonObjectSupport
|
197
275
|
end
|
198
276
|
|
277
|
+
class Product
|
278
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
279
|
+
|
280
|
+
include Google::Apis::Core::JsonObjectSupport
|
281
|
+
end
|
282
|
+
|
199
283
|
class PscConfig
|
200
284
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
201
285
|
|
@@ -220,6 +304,12 @@ module Google
|
|
220
304
|
include Google::Apis::Core::JsonObjectSupport
|
221
305
|
end
|
222
306
|
|
307
|
+
class RetentionSettings
|
308
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
309
|
+
|
310
|
+
include Google::Apis::Core::JsonObjectSupport
|
311
|
+
end
|
312
|
+
|
223
313
|
class StateInfo
|
224
314
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
225
315
|
|
@@ -262,6 +352,36 @@ module Google
|
|
262
352
|
include Google::Apis::Core::JsonObjectSupport
|
263
353
|
end
|
264
354
|
|
355
|
+
class AvailabilityConfiguration
|
356
|
+
# @private
|
357
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
358
|
+
property :availability_type, as: 'availabilityType'
|
359
|
+
property :external_replica_configured, as: 'externalReplicaConfigured'
|
360
|
+
property :promotable_replica_configured, as: 'promotableReplicaConfigured'
|
361
|
+
end
|
362
|
+
end
|
363
|
+
|
364
|
+
class BackupConfiguration
|
365
|
+
# @private
|
366
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
367
|
+
property :automated_backup_enabled, as: 'automatedBackupEnabled'
|
368
|
+
property :backup_retention_settings, as: 'backupRetentionSettings', class: Google::Apis::RedisV1::RetentionSettings, decorator: Google::Apis::RedisV1::RetentionSettings::Representation
|
369
|
+
|
370
|
+
property :point_in_time_recovery_enabled, as: 'pointInTimeRecoveryEnabled'
|
371
|
+
end
|
372
|
+
end
|
373
|
+
|
374
|
+
class BackupRun
|
375
|
+
# @private
|
376
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
377
|
+
property :end_time, as: 'endTime'
|
378
|
+
property :error, as: 'error', class: Google::Apis::RedisV1::OperationError, decorator: Google::Apis::RedisV1::OperationError::Representation
|
379
|
+
|
380
|
+
property :start_time, as: 'startTime'
|
381
|
+
property :status, as: 'status'
|
382
|
+
end
|
383
|
+
end
|
384
|
+
|
265
385
|
class CertChain
|
266
386
|
# @private
|
267
387
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -301,6 +421,128 @@ module Google
|
|
301
421
|
end
|
302
422
|
end
|
303
423
|
|
424
|
+
class Compliance
|
425
|
+
# @private
|
426
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
427
|
+
property :standard, as: 'standard'
|
428
|
+
property :version, as: 'version'
|
429
|
+
end
|
430
|
+
end
|
431
|
+
|
432
|
+
class CustomMetadataData
|
433
|
+
# @private
|
434
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
435
|
+
collection :database_metadata, as: 'databaseMetadata', class: Google::Apis::RedisV1::DatabaseMetadata, decorator: Google::Apis::RedisV1::DatabaseMetadata::Representation
|
436
|
+
|
437
|
+
end
|
438
|
+
end
|
439
|
+
|
440
|
+
class DatabaseMetadata
|
441
|
+
# @private
|
442
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
443
|
+
property :backup_configuration, as: 'backupConfiguration', class: Google::Apis::RedisV1::BackupConfiguration, decorator: Google::Apis::RedisV1::BackupConfiguration::Representation
|
444
|
+
|
445
|
+
property :backup_run, as: 'backupRun', class: Google::Apis::RedisV1::BackupRun, decorator: Google::Apis::RedisV1::BackupRun::Representation
|
446
|
+
|
447
|
+
property :product, as: 'product', class: Google::Apis::RedisV1::Product, decorator: Google::Apis::RedisV1::Product::Representation
|
448
|
+
|
449
|
+
property :resource_id, as: 'resourceId', class: Google::Apis::RedisV1::DatabaseResourceId, decorator: Google::Apis::RedisV1::DatabaseResourceId::Representation
|
450
|
+
|
451
|
+
property :resource_name, as: 'resourceName'
|
452
|
+
end
|
453
|
+
end
|
454
|
+
|
455
|
+
class DatabaseResourceFeed
|
456
|
+
# @private
|
457
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
458
|
+
property :feed_timestamp, as: 'feedTimestamp'
|
459
|
+
property :feed_type, as: 'feedType'
|
460
|
+
property :recommendation_signal_data, as: 'recommendationSignalData', class: Google::Apis::RedisV1::DatabaseResourceRecommendationSignalData, decorator: Google::Apis::RedisV1::DatabaseResourceRecommendationSignalData::Representation
|
461
|
+
|
462
|
+
property :resource_health_signal_data, as: 'resourceHealthSignalData', class: Google::Apis::RedisV1::DatabaseResourceHealthSignalData, decorator: Google::Apis::RedisV1::DatabaseResourceHealthSignalData::Representation
|
463
|
+
|
464
|
+
property :resource_id, as: 'resourceId', class: Google::Apis::RedisV1::DatabaseResourceId, decorator: Google::Apis::RedisV1::DatabaseResourceId::Representation
|
465
|
+
|
466
|
+
property :resource_metadata, as: 'resourceMetadata', class: Google::Apis::RedisV1::DatabaseResourceMetadata, decorator: Google::Apis::RedisV1::DatabaseResourceMetadata::Representation
|
467
|
+
|
468
|
+
end
|
469
|
+
end
|
470
|
+
|
471
|
+
class DatabaseResourceHealthSignalData
|
472
|
+
# @private
|
473
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
474
|
+
hash :additional_metadata, as: 'additionalMetadata'
|
475
|
+
collection :compliance, as: 'compliance', class: Google::Apis::RedisV1::Compliance, decorator: Google::Apis::RedisV1::Compliance::Representation
|
476
|
+
|
477
|
+
property :description, as: 'description'
|
478
|
+
property :event_time, as: 'eventTime'
|
479
|
+
property :external_uri, as: 'externalUri'
|
480
|
+
property :name, as: 'name'
|
481
|
+
property :provider, as: 'provider'
|
482
|
+
property :resource_container, as: 'resourceContainer'
|
483
|
+
property :resource_name, as: 'resourceName'
|
484
|
+
property :signal_class, as: 'signalClass'
|
485
|
+
property :signal_id, as: 'signalId'
|
486
|
+
property :signal_type, as: 'signalType'
|
487
|
+
property :state, as: 'state'
|
488
|
+
end
|
489
|
+
end
|
490
|
+
|
491
|
+
class DatabaseResourceId
|
492
|
+
# @private
|
493
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
494
|
+
property :provider, as: 'provider'
|
495
|
+
property :provider_description, as: 'providerDescription'
|
496
|
+
property :resource_type, as: 'resourceType'
|
497
|
+
property :unique_id, as: 'uniqueId'
|
498
|
+
end
|
499
|
+
end
|
500
|
+
|
501
|
+
class DatabaseResourceMetadata
|
502
|
+
# @private
|
503
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
504
|
+
property :availability_configuration, as: 'availabilityConfiguration', class: Google::Apis::RedisV1::AvailabilityConfiguration, decorator: Google::Apis::RedisV1::AvailabilityConfiguration::Representation
|
505
|
+
|
506
|
+
property :backup_configuration, as: 'backupConfiguration', class: Google::Apis::RedisV1::BackupConfiguration, decorator: Google::Apis::RedisV1::BackupConfiguration::Representation
|
507
|
+
|
508
|
+
property :backup_run, as: 'backupRun', class: Google::Apis::RedisV1::BackupRun, decorator: Google::Apis::RedisV1::BackupRun::Representation
|
509
|
+
|
510
|
+
property :creation_time, as: 'creationTime'
|
511
|
+
property :current_state, as: 'currentState'
|
512
|
+
property :custom_metadata, as: 'customMetadata', class: Google::Apis::RedisV1::CustomMetadataData, decorator: Google::Apis::RedisV1::CustomMetadataData::Representation
|
513
|
+
|
514
|
+
collection :entitlements, as: 'entitlements', class: Google::Apis::RedisV1::Entitlement, decorator: Google::Apis::RedisV1::Entitlement::Representation
|
515
|
+
|
516
|
+
property :expected_state, as: 'expectedState'
|
517
|
+
property :id, as: 'id', class: Google::Apis::RedisV1::DatabaseResourceId, decorator: Google::Apis::RedisV1::DatabaseResourceId::Representation
|
518
|
+
|
519
|
+
property :instance_type, as: 'instanceType'
|
520
|
+
property :location, as: 'location'
|
521
|
+
property :primary_resource_id, as: 'primaryResourceId', class: Google::Apis::RedisV1::DatabaseResourceId, decorator: Google::Apis::RedisV1::DatabaseResourceId::Representation
|
522
|
+
|
523
|
+
property :product, as: 'product', class: Google::Apis::RedisV1::Product, decorator: Google::Apis::RedisV1::Product::Representation
|
524
|
+
|
525
|
+
property :resource_container, as: 'resourceContainer'
|
526
|
+
property :resource_name, as: 'resourceName'
|
527
|
+
property :updation_time, as: 'updationTime'
|
528
|
+
hash :user_labels, as: 'userLabels'
|
529
|
+
end
|
530
|
+
end
|
531
|
+
|
532
|
+
class DatabaseResourceRecommendationSignalData
|
533
|
+
# @private
|
534
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
535
|
+
hash :additional_metadata, as: 'additionalMetadata'
|
536
|
+
property :last_refresh_time, as: 'lastRefreshTime'
|
537
|
+
property :recommendation_state, as: 'recommendationState'
|
538
|
+
property :recommender, as: 'recommender'
|
539
|
+
property :recommender_id, as: 'recommenderId'
|
540
|
+
property :recommender_subtype, as: 'recommenderSubtype'
|
541
|
+
property :resource_name, as: 'resourceName'
|
542
|
+
property :signal_type, as: 'signalType'
|
543
|
+
end
|
544
|
+
end
|
545
|
+
|
304
546
|
class DiscoveryEndpoint
|
305
547
|
# @private
|
306
548
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -317,6 +559,14 @@ module Google
|
|
317
559
|
end
|
318
560
|
end
|
319
561
|
|
562
|
+
class Entitlement
|
563
|
+
# @private
|
564
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
565
|
+
property :entitlement_state, as: 'entitlementState'
|
566
|
+
property :type, as: 'type'
|
567
|
+
end
|
568
|
+
end
|
569
|
+
|
320
570
|
class ExportInstanceRequest
|
321
571
|
# @private
|
322
572
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -542,6 +792,15 @@ module Google
|
|
542
792
|
end
|
543
793
|
end
|
544
794
|
|
795
|
+
class OperationError
|
796
|
+
# @private
|
797
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
798
|
+
property :code, as: 'code'
|
799
|
+
property :error_type, as: 'errorType'
|
800
|
+
property :message, as: 'message'
|
801
|
+
end
|
802
|
+
end
|
803
|
+
|
545
804
|
class OperationMetadata
|
546
805
|
# @private
|
547
806
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -573,6 +832,15 @@ module Google
|
|
573
832
|
end
|
574
833
|
end
|
575
834
|
|
835
|
+
class Product
|
836
|
+
# @private
|
837
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
838
|
+
property :engine, as: 'engine'
|
839
|
+
property :type, as: 'type'
|
840
|
+
property :version, as: 'version'
|
841
|
+
end
|
842
|
+
end
|
843
|
+
|
576
844
|
class PscConfig
|
577
845
|
# @private
|
578
846
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -607,6 +875,15 @@ module Google
|
|
607
875
|
end
|
608
876
|
end
|
609
877
|
|
878
|
+
class RetentionSettings
|
879
|
+
# @private
|
880
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
881
|
+
property :quantity_based_retention, as: 'quantityBasedRetention'
|
882
|
+
property :retention_unit, as: 'retentionUnit'
|
883
|
+
property :time_based_retention, as: 'timeBasedRetention'
|
884
|
+
end
|
885
|
+
end
|
886
|
+
|
610
887
|
class StateInfo
|
611
888
|
# @private
|
612
889
|
class Representation < Google::Apis::Core::JsonRepresentation
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-redis_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.47.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-03-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -16,7 +16,7 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
19
|
+
version: 0.14.0
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: 2.a
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: 0.
|
29
|
+
version: 0.14.0
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-redis_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-redis_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-redis_v1/v0.47.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-redis_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|
@@ -68,14 +68,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
68
68
|
requirements:
|
69
69
|
- - ">="
|
70
70
|
- !ruby/object:Gem::Version
|
71
|
-
version: '2.
|
71
|
+
version: '2.7'
|
72
72
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
73
73
|
requirements:
|
74
74
|
- - ">="
|
75
75
|
- !ruby/object:Gem::Version
|
76
76
|
version: '0'
|
77
77
|
requirements: []
|
78
|
-
rubygems_version: 3.5.
|
78
|
+
rubygems_version: 3.5.6
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for Google Cloud Memorystore for Redis API V1
|