google-apis-metastore_v1beta 0.16.0 → 0.20.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: 5514ba1c2430b5302eded8be1c76368eaabf112ab2a2af5966cb0a1bfa0fc6eb
4
- data.tar.gz: c0c40a39da3be2577575674bc6f693440c0853d4d74cedd11d4366480cd14ec4
3
+ metadata.gz: 4707206581639ef789f286e951cf1cfc7fd0aa05a108a7d261c5ec5605d3d6c7
4
+ data.tar.gz: b3eb50467da351fd8c5d0ca0160b6a202366197272f846877042738921ade64d
5
5
  SHA512:
6
- metadata.gz: 1358e984846d71fb3891baa856e0a0bb9805b62e90b8f9c0be983878310db69c8864707f1c07d664a86eb36558e27e490fe4388503c1a47a67542597dd0b30d6
7
- data.tar.gz: f6d6c934936d86c4f8f1a15387cd1cfaf406c6cff84932b14cb132da594e3d51f240c003b16ddd0b7335733e49e428618efb4672ac82477b176cdf94854b2eee
6
+ metadata.gz: e2839bb5446429fc10e0ab825a5d12132d0979524d1359c2115a40507d956d187835b846d0e6c62595d52e16bdaa15d6d889ec40f3c3baaba273a75ecda0663f
7
+ data.tar.gz: 916b6e2be734ea63ede4a90a1313dba9fec3fb75566b59cd04eb41b4a3b8f9d43eea992d28562c5e07202a8fa54ba39842d9555edf52b563e31e14cf3982e1cd
data/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # Release history for google-apis-metastore_v1beta
2
2
 
3
+ ### v0.20.0 (2022-01-10)
4
+
5
+ * Regenerated from discovery document revision 20211230
6
+
7
+ ### v0.19.0 (2021-12-14)
8
+
9
+ * Unspecified changes
10
+
11
+ ### v0.18.0 (2021-11-14)
12
+
13
+ * Regenerated from discovery document revision 20211106
14
+
15
+ ### v0.17.0 (2021-10-24)
16
+
17
+ * Regenerated from discovery document revision 20211018
18
+
3
19
  ### v0.16.0 (2021-09-01)
4
20
 
5
21
  * Regenerated from discovery document revision 20210824
data/OVERVIEW.md CHANGED
@@ -51,7 +51,7 @@ require "google/apis/metastore_v1beta"
51
51
  client = Google::Apis::MetastoreV1beta::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.
@@ -60,8 +60,8 @@ See the class reference docs for information on the methods you can call from a
60
60
 
61
61
  More detailed descriptions of the Google simple REST clients are available in two documents.
62
62
 
63
- * The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/master/docs/usage-guide.md) discusses how to make API calls, how to use the provided data structures, and how to work the various features of the client library, including media upload and download, error handling, retries, pagination, and logging.
64
- * The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/master/docs/auth-guide.md) discusses authentication in the client libraries, including API keys, OAuth 2.0, service accounts, and environment variables.
63
+ * The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/usage-guide.md) discusses how to make API calls, how to use the provided data structures, and how to work the various features of the client library, including media upload and download, error handling, retries, pagination, and logging.
64
+ * The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/auth-guide.md) discusses authentication in the client libraries, including API keys, OAuth 2.0, service accounts, and environment variables.
65
65
 
66
66
  (Note: the above documents are written for the simple REST clients in general, and their examples may not reflect the Metastore service in particular.)
67
67
 
@@ -150,7 +150,7 @@ module Google
150
150
  end
151
151
  end
152
152
 
153
- # Associates members with a role.
153
+ # Associates members, or principals, with a role.
154
154
  class Binding
155
155
  include Google::Apis::Core::Hashable
156
156
 
@@ -173,7 +173,7 @@ module Google
173
173
  # @return [Google::Apis::MetastoreV1beta::Expr]
174
174
  attr_accessor :condition
175
175
 
176
- # Specifies the identities requesting access for a Cloud Platform resource.
176
+ # Specifies the principals requesting access for a Cloud Platform resource.
177
177
  # members can have the following values: allUsers: A special identifier that
178
178
  # represents anyone who is on the internet; with or without a Google account.
179
179
  # allAuthenticatedUsers: A special identifier that represents anyone who is
@@ -202,8 +202,8 @@ module Google
202
202
  # @return [Array<String>]
203
203
  attr_accessor :members
204
204
 
205
- # Role that is assigned to members. For example, roles/viewer, roles/editor, or
206
- # roles/owner.
205
+ # Role that is assigned to the list of members, or principals. For example,
206
+ # roles/viewer, roles/editor, or roles/owner.
207
207
  # Corresponds to the JSON property `role`
208
208
  # @return [String]
209
209
  attr_accessor :role
@@ -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::MetastoreV1beta::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
@@ -1074,16 +1126,16 @@ module Google
1074
1126
 
1075
1127
  # An Identity and Access Management (IAM) policy, which specifies access
1076
1128
  # controls for Google Cloud resources.A Policy is a collection of bindings. A
1077
- # binding binds one or more members to a single role. Members can be user
1078
- # accounts, service accounts, Google groups, and domains (such as G Suite). A
1079
- # role is a named list of permissions; each role can be an IAM predefined role
1080
- # or a user-created custom role.For some types of Google Cloud resources, a
1081
- # binding can also specify a condition, which is a logical expression that
1082
- # allows access to a resource only if the expression evaluates to true. A
1083
- # condition can add constraints based on attributes of the request, the resource,
1084
- # or both. To learn which resources support conditions in their IAM policies,
1085
- # see the IAM documentation (https://cloud.google.com/iam/help/conditions/
1086
- # resource-policies).JSON example: ` "bindings": [ ` "role": "roles/
1129
+ # binding binds one or more members, or principals, to a single role. Principals
1130
+ # can be user accounts, service accounts, Google groups, and domains (such as G
1131
+ # Suite). A role is a named list of permissions; each role can be an IAM
1132
+ # predefined role or a user-created custom role.For some types of Google Cloud
1133
+ # resources, a binding can also specify a condition, which is a logical
1134
+ # expression that allows access to a resource only if the expression evaluates
1135
+ # to true. A condition can add constraints based on attributes of the request,
1136
+ # the resource, or both. To learn which resources support conditions in their
1137
+ # IAM policies, see the IAM documentation (https://cloud.google.com/iam/help/
1138
+ # conditions/resource-policies).JSON example: ` "bindings": [ ` "role": "roles/
1087
1139
  # resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "
1088
1140
  # group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@
1089
1141
  # appspot.gserviceaccount.com" ] `, ` "role": "roles/resourcemanager.
@@ -1107,9 +1159,14 @@ module Google
1107
1159
  # @return [Array<Google::Apis::MetastoreV1beta::AuditConfig>]
1108
1160
  attr_accessor :audit_configs
1109
1161
 
1110
- # Associates a list of members to a role. Optionally, may specify a condition
1111
- # that determines how and when the bindings are applied. Each of the bindings
1112
- # must contain at least one member.
1162
+ # Associates a list of members, or principals, with a role. Optionally, may
1163
+ # specify a condition that determines how and when the bindings are applied.
1164
+ # Each of the bindings must contain at least one principal.The bindings in a
1165
+ # Policy can refer to up to 1,500 principals; up to 250 of these principals can
1166
+ # be Google groups. Each occurrence of a principal counts towards these limits.
1167
+ # For example, if the bindings grant 50 different roles to user:alice@example.
1168
+ # com, and not to any other principal, then you can add another 1,450 principals
1169
+ # to the bindings in the Policy.
1113
1170
  # Corresponds to the JSON property `bindings`
1114
1171
  # @return [Array<Google::Apis::MetastoreV1beta::Binding>]
1115
1172
  attr_accessor :bindings
@@ -1338,6 +1395,11 @@ module Google
1338
1395
  # @return [String]
1339
1396
  attr_accessor :network
1340
1397
 
1398
+ # Network configuration for the Dataproc Metastore service.
1399
+ # Corresponds to the JSON property `networkConfig`
1400
+ # @return [Google::Apis::MetastoreV1beta::NetworkConfig]
1401
+ attr_accessor :network_config
1402
+
1341
1403
  # The TCP port at which the metastore service is reached. Default: 9083.
1342
1404
  # Corresponds to the JSON property `port`
1343
1405
  # @return [Fixnum]
@@ -1392,6 +1454,7 @@ module Google
1392
1454
  @metadata_management_activity = args[:metadata_management_activity] if args.key?(:metadata_management_activity)
1393
1455
  @name = args[:name] if args.key?(:name)
1394
1456
  @network = args[:network] if args.key?(:network)
1457
+ @network_config = args[:network_config] if args.key?(:network_config)
1395
1458
  @port = args[:port] if args.key?(:port)
1396
1459
  @release_channel = args[:release_channel] if args.key?(:release_channel)
1397
1460
  @state = args[:state] if args.key?(:state)
@@ -1408,16 +1471,16 @@ module Google
1408
1471
 
1409
1472
  # An Identity and Access Management (IAM) policy, which specifies access
1410
1473
  # controls for Google Cloud resources.A Policy is a collection of bindings. A
1411
- # binding binds one or more members to a single role. Members can be user
1412
- # accounts, service accounts, Google groups, and domains (such as G Suite). A
1413
- # role is a named list of permissions; each role can be an IAM predefined role
1414
- # or a user-created custom role.For some types of Google Cloud resources, a
1415
- # binding can also specify a condition, which is a logical expression that
1416
- # allows access to a resource only if the expression evaluates to true. A
1417
- # condition can add constraints based on attributes of the request, the resource,
1418
- # or both. To learn which resources support conditions in their IAM policies,
1419
- # see the IAM documentation (https://cloud.google.com/iam/help/conditions/
1420
- # resource-policies).JSON example: ` "bindings": [ ` "role": "roles/
1474
+ # binding binds one or more members, or principals, to a single role. Principals
1475
+ # can be user accounts, service accounts, Google groups, and domains (such as G
1476
+ # Suite). A role is a named list of permissions; each role can be an IAM
1477
+ # predefined role or a user-created custom role.For some types of Google Cloud
1478
+ # resources, a binding can also specify a condition, which is a logical
1479
+ # expression that allows access to a resource only if the expression evaluates
1480
+ # to true. A condition can add constraints based on attributes of the request,
1481
+ # the resource, or both. To learn which resources support conditions in their
1482
+ # IAM policies, see the IAM documentation (https://cloud.google.com/iam/help/
1483
+ # conditions/resource-policies).JSON example: ` "bindings": [ ` "role": "roles/
1421
1484
  # resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "
1422
1485
  # group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@
1423
1486
  # appspot.gserviceaccount.com" ] `, ` "role": "roles/resourcemanager.
@@ -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.16.0"
19
+ GEM_VERSION = "0.20.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.4.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210824"
25
+ REVISION = "20211230"
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::MetastoreV1beta::Consumer, decorator: Google::Apis::MetastoreV1beta::Consumer::Representation
531
+
532
+ end
533
+ end
534
+
507
535
  class Operation
508
536
  # @private
509
537
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -588,6 +616,8 @@ module Google
588
616
 
589
617
  property :name, as: 'name'
590
618
  property :network, as: 'network'
619
+ property :network_config, as: 'networkConfig', class: Google::Apis::MetastoreV1beta::NetworkConfig, decorator: Google::Apis::MetastoreV1beta::NetworkConfig::Representation
620
+
591
621
  property :port, as: 'port'
592
622
  property :release_channel, as: 'releaseChannel'
593
623
  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
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.16.0
4
+ version: 0.20.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-09-06 00:00:00.000000000 Z
11
+ date: 2022-01-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -57,9 +57,9 @@ licenses:
57
57
  - Apache-2.0
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
- changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-metastore_v1beta/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-metastore_v1beta/v0.16.0
62
- source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-metastore_v1beta
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.20.0
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: []
65
65
  require_paths:
@@ -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 V1beta