google-apis-redis_v1 0.86.0 → 0.87.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
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a75e2476851efac5b7fe53941e888c14a4e97e6cb013daf8893b9c9c61a93ea4
|
|
4
|
+
data.tar.gz: 0ed119550b694d907f8d853c9094cc8b5838a5ae418c922eb93ae592f535affc
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 672cd45cada9655a5e2fd9bb1362647f5f679ab9dae39e1c8c80527697aacda73679d75a741c2a5b91c05d0c423ba433ed946f979e6603f98d8993e16545816b
|
|
7
|
+
data.tar.gz: b70dcecdf7302f3c4560f6636c9333cafbd3173922aefbdc6f47d8d54ef581df50295694af504aec61727d82c874bd987a71392a8cc1bd637c7d6fbc2b375160
|
data/CHANGELOG.md
CHANGED
|
@@ -727,6 +727,12 @@ module Google
|
|
|
727
727
|
# @return [Fixnum]
|
|
728
728
|
attr_accessor :replica_count
|
|
729
729
|
|
|
730
|
+
# Optional. Input only. Rotate the server certificates.
|
|
731
|
+
# Corresponds to the JSON property `rotateServerCertificate`
|
|
732
|
+
# @return [Boolean]
|
|
733
|
+
attr_accessor :rotate_server_certificate
|
|
734
|
+
alias_method :rotate_server_certificate?, :rotate_server_certificate
|
|
735
|
+
|
|
730
736
|
# Optional. Output only. Reserved for future use.
|
|
731
737
|
# Corresponds to the JSON property `satisfiesPzi`
|
|
732
738
|
# @return [Boolean]
|
|
@@ -739,6 +745,18 @@ module Google
|
|
|
739
745
|
attr_accessor :satisfies_pzs
|
|
740
746
|
alias_method :satisfies_pzs?, :satisfies_pzs
|
|
741
747
|
|
|
748
|
+
# Optional. Server CA mode for the cluster.
|
|
749
|
+
# Corresponds to the JSON property `serverCaMode`
|
|
750
|
+
# @return [String]
|
|
751
|
+
attr_accessor :server_ca_mode
|
|
752
|
+
|
|
753
|
+
# Optional. Customer-managed CA pool for the cluster. Only applicable for BYOCA
|
|
754
|
+
# i.e. if server_ca_mode is SERVER_CA_MODE_CUSTOMER_MANAGED_CAS_CA. Format: "
|
|
755
|
+
# projects/`project`/locations/`region`/caPools/`ca_pool`".
|
|
756
|
+
# Corresponds to the JSON property `serverCaPool`
|
|
757
|
+
# @return [String]
|
|
758
|
+
attr_accessor :server_ca_pool
|
|
759
|
+
|
|
742
760
|
# Optional. Number of shards for the Redis cluster.
|
|
743
761
|
# Corresponds to the JSON property `shardCount`
|
|
744
762
|
# @return [Fixnum]
|
|
@@ -819,8 +837,11 @@ module Google
|
|
|
819
837
|
@psc_service_attachments = args[:psc_service_attachments] if args.key?(:psc_service_attachments)
|
|
820
838
|
@redis_configs = args[:redis_configs] if args.key?(:redis_configs)
|
|
821
839
|
@replica_count = args[:replica_count] if args.key?(:replica_count)
|
|
840
|
+
@rotate_server_certificate = args[:rotate_server_certificate] if args.key?(:rotate_server_certificate)
|
|
822
841
|
@satisfies_pzi = args[:satisfies_pzi] if args.key?(:satisfies_pzi)
|
|
823
842
|
@satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
|
|
843
|
+
@server_ca_mode = args[:server_ca_mode] if args.key?(:server_ca_mode)
|
|
844
|
+
@server_ca_pool = args[:server_ca_pool] if args.key?(:server_ca_pool)
|
|
824
845
|
@shard_count = args[:shard_count] if args.key?(:shard_count)
|
|
825
846
|
@simulate_maintenance_event = args[:simulate_maintenance_event] if args.key?(:simulate_maintenance_event)
|
|
826
847
|
@size_gb = args[:size_gb] if args.key?(:size_gb)
|
|
@@ -3583,6 +3604,44 @@ module Google
|
|
|
3583
3604
|
end
|
|
3584
3605
|
end
|
|
3585
3606
|
|
|
3607
|
+
# The certificates that form the CA chain, from leaf to root order.
|
|
3608
|
+
class RegionalCertChain
|
|
3609
|
+
include Google::Apis::Core::Hashable
|
|
3610
|
+
|
|
3611
|
+
# The certificates that form the CA chain, from leaf to root order.
|
|
3612
|
+
# Corresponds to the JSON property `certificates`
|
|
3613
|
+
# @return [Array<String>]
|
|
3614
|
+
attr_accessor :certificates
|
|
3615
|
+
|
|
3616
|
+
def initialize(**args)
|
|
3617
|
+
update!(**args)
|
|
3618
|
+
end
|
|
3619
|
+
|
|
3620
|
+
# Update properties of this object
|
|
3621
|
+
def update!(**args)
|
|
3622
|
+
@certificates = args[:certificates] if args.key?(:certificates)
|
|
3623
|
+
end
|
|
3624
|
+
end
|
|
3625
|
+
|
|
3626
|
+
# CA certificate chains for redis managed server authentication.
|
|
3627
|
+
class RegionalManagedCertificateAuthority
|
|
3628
|
+
include Google::Apis::Core::Hashable
|
|
3629
|
+
|
|
3630
|
+
# The PEM encoded CA certificate chains for redis managed server authentication
|
|
3631
|
+
# Corresponds to the JSON property `caCerts`
|
|
3632
|
+
# @return [Array<Google::Apis::RedisV1::RegionalCertChain>]
|
|
3633
|
+
attr_accessor :ca_certs
|
|
3634
|
+
|
|
3635
|
+
def initialize(**args)
|
|
3636
|
+
update!(**args)
|
|
3637
|
+
end
|
|
3638
|
+
|
|
3639
|
+
# Update properties of this object
|
|
3640
|
+
def update!(**args)
|
|
3641
|
+
@ca_certs = args[:ca_certs] if args.key?(:ca_certs)
|
|
3642
|
+
end
|
|
3643
|
+
end
|
|
3644
|
+
|
|
3586
3645
|
# Details of the remote cluster associated with this cluster in a cross cluster
|
|
3587
3646
|
# replication setup.
|
|
3588
3647
|
class RemoteCluster
|
|
@@ -3743,6 +3802,18 @@ module Google
|
|
|
3743
3802
|
class ResourceMaintenanceInfo
|
|
3744
3803
|
include Google::Apis::Core::Hashable
|
|
3745
3804
|
|
|
3805
|
+
# Represents a whole or partial calendar date, such as a birthday. The time of
|
|
3806
|
+
# day and time zone are either specified elsewhere or are insignificant. The
|
|
3807
|
+
# date is relative to the Gregorian Calendar. This can represent one of the
|
|
3808
|
+
# following: * A full date, with non-zero year, month, and day values. * A month
|
|
3809
|
+
# and day, with a zero year (for example, an anniversary). * A year on its own,
|
|
3810
|
+
# with a zero month and a zero day. * A year and month, with a zero day (for
|
|
3811
|
+
# example, a credit card expiration date). Related types: * google.type.
|
|
3812
|
+
# TimeOfDay * google.type.DateTime * google.protobuf.Timestamp
|
|
3813
|
+
# Corresponds to the JSON property `currentVersionReleaseDate`
|
|
3814
|
+
# @return [Google::Apis::RedisV1::Date]
|
|
3815
|
+
attr_accessor :current_version_release_date
|
|
3816
|
+
|
|
3746
3817
|
# Optional. List of Deny maintenance period for the database resource.
|
|
3747
3818
|
# Corresponds to the JSON property `denyMaintenanceSchedules`
|
|
3748
3819
|
# @return [Array<Google::Apis::RedisV1::ResourceMaintenanceDenySchedule>]
|
|
@@ -3780,26 +3851,19 @@ module Google
|
|
|
3780
3851
|
# @return [Google::Apis::RedisV1::UpcomingMaintenance]
|
|
3781
3852
|
attr_accessor :upcoming_maintenance
|
|
3782
3853
|
|
|
3783
|
-
# Optional. This field will contain the date when the last version update was
|
|
3784
|
-
# applied to the database resource. This will be used to calculate the age of
|
|
3785
|
-
# the maintenance version.
|
|
3786
|
-
# Corresponds to the JSON property `versionUpdateTime`
|
|
3787
|
-
# @return [String]
|
|
3788
|
-
attr_accessor :version_update_time
|
|
3789
|
-
|
|
3790
3854
|
def initialize(**args)
|
|
3791
3855
|
update!(**args)
|
|
3792
3856
|
end
|
|
3793
3857
|
|
|
3794
3858
|
# Update properties of this object
|
|
3795
3859
|
def update!(**args)
|
|
3860
|
+
@current_version_release_date = args[:current_version_release_date] if args.key?(:current_version_release_date)
|
|
3796
3861
|
@deny_maintenance_schedules = args[:deny_maintenance_schedules] if args.key?(:deny_maintenance_schedules)
|
|
3797
3862
|
@is_instance_stopped = args[:is_instance_stopped] if args.key?(:is_instance_stopped)
|
|
3798
3863
|
@maintenance_schedule = args[:maintenance_schedule] if args.key?(:maintenance_schedule)
|
|
3799
3864
|
@maintenance_state = args[:maintenance_state] if args.key?(:maintenance_state)
|
|
3800
3865
|
@maintenance_version = args[:maintenance_version] if args.key?(:maintenance_version)
|
|
3801
3866
|
@upcoming_maintenance = args[:upcoming_maintenance] if args.key?(:upcoming_maintenance)
|
|
3802
|
-
@version_update_time = args[:version_update_time] if args.key?(:version_update_time)
|
|
3803
3867
|
end
|
|
3804
3868
|
end
|
|
3805
3869
|
|
|
@@ -3885,6 +3949,33 @@ module Google
|
|
|
3885
3949
|
end
|
|
3886
3950
|
end
|
|
3887
3951
|
|
|
3952
|
+
# Shared regional certificate authority
|
|
3953
|
+
class SharedRegionalCertificateAuthority
|
|
3954
|
+
include Google::Apis::Core::Hashable
|
|
3955
|
+
|
|
3956
|
+
# CA certificate chains for redis managed server authentication.
|
|
3957
|
+
# Corresponds to the JSON property `managedServerCa`
|
|
3958
|
+
# @return [Google::Apis::RedisV1::RegionalManagedCertificateAuthority]
|
|
3959
|
+
attr_accessor :managed_server_ca
|
|
3960
|
+
|
|
3961
|
+
# Identifier. Unique name of the resource in this scope including project and
|
|
3962
|
+
# location using the form: `projects/`project`/locations/`location`/
|
|
3963
|
+
# sharedRegionalCertificateAuthority`
|
|
3964
|
+
# Corresponds to the JSON property `name`
|
|
3965
|
+
# @return [String]
|
|
3966
|
+
attr_accessor :name
|
|
3967
|
+
|
|
3968
|
+
def initialize(**args)
|
|
3969
|
+
update!(**args)
|
|
3970
|
+
end
|
|
3971
|
+
|
|
3972
|
+
# Update properties of this object
|
|
3973
|
+
def update!(**args)
|
|
3974
|
+
@managed_server_ca = args[:managed_server_ca] if args.key?(:managed_server_ca)
|
|
3975
|
+
@name = args[:name] if args.key?(:name)
|
|
3976
|
+
end
|
|
3977
|
+
end
|
|
3978
|
+
|
|
3888
3979
|
# Represents additional information about the state of the cluster.
|
|
3889
3980
|
class StateInfo
|
|
3890
3981
|
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.87.0"
|
|
20
20
|
|
|
21
21
|
# Version of the code generator used to generate this client
|
|
22
22
|
GENERATOR_VERSION = "0.18.0"
|
|
23
23
|
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
|
25
|
-
REVISION = "
|
|
25
|
+
REVISION = "20260210"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -490,6 +490,18 @@ module Google
|
|
|
490
490
|
include Google::Apis::Core::JsonObjectSupport
|
|
491
491
|
end
|
|
492
492
|
|
|
493
|
+
class RegionalCertChain
|
|
494
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
495
|
+
|
|
496
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
497
|
+
end
|
|
498
|
+
|
|
499
|
+
class RegionalManagedCertificateAuthority
|
|
500
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
501
|
+
|
|
502
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
503
|
+
end
|
|
504
|
+
|
|
493
505
|
class RemoteCluster
|
|
494
506
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
495
507
|
|
|
@@ -538,6 +550,12 @@ module Google
|
|
|
538
550
|
include Google::Apis::Core::JsonObjectSupport
|
|
539
551
|
end
|
|
540
552
|
|
|
553
|
+
class SharedRegionalCertificateAuthority
|
|
554
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
555
|
+
|
|
556
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
557
|
+
end
|
|
558
|
+
|
|
541
559
|
class StateInfo
|
|
542
560
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
543
561
|
|
|
@@ -799,8 +817,11 @@ module Google
|
|
|
799
817
|
|
|
800
818
|
hash :redis_configs, as: 'redisConfigs'
|
|
801
819
|
property :replica_count, as: 'replicaCount'
|
|
820
|
+
property :rotate_server_certificate, as: 'rotateServerCertificate'
|
|
802
821
|
property :satisfies_pzi, as: 'satisfiesPzi'
|
|
803
822
|
property :satisfies_pzs, as: 'satisfiesPzs'
|
|
823
|
+
property :server_ca_mode, as: 'serverCaMode'
|
|
824
|
+
property :server_ca_pool, as: 'serverCaPool'
|
|
804
825
|
property :shard_count, as: 'shardCount'
|
|
805
826
|
property :simulate_maintenance_event, as: 'simulateMaintenanceEvent'
|
|
806
827
|
property :size_gb, as: 'sizeGb'
|
|
@@ -1531,6 +1552,21 @@ module Google
|
|
|
1531
1552
|
end
|
|
1532
1553
|
end
|
|
1533
1554
|
|
|
1555
|
+
class RegionalCertChain
|
|
1556
|
+
# @private
|
|
1557
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1558
|
+
collection :certificates, as: 'certificates'
|
|
1559
|
+
end
|
|
1560
|
+
end
|
|
1561
|
+
|
|
1562
|
+
class RegionalManagedCertificateAuthority
|
|
1563
|
+
# @private
|
|
1564
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1565
|
+
collection :ca_certs, as: 'caCerts', class: Google::Apis::RedisV1::RegionalCertChain, decorator: Google::Apis::RedisV1::RegionalCertChain::Representation
|
|
1566
|
+
|
|
1567
|
+
end
|
|
1568
|
+
end
|
|
1569
|
+
|
|
1534
1570
|
class RemoteCluster
|
|
1535
1571
|
# @private
|
|
1536
1572
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -1578,6 +1614,8 @@ module Google
|
|
|
1578
1614
|
class ResourceMaintenanceInfo
|
|
1579
1615
|
# @private
|
|
1580
1616
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1617
|
+
property :current_version_release_date, as: 'currentVersionReleaseDate', class: Google::Apis::RedisV1::Date, decorator: Google::Apis::RedisV1::Date::Representation
|
|
1618
|
+
|
|
1581
1619
|
collection :deny_maintenance_schedules, as: 'denyMaintenanceSchedules', class: Google::Apis::RedisV1::ResourceMaintenanceDenySchedule, decorator: Google::Apis::RedisV1::ResourceMaintenanceDenySchedule::Representation
|
|
1582
1620
|
|
|
1583
1621
|
property :is_instance_stopped, as: 'isInstanceStopped'
|
|
@@ -1587,7 +1625,6 @@ module Google
|
|
|
1587
1625
|
property :maintenance_version, as: 'maintenanceVersion'
|
|
1588
1626
|
property :upcoming_maintenance, as: 'upcomingMaintenance', class: Google::Apis::RedisV1::UpcomingMaintenance, decorator: Google::Apis::RedisV1::UpcomingMaintenance::Representation
|
|
1589
1627
|
|
|
1590
|
-
property :version_update_time, as: 'versionUpdateTime'
|
|
1591
1628
|
end
|
|
1592
1629
|
end
|
|
1593
1630
|
|
|
@@ -1612,6 +1649,15 @@ module Google
|
|
|
1612
1649
|
end
|
|
1613
1650
|
end
|
|
1614
1651
|
|
|
1652
|
+
class SharedRegionalCertificateAuthority
|
|
1653
|
+
# @private
|
|
1654
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1655
|
+
property :managed_server_ca, as: 'managedServerCa', class: Google::Apis::RedisV1::RegionalManagedCertificateAuthority, decorator: Google::Apis::RedisV1::RegionalManagedCertificateAuthority::Representation
|
|
1656
|
+
|
|
1657
|
+
property :name, as: 'name'
|
|
1658
|
+
end
|
|
1659
|
+
end
|
|
1660
|
+
|
|
1615
1661
|
class StateInfo
|
|
1616
1662
|
# @private
|
|
1617
1663
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -81,6 +81,40 @@ module Google
|
|
|
81
81
|
execute_or_queue_command(command, &block)
|
|
82
82
|
end
|
|
83
83
|
|
|
84
|
+
# Gets the details of regional certificate authority information for Redis
|
|
85
|
+
# cluster.
|
|
86
|
+
# @param [String] name
|
|
87
|
+
# Required. Regional certificate authority resource name using the form: `
|
|
88
|
+
# projects/`project_id`/locations/`location_id`/
|
|
89
|
+
# sharedRegionalCertificateAuthority` where `location_id` refers to a Google
|
|
90
|
+
# Cloud region.
|
|
91
|
+
# @param [String] fields
|
|
92
|
+
# Selector specifying which fields to include in a partial response.
|
|
93
|
+
# @param [String] quota_user
|
|
94
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
95
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
96
|
+
# @param [Google::Apis::RequestOptions] options
|
|
97
|
+
# Request-specific options
|
|
98
|
+
#
|
|
99
|
+
# @yield [result, err] Result & error if block supplied
|
|
100
|
+
# @yieldparam result [Google::Apis::RedisV1::SharedRegionalCertificateAuthority] parsed result object
|
|
101
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
102
|
+
#
|
|
103
|
+
# @return [Google::Apis::RedisV1::SharedRegionalCertificateAuthority]
|
|
104
|
+
#
|
|
105
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
106
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
107
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
108
|
+
def get_project_location_shared_regional_certificate_authority(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
109
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
|
110
|
+
command.response_representation = Google::Apis::RedisV1::SharedRegionalCertificateAuthority::Representation
|
|
111
|
+
command.response_class = Google::Apis::RedisV1::SharedRegionalCertificateAuthority
|
|
112
|
+
command.params['name'] = name unless name.nil?
|
|
113
|
+
command.query['fields'] = fields unless fields.nil?
|
|
114
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
115
|
+
execute_or_queue_command(command, &block)
|
|
116
|
+
end
|
|
117
|
+
|
|
84
118
|
# Lists information about the supported locations for this service. This method
|
|
85
119
|
# can be called in two ways: * **List all public locations:** Use the path `GET /
|
|
86
120
|
# v1/locations`. * **List project-visible locations:** Use the path `GET /v1/
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
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.87.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Google LLC
|
|
@@ -57,7 +57,7 @@ licenses:
|
|
|
57
57
|
metadata:
|
|
58
58
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
|
59
59
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-redis_v1/CHANGELOG.md
|
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-redis_v1/v0.
|
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-redis_v1/v0.87.0
|
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-redis_v1
|
|
62
62
|
rdoc_options: []
|
|
63
63
|
require_paths:
|