google-apis-compute_alpha 0.84.0 → 0.85.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: edbbeb8c470b9c65286fcb91728833783fa2b31e2c30cd8d928d5a84c1dc0c3e
|
|
4
|
+
data.tar.gz: 94cb43c3949d976fcff6c81ea1c4e5debdd2e5139b18e80cb26422ad38e7f842
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 8d64735a1d5088ed9cceef8997293bf31837e1da1c7c9e4a8cb175e8e954c5226e5d4399c9742887cc911cddfd67aafd74dccbfabb2a9bfb83e9dbf0e25e99a5
|
|
7
|
+
data.tar.gz: 2ca8e3f08bbd776ba3a88b668ed0fe5a8a27960a16b366a95f843355897c5989e34889ee53ccbe720dbe5f1a41e90197478190bc9adbed5aa880749daf7b4567
|
data/CHANGELOG.md
CHANGED
|
@@ -10465,13 +10465,17 @@ module Google
|
|
|
10465
10465
|
# @return [String]
|
|
10466
10466
|
attr_accessor :ip_protocol
|
|
10467
10467
|
|
|
10468
|
-
#
|
|
10469
|
-
#
|
|
10470
|
-
#
|
|
10471
|
-
#
|
|
10472
|
-
#
|
|
10473
|
-
#
|
|
10474
|
-
#
|
|
10468
|
+
# The ports, portRange, and allPorts fields are mutually exclusive. Only packets
|
|
10469
|
+
# addressed to ports in the specified range will be forwarded to the backends
|
|
10470
|
+
# configured with this forwarding rule. The allPorts field has the following
|
|
10471
|
+
# limitations: - It requires that the forwarding rule IPProtocol be TCP, UDP,
|
|
10472
|
+
# SCTP, or L3_DEFAULT. - It's applicable only to the following products:
|
|
10473
|
+
# internal passthrough Network Load Balancers, backend service-based external
|
|
10474
|
+
# passthrough Network Load Balancers, and internal and external protocol
|
|
10475
|
+
# forwarding. - Set this field to true to allow packets addressed to any port or
|
|
10476
|
+
# packets lacking destination port information (for example, UDP fragments after
|
|
10477
|
+
# the first fragment) to be forwarded to the backends configured with this
|
|
10478
|
+
# forwarding rule. The L3_DEFAULT protocol requires allPorts be set to true.
|
|
10475
10479
|
# Corresponds to the JSON property `allPorts`
|
|
10476
10480
|
# @return [Boolean]
|
|
10477
10481
|
attr_accessor :all_ports
|
|
@@ -10669,35 +10673,38 @@ module Google
|
|
|
10669
10673
|
attr_accessor :no_automate_dns_zone
|
|
10670
10674
|
alias_method :no_automate_dns_zone?, :no_automate_dns_zone
|
|
10671
10675
|
|
|
10672
|
-
#
|
|
10673
|
-
#
|
|
10674
|
-
#
|
|
10675
|
-
#
|
|
10676
|
-
#
|
|
10677
|
-
#
|
|
10678
|
-
#
|
|
10679
|
-
#
|
|
10680
|
-
#
|
|
10681
|
-
#
|
|
10682
|
-
#
|
|
10683
|
-
#
|
|
10684
|
-
# portRanges. @pattern:
|
|
10676
|
+
# The ports, portRange, and allPorts fields are mutually exclusive. Only packets
|
|
10677
|
+
# addressed to ports in the specified range will be forwarded to the backends
|
|
10678
|
+
# configured with this forwarding rule. The portRange field has the following
|
|
10679
|
+
# limitations: - It requires that the forwarding rule IPProtocol be TCP, UDP, or
|
|
10680
|
+
# SCTP, and - It's applicable only to the following products: external
|
|
10681
|
+
# passthrough Network Load Balancers, internal and external proxy Network Load
|
|
10682
|
+
# Balancers, internal and external Application Load Balancers, external protocol
|
|
10683
|
+
# forwarding, and Classic VPN. - Some products have restrictions on what ports
|
|
10684
|
+
# can be used. See port specifications for details. For external forwarding
|
|
10685
|
+
# rules, two or more forwarding rules cannot use the same [IPAddress, IPProtocol]
|
|
10686
|
+
# pair, and cannot have overlapping portRanges. For internal forwarding rules
|
|
10687
|
+
# within the same VPC network, two or more forwarding rules cannot use the same [
|
|
10688
|
+
# IPAddress, IPProtocol] pair, and cannot have overlapping portRanges. @pattern:
|
|
10689
|
+
# \\d+(?:-\\d+)?
|
|
10685
10690
|
# Corresponds to the JSON property `portRange`
|
|
10686
10691
|
# @return [String]
|
|
10687
10692
|
attr_accessor :port_range
|
|
10688
10693
|
|
|
10689
|
-
#
|
|
10690
|
-
#
|
|
10691
|
-
#
|
|
10692
|
-
#
|
|
10693
|
-
#
|
|
10694
|
-
#
|
|
10695
|
-
#
|
|
10696
|
-
#
|
|
10697
|
-
#
|
|
10698
|
-
#
|
|
10699
|
-
#
|
|
10700
|
-
#
|
|
10694
|
+
# The ports, portRange, and allPorts fields are mutually exclusive. Only packets
|
|
10695
|
+
# addressed to ports in the specified range will be forwarded to the backends
|
|
10696
|
+
# configured with this forwarding rule. The ports field has the following
|
|
10697
|
+
# limitations: - It requires that the forwarding rule IPProtocol be TCP, UDP, or
|
|
10698
|
+
# SCTP, and - It's applicable only to the following products: internal
|
|
10699
|
+
# passthrough Network Load Balancers, backend service-based external passthrough
|
|
10700
|
+
# Network Load Balancers, and internal protocol forwarding. - You can specify a
|
|
10701
|
+
# list of up to five ports by number, separated by commas. The ports can be
|
|
10702
|
+
# contiguous or discontiguous. For external forwarding rules, two or more
|
|
10703
|
+
# forwarding rules cannot use the same [IPAddress, IPProtocol] pair if they
|
|
10704
|
+
# share at least one port number. For internal forwarding rules within the same
|
|
10705
|
+
# VPC network, two or more forwarding rules cannot use the same [IPAddress,
|
|
10706
|
+
# IPProtocol] pair if they share at least one port number. @pattern: \\d+(?:-\\d+
|
|
10707
|
+
# )?
|
|
10701
10708
|
# Corresponds to the JSON property `ports`
|
|
10702
10709
|
# @return [Array<String>]
|
|
10703
10710
|
attr_accessor :ports
|
|
@@ -33685,7 +33692,7 @@ module Google
|
|
|
33685
33692
|
attr_accessor :kind
|
|
33686
33693
|
|
|
33687
33694
|
# [Output Only] The Cloud Armor Managed Protection (CAMP) tier for this project.
|
|
33688
|
-
# It can be one of the following values: CA_STANDARD,
|
|
33695
|
+
# It can be one of the following values: CA_STANDARD, CAMP_PLUS_PAYGO. If this
|
|
33689
33696
|
# field is not specified, it is assumed to be CA_STANDARD.
|
|
33690
33697
|
# Corresponds to the JSON property `managedProtectionTier`
|
|
33691
33698
|
# @return [String]
|
|
@@ -39028,6 +39035,17 @@ module Google
|
|
|
39028
39035
|
# @return [Hash<String,Google::Apis::ComputeAlpha::ResourceStatusServiceIntegrationStatus>]
|
|
39029
39036
|
attr_accessor :service_integration_statuses
|
|
39030
39037
|
|
|
39038
|
+
# Specifies if the instance is in `SHUTTING_DOWN` state or there is a instance
|
|
39039
|
+
# stopping scheduled.
|
|
39040
|
+
# Corresponds to the JSON property `shutdownDetails`
|
|
39041
|
+
# @return [Google::Apis::ComputeAlpha::ResourceStatusShutdownDetails]
|
|
39042
|
+
attr_accessor :shutdown_details
|
|
39043
|
+
|
|
39044
|
+
# Upcoming Maintenance notification information.
|
|
39045
|
+
# Corresponds to the JSON property `upcomingMaintenance`
|
|
39046
|
+
# @return [Google::Apis::ComputeAlpha::UpcomingMaintenance]
|
|
39047
|
+
attr_accessor :upcoming_maintenance
|
|
39048
|
+
|
|
39031
39049
|
def initialize(**args)
|
|
39032
39050
|
update!(**args)
|
|
39033
39051
|
end
|
|
@@ -39038,6 +39056,8 @@ module Google
|
|
|
39038
39056
|
@physical_host = args[:physical_host] if args.key?(:physical_host)
|
|
39039
39057
|
@scheduling = args[:scheduling] if args.key?(:scheduling)
|
|
39040
39058
|
@service_integration_statuses = args[:service_integration_statuses] if args.key?(:service_integration_statuses)
|
|
39059
|
+
@shutdown_details = args[:shutdown_details] if args.key?(:shutdown_details)
|
|
39060
|
+
@upcoming_maintenance = args[:upcoming_maintenance] if args.key?(:upcoming_maintenance)
|
|
39041
39061
|
end
|
|
39042
39062
|
end
|
|
39043
39063
|
|
|
@@ -39140,6 +39160,48 @@ module Google
|
|
|
39140
39160
|
end
|
|
39141
39161
|
end
|
|
39142
39162
|
|
|
39163
|
+
# Specifies if the instance is in `SHUTTING_DOWN` state or there is a instance
|
|
39164
|
+
# stopping scheduled.
|
|
39165
|
+
class ResourceStatusShutdownDetails
|
|
39166
|
+
include Google::Apis::Core::Hashable
|
|
39167
|
+
|
|
39168
|
+
# A Duration represents a fixed-length span of time represented as a count of
|
|
39169
|
+
# seconds and fractions of seconds at nanosecond resolution. It is independent
|
|
39170
|
+
# of any calendar and concepts like "day" or "month". Range is approximately 10,
|
|
39171
|
+
# 000 years.
|
|
39172
|
+
# Corresponds to the JSON property `maxDuration`
|
|
39173
|
+
# @return [Google::Apis::ComputeAlpha::Duration]
|
|
39174
|
+
attr_accessor :max_duration
|
|
39175
|
+
|
|
39176
|
+
# Past timestamp indicating the beginning of current `stopState` in RFC3339 text
|
|
39177
|
+
# format.
|
|
39178
|
+
# Corresponds to the JSON property `requestTimestamp`
|
|
39179
|
+
# @return [String]
|
|
39180
|
+
attr_accessor :request_timestamp
|
|
39181
|
+
|
|
39182
|
+
# Current stopping state of the instance.
|
|
39183
|
+
# Corresponds to the JSON property `stopState`
|
|
39184
|
+
# @return [String]
|
|
39185
|
+
attr_accessor :stop_state
|
|
39186
|
+
|
|
39187
|
+
# Target instance state.
|
|
39188
|
+
# Corresponds to the JSON property `targetState`
|
|
39189
|
+
# @return [String]
|
|
39190
|
+
attr_accessor :target_state
|
|
39191
|
+
|
|
39192
|
+
def initialize(**args)
|
|
39193
|
+
update!(**args)
|
|
39194
|
+
end
|
|
39195
|
+
|
|
39196
|
+
# Update properties of this object
|
|
39197
|
+
def update!(**args)
|
|
39198
|
+
@max_duration = args[:max_duration] if args.key?(:max_duration)
|
|
39199
|
+
@request_timestamp = args[:request_timestamp] if args.key?(:request_timestamp)
|
|
39200
|
+
@stop_state = args[:stop_state] if args.key?(:stop_state)
|
|
39201
|
+
@target_state = args[:target_state] if args.key?(:target_state)
|
|
39202
|
+
end
|
|
39203
|
+
end
|
|
39204
|
+
|
|
39143
39205
|
# A rollout policy configuration.
|
|
39144
39206
|
class RolloutPolicy
|
|
39145
39207
|
include Google::Apis::Core::Hashable
|
|
@@ -42002,6 +42064,11 @@ module Google
|
|
|
42002
42064
|
# @return [Fixnum]
|
|
42003
42065
|
attr_accessor :current_memory_mb
|
|
42004
42066
|
|
|
42067
|
+
# Configuration for gracefully shutting down the instance.
|
|
42068
|
+
# Corresponds to the JSON property `gracefulShutdown`
|
|
42069
|
+
# @return [Google::Apis::ComputeAlpha::SchedulingGracefulShutdown]
|
|
42070
|
+
attr_accessor :graceful_shutdown
|
|
42071
|
+
|
|
42005
42072
|
# Specify the time in seconds for host error detection, the value must be within
|
|
42006
42073
|
# the range of [90, 330] with the increment of 30, if unset, the default
|
|
42007
42074
|
# behavior of host error recovery will be used.
|
|
@@ -42107,6 +42174,7 @@ module Google
|
|
|
42107
42174
|
@availability_domain = args[:availability_domain] if args.key?(:availability_domain)
|
|
42108
42175
|
@current_cpus = args[:current_cpus] if args.key?(:current_cpus)
|
|
42109
42176
|
@current_memory_mb = args[:current_memory_mb] if args.key?(:current_memory_mb)
|
|
42177
|
+
@graceful_shutdown = args[:graceful_shutdown] if args.key?(:graceful_shutdown)
|
|
42110
42178
|
@host_error_timeout_seconds = args[:host_error_timeout_seconds] if args.key?(:host_error_timeout_seconds)
|
|
42111
42179
|
@instance_termination_action = args[:instance_termination_action] if args.key?(:instance_termination_action)
|
|
42112
42180
|
@latency_tolerant = args[:latency_tolerant] if args.key?(:latency_tolerant)
|
|
@@ -42124,6 +42192,35 @@ module Google
|
|
|
42124
42192
|
end
|
|
42125
42193
|
end
|
|
42126
42194
|
|
|
42195
|
+
# Configuration for gracefully shutting down the instance.
|
|
42196
|
+
class SchedulingGracefulShutdown
|
|
42197
|
+
include Google::Apis::Core::Hashable
|
|
42198
|
+
|
|
42199
|
+
# Opts-in for graceful shutdown.
|
|
42200
|
+
# Corresponds to the JSON property `enabled`
|
|
42201
|
+
# @return [Boolean]
|
|
42202
|
+
attr_accessor :enabled
|
|
42203
|
+
alias_method :enabled?, :enabled
|
|
42204
|
+
|
|
42205
|
+
# A Duration represents a fixed-length span of time represented as a count of
|
|
42206
|
+
# seconds and fractions of seconds at nanosecond resolution. It is independent
|
|
42207
|
+
# of any calendar and concepts like "day" or "month". Range is approximately 10,
|
|
42208
|
+
# 000 years.
|
|
42209
|
+
# Corresponds to the JSON property `maxDuration`
|
|
42210
|
+
# @return [Google::Apis::ComputeAlpha::Duration]
|
|
42211
|
+
attr_accessor :max_duration
|
|
42212
|
+
|
|
42213
|
+
def initialize(**args)
|
|
42214
|
+
update!(**args)
|
|
42215
|
+
end
|
|
42216
|
+
|
|
42217
|
+
# Update properties of this object
|
|
42218
|
+
def update!(**args)
|
|
42219
|
+
@enabled = args[:enabled] if args.key?(:enabled)
|
|
42220
|
+
@max_duration = args[:max_duration] if args.key?(:max_duration)
|
|
42221
|
+
end
|
|
42222
|
+
end
|
|
42223
|
+
|
|
42127
42224
|
# Node Affinity: the configuration of desired nodes onto which this Instance
|
|
42128
42225
|
# could be scheduled.
|
|
42129
42226
|
class SchedulingNodeAffinity
|
|
@@ -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.
|
|
19
|
+
GEM_VERSION = "0.85.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 = "
|
|
25
|
+
REVISION = "20231031"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -5158,6 +5158,12 @@ module Google
|
|
|
5158
5158
|
include Google::Apis::Core::JsonObjectSupport
|
|
5159
5159
|
end
|
|
5160
5160
|
|
|
5161
|
+
class ResourceStatusShutdownDetails
|
|
5162
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
5163
|
+
|
|
5164
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
5165
|
+
end
|
|
5166
|
+
|
|
5161
5167
|
class RolloutPolicy
|
|
5162
5168
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
5163
5169
|
|
|
@@ -5464,6 +5470,12 @@ module Google
|
|
|
5464
5470
|
include Google::Apis::Core::JsonObjectSupport
|
|
5465
5471
|
end
|
|
5466
5472
|
|
|
5473
|
+
class SchedulingGracefulShutdown
|
|
5474
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
5475
|
+
|
|
5476
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
5477
|
+
end
|
|
5478
|
+
|
|
5467
5479
|
class SchedulingNodeAffinity
|
|
5468
5480
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
5469
5481
|
|
|
@@ -17069,6 +17081,10 @@ module Google
|
|
|
17069
17081
|
|
|
17070
17082
|
hash :service_integration_statuses, as: 'serviceIntegrationStatuses', class: Google::Apis::ComputeAlpha::ResourceStatusServiceIntegrationStatus, decorator: Google::Apis::ComputeAlpha::ResourceStatusServiceIntegrationStatus::Representation
|
|
17071
17083
|
|
|
17084
|
+
property :shutdown_details, as: 'shutdownDetails', class: Google::Apis::ComputeAlpha::ResourceStatusShutdownDetails, decorator: Google::Apis::ComputeAlpha::ResourceStatusShutdownDetails::Representation
|
|
17085
|
+
|
|
17086
|
+
property :upcoming_maintenance, as: 'upcomingMaintenance', class: Google::Apis::ComputeAlpha::UpcomingMaintenance, decorator: Google::Apis::ComputeAlpha::UpcomingMaintenance::Representation
|
|
17087
|
+
|
|
17072
17088
|
end
|
|
17073
17089
|
end
|
|
17074
17090
|
|
|
@@ -17103,6 +17119,17 @@ module Google
|
|
|
17103
17119
|
end
|
|
17104
17120
|
end
|
|
17105
17121
|
|
|
17122
|
+
class ResourceStatusShutdownDetails
|
|
17123
|
+
# @private
|
|
17124
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
17125
|
+
property :max_duration, as: 'maxDuration', class: Google::Apis::ComputeAlpha::Duration, decorator: Google::Apis::ComputeAlpha::Duration::Representation
|
|
17126
|
+
|
|
17127
|
+
property :request_timestamp, as: 'requestTimestamp'
|
|
17128
|
+
property :stop_state, as: 'stopState'
|
|
17129
|
+
property :target_state, as: 'targetState'
|
|
17130
|
+
end
|
|
17131
|
+
end
|
|
17132
|
+
|
|
17106
17133
|
class RolloutPolicy
|
|
17107
17134
|
# @private
|
|
17108
17135
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -17750,6 +17777,8 @@ module Google
|
|
|
17750
17777
|
property :availability_domain, as: 'availabilityDomain'
|
|
17751
17778
|
property :current_cpus, as: 'currentCpus'
|
|
17752
17779
|
property :current_memory_mb, :numeric_string => true, as: 'currentMemoryMb'
|
|
17780
|
+
property :graceful_shutdown, as: 'gracefulShutdown', class: Google::Apis::ComputeAlpha::SchedulingGracefulShutdown, decorator: Google::Apis::ComputeAlpha::SchedulingGracefulShutdown::Representation
|
|
17781
|
+
|
|
17753
17782
|
property :host_error_timeout_seconds, as: 'hostErrorTimeoutSeconds'
|
|
17754
17783
|
property :instance_termination_action, as: 'instanceTerminationAction'
|
|
17755
17784
|
property :latency_tolerant, as: 'latencyTolerant'
|
|
@@ -17770,6 +17799,15 @@ module Google
|
|
|
17770
17799
|
end
|
|
17771
17800
|
end
|
|
17772
17801
|
|
|
17802
|
+
class SchedulingGracefulShutdown
|
|
17803
|
+
# @private
|
|
17804
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
17805
|
+
property :enabled, as: 'enabled'
|
|
17806
|
+
property :max_duration, as: 'maxDuration', class: Google::Apis::ComputeAlpha::Duration, decorator: Google::Apis::ComputeAlpha::Duration::Representation
|
|
17807
|
+
|
|
17808
|
+
end
|
|
17809
|
+
end
|
|
17810
|
+
|
|
17773
17811
|
class SchedulingNodeAffinity
|
|
17774
17812
|
# @private
|
|
17775
17813
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -13857,6 +13857,8 @@ module Google
|
|
|
13857
13857
|
# The name of the zone for this request.
|
|
13858
13858
|
# @param [String] instance
|
|
13859
13859
|
# Name of the instance resource to delete.
|
|
13860
|
+
# @param [Boolean] no_graceful_shutdown
|
|
13861
|
+
# If true, skips Graceful Shutdown.
|
|
13860
13862
|
# @param [String] request_id
|
|
13861
13863
|
# An optional request ID to identify requests. Specify a unique request ID so
|
|
13862
13864
|
# that if you must retry your request, the server will know to ignore the
|
|
@@ -13886,13 +13888,14 @@ module Google
|
|
|
13886
13888
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
13887
13889
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
13888
13890
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
13889
|
-
def delete_instance(project, zone, instance, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
13891
|
+
def delete_instance(project, zone, instance, no_graceful_shutdown: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
13890
13892
|
command = make_simple_command(:delete, 'projects/{project}/zones/{zone}/instances/{instance}', options)
|
|
13891
13893
|
command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
|
|
13892
13894
|
command.response_class = Google::Apis::ComputeAlpha::Operation
|
|
13893
13895
|
command.params['project'] = project unless project.nil?
|
|
13894
13896
|
command.params['zone'] = zone unless zone.nil?
|
|
13895
13897
|
command.params['instance'] = instance unless instance.nil?
|
|
13898
|
+
command.query['noGracefulShutdown'] = no_graceful_shutdown unless no_graceful_shutdown.nil?
|
|
13896
13899
|
command.query['requestId'] = request_id unless request_id.nil?
|
|
13897
13900
|
command.query['fields'] = fields unless fields.nil?
|
|
13898
13901
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
@@ -15991,6 +15994,8 @@ module Google
|
|
|
15991
15994
|
# @param [Boolean] discard_local_ssd
|
|
15992
15995
|
# If true, discard the contents of any attached localSSD partitions. Default
|
|
15993
15996
|
# value is false.
|
|
15997
|
+
# @param [Boolean] no_graceful_shutdown
|
|
15998
|
+
# If true, skips Graceful Shutdown.
|
|
15994
15999
|
# @param [String] request_id
|
|
15995
16000
|
# An optional request ID to identify requests. Specify a unique request ID so
|
|
15996
16001
|
# that if you must retry your request, the server will know to ignore the
|
|
@@ -16020,7 +16025,7 @@ module Google
|
|
|
16020
16025
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
16021
16026
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
16022
16027
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
16023
|
-
def stop_instance(project, zone, instance, discard_local_ssd: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
16028
|
+
def stop_instance(project, zone, instance, discard_local_ssd: nil, no_graceful_shutdown: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
16024
16029
|
command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instances/{instance}/stop', options)
|
|
16025
16030
|
command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
|
|
16026
16031
|
command.response_class = Google::Apis::ComputeAlpha::Operation
|
|
@@ -16028,6 +16033,7 @@ module Google
|
|
|
16028
16033
|
command.params['zone'] = zone unless zone.nil?
|
|
16029
16034
|
command.params['instance'] = instance unless instance.nil?
|
|
16030
16035
|
command.query['discardLocalSsd'] = discard_local_ssd unless discard_local_ssd.nil?
|
|
16036
|
+
command.query['noGracefulShutdown'] = no_graceful_shutdown unless no_graceful_shutdown.nil?
|
|
16031
16037
|
command.query['requestId'] = request_id unless request_id.nil?
|
|
16032
16038
|
command.query['fields'] = fields unless fields.nil?
|
|
16033
16039
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-apis-compute_alpha
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.85.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-11-
|
|
11
|
+
date: 2023-11-12 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-compute_alpha/CHANGELOG.md
|
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-compute_alpha/v0.
|
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-compute_alpha/v0.85.0
|
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-compute_alpha
|
|
63
63
|
post_install_message:
|
|
64
64
|
rdoc_options: []
|