google-cloud-bare_metal_solution-v2 0.4.1 → 0.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/google/cloud/bare_metal_solution/v2/bare_metal_solution/client.rb +2769 -405
- data/lib/google/cloud/bare_metal_solution/v2/bare_metal_solution/paths.rb +135 -0
- data/lib/google/cloud/bare_metal_solution/v2/bare_metal_solution/rest/client.rb +2031 -285
- data/lib/google/cloud/bare_metal_solution/v2/bare_metal_solution/rest/service_stub.rb +1662 -231
- data/lib/google/cloud/bare_metal_solution/v2/version.rb +1 -1
- data/lib/google/cloud/baremetalsolution/v2/baremetalsolution_pb.rb +7 -6
- data/lib/google/cloud/baremetalsolution/v2/baremetalsolution_services_pb.rb +62 -0
- data/lib/google/cloud/baremetalsolution/v2/common_pb.rb +48 -0
- data/lib/google/cloud/baremetalsolution/v2/instance_pb.rb +12 -6
- data/lib/google/cloud/baremetalsolution/v2/lun_pb.rb +4 -1
- data/lib/google/cloud/baremetalsolution/v2/network_pb.rb +3 -1
- data/lib/google/cloud/baremetalsolution/v2/nfs_share_pb.rb +5 -1
- data/lib/google/cloud/baremetalsolution/v2/osimage_pb.rb +47 -0
- data/lib/google/cloud/baremetalsolution/v2/provisioning_pb.rb +80 -0
- data/lib/google/cloud/baremetalsolution/v2/ssh_key_pb.rb +49 -0
- data/lib/google/cloud/baremetalsolution/v2/volume_pb.rb +8 -1
- data/lib/google/cloud/baremetalsolution/v2/volume_snapshot_pb.rb +54 -0
- data/proto_docs/google/cloud/baremetalsolution/v2/{baremetalsolution.rb → common.rb} +36 -14
- data/proto_docs/google/cloud/baremetalsolution/v2/instance.rb +95 -68
- data/proto_docs/google/cloud/baremetalsolution/v2/lun.rb +19 -0
- data/proto_docs/google/cloud/baremetalsolution/v2/network.rb +68 -2
- data/proto_docs/google/cloud/baremetalsolution/v2/nfs_share.rb +83 -9
- data/proto_docs/google/cloud/baremetalsolution/v2/osimage.rb +80 -0
- data/proto_docs/google/cloud/baremetalsolution/v2/provisioning.rb +639 -0
- data/proto_docs/google/cloud/baremetalsolution/v2/ssh_key.rb +97 -0
- data/proto_docs/google/cloud/baremetalsolution/v2/volume.rb +91 -4
- data/proto_docs/google/cloud/baremetalsolution/v2/volume_snapshot.rb +134 -0
- data/proto_docs/google/type/expr.rb +75 -0
- metadata +13 -3
@@ -0,0 +1,49 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
3
|
+
# source: google/cloud/baremetalsolution/v2/ssh_key.proto
|
4
|
+
|
5
|
+
require 'google/protobuf'
|
6
|
+
|
7
|
+
require 'google/api/field_behavior_pb'
|
8
|
+
require 'google/api/resource_pb'
|
9
|
+
|
10
|
+
|
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
|
+
|
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}"
|
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
|
36
|
+
|
37
|
+
module Google
|
38
|
+
module Cloud
|
39
|
+
module BareMetalSolution
|
40
|
+
module V2
|
41
|
+
SSHKey = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.baremetalsolution.v2.SSHKey").msgclass
|
42
|
+
ListSSHKeysRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.baremetalsolution.v2.ListSSHKeysRequest").msgclass
|
43
|
+
ListSSHKeysResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.baremetalsolution.v2.ListSSHKeysResponse").msgclass
|
44
|
+
CreateSSHKeyRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.baremetalsolution.v2.CreateSSHKeyRequest").msgclass
|
45
|
+
DeleteSSHKeyRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.baremetalsolution.v2.DeleteSSHKeyRequest").msgclass
|
46
|
+
end
|
47
|
+
end
|
48
|
+
end
|
49
|
+
end
|
@@ -6,10 +6,12 @@ require 'google/protobuf'
|
|
6
6
|
|
7
7
|
require 'google/api/field_behavior_pb'
|
8
8
|
require 'google/api/resource_pb'
|
9
|
+
require 'google/cloud/baremetalsolution/v2/common_pb'
|
9
10
|
require 'google/protobuf/field_mask_pb'
|
11
|
+
require 'google/protobuf/timestamp_pb'
|
10
12
|
|
11
13
|
|
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\"\
|
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"
|
13
15
|
|
14
16
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
15
17
|
|
@@ -24,6 +26,7 @@ rescue TypeError => e
|
|
24
26
|
file = pool.add_serialized_file(serialized)
|
25
27
|
warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
|
26
28
|
imports = [
|
29
|
+
["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
|
27
30
|
["google.protobuf.FieldMask", "google/protobuf/field_mask.proto"],
|
28
31
|
]
|
29
32
|
imports.each do |type_name, expected_filename|
|
@@ -45,10 +48,14 @@ module Google
|
|
45
48
|
Volume::StorageType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.baremetalsolution.v2.Volume.StorageType").enummodule
|
46
49
|
Volume::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.baremetalsolution.v2.Volume.State").enummodule
|
47
50
|
Volume::SnapshotAutoDeleteBehavior = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.baremetalsolution.v2.Volume.SnapshotAutoDeleteBehavior").enummodule
|
51
|
+
Volume::Protocol = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.baremetalsolution.v2.Volume.Protocol").enummodule
|
52
|
+
Volume::WorkloadProfile = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.baremetalsolution.v2.Volume.WorkloadProfile").enummodule
|
48
53
|
GetVolumeRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.baremetalsolution.v2.GetVolumeRequest").msgclass
|
49
54
|
ListVolumesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.baremetalsolution.v2.ListVolumesRequest").msgclass
|
50
55
|
ListVolumesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.baremetalsolution.v2.ListVolumesResponse").msgclass
|
51
56
|
UpdateVolumeRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.baremetalsolution.v2.UpdateVolumeRequest").msgclass
|
57
|
+
RenameVolumeRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.baremetalsolution.v2.RenameVolumeRequest").msgclass
|
58
|
+
EvictVolumeRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.baremetalsolution.v2.EvictVolumeRequest").msgclass
|
52
59
|
ResizeVolumeRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.baremetalsolution.v2.ResizeVolumeRequest").msgclass
|
53
60
|
end
|
54
61
|
end
|
@@ -0,0 +1,54 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
3
|
+
# source: google/cloud/baremetalsolution/v2/volume_snapshot.proto
|
4
|
+
|
5
|
+
require 'google/protobuf'
|
6
|
+
|
7
|
+
require 'google/api/field_behavior_pb'
|
8
|
+
require 'google/api/resource_pb'
|
9
|
+
require 'google/protobuf/timestamp_pb'
|
10
|
+
|
11
|
+
|
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
|
+
|
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.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
|
38
|
+
|
39
|
+
module Google
|
40
|
+
module Cloud
|
41
|
+
module BareMetalSolution
|
42
|
+
module V2
|
43
|
+
VolumeSnapshot = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.baremetalsolution.v2.VolumeSnapshot").msgclass
|
44
|
+
VolumeSnapshot::SnapshotType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.baremetalsolution.v2.VolumeSnapshot.SnapshotType").enummodule
|
45
|
+
GetVolumeSnapshotRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.baremetalsolution.v2.GetVolumeSnapshotRequest").msgclass
|
46
|
+
ListVolumeSnapshotsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.baremetalsolution.v2.ListVolumeSnapshotsRequest").msgclass
|
47
|
+
ListVolumeSnapshotsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.baremetalsolution.v2.ListVolumeSnapshotsResponse").msgclass
|
48
|
+
DeleteVolumeSnapshotRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.baremetalsolution.v2.DeleteVolumeSnapshotRequest").msgclass
|
49
|
+
CreateVolumeSnapshotRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.baremetalsolution.v2.CreateVolumeSnapshotRequest").msgclass
|
50
|
+
RestoreVolumeSnapshotRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.baremetalsolution.v2.RestoreVolumeSnapshotRequest").msgclass
|
51
|
+
end
|
52
|
+
end
|
53
|
+
end
|
54
|
+
end
|
@@ -1,6 +1,6 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
# Copyright
|
3
|
+
# Copyright 2023 Google LLC
|
4
4
|
#
|
5
5
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
6
6
|
# you may not use this file except in compliance with the License.
|
@@ -24,37 +24,59 @@ module Google
|
|
24
24
|
# Represents the metadata from a long-running operation.
|
25
25
|
# @!attribute [r] create_time
|
26
26
|
# @return [::Google::Protobuf::Timestamp]
|
27
|
-
# The time the operation was created.
|
27
|
+
# Output only. The time the operation was created.
|
28
28
|
# @!attribute [r] end_time
|
29
29
|
# @return [::Google::Protobuf::Timestamp]
|
30
|
-
# The time the operation finished running.
|
30
|
+
# Output only. The time the operation finished running.
|
31
31
|
# @!attribute [r] target
|
32
32
|
# @return [::String]
|
33
|
-
# Server-defined resource path for the target of the operation.
|
33
|
+
# Output only. Server-defined resource path for the target of the operation.
|
34
34
|
# @!attribute [r] verb
|
35
35
|
# @return [::String]
|
36
|
-
# Name of the action executed by the operation.
|
36
|
+
# Output only. Name of the action executed by the operation.
|
37
37
|
# @!attribute [r] status_message
|
38
38
|
# @return [::String]
|
39
|
-
# Human-readable status of the operation, if any.
|
39
|
+
# Output only. Human-readable status of the operation, if any.
|
40
40
|
# @!attribute [r] requested_cancellation
|
41
41
|
# @return [::Boolean]
|
42
|
-
# Identifies whether the user requested the cancellation
|
42
|
+
# Output only. Identifies whether the user requested the cancellation
|
43
43
|
# of the operation. Operations that have been successfully cancelled
|
44
|
-
# have [Operation.error][] value with a
|
45
|
-
# corresponding to
|
44
|
+
# have [Operation.error][] value with a
|
45
|
+
# {::Google::Rpc::Status#code google.rpc.Status.code} of 1, corresponding to
|
46
|
+
# `Code.CANCELLED`.
|
46
47
|
# @!attribute [r] api_version
|
47
48
|
# @return [::String]
|
48
|
-
# API version used with the operation.
|
49
|
+
# Output only. API version used with the operation.
|
49
50
|
class OperationMetadata
|
50
51
|
include ::Google::Protobuf::MessageExts
|
51
52
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
52
53
|
end
|
53
54
|
|
54
|
-
#
|
55
|
-
|
56
|
-
|
57
|
-
|
55
|
+
# Performance tier of the Volume.
|
56
|
+
module VolumePerformanceTier
|
57
|
+
# Value is not specified.
|
58
|
+
VOLUME_PERFORMANCE_TIER_UNSPECIFIED = 0
|
59
|
+
|
60
|
+
# Regular volumes, shared aggregates.
|
61
|
+
VOLUME_PERFORMANCE_TIER_SHARED = 1
|
62
|
+
|
63
|
+
# Assigned aggregates.
|
64
|
+
VOLUME_PERFORMANCE_TIER_ASSIGNED = 2
|
65
|
+
|
66
|
+
# High throughput aggregates.
|
67
|
+
VOLUME_PERFORMANCE_TIER_HT = 3
|
68
|
+
end
|
69
|
+
|
70
|
+
# The possible values for a workload profile.
|
71
|
+
module WorkloadProfile
|
72
|
+
# The workload profile is in an unknown state.
|
73
|
+
WORKLOAD_PROFILE_UNSPECIFIED = 0
|
74
|
+
|
75
|
+
# The workload profile is generic.
|
76
|
+
WORKLOAD_PROFILE_GENERIC = 1
|
77
|
+
|
78
|
+
# The workload profile is hana.
|
79
|
+
WORKLOAD_PROFILE_HANA = 2
|
58
80
|
end
|
59
81
|
end
|
60
82
|
end
|
@@ -22,16 +22,16 @@ module Google
|
|
22
22
|
module BareMetalSolution
|
23
23
|
module V2
|
24
24
|
# A server.
|
25
|
-
# @!attribute [
|
25
|
+
# @!attribute [rw] name
|
26
26
|
# @return [::String]
|
27
|
-
#
|
27
|
+
# Immutable. The resource name of this `Instance`.
|
28
28
|
# Resource names are schemeless URIs that follow the conventions in
|
29
29
|
# https://cloud.google.com/apis/design/resource_names.
|
30
30
|
# Format:
|
31
31
|
# `projects/{project}/locations/{location}/instances/{instance}`
|
32
|
-
# @!attribute [
|
32
|
+
# @!attribute [r] id
|
33
33
|
# @return [::String]
|
34
|
-
# An identifier for the `Instance`, generated by the backend.
|
34
|
+
# Output only. An identifier for the `Instance`, generated by the backend.
|
35
35
|
# @!attribute [r] create_time
|
36
36
|
# @return [::Google::Protobuf::Timestamp]
|
37
37
|
# Output only. Create a time stamp.
|
@@ -40,12 +40,12 @@ module Google
|
|
40
40
|
# Output only. Update a time stamp.
|
41
41
|
# @!attribute [rw] machine_type
|
42
42
|
# @return [::String]
|
43
|
-
# The server type.
|
43
|
+
# Immutable. The server type.
|
44
44
|
# [Available server
|
45
45
|
# types](https://cloud.google.com/bare-metal/docs/bms-planning#server_configurations)
|
46
|
-
# @!attribute [
|
46
|
+
# @!attribute [r] state
|
47
47
|
# @return [::Google::Cloud::BareMetalSolution::V2::Instance::State]
|
48
|
-
# The state of the server.
|
48
|
+
# Output only. The state of the server.
|
49
49
|
# @!attribute [rw] hyperthreading_enabled
|
50
50
|
# @return [::Boolean]
|
51
51
|
# True if you enable hyperthreading for the server, otherwise false.
|
@@ -55,15 +55,18 @@ module Google
|
|
55
55
|
# Labels as key value pairs.
|
56
56
|
# @!attribute [rw] luns
|
57
57
|
# @return [::Array<::Google::Cloud::BareMetalSolution::V2::Lun>]
|
58
|
-
# List of LUNs associated with this server.
|
59
|
-
# @!attribute [rw]
|
58
|
+
# Immutable. List of LUNs associated with this server.
|
59
|
+
# @!attribute [rw] volumes
|
60
|
+
# @return [::Array<::Google::Cloud::BareMetalSolution::V2::Volume>]
|
61
|
+
# Input only. List of Volumes to attach to this Instance on creation.
|
62
|
+
# This field won't be populated in Get/List responses.
|
63
|
+
# @!attribute [r] networks
|
60
64
|
# @return [::Array<::Google::Cloud::BareMetalSolution::V2::Network>]
|
61
|
-
# List of networks associated with this server.
|
62
|
-
# @!attribute [
|
65
|
+
# Output only. List of networks associated with this server.
|
66
|
+
# @!attribute [r] interactive_serial_console_enabled
|
63
67
|
# @return [::Boolean]
|
64
|
-
# True if the interactive serial console feature is enabled for
|
65
|
-
# false otherwise.
|
66
|
-
# The default value is false.
|
68
|
+
# Output only. True if the interactive serial console feature is enabled for
|
69
|
+
# the instance, false otherwise. The default value is false.
|
67
70
|
# @!attribute [rw] os_image
|
68
71
|
# @return [::String]
|
69
72
|
# The OS image currently installed on the server.
|
@@ -87,6 +90,15 @@ module Google
|
|
87
90
|
# the Instance.networks field and the Instance.logical_interfaces fields will
|
88
91
|
# be filled to ensure backward compatibility. For the others, only
|
89
92
|
# Instance.logical_interfaces will be filled.
|
93
|
+
# @!attribute [r] login_info
|
94
|
+
# @return [::String]
|
95
|
+
# Output only. Text field about info for logging in.
|
96
|
+
# @!attribute [rw] workload_profile
|
97
|
+
# @return [::Google::Cloud::BareMetalSolution::V2::WorkloadProfile]
|
98
|
+
# The workload profile for the instance.
|
99
|
+
# @!attribute [r] firmware_version
|
100
|
+
# @return [::String]
|
101
|
+
# Output only. The firmware version for the instance.
|
90
102
|
class Instance
|
91
103
|
include ::Google::Protobuf::MessageExts
|
92
104
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -113,6 +125,18 @@ module Google
|
|
113
125
|
|
114
126
|
# The server has been deleted.
|
115
127
|
DELETED = 3
|
128
|
+
|
129
|
+
# The server is being updated.
|
130
|
+
UPDATING = 4
|
131
|
+
|
132
|
+
# The server is starting.
|
133
|
+
STARTING = 5
|
134
|
+
|
135
|
+
# The server is stopping.
|
136
|
+
STOPPING = 6
|
137
|
+
|
138
|
+
# The server is shutdown.
|
139
|
+
SHUTDOWN = 7
|
116
140
|
end
|
117
141
|
end
|
118
142
|
|
@@ -178,6 +202,19 @@ module Google
|
|
178
202
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
179
203
|
end
|
180
204
|
|
205
|
+
# Message requesting rename of a server.
|
206
|
+
# @!attribute [rw] name
|
207
|
+
# @return [::String]
|
208
|
+
# Required. The `name` field is used to identify the instance.
|
209
|
+
# Format: projects/\\{project}/locations/\\{location}/instances/\\{instance}
|
210
|
+
# @!attribute [rw] new_instance_id
|
211
|
+
# @return [::String]
|
212
|
+
# Required. The new `id` of the instance.
|
213
|
+
class RenameInstanceRequest
|
214
|
+
include ::Google::Protobuf::MessageExts
|
215
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
216
|
+
end
|
217
|
+
|
181
218
|
# Message requesting to reset a server.
|
182
219
|
# @!attribute [rw] name
|
183
220
|
# @return [::String]
|
@@ -187,6 +224,12 @@ module Google
|
|
187
224
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
188
225
|
end
|
189
226
|
|
227
|
+
# Response message from resetting a server.
|
228
|
+
class ResetInstanceResponse
|
229
|
+
include ::Google::Protobuf::MessageExts
|
230
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
231
|
+
end
|
232
|
+
|
190
233
|
# Message requesting to start a server.
|
191
234
|
# @!attribute [rw] name
|
192
235
|
# @return [::String]
|
@@ -196,6 +239,12 @@ module Google
|
|
196
239
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
197
240
|
end
|
198
241
|
|
242
|
+
# Response message from starting a server.
|
243
|
+
class StartInstanceResponse
|
244
|
+
include ::Google::Protobuf::MessageExts
|
245
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
246
|
+
end
|
247
|
+
|
199
248
|
# Message requesting to stop a server.
|
200
249
|
# @!attribute [rw] name
|
201
250
|
# @return [::String]
|
@@ -205,75 +254,53 @@ module Google
|
|
205
254
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
206
255
|
end
|
207
256
|
|
208
|
-
#
|
209
|
-
|
210
|
-
# @return [::String]
|
211
|
-
# Required. Name of the instance.
|
212
|
-
# @!attribute [rw] lun
|
213
|
-
# @return [::String]
|
214
|
-
# Required. Name of the Lun to detach.
|
215
|
-
class DetachLunRequest
|
257
|
+
# Response message from stopping a server.
|
258
|
+
class StopInstanceResponse
|
216
259
|
include ::Google::Protobuf::MessageExts
|
217
260
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
218
261
|
end
|
219
262
|
|
220
|
-
#
|
221
|
-
# @!attribute [
|
263
|
+
# Message for enabling the interactive serial console on an instance.
|
264
|
+
# @!attribute [rw] name
|
222
265
|
# @return [::String]
|
223
|
-
#
|
224
|
-
|
225
|
-
# Generally, the \\{server_network_template} follows the syntax of
|
226
|
-
# "bond<interface_type_index><bond_mode>" or "nic<interface_type_index>".
|
227
|
-
# @!attribute [rw] applicable_instance_types
|
228
|
-
# @return [::Array<::String>]
|
229
|
-
# Instance types this template is applicable to.
|
230
|
-
# @!attribute [rw] logical_interfaces
|
231
|
-
# @return [::Array<::Google::Cloud::BareMetalSolution::V2::ServerNetworkTemplate::LogicalInterface>]
|
232
|
-
# Logical interfaces.
|
233
|
-
class ServerNetworkTemplate
|
266
|
+
# Required. Name of the resource.
|
267
|
+
class EnableInteractiveSerialConsoleRequest
|
234
268
|
include ::Google::Protobuf::MessageExts
|
235
269
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
270
|
+
end
|
236
271
|
|
237
|
-
|
238
|
-
|
239
|
-
|
240
|
-
|
241
|
-
|
242
|
-
# Name is unique only inside the ServerNetworkTemplate. This is of syntax
|
243
|
-
# <bond><interface_type_index><bond_mode> or <nic><interface_type_index>
|
244
|
-
# and forms part of the network template name.
|
245
|
-
# @!attribute [rw] type
|
246
|
-
# @return [::Google::Cloud::BareMetalSolution::V2::ServerNetworkTemplate::LogicalInterface::InterfaceType]
|
247
|
-
# Interface type.
|
248
|
-
# @!attribute [rw] required
|
249
|
-
# @return [::Boolean]
|
250
|
-
# If true, interface must have network connected.
|
251
|
-
class LogicalInterface
|
252
|
-
include ::Google::Protobuf::MessageExts
|
253
|
-
extend ::Google::Protobuf::MessageExts::ClassMethods
|
254
|
-
|
255
|
-
# Interface type.
|
256
|
-
module InterfaceType
|
257
|
-
# Unspecified value.
|
258
|
-
INTERFACE_TYPE_UNSPECIFIED = 0
|
259
|
-
|
260
|
-
# Bond interface type.
|
261
|
-
BOND = 1
|
272
|
+
# Message for response of EnableInteractiveSerialConsole.
|
273
|
+
class EnableInteractiveSerialConsoleResponse
|
274
|
+
include ::Google::Protobuf::MessageExts
|
275
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
276
|
+
end
|
262
277
|
|
263
|
-
|
264
|
-
|
265
|
-
|
266
|
-
|
278
|
+
# Message for disabling the interactive serial console on an instance.
|
279
|
+
# @!attribute [rw] name
|
280
|
+
# @return [::String]
|
281
|
+
# Required. Name of the resource.
|
282
|
+
class DisableInteractiveSerialConsoleRequest
|
283
|
+
include ::Google::Protobuf::MessageExts
|
284
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
267
285
|
end
|
268
286
|
|
269
|
-
#
|
270
|
-
class
|
287
|
+
# Message for response of DisableInteractiveSerialConsole.
|
288
|
+
class DisableInteractiveSerialConsoleResponse
|
271
289
|
include ::Google::Protobuf::MessageExts
|
272
290
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
273
291
|
end
|
274
292
|
|
275
|
-
#
|
276
|
-
|
293
|
+
# Message for detach specific LUN from an Instance.
|
294
|
+
# @!attribute [rw] instance
|
295
|
+
# @return [::String]
|
296
|
+
# Required. Name of the instance.
|
297
|
+
# @!attribute [rw] lun
|
298
|
+
# @return [::String]
|
299
|
+
# Required. Name of the Lun to detach.
|
300
|
+
# @!attribute [rw] skip_reboot
|
301
|
+
# @return [::Boolean]
|
302
|
+
# If true, performs lun unmapping without instance reboot.
|
303
|
+
class DetachLunRequest
|
277
304
|
include ::Google::Protobuf::MessageExts
|
278
305
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
279
306
|
end
|
@@ -53,6 +53,13 @@ module Google
|
|
53
53
|
# @!attribute [rw] wwid
|
54
54
|
# @return [::String]
|
55
55
|
# The WWID for this LUN.
|
56
|
+
# @!attribute [r] expire_time
|
57
|
+
# @return [::Google::Protobuf::Timestamp]
|
58
|
+
# Output only. Time after which LUN will be fully deleted.
|
59
|
+
# It is filled only for LUNs in COOL_OFF state.
|
60
|
+
# @!attribute [r] instances
|
61
|
+
# @return [::Array<::String>]
|
62
|
+
# Output only. Instances this Lun is attached to.
|
56
63
|
class Lun
|
57
64
|
include ::Google::Protobuf::MessageExts
|
58
65
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -73,6 +80,9 @@ module Google
|
|
73
80
|
|
74
81
|
# The LUN has been requested to be deleted.
|
75
82
|
DELETING = 4
|
83
|
+
|
84
|
+
# The LUN is in cool off state. It will be deleted after `expire_time`.
|
85
|
+
COOL_OFF = 5
|
76
86
|
end
|
77
87
|
|
78
88
|
# Display the operating systems present for the LUN multiprotocol type.
|
@@ -136,6 +146,15 @@ module Google
|
|
136
146
|
include ::Google::Protobuf::MessageExts
|
137
147
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
138
148
|
end
|
149
|
+
|
150
|
+
# Request for skip lun cooloff and delete it.
|
151
|
+
# @!attribute [rw] name
|
152
|
+
# @return [::String]
|
153
|
+
# Required. The name of the lun.
|
154
|
+
class EvictLunRequest
|
155
|
+
include ::Google::Protobuf::MessageExts
|
156
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
157
|
+
end
|
139
158
|
end
|
140
159
|
end
|
141
160
|
end
|
@@ -64,6 +64,18 @@ module Google
|
|
64
64
|
# List of IP address reservations in this network.
|
65
65
|
# When updating this field, an error will be generated if a reservation
|
66
66
|
# conflicts with an IP address already allocated to a physical server.
|
67
|
+
# @!attribute [r] pod
|
68
|
+
# @return [::String]
|
69
|
+
# Output only. Pod name.
|
70
|
+
# @!attribute [rw] mount_points
|
71
|
+
# @return [::Array<::Google::Cloud::BareMetalSolution::V2::NetworkMountPoint>]
|
72
|
+
# Input only. List of mount points to attach the network to.
|
73
|
+
# @!attribute [rw] jumbo_frames_enabled
|
74
|
+
# @return [::Boolean]
|
75
|
+
# Whether network uses standard frames or jumbo ones.
|
76
|
+
# @!attribute [r] gateway_ip
|
77
|
+
# @return [::String]
|
78
|
+
# Output only. Gateway ip address.
|
67
79
|
class Network
|
68
80
|
include ::Google::Protobuf::MessageExts
|
69
81
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -99,6 +111,12 @@ module Google
|
|
99
111
|
|
100
112
|
# The Network has been provisioned.
|
101
113
|
PROVISIONED = 2
|
114
|
+
|
115
|
+
# The Network is being deprovisioned.
|
116
|
+
DEPROVISIONING = 3
|
117
|
+
|
118
|
+
# The Network is being updated.
|
119
|
+
UPDATING = 4
|
102
120
|
end
|
103
121
|
end
|
104
122
|
|
@@ -131,6 +149,9 @@ module Google
|
|
131
149
|
# @!attribute [rw] qos_policy
|
132
150
|
# @return [::Google::Cloud::BareMetalSolution::V2::VRF::QosPolicy]
|
133
151
|
# The QOS policy applied to this VRF.
|
152
|
+
# The value is only meaningful when all the vlan attachments have the same
|
153
|
+
# QoS. This field should not be used for new integrations, use vlan
|
154
|
+
# attachment level qos instead. The field is left for backward-compatibility.
|
134
155
|
# @!attribute [rw] vlan_attachments
|
135
156
|
# @return [::Array<::Google::Cloud::BareMetalSolution::V2::VRF::VlanAttachment>]
|
136
157
|
# The list of VLAN attachments for the VRF.
|
@@ -157,6 +178,20 @@ module Google
|
|
157
178
|
# @!attribute [rw] router_ip
|
158
179
|
# @return [::String]
|
159
180
|
# The router IP of the attachment.
|
181
|
+
# @!attribute [rw] pairing_key
|
182
|
+
# @return [::String]
|
183
|
+
# Input only. Pairing key.
|
184
|
+
# @!attribute [rw] qos_policy
|
185
|
+
# @return [::Google::Cloud::BareMetalSolution::V2::VRF::QosPolicy]
|
186
|
+
# The QOS policy applied to this VLAN attachment.
|
187
|
+
# This value should be preferred to using qos at vrf level.
|
188
|
+
# @!attribute [rw] id
|
189
|
+
# @return [::String]
|
190
|
+
# Immutable. The identifier of the attachment within vrf.
|
191
|
+
# @!attribute [rw] interconnect_attachment
|
192
|
+
# @return [::String]
|
193
|
+
# Optional. The name of the vlan attachment within vrf. This is of the form
|
194
|
+
# projects/\\{project_number}/regions/\\{region}/interconnectAttachments/\\{interconnect_attachment}
|
160
195
|
class VlanAttachment
|
161
196
|
include ::Google::Protobuf::MessageExts
|
162
197
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -189,7 +224,7 @@ module Google
|
|
189
224
|
# @!attribute [rw] interface_index
|
190
225
|
# @return [::Integer]
|
191
226
|
# The index of the logical interface mapping to the index of the hardware
|
192
|
-
# bond or nic on the chosen network template.
|
227
|
+
# bond or nic on the chosen network template. This field is deprecated.
|
193
228
|
class LogicalInterface
|
194
229
|
include ::Google::Protobuf::MessageExts
|
195
230
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -271,7 +306,7 @@ module Google
|
|
271
306
|
# @return [::Google::Protobuf::FieldMask]
|
272
307
|
# The list of fields to update.
|
273
308
|
# The only currently supported fields are:
|
274
|
-
# `labels`, `reservations`
|
309
|
+
# `labels`, `reservations`, `vrf.vlan_attachments`
|
275
310
|
class UpdateNetworkRequest
|
276
311
|
include ::Google::Protobuf::MessageExts
|
277
312
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -306,6 +341,37 @@ module Google
|
|
306
341
|
include ::Google::Protobuf::MessageExts
|
307
342
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
308
343
|
end
|
344
|
+
|
345
|
+
# Mount point for a network.
|
346
|
+
# @!attribute [rw] instance
|
347
|
+
# @return [::String]
|
348
|
+
# Instance to attach network to.
|
349
|
+
# @!attribute [rw] logical_interface
|
350
|
+
# @return [::String]
|
351
|
+
# Logical interface to detach from.
|
352
|
+
# @!attribute [rw] default_gateway
|
353
|
+
# @return [::Boolean]
|
354
|
+
# Network should be a default gateway.
|
355
|
+
# @!attribute [rw] ip_address
|
356
|
+
# @return [::String]
|
357
|
+
# Ip address of the server.
|
358
|
+
class NetworkMountPoint
|
359
|
+
include ::Google::Protobuf::MessageExts
|
360
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
361
|
+
end
|
362
|
+
|
363
|
+
# Message requesting rename of a server.
|
364
|
+
# @!attribute [rw] name
|
365
|
+
# @return [::String]
|
366
|
+
# Required. The `name` field is used to identify the network.
|
367
|
+
# Format: projects/\\{project}/locations/\\{location}/networks/\\{network}
|
368
|
+
# @!attribute [rw] new_network_id
|
369
|
+
# @return [::String]
|
370
|
+
# Required. The new `id` of the network.
|
371
|
+
class RenameNetworkRequest
|
372
|
+
include ::Google::Protobuf::MessageExts
|
373
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
374
|
+
end
|
309
375
|
end
|
310
376
|
end
|
311
377
|
end
|