google-apis-baremetalsolution_v2 0.34.0 → 0.36.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9ca79b0830f21ee6f540405127f8c6fbf24fa987b492cfdcbe50b608c9453362
4
- data.tar.gz: f31a1d09583ea84c4a8f1afac0aee91ba72de89d32096c640b9ac57819e31971
3
+ metadata.gz: a05965c29c7b8fc88bbb4d699d69b6e1559d8c2fcf3b4df496242cdf3f1b5256
4
+ data.tar.gz: c930c86266a4ded1578b0532bff0ae82c6c83e403011f5a5525229357ffda279
5
5
  SHA512:
6
- metadata.gz: 1996bce81fe7ac795c16742d77b8e8e536c3b168875f983ead00c9667dd10b7f13a3285033ac11d606c0b55008a9d9c8a8bb8ab946671a22d9c53733e0078037
7
- data.tar.gz: 17ff3877bc961c77479661b2cc2b75125240138bc578d21badb2693d6bfca3d3b23f54778dafcf8a272723b85cbbcf6e5dac4db7aef958d5a8b2997502dd5f4d
6
+ metadata.gz: 90ad4ca8e3f0829a15e580aa6841d5fe5f271081ca414014bd733052211894e9ce14d2c14f63d517f3e65c74661810079a9c8a65df1fdc89156d9d43e2ae99a8
7
+ data.tar.gz: 5dc559ddd5193bec7fcc35fe7dc27d6503025f8683bfbd4ef29e1438ea227b3a70716d9cae5b047f1f73ac912cedb096b38be8aad8006e8cd4b5dfae55c1905d
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-baremetalsolution_v2
2
2
 
3
+ ### v0.36.0 (2023-07-16)
4
+
5
+ * Regenerated from discovery document revision 20230710
6
+
7
+ ### v0.35.0 (2023-07-02)
8
+
9
+ * Regenerated from discovery document revision 20230628
10
+
3
11
  ### v0.34.0 (2023-06-11)
4
12
 
5
13
  * Regenerated from discovery document revision 20230607
@@ -185,25 +185,6 @@ module Google
185
185
  end
186
186
  end
187
187
 
188
- # Response with all provisioning settings.
189
- class FetchInstanceProvisioningSettingsResponse
190
- include Google::Apis::Core::Hashable
191
-
192
- # The OS images available.
193
- # Corresponds to the JSON property `images`
194
- # @return [Array<Google::Apis::BaremetalsolutionV2::OsImage>]
195
- attr_accessor :images
196
-
197
- def initialize(**args)
198
- update!(**args)
199
- end
200
-
201
- # Update properties of this object
202
- def update!(**args)
203
- @images = args[:images] if args.key?(:images)
204
- end
205
- end
206
-
207
188
  # Each logical interface represents a logical abstraction of the underlying
208
189
  # physical interface (for eg. bond, nic) of the instance. Each logical interface
209
190
  # can effectively map to multiple network-IP pairs and still be mapped to one
@@ -240,40 +221,6 @@ module Google
240
221
  end
241
222
  end
242
223
 
243
- # Logical interface.
244
- class GoogleCloudBaremetalsolutionV2ServerNetworkTemplateLogicalInterface
245
- include Google::Apis::Core::Hashable
246
-
247
- # Interface name. This is not a globally unique identifier. Name is unique only
248
- # inside the ServerNetworkTemplate. This is of syntax or and forms part of the
249
- # network template name.
250
- # Corresponds to the JSON property `name`
251
- # @return [String]
252
- attr_accessor :name
253
-
254
- # If true, interface must have network connected.
255
- # Corresponds to the JSON property `required`
256
- # @return [Boolean]
257
- attr_accessor :required
258
- alias_method :required?, :required
259
-
260
- # Interface type.
261
- # Corresponds to the JSON property `type`
262
- # @return [String]
263
- attr_accessor :type
264
-
265
- def initialize(**args)
266
- update!(**args)
267
- end
268
-
269
- # Update properties of this object
270
- def update!(**args)
271
- @name = args[:name] if args.key?(:name)
272
- @required = args[:required] if args.key?(:required)
273
- @type = args[:type] if args.key?(:type)
274
- end
275
- end
276
-
277
224
  # A server.
278
225
  class Instance
279
226
  include Google::Apis::Core::Hashable
@@ -1535,50 +1482,6 @@ module Google
1535
1482
  end
1536
1483
  end
1537
1484
 
1538
- # Operation System image.
1539
- class OsImage
1540
- include Google::Apis::Core::Hashable
1541
-
1542
- # Instance types this image is applicable to. [Available types](https://cloud.
1543
- # google.com/bare-metal/docs/bms-planning#server_configurations)
1544
- # Corresponds to the JSON property `applicableInstanceTypes`
1545
- # @return [Array<String>]
1546
- attr_accessor :applicable_instance_types
1547
-
1548
- # OS Image code.
1549
- # Corresponds to the JSON property `code`
1550
- # @return [String]
1551
- attr_accessor :code
1552
-
1553
- # OS Image description.
1554
- # Corresponds to the JSON property `description`
1555
- # @return [String]
1556
- attr_accessor :description
1557
-
1558
- # Output only. OS Image's unique name.
1559
- # Corresponds to the JSON property `name`
1560
- # @return [String]
1561
- attr_accessor :name
1562
-
1563
- # Network templates that can be used with this OS Image.
1564
- # Corresponds to the JSON property `supportedNetworkTemplates`
1565
- # @return [Array<Google::Apis::BaremetalsolutionV2::ServerNetworkTemplate>]
1566
- attr_accessor :supported_network_templates
1567
-
1568
- def initialize(**args)
1569
- update!(**args)
1570
- end
1571
-
1572
- # Update properties of this object
1573
- def update!(**args)
1574
- @applicable_instance_types = args[:applicable_instance_types] if args.key?(:applicable_instance_types)
1575
- @code = args[:code] if args.key?(:code)
1576
- @description = args[:description] if args.key?(:description)
1577
- @name = args[:name] if args.key?(:name)
1578
- @supported_network_templates = args[:supported_network_templates] if args.key?(:supported_network_templates)
1579
- end
1580
- end
1581
-
1582
1485
  # This resource represents a long-running operation that is the result of a
1583
1486
  # network API call.
1584
1487
  class Operation
@@ -1989,40 +1892,6 @@ module Google
1989
1892
  end
1990
1893
  end
1991
1894
 
1992
- # Network template.
1993
- class ServerNetworkTemplate
1994
- include Google::Apis::Core::Hashable
1995
-
1996
- # Instance types this template is applicable to.
1997
- # Corresponds to the JSON property `applicableInstanceTypes`
1998
- # @return [Array<String>]
1999
- attr_accessor :applicable_instance_types
2000
-
2001
- # Logical interfaces.
2002
- # Corresponds to the JSON property `logicalInterfaces`
2003
- # @return [Array<Google::Apis::BaremetalsolutionV2::GoogleCloudBaremetalsolutionV2ServerNetworkTemplateLogicalInterface>]
2004
- attr_accessor :logical_interfaces
2005
-
2006
- # Output only. Template's unique name. The full resource name follows the
2007
- # pattern: `projects/`project`/locations/`location`/serverNetworkTemplate/`
2008
- # server_network_template`` Generally, the `server_network_template` follows the
2009
- # syntax of "bond" or "nic".
2010
- # Corresponds to the JSON property `name`
2011
- # @return [String]
2012
- attr_accessor :name
2013
-
2014
- def initialize(**args)
2015
- update!(**args)
2016
- end
2017
-
2018
- # Update properties of this object
2019
- def update!(**args)
2020
- @applicable_instance_types = args[:applicable_instance_types] if args.key?(:applicable_instance_types)
2021
- @logical_interfaces = args[:logical_interfaces] if args.key?(:logical_interfaces)
2022
- @name = args[:name] if args.key?(:name)
2023
- end
2024
- end
2025
-
2026
1895
  # Details about snapshot space reservation and usage on the storage volume.
2027
1896
  class SnapshotReservationDetail
2028
1897
  include Google::Apis::Core::Hashable
@@ -2247,6 +2116,13 @@ module Google
2247
2116
  # @return [String]
2248
2117
  attr_accessor :id
2249
2118
 
2119
+ # Optional. The name of the vlan attachment within vrf. This is of the form
2120
+ # projects/`project_number`/regions/`region`/interconnectAttachments/`
2121
+ # interconnect_attachment`
2122
+ # Corresponds to the JSON property `interconnectAttachment`
2123
+ # @return [String]
2124
+ attr_accessor :interconnect_attachment
2125
+
2250
2126
  # Input only. Pairing key.
2251
2127
  # Corresponds to the JSON property `pairingKey`
2252
2128
  # @return [String]
@@ -2279,6 +2155,7 @@ module Google
2279
2155
  # Update properties of this object
2280
2156
  def update!(**args)
2281
2157
  @id = args[:id] if args.key?(:id)
2158
+ @interconnect_attachment = args[:interconnect_attachment] if args.key?(:interconnect_attachment)
2282
2159
  @pairing_key = args[:pairing_key] if args.key?(:pairing_key)
2283
2160
  @peer_ip = args[:peer_ip] if args.key?(:peer_ip)
2284
2161
  @peer_vlan_id = args[:peer_vlan_id] if args.key?(:peer_vlan_id)
@@ -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.34.0"
19
+ GEM_VERSION = "0.36.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20230607"
25
+ REVISION = "20230710"
26
26
  end
27
27
  end
28
28
  end
@@ -64,24 +64,12 @@ module Google
64
64
  include Google::Apis::Core::JsonObjectSupport
65
65
  end
66
66
 
67
- class FetchInstanceProvisioningSettingsResponse
68
- class Representation < Google::Apis::Core::JsonRepresentation; end
69
-
70
- include Google::Apis::Core::JsonObjectSupport
71
- end
72
-
73
67
  class GoogleCloudBaremetalsolutionV2LogicalInterface
74
68
  class Representation < Google::Apis::Core::JsonRepresentation; end
75
69
 
76
70
  include Google::Apis::Core::JsonObjectSupport
77
71
  end
78
72
 
79
- class GoogleCloudBaremetalsolutionV2ServerNetworkTemplateLogicalInterface
80
- class Representation < Google::Apis::Core::JsonRepresentation; end
81
-
82
- include Google::Apis::Core::JsonObjectSupport
83
- end
84
-
85
73
  class Instance
86
74
  class Representation < Google::Apis::Core::JsonRepresentation; end
87
75
 
@@ -238,12 +226,6 @@ module Google
238
226
  include Google::Apis::Core::JsonObjectSupport
239
227
  end
240
228
 
241
- class OsImage
242
- class Representation < Google::Apis::Core::JsonRepresentation; end
243
-
244
- include Google::Apis::Core::JsonObjectSupport
245
- end
246
-
247
229
  class Operation
248
230
  class Representation < Google::Apis::Core::JsonRepresentation; end
249
231
 
@@ -322,12 +304,6 @@ module Google
322
304
  include Google::Apis::Core::JsonObjectSupport
323
305
  end
324
306
 
325
- class ServerNetworkTemplate
326
- class Representation < Google::Apis::Core::JsonRepresentation; end
327
-
328
- include Google::Apis::Core::JsonObjectSupport
329
- end
330
-
331
307
  class SnapshotReservationDetail
332
308
  class Representation < Google::Apis::Core::JsonRepresentation; end
333
309
 
@@ -458,14 +434,6 @@ module Google
458
434
  end
459
435
  end
460
436
 
461
- class FetchInstanceProvisioningSettingsResponse
462
- # @private
463
- class Representation < Google::Apis::Core::JsonRepresentation
464
- collection :images, as: 'images', class: Google::Apis::BaremetalsolutionV2::OsImage, decorator: Google::Apis::BaremetalsolutionV2::OsImage::Representation
465
-
466
- end
467
- end
468
-
469
437
  class GoogleCloudBaremetalsolutionV2LogicalInterface
470
438
  # @private
471
439
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -476,15 +444,6 @@ module Google
476
444
  end
477
445
  end
478
446
 
479
- class GoogleCloudBaremetalsolutionV2ServerNetworkTemplateLogicalInterface
480
- # @private
481
- class Representation < Google::Apis::Core::JsonRepresentation
482
- property :name, as: 'name'
483
- property :required, as: 'required'
484
- property :type, as: 'type'
485
- end
486
- end
487
-
488
447
  class Instance
489
448
  # @private
490
449
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -807,18 +766,6 @@ module Google
807
766
  end
808
767
  end
809
768
 
810
- class OsImage
811
- # @private
812
- class Representation < Google::Apis::Core::JsonRepresentation
813
- collection :applicable_instance_types, as: 'applicableInstanceTypes'
814
- property :code, as: 'code'
815
- property :description, as: 'description'
816
- property :name, as: 'name'
817
- collection :supported_network_templates, as: 'supportedNetworkTemplates', class: Google::Apis::BaremetalsolutionV2::ServerNetworkTemplate, decorator: Google::Apis::BaremetalsolutionV2::ServerNetworkTemplate::Representation
818
-
819
- end
820
- end
821
-
822
769
  class Operation
823
770
  # @private
824
771
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -938,16 +885,6 @@ module Google
938
885
  end
939
886
  end
940
887
 
941
- class ServerNetworkTemplate
942
- # @private
943
- class Representation < Google::Apis::Core::JsonRepresentation
944
- collection :applicable_instance_types, as: 'applicableInstanceTypes'
945
- collection :logical_interfaces, as: 'logicalInterfaces', class: Google::Apis::BaremetalsolutionV2::GoogleCloudBaremetalsolutionV2ServerNetworkTemplateLogicalInterface, decorator: Google::Apis::BaremetalsolutionV2::GoogleCloudBaremetalsolutionV2ServerNetworkTemplateLogicalInterface::Representation
946
-
947
- property :name, as: 'name'
948
- end
949
- end
950
-
951
888
  class SnapshotReservationDetail
952
889
  # @private
953
890
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1024,6 +961,7 @@ module Google
1024
961
  # @private
1025
962
  class Representation < Google::Apis::Core::JsonRepresentation
1026
963
  property :id, as: 'id'
964
+ property :interconnect_attachment, as: 'interconnectAttachment'
1027
965
  property :pairing_key, as: 'pairingKey'
1028
966
  property :peer_ip, as: 'peerIp'
1029
967
  property :peer_vlan_id, :numeric_string => true, as: 'peerVlanId'
@@ -123,37 +123,6 @@ module Google
123
123
  execute_or_queue_command(command, &block)
124
124
  end
125
125
 
126
- # Get instance provisioning settings for a given project. This is hidden method
127
- # used by UI only.
128
- # @param [String] location
129
- # Required. The parent project and location containing the ProvisioningSettings.
130
- # @param [String] fields
131
- # Selector specifying which fields to include in a partial response.
132
- # @param [String] quota_user
133
- # Available to use for quota purposes for server-side applications. Can be any
134
- # arbitrary string assigned to a user, but should not exceed 40 characters.
135
- # @param [Google::Apis::RequestOptions] options
136
- # Request-specific options
137
- #
138
- # @yield [result, err] Result & error if block supplied
139
- # @yieldparam result [Google::Apis::BaremetalsolutionV2::FetchInstanceProvisioningSettingsResponse] parsed result object
140
- # @yieldparam err [StandardError] error object if request failed
141
- #
142
- # @return [Google::Apis::BaremetalsolutionV2::FetchInstanceProvisioningSettingsResponse]
143
- #
144
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
145
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
146
- # @raise [Google::Apis::AuthorizationError] Authorization is required
147
- def fetch_project_location_instance_provisioning_setting(location, fields: nil, quota_user: nil, options: nil, &block)
148
- command = make_simple_command(:get, 'v2/{+location}/instanceProvisioningSettings:fetch', options)
149
- command.response_representation = Google::Apis::BaremetalsolutionV2::FetchInstanceProvisioningSettingsResponse::Representation
150
- command.response_class = Google::Apis::BaremetalsolutionV2::FetchInstanceProvisioningSettingsResponse
151
- command.params['location'] = location unless location.nil?
152
- command.query['fields'] = fields unless fields.nil?
153
- command.query['quotaUser'] = quota_user unless quota_user.nil?
154
- execute_or_queue_command(command, &block)
155
- end
156
-
157
126
  # Detach LUN from Instance.
158
127
  # @param [String] instance
159
128
  # Required. Name of the instance.
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.34.0
4
+ version: 0.36.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: 2023-06-11 00:00:00.000000000 Z
11
+ date: 2023-07-16 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.34.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-baremetalsolution_v2/v0.36.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: []