google-apis-metastore_v1alpha 0.17.0 → 0.21.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: 3d0295fc1341421eb51142fff394831ddcc6df885c22cb389e6916174aa5ded0
4
- data.tar.gz: c021a8776e9099b6d004f6f4ba8e122c3308a6cd142830c3f27177c1268bd6d3
3
+ metadata.gz: 3e3ddf38f88671f5d1ff449c91054067eff08b839de57266f8e58c4504d27741
4
+ data.tar.gz: da5fb94b89b57280d9d4bf07d9f28898e5ec4adf0fb04df7d3c761b14f55cc5d
5
5
  SHA512:
6
- metadata.gz: 7b2d7159d584b7c83720052cc410bb8a2040a85f26e6dba7658cd6a2f4190e4dbc9fca9b3d8b10b5042ffb291770eae12e270c710dda3d5a418ac8d358f985a5
7
- data.tar.gz: a431acb9b1ce3e986e403e87e3e1836a3aae1c2ce4c8d71f2d2c67802c7d520e4be4307b972449264dff2797ebe9d7f7854ab2448fe40a6bcd1d18cd3c868b89
6
+ metadata.gz: 5e8a5e5343cd2494b057f33a3439888f5cd738a42bb5f824766dedd9ac9508bf71396133cbee59fd6f0bf72691f790f0df10f97c7641a3ca5782beddeb8fbcb3
7
+ data.tar.gz: 3004ae67964dafcc560bb73505db5a02261531a81459659afe3430afb24d2002d7a14768f0990848c4a2113b17d715f4cbde46f939039037b22c1c010868a468
data/CHANGELOG.md CHANGED
@@ -1,5 +1,22 @@
1
1
  # Release history for google-apis-metastore_v1alpha
2
2
 
3
+ ### v0.21.0 (2022-01-19)
4
+
5
+ * Regenerated from discovery document revision 20220112
6
+ * Regenerated using generator version 0.4.1
7
+
8
+ ### v0.20.0 (2022-01-10)
9
+
10
+ * Regenerated from discovery document revision 20211230
11
+
12
+ ### v0.19.0 (2021-12-14)
13
+
14
+ * Unspecified changes
15
+
16
+ ### v0.18.0 (2021-11-14)
17
+
18
+ * Regenerated from discovery document revision 20211106
19
+
3
20
  ### v0.17.0 (2021-10-24)
4
21
 
5
22
  * Regenerated from discovery document revision 20211018
data/OVERVIEW.md CHANGED
@@ -51,7 +51,7 @@ require "google/apis/metastore_v1alpha"
51
51
  client = Google::Apis::MetastoreV1alpha::DataprocMetastoreService.new
52
52
 
53
53
  # Authenticate calls
54
- client.authentication = # ... use the googleauth gem to create credentials
54
+ client.authorization = # ... use the googleauth gem to create credentials
55
55
  ```
56
56
 
57
57
  See the class reference docs for information on the methods you can call from a client.
@@ -220,6 +220,36 @@ module Google
220
220
  end
221
221
  end
222
222
 
223
+ # Contains information of the customer's network configurations.
224
+ class Consumer
225
+ include Google::Apis::Core::Hashable
226
+
227
+ # Output only. The URI of the endpoint used to access the metastore service.
228
+ # Corresponds to the JSON property `endpointUri`
229
+ # @return [String]
230
+ attr_accessor :endpoint_uri
231
+
232
+ # The subnetwork of the customer project from which an IP address is reserved
233
+ # and used as the Dataproc Metastore service's endpoint. It is accessible to
234
+ # hosts in the subnet and to all hosts in a subnet in the same region and same
235
+ # network. There must be at least one IP address available in the subnet's
236
+ # primary range. The subnet is specified in the following form:`projects/`
237
+ # project_number`/regions/`region_id`/subnetworks/`subnetwork_id`
238
+ # Corresponds to the JSON property `subnetwork`
239
+ # @return [String]
240
+ attr_accessor :subnetwork
241
+
242
+ def initialize(**args)
243
+ update!(**args)
244
+ end
245
+
246
+ # Update properties of this object
247
+ def update!(**args)
248
+ @endpoint_uri = args[:endpoint_uri] if args.key?(:endpoint_uri)
249
+ @subnetwork = args[:subnetwork] if args.key?(:subnetwork)
250
+ end
251
+ end
252
+
223
253
  # Specifies how metastore metadata should be integrated with the Data Catalog
224
254
  # service.
225
255
  class DataCatalogConfig
@@ -441,7 +471,9 @@ module Google
441
471
 
442
472
  # A mapping of Hive metastore configuration key-value pairs to apply to the Hive
443
473
  # metastore (configured in hive-site.xml). The mappings override system defaults
444
- # (some keys cannot be overridden).
474
+ # (some keys cannot be overridden). These overrides are also applied to
475
+ # auxiliary versions and can be further customized in the auxiliary version's
476
+ # AuxiliaryVersionConfig.
445
477
  # Corresponds to the JSON property `configOverrides`
446
478
  # @return [Hash<String,String>]
447
479
  attr_accessor :config_overrides
@@ -951,6 +983,26 @@ module Google
951
983
  end
952
984
  end
953
985
 
986
+ # Network configuration for the Dataproc Metastore service.
987
+ class NetworkConfig
988
+ include Google::Apis::Core::Hashable
989
+
990
+ # Immutable. The consumer-side network configuration for the Dataproc Metastore
991
+ # instance.
992
+ # Corresponds to the JSON property `consumers`
993
+ # @return [Array<Google::Apis::MetastoreV1alpha::Consumer>]
994
+ attr_accessor :consumers
995
+
996
+ def initialize(**args)
997
+ update!(**args)
998
+ end
999
+
1000
+ # Update properties of this object
1001
+ def update!(**args)
1002
+ @consumers = args[:consumers] if args.key?(:consumers)
1003
+ end
1004
+ end
1005
+
954
1006
  # This resource represents a long-running operation that is the result of a
955
1007
  # network API call.
956
1008
  class Operation
@@ -1293,6 +1345,11 @@ module Google
1293
1345
  # @return [String]
1294
1346
  attr_accessor :create_time
1295
1347
 
1348
+ # Immutable. The database type that the Metastore service stores its data.
1349
+ # Corresponds to the JSON property `databaseType`
1350
+ # @return [String]
1351
+ attr_accessor :database_type
1352
+
1296
1353
  # Encryption settings for the service.
1297
1354
  # Corresponds to the JSON property `encryptionConfig`
1298
1355
  # @return [Google::Apis::MetastoreV1alpha::EncryptionConfig]
@@ -1343,6 +1400,11 @@ module Google
1343
1400
  # @return [String]
1344
1401
  attr_accessor :network
1345
1402
 
1403
+ # Network configuration for the Dataproc Metastore service.
1404
+ # Corresponds to the JSON property `networkConfig`
1405
+ # @return [Google::Apis::MetastoreV1alpha::NetworkConfig]
1406
+ attr_accessor :network_config
1407
+
1346
1408
  # The TCP port at which the metastore service is reached. Default: 9083.
1347
1409
  # Corresponds to the JSON property `port`
1348
1410
  # @return [Fixnum]
@@ -1388,6 +1450,7 @@ module Google
1388
1450
  def update!(**args)
1389
1451
  @artifact_gcs_uri = args[:artifact_gcs_uri] if args.key?(:artifact_gcs_uri)
1390
1452
  @create_time = args[:create_time] if args.key?(:create_time)
1453
+ @database_type = args[:database_type] if args.key?(:database_type)
1391
1454
  @encryption_config = args[:encryption_config] if args.key?(:encryption_config)
1392
1455
  @endpoint_uri = args[:endpoint_uri] if args.key?(:endpoint_uri)
1393
1456
  @hive_metastore_config = args[:hive_metastore_config] if args.key?(:hive_metastore_config)
@@ -1397,6 +1460,7 @@ module Google
1397
1460
  @metadata_management_activity = args[:metadata_management_activity] if args.key?(:metadata_management_activity)
1398
1461
  @name = args[:name] if args.key?(:name)
1399
1462
  @network = args[:network] if args.key?(:network)
1463
+ @network_config = args[:network_config] if args.key?(:network_config)
1400
1464
  @port = args[:port] if args.key?(:port)
1401
1465
  @release_channel = args[:release_channel] if args.key?(:release_channel)
1402
1466
  @state = args[:state] if args.key?(:state)
@@ -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.17.0"
19
+ GEM_VERSION = "0.21.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.4.0"
22
+ GENERATOR_VERSION = "0.4.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20211018"
25
+ REVISION = "20220112"
26
26
  end
27
27
  end
28
28
  end
@@ -46,6 +46,12 @@ module Google
46
46
  include Google::Apis::Core::JsonObjectSupport
47
47
  end
48
48
 
49
+ class Consumer
50
+ class Representation < Google::Apis::Core::JsonRepresentation; end
51
+
52
+ include Google::Apis::Core::JsonObjectSupport
53
+ end
54
+
49
55
  class DataCatalogConfig
50
56
  class Representation < Google::Apis::Core::JsonRepresentation; end
51
57
 
@@ -184,6 +190,12 @@ module Google
184
190
  include Google::Apis::Core::JsonObjectSupport
185
191
  end
186
192
 
193
+ class NetworkConfig
194
+ class Representation < Google::Apis::Core::JsonRepresentation; end
195
+
196
+ include Google::Apis::Core::JsonObjectSupport
197
+ end
198
+
187
199
  class Operation
188
200
  class Representation < Google::Apis::Core::JsonRepresentation; end
189
201
 
@@ -291,6 +303,14 @@ module Google
291
303
  end
292
304
  end
293
305
 
306
+ class Consumer
307
+ # @private
308
+ class Representation < Google::Apis::Core::JsonRepresentation
309
+ property :endpoint_uri, as: 'endpointUri'
310
+ property :subnetwork, as: 'subnetwork'
311
+ end
312
+ end
313
+
294
314
  class DataCatalogConfig
295
315
  # @private
296
316
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -504,6 +524,14 @@ module Google
504
524
  end
505
525
  end
506
526
 
527
+ class NetworkConfig
528
+ # @private
529
+ class Representation < Google::Apis::Core::JsonRepresentation
530
+ collection :consumers, as: 'consumers', class: Google::Apis::MetastoreV1alpha::Consumer, decorator: Google::Apis::MetastoreV1alpha::Consumer::Representation
531
+
532
+ end
533
+ end
534
+
507
535
  class Operation
508
536
  # @private
509
537
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -574,6 +602,7 @@ module Google
574
602
  class Representation < Google::Apis::Core::JsonRepresentation
575
603
  property :artifact_gcs_uri, as: 'artifactGcsUri'
576
604
  property :create_time, as: 'createTime'
605
+ property :database_type, as: 'databaseType'
577
606
  property :encryption_config, as: 'encryptionConfig', class: Google::Apis::MetastoreV1alpha::EncryptionConfig, decorator: Google::Apis::MetastoreV1alpha::EncryptionConfig::Representation
578
607
 
579
608
  property :endpoint_uri, as: 'endpointUri'
@@ -588,6 +617,8 @@ module Google
588
617
 
589
618
  property :name, as: 'name'
590
619
  property :network, as: 'network'
620
+ property :network_config, as: 'networkConfig', class: Google::Apis::MetastoreV1alpha::NetworkConfig, decorator: Google::Apis::MetastoreV1alpha::NetworkConfig::Representation
621
+
591
622
  property :port, as: 'port'
592
623
  property :release_channel, as: 'releaseChannel'
593
624
  property :state, as: 'state'
@@ -399,12 +399,16 @@ module Google
399
399
  # REQUIRED: The resource for which the policy is being requested. See the
400
400
  # operation documentation for the appropriate value for this field.
401
401
  # @param [Fixnum] options_requested_policy_version
402
- # Optional. The policy format version to be returned.Valid values are 0, 1, and
403
- # 3. Requests specifying an invalid value will be rejected.Requests for policies
404
- # with any conditional bindings must specify version 3. Policies without any
405
- # conditional bindings may specify any valid value or leave the field unset.To
406
- # learn which resources support conditions in their IAM policies, see the IAM
407
- # documentation (https://cloud.google.com/iam/help/conditions/resource-policies).
402
+ # Optional. The maximum policy version that will be used to format the policy.
403
+ # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
404
+ # rejected.Requests for policies with any conditional role bindings must specify
405
+ # version 3. Policies with no conditional role bindings may specify any valid
406
+ # value or leave the field unset.The policy in the response might use the policy
407
+ # version that you specified, or it might use a lower policy version. For
408
+ # example, if you specify version 3, but the policy has no conditional role
409
+ # bindings, the response uses version 1.To learn which resources support
410
+ # conditions in their IAM policies, see the IAM documentation (https://cloud.
411
+ # google.com/iam/help/conditions/resource-policies).
408
412
  # @param [String] fields
409
413
  # Selector specifying which fields to include in a partial response.
410
414
  # @param [String] quota_user
@@ -774,12 +778,16 @@ module Google
774
778
  # REQUIRED: The resource for which the policy is being requested. See the
775
779
  # operation documentation for the appropriate value for this field.
776
780
  # @param [Fixnum] options_requested_policy_version
777
- # Optional. The policy format version to be returned.Valid values are 0, 1, and
778
- # 3. Requests specifying an invalid value will be rejected.Requests for policies
779
- # with any conditional bindings must specify version 3. Policies without any
780
- # conditional bindings may specify any valid value or leave the field unset.To
781
- # learn which resources support conditions in their IAM policies, see the IAM
782
- # documentation (https://cloud.google.com/iam/help/conditions/resource-policies).
781
+ # Optional. The maximum policy version that will be used to format the policy.
782
+ # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
783
+ # rejected.Requests for policies with any conditional role bindings must specify
784
+ # version 3. Policies with no conditional role bindings may specify any valid
785
+ # value or leave the field unset.The policy in the response might use the policy
786
+ # version that you specified, or it might use a lower policy version. For
787
+ # example, if you specify version 3, but the policy has no conditional role
788
+ # bindings, the response uses version 1.To learn which resources support
789
+ # conditions in their IAM policies, see the IAM documentation (https://cloud.
790
+ # google.com/iam/help/conditions/resource-policies).
783
791
  # @param [String] fields
784
792
  # Selector specifying which fields to include in a partial response.
785
793
  # @param [String] quota_user
@@ -939,12 +947,16 @@ module Google
939
947
  # REQUIRED: The resource for which the policy is being requested. See the
940
948
  # operation documentation for the appropriate value for this field.
941
949
  # @param [Fixnum] options_requested_policy_version
942
- # Optional. The policy format version to be returned.Valid values are 0, 1, and
943
- # 3. Requests specifying an invalid value will be rejected.Requests for policies
944
- # with any conditional bindings must specify version 3. Policies without any
945
- # conditional bindings may specify any valid value or leave the field unset.To
946
- # learn which resources support conditions in their IAM policies, see the IAM
947
- # documentation (https://cloud.google.com/iam/help/conditions/resource-policies).
950
+ # Optional. The maximum policy version that will be used to format the policy.
951
+ # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
952
+ # rejected.Requests for policies with any conditional role bindings must specify
953
+ # version 3. Policies with no conditional role bindings may specify any valid
954
+ # value or leave the field unset.The policy in the response might use the policy
955
+ # version that you specified, or it might use a lower policy version. For
956
+ # example, if you specify version 3, but the policy has no conditional role
957
+ # bindings, the response uses version 1.To learn which resources support
958
+ # conditions in their IAM policies, see the IAM documentation (https://cloud.
959
+ # google.com/iam/help/conditions/resource-policies).
948
960
  # @param [String] fields
949
961
  # Selector specifying which fields to include in a partial response.
950
962
  # @param [String] quota_user
@@ -1053,12 +1065,16 @@ module Google
1053
1065
  # REQUIRED: The resource for which the policy is being requested. See the
1054
1066
  # operation documentation for the appropriate value for this field.
1055
1067
  # @param [Fixnum] options_requested_policy_version
1056
- # Optional. The policy format version to be returned.Valid values are 0, 1, and
1057
- # 3. Requests specifying an invalid value will be rejected.Requests for policies
1058
- # with any conditional bindings must specify version 3. Policies without any
1059
- # conditional bindings may specify any valid value or leave the field unset.To
1060
- # learn which resources support conditions in their IAM policies, see the IAM
1061
- # documentation (https://cloud.google.com/iam/help/conditions/resource-policies).
1068
+ # Optional. The maximum policy version that will be used to format the policy.
1069
+ # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
1070
+ # rejected.Requests for policies with any conditional role bindings must specify
1071
+ # version 3. Policies with no conditional role bindings may specify any valid
1072
+ # value or leave the field unset.The policy in the response might use the policy
1073
+ # version that you specified, or it might use a lower policy version. For
1074
+ # example, if you specify version 3, but the policy has no conditional role
1075
+ # bindings, the response uses version 1.To learn which resources support
1076
+ # conditions in their IAM policies, see the IAM documentation (https://cloud.
1077
+ # google.com/iam/help/conditions/resource-policies).
1062
1078
  # @param [String] fields
1063
1079
  # Selector specifying which fields to include in a partial response.
1064
1080
  # @param [String] quota_user
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.17.0
4
+ version: 0.21.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: 2021-10-27 00:00:00.000000000 Z
11
+ date: 2022-01-24 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.17.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-metastore_v1alpha/v0.21.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.2.17
78
+ rubygems_version: 3.3.5
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Dataproc Metastore API V1alpha