google-apis-baremetalsolution_v2 0.20.0 → 0.23.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 +114 -4
- data/lib/google/apis/baremetalsolution_v2/gem_version.rb +2 -2
- data/lib/google/apis/baremetalsolution_v2/representations.rb +29 -0
- data/lib/google/apis/baremetalsolution_v2/service.rb +66 -4
- 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: 720b5c0dda16e73c4ef1ad5d4a0e821643f7ea2e3a6534e8a7fa0b1a7e93cb62
|
4
|
+
data.tar.gz: 02ae76360d349ebe4bb451062557735ddaa46865f418506661e15ac181d45a8a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 941444d3aff49ae032a1d2c607b6193b4153b6537347388279ca060893511d5c3760b82546fec300ddc8495c7fd7fb805dbcd48e60e466874447625ff6005a40
|
7
|
+
data.tar.gz: 4abf3031fbef635859634f9af452227d599125d537d8d17d485752e28a85a999a2527e923b4cb1236699aa581353c4445975b680c0b6f24f985d912bab2198e5
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,17 @@
|
|
1
1
|
# Release history for google-apis-baremetalsolution_v2
|
2
2
|
|
3
|
+
### v0.23.0 (2022-09-01)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20220829
|
6
|
+
|
7
|
+
### v0.22.0 (2022-08-24)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20220822
|
10
|
+
|
11
|
+
### v0.21.0 (2022-08-07)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20220731
|
14
|
+
|
3
15
|
### v0.20.0 (2022-07-31)
|
4
16
|
|
5
17
|
* Regenerated from discovery document revision 20220725
|
@@ -68,7 +68,8 @@ module Google
|
|
68
68
|
attr_accessor :no_root_squash
|
69
69
|
alias_method :no_root_squash?, :no_root_squash
|
70
70
|
|
71
|
-
# The IP address of the share on this network.
|
71
|
+
# Output only. The IP address of the share on this network. Assigned
|
72
|
+
# automatically during provisioning based on the network's services_cidr.
|
72
73
|
# Corresponds to the JSON property `shareIp`
|
73
74
|
# @return [String]
|
74
75
|
attr_accessor :share_ip
|
@@ -938,6 +939,12 @@ module Google
|
|
938
939
|
# @return [String]
|
939
940
|
attr_accessor :ip_address
|
940
941
|
|
942
|
+
# Whether network uses standard frames or jumbo ones.
|
943
|
+
# Corresponds to the JSON property `jumboFramesEnabled`
|
944
|
+
# @return [Boolean]
|
945
|
+
attr_accessor :jumbo_frames_enabled
|
946
|
+
alias_method :jumbo_frames_enabled?, :jumbo_frames_enabled
|
947
|
+
|
941
948
|
# Labels as key value pairs.
|
942
949
|
# Corresponds to the JSON property `labels`
|
943
950
|
# @return [Hash<String,String>]
|
@@ -948,6 +955,11 @@ module Google
|
|
948
955
|
# @return [Array<String>]
|
949
956
|
attr_accessor :mac_address
|
950
957
|
|
958
|
+
# Input only. List of mount points to attach the network to.
|
959
|
+
# Corresponds to the JSON property `mountPoints`
|
960
|
+
# @return [Array<Google::Apis::BaremetalsolutionV2::NetworkMountPoint>]
|
961
|
+
attr_accessor :mount_points
|
962
|
+
|
951
963
|
# Output only. The resource name of this `Network`. Resource names are
|
952
964
|
# schemeless URIs that follow the conventions in https://cloud.google.com/apis/
|
953
965
|
# design/resource_names. Format: `projects/`project`/locations/`location`/
|
@@ -956,6 +968,11 @@ module Google
|
|
956
968
|
# @return [String]
|
957
969
|
attr_accessor :name
|
958
970
|
|
971
|
+
# Output only. Pod name.
|
972
|
+
# Corresponds to the JSON property `pod`
|
973
|
+
# @return [String]
|
974
|
+
attr_accessor :pod
|
975
|
+
|
959
976
|
# List of IP address reservations in this network. When updating this field, an
|
960
977
|
# error will be generated if a reservation conflicts with an IP address already
|
961
978
|
# allocated to a physical server.
|
@@ -997,9 +1014,12 @@ module Google
|
|
997
1014
|
@cidr = args[:cidr] if args.key?(:cidr)
|
998
1015
|
@id = args[:id] if args.key?(:id)
|
999
1016
|
@ip_address = args[:ip_address] if args.key?(:ip_address)
|
1017
|
+
@jumbo_frames_enabled = args[:jumbo_frames_enabled] if args.key?(:jumbo_frames_enabled)
|
1000
1018
|
@labels = args[:labels] if args.key?(:labels)
|
1001
1019
|
@mac_address = args[:mac_address] if args.key?(:mac_address)
|
1020
|
+
@mount_points = args[:mount_points] if args.key?(:mount_points)
|
1002
1021
|
@name = args[:name] if args.key?(:name)
|
1022
|
+
@pod = args[:pod] if args.key?(:pod)
|
1003
1023
|
@reservations = args[:reservations] if args.key?(:reservations)
|
1004
1024
|
@services_cidr = args[:services_cidr] if args.key?(:services_cidr)
|
1005
1025
|
@state = args[:state] if args.key?(:state)
|
@@ -1159,6 +1179,44 @@ module Google
|
|
1159
1179
|
end
|
1160
1180
|
end
|
1161
1181
|
|
1182
|
+
# Mount point for a network.
|
1183
|
+
class NetworkMountPoint
|
1184
|
+
include Google::Apis::Core::Hashable
|
1185
|
+
|
1186
|
+
# Network should be a default gateway.
|
1187
|
+
# Corresponds to the JSON property `defaultGateway`
|
1188
|
+
# @return [Boolean]
|
1189
|
+
attr_accessor :default_gateway
|
1190
|
+
alias_method :default_gateway?, :default_gateway
|
1191
|
+
|
1192
|
+
# Instance to attach network to.
|
1193
|
+
# Corresponds to the JSON property `instance`
|
1194
|
+
# @return [String]
|
1195
|
+
attr_accessor :instance
|
1196
|
+
|
1197
|
+
# Ip address of the server.
|
1198
|
+
# Corresponds to the JSON property `ipAddress`
|
1199
|
+
# @return [String]
|
1200
|
+
attr_accessor :ip_address
|
1201
|
+
|
1202
|
+
# Logical interface to detach from.
|
1203
|
+
# Corresponds to the JSON property `logicalInterface`
|
1204
|
+
# @return [String]
|
1205
|
+
attr_accessor :logical_interface
|
1206
|
+
|
1207
|
+
def initialize(**args)
|
1208
|
+
update!(**args)
|
1209
|
+
end
|
1210
|
+
|
1211
|
+
# Update properties of this object
|
1212
|
+
def update!(**args)
|
1213
|
+
@default_gateway = args[:default_gateway] if args.key?(:default_gateway)
|
1214
|
+
@instance = args[:instance] if args.key?(:instance)
|
1215
|
+
@ip_address = args[:ip_address] if args.key?(:ip_address)
|
1216
|
+
@logical_interface = args[:logical_interface] if args.key?(:logical_interface)
|
1217
|
+
end
|
1218
|
+
end
|
1219
|
+
|
1162
1220
|
# Network with all used IP addresses.
|
1163
1221
|
class NetworkUsage
|
1164
1222
|
include Google::Apis::Core::Hashable
|
@@ -1265,7 +1323,7 @@ module Google
|
|
1265
1323
|
# @return [Hash<String,String>]
|
1266
1324
|
attr_accessor :labels
|
1267
1325
|
|
1268
|
-
#
|
1326
|
+
# Immutable. The name of the NFS share.
|
1269
1327
|
# Corresponds to the JSON property `name`
|
1270
1328
|
# @return [String]
|
1271
1329
|
attr_accessor :name
|
@@ -1281,12 +1339,18 @@ module Google
|
|
1281
1339
|
# @return [Fixnum]
|
1282
1340
|
attr_accessor :requested_size_gib
|
1283
1341
|
|
1284
|
-
# The state of the NFS share.
|
1342
|
+
# Output only. The state of the NFS share.
|
1285
1343
|
# Corresponds to the JSON property `state`
|
1286
1344
|
# @return [String]
|
1287
1345
|
attr_accessor :state
|
1288
1346
|
|
1289
|
-
# The
|
1347
|
+
# Immutable. The storage type of the underlying volume.
|
1348
|
+
# Corresponds to the JSON property `storageType`
|
1349
|
+
# @return [String]
|
1350
|
+
attr_accessor :storage_type
|
1351
|
+
|
1352
|
+
# Output only. The underlying volume of the share. Created automatically during
|
1353
|
+
# provisioning.
|
1290
1354
|
# Corresponds to the JSON property `volume`
|
1291
1355
|
# @return [String]
|
1292
1356
|
attr_accessor :volume
|
@@ -1304,6 +1368,7 @@ module Google
|
|
1304
1368
|
@nfs_share_id = args[:nfs_share_id] if args.key?(:nfs_share_id)
|
1305
1369
|
@requested_size_gib = args[:requested_size_gib] if args.key?(:requested_size_gib)
|
1306
1370
|
@state = args[:state] if args.key?(:state)
|
1371
|
+
@storage_type = args[:storage_type] if args.key?(:storage_type)
|
1307
1372
|
@volume = args[:volume] if args.key?(:volume)
|
1308
1373
|
end
|
1309
1374
|
end
|
@@ -1913,6 +1978,16 @@ module Google
|
|
1913
1978
|
class VlanAttachment
|
1914
1979
|
include Google::Apis::Core::Hashable
|
1915
1980
|
|
1981
|
+
# Immutable. The identifier of the attachment within vrf.
|
1982
|
+
# Corresponds to the JSON property `id`
|
1983
|
+
# @return [String]
|
1984
|
+
attr_accessor :id
|
1985
|
+
|
1986
|
+
# Input only. Pairing key.
|
1987
|
+
# Corresponds to the JSON property `pairingKey`
|
1988
|
+
# @return [String]
|
1989
|
+
attr_accessor :pairing_key
|
1990
|
+
|
1916
1991
|
# The peer IP of the attachment.
|
1917
1992
|
# Corresponds to the JSON property `peerIp`
|
1918
1993
|
# @return [String]
|
@@ -1923,6 +1998,11 @@ module Google
|
|
1923
1998
|
# @return [Fixnum]
|
1924
1999
|
attr_accessor :peer_vlan_id
|
1925
2000
|
|
2001
|
+
# QOS policy parameters.
|
2002
|
+
# Corresponds to the JSON property `qosPolicy`
|
2003
|
+
# @return [Google::Apis::BaremetalsolutionV2::QosPolicy]
|
2004
|
+
attr_accessor :qos_policy
|
2005
|
+
|
1926
2006
|
# The router IP of the attachment.
|
1927
2007
|
# Corresponds to the JSON property `routerIp`
|
1928
2008
|
# @return [String]
|
@@ -1934,8 +2014,11 @@ module Google
|
|
1934
2014
|
|
1935
2015
|
# Update properties of this object
|
1936
2016
|
def update!(**args)
|
2017
|
+
@id = args[:id] if args.key?(:id)
|
2018
|
+
@pairing_key = args[:pairing_key] if args.key?(:pairing_key)
|
1937
2019
|
@peer_ip = args[:peer_ip] if args.key?(:peer_ip)
|
1938
2020
|
@peer_vlan_id = args[:peer_vlan_id] if args.key?(:peer_vlan_id)
|
2021
|
+
@qos_policy = args[:qos_policy] if args.key?(:qos_policy)
|
1939
2022
|
@router_ip = args[:router_ip] if args.key?(:router_ip)
|
1940
2023
|
end
|
1941
2024
|
end
|
@@ -1950,6 +2033,13 @@ module Google
|
|
1950
2033
|
# @return [Fixnum]
|
1951
2034
|
attr_accessor :auto_grown_size_gib
|
1952
2035
|
|
2036
|
+
# Output only. Whether this volume is a boot volume. A boot volume is one which
|
2037
|
+
# contains a boot LUN.
|
2038
|
+
# Corresponds to the JSON property `bootVolume`
|
2039
|
+
# @return [Boolean]
|
2040
|
+
attr_accessor :boot_volume
|
2041
|
+
alias_method :boot_volume?, :boot_volume
|
2042
|
+
|
1953
2043
|
# The current size of this storage volume, in GiB, including space reserved for
|
1954
2044
|
# snapshots. This size might be different than the requested size if the storage
|
1955
2045
|
# volume has been configured with auto grow or auto shrink.
|
@@ -1986,11 +2076,22 @@ module Google
|
|
1986
2076
|
# @return [String]
|
1987
2077
|
attr_accessor :name
|
1988
2078
|
|
2079
|
+
# Input only. User-specified notes for new Volume. Used to provision Volumes
|
2080
|
+
# that require manual intervention.
|
2081
|
+
# Corresponds to the JSON property `notes`
|
2082
|
+
# @return [String]
|
2083
|
+
attr_accessor :notes
|
2084
|
+
|
1989
2085
|
# Originally requested size, in GiB.
|
1990
2086
|
# Corresponds to the JSON property `originallyRequestedSizeGib`
|
1991
2087
|
# @return [Fixnum]
|
1992
2088
|
attr_accessor :originally_requested_size_gib
|
1993
2089
|
|
2090
|
+
# Immutable. Performance tier of the Volume. Default is SHARED.
|
2091
|
+
# Corresponds to the JSON property `performanceTier`
|
2092
|
+
# @return [String]
|
2093
|
+
attr_accessor :performance_tier
|
2094
|
+
|
1994
2095
|
# Immutable. Pod name.
|
1995
2096
|
# Corresponds to the JSON property `pod`
|
1996
2097
|
# @return [String]
|
@@ -2050,13 +2151,16 @@ module Google
|
|
2050
2151
|
# Update properties of this object
|
2051
2152
|
def update!(**args)
|
2052
2153
|
@auto_grown_size_gib = args[:auto_grown_size_gib] if args.key?(:auto_grown_size_gib)
|
2154
|
+
@boot_volume = args[:boot_volume] if args.key?(:boot_volume)
|
2053
2155
|
@current_size_gib = args[:current_size_gib] if args.key?(:current_size_gib)
|
2054
2156
|
@emergency_size_gib = args[:emergency_size_gib] if args.key?(:emergency_size_gib)
|
2055
2157
|
@id = args[:id] if args.key?(:id)
|
2056
2158
|
@labels = args[:labels] if args.key?(:labels)
|
2057
2159
|
@max_size_gib = args[:max_size_gib] if args.key?(:max_size_gib)
|
2058
2160
|
@name = args[:name] if args.key?(:name)
|
2161
|
+
@notes = args[:notes] if args.key?(:notes)
|
2059
2162
|
@originally_requested_size_gib = args[:originally_requested_size_gib] if args.key?(:originally_requested_size_gib)
|
2163
|
+
@performance_tier = args[:performance_tier] if args.key?(:performance_tier)
|
2060
2164
|
@pod = args[:pod] if args.key?(:pod)
|
2061
2165
|
@protocol = args[:protocol] if args.key?(:protocol)
|
2062
2166
|
@remaining_space_gib = args[:remaining_space_gib] if args.key?(:remaining_space_gib)
|
@@ -2106,6 +2210,11 @@ module Google
|
|
2106
2210
|
# @return [Array<Google::Apis::BaremetalsolutionV2::NfsExport>]
|
2107
2211
|
attr_accessor :nfs_exports
|
2108
2212
|
|
2213
|
+
# Performance tier of the Volume. Default is SHARED.
|
2214
|
+
# Corresponds to the JSON property `performanceTier`
|
2215
|
+
# @return [String]
|
2216
|
+
attr_accessor :performance_tier
|
2217
|
+
|
2109
2218
|
# Volume protocol.
|
2110
2219
|
# Corresponds to the JSON property `protocol`
|
2111
2220
|
# @return [String]
|
@@ -2145,6 +2254,7 @@ module Google
|
|
2145
2254
|
@machine_ids = args[:machine_ids] if args.key?(:machine_ids)
|
2146
2255
|
@name = args[:name] if args.key?(:name)
|
2147
2256
|
@nfs_exports = args[:nfs_exports] if args.key?(:nfs_exports)
|
2257
|
+
@performance_tier = args[:performance_tier] if args.key?(:performance_tier)
|
2148
2258
|
@protocol = args[:protocol] if args.key?(:protocol)
|
2149
2259
|
@size_gb = args[:size_gb] if args.key?(:size_gb)
|
2150
2260
|
@snapshots_enabled = args[:snapshots_enabled] if args.key?(:snapshots_enabled)
|
@@ -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.23.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.9.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20220829"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -172,6 +172,12 @@ module Google
|
|
172
172
|
include Google::Apis::Core::JsonObjectSupport
|
173
173
|
end
|
174
174
|
|
175
|
+
class NetworkMountPoint
|
176
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
177
|
+
|
178
|
+
include Google::Apis::Core::JsonObjectSupport
|
179
|
+
end
|
180
|
+
|
175
181
|
class NetworkUsage
|
176
182
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
177
183
|
|
@@ -548,9 +554,13 @@ module Google
|
|
548
554
|
property :cidr, as: 'cidr'
|
549
555
|
property :id, as: 'id'
|
550
556
|
property :ip_address, as: 'ipAddress'
|
557
|
+
property :jumbo_frames_enabled, as: 'jumboFramesEnabled'
|
551
558
|
hash :labels, as: 'labels'
|
552
559
|
collection :mac_address, as: 'macAddress'
|
560
|
+
collection :mount_points, as: 'mountPoints', class: Google::Apis::BaremetalsolutionV2::NetworkMountPoint, decorator: Google::Apis::BaremetalsolutionV2::NetworkMountPoint::Representation
|
561
|
+
|
553
562
|
property :name, as: 'name'
|
563
|
+
property :pod, as: 'pod'
|
554
564
|
collection :reservations, as: 'reservations', class: Google::Apis::BaremetalsolutionV2::NetworkAddressReservation, decorator: Google::Apis::BaremetalsolutionV2::NetworkAddressReservation::Representation
|
555
565
|
|
556
566
|
property :services_cidr, as: 'servicesCidr'
|
@@ -598,6 +608,16 @@ module Google
|
|
598
608
|
end
|
599
609
|
end
|
600
610
|
|
611
|
+
class NetworkMountPoint
|
612
|
+
# @private
|
613
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
614
|
+
property :default_gateway, as: 'defaultGateway'
|
615
|
+
property :instance, as: 'instance'
|
616
|
+
property :ip_address, as: 'ipAddress'
|
617
|
+
property :logical_interface, as: 'logicalInterface'
|
618
|
+
end
|
619
|
+
end
|
620
|
+
|
601
621
|
class NetworkUsage
|
602
622
|
# @private
|
603
623
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -631,6 +651,7 @@ module Google
|
|
631
651
|
property :nfs_share_id, as: 'nfsShareId'
|
632
652
|
property :requested_size_gib, :numeric_string => true, as: 'requestedSizeGib'
|
633
653
|
property :state, as: 'state'
|
654
|
+
property :storage_type, as: 'storageType'
|
634
655
|
property :volume, as: 'volume'
|
635
656
|
end
|
636
657
|
end
|
@@ -803,8 +824,12 @@ module Google
|
|
803
824
|
class VlanAttachment
|
804
825
|
# @private
|
805
826
|
class Representation < Google::Apis::Core::JsonRepresentation
|
827
|
+
property :id, as: 'id'
|
828
|
+
property :pairing_key, as: 'pairingKey'
|
806
829
|
property :peer_ip, as: 'peerIp'
|
807
830
|
property :peer_vlan_id, :numeric_string => true, as: 'peerVlanId'
|
831
|
+
property :qos_policy, as: 'qosPolicy', class: Google::Apis::BaremetalsolutionV2::QosPolicy, decorator: Google::Apis::BaremetalsolutionV2::QosPolicy::Representation
|
832
|
+
|
808
833
|
property :router_ip, as: 'routerIp'
|
809
834
|
end
|
810
835
|
end
|
@@ -813,13 +838,16 @@ module Google
|
|
813
838
|
# @private
|
814
839
|
class Representation < Google::Apis::Core::JsonRepresentation
|
815
840
|
property :auto_grown_size_gib, :numeric_string => true, as: 'autoGrownSizeGib'
|
841
|
+
property :boot_volume, as: 'bootVolume'
|
816
842
|
property :current_size_gib, :numeric_string => true, as: 'currentSizeGib'
|
817
843
|
property :emergency_size_gib, :numeric_string => true, as: 'emergencySizeGib'
|
818
844
|
property :id, as: 'id'
|
819
845
|
hash :labels, as: 'labels'
|
820
846
|
property :max_size_gib, :numeric_string => true, as: 'maxSizeGib'
|
821
847
|
property :name, as: 'name'
|
848
|
+
property :notes, as: 'notes'
|
822
849
|
property :originally_requested_size_gib, :numeric_string => true, as: 'originallyRequestedSizeGib'
|
850
|
+
property :performance_tier, as: 'performanceTier'
|
823
851
|
property :pod, as: 'pod'
|
824
852
|
property :protocol, as: 'protocol'
|
825
853
|
property :remaining_space_gib, :numeric_string => true, as: 'remainingSpaceGib'
|
@@ -845,6 +873,7 @@ module Google
|
|
845
873
|
property :name, as: 'name'
|
846
874
|
collection :nfs_exports, as: 'nfsExports', class: Google::Apis::BaremetalsolutionV2::NfsExport, decorator: Google::Apis::BaremetalsolutionV2::NfsExport::Representation
|
847
875
|
|
876
|
+
property :performance_tier, as: 'performanceTier'
|
848
877
|
property :protocol, as: 'protocol'
|
849
878
|
property :size_gb, as: 'sizeGb'
|
850
879
|
property :snapshots_enabled, as: 'snapshotsEnabled'
|
@@ -571,6 +571,69 @@ module Google
|
|
571
571
|
execute_or_queue_command(command, &block)
|
572
572
|
end
|
573
573
|
|
574
|
+
# Create an NFS share.
|
575
|
+
# @param [String] parent
|
576
|
+
# Required. The parent project and location.
|
577
|
+
# @param [Google::Apis::BaremetalsolutionV2::NfsShare] nfs_share_object
|
578
|
+
# @param [String] fields
|
579
|
+
# Selector specifying which fields to include in a partial response.
|
580
|
+
# @param [String] quota_user
|
581
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
582
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
583
|
+
# @param [Google::Apis::RequestOptions] options
|
584
|
+
# Request-specific options
|
585
|
+
#
|
586
|
+
# @yield [result, err] Result & error if block supplied
|
587
|
+
# @yieldparam result [Google::Apis::BaremetalsolutionV2::Operation] parsed result object
|
588
|
+
# @yieldparam err [StandardError] error object if request failed
|
589
|
+
#
|
590
|
+
# @return [Google::Apis::BaremetalsolutionV2::Operation]
|
591
|
+
#
|
592
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
593
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
594
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
595
|
+
def create_project_location_nfs_share(parent, nfs_share_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
596
|
+
command = make_simple_command(:post, 'v2/{+parent}/nfsShares', options)
|
597
|
+
command.request_representation = Google::Apis::BaremetalsolutionV2::NfsShare::Representation
|
598
|
+
command.request_object = nfs_share_object
|
599
|
+
command.response_representation = Google::Apis::BaremetalsolutionV2::Operation::Representation
|
600
|
+
command.response_class = Google::Apis::BaremetalsolutionV2::Operation
|
601
|
+
command.params['parent'] = parent unless parent.nil?
|
602
|
+
command.query['fields'] = fields unless fields.nil?
|
603
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
604
|
+
execute_or_queue_command(command, &block)
|
605
|
+
end
|
606
|
+
|
607
|
+
# Delete an NFS share. The underlying volume is automatically deleted.
|
608
|
+
# @param [String] name
|
609
|
+
# Required. The name of the NFS share to delete.
|
610
|
+
# @param [String] fields
|
611
|
+
# Selector specifying which fields to include in a partial response.
|
612
|
+
# @param [String] quota_user
|
613
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
614
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
615
|
+
# @param [Google::Apis::RequestOptions] options
|
616
|
+
# Request-specific options
|
617
|
+
#
|
618
|
+
# @yield [result, err] Result & error if block supplied
|
619
|
+
# @yieldparam result [Google::Apis::BaremetalsolutionV2::Operation] parsed result object
|
620
|
+
# @yieldparam err [StandardError] error object if request failed
|
621
|
+
#
|
622
|
+
# @return [Google::Apis::BaremetalsolutionV2::Operation]
|
623
|
+
#
|
624
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
625
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
626
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
627
|
+
def delete_project_location_nfs_share(name, fields: nil, quota_user: nil, options: nil, &block)
|
628
|
+
command = make_simple_command(:delete, 'v2/{+name}', options)
|
629
|
+
command.response_representation = Google::Apis::BaremetalsolutionV2::Operation::Representation
|
630
|
+
command.response_class = Google::Apis::BaremetalsolutionV2::Operation
|
631
|
+
command.params['name'] = name unless name.nil?
|
632
|
+
command.query['fields'] = fields unless fields.nil?
|
633
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
634
|
+
execute_or_queue_command(command, &block)
|
635
|
+
end
|
636
|
+
|
574
637
|
# Get details of a single NFS share.
|
575
638
|
# @param [String] name
|
576
639
|
# Required. Name of the resource.
|
@@ -643,10 +706,11 @@ module Google
|
|
643
706
|
|
644
707
|
# Update details of a single NFS share.
|
645
708
|
# @param [String] name
|
646
|
-
#
|
709
|
+
# Immutable. The name of the NFS share.
|
647
710
|
# @param [Google::Apis::BaremetalsolutionV2::NfsShare] nfs_share_object
|
648
711
|
# @param [String] update_mask
|
649
712
|
# The list of fields to update. The only currently supported fields are: `labels`
|
713
|
+
# `allowed_clients`
|
650
714
|
# @param [String] fields
|
651
715
|
# Selector specifying which fields to include in a partial response.
|
652
716
|
# @param [String] quota_user
|
@@ -963,9 +1027,7 @@ module Google
|
|
963
1027
|
# volume``
|
964
1028
|
# @param [Google::Apis::BaremetalsolutionV2::Volume] volume_object
|
965
1029
|
# @param [String] update_mask
|
966
|
-
# The list of fields to update. The only currently supported fields are:
|
967
|
-
# snapshot_auto_delete_behavior` `snapshot_schedule_policy_name` 'labels' '
|
968
|
-
# snapshot_enabled' 'snapshot_reservation_detail.reserved_space_percent'
|
1030
|
+
# The list of fields to update. The only currently supported fields are: 'labels'
|
969
1031
|
# @param [String] fields
|
970
1032
|
# Selector specifying which fields to include in a partial response.
|
971
1033
|
# @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.23.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-09-05 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.23.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: []
|