google-cloud-bare_metal_solution-v2 1.3.0 → 1.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: cadb36ec2b1755b3640aa5de48cf09b7f46d91844a0dd31a5b2cbd0629d52e7f
4
- data.tar.gz: 68af4bf7178539c67ebf505bcea85431cf398e08ca16e4757aa2ea0ae48615fe
3
+ metadata.gz: e5144f6f4ec2b5c0f15714c7ef2bcaf6f29ac5a26db9d252e1a8fd64efb61ec8
4
+ data.tar.gz: ddc6521d1fd103d614465f98ed3cd604c8f22ca4bcdbf2406cb0da1cc1188694
5
5
  SHA512:
6
- metadata.gz: 1f149ebb3b615f7b9ec7f917457979cf2081bd8726a5fc547e99456c1f8edb46965a70ed1694e5651e5311bc0c40e751a72d56770d4f2b779a4582e1b0895d15
7
- data.tar.gz: 842e3fecdfbd6285d4396902456d7826a1411150aca6fe88f74e7eb70aa544ed5b7799a6ca8836f3e7c855fa92e068fccb7d6671d2c8b9fd24cc1533f152980f
6
+ metadata.gz: fb427bbe9bd7fa5626ffe18e382b637b0735b8e10b26a59f2294b69df9c62e8a746f58f74e9077195be4c854a662a18723a520461c3fc6a654214fd05275b990
7
+ data.tar.gz: 7120518354441f91e0213c0c354566b0a21c5a8310495c9a9ffa72680861c8b9944529779adc09253eca204dcbac1b2e75825f414c463cac649b7e1b327b50ef
@@ -4364,8 +4364,6 @@ module Google
4364
4364
  # @return [::String,nil]
4365
4365
  # @!attribute [rw] credentials
4366
4366
  # Credentials to send with calls. You may provide any of the following types:
4367
- # * (`String`) The path to a service account key file in JSON format
4368
- # * (`Hash`) A service account key as a Hash
4369
4367
  # * (`Google::Auth::Credentials`) A googleauth credentials object
4370
4368
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
4371
4369
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -4374,7 +4372,26 @@ module Google
4374
4372
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
4375
4373
  # * (`nil`) indicating no credentials
4376
4374
  #
4377
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
4375
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
4376
+ # is deprecated. Providing an unvalidated credential configuration to
4377
+ # Google APIs can compromise the security of your systems and data.
4378
+ #
4379
+ # @example
4380
+ #
4381
+ # # The recommended way to provide credentials is to use the `make_creds` method
4382
+ # # on the appropriate credentials class for your environment.
4383
+ #
4384
+ # require "googleauth"
4385
+ #
4386
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
4387
+ # json_key_io: ::File.open("/path/to/keyfile.json")
4388
+ # )
4389
+ #
4390
+ # client = ::Google::Cloud::BareMetalSolution::V2::BareMetalSolution::Client.new do |config|
4391
+ # config.credentials = credentials
4392
+ # end
4393
+ #
4394
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
4378
4395
  # external source for authentication to Google Cloud, you must validate it before
4379
4396
  # providing it to a Google API client library. Providing an unvalidated credential
4380
4397
  # configuration to Google APIs can compromise the security of your systems and data.
@@ -642,8 +642,6 @@ module Google
642
642
  # @return [::String,nil]
643
643
  # @!attribute [rw] credentials
644
644
  # Credentials to send with calls. You may provide any of the following types:
645
- # * (`String`) The path to a service account key file in JSON format
646
- # * (`Hash`) A service account key as a Hash
647
645
  # * (`Google::Auth::Credentials`) A googleauth credentials object
648
646
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
649
647
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -652,7 +650,26 @@ module Google
652
650
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
653
651
  # * (`nil`) indicating no credentials
654
652
  #
655
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
653
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
654
+ # is deprecated. Providing an unvalidated credential configuration to
655
+ # Google APIs can compromise the security of your systems and data.
656
+ #
657
+ # @example
658
+ #
659
+ # # The recommended way to provide credentials is to use the `make_creds` method
660
+ # # on the appropriate credentials class for your environment.
661
+ #
662
+ # require "googleauth"
663
+ #
664
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
665
+ # json_key_io: ::File.open("/path/to/keyfile.json")
666
+ # )
667
+ #
668
+ # client = ::Google::Longrunning::Operations::Client.new do |config|
669
+ # config.credentials = credentials
670
+ # end
671
+ #
672
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
656
673
  # external source for authentication to Google Cloud, you must validate it before
657
674
  # providing it to a Google API client library. Providing an unvalidated credential
658
675
  # configuration to Google APIs can compromise the security of your systems and data.
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module BareMetalSolution
23
23
  module V2
24
- VERSION = "1.3.0"
24
+ VERSION = "1.4.0"
25
25
  end
26
26
  end
27
27
  end
@@ -23,30 +23,8 @@ require 'google/protobuf/timestamp_pb'
23
23
 
24
24
  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/osimage.proto\x1a\x34google/cloud/baremetalsolution/v2/provisioning.proto\x1a/google/cloud/baremetalsolution/v2/ssh_key.proto\x1a.google/cloud/baremetalsolution/v2/volume.proto\x1a\x37google/cloud/baremetalsolution/v2/volume_snapshot.proto\x1a#google/longrunning/operations.proto\x1a\x1bgoogle/protobuf/empty.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\xbaK\n\x11\x42\x61reMetalSolution\x12\xc2\x01\n\rListInstances\x12\x37.google.cloud.baremetalsolution.v2.ListInstancesRequest\x1a\x38.google.cloud.baremetalsolution.v2.ListInstancesResponse\">\xda\x41\x06parent\x82\xd3\xe4\x93\x02/\x12-/v2/{parent=projects/*/locations/*}/instances\x12\xaf\x01\n\x0bGetInstance\x12\x35.google.cloud.baremetalsolution.v2.GetInstanceRequest\x1a+.google.cloud.baremetalsolution.v2.Instance\"<\xda\x41\x04name\x82\xd3\xe4\x93\x02/\x12-/v2/{name=projects/*/locations/*/instances/*}\x12\xea\x01\n\x0eUpdateInstance\x12\x38.google.cloud.baremetalsolution.v2.UpdateInstanceRequest\x1a\x1d.google.longrunning.Operation\"\x7f\xca\x41\x1d\n\x08Instance\x12\x11OperationMetadata\xda\x41\x14instance,update_mask\x82\xd3\xe4\x93\x02\x42\x32\x36/v2/{instance.name=projects/*/locations/*/instances/*}:\x08instance\x12\xcf\x01\n\x0eRenameInstance\x12\x38.google.cloud.baremetalsolution.v2.RenameInstanceRequest\x1a+.google.cloud.baremetalsolution.v2.Instance\"V\xda\x41\x14name,new_instance_id\x82\xd3\xe4\x93\x02\x39\"4/v2/{name=projects/*/locations/*/instances/*}:rename:\x01*\x12\xdb\x01\n\rResetInstance\x12\x37.google.cloud.baremetalsolution.v2.ResetInstanceRequest\x1a\x1d.google.longrunning.Operation\"r\xca\x41*\n\x15ResetInstanceResponse\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02\x38\"3/v2/{name=projects/*/locations/*/instances/*}:reset:\x01*\x12\xdb\x01\n\rStartInstance\x12\x37.google.cloud.baremetalsolution.v2.StartInstanceRequest\x1a\x1d.google.longrunning.Operation\"r\xca\x41*\n\x15StartInstanceResponse\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02\x38\"3/v2/{name=projects/*/locations/*/instances/*}:start:\x01*\x12\xd7\x01\n\x0cStopInstance\x12\x36.google.cloud.baremetalsolution.v2.StopInstanceRequest\x1a\x1d.google.longrunning.Operation\"p\xca\x41)\n\x14StopInstanceResponse\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02\x37\"2/v2/{name=projects/*/locations/*/instances/*}:stop:\x01*\x12\xa8\x02\n\x1e\x45nableInteractiveSerialConsole\x12H.google.cloud.baremetalsolution.v2.EnableInteractiveSerialConsoleRequest\x1a\x1d.google.longrunning.Operation\"\x9c\x01\xca\x41;\n&EnableInteractiveSerialConsoleResponse\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02Q\"L/v2/{name=projects/*/locations/*/instances/*}:enableInteractiveSerialConsole:\x01*\x12\xac\x02\n\x1f\x44isableInteractiveSerialConsole\x12I.google.cloud.baremetalsolution.v2.DisableInteractiveSerialConsoleRequest\x1a\x1d.google.longrunning.Operation\"\x9e\x01\xca\x41<\n\'DisableInteractiveSerialConsoleResponse\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02R\"M/v2/{name=projects/*/locations/*/instances/*}:disableInteractiveSerialConsole:\x01*\x12\xd6\x01\n\tDetachLun\x12\x33.google.cloud.baremetalsolution.v2.DetachLunRequest\x1a\x1d.google.longrunning.Operation\"u\xca\x41\x1d\n\x08Instance\x12\x11OperationMetadata\xda\x41\x0cinstance,lun\x82\xd3\xe4\x93\x02@\";/v2/{instance=projects/*/locations/*/instances/*}:detachLun:\x01*\x12\xba\x01\n\x0bListSSHKeys\x12\x35.google.cloud.baremetalsolution.v2.ListSSHKeysRequest\x1a\x36.google.cloud.baremetalsolution.v2.ListSSHKeysResponse\"<\xda\x41\x06parent\x82\xd3\xe4\x93\x02-\x12+/v2/{parent=projects/*/locations/*}/sshKeys\x12\xcb\x01\n\x0c\x43reateSSHKey\x12\x36.google.cloud.baremetalsolution.v2.CreateSSHKeyRequest\x1a).google.cloud.baremetalsolution.v2.SSHKey\"X\xda\x41\x19parent,ssh_key,ssh_key_id\x82\xd3\xe4\x93\x02\x36\"+/v2/{parent=projects/*/locations/*}/sshKeys:\x07ssh_key\x12\x9a\x01\n\x0c\x44\x65leteSSHKey\x12\x36.google.cloud.baremetalsolution.v2.DeleteSSHKeyRequest\x1a\x16.google.protobuf.Empty\":\xda\x41\x04name\x82\xd3\xe4\x93\x02-*+/v2/{name=projects/*/locations/*/sshKeys/*}\x12\xba\x01\n\x0bListVolumes\x12\x35.google.cloud.baremetalsolution.v2.ListVolumesRequest\x1a\x36.google.cloud.baremetalsolution.v2.ListVolumesResponse\"<\xda\x41\x06parent\x82\xd3\xe4\x93\x02-\x12+/v2/{parent=projects/*/locations/*}/volumes\x12\xa7\x01\n\tGetVolume\x12\x33.google.cloud.baremetalsolution.v2.GetVolumeRequest\x1a).google.cloud.baremetalsolution.v2.Volume\":\xda\x41\x04name\x82\xd3\xe4\x93\x02-\x12+/v2/{name=projects/*/locations/*/volumes/*}\x12\xdc\x01\n\x0cUpdateVolume\x12\x36.google.cloud.baremetalsolution.v2.UpdateVolumeRequest\x1a\x1d.google.longrunning.Operation\"u\xca\x41\x1b\n\x06Volume\x12\x11OperationMetadata\xda\x41\x12volume,update_mask\x82\xd3\xe4\x93\x02<22/v2/{volume.name=projects/*/locations/*/volumes/*}:\x06volume\x12\xc5\x01\n\x0cRenameVolume\x12\x36.google.cloud.baremetalsolution.v2.RenameVolumeRequest\x1a).google.cloud.baremetalsolution.v2.Volume\"R\xda\x41\x12name,new_volume_id\x82\xd3\xe4\x93\x02\x37\"2/v2/{name=projects/*/locations/*/volumes/*}:rename:\x01*\x12\xd5\x01\n\x0b\x45victVolume\x12\x35.google.cloud.baremetalsolution.v2.EvictVolumeRequest\x1a\x1d.google.longrunning.Operation\"p\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02\x36\"1/v2/{name=projects/*/locations/*/volumes/*}:evict:\x01*\x12\xd6\x01\n\x0cResizeVolume\x12\x36.google.cloud.baremetalsolution.v2.ResizeVolumeRequest\x1a\x1d.google.longrunning.Operation\"o\xca\x41\x1b\n\x06Volume\x12\x11OperationMetadata\xda\x41\x0fvolume,size_gib\x82\xd3\xe4\x93\x02\x39\"4/v2/{volume=projects/*/locations/*/volumes/*}:resize:\x01*\x12\xbe\x01\n\x0cListNetworks\x12\x36.google.cloud.baremetalsolution.v2.ListNetworksRequest\x1a\x37.google.cloud.baremetalsolution.v2.ListNetworksResponse\"=\xda\x41\x06parent\x82\xd3\xe4\x93\x02.\x12,/v2/{parent=projects/*/locations/*}/networks\x12\xdf\x01\n\x10ListNetworkUsage\x12:.google.cloud.baremetalsolution.v2.ListNetworkUsageRequest\x1a;.google.cloud.baremetalsolution.v2.ListNetworkUsageResponse\"R\xda\x41\x08location\x82\xd3\xe4\x93\x02\x41\x12?/v2/{location=projects/*/locations/*}/networks:listNetworkUsage\x12\xab\x01\n\nGetNetwork\x12\x34.google.cloud.baremetalsolution.v2.GetNetworkRequest\x1a*.google.cloud.baremetalsolution.v2.Network\";\xda\x41\x04name\x82\xd3\xe4\x93\x02.\x12,/v2/{name=projects/*/locations/*/networks/*}\x12\xe3\x01\n\rUpdateNetwork\x12\x37.google.cloud.baremetalsolution.v2.UpdateNetworkRequest\x1a\x1d.google.longrunning.Operation\"z\xca\x41\x1c\n\x07Network\x12\x11OperationMetadata\xda\x41\x13network,update_mask\x82\xd3\xe4\x93\x02?24/v2/{network.name=projects/*/locations/*/networks/*}:\x07network\x12\xf4\x01\n\x14\x43reateVolumeSnapshot\x12>.google.cloud.baremetalsolution.v2.CreateVolumeSnapshotRequest\x1a\x31.google.cloud.baremetalsolution.v2.VolumeSnapshot\"i\xda\x41\x16parent,volume_snapshot\x82\xd3\xe4\x93\x02J\"7/v2/{parent=projects/*/locations/*/volumes/*}/snapshots:\x0fvolume_snapshot\x12\x95\x02\n\x15RestoreVolumeSnapshot\x12?.google.cloud.baremetalsolution.v2.RestoreVolumeSnapshotRequest\x1a\x1d.google.longrunning.Operation\"\x9b\x01\xca\x41#\n\x0eVolumeSnapshot\x12\x11OperationMetadata\xda\x41\x0fvolume_snapshot\x82\xd3\xe4\x93\x02]\"X/v2/{volume_snapshot=projects/*/locations/*/volumes/*/snapshots/*}:restoreVolumeSnapshot:\x01*\x12\xb6\x01\n\x14\x44\x65leteVolumeSnapshot\x12>.google.cloud.baremetalsolution.v2.DeleteVolumeSnapshotRequest\x1a\x16.google.protobuf.Empty\"F\xda\x41\x04name\x82\xd3\xe4\x93\x02\x39*7/v2/{name=projects/*/locations/*/volumes/*/snapshots/*}\x12\xcb\x01\n\x11GetVolumeSnapshot\x12;.google.cloud.baremetalsolution.v2.GetVolumeSnapshotRequest\x1a\x31.google.cloud.baremetalsolution.v2.VolumeSnapshot\"F\xda\x41\x04name\x82\xd3\xe4\x93\x02\x39\x12\x37/v2/{name=projects/*/locations/*/volumes/*/snapshots/*}\x12\xde\x01\n\x13ListVolumeSnapshots\x12=.google.cloud.baremetalsolution.v2.ListVolumeSnapshotsRequest\x1a>.google.cloud.baremetalsolution.v2.ListVolumeSnapshotsResponse\"H\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x39\x12\x37/v2/{parent=projects/*/locations/*/volumes/*}/snapshots\x12\xa5\x01\n\x06GetLun\x12\x30.google.cloud.baremetalsolution.v2.GetLunRequest\x1a&.google.cloud.baremetalsolution.v2.Lun\"A\xda\x41\x04name\x82\xd3\xe4\x93\x02\x34\x12\x32/v2/{name=projects/*/locations/*/volumes/*/luns/*}\x12\xb8\x01\n\x08ListLuns\x12\x32.google.cloud.baremetalsolution.v2.ListLunsRequest\x1a\x33.google.cloud.baremetalsolution.v2.ListLunsResponse\"C\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x34\x12\x32/v2/{parent=projects/*/locations/*/volumes/*}/luns\x12\xd6\x01\n\x08\x45victLun\x12\x32.google.cloud.baremetalsolution.v2.EvictLunRequest\x1a\x1d.google.longrunning.Operation\"w\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02=\"8/v2/{name=projects/*/locations/*/volumes/*/luns/*}:evict:\x01*\x12\xaf\x01\n\x0bGetNfsShare\x12\x35.google.cloud.baremetalsolution.v2.GetNfsShareRequest\x1a+.google.cloud.baremetalsolution.v2.NfsShare\"<\xda\x41\x04name\x82\xd3\xe4\x93\x02/\x12-/v2/{name=projects/*/locations/*/nfsShares/*}\x12\xc2\x01\n\rListNfsShares\x12\x37.google.cloud.baremetalsolution.v2.ListNfsSharesRequest\x1a\x38.google.cloud.baremetalsolution.v2.ListNfsSharesResponse\">\xda\x41\x06parent\x82\xd3\xe4\x93\x02/\x12-/v2/{parent=projects/*/locations/*}/nfsShares\x12\xee\x01\n\x0eUpdateNfsShare\x12\x38.google.cloud.baremetalsolution.v2.UpdateNfsShareRequest\x1a\x1d.google.longrunning.Operation\"\x82\x01\xca\x41\x1d\n\x08NfsShare\x12\x11OperationMetadata\xda\x41\x15nfs_share,update_mask\x82\xd3\xe4\x93\x02\x44\x32\x37/v2/{nfs_share.name=projects/*/locations/*/nfsShares/*}:\tnfs_share\x12\xde\x01\n\x0e\x43reateNfsShare\x12\x38.google.cloud.baremetalsolution.v2.CreateNfsShareRequest\x1a\x1d.google.longrunning.Operation\"s\xca\x41\x1d\n\x08NfsShare\x12\x11OperationMetadata\xda\x41\x10parent,nfs_share\x82\xd3\xe4\x93\x02:\"-/v2/{parent=projects/*/locations/*}/nfsShares:\tnfs_share\x12\xcf\x01\n\x0eRenameNfsShare\x12\x38.google.cloud.baremetalsolution.v2.RenameNfsShareRequest\x1a+.google.cloud.baremetalsolution.v2.NfsShare\"V\xda\x41\x14name,new_nfsshare_id\x82\xd3\xe4\x93\x02\x39\"4/v2/{name=projects/*/locations/*/nfsShares/*}:rename:\x01*\x12\xd4\x01\n\x0e\x44\x65leteNfsShare\x12\x38.google.cloud.baremetalsolution.v2.DeleteNfsShareRequest\x1a\x1d.google.longrunning.Operation\"i\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02/*-/v2/{name=projects/*/locations/*/nfsShares/*}\x12\xe6\x01\n\x16ListProvisioningQuotas\x12@.google.cloud.baremetalsolution.v2.ListProvisioningQuotasRequest\x1a\x41.google.cloud.baremetalsolution.v2.ListProvisioningQuotasResponse\"G\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x38\x12\x36/v2/{parent=projects/*/locations/*}/provisioningQuotas\x12\x8b\x02\n\x18SubmitProvisioningConfig\x12\x42.google.cloud.baremetalsolution.v2.SubmitProvisioningConfigRequest\x1a\x43.google.cloud.baremetalsolution.v2.SubmitProvisioningConfigResponse\"f\xda\x41\x1aparent,provisioning_config\x82\xd3\xe4\x93\x02\x43\">/v2/{parent=projects/*/locations/*}/provisioningConfigs:submit:\x01*\x12\xd7\x01\n\x15GetProvisioningConfig\x12?.google.cloud.baremetalsolution.v2.GetProvisioningConfigRequest\x1a\x35.google.cloud.baremetalsolution.v2.ProvisioningConfig\"F\xda\x41\x04name\x82\xd3\xe4\x93\x02\x39\x12\x37/v2/{name=projects/*/locations/*/provisioningConfigs/*}\x12\x88\x02\n\x18\x43reateProvisioningConfig\x12\x42.google.cloud.baremetalsolution.v2.CreateProvisioningConfigRequest\x1a\x35.google.cloud.baremetalsolution.v2.ProvisioningConfig\"q\xda\x41\x1aparent,provisioning_config\x82\xd3\xe4\x93\x02N\"7/v2/{parent=projects/*/locations/*}/provisioningConfigs:\x13provisioning_config\x12\xa2\x02\n\x18UpdateProvisioningConfig\x12\x42.google.cloud.baremetalsolution.v2.UpdateProvisioningConfigRequest\x1a\x35.google.cloud.baremetalsolution.v2.ProvisioningConfig\"\x8a\x01\xda\x41\x1fprovisioning_config,update_mask\x82\xd3\xe4\x93\x02\x62\x32K/v2/{provisioning_config.name=projects/*/locations/*/provisioningConfigs/*}:\x13provisioning_config\x12\xca\x01\n\rRenameNetwork\x12\x37.google.cloud.baremetalsolution.v2.RenameNetworkRequest\x1a*.google.cloud.baremetalsolution.v2.Network\"T\xda\x41\x13name,new_network_id\x82\xd3\xe4\x93\x02\x38\"3/v2/{name=projects/*/locations/*/networks/*}:rename:\x01*\x12\xbe\x01\n\x0cListOSImages\x12\x36.google.cloud.baremetalsolution.v2.ListOSImagesRequest\x1a\x37.google.cloud.baremetalsolution.v2.ListOSImagesResponse\"=\xda\x41\x06parent\x82\xd3\xe4\x93\x02.\x12,/v2/{parent=projects/*/locations/*}/osImages\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"
25
25
 
26
- pool = Google::Protobuf::DescriptorPool.generated_pool
27
-
28
- begin
29
- pool.add_serialized_file(descriptor_data)
30
- rescue TypeError
31
- # Compatibility code: will be removed in the next major version.
32
- require 'google/protobuf/descriptor_pb'
33
- parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
34
- parsed.clear_dependency
35
- serialized = parsed.class.encode(parsed)
36
- file = pool.add_serialized_file(serialized)
37
- warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
38
- imports = [
39
- ["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
40
- ]
41
- imports.each do |type_name, expected_filename|
42
- import_file = pool.lookup(type_name).file_descriptor
43
- if import_file.name != expected_filename
44
- warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
45
- end
46
- end
47
- warn "Each proto file must use a consistent fully-qualified name."
48
- warn "This will become an error in the next major version."
49
- end
26
+ pool = ::Google::Protobuf::DescriptorPool.generated_pool
27
+ pool.add_serialized_file(descriptor_data)
50
28
 
51
29
  module Google
52
30
  module Cloud
@@ -7,29 +7,8 @@ require 'google/protobuf'
7
7
 
8
8
  descriptor_data = "\n.google/cloud/baremetalsolution/v2/common.proto\x12!google.cloud.baremetalsolution.v2*\xaa\x01\n\x15VolumePerformanceTier\x12\'\n#VOLUME_PERFORMANCE_TIER_UNSPECIFIED\x10\x00\x12\"\n\x1eVOLUME_PERFORMANCE_TIER_SHARED\x10\x01\x12$\n VOLUME_PERFORMANCE_TIER_ASSIGNED\x10\x02\x12\x1e\n\x1aVOLUME_PERFORMANCE_TIER_HT\x10\x03*l\n\x0fWorkloadProfile\x12 \n\x1cWORKLOAD_PROFILE_UNSPECIFIED\x10\x00\x12\x1c\n\x18WORKLOAD_PROFILE_GENERIC\x10\x01\x12\x19\n\x15WORKLOAD_PROFILE_HANA\x10\x02\x42\xfa\x01\n%com.google.cloud.baremetalsolution.v2B\x0b\x43ommonProtoP\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"
9
9
 
10
- pool = Google::Protobuf::DescriptorPool.generated_pool
11
-
12
- begin
13
- pool.add_serialized_file(descriptor_data)
14
- rescue TypeError
15
- # Compatibility code: will be removed in the next major version.
16
- require 'google/protobuf/descriptor_pb'
17
- parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
18
- parsed.clear_dependency
19
- serialized = parsed.class.encode(parsed)
20
- file = pool.add_serialized_file(serialized)
21
- warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
22
- imports = [
23
- ]
24
- imports.each do |type_name, expected_filename|
25
- import_file = pool.lookup(type_name).file_descriptor
26
- if import_file.name != expected_filename
27
- warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
28
- end
29
- end
30
- warn "Each proto file must use a consistent fully-qualified name."
31
- warn "This will become an error in the next major version."
32
- end
10
+ pool = ::Google::Protobuf::DescriptorPool.generated_pool
11
+ pool.add_serialized_file(descriptor_data)
33
12
 
34
13
  module Google
35
14
  module Cloud
@@ -16,34 +16,8 @@ require 'google/protobuf/timestamp_pb'
16
16
 
17
17
  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/common.proto\x1a+google/cloud/baremetalsolution/v2/lun.proto\x1a/google/cloud/baremetalsolution/v2/network.proto\x1a.google/cloud/baremetalsolution/v2/volume.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xc9\t\n\x08Instance\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x05\x12\x0f\n\x02id\x18\x0b \x01(\tB\x03\xe0\x41\x03\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\x19\n\x0cmachine_type\x18\x04 \x01(\tB\x03\xe0\x41\x05\x12\x45\n\x05state\x18\x05 \x01(\x0e\x32\x31.google.cloud.baremetalsolution.v2.Instance.StateB\x03\xe0\x41\x03\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\x39\n\x04luns\x18\x08 \x03(\x0b\x32&.google.cloud.baremetalsolution.v2.LunB\x03\xe0\x41\x05\x12?\n\x07volumes\x18\x10 \x03(\x0b\x32).google.cloud.baremetalsolution.v2.VolumeB\x03\xe0\x41\x04\x12\x41\n\x08networks\x18\t \x03(\x0b\x32*.google.cloud.baremetalsolution.v2.NetworkB\x03\xe0\x41\x03\x12/\n\"interactive_serial_console_enabled\x18\n \x01(\x08\x42\x03\xe0\x41\x03\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\x12\x17\n\nlogin_info\x18\x11 \x01(\tB\x03\xe0\x41\x03\x12L\n\x10workload_profile\x18\x12 \x01(\x0e\x32\x32.google.cloud.baremetalsolution.v2.WorkloadProfile\x12\x1d\n\x10\x66irmware_version\x18\x13 \x01(\tB\x03\xe0\x41\x03\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x82\x01\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\x12\x0c\n\x08UPDATING\x10\x04\x12\x0c\n\x08STARTING\x10\x05\x12\x0c\n\x08STOPPING\x10\x06\x12\x0c\n\x08SHUTDOWN\x10\x07: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\"v\n\x15RenameInstanceRequest\x12?\n\x04name\x18\x01 \x01(\tB1\xe0\x41\x02\xfa\x41+\n)baremetalsolution.googleapis.com/Instance\x12\x1c\n\x0fnew_instance_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\"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\"\x17\n\x15StartInstanceResponse\"V\n\x13StopInstanceRequest\x12?\n\x04name\x18\x01 \x01(\tB1\xe0\x41\x02\xfa\x41+\n)baremetalsolution.googleapis.com/Instance\"\x16\n\x14StopInstanceResponse\"h\n%EnableInteractiveSerialConsoleRequest\x12?\n\x04name\x18\x01 \x01(\tB1\xe0\x41\x02\xfa\x41+\n)baremetalsolution.googleapis.com/Instance\"(\n&EnableInteractiveSerialConsoleResponse\"i\n&DisableInteractiveSerialConsoleRequest\x12?\n\x04name\x18\x01 \x01(\tB1\xe0\x41\x02\xfa\x41+\n)baremetalsolution.googleapis.com/Instance\")\n\'DisableInteractiveSerialConsoleResponse\"\xa7\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\x12\x13\n\x0bskip_reboot\x18\x03 \x01(\x08\"\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}B\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"
18
18
 
19
- pool = Google::Protobuf::DescriptorPool.generated_pool
20
-
21
- begin
22
- pool.add_serialized_file(descriptor_data)
23
- rescue TypeError
24
- # Compatibility code: will be removed in the next major version.
25
- require 'google/protobuf/descriptor_pb'
26
- parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
27
- parsed.clear_dependency
28
- serialized = parsed.class.encode(parsed)
29
- file = pool.add_serialized_file(serialized)
30
- warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
31
- imports = [
32
- ["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
33
- ["google.cloud.baremetalsolution.v2.Lun", "google/cloud/baremetalsolution/v2/lun.proto"],
34
- ["google.cloud.baremetalsolution.v2.Volume", "google/cloud/baremetalsolution/v2/volume.proto"],
35
- ["google.cloud.baremetalsolution.v2.Network", "google/cloud/baremetalsolution/v2/network.proto"],
36
- ["google.protobuf.FieldMask", "google/protobuf/field_mask.proto"],
37
- ]
38
- imports.each do |type_name, expected_filename|
39
- import_file = pool.lookup(type_name).file_descriptor
40
- if import_file.name != expected_filename
41
- warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
42
- end
43
- end
44
- warn "Each proto file must use a consistent fully-qualified name."
45
- warn "This will become an error in the next major version."
46
- end
19
+ pool = ::Google::Protobuf::DescriptorPool.generated_pool
20
+ pool.add_serialized_file(descriptor_data)
47
21
 
48
22
  module Google
49
23
  module Cloud
@@ -11,30 +11,8 @@ require 'google/protobuf/timestamp_pb'
11
11
 
12
12
  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\x1a\x1fgoogle/protobuf/timestamp.proto\"\xdd\x06\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\x12\x34\n\x0b\x65xpire_time\x18\x0b \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x44\n\tinstances\x18\x0c \x03(\tB1\xe0\x41\x03\xfa\x41+\n)baremetalsolution.googleapis.com/Instance\"a\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\x12\x0c\n\x08\x43OOL_OFF\x10\x05\"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(\t\"M\n\x0f\x45victLunRequest\x12:\n\x04name\x18\x01 \x01(\tB,\xe0\x41\x02\xfa\x41&\n$baremetalsolution.googleapis.com/LunB\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"
13
13
 
14
- pool = Google::Protobuf::DescriptorPool.generated_pool
15
-
16
- begin
17
- pool.add_serialized_file(descriptor_data)
18
- rescue TypeError
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.Timestamp", "google/protobuf/timestamp.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}"
33
- end
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."
37
- end
14
+ pool = ::Google::Protobuf::DescriptorPool.generated_pool
15
+ pool.add_serialized_file(descriptor_data)
38
16
 
39
17
  module Google
40
18
  module Cloud
@@ -11,30 +11,8 @@ require 'google/protobuf/field_mask_pb'
11
11
 
12
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\"\xa8\x07\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\x12\x10\n\x03pod\x18\x0e \x01(\tB\x03\xe0\x41\x03\x12O\n\x0cmount_points\x18\x0f \x03(\x0b\x32\x34.google.cloud.baremetalsolution.v2.NetworkMountPointB\x03\xe0\x41\x04\x12\x1c\n\x14jumbo_frames_enabled\x18\x10 \x01(\x08\x12\x17\n\ngateway_ip\x18\x11 \x01(\tB\x03\xe0\x41\x03\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\"c\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x10\n\x0cPROVISIONING\x10\x01\x12\x0f\n\x0bPROVISIONED\x10\x02\x12\x12\n\x0e\x44\x45PROVISIONING\x10\x03\x12\x0c\n\x08UPDATING\x10\x04: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\"\xe5\x04\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\x1a\x93\x02\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\x12\x18\n\x0bpairing_key\x18\x04 \x01(\tB\x03\xe0\x41\x04\x12\x44\n\nqos_policy\x18\x05 \x01(\x0b\x32\x30.google.cloud.baremetalsolution.v2.VRF.QosPolicy\x12\x0f\n\x02id\x18\x06 \x01(\tB\x03\xe0\x41\x05\x12V\n\x17interconnect_attachment\x18\x07 \x01(\tB5\xe0\x41\x01\xfa\x41/\n-compute.googleapis.com/InterconnectAttachment\"A\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x10\n\x0cPROVISIONING\x10\x01\x12\x0f\n\x0bPROVISIONED\x10\x02\"\xdb\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\x1b\n\x0finterface_index\x18\x03 \x01(\x05\x42\x02\x18\x01\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.NetworkUsage\"\x9d\x01\n\x11NetworkMountPoint\x12@\n\x08instance\x18\x01 \x01(\tB.\xfa\x41+\n)baremetalsolution.googleapis.com/Instance\x12\x19\n\x11logical_interface\x18\x02 \x01(\t\x12\x17\n\x0f\x64\x65\x66\x61ult_gateway\x18\x03 \x01(\x08\x12\x12\n\nip_address\x18\x04 \x01(\t\"s\n\x14RenameNetworkRequest\x12>\n\x04name\x18\x01 \x01(\tB0\xe0\x41\x02\xfa\x41*\n(baremetalsolution.googleapis.com/Network\x12\x1b\n\x0enew_network_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x42\x85\x03\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::V2\xea\x41\x86\x01\n-compute.googleapis.com/InterconnectAttachment\x12Uprojects/{project}/regions/{region}/interconnectAttachments/{interconnect_attachment}b\x06proto3"
13
13
 
14
- pool = Google::Protobuf::DescriptorPool.generated_pool
15
-
16
- begin
17
- pool.add_serialized_file(descriptor_data)
18
- rescue TypeError
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}"
33
- end
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."
37
- end
14
+ pool = ::Google::Protobuf::DescriptorPool.generated_pool
15
+ pool.add_serialized_file(descriptor_data)
38
16
 
39
17
  module Google
40
18
  module Cloud
@@ -11,30 +11,8 @@ require 'google/protobuf/field_mask_pb'
11
11
 
12
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\"\x9d\t\n\x08NfsShare\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x05\x12\x19\n\x0cnfs_share_id\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12\x0f\n\x02id\x18\x08 \x01(\tB\x03\xe0\x41\x03\x12\x45\n\x05state\x18\x03 \x01(\x0e\x32\x31.google.cloud.baremetalsolution.v2.NfsShare.StateB\x03\xe0\x41\x03\x12?\n\x06volume\x18\x04 \x01(\tB/\xe0\x41\x03\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\x12\x1a\n\x12requested_size_gib\x18\x07 \x01(\x03\x12R\n\x0cstorage_type\x18\t \x01(\x0e\x32\x37.google.cloud.baremetalsolution.v2.NfsShare.StorageTypeB\x03\xe0\x41\x05\x1a\xb3\x02\n\rAllowedClient\x12>\n\x07network\x18\x01 \x01(\tB-\xfa\x41*\n(baremetalsolution.googleapis.com/Network\x12\x15\n\x08share_ip\x18\x02 \x01(\tB\x03\xe0\x41\x03\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\x12\x15\n\x08nfs_path\x18\x08 \x01(\tB\x03\xe0\x41\x03\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"Y\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0f\n\x0bPROVISIONED\x10\x01\x12\x0c\n\x08\x43REATING\x10\x02\x12\x0c\n\x08UPDATING\x10\x03\x12\x0c\n\x08\x44\x45LETING\x10\x04\"O\n\x10MountPermissions\x12!\n\x1dMOUNT_PERMISSIONS_UNSPECIFIED\x10\x00\x12\x08\n\x04READ\x10\x01\x12\x0e\n\nREAD_WRITE\x10\x02\"=\n\x0bStorageType\x12\x1c\n\x18STORAGE_TYPE_UNSPECIFIED\x10\x00\x12\x07\n\x03SSD\x10\x01\x12\x07\n\x03HDD\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.FieldMask\"v\n\x15RenameNfsShareRequest\x12?\n\x04name\x18\x01 \x01(\tB1\xe0\x41\x02\xfa\x41+\n)baremetalsolution.googleapis.com/NFSShare\x12\x1c\n\x0fnew_nfsshare_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\"\x97\x01\n\x15\x43reateNfsShareRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12\x43\n\tnfs_share\x18\x02 \x01(\x0b\x32+.google.cloud.baremetalsolution.v2.NfsShareB\x03\xe0\x41\x02\"X\n\x15\x44\x65leteNfsShareRequest\x12?\n\x04name\x18\x01 \x01(\tB1\xe0\x41\x02\xfa\x41+\n)baremetalsolution.googleapis.com/NFSShareB\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
13
 
14
- pool = Google::Protobuf::DescriptorPool.generated_pool
15
-
16
- begin
17
- pool.add_serialized_file(descriptor_data)
18
- rescue TypeError
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}"
33
- end
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."
37
- end
14
+ pool = ::Google::Protobuf::DescriptorPool.generated_pool
15
+ pool.add_serialized_file(descriptor_data)
38
16
 
39
17
  module Google
40
18
  module Cloud
@@ -10,29 +10,8 @@ require 'google/api/resource_pb'
10
10
 
11
11
  descriptor_data = "\n/google/cloud/baremetalsolution/v2/osimage.proto\x12!google.cloud.baremetalsolution.v2\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\"\x86\x02\n\x07OSImage\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x0c\n\x04\x63ode\x18\x02 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\x12!\n\x19\x61pplicable_instance_types\x18\x04 \x03(\t\x12#\n\x1bsupported_network_templates\x18\x05 \x03(\t:}\xea\x41z\n(baremetalsolution.googleapis.com/OsImage\x12;projects/{project}/locations/{location}/osImages/{os_image}*\x08osImages2\x07osImage\"w\n\x13ListOSImagesRequest\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\"n\n\x14ListOSImagesResponse\x12=\n\tos_images\x18\x01 \x03(\x0b\x32*.google.cloud.baremetalsolution.v2.OSImage\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\tB\xfb\x01\n%com.google.cloud.baremetalsolution.v2B\x0cOsImageProtoP\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
12
 
13
- pool = Google::Protobuf::DescriptorPool.generated_pool
14
-
15
- begin
16
- pool.add_serialized_file(descriptor_data)
17
- rescue TypeError
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}"
31
- end
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."
35
- end
13
+ pool = ::Google::Protobuf::DescriptorPool.generated_pool
14
+ pool.add_serialized_file(descriptor_data)
36
15
 
37
16
  module Google
38
17
  module Cloud
@@ -14,32 +14,8 @@ require 'google/protobuf/timestamp_pb'
14
14
 
15
15
  descriptor_data = "\n4google/cloud/baremetalsolution/v2/provisioning.proto\x12!google.cloud.baremetalsolution.v2\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a.google/cloud/baremetalsolution/v2/common.proto\x1a/google/cloud/baremetalsolution/v2/network.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xd8\x06\n\x12ProvisioningConfig\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x44\n\tinstances\x18\x02 \x03(\x0b\x32\x31.google.cloud.baremetalsolution.v2.InstanceConfig\x12\x42\n\x08networks\x18\x03 \x03(\x0b\x32\x30.google.cloud.baremetalsolution.v2.NetworkConfig\x12@\n\x07volumes\x18\x04 \x03(\x0b\x32/.google.cloud.baremetalsolution.v2.VolumeConfig\x12\x11\n\tticket_id\x18\x05 \x01(\t\x12 \n\x18handover_service_account\x18\x06 \x01(\t\x12\x11\n\x05\x65mail\x18\x07 \x01(\tB\x02\x18\x01\x12O\n\x05state\x18\x08 \x01(\x0e\x32;.google.cloud.baremetalsolution.v2.ProvisioningConfig.StateB\x03\xe0\x41\x03\x12\x15\n\x08location\x18\t \x01(\tB\x03\xe0\x41\x01\x12\x34\n\x0bupdate_time\x18\n \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x1e\n\x11\x63loud_console_uri\x18\x0b \x01(\tB\x03\xe0\x41\x03\x12\x16\n\x0evpc_sc_enabled\x18\x0c \x01(\x08\x12\x16\n\x0estatus_message\x18\r \x01(\t\x12\x16\n\tcustom_id\x18\x0e \x01(\tB\x03\xe0\x41\x01\"\x85\x01\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\t\n\x05\x44RAFT\x10\x01\x12\r\n\tSUBMITTED\x10\x02\x12\x10\n\x0cPROVISIONING\x10\x03\x12\x0f\n\x0bPROVISIONED\x10\x04\x12\r\n\tVALIDATED\x10\x05\x12\r\n\tCANCELLED\x10\x06\x12\n\n\x06\x46\x41ILED\x10\x07:\x8c\x01\xea\x41\x88\x01\n3baremetalsolution.googleapis.com/ProvisioningConfig\x12Qprojects/{project}/locations/{location}/provisioningConfigs/{provisioning_config}\"\xc9\x01\n\x1fSubmitProvisioningConfigRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12W\n\x13provisioning_config\x18\x02 \x01(\x0b\x32\x35.google.cloud.baremetalsolution.v2.ProvisioningConfigB\x03\xe0\x41\x02\x12\x12\n\x05\x65mail\x18\x03 \x01(\tB\x03\xe0\x41\x01\"v\n SubmitProvisioningConfigResponse\x12R\n\x13provisioning_config\x18\x01 \x01(\x0b\x32\x35.google.cloud.baremetalsolution.v2.ProvisioningConfig\"\xe7\x04\n\x11ProvisioningQuota\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12R\n\nasset_type\x18\x02 \x01(\x0e\x32>.google.cloud.baremetalsolution.v2.ProvisioningQuota.AssetType\x12\x13\n\x0bgcp_service\x18\x03 \x01(\t\x12\x10\n\x08location\x18\x04 \x01(\t\x12\x17\n\x0f\x61vailable_count\x18\x05 \x01(\x05\x12J\n\x0einstance_quota\x18\x06 \x01(\x0b\x32\x30.google.cloud.baremetalsolution.v2.InstanceQuotaH\x00\x12\x16\n\x0cserver_count\x18\x07 \x01(\x03H\x01\x12\x1b\n\x11network_bandwidth\x18\x08 \x01(\x03H\x01\x12\x15\n\x0bstorage_gib\x18\t \x01(\x03H\x01\"n\n\tAssetType\x12\x1a\n\x16\x41SSET_TYPE_UNSPECIFIED\x10\x00\x12\x15\n\x11\x41SSET_TYPE_SERVER\x10\x01\x12\x16\n\x12\x41SSET_TYPE_STORAGE\x10\x02\x12\x16\n\x12\x41SSET_TYPE_NETWORK\x10\x03:\x89\x01\xea\x41\x85\x01\n2baremetalsolution.googleapis.com/ProvisioningQuota\x12Oprojects/{project}/locations/{location}/provisioningQuotas/{provisioning_quota}B\x07\n\x05quotaB\x0e\n\x0c\x61vailability\"\x81\x01\n\x1dListProvisioningQuotasRequest\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\"\x8c\x01\n\x1eListProvisioningQuotasResponse\x12Q\n\x13provisioning_quotas\x18\x01 \x03(\x0b\x32\x34.google.cloud.baremetalsolution.v2.ProvisioningQuota\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\xe3\x06\n\x0eInstanceConfig\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\n\n\x02id\x18\x02 \x01(\t\x12\x15\n\rinstance_type\x18\x03 \x01(\t\x12\x16\n\x0ehyperthreading\x18\x04 \x01(\x08\x12\x10\n\x08os_image\x18\x05 \x01(\t\x12\\\n\x0e\x63lient_network\x18\x06 \x01(\x0b\x32@.google.cloud.baremetalsolution.v2.InstanceConfig.NetworkAddressB\x02\x18\x01\x12]\n\x0fprivate_network\x18\x07 \x01(\x0b\x32@.google.cloud.baremetalsolution.v2.InstanceConfig.NetworkAddressB\x02\x18\x01\x12\x11\n\tuser_note\x18\x08 \x01(\t\x12 \n\x18\x61\x63\x63ount_networks_enabled\x18\t \x01(\x08\x12W\n\x0enetwork_config\x18\n \x01(\x0e\x32?.google.cloud.baremetalsolution.v2.InstanceConfig.NetworkConfig\x12\x18\n\x10network_template\x18\x0b \x01(\t\x12O\n\x12logical_interfaces\x18\x0c \x03(\x0b\x32\x33.google.cloud.baremetalsolution.v2.LogicalInterface\x12\x15\n\rssh_key_names\x18\r \x03(\t\x1aR\n\x0eNetworkAddress\x12\x12\n\nnetwork_id\x18\x01 \x01(\t\x12\x0f\n\x07\x61\x64\x64ress\x18\x02 \x01(\t\x12\x1b\n\x13\x65xisting_network_id\x18\x03 \x01(\t\"O\n\rNetworkConfig\x12\x1d\n\x19NETWORKCONFIG_UNSPECIFIED\x10\x00\x12\x0f\n\x0bSINGLE_VLAN\x10\x01\x12\x0e\n\nMULTI_VLAN\x10\x02:\x7f\xea\x41|\n/baremetalsolution.googleapis.com/InstanceConfig\x12Iprojects/{project}/locations/{location}/instanceConfigs/{instance_config}\"\xf6\x08\n\x0cVolumeConfig\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\n\n\x02id\x18\x02 \x01(\t\x12\x19\n\x11snapshots_enabled\x18\x03 \x01(\x08\x12\x42\n\x04type\x18\x04 \x01(\x0e\x32\x34.google.cloud.baremetalsolution.v2.VolumeConfig.Type\x12J\n\x08protocol\x18\x05 \x01(\x0e\x32\x38.google.cloud.baremetalsolution.v2.VolumeConfig.Protocol\x12\x0f\n\x07size_gb\x18\x06 \x01(\x05\x12L\n\nlun_ranges\x18\x07 \x03(\x0b\x32\x38.google.cloud.baremetalsolution.v2.VolumeConfig.LunRange\x12\x13\n\x0bmachine_ids\x18\x08 \x03(\t\x12N\n\x0bnfs_exports\x18\t \x03(\x0b\x32\x39.google.cloud.baremetalsolution.v2.VolumeConfig.NfsExport\x12\x11\n\tuser_note\x18\n \x01(\t\x12\x13\n\x0bgcp_service\x18\x0b \x01(\t\x12R\n\x10performance_tier\x18\x0c \x01(\x0e\x32\x38.google.cloud.baremetalsolution.v2.VolumePerformanceTier\x1a-\n\x08LunRange\x12\x10\n\x08quantity\x18\x01 \x01(\x05\x12\x0f\n\x07size_gb\x18\x02 \x01(\x05\x1a\xb5\x02\n\tNfsExport\x12\x12\n\nnetwork_id\x18\x01 \x01(\t\x12\x14\n\nmachine_id\x18\x02 \x01(\tH\x00\x12\x0e\n\x04\x63idr\x18\x03 \x01(\tH\x00\x12Z\n\x0bpermissions\x18\x04 \x01(\x0e\x32\x45.google.cloud.baremetalsolution.v2.VolumeConfig.NfsExport.Permissions\x12\x16\n\x0eno_root_squash\x18\x05 \x01(\x08\x12\x12\n\nallow_suid\x18\x06 \x01(\x08\x12\x11\n\tallow_dev\x18\x07 \x01(\x08\"I\n\x0bPermissions\x12\x1b\n\x17PERMISSIONS_UNSPECIFIED\x10\x00\x12\r\n\tREAD_ONLY\x10\x01\x12\x0e\n\nREAD_WRITE\x10\x02\x42\x08\n\x06\x63lient\"1\n\x04Type\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\t\n\x05\x46LASH\x10\x01\x12\x08\n\x04\x44ISK\x10\x02\"G\n\x08Protocol\x12\x18\n\x14PROTOCOL_UNSPECIFIED\x10\x00\x12\x0f\n\x0bPROTOCOL_FC\x10\x01\x12\x10\n\x0cPROTOCOL_NFS\x10\x02:y\xea\x41v\n-baremetalsolution.googleapis.com/VolumeConfig\x12\x45projects/{project}/locations/{location}/volumeConfigs/{volume_config}\"\x9b\x07\n\rNetworkConfig\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\n\n\x02id\x18\x02 \x01(\t\x12\x43\n\x04type\x18\x03 \x01(\x0e\x32\x35.google.cloud.baremetalsolution.v2.NetworkConfig.Type\x12M\n\tbandwidth\x18\x04 \x01(\x0e\x32:.google.cloud.baremetalsolution.v2.NetworkConfig.Bandwidth\x12_\n\x10vlan_attachments\x18\x05 \x03(\x0b\x32\x45.google.cloud.baremetalsolution.v2.NetworkConfig.IntakeVlanAttachment\x12\x0c\n\x04\x63idr\x18\x06 \x01(\t\x12R\n\x0cservice_cidr\x18\x07 \x01(\x0e\x32<.google.cloud.baremetalsolution.v2.NetworkConfig.ServiceCidr\x12\x11\n\tuser_note\x18\x08 \x01(\t\x12\x13\n\x0bgcp_service\x18\t \x01(\t\x12\x19\n\x11vlan_same_project\x18\n \x01(\x08\x12\x1c\n\x14jumbo_frames_enabled\x18\x0b \x01(\x08\x1a\x37\n\x14IntakeVlanAttachment\x12\n\n\x02id\x18\x01 \x01(\t\x12\x13\n\x0bpairing_key\x18\x02 \x01(\t\"5\n\x04Type\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\n\n\x06\x43LIENT\x10\x01\x12\x0b\n\x07PRIVATE\x10\x02\"c\n\tBandwidth\x12\x19\n\x15\x42\x41NDWIDTH_UNSPECIFIED\x10\x00\x12\r\n\tBW_1_GBPS\x10\x01\x12\r\n\tBW_2_GBPS\x10\x02\x12\r\n\tBW_5_GBPS\x10\x03\x12\x0e\n\nBW_10_GBPS\x10\x04\"`\n\x0bServiceCidr\x12\x1c\n\x18SERVICE_CIDR_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x44ISABLED\x10\x01\x12\x0b\n\x07HIGH_26\x10\x02\x12\x0b\n\x07HIGH_27\x10\x03\x12\x0b\n\x07HIGH_28\x10\x04:|\xea\x41y\n.baremetalsolution.googleapis.com/NetworkConfig\x12Gprojects/{project}/locations/{location}/networkConfigs/{network_config}\"\x83\x02\n\rInstanceQuota\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x19\n\rinstance_type\x18\x02 \x01(\tB\x02\x18\x01\x12\x13\n\x0bgcp_service\x18\x05 \x01(\t\x12\x10\n\x08location\x18\x03 \x01(\t\x12\x1f\n\x17\x61vailable_machine_count\x18\x04 \x01(\x05:|\xea\x41y\n.baremetalsolution.googleapis.com/InstanceQuota\x12Gprojects/{project}/locations/{location}/instanceQuotas/{instance_quota}\"i\n\x1cGetProvisioningConfigRequest\x12I\n\x04name\x18\x01 \x01(\tB;\xe0\x41\x02\xfa\x41\x35\n3baremetalsolution.googleapis.com/ProvisioningConfig\"\xc9\x01\n\x1f\x43reateProvisioningConfigRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12W\n\x13provisioning_config\x18\x02 \x01(\x0b\x32\x35.google.cloud.baremetalsolution.v2.ProvisioningConfigB\x03\xe0\x41\x02\x12\x12\n\x05\x65mail\x18\x03 \x01(\tB\x03\xe0\x41\x01\"\xc4\x01\n\x1fUpdateProvisioningConfigRequest\x12W\n\x13provisioning_config\x18\x01 \x01(\x0b\x32\x35.google.cloud.baremetalsolution.v2.ProvisioningConfigB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\x12\x12\n\x05\x65mail\x18\x03 \x01(\tB\x03\xe0\x41\x01\x42\x80\x02\n%com.google.cloud.baremetalsolution.v2B\x11ProvisioningProtoP\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
16
 
17
- pool = Google::Protobuf::DescriptorPool.generated_pool
18
-
19
- begin
20
- pool.add_serialized_file(descriptor_data)
21
- rescue TypeError
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.LogicalInterface", "google/cloud/baremetalsolution/v2/network.proto"],
32
- ["google.protobuf.FieldMask", "google/protobuf/field_mask.proto"],
33
- ]
34
- imports.each do |type_name, expected_filename|
35
- import_file = pool.lookup(type_name).file_descriptor
36
- if import_file.name != expected_filename
37
- warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
38
- end
39
- end
40
- warn "Each proto file must use a consistent fully-qualified name."
41
- warn "This will become an error in the next major version."
42
- end
17
+ pool = ::Google::Protobuf::DescriptorPool.generated_pool
18
+ pool.add_serialized_file(descriptor_data)
43
19
 
44
20
  module Google
45
21
  module Cloud
@@ -10,29 +10,8 @@ require 'google/api/resource_pb'
10
10
 
11
11
  descriptor_data = "\n/google/cloud/baremetalsolution/v2/ssh_key.proto\x12!google.cloud.baremetalsolution.v2\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\"\x98\x01\n\x06SSHKey\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x12\n\npublic_key\x18\x02 \x01(\t:g\xea\x41\x64\n\'baremetalsolution.googleapis.com/SshKey\x12\x39projects/{project}/locations/{location}/sshKeys/{ssh_key}\"v\n\x12ListSSHKeysRequest\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\"k\n\x13ListSSHKeysResponse\x12;\n\x08ssh_keys\x18\x01 \x03(\x0b\x32).google.cloud.baremetalsolution.v2.SSHKey\x12\x17\n\x0fnext_page_token\x18Z \x01(\t\"\xaa\x01\n\x13\x43reateSSHKeyRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12?\n\x07ssh_key\x18\x02 \x01(\x0b\x32).google.cloud.baremetalsolution.v2.SSHKeyB\x03\xe0\x41\x02\x12\x17\n\nssh_key_id\x18\x03 \x01(\tB\x03\xe0\x41\x02\"T\n\x13\x44\x65leteSSHKeyRequest\x12=\n\x04name\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\n\'baremetalsolution.googleapis.com/SshKeyB\xfa\x01\n%com.google.cloud.baremetalsolution.v2B\x0bSshKeyProtoP\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
12
 
13
- pool = Google::Protobuf::DescriptorPool.generated_pool
14
-
15
- begin
16
- pool.add_serialized_file(descriptor_data)
17
- rescue TypeError
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}"
31
- end
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."
35
- end
13
+ pool = ::Google::Protobuf::DescriptorPool.generated_pool
14
+ pool.add_serialized_file(descriptor_data)
36
15
 
37
16
  module Google
38
17
  module Cloud
@@ -13,31 +13,8 @@ require 'google/protobuf/timestamp_pb'
13
13
 
14
14
  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/cloud/baremetalsolution/v2/common.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xec\x0e\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%\n\x1doriginally_requested_size_gib\x18\x10 \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\x14\n\x0cmax_size_gib\x18\x11 \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\x12I\n\x08protocol\x18\x12 \x01(\x0e\x32\x32.google.cloud.baremetalsolution.v2.Volume.ProtocolB\x03\xe0\x41\x03\x12\x18\n\x0b\x62oot_volume\x18\x13 \x01(\x08\x42\x03\xe0\x41\x03\x12W\n\x10performance_tier\x18\x14 \x01(\x0e\x32\x38.google.cloud.baremetalsolution.v2.VolumePerformanceTierB\x03\xe0\x41\x05\x12\x12\n\x05notes\x18\x15 \x01(\tB\x03\xe0\x41\x04\x12S\n\x10workload_profile\x18\x16 \x01(\x0e\x32\x39.google.cloud.baremetalsolution.v2.Volume.WorkloadProfile\x12\x34\n\x0b\x65xpire_time\x18\x18 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x44\n\tinstances\x18\x19 \x03(\tB1\xe0\x41\x03\xfa\x41+\n)baremetalsolution.googleapis.com/Instance\x12\x15\n\x08\x61ttached\x18\x1a \x01(\x08\x42\x03\xe0\x41\x03\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\"a\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\x12\x0c\n\x08UPDATING\x10\x04\x12\x0c\n\x08\x43OOL_OFF\x10\x05\"}\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\"@\n\x08Protocol\x12\x18\n\x14PROTOCOL_UNSPECIFIED\x10\x00\x12\x11\n\rFIBRE_CHANNEL\x10\x01\x12\x07\n\x03NFS\x10\x02\"J\n\x0fWorkloadProfile\x12 \n\x1cWORKLOAD_PROFILE_UNSPECIFIED\x10\x00\x12\x0b\n\x07GENERIC\x10\x01\x12\x08\n\x04HANA\x10\x02: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\"p\n\x13RenameVolumeRequest\x12=\n\x04name\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\n\'baremetalsolution.googleapis.com/Volume\x12\x1a\n\rnew_volume_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\"S\n\x12\x45victVolumeRequest\x12=\n\x04name\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\n\'baremetalsolution.googleapis.com/Volume\"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"
15
15
 
16
- pool = Google::Protobuf::DescriptorPool.generated_pool
17
-
18
- begin
19
- pool.add_serialized_file(descriptor_data)
20
- rescue TypeError
21
- # Compatibility code: will be removed in the next major version.
22
- require 'google/protobuf/descriptor_pb'
23
- parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
24
- parsed.clear_dependency
25
- serialized = parsed.class.encode(parsed)
26
- file = pool.add_serialized_file(serialized)
27
- warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
28
- imports = [
29
- ["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
30
- ["google.protobuf.FieldMask", "google/protobuf/field_mask.proto"],
31
- ]
32
- imports.each do |type_name, expected_filename|
33
- import_file = pool.lookup(type_name).file_descriptor
34
- if import_file.name != expected_filename
35
- warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
36
- end
37
- end
38
- warn "Each proto file must use a consistent fully-qualified name."
39
- warn "This will become an error in the next major version."
40
- end
16
+ pool = ::Google::Protobuf::DescriptorPool.generated_pool
17
+ pool.add_serialized_file(descriptor_data)
41
18
 
42
19
  module Google
43
20
  module Cloud
@@ -11,30 +11,8 @@ require 'google/protobuf/timestamp_pb'
11
11
 
12
12
  descriptor_data = "\n7google/cloud/baremetalsolution/v2/volume_snapshot.proto\x12!google.cloud.baremetalsolution.v2\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xe7\x03\n\x0eVolumeSnapshot\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0f\n\x02id\x18\x06 \x01(\tB\x03\xe0\x41\x03\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x34\n\x0b\x63reate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12G\n\x0estorage_volume\x18\x05 \x01(\tB/\xe0\x41\x03\xfa\x41)\n\'baremetalsolution.googleapis.com/Volume\x12Q\n\x04type\x18\x07 \x01(\x0e\x32>.google.cloud.baremetalsolution.v2.VolumeSnapshot.SnapshotTypeB\x03\xe0\x41\x03\"H\n\x0cSnapshotType\x12\x1d\n\x19SNAPSHOT_TYPE_UNSPECIFIED\x10\x00\x12\n\n\x06\x41\x44_HOC\x10\x01\x12\r\n\tSCHEDULED\x10\x02:\x84\x01\xea\x41\x80\x01\n/baremetalsolution.googleapis.com/VolumeSnapshot\x12Mprojects/{project}/locations/{location}/volumes/{volume}/snapshots/{snapshot}\"a\n\x18GetVolumeSnapshotRequest\x12\x45\n\x04name\x18\x01 \x01(\tB7\xe0\x41\x02\xfa\x41\x31\n/baremetalsolution.googleapis.com/VolumeSnapshot\"\x84\x01\n\x1aListVolumeSnapshotsRequest\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\"\x98\x01\n\x1bListVolumeSnapshotsResponse\x12K\n\x10volume_snapshots\x18\x01 \x03(\x0b\x32\x31.google.cloud.baremetalsolution.v2.VolumeSnapshot\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"d\n\x1b\x44\x65leteVolumeSnapshotRequest\x12\x45\n\x04name\x18\x01 \x01(\tB7\xe0\x41\x02\xfa\x41\x31\n/baremetalsolution.googleapis.com/VolumeSnapshot\"\xaf\x01\n\x1b\x43reateVolumeSnapshotRequest\x12?\n\x06parent\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\n\'baremetalsolution.googleapis.com/Volume\x12O\n\x0fvolume_snapshot\x18\x02 \x01(\x0b\x32\x31.google.cloud.baremetalsolution.v2.VolumeSnapshotB\x03\xe0\x41\x02\"p\n\x1cRestoreVolumeSnapshotRequest\x12P\n\x0fvolume_snapshot\x18\x01 \x01(\tB7\xe0\x41\x02\xfa\x41\x31\n/baremetalsolution.googleapis.com/VolumeSnapshotB\x82\x02\n%com.google.cloud.baremetalsolution.v2B\x13VolumeSnapshotProtoP\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
13
 
14
- pool = Google::Protobuf::DescriptorPool.generated_pool
15
-
16
- begin
17
- pool.add_serialized_file(descriptor_data)
18
- rescue TypeError
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.Timestamp", "google/protobuf/timestamp.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}"
33
- end
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."
37
- end
14
+ pool = ::Google::Protobuf::DescriptorPool.generated_pool
15
+ pool.add_serialized_file(descriptor_data)
38
16
 
39
17
  module Google
40
18
  module Cloud
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-bare_metal_solution-v2
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.0
4
+ version: 1.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -141,7 +141,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
141
141
  requirements:
142
142
  - - ">="
143
143
  - !ruby/object:Gem::Version
144
- version: '3.1'
144
+ version: '3.2'
145
145
  required_rubygems_version: !ruby/object:Gem::Requirement
146
146
  requirements:
147
147
  - - ">="