google-apis-metastore_v1alpha 0.61.0 → 0.62.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: 4d9a45809f463203bea93536dc1b1f6f78c55dc339e015af7d0a96dda1475e4f
4
- data.tar.gz: 735fb726f24979b0a734f90fbb301dbcd8489fdce3d61dd601033df04fabd12d
3
+ metadata.gz: 894bf50e8a2257396358e9a3f3be9dc4e59a6567877cc796f5a05a0e757a0833
4
+ data.tar.gz: b6e19977fc5b11c44b1b755d9b5316f6fcea242dfb8c69825d3384e5e435b31e
5
5
  SHA512:
6
- metadata.gz: 1bbd5a90616e86f203cfe7181e49b4ed4707c6273033bca595451ce84ea8ea80c478284d262156bb008466eebe36291a92b663c565da0698e557d23251f4f132
7
- data.tar.gz: e704ca468764627af82c0b93b588d5d15ab27111d7b7784b577f8acedd4b1d9e0ea4a5a21e57e87ad62fa841c5dc39326a75c349a7d19e2825f974a2ca8e8af7
6
+ metadata.gz: 1d53db64b442829857f316a5507a364578981d51ecd02adda7eca57de3d16a30bc8695d4a26e49564b60549c8796771eadba5445fe4196866e7adea5cf1d808e
7
+ data.tar.gz: 4569931e5c713b52a0c0703eba0736be2122eb0200957955b2d9bbe8bfb668bc771c30371ca99ea1bd45a1cedfb1bd502514918fe87002cf5e1cbb468a184969
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-metastore_v1alpha
2
2
 
3
+ ### v0.62.0 (2024-05-19)
4
+
5
+ * Regenerated from discovery document revision 20240510
6
+ * Regenerated using generator version 0.15.0
7
+
3
8
  ### v0.61.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::MetastoreV1alpha::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::MetastoreV1alpha::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::MetastoreV1alpha::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 MetastoreV1alpha
18
18
  # Version of the google-apis-metastore_v1alpha gem
19
- GEM_VERSION = "0.61.0"
19
+ GEM_VERSION = "0.62.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::MetastoreV1alpha::CustomRegionMetadata, decorator: Google::Apis::MetastoreV1alpha::CustomRegionMetadata::Representation
862
+
846
863
  property :multi_region_metadata, as: 'multiRegionMetadata', class: Google::Apis::MetastoreV1alpha::MultiRegionMetadata, decorator: Google::Apis::MetastoreV1alpha::MultiRegionMetadata::Representation
847
864
 
848
865
  collection :supported_hive_metastore_versions, as: 'supportedHiveMetastoreVersions', class: Google::Apis::MetastoreV1alpha::HiveMetastoreVersion, decorator: Google::Apis::MetastoreV1alpha::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::MetastoreV1alpha::EncryptionConfig, decorator: Google::Apis::MetastoreV1alpha::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_v1alpha
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.61.0
4
+ version: 0.62.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_v1alpha/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-metastore_v1alpha/v0.61.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-metastore_v1alpha/v0.62.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: []