google-cloud-metastore-v1beta 0.5.0 → 0.7.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.
Files changed (27) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +2 -2
  3. data/lib/google/cloud/metastore/v1beta/bindings_override.rb +231 -0
  4. data/lib/google/cloud/metastore/v1beta/dataproc_metastore/client.rb +2 -2
  5. data/lib/google/cloud/metastore/v1beta/dataproc_metastore/operations.rb +2 -2
  6. data/lib/google/cloud/metastore/v1beta/dataproc_metastore/rest/client.rb +2008 -0
  7. data/lib/google/cloud/metastore/v1beta/dataproc_metastore/rest/operations.rb +793 -0
  8. data/lib/google/cloud/metastore/v1beta/dataproc_metastore/rest/service_stub.rb +1180 -0
  9. data/lib/google/cloud/metastore/v1beta/dataproc_metastore/rest.rb +70 -0
  10. data/lib/google/cloud/metastore/v1beta/dataproc_metastore.rb +6 -0
  11. data/lib/google/cloud/metastore/v1beta/dataproc_metastore_federation/client.rb +2 -2
  12. data/lib/google/cloud/metastore/v1beta/dataproc_metastore_federation/operations.rb +2 -2
  13. data/lib/google/cloud/metastore/v1beta/dataproc_metastore_federation/rest/client.rb +775 -0
  14. data/lib/google/cloud/metastore/v1beta/dataproc_metastore_federation/rest/operations.rb +793 -0
  15. data/lib/google/cloud/metastore/v1beta/dataproc_metastore_federation/rest/service_stub.rb +345 -0
  16. data/lib/google/cloud/metastore/v1beta/dataproc_metastore_federation/rest.rb +66 -0
  17. data/lib/google/cloud/metastore/v1beta/dataproc_metastore_federation.rb +6 -0
  18. data/lib/google/cloud/metastore/v1beta/metastore_federation_pb.rb +3 -0
  19. data/lib/google/cloud/metastore/v1beta/metastore_pb.rb +19 -0
  20. data/lib/google/cloud/metastore/v1beta/rest.rb +39 -0
  21. data/lib/google/cloud/metastore/v1beta/version.rb +1 -1
  22. data/lib/google/cloud/metastore/v1beta.rb +5 -0
  23. data/proto_docs/google/api/client.rb +57 -3
  24. data/proto_docs/google/cloud/metastore/v1beta/metastore.rb +42 -0
  25. data/proto_docs/google/cloud/metastore/v1beta/metastore_federation.rb +5 -4
  26. data/proto_docs/google/type/expr.rb +75 -0
  27. metadata +17 -5
@@ -103,6 +103,9 @@ module Google
103
103
  # @return [::Google::Cloud::Metastore::V1beta::TelemetryConfig]
104
104
  # The configuration specifying telemetry settings for the Dataproc Metastore
105
105
  # service. If unspecified defaults to `JSON`.
106
+ # @!attribute [rw] scaling_config
107
+ # @return [::Google::Cloud::Metastore::V1beta::ScalingConfig]
108
+ # Scaling configuration of the metastore service.
106
109
  class Service
107
110
  include ::Google::Protobuf::MessageExts
108
111
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -405,6 +408,10 @@ module Google
405
408
  # @return [::Array<::Google::Cloud::Metastore::V1beta::NetworkConfig::Consumer>]
406
409
  # Immutable. The consumer-side network configuration for the Dataproc
407
410
  # Metastore instance.
411
+ # @!attribute [rw] custom_routes_enabled
412
+ # @return [::Boolean]
413
+ # Enables custom routes to be imported and exported for the Dataproc
414
+ # Metastore service's peered VPC network.
408
415
  class NetworkConfig
409
416
  include ::Google::Protobuf::MessageExts
410
417
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -690,6 +697,41 @@ module Google
690
697
  end
691
698
  end
692
699
 
700
+ # Represents the scaling configuration of a metastore service.
701
+ # @!attribute [rw] instance_size
702
+ # @return [::Google::Cloud::Metastore::V1beta::ScalingConfig::InstanceSize]
703
+ # An enum of readable instance sizes, with each instance size mapping to a
704
+ # float value (e.g. InstanceSize.EXTRA_SMALL = scaling_factor(0.1))
705
+ # @!attribute [rw] scaling_factor
706
+ # @return [::Float]
707
+ # Scaling factor, increments of 0.1 for values less than 1.0, and
708
+ # increments of 1.0 for values greater than 1.0.
709
+ class ScalingConfig
710
+ include ::Google::Protobuf::MessageExts
711
+ extend ::Google::Protobuf::MessageExts::ClassMethods
712
+
713
+ # Metastore instance sizes.
714
+ module InstanceSize
715
+ # Unspecified instance size
716
+ INSTANCE_SIZE_UNSPECIFIED = 0
717
+
718
+ # Extra small instance size, maps to a scaling factor of 0.1.
719
+ EXTRA_SMALL = 1
720
+
721
+ # Small instance size, maps to a scaling factor of 0.5.
722
+ SMALL = 2
723
+
724
+ # Medium instance size, maps to a scaling factor of 1.0.
725
+ MEDIUM = 3
726
+
727
+ # Large instance size, maps to a scaling factor of 3.0.
728
+ LARGE = 4
729
+
730
+ # Extra large instance size, maps to a scaling factor of 6.0.
731
+ EXTRA_LARGE = 5
732
+ end
733
+ end
734
+
693
735
  # Request message for
694
736
  # {::Google::Cloud::Metastore::V1beta::DataprocMetastore::Client#list_services DataprocMetastore.ListServices}.
695
737
  # @!attribute [rw] parent
@@ -115,12 +115,10 @@ module Google
115
115
  # The formats of the relative resource names for the currently supported
116
116
  # metastores are listed below:
117
117
  #
118
- # * Dataplex
119
- # * `projects/{project_id}/locations/{location}/lakes/{lake_id}`
120
118
  # * BigQuery
121
- # * `projects/{project_id}`
119
+ # * `projects/{project_id}`
122
120
  # * Dataproc Metastore
123
- # * `projects/{project_id}/locations/{location}/services/{service_id}`
121
+ # * `projects/{project_id}/locations/{location}/services/{service_id}`
124
122
  # @!attribute [rw] metastore_type
125
123
  # @return [::Google::Cloud::Metastore::V1beta::BackendMetastore::MetastoreType]
126
124
  # The type of the backend metastore.
@@ -133,6 +131,9 @@ module Google
133
131
  # The metastore type is not set.
134
132
  METASTORE_TYPE_UNSPECIFIED = 0
135
133
 
134
+ # The backend metastore is Dataplex.
135
+ DATAPLEX = 1
136
+
136
137
  # The backend metastore is BigQuery.
137
138
  BIGQUERY = 2
138
139
 
@@ -0,0 +1,75 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2023 Google LLC
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # https://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+
20
+ module Google
21
+ module Type
22
+ # Represents a textual expression in the Common Expression Language (CEL)
23
+ # syntax. CEL is a C-like expression language. The syntax and semantics of CEL
24
+ # are documented at https://github.com/google/cel-spec.
25
+ #
26
+ # Example (Comparison):
27
+ #
28
+ # title: "Summary size limit"
29
+ # description: "Determines if a summary is less than 100 chars"
30
+ # expression: "document.summary.size() < 100"
31
+ #
32
+ # Example (Equality):
33
+ #
34
+ # title: "Requestor is owner"
35
+ # description: "Determines if requestor is the document owner"
36
+ # expression: "document.owner == request.auth.claims.email"
37
+ #
38
+ # Example (Logic):
39
+ #
40
+ # title: "Public documents"
41
+ # description: "Determine whether the document should be publicly visible"
42
+ # expression: "document.type != 'private' && document.type != 'internal'"
43
+ #
44
+ # Example (Data Manipulation):
45
+ #
46
+ # title: "Notification string"
47
+ # description: "Create a notification string with a timestamp."
48
+ # expression: "'New message received at ' + string(document.create_time)"
49
+ #
50
+ # The exact variables and functions that may be referenced within an expression
51
+ # are determined by the service that evaluates it. See the service
52
+ # documentation for additional information.
53
+ # @!attribute [rw] expression
54
+ # @return [::String]
55
+ # Textual representation of an expression in Common Expression Language
56
+ # syntax.
57
+ # @!attribute [rw] title
58
+ # @return [::String]
59
+ # Optional. Title for the expression, i.e. a short string describing
60
+ # its purpose. This can be used e.g. in UIs which allow to enter the
61
+ # expression.
62
+ # @!attribute [rw] description
63
+ # @return [::String]
64
+ # Optional. Description of the expression. This is a longer text which
65
+ # describes the expression, e.g. when hovered over it in a UI.
66
+ # @!attribute [rw] location
67
+ # @return [::String]
68
+ # Optional. String indicating the location of the expression for error
69
+ # reporting, e.g. a file name and a position in the file.
70
+ class Expr
71
+ include ::Google::Protobuf::MessageExts
72
+ extend ::Google::Protobuf::MessageExts::ClassMethods
73
+ end
74
+ end
75
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-metastore-v1beta
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.7.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: 2023-02-17 00:00:00.000000000 Z
11
+ date: 2023-04-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.17.1
19
+ version: 0.18.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.17.1
29
+ version: 0.18.0
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -214,20 +214,30 @@ files:
214
214
  - README.md
215
215
  - lib/google-cloud-metastore-v1beta.rb
216
216
  - lib/google/cloud/metastore/v1beta.rb
217
+ - lib/google/cloud/metastore/v1beta/bindings_override.rb
217
218
  - lib/google/cloud/metastore/v1beta/dataproc_metastore.rb
218
219
  - lib/google/cloud/metastore/v1beta/dataproc_metastore/client.rb
219
220
  - lib/google/cloud/metastore/v1beta/dataproc_metastore/credentials.rb
220
221
  - lib/google/cloud/metastore/v1beta/dataproc_metastore/operations.rb
221
222
  - lib/google/cloud/metastore/v1beta/dataproc_metastore/paths.rb
223
+ - lib/google/cloud/metastore/v1beta/dataproc_metastore/rest.rb
224
+ - lib/google/cloud/metastore/v1beta/dataproc_metastore/rest/client.rb
225
+ - lib/google/cloud/metastore/v1beta/dataproc_metastore/rest/operations.rb
226
+ - lib/google/cloud/metastore/v1beta/dataproc_metastore/rest/service_stub.rb
222
227
  - lib/google/cloud/metastore/v1beta/dataproc_metastore_federation.rb
223
228
  - lib/google/cloud/metastore/v1beta/dataproc_metastore_federation/client.rb
224
229
  - lib/google/cloud/metastore/v1beta/dataproc_metastore_federation/credentials.rb
225
230
  - lib/google/cloud/metastore/v1beta/dataproc_metastore_federation/operations.rb
226
231
  - lib/google/cloud/metastore/v1beta/dataproc_metastore_federation/paths.rb
232
+ - lib/google/cloud/metastore/v1beta/dataproc_metastore_federation/rest.rb
233
+ - lib/google/cloud/metastore/v1beta/dataproc_metastore_federation/rest/client.rb
234
+ - lib/google/cloud/metastore/v1beta/dataproc_metastore_federation/rest/operations.rb
235
+ - lib/google/cloud/metastore/v1beta/dataproc_metastore_federation/rest/service_stub.rb
227
236
  - lib/google/cloud/metastore/v1beta/metastore_federation_pb.rb
228
237
  - lib/google/cloud/metastore/v1beta/metastore_federation_services_pb.rb
229
238
  - lib/google/cloud/metastore/v1beta/metastore_pb.rb
230
239
  - lib/google/cloud/metastore/v1beta/metastore_services_pb.rb
240
+ - lib/google/cloud/metastore/v1beta/rest.rb
231
241
  - lib/google/cloud/metastore/v1beta/version.rb
232
242
  - proto_docs/README.md
233
243
  - proto_docs/google/api/client.rb
@@ -245,6 +255,7 @@ files:
245
255
  - proto_docs/google/protobuf/wrappers.rb
246
256
  - proto_docs/google/rpc/status.rb
247
257
  - proto_docs/google/type/dayofweek.rb
258
+ - proto_docs/google/type/expr.rb
248
259
  homepage: https://github.com/googleapis/google-cloud-ruby
249
260
  licenses:
250
261
  - Apache-2.0
@@ -267,5 +278,6 @@ requirements: []
267
278
  rubygems_version: 3.4.2
268
279
  signing_key:
269
280
  specification_version: 4
270
- summary: API Client library for the Dataproc Metastore V1beta API
281
+ summary: The Dataproc Metastore API is used to manage the lifecycle and configuration
282
+ of metastore services.
271
283
  test_files: []