google-apis-baremetalsolution_v1alpha1 0.1.0 → 0.2.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 +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/google/apis/baremetalsolution_v1alpha1/classes.rb +45 -0
- data/lib/google/apis/baremetalsolution_v1alpha1/gem_version.rb +2 -2
- data/lib/google/apis/baremetalsolution_v1alpha1/representations.rb +7 -0
- data/lib/google/apis/baremetalsolution_v1alpha1/service.rb +5 -2
- data/lib/google/apis/baremetalsolution_v1alpha1.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a062462e33be09f7262ee57549e5268c854864054d60a9ade29d759bf583dc4d
|
4
|
+
data.tar.gz: d70ea7f790df05f0736a5653460b3138c903c63f67e58b3e865fbff46a764be1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 13441afd85bfcebe27c4232551c9595170570afa00b510a51e68afa56421efee8151c29f7276a02ff67e69cb3c357562631b98ff54bd640c502271eab64a7133
|
7
|
+
data.tar.gz: dcede2ade7675b71447e51825d6a19fdd03ed434d67062c15eebb9d701bc49c64fb1daf55542cab3d67a346fb0aed627838906b10a1a9d3f5d2f763b1bcb1789
|
data/CHANGELOG.md
CHANGED
@@ -183,6 +183,12 @@ module Google
|
|
183
183
|
# @return [Google::Apis::BaremetalsolutionV1alpha1::NetworkAddress]
|
184
184
|
attr_accessor :private_network
|
185
185
|
|
186
|
+
# User note field, it can be used by customers to add additional information for
|
187
|
+
# the BMS Ops team (b/194021617).
|
188
|
+
# Corresponds to the JSON property `userNote`
|
189
|
+
# @return [String]
|
190
|
+
attr_accessor :user_note
|
191
|
+
|
186
192
|
def initialize(**args)
|
187
193
|
update!(**args)
|
188
194
|
end
|
@@ -196,6 +202,7 @@ module Google
|
|
196
202
|
@location = args[:location] if args.key?(:location)
|
197
203
|
@os_image = args[:os_image] if args.key?(:os_image)
|
198
204
|
@private_network = args[:private_network] if args.key?(:private_network)
|
205
|
+
@user_note = args[:user_note] if args.key?(:user_note)
|
199
206
|
end
|
200
207
|
end
|
201
208
|
|
@@ -438,6 +445,11 @@ module Google
|
|
438
445
|
# @return [Google::Apis::BaremetalsolutionV1alpha1::Volume]
|
439
446
|
attr_accessor :remote_volume
|
440
447
|
|
448
|
+
# The serial number of this Lun
|
449
|
+
# Corresponds to the JSON property `serialNumber`
|
450
|
+
# @return [String]
|
451
|
+
attr_accessor :serial_number
|
452
|
+
|
441
453
|
# Whether this Lun is allowed to be shared between multiple physical servers.
|
442
454
|
# Corresponds to the JSON property `shareable`
|
443
455
|
# @return [Boolean]
|
@@ -454,6 +466,11 @@ module Google
|
|
454
466
|
# @return [String]
|
455
467
|
attr_accessor :state
|
456
468
|
|
469
|
+
# World Wide IDentifier of this Lun
|
470
|
+
# Corresponds to the JSON property `wwid`
|
471
|
+
# @return [String]
|
472
|
+
attr_accessor :wwid
|
473
|
+
|
457
474
|
def initialize(**args)
|
458
475
|
update!(**args)
|
459
476
|
end
|
@@ -464,9 +481,11 @@ module Google
|
|
464
481
|
@multiprotocol_type = args[:multiprotocol_type] if args.key?(:multiprotocol_type)
|
465
482
|
@name = args[:name] if args.key?(:name)
|
466
483
|
@remote_volume = args[:remote_volume] if args.key?(:remote_volume)
|
484
|
+
@serial_number = args[:serial_number] if args.key?(:serial_number)
|
467
485
|
@shareable = args[:shareable] if args.key?(:shareable)
|
468
486
|
@size_gb = args[:size_gb] if args.key?(:size_gb)
|
469
487
|
@state = args[:state] if args.key?(:state)
|
488
|
+
@wwid = args[:wwid] if args.key?(:wwid)
|
470
489
|
end
|
471
490
|
end
|
472
491
|
|
@@ -555,6 +574,12 @@ module Google
|
|
555
574
|
# @return [String]
|
556
575
|
attr_accessor :type
|
557
576
|
|
577
|
+
# User note field, it can be used by customers to add additional information for
|
578
|
+
# the BMS Ops team (b/194021617).
|
579
|
+
# Corresponds to the JSON property `userNote`
|
580
|
+
# @return [String]
|
581
|
+
attr_accessor :user_note
|
582
|
+
|
558
583
|
# List of VLAN attachments. As of now there are always 2 attachments, but it is
|
559
584
|
# going to change in the future (multi vlan).
|
560
585
|
# Corresponds to the JSON property `vlanAttachments`
|
@@ -573,6 +598,7 @@ module Google
|
|
573
598
|
@location = args[:location] if args.key?(:location)
|
574
599
|
@service_cidr = args[:service_cidr] if args.key?(:service_cidr)
|
575
600
|
@type = args[:type] if args.key?(:type)
|
601
|
+
@user_note = args[:user_note] if args.key?(:user_note)
|
576
602
|
@vlan_attachments = args[:vlan_attachments] if args.key?(:vlan_attachments)
|
577
603
|
end
|
578
604
|
end
|
@@ -966,6 +992,11 @@ module Google
|
|
966
992
|
# @return [Fixnum]
|
967
993
|
attr_accessor :requested_size_gb
|
968
994
|
|
995
|
+
# The behavior to use when snapshot reserved space is full.
|
996
|
+
# Corresponds to the JSON property `snapshotAutoDeleteBehavior`
|
997
|
+
# @return [String]
|
998
|
+
attr_accessor :snapshot_auto_delete_behavior
|
999
|
+
|
969
1000
|
# The percent of space on this Volume reserved for snapshots.
|
970
1001
|
# Corresponds to the JSON property `snapshotReservedSpacePercent`
|
971
1002
|
# @return [Fixnum]
|
@@ -1004,6 +1035,7 @@ module Google
|
|
1004
1035
|
@name = args[:name] if args.key?(:name)
|
1005
1036
|
@remaining_space_gb = args[:remaining_space_gb] if args.key?(:remaining_space_gb)
|
1006
1037
|
@requested_size_gb = args[:requested_size_gb] if args.key?(:requested_size_gb)
|
1038
|
+
@snapshot_auto_delete_behavior = args[:snapshot_auto_delete_behavior] if args.key?(:snapshot_auto_delete_behavior)
|
1007
1039
|
@snapshot_reserved_space_percent = args[:snapshot_reserved_space_percent] if args.key?(:snapshot_reserved_space_percent)
|
1008
1040
|
@snapshot_reserved_space_remaining_gb = args[:snapshot_reserved_space_remaining_gb] if args.key?(:snapshot_reserved_space_remaining_gb)
|
1009
1041
|
@snapshot_reserved_space_used_percent = args[:snapshot_reserved_space_used_percent] if args.key?(:snapshot_reserved_space_used_percent)
|
@@ -1064,6 +1096,12 @@ module Google
|
|
1064
1096
|
# @return [String]
|
1065
1097
|
attr_accessor :type
|
1066
1098
|
|
1099
|
+
# User note field, it can be used by customers to add additional information for
|
1100
|
+
# the BMS Ops team (b/194021617).
|
1101
|
+
# Corresponds to the JSON property `userNote`
|
1102
|
+
# @return [String]
|
1103
|
+
attr_accessor :user_note
|
1104
|
+
|
1067
1105
|
def initialize(**args)
|
1068
1106
|
update!(**args)
|
1069
1107
|
end
|
@@ -1079,6 +1117,7 @@ module Google
|
|
1079
1117
|
@size_gb = args[:size_gb] if args.key?(:size_gb)
|
1080
1118
|
@snapshots_enabled = args[:snapshots_enabled] if args.key?(:snapshots_enabled)
|
1081
1119
|
@type = args[:type] if args.key?(:type)
|
1120
|
+
@user_note = args[:user_note] if args.key?(:user_note)
|
1082
1121
|
end
|
1083
1122
|
end
|
1084
1123
|
|
@@ -1086,6 +1125,11 @@ module Google
|
|
1086
1125
|
class VolumeSnapshot
|
1087
1126
|
include Google::Apis::Core::Hashable
|
1088
1127
|
|
1128
|
+
# The creation time of this Snapshot.
|
1129
|
+
# Corresponds to the JSON property `creationTime`
|
1130
|
+
# @return [String]
|
1131
|
+
attr_accessor :creation_time
|
1132
|
+
|
1089
1133
|
# The description of this Snapshot.
|
1090
1134
|
# Corresponds to the JSON property `description`
|
1091
1135
|
# @return [String]
|
@@ -1112,6 +1156,7 @@ module Google
|
|
1112
1156
|
|
1113
1157
|
# Update properties of this object
|
1114
1158
|
def update!(**args)
|
1159
|
+
@creation_time = args[:creation_time] if args.key?(:creation_time)
|
1115
1160
|
@description = args[:description] if args.key?(:description)
|
1116
1161
|
@name = args[:name] if args.key?(:name)
|
1117
1162
|
@size_bytes = args[:size_bytes] if args.key?(:size_bytes)
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module BaremetalsolutionV1alpha1
|
18
18
|
# Version of the google-apis-baremetalsolution_v1alpha1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.2.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.4.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20210802"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -293,6 +293,7 @@ module Google
|
|
293
293
|
property :os_image, as: 'osImage'
|
294
294
|
property :private_network, as: 'privateNetwork', class: Google::Apis::BaremetalsolutionV1alpha1::NetworkAddress, decorator: Google::Apis::BaremetalsolutionV1alpha1::NetworkAddress::Representation
|
295
295
|
|
296
|
+
property :user_note, as: 'userNote'
|
296
297
|
end
|
297
298
|
end
|
298
299
|
|
@@ -376,9 +377,11 @@ module Google
|
|
376
377
|
property :name, as: 'name'
|
377
378
|
property :remote_volume, as: 'remoteVolume', class: Google::Apis::BaremetalsolutionV1alpha1::Volume, decorator: Google::Apis::BaremetalsolutionV1alpha1::Volume::Representation
|
378
379
|
|
380
|
+
property :serial_number, as: 'serialNumber'
|
379
381
|
property :shareable, as: 'shareable'
|
380
382
|
property :size_gb, :numeric_string => true, as: 'sizeGb'
|
381
383
|
property :state, as: 'state'
|
384
|
+
property :wwid, as: 'wwid'
|
382
385
|
end
|
383
386
|
end
|
384
387
|
|
@@ -407,6 +410,7 @@ module Google
|
|
407
410
|
property :location, as: 'location'
|
408
411
|
property :service_cidr, as: 'serviceCidr'
|
409
412
|
property :type, as: 'type'
|
413
|
+
property :user_note, as: 'userNote'
|
410
414
|
collection :vlan_attachments, as: 'vlanAttachments', class: Google::Apis::BaremetalsolutionV1alpha1::VlanAttachment, decorator: Google::Apis::BaremetalsolutionV1alpha1::VlanAttachment::Representation
|
411
415
|
|
412
416
|
end
|
@@ -538,6 +542,7 @@ module Google
|
|
538
542
|
property :name, as: 'name'
|
539
543
|
property :remaining_space_gb, :numeric_string => true, as: 'remainingSpaceGb'
|
540
544
|
property :requested_size_gb, :numeric_string => true, as: 'requestedSizeGb'
|
545
|
+
property :snapshot_auto_delete_behavior, as: 'snapshotAutoDeleteBehavior'
|
541
546
|
property :snapshot_reserved_space_percent, as: 'snapshotReservedSpacePercent'
|
542
547
|
property :snapshot_reserved_space_remaining_gb, :numeric_string => true, as: 'snapshotReservedSpaceRemainingGb'
|
543
548
|
property :snapshot_reserved_space_used_percent, as: 'snapshotReservedSpaceUsedPercent'
|
@@ -560,12 +565,14 @@ module Google
|
|
560
565
|
property :size_gb, as: 'sizeGb'
|
561
566
|
property :snapshots_enabled, as: 'snapshotsEnabled'
|
562
567
|
property :type, as: 'type'
|
568
|
+
property :user_note, as: 'userNote'
|
563
569
|
end
|
564
570
|
end
|
565
571
|
|
566
572
|
class VolumeSnapshot
|
567
573
|
# @private
|
568
574
|
class Representation < Google::Apis::Core::JsonRepresentation
|
575
|
+
property :creation_time, as: 'creationTime'
|
569
576
|
property :description, as: 'description'
|
570
577
|
property :name, as: 'name'
|
571
578
|
property :size_bytes, :numeric_string => true, as: 'sizeBytes'
|
@@ -425,7 +425,7 @@ module Google
|
|
425
425
|
# @param [Google::Apis::BaremetalsolutionV1alpha1::Volume] volume_object
|
426
426
|
# @param [String] update_mask
|
427
427
|
# The list of fields to update. The only currently supported field is `
|
428
|
-
#
|
428
|
+
# snapshot_auto_delete_behavior`.
|
429
429
|
# @param [String] fields
|
430
430
|
# Selector specifying which fields to include in a partial response.
|
431
431
|
# @param [String] quota_user
|
@@ -691,6 +691,8 @@ module Google
|
|
691
691
|
# @param [String] parent
|
692
692
|
# Required. The parent project containing the SnapshotSchedulePolicy.
|
693
693
|
# @param [Google::Apis::BaremetalsolutionV1alpha1::SnapshotSchedulePolicy] snapshot_schedule_policy_object
|
694
|
+
# @param [String] snapshot_schedule_policy_id
|
695
|
+
# Required. Snapshot policy ID
|
694
696
|
# @param [String] fields
|
695
697
|
# Selector specifying which fields to include in a partial response.
|
696
698
|
# @param [String] quota_user
|
@@ -708,13 +710,14 @@ module Google
|
|
708
710
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
709
711
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
710
712
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
711
|
-
def create_project_snapshot_schedule_policy(parent, snapshot_schedule_policy_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
713
|
+
def create_project_snapshot_schedule_policy(parent, snapshot_schedule_policy_object = nil, snapshot_schedule_policy_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
712
714
|
command = make_simple_command(:post, 'v1alpha1/{+parent}/snapshotSchedulePolicies', options)
|
713
715
|
command.request_representation = Google::Apis::BaremetalsolutionV1alpha1::SnapshotSchedulePolicy::Representation
|
714
716
|
command.request_object = snapshot_schedule_policy_object
|
715
717
|
command.response_representation = Google::Apis::BaremetalsolutionV1alpha1::SnapshotSchedulePolicy::Representation
|
716
718
|
command.response_class = Google::Apis::BaremetalsolutionV1alpha1::SnapshotSchedulePolicy
|
717
719
|
command.params['parent'] = parent unless parent.nil?
|
720
|
+
command.query['snapshotSchedulePolicyId'] = snapshot_schedule_policy_id unless snapshot_schedule_policy_id.nil?
|
718
721
|
command.query['fields'] = fields unless fields.nil?
|
719
722
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
720
723
|
execute_or_queue_command(command, &block)
|
@@ -30,7 +30,7 @@ module Google
|
|
30
30
|
# This is NOT the gem version.
|
31
31
|
VERSION = 'V1alpha1'
|
32
32
|
|
33
|
-
# See, edit, configure, and delete your Google Cloud
|
33
|
+
# See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.
|
34
34
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
35
35
|
end
|
36
36
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-baremetalsolution_v1alpha1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-08-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-baremetalsolution_v1alpha1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-baremetalsolution_v1alpha1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-baremetalsolution_v1alpha1/v0.2.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-baremetalsolution_v1alpha1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|