google-apis-compute_beta 0.140.0 → 0.141.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: 72fac698e1edc201787d80821228d865a2825dd78dcadaeaeb08c47a44a4b06a
|
|
4
|
+
data.tar.gz: 1d2ef6ec42f67c291f08628c9aff1bc02a8104b90248635eacb92d67a004edd8
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 479b5bf1ab056765b72a5a93f6803bce12a37bdafb83d1a5803a71dcf73f23176c781fc0a0320c8e6a8a9e278ca57448495ccdd685f8a542213bf597ee680dcc
|
|
7
|
+
data.tar.gz: be9f811c6fa531aec0823a9963f6ab83451bf2980f3afaa98d1078240a800744a6529eea45b3bb9d6992eaf1b083ea4ee3455f0d74ce7f2b6671c5241e3d3844
|
data/CHANGELOG.md
CHANGED
|
@@ -22971,6 +22971,27 @@ module Google
|
|
|
22971
22971
|
end
|
|
22972
22972
|
end
|
|
22973
22973
|
|
|
22974
|
+
# Represents a read-only view of a global Image resource.
|
|
22975
|
+
class ImageView
|
|
22976
|
+
include Google::Apis::Core::Hashable
|
|
22977
|
+
|
|
22978
|
+
# Represents an Image resource.
|
|
22979
|
+
# You can use images to create boot disks for your VM instances.
|
|
22980
|
+
# For more information, read Images.
|
|
22981
|
+
# Corresponds to the JSON property `image`
|
|
22982
|
+
# @return [Google::Apis::ComputeBeta::Image]
|
|
22983
|
+
attr_accessor :image
|
|
22984
|
+
|
|
22985
|
+
def initialize(**args)
|
|
22986
|
+
update!(**args)
|
|
22987
|
+
end
|
|
22988
|
+
|
|
22989
|
+
# Update properties of this object
|
|
22990
|
+
def update!(**args)
|
|
22991
|
+
@image = args[:image] if args.key?(:image)
|
|
22992
|
+
end
|
|
22993
|
+
end
|
|
22994
|
+
|
|
22974
22995
|
# Initial State for shielded instance,
|
|
22975
22996
|
# these are public keys which are safe to store in public
|
|
22976
22997
|
class InitialStateConfig
|
|
@@ -24823,13 +24844,14 @@ module Google
|
|
|
24823
24844
|
include Google::Apis::Core::Hashable
|
|
24824
24845
|
|
|
24825
24846
|
# The action that a MIG performs on a failed VM. If the value of the
|
|
24826
|
-
# onFailedHealthCheck field
|
|
24827
|
-
#
|
|
24828
|
-
#
|
|
24829
|
-
#
|
|
24830
|
-
# repairs a failed
|
|
24831
|
-
#
|
|
24832
|
-
# VMs in a MIG.
|
|
24847
|
+
# onFailedHealthCheck field is `DEFAULT_ACTION`, then the same action also
|
|
24848
|
+
# applies to the VMs on which your application fails a health check.
|
|
24849
|
+
# Valid values are
|
|
24850
|
+
#
|
|
24851
|
+
# - REPAIR (default): MIG automatically repairs a failed VM
|
|
24852
|
+
# by recreating it. For more information, see About
|
|
24853
|
+
# repairing VMs in a MIG.
|
|
24854
|
+
# - DO_NOTHING: MIG does not repair a failed VM.
|
|
24833
24855
|
# Corresponds to the JSON property `defaultActionOnFailure`
|
|
24834
24856
|
# @return [String]
|
|
24835
24857
|
attr_accessor :default_action_on_failure
|
|
@@ -52124,6 +52146,11 @@ module Google
|
|
|
52124
52146
|
class ReservationBlock
|
|
52125
52147
|
include Google::Apis::Core::Hashable
|
|
52126
52148
|
|
|
52149
|
+
# Health information for the reservation block.
|
|
52150
|
+
# Corresponds to the JSON property `blockHealthInfo`
|
|
52151
|
+
# @return [Google::Apis::ComputeBeta::ReservationBlockHealthInfo]
|
|
52152
|
+
attr_accessor :block_health_info
|
|
52153
|
+
|
|
52127
52154
|
# Output only. [Output Only] The number of resources that are allocated in this
|
|
52128
52155
|
# reservation block.
|
|
52129
52156
|
# Corresponds to the JSON property `count`
|
|
@@ -52135,11 +52162,6 @@ module Google
|
|
|
52135
52162
|
# @return [String]
|
|
52136
52163
|
attr_accessor :creation_timestamp
|
|
52137
52164
|
|
|
52138
|
-
# Health information for the reservation block.
|
|
52139
|
-
# Corresponds to the JSON property `healthInfo`
|
|
52140
|
-
# @return [Google::Apis::ComputeBeta::ReservationBlockHealthInfo]
|
|
52141
|
-
attr_accessor :health_info
|
|
52142
|
-
|
|
52143
52165
|
# Output only. [Output Only] The unique identifier for the resource. This
|
|
52144
52166
|
# identifier is
|
|
52145
52167
|
# defined by the server.
|
|
@@ -52228,9 +52250,9 @@ module Google
|
|
|
52228
52250
|
|
|
52229
52251
|
# Update properties of this object
|
|
52230
52252
|
def update!(**args)
|
|
52253
|
+
@block_health_info = args[:block_health_info] if args.key?(:block_health_info)
|
|
52231
52254
|
@count = args[:count] if args.key?(:count)
|
|
52232
52255
|
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
|
|
52233
|
-
@health_info = args[:health_info] if args.key?(:health_info)
|
|
52234
52256
|
@id = args[:id] if args.key?(:id)
|
|
52235
52257
|
@in_use_count = args[:in_use_count] if args.key?(:in_use_count)
|
|
52236
52258
|
@in_use_host_count = args[:in_use_host_count] if args.key?(:in_use_host_count)
|
|
@@ -52996,11 +53018,6 @@ module Google
|
|
|
52996
53018
|
# @return [String]
|
|
52997
53019
|
attr_accessor :creation_timestamp
|
|
52998
53020
|
|
|
52999
|
-
# Health information for the reservation subBlock.
|
|
53000
|
-
# Corresponds to the JSON property `healthInfo`
|
|
53001
|
-
# @return [Google::Apis::ComputeBeta::ReservationSubBlockHealthInfo]
|
|
53002
|
-
attr_accessor :health_info
|
|
53003
|
-
|
|
53004
53021
|
# Output only. [Output Only] The unique identifier for the resource. This
|
|
53005
53022
|
# identifier is
|
|
53006
53023
|
# defined by the server.
|
|
@@ -53063,6 +53080,11 @@ module Google
|
|
|
53063
53080
|
# @return [String]
|
|
53064
53081
|
attr_accessor :status
|
|
53065
53082
|
|
|
53083
|
+
# Health information for the reservation subBlock.
|
|
53084
|
+
# Corresponds to the JSON property `subBlockHealthInfo`
|
|
53085
|
+
# @return [Google::Apis::ComputeBeta::ReservationSubBlockHealthInfo]
|
|
53086
|
+
attr_accessor :sub_block_health_info
|
|
53087
|
+
|
|
53066
53088
|
# Output only. [Output Only] Zone in which the reservation subBlock resides.
|
|
53067
53089
|
# Corresponds to the JSON property `zone`
|
|
53068
53090
|
# @return [String]
|
|
@@ -53077,7 +53099,6 @@ module Google
|
|
|
53077
53099
|
@accelerator_topologies_info = args[:accelerator_topologies_info] if args.key?(:accelerator_topologies_info)
|
|
53078
53100
|
@count = args[:count] if args.key?(:count)
|
|
53079
53101
|
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
|
|
53080
|
-
@health_info = args[:health_info] if args.key?(:health_info)
|
|
53081
53102
|
@id = args[:id] if args.key?(:id)
|
|
53082
53103
|
@in_use_count = args[:in_use_count] if args.key?(:in_use_count)
|
|
53083
53104
|
@in_use_host_count = args[:in_use_host_count] if args.key?(:in_use_host_count)
|
|
@@ -53088,6 +53109,7 @@ module Google
|
|
|
53088
53109
|
@self_link = args[:self_link] if args.key?(:self_link)
|
|
53089
53110
|
@self_link_with_id = args[:self_link_with_id] if args.key?(:self_link_with_id)
|
|
53090
53111
|
@status = args[:status] if args.key?(:status)
|
|
53112
|
+
@sub_block_health_info = args[:sub_block_health_info] if args.key?(:sub_block_health_info)
|
|
53091
53113
|
@zone = args[:zone] if args.key?(:zone)
|
|
53092
53114
|
end
|
|
53093
53115
|
end
|
|
@@ -57421,8 +57443,9 @@ module Google
|
|
|
57421
57443
|
|
|
57422
57444
|
# Output only. Effective timeout (in seconds) for TCP connections that are in
|
|
57423
57445
|
# TIME_WAIT
|
|
57424
|
-
# state. This value is equal to tcp_time_wait_timeout_sec
|
|
57425
|
-
#
|
|
57446
|
+
# state. This value is equal to tcp_time_wait_timeout_sec.
|
|
57447
|
+
# If tcp_time_wait_timeout_sec isn't set, the effective timeout is 30s or
|
|
57448
|
+
# 120s. The field is output only.
|
|
57426
57449
|
# Corresponds to the JSON property `effectiveTcpTimeWaitTimeoutSec`
|
|
57427
57450
|
# @return [Fixnum]
|
|
57428
57451
|
attr_accessor :effective_tcp_time_wait_timeout_sec
|
|
@@ -61598,6 +61621,12 @@ module Google
|
|
|
61598
61621
|
# @return [String]
|
|
61599
61622
|
attr_accessor :name
|
|
61600
61623
|
|
|
61624
|
+
# The number of NAT IP addresses to be allocated per connected endpoint.
|
|
61625
|
+
# If not specified, the default value is 1.
|
|
61626
|
+
# Corresponds to the JSON property `natIpsPerEndpoint`
|
|
61627
|
+
# @return [Fixnum]
|
|
61628
|
+
attr_accessor :nat_ips_per_endpoint
|
|
61629
|
+
|
|
61601
61630
|
# An array of URLs where each entry is the URL of a subnet provided
|
|
61602
61631
|
# by the service producer to use for NAT in this service attachment.
|
|
61603
61632
|
# Corresponds to the JSON property `natSubnets`
|
|
@@ -61695,6 +61724,7 @@ module Google
|
|
|
61695
61724
|
@kind = args[:kind] if args.key?(:kind)
|
|
61696
61725
|
@metadata = args[:metadata] if args.key?(:metadata)
|
|
61697
61726
|
@name = args[:name] if args.key?(:name)
|
|
61727
|
+
@nat_ips_per_endpoint = args[:nat_ips_per_endpoint] if args.key?(:nat_ips_per_endpoint)
|
|
61698
61728
|
@nat_subnets = args[:nat_subnets] if args.key?(:nat_subnets)
|
|
61699
61729
|
@producer_forwarding_rule = args[:producer_forwarding_rule] if args.key?(:producer_forwarding_rule)
|
|
61700
61730
|
@propagated_connection_limit = args[:propagated_connection_limit] if args.key?(:propagated_connection_limit)
|
|
@@ -16,13 +16,13 @@ module Google
|
|
|
16
16
|
module Apis
|
|
17
17
|
module ComputeBeta
|
|
18
18
|
# Version of the google-apis-compute_beta gem
|
|
19
|
-
GEM_VERSION = "0.
|
|
19
|
+
GEM_VERSION = "0.141.0"
|
|
20
20
|
|
|
21
21
|
# Version of the code generator used to generate this client
|
|
22
22
|
GENERATOR_VERSION = "0.19.0"
|
|
23
23
|
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
|
25
|
-
REVISION = "
|
|
25
|
+
REVISION = "20260612"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -2662,6 +2662,12 @@ module Google
|
|
|
2662
2662
|
include Google::Apis::Core::JsonObjectSupport
|
|
2663
2663
|
end
|
|
2664
2664
|
|
|
2665
|
+
class ImageView
|
|
2666
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
2667
|
+
|
|
2668
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
2669
|
+
end
|
|
2670
|
+
|
|
2665
2671
|
class InitialStateConfig
|
|
2666
2672
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
2667
2673
|
|
|
@@ -14604,6 +14610,14 @@ module Google
|
|
|
14604
14610
|
end
|
|
14605
14611
|
end
|
|
14606
14612
|
|
|
14613
|
+
class ImageView
|
|
14614
|
+
# @private
|
|
14615
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
14616
|
+
property :image, as: 'image', class: Google::Apis::ComputeBeta::Image, decorator: Google::Apis::ComputeBeta::Image::Representation
|
|
14617
|
+
|
|
14618
|
+
end
|
|
14619
|
+
end
|
|
14620
|
+
|
|
14607
14621
|
class InitialStateConfig
|
|
14608
14622
|
# @private
|
|
14609
14623
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -21644,10 +21658,10 @@ module Google
|
|
|
21644
21658
|
class ReservationBlock
|
|
21645
21659
|
# @private
|
|
21646
21660
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
21661
|
+
property :block_health_info, as: 'blockHealthInfo', class: Google::Apis::ComputeBeta::ReservationBlockHealthInfo, decorator: Google::Apis::ComputeBeta::ReservationBlockHealthInfo::Representation
|
|
21662
|
+
|
|
21647
21663
|
property :count, as: 'count'
|
|
21648
21664
|
property :creation_timestamp, as: 'creationTimestamp'
|
|
21649
|
-
property :health_info, as: 'healthInfo', class: Google::Apis::ComputeBeta::ReservationBlockHealthInfo, decorator: Google::Apis::ComputeBeta::ReservationBlockHealthInfo::Representation
|
|
21650
|
-
|
|
21651
21665
|
property :id, :numeric_string => true, as: 'id'
|
|
21652
21666
|
property :in_use_count, as: 'inUseCount'
|
|
21653
21667
|
property :in_use_host_count, as: 'inUseHostCount'
|
|
@@ -21876,8 +21890,6 @@ module Google
|
|
|
21876
21890
|
|
|
21877
21891
|
property :count, as: 'count'
|
|
21878
21892
|
property :creation_timestamp, as: 'creationTimestamp'
|
|
21879
|
-
property :health_info, as: 'healthInfo', class: Google::Apis::ComputeBeta::ReservationSubBlockHealthInfo, decorator: Google::Apis::ComputeBeta::ReservationSubBlockHealthInfo::Representation
|
|
21880
|
-
|
|
21881
21893
|
property :id, :numeric_string => true, as: 'id'
|
|
21882
21894
|
property :in_use_count, as: 'inUseCount'
|
|
21883
21895
|
property :in_use_host_count, as: 'inUseHostCount'
|
|
@@ -21890,6 +21902,8 @@ module Google
|
|
|
21890
21902
|
property :self_link, as: 'selfLink'
|
|
21891
21903
|
property :self_link_with_id, as: 'selfLinkWithId'
|
|
21892
21904
|
property :status, as: 'status'
|
|
21905
|
+
property :sub_block_health_info, as: 'subBlockHealthInfo', class: Google::Apis::ComputeBeta::ReservationSubBlockHealthInfo, decorator: Google::Apis::ComputeBeta::ReservationSubBlockHealthInfo::Representation
|
|
21906
|
+
|
|
21893
21907
|
property :zone, as: 'zone'
|
|
21894
21908
|
end
|
|
21895
21909
|
end
|
|
@@ -23891,6 +23905,7 @@ module Google
|
|
|
23891
23905
|
property :kind, as: 'kind'
|
|
23892
23906
|
hash :metadata, as: 'metadata'
|
|
23893
23907
|
property :name, as: 'name'
|
|
23908
|
+
property :nat_ips_per_endpoint, as: 'natIpsPerEndpoint'
|
|
23894
23909
|
collection :nat_subnets, as: 'natSubnets'
|
|
23895
23910
|
property :producer_forwarding_rule, as: 'producerForwardingRule'
|
|
23896
23911
|
property :propagated_connection_limit, as: 'propagatedConnectionLimit'
|
|
@@ -12444,6 +12444,46 @@ module Google
|
|
|
12444
12444
|
execute_or_queue_command(command, &block)
|
|
12445
12445
|
end
|
|
12446
12446
|
|
|
12447
|
+
# Returns the specified global ImageView resource, with a regional
|
|
12448
|
+
# context.
|
|
12449
|
+
# @param [String] project
|
|
12450
|
+
# Required. Project ID for this request.
|
|
12451
|
+
# @param [String] region
|
|
12452
|
+
# Required. Name of the region for this request.
|
|
12453
|
+
# @param [String] resource_id
|
|
12454
|
+
# Name of the image resource to return.
|
|
12455
|
+
# @param [String] fields
|
|
12456
|
+
# Selector specifying which fields to include in a partial response.
|
|
12457
|
+
# @param [String] quota_user
|
|
12458
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
12459
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
12460
|
+
# @param [String] user_ip
|
|
12461
|
+
# Legacy name for parameter that has been superseded by `quotaUser`.
|
|
12462
|
+
# @param [Google::Apis::RequestOptions] options
|
|
12463
|
+
# Request-specific options
|
|
12464
|
+
#
|
|
12465
|
+
# @yield [result, err] Result & error if block supplied
|
|
12466
|
+
# @yieldparam result [Google::Apis::ComputeBeta::ImageView] parsed result object
|
|
12467
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
12468
|
+
#
|
|
12469
|
+
# @return [Google::Apis::ComputeBeta::ImageView]
|
|
12470
|
+
#
|
|
12471
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
12472
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
12473
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
12474
|
+
def get_image_view(project, region, resource_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
12475
|
+
command = make_simple_command(:get, 'projects/{project}/regions/{region}/imageViews/{resourceId}', options)
|
|
12476
|
+
command.response_representation = Google::Apis::ComputeBeta::ImageView::Representation
|
|
12477
|
+
command.response_class = Google::Apis::ComputeBeta::ImageView
|
|
12478
|
+
command.params['project'] = project unless project.nil?
|
|
12479
|
+
command.params['region'] = region unless region.nil?
|
|
12480
|
+
command.params['resourceId'] = resource_id unless resource_id.nil?
|
|
12481
|
+
command.query['fields'] = fields unless fields.nil?
|
|
12482
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
12483
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
12484
|
+
execute_or_queue_command(command, &block)
|
|
12485
|
+
end
|
|
12486
|
+
|
|
12447
12487
|
# Deletes the specified image.
|
|
12448
12488
|
# @param [String] project
|
|
12449
12489
|
# Project ID for this request.
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-apis-compute_beta
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.141.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_beta/CHANGELOG.md
|
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-compute_beta/v0.
|
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-compute_beta/v0.141.0
|
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-compute_beta
|
|
62
62
|
rdoc_options: []
|
|
63
63
|
require_paths:
|