google-apis-metastore_v1beta 0.64.0 → 0.65.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: 347f67c14b31fa921485c114d9c6d893d3679831342183ef7fa512cd560eb19f
4
- data.tar.gz: e2b4cfad4ba25e6d5c9894c1ee11b91b5af23b2e177d708e056f9ef82a58d033
3
+ metadata.gz: 2ddaf175fe685101591e8bb0062b075687661677365ffb8ff537e3c2155f035b
4
+ data.tar.gz: 13ce77dddb7a189a971ccf1b1f1db58a64816a8f9ecb47f0653a97ef4e71089e
5
5
  SHA512:
6
- metadata.gz: ab4a3d7402383c9fa932a3b814fd360ce193cdbae38bcdfb2650a56345972bc88f3c6790eb6eb4f5d1c06dc315b3736b855a9f8c73e5966836d02e8300d34916
7
- data.tar.gz: 3e36a3362d5cb20becfb5f2531227dcf67b2e106d526b5f043ac5ef05874ded66e4efe176e4064ba153c941781a6ab1a827f0e0c77d8886749cfb892a8d4d4db
6
+ metadata.gz: b6888b6cea36a7d0a376785d2025215e85b94eaf580211ec35910b8c951117a89772c6bfb94df39a13277cb371273010b69b9e011d6886a35fd3605cb8bf36dc
7
+ data.tar.gz: 17b5d3509e50ae8d33287cf067d54d75ae997a0d604d9bfb41752468b275af8f5b253d0899aec0d6fd42b5f3889101408fed4296f0da3a8adf5a89e6e6612da8
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-metastore_v1beta
2
2
 
3
+ ### v0.65.0 (2024-07-25)
4
+
5
+ * Regenerated from discovery document revision 20240709
6
+
3
7
  ### v0.64.0 (2024-06-16)
4
8
 
5
9
  * Regenerated from discovery document revision 20240611
@@ -717,6 +717,66 @@ module Google
717
717
  end
718
718
  end
719
719
 
720
+ # Custom configuration used to specify regions that the metastore service runs
721
+ # in. Currently only supported in the us multi-region.
722
+ class CustomRegionConfig
723
+ include Google::Apis::Core::Hashable
724
+
725
+ # Optional. The list of read-only regions where the metastore service runs in.
726
+ # These regions should be part (or subset) of the multi-region.
727
+ # Corresponds to the JSON property `readOnlyRegions`
728
+ # @return [Array<String>]
729
+ attr_accessor :read_only_regions
730
+
731
+ # Required. The list of read-write regions where the metastore service runs in.
732
+ # These regions should be part (or subset) of the multi-region.
733
+ # Corresponds to the JSON property `readWriteRegions`
734
+ # @return [Array<String>]
735
+ attr_accessor :read_write_regions
736
+
737
+ def initialize(**args)
738
+ update!(**args)
739
+ end
740
+
741
+ # Update properties of this object
742
+ def update!(**args)
743
+ @read_only_regions = args[:read_only_regions] if args.key?(:read_only_regions)
744
+ @read_write_regions = args[:read_write_regions] if args.key?(:read_write_regions)
745
+ end
746
+ end
747
+
748
+ # Metadata about a custom region. This is only populated if the region is a
749
+ # custom region. For single/multi regions, it will be empty.
750
+ class CustomRegionMetadata
751
+ include Google::Apis::Core::Hashable
752
+
753
+ # The read-only regions for this custom region.
754
+ # Corresponds to the JSON property `optionalReadOnlyRegions`
755
+ # @return [Array<String>]
756
+ attr_accessor :optional_read_only_regions
757
+
758
+ # The read-write regions for this custom region.
759
+ # Corresponds to the JSON property `requiredReadWriteRegions`
760
+ # @return [Array<String>]
761
+ attr_accessor :required_read_write_regions
762
+
763
+ # The Spanner witness region for this custom region.
764
+ # Corresponds to the JSON property `witnessRegion`
765
+ # @return [String]
766
+ attr_accessor :witness_region
767
+
768
+ def initialize(**args)
769
+ update!(**args)
770
+ end
771
+
772
+ # Update properties of this object
773
+ def update!(**args)
774
+ @optional_read_only_regions = args[:optional_read_only_regions] if args.key?(:optional_read_only_regions)
775
+ @required_read_write_regions = args[:required_read_write_regions] if args.key?(:required_read_write_regions)
776
+ @witness_region = args[:witness_region] if args.key?(:witness_region)
777
+ end
778
+ end
779
+
720
780
  # Specifies how metastore metadata should be integrated with the Data Catalog
721
781
  # service.
722
782
  class DataCatalogConfig
@@ -1494,6 +1554,11 @@ module Google
1494
1554
  class LocationMetadata
1495
1555
  include Google::Apis::Core::Hashable
1496
1556
 
1557
+ # Possible configurations supported if the current region is a custom region.
1558
+ # Corresponds to the JSON property `customRegionMetadata`
1559
+ # @return [Array<Google::Apis::MetastoreV1beta::CustomRegionMetadata>]
1560
+ attr_accessor :custom_region_metadata
1561
+
1497
1562
  # The metadata for the multi-region that includes the constituent regions. The
1498
1563
  # metadata is only populated if the region is multi-region. For single region or
1499
1564
  # custom dual region, it will be empty.
@@ -1514,6 +1579,7 @@ module Google
1514
1579
 
1515
1580
  # Update properties of this object
1516
1581
  def update!(**args)
1582
+ @custom_region_metadata = args[:custom_region_metadata] if args.key?(:custom_region_metadata)
1517
1583
  @multi_region_metadata = args[:multi_region_metadata] if args.key?(:multi_region_metadata)
1518
1584
  @supported_hive_metastore_versions = args[:supported_hive_metastore_versions] if args.key?(:supported_hive_metastore_versions)
1519
1585
  end
@@ -1802,6 +1868,33 @@ module Google
1802
1868
  end
1803
1869
  end
1804
1870
 
1871
+ # The multi-region config for the Dataproc Metastore service.
1872
+ class MultiRegionConfig
1873
+ include Google::Apis::Core::Hashable
1874
+
1875
+ # Output only. The list of root CA certificates that a gRPC client uses to
1876
+ # connect to a multi-regional Dataproc Metastore service.
1877
+ # Corresponds to the JSON property `certificates`
1878
+ # @return [Array<Google::Apis::MetastoreV1beta::RootCaCertificate>]
1879
+ attr_accessor :certificates
1880
+
1881
+ # Custom configuration used to specify regions that the metastore service runs
1882
+ # in. Currently only supported in the us multi-region.
1883
+ # Corresponds to the JSON property `customRegionConfig`
1884
+ # @return [Google::Apis::MetastoreV1beta::CustomRegionConfig]
1885
+ attr_accessor :custom_region_config
1886
+
1887
+ def initialize(**args)
1888
+ update!(**args)
1889
+ end
1890
+
1891
+ # Update properties of this object
1892
+ def update!(**args)
1893
+ @certificates = args[:certificates] if args.key?(:certificates)
1894
+ @custom_region_config = args[:custom_region_config] if args.key?(:custom_region_config)
1895
+ end
1896
+ end
1897
+
1805
1898
  # The metadata for the multi-region that includes the constituent regions. The
1806
1899
  # metadata is only populated if the region is multi-region. For single region or
1807
1900
  # custom dual region, it will be empty.
@@ -2257,6 +2350,32 @@ module Google
2257
2350
  end
2258
2351
  end
2259
2352
 
2353
+ # A gRPC client must install all root CA certificates to connect to a multi-
2354
+ # regional Dataproc Metastore service and achieve failover.
2355
+ class RootCaCertificate
2356
+ include Google::Apis::Core::Hashable
2357
+
2358
+ # The root CA certificate in PEM format. The maximum length is 65536 bytes.
2359
+ # Corresponds to the JSON property `certificate`
2360
+ # @return [String]
2361
+ attr_accessor :certificate
2362
+
2363
+ # The certificate expiration time in timestamp format.
2364
+ # Corresponds to the JSON property `expirationTime`
2365
+ # @return [String]
2366
+ attr_accessor :expiration_time
2367
+
2368
+ def initialize(**args)
2369
+ update!(**args)
2370
+ end
2371
+
2372
+ # Update properties of this object
2373
+ def update!(**args)
2374
+ @certificate = args[:certificate] if args.key?(:certificate)
2375
+ @expiration_time = args[:expiration_time] if args.key?(:expiration_time)
2376
+ end
2377
+ end
2378
+
2260
2379
  # Represents the scaling configuration of a metastore service.
2261
2380
  class ScalingConfig
2262
2381
  include Google::Apis::Core::Hashable
@@ -2432,6 +2551,11 @@ module Google
2432
2551
  # @return [Google::Apis::MetastoreV1beta::MetadataManagementActivity]
2433
2552
  attr_accessor :metadata_management_activity
2434
2553
 
2554
+ # The multi-region config for the Dataproc Metastore service.
2555
+ # Corresponds to the JSON property `multiRegionConfig`
2556
+ # @return [Google::Apis::MetastoreV1beta::MultiRegionConfig]
2557
+ attr_accessor :multi_region_config
2558
+
2435
2559
  # Immutable. The relative resource name of the metastore service, in the
2436
2560
  # following format:projects/`project_number`/locations/`location_id`/services/`
2437
2561
  # service_id`.
@@ -2520,6 +2644,7 @@ module Google
2520
2644
  @maintenance_window = args[:maintenance_window] if args.key?(:maintenance_window)
2521
2645
  @metadata_integration = args[:metadata_integration] if args.key?(:metadata_integration)
2522
2646
  @metadata_management_activity = args[:metadata_management_activity] if args.key?(:metadata_management_activity)
2647
+ @multi_region_config = args[:multi_region_config] if args.key?(:multi_region_config)
2523
2648
  @name = args[:name] if args.key?(:name)
2524
2649
  @network = args[:network] if args.key?(:network)
2525
2650
  @network_config = args[:network_config] if args.key?(:network_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.64.0"
19
+ GEM_VERSION = "0.65.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.15.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240611"
25
+ REVISION = "20240709"
26
26
  end
27
27
  end
28
28
  end
@@ -136,6 +136,18 @@ module Google
136
136
  include Google::Apis::Core::JsonObjectSupport
137
137
  end
138
138
 
139
+ class CustomRegionConfig
140
+ class Representation < Google::Apis::Core::JsonRepresentation; end
141
+
142
+ include Google::Apis::Core::JsonObjectSupport
143
+ end
144
+
145
+ class CustomRegionMetadata
146
+ class Representation < Google::Apis::Core::JsonRepresentation; end
147
+
148
+ include Google::Apis::Core::JsonObjectSupport
149
+ end
150
+
139
151
  class DataCatalogConfig
140
152
  class Representation < Google::Apis::Core::JsonRepresentation; end
141
153
 
@@ -328,6 +340,12 @@ module Google
328
340
  include Google::Apis::Core::JsonObjectSupport
329
341
  end
330
342
 
343
+ class MultiRegionConfig
344
+ class Representation < Google::Apis::Core::JsonRepresentation; end
345
+
346
+ include Google::Apis::Core::JsonObjectSupport
347
+ end
348
+
331
349
  class MultiRegionMetadata
332
350
  class Representation < Google::Apis::Core::JsonRepresentation; end
333
351
 
@@ -394,6 +412,12 @@ module Google
394
412
  include Google::Apis::Core::JsonObjectSupport
395
413
  end
396
414
 
415
+ class RootCaCertificate
416
+ class Representation < Google::Apis::Core::JsonRepresentation; end
417
+
418
+ include Google::Apis::Core::JsonObjectSupport
419
+ end
420
+
397
421
  class ScalingConfig
398
422
  class Representation < Google::Apis::Core::JsonRepresentation; end
399
423
 
@@ -624,6 +648,23 @@ module Google
624
648
  end
625
649
  end
626
650
 
651
+ class CustomRegionConfig
652
+ # @private
653
+ class Representation < Google::Apis::Core::JsonRepresentation
654
+ collection :read_only_regions, as: 'readOnlyRegions'
655
+ collection :read_write_regions, as: 'readWriteRegions'
656
+ end
657
+ end
658
+
659
+ class CustomRegionMetadata
660
+ # @private
661
+ class Representation < Google::Apis::Core::JsonRepresentation
662
+ collection :optional_read_only_regions, as: 'optionalReadOnlyRegions'
663
+ collection :required_read_write_regions, as: 'requiredReadWriteRegions'
664
+ property :witness_region, as: 'witnessRegion'
665
+ end
666
+ end
667
+
627
668
  class DataCatalogConfig
628
669
  # @private
629
670
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -843,6 +884,8 @@ module Google
843
884
  class LocationMetadata
844
885
  # @private
845
886
  class Representation < Google::Apis::Core::JsonRepresentation
887
+ collection :custom_region_metadata, as: 'customRegionMetadata', class: Google::Apis::MetastoreV1beta::CustomRegionMetadata, decorator: Google::Apis::MetastoreV1beta::CustomRegionMetadata::Representation
888
+
846
889
  property :multi_region_metadata, as: 'multiRegionMetadata', class: Google::Apis::MetastoreV1beta::MultiRegionMetadata, decorator: Google::Apis::MetastoreV1beta::MultiRegionMetadata::Representation
847
890
 
848
891
  collection :supported_hive_metastore_versions, as: 'supportedHiveMetastoreVersions', class: Google::Apis::MetastoreV1beta::HiveMetastoreVersion, decorator: Google::Apis::MetastoreV1beta::HiveMetastoreVersion::Representation
@@ -932,6 +975,16 @@ module Google
932
975
  end
933
976
  end
934
977
 
978
+ class MultiRegionConfig
979
+ # @private
980
+ class Representation < Google::Apis::Core::JsonRepresentation
981
+ collection :certificates, as: 'certificates', class: Google::Apis::MetastoreV1beta::RootCaCertificate, decorator: Google::Apis::MetastoreV1beta::RootCaCertificate::Representation
982
+
983
+ property :custom_region_config, as: 'customRegionConfig', class: Google::Apis::MetastoreV1beta::CustomRegionConfig, decorator: Google::Apis::MetastoreV1beta::CustomRegionConfig::Representation
984
+
985
+ end
986
+ end
987
+
935
988
  class MultiRegionMetadata
936
989
  # @private
937
990
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1036,6 +1089,14 @@ module Google
1036
1089
  end
1037
1090
  end
1038
1091
 
1092
+ class RootCaCertificate
1093
+ # @private
1094
+ class Representation < Google::Apis::Core::JsonRepresentation
1095
+ property :certificate, as: 'certificate'
1096
+ property :expiration_time, as: 'expirationTime'
1097
+ end
1098
+ end
1099
+
1039
1100
  class ScalingConfig
1040
1101
  # @private
1041
1102
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1085,6 +1146,8 @@ module Google
1085
1146
 
1086
1147
  property :metadata_management_activity, as: 'metadataManagementActivity', class: Google::Apis::MetastoreV1beta::MetadataManagementActivity, decorator: Google::Apis::MetastoreV1beta::MetadataManagementActivity::Representation
1087
1148
 
1149
+ property :multi_region_config, as: 'multiRegionConfig', class: Google::Apis::MetastoreV1beta::MultiRegionConfig, decorator: Google::Apis::MetastoreV1beta::MultiRegionConfig::Representation
1150
+
1088
1151
  property :name, as: 'name'
1089
1152
  property :network, as: 'network'
1090
1153
  property :network_config, as: 'networkConfig', class: Google::Apis::MetastoreV1beta::NetworkConfig, decorator: Google::Apis::MetastoreV1beta::NetworkConfig::Representation
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.64.0
4
+ version: 0.65.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-06-16 00:00:00.000000000 Z
11
+ date: 2024-07-25 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-metastore_v1beta/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-metastore_v1beta/v0.64.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-metastore_v1beta/v0.65.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: []