google-apis-baremetalsolution_v2 0.35.0 → 0.37.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: 1983b0cca0e439f14f8c6b0233775ff57273432b230d8f5b5e8643c981b02890
4
- data.tar.gz: 15a8b1535f1435dff455c0a1576ecad93c1cedb81155e9d5863083e30782647f
3
+ metadata.gz: be615bffd3afcf95bc58ae0aadca2a9fe9b9836341f9b8e9e03cb68e594a0c34
4
+ data.tar.gz: 5103d8536f440124a82a1f2653996ed208bbeaf507fb9c79066d6b4f4180a85f
5
5
  SHA512:
6
- metadata.gz: 03f99d7774aaf79931d5932c69563d73d815f9cf8952a963a5dc3534f8760cddfe1bec2223d5c2585263778c2845fc61984f04831a55fb0879ae4448f68d6319
7
- data.tar.gz: 80abe06bb65584c319f397cc67bbcbd5a60e6d2b1e8026453acc9ab8df4b5893a13da46a6e176501cfcf6abe293226684593bf66842ca9e59e5176a8dda3d1cc
6
+ metadata.gz: e4c640a7b668abfffcab85c1f9329e552700e94c6808c9a4c48957fb05d618c36b8a98c17e8cbb504b644862098024dd7f11d6ea0a55ef617ff5d4bfc55eab77
7
+ data.tar.gz: 3b89d4abf54630f1f73b07136cf71fa4176b5201d2187d8d7a57a1ba3672379a1c03db8e9f079f453b732f2fa31fe029367c7507cf87399806669142646366da
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-baremetalsolution_v2
2
2
 
3
+ ### v0.37.0 (2023-08-13)
4
+
5
+ * Regenerated from discovery document revision 20230807
6
+
7
+ ### v0.36.0 (2023-07-16)
8
+
9
+ * Regenerated from discovery document revision 20230710
10
+
3
11
  ### v0.35.0 (2023-07-02)
4
12
 
5
13
  * Regenerated from discovery document revision 20230628
@@ -130,6 +130,19 @@ module Google
130
130
  end
131
131
  end
132
132
 
133
+ # Message for response of DisableInteractiveSerialConsole.
134
+ class DisableInteractiveSerialConsoleResponse
135
+ include Google::Apis::Core::Hashable
136
+
137
+ def initialize(**args)
138
+ update!(**args)
139
+ end
140
+
141
+ # Update properties of this object
142
+ def update!(**args)
143
+ end
144
+ end
145
+
133
146
  # A generic empty message that you can re-use to avoid defining duplicated empty
134
147
  # messages in your APIs. A typical example is to use it as the request or the
135
148
  # response type of an API method. For instance: service Foo ` rpc Bar(google.
@@ -159,6 +172,19 @@ module Google
159
172
  end
160
173
  end
161
174
 
175
+ # Message for response of EnableInteractiveSerialConsole.
176
+ class EnableInteractiveSerialConsoleResponse
177
+ include Google::Apis::Core::Hashable
178
+
179
+ def initialize(**args)
180
+ update!(**args)
181
+ end
182
+
183
+ # Update properties of this object
184
+ def update!(**args)
185
+ end
186
+ end
187
+
162
188
  # Request for skip lun cooloff and delete it.
163
189
  class EvictLunRequest
164
190
  include Google::Apis::Core::Hashable
@@ -221,6 +247,40 @@ module Google
221
247
  end
222
248
  end
223
249
 
250
+ # Logical interface.
251
+ class GoogleCloudBaremetalsolutionV2ServerNetworkTemplateLogicalInterface
252
+ include Google::Apis::Core::Hashable
253
+
254
+ # Interface name. This is not a globally unique identifier. Name is unique only
255
+ # inside the ServerNetworkTemplate. This is of syntax or and forms part of the
256
+ # network template name.
257
+ # Corresponds to the JSON property `name`
258
+ # @return [String]
259
+ attr_accessor :name
260
+
261
+ # If true, interface must have network connected.
262
+ # Corresponds to the JSON property `required`
263
+ # @return [Boolean]
264
+ attr_accessor :required
265
+ alias_method :required?, :required
266
+
267
+ # Interface type.
268
+ # Corresponds to the JSON property `type`
269
+ # @return [String]
270
+ attr_accessor :type
271
+
272
+ def initialize(**args)
273
+ update!(**args)
274
+ end
275
+
276
+ # Update properties of this object
277
+ def update!(**args)
278
+ @name = args[:name] if args.key?(:name)
279
+ @required = args[:required] if args.key?(:required)
280
+ @type = args[:type] if args.key?(:type)
281
+ end
282
+ end
283
+
224
284
  # A server.
225
285
  class Instance
226
286
  include Google::Apis::Core::Hashable
@@ -703,6 +763,32 @@ module Google
703
763
  end
704
764
  end
705
765
 
766
+ # Request for getting all available OS images.
767
+ class ListOsImagesResponse
768
+ include Google::Apis::Core::Hashable
769
+
770
+ # Token to retrieve the next page of results, or empty if there are no more
771
+ # results in the list.
772
+ # Corresponds to the JSON property `nextPageToken`
773
+ # @return [String]
774
+ attr_accessor :next_page_token
775
+
776
+ # The OS images available.
777
+ # Corresponds to the JSON property `osImages`
778
+ # @return [Array<Google::Apis::BaremetalsolutionV2::OsImage>]
779
+ attr_accessor :os_images
780
+
781
+ def initialize(**args)
782
+ update!(**args)
783
+ end
784
+
785
+ # Update properties of this object
786
+ def update!(**args)
787
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
788
+ @os_images = args[:os_images] if args.key?(:os_images)
789
+ end
790
+ end
791
+
706
792
  # Response message for the list of provisioning quotas.
707
793
  class ListProvisioningQuotasResponse
708
794
  include Google::Apis::Core::Hashable
@@ -1482,6 +1568,50 @@ module Google
1482
1568
  end
1483
1569
  end
1484
1570
 
1571
+ # Operation System image.
1572
+ class OsImage
1573
+ include Google::Apis::Core::Hashable
1574
+
1575
+ # Instance types this image is applicable to. [Available types](https://cloud.
1576
+ # google.com/bare-metal/docs/bms-planning#server_configurations)
1577
+ # Corresponds to the JSON property `applicableInstanceTypes`
1578
+ # @return [Array<String>]
1579
+ attr_accessor :applicable_instance_types
1580
+
1581
+ # OS Image code.
1582
+ # Corresponds to the JSON property `code`
1583
+ # @return [String]
1584
+ attr_accessor :code
1585
+
1586
+ # OS Image description.
1587
+ # Corresponds to the JSON property `description`
1588
+ # @return [String]
1589
+ attr_accessor :description
1590
+
1591
+ # Output only. OS Image's unique name.
1592
+ # Corresponds to the JSON property `name`
1593
+ # @return [String]
1594
+ attr_accessor :name
1595
+
1596
+ # Network templates that can be used with this OS Image.
1597
+ # Corresponds to the JSON property `supportedNetworkTemplates`
1598
+ # @return [Array<String>]
1599
+ attr_accessor :supported_network_templates
1600
+
1601
+ def initialize(**args)
1602
+ update!(**args)
1603
+ end
1604
+
1605
+ # Update properties of this object
1606
+ def update!(**args)
1607
+ @applicable_instance_types = args[:applicable_instance_types] if args.key?(:applicable_instance_types)
1608
+ @code = args[:code] if args.key?(:code)
1609
+ @description = args[:description] if args.key?(:description)
1610
+ @name = args[:name] if args.key?(:name)
1611
+ @supported_network_templates = args[:supported_network_templates] if args.key?(:supported_network_templates)
1612
+ end
1613
+ end
1614
+
1485
1615
  # This resource represents a long-running operation that is the result of a
1486
1616
  # network API call.
1487
1617
  class Operation
@@ -1519,13 +1649,13 @@ module Google
1519
1649
  # @return [String]
1520
1650
  attr_accessor :name
1521
1651
 
1522
- # The normal response of the operation in case of success. If the original
1523
- # method returns no data on success, such as `Delete`, the response is `google.
1524
- # protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`,
1525
- # the response should be the resource. For other methods, the response should
1526
- # have the type `XxxResponse`, where `Xxx` is the original method name. For
1527
- # example, if the original method name is `TakeSnapshot()`, the inferred
1528
- # response type is `TakeSnapshotResponse`.
1652
+ # The normal, successful response of the operation. If the original method
1653
+ # returns no data on success, such as `Delete`, the response is `google.protobuf.
1654
+ # Empty`. If the original method is standard `Get`/`Create`/`Update`, the
1655
+ # response should be the resource. For other methods, the response should have
1656
+ # the type `XxxResponse`, where `Xxx` is the original method name. For example,
1657
+ # if the original method name is `TakeSnapshot()`, the inferred response type is
1658
+ # `TakeSnapshotResponse`.
1529
1659
  # Corresponds to the JSON property `response`
1530
1660
  # @return [Hash<String,Object>]
1531
1661
  attr_accessor :response
@@ -1892,6 +2022,40 @@ module Google
1892
2022
  end
1893
2023
  end
1894
2024
 
2025
+ # Network template.
2026
+ class ServerNetworkTemplate
2027
+ include Google::Apis::Core::Hashable
2028
+
2029
+ # Instance types this template is applicable to.
2030
+ # Corresponds to the JSON property `applicableInstanceTypes`
2031
+ # @return [Array<String>]
2032
+ attr_accessor :applicable_instance_types
2033
+
2034
+ # Logical interfaces.
2035
+ # Corresponds to the JSON property `logicalInterfaces`
2036
+ # @return [Array<Google::Apis::BaremetalsolutionV2::GoogleCloudBaremetalsolutionV2ServerNetworkTemplateLogicalInterface>]
2037
+ attr_accessor :logical_interfaces
2038
+
2039
+ # Output only. Template's unique name. The full resource name follows the
2040
+ # pattern: `projects/`project`/locations/`location`/serverNetworkTemplate/`
2041
+ # server_network_template`` Generally, the `server_network_template` follows the
2042
+ # syntax of "bond" or "nic".
2043
+ # Corresponds to the JSON property `name`
2044
+ # @return [String]
2045
+ attr_accessor :name
2046
+
2047
+ def initialize(**args)
2048
+ update!(**args)
2049
+ end
2050
+
2051
+ # Update properties of this object
2052
+ def update!(**args)
2053
+ @applicable_instance_types = args[:applicable_instance_types] if args.key?(:applicable_instance_types)
2054
+ @logical_interfaces = args[:logical_interfaces] if args.key?(:logical_interfaces)
2055
+ @name = args[:name] if args.key?(:name)
2056
+ end
2057
+ end
2058
+
1895
2059
  # Details about snapshot space reservation and usage on the storage volume.
1896
2060
  class SnapshotReservationDetail
1897
2061
  include Google::Apis::Core::Hashable
@@ -2116,6 +2280,13 @@ module Google
2116
2280
  # @return [String]
2117
2281
  attr_accessor :id
2118
2282
 
2283
+ # Optional. The name of the vlan attachment within vrf. This is of the form
2284
+ # projects/`project_number`/regions/`region`/interconnectAttachments/`
2285
+ # interconnect_attachment`
2286
+ # Corresponds to the JSON property `interconnectAttachment`
2287
+ # @return [String]
2288
+ attr_accessor :interconnect_attachment
2289
+
2119
2290
  # Input only. Pairing key.
2120
2291
  # Corresponds to the JSON property `pairingKey`
2121
2292
  # @return [String]
@@ -2148,6 +2319,7 @@ module Google
2148
2319
  # Update properties of this object
2149
2320
  def update!(**args)
2150
2321
  @id = args[:id] if args.key?(:id)
2322
+ @interconnect_attachment = args[:interconnect_attachment] if args.key?(:interconnect_attachment)
2151
2323
  @pairing_key = args[:pairing_key] if args.key?(:pairing_key)
2152
2324
  @peer_ip = args[:peer_ip] if args.key?(:peer_ip)
2153
2325
  @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.35.0"
19
+ GEM_VERSION = "0.37.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 = "20230628"
25
+ REVISION = "20230807"
26
26
  end
27
27
  end
28
28
  end
@@ -40,6 +40,12 @@ module Google
40
40
  include Google::Apis::Core::JsonObjectSupport
41
41
  end
42
42
 
43
+ class DisableInteractiveSerialConsoleResponse
44
+ class Representation < Google::Apis::Core::JsonRepresentation; end
45
+
46
+ include Google::Apis::Core::JsonObjectSupport
47
+ end
48
+
43
49
  class Empty
44
50
  class Representation < Google::Apis::Core::JsonRepresentation; end
45
51
 
@@ -52,6 +58,12 @@ module Google
52
58
  include Google::Apis::Core::JsonObjectSupport
53
59
  end
54
60
 
61
+ class EnableInteractiveSerialConsoleResponse
62
+ class Representation < Google::Apis::Core::JsonRepresentation; end
63
+
64
+ include Google::Apis::Core::JsonObjectSupport
65
+ end
66
+
55
67
  class EvictLunRequest
56
68
  class Representation < Google::Apis::Core::JsonRepresentation; end
57
69
 
@@ -70,6 +82,12 @@ module Google
70
82
  include Google::Apis::Core::JsonObjectSupport
71
83
  end
72
84
 
85
+ class GoogleCloudBaremetalsolutionV2ServerNetworkTemplateLogicalInterface
86
+ class Representation < Google::Apis::Core::JsonRepresentation; end
87
+
88
+ include Google::Apis::Core::JsonObjectSupport
89
+ end
90
+
73
91
  class Instance
74
92
  class Representation < Google::Apis::Core::JsonRepresentation; end
75
93
 
@@ -130,6 +148,12 @@ module Google
130
148
  include Google::Apis::Core::JsonObjectSupport
131
149
  end
132
150
 
151
+ class ListOsImagesResponse
152
+ class Representation < Google::Apis::Core::JsonRepresentation; end
153
+
154
+ include Google::Apis::Core::JsonObjectSupport
155
+ end
156
+
133
157
  class ListProvisioningQuotasResponse
134
158
  class Representation < Google::Apis::Core::JsonRepresentation; end
135
159
 
@@ -226,6 +250,12 @@ module Google
226
250
  include Google::Apis::Core::JsonObjectSupport
227
251
  end
228
252
 
253
+ class OsImage
254
+ class Representation < Google::Apis::Core::JsonRepresentation; end
255
+
256
+ include Google::Apis::Core::JsonObjectSupport
257
+ end
258
+
229
259
  class Operation
230
260
  class Representation < Google::Apis::Core::JsonRepresentation; end
231
261
 
@@ -304,6 +334,12 @@ module Google
304
334
  include Google::Apis::Core::JsonObjectSupport
305
335
  end
306
336
 
337
+ class ServerNetworkTemplate
338
+ class Representation < Google::Apis::Core::JsonRepresentation; end
339
+
340
+ include Google::Apis::Core::JsonObjectSupport
341
+ end
342
+
307
343
  class SnapshotReservationDetail
308
344
  class Representation < Google::Apis::Core::JsonRepresentation; end
309
345
 
@@ -410,6 +446,12 @@ module Google
410
446
  end
411
447
  end
412
448
 
449
+ class DisableInteractiveSerialConsoleResponse
450
+ # @private
451
+ class Representation < Google::Apis::Core::JsonRepresentation
452
+ end
453
+ end
454
+
413
455
  class Empty
414
456
  # @private
415
457
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -422,6 +464,12 @@ module Google
422
464
  end
423
465
  end
424
466
 
467
+ class EnableInteractiveSerialConsoleResponse
468
+ # @private
469
+ class Representation < Google::Apis::Core::JsonRepresentation
470
+ end
471
+ end
472
+
425
473
  class EvictLunRequest
426
474
  # @private
427
475
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -444,6 +492,15 @@ module Google
444
492
  end
445
493
  end
446
494
 
495
+ class GoogleCloudBaremetalsolutionV2ServerNetworkTemplateLogicalInterface
496
+ # @private
497
+ class Representation < Google::Apis::Core::JsonRepresentation
498
+ property :name, as: 'name'
499
+ property :required, as: 'required'
500
+ property :type, as: 'type'
501
+ end
502
+ end
503
+
447
504
  class Instance
448
505
  # @private
449
506
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -571,6 +628,15 @@ module Google
571
628
  end
572
629
  end
573
630
 
631
+ class ListOsImagesResponse
632
+ # @private
633
+ class Representation < Google::Apis::Core::JsonRepresentation
634
+ property :next_page_token, as: 'nextPageToken'
635
+ collection :os_images, as: 'osImages', class: Google::Apis::BaremetalsolutionV2::OsImage, decorator: Google::Apis::BaremetalsolutionV2::OsImage::Representation
636
+
637
+ end
638
+ end
639
+
574
640
  class ListProvisioningQuotasResponse
575
641
  # @private
576
642
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -766,6 +832,17 @@ module Google
766
832
  end
767
833
  end
768
834
 
835
+ class OsImage
836
+ # @private
837
+ class Representation < Google::Apis::Core::JsonRepresentation
838
+ collection :applicable_instance_types, as: 'applicableInstanceTypes'
839
+ property :code, as: 'code'
840
+ property :description, as: 'description'
841
+ property :name, as: 'name'
842
+ collection :supported_network_templates, as: 'supportedNetworkTemplates'
843
+ end
844
+ end
845
+
769
846
  class Operation
770
847
  # @private
771
848
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -885,6 +962,16 @@ module Google
885
962
  end
886
963
  end
887
964
 
965
+ class ServerNetworkTemplate
966
+ # @private
967
+ class Representation < Google::Apis::Core::JsonRepresentation
968
+ collection :applicable_instance_types, as: 'applicableInstanceTypes'
969
+ collection :logical_interfaces, as: 'logicalInterfaces', class: Google::Apis::BaremetalsolutionV2::GoogleCloudBaremetalsolutionV2ServerNetworkTemplateLogicalInterface, decorator: Google::Apis::BaremetalsolutionV2::GoogleCloudBaremetalsolutionV2ServerNetworkTemplateLogicalInterface::Representation
970
+
971
+ property :name, as: 'name'
972
+ end
973
+ end
974
+
888
975
  class SnapshotReservationDetail
889
976
  # @private
890
977
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -961,6 +1048,7 @@ module Google
961
1048
  # @private
962
1049
  class Representation < Google::Apis::Core::JsonRepresentation
963
1050
  property :id, as: 'id'
1051
+ property :interconnect_attachment, as: 'interconnectAttachment'
964
1052
  property :pairing_key, as: 'pairingKey'
965
1053
  property :peer_ip, as: 'peerIp'
966
1054
  property :peer_vlan_id, :numeric_string => true, as: 'peerVlanId'
@@ -878,6 +878,45 @@ module Google
878
878
  execute_or_queue_command(command, &block)
879
879
  end
880
880
 
881
+ # Retrieves the list of OS images which are currently approved.
882
+ # @param [String] parent
883
+ # Required. Parent value for ListProvisioningQuotasRequest.
884
+ # @param [Fixnum] page_size
885
+ # Requested page size. The server might return fewer items than requested. If
886
+ # unspecified, server will pick an appropriate default. Notice that page_size
887
+ # field is not supported and won't be respected in the API request for now, will
888
+ # be updated when pagination is supported.
889
+ # @param [String] page_token
890
+ # A token identifying a page of results from the server.
891
+ # @param [String] fields
892
+ # Selector specifying which fields to include in a partial response.
893
+ # @param [String] quota_user
894
+ # Available to use for quota purposes for server-side applications. Can be any
895
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
896
+ # @param [Google::Apis::RequestOptions] options
897
+ # Request-specific options
898
+ #
899
+ # @yield [result, err] Result & error if block supplied
900
+ # @yieldparam result [Google::Apis::BaremetalsolutionV2::ListOsImagesResponse] parsed result object
901
+ # @yieldparam err [StandardError] error object if request failed
902
+ #
903
+ # @return [Google::Apis::BaremetalsolutionV2::ListOsImagesResponse]
904
+ #
905
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
906
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
907
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
908
+ def list_project_location_os_images(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
909
+ command = make_simple_command(:get, 'v2/{+parent}/osImages', options)
910
+ command.response_representation = Google::Apis::BaremetalsolutionV2::ListOsImagesResponse::Representation
911
+ command.response_class = Google::Apis::BaremetalsolutionV2::ListOsImagesResponse
912
+ command.params['parent'] = parent unless parent.nil?
913
+ command.query['pageSize'] = page_size unless page_size.nil?
914
+ command.query['pageToken'] = page_token unless page_token.nil?
915
+ command.query['fields'] = fields unless fields.nil?
916
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
917
+ execute_or_queue_command(command, &block)
918
+ end
919
+
881
920
  # Create new ProvisioningConfig.
882
921
  # @param [String] parent
883
922
  # Required. The parent project and location containing the ProvisioningConfig.
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.35.0
4
+ version: 0.37.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-07-02 00:00:00.000000000 Z
11
+ date: 2023-08-20 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.35.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-baremetalsolution_v2/v0.37.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: []