google-apis-baremetalsolution_v2 0.8.0 → 0.9.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 +149 -1
- data/lib/google/apis/baremetalsolution_v2/gem_version.rb +2 -2
- data/lib/google/apis/baremetalsolution_v2/representations.rb +55 -0
- data/lib/google/apis/baremetalsolution_v2/service.rb +114 -2
- 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: b7cb58fe2d25caf2d08f73cdf1a956d9243f86792d39d0200b7239e33f32c86d
|
4
|
+
data.tar.gz: 22d979766db812cb1264c2953bd24bcb1f3ea3712139ac610e863f9bda09bc89
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1636e32e6f428e9fc53bfbfaf9afdc3f989d792a1f99784d8e385406ce47ef77de96b411bf37e539f2a51b4abfc6f434e865fe04ef5f92e62e4beb886eedb231
|
7
|
+
data.tar.gz: 87a603d2710821a12166a472fe7106f557ffdc6952492c4005acf8b7377a8b2b42f83959415cb88e368e45fe9a3ab94e63b462782ee086ee0264fff20bdcfd2c
|
data/CHANGELOG.md
CHANGED
@@ -22,6 +22,66 @@ 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
|
+
|
25
85
|
# A generic empty message that you can re-use to avoid defining duplicated empty
|
26
86
|
# messages in your APIs. A typical example is to use it as the request or the
|
27
87
|
# response type of an API method. For instance: service Foo ` rpc Bar(google.
|
@@ -130,6 +190,12 @@ module Google
|
|
130
190
|
class InstanceConfig
|
131
191
|
include Google::Apis::Core::Hashable
|
132
192
|
|
193
|
+
# If true networks can be from different projects of the same vendor account.
|
194
|
+
# Corresponds to the JSON property `accountNetworksEnabled`
|
195
|
+
# @return [Boolean]
|
196
|
+
attr_accessor :account_networks_enabled
|
197
|
+
alias_method :account_networks_enabled?, :account_networks_enabled
|
198
|
+
|
133
199
|
# A network.
|
134
200
|
# Corresponds to the JSON property `clientNetwork`
|
135
201
|
# @return [Google::Apis::BaremetalsolutionV2::NetworkAddress]
|
@@ -181,6 +247,7 @@ module Google
|
|
181
247
|
|
182
248
|
# Update properties of this object
|
183
249
|
def update!(**args)
|
250
|
+
@account_networks_enabled = args[:account_networks_enabled] if args.key?(:account_networks_enabled)
|
184
251
|
@client_network = args[:client_network] if args.key?(:client_network)
|
185
252
|
@hyperthreading = args[:hyperthreading] if args.key?(:hyperthreading)
|
186
253
|
@id = args[:id] if args.key?(:id)
|
@@ -392,6 +459,37 @@ module Google
|
|
392
459
|
end
|
393
460
|
end
|
394
461
|
|
462
|
+
# Response message containing the list of NFS shares.
|
463
|
+
class ListNfsSharesResponse
|
464
|
+
include Google::Apis::Core::Hashable
|
465
|
+
|
466
|
+
# A token identifying a page of results from the server.
|
467
|
+
# Corresponds to the JSON property `nextPageToken`
|
468
|
+
# @return [String]
|
469
|
+
attr_accessor :next_page_token
|
470
|
+
|
471
|
+
# The list of NFS shares.
|
472
|
+
# Corresponds to the JSON property `nfsShares`
|
473
|
+
# @return [Array<Google::Apis::BaremetalsolutionV2::NfsShare>]
|
474
|
+
attr_accessor :nfs_shares
|
475
|
+
|
476
|
+
# Locations that could not be reached.
|
477
|
+
# Corresponds to the JSON property `unreachable`
|
478
|
+
# @return [Array<String>]
|
479
|
+
attr_accessor :unreachable
|
480
|
+
|
481
|
+
def initialize(**args)
|
482
|
+
update!(**args)
|
483
|
+
end
|
484
|
+
|
485
|
+
# Update properties of this object
|
486
|
+
def update!(**args)
|
487
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
488
|
+
@nfs_shares = args[:nfs_shares] if args.key?(:nfs_shares)
|
489
|
+
@unreachable = args[:unreachable] if args.key?(:unreachable)
|
490
|
+
end
|
491
|
+
end
|
492
|
+
|
395
493
|
# Response message for the list of provisioning quotas.
|
396
494
|
class ListProvisioningQuotasResponse
|
397
495
|
include Google::Apis::Core::Hashable
|
@@ -931,6 +1029,55 @@ module Google
|
|
931
1029
|
end
|
932
1030
|
end
|
933
1031
|
|
1032
|
+
# An NFS share.
|
1033
|
+
class NfsShare
|
1034
|
+
include Google::Apis::Core::Hashable
|
1035
|
+
|
1036
|
+
# List of allowed access points.
|
1037
|
+
# Corresponds to the JSON property `allowedClients`
|
1038
|
+
# @return [Array<Google::Apis::BaremetalsolutionV2::AllowedClient>]
|
1039
|
+
attr_accessor :allowed_clients
|
1040
|
+
|
1041
|
+
# Labels as key value pairs.
|
1042
|
+
# Corresponds to the JSON property `labels`
|
1043
|
+
# @return [Hash<String,String>]
|
1044
|
+
attr_accessor :labels
|
1045
|
+
|
1046
|
+
# Output only. The name of the NFS share.
|
1047
|
+
# Corresponds to the JSON property `name`
|
1048
|
+
# @return [String]
|
1049
|
+
attr_accessor :name
|
1050
|
+
|
1051
|
+
# Output only. An identifier for the NFS share, generated by the backend.
|
1052
|
+
# Corresponds to the JSON property `nfsShareId`
|
1053
|
+
# @return [String]
|
1054
|
+
attr_accessor :nfs_share_id
|
1055
|
+
|
1056
|
+
# The state of the NFS share.
|
1057
|
+
# Corresponds to the JSON property `state`
|
1058
|
+
# @return [String]
|
1059
|
+
attr_accessor :state
|
1060
|
+
|
1061
|
+
# The volume containing the share.
|
1062
|
+
# Corresponds to the JSON property `volume`
|
1063
|
+
# @return [String]
|
1064
|
+
attr_accessor :volume
|
1065
|
+
|
1066
|
+
def initialize(**args)
|
1067
|
+
update!(**args)
|
1068
|
+
end
|
1069
|
+
|
1070
|
+
# Update properties of this object
|
1071
|
+
def update!(**args)
|
1072
|
+
@allowed_clients = args[:allowed_clients] if args.key?(:allowed_clients)
|
1073
|
+
@labels = args[:labels] if args.key?(:labels)
|
1074
|
+
@name = args[:name] if args.key?(:name)
|
1075
|
+
@nfs_share_id = args[:nfs_share_id] if args.key?(:nfs_share_id)
|
1076
|
+
@state = args[:state] if args.key?(:state)
|
1077
|
+
@volume = args[:volume] if args.key?(:volume)
|
1078
|
+
end
|
1079
|
+
end
|
1080
|
+
|
934
1081
|
# This resource represents a long-running operation that is the result of a
|
935
1082
|
# network API call.
|
936
1083
|
class Operation
|
@@ -1002,7 +1149,8 @@ module Google
|
|
1002
1149
|
# @return [String]
|
1003
1150
|
attr_accessor :cloud_console_uri
|
1004
1151
|
|
1005
|
-
#
|
1152
|
+
# Email provided to send a confirmation with provisioning config to. Deprecated
|
1153
|
+
# in favour of email field in request messages.
|
1006
1154
|
# Corresponds to the JSON property `email`
|
1007
1155
|
# @return [String]
|
1008
1156
|
attr_accessor :email
|
@@ -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.9.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 = "20220314"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -22,6 +22,12 @@ 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
|
+
|
25
31
|
class Empty
|
26
32
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
27
33
|
|
@@ -82,6 +88,12 @@ module Google
|
|
82
88
|
include Google::Apis::Core::JsonObjectSupport
|
83
89
|
end
|
84
90
|
|
91
|
+
class ListNfsSharesResponse
|
92
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
93
|
+
|
94
|
+
include Google::Apis::Core::JsonObjectSupport
|
95
|
+
end
|
96
|
+
|
85
97
|
class ListProvisioningQuotasResponse
|
86
98
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
87
99
|
|
@@ -154,6 +166,12 @@ module Google
|
|
154
166
|
include Google::Apis::Core::JsonObjectSupport
|
155
167
|
end
|
156
168
|
|
169
|
+
class NfsShare
|
170
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
171
|
+
|
172
|
+
include Google::Apis::Core::JsonObjectSupport
|
173
|
+
end
|
174
|
+
|
157
175
|
class Operation
|
158
176
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
159
177
|
|
@@ -262,6 +280,19 @@ module Google
|
|
262
280
|
include Google::Apis::Core::JsonObjectSupport
|
263
281
|
end
|
264
282
|
|
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
|
+
|
265
296
|
class Empty
|
266
297
|
# @private
|
267
298
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -290,6 +321,7 @@ module Google
|
|
290
321
|
class InstanceConfig
|
291
322
|
# @private
|
292
323
|
class Representation < Google::Apis::Core::JsonRepresentation
|
324
|
+
property :account_networks_enabled, as: 'accountNetworksEnabled'
|
293
325
|
property :client_network, as: 'clientNetwork', class: Google::Apis::BaremetalsolutionV2::NetworkAddress, decorator: Google::Apis::BaremetalsolutionV2::NetworkAddress::Representation
|
294
326
|
|
295
327
|
property :hyperthreading, as: 'hyperthreading'
|
@@ -368,6 +400,16 @@ module Google
|
|
368
400
|
end
|
369
401
|
end
|
370
402
|
|
403
|
+
class ListNfsSharesResponse
|
404
|
+
# @private
|
405
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
406
|
+
property :next_page_token, as: 'nextPageToken'
|
407
|
+
collection :nfs_shares, as: 'nfsShares', class: Google::Apis::BaremetalsolutionV2::NfsShare, decorator: Google::Apis::BaremetalsolutionV2::NfsShare::Representation
|
408
|
+
|
409
|
+
collection :unreachable, as: 'unreachable'
|
410
|
+
end
|
411
|
+
end
|
412
|
+
|
371
413
|
class ListProvisioningQuotasResponse
|
372
414
|
# @private
|
373
415
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -507,6 +549,19 @@ module Google
|
|
507
549
|
end
|
508
550
|
end
|
509
551
|
|
552
|
+
class NfsShare
|
553
|
+
# @private
|
554
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
555
|
+
collection :allowed_clients, as: 'allowedClients', class: Google::Apis::BaremetalsolutionV2::AllowedClient, decorator: Google::Apis::BaremetalsolutionV2::AllowedClient::Representation
|
556
|
+
|
557
|
+
hash :labels, as: 'labels'
|
558
|
+
property :name, as: 'name'
|
559
|
+
property :nfs_share_id, as: 'nfsShareId'
|
560
|
+
property :state, as: 'state'
|
561
|
+
property :volume, as: 'volume'
|
562
|
+
end
|
563
|
+
end
|
564
|
+
|
510
565
|
class Operation
|
511
566
|
# @private
|
512
567
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -439,10 +439,118 @@ module Google
|
|
439
439
|
execute_or_queue_command(command, &block)
|
440
440
|
end
|
441
441
|
|
442
|
+
# Get details of a single NFS share.
|
443
|
+
# @param [String] name
|
444
|
+
# Required. Name of the resource.
|
445
|
+
# @param [String] fields
|
446
|
+
# Selector specifying which fields to include in a partial response.
|
447
|
+
# @param [String] quota_user
|
448
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
449
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
450
|
+
# @param [Google::Apis::RequestOptions] options
|
451
|
+
# Request-specific options
|
452
|
+
#
|
453
|
+
# @yield [result, err] Result & error if block supplied
|
454
|
+
# @yieldparam result [Google::Apis::BaremetalsolutionV2::NfsShare] parsed result object
|
455
|
+
# @yieldparam err [StandardError] error object if request failed
|
456
|
+
#
|
457
|
+
# @return [Google::Apis::BaremetalsolutionV2::NfsShare]
|
458
|
+
#
|
459
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
460
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
461
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
462
|
+
def get_project_location_nfs_share(name, fields: nil, quota_user: nil, options: nil, &block)
|
463
|
+
command = make_simple_command(:get, 'v2/{+name}', options)
|
464
|
+
command.response_representation = Google::Apis::BaremetalsolutionV2::NfsShare::Representation
|
465
|
+
command.response_class = Google::Apis::BaremetalsolutionV2::NfsShare
|
466
|
+
command.params['name'] = name unless name.nil?
|
467
|
+
command.query['fields'] = fields unless fields.nil?
|
468
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
469
|
+
execute_or_queue_command(command, &block)
|
470
|
+
end
|
471
|
+
|
472
|
+
# List NFS shares.
|
473
|
+
# @param [String] parent
|
474
|
+
# Required. Parent value for ListNfsSharesRequest.
|
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.
|
482
|
+
# @param [String] fields
|
483
|
+
# Selector specifying which fields to include in a partial response.
|
484
|
+
# @param [String] quota_user
|
485
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
486
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
487
|
+
# @param [Google::Apis::RequestOptions] options
|
488
|
+
# Request-specific options
|
489
|
+
#
|
490
|
+
# @yield [result, err] Result & error if block supplied
|
491
|
+
# @yieldparam result [Google::Apis::BaremetalsolutionV2::ListNfsSharesResponse] parsed result object
|
492
|
+
# @yieldparam err [StandardError] error object if request failed
|
493
|
+
#
|
494
|
+
# @return [Google::Apis::BaremetalsolutionV2::ListNfsSharesResponse]
|
495
|
+
#
|
496
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
497
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
498
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
499
|
+
def list_project_location_nfs_shares(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
500
|
+
command = make_simple_command(:get, 'v2/{+parent}/nfsShares', options)
|
501
|
+
command.response_representation = Google::Apis::BaremetalsolutionV2::ListNfsSharesResponse::Representation
|
502
|
+
command.response_class = Google::Apis::BaremetalsolutionV2::ListNfsSharesResponse
|
503
|
+
command.params['parent'] = parent unless parent.nil?
|
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?
|
507
|
+
command.query['fields'] = fields unless fields.nil?
|
508
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
509
|
+
execute_or_queue_command(command, &block)
|
510
|
+
end
|
511
|
+
|
512
|
+
# Update details of a single NFS share.
|
513
|
+
# @param [String] name
|
514
|
+
# Output only. The name of the NFS share.
|
515
|
+
# @param [Google::Apis::BaremetalsolutionV2::NfsShare] nfs_share_object
|
516
|
+
# @param [String] update_mask
|
517
|
+
# The list of fields to update. The only currently supported fields are: `labels`
|
518
|
+
# @param [String] fields
|
519
|
+
# Selector specifying which fields to include in a partial response.
|
520
|
+
# @param [String] quota_user
|
521
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
522
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
523
|
+
# @param [Google::Apis::RequestOptions] options
|
524
|
+
# Request-specific options
|
525
|
+
#
|
526
|
+
# @yield [result, err] Result & error if block supplied
|
527
|
+
# @yieldparam result [Google::Apis::BaremetalsolutionV2::Operation] parsed result object
|
528
|
+
# @yieldparam err [StandardError] error object if request failed
|
529
|
+
#
|
530
|
+
# @return [Google::Apis::BaremetalsolutionV2::Operation]
|
531
|
+
#
|
532
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
533
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
534
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
535
|
+
def patch_project_location_nfs_share(name, nfs_share_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
536
|
+
command = make_simple_command(:patch, 'v2/{+name}', options)
|
537
|
+
command.request_representation = Google::Apis::BaremetalsolutionV2::NfsShare::Representation
|
538
|
+
command.request_object = nfs_share_object
|
539
|
+
command.response_representation = Google::Apis::BaremetalsolutionV2::Operation::Representation
|
540
|
+
command.response_class = Google::Apis::BaremetalsolutionV2::Operation
|
541
|
+
command.params['name'] = name unless name.nil?
|
542
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
543
|
+
command.query['fields'] = fields unless fields.nil?
|
544
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
545
|
+
execute_or_queue_command(command, &block)
|
546
|
+
end
|
547
|
+
|
442
548
|
# Create new ProvisioningConfig.
|
443
549
|
# @param [String] parent
|
444
550
|
# Required. The parent project and location containing the ProvisioningConfig.
|
445
551
|
# @param [Google::Apis::BaremetalsolutionV2::ProvisioningConfig] provisioning_config_object
|
552
|
+
# @param [String] email
|
553
|
+
# Optional. Email provided to send a confirmation with provisioning config to.
|
446
554
|
# @param [String] fields
|
447
555
|
# Selector specifying which fields to include in a partial response.
|
448
556
|
# @param [String] quota_user
|
@@ -460,13 +568,14 @@ module Google
|
|
460
568
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
461
569
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
462
570
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
463
|
-
def create_project_location_provisioning_config(parent, provisioning_config_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
571
|
+
def create_project_location_provisioning_config(parent, provisioning_config_object = nil, email: nil, fields: nil, quota_user: nil, options: nil, &block)
|
464
572
|
command = make_simple_command(:post, 'v2/{+parent}/provisioningConfigs', options)
|
465
573
|
command.request_representation = Google::Apis::BaremetalsolutionV2::ProvisioningConfig::Representation
|
466
574
|
command.request_object = provisioning_config_object
|
467
575
|
command.response_representation = Google::Apis::BaremetalsolutionV2::ProvisioningConfig::Representation
|
468
576
|
command.response_class = Google::Apis::BaremetalsolutionV2::ProvisioningConfig
|
469
577
|
command.params['parent'] = parent unless parent.nil?
|
578
|
+
command.query['email'] = email unless email.nil?
|
470
579
|
command.query['fields'] = fields unless fields.nil?
|
471
580
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
472
581
|
execute_or_queue_command(command, &block)
|
@@ -506,6 +615,8 @@ module Google
|
|
506
615
|
# @param [String] name
|
507
616
|
# Output only. The name of the provisioning config.
|
508
617
|
# @param [Google::Apis::BaremetalsolutionV2::ProvisioningConfig] provisioning_config_object
|
618
|
+
# @param [String] email
|
619
|
+
# Optional. Email provided to send a confirmation with provisioning config to.
|
509
620
|
# @param [String] update_mask
|
510
621
|
# Required. The list of fields to update.
|
511
622
|
# @param [String] fields
|
@@ -525,13 +636,14 @@ module Google
|
|
525
636
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
526
637
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
527
638
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
528
|
-
def patch_project_location_provisioning_config(name, provisioning_config_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
639
|
+
def patch_project_location_provisioning_config(name, provisioning_config_object = nil, email: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
529
640
|
command = make_simple_command(:patch, 'v2/{+name}', options)
|
530
641
|
command.request_representation = Google::Apis::BaremetalsolutionV2::ProvisioningConfig::Representation
|
531
642
|
command.request_object = provisioning_config_object
|
532
643
|
command.response_representation = Google::Apis::BaremetalsolutionV2::ProvisioningConfig::Representation
|
533
644
|
command.response_class = Google::Apis::BaremetalsolutionV2::ProvisioningConfig
|
534
645
|
command.params['name'] = name unless name.nil?
|
646
|
+
command.query['email'] = email unless email.nil?
|
535
647
|
command.query['updateMask'] = update_mask unless update_mask.nil?
|
536
648
|
command.query['fields'] = fields unless fields.nil?
|
537
649
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
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.9.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-03-
|
11
|
+
date: 2022-03-21 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.9.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: []
|