google-apis-metastore_v1beta 0.61.0 → 0.63.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8cb3a390cca2d08dc1bf54d5e69408b20b9f6d462fc1a07607e854b7b9ac5f42
4
- data.tar.gz: dc4359135ec52dda23053572135438410d69d6c614cbd4cf440cc5190e8c130b
3
+ metadata.gz: c7d62a1042ecf1876cb439667ae8f2c7452d2d016ca32b887ca3f7f0843d1d84
4
+ data.tar.gz: a7b5526f4df3b3ca5f4a094ef4936bb9b6fe8bb241e68d34ec7c32ba90b32429
5
5
  SHA512:
6
- metadata.gz: db6e296476f92b4a5984d191960c1d570d73669bcd47798cee4d99cf2cdafa2659745650d8fbb0db52469578c5b40bcb2d8f1c41f3557466a99f52b71a893d74
7
- data.tar.gz: eb3f3f0f385912702adfe995b3e38ad13b1ce5f57f2c8c2a0bad6f443a309d0e5e5ac2c76cad186e796db898cb1627c00404d8645d612ff0e0cd019959d7d12f
6
+ metadata.gz: 3e28ef1ea1a42b2a4b0a706a344fed9eaec56d53d7963da83e804fc7ab84b34a2791cabc341382753826f607e6b8ece1eee18d1bdda4023b90d76c90b53feca8
7
+ data.tar.gz: 61d91a627189f93aac7a79d6fdab89066bcbc5a8983ab1c9b2261a3f45c3d697aedb179ad0d3bcd2fbed104be703625b62c012ff1e52574b077a7ae23f28a0c5
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-metastore_v1beta
2
2
 
3
+ ### v0.63.0 (2024-05-19)
4
+
5
+ * Regenerated from discovery document revision 20240510
6
+ * Regenerated using generator version 0.15.0
7
+
8
+ ### v0.62.0 (2024-04-21)
9
+
10
+ * Regenerated from discovery document revision 20240411
11
+
3
12
  ### v0.61.0 (2024-03-31)
4
13
 
5
14
  * Regenerated from discovery document revision 20240325
@@ -173,6 +173,38 @@ module Google
173
173
  end
174
174
  end
175
175
 
176
+ # Represents the autoscaling configuration of a metastore service.
177
+ class AutoscalingConfig
178
+ include Google::Apis::Core::Hashable
179
+
180
+ # Optional. Whether or not autoscaling is enabled for this service.
181
+ # Corresponds to the JSON property `autoscalingEnabled`
182
+ # @return [Boolean]
183
+ attr_accessor :autoscaling_enabled
184
+ alias_method :autoscaling_enabled?, :autoscaling_enabled
185
+
186
+ # Output only. The scaling factor of a service with autoscaling enabled.
187
+ # Corresponds to the JSON property `autoscalingFactor`
188
+ # @return [Float]
189
+ attr_accessor :autoscaling_factor
190
+
191
+ # Represents the autoscaling limit configuration of a metastore service.
192
+ # Corresponds to the JSON property `limitConfig`
193
+ # @return [Google::Apis::MetastoreV1beta::LimitConfig]
194
+ attr_accessor :limit_config
195
+
196
+ def initialize(**args)
197
+ update!(**args)
198
+ end
199
+
200
+ # Update properties of this object
201
+ def update!(**args)
202
+ @autoscaling_enabled = args[:autoscaling_enabled] if args.key?(:autoscaling_enabled)
203
+ @autoscaling_factor = args[:autoscaling_factor] if args.key?(:autoscaling_factor)
204
+ @limit_config = args[:limit_config] if args.key?(:limit_config)
205
+ end
206
+ end
207
+
176
208
  # Configuration information for the auxiliary service versions.
177
209
  class AuxiliaryVersionConfig
178
210
  include Google::Apis::Core::Hashable
@@ -587,7 +619,7 @@ module Google
587
619
  end
588
620
 
589
621
  # Configuration information for migrating from self-managed hive metastore on
590
- # GCP using Cloud SQL as the backend database to DPMS.
622
+ # Google Cloud using Cloud SQL as the backend database to Dataproc Metastore.
591
623
  class CloudSqlMigrationConfig
592
624
  include Google::Apis::Core::Hashable
593
625
 
@@ -685,6 +717,38 @@ module Google
685
717
  end
686
718
  end
687
719
 
720
+ # Metadata about a custom region. This is only populated if the region is a
721
+ # custom region. For single/multi regions, it will be empty.
722
+ class CustomRegionMetadata
723
+ include Google::Apis::Core::Hashable
724
+
725
+ # The read-only regions for this custom region.
726
+ # Corresponds to the JSON property `optionalReadOnlyRegions`
727
+ # @return [Array<String>]
728
+ attr_accessor :optional_read_only_regions
729
+
730
+ # The read-write regions for this custom region.
731
+ # Corresponds to the JSON property `requiredReadWriteRegions`
732
+ # @return [Array<String>]
733
+ attr_accessor :required_read_write_regions
734
+
735
+ # The Spanner witness region for this custom region.
736
+ # Corresponds to the JSON property `witnessRegion`
737
+ # @return [String]
738
+ attr_accessor :witness_region
739
+
740
+ def initialize(**args)
741
+ update!(**args)
742
+ end
743
+
744
+ # Update properties of this object
745
+ def update!(**args)
746
+ @optional_read_only_regions = args[:optional_read_only_regions] if args.key?(:optional_read_only_regions)
747
+ @required_read_write_regions = args[:required_read_write_regions] if args.key?(:required_read_write_regions)
748
+ @witness_region = args[:witness_region] if args.key?(:witness_region)
749
+ end
750
+ end
751
+
688
752
  # Specifies how metastore metadata should be integrated with the Data Catalog
689
753
  # service.
690
754
  class DataCatalogConfig
@@ -1176,6 +1240,31 @@ module Google
1176
1240
  end
1177
1241
  end
1178
1242
 
1243
+ # Represents the autoscaling limit configuration of a metastore service.
1244
+ class LimitConfig
1245
+ include Google::Apis::Core::Hashable
1246
+
1247
+ # Optional. The highest scaling factor that the service should be autoscaled to.
1248
+ # Corresponds to the JSON property `maxScalingFactor`
1249
+ # @return [Float]
1250
+ attr_accessor :max_scaling_factor
1251
+
1252
+ # Optional. The lowest scaling factor that the service should be autoscaled to.
1253
+ # Corresponds to the JSON property `minScalingFactor`
1254
+ # @return [Float]
1255
+ attr_accessor :min_scaling_factor
1256
+
1257
+ def initialize(**args)
1258
+ update!(**args)
1259
+ end
1260
+
1261
+ # Update properties of this object
1262
+ def update!(**args)
1263
+ @max_scaling_factor = args[:max_scaling_factor] if args.key?(:max_scaling_factor)
1264
+ @min_scaling_factor = args[:min_scaling_factor] if args.key?(:min_scaling_factor)
1265
+ end
1266
+ end
1267
+
1179
1268
  # Response message for DataprocMetastore.ListBackups.
1180
1269
  class ListBackupsResponse
1181
1270
  include Google::Apis::Core::Hashable
@@ -1437,9 +1526,14 @@ module Google
1437
1526
  class LocationMetadata
1438
1527
  include Google::Apis::Core::Hashable
1439
1528
 
1529
+ # Possible configurations supported if the current region is a custom region.
1530
+ # Corresponds to the JSON property `customRegionMetadata`
1531
+ # @return [Array<Google::Apis::MetastoreV1beta::CustomRegionMetadata>]
1532
+ attr_accessor :custom_region_metadata
1533
+
1440
1534
  # The metadata for the multi-region that includes the constituent regions. The
1441
- # metadata is only populated if the region is multi-region. For single region,
1442
- # it will be empty.
1535
+ # metadata is only populated if the region is multi-region. For single region or
1536
+ # custom dual region, it will be empty.
1443
1537
  # Corresponds to the JSON property `multiRegionMetadata`
1444
1538
  # @return [Google::Apis::MetastoreV1beta::MultiRegionMetadata]
1445
1539
  attr_accessor :multi_region_metadata
@@ -1457,6 +1551,7 @@ module Google
1457
1551
 
1458
1552
  # Update properties of this object
1459
1553
  def update!(**args)
1554
+ @custom_region_metadata = args[:custom_region_metadata] if args.key?(:custom_region_metadata)
1460
1555
  @multi_region_metadata = args[:multi_region_metadata] if args.key?(:multi_region_metadata)
1461
1556
  @supported_hive_metastore_versions = args[:supported_hive_metastore_versions] if args.key?(:supported_hive_metastore_versions)
1462
1557
  end
@@ -1647,7 +1742,7 @@ module Google
1647
1742
  include Google::Apis::Core::Hashable
1648
1743
 
1649
1744
  # Configuration information for migrating from self-managed hive metastore on
1650
- # GCP using Cloud SQL as the backend database to DPMS.
1745
+ # Google Cloud using Cloud SQL as the backend database to Dataproc Metastore.
1651
1746
  # Corresponds to the JSON property `cloudSqlMigrationConfig`
1652
1747
  # @return [Google::Apis::MetastoreV1beta::CloudSqlMigrationConfig]
1653
1748
  attr_accessor :cloud_sql_migration_config
@@ -1746,8 +1841,8 @@ module Google
1746
1841
  end
1747
1842
 
1748
1843
  # The metadata for the multi-region that includes the constituent regions. The
1749
- # metadata is only populated if the region is multi-region. For single region,
1750
- # it will be empty.
1844
+ # metadata is only populated if the region is multi-region. For single region or
1845
+ # custom dual region, it will be empty.
1751
1846
  class MultiRegionMetadata
1752
1847
  include Google::Apis::Core::Hashable
1753
1848
 
@@ -2204,6 +2299,11 @@ module Google
2204
2299
  class ScalingConfig
2205
2300
  include Google::Apis::Core::Hashable
2206
2301
 
2302
+ # Represents the autoscaling configuration of a metastore service.
2303
+ # Corresponds to the JSON property `autoscalingConfig`
2304
+ # @return [Google::Apis::MetastoreV1beta::AutoscalingConfig]
2305
+ attr_accessor :autoscaling_config
2306
+
2207
2307
  # An enum of readable instance sizes, with each instance size mapping to a float
2208
2308
  # value (e.g. InstanceSize.EXTRA_SMALL = scaling_factor(0.1))
2209
2309
  # Corresponds to the JSON property `instanceSize`
@@ -2222,6 +2322,7 @@ module Google
2222
2322
 
2223
2323
  # Update properties of this object
2224
2324
  def update!(**args)
2325
+ @autoscaling_config = args[:autoscaling_config] if args.key?(:autoscaling_config)
2225
2326
  @instance_size = args[:instance_size] if args.key?(:instance_size)
2226
2327
  @scaling_factor = args[:scaling_factor] if args.key?(:scaling_factor)
2227
2328
  end
@@ -2325,6 +2426,13 @@ module Google
2325
2426
  # @return [String]
2326
2427
  attr_accessor :database_type
2327
2428
 
2429
+ # Optional. Indicates if the dataproc metastore should be protected against
2430
+ # accidental deletions.
2431
+ # Corresponds to the JSON property `deletionProtection`
2432
+ # @return [Boolean]
2433
+ attr_accessor :deletion_protection
2434
+ alias_method :deletion_protection?, :deletion_protection
2435
+
2328
2436
  # Encryption settings for the service.
2329
2437
  # Corresponds to the JSON property `encryptionConfig`
2330
2438
  # @return [Google::Apis::MetastoreV1beta::EncryptionConfig]
@@ -2442,6 +2550,7 @@ module Google
2442
2550
  @artifact_gcs_uri = args[:artifact_gcs_uri] if args.key?(:artifact_gcs_uri)
2443
2551
  @create_time = args[:create_time] if args.key?(:create_time)
2444
2552
  @database_type = args[:database_type] if args.key?(:database_type)
2553
+ @deletion_protection = args[:deletion_protection] if args.key?(:deletion_protection)
2445
2554
  @encryption_config = args[:encryption_config] if args.key?(:encryption_config)
2446
2555
  @endpoint_uri = args[:endpoint_uri] if args.key?(:endpoint_uri)
2447
2556
  @hive_metastore_config = args[:hive_metastore_config] if args.key?(:hive_metastore_config)
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module MetastoreV1beta
18
18
  # Version of the google-apis-metastore_v1beta gem
19
- GEM_VERSION = "0.61.0"
19
+ GEM_VERSION = "0.63.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.14.0"
22
+ GENERATOR_VERSION = "0.15.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240325"
25
+ REVISION = "20240510"
26
26
  end
27
27
  end
28
28
  end
@@ -52,6 +52,12 @@ module Google
52
52
  include Google::Apis::Core::JsonObjectSupport
53
53
  end
54
54
 
55
+ class AutoscalingConfig
56
+ class Representation < Google::Apis::Core::JsonRepresentation; end
57
+
58
+ include Google::Apis::Core::JsonObjectSupport
59
+ end
60
+
55
61
  class AuxiliaryVersionConfig
56
62
  class Representation < Google::Apis::Core::JsonRepresentation; end
57
63
 
@@ -130,6 +136,12 @@ module Google
130
136
  include Google::Apis::Core::JsonObjectSupport
131
137
  end
132
138
 
139
+ class CustomRegionMetadata
140
+ class Representation < Google::Apis::Core::JsonRepresentation; end
141
+
142
+ include Google::Apis::Core::JsonObjectSupport
143
+ end
144
+
133
145
  class DataCatalogConfig
134
146
  class Representation < Google::Apis::Core::JsonRepresentation; end
135
147
 
@@ -214,6 +226,12 @@ module Google
214
226
  include Google::Apis::Core::JsonObjectSupport
215
227
  end
216
228
 
229
+ class LimitConfig
230
+ class Representation < Google::Apis::Core::JsonRepresentation; end
231
+
232
+ include Google::Apis::Core::JsonObjectSupport
233
+ end
234
+
217
235
  class ListBackupsResponse
218
236
  class Representation < Google::Apis::Core::JsonRepresentation; end
219
237
 
@@ -482,6 +500,16 @@ module Google
482
500
  end
483
501
  end
484
502
 
503
+ class AutoscalingConfig
504
+ # @private
505
+ class Representation < Google::Apis::Core::JsonRepresentation
506
+ property :autoscaling_enabled, as: 'autoscalingEnabled'
507
+ property :autoscaling_factor, as: 'autoscalingFactor'
508
+ property :limit_config, as: 'limitConfig', class: Google::Apis::MetastoreV1beta::LimitConfig, decorator: Google::Apis::MetastoreV1beta::LimitConfig::Representation
509
+
510
+ end
511
+ end
512
+
485
513
  class AuxiliaryVersionConfig
486
514
  # @private
487
515
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -602,6 +630,15 @@ module Google
602
630
  end
603
631
  end
604
632
 
633
+ class CustomRegionMetadata
634
+ # @private
635
+ class Representation < Google::Apis::Core::JsonRepresentation
636
+ collection :optional_read_only_regions, as: 'optionalReadOnlyRegions'
637
+ collection :required_read_write_regions, as: 'requiredReadWriteRegions'
638
+ property :witness_region, as: 'witnessRegion'
639
+ end
640
+ end
641
+
605
642
  class DataCatalogConfig
606
643
  # @private
607
644
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -731,6 +768,14 @@ module Google
731
768
  end
732
769
  end
733
770
 
771
+ class LimitConfig
772
+ # @private
773
+ class Representation < Google::Apis::Core::JsonRepresentation
774
+ property :max_scaling_factor, as: 'maxScalingFactor'
775
+ property :min_scaling_factor, as: 'minScalingFactor'
776
+ end
777
+ end
778
+
734
779
  class ListBackupsResponse
735
780
  # @private
736
781
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -813,6 +858,8 @@ module Google
813
858
  class LocationMetadata
814
859
  # @private
815
860
  class Representation < Google::Apis::Core::JsonRepresentation
861
+ collection :custom_region_metadata, as: 'customRegionMetadata', class: Google::Apis::MetastoreV1beta::CustomRegionMetadata, decorator: Google::Apis::MetastoreV1beta::CustomRegionMetadata::Representation
862
+
816
863
  property :multi_region_metadata, as: 'multiRegionMetadata', class: Google::Apis::MetastoreV1beta::MultiRegionMetadata, decorator: Google::Apis::MetastoreV1beta::MultiRegionMetadata::Representation
817
864
 
818
865
  collection :supported_hive_metastore_versions, as: 'supportedHiveMetastoreVersions', class: Google::Apis::MetastoreV1beta::HiveMetastoreVersion, decorator: Google::Apis::MetastoreV1beta::HiveMetastoreVersion::Representation
@@ -1009,6 +1056,8 @@ module Google
1009
1056
  class ScalingConfig
1010
1057
  # @private
1011
1058
  class Representation < Google::Apis::Core::JsonRepresentation
1059
+ property :autoscaling_config, as: 'autoscalingConfig', class: Google::Apis::MetastoreV1beta::AutoscalingConfig, decorator: Google::Apis::MetastoreV1beta::AutoscalingConfig::Representation
1060
+
1012
1061
  property :instance_size, as: 'instanceSize'
1013
1062
  property :scaling_factor, as: 'scalingFactor'
1014
1063
  end
@@ -1040,6 +1089,7 @@ module Google
1040
1089
  property :artifact_gcs_uri, as: 'artifactGcsUri'
1041
1090
  property :create_time, as: 'createTime'
1042
1091
  property :database_type, as: 'databaseType'
1092
+ property :deletion_protection, as: 'deletionProtection'
1043
1093
  property :encryption_config, as: 'encryptionConfig', class: Google::Apis::MetastoreV1beta::EncryptionConfig, decorator: Google::Apis::MetastoreV1beta::EncryptionConfig::Representation
1044
1094
 
1045
1095
  property :endpoint_uri, as: 'endpointUri'
@@ -1103,7 +1103,7 @@ module Google
1103
1103
  execute_or_queue_command(command, &block)
1104
1104
  end
1105
1105
 
1106
- # Query DPMS metadata.
1106
+ # Query Dataproc Metastore metadata.
1107
1107
  # @param [String] service
1108
1108
  # Required. The relative resource name of the metastore service to query
1109
1109
  # metadata, in the following format:projects/`project_id`/locations/`location_id`
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-metastore_v1beta
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.61.0
4
+ version: 0.63.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-03-31 00:00:00.000000000 Z
11
+ date: 2024-05-26 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.14.0
19
+ version: 0.15.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.14.0
29
+ version: 0.15.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-metastore_v1beta/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-metastore_v1beta/v0.61.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-metastore_v1beta/v0.63.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-metastore_v1beta
63
63
  post_install_message:
64
64
  rdoc_options: []