google-apis-compute_v1 0.123.0 → 0.124.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a19dfe86aca145b64da1acdb79bb55cd5e73da10c71007304c85d14329e7b1c8
|
4
|
+
data.tar.gz: a455cf7d31d28d15d0eca45349a4ebddbc2e450b47b5e47e0bca5c2ad8928ead
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 353708673c1ebc41fef848123042c28d83905e0f2a8466409168321f97f25fefac1421a8d0bcb6ea77210bc8f7b1cb5b5af3f7a389ab187b268360a784aac967
|
7
|
+
data.tar.gz: fd104125a149b96e706dfd25076f6a896c3927fcb1648e43d11d16a5c17299f655f4c44c9da6abd25a0adc4c89951dc2783271b00b85c41d24b91ca4c02b17d6
|
data/CHANGELOG.md
CHANGED
@@ -36412,6 +36412,11 @@ module Google
|
|
36412
36412
|
# @return [String]
|
36413
36413
|
attr_accessor :cluster
|
36414
36414
|
|
36415
|
+
# The detailed instances information for a given Block
|
36416
|
+
# Corresponds to the JSON property `instances`
|
36417
|
+
# @return [Array<Google::Apis::ComputeV1::ReservationBlockPhysicalTopologyInstance>]
|
36418
|
+
attr_accessor :instances
|
36419
|
+
|
36415
36420
|
def initialize(**args)
|
36416
36421
|
update!(**args)
|
36417
36422
|
end
|
@@ -36420,6 +36425,63 @@ module Google
|
|
36420
36425
|
def update!(**args)
|
36421
36426
|
@block = args[:block] if args.key?(:block)
|
36422
36427
|
@cluster = args[:cluster] if args.key?(:cluster)
|
36428
|
+
@instances = args[:instances] if args.key?(:instances)
|
36429
|
+
end
|
36430
|
+
end
|
36431
|
+
|
36432
|
+
# The instances information for a given Block
|
36433
|
+
class ReservationBlockPhysicalTopologyInstance
|
36434
|
+
include Google::Apis::Core::Hashable
|
36435
|
+
|
36436
|
+
# The InstanceId of the instance
|
36437
|
+
# Corresponds to the JSON property `instanceId`
|
36438
|
+
# @return [Fixnum]
|
36439
|
+
attr_accessor :instance_id
|
36440
|
+
|
36441
|
+
# The PhysicalHostTopology of the instance within a Block resource.
|
36442
|
+
# Corresponds to the JSON property `physicalHostTopology`
|
36443
|
+
# @return [Google::Apis::ComputeV1::ReservationBlockPhysicalTopologyInstancePhysicalHostTopology]
|
36444
|
+
attr_accessor :physical_host_topology
|
36445
|
+
|
36446
|
+
# Project where the instance lives
|
36447
|
+
# Corresponds to the JSON property `projectId`
|
36448
|
+
# @return [Fixnum]
|
36449
|
+
attr_accessor :project_id
|
36450
|
+
|
36451
|
+
def initialize(**args)
|
36452
|
+
update!(**args)
|
36453
|
+
end
|
36454
|
+
|
36455
|
+
# Update properties of this object
|
36456
|
+
def update!(**args)
|
36457
|
+
@instance_id = args[:instance_id] if args.key?(:instance_id)
|
36458
|
+
@physical_host_topology = args[:physical_host_topology] if args.key?(:physical_host_topology)
|
36459
|
+
@project_id = args[:project_id] if args.key?(:project_id)
|
36460
|
+
end
|
36461
|
+
end
|
36462
|
+
|
36463
|
+
# The PhysicalHostTopology of the instance within a Block resource.
|
36464
|
+
class ReservationBlockPhysicalTopologyInstancePhysicalHostTopology
|
36465
|
+
include Google::Apis::Core::Hashable
|
36466
|
+
|
36467
|
+
# Host hash for a given instance
|
36468
|
+
# Corresponds to the JSON property `host`
|
36469
|
+
# @return [String]
|
36470
|
+
attr_accessor :host
|
36471
|
+
|
36472
|
+
# Sub block hash for a given instance
|
36473
|
+
# Corresponds to the JSON property `subBlock`
|
36474
|
+
# @return [String]
|
36475
|
+
attr_accessor :sub_block
|
36476
|
+
|
36477
|
+
def initialize(**args)
|
36478
|
+
update!(**args)
|
36479
|
+
end
|
36480
|
+
|
36481
|
+
# Update properties of this object
|
36482
|
+
def update!(**args)
|
36483
|
+
@host = args[:host] if args.key?(:host)
|
36484
|
+
@sub_block = args[:sub_block] if args.key?(:sub_block)
|
36423
36485
|
end
|
36424
36486
|
end
|
36425
36487
|
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module ComputeV1
|
18
18
|
# Version of the google-apis-compute_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.124.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 = "
|
25
|
+
REVISION = "20250708"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -4720,6 +4720,18 @@ module Google
|
|
4720
4720
|
include Google::Apis::Core::JsonObjectSupport
|
4721
4721
|
end
|
4722
4722
|
|
4723
|
+
class ReservationBlockPhysicalTopologyInstance
|
4724
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
4725
|
+
|
4726
|
+
include Google::Apis::Core::JsonObjectSupport
|
4727
|
+
end
|
4728
|
+
|
4729
|
+
class ReservationBlockPhysicalTopologyInstancePhysicalHostTopology
|
4730
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
4731
|
+
|
4732
|
+
include Google::Apis::Core::JsonObjectSupport
|
4733
|
+
end
|
4734
|
+
|
4723
4735
|
class ReservationBlocksGetResponse
|
4724
4736
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
4725
4737
|
|
@@ -16007,6 +16019,26 @@ module Google
|
|
16007
16019
|
class Representation < Google::Apis::Core::JsonRepresentation
|
16008
16020
|
property :block, as: 'block'
|
16009
16021
|
property :cluster, as: 'cluster'
|
16022
|
+
collection :instances, as: 'instances', class: Google::Apis::ComputeV1::ReservationBlockPhysicalTopologyInstance, decorator: Google::Apis::ComputeV1::ReservationBlockPhysicalTopologyInstance::Representation
|
16023
|
+
|
16024
|
+
end
|
16025
|
+
end
|
16026
|
+
|
16027
|
+
class ReservationBlockPhysicalTopologyInstance
|
16028
|
+
# @private
|
16029
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
16030
|
+
property :instance_id, :numeric_string => true, as: 'instanceId'
|
16031
|
+
property :physical_host_topology, as: 'physicalHostTopology', class: Google::Apis::ComputeV1::ReservationBlockPhysicalTopologyInstancePhysicalHostTopology, decorator: Google::Apis::ComputeV1::ReservationBlockPhysicalTopologyInstancePhysicalHostTopology::Representation
|
16032
|
+
|
16033
|
+
property :project_id, :numeric_string => true, as: 'projectId'
|
16034
|
+
end
|
16035
|
+
end
|
16036
|
+
|
16037
|
+
class ReservationBlockPhysicalTopologyInstancePhysicalHostTopology
|
16038
|
+
# @private
|
16039
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
16040
|
+
property :host, as: 'host'
|
16041
|
+
property :sub_block, as: 'subBlock'
|
16010
16042
|
end
|
16011
16043
|
end
|
16012
16044
|
|
@@ -35734,6 +35734,8 @@ module Google
|
|
35734
35734
|
# @param [String] reservation_block
|
35735
35735
|
# The name of the reservation block. Name should conform to RFC1035 or be a
|
35736
35736
|
# resource ID.
|
35737
|
+
# @param [String] view
|
35738
|
+
# View of the Block.
|
35737
35739
|
# @param [String] fields
|
35738
35740
|
# Selector specifying which fields to include in a partial response.
|
35739
35741
|
# @param [String] quota_user
|
@@ -35753,7 +35755,7 @@ module Google
|
|
35753
35755
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
35754
35756
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
35755
35757
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
35756
|
-
def get_reservation_block(project, zone, reservation, reservation_block, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
35758
|
+
def get_reservation_block(project, zone, reservation, reservation_block, view: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
35757
35759
|
command = make_simple_command(:get, 'projects/{project}/zones/{zone}/reservations/{reservation}/reservationBlocks/{reservationBlock}', options)
|
35758
35760
|
command.response_representation = Google::Apis::ComputeV1::ReservationBlocksGetResponse::Representation
|
35759
35761
|
command.response_class = Google::Apis::ComputeV1::ReservationBlocksGetResponse
|
@@ -35761,6 +35763,7 @@ module Google
|
|
35761
35763
|
command.params['zone'] = zone unless zone.nil?
|
35762
35764
|
command.params['reservation'] = reservation unless reservation.nil?
|
35763
35765
|
command.params['reservationBlock'] = reservation_block unless reservation_block.nil?
|
35766
|
+
command.query['view'] = view unless view.nil?
|
35764
35767
|
command.query['fields'] = fields unless fields.nil?
|
35765
35768
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
35766
35769
|
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_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.124.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_v1/CHANGELOG.md
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-compute_v1/v0.
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-compute_v1/v0.124.0
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-compute_v1
|
62
62
|
rdoc_options: []
|
63
63
|
require_paths:
|