google-apis-metastore_v1beta 0.62.0 → 0.63.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: a1bdf521e5019ddf097098d07e8dfe5efffc8c71305ac5a96f321007f58735bd
4
- data.tar.gz: 8a73ef14b219b4fa8973ffb95cf706282369710b7bf4c6bac6e97e58cae76146
3
+ metadata.gz: c7d62a1042ecf1876cb439667ae8f2c7452d2d016ca32b887ca3f7f0843d1d84
4
+ data.tar.gz: a7b5526f4df3b3ca5f4a094ef4936bb9b6fe8bb241e68d34ec7c32ba90b32429
5
5
  SHA512:
6
- metadata.gz: dfce8e736288a955c8b60d5694e7ec8dc2c3b395b5ed3f7f26342dd822d09b7ffc3c1941e1190e38dc82d4094254dc47f848e427b120d956de27be4d55a62ebf
7
- data.tar.gz: a6eac5cfe14f2cfd4dfd5230ed281b6c1ef81dc5d75351e8a33445c7b012fb15d99098c24202533d6b16542e9de6cd7dafce89ef29e2b16e16317c9ecc5a9be8
6
+ metadata.gz: 3e28ef1ea1a42b2a4b0a706a344fed9eaec56d53d7963da83e804fc7ab84b34a2791cabc341382753826f607e6b8ece1eee18d1bdda4023b90d76c90b53feca8
7
+ data.tar.gz: 61d91a627189f93aac7a79d6fdab89066bcbc5a8983ab1c9b2261a3f45c3d697aedb179ad0d3bcd2fbed104be703625b62c012ff1e52574b077a7ae23f28a0c5
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
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
+
3
8
  ### v0.62.0 (2024-04-21)
4
9
 
5
10
  * Regenerated from discovery document revision 20240411
@@ -717,6 +717,38 @@ module Google
717
717
  end
718
718
  end
719
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
+
720
752
  # Specifies how metastore metadata should be integrated with the Data Catalog
721
753
  # service.
722
754
  class DataCatalogConfig
@@ -1494,9 +1526,14 @@ module Google
1494
1526
  class LocationMetadata
1495
1527
  include Google::Apis::Core::Hashable
1496
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
+
1497
1534
  # The metadata for the multi-region that includes the constituent regions. The
1498
- # metadata is only populated if the region is multi-region. For single region,
1499
- # 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.
1500
1537
  # Corresponds to the JSON property `multiRegionMetadata`
1501
1538
  # @return [Google::Apis::MetastoreV1beta::MultiRegionMetadata]
1502
1539
  attr_accessor :multi_region_metadata
@@ -1514,6 +1551,7 @@ module Google
1514
1551
 
1515
1552
  # Update properties of this object
1516
1553
  def update!(**args)
1554
+ @custom_region_metadata = args[:custom_region_metadata] if args.key?(:custom_region_metadata)
1517
1555
  @multi_region_metadata = args[:multi_region_metadata] if args.key?(:multi_region_metadata)
1518
1556
  @supported_hive_metastore_versions = args[:supported_hive_metastore_versions] if args.key?(:supported_hive_metastore_versions)
1519
1557
  end
@@ -1803,8 +1841,8 @@ module Google
1803
1841
  end
1804
1842
 
1805
1843
  # The metadata for the multi-region that includes the constituent regions. The
1806
- # metadata is only populated if the region is multi-region. For single region,
1807
- # 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.
1808
1846
  class MultiRegionMetadata
1809
1847
  include Google::Apis::Core::Hashable
1810
1848
 
@@ -2388,6 +2426,13 @@ module Google
2388
2426
  # @return [String]
2389
2427
  attr_accessor :database_type
2390
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
+
2391
2436
  # Encryption settings for the service.
2392
2437
  # Corresponds to the JSON property `encryptionConfig`
2393
2438
  # @return [Google::Apis::MetastoreV1beta::EncryptionConfig]
@@ -2505,6 +2550,7 @@ module Google
2505
2550
  @artifact_gcs_uri = args[:artifact_gcs_uri] if args.key?(:artifact_gcs_uri)
2506
2551
  @create_time = args[:create_time] if args.key?(:create_time)
2507
2552
  @database_type = args[:database_type] if args.key?(:database_type)
2553
+ @deletion_protection = args[:deletion_protection] if args.key?(:deletion_protection)
2508
2554
  @encryption_config = args[:encryption_config] if args.key?(:encryption_config)
2509
2555
  @endpoint_uri = args[:endpoint_uri] if args.key?(:endpoint_uri)
2510
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.62.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 = "20240411"
25
+ REVISION = "20240510"
26
26
  end
27
27
  end
28
28
  end
@@ -136,6 +136,12 @@ module Google
136
136
  include Google::Apis::Core::JsonObjectSupport
137
137
  end
138
138
 
139
+ class CustomRegionMetadata
140
+ class Representation < Google::Apis::Core::JsonRepresentation; end
141
+
142
+ include Google::Apis::Core::JsonObjectSupport
143
+ end
144
+
139
145
  class DataCatalogConfig
140
146
  class Representation < Google::Apis::Core::JsonRepresentation; end
141
147
 
@@ -624,6 +630,15 @@ module Google
624
630
  end
625
631
  end
626
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
+
627
642
  class DataCatalogConfig
628
643
  # @private
629
644
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -843,6 +858,8 @@ module Google
843
858
  class LocationMetadata
844
859
  # @private
845
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
+
846
863
  property :multi_region_metadata, as: 'multiRegionMetadata', class: Google::Apis::MetastoreV1beta::MultiRegionMetadata, decorator: Google::Apis::MetastoreV1beta::MultiRegionMetadata::Representation
847
864
 
848
865
  collection :supported_hive_metastore_versions, as: 'supportedHiveMetastoreVersions', class: Google::Apis::MetastoreV1beta::HiveMetastoreVersion, decorator: Google::Apis::MetastoreV1beta::HiveMetastoreVersion::Representation
@@ -1072,6 +1089,7 @@ module Google
1072
1089
  property :artifact_gcs_uri, as: 'artifactGcsUri'
1073
1090
  property :create_time, as: 'createTime'
1074
1091
  property :database_type, as: 'databaseType'
1092
+ property :deletion_protection, as: 'deletionProtection'
1075
1093
  property :encryption_config, as: 'encryptionConfig', class: Google::Apis::MetastoreV1beta::EncryptionConfig, decorator: Google::Apis::MetastoreV1beta::EncryptionConfig::Representation
1076
1094
 
1077
1095
  property :endpoint_uri, as: 'endpointUri'
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.62.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-04-21 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.62.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: []