google-apis-compute_alpha 0.83.0 → 0.85.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: bcf08296e448e78db5ea161bb62a7b167cd7574baa83ea35e60c6b36bc33e489
4
- data.tar.gz: 6f6540b6f873450352bf75b5bedae9861d626533d3784ff87025d7e3cda6111f
3
+ metadata.gz: edbbeb8c470b9c65286fcb91728833783fa2b31e2c30cd8d928d5a84c1dc0c3e
4
+ data.tar.gz: 94cb43c3949d976fcff6c81ea1c4e5debdd2e5139b18e80cb26422ad38e7f842
5
5
  SHA512:
6
- metadata.gz: 25aefb2e29dedff7746ef4054931778fcd794547d609c301e98ea36735d92cef41335b45be7566eb3cf2377178c5358298d5471bc448db76da2055afe22ec17a
7
- data.tar.gz: f55d73ed984753ee916abe06becb7c77d1b6a7938ad63386c9b981415f6193b4620e4a0ceb4b7c402d38e59fb94859715be2e7851693ad50a570c63509ba0012
6
+ metadata.gz: 8d64735a1d5088ed9cceef8997293bf31837e1da1c7c9e4a8cb175e8e954c5226e5d4399c9742887cc911cddfd67aafd74dccbfabb2a9bfb83e9dbf0e25e99a5
7
+ data.tar.gz: 2ca8e3f08bbd776ba3a88b668ed0fe5a8a27960a16b366a95f843355897c5989e34889ee53ccbe720dbe5f1a41e90197478190bc9adbed5aa880749daf7b4567
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-compute_alpha
2
2
 
3
+ ### v0.85.0 (2023-11-12)
4
+
5
+ * Regenerated from discovery document revision 20231031
6
+
7
+ ### v0.84.0 (2023-11-05)
8
+
9
+ * Regenerated from discovery document revision 20231024
10
+
3
11
  ### v0.83.0 (2023-10-29)
4
12
 
5
13
  * Regenerated from discovery document revision 20231017
@@ -10465,13 +10465,17 @@ module Google
10465
10465
  # @return [String]
10466
10466
  attr_accessor :ip_protocol
10467
10467
 
10468
- # This field can only be used: - If IPProtocol is one of TCP, UDP, or SCTP. - By
10469
- # internal TCP/UDP load balancers, backend service-based network load balancers,
10470
- # and internal and external protocol forwarding. Set this field to true to allow
10471
- # packets addressed to any port or packets lacking destination port information (
10472
- # for example, UDP fragments after the first fragment) to be forwarded to the
10473
- # backends configured with this forwarding rule. The ports, port_range, and
10474
- # allPorts fields are mutually exclusive.
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
- # This field can only be used: - If IPProtocol is one of TCP, UDP, or SCTP. - By
10673
- # backend service-based network load balancers, target pool-based network load
10674
- # balancers, internal proxy load balancers, external proxy load balancers,
10675
- # Traffic Director, external protocol forwarding, and Classic VPN. Some products
10676
- # have restrictions on what ports can be used. See port specifications for
10677
- # details. Only packets addressed to ports in the specified range will be
10678
- # forwarded to the backends configured with this forwarding rule. The ports,
10679
- # port_range, and allPorts fields are mutually exclusive. For external
10680
- # forwarding rules, two or more forwarding rules cannot use the same [IPAddress,
10681
- # IPProtocol] pair, and cannot have overlapping portRanges. For internal
10682
- # forwarding rules within the same VPC network, two or more forwarding rules
10683
- # cannot use the same [IPAddress, IPProtocol] pair, and cannot have overlapping
10684
- # portRanges. @pattern: \\d+(?:-\\d+)?
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
- # This field can only be used: - If IPProtocol is one of TCP, UDP, or SCTP. - By
10690
- # internal TCP/UDP load balancers, backend service-based network load balancers,
10691
- # and internal protocol forwarding. You can specify a list of up to five ports
10692
- # by number, separated by commas. The ports can be contiguous or discontiguous.
10693
- # Only packets addressed to these ports will be forwarded to the backends
10694
- # configured with this forwarding rule. For external forwarding rules, two or
10695
- # more forwarding rules cannot use the same [IPAddress, IPProtocol] pair, and
10696
- # cannot share any values defined in ports. For internal forwarding rules within
10697
- # the same VPC network, two or more forwarding rules cannot use the same [
10698
- # IPAddress, IPProtocol] pair, and cannot share any values defined in ports. The
10699
- # ports, port_range, and allPorts fields are mutually exclusive. @pattern: \\d+(?
10700
- # :-\\d+)?
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
@@ -27384,6 +27391,13 @@ module Google
27384
27391
  # @return [Fixnum]
27385
27392
  attr_accessor :port
27386
27393
 
27394
+ # The name of the zone where the instance hosting the network endpoint is
27395
+ # located (valid only for regional GCE_VM_IP_PORT NEGs). It should comply with
27396
+ # RFC1035. The zone must belong to the region of the Network Endpoint Group.
27397
+ # Corresponds to the JSON property `zone`
27398
+ # @return [String]
27399
+ attr_accessor :zone
27400
+
27387
27401
  def initialize(**args)
27388
27402
  update!(**args)
27389
27403
  end
@@ -27397,6 +27411,7 @@ module Google
27397
27411
  @ip_address = args[:ip_address] if args.key?(:ip_address)
27398
27412
  @ipv6_address = args[:ipv6_address] if args.key?(:ipv6_address)
27399
27413
  @port = args[:port] if args.key?(:port)
27414
+ @zone = args[:zone] if args.key?(:zone)
27400
27415
  end
27401
27416
  end
27402
27417
 
@@ -33677,7 +33692,7 @@ module Google
33677
33692
  attr_accessor :kind
33678
33693
 
33679
33694
  # [Output Only] The Cloud Armor Managed Protection (CAMP) tier for this project.
33680
- # It can be one of the following values: CA_STANDARD, CAMP_PLUS_MONTHLY. If this
33695
+ # It can be one of the following values: CA_STANDARD, CAMP_PLUS_PAYGO. If this
33681
33696
  # field is not specified, it is assumed to be CA_STANDARD.
33682
33697
  # Corresponds to the JSON property `managedProtectionTier`
33683
33698
  # @return [String]
@@ -39020,6 +39035,17 @@ module Google
39020
39035
  # @return [Hash<String,Google::Apis::ComputeAlpha::ResourceStatusServiceIntegrationStatus>]
39021
39036
  attr_accessor :service_integration_statuses
39022
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
+
39023
39049
  def initialize(**args)
39024
39050
  update!(**args)
39025
39051
  end
@@ -39030,6 +39056,8 @@ module Google
39030
39056
  @physical_host = args[:physical_host] if args.key?(:physical_host)
39031
39057
  @scheduling = args[:scheduling] if args.key?(:scheduling)
39032
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)
39033
39061
  end
39034
39062
  end
39035
39063
 
@@ -39132,6 +39160,48 @@ module Google
39132
39160
  end
39133
39161
  end
39134
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
+
39135
39205
  # A rollout policy configuration.
39136
39206
  class RolloutPolicy
39137
39207
  include Google::Apis::Core::Hashable
@@ -39260,6 +39330,13 @@ module Google
39260
39330
  # @return [String]
39261
39331
  attr_accessor :next_hop_instance
39262
39332
 
39333
+ # [Output only] Internal fixed region-to-region cost that Google Cloud
39334
+ # calculates based on factors such as network performance, distance, and
39335
+ # available bandwidth between regions.
39336
+ # Corresponds to the JSON property `nextHopInterRegionCost`
39337
+ # @return [Fixnum]
39338
+ attr_accessor :next_hop_inter_region_cost
39339
+
39263
39340
  # [Output Only] The URL to an InterconnectAttachment which is the next hop for
39264
39341
  # the route. This field will only be populated for the dynamic routes generated
39265
39342
  # by Cloud Router with a linked interconnectAttachment.
@@ -39277,11 +39354,23 @@ module Google
39277
39354
  # @return [String]
39278
39355
  attr_accessor :next_hop_ip
39279
39356
 
39357
+ # [Output Only] Multi-Exit Discriminator, a BGP route metric that indicates the
39358
+ # desirability of a particular route in a network.
39359
+ # Corresponds to the JSON property `nextHopMed`
39360
+ # @return [Fixnum]
39361
+ attr_accessor :next_hop_med
39362
+
39280
39363
  # The URL of the local network if it should handle matching packets.
39281
39364
  # Corresponds to the JSON property `nextHopNetwork`
39282
39365
  # @return [String]
39283
39366
  attr_accessor :next_hop_network
39284
39367
 
39368
+ # [Output Only] Indicates the origin of the route. Can be IGP (Interior Gateway
39369
+ # Protocol), EGP (Exterior Gateway Protocol), or INCOMPLETE.
39370
+ # Corresponds to the JSON property `nextHopOrigin`
39371
+ # @return [String]
39372
+ attr_accessor :next_hop_origin
39373
+
39285
39374
  # [Output Only] The network peering name that should handle matching packets,
39286
39375
  # which should conform to RFC1035.
39287
39376
  # Corresponds to the JSON property `nextHopPeering`
@@ -39357,9 +39446,12 @@ module Google
39357
39446
  @next_hop_hub = args[:next_hop_hub] if args.key?(:next_hop_hub)
39358
39447
  @next_hop_ilb = args[:next_hop_ilb] if args.key?(:next_hop_ilb)
39359
39448
  @next_hop_instance = args[:next_hop_instance] if args.key?(:next_hop_instance)
39449
+ @next_hop_inter_region_cost = args[:next_hop_inter_region_cost] if args.key?(:next_hop_inter_region_cost)
39360
39450
  @next_hop_interconnect_attachment = args[:next_hop_interconnect_attachment] if args.key?(:next_hop_interconnect_attachment)
39361
39451
  @next_hop_ip = args[:next_hop_ip] if args.key?(:next_hop_ip)
39452
+ @next_hop_med = args[:next_hop_med] if args.key?(:next_hop_med)
39362
39453
  @next_hop_network = args[:next_hop_network] if args.key?(:next_hop_network)
39454
+ @next_hop_origin = args[:next_hop_origin] if args.key?(:next_hop_origin)
39363
39455
  @next_hop_peering = args[:next_hop_peering] if args.key?(:next_hop_peering)
39364
39456
  @next_hop_vpn_tunnel = args[:next_hop_vpn_tunnel] if args.key?(:next_hop_vpn_tunnel)
39365
39457
  @priority = args[:priority] if args.key?(:priority)
@@ -41972,6 +42064,11 @@ module Google
41972
42064
  # @return [Fixnum]
41973
42065
  attr_accessor :current_memory_mb
41974
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
+
41975
42072
  # Specify the time in seconds for host error detection, the value must be within
41976
42073
  # the range of [90, 330] with the increment of 30, if unset, the default
41977
42074
  # behavior of host error recovery will be used.
@@ -42077,6 +42174,7 @@ module Google
42077
42174
  @availability_domain = args[:availability_domain] if args.key?(:availability_domain)
42078
42175
  @current_cpus = args[:current_cpus] if args.key?(:current_cpus)
42079
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)
42080
42178
  @host_error_timeout_seconds = args[:host_error_timeout_seconds] if args.key?(:host_error_timeout_seconds)
42081
42179
  @instance_termination_action = args[:instance_termination_action] if args.key?(:instance_termination_action)
42082
42180
  @latency_tolerant = args[:latency_tolerant] if args.key?(:latency_tolerant)
@@ -42094,6 +42192,35 @@ module Google
42094
42192
  end
42095
42193
  end
42096
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
+
42097
42224
  # Node Affinity: the configuration of desired nodes onto which this Instance
42098
42225
  # could be scheduled.
42099
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.83.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 = "20231017"
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
 
@@ -14006,6 +14018,7 @@ module Google
14006
14018
  property :ip_address, as: 'ipAddress'
14007
14019
  property :ipv6_address, as: 'ipv6Address'
14008
14020
  property :port, as: 'port'
14021
+ property :zone, as: 'zone'
14009
14022
  end
14010
14023
  end
14011
14024
 
@@ -17068,6 +17081,10 @@ module Google
17068
17081
 
17069
17082
  hash :service_integration_statuses, as: 'serviceIntegrationStatuses', class: Google::Apis::ComputeAlpha::ResourceStatusServiceIntegrationStatus, decorator: Google::Apis::ComputeAlpha::ResourceStatusServiceIntegrationStatus::Representation
17070
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
+
17071
17088
  end
17072
17089
  end
17073
17090
 
@@ -17102,6 +17119,17 @@ module Google
17102
17119
  end
17103
17120
  end
17104
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
+
17105
17133
  class RolloutPolicy
17106
17134
  # @private
17107
17135
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -17128,9 +17156,12 @@ module Google
17128
17156
  property :next_hop_hub, as: 'nextHopHub'
17129
17157
  property :next_hop_ilb, as: 'nextHopIlb'
17130
17158
  property :next_hop_instance, as: 'nextHopInstance'
17159
+ property :next_hop_inter_region_cost, as: 'nextHopInterRegionCost'
17131
17160
  property :next_hop_interconnect_attachment, as: 'nextHopInterconnectAttachment'
17132
17161
  property :next_hop_ip, as: 'nextHopIp'
17162
+ property :next_hop_med, as: 'nextHopMed'
17133
17163
  property :next_hop_network, as: 'nextHopNetwork'
17164
+ property :next_hop_origin, as: 'nextHopOrigin'
17134
17165
  property :next_hop_peering, as: 'nextHopPeering'
17135
17166
  property :next_hop_vpn_tunnel, as: 'nextHopVpnTunnel'
17136
17167
  property :priority, as: 'priority'
@@ -17746,6 +17777,8 @@ module Google
17746
17777
  property :availability_domain, as: 'availabilityDomain'
17747
17778
  property :current_cpus, as: 'currentCpus'
17748
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
+
17749
17782
  property :host_error_timeout_seconds, as: 'hostErrorTimeoutSeconds'
17750
17783
  property :instance_termination_action, as: 'instanceTerminationAction'
17751
17784
  property :latency_tolerant, as: 'latencyTolerant'
@@ -17766,6 +17799,15 @@ module Google
17766
17799
  end
17767
17800
  end
17768
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
+
17769
17811
  class SchedulingNodeAffinity
17770
17812
  # @private
17771
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.83.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-10-29 00:00:00.000000000 Z
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.83.0
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: []