google-apis-metastore_v1alpha 0.63.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: 60148d2f22fae0e6884617bba0142050658b35f4fb462f3a9ca2da27d729a936
4
- data.tar.gz: 4bcb29216546cbc7c88e6a2aacd13bf40822489bdbd090515ad636d0cd209f05
3
+ metadata.gz: b8d28f997356a51fbdff5ea159626f1f16e01f07575dcc467e0bc2343c1db9d3
4
+ data.tar.gz: c5468ccce45070509ce74253854bf0134cc63c11a3e7ab6449ad09444591598c
5
5
  SHA512:
6
- metadata.gz: 82894d0725a94264a517d34d3bb3cf84d7d88a38e30fc8bf0bfb7015d97fc8b0b48cd95dab668c4b2bae6076f068e5e37c978a3c4dd75c7506e0520fd8313ac1
7
- data.tar.gz: 833c4e45dc55c69a062674d770ebcd6ca5667bafb2775a9d8aaf70acfffd63f340e02989e386ca3722a260e091fd8360cd28310c5cad8e88fef9cb4ae20db992
6
+ metadata.gz: 8cd3a13a367a988d91027cbf47f5a15377aab3a09e7060cc85d3ade60f8924e392d7f6f6e0fe4fd87bd70e2504815085525289df1d37e9f45fb9e90c43eaa97c
7
+ data.tar.gz: dffeb0b65219aeb52335af2b0772ea6d8b65d4462b43c3e9ef319d342a31905ebad0199e1c78cacd4adcabe07c59fa06507b0512140c8612d933999dd4c2ac88
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-metastore_v1alpha
2
2
 
3
+ ### v0.65.0 (2024-12-08)
4
+
5
+ * Regenerated from discovery document revision 20241203
6
+ * Regenerated using generator version 0.15.1
7
+
8
+ ### v0.64.0 (2024-07-25)
9
+
10
+ * Regenerated from discovery document revision 20240709
11
+
3
12
  ### v0.63.0 (2024-06-16)
4
13
 
5
14
  * 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::MetastoreV1alpha::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::MetastoreV1alpha::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::MetastoreV1alpha::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.
@@ -1933,9 +2026,9 @@ module Google
1933
2026
  attr_accessor :end_time
1934
2027
 
1935
2028
  # Output only. Identifies whether the caller has requested cancellation of the
1936
- # operation. Operations that have successfully been cancelled have Operation.
1937
- # error value with a google.rpc.Status.code of 1, corresponding to Code.
1938
- # CANCELLED.
2029
+ # operation. Operations that have successfully been cancelled have google.
2030
+ # longrunning.Operation.error value with a google.rpc.Status.code of 1,
2031
+ # corresponding to Code.CANCELLED.
1939
2032
  # Corresponds to the JSON property `requestedCancellation`
1940
2033
  # @return [Boolean]
1941
2034
  attr_accessor :requested_cancellation
@@ -2207,7 +2300,7 @@ module Google
2207
2300
  end
2208
2301
  end
2209
2302
 
2210
- # Request message for DataprocMetastore.Restore.
2303
+ # Request message for DataprocMetastore.RestoreService.
2211
2304
  class RestoreServiceRequest
2212
2305
  include Google::Apis::Core::Hashable
2213
2306
 
@@ -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::MetastoreV1alpha::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::MetastoreV1alpha::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 MetastoreV1alpha
18
18
  # Version of the google-apis-metastore_v1alpha gem
19
- GEM_VERSION = "0.63.0"
19
+ GEM_VERSION = "0.65.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.15.0"
22
+ GENERATOR_VERSION = "0.15.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240611"
25
+ REVISION = "20241203"
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::MetastoreV1alpha::CustomRegionMetadata, decorator: Google::Apis::MetastoreV1alpha::CustomRegionMetadata::Representation
888
+
846
889
  property :multi_region_metadata, as: 'multiRegionMetadata', class: Google::Apis::MetastoreV1alpha::MultiRegionMetadata, decorator: Google::Apis::MetastoreV1alpha::MultiRegionMetadata::Representation
847
890
 
848
891
  collection :supported_hive_metastore_versions, as: 'supportedHiveMetastoreVersions', class: Google::Apis::MetastoreV1alpha::HiveMetastoreVersion, decorator: Google::Apis::MetastoreV1alpha::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::MetastoreV1alpha::RootCaCertificate, decorator: Google::Apis::MetastoreV1alpha::RootCaCertificate::Representation
982
+
983
+ property :custom_region_config, as: 'customRegionConfig', class: Google::Apis::MetastoreV1alpha::CustomRegionConfig, decorator: Google::Apis::MetastoreV1alpha::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::MetastoreV1alpha::MetadataManagementActivity, decorator: Google::Apis::MetastoreV1alpha::MetadataManagementActivity::Representation
1087
1148
 
1149
+ property :multi_region_config, as: 'multiRegionConfig', class: Google::Apis::MetastoreV1alpha::MultiRegionConfig, decorator: Google::Apis::MetastoreV1alpha::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::MetastoreV1alpha::NetworkConfig, decorator: Google::Apis::MetastoreV1alpha::NetworkConfig::Representation
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-metastore_v1alpha
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.63.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-12-08 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_v1alpha/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-metastore_v1alpha/v0.63.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-metastore_v1alpha/v0.65.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-metastore_v1alpha
63
63
  post_install_message:
64
64
  rdoc_options: []
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.5.6
78
+ rubygems_version: 3.5.23
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Dataproc Metastore API V1alpha