google-cloud-bare_metal_solution-v2 0.3.0 → 0.4.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: 4a1980c72b0342e92cde68a5b7deaeb57deb4ca9d4fb93e428b7f3d4d3a9a32f
4
- data.tar.gz: b08e4096262bbb8c2482aef169b196f56832fb276ea65e08abc54f20637afcb7
3
+ metadata.gz: 3a044ef94aecc09fc18d807d7112af66fe7ff34f19bde43e114e22ecf77b9570
4
+ data.tar.gz: 5c64b187c69dbcc00d5f41640a38a86c288c435499a64d78a96e5532a8342366
5
5
  SHA512:
6
- metadata.gz: 9627ceefe9f7284c35ef713ee13cffe43510f7202158580f94587a0e46479e0c779ac10818e813de310c7491a08c4678294275fea06e99a4a020fbdd1bc4553c
7
- data.tar.gz: 39f85cb4913751613156004628156dec1c6488a5dc1be02f5859c75afed1ec77aa383349876de672b3748e63767682729fa115de374852999b55daa00cb7dc11
6
+ metadata.gz: 7ce0f3e0deb99ca3eb849810bdaa544198ae28c8b525b4bf9231eae77264cfd2df158a04ca86fd83f21c2f69a4bfc7e67ca74548dbf3c3e54b9517c8116a8314
7
+ data.tar.gz: 772ef8ac35fcaa3957b094dea87c6eaf7d463fcbf5b29988d720baeafea3b33c28619e695f825b03b63dfe240e3b69983bcd521b4a99e3dacf8ec0ee3c513a5d
data/README.md CHANGED
@@ -47,7 +47,7 @@ for general usage information.
47
47
 
48
48
  To enable logging for this library, set the logger for the underlying [gRPC](https://github.com/grpc/grpc/tree/master/src/ruby) library.
49
49
  The logger that you set may be a Ruby stdlib [`Logger`](https://ruby-doc.org/current/stdlibs/logger/Logger.html) as shown below,
50
- or a [`Google::Cloud::Logging::Logger`](https://googleapis.dev/ruby/google-cloud-logging/latest)
50
+ or a [`Google::Cloud::Logging::Logger`](https://cloud.google.com/ruby/docs/reference/google-cloud-logging/latest)
51
51
  that will write logs to [Cloud Logging](https://cloud.google.com/logging/). See [grpc/logconfig.rb](https://github.com/grpc/grpc/blob/master/src/ruby/lib/grpc/logconfig.rb)
52
52
  and the gRPC [spec_helper.rb](https://github.com/grpc/grpc/blob/master/src/ruby/spec/spec_helper.rb) for additional information.
53
53
 
@@ -2102,9 +2102,9 @@ module Google
2102
2102
  # * (`String`) The path to a service account key file in JSON format
2103
2103
  # * (`Hash`) A service account key as a Hash
2104
2104
  # * (`Google::Auth::Credentials`) A googleauth credentials object
2105
- # (see the [googleauth docs](https://googleapis.dev/ruby/googleauth/latest/index.html))
2105
+ # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
2106
2106
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
2107
- # (see the [signet docs](https://googleapis.dev/ruby/signet/latest/Signet/OAuth2/Client.html))
2107
+ # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
2108
2108
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
2109
2109
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
2110
2110
  # * (`nil`) indicating no credentials
@@ -620,9 +620,9 @@ module Google
620
620
  # * (`String`) The path to a service account key file in JSON format
621
621
  # * (`Hash`) A service account key as a Hash
622
622
  # * (`Google::Auth::Credentials`) A googleauth credentials object
623
- # (see the [googleauth docs](https://googleapis.dev/ruby/googleauth/latest/index.html))
623
+ # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
624
624
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
625
- # (see the [signet docs](https://googleapis.dev/ruby/signet/latest/Signet/OAuth2/Client.html))
625
+ # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
626
626
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
627
627
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
628
628
  # * (`nil`) indicating no credentials
@@ -1546,9 +1546,9 @@ module Google
1546
1546
  # * (`String`) The path to a service account key file in JSON format
1547
1547
  # * (`Hash`) A service account key as a Hash
1548
1548
  # * (`Google::Auth::Credentials`) A googleauth credentials object
1549
- # (see the [googleauth docs](https://googleapis.dev/ruby/googleauth/latest/index.html))
1549
+ # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
1550
1550
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
1551
- # (see the [signet docs](https://googleapis.dev/ruby/signet/latest/Signet/OAuth2/Client.html))
1551
+ # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
1552
1552
  # * (`nil`) indicating no credentials
1553
1553
  # @return [::Object]
1554
1554
  # @!attribute [rw] scope
@@ -411,9 +411,9 @@ module Google
411
411
  # * (`String`) The path to a service account key file in JSON format
412
412
  # * (`Hash`) A service account key as a Hash
413
413
  # * (`Google::Auth::Credentials`) A googleauth credentials object
414
- # (see the [googleauth docs](https://googleapis.dev/ruby/googleauth/latest/index.html))
414
+ # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
415
415
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
416
- # (see the [signet docs](https://googleapis.dev/ruby/signet/latest/Signet/OAuth2/Client.html))
416
+ # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
417
417
  # * (`nil`) indicating no credentials
418
418
  # @return [::Object]
419
419
  # @!attribute [rw] scope
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module BareMetalSolution
23
23
  module V2
24
- VERSION = "0.3.0"
24
+ VERSION = "0.4.0"
25
25
  end
26
26
  end
27
27
  end
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
3
  # source: google/cloud/baremetalsolution/v2/baremetalsolution.proto
3
4
 
@@ -14,20 +15,32 @@ require 'google/cloud/baremetalsolution/v2/volume_pb'
14
15
  require 'google/longrunning/operations_pb'
15
16
  require 'google/protobuf/timestamp_pb'
16
17
 
17
- Google::Protobuf::DescriptorPool.generated_pool.build do
18
- add_file("google/cloud/baremetalsolution/v2/baremetalsolution.proto", :syntax => :proto3) do
19
- add_message "google.cloud.baremetalsolution.v2.OperationMetadata" do
20
- optional :create_time, :message, 1, "google.protobuf.Timestamp"
21
- optional :end_time, :message, 2, "google.protobuf.Timestamp"
22
- optional :target, :string, 3
23
- optional :verb, :string, 4
24
- optional :status_message, :string, 5
25
- optional :requested_cancellation, :bool, 6
26
- optional :api_version, :string, 7
27
- end
28
- add_message "google.cloud.baremetalsolution.v2.ResetInstanceResponse" do
18
+
19
+ descriptor_data = "\n9google/cloud/baremetalsolution/v2/baremetalsolution.proto\x12!google.cloud.baremetalsolution.v2\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x30google/cloud/baremetalsolution/v2/instance.proto\x1a+google/cloud/baremetalsolution/v2/lun.proto\x1a/google/cloud/baremetalsolution/v2/network.proto\x1a\x31google/cloud/baremetalsolution/v2/nfs_share.proto\x1a.google/cloud/baremetalsolution/v2/volume.proto\x1a#google/longrunning/operations.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\x80\x02\n\x11OperationMetadata\x12\x34\n\x0b\x63reate_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x31\n\x08\x65nd_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x13\n\x06target\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12\x11\n\x04verb\x18\x04 \x01(\tB\x03\xe0\x41\x03\x12\x1b\n\x0estatus_message\x18\x05 \x01(\tB\x03\xe0\x41\x03\x12#\n\x16requested_cancellation\x18\x06 \x01(\x08\x42\x03\xe0\x41\x03\x12\x18\n\x0b\x61pi_version\x18\x07 \x01(\tB\x03\xe0\x41\x03\"\x17\n\x15ResetInstanceResponse2\xdd \n\x11\x42\x61reMetalSolution\x12\xc2\x01\n\rListInstances\x12\x37.google.cloud.baremetalsolution.v2.ListInstancesRequest\x1a\x38.google.cloud.baremetalsolution.v2.ListInstancesResponse\">\x82\xd3\xe4\x93\x02/\x12-/v2/{parent=projects/*/locations/*}/instances\xda\x41\x06parent\x12\xaf\x01\n\x0bGetInstance\x12\x35.google.cloud.baremetalsolution.v2.GetInstanceRequest\x1a+.google.cloud.baremetalsolution.v2.Instance\"<\x82\xd3\xe4\x93\x02/\x12-/v2/{name=projects/*/locations/*/instances/*}\xda\x41\x04name\x12\xea\x01\n\x0eUpdateInstance\x12\x38.google.cloud.baremetalsolution.v2.UpdateInstanceRequest\x1a\x1d.google.longrunning.Operation\"\x7f\x82\xd3\xe4\x93\x02\x42\x32\x36/v2/{instance.name=projects/*/locations/*/instances/*}:\x08instance\xda\x41\x14instance,update_mask\xca\x41\x1d\n\x08Instance\x12\x11OperationMetadata\x12\xdb\x01\n\rResetInstance\x12\x37.google.cloud.baremetalsolution.v2.ResetInstanceRequest\x1a\x1d.google.longrunning.Operation\"r\x82\xd3\xe4\x93\x02\x38\"3/v2/{name=projects/*/locations/*/instances/*}:reset:\x01*\xda\x41\x04name\xca\x41*\n\x15ResetInstanceResponse\x12\x11OperationMetadata\x12\xdb\x01\n\rStartInstance\x12\x37.google.cloud.baremetalsolution.v2.StartInstanceRequest\x1a\x1d.google.longrunning.Operation\"r\x82\xd3\xe4\x93\x02\x38\"3/v2/{name=projects/*/locations/*/instances/*}:start:\x01*\xda\x41\x04name\xca\x41*\n\x15StartInstanceResponse\x12\x11OperationMetadata\x12\xd7\x01\n\x0cStopInstance\x12\x36.google.cloud.baremetalsolution.v2.StopInstanceRequest\x1a\x1d.google.longrunning.Operation\"p\x82\xd3\xe4\x93\x02\x37\"2/v2/{name=projects/*/locations/*/instances/*}:stop:\x01*\xda\x41\x04name\xca\x41)\n\x14StopInstanceResponse\x12\x11OperationMetadata\x12\xd6\x01\n\tDetachLun\x12\x33.google.cloud.baremetalsolution.v2.DetachLunRequest\x1a\x1d.google.longrunning.Operation\"u\x82\xd3\xe4\x93\x02@\";/v2/{instance=projects/*/locations/*/instances/*}:detachLun:\x01*\xda\x41\x0cinstance,lun\xca\x41\x1d\n\x08Instance\x12\x11OperationMetadata\x12\xba\x01\n\x0bListVolumes\x12\x35.google.cloud.baremetalsolution.v2.ListVolumesRequest\x1a\x36.google.cloud.baremetalsolution.v2.ListVolumesResponse\"<\x82\xd3\xe4\x93\x02-\x12+/v2/{parent=projects/*/locations/*}/volumes\xda\x41\x06parent\x12\xa7\x01\n\tGetVolume\x12\x33.google.cloud.baremetalsolution.v2.GetVolumeRequest\x1a).google.cloud.baremetalsolution.v2.Volume\":\x82\xd3\xe4\x93\x02-\x12+/v2/{name=projects/*/locations/*/volumes/*}\xda\x41\x04name\x12\xdc\x01\n\x0cUpdateVolume\x12\x36.google.cloud.baremetalsolution.v2.UpdateVolumeRequest\x1a\x1d.google.longrunning.Operation\"u\x82\xd3\xe4\x93\x02<22/v2/{volume.name=projects/*/locations/*/volumes/*}:\x06volume\xda\x41\x12volume,update_mask\xca\x41\x1b\n\x06Volume\x12\x11OperationMetadata\x12\xd6\x01\n\x0cResizeVolume\x12\x36.google.cloud.baremetalsolution.v2.ResizeVolumeRequest\x1a\x1d.google.longrunning.Operation\"o\x82\xd3\xe4\x93\x02\x39\"4/v2/{volume=projects/*/locations/*/volumes/*}:resize:\x01*\xda\x41\x0fvolume,size_gib\xca\x41\x1b\n\x06Volume\x12\x11OperationMetadata\x12\xbe\x01\n\x0cListNetworks\x12\x36.google.cloud.baremetalsolution.v2.ListNetworksRequest\x1a\x37.google.cloud.baremetalsolution.v2.ListNetworksResponse\"=\x82\xd3\xe4\x93\x02.\x12,/v2/{parent=projects/*/locations/*}/networks\xda\x41\x06parent\x12\xdf\x01\n\x10ListNetworkUsage\x12:.google.cloud.baremetalsolution.v2.ListNetworkUsageRequest\x1a;.google.cloud.baremetalsolution.v2.ListNetworkUsageResponse\"R\x82\xd3\xe4\x93\x02\x41\x12?/v2/{location=projects/*/locations/*}/networks:listNetworkUsage\xda\x41\x08location\x12\xab\x01\n\nGetNetwork\x12\x34.google.cloud.baremetalsolution.v2.GetNetworkRequest\x1a*.google.cloud.baremetalsolution.v2.Network\";\x82\xd3\xe4\x93\x02.\x12,/v2/{name=projects/*/locations/*/networks/*}\xda\x41\x04name\x12\xe3\x01\n\rUpdateNetwork\x12\x37.google.cloud.baremetalsolution.v2.UpdateNetworkRequest\x1a\x1d.google.longrunning.Operation\"z\x82\xd3\xe4\x93\x02?24/v2/{network.name=projects/*/locations/*/networks/*}:\x07network\xda\x41\x13network,update_mask\xca\x41\x1c\n\x07Network\x12\x11OperationMetadata\x12\xa5\x01\n\x06GetLun\x12\x30.google.cloud.baremetalsolution.v2.GetLunRequest\x1a&.google.cloud.baremetalsolution.v2.Lun\"A\x82\xd3\xe4\x93\x02\x34\x12\x32/v2/{name=projects/*/locations/*/volumes/*/luns/*}\xda\x41\x04name\x12\xb8\x01\n\x08ListLuns\x12\x32.google.cloud.baremetalsolution.v2.ListLunsRequest\x1a\x33.google.cloud.baremetalsolution.v2.ListLunsResponse\"C\x82\xd3\xe4\x93\x02\x34\x12\x32/v2/{parent=projects/*/locations/*/volumes/*}/luns\xda\x41\x06parent\x12\xaf\x01\n\x0bGetNfsShare\x12\x35.google.cloud.baremetalsolution.v2.GetNfsShareRequest\x1a+.google.cloud.baremetalsolution.v2.NfsShare\"<\x82\xd3\xe4\x93\x02/\x12-/v2/{name=projects/*/locations/*/nfsShares/*}\xda\x41\x04name\x12\xc2\x01\n\rListNfsShares\x12\x37.google.cloud.baremetalsolution.v2.ListNfsSharesRequest\x1a\x38.google.cloud.baremetalsolution.v2.ListNfsSharesResponse\">\x82\xd3\xe4\x93\x02/\x12-/v2/{parent=projects/*/locations/*}/nfsShares\xda\x41\x06parent\x12\xee\x01\n\x0eUpdateNfsShare\x12\x38.google.cloud.baremetalsolution.v2.UpdateNfsShareRequest\x1a\x1d.google.longrunning.Operation\"\x82\x01\x82\xd3\xe4\x93\x02\x44\x32\x37/v2/{nfs_share.name=projects/*/locations/*/nfsShares/*}:\tnfs_share\xda\x41\x15nfs_share,update_mask\xca\x41\x1d\n\x08NfsShare\x12\x11OperationMetadata\x1aT\xca\x41 baremetalsolution.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\x85\x02\n%com.google.cloud.baremetalsolution.v2B\x16\x42\x61reMetalSolutionProtoP\x01ZScloud.google.com/go/baremetalsolution/apiv2/baremetalsolutionpb;baremetalsolutionpb\xaa\x02!Google.Cloud.BareMetalSolution.V2\xca\x02!Google\\Cloud\\BareMetalSolution\\V2\xea\x02$Google::Cloud::BareMetalSolution::V2b\x06proto3"
20
+
21
+ pool = Google::Protobuf::DescriptorPool.generated_pool
22
+
23
+ begin
24
+ pool.add_serialized_file(descriptor_data)
25
+ rescue TypeError => e
26
+ # Compatibility code: will be removed in the next major version.
27
+ require 'google/protobuf/descriptor_pb'
28
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
29
+ parsed.clear_dependency
30
+ serialized = parsed.class.encode(parsed)
31
+ file = pool.add_serialized_file(serialized)
32
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
33
+ imports = [
34
+ ["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
35
+ ]
36
+ imports.each do |type_name, expected_filename|
37
+ import_file = pool.lookup(type_name).file_descriptor
38
+ if import_file.name != expected_filename
39
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
29
40
  end
30
41
  end
42
+ warn "Each proto file must use a consistent fully-qualified name."
43
+ warn "This will become an error in the next major version."
31
44
  end
32
45
 
33
46
  module Google
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
3
  # source: google/cloud/baremetalsolution/v2/instance.proto
3
4
 
@@ -10,82 +11,35 @@ require 'google/cloud/baremetalsolution/v2/network_pb'
10
11
  require 'google/protobuf/field_mask_pb'
11
12
  require 'google/protobuf/timestamp_pb'
12
13
 
13
- Google::Protobuf::DescriptorPool.generated_pool.build do
14
- add_file("google/cloud/baremetalsolution/v2/instance.proto", :syntax => :proto3) do
15
- add_message "google.cloud.baremetalsolution.v2.Instance" do
16
- optional :name, :string, 1
17
- optional :id, :string, 11
18
- optional :create_time, :message, 2, "google.protobuf.Timestamp"
19
- optional :update_time, :message, 3, "google.protobuf.Timestamp"
20
- optional :machine_type, :string, 4
21
- optional :state, :enum, 5, "google.cloud.baremetalsolution.v2.Instance.State"
22
- optional :hyperthreading_enabled, :bool, 6
23
- map :labels, :string, :string, 7
24
- repeated :luns, :message, 8, "google.cloud.baremetalsolution.v2.Lun"
25
- repeated :networks, :message, 9, "google.cloud.baremetalsolution.v2.Network"
26
- optional :interactive_serial_console_enabled, :bool, 10
27
- optional :os_image, :string, 12
28
- optional :pod, :string, 13
29
- optional :network_template, :string, 14
30
- repeated :logical_interfaces, :message, 15, "google.cloud.baremetalsolution.v2.LogicalInterface"
31
- end
32
- add_enum "google.cloud.baremetalsolution.v2.Instance.State" do
33
- value :STATE_UNSPECIFIED, 0
34
- value :PROVISIONING, 1
35
- value :RUNNING, 2
36
- value :DELETED, 3
37
- end
38
- add_message "google.cloud.baremetalsolution.v2.GetInstanceRequest" do
39
- optional :name, :string, 1
40
- end
41
- add_message "google.cloud.baremetalsolution.v2.ListInstancesRequest" do
42
- optional :parent, :string, 1
43
- optional :page_size, :int32, 2
44
- optional :page_token, :string, 3
45
- optional :filter, :string, 4
46
- end
47
- add_message "google.cloud.baremetalsolution.v2.ListInstancesResponse" do
48
- repeated :instances, :message, 1, "google.cloud.baremetalsolution.v2.Instance"
49
- optional :next_page_token, :string, 2
50
- repeated :unreachable, :string, 3
51
- end
52
- add_message "google.cloud.baremetalsolution.v2.UpdateInstanceRequest" do
53
- optional :instance, :message, 1, "google.cloud.baremetalsolution.v2.Instance"
54
- optional :update_mask, :message, 2, "google.protobuf.FieldMask"
55
- end
56
- add_message "google.cloud.baremetalsolution.v2.ResetInstanceRequest" do
57
- optional :name, :string, 1
58
- end
59
- add_message "google.cloud.baremetalsolution.v2.StartInstanceRequest" do
60
- optional :name, :string, 1
61
- end
62
- add_message "google.cloud.baremetalsolution.v2.StopInstanceRequest" do
63
- optional :name, :string, 1
64
- end
65
- add_message "google.cloud.baremetalsolution.v2.DetachLunRequest" do
66
- optional :instance, :string, 1
67
- optional :lun, :string, 2
68
- end
69
- add_message "google.cloud.baremetalsolution.v2.ServerNetworkTemplate" do
70
- optional :name, :string, 1
71
- repeated :applicable_instance_types, :string, 2
72
- repeated :logical_interfaces, :message, 3, "google.cloud.baremetalsolution.v2.ServerNetworkTemplate.LogicalInterface"
73
- end
74
- add_message "google.cloud.baremetalsolution.v2.ServerNetworkTemplate.LogicalInterface" do
75
- optional :name, :string, 1
76
- optional :type, :enum, 2, "google.cloud.baremetalsolution.v2.ServerNetworkTemplate.LogicalInterface.InterfaceType"
77
- optional :required, :bool, 3
78
- end
79
- add_enum "google.cloud.baremetalsolution.v2.ServerNetworkTemplate.LogicalInterface.InterfaceType" do
80
- value :INTERFACE_TYPE_UNSPECIFIED, 0
81
- value :BOND, 1
82
- value :NIC, 2
83
- end
84
- add_message "google.cloud.baremetalsolution.v2.StartInstanceResponse" do
85
- end
86
- add_message "google.cloud.baremetalsolution.v2.StopInstanceResponse" do
14
+
15
+ descriptor_data = "\n0google/cloud/baremetalsolution/v2/instance.proto\x12!google.cloud.baremetalsolution.v2\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a+google/cloud/baremetalsolution/v2/lun.proto\x1a/google/cloud/baremetalsolution/v2/network.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xab\x07\n\x08Instance\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\n\n\x02id\x18\x0b \x01(\t\x12\x34\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x14\n\x0cmachine_type\x18\x04 \x01(\t\x12@\n\x05state\x18\x05 \x01(\x0e\x32\x31.google.cloud.baremetalsolution.v2.Instance.State\x12\x1e\n\x16hyperthreading_enabled\x18\x06 \x01(\x08\x12G\n\x06labels\x18\x07 \x03(\x0b\x32\x37.google.cloud.baremetalsolution.v2.Instance.LabelsEntry\x12\x34\n\x04luns\x18\x08 \x03(\x0b\x32&.google.cloud.baremetalsolution.v2.Lun\x12<\n\x08networks\x18\t \x03(\x0b\x32*.google.cloud.baremetalsolution.v2.Network\x12*\n\"interactive_serial_console_enabled\x18\n \x01(\x08\x12\x10\n\x08os_image\x18\x0c \x01(\t\x12\x10\n\x03pod\x18\r \x01(\tB\x03\xe0\x41\x05\x12U\n\x10network_template\x18\x0e \x01(\tB;\xfa\x41\x38\n6baremetalsolution.googleapis.com/ServerNetworkTemplate\x12O\n\x12logical_interfaces\x18\x0f \x03(\x0b\x32\x33.google.cloud.baremetalsolution.v2.LogicalInterface\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"J\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x10\n\x0cPROVISIONING\x10\x01\x12\x0b\n\x07RUNNING\x10\x02\x12\x0b\n\x07\x44\x45LETED\x10\x03:l\xea\x41i\n)baremetalsolution.googleapis.com/Instance\x12<projects/{project}/locations/{location}/instances/{instance}\"U\n\x12GetInstanceRequest\x12?\n\x04name\x18\x01 \x01(\tB1\xe0\x41\x02\xfa\x41+\n)baremetalsolution.googleapis.com/Instance\"\x88\x01\n\x14ListInstancesRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x04 \x01(\t\"\x85\x01\n\x15ListInstancesResponse\x12>\n\tinstances\x18\x01 \x03(\x0b\x32+.google.cloud.baremetalsolution.v2.Instance\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"\x8c\x01\n\x15UpdateInstanceRequest\x12\x42\n\x08instance\x18\x01 \x01(\x0b\x32+.google.cloud.baremetalsolution.v2.InstanceB\x03\xe0\x41\x02\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\"W\n\x14ResetInstanceRequest\x12?\n\x04name\x18\x01 \x01(\tB1\xe0\x41\x02\xfa\x41+\n)baremetalsolution.googleapis.com/Instance\"W\n\x14StartInstanceRequest\x12?\n\x04name\x18\x01 \x01(\tB1\xe0\x41\x02\xfa\x41+\n)baremetalsolution.googleapis.com/Instance\"V\n\x13StopInstanceRequest\x12?\n\x04name\x18\x01 \x01(\tB1\xe0\x41\x02\xfa\x41+\n)baremetalsolution.googleapis.com/Instance\"\x92\x01\n\x10\x44\x65tachLunRequest\x12\x43\n\x08instance\x18\x01 \x01(\tB1\xe0\x41\x02\xfa\x41+\n)baremetalsolution.googleapis.com/Instance\x12\x39\n\x03lun\x18\x02 \x01(\tB,\xe0\x41\x02\xfa\x41&\n$baremetalsolution.googleapis.com/Lun\"\xac\x04\n\x15ServerNetworkTemplate\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12!\n\x19\x61pplicable_instance_types\x18\x02 \x03(\t\x12\x65\n\x12logical_interfaces\x18\x03 \x03(\x0b\x32I.google.cloud.baremetalsolution.v2.ServerNetworkTemplate.LogicalInterface\x1a\xdd\x01\n\x10LogicalInterface\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x65\n\x04type\x18\x02 \x01(\x0e\x32W.google.cloud.baremetalsolution.v2.ServerNetworkTemplate.LogicalInterface.InterfaceType\x12\x10\n\x08required\x18\x03 \x01(\x08\"B\n\rInterfaceType\x12\x1e\n\x1aINTERFACE_TYPE_UNSPECIFIED\x10\x00\x12\x08\n\x04\x42OND\x10\x01\x12\x07\n\x03NIC\x10\x02:\x95\x01\xea\x41\x91\x01\n6baremetalsolution.googleapis.com/ServerNetworkTemplate\x12Wprojects/{project}/locations/{location}/serverNetworkTemplate/{server_network_template}\"\x17\n\x15StartInstanceResponse\"\x16\n\x14StopInstanceResponseB\xfc\x01\n%com.google.cloud.baremetalsolution.v2B\rInstanceProtoP\x01ZScloud.google.com/go/baremetalsolution/apiv2/baremetalsolutionpb;baremetalsolutionpb\xaa\x02!Google.Cloud.BareMetalSolution.V2\xca\x02!Google\\Cloud\\BareMetalSolution\\V2\xea\x02$Google::Cloud::BareMetalSolution::V2b\x06proto3"
16
+
17
+ pool = Google::Protobuf::DescriptorPool.generated_pool
18
+
19
+ begin
20
+ pool.add_serialized_file(descriptor_data)
21
+ rescue TypeError => e
22
+ # Compatibility code: will be removed in the next major version.
23
+ require 'google/protobuf/descriptor_pb'
24
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
25
+ parsed.clear_dependency
26
+ serialized = parsed.class.encode(parsed)
27
+ file = pool.add_serialized_file(serialized)
28
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
29
+ imports = [
30
+ ["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
31
+ ["google.cloud.baremetalsolution.v2.Lun", "google/cloud/baremetalsolution/v2/lun.proto"],
32
+ ["google.cloud.baremetalsolution.v2.Network", "google/cloud/baremetalsolution/v2/network.proto"],
33
+ ["google.protobuf.FieldMask", "google/protobuf/field_mask.proto"],
34
+ ]
35
+ imports.each do |type_name, expected_filename|
36
+ import_file = pool.lookup(type_name).file_descriptor
37
+ if import_file.name != expected_filename
38
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
87
39
  end
88
40
  end
41
+ warn "Each proto file must use a consistent fully-qualified name."
42
+ warn "This will become an error in the next major version."
89
43
  end
90
44
 
91
45
  module Google
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
3
  # source: google/cloud/baremetalsolution/v2/lun.proto
3
4
 
@@ -6,50 +7,31 @@ require 'google/protobuf'
6
7
  require 'google/api/field_behavior_pb'
7
8
  require 'google/api/resource_pb'
8
9
 
9
- Google::Protobuf::DescriptorPool.generated_pool.build do
10
- add_file("google/cloud/baremetalsolution/v2/lun.proto", :syntax => :proto3) do
11
- add_message "google.cloud.baremetalsolution.v2.Lun" do
12
- optional :name, :string, 1
13
- optional :id, :string, 10
14
- optional :state, :enum, 2, "google.cloud.baremetalsolution.v2.Lun.State"
15
- optional :size_gb, :int64, 3
16
- optional :multiprotocol_type, :enum, 4, "google.cloud.baremetalsolution.v2.Lun.MultiprotocolType"
17
- optional :storage_volume, :string, 5
18
- optional :shareable, :bool, 6
19
- optional :boot_lun, :bool, 7
20
- optional :storage_type, :enum, 8, "google.cloud.baremetalsolution.v2.Lun.StorageType"
21
- optional :wwid, :string, 9
22
- end
23
- add_enum "google.cloud.baremetalsolution.v2.Lun.State" do
24
- value :STATE_UNSPECIFIED, 0
25
- value :CREATING, 1
26
- value :UPDATING, 2
27
- value :READY, 3
28
- value :DELETING, 4
29
- end
30
- add_enum "google.cloud.baremetalsolution.v2.Lun.MultiprotocolType" do
31
- value :MULTIPROTOCOL_TYPE_UNSPECIFIED, 0
32
- value :LINUX, 1
33
- end
34
- add_enum "google.cloud.baremetalsolution.v2.Lun.StorageType" do
35
- value :STORAGE_TYPE_UNSPECIFIED, 0
36
- value :SSD, 1
37
- value :HDD, 2
38
- end
39
- add_message "google.cloud.baremetalsolution.v2.GetLunRequest" do
40
- optional :name, :string, 1
41
- end
42
- add_message "google.cloud.baremetalsolution.v2.ListLunsRequest" do
43
- optional :parent, :string, 1
44
- optional :page_size, :int32, 2
45
- optional :page_token, :string, 3
46
- end
47
- add_message "google.cloud.baremetalsolution.v2.ListLunsResponse" do
48
- repeated :luns, :message, 1, "google.cloud.baremetalsolution.v2.Lun"
49
- optional :next_page_token, :string, 2
50
- repeated :unreachable, :string, 3
10
+
11
+ descriptor_data = "\n+google/cloud/baremetalsolution/v2/lun.proto\x12!google.cloud.baremetalsolution.v2\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\"\xd3\x05\n\x03Lun\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\n\n\x02id\x18\n \x01(\t\x12;\n\x05state\x18\x02 \x01(\x0e\x32,.google.cloud.baremetalsolution.v2.Lun.State\x12\x0f\n\x07size_gb\x18\x03 \x01(\x03\x12T\n\x12multiprotocol_type\x18\x04 \x01(\x0e\x32\x38.google.cloud.baremetalsolution.v2.Lun.MultiprotocolType\x12\x44\n\x0estorage_volume\x18\x05 \x01(\tB,\xfa\x41)\n\'baremetalsolution.googleapis.com/Volume\x12\x11\n\tshareable\x18\x06 \x01(\x08\x12\x10\n\x08\x62oot_lun\x18\x07 \x01(\x08\x12H\n\x0cstorage_type\x18\x08 \x01(\x0e\x32\x32.google.cloud.baremetalsolution.v2.Lun.StorageType\x12\x0c\n\x04wwid\x18\t \x01(\t\"S\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x43REATING\x10\x01\x12\x0c\n\x08UPDATING\x10\x02\x12\t\n\x05READY\x10\x03\x12\x0c\n\x08\x44\x45LETING\x10\x04\"B\n\x11MultiprotocolType\x12\"\n\x1eMULTIPROTOCOL_TYPE_UNSPECIFIED\x10\x00\x12\t\n\x05LINUX\x10\x01\"=\n\x0bStorageType\x12\x1c\n\x18STORAGE_TYPE_UNSPECIFIED\x10\x00\x12\x07\n\x03SSD\x10\x01\x12\x07\n\x03HDD\x10\x02:n\xea\x41k\n$baremetalsolution.googleapis.com/Lun\x12\x43projects/{project}/locations/{location}/volumes/{volume}/luns/{lun}\"K\n\rGetLunRequest\x12:\n\x04name\x18\x01 \x01(\tB,\xe0\x41\x02\xfa\x41&\n$baremetalsolution.googleapis.com/Lun\"y\n\x0fListLunsRequest\x12?\n\x06parent\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\n\'baremetalsolution.googleapis.com/Volume\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"v\n\x10ListLunsResponse\x12\x34\n\x04luns\x18\x01 \x03(\x0b\x32&.google.cloud.baremetalsolution.v2.Lun\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\tB\xf7\x01\n%com.google.cloud.baremetalsolution.v2B\x08LunProtoP\x01ZScloud.google.com/go/baremetalsolution/apiv2/baremetalsolutionpb;baremetalsolutionpb\xaa\x02!Google.Cloud.BareMetalSolution.V2\xca\x02!Google\\Cloud\\BareMetalSolution\\V2\xea\x02$Google::Cloud::BareMetalSolution::V2b\x06proto3"
12
+
13
+ pool = Google::Protobuf::DescriptorPool.generated_pool
14
+
15
+ begin
16
+ pool.add_serialized_file(descriptor_data)
17
+ rescue TypeError => e
18
+ # Compatibility code: will be removed in the next major version.
19
+ require 'google/protobuf/descriptor_pb'
20
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
21
+ parsed.clear_dependency
22
+ serialized = parsed.class.encode(parsed)
23
+ file = pool.add_serialized_file(serialized)
24
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
25
+ imports = [
26
+ ]
27
+ imports.each do |type_name, expected_filename|
28
+ import_file = pool.lookup(type_name).file_descriptor
29
+ if import_file.name != expected_filename
30
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
51
31
  end
52
32
  end
33
+ warn "Each proto file must use a consistent fully-qualified name."
34
+ warn "This will become an error in the next major version."
53
35
  end
54
36
 
55
37
  module Google
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
3
  # source: google/cloud/baremetalsolution/v2/network.proto
3
4
 
@@ -7,97 +8,32 @@ require 'google/api/field_behavior_pb'
7
8
  require 'google/api/resource_pb'
8
9
  require 'google/protobuf/field_mask_pb'
9
10
 
10
- Google::Protobuf::DescriptorPool.generated_pool.build do
11
- add_file("google/cloud/baremetalsolution/v2/network.proto", :syntax => :proto3) do
12
- add_message "google.cloud.baremetalsolution.v2.Network" do
13
- optional :name, :string, 5
14
- optional :id, :string, 10
15
- optional :type, :enum, 2, "google.cloud.baremetalsolution.v2.Network.Type"
16
- optional :ip_address, :string, 3
17
- repeated :mac_address, :string, 4
18
- optional :state, :enum, 6, "google.cloud.baremetalsolution.v2.Network.State"
19
- optional :vlan_id, :string, 7
20
- optional :cidr, :string, 8
21
- optional :vrf, :message, 9, "google.cloud.baremetalsolution.v2.VRF"
22
- map :labels, :string, :string, 11
23
- optional :services_cidr, :string, 12
24
- repeated :reservations, :message, 13, "google.cloud.baremetalsolution.v2.NetworkAddressReservation"
25
- end
26
- add_enum "google.cloud.baremetalsolution.v2.Network.Type" do
27
- value :TYPE_UNSPECIFIED, 0
28
- value :CLIENT, 1
29
- value :PRIVATE, 2
30
- end
31
- add_enum "google.cloud.baremetalsolution.v2.Network.State" do
32
- value :STATE_UNSPECIFIED, 0
33
- value :PROVISIONING, 1
34
- value :PROVISIONED, 2
35
- end
36
- add_message "google.cloud.baremetalsolution.v2.NetworkAddressReservation" do
37
- optional :start_address, :string, 1
38
- optional :end_address, :string, 2
39
- optional :note, :string, 3
40
- end
41
- add_message "google.cloud.baremetalsolution.v2.VRF" do
42
- optional :name, :string, 1
43
- optional :state, :enum, 5, "google.cloud.baremetalsolution.v2.VRF.State"
44
- optional :qos_policy, :message, 6, "google.cloud.baremetalsolution.v2.VRF.QosPolicy"
45
- repeated :vlan_attachments, :message, 7, "google.cloud.baremetalsolution.v2.VRF.VlanAttachment"
46
- end
47
- add_message "google.cloud.baremetalsolution.v2.VRF.QosPolicy" do
48
- optional :bandwidth_gbps, :double, 1
49
- end
50
- add_message "google.cloud.baremetalsolution.v2.VRF.VlanAttachment" do
51
- optional :peer_vlan_id, :int64, 1
52
- optional :peer_ip, :string, 2
53
- optional :router_ip, :string, 3
54
- end
55
- add_enum "google.cloud.baremetalsolution.v2.VRF.State" do
56
- value :STATE_UNSPECIFIED, 0
57
- value :PROVISIONING, 1
58
- value :PROVISIONED, 2
59
- end
60
- add_message "google.cloud.baremetalsolution.v2.LogicalInterface" do
61
- repeated :logical_network_interfaces, :message, 1, "google.cloud.baremetalsolution.v2.LogicalInterface.LogicalNetworkInterface"
62
- optional :name, :string, 2
63
- optional :interface_index, :int32, 3
64
- end
65
- add_message "google.cloud.baremetalsolution.v2.LogicalInterface.LogicalNetworkInterface" do
66
- optional :network, :string, 1
67
- optional :ip_address, :string, 2
68
- optional :default_gateway, :bool, 3
69
- optional :network_type, :enum, 4, "google.cloud.baremetalsolution.v2.Network.Type"
70
- optional :id, :string, 5
71
- end
72
- add_message "google.cloud.baremetalsolution.v2.GetNetworkRequest" do
73
- optional :name, :string, 1
74
- end
75
- add_message "google.cloud.baremetalsolution.v2.ListNetworksRequest" do
76
- optional :parent, :string, 1
77
- optional :page_size, :int32, 2
78
- optional :page_token, :string, 3
79
- optional :filter, :string, 4
80
- end
81
- add_message "google.cloud.baremetalsolution.v2.ListNetworksResponse" do
82
- repeated :networks, :message, 1, "google.cloud.baremetalsolution.v2.Network"
83
- optional :next_page_token, :string, 2
84
- repeated :unreachable, :string, 3
85
- end
86
- add_message "google.cloud.baremetalsolution.v2.UpdateNetworkRequest" do
87
- optional :network, :message, 1, "google.cloud.baremetalsolution.v2.Network"
88
- optional :update_mask, :message, 2, "google.protobuf.FieldMask"
89
- end
90
- add_message "google.cloud.baremetalsolution.v2.NetworkUsage" do
91
- optional :network, :message, 1, "google.cloud.baremetalsolution.v2.Network"
92
- repeated :used_ips, :string, 2
93
- end
94
- add_message "google.cloud.baremetalsolution.v2.ListNetworkUsageRequest" do
95
- optional :location, :string, 1
96
- end
97
- add_message "google.cloud.baremetalsolution.v2.ListNetworkUsageResponse" do
98
- repeated :networks, :message, 1, "google.cloud.baremetalsolution.v2.NetworkUsage"
11
+
12
+ descriptor_data = "\n/google/cloud/baremetalsolution/v2/network.proto\x12!google.cloud.baremetalsolution.v2\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a google/protobuf/field_mask.proto\"\xec\x05\n\x07Network\x12\x11\n\x04name\x18\x05 \x01(\tB\x03\xe0\x41\x03\x12\n\n\x02id\x18\n \x01(\t\x12=\n\x04type\x18\x02 \x01(\x0e\x32/.google.cloud.baremetalsolution.v2.Network.Type\x12\x12\n\nip_address\x18\x03 \x01(\t\x12\x13\n\x0bmac_address\x18\x04 \x03(\t\x12?\n\x05state\x18\x06 \x01(\x0e\x32\x30.google.cloud.baremetalsolution.v2.Network.State\x12\x0f\n\x07vlan_id\x18\x07 \x01(\t\x12\x0c\n\x04\x63idr\x18\x08 \x01(\t\x12\x33\n\x03vrf\x18\t \x01(\x0b\x32&.google.cloud.baremetalsolution.v2.VRF\x12\x46\n\x06labels\x18\x0b \x03(\x0b\x32\x36.google.cloud.baremetalsolution.v2.Network.LabelsEntry\x12\x15\n\rservices_cidr\x18\x0c \x01(\t\x12R\n\x0creservations\x18\r \x03(\x0b\x32<.google.cloud.baremetalsolution.v2.NetworkAddressReservation\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"5\n\x04Type\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\n\n\x06\x43LIENT\x10\x01\x12\x0b\n\x07PRIVATE\x10\x02\"A\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x10\n\x0cPROVISIONING\x10\x01\x12\x0f\n\x0bPROVISIONED\x10\x02:i\xea\x41\x66\n(baremetalsolution.googleapis.com/Network\x12:projects/{project}/locations/{location}/networks/{network}\"U\n\x19NetworkAddressReservation\x12\x15\n\rstart_address\x18\x01 \x01(\t\x12\x13\n\x0b\x65nd_address\x18\x02 \x01(\t\x12\x0c\n\x04note\x18\x03 \x01(\t\"\x9b\x03\n\x03VRF\x12\x0c\n\x04name\x18\x01 \x01(\t\x12;\n\x05state\x18\x05 \x01(\x0e\x32,.google.cloud.baremetalsolution.v2.VRF.State\x12\x44\n\nqos_policy\x18\x06 \x01(\x0b\x32\x30.google.cloud.baremetalsolution.v2.VRF.QosPolicy\x12O\n\x10vlan_attachments\x18\x07 \x03(\x0b\x32\x35.google.cloud.baremetalsolution.v2.VRF.VlanAttachment\x1a#\n\tQosPolicy\x12\x16\n\x0e\x62\x61ndwidth_gbps\x18\x01 \x01(\x01\x1aJ\n\x0eVlanAttachment\x12\x14\n\x0cpeer_vlan_id\x18\x01 \x01(\x03\x12\x0f\n\x07peer_ip\x18\x02 \x01(\t\x12\x11\n\trouter_ip\x18\x03 \x01(\t\"A\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x10\n\x0cPROVISIONING\x10\x01\x12\x0f\n\x0bPROVISIONED\x10\x02\"\xd7\x02\n\x10LogicalInterface\x12o\n\x1alogical_network_interfaces\x18\x01 \x03(\x0b\x32K.google.cloud.baremetalsolution.v2.LogicalInterface.LogicalNetworkInterface\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x17\n\x0finterface_index\x18\x03 \x01(\x05\x1a\xaa\x01\n\x17LogicalNetworkInterface\x12\x0f\n\x07network\x18\x01 \x01(\t\x12\x12\n\nip_address\x18\x02 \x01(\t\x12\x17\n\x0f\x64\x65\x66\x61ult_gateway\x18\x03 \x01(\x08\x12\x45\n\x0cnetwork_type\x18\x04 \x01(\x0e\x32/.google.cloud.baremetalsolution.v2.Network.Type\x12\n\n\x02id\x18\x05 \x01(\t\"S\n\x11GetNetworkRequest\x12>\n\x04name\x18\x01 \x01(\tB0\xe0\x41\x02\xfa\x41*\n(baremetalsolution.googleapis.com/Network\"\x87\x01\n\x13ListNetworksRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x04 \x01(\t\"\x82\x01\n\x14ListNetworksResponse\x12<\n\x08networks\x18\x01 \x03(\x0b\x32*.google.cloud.baremetalsolution.v2.Network\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"\x89\x01\n\x14UpdateNetworkRequest\x12@\n\x07network\x18\x01 \x01(\x0b\x32*.google.cloud.baremetalsolution.v2.NetworkB\x03\xe0\x41\x02\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\"]\n\x0cNetworkUsage\x12;\n\x07network\x18\x01 \x01(\x0b\x32*.google.cloud.baremetalsolution.v2.Network\x12\x10\n\x08used_ips\x18\x02 \x03(\t\"V\n\x17ListNetworkUsageRequest\x12;\n\x08location\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\"]\n\x18ListNetworkUsageResponse\x12\x41\n\x08networks\x18\x01 \x03(\x0b\x32/.google.cloud.baremetalsolution.v2.NetworkUsageB\xfb\x01\n%com.google.cloud.baremetalsolution.v2B\x0cNetworkProtoP\x01ZScloud.google.com/go/baremetalsolution/apiv2/baremetalsolutionpb;baremetalsolutionpb\xaa\x02!Google.Cloud.BareMetalSolution.V2\xca\x02!Google\\Cloud\\BareMetalSolution\\V2\xea\x02$Google::Cloud::BareMetalSolution::V2b\x06proto3"
13
+
14
+ pool = Google::Protobuf::DescriptorPool.generated_pool
15
+
16
+ begin
17
+ pool.add_serialized_file(descriptor_data)
18
+ rescue TypeError => e
19
+ # Compatibility code: will be removed in the next major version.
20
+ require 'google/protobuf/descriptor_pb'
21
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
22
+ parsed.clear_dependency
23
+ serialized = parsed.class.encode(parsed)
24
+ file = pool.add_serialized_file(serialized)
25
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
26
+ imports = [
27
+ ["google.protobuf.FieldMask", "google/protobuf/field_mask.proto"],
28
+ ]
29
+ imports.each do |type_name, expected_filename|
30
+ import_file = pool.lookup(type_name).file_descriptor
31
+ if import_file.name != expected_filename
32
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
99
33
  end
100
34
  end
35
+ warn "Each proto file must use a consistent fully-qualified name."
36
+ warn "This will become an error in the next major version."
101
37
  end
102
38
 
103
39
  module Google
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
3
  # source: google/cloud/baremetalsolution/v2/nfs_share.proto
3
4
 
@@ -7,53 +8,32 @@ require 'google/api/field_behavior_pb'
7
8
  require 'google/api/resource_pb'
8
9
  require 'google/protobuf/field_mask_pb'
9
10
 
10
- Google::Protobuf::DescriptorPool.generated_pool.build do
11
- add_file("google/cloud/baremetalsolution/v2/nfs_share.proto", :syntax => :proto3) do
12
- add_message "google.cloud.baremetalsolution.v2.NfsShare" do
13
- optional :name, :string, 1
14
- optional :nfs_share_id, :string, 2
15
- optional :state, :enum, 3, "google.cloud.baremetalsolution.v2.NfsShare.State"
16
- optional :volume, :string, 4
17
- repeated :allowed_clients, :message, 5, "google.cloud.baremetalsolution.v2.NfsShare.AllowedClient"
18
- map :labels, :string, :string, 6
19
- end
20
- add_message "google.cloud.baremetalsolution.v2.NfsShare.AllowedClient" do
21
- optional :network, :string, 1
22
- optional :share_ip, :string, 2
23
- optional :allowed_clients_cidr, :string, 3
24
- optional :mount_permissions, :enum, 4, "google.cloud.baremetalsolution.v2.NfsShare.MountPermissions"
25
- optional :allow_dev, :bool, 5
26
- optional :allow_suid, :bool, 6
27
- optional :no_root_squash, :bool, 7
28
- end
29
- add_enum "google.cloud.baremetalsolution.v2.NfsShare.State" do
30
- value :STATE_UNSPECIFIED, 0
31
- value :PROVISIONED, 1
32
- end
33
- add_enum "google.cloud.baremetalsolution.v2.NfsShare.MountPermissions" do
34
- value :MOUNT_PERMISSIONS_UNSPECIFIED, 0
35
- value :READ, 1
36
- value :READ_WRITE, 2
37
- end
38
- add_message "google.cloud.baremetalsolution.v2.GetNfsShareRequest" do
39
- optional :name, :string, 1
40
- end
41
- add_message "google.cloud.baremetalsolution.v2.ListNfsSharesRequest" do
42
- optional :parent, :string, 1
43
- optional :page_size, :int32, 2
44
- optional :page_token, :string, 3
45
- optional :filter, :string, 4
46
- end
47
- add_message "google.cloud.baremetalsolution.v2.ListNfsSharesResponse" do
48
- repeated :nfs_shares, :message, 1, "google.cloud.baremetalsolution.v2.NfsShare"
49
- optional :next_page_token, :string, 2
50
- repeated :unreachable, :string, 3
51
- end
52
- add_message "google.cloud.baremetalsolution.v2.UpdateNfsShareRequest" do
53
- optional :nfs_share, :message, 1, "google.cloud.baremetalsolution.v2.NfsShare"
54
- optional :update_mask, :message, 2, "google.protobuf.FieldMask"
11
+
12
+ descriptor_data = "\n1google/cloud/baremetalsolution/v2/nfs_share.proto\x12!google.cloud.baremetalsolution.v2\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a google/protobuf/field_mask.proto\"\x8f\x07\n\x08NfsShare\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x19\n\x0cnfs_share_id\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12@\n\x05state\x18\x03 \x01(\x0e\x32\x31.google.cloud.baremetalsolution.v2.NfsShare.State\x12<\n\x06volume\x18\x04 \x01(\tB,\xfa\x41)\n\'baremetalsolution.googleapis.com/Volume\x12R\n\x0f\x61llowed_clients\x18\x05 \x03(\x0b\x32\x39.google.cloud.baremetalsolution.v2.NfsShare.AllowedClient\x12G\n\x06labels\x18\x06 \x03(\x0b\x32\x37.google.cloud.baremetalsolution.v2.NfsShare.LabelsEntry\x1a\x97\x02\n\rAllowedClient\x12>\n\x07network\x18\x01 \x01(\tB-\xfa\x41*\n(baremetalsolution.googleapis.com/Network\x12\x10\n\x08share_ip\x18\x02 \x01(\t\x12\x1c\n\x14\x61llowed_clients_cidr\x18\x03 \x01(\t\x12W\n\x11mount_permissions\x18\x04 \x01(\x0e\x32<.google.cloud.baremetalsolution.v2.NfsShare.MountPermissions\x12\x11\n\tallow_dev\x18\x05 \x01(\x08\x12\x12\n\nallow_suid\x18\x06 \x01(\x08\x12\x16\n\x0eno_root_squash\x18\x07 \x01(\x08\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"/\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0f\n\x0bPROVISIONED\x10\x01\"O\n\x10MountPermissions\x12!\n\x1dMOUNT_PERMISSIONS_UNSPECIFIED\x10\x00\x12\x08\n\x04READ\x10\x01\x12\x0e\n\nREAD_WRITE\x10\x02:m\xea\x41j\n)baremetalsolution.googleapis.com/NFSShare\x12=projects/{project}/locations/{location}/nfsShares/{nfs_share}\"U\n\x12GetNfsShareRequest\x12?\n\x04name\x18\x01 \x01(\tB1\xe0\x41\x02\xfa\x41+\n)baremetalsolution.googleapis.com/NFSShare\"\x88\x01\n\x14ListNfsSharesRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x04 \x01(\t\"\x86\x01\n\x15ListNfsSharesResponse\x12?\n\nnfs_shares\x18\x01 \x03(\x0b\x32+.google.cloud.baremetalsolution.v2.NfsShare\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"\x8d\x01\n\x15UpdateNfsShareRequest\x12\x43\n\tnfs_share\x18\x01 \x01(\x0b\x32+.google.cloud.baremetalsolution.v2.NfsShareB\x03\xe0\x41\x02\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\xfc\x01\n%com.google.cloud.baremetalsolution.v2B\rNfsShareProtoP\x01ZScloud.google.com/go/baremetalsolution/apiv2/baremetalsolutionpb;baremetalsolutionpb\xaa\x02!Google.Cloud.BareMetalSolution.V2\xca\x02!Google\\Cloud\\BareMetalSolution\\V2\xea\x02$Google::Cloud::BareMetalSolution::V2b\x06proto3"
13
+
14
+ pool = Google::Protobuf::DescriptorPool.generated_pool
15
+
16
+ begin
17
+ pool.add_serialized_file(descriptor_data)
18
+ rescue TypeError => e
19
+ # Compatibility code: will be removed in the next major version.
20
+ require 'google/protobuf/descriptor_pb'
21
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
22
+ parsed.clear_dependency
23
+ serialized = parsed.class.encode(parsed)
24
+ file = pool.add_serialized_file(serialized)
25
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
26
+ imports = [
27
+ ["google.protobuf.FieldMask", "google/protobuf/field_mask.proto"],
28
+ ]
29
+ imports.each do |type_name, expected_filename|
30
+ import_file = pool.lookup(type_name).file_descriptor
31
+ if import_file.name != expected_filename
32
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
55
33
  end
56
34
  end
35
+ warn "Each proto file must use a consistent fully-qualified name."
36
+ warn "This will become an error in the next major version."
57
37
  end
58
38
 
59
39
  module Google
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
3
  # source: google/cloud/baremetalsolution/v2/volume.proto
3
4
 
@@ -7,70 +8,32 @@ require 'google/api/field_behavior_pb'
7
8
  require 'google/api/resource_pb'
8
9
  require 'google/protobuf/field_mask_pb'
9
10
 
10
- Google::Protobuf::DescriptorPool.generated_pool.build do
11
- add_file("google/cloud/baremetalsolution/v2/volume.proto", :syntax => :proto3) do
12
- add_message "google.cloud.baremetalsolution.v2.Volume" do
13
- optional :name, :string, 1
14
- optional :id, :string, 11
15
- optional :storage_type, :enum, 2, "google.cloud.baremetalsolution.v2.Volume.StorageType"
16
- optional :state, :enum, 3, "google.cloud.baremetalsolution.v2.Volume.State"
17
- optional :requested_size_gib, :int64, 4
18
- optional :current_size_gib, :int64, 5
19
- optional :emergency_size_gib, :int64, 14
20
- optional :auto_grown_size_gib, :int64, 6
21
- optional :remaining_space_gib, :int64, 7
22
- optional :snapshot_reservation_detail, :message, 8, "google.cloud.baremetalsolution.v2.Volume.SnapshotReservationDetail"
23
- optional :snapshot_auto_delete_behavior, :enum, 9, "google.cloud.baremetalsolution.v2.Volume.SnapshotAutoDeleteBehavior"
24
- map :labels, :string, :string, 12
25
- optional :snapshot_enabled, :bool, 13
26
- optional :pod, :string, 15
27
- end
28
- add_message "google.cloud.baremetalsolution.v2.Volume.SnapshotReservationDetail" do
29
- optional :reserved_space_gib, :int64, 1
30
- optional :reserved_space_used_percent, :int32, 2
31
- optional :reserved_space_remaining_gib, :int64, 3
32
- optional :reserved_space_percent, :int32, 4
33
- end
34
- add_enum "google.cloud.baremetalsolution.v2.Volume.StorageType" do
35
- value :STORAGE_TYPE_UNSPECIFIED, 0
36
- value :SSD, 1
37
- value :HDD, 2
38
- end
39
- add_enum "google.cloud.baremetalsolution.v2.Volume.State" do
40
- value :STATE_UNSPECIFIED, 0
41
- value :CREATING, 1
42
- value :READY, 2
43
- value :DELETING, 3
44
- end
45
- add_enum "google.cloud.baremetalsolution.v2.Volume.SnapshotAutoDeleteBehavior" do
46
- value :SNAPSHOT_AUTO_DELETE_BEHAVIOR_UNSPECIFIED, 0
47
- value :DISABLED, 1
48
- value :OLDEST_FIRST, 2
49
- value :NEWEST_FIRST, 3
50
- end
51
- add_message "google.cloud.baremetalsolution.v2.GetVolumeRequest" do
52
- optional :name, :string, 1
53
- end
54
- add_message "google.cloud.baremetalsolution.v2.ListVolumesRequest" do
55
- optional :parent, :string, 1
56
- optional :page_size, :int32, 2
57
- optional :page_token, :string, 3
58
- optional :filter, :string, 4
59
- end
60
- add_message "google.cloud.baremetalsolution.v2.ListVolumesResponse" do
61
- repeated :volumes, :message, 1, "google.cloud.baremetalsolution.v2.Volume"
62
- optional :next_page_token, :string, 2
63
- repeated :unreachable, :string, 3
64
- end
65
- add_message "google.cloud.baremetalsolution.v2.UpdateVolumeRequest" do
66
- optional :volume, :message, 1, "google.cloud.baremetalsolution.v2.Volume"
67
- optional :update_mask, :message, 2, "google.protobuf.FieldMask"
68
- end
69
- add_message "google.cloud.baremetalsolution.v2.ResizeVolumeRequest" do
70
- optional :volume, :string, 1
71
- optional :size_gib, :int64, 2
11
+
12
+ descriptor_data = "\n.google/cloud/baremetalsolution/v2/volume.proto\x12!google.cloud.baremetalsolution.v2\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a google/protobuf/field_mask.proto\"\xcb\t\n\x06Volume\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\n\n\x02id\x18\x0b \x01(\t\x12K\n\x0cstorage_type\x18\x02 \x01(\x0e\x32\x35.google.cloud.baremetalsolution.v2.Volume.StorageType\x12>\n\x05state\x18\x03 \x01(\x0e\x32/.google.cloud.baremetalsolution.v2.Volume.State\x12\x1a\n\x12requested_size_gib\x18\x04 \x01(\x03\x12\x18\n\x10\x63urrent_size_gib\x18\x05 \x01(\x03\x12\x1a\n\x12\x65mergency_size_gib\x18\x0e \x01(\x03\x12\x1b\n\x13\x61uto_grown_size_gib\x18\x06 \x01(\x03\x12\x1b\n\x13remaining_space_gib\x18\x07 \x01(\x03\x12h\n\x1bsnapshot_reservation_detail\x18\x08 \x01(\x0b\x32\x43.google.cloud.baremetalsolution.v2.Volume.SnapshotReservationDetail\x12k\n\x1dsnapshot_auto_delete_behavior\x18\t \x01(\x0e\x32\x44.google.cloud.baremetalsolution.v2.Volume.SnapshotAutoDeleteBehavior\x12\x45\n\x06labels\x18\x0c \x03(\x0b\x32\x35.google.cloud.baremetalsolution.v2.Volume.LabelsEntry\x12\x18\n\x10snapshot_enabled\x18\r \x01(\x08\x12\x10\n\x03pod\x18\x0f \x01(\tB\x03\xe0\x41\x05\x1a\xa2\x01\n\x19SnapshotReservationDetail\x12\x1a\n\x12reserved_space_gib\x18\x01 \x01(\x03\x12#\n\x1breserved_space_used_percent\x18\x02 \x01(\x05\x12$\n\x1creserved_space_remaining_gib\x18\x03 \x01(\x03\x12\x1e\n\x16reserved_space_percent\x18\x04 \x01(\x05\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"=\n\x0bStorageType\x12\x1c\n\x18STORAGE_TYPE_UNSPECIFIED\x10\x00\x12\x07\n\x03SSD\x10\x01\x12\x07\n\x03HDD\x10\x02\"E\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x43REATING\x10\x01\x12\t\n\x05READY\x10\x02\x12\x0c\n\x08\x44\x45LETING\x10\x03\"}\n\x1aSnapshotAutoDeleteBehavior\x12-\n)SNAPSHOT_AUTO_DELETE_BEHAVIOR_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x44ISABLED\x10\x01\x12\x10\n\x0cOLDEST_FIRST\x10\x02\x12\x10\n\x0cNEWEST_FIRST\x10\x03:f\xea\x41\x63\n\'baremetalsolution.googleapis.com/Volume\x12\x38projects/{project}/locations/{location}/volumes/{volume}\"Q\n\x10GetVolumeRequest\x12=\n\x04name\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\n\'baremetalsolution.googleapis.com/Volume\"\x86\x01\n\x12ListVolumesRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x04 \x01(\t\"\x7f\n\x13ListVolumesResponse\x12:\n\x07volumes\x18\x01 \x03(\x0b\x32).google.cloud.baremetalsolution.v2.Volume\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"\x86\x01\n\x13UpdateVolumeRequest\x12>\n\x06volume\x18\x01 \x01(\x0b\x32).google.cloud.baremetalsolution.v2.VolumeB\x03\xe0\x41\x02\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\"h\n\x13ResizeVolumeRequest\x12?\n\x06volume\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\n\'baremetalsolution.googleapis.com/Volume\x12\x10\n\x08size_gib\x18\x02 \x01(\x03\x42\xfa\x01\n%com.google.cloud.baremetalsolution.v2B\x0bVolumeProtoP\x01ZScloud.google.com/go/baremetalsolution/apiv2/baremetalsolutionpb;baremetalsolutionpb\xaa\x02!Google.Cloud.BareMetalSolution.V2\xca\x02!Google\\Cloud\\BareMetalSolution\\V2\xea\x02$Google::Cloud::BareMetalSolution::V2b\x06proto3"
13
+
14
+ pool = Google::Protobuf::DescriptorPool.generated_pool
15
+
16
+ begin
17
+ pool.add_serialized_file(descriptor_data)
18
+ rescue TypeError => e
19
+ # Compatibility code: will be removed in the next major version.
20
+ require 'google/protobuf/descriptor_pb'
21
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
22
+ parsed.clear_dependency
23
+ serialized = parsed.class.encode(parsed)
24
+ file = pool.add_serialized_file(serialized)
25
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
26
+ imports = [
27
+ ["google.protobuf.FieldMask", "google/protobuf/field_mask.proto"],
28
+ ]
29
+ imports.each do |type_name, expected_filename|
30
+ import_file = pool.lookup(type_name).file_descriptor
31
+ if import_file.name != expected_filename
32
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
72
33
  end
73
34
  end
35
+ warn "Each proto file must use a consistent fully-qualified name."
36
+ warn "This will become an error in the next major version."
74
37
  end
75
38
 
76
39
  module Google
@@ -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.
@@ -81,7 +83,7 @@ module Google
81
83
  # long-running operation pattern.
82
84
  # @!attribute [rw] new_issue_uri
83
85
  # @return [::String]
84
- # Link to a place that API users can report issues. Example:
86
+ # Link to a *public* URI where users can report issues. Example:
85
87
  # https://issuetracker.google.com/issues/new?component=190865&template=1161103
86
88
  # @!attribute [rw] documentation_uri
87
89
  # @return [::String]
@@ -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
@@ -299,6 +353,15 @@ module Google
299
353
 
300
354
  # Street View Org.
301
355
  STREET_VIEW = 4
356
+
357
+ # Shopping Org.
358
+ SHOPPING = 5
359
+
360
+ # Geo Org.
361
+ GEO = 6
362
+
363
+ # Generative AI - https://developers.generativeai.google
364
+ GENERATIVE_AI = 7
302
365
  end
303
366
 
304
367
  # To where should client libraries be published?
@@ -43,8 +43,12 @@ module Google
43
43
  # if (any.is(Foo.class)) {
44
44
  # foo = any.unpack(Foo.class);
45
45
  # }
46
+ # // or ...
47
+ # if (any.isSameTypeAs(Foo.getDefaultInstance())) {
48
+ # foo = any.unpack(Foo.getDefaultInstance());
49
+ # }
46
50
  #
47
- # Example 3: Pack and unpack a message in Python.
51
+ # Example 3: Pack and unpack a message in Python.
48
52
  #
49
53
  # foo = Foo(...)
50
54
  # any = Any()
@@ -54,7 +58,7 @@ module Google
54
58
  # any.Unpack(foo)
55
59
  # ...
56
60
  #
57
- # Example 4: Pack and unpack a message in Go
61
+ # Example 4: Pack and unpack a message in Go
58
62
  #
59
63
  # foo := &pb.Foo{...}
60
64
  # any, err := anypb.New(foo)
@@ -73,9 +77,8 @@ module Google
73
77
  # in the type URL, for example "foo.bar.com/x/y.z" will yield type
74
78
  # name "y.z".
75
79
  #
76
- #
77
80
  # JSON
78
- #
81
+ # ====
79
82
  # The JSON representation of an `Any` value uses the regular
80
83
  # representation of the deserialized, embedded message, with an
81
84
  # additional field `@type` which contains the type URL. Example:
@@ -69,7 +69,6 @@ module Google
69
69
  # Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000)
70
70
  # .setNanos((int) ((millis % 1000) * 1000000)).build();
71
71
  #
72
- #
73
72
  # Example 5: Compute Timestamp from Java `Instant.now()`.
74
73
  #
75
74
  # Instant now = Instant.now();
@@ -78,7 +77,6 @@ module Google
78
77
  # Timestamp.newBuilder().setSeconds(now.getEpochSecond())
79
78
  # .setNanos(now.getNano()).build();
80
79
  #
81
- #
82
80
  # Example 6: Compute Timestamp from current time in Python.
83
81
  #
84
82
  # timestamp = Timestamp()
@@ -108,7 +106,7 @@ module Google
108
106
  # [`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with
109
107
  # the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use
110
108
  # the Joda Time's [`ISODateTimeFormat.dateTime()`](
111
- # http://www.joda.org/joda-time/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime%2D%2D
109
+ # http://joda-time.sourceforge.net/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime()
112
110
  # ) to obtain a formatter capable of generating timestamps in this format.
113
111
  # @!attribute [rw] seconds
114
112
  # @return [::Integer]
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-bare_metal_solution-v2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.4.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-03-08 00:00:00.000000000 Z
11
+ date: 2023-05-31 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.18.0
19
+ version: 0.19.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.18.0
29
+ version: 0.19.0
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a