google-apis-baremetalsolution_v2 0.11.0 → 0.14.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +12 -0
- data/lib/google/apis/baremetalsolution_v2/classes.rb +211 -227
- data/lib/google/apis/baremetalsolution_v2/gem_version.rb +2 -2
- data/lib/google/apis/baremetalsolution_v2/representations.rb +68 -103
- data/lib/google/apis/baremetalsolution_v2/service.rb +36 -337
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1af06de5ea05055552d4700fb3db57550a62b94bcf50bcc82ed84fd941b7af0b
|
4
|
+
data.tar.gz: c7dadedaa436d3fe010961b3c5de367823e7977ca45f28a04a851525a304752b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 13ab972a9e63c7071ee0272bbbbba38d2de6db8fde318a4e1795a791aee493a500220b2973635ac568f7579f18e3fdcd0066765ab79a2d24dc08760254242735
|
7
|
+
data.tar.gz: 8128f743bcd1fd69ebf73e06d56cd7041536fc8ef78936f76a2978e5bce0584cb0b61630da7fad964b2d5d03d1474063bfb7214a33bb08d2e9b46177ffe037ae
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,17 @@
|
|
1
1
|
# Release history for google-apis-baremetalsolution_v2
|
2
2
|
|
3
|
+
### v0.14.0 (2022-05-29)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20220524
|
6
|
+
|
7
|
+
### v0.13.0 (2022-05-21)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20220506
|
10
|
+
|
11
|
+
### v0.12.0 (2022-05-06)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20220501
|
14
|
+
|
3
15
|
### v0.11.0 (2022-04-24)
|
4
16
|
|
5
17
|
* Regenerated from discovery document revision 20220418
|
@@ -82,19 +82,22 @@ module Google
|
|
82
82
|
end
|
83
83
|
end
|
84
84
|
|
85
|
-
#
|
86
|
-
|
87
|
-
# response type of an API method. For instance: service Foo ` rpc Bar(google.
|
88
|
-
# protobuf.Empty) returns (google.protobuf.Empty); `
|
89
|
-
class Empty
|
85
|
+
# Message for detach specific LUN from an Instance.
|
86
|
+
class DetachLunRequest
|
90
87
|
include Google::Apis::Core::Hashable
|
91
88
|
|
89
|
+
# Required. Name of the Lun to detach.
|
90
|
+
# Corresponds to the JSON property `lun`
|
91
|
+
# @return [String]
|
92
|
+
attr_accessor :lun
|
93
|
+
|
92
94
|
def initialize(**args)
|
93
95
|
update!(**args)
|
94
96
|
end
|
95
97
|
|
96
98
|
# Update properties of this object
|
97
99
|
def update!(**args)
|
100
|
+
@lun = args[:lun] if args.key?(:lun)
|
98
101
|
end
|
99
102
|
end
|
100
103
|
|
@@ -117,6 +120,76 @@ module Google
|
|
117
120
|
end
|
118
121
|
end
|
119
122
|
|
123
|
+
# Each logical interface represents a logical abstraction of the underlying
|
124
|
+
# physical interface (for eg. bond, nic) of the instance. Each logical interface
|
125
|
+
# can effectively map to multiple network-IP pairs and still be mapped to one
|
126
|
+
# underlying physical interface.
|
127
|
+
class GoogleCloudBaremetalsolutionV2LogicalInterface
|
128
|
+
include Google::Apis::Core::Hashable
|
129
|
+
|
130
|
+
# The index of the logical interface mapping to the index of the hardware bond
|
131
|
+
# or nic on the chosen network template.
|
132
|
+
# Corresponds to the JSON property `interfaceIndex`
|
133
|
+
# @return [Fixnum]
|
134
|
+
attr_accessor :interface_index
|
135
|
+
|
136
|
+
# List of logical network interfaces within a logical interface.
|
137
|
+
# Corresponds to the JSON property `logicalNetworkInterfaces`
|
138
|
+
# @return [Array<Google::Apis::BaremetalsolutionV2::LogicalNetworkInterface>]
|
139
|
+
attr_accessor :logical_network_interfaces
|
140
|
+
|
141
|
+
# Interface name. This is of syntax or and forms part of the network template
|
142
|
+
# name.
|
143
|
+
# Corresponds to the JSON property `name`
|
144
|
+
# @return [String]
|
145
|
+
attr_accessor :name
|
146
|
+
|
147
|
+
def initialize(**args)
|
148
|
+
update!(**args)
|
149
|
+
end
|
150
|
+
|
151
|
+
# Update properties of this object
|
152
|
+
def update!(**args)
|
153
|
+
@interface_index = args[:interface_index] if args.key?(:interface_index)
|
154
|
+
@logical_network_interfaces = args[:logical_network_interfaces] if args.key?(:logical_network_interfaces)
|
155
|
+
@name = args[:name] if args.key?(:name)
|
156
|
+
end
|
157
|
+
end
|
158
|
+
|
159
|
+
# Logical interface.
|
160
|
+
class GoogleCloudBaremetalsolutionV2ServerNetworkTemplateLogicalInterface
|
161
|
+
include Google::Apis::Core::Hashable
|
162
|
+
|
163
|
+
# Interface name. This is not a globally unique identifier. Name is unique only
|
164
|
+
# inside the ServerNetworkTemplate. This is of syntax or and forms part of the
|
165
|
+
# network template name.
|
166
|
+
# Corresponds to the JSON property `name`
|
167
|
+
# @return [String]
|
168
|
+
attr_accessor :name
|
169
|
+
|
170
|
+
# If true, interface must have network connected.
|
171
|
+
# Corresponds to the JSON property `required`
|
172
|
+
# @return [Boolean]
|
173
|
+
attr_accessor :required
|
174
|
+
alias_method :required?, :required
|
175
|
+
|
176
|
+
# Interface type.
|
177
|
+
# Corresponds to the JSON property `type`
|
178
|
+
# @return [String]
|
179
|
+
attr_accessor :type
|
180
|
+
|
181
|
+
def initialize(**args)
|
182
|
+
update!(**args)
|
183
|
+
end
|
184
|
+
|
185
|
+
# Update properties of this object
|
186
|
+
def update!(**args)
|
187
|
+
@name = args[:name] if args.key?(:name)
|
188
|
+
@required = args[:required] if args.key?(:required)
|
189
|
+
@type = args[:type] if args.key?(:type)
|
190
|
+
end
|
191
|
+
end
|
192
|
+
|
120
193
|
# A server.
|
121
194
|
class Instance
|
122
195
|
include Google::Apis::Core::Hashable
|
@@ -150,6 +223,17 @@ module Google
|
|
150
223
|
# @return [Hash<String,String>]
|
151
224
|
attr_accessor :labels
|
152
225
|
|
226
|
+
# List of logical interfaces for the instance. The number of logical interfaces
|
227
|
+
# will be the same as number of hardware bond/nic on the chosen network template.
|
228
|
+
# For the non-multivlan configurations (for eg, existing servers) that use
|
229
|
+
# existing default network template (bondaa-bondaa), both the Instance.networks
|
230
|
+
# field and the Instance.logical_interfaces fields will be filled to ensure
|
231
|
+
# backward compatibility. For the others, only Instance.logical_interfaces will
|
232
|
+
# be filled.
|
233
|
+
# Corresponds to the JSON property `logicalInterfaces`
|
234
|
+
# @return [Array<Google::Apis::BaremetalsolutionV2::GoogleCloudBaremetalsolutionV2LogicalInterface>]
|
235
|
+
attr_accessor :logical_interfaces
|
236
|
+
|
153
237
|
# List of LUNs associated with this server.
|
154
238
|
# Corresponds to the JSON property `luns`
|
155
239
|
# @return [Array<Google::Apis::BaremetalsolutionV2::Lun>]
|
@@ -169,6 +253,12 @@ module Google
|
|
169
253
|
# @return [String]
|
170
254
|
attr_accessor :name
|
171
255
|
|
256
|
+
# Instance network template name. For eg, bondaa-bondaa, bondab-nic, etc.
|
257
|
+
# Generally, the template name follows the syntax of "bond" or "nic".
|
258
|
+
# Corresponds to the JSON property `networkTemplate`
|
259
|
+
# @return [String]
|
260
|
+
attr_accessor :network_template
|
261
|
+
|
172
262
|
# List of networks associated with this server.
|
173
263
|
# Corresponds to the JSON property `networks`
|
174
264
|
# @return [Array<Google::Apis::BaremetalsolutionV2::Network>]
|
@@ -179,6 +269,13 @@ module Google
|
|
179
269
|
# @return [String]
|
180
270
|
attr_accessor :os_image
|
181
271
|
|
272
|
+
# Immutable. Pod name. Pod is an independent part of infrastructure. Instance
|
273
|
+
# can be connected to the assets (networks, volumes) allocated in the same pod
|
274
|
+
# only.
|
275
|
+
# Corresponds to the JSON property `pod`
|
276
|
+
# @return [String]
|
277
|
+
attr_accessor :pod
|
278
|
+
|
182
279
|
# The state of the server.
|
183
280
|
# Corresponds to the JSON property `state`
|
184
281
|
# @return [String]
|
@@ -200,11 +297,14 @@ module Google
|
|
200
297
|
@id = args[:id] if args.key?(:id)
|
201
298
|
@interactive_serial_console_enabled = args[:interactive_serial_console_enabled] if args.key?(:interactive_serial_console_enabled)
|
202
299
|
@labels = args[:labels] if args.key?(:labels)
|
300
|
+
@logical_interfaces = args[:logical_interfaces] if args.key?(:logical_interfaces)
|
203
301
|
@luns = args[:luns] if args.key?(:luns)
|
204
302
|
@machine_type = args[:machine_type] if args.key?(:machine_type)
|
205
303
|
@name = args[:name] if args.key?(:name)
|
304
|
+
@network_template = args[:network_template] if args.key?(:network_template)
|
206
305
|
@networks = args[:networks] if args.key?(:networks)
|
207
306
|
@os_image = args[:os_image] if args.key?(:os_image)
|
307
|
+
@pod = args[:pod] if args.key?(:pod)
|
208
308
|
@state = args[:state] if args.key?(:state)
|
209
309
|
@update_time = args[:update_time] if args.key?(:update_time)
|
210
310
|
end
|
@@ -243,11 +343,29 @@ module Google
|
|
243
343
|
# @return [String]
|
244
344
|
attr_accessor :instance_type
|
245
345
|
|
346
|
+
# List of logical interfaces for the instance. The number of logical interfaces
|
347
|
+
# will be the same as number of hardware bond/nic on the chosen network template.
|
348
|
+
# Filled if InstanceConfig.multivlan_config is true.
|
349
|
+
# Corresponds to the JSON property `logicalInterfaces`
|
350
|
+
# @return [Array<Google::Apis::BaremetalsolutionV2::GoogleCloudBaremetalsolutionV2LogicalInterface>]
|
351
|
+
attr_accessor :logical_interfaces
|
352
|
+
|
246
353
|
# Output only. The name of the instance config.
|
247
354
|
# Corresponds to the JSON property `name`
|
248
355
|
# @return [String]
|
249
356
|
attr_accessor :name
|
250
357
|
|
358
|
+
# The type of network configuration on the instance.
|
359
|
+
# Corresponds to the JSON property `networkConfig`
|
360
|
+
# @return [String]
|
361
|
+
attr_accessor :network_config
|
362
|
+
|
363
|
+
# Server network template name. Filled if InstanceConfig.multivlan_config is
|
364
|
+
# true.
|
365
|
+
# Corresponds to the JSON property `networkTemplate`
|
366
|
+
# @return [String]
|
367
|
+
attr_accessor :network_template
|
368
|
+
|
251
369
|
# OS image to initialize the instance. [Available images](https://cloud.google.
|
252
370
|
# com/bare-metal/docs/bms-planning#server_configurations)
|
253
371
|
# Corresponds to the JSON property `osImage`
|
@@ -276,7 +394,10 @@ module Google
|
|
276
394
|
@hyperthreading = args[:hyperthreading] if args.key?(:hyperthreading)
|
277
395
|
@id = args[:id] if args.key?(:id)
|
278
396
|
@instance_type = args[:instance_type] if args.key?(:instance_type)
|
397
|
+
@logical_interfaces = args[:logical_interfaces] if args.key?(:logical_interfaces)
|
279
398
|
@name = args[:name] if args.key?(:name)
|
399
|
+
@network_config = args[:network_config] if args.key?(:network_config)
|
400
|
+
@network_template = args[:network_template] if args.key?(:network_template)
|
280
401
|
@os_image = args[:os_image] if args.key?(:os_image)
|
281
402
|
@private_network = args[:private_network] if args.key?(:private_network)
|
282
403
|
@user_note = args[:user_note] if args.key?(:user_note)
|
@@ -540,63 +661,6 @@ module Google
|
|
540
661
|
end
|
541
662
|
end
|
542
663
|
|
543
|
-
# Response message containing the list of snapshot schedule policies.
|
544
|
-
class ListSnapshotSchedulePoliciesResponse
|
545
|
-
include Google::Apis::Core::Hashable
|
546
|
-
|
547
|
-
# Token to retrieve the next page of results, or empty if there are no more
|
548
|
-
# results in the list.
|
549
|
-
# Corresponds to the JSON property `nextPageToken`
|
550
|
-
# @return [String]
|
551
|
-
attr_accessor :next_page_token
|
552
|
-
|
553
|
-
# The snapshot schedule policies registered in this project.
|
554
|
-
# Corresponds to the JSON property `snapshotSchedulePolicies`
|
555
|
-
# @return [Array<Google::Apis::BaremetalsolutionV2::SnapshotSchedulePolicy>]
|
556
|
-
attr_accessor :snapshot_schedule_policies
|
557
|
-
|
558
|
-
def initialize(**args)
|
559
|
-
update!(**args)
|
560
|
-
end
|
561
|
-
|
562
|
-
# Update properties of this object
|
563
|
-
def update!(**args)
|
564
|
-
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
565
|
-
@snapshot_schedule_policies = args[:snapshot_schedule_policies] if args.key?(:snapshot_schedule_policies)
|
566
|
-
end
|
567
|
-
end
|
568
|
-
|
569
|
-
# Response message containing the list of storage volume snapshots.
|
570
|
-
class ListVolumeSnapshotsResponse
|
571
|
-
include Google::Apis::Core::Hashable
|
572
|
-
|
573
|
-
# A token identifying a page of results from the server.
|
574
|
-
# Corresponds to the JSON property `nextPageToken`
|
575
|
-
# @return [String]
|
576
|
-
attr_accessor :next_page_token
|
577
|
-
|
578
|
-
# Locations that could not be reached.
|
579
|
-
# Corresponds to the JSON property `unreachable`
|
580
|
-
# @return [Array<String>]
|
581
|
-
attr_accessor :unreachable
|
582
|
-
|
583
|
-
# The list of storage volumes.
|
584
|
-
# Corresponds to the JSON property `volumeSnapshots`
|
585
|
-
# @return [Array<Google::Apis::BaremetalsolutionV2::VolumeSnapshot>]
|
586
|
-
attr_accessor :volume_snapshots
|
587
|
-
|
588
|
-
def initialize(**args)
|
589
|
-
update!(**args)
|
590
|
-
end
|
591
|
-
|
592
|
-
# Update properties of this object
|
593
|
-
def update!(**args)
|
594
|
-
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
595
|
-
@unreachable = args[:unreachable] if args.key?(:unreachable)
|
596
|
-
@volume_snapshots = args[:volume_snapshots] if args.key?(:volume_snapshots)
|
597
|
-
end
|
598
|
-
end
|
599
|
-
|
600
664
|
# Response message containing the list of storage volumes.
|
601
665
|
class ListVolumesResponse
|
602
666
|
include Google::Apis::Core::Hashable
|
@@ -675,26 +739,36 @@ module Google
|
|
675
739
|
end
|
676
740
|
end
|
677
741
|
|
678
|
-
#
|
679
|
-
class
|
742
|
+
# Each logical network interface is effectively a network and IP pair.
|
743
|
+
class LogicalNetworkInterface
|
680
744
|
include Google::Apis::Core::Hashable
|
681
745
|
|
682
|
-
#
|
683
|
-
#
|
684
|
-
# Corresponds to the JSON property `
|
746
|
+
# Whether this interface is the default gateway for the instance. Only one
|
747
|
+
# interface can be the default gateway for the instance.
|
748
|
+
# Corresponds to the JSON property `defaultGateway`
|
749
|
+
# @return [Boolean]
|
750
|
+
attr_accessor :default_gateway
|
751
|
+
alias_method :default_gateway?, :default_gateway
|
752
|
+
|
753
|
+
# An identifier for the `Network`, generated by the backend.
|
754
|
+
# Corresponds to the JSON property `id`
|
685
755
|
# @return [String]
|
686
|
-
attr_accessor :
|
756
|
+
attr_accessor :id
|
687
757
|
|
688
|
-
#
|
689
|
-
# Corresponds to the JSON property `
|
690
|
-
# @return [
|
691
|
-
attr_accessor :
|
692
|
-
alias_method :required?, :required
|
758
|
+
# IP address in the network
|
759
|
+
# Corresponds to the JSON property `ipAddress`
|
760
|
+
# @return [String]
|
761
|
+
attr_accessor :ip_address
|
693
762
|
|
694
|
-
#
|
695
|
-
# Corresponds to the JSON property `
|
763
|
+
# Name of the network
|
764
|
+
# Corresponds to the JSON property `network`
|
696
765
|
# @return [String]
|
697
|
-
attr_accessor :
|
766
|
+
attr_accessor :network
|
767
|
+
|
768
|
+
# Type of network.
|
769
|
+
# Corresponds to the JSON property `networkType`
|
770
|
+
# @return [String]
|
771
|
+
attr_accessor :network_type
|
698
772
|
|
699
773
|
def initialize(**args)
|
700
774
|
update!(**args)
|
@@ -702,9 +776,11 @@ module Google
|
|
702
776
|
|
703
777
|
# Update properties of this object
|
704
778
|
def update!(**args)
|
705
|
-
@
|
706
|
-
@
|
707
|
-
@
|
779
|
+
@default_gateway = args[:default_gateway] if args.key?(:default_gateway)
|
780
|
+
@id = args[:id] if args.key?(:id)
|
781
|
+
@ip_address = args[:ip_address] if args.key?(:ip_address)
|
782
|
+
@network = args[:network] if args.key?(:network)
|
783
|
+
@network_type = args[:network_type] if args.key?(:network_type)
|
708
784
|
end
|
709
785
|
end
|
710
786
|
|
@@ -846,6 +922,13 @@ module Google
|
|
846
922
|
# @return [String]
|
847
923
|
attr_accessor :name
|
848
924
|
|
925
|
+
# List of IP address reservations in this network. When updating this field, an
|
926
|
+
# error will be generated if a reservation conflicts with an IP address already
|
927
|
+
# allocated to a physical server.
|
928
|
+
# Corresponds to the JSON property `reservations`
|
929
|
+
# @return [Array<Google::Apis::BaremetalsolutionV2::NetworkAddressReservation>]
|
930
|
+
attr_accessor :reservations
|
931
|
+
|
849
932
|
# IP range for reserved for services (e.g. NFS).
|
850
933
|
# Corresponds to the JSON property `servicesCidr`
|
851
934
|
# @return [String]
|
@@ -883,6 +966,7 @@ module Google
|
|
883
966
|
@labels = args[:labels] if args.key?(:labels)
|
884
967
|
@mac_address = args[:mac_address] if args.key?(:mac_address)
|
885
968
|
@name = args[:name] if args.key?(:name)
|
969
|
+
@reservations = args[:reservations] if args.key?(:reservations)
|
886
970
|
@services_cidr = args[:services_cidr] if args.key?(:services_cidr)
|
887
971
|
@state = args[:state] if args.key?(:state)
|
888
972
|
@type = args[:type] if args.key?(:type)
|
@@ -922,6 +1006,40 @@ module Google
|
|
922
1006
|
end
|
923
1007
|
end
|
924
1008
|
|
1009
|
+
# A reservation of one or more addresses in a network.
|
1010
|
+
class NetworkAddressReservation
|
1011
|
+
include Google::Apis::Core::Hashable
|
1012
|
+
|
1013
|
+
# The last address of this reservation block, inclusive. I.e., for cases when
|
1014
|
+
# reservations are only single addresses, end_address and start_address will be
|
1015
|
+
# the same. Must be specified as a single IPv4 address, e.g. 10.1.2.2.
|
1016
|
+
# Corresponds to the JSON property `endAddress`
|
1017
|
+
# @return [String]
|
1018
|
+
attr_accessor :end_address
|
1019
|
+
|
1020
|
+
# A note about this reservation, intended for human consumption.
|
1021
|
+
# Corresponds to the JSON property `note`
|
1022
|
+
# @return [String]
|
1023
|
+
attr_accessor :note
|
1024
|
+
|
1025
|
+
# The first address of this reservation block. Must be specified as a single
|
1026
|
+
# IPv4 address, e.g. 10.1.2.2.
|
1027
|
+
# Corresponds to the JSON property `startAddress`
|
1028
|
+
# @return [String]
|
1029
|
+
attr_accessor :start_address
|
1030
|
+
|
1031
|
+
def initialize(**args)
|
1032
|
+
update!(**args)
|
1033
|
+
end
|
1034
|
+
|
1035
|
+
# Update properties of this object
|
1036
|
+
def update!(**args)
|
1037
|
+
@end_address = args[:end_address] if args.key?(:end_address)
|
1038
|
+
@note = args[:note] if args.key?(:note)
|
1039
|
+
@start_address = args[:start_address] if args.key?(:start_address)
|
1040
|
+
end
|
1041
|
+
end
|
1042
|
+
|
925
1043
|
# Configuration parameters for a new network.
|
926
1044
|
class NetworkConfig
|
927
1045
|
include Google::Apis::Core::Hashable
|
@@ -964,7 +1082,7 @@ module Google
|
|
964
1082
|
attr_accessor :type
|
965
1083
|
|
966
1084
|
# User note field, it can be used by customers to add additional information for
|
967
|
-
# the BMS Ops team
|
1085
|
+
# the BMS Ops team .
|
968
1086
|
# Corresponds to the JSON property `userNote`
|
969
1087
|
# @return [String]
|
970
1088
|
attr_accessor :user_note
|
@@ -1288,7 +1406,7 @@ module Google
|
|
1288
1406
|
# @return [String]
|
1289
1407
|
attr_accessor :state
|
1290
1408
|
|
1291
|
-
# A generated
|
1409
|
+
# A generated ticket id to track provisioning request.
|
1292
1410
|
# Corresponds to the JSON property `ticketId`
|
1293
1411
|
# @return [String]
|
1294
1412
|
attr_accessor :ticket_id
|
@@ -1422,50 +1540,6 @@ module Google
|
|
1422
1540
|
end
|
1423
1541
|
end
|
1424
1542
|
|
1425
|
-
# Message for restoring a volume snapshot.
|
1426
|
-
class RestoreVolumeSnapshotRequest
|
1427
|
-
include Google::Apis::Core::Hashable
|
1428
|
-
|
1429
|
-
def initialize(**args)
|
1430
|
-
update!(**args)
|
1431
|
-
end
|
1432
|
-
|
1433
|
-
# Update properties of this object
|
1434
|
-
def update!(**args)
|
1435
|
-
end
|
1436
|
-
end
|
1437
|
-
|
1438
|
-
# A snapshot schedule.
|
1439
|
-
class Schedule
|
1440
|
-
include Google::Apis::Core::Hashable
|
1441
|
-
|
1442
|
-
# A crontab-like specification that the schedule uses to take snapshots.
|
1443
|
-
# Corresponds to the JSON property `crontabSpec`
|
1444
|
-
# @return [String]
|
1445
|
-
attr_accessor :crontab_spec
|
1446
|
-
|
1447
|
-
# A list of snapshot names created in this schedule.
|
1448
|
-
# Corresponds to the JSON property `prefix`
|
1449
|
-
# @return [String]
|
1450
|
-
attr_accessor :prefix
|
1451
|
-
|
1452
|
-
# The maximum number of snapshots to retain in this schedule.
|
1453
|
-
# Corresponds to the JSON property `retentionCount`
|
1454
|
-
# @return [Fixnum]
|
1455
|
-
attr_accessor :retention_count
|
1456
|
-
|
1457
|
-
def initialize(**args)
|
1458
|
-
update!(**args)
|
1459
|
-
end
|
1460
|
-
|
1461
|
-
# Update properties of this object
|
1462
|
-
def update!(**args)
|
1463
|
-
@crontab_spec = args[:crontab_spec] if args.key?(:crontab_spec)
|
1464
|
-
@prefix = args[:prefix] if args.key?(:prefix)
|
1465
|
-
@retention_count = args[:retention_count] if args.key?(:retention_count)
|
1466
|
-
end
|
1467
|
-
end
|
1468
|
-
|
1469
1543
|
# Network template.
|
1470
1544
|
class ServerNetworkTemplate
|
1471
1545
|
include Google::Apis::Core::Hashable
|
@@ -1477,10 +1551,13 @@ module Google
|
|
1477
1551
|
|
1478
1552
|
# Logical interfaces.
|
1479
1553
|
# Corresponds to the JSON property `logicalInterfaces`
|
1480
|
-
# @return [Array<Google::Apis::BaremetalsolutionV2::
|
1554
|
+
# @return [Array<Google::Apis::BaremetalsolutionV2::GoogleCloudBaremetalsolutionV2ServerNetworkTemplateLogicalInterface>]
|
1481
1555
|
attr_accessor :logical_interfaces
|
1482
1556
|
|
1483
|
-
# Output only. Template's unique name.
|
1557
|
+
# Output only. Template's unique name. The full resource name follows the
|
1558
|
+
# pattern: `projects/`project`/locations/`location`/serverNetworkTemplate/`
|
1559
|
+
# server_network_template`` Generally, the `server_network_template` follows the
|
1560
|
+
# syntax of "bond" or "nic".
|
1484
1561
|
# Corresponds to the JSON property `name`
|
1485
1562
|
# @return [String]
|
1486
1563
|
attr_accessor :name
|
@@ -1540,56 +1617,6 @@ module Google
|
|
1540
1617
|
end
|
1541
1618
|
end
|
1542
1619
|
|
1543
|
-
# A snapshot schedule policy.
|
1544
|
-
class SnapshotSchedulePolicy
|
1545
|
-
include Google::Apis::Core::Hashable
|
1546
|
-
|
1547
|
-
# The description of the snapshot schedule policy.
|
1548
|
-
# Corresponds to the JSON property `description`
|
1549
|
-
# @return [String]
|
1550
|
-
attr_accessor :description
|
1551
|
-
|
1552
|
-
# An identifier for the snapshot schedule policy, generated by the backend.
|
1553
|
-
# Corresponds to the JSON property `id`
|
1554
|
-
# @return [String]
|
1555
|
-
attr_accessor :id
|
1556
|
-
|
1557
|
-
# Labels as key value pairs.
|
1558
|
-
# Corresponds to the JSON property `labels`
|
1559
|
-
# @return [Hash<String,String>]
|
1560
|
-
attr_accessor :labels
|
1561
|
-
|
1562
|
-
# Output only. The name of the snapshot schedule policy.
|
1563
|
-
# Corresponds to the JSON property `name`
|
1564
|
-
# @return [String]
|
1565
|
-
attr_accessor :name
|
1566
|
-
|
1567
|
-
# The snapshot schedules contained in this policy. You can specify a maximum of
|
1568
|
-
# 5 schedules.
|
1569
|
-
# Corresponds to the JSON property `schedules`
|
1570
|
-
# @return [Array<Google::Apis::BaremetalsolutionV2::Schedule>]
|
1571
|
-
attr_accessor :schedules
|
1572
|
-
|
1573
|
-
# The state of the snapshot schedule policy.
|
1574
|
-
# Corresponds to the JSON property `state`
|
1575
|
-
# @return [String]
|
1576
|
-
attr_accessor :state
|
1577
|
-
|
1578
|
-
def initialize(**args)
|
1579
|
-
update!(**args)
|
1580
|
-
end
|
1581
|
-
|
1582
|
-
# Update properties of this object
|
1583
|
-
def update!(**args)
|
1584
|
-
@description = args[:description] if args.key?(:description)
|
1585
|
-
@id = args[:id] if args.key?(:id)
|
1586
|
-
@labels = args[:labels] if args.key?(:labels)
|
1587
|
-
@name = args[:name] if args.key?(:name)
|
1588
|
-
@schedules = args[:schedules] if args.key?(:schedules)
|
1589
|
-
@state = args[:state] if args.key?(:state)
|
1590
|
-
end
|
1591
|
-
end
|
1592
|
-
|
1593
1620
|
# Message requesting to start a server.
|
1594
1621
|
class StartInstanceRequest
|
1595
1622
|
include Google::Apis::Core::Hashable
|
@@ -1808,6 +1835,11 @@ module Google
|
|
1808
1835
|
# @return [String]
|
1809
1836
|
attr_accessor :name
|
1810
1837
|
|
1838
|
+
# Immutable. Pod name.
|
1839
|
+
# Corresponds to the JSON property `pod`
|
1840
|
+
# @return [String]
|
1841
|
+
attr_accessor :pod
|
1842
|
+
|
1811
1843
|
# The space remaining in the storage volume for new LUNs, in GiB, excluding
|
1812
1844
|
# space reserved for snapshots.
|
1813
1845
|
# Corresponds to the JSON property `remainingSpaceGib`
|
@@ -1862,6 +1894,7 @@ module Google
|
|
1862
1894
|
@id = args[:id] if args.key?(:id)
|
1863
1895
|
@labels = args[:labels] if args.key?(:labels)
|
1864
1896
|
@name = args[:name] if args.key?(:name)
|
1897
|
+
@pod = args[:pod] if args.key?(:pod)
|
1865
1898
|
@remaining_space_gib = args[:remaining_space_gib] if args.key?(:remaining_space_gib)
|
1866
1899
|
@requested_size_gib = args[:requested_size_gib] if args.key?(:requested_size_gib)
|
1867
1900
|
@snapshot_auto_delete_behavior = args[:snapshot_auto_delete_behavior] if args.key?(:snapshot_auto_delete_behavior)
|
@@ -1931,7 +1964,7 @@ module Google
|
|
1931
1964
|
attr_accessor :type
|
1932
1965
|
|
1933
1966
|
# User note field, it can be used by customers to add additional information for
|
1934
|
-
# the BMS Ops team
|
1967
|
+
# the BMS Ops team .
|
1935
1968
|
# Corresponds to the JSON property `userNote`
|
1936
1969
|
# @return [String]
|
1937
1970
|
attr_accessor :user_note
|
@@ -1955,55 +1988,6 @@ module Google
|
|
1955
1988
|
@user_note = args[:user_note] if args.key?(:user_note)
|
1956
1989
|
end
|
1957
1990
|
end
|
1958
|
-
|
1959
|
-
# Snapshot registered for a given storage volume.
|
1960
|
-
class VolumeSnapshot
|
1961
|
-
include Google::Apis::Core::Hashable
|
1962
|
-
|
1963
|
-
# Output only. The creation time of the storage volume snapshot.
|
1964
|
-
# Corresponds to the JSON property `createTime`
|
1965
|
-
# @return [String]
|
1966
|
-
attr_accessor :create_time
|
1967
|
-
|
1968
|
-
# The description of the storage volume snapshot.
|
1969
|
-
# Corresponds to the JSON property `description`
|
1970
|
-
# @return [String]
|
1971
|
-
attr_accessor :description
|
1972
|
-
|
1973
|
-
# An identifier for the snapshot, generated by the backend.
|
1974
|
-
# Corresponds to the JSON property `id`
|
1975
|
-
# @return [String]
|
1976
|
-
attr_accessor :id
|
1977
|
-
|
1978
|
-
# Output only. The name of the storage volume snapshot.
|
1979
|
-
# Corresponds to the JSON property `name`
|
1980
|
-
# @return [String]
|
1981
|
-
attr_accessor :name
|
1982
|
-
|
1983
|
-
# The size of the storage volume snapshot, in bytes.
|
1984
|
-
# Corresponds to the JSON property `sizeBytes`
|
1985
|
-
# @return [Fixnum]
|
1986
|
-
attr_accessor :size_bytes
|
1987
|
-
|
1988
|
-
# The storage volume this snapshot belongs to.
|
1989
|
-
# Corresponds to the JSON property `storageVolume`
|
1990
|
-
# @return [String]
|
1991
|
-
attr_accessor :storage_volume
|
1992
|
-
|
1993
|
-
def initialize(**args)
|
1994
|
-
update!(**args)
|
1995
|
-
end
|
1996
|
-
|
1997
|
-
# Update properties of this object
|
1998
|
-
def update!(**args)
|
1999
|
-
@create_time = args[:create_time] if args.key?(:create_time)
|
2000
|
-
@description = args[:description] if args.key?(:description)
|
2001
|
-
@id = args[:id] if args.key?(:id)
|
2002
|
-
@name = args[:name] if args.key?(:name)
|
2003
|
-
@size_bytes = args[:size_bytes] if args.key?(:size_bytes)
|
2004
|
-
@storage_volume = args[:storage_volume] if args.key?(:storage_volume)
|
2005
|
-
end
|
2006
|
-
end
|
2007
1991
|
end
|
2008
1992
|
end
|
2009
1993
|
end
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module BaremetalsolutionV2
|
18
18
|
# Version of the google-apis-baremetalsolution_v2 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.14.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.4.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20220524"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|