google-apis-baremetalsolution_v2 0.7.0 → 0.8.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_v2/classes.rb +68 -140
- data/lib/google/apis/baremetalsolution_v2/gem_version.rb +2 -2
- data/lib/google/apis/baremetalsolution_v2/representations.rb +10 -54
- data/lib/google/apis/baremetalsolution_v2/service.rb +36 -42
- 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: 1764ccaa775e4178b27b90ac07d4e4fec066ba4028e53db2961639c566db83f7
|
4
|
+
data.tar.gz: bc19556bde4a70631e7938dd8c0b7d63cf1bc6dc3d980d3756aa012e48acb45a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 89f97ba7ffdf8fd71a3e46d2016c9cca12f10653f8d9d18c83d8fff58067a25b7d368dca55e88d609ff14aff9ab0112d1aa850fcd76634f0c6f58fbd58833877
|
7
|
+
data.tar.gz: 46b185621aa824a08c1926d6f0e95c242ba7eb86e23f6835654fa1e8872f2b20fd50f011f255efc9c0c9a907e14e11f87aa7632a3cd6fbad60122aafb4533e9f
|
data/CHANGELOG.md
CHANGED
@@ -22,66 +22,6 @@ module Google
|
|
22
22
|
module Apis
|
23
23
|
module BaremetalsolutionV2
|
24
24
|
|
25
|
-
# Represents an 'access point' for the share.
|
26
|
-
class AllowedClient
|
27
|
-
include Google::Apis::Core::Hashable
|
28
|
-
|
29
|
-
# Allow dev flag. Which controls whether to allow creation of devices.
|
30
|
-
# Corresponds to the JSON property `allowDev`
|
31
|
-
# @return [Boolean]
|
32
|
-
attr_accessor :allow_dev
|
33
|
-
alias_method :allow_dev?, :allow_dev
|
34
|
-
|
35
|
-
# Allow the setuid flag.
|
36
|
-
# Corresponds to the JSON property `allowSuid`
|
37
|
-
# @return [Boolean]
|
38
|
-
attr_accessor :allow_suid
|
39
|
-
alias_method :allow_suid?, :allow_suid
|
40
|
-
|
41
|
-
# The subnet of IP addresses permitted to access the share.
|
42
|
-
# Corresponds to the JSON property `allowedClientsCidr`
|
43
|
-
# @return [String]
|
44
|
-
attr_accessor :allowed_clients_cidr
|
45
|
-
|
46
|
-
# Mount permissions.
|
47
|
-
# Corresponds to the JSON property `mountPermissions`
|
48
|
-
# @return [String]
|
49
|
-
attr_accessor :mount_permissions
|
50
|
-
|
51
|
-
# The network the access point sits on.
|
52
|
-
# Corresponds to the JSON property `network`
|
53
|
-
# @return [String]
|
54
|
-
attr_accessor :network
|
55
|
-
|
56
|
-
# Disable root squashing, which is a feature of NFS. Root squash is a special
|
57
|
-
# mapping of the remote superuser (root) identity when using identity
|
58
|
-
# authentication.
|
59
|
-
# Corresponds to the JSON property `noRootSquash`
|
60
|
-
# @return [Boolean]
|
61
|
-
attr_accessor :no_root_squash
|
62
|
-
alias_method :no_root_squash?, :no_root_squash
|
63
|
-
|
64
|
-
# The IP address of the share on this network.
|
65
|
-
# Corresponds to the JSON property `shareIp`
|
66
|
-
# @return [String]
|
67
|
-
attr_accessor :share_ip
|
68
|
-
|
69
|
-
def initialize(**args)
|
70
|
-
update!(**args)
|
71
|
-
end
|
72
|
-
|
73
|
-
# Update properties of this object
|
74
|
-
def update!(**args)
|
75
|
-
@allow_dev = args[:allow_dev] if args.key?(:allow_dev)
|
76
|
-
@allow_suid = args[:allow_suid] if args.key?(:allow_suid)
|
77
|
-
@allowed_clients_cidr = args[:allowed_clients_cidr] if args.key?(:allowed_clients_cidr)
|
78
|
-
@mount_permissions = args[:mount_permissions] if args.key?(:mount_permissions)
|
79
|
-
@network = args[:network] if args.key?(:network)
|
80
|
-
@no_root_squash = args[:no_root_squash] if args.key?(:no_root_squash)
|
81
|
-
@share_ip = args[:share_ip] if args.key?(:share_ip)
|
82
|
-
end
|
83
|
-
end
|
84
|
-
|
85
25
|
# A generic empty message that you can re-use to avoid defining duplicated empty
|
86
26
|
# messages in your APIs. A typical example is to use it as the request or the
|
87
27
|
# response type of an API method. For instance: service Foo ` rpc Bar(google.
|
@@ -452,37 +392,6 @@ module Google
|
|
452
392
|
end
|
453
393
|
end
|
454
394
|
|
455
|
-
# Response message containing the list of NFS shares.
|
456
|
-
class ListNfsSharesResponse
|
457
|
-
include Google::Apis::Core::Hashable
|
458
|
-
|
459
|
-
# A token identifying a page of results from the server.
|
460
|
-
# Corresponds to the JSON property `nextPageToken`
|
461
|
-
# @return [String]
|
462
|
-
attr_accessor :next_page_token
|
463
|
-
|
464
|
-
# The list of NFS shares.
|
465
|
-
# Corresponds to the JSON property `nfsShares`
|
466
|
-
# @return [Array<Google::Apis::BaremetalsolutionV2::NfsShare>]
|
467
|
-
attr_accessor :nfs_shares
|
468
|
-
|
469
|
-
# Locations that could not be reached.
|
470
|
-
# Corresponds to the JSON property `unreachable`
|
471
|
-
# @return [Array<String>]
|
472
|
-
attr_accessor :unreachable
|
473
|
-
|
474
|
-
def initialize(**args)
|
475
|
-
update!(**args)
|
476
|
-
end
|
477
|
-
|
478
|
-
# Update properties of this object
|
479
|
-
def update!(**args)
|
480
|
-
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
481
|
-
@nfs_shares = args[:nfs_shares] if args.key?(:nfs_shares)
|
482
|
-
@unreachable = args[:unreachable] if args.key?(:unreachable)
|
483
|
-
end
|
484
|
-
end
|
485
|
-
|
486
395
|
# Response message for the list of provisioning quotas.
|
487
396
|
class ListProvisioningQuotasResponse
|
488
397
|
include Google::Apis::Core::Hashable
|
@@ -872,6 +781,12 @@ module Google
|
|
872
781
|
# @return [String]
|
873
782
|
attr_accessor :cidr
|
874
783
|
|
784
|
+
# The GCP service of the network. Available gcp_service are in https://cloud.
|
785
|
+
# google.com/bare-metal/docs/bms-planning.
|
786
|
+
# Corresponds to the JSON property `gcpService`
|
787
|
+
# @return [String]
|
788
|
+
attr_accessor :gcp_service
|
789
|
+
|
875
790
|
# A transient unique identifier to identify a volume within an
|
876
791
|
# ProvisioningConfig request.
|
877
792
|
# Corresponds to the JSON property `id`
|
@@ -905,6 +820,12 @@ module Google
|
|
905
820
|
# @return [Array<Google::Apis::BaremetalsolutionV2::IntakeVlanAttachment>]
|
906
821
|
attr_accessor :vlan_attachments
|
907
822
|
|
823
|
+
# Whether the VLAN attachment pair is located in the same project.
|
824
|
+
# Corresponds to the JSON property `vlanSameProject`
|
825
|
+
# @return [Boolean]
|
826
|
+
attr_accessor :vlan_same_project
|
827
|
+
alias_method :vlan_same_project?, :vlan_same_project
|
828
|
+
|
908
829
|
def initialize(**args)
|
909
830
|
update!(**args)
|
910
831
|
end
|
@@ -913,12 +834,14 @@ module Google
|
|
913
834
|
def update!(**args)
|
914
835
|
@bandwidth = args[:bandwidth] if args.key?(:bandwidth)
|
915
836
|
@cidr = args[:cidr] if args.key?(:cidr)
|
837
|
+
@gcp_service = args[:gcp_service] if args.key?(:gcp_service)
|
916
838
|
@id = args[:id] if args.key?(:id)
|
917
839
|
@name = args[:name] if args.key?(:name)
|
918
840
|
@service_cidr = args[:service_cidr] if args.key?(:service_cidr)
|
919
841
|
@type = args[:type] if args.key?(:type)
|
920
842
|
@user_note = args[:user_note] if args.key?(:user_note)
|
921
843
|
@vlan_attachments = args[:vlan_attachments] if args.key?(:vlan_attachments)
|
844
|
+
@vlan_same_project = args[:vlan_same_project] if args.key?(:vlan_same_project)
|
922
845
|
end
|
923
846
|
end
|
924
847
|
|
@@ -1008,55 +931,6 @@ module Google
|
|
1008
931
|
end
|
1009
932
|
end
|
1010
933
|
|
1011
|
-
# An NFS share.
|
1012
|
-
class NfsShare
|
1013
|
-
include Google::Apis::Core::Hashable
|
1014
|
-
|
1015
|
-
# List of allowed access points.
|
1016
|
-
# Corresponds to the JSON property `allowedClients`
|
1017
|
-
# @return [Array<Google::Apis::BaremetalsolutionV2::AllowedClient>]
|
1018
|
-
attr_accessor :allowed_clients
|
1019
|
-
|
1020
|
-
# Labels as key value pairs.
|
1021
|
-
# Corresponds to the JSON property `labels`
|
1022
|
-
# @return [Hash<String,String>]
|
1023
|
-
attr_accessor :labels
|
1024
|
-
|
1025
|
-
# Output only. The name of the NFS share.
|
1026
|
-
# Corresponds to the JSON property `name`
|
1027
|
-
# @return [String]
|
1028
|
-
attr_accessor :name
|
1029
|
-
|
1030
|
-
# Output only. An identifier for the NFS share, generated by the backend.
|
1031
|
-
# Corresponds to the JSON property `nfsShareId`
|
1032
|
-
# @return [String]
|
1033
|
-
attr_accessor :nfs_share_id
|
1034
|
-
|
1035
|
-
# The state of the NFS share.
|
1036
|
-
# Corresponds to the JSON property `state`
|
1037
|
-
# @return [String]
|
1038
|
-
attr_accessor :state
|
1039
|
-
|
1040
|
-
# The volume containing the share.
|
1041
|
-
# Corresponds to the JSON property `volume`
|
1042
|
-
# @return [String]
|
1043
|
-
attr_accessor :volume
|
1044
|
-
|
1045
|
-
def initialize(**args)
|
1046
|
-
update!(**args)
|
1047
|
-
end
|
1048
|
-
|
1049
|
-
# Update properties of this object
|
1050
|
-
def update!(**args)
|
1051
|
-
@allowed_clients = args[:allowed_clients] if args.key?(:allowed_clients)
|
1052
|
-
@labels = args[:labels] if args.key?(:labels)
|
1053
|
-
@name = args[:name] if args.key?(:name)
|
1054
|
-
@nfs_share_id = args[:nfs_share_id] if args.key?(:nfs_share_id)
|
1055
|
-
@state = args[:state] if args.key?(:state)
|
1056
|
-
@volume = args[:volume] if args.key?(:volume)
|
1057
|
-
end
|
1058
|
-
end
|
1059
|
-
|
1060
934
|
# This resource represents a long-running operation that is the result of a
|
1061
935
|
# network API call.
|
1062
936
|
class Operation
|
@@ -1123,6 +997,16 @@ module Google
|
|
1123
997
|
class ProvisioningConfig
|
1124
998
|
include Google::Apis::Core::Hashable
|
1125
999
|
|
1000
|
+
# Output only. URI to Cloud Console UI view of this provisioning config.
|
1001
|
+
# Corresponds to the JSON property `cloudConsoleUri`
|
1002
|
+
# @return [String]
|
1003
|
+
attr_accessor :cloud_console_uri
|
1004
|
+
|
1005
|
+
# Optional. Email provided to send a confirmation with provisioning config to.
|
1006
|
+
# Corresponds to the JSON property `email`
|
1007
|
+
# @return [String]
|
1008
|
+
attr_accessor :email
|
1009
|
+
|
1126
1010
|
# A service account to enable customers to access instance credentials upon
|
1127
1011
|
# handover.
|
1128
1012
|
# Corresponds to the JSON property `handoverServiceAccount`
|
@@ -1134,6 +1018,12 @@ module Google
|
|
1134
1018
|
# @return [Array<Google::Apis::BaremetalsolutionV2::InstanceConfig>]
|
1135
1019
|
attr_accessor :instances
|
1136
1020
|
|
1021
|
+
# Optional. Location name of this ProvisioningConfig. It is optional only for
|
1022
|
+
# Intake UI transition period.
|
1023
|
+
# Corresponds to the JSON property `location`
|
1024
|
+
# @return [String]
|
1025
|
+
attr_accessor :location
|
1026
|
+
|
1137
1027
|
# Output only. The name of the provisioning config.
|
1138
1028
|
# Corresponds to the JSON property `name`
|
1139
1029
|
# @return [String]
|
@@ -1144,11 +1034,21 @@ module Google
|
|
1144
1034
|
# @return [Array<Google::Apis::BaremetalsolutionV2::NetworkConfig>]
|
1145
1035
|
attr_accessor :networks
|
1146
1036
|
|
1037
|
+
# Output only. State of ProvisioningConfig.
|
1038
|
+
# Corresponds to the JSON property `state`
|
1039
|
+
# @return [String]
|
1040
|
+
attr_accessor :state
|
1041
|
+
|
1147
1042
|
# A generated buganizer id to track provisioning request.
|
1148
1043
|
# Corresponds to the JSON property `ticketId`
|
1149
1044
|
# @return [String]
|
1150
1045
|
attr_accessor :ticket_id
|
1151
1046
|
|
1047
|
+
# Output only. Last update timestamp.
|
1048
|
+
# Corresponds to the JSON property `updateTime`
|
1049
|
+
# @return [String]
|
1050
|
+
attr_accessor :update_time
|
1051
|
+
|
1152
1052
|
# Volumes to be created.
|
1153
1053
|
# Corresponds to the JSON property `volumes`
|
1154
1054
|
# @return [Array<Google::Apis::BaremetalsolutionV2::VolumeConfig>]
|
@@ -1160,11 +1060,16 @@ module Google
|
|
1160
1060
|
|
1161
1061
|
# Update properties of this object
|
1162
1062
|
def update!(**args)
|
1063
|
+
@cloud_console_uri = args[:cloud_console_uri] if args.key?(:cloud_console_uri)
|
1064
|
+
@email = args[:email] if args.key?(:email)
|
1163
1065
|
@handover_service_account = args[:handover_service_account] if args.key?(:handover_service_account)
|
1164
1066
|
@instances = args[:instances] if args.key?(:instances)
|
1067
|
+
@location = args[:location] if args.key?(:location)
|
1165
1068
|
@name = args[:name] if args.key?(:name)
|
1166
1069
|
@networks = args[:networks] if args.key?(:networks)
|
1070
|
+
@state = args[:state] if args.key?(:state)
|
1167
1071
|
@ticket_id = args[:ticket_id] if args.key?(:ticket_id)
|
1072
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
1168
1073
|
@volumes = args[:volumes] if args.key?(:volumes)
|
1169
1074
|
end
|
1170
1075
|
end
|
@@ -1303,6 +1208,14 @@ module Google
|
|
1303
1208
|
# @return [Fixnum]
|
1304
1209
|
attr_accessor :reserved_space_gib
|
1305
1210
|
|
1211
|
+
# Percent of the total Volume size reserved for snapshot copies. Enabling
|
1212
|
+
# snapshots requires reserving 20% or more of the storage volume space for
|
1213
|
+
# snapshots. Maximum reserved space for snapshots is 40%. Setting this field
|
1214
|
+
# will effectively set snapshot_enabled to true.
|
1215
|
+
# Corresponds to the JSON property `reservedSpacePercent`
|
1216
|
+
# @return [Fixnum]
|
1217
|
+
attr_accessor :reserved_space_percent
|
1218
|
+
|
1306
1219
|
# The amount, in GiB, of available space in this storage volume's reserved
|
1307
1220
|
# snapshot space.
|
1308
1221
|
# Corresponds to the JSON property `reservedSpaceRemainingGib`
|
@@ -1323,6 +1236,7 @@ module Google
|
|
1323
1236
|
# Update properties of this object
|
1324
1237
|
def update!(**args)
|
1325
1238
|
@reserved_space_gib = args[:reserved_space_gib] if args.key?(:reserved_space_gib)
|
1239
|
+
@reserved_space_percent = args[:reserved_space_percent] if args.key?(:reserved_space_percent)
|
1326
1240
|
@reserved_space_remaining_gib = args[:reserved_space_remaining_gib] if args.key?(:reserved_space_remaining_gib)
|
1327
1241
|
@reserved_space_used_percent = args[:reserved_space_used_percent] if args.key?(:reserved_space_used_percent)
|
1328
1242
|
end
|
@@ -1593,6 +1507,12 @@ module Google
|
|
1593
1507
|
# @return [String]
|
1594
1508
|
attr_accessor :snapshot_auto_delete_behavior
|
1595
1509
|
|
1510
|
+
# Whether snapshots are enabled.
|
1511
|
+
# Corresponds to the JSON property `snapshotEnabled`
|
1512
|
+
# @return [Boolean]
|
1513
|
+
attr_accessor :snapshot_enabled
|
1514
|
+
alias_method :snapshot_enabled?, :snapshot_enabled
|
1515
|
+
|
1596
1516
|
# Details about snapshot space reservation and usage on the storage volume.
|
1597
1517
|
# Corresponds to the JSON property `snapshotReservationDetail`
|
1598
1518
|
# @return [Google::Apis::BaremetalsolutionV2::SnapshotReservationDetail]
|
@@ -1627,6 +1547,7 @@ module Google
|
|
1627
1547
|
@remaining_space_gib = args[:remaining_space_gib] if args.key?(:remaining_space_gib)
|
1628
1548
|
@requested_size_gib = args[:requested_size_gib] if args.key?(:requested_size_gib)
|
1629
1549
|
@snapshot_auto_delete_behavior = args[:snapshot_auto_delete_behavior] if args.key?(:snapshot_auto_delete_behavior)
|
1550
|
+
@snapshot_enabled = args[:snapshot_enabled] if args.key?(:snapshot_enabled)
|
1630
1551
|
@snapshot_reservation_detail = args[:snapshot_reservation_detail] if args.key?(:snapshot_reservation_detail)
|
1631
1552
|
@snapshot_schedule_policy = args[:snapshot_schedule_policy] if args.key?(:snapshot_schedule_policy)
|
1632
1553
|
@state = args[:state] if args.key?(:state)
|
@@ -1638,6 +1559,12 @@ module Google
|
|
1638
1559
|
class VolumeConfig
|
1639
1560
|
include Google::Apis::Core::Hashable
|
1640
1561
|
|
1562
|
+
# The GCP service of the storage volume. Available gcp_service are in https://
|
1563
|
+
# cloud.google.com/bare-metal/docs/bms-planning.
|
1564
|
+
# Corresponds to the JSON property `gcpService`
|
1565
|
+
# @return [String]
|
1566
|
+
attr_accessor :gcp_service
|
1567
|
+
|
1641
1568
|
# A transient unique identifier to identify a volume within an
|
1642
1569
|
# ProvisioningConfig request.
|
1643
1570
|
# Corresponds to the JSON property `id`
|
@@ -1697,6 +1624,7 @@ module Google
|
|
1697
1624
|
|
1698
1625
|
# Update properties of this object
|
1699
1626
|
def update!(**args)
|
1627
|
+
@gcp_service = args[:gcp_service] if args.key?(:gcp_service)
|
1700
1628
|
@id = args[:id] if args.key?(:id)
|
1701
1629
|
@lun_ranges = args[:lun_ranges] if args.key?(:lun_ranges)
|
1702
1630
|
@machine_ids = args[:machine_ids] if args.key?(:machine_ids)
|
@@ -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.8.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 = "20220307"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -22,12 +22,6 @@ module Google
|
|
22
22
|
module Apis
|
23
23
|
module BaremetalsolutionV2
|
24
24
|
|
25
|
-
class AllowedClient
|
26
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
27
|
-
|
28
|
-
include Google::Apis::Core::JsonObjectSupport
|
29
|
-
end
|
30
|
-
|
31
25
|
class Empty
|
32
26
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
33
27
|
|
@@ -88,12 +82,6 @@ module Google
|
|
88
82
|
include Google::Apis::Core::JsonObjectSupport
|
89
83
|
end
|
90
84
|
|
91
|
-
class ListNfsSharesResponse
|
92
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
93
|
-
|
94
|
-
include Google::Apis::Core::JsonObjectSupport
|
95
|
-
end
|
96
|
-
|
97
85
|
class ListProvisioningQuotasResponse
|
98
86
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
99
87
|
|
@@ -166,12 +154,6 @@ module Google
|
|
166
154
|
include Google::Apis::Core::JsonObjectSupport
|
167
155
|
end
|
168
156
|
|
169
|
-
class NfsShare
|
170
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
171
|
-
|
172
|
-
include Google::Apis::Core::JsonObjectSupport
|
173
|
-
end
|
174
|
-
|
175
157
|
class Operation
|
176
158
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
177
159
|
|
@@ -280,19 +262,6 @@ module Google
|
|
280
262
|
include Google::Apis::Core::JsonObjectSupport
|
281
263
|
end
|
282
264
|
|
283
|
-
class AllowedClient
|
284
|
-
# @private
|
285
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
286
|
-
property :allow_dev, as: 'allowDev'
|
287
|
-
property :allow_suid, as: 'allowSuid'
|
288
|
-
property :allowed_clients_cidr, as: 'allowedClientsCidr'
|
289
|
-
property :mount_permissions, as: 'mountPermissions'
|
290
|
-
property :network, as: 'network'
|
291
|
-
property :no_root_squash, as: 'noRootSquash'
|
292
|
-
property :share_ip, as: 'shareIp'
|
293
|
-
end
|
294
|
-
end
|
295
|
-
|
296
265
|
class Empty
|
297
266
|
# @private
|
298
267
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -399,16 +368,6 @@ module Google
|
|
399
368
|
end
|
400
369
|
end
|
401
370
|
|
402
|
-
class ListNfsSharesResponse
|
403
|
-
# @private
|
404
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
405
|
-
property :next_page_token, as: 'nextPageToken'
|
406
|
-
collection :nfs_shares, as: 'nfsShares', class: Google::Apis::BaremetalsolutionV2::NfsShare, decorator: Google::Apis::BaremetalsolutionV2::NfsShare::Representation
|
407
|
-
|
408
|
-
collection :unreachable, as: 'unreachable'
|
409
|
-
end
|
410
|
-
end
|
411
|
-
|
412
371
|
class ListProvisioningQuotasResponse
|
413
372
|
# @private
|
414
373
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -514,6 +473,7 @@ module Google
|
|
514
473
|
class Representation < Google::Apis::Core::JsonRepresentation
|
515
474
|
property :bandwidth, as: 'bandwidth'
|
516
475
|
property :cidr, as: 'cidr'
|
476
|
+
property :gcp_service, as: 'gcpService'
|
517
477
|
property :id, as: 'id'
|
518
478
|
property :name, as: 'name'
|
519
479
|
property :service_cidr, as: 'serviceCidr'
|
@@ -521,6 +481,7 @@ module Google
|
|
521
481
|
property :user_note, as: 'userNote'
|
522
482
|
collection :vlan_attachments, as: 'vlanAttachments', class: Google::Apis::BaremetalsolutionV2::IntakeVlanAttachment, decorator: Google::Apis::BaremetalsolutionV2::IntakeVlanAttachment::Representation
|
523
483
|
|
484
|
+
property :vlan_same_project, as: 'vlanSameProject'
|
524
485
|
end
|
525
486
|
end
|
526
487
|
|
@@ -546,19 +507,6 @@ module Google
|
|
546
507
|
end
|
547
508
|
end
|
548
509
|
|
549
|
-
class NfsShare
|
550
|
-
# @private
|
551
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
552
|
-
collection :allowed_clients, as: 'allowedClients', class: Google::Apis::BaremetalsolutionV2::AllowedClient, decorator: Google::Apis::BaremetalsolutionV2::AllowedClient::Representation
|
553
|
-
|
554
|
-
hash :labels, as: 'labels'
|
555
|
-
property :name, as: 'name'
|
556
|
-
property :nfs_share_id, as: 'nfsShareId'
|
557
|
-
property :state, as: 'state'
|
558
|
-
property :volume, as: 'volume'
|
559
|
-
end
|
560
|
-
end
|
561
|
-
|
562
510
|
class Operation
|
563
511
|
# @private
|
564
512
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -574,13 +522,18 @@ module Google
|
|
574
522
|
class ProvisioningConfig
|
575
523
|
# @private
|
576
524
|
class Representation < Google::Apis::Core::JsonRepresentation
|
525
|
+
property :cloud_console_uri, as: 'cloudConsoleUri'
|
526
|
+
property :email, as: 'email'
|
577
527
|
property :handover_service_account, as: 'handoverServiceAccount'
|
578
528
|
collection :instances, as: 'instances', class: Google::Apis::BaremetalsolutionV2::InstanceConfig, decorator: Google::Apis::BaremetalsolutionV2::InstanceConfig::Representation
|
579
529
|
|
530
|
+
property :location, as: 'location'
|
580
531
|
property :name, as: 'name'
|
581
532
|
collection :networks, as: 'networks', class: Google::Apis::BaremetalsolutionV2::NetworkConfig, decorator: Google::Apis::BaremetalsolutionV2::NetworkConfig::Representation
|
582
533
|
|
534
|
+
property :state, as: 'state'
|
583
535
|
property :ticket_id, as: 'ticketId'
|
536
|
+
property :update_time, as: 'updateTime'
|
584
537
|
collection :volumes, as: 'volumes', class: Google::Apis::BaremetalsolutionV2::VolumeConfig, decorator: Google::Apis::BaremetalsolutionV2::VolumeConfig::Representation
|
585
538
|
|
586
539
|
end
|
@@ -631,6 +584,7 @@ module Google
|
|
631
584
|
# @private
|
632
585
|
class Representation < Google::Apis::Core::JsonRepresentation
|
633
586
|
property :reserved_space_gib, :numeric_string => true, as: 'reservedSpaceGib'
|
587
|
+
property :reserved_space_percent, as: 'reservedSpacePercent'
|
634
588
|
property :reserved_space_remaining_gib, :numeric_string => true, as: 'reservedSpaceRemainingGib'
|
635
589
|
property :reserved_space_used_percent, as: 'reservedSpaceUsedPercent'
|
636
590
|
end
|
@@ -713,6 +667,7 @@ module Google
|
|
713
667
|
property :remaining_space_gib, :numeric_string => true, as: 'remainingSpaceGib'
|
714
668
|
property :requested_size_gib, :numeric_string => true, as: 'requestedSizeGib'
|
715
669
|
property :snapshot_auto_delete_behavior, as: 'snapshotAutoDeleteBehavior'
|
670
|
+
property :snapshot_enabled, as: 'snapshotEnabled'
|
716
671
|
property :snapshot_reservation_detail, as: 'snapshotReservationDetail', class: Google::Apis::BaremetalsolutionV2::SnapshotReservationDetail, decorator: Google::Apis::BaremetalsolutionV2::SnapshotReservationDetail::Representation
|
717
672
|
|
718
673
|
property :snapshot_schedule_policy, as: 'snapshotSchedulePolicy'
|
@@ -724,6 +679,7 @@ module Google
|
|
724
679
|
class VolumeConfig
|
725
680
|
# @private
|
726
681
|
class Representation < Google::Apis::Core::JsonRepresentation
|
682
|
+
property :gcp_service, as: 'gcpService'
|
727
683
|
property :id, as: 'id'
|
728
684
|
collection :lun_ranges, as: 'lunRanges', class: Google::Apis::BaremetalsolutionV2::LunRange, decorator: Google::Apis::BaremetalsolutionV2::LunRange::Representation
|
729
685
|
|
@@ -439,9 +439,10 @@ module Google
|
|
439
439
|
execute_or_queue_command(command, &block)
|
440
440
|
end
|
441
441
|
|
442
|
-
#
|
443
|
-
# @param [String]
|
444
|
-
# Required.
|
442
|
+
# Create new ProvisioningConfig.
|
443
|
+
# @param [String] parent
|
444
|
+
# Required. The parent project and location containing the ProvisioningConfig.
|
445
|
+
# @param [Google::Apis::BaremetalsolutionV2::ProvisioningConfig] provisioning_config_object
|
445
446
|
# @param [String] fields
|
446
447
|
# Selector specifying which fields to include in a partial response.
|
447
448
|
# @param [String] quota_user
|
@@ -451,34 +452,29 @@ module Google
|
|
451
452
|
# Request-specific options
|
452
453
|
#
|
453
454
|
# @yield [result, err] Result & error if block supplied
|
454
|
-
# @yieldparam result [Google::Apis::BaremetalsolutionV2::
|
455
|
+
# @yieldparam result [Google::Apis::BaremetalsolutionV2::ProvisioningConfig] parsed result object
|
455
456
|
# @yieldparam err [StandardError] error object if request failed
|
456
457
|
#
|
457
|
-
# @return [Google::Apis::BaremetalsolutionV2::
|
458
|
+
# @return [Google::Apis::BaremetalsolutionV2::ProvisioningConfig]
|
458
459
|
#
|
459
460
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
460
461
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
461
462
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
462
|
-
def
|
463
|
-
command = make_simple_command(:
|
464
|
-
command.
|
465
|
-
command.
|
466
|
-
command.
|
463
|
+
def create_project_location_provisioning_config(parent, provisioning_config_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
464
|
+
command = make_simple_command(:post, 'v2/{+parent}/provisioningConfigs', options)
|
465
|
+
command.request_representation = Google::Apis::BaremetalsolutionV2::ProvisioningConfig::Representation
|
466
|
+
command.request_object = provisioning_config_object
|
467
|
+
command.response_representation = Google::Apis::BaremetalsolutionV2::ProvisioningConfig::Representation
|
468
|
+
command.response_class = Google::Apis::BaremetalsolutionV2::ProvisioningConfig
|
469
|
+
command.params['parent'] = parent unless parent.nil?
|
467
470
|
command.query['fields'] = fields unless fields.nil?
|
468
471
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
469
472
|
execute_or_queue_command(command, &block)
|
470
473
|
end
|
471
474
|
|
472
|
-
#
|
473
|
-
# @param [String]
|
474
|
-
# Required.
|
475
|
-
# @param [String] filter
|
476
|
-
# List filter.
|
477
|
-
# @param [Fixnum] page_size
|
478
|
-
# Requested page size. The server might return fewer items than requested. If
|
479
|
-
# unspecified, server will pick an appropriate default.
|
480
|
-
# @param [String] page_token
|
481
|
-
# A token identifying a page of results from the server.
|
475
|
+
# Get ProvisioningConfig by name.
|
476
|
+
# @param [String] name
|
477
|
+
# Required. Name of the ProvisioningConfig.
|
482
478
|
# @param [String] fields
|
483
479
|
# Selector specifying which fields to include in a partial response.
|
484
480
|
# @param [String] quota_user
|
@@ -488,33 +484,30 @@ module Google
|
|
488
484
|
# Request-specific options
|
489
485
|
#
|
490
486
|
# @yield [result, err] Result & error if block supplied
|
491
|
-
# @yieldparam result [Google::Apis::BaremetalsolutionV2::
|
487
|
+
# @yieldparam result [Google::Apis::BaremetalsolutionV2::ProvisioningConfig] parsed result object
|
492
488
|
# @yieldparam err [StandardError] error object if request failed
|
493
489
|
#
|
494
|
-
# @return [Google::Apis::BaremetalsolutionV2::
|
490
|
+
# @return [Google::Apis::BaremetalsolutionV2::ProvisioningConfig]
|
495
491
|
#
|
496
492
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
497
493
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
498
494
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
499
|
-
def
|
500
|
-
command = make_simple_command(:get, 'v2/{+
|
501
|
-
command.response_representation = Google::Apis::BaremetalsolutionV2::
|
502
|
-
command.response_class = Google::Apis::BaremetalsolutionV2::
|
503
|
-
command.params['
|
504
|
-
command.query['filter'] = filter unless filter.nil?
|
505
|
-
command.query['pageSize'] = page_size unless page_size.nil?
|
506
|
-
command.query['pageToken'] = page_token unless page_token.nil?
|
495
|
+
def get_project_location_provisioning_config(name, fields: nil, quota_user: nil, options: nil, &block)
|
496
|
+
command = make_simple_command(:get, 'v2/{+name}', options)
|
497
|
+
command.response_representation = Google::Apis::BaremetalsolutionV2::ProvisioningConfig::Representation
|
498
|
+
command.response_class = Google::Apis::BaremetalsolutionV2::ProvisioningConfig
|
499
|
+
command.params['name'] = name unless name.nil?
|
507
500
|
command.query['fields'] = fields unless fields.nil?
|
508
501
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
509
502
|
execute_or_queue_command(command, &block)
|
510
503
|
end
|
511
504
|
|
512
|
-
# Update
|
505
|
+
# Update existing ProvisioningConfig.
|
513
506
|
# @param [String] name
|
514
|
-
# Output only. The name of the
|
515
|
-
# @param [Google::Apis::BaremetalsolutionV2::
|
507
|
+
# Output only. The name of the provisioning config.
|
508
|
+
# @param [Google::Apis::BaremetalsolutionV2::ProvisioningConfig] provisioning_config_object
|
516
509
|
# @param [String] update_mask
|
517
|
-
# The list of fields to update.
|
510
|
+
# Required. The list of fields to update.
|
518
511
|
# @param [String] fields
|
519
512
|
# Selector specifying which fields to include in a partial response.
|
520
513
|
# @param [String] quota_user
|
@@ -524,20 +517,20 @@ module Google
|
|
524
517
|
# Request-specific options
|
525
518
|
#
|
526
519
|
# @yield [result, err] Result & error if block supplied
|
527
|
-
# @yieldparam result [Google::Apis::BaremetalsolutionV2::
|
520
|
+
# @yieldparam result [Google::Apis::BaremetalsolutionV2::ProvisioningConfig] parsed result object
|
528
521
|
# @yieldparam err [StandardError] error object if request failed
|
529
522
|
#
|
530
|
-
# @return [Google::Apis::BaremetalsolutionV2::
|
523
|
+
# @return [Google::Apis::BaremetalsolutionV2::ProvisioningConfig]
|
531
524
|
#
|
532
525
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
533
526
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
534
527
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
535
|
-
def
|
528
|
+
def patch_project_location_provisioning_config(name, provisioning_config_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
536
529
|
command = make_simple_command(:patch, 'v2/{+name}', options)
|
537
|
-
command.request_representation = Google::Apis::BaremetalsolutionV2::
|
538
|
-
command.request_object =
|
539
|
-
command.response_representation = Google::Apis::BaremetalsolutionV2::
|
540
|
-
command.response_class = Google::Apis::BaremetalsolutionV2::
|
530
|
+
command.request_representation = Google::Apis::BaremetalsolutionV2::ProvisioningConfig::Representation
|
531
|
+
command.request_object = provisioning_config_object
|
532
|
+
command.response_representation = Google::Apis::BaremetalsolutionV2::ProvisioningConfig::Representation
|
533
|
+
command.response_class = Google::Apis::BaremetalsolutionV2::ProvisioningConfig
|
541
534
|
command.params['name'] = name unless name.nil?
|
542
535
|
command.query['updateMask'] = update_mask unless update_mask.nil?
|
543
536
|
command.query['fields'] = fields unless fields.nil?
|
@@ -869,7 +862,8 @@ module Google
|
|
869
862
|
# @param [String] update_mask
|
870
863
|
# The list of fields to update. The only currently supported fields are: `
|
871
864
|
# snapshot_auto_delete_behavior` `snapshot_schedule_policy_name` 'labels' '
|
872
|
-
# requested_size_gib'
|
865
|
+
# requested_size_gib' 'snapshot_enabled' 'snapshot_reservation_detail.
|
866
|
+
# reserved_space_percent'
|
873
867
|
# @param [String] fields
|
874
868
|
# Selector specifying which fields to include in a partial response.
|
875
869
|
# @param [String] quota_user
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-baremetalsolution_v2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.8.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: 2022-
|
11
|
+
date: 2022-03-14 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/main/generated/google-apis-baremetalsolution_v2/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-baremetalsolution_v2/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-baremetalsolution_v2/v0.8.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-baremetalsolution_v2
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|