google-apis-redis_v1 0.58.0 → 0.60.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: caf8c6de7c21a53e73a79476e0dd7d1bb07cc2e2bbd441d939d408b5edd7d940
4
- data.tar.gz: 2d400afe439395b3365a9924027404b8176f17fe6d52e92187b9460d4e3696e0
3
+ metadata.gz: bf8f29222c186b61ad5962155347619a0f0050ef5d0c97fcfdff30504100d470
4
+ data.tar.gz: eda57dd9bacb1f69e8bcee62dd0b3e1fb933fde3293aab60dace91fb2db8a10d
5
5
  SHA512:
6
- metadata.gz: c75b7a6e081263a0152712c77b3d40025304843b3fb06401a1b2bb0cdcd8952c8eee16d915edc406878a75c864b86f89591f5e844bdbca3f1318a9bddd932dff
7
- data.tar.gz: 1f904dc2439b4fb09fc00e31e442324104fdc1c837bd97223f13bfe22d3dfd047ee2c6306904b4407bc03254d47889569d9d5128f376ffe95e77f6f356fd0536
6
+ metadata.gz: 608bf7fbf9c01f479f639bdb44ba742130f335a8da878bc423f0d2b30fd12e93f5145a29e994e920d70dcfbad776e60b425fe7c9ab6e3edd5e600d191c0f087e
7
+ data.tar.gz: 46e8573e9149f1f31695cc534b832ba249e0ec7a90244b2ea64c187df5ae50fa3d40107d41d454f55bdf33abbb6e68ac1935e3cd03b7b288df78c376f3d3740a
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-redis_v1
2
2
 
3
+ ### v0.60.0 (2024-09-08)
4
+
5
+ * Regenerated from discovery document revision 20240904
6
+
7
+ ### v0.59.0 (2024-09-01)
8
+
9
+ * Regenerated from discovery document revision 20240822
10
+
3
11
  ### v0.58.0 (2024-08-18)
4
12
 
5
13
  * Regenerated from discovery document revision 20240812
@@ -41,10 +41,65 @@ module Google
41
41
  end
42
42
  end
43
43
 
44
+ # Provides the mapping of a cloud asset to a direct physical location or to a
45
+ # proxy that defines the location on its behalf.
46
+ class AssetLocation
47
+ include Google::Apis::Core::Hashable
48
+
49
+ # Spanner path of the CCFE RMS database. It is only applicable for CCFE tenants
50
+ # that use CCFE RMS for storing resource metadata.
51
+ # Corresponds to the JSON property `ccfeRmsPath`
52
+ # @return [String]
53
+ attr_accessor :ccfe_rms_path
54
+
55
+ # Defines the customer expectation around ZI/ZS for this asset and ZI/ZS state
56
+ # of the region at the time of asset creation.
57
+ # Corresponds to the JSON property `expected`
58
+ # @return [Google::Apis::RedisV1::IsolationExpectations]
59
+ attr_accessor :expected
60
+
61
+ # Defines extra parameters required for specific asset types.
62
+ # Corresponds to the JSON property `extraParameters`
63
+ # @return [Array<Google::Apis::RedisV1::ExtraParameter>]
64
+ attr_accessor :extra_parameters
65
+
66
+ # Contains all kinds of physical location definitions for this asset.
67
+ # Corresponds to the JSON property `locationData`
68
+ # @return [Array<Google::Apis::RedisV1::LocationData>]
69
+ attr_accessor :location_data
70
+
71
+ # Defines parents assets if any in order to allow later generation of
72
+ # child_asset_location data via child assets.
73
+ # Corresponds to the JSON property `parentAsset`
74
+ # @return [Array<Google::Apis::RedisV1::CloudAsset>]
75
+ attr_accessor :parent_asset
76
+
77
+ def initialize(**args)
78
+ update!(**args)
79
+ end
80
+
81
+ # Update properties of this object
82
+ def update!(**args)
83
+ @ccfe_rms_path = args[:ccfe_rms_path] if args.key?(:ccfe_rms_path)
84
+ @expected = args[:expected] if args.key?(:expected)
85
+ @extra_parameters = args[:extra_parameters] if args.key?(:extra_parameters)
86
+ @location_data = args[:location_data] if args.key?(:location_data)
87
+ @parent_asset = args[:parent_asset] if args.key?(:parent_asset)
88
+ end
89
+ end
90
+
44
91
  # Configuration for availability of database instance
45
92
  class AvailabilityConfiguration
46
93
  include Google::Apis::Core::Hashable
47
94
 
95
+ # Checks for existence of (multi-cluster) routing configuration that allows
96
+ # automatic failover to a different zone/region in case of an outage. Applicable
97
+ # to Bigtable resources.
98
+ # Corresponds to the JSON property `automaticFailoverRoutingConfigured`
99
+ # @return [Boolean]
100
+ attr_accessor :automatic_failover_routing_configured
101
+ alias_method :automatic_failover_routing_configured?, :automatic_failover_routing_configured
102
+
48
103
  # Availability type. Potential values: * `ZONAL`: The instance serves data from
49
104
  # only one zone. Outages in that zone affect data accessibility. * `REGIONAL`:
50
105
  # The instance can serve data from more than one zone in a region (it is highly
@@ -78,6 +133,7 @@ module Google
78
133
 
79
134
  # Update properties of this object
80
135
  def update!(**args)
136
+ @automatic_failover_routing_configured = args[:automatic_failover_routing_configured] if args.key?(:automatic_failover_routing_configured)
81
137
  @availability_type = args[:availability_type] if args.key?(:availability_type)
82
138
  @cross_region_replica_configured = args[:cross_region_replica_configured] if args.key?(:cross_region_replica_configured)
83
139
  @external_replica_configured = args[:external_replica_configured] if args.key?(:external_replica_configured)
@@ -157,6 +213,26 @@ module Google
157
213
  end
158
214
  end
159
215
 
216
+ # Policy ID that identified data placement in Blobstore as per go/blobstore-user-
217
+ # guide#data-metadata-placement-and-failure-domains
218
+ class BlobstoreLocation
219
+ include Google::Apis::Core::Hashable
220
+
221
+ #
222
+ # Corresponds to the JSON property `policyId`
223
+ # @return [Array<String>]
224
+ attr_accessor :policy_id
225
+
226
+ def initialize(**args)
227
+ update!(**args)
228
+ end
229
+
230
+ # Update properties of this object
231
+ def update!(**args)
232
+ @policy_id = args[:policy_id] if args.key?(:policy_id)
233
+ end
234
+ end
235
+
160
236
  #
161
237
  class CertChain
162
238
  include Google::Apis::Core::Hashable
@@ -203,6 +279,50 @@ module Google
203
279
  end
204
280
  end
205
281
 
282
+ #
283
+ class CloudAsset
284
+ include Google::Apis::Core::Hashable
285
+
286
+ #
287
+ # Corresponds to the JSON property `assetName`
288
+ # @return [String]
289
+ attr_accessor :asset_name
290
+
291
+ #
292
+ # Corresponds to the JSON property `assetType`
293
+ # @return [String]
294
+ attr_accessor :asset_type
295
+
296
+ def initialize(**args)
297
+ update!(**args)
298
+ end
299
+
300
+ # Update properties of this object
301
+ def update!(**args)
302
+ @asset_name = args[:asset_name] if args.key?(:asset_name)
303
+ @asset_type = args[:asset_type] if args.key?(:asset_type)
304
+ end
305
+ end
306
+
307
+ #
308
+ class CloudAssetComposition
309
+ include Google::Apis::Core::Hashable
310
+
311
+ #
312
+ # Corresponds to the JSON property `childAsset`
313
+ # @return [Array<Google::Apis::RedisV1::CloudAsset>]
314
+ attr_accessor :child_asset
315
+
316
+ def initialize(**args)
317
+ update!(**args)
318
+ end
319
+
320
+ # Update properties of this object
321
+ def update!(**args)
322
+ @child_asset = args[:child_asset] if args.key?(:child_asset)
323
+ end
324
+ end
325
+
206
326
  # A cluster instance.
207
327
  class Cluster
208
328
  include Google::Apis::Core::Hashable
@@ -235,6 +355,16 @@ module Google
235
355
  # @return [Array<Google::Apis::RedisV1::DiscoveryEndpoint>]
236
356
  attr_accessor :discovery_endpoints
237
357
 
358
+ # Maintenance policy per cluster.
359
+ # Corresponds to the JSON property `maintenancePolicy`
360
+ # @return [Google::Apis::RedisV1::ClusterMaintenancePolicy]
361
+ attr_accessor :maintenance_policy
362
+
363
+ # Upcoming maitenance schedule.
364
+ # Corresponds to the JSON property `maintenanceSchedule`
365
+ # @return [Google::Apis::RedisV1::ClusterMaintenanceSchedule]
366
+ attr_accessor :maintenance_schedule
367
+
238
368
  # Required. Identifier. Unique name of the resource in this scope including
239
369
  # project and location using the form: `projects/`project_id`/locations/`
240
370
  # location_id`/clusters/`cluster_id``
@@ -330,6 +460,8 @@ module Google
330
460
  @cross_cluster_replication_config = args[:cross_cluster_replication_config] if args.key?(:cross_cluster_replication_config)
331
461
  @deletion_protection_enabled = args[:deletion_protection_enabled] if args.key?(:deletion_protection_enabled)
332
462
  @discovery_endpoints = args[:discovery_endpoints] if args.key?(:discovery_endpoints)
463
+ @maintenance_policy = args[:maintenance_policy] if args.key?(:maintenance_policy)
464
+ @maintenance_schedule = args[:maintenance_schedule] if args.key?(:maintenance_schedule)
333
465
  @name = args[:name] if args.key?(:name)
334
466
  @node_type = args[:node_type] if args.key?(:node_type)
335
467
  @persistence_config = args[:persistence_config] if args.key?(:persistence_config)
@@ -348,6 +480,75 @@ module Google
348
480
  end
349
481
  end
350
482
 
483
+ # Maintenance policy per cluster.
484
+ class ClusterMaintenancePolicy
485
+ include Google::Apis::Core::Hashable
486
+
487
+ # Output only. The time when the policy was created i.e. Maintenance Window or
488
+ # Deny Period was assigned.
489
+ # Corresponds to the JSON property `createTime`
490
+ # @return [String]
491
+ attr_accessor :create_time
492
+
493
+ # Output only. The time when the policy was updated i.e. Maintenance Window or
494
+ # Deny Period was updated.
495
+ # Corresponds to the JSON property `updateTime`
496
+ # @return [String]
497
+ attr_accessor :update_time
498
+
499
+ # Optional. Maintenance window that is applied to resources covered by this
500
+ # policy. Minimum 1. For the current version, the maximum number of
501
+ # weekly_maintenance_window is expected to be one.
502
+ # Corresponds to the JSON property `weeklyMaintenanceWindow`
503
+ # @return [Array<Google::Apis::RedisV1::ClusterWeeklyMaintenanceWindow>]
504
+ attr_accessor :weekly_maintenance_window
505
+
506
+ def initialize(**args)
507
+ update!(**args)
508
+ end
509
+
510
+ # Update properties of this object
511
+ def update!(**args)
512
+ @create_time = args[:create_time] if args.key?(:create_time)
513
+ @update_time = args[:update_time] if args.key?(:update_time)
514
+ @weekly_maintenance_window = args[:weekly_maintenance_window] if args.key?(:weekly_maintenance_window)
515
+ end
516
+ end
517
+
518
+ # Upcoming maitenance schedule.
519
+ class ClusterMaintenanceSchedule
520
+ include Google::Apis::Core::Hashable
521
+
522
+ # Output only. The end time of any upcoming scheduled maintenance for this
523
+ # instance.
524
+ # Corresponds to the JSON property `endTime`
525
+ # @return [String]
526
+ attr_accessor :end_time
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
+ # Output only. The start time of any upcoming scheduled maintenance for this
535
+ # instance.
536
+ # Corresponds to the JSON property `startTime`
537
+ # @return [String]
538
+ attr_accessor :start_time
539
+
540
+ def initialize(**args)
541
+ update!(**args)
542
+ end
543
+
544
+ # Update properties of this object
545
+ def update!(**args)
546
+ @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
+ @start_time = args[:start_time] if args.key?(:start_time)
549
+ end
550
+ end
551
+
351
552
  # Configuration of the persistence functionality.
352
553
  class ClusterPersistenceConfig
353
554
  include Google::Apis::Core::Hashable
@@ -379,6 +580,39 @@ module Google
379
580
  end
380
581
  end
381
582
 
583
+ # Time window specified for weekly operations.
584
+ class ClusterWeeklyMaintenanceWindow
585
+ include Google::Apis::Core::Hashable
586
+
587
+ # Allows to define schedule that runs specified day of the week.
588
+ # Corresponds to the JSON property `day`
589
+ # @return [String]
590
+ attr_accessor :day
591
+
592
+ # Duration of the time window.
593
+ # Corresponds to the JSON property `duration`
594
+ # @return [String]
595
+ attr_accessor :duration
596
+
597
+ # Represents a time of day. The date and time zone are either not significant or
598
+ # are specified elsewhere. An API may choose to allow leap seconds. Related
599
+ # types are google.type.Date and `google.protobuf.Timestamp`.
600
+ # Corresponds to the JSON property `startTime`
601
+ # @return [Google::Apis::RedisV1::TimeOfDay]
602
+ attr_accessor :start_time
603
+
604
+ def initialize(**args)
605
+ update!(**args)
606
+ end
607
+
608
+ # Update properties of this object
609
+ def update!(**args)
610
+ @day = args[:day] if args.key?(:day)
611
+ @duration = args[:duration] if args.key?(:duration)
612
+ @start_time = args[:start_time] if args.key?(:start_time)
613
+ end
614
+ end
615
+
382
616
  # Contains compliance information about a security standard indicating unmet
383
617
  # recommendations.
384
618
  class Compliance
@@ -508,7 +742,7 @@ module Google
508
742
  # @return [Google::Apis::RedisV1::DatabaseResourceId]
509
743
  attr_accessor :resource_id
510
744
 
511
- # Common model for database resource instance metadata.
745
+ # Common model for database resource instance metadata. Next ID: 21
512
746
  # Corresponds to the JSON property `resourceMetadata`
513
747
  # @return [Google::Apis::RedisV1::DatabaseResourceMetadata]
514
748
  attr_accessor :resource_metadata
@@ -683,7 +917,7 @@ module Google
683
917
  end
684
918
  end
685
919
 
686
- # Common model for database resource instance metadata.
920
+ # Common model for database resource instance metadata. Next ID: 21
687
921
  class DatabaseResourceMetadata
688
922
  include Google::Apis::Core::Hashable
689
923
 
@@ -779,6 +1013,13 @@ module Google
779
1013
  # @return [String]
780
1014
  attr_accessor :resource_name
781
1015
 
1016
+ # Message type for storing tags. Tags provide a way to create annotations for
1017
+ # resources, and in some cases conditionally allow or deny policies based on
1018
+ # whether a resource has a specific tag.
1019
+ # Corresponds to the JSON property `tagsSet`
1020
+ # @return [Google::Apis::RedisV1::Tags]
1021
+ attr_accessor :tags_set
1022
+
782
1023
  # The time at which the resource was updated and recorded at partner service.
783
1024
  # Corresponds to the JSON property `updationTime`
784
1025
  # @return [String]
@@ -813,6 +1054,7 @@ module Google
813
1054
  @product = args[:product] if args.key?(:product)
814
1055
  @resource_container = args[:resource_container] if args.key?(:resource_container)
815
1056
  @resource_name = args[:resource_name] if args.key?(:resource_name)
1057
+ @tags_set = args[:tags_set] if args.key?(:tags_set)
816
1058
  @updation_time = args[:updation_time] if args.key?(:updation_time)
817
1059
  @user_label_set = args[:user_label_set] if args.key?(:user_label_set)
818
1060
  end
@@ -891,6 +1133,25 @@ module Google
891
1133
  end
892
1134
  end
893
1135
 
1136
+ #
1137
+ class DirectLocationAssignment
1138
+ include Google::Apis::Core::Hashable
1139
+
1140
+ #
1141
+ # Corresponds to the JSON property `location`
1142
+ # @return [Array<Google::Apis::RedisV1::LocationAssignment>]
1143
+ attr_accessor :location
1144
+
1145
+ def initialize(**args)
1146
+ update!(**args)
1147
+ end
1148
+
1149
+ # Update properties of this object
1150
+ def update!(**args)
1151
+ @location = args[:location] if args.key?(:location)
1152
+ end
1153
+ end
1154
+
894
1155
  # Endpoints on each network, for Redis clients to connect to the cluster.
895
1156
  class DiscoveryEndpoint
896
1157
  include Google::Apis::Core::Hashable
@@ -985,6 +1246,26 @@ module Google
985
1246
  end
986
1247
  end
987
1248
 
1249
+ # Defines parameters that should only be used for specific asset types.
1250
+ class ExtraParameter
1251
+ include Google::Apis::Core::Hashable
1252
+
1253
+ # To be used for specifying the intended distribution of regional compute.
1254
+ # googleapis.com/InstanceGroupManager instances
1255
+ # Corresponds to the JSON property `regionalMigDistributionPolicy`
1256
+ # @return [Google::Apis::RedisV1::RegionalMigDistributionPolicy]
1257
+ attr_accessor :regional_mig_distribution_policy
1258
+
1259
+ def initialize(**args)
1260
+ update!(**args)
1261
+ end
1262
+
1263
+ # Update properties of this object
1264
+ def update!(**args)
1265
+ @regional_mig_distribution_policy = args[:regional_mig_distribution_policy] if args.key?(:regional_mig_distribution_policy)
1266
+ end
1267
+ end
1268
+
988
1269
  # Request for Failover.
989
1270
  class FailoverInstanceRequest
990
1271
  include Google::Apis::Core::Hashable
@@ -1535,6 +1816,70 @@ module Google
1535
1816
  end
1536
1817
  end
1537
1818
 
1819
+ #
1820
+ class IsolationExpectations
1821
+ include Google::Apis::Core::Hashable
1822
+
1823
+ # Explicit overrides for ZI and ZS requirements to be used for resources that
1824
+ # should be excluded from ZI/ZS verification logic.
1825
+ # Corresponds to the JSON property `requirementOverride`
1826
+ # @return [Google::Apis::RedisV1::RequirementOverride]
1827
+ attr_accessor :requirement_override
1828
+
1829
+ #
1830
+ # Corresponds to the JSON property `ziOrgPolicy`
1831
+ # @return [String]
1832
+ attr_accessor :zi_org_policy
1833
+
1834
+ #
1835
+ # Corresponds to the JSON property `ziRegionPolicy`
1836
+ # @return [String]
1837
+ attr_accessor :zi_region_policy
1838
+
1839
+ #
1840
+ # Corresponds to the JSON property `ziRegionState`
1841
+ # @return [String]
1842
+ attr_accessor :zi_region_state
1843
+
1844
+ # Deprecated: use zi_org_policy, zi_region_policy and zi_region_state instead
1845
+ # for setting ZI expectations as per go/zicy-publish-physical-location.
1846
+ # Corresponds to the JSON property `zoneIsolation`
1847
+ # @return [String]
1848
+ attr_accessor :zone_isolation
1849
+
1850
+ # Deprecated: use zs_org_policy, and zs_region_stateinstead for setting Zs
1851
+ # expectations as per go/zicy-publish-physical-location.
1852
+ # Corresponds to the JSON property `zoneSeparation`
1853
+ # @return [String]
1854
+ attr_accessor :zone_separation
1855
+
1856
+ #
1857
+ # Corresponds to the JSON property `zsOrgPolicy`
1858
+ # @return [String]
1859
+ attr_accessor :zs_org_policy
1860
+
1861
+ #
1862
+ # Corresponds to the JSON property `zsRegionState`
1863
+ # @return [String]
1864
+ attr_accessor :zs_region_state
1865
+
1866
+ def initialize(**args)
1867
+ update!(**args)
1868
+ end
1869
+
1870
+ # Update properties of this object
1871
+ def update!(**args)
1872
+ @requirement_override = args[:requirement_override] if args.key?(:requirement_override)
1873
+ @zi_org_policy = args[:zi_org_policy] if args.key?(:zi_org_policy)
1874
+ @zi_region_policy = args[:zi_region_policy] if args.key?(:zi_region_policy)
1875
+ @zi_region_state = args[:zi_region_state] if args.key?(:zi_region_state)
1876
+ @zone_isolation = args[:zone_isolation] if args.key?(:zone_isolation)
1877
+ @zone_separation = args[:zone_separation] if args.key?(:zone_separation)
1878
+ @zs_org_policy = args[:zs_org_policy] if args.key?(:zs_org_policy)
1879
+ @zs_region_state = args[:zs_region_state] if args.key?(:zs_region_state)
1880
+ end
1881
+ end
1882
+
1538
1883
  # Response for ListClusters.
1539
1884
  class ListClustersResponse
1540
1885
  include Google::Apis::Core::Hashable
@@ -1712,6 +2057,82 @@ module Google
1712
2057
  end
1713
2058
  end
1714
2059
 
2060
+ #
2061
+ class LocationAssignment
2062
+ include Google::Apis::Core::Hashable
2063
+
2064
+ #
2065
+ # Corresponds to the JSON property `location`
2066
+ # @return [String]
2067
+ attr_accessor :location
2068
+
2069
+ #
2070
+ # Corresponds to the JSON property `locationType`
2071
+ # @return [String]
2072
+ attr_accessor :location_type
2073
+
2074
+ def initialize(**args)
2075
+ update!(**args)
2076
+ end
2077
+
2078
+ # Update properties of this object
2079
+ def update!(**args)
2080
+ @location = args[:location] if args.key?(:location)
2081
+ @location_type = args[:location_type] if args.key?(:location_type)
2082
+ end
2083
+ end
2084
+
2085
+ #
2086
+ class LocationData
2087
+ include Google::Apis::Core::Hashable
2088
+
2089
+ # Policy ID that identified data placement in Blobstore as per go/blobstore-user-
2090
+ # guide#data-metadata-placement-and-failure-domains
2091
+ # Corresponds to the JSON property `blobstoreLocation`
2092
+ # @return [Google::Apis::RedisV1::BlobstoreLocation]
2093
+ attr_accessor :blobstore_location
2094
+
2095
+ #
2096
+ # Corresponds to the JSON property `childAssetLocation`
2097
+ # @return [Google::Apis::RedisV1::CloudAssetComposition]
2098
+ attr_accessor :child_asset_location
2099
+
2100
+ #
2101
+ # Corresponds to the JSON property `directLocation`
2102
+ # @return [Google::Apis::RedisV1::DirectLocationAssignment]
2103
+ attr_accessor :direct_location
2104
+
2105
+ #
2106
+ # Corresponds to the JSON property `gcpProjectProxy`
2107
+ # @return [Google::Apis::RedisV1::TenantProjectProxy]
2108
+ attr_accessor :gcp_project_proxy
2109
+
2110
+ # Message describing that the location of the customer resource is tied to
2111
+ # placer allocations
2112
+ # Corresponds to the JSON property `placerLocation`
2113
+ # @return [Google::Apis::RedisV1::PlacerLocation]
2114
+ attr_accessor :placer_location
2115
+
2116
+ #
2117
+ # Corresponds to the JSON property `spannerLocation`
2118
+ # @return [Google::Apis::RedisV1::SpannerLocation]
2119
+ attr_accessor :spanner_location
2120
+
2121
+ def initialize(**args)
2122
+ update!(**args)
2123
+ end
2124
+
2125
+ # Update properties of this object
2126
+ def update!(**args)
2127
+ @blobstore_location = args[:blobstore_location] if args.key?(:blobstore_location)
2128
+ @child_asset_location = args[:child_asset_location] if args.key?(:child_asset_location)
2129
+ @direct_location = args[:direct_location] if args.key?(:direct_location)
2130
+ @gcp_project_proxy = args[:gcp_project_proxy] if args.key?(:gcp_project_proxy)
2131
+ @placer_location = args[:placer_location] if args.key?(:placer_location)
2132
+ @spanner_location = args[:spanner_location] if args.key?(:spanner_location)
2133
+ end
2134
+ end
2135
+
1715
2136
  # MachineConfiguration describes the configuration of a machine specific to
1716
2137
  # Database Resource.
1717
2138
  class MachineConfiguration
@@ -2159,6 +2580,27 @@ module Google
2159
2580
  end
2160
2581
  end
2161
2582
 
2583
+ # Message describing that the location of the customer resource is tied to
2584
+ # placer allocations
2585
+ class PlacerLocation
2586
+ include Google::Apis::Core::Hashable
2587
+
2588
+ # Directory with a config related to it in placer (e.g. "/placer/prod/home/my-
2589
+ # root/my-dir")
2590
+ # Corresponds to the JSON property `placerConfig`
2591
+ # @return [String]
2592
+ attr_accessor :placer_config
2593
+
2594
+ def initialize(**args)
2595
+ update!(**args)
2596
+ end
2597
+
2598
+ # Update properties of this object
2599
+ def update!(**args)
2600
+ @placer_config = args[:placer_config] if args.key?(:placer_config)
2601
+ end
2602
+ end
2603
+
2162
2604
  # Product specification for Condor resources.
2163
2605
  class Product
2164
2606
  include Google::Apis::Core::Hashable
@@ -2312,6 +2754,33 @@ module Google
2312
2754
  end
2313
2755
  end
2314
2756
 
2757
+ # To be used for specifying the intended distribution of regional compute.
2758
+ # googleapis.com/InstanceGroupManager instances
2759
+ class RegionalMigDistributionPolicy
2760
+ include Google::Apis::Core::Hashable
2761
+
2762
+ # The shape in which the group converges around distribution of resources.
2763
+ # Instance of proto2 enum
2764
+ # Corresponds to the JSON property `targetShape`
2765
+ # @return [Fixnum]
2766
+ attr_accessor :target_shape
2767
+
2768
+ # Cloud zones used by regional MIG to create instances.
2769
+ # Corresponds to the JSON property `zones`
2770
+ # @return [Array<Google::Apis::RedisV1::ZoneConfiguration>]
2771
+ attr_accessor :zones
2772
+
2773
+ def initialize(**args)
2774
+ update!(**args)
2775
+ end
2776
+
2777
+ # Update properties of this object
2778
+ def update!(**args)
2779
+ @target_shape = args[:target_shape] if args.key?(:target_shape)
2780
+ @zones = args[:zones] if args.key?(:zones)
2781
+ end
2782
+ end
2783
+
2315
2784
  # Details of the remote cluster associated with this cluster in a cross cluster
2316
2785
  # replication setup.
2317
2786
  class RemoteCluster
@@ -2339,6 +2808,59 @@ module Google
2339
2808
  end
2340
2809
  end
2341
2810
 
2811
+ #
2812
+ class RequirementOverride
2813
+ include Google::Apis::Core::Hashable
2814
+
2815
+ #
2816
+ # Corresponds to the JSON property `ziOverride`
2817
+ # @return [String]
2818
+ attr_accessor :zi_override
2819
+
2820
+ #
2821
+ # Corresponds to the JSON property `zsOverride`
2822
+ # @return [String]
2823
+ attr_accessor :zs_override
2824
+
2825
+ def initialize(**args)
2826
+ update!(**args)
2827
+ end
2828
+
2829
+ # Update properties of this object
2830
+ def update!(**args)
2831
+ @zi_override = args[:zi_override] if args.key?(:zi_override)
2832
+ @zs_override = args[:zs_override] if args.key?(:zs_override)
2833
+ end
2834
+ end
2835
+
2836
+ # Request for rescheduling a cluster maintenance.
2837
+ class RescheduleClusterMaintenanceRequest
2838
+ include Google::Apis::Core::Hashable
2839
+
2840
+ # Required. If reschedule type is SPECIFIC_TIME, must set up schedule_time as
2841
+ # well.
2842
+ # Corresponds to the JSON property `rescheduleType`
2843
+ # @return [String]
2844
+ attr_accessor :reschedule_type
2845
+
2846
+ # Optional. Timestamp when the maintenance shall be rescheduled to if
2847
+ # reschedule_type=SPECIFIC_TIME, in RFC 3339 format, for example `2012-11-15T16:
2848
+ # 19:00.094Z`.
2849
+ # Corresponds to the JSON property `scheduleTime`
2850
+ # @return [String]
2851
+ attr_accessor :schedule_time
2852
+
2853
+ def initialize(**args)
2854
+ update!(**args)
2855
+ end
2856
+
2857
+ # Update properties of this object
2858
+ def update!(**args)
2859
+ @reschedule_type = args[:reschedule_type] if args.key?(:reschedule_type)
2860
+ @schedule_time = args[:schedule_time] if args.key?(:schedule_time)
2861
+ end
2862
+ end
2863
+
2342
2864
  # Request for RescheduleMaintenance.
2343
2865
  class RescheduleMaintenanceRequest
2344
2866
  include Google::Apis::Core::Hashable
@@ -2398,6 +2920,32 @@ module Google
2398
2920
  end
2399
2921
  end
2400
2922
 
2923
+ #
2924
+ class SpannerLocation
2925
+ include Google::Apis::Core::Hashable
2926
+
2927
+ # Set of backups used by the resource with name in the same format as what is
2928
+ # available at http://table/spanner_automon.backup_metadata
2929
+ # Corresponds to the JSON property `backupName`
2930
+ # @return [Array<String>]
2931
+ attr_accessor :backup_name
2932
+
2933
+ # Set of databases used by the resource in format /span//
2934
+ # Corresponds to the JSON property `dbName`
2935
+ # @return [Array<String>]
2936
+ attr_accessor :db_name
2937
+
2938
+ def initialize(**args)
2939
+ update!(**args)
2940
+ end
2941
+
2942
+ # Update properties of this object
2943
+ def update!(**args)
2944
+ @backup_name = args[:backup_name] if args.key?(:backup_name)
2945
+ @db_name = args[:db_name] if args.key?(:db_name)
2946
+ end
2947
+ end
2948
+
2401
2949
  # Represents additional information about the state of the cluster.
2402
2950
  class StateInfo
2403
2951
  include Google::Apis::Core::Hashable
@@ -2456,6 +3004,46 @@ module Google
2456
3004
  end
2457
3005
  end
2458
3006
 
3007
+ # Message type for storing tags. Tags provide a way to create annotations for
3008
+ # resources, and in some cases conditionally allow or deny policies based on
3009
+ # whether a resource has a specific tag.
3010
+ class Tags
3011
+ include Google::Apis::Core::Hashable
3012
+
3013
+ # The Tag key/value mappings.
3014
+ # Corresponds to the JSON property `tags`
3015
+ # @return [Hash<String,String>]
3016
+ attr_accessor :tags
3017
+
3018
+ def initialize(**args)
3019
+ update!(**args)
3020
+ end
3021
+
3022
+ # Update properties of this object
3023
+ def update!(**args)
3024
+ @tags = args[:tags] if args.key?(:tags)
3025
+ end
3026
+ end
3027
+
3028
+ #
3029
+ class TenantProjectProxy
3030
+ include Google::Apis::Core::Hashable
3031
+
3032
+ #
3033
+ # Corresponds to the JSON property `projectNumbers`
3034
+ # @return [Array<String>]
3035
+ attr_accessor :project_numbers
3036
+
3037
+ def initialize(**args)
3038
+ update!(**args)
3039
+ end
3040
+
3041
+ # Update properties of this object
3042
+ def update!(**args)
3043
+ @project_numbers = args[:project_numbers] if args.key?(:project_numbers)
3044
+ end
3045
+ end
3046
+
2459
3047
  # Represents a time of day. The date and time zone are either not significant or
2460
3048
  # are specified elsewhere. An API may choose to allow leap seconds. Related
2461
3049
  # types are google.type.Date and `google.protobuf.Timestamp`.
@@ -2681,6 +3269,25 @@ module Google
2681
3269
  end
2682
3270
  end
2683
3271
 
3272
+ #
3273
+ class ZoneConfiguration
3274
+ include Google::Apis::Core::Hashable
3275
+
3276
+ #
3277
+ # Corresponds to the JSON property `zone`
3278
+ # @return [String]
3279
+ attr_accessor :zone
3280
+
3281
+ def initialize(**args)
3282
+ update!(**args)
3283
+ end
3284
+
3285
+ # Update properties of this object
3286
+ def update!(**args)
3287
+ @zone = args[:zone] if args.key?(:zone)
3288
+ end
3289
+ end
3290
+
2684
3291
  # Zone distribution config for allocation of cluster resources.
2685
3292
  class ZoneDistributionConfig
2686
3293
  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.58.0"
19
+ GEM_VERSION = "0.60.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 = "20240812"
25
+ REVISION = "20240904"
26
26
  end
27
27
  end
28
28
  end
@@ -28,6 +28,12 @@ module Google
28
28
  include Google::Apis::Core::JsonObjectSupport
29
29
  end
30
30
 
31
+ class AssetLocation
32
+ class Representation < Google::Apis::Core::JsonRepresentation; end
33
+
34
+ include Google::Apis::Core::JsonObjectSupport
35
+ end
36
+
31
37
  class AvailabilityConfiguration
32
38
  class Representation < Google::Apis::Core::JsonRepresentation; end
33
39
 
@@ -46,6 +52,12 @@ module Google
46
52
  include Google::Apis::Core::JsonObjectSupport
47
53
  end
48
54
 
55
+ class BlobstoreLocation
56
+ class Representation < Google::Apis::Core::JsonRepresentation; end
57
+
58
+ include Google::Apis::Core::JsonObjectSupport
59
+ end
60
+
49
61
  class CertChain
50
62
  class Representation < Google::Apis::Core::JsonRepresentation; end
51
63
 
@@ -58,18 +70,48 @@ module Google
58
70
  include Google::Apis::Core::JsonObjectSupport
59
71
  end
60
72
 
73
+ class CloudAsset
74
+ class Representation < Google::Apis::Core::JsonRepresentation; end
75
+
76
+ include Google::Apis::Core::JsonObjectSupport
77
+ end
78
+
79
+ class CloudAssetComposition
80
+ class Representation < Google::Apis::Core::JsonRepresentation; end
81
+
82
+ include Google::Apis::Core::JsonObjectSupport
83
+ end
84
+
61
85
  class Cluster
62
86
  class Representation < Google::Apis::Core::JsonRepresentation; end
63
87
 
64
88
  include Google::Apis::Core::JsonObjectSupport
65
89
  end
66
90
 
91
+ class ClusterMaintenancePolicy
92
+ class Representation < Google::Apis::Core::JsonRepresentation; end
93
+
94
+ include Google::Apis::Core::JsonObjectSupport
95
+ end
96
+
97
+ class ClusterMaintenanceSchedule
98
+ class Representation < Google::Apis::Core::JsonRepresentation; end
99
+
100
+ include Google::Apis::Core::JsonObjectSupport
101
+ end
102
+
67
103
  class ClusterPersistenceConfig
68
104
  class Representation < Google::Apis::Core::JsonRepresentation; end
69
105
 
70
106
  include Google::Apis::Core::JsonObjectSupport
71
107
  end
72
108
 
109
+ class ClusterWeeklyMaintenanceWindow
110
+ class Representation < Google::Apis::Core::JsonRepresentation; end
111
+
112
+ include Google::Apis::Core::JsonObjectSupport
113
+ end
114
+
73
115
  class Compliance
74
116
  class Representation < Google::Apis::Core::JsonRepresentation; end
75
117
 
@@ -118,6 +160,12 @@ module Google
118
160
  include Google::Apis::Core::JsonObjectSupport
119
161
  end
120
162
 
163
+ class DirectLocationAssignment
164
+ class Representation < Google::Apis::Core::JsonRepresentation; end
165
+
166
+ include Google::Apis::Core::JsonObjectSupport
167
+ end
168
+
121
169
  class DiscoveryEndpoint
122
170
  class Representation < Google::Apis::Core::JsonRepresentation; end
123
171
 
@@ -142,6 +190,12 @@ module Google
142
190
  include Google::Apis::Core::JsonObjectSupport
143
191
  end
144
192
 
193
+ class ExtraParameter
194
+ class Representation < Google::Apis::Core::JsonRepresentation; end
195
+
196
+ include Google::Apis::Core::JsonObjectSupport
197
+ end
198
+
145
199
  class FailoverInstanceRequest
146
200
  class Representation < Google::Apis::Core::JsonRepresentation; end
147
201
 
@@ -208,6 +262,12 @@ module Google
208
262
  include Google::Apis::Core::JsonObjectSupport
209
263
  end
210
264
 
265
+ class IsolationExpectations
266
+ class Representation < Google::Apis::Core::JsonRepresentation; end
267
+
268
+ include Google::Apis::Core::JsonObjectSupport
269
+ end
270
+
211
271
  class ListClustersResponse
212
272
  class Representation < Google::Apis::Core::JsonRepresentation; end
213
273
 
@@ -238,6 +298,18 @@ module Google
238
298
  include Google::Apis::Core::JsonObjectSupport
239
299
  end
240
300
 
301
+ class LocationAssignment
302
+ class Representation < Google::Apis::Core::JsonRepresentation; end
303
+
304
+ include Google::Apis::Core::JsonObjectSupport
305
+ end
306
+
307
+ class LocationData
308
+ class Representation < Google::Apis::Core::JsonRepresentation; end
309
+
310
+ include Google::Apis::Core::JsonObjectSupport
311
+ end
312
+
241
313
  class MachineConfiguration
242
314
  class Representation < Google::Apis::Core::JsonRepresentation; end
243
315
 
@@ -310,6 +382,12 @@ module Google
310
382
  include Google::Apis::Core::JsonObjectSupport
311
383
  end
312
384
 
385
+ class PlacerLocation
386
+ class Representation < Google::Apis::Core::JsonRepresentation; end
387
+
388
+ include Google::Apis::Core::JsonObjectSupport
389
+ end
390
+
313
391
  class Product
314
392
  class Representation < Google::Apis::Core::JsonRepresentation; end
315
393
 
@@ -340,12 +418,30 @@ module Google
340
418
  include Google::Apis::Core::JsonObjectSupport
341
419
  end
342
420
 
421
+ class RegionalMigDistributionPolicy
422
+ class Representation < Google::Apis::Core::JsonRepresentation; end
423
+
424
+ include Google::Apis::Core::JsonObjectSupport
425
+ end
426
+
343
427
  class RemoteCluster
344
428
  class Representation < Google::Apis::Core::JsonRepresentation; end
345
429
 
346
430
  include Google::Apis::Core::JsonObjectSupport
347
431
  end
348
432
 
433
+ class RequirementOverride
434
+ class Representation < Google::Apis::Core::JsonRepresentation; end
435
+
436
+ include Google::Apis::Core::JsonObjectSupport
437
+ end
438
+
439
+ class RescheduleClusterMaintenanceRequest
440
+ class Representation < Google::Apis::Core::JsonRepresentation; end
441
+
442
+ include Google::Apis::Core::JsonObjectSupport
443
+ end
444
+
349
445
  class RescheduleMaintenanceRequest
350
446
  class Representation < Google::Apis::Core::JsonRepresentation; end
351
447
 
@@ -358,6 +454,12 @@ module Google
358
454
  include Google::Apis::Core::JsonObjectSupport
359
455
  end
360
456
 
457
+ class SpannerLocation
458
+ class Representation < Google::Apis::Core::JsonRepresentation; end
459
+
460
+ include Google::Apis::Core::JsonObjectSupport
461
+ end
462
+
361
463
  class StateInfo
362
464
  class Representation < Google::Apis::Core::JsonRepresentation; end
363
465
 
@@ -370,6 +472,18 @@ module Google
370
472
  include Google::Apis::Core::JsonObjectSupport
371
473
  end
372
474
 
475
+ class Tags
476
+ class Representation < Google::Apis::Core::JsonRepresentation; end
477
+
478
+ include Google::Apis::Core::JsonObjectSupport
479
+ end
480
+
481
+ class TenantProjectProxy
482
+ class Representation < Google::Apis::Core::JsonRepresentation; end
483
+
484
+ include Google::Apis::Core::JsonObjectSupport
485
+ end
486
+
373
487
  class TimeOfDay
374
488
  class Representation < Google::Apis::Core::JsonRepresentation; end
375
489
 
@@ -412,6 +526,12 @@ module Google
412
526
  include Google::Apis::Core::JsonObjectSupport
413
527
  end
414
528
 
529
+ class ZoneConfiguration
530
+ class Representation < Google::Apis::Core::JsonRepresentation; end
531
+
532
+ include Google::Apis::Core::JsonObjectSupport
533
+ end
534
+
415
535
  class ZoneDistributionConfig
416
536
  class Representation < Google::Apis::Core::JsonRepresentation; end
417
537
 
@@ -425,9 +545,25 @@ module Google
425
545
  end
426
546
  end
427
547
 
548
+ class AssetLocation
549
+ # @private
550
+ class Representation < Google::Apis::Core::JsonRepresentation
551
+ property :ccfe_rms_path, as: 'ccfeRmsPath'
552
+ property :expected, as: 'expected', class: Google::Apis::RedisV1::IsolationExpectations, decorator: Google::Apis::RedisV1::IsolationExpectations::Representation
553
+
554
+ collection :extra_parameters, as: 'extraParameters', class: Google::Apis::RedisV1::ExtraParameter, decorator: Google::Apis::RedisV1::ExtraParameter::Representation
555
+
556
+ collection :location_data, as: 'locationData', class: Google::Apis::RedisV1::LocationData, decorator: Google::Apis::RedisV1::LocationData::Representation
557
+
558
+ collection :parent_asset, as: 'parentAsset', class: Google::Apis::RedisV1::CloudAsset, decorator: Google::Apis::RedisV1::CloudAsset::Representation
559
+
560
+ end
561
+ end
562
+
428
563
  class AvailabilityConfiguration
429
564
  # @private
430
565
  class Representation < Google::Apis::Core::JsonRepresentation
566
+ property :automatic_failover_routing_configured, as: 'automaticFailoverRoutingConfigured'
431
567
  property :availability_type, as: 'availabilityType'
432
568
  property :cross_region_replica_configured, as: 'crossRegionReplicaConfigured'
433
569
  property :external_replica_configured, as: 'externalReplicaConfigured'
@@ -456,6 +592,13 @@ module Google
456
592
  end
457
593
  end
458
594
 
595
+ class BlobstoreLocation
596
+ # @private
597
+ class Representation < Google::Apis::Core::JsonRepresentation
598
+ collection :policy_id, as: 'policyId'
599
+ end
600
+ end
601
+
459
602
  class CertChain
460
603
  # @private
461
604
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -472,6 +615,22 @@ module Google
472
615
  end
473
616
  end
474
617
 
618
+ class CloudAsset
619
+ # @private
620
+ class Representation < Google::Apis::Core::JsonRepresentation
621
+ property :asset_name, as: 'assetName'
622
+ property :asset_type, as: 'assetType'
623
+ end
624
+ end
625
+
626
+ class CloudAssetComposition
627
+ # @private
628
+ class Representation < Google::Apis::Core::JsonRepresentation
629
+ collection :child_asset, as: 'childAsset', class: Google::Apis::RedisV1::CloudAsset, decorator: Google::Apis::RedisV1::CloudAsset::Representation
630
+
631
+ end
632
+ end
633
+
475
634
  class Cluster
476
635
  # @private
477
636
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -482,6 +641,10 @@ module Google
482
641
  property :deletion_protection_enabled, as: 'deletionProtectionEnabled'
483
642
  collection :discovery_endpoints, as: 'discoveryEndpoints', class: Google::Apis::RedisV1::DiscoveryEndpoint, decorator: Google::Apis::RedisV1::DiscoveryEndpoint::Representation
484
643
 
644
+ property :maintenance_policy, as: 'maintenancePolicy', class: Google::Apis::RedisV1::ClusterMaintenancePolicy, decorator: Google::Apis::RedisV1::ClusterMaintenancePolicy::Representation
645
+
646
+ property :maintenance_schedule, as: 'maintenanceSchedule', class: Google::Apis::RedisV1::ClusterMaintenanceSchedule, decorator: Google::Apis::RedisV1::ClusterMaintenanceSchedule::Representation
647
+
485
648
  property :name, as: 'name'
486
649
  property :node_type, as: 'nodeType'
487
650
  property :persistence_config, as: 'persistenceConfig', class: Google::Apis::RedisV1::ClusterPersistenceConfig, decorator: Google::Apis::RedisV1::ClusterPersistenceConfig::Representation
@@ -505,6 +668,25 @@ module Google
505
668
  end
506
669
  end
507
670
 
671
+ class ClusterMaintenancePolicy
672
+ # @private
673
+ class Representation < Google::Apis::Core::JsonRepresentation
674
+ property :create_time, as: 'createTime'
675
+ property :update_time, as: 'updateTime'
676
+ collection :weekly_maintenance_window, as: 'weeklyMaintenanceWindow', class: Google::Apis::RedisV1::ClusterWeeklyMaintenanceWindow, decorator: Google::Apis::RedisV1::ClusterWeeklyMaintenanceWindow::Representation
677
+
678
+ end
679
+ end
680
+
681
+ class ClusterMaintenanceSchedule
682
+ # @private
683
+ class Representation < Google::Apis::Core::JsonRepresentation
684
+ property :end_time, as: 'endTime'
685
+ property :schedule_deadline_time, as: 'scheduleDeadlineTime'
686
+ property :start_time, as: 'startTime'
687
+ end
688
+ end
689
+
508
690
  class ClusterPersistenceConfig
509
691
  # @private
510
692
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -516,6 +698,16 @@ module Google
516
698
  end
517
699
  end
518
700
 
701
+ class ClusterWeeklyMaintenanceWindow
702
+ # @private
703
+ class Representation < Google::Apis::Core::JsonRepresentation
704
+ property :day, as: 'day'
705
+ property :duration, as: 'duration'
706
+ property :start_time, as: 'startTime', class: Google::Apis::RedisV1::TimeOfDay, decorator: Google::Apis::RedisV1::TimeOfDay::Representation
707
+
708
+ end
709
+ end
710
+
519
711
  class Compliance
520
712
  # @private
521
713
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -623,6 +815,8 @@ module Google
623
815
 
624
816
  property :resource_container, as: 'resourceContainer'
625
817
  property :resource_name, as: 'resourceName'
818
+ property :tags_set, as: 'tagsSet', class: Google::Apis::RedisV1::Tags, decorator: Google::Apis::RedisV1::Tags::Representation
819
+
626
820
  property :updation_time, as: 'updationTime'
627
821
  property :user_label_set, as: 'userLabelSet', class: Google::Apis::RedisV1::UserLabels, decorator: Google::Apis::RedisV1::UserLabels::Representation
628
822
 
@@ -643,6 +837,14 @@ module Google
643
837
  end
644
838
  end
645
839
 
840
+ class DirectLocationAssignment
841
+ # @private
842
+ class Representation < Google::Apis::Core::JsonRepresentation
843
+ collection :location, as: 'location', class: Google::Apis::RedisV1::LocationAssignment, decorator: Google::Apis::RedisV1::LocationAssignment::Representation
844
+
845
+ end
846
+ end
847
+
646
848
  class DiscoveryEndpoint
647
849
  # @private
648
850
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -675,6 +877,14 @@ module Google
675
877
  end
676
878
  end
677
879
 
880
+ class ExtraParameter
881
+ # @private
882
+ class Representation < Google::Apis::Core::JsonRepresentation
883
+ property :regional_mig_distribution_policy, as: 'regionalMigDistributionPolicy', class: Google::Apis::RedisV1::RegionalMigDistributionPolicy, decorator: Google::Apis::RedisV1::RegionalMigDistributionPolicy::Representation
884
+
885
+ end
886
+ end
887
+
678
888
  class FailoverInstanceRequest
679
889
  # @private
680
890
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -809,6 +1019,21 @@ module Google
809
1019
  end
810
1020
  end
811
1021
 
1022
+ class IsolationExpectations
1023
+ # @private
1024
+ class Representation < Google::Apis::Core::JsonRepresentation
1025
+ property :requirement_override, as: 'requirementOverride', class: Google::Apis::RedisV1::RequirementOverride, decorator: Google::Apis::RedisV1::RequirementOverride::Representation
1026
+
1027
+ property :zi_org_policy, as: 'ziOrgPolicy'
1028
+ property :zi_region_policy, as: 'ziRegionPolicy'
1029
+ property :zi_region_state, as: 'ziRegionState'
1030
+ property :zone_isolation, as: 'zoneIsolation'
1031
+ property :zone_separation, as: 'zoneSeparation'
1032
+ property :zs_org_policy, as: 'zsOrgPolicy'
1033
+ property :zs_region_state, as: 'zsRegionState'
1034
+ end
1035
+ end
1036
+
812
1037
  class ListClustersResponse
813
1038
  # @private
814
1039
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -858,6 +1083,32 @@ module Google
858
1083
  end
859
1084
  end
860
1085
 
1086
+ class LocationAssignment
1087
+ # @private
1088
+ class Representation < Google::Apis::Core::JsonRepresentation
1089
+ property :location, as: 'location'
1090
+ property :location_type, as: 'locationType'
1091
+ end
1092
+ end
1093
+
1094
+ class LocationData
1095
+ # @private
1096
+ class Representation < Google::Apis::Core::JsonRepresentation
1097
+ property :blobstore_location, as: 'blobstoreLocation', class: Google::Apis::RedisV1::BlobstoreLocation, decorator: Google::Apis::RedisV1::BlobstoreLocation::Representation
1098
+
1099
+ property :child_asset_location, as: 'childAssetLocation', class: Google::Apis::RedisV1::CloudAssetComposition, decorator: Google::Apis::RedisV1::CloudAssetComposition::Representation
1100
+
1101
+ property :direct_location, as: 'directLocation', class: Google::Apis::RedisV1::DirectLocationAssignment, decorator: Google::Apis::RedisV1::DirectLocationAssignment::Representation
1102
+
1103
+ property :gcp_project_proxy, as: 'gcpProjectProxy', class: Google::Apis::RedisV1::TenantProjectProxy, decorator: Google::Apis::RedisV1::TenantProjectProxy::Representation
1104
+
1105
+ property :placer_location, as: 'placerLocation', class: Google::Apis::RedisV1::PlacerLocation, decorator: Google::Apis::RedisV1::PlacerLocation::Representation
1106
+
1107
+ property :spanner_location, as: 'spannerLocation', class: Google::Apis::RedisV1::SpannerLocation, decorator: Google::Apis::RedisV1::SpannerLocation::Representation
1108
+
1109
+ end
1110
+ end
1111
+
861
1112
  class MachineConfiguration
862
1113
  # @private
863
1114
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -977,6 +1228,13 @@ module Google
977
1228
  end
978
1229
  end
979
1230
 
1231
+ class PlacerLocation
1232
+ # @private
1233
+ class Representation < Google::Apis::Core::JsonRepresentation
1234
+ property :placer_config, as: 'placerConfig'
1235
+ end
1236
+ end
1237
+
980
1238
  class Product
981
1239
  # @private
982
1240
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1020,6 +1278,15 @@ module Google
1020
1278
  end
1021
1279
  end
1022
1280
 
1281
+ class RegionalMigDistributionPolicy
1282
+ # @private
1283
+ class Representation < Google::Apis::Core::JsonRepresentation
1284
+ property :target_shape, as: 'targetShape'
1285
+ collection :zones, as: 'zones', class: Google::Apis::RedisV1::ZoneConfiguration, decorator: Google::Apis::RedisV1::ZoneConfiguration::Representation
1286
+
1287
+ end
1288
+ end
1289
+
1023
1290
  class RemoteCluster
1024
1291
  # @private
1025
1292
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1028,6 +1295,22 @@ module Google
1028
1295
  end
1029
1296
  end
1030
1297
 
1298
+ class RequirementOverride
1299
+ # @private
1300
+ class Representation < Google::Apis::Core::JsonRepresentation
1301
+ property :zi_override, as: 'ziOverride'
1302
+ property :zs_override, as: 'zsOverride'
1303
+ end
1304
+ end
1305
+
1306
+ class RescheduleClusterMaintenanceRequest
1307
+ # @private
1308
+ class Representation < Google::Apis::Core::JsonRepresentation
1309
+ property :reschedule_type, as: 'rescheduleType'
1310
+ property :schedule_time, as: 'scheduleTime'
1311
+ end
1312
+ end
1313
+
1031
1314
  class RescheduleMaintenanceRequest
1032
1315
  # @private
1033
1316
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1045,6 +1328,14 @@ module Google
1045
1328
  end
1046
1329
  end
1047
1330
 
1331
+ class SpannerLocation
1332
+ # @private
1333
+ class Representation < Google::Apis::Core::JsonRepresentation
1334
+ collection :backup_name, as: 'backupName'
1335
+ collection :db_name, as: 'dbName'
1336
+ end
1337
+ end
1338
+
1048
1339
  class StateInfo
1049
1340
  # @private
1050
1341
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1062,6 +1353,20 @@ module Google
1062
1353
  end
1063
1354
  end
1064
1355
 
1356
+ class Tags
1357
+ # @private
1358
+ class Representation < Google::Apis::Core::JsonRepresentation
1359
+ hash :tags, as: 'tags'
1360
+ end
1361
+ end
1362
+
1363
+ class TenantProjectProxy
1364
+ # @private
1365
+ class Representation < Google::Apis::Core::JsonRepresentation
1366
+ collection :project_numbers, as: 'projectNumbers'
1367
+ end
1368
+ end
1369
+
1065
1370
  class TimeOfDay
1066
1371
  # @private
1067
1372
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1125,6 +1430,13 @@ module Google
1125
1430
  end
1126
1431
  end
1127
1432
 
1433
+ class ZoneConfiguration
1434
+ # @private
1435
+ class Representation < Google::Apis::Core::JsonRepresentation
1436
+ property :zone, as: 'zone'
1437
+ end
1438
+ end
1439
+
1128
1440
  class ZoneDistributionConfig
1129
1441
  # @private
1130
1442
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -365,6 +365,41 @@ module Google
365
365
  execute_or_queue_command(command, &block)
366
366
  end
367
367
 
368
+ # Reschedules upcoming maintenance event.
369
+ # @param [String] name
370
+ # Required. Redis Cluster instance resource name using the form: `projects/`
371
+ # project_id`/locations/`location_id`/clusters/`cluster_id`` where `location_id`
372
+ # refers to a GCP region.
373
+ # @param [Google::Apis::RedisV1::RescheduleClusterMaintenanceRequest] reschedule_cluster_maintenance_request_object
374
+ # @param [String] fields
375
+ # Selector specifying which fields to include in a partial response.
376
+ # @param [String] quota_user
377
+ # Available to use for quota purposes for server-side applications. Can be any
378
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
379
+ # @param [Google::Apis::RequestOptions] options
380
+ # Request-specific options
381
+ #
382
+ # @yield [result, err] Result & error if block supplied
383
+ # @yieldparam result [Google::Apis::RedisV1::Operation] parsed result object
384
+ # @yieldparam err [StandardError] error object if request failed
385
+ #
386
+ # @return [Google::Apis::RedisV1::Operation]
387
+ #
388
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
389
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
390
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
391
+ def reschedule_cluster_maintenance(name, reschedule_cluster_maintenance_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
392
+ command = make_simple_command(:post, 'v1/{+name}:rescheduleClusterMaintenance', options)
393
+ command.request_representation = Google::Apis::RedisV1::RescheduleClusterMaintenanceRequest::Representation
394
+ command.request_object = reschedule_cluster_maintenance_request_object
395
+ command.response_representation = Google::Apis::RedisV1::Operation::Representation
396
+ command.response_class = Google::Apis::RedisV1::Operation
397
+ command.params['name'] = name unless name.nil?
398
+ command.query['fields'] = fields unless fields.nil?
399
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
400
+ execute_or_queue_command(command, &block)
401
+ end
402
+
368
403
  # Creates a Redis instance based on the specified tier and memory size. By
369
404
  # default, the instance is accessible from the project's [default network](https:
370
405
  # //cloud.google.com/vpc/docs/vpc). The creation is executed asynchronously and
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.58.0
4
+ version: 0.60.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-08-18 00:00:00.000000000 Z
11
+ date: 2024-09-15 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.58.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-redis_v1/v0.60.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: []