google-apis-baremetalsolution_v2 0.38.0 → 0.40.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: fe972bbba2cc172c17cfec89c9503f9938266045be9a0290aecfcc95f9f0105d
4
- data.tar.gz: 129498367032861497b06016271563190834eecf4c85de2d0632c0f17947a1e8
3
+ metadata.gz: f175c38d31ec7758676fb911aececc139faba8066898865588cb38fbdfb163c4
4
+ data.tar.gz: 847f8a296cffc1dbbebd726796c8d4457f65697f29445329a6c16d1379ebd787
5
5
  SHA512:
6
- metadata.gz: afa9889b56051535e72fdd6248bba624a8fb8e3cca712b65018025177f6e1bb0fc0d84f70a0d4a220c782eff783eb5bc58e0c7f569561f9177dcc606d0aaccad
7
- data.tar.gz: be8d9d25b67c4b08bc9dd06e788bbbb2cbd401e1e42733a441e875167711534af9baf70cbde2133c97e3b4a8fed0965aba622275ada9990b5cee19e6a703c030
6
+ metadata.gz: 907e9f5b4f51efe9fcdbf992f3744026cf7f4a0e13aabe1afae1c9300e666d9c554f3626451ad086f02ed83ae28a696406794841443f1ef60f1ca31df613d55a
7
+ data.tar.gz: 055d87345df93a7e177cc1135c2e68c6f92cc3315a7e64109dae3dd5d7c60402d48fc2440b2cd5176694878ea262ca823a0c36577bb8fac71c796024ef9d3138
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-baremetalsolution_v2
2
2
 
3
+ ### v0.40.0 (2023-10-01)
4
+
5
+ * Regenerated from discovery document revision 20230927
6
+
7
+ ### v0.39.0 (2023-09-03)
8
+
9
+ * Regenerated from discovery document revision 20230831
10
+
3
11
  ### v0.38.0 (2023-08-27)
4
12
 
5
13
  * Regenerated from discovery document revision 20230814
@@ -371,8 +371,8 @@ module Google
371
371
  attr_accessor :os_image
372
372
 
373
373
  # Immutable. Pod name. Pod is an independent part of infrastructure. Instance
374
- # can be connected to the assets (networks, volumes) allocated in the same pod
375
- # only.
374
+ # can only be connected to the assets (networks, volumes) allocated in the same
375
+ # pod.
376
376
  # Corresponds to the JSON property `pod`
377
377
  # @return [String]
378
378
  attr_accessor :pod
@@ -466,7 +466,7 @@ module Google
466
466
  # @return [Array<Google::Apis::BaremetalsolutionV2::GoogleCloudBaremetalsolutionV2LogicalInterface>]
467
467
  attr_accessor :logical_interfaces
468
468
 
469
- # Output only. The name of the instance config.
469
+ # The name of the instance config.
470
470
  # Corresponds to the JSON property `name`
471
471
  # @return [String]
472
472
  attr_accessor :name
@@ -493,7 +493,7 @@ module Google
493
493
  # @return [Google::Apis::BaremetalsolutionV2::NetworkAddress]
494
494
  attr_accessor :private_network
495
495
 
496
- # List of names of ssh keys used to provision the instance.
496
+ # Optional. List of names of ssh keys used to provision the instance.
497
497
  # Corresponds to the JSON property `sshKeyNames`
498
498
  # @return [Array<String>]
499
499
  attr_accessor :ssh_key_names
@@ -1162,7 +1162,9 @@ module Google
1162
1162
  # @return [String]
1163
1163
  attr_accessor :name
1164
1164
 
1165
- # Output only. Pod name.
1165
+ # Immutable. Pod name. Pod is an independent part of infrastructure. Network can
1166
+ # only be connected to the assets (instances, nfsshares) allocated in the same
1167
+ # pod.
1166
1168
  # Corresponds to the JSON property `pod`
1167
1169
  # @return [String]
1168
1170
  attr_accessor :pod
@@ -1529,6 +1531,13 @@ module Google
1529
1531
  # @return [String]
1530
1532
  attr_accessor :nfs_share_id
1531
1533
 
1534
+ # Immutable. Pod name. Pod is an independent part of infrastructure. NFSShare
1535
+ # can only be connected to the assets (networks, instances) allocated in the
1536
+ # same pod.
1537
+ # Corresponds to the JSON property `pod`
1538
+ # @return [String]
1539
+ attr_accessor :pod
1540
+
1532
1541
  # The requested size, in GiB.
1533
1542
  # Corresponds to the JSON property `requestedSizeGib`
1534
1543
  # @return [Fixnum]
@@ -1561,6 +1570,7 @@ module Google
1561
1570
  @labels = args[:labels] if args.key?(:labels)
1562
1571
  @name = args[:name] if args.key?(:name)
1563
1572
  @nfs_share_id = args[:nfs_share_id] if args.key?(:nfs_share_id)
1573
+ @pod = args[:pod] if args.key?(:pod)
1564
1574
  @requested_size_gib = args[:requested_size_gib] if args.key?(:requested_size_gib)
1565
1575
  @state = args[:state] if args.key?(:state)
1566
1576
  @storage_type = args[:storage_type] if args.key?(:storage_type)
@@ -1722,6 +1732,13 @@ module Google
1722
1732
  # @return [Array<Google::Apis::BaremetalsolutionV2::NetworkConfig>]
1723
1733
  attr_accessor :networks
1724
1734
 
1735
+ # Optional. Pod name. Pod is an independent part of infrastructure. Instance can
1736
+ # be connected to the assets (networks, volumes, nfsshares) allocated in the
1737
+ # same pod only.
1738
+ # Corresponds to the JSON property `pod`
1739
+ # @return [String]
1740
+ attr_accessor :pod
1741
+
1725
1742
  # Output only. State of ProvisioningConfig.
1726
1743
  # Corresponds to the JSON property `state`
1727
1744
  # @return [String]
@@ -1767,6 +1784,7 @@ module Google
1767
1784
  @location = args[:location] if args.key?(:location)
1768
1785
  @name = args[:name] if args.key?(:name)
1769
1786
  @networks = args[:networks] if args.key?(:networks)
1787
+ @pod = args[:pod] if args.key?(:pod)
1770
1788
  @state = args[:state] if args.key?(:state)
1771
1789
  @status_message = args[:status_message] if args.key?(:status_message)
1772
1790
  @ticket_id = args[:ticket_id] if args.key?(:ticket_id)
@@ -2417,7 +2435,8 @@ module Google
2417
2435
  # @return [String]
2418
2436
  attr_accessor :performance_tier
2419
2437
 
2420
- # Immutable. Pod name.
2438
+ # Immutable. Pod name. Pod is an independent part of infrastructure. Volume can
2439
+ # only be connected to the instances allocated in the same pod.
2421
2440
  # Corresponds to the JSON property `pod`
2422
2441
  # @return [String]
2423
2442
  attr_accessor :pod
@@ -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.38.0"
19
+ GEM_VERSION = "0.40.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 = "20230814"
25
+ REVISION = "20230927"
26
26
  end
27
27
  end
28
28
  end
@@ -825,6 +825,7 @@ module Google
825
825
  hash :labels, as: 'labels'
826
826
  property :name, as: 'name'
827
827
  property :nfs_share_id, as: 'nfsShareId'
828
+ property :pod, as: 'pod'
828
829
  property :requested_size_gib, :numeric_string => true, as: 'requestedSizeGib'
829
830
  property :state, as: 'state'
830
831
  property :storage_type, as: 'storageType'
@@ -868,6 +869,7 @@ module Google
868
869
  property :name, as: 'name'
869
870
  collection :networks, as: 'networks', class: Google::Apis::BaremetalsolutionV2::NetworkConfig, decorator: Google::Apis::BaremetalsolutionV2::NetworkConfig::Representation
870
871
 
872
+ property :pod, as: 'pod'
871
873
  property :state, as: 'state'
872
874
  property :status_message, as: 'statusMessage'
873
875
  property :ticket_id, as: 'ticketId'
@@ -301,7 +301,7 @@ module Google
301
301
  # @param [Google::Apis::BaremetalsolutionV2::Instance] instance_object
302
302
  # @param [String] update_mask
303
303
  # The list of fields to update. The currently supported fields are: `labels` `
304
- # hyperthreading_enabled` `os_image`
304
+ # hyperthreading_enabled` `os_image` `ssh_keys`
305
305
  # @param [String] fields
306
306
  # Selector specifying which fields to include in a partial response.
307
307
  # @param [String] quota_user
@@ -878,9 +878,39 @@ module Google
878
878
  execute_or_queue_command(command, &block)
879
879
  end
880
880
 
881
+ # Get details of a single OS image.
882
+ # @param [String] name
883
+ # Required. Name of the OS image.
884
+ # @param [String] fields
885
+ # Selector specifying which fields to include in a partial response.
886
+ # @param [String] quota_user
887
+ # Available to use for quota purposes for server-side applications. Can be any
888
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
889
+ # @param [Google::Apis::RequestOptions] options
890
+ # Request-specific options
891
+ #
892
+ # @yield [result, err] Result & error if block supplied
893
+ # @yieldparam result [Google::Apis::BaremetalsolutionV2::OsImage] parsed result object
894
+ # @yieldparam err [StandardError] error object if request failed
895
+ #
896
+ # @return [Google::Apis::BaremetalsolutionV2::OsImage]
897
+ #
898
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
899
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
900
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
901
+ def get_project_location_os_image(name, fields: nil, quota_user: nil, options: nil, &block)
902
+ command = make_simple_command(:get, 'v2/{+name}', options)
903
+ command.response_representation = Google::Apis::BaremetalsolutionV2::OsImage::Representation
904
+ command.response_class = Google::Apis::BaremetalsolutionV2::OsImage
905
+ command.params['name'] = name unless name.nil?
906
+ command.query['fields'] = fields unless fields.nil?
907
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
908
+ execute_or_queue_command(command, &block)
909
+ end
910
+
881
911
  # Retrieves the list of OS images which are currently approved.
882
912
  # @param [String] parent
883
- # Required. Parent value for ListProvisioningQuotasRequest.
913
+ # Required. Parent value for ListOSImagesRequest.
884
914
  # @param [Fixnum] page_size
885
915
  # Requested page size. The server might return fewer items than requested. If
886
916
  # unspecified, server will pick an appropriate default. Notice that page_size
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.38.0
4
+ version: 0.40.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-08-27 00:00:00.000000000 Z
11
+ date: 2023-10-01 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.38.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-baremetalsolution_v2/v0.40.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: []