google-apis-compute_alpha 0.115.0 → 0.116.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3ed127bfcf65195b3d97c704a812218ce2bf8f7bb8757b8cd8548655f971dd4a
4
- data.tar.gz: 2f6b2ae9c0a2877fbe94354c7a57c052f69764fabe29d903c7aa58b7bab49ef7
3
+ metadata.gz: d23e6d563ac14de74a2f134b78d6ca9aaff81caccea66e209d4e72a8d33c3784
4
+ data.tar.gz: 12ff484b79b71916cdfc82530e3ad3dcfdb02ad44e39379f8b557664b9a5d6b6
5
5
  SHA512:
6
- metadata.gz: 6cec5c1c77ac3e83071bed827de428ee1a09bd8878838437d5247b4f4d332d175ead67664ba06e088fa54720cf9bb191095bf66ef5511a614c663dee6e342be3
7
- data.tar.gz: 8c08e82b4d2222e49644376b8ed14d8fb221168909f71f3fe15e73f4c4acd5756f7fd27488a1df37583e338fc6be60c68f93e94bebfac9aa34deabdd378b2687
6
+ metadata.gz: 711680cc83f5441469a0b012f404c05b2d65e8ed13ea95f725633fbc9cac6b94a0e438bb595d6c1a019c933993036743cb0d1a2ef02ee6948cd35eec41e47300
7
+ data.tar.gz: 03bb2427f0bee82f2541864c0db0088ea145947e1e9788c026007d1dadcd5f34a7a2c6275a62a9c83b6bb0e106ba79436ce64559608e587430a959a2ee2e78e1
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-compute_alpha
2
2
 
3
+ ### v0.116.0 (2025-07-13)
4
+
5
+ * Regenerated from discovery document revision 20250708
6
+
3
7
  ### v0.115.0 (2025-06-08)
4
8
 
5
9
  * Regenerated from discovery document revision 20250601
@@ -47836,6 +47836,11 @@ module Google
47836
47836
  # @return [String]
47837
47837
  attr_accessor :cluster
47838
47838
 
47839
+ # The detailed instances information for a given Block
47840
+ # Corresponds to the JSON property `instances`
47841
+ # @return [Array<Google::Apis::ComputeAlpha::ReservationBlockPhysicalTopologyInstance>]
47842
+ attr_accessor :instances
47843
+
47839
47844
  def initialize(**args)
47840
47845
  update!(**args)
47841
47846
  end
@@ -47844,6 +47849,63 @@ module Google
47844
47849
  def update!(**args)
47845
47850
  @block = args[:block] if args.key?(:block)
47846
47851
  @cluster = args[:cluster] if args.key?(:cluster)
47852
+ @instances = args[:instances] if args.key?(:instances)
47853
+ end
47854
+ end
47855
+
47856
+ # The instances information for a given Block
47857
+ class ReservationBlockPhysicalTopologyInstance
47858
+ include Google::Apis::Core::Hashable
47859
+
47860
+ # The InstanceId of the instance
47861
+ # Corresponds to the JSON property `instanceId`
47862
+ # @return [Fixnum]
47863
+ attr_accessor :instance_id
47864
+
47865
+ # The PhysicalHostTopology of the instance within a Block resource.
47866
+ # Corresponds to the JSON property `physicalHostTopology`
47867
+ # @return [Google::Apis::ComputeAlpha::ReservationBlockPhysicalTopologyInstancePhysicalHostTopology]
47868
+ attr_accessor :physical_host_topology
47869
+
47870
+ # Project where the instance lives
47871
+ # Corresponds to the JSON property `projectId`
47872
+ # @return [Fixnum]
47873
+ attr_accessor :project_id
47874
+
47875
+ def initialize(**args)
47876
+ update!(**args)
47877
+ end
47878
+
47879
+ # Update properties of this object
47880
+ def update!(**args)
47881
+ @instance_id = args[:instance_id] if args.key?(:instance_id)
47882
+ @physical_host_topology = args[:physical_host_topology] if args.key?(:physical_host_topology)
47883
+ @project_id = args[:project_id] if args.key?(:project_id)
47884
+ end
47885
+ end
47886
+
47887
+ # The PhysicalHostTopology of the instance within a Block resource.
47888
+ class ReservationBlockPhysicalTopologyInstancePhysicalHostTopology
47889
+ include Google::Apis::Core::Hashable
47890
+
47891
+ # Host hash for a given instance
47892
+ # Corresponds to the JSON property `host`
47893
+ # @return [String]
47894
+ attr_accessor :host
47895
+
47896
+ # Sub block hash for a given instance
47897
+ # Corresponds to the JSON property `subBlock`
47898
+ # @return [String]
47899
+ attr_accessor :sub_block
47900
+
47901
+ def initialize(**args)
47902
+ update!(**args)
47903
+ end
47904
+
47905
+ # Update properties of this object
47906
+ def update!(**args)
47907
+ @host = args[:host] if args.key?(:host)
47908
+ @sub_block = args[:sub_block] if args.key?(:sub_block)
47847
47909
  end
47848
47910
  end
47849
47911
 
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module ComputeAlpha
18
18
  # Version of the google-apis-compute_alpha gem
19
- GEM_VERSION = "0.115.0"
19
+ GEM_VERSION = "0.116.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.18.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20250601"
25
+ REVISION = "20250708"
26
26
  end
27
27
  end
28
28
  end
@@ -6238,6 +6238,18 @@ module Google
6238
6238
  include Google::Apis::Core::JsonObjectSupport
6239
6239
  end
6240
6240
 
6241
+ class ReservationBlockPhysicalTopologyInstance
6242
+ class Representation < Google::Apis::Core::JsonRepresentation; end
6243
+
6244
+ include Google::Apis::Core::JsonObjectSupport
6245
+ end
6246
+
6247
+ class ReservationBlockPhysicalTopologyInstancePhysicalHostTopology
6248
+ class Representation < Google::Apis::Core::JsonRepresentation; end
6249
+
6250
+ include Google::Apis::Core::JsonObjectSupport
6251
+ end
6252
+
6241
6253
  class ReservationBlocksGetResponse
6242
6254
  class Representation < Google::Apis::Core::JsonRepresentation; end
6243
6255
 
@@ -20925,6 +20937,26 @@ module Google
20925
20937
  class Representation < Google::Apis::Core::JsonRepresentation
20926
20938
  property :block, as: 'block'
20927
20939
  property :cluster, as: 'cluster'
20940
+ collection :instances, as: 'instances', class: Google::Apis::ComputeAlpha::ReservationBlockPhysicalTopologyInstance, decorator: Google::Apis::ComputeAlpha::ReservationBlockPhysicalTopologyInstance::Representation
20941
+
20942
+ end
20943
+ end
20944
+
20945
+ class ReservationBlockPhysicalTopologyInstance
20946
+ # @private
20947
+ class Representation < Google::Apis::Core::JsonRepresentation
20948
+ property :instance_id, :numeric_string => true, as: 'instanceId'
20949
+ property :physical_host_topology, as: 'physicalHostTopology', class: Google::Apis::ComputeAlpha::ReservationBlockPhysicalTopologyInstancePhysicalHostTopology, decorator: Google::Apis::ComputeAlpha::ReservationBlockPhysicalTopologyInstancePhysicalHostTopology::Representation
20950
+
20951
+ property :project_id, :numeric_string => true, as: 'projectId'
20952
+ end
20953
+ end
20954
+
20955
+ class ReservationBlockPhysicalTopologyInstancePhysicalHostTopology
20956
+ # @private
20957
+ class Representation < Google::Apis::Core::JsonRepresentation
20958
+ property :host, as: 'host'
20959
+ property :sub_block, as: 'subBlock'
20928
20960
  end
20929
20961
  end
20930
20962
 
@@ -45521,6 +45521,8 @@ module Google
45521
45521
  # @param [String] reservation_block
45522
45522
  # The name of the reservation block. Name should conform to RFC1035 or be a
45523
45523
  # resource ID.
45524
+ # @param [String] view
45525
+ # View of the Block.
45524
45526
  # @param [String] fields
45525
45527
  # Selector specifying which fields to include in a partial response.
45526
45528
  # @param [String] quota_user
@@ -45540,7 +45542,7 @@ module Google
45540
45542
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
45541
45543
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
45542
45544
  # @raise [Google::Apis::AuthorizationError] Authorization is required
45543
- def get_reservation_block(project, zone, reservation, reservation_block, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
45545
+ def get_reservation_block(project, zone, reservation, reservation_block, view: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
45544
45546
  command = make_simple_command(:get, 'projects/{project}/zones/{zone}/reservations/{reservation}/reservationBlocks/{reservationBlock}', options)
45545
45547
  command.response_representation = Google::Apis::ComputeAlpha::ReservationBlocksGetResponse::Representation
45546
45548
  command.response_class = Google::Apis::ComputeAlpha::ReservationBlocksGetResponse
@@ -45548,6 +45550,7 @@ module Google
45548
45550
  command.params['zone'] = zone unless zone.nil?
45549
45551
  command.params['reservation'] = reservation unless reservation.nil?
45550
45552
  command.params['reservationBlock'] = reservation_block unless reservation_block.nil?
45553
+ command.query['view'] = view unless view.nil?
45551
45554
  command.query['fields'] = fields unless fields.nil?
45552
45555
  command.query['quotaUser'] = quota_user unless quota_user.nil?
45553
45556
  command.query['userIp'] = user_ip unless user_ip.nil?
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-compute_alpha
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.115.0
4
+ version: 0.116.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -57,7 +57,7 @@ licenses:
57
57
  metadata:
58
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
59
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-compute_alpha/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-compute_alpha/v0.115.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-compute_alpha/v0.116.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-compute_alpha
62
62
  rdoc_options: []
63
63
  require_paths: