google-apis-redis_v1 0.60.0 → 0.61.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/CHANGELOG.md +4 -0
- data/lib/google/apis/redis_v1/classes.rb +46 -24
- data/lib/google/apis/redis_v1/gem_version.rb +2 -2
- data/lib/google/apis/redis_v1/representations.rb +5 -2
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 55148b8bf018fc2ef8a53deeee08dc62791bef6d8307bfe86af962ed0767a523
|
4
|
+
data.tar.gz: 9f4df03b5320fc167b939fca4947eb347910dc6e8eb16ea0c7d9f9cfa3298bc4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 95274c8314c2c9de76f46ba87880501b9739e294c18548c655a62032f0298a1dcf0e07cee1efc6165838891d061e22534cc52ea808d15d927a6fc70090fa4f5c
|
7
|
+
data.tar.gz: 6d9e518969faf426b566ac1c4d38271904ab2e715e6270c56745f8c07c6965ee47b8a3af854d45b6d10d4c6900245eb628208a9019e8c7e348ea68534c1122ab
|
data/CHANGELOG.md
CHANGED
@@ -395,8 +395,8 @@ module Google
|
|
395
395
|
# @return [Array<Google::Apis::RedisV1::PscConfig>]
|
396
396
|
attr_accessor :psc_configs
|
397
397
|
|
398
|
-
# Output only. PSC connections
|
399
|
-
#
|
398
|
+
# Output only. The list of PSC connections that are auto-created through service
|
399
|
+
# connectivity automation.
|
400
400
|
# Corresponds to the JSON property `pscConnections`
|
401
401
|
# @return [Array<Google::Apis::RedisV1::PscConnection>]
|
402
402
|
attr_accessor :psc_connections
|
@@ -525,12 +525,6 @@ module Google
|
|
525
525
|
# @return [String]
|
526
526
|
attr_accessor :end_time
|
527
527
|
|
528
|
-
# Output only. The deadline that the maintenance schedule start time can not go
|
529
|
-
# beyond, including reschedule.
|
530
|
-
# Corresponds to the JSON property `scheduleDeadlineTime`
|
531
|
-
# @return [String]
|
532
|
-
attr_accessor :schedule_deadline_time
|
533
|
-
|
534
528
|
# Output only. The start time of any upcoming scheduled maintenance for this
|
535
529
|
# instance.
|
536
530
|
# Corresponds to the JSON property `startTime`
|
@@ -544,7 +538,6 @@ module Google
|
|
544
538
|
# Update properties of this object
|
545
539
|
def update!(**args)
|
546
540
|
@end_time = args[:end_time] if args.key?(:end_time)
|
547
|
-
@schedule_deadline_time = args[:schedule_deadline_time] if args.key?(:schedule_deadline_time)
|
548
541
|
@start_time = args[:start_time] if args.key?(:start_time)
|
549
542
|
end
|
550
543
|
end
|
@@ -589,11 +582,6 @@ module Google
|
|
589
582
|
# @return [String]
|
590
583
|
attr_accessor :day
|
591
584
|
|
592
|
-
# Duration of the time window.
|
593
|
-
# Corresponds to the JSON property `duration`
|
594
|
-
# @return [String]
|
595
|
-
attr_accessor :duration
|
596
|
-
|
597
585
|
# Represents a time of day. The date and time zone are either not significant or
|
598
586
|
# are specified elsewhere. An API may choose to allow leap seconds. Related
|
599
587
|
# types are google.type.Date and `google.protobuf.Timestamp`.
|
@@ -608,7 +596,6 @@ module Google
|
|
608
596
|
# Update properties of this object
|
609
597
|
def update!(**args)
|
610
598
|
@day = args[:day] if args.key?(:day)
|
611
|
-
@duration = args[:duration] if args.key?(:duration)
|
612
599
|
@start_time = args[:start_time] if args.key?(:start_time)
|
613
600
|
end
|
614
601
|
end
|
@@ -742,7 +729,7 @@ module Google
|
|
742
729
|
# @return [Google::Apis::RedisV1::DatabaseResourceId]
|
743
730
|
attr_accessor :resource_id
|
744
731
|
|
745
|
-
# Common model for database resource instance metadata. Next ID:
|
732
|
+
# Common model for database resource instance metadata. Next ID: 23
|
746
733
|
# Corresponds to the JSON property `resourceMetadata`
|
747
734
|
# @return [Google::Apis::RedisV1::DatabaseResourceMetadata]
|
748
735
|
attr_accessor :resource_metadata
|
@@ -917,7 +904,7 @@ module Google
|
|
917
904
|
end
|
918
905
|
end
|
919
906
|
|
920
|
-
# Common model for database resource instance metadata. Next ID:
|
907
|
+
# Common model for database resource instance metadata. Next ID: 23
|
921
908
|
class DatabaseResourceMetadata
|
922
909
|
include Google::Apis::Core::Hashable
|
923
910
|
|
@@ -954,6 +941,13 @@ module Google
|
|
954
941
|
# @return [Google::Apis::RedisV1::CustomMetadataData]
|
955
942
|
attr_accessor :custom_metadata
|
956
943
|
|
944
|
+
# Optional. Edition represents whether the instance is ENTERPRISE or
|
945
|
+
# ENTERPRISE_PLUS. This information is core to Cloud SQL only and is used to
|
946
|
+
# identify the edition of the instance.
|
947
|
+
# Corresponds to the JSON property `edition`
|
948
|
+
# @return [String]
|
949
|
+
attr_accessor :edition
|
950
|
+
|
957
951
|
# Entitlements associated with the resource
|
958
952
|
# Corresponds to the JSON property `entitlements`
|
959
953
|
# @return [Array<Google::Apis::RedisV1::Entitlement>]
|
@@ -992,6 +986,12 @@ module Google
|
|
992
986
|
# @return [Google::Apis::RedisV1::DatabaseResourceId]
|
993
987
|
attr_accessor :primary_resource_id
|
994
988
|
|
989
|
+
# Primary resource location. REQUIRED if the immediate parent exists when first
|
990
|
+
# time resource is getting ingested, otherwise optional.
|
991
|
+
# Corresponds to the JSON property `primaryResourceLocation`
|
992
|
+
# @return [String]
|
993
|
+
attr_accessor :primary_resource_location
|
994
|
+
|
995
995
|
# Product specification for Condor resources.
|
996
996
|
# Corresponds to the JSON property `product`
|
997
997
|
# @return [Google::Apis::RedisV1::Product]
|
@@ -1044,6 +1044,7 @@ module Google
|
|
1044
1044
|
@creation_time = args[:creation_time] if args.key?(:creation_time)
|
1045
1045
|
@current_state = args[:current_state] if args.key?(:current_state)
|
1046
1046
|
@custom_metadata = args[:custom_metadata] if args.key?(:custom_metadata)
|
1047
|
+
@edition = args[:edition] if args.key?(:edition)
|
1047
1048
|
@entitlements = args[:entitlements] if args.key?(:entitlements)
|
1048
1049
|
@expected_state = args[:expected_state] if args.key?(:expected_state)
|
1049
1050
|
@id = args[:id] if args.key?(:id)
|
@@ -1051,6 +1052,7 @@ module Google
|
|
1051
1052
|
@location = args[:location] if args.key?(:location)
|
1052
1053
|
@machine_configuration = args[:machine_configuration] if args.key?(:machine_configuration)
|
1053
1054
|
@primary_resource_id = args[:primary_resource_id] if args.key?(:primary_resource_id)
|
1055
|
+
@primary_resource_location = args[:primary_resource_location] if args.key?(:primary_resource_location)
|
1054
1056
|
@product = args[:product] if args.key?(:product)
|
1055
1057
|
@resource_container = args[:resource_container] if args.key?(:resource_container)
|
1056
1058
|
@resource_name = args[:resource_name] if args.key?(:resource_name)
|
@@ -2150,6 +2152,11 @@ module Google
|
|
2150
2152
|
# @return [Fixnum]
|
2151
2153
|
attr_accessor :memory_size_in_bytes
|
2152
2154
|
|
2155
|
+
# Optional. Number of shards (if applicable).
|
2156
|
+
# Corresponds to the JSON property `shardCount`
|
2157
|
+
# @return [Fixnum]
|
2158
|
+
attr_accessor :shard_count
|
2159
|
+
|
2153
2160
|
def initialize(**args)
|
2154
2161
|
update!(**args)
|
2155
2162
|
end
|
@@ -2158,6 +2165,7 @@ module Google
|
|
2158
2165
|
def update!(**args)
|
2159
2166
|
@cpu_count = args[:cpu_count] if args.key?(:cpu_count)
|
2160
2167
|
@memory_size_in_bytes = args[:memory_size_in_bytes] if args.key?(:memory_size_in_bytes)
|
2168
|
+
@shard_count = args[:shard_count] if args.key?(:shard_count)
|
2161
2169
|
end
|
2162
2170
|
end
|
2163
2171
|
|
@@ -2658,35 +2666,42 @@ module Google
|
|
2658
2666
|
class PscConnection
|
2659
2667
|
include Google::Apis::Core::Hashable
|
2660
2668
|
|
2661
|
-
#
|
2662
|
-
# rule.
|
2669
|
+
# Required. The IP allocated on the consumer network for the PSC forwarding rule.
|
2663
2670
|
# Corresponds to the JSON property `address`
|
2664
2671
|
# @return [String]
|
2665
2672
|
attr_accessor :address
|
2666
2673
|
|
2667
|
-
#
|
2674
|
+
# Required. The URI of the consumer side forwarding rule. Example: projects/`
|
2668
2675
|
# projectNumOrId`/regions/us-east1/forwardingRules/`resourceId`.
|
2669
2676
|
# Corresponds to the JSON property `forwardingRule`
|
2670
2677
|
# @return [String]
|
2671
2678
|
attr_accessor :forwarding_rule
|
2672
2679
|
|
2673
|
-
# The consumer network where the IP address resides, in the form of
|
2674
|
-
# project_id`/global/networks/`network_id`.
|
2680
|
+
# Required. The consumer network where the IP address resides, in the form of
|
2681
|
+
# projects/`project_id`/global/networks/`network_id`.
|
2675
2682
|
# Corresponds to the JSON property `network`
|
2676
2683
|
# @return [String]
|
2677
2684
|
attr_accessor :network
|
2678
2685
|
|
2679
|
-
#
|
2686
|
+
# Optional. Project ID of the consumer project where the forwarding rule is
|
2687
|
+
# created in.
|
2680
2688
|
# Corresponds to the JSON property `projectId`
|
2681
2689
|
# @return [String]
|
2682
2690
|
attr_accessor :project_id
|
2683
2691
|
|
2684
|
-
#
|
2692
|
+
# Required. The PSC connection id of the forwarding rule connected to the
|
2685
2693
|
# service attachment.
|
2686
2694
|
# Corresponds to the JSON property `pscConnectionId`
|
2687
2695
|
# @return [String]
|
2688
2696
|
attr_accessor :psc_connection_id
|
2689
2697
|
|
2698
|
+
# Required. The service attachment which is the target of the PSC connection, in
|
2699
|
+
# the form of projects/`project-id`/regions/`region`/serviceAttachments/`service-
|
2700
|
+
# attachment-id`.
|
2701
|
+
# Corresponds to the JSON property `serviceAttachment`
|
2702
|
+
# @return [String]
|
2703
|
+
attr_accessor :service_attachment
|
2704
|
+
|
2690
2705
|
def initialize(**args)
|
2691
2706
|
update!(**args)
|
2692
2707
|
end
|
@@ -2698,6 +2713,7 @@ module Google
|
|
2698
2713
|
@network = args[:network] if args.key?(:network)
|
2699
2714
|
@project_id = args[:project_id] if args.key?(:project_id)
|
2700
2715
|
@psc_connection_id = args[:psc_connection_id] if args.key?(:psc_connection_id)
|
2716
|
+
@service_attachment = args[:service_attachment] if args.key?(:service_attachment)
|
2701
2717
|
end
|
2702
2718
|
end
|
2703
2719
|
|
@@ -2893,6 +2909,11 @@ module Google
|
|
2893
2909
|
class RetentionSettings
|
2894
2910
|
include Google::Apis::Core::Hashable
|
2895
2911
|
|
2912
|
+
# Duration based retention period i.e. 172800 seconds (2 days)
|
2913
|
+
# Corresponds to the JSON property `durationBasedRetention`
|
2914
|
+
# @return [String]
|
2915
|
+
attr_accessor :duration_based_retention
|
2916
|
+
|
2896
2917
|
#
|
2897
2918
|
# Corresponds to the JSON property `quantityBasedRetention`
|
2898
2919
|
# @return [Fixnum]
|
@@ -2914,6 +2935,7 @@ module Google
|
|
2914
2935
|
|
2915
2936
|
# Update properties of this object
|
2916
2937
|
def update!(**args)
|
2938
|
+
@duration_based_retention = args[:duration_based_retention] if args.key?(:duration_based_retention)
|
2917
2939
|
@quantity_based_retention = args[:quantity_based_retention] if args.key?(:quantity_based_retention)
|
2918
2940
|
@retention_unit = args[:retention_unit] if args.key?(:retention_unit)
|
2919
2941
|
@time_based_retention = args[:time_based_retention] if args.key?(:time_based_retention)
|
@@ -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.61.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.15.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20240924"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -682,7 +682,6 @@ module Google
|
|
682
682
|
# @private
|
683
683
|
class Representation < Google::Apis::Core::JsonRepresentation
|
684
684
|
property :end_time, as: 'endTime'
|
685
|
-
property :schedule_deadline_time, as: 'scheduleDeadlineTime'
|
686
685
|
property :start_time, as: 'startTime'
|
687
686
|
end
|
688
687
|
end
|
@@ -702,7 +701,6 @@ module Google
|
|
702
701
|
# @private
|
703
702
|
class Representation < Google::Apis::Core::JsonRepresentation
|
704
703
|
property :day, as: 'day'
|
705
|
-
property :duration, as: 'duration'
|
706
704
|
property :start_time, as: 'startTime', class: Google::Apis::RedisV1::TimeOfDay, decorator: Google::Apis::RedisV1::TimeOfDay::Representation
|
707
705
|
|
708
706
|
end
|
@@ -800,6 +798,7 @@ module Google
|
|
800
798
|
property :current_state, as: 'currentState'
|
801
799
|
property :custom_metadata, as: 'customMetadata', class: Google::Apis::RedisV1::CustomMetadataData, decorator: Google::Apis::RedisV1::CustomMetadataData::Representation
|
802
800
|
|
801
|
+
property :edition, as: 'edition'
|
803
802
|
collection :entitlements, as: 'entitlements', class: Google::Apis::RedisV1::Entitlement, decorator: Google::Apis::RedisV1::Entitlement::Representation
|
804
803
|
|
805
804
|
property :expected_state, as: 'expectedState'
|
@@ -811,6 +810,7 @@ module Google
|
|
811
810
|
|
812
811
|
property :primary_resource_id, as: 'primaryResourceId', class: Google::Apis::RedisV1::DatabaseResourceId, decorator: Google::Apis::RedisV1::DatabaseResourceId::Representation
|
813
812
|
|
813
|
+
property :primary_resource_location, as: 'primaryResourceLocation'
|
814
814
|
property :product, as: 'product', class: Google::Apis::RedisV1::Product, decorator: Google::Apis::RedisV1::Product::Representation
|
815
815
|
|
816
816
|
property :resource_container, as: 'resourceContainer'
|
@@ -1114,6 +1114,7 @@ module Google
|
|
1114
1114
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1115
1115
|
property :cpu_count, as: 'cpuCount'
|
1116
1116
|
property :memory_size_in_bytes, :numeric_string => true, as: 'memorySizeInBytes'
|
1117
|
+
property :shard_count, as: 'shardCount'
|
1117
1118
|
end
|
1118
1119
|
end
|
1119
1120
|
|
@@ -1259,6 +1260,7 @@ module Google
|
|
1259
1260
|
property :network, as: 'network'
|
1260
1261
|
property :project_id, as: 'projectId'
|
1261
1262
|
property :psc_connection_id, as: 'pscConnectionId'
|
1263
|
+
property :service_attachment, as: 'serviceAttachment'
|
1262
1264
|
end
|
1263
1265
|
end
|
1264
1266
|
|
@@ -1322,6 +1324,7 @@ module Google
|
|
1322
1324
|
class RetentionSettings
|
1323
1325
|
# @private
|
1324
1326
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1327
|
+
property :duration_based_retention, as: 'durationBasedRetention'
|
1325
1328
|
property :quantity_based_retention, as: 'quantityBasedRetention'
|
1326
1329
|
property :retention_unit, as: 'retentionUnit'
|
1327
1330
|
property :time_based_retention, as: 'timeBasedRetention'
|
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.61.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-09-
|
11
|
+
date: 2024-09-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -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.61.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: []
|