google-cloud-metastore-v1 0.6.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.
@@ -8,6 +8,7 @@ require 'google/api/client_pb'
8
8
  require 'google/api/field_behavior_pb'
9
9
  require 'google/api/resource_pb'
10
10
  require 'google/longrunning/operations_pb'
11
+ require 'google/protobuf/empty_pb'
11
12
  require 'google/protobuf/field_mask_pb'
12
13
  require 'google/protobuf/timestamp_pb'
13
14
  require 'google/protobuf/wrappers_pb'
@@ -35,6 +36,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
35
36
  optional :network_config, :message, 21, "google.cloud.metastore.v1.NetworkConfig"
36
37
  optional :database_type, :enum, 22, "google.cloud.metastore.v1.Service.DatabaseType"
37
38
  optional :telemetry_config, :message, 23, "google.cloud.metastore.v1.TelemetryConfig"
39
+ optional :scaling_config, :message, 24, "google.cloud.metastore.v1.ScalingConfig"
38
40
  oneof :metastore_config do
39
41
  optional :hive_metastore_config, :message, 5, "google.cloud.metastore.v1.HiveMetastoreConfig"
40
42
  end
@@ -72,6 +74,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
72
74
  optional :version, :string, 1
73
75
  map :config_overrides, :string, :string, 2
74
76
  optional :kerberos_config, :message, 3, "google.cloud.metastore.v1.KerberosConfig"
77
+ map :auxiliary_versions, :string, :message, 5, "google.cloud.metastore.v1.AuxiliaryVersionConfig"
75
78
  end
76
79
  add_message "google.cloud.metastore.v1.KerberosConfig" do
77
80
  optional :keytab, :message, 1, "google.cloud.metastore.v1.Secret"
@@ -86,6 +89,11 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
86
89
  add_message "google.cloud.metastore.v1.EncryptionConfig" do
87
90
  optional :kms_key, :string, 1
88
91
  end
92
+ add_message "google.cloud.metastore.v1.AuxiliaryVersionConfig" do
93
+ optional :version, :string, 1
94
+ map :config_overrides, :string, :string, 2
95
+ optional :network_config, :message, 3, "google.cloud.metastore.v1.NetworkConfig"
96
+ end
89
97
  add_message "google.cloud.metastore.v1.NetworkConfig" do
90
98
  repeated :consumers, :message, 1, "google.cloud.metastore.v1.NetworkConfig.Consumer"
91
99
  end
@@ -187,6 +195,20 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
187
195
  value :FULL, 1
188
196
  value :METADATA_ONLY, 2
189
197
  end
198
+ add_message "google.cloud.metastore.v1.ScalingConfig" do
199
+ oneof :scaling_model do
200
+ optional :instance_size, :enum, 1, "google.cloud.metastore.v1.ScalingConfig.InstanceSize"
201
+ optional :scaling_factor, :float, 2
202
+ end
203
+ end
204
+ add_enum "google.cloud.metastore.v1.ScalingConfig.InstanceSize" do
205
+ value :INSTANCE_SIZE_UNSPECIFIED, 0
206
+ value :EXTRA_SMALL, 1
207
+ value :SMALL, 2
208
+ value :MEDIUM, 3
209
+ value :LARGE, 4
210
+ value :EXTRA_LARGE, 5
211
+ end
190
212
  add_message "google.cloud.metastore.v1.ListServicesRequest" do
191
213
  optional :parent, :string, 1
192
214
  optional :page_size, :int32, 2
@@ -322,6 +344,7 @@ module Google
322
344
  KerberosConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.metastore.v1.KerberosConfig").msgclass
323
345
  Secret = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.metastore.v1.Secret").msgclass
324
346
  EncryptionConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.metastore.v1.EncryptionConfig").msgclass
347
+ AuxiliaryVersionConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.metastore.v1.AuxiliaryVersionConfig").msgclass
325
348
  NetworkConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.metastore.v1.NetworkConfig").msgclass
326
349
  NetworkConfig::Consumer = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.metastore.v1.NetworkConfig.Consumer").msgclass
327
350
  TelemetryConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.metastore.v1.TelemetryConfig").msgclass
@@ -338,6 +361,8 @@ module Google
338
361
  Restore = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.metastore.v1.Restore").msgclass
339
362
  Restore::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.metastore.v1.Restore.State").enummodule
340
363
  Restore::RestoreType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.metastore.v1.Restore.RestoreType").enummodule
364
+ ScalingConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.metastore.v1.ScalingConfig").msgclass
365
+ ScalingConfig::InstanceSize = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.metastore.v1.ScalingConfig.InstanceSize").enummodule
341
366
  ListServicesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.metastore.v1.ListServicesRequest").msgclass
342
367
  ListServicesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.metastore.v1.ListServicesResponse").msgclass
343
368
  GetServiceRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.metastore.v1.GetServiceRequest").msgclass
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module Metastore
23
23
  module V1
24
- VERSION = "0.6.0"
24
+ VERSION = "0.7.0"
25
25
  end
26
26
  end
27
27
  end
@@ -35,7 +35,9 @@ module Google
35
35
  # Details about how and where to publish client libraries.
36
36
  # @!attribute [rw] version
37
37
  # @return [::String]
38
- # Version of the API to apply these settings to.
38
+ # Version of the API to apply these settings to. This is the full protobuf
39
+ # package for the API, ending in the version element.
40
+ # Examples: "google.cloud.speech.v1" and "google.spanner.admin.database.v1".
39
41
  # @!attribute [rw] launch_stage
40
42
  # @return [::Google::Api::LaunchStage]
41
43
  # Launch stage of this version of the API.
@@ -111,6 +113,10 @@ module Google
111
113
  # Client library settings. If the same version string appears multiple
112
114
  # times in this list, then the last one wins. Settings from earlier
113
115
  # settings with the same version string are discarded.
116
+ # @!attribute [rw] proto_reference_documentation_uri
117
+ # @return [::String]
118
+ # Optional link to proto reference documentation. Example:
119
+ # https://cloud.google.com/pubsub/lite/docs/reference/rpc
114
120
  class Publishing
115
121
  include ::Google::Protobuf::MessageExts
116
122
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -203,9 +209,57 @@ module Google
203
209
  # @!attribute [rw] common
204
210
  # @return [::Google::Api::CommonLanguageSettings]
205
211
  # Some settings.
212
+ # @!attribute [rw] renamed_services
213
+ # @return [::Google::Protobuf::Map{::String => ::String}]
214
+ # Map from original service names to renamed versions.
215
+ # This is used when the default generated types
216
+ # would cause a naming conflict. (Neither name is
217
+ # fully-qualified.)
218
+ # Example: Subscriber to SubscriberServiceApi.
219
+ # @!attribute [rw] renamed_resources
220
+ # @return [::Google::Protobuf::Map{::String => ::String}]
221
+ # Map from full resource types to the effective short name
222
+ # for the resource. This is used when otherwise resource
223
+ # named from different services would cause naming collisions.
224
+ # Example entry:
225
+ # "datalabeling.googleapis.com/Dataset": "DataLabelingDataset"
226
+ # @!attribute [rw] ignored_resources
227
+ # @return [::Array<::String>]
228
+ # List of full resource types to ignore during generation.
229
+ # This is typically used for API-specific Location resources,
230
+ # which should be handled by the generator as if they were actually
231
+ # the common Location resources.
232
+ # Example entry: "documentai.googleapis.com/Location"
233
+ # @!attribute [rw] forced_namespace_aliases
234
+ # @return [::Array<::String>]
235
+ # Namespaces which must be aliased in snippets due to
236
+ # a known (but non-generator-predictable) naming collision
237
+ # @!attribute [rw] handwritten_signatures
238
+ # @return [::Array<::String>]
239
+ # Method signatures (in the form "service.method(signature)")
240
+ # which are provided separately, so shouldn't be generated.
241
+ # Snippets *calling* these methods are still generated, however.
206
242
  class DotnetSettings
207
243
  include ::Google::Protobuf::MessageExts
208
244
  extend ::Google::Protobuf::MessageExts::ClassMethods
245
+
246
+ # @!attribute [rw] key
247
+ # @return [::String]
248
+ # @!attribute [rw] value
249
+ # @return [::String]
250
+ class RenamedServicesEntry
251
+ include ::Google::Protobuf::MessageExts
252
+ extend ::Google::Protobuf::MessageExts::ClassMethods
253
+ end
254
+
255
+ # @!attribute [rw] key
256
+ # @return [::String]
257
+ # @!attribute [rw] value
258
+ # @return [::String]
259
+ class RenamedResourcesEntry
260
+ include ::Google::Protobuf::MessageExts
261
+ extend ::Google::Protobuf::MessageExts::ClassMethods
262
+ end
209
263
  end
210
264
 
211
265
  # Settings for Ruby client libraries.
@@ -240,8 +294,8 @@ module Google
240
294
  # Example of a YAML configuration::
241
295
  #
242
296
  # publishing:
243
- # method_behavior:
244
- # - selector: CreateAdDomain
297
+ # method_settings:
298
+ # - selector: google.cloud.speech.v2.Speech.BatchRecognize
245
299
  # long_running:
246
300
  # initial_poll_delay:
247
301
  # seconds: 60 # 1 minute