google-apis-compute_v1 0.72.0 → 0.74.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: b9eb561d6b53944c5078b9950c271802a8f0bd7ad38afabff50f04fc401fbf38
|
4
|
+
data.tar.gz: 9cd13a7d7f0a9d24692b83523fd8243750e3f7aa70b90c546d33765ab25bec8f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d684d9b4949f4de774547afcb36485c033584b3dc347672d44d9ecf94f38acf17adf3eec454800195840b37f75bcaa17bf5bc5f3e4f3f0bf755e7a4bb82c3c20
|
7
|
+
data.tar.gz: b00003e8c0ba6f0198b31a06be418a5489209e2d021b89443d1bbf586f29dd5d1bfc4cccf9a2290a87fb89f954567185bbb85ce54db4c9d96aedcbda2b365cd0
|
data/CHANGELOG.md
CHANGED
@@ -1,8 +1,16 @@
|
|
1
1
|
# Release history for google-apis-compute_v1
|
2
2
|
|
3
|
-
### v0.
|
3
|
+
### v0.74.0 (2023-07-16)
|
4
4
|
|
5
|
-
* Regenerated from discovery document revision
|
5
|
+
* Regenerated from discovery document revision 20230711
|
6
|
+
|
7
|
+
### v0.73.0 (2023-07-09)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20230701
|
10
|
+
|
11
|
+
### v0.72.0 (2023-07-02)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20230620
|
6
14
|
|
7
15
|
### v0.71.0 (2023-06-18)
|
8
16
|
|
@@ -2742,7 +2742,7 @@ module Google
|
|
2742
2742
|
# @return [String]
|
2743
2743
|
attr_accessor :creation_timestamp
|
2744
2744
|
|
2745
|
-
# Headers that the
|
2745
|
+
# Headers that the Application Load Balancer should add to proxied responses.
|
2746
2746
|
# Corresponds to the JSON property `customResponseHeaders`
|
2747
2747
|
# @return [Array<String>]
|
2748
2748
|
attr_accessor :custom_response_headers
|
@@ -9095,9 +9095,12 @@ module Google
|
|
9095
9095
|
alias_method :all_ports?, :all_ports
|
9096
9096
|
|
9097
9097
|
# This field is used along with the backend_service field for internal load
|
9098
|
-
# balancing or with the target field for internal TargetInstance. If
|
9099
|
-
#
|
9100
|
-
#
|
9098
|
+
# balancing or with the target field for internal TargetInstance. If set to true,
|
9099
|
+
# clients can access the Internal TCP/UDP Load Balancer, Internal HTTP(S) and
|
9100
|
+
# TCP Proxy Load Balancer from all regions. If false, only allows access from
|
9101
|
+
# the local region the load balancer is located at. Note that for
|
9102
|
+
# INTERNAL_MANAGED forwarding rules, this field cannot be changed after the
|
9103
|
+
# forwarding rule is created.
|
9101
9104
|
# Corresponds to the JSON property `allowGlobalAccess`
|
9102
9105
|
# @return [Boolean]
|
9103
9106
|
attr_accessor :allow_global_access
|
@@ -14065,6 +14068,11 @@ module Google
|
|
14065
14068
|
# @return [String]
|
14066
14069
|
attr_accessor :instance_group
|
14067
14070
|
|
14071
|
+
# The repair policy for this managed instance group.
|
14072
|
+
# Corresponds to the JSON property `instanceLifecyclePolicy`
|
14073
|
+
# @return [Google::Apis::ComputeV1::InstanceGroupManagerInstanceLifecyclePolicy]
|
14074
|
+
attr_accessor :instance_lifecycle_policy
|
14075
|
+
|
14068
14076
|
# The URL of the instance template that is specified for this managed instance
|
14069
14077
|
# group. The group uses this template to create all new instances in the managed
|
14070
14078
|
# instance group. The templates for existing instances in the group do not
|
@@ -14171,6 +14179,7 @@ module Google
|
|
14171
14179
|
@fingerprint = args[:fingerprint] if args.key?(:fingerprint)
|
14172
14180
|
@id = args[:id] if args.key?(:id)
|
14173
14181
|
@instance_group = args[:instance_group] if args.key?(:instance_group)
|
14182
|
+
@instance_lifecycle_policy = args[:instance_lifecycle_policy] if args.key?(:instance_lifecycle_policy)
|
14174
14183
|
@instance_template = args[:instance_template] if args.key?(:instance_template)
|
14175
14184
|
@kind = args[:kind] if args.key?(:kind)
|
14176
14185
|
@list_managed_instances_results = args[:list_managed_instances_results] if args.key?(:list_managed_instances_results)
|
@@ -14458,6 +14467,29 @@ module Google
|
|
14458
14467
|
end
|
14459
14468
|
end
|
14460
14469
|
|
14470
|
+
#
|
14471
|
+
class InstanceGroupManagerInstanceLifecyclePolicy
|
14472
|
+
include Google::Apis::Core::Hashable
|
14473
|
+
|
14474
|
+
# A bit indicating whether to forcefully apply the group's latest configuration
|
14475
|
+
# when repairing a VM. Valid options are: - NO (default): If configuration
|
14476
|
+
# updates are available, they are not forcefully applied during repair. Instead,
|
14477
|
+
# configuration updates are applied according to the group's update policy. -
|
14478
|
+
# YES: If configuration updates are available, they are applied during repair.
|
14479
|
+
# Corresponds to the JSON property `forceUpdateOnRepair`
|
14480
|
+
# @return [String]
|
14481
|
+
attr_accessor :force_update_on_repair
|
14482
|
+
|
14483
|
+
def initialize(**args)
|
14484
|
+
update!(**args)
|
14485
|
+
end
|
14486
|
+
|
14487
|
+
# Update properties of this object
|
14488
|
+
def update!(**args)
|
14489
|
+
@force_update_on_repair = args[:force_update_on_repair] if args.key?(:force_update_on_repair)
|
14490
|
+
end
|
14491
|
+
end
|
14492
|
+
|
14461
14493
|
# [Output Only] A list of managed instance groups.
|
14462
14494
|
class InstanceGroupManagerList
|
14463
14495
|
include Google::Apis::Core::Hashable
|
@@ -14749,11 +14781,9 @@ module Google
|
|
14749
14781
|
# @return [String]
|
14750
14782
|
attr_accessor :replacement_method
|
14751
14783
|
|
14752
|
-
# The type of update process. You can specify either PROACTIVE so that the
|
14753
|
-
#
|
14754
|
-
#
|
14755
|
-
# proactively executed but the update will be performed as part of other actions
|
14756
|
-
# (for example, resizes or recreateInstances calls).
|
14784
|
+
# The type of update process. You can specify either PROACTIVE so that the MIG
|
14785
|
+
# automatically updates VMs to the latest configurations or OPPORTUNISTIC so
|
14786
|
+
# that you can select the VMs that you want to update.
|
14757
14787
|
# Corresponds to the JSON property `type`
|
14758
14788
|
# @return [String]
|
14759
14789
|
attr_accessor :type
|
@@ -18118,8 +18148,9 @@ module Google
|
|
18118
18148
|
end
|
18119
18149
|
end
|
18120
18150
|
|
18121
|
-
# Diagnostics information about
|
18122
|
-
# technical information about Google's side of the
|
18151
|
+
# Diagnostics information about the Interconnect connection, which contains
|
18152
|
+
# detailed and current technical information about Google's side of the
|
18153
|
+
# connection.
|
18123
18154
|
class InterconnectDiagnostics
|
18124
18155
|
include Google::Apis::Core::Hashable
|
18125
18156
|
|
@@ -19156,8 +19187,9 @@ module Google
|
|
19156
19187
|
class InterconnectsGetDiagnosticsResponse
|
19157
19188
|
include Google::Apis::Core::Hashable
|
19158
19189
|
|
19159
|
-
# Diagnostics information about
|
19160
|
-
# technical information about Google's side of the
|
19190
|
+
# Diagnostics information about the Interconnect connection, which contains
|
19191
|
+
# detailed and current technical information about Google's side of the
|
19192
|
+
# connection.
|
19161
19193
|
# Corresponds to the JSON property `result`
|
19162
19194
|
# @return [Google::Apis::ComputeV1::InterconnectDiagnostics]
|
19163
19195
|
attr_accessor :result
|
@@ -26108,45 +26140,38 @@ module Google
|
|
26108
26140
|
# @return [Google::Apis::ComputeV1::Duration]
|
26109
26141
|
attr_accessor :base_ejection_time
|
26110
26142
|
|
26111
|
-
# Number of errors before a
|
26112
|
-
# backend
|
26113
|
-
#
|
26114
|
-
# map that is bound to target gRPC proxy that has validateForProxyless field set
|
26115
|
-
# to true.
|
26143
|
+
# Number of consecutive errors before a backend endpoint is ejected from the
|
26144
|
+
# load balancing pool. When the backend endpoint is accessed over HTTP, a 5xx
|
26145
|
+
# return code qualifies as an error. Defaults to 5.
|
26116
26146
|
# Corresponds to the JSON property `consecutiveErrors`
|
26117
26147
|
# @return [Fixnum]
|
26118
26148
|
attr_accessor :consecutive_errors
|
26119
26149
|
|
26120
26150
|
# The number of consecutive gateway failures (502, 503, 504 status or connection
|
26121
26151
|
# errors that are mapped to one of those status codes) before a consecutive
|
26122
|
-
# gateway failure ejection occurs. Defaults to 3.
|
26123
|
-
# service is referenced by a URL map that is bound to target gRPC proxy that has
|
26124
|
-
# validateForProxyless field set to true.
|
26152
|
+
# gateway failure ejection occurs. Defaults to 3.
|
26125
26153
|
# Corresponds to the JSON property `consecutiveGatewayFailure`
|
26126
26154
|
# @return [Fixnum]
|
26127
26155
|
attr_accessor :consecutive_gateway_failure
|
26128
26156
|
|
26129
|
-
# The percentage chance that a
|
26157
|
+
# The percentage chance that a backend endpoint will be ejected when an outlier
|
26130
26158
|
# status is detected through consecutive 5xx. This setting can be used to
|
26131
|
-
# disable ejection or to ramp it up slowly. Defaults to 0.
|
26132
|
-
# the backend service is referenced by a URL map that is bound to target gRPC
|
26133
|
-
# proxy that has validateForProxyless field set to true.
|
26159
|
+
# disable ejection or to ramp it up slowly. Defaults to 0.
|
26134
26160
|
# Corresponds to the JSON property `enforcingConsecutiveErrors`
|
26135
26161
|
# @return [Fixnum]
|
26136
26162
|
attr_accessor :enforcing_consecutive_errors
|
26137
26163
|
|
26138
|
-
# The percentage chance that a
|
26164
|
+
# The percentage chance that a backend endpoint will be ejected when an outlier
|
26139
26165
|
# status is detected through consecutive gateway failures. This setting can be
|
26140
|
-
# used to disable ejection or to ramp it up slowly. Defaults to 100.
|
26141
|
-
# supported when the backend service is referenced by a URL map that is bound to
|
26142
|
-
# target gRPC proxy that has validateForProxyless field set to true.
|
26166
|
+
# used to disable ejection or to ramp it up slowly. Defaults to 100.
|
26143
26167
|
# Corresponds to the JSON property `enforcingConsecutiveGatewayFailure`
|
26144
26168
|
# @return [Fixnum]
|
26145
26169
|
attr_accessor :enforcing_consecutive_gateway_failure
|
26146
26170
|
|
26147
|
-
# The percentage chance that a
|
26171
|
+
# The percentage chance that a backend endpoint will be ejected when an outlier
|
26148
26172
|
# status is detected through success rate statistics. This setting can be used
|
26149
|
-
# to disable ejection or to ramp it up slowly. Defaults to 100.
|
26173
|
+
# to disable ejection or to ramp it up slowly. Defaults to 100. Not supported
|
26174
|
+
# when the backend service uses Serverless NEG.
|
26150
26175
|
# Corresponds to the JSON property `enforcingSuccessRate`
|
26151
26176
|
# @return [Fixnum]
|
26152
26177
|
attr_accessor :enforcing_success_rate
|
@@ -26159,25 +26184,29 @@ module Google
|
|
26159
26184
|
# @return [Google::Apis::ComputeV1::Duration]
|
26160
26185
|
attr_accessor :interval
|
26161
26186
|
|
26162
|
-
# Maximum percentage of
|
26163
|
-
# that can be ejected
|
26187
|
+
# Maximum percentage of backend endpoints in the load balancing pool for the
|
26188
|
+
# backend service that can be ejected if the ejection conditions are met.
|
26189
|
+
# Defaults to 50%.
|
26164
26190
|
# Corresponds to the JSON property `maxEjectionPercent`
|
26165
26191
|
# @return [Fixnum]
|
26166
26192
|
attr_accessor :max_ejection_percent
|
26167
26193
|
|
26168
|
-
# The number of
|
26169
|
-
# detect success rate outliers. If the number of
|
26170
|
-
#
|
26171
|
-
#
|
26194
|
+
# The number of backend endpoints in the load balancing pool that must have
|
26195
|
+
# enough request volume to detect success rate outliers. If the number of
|
26196
|
+
# backend endpoints is fewer than this setting, outlier detection via success
|
26197
|
+
# rate statistics is not performed for any backend endpoint in the load
|
26198
|
+
# balancing pool. Defaults to 5. Not supported when the backend service uses
|
26199
|
+
# Serverless NEG.
|
26172
26200
|
# Corresponds to the JSON property `successRateMinimumHosts`
|
26173
26201
|
# @return [Fixnum]
|
26174
26202
|
attr_accessor :success_rate_minimum_hosts
|
26175
26203
|
|
26176
26204
|
# The minimum number of total requests that must be collected in one interval (
|
26177
|
-
# as defined by the interval duration above) to include this
|
26178
|
-
# rate based outlier detection. If the volume is lower than this setting,
|
26179
|
-
# outlier detection via success rate statistics is not performed for that
|
26180
|
-
# Defaults to 100.
|
26205
|
+
# as defined by the interval duration above) to include this backend endpoint in
|
26206
|
+
# success rate based outlier detection. If the volume is lower than this setting,
|
26207
|
+
# outlier detection via success rate statistics is not performed for that
|
26208
|
+
# backend endpoint. Defaults to 100. Not supported when the backend service uses
|
26209
|
+
# Serverless NEG.
|
26181
26210
|
# Corresponds to the JSON property `successRateRequestVolume`
|
26182
26211
|
# @return [Fixnum]
|
26183
26212
|
attr_accessor :success_rate_request_volume
|
@@ -26185,9 +26214,10 @@ module Google
|
|
26185
26214
|
# This factor is used to determine the ejection threshold for success rate
|
26186
26215
|
# outlier ejection. The ejection threshold is the difference between the mean
|
26187
26216
|
# success rate, and the product of this factor and the standard deviation of the
|
26188
|
-
# mean success rate: mean - (stdev *
|
26217
|
+
# mean success rate: mean - (stdev * successRateStdevFactor). This factor is
|
26189
26218
|
# divided by a thousand to get a double. That is, if the desired factor is 1.9,
|
26190
|
-
# the runtime value should be 1900. Defaults to 1900.
|
26219
|
+
# the runtime value should be 1900. Defaults to 1900. Not supported when the
|
26220
|
+
# backend service uses Serverless NEG.
|
26191
26221
|
# Corresponds to the JSON property `successRateStdevFactor`
|
26192
26222
|
# @return [Fixnum]
|
26193
26223
|
attr_accessor :success_rate_stdev_factor
|
@@ -27794,7 +27824,7 @@ module Google
|
|
27794
27824
|
# @return [Fixnum]
|
27795
27825
|
attr_accessor :id
|
27796
27826
|
|
27797
|
-
# The
|
27827
|
+
# The IP address range, in CIDR format, represented by this public delegated
|
27798
27828
|
# prefix.
|
27799
27829
|
# Corresponds to the JSON property `ipCidrRange`
|
27800
27830
|
# @return [String]
|
@@ -28137,8 +28167,8 @@ module Google
|
|
28137
28167
|
# @return [String]
|
28138
28168
|
attr_accessor :description
|
28139
28169
|
|
28140
|
-
# The
|
28141
|
-
#
|
28170
|
+
# The IP address range, in CIDR format, represented by this sub public delegated
|
28171
|
+
# prefix.
|
28142
28172
|
# Corresponds to the JSON property `ipCidrRange`
|
28143
28173
|
# @return [String]
|
28144
28174
|
attr_accessor :ip_cidr_range
|
@@ -28320,6 +28350,12 @@ module Google
|
|
28320
28350
|
# @return [Hash<String,String>]
|
28321
28351
|
attr_accessor :dimensions
|
28322
28352
|
|
28353
|
+
# Future quota limit being rolled out. The limit's unit depends on the quota
|
28354
|
+
# type or metric.
|
28355
|
+
# Corresponds to the JSON property `futureLimit`
|
28356
|
+
# @return [Float]
|
28357
|
+
attr_accessor :future_limit
|
28358
|
+
|
28323
28359
|
# Current effective quota limit. The limit's unit depends on the quota type or
|
28324
28360
|
# metric.
|
28325
28361
|
# Corresponds to the JSON property `limit`
|
@@ -28336,6 +28372,11 @@ module Google
|
|
28336
28372
|
# @return [String]
|
28337
28373
|
attr_accessor :metric_name
|
28338
28374
|
|
28375
|
+
# Rollout status of the future quota limit.
|
28376
|
+
# Corresponds to the JSON property `rolloutStatus`
|
28377
|
+
# @return [String]
|
28378
|
+
attr_accessor :rollout_status
|
28379
|
+
|
28339
28380
|
def initialize(**args)
|
28340
28381
|
update!(**args)
|
28341
28382
|
end
|
@@ -28343,9 +28384,11 @@ module Google
|
|
28343
28384
|
# Update properties of this object
|
28344
28385
|
def update!(**args)
|
28345
28386
|
@dimensions = args[:dimensions] if args.key?(:dimensions)
|
28387
|
+
@future_limit = args[:future_limit] if args.key?(:future_limit)
|
28346
28388
|
@limit = args[:limit] if args.key?(:limit)
|
28347
28389
|
@limit_name = args[:limit_name] if args.key?(:limit_name)
|
28348
28390
|
@metric_name = args[:metric_name] if args.key?(:metric_name)
|
28391
|
+
@rollout_status = args[:rollout_status] if args.key?(:rollout_status)
|
28349
28392
|
end
|
28350
28393
|
end
|
28351
28394
|
|
@@ -31512,6 +31555,12 @@ module Google
|
|
31512
31555
|
# @return [String]
|
31513
31556
|
attr_accessor :next_hop_gateway
|
31514
31557
|
|
31558
|
+
# [Output Only] The full resource name of the Network Connectivity Center hub
|
31559
|
+
# that will handle matching packets.
|
31560
|
+
# Corresponds to the JSON property `nextHopHub`
|
31561
|
+
# @return [String]
|
31562
|
+
attr_accessor :next_hop_hub
|
31563
|
+
|
31515
31564
|
# The URL to a forwarding rule of type loadBalancingScheme=INTERNAL that should
|
31516
31565
|
# handle matching packets or the IP address of the forwarding Rule. For example,
|
31517
31566
|
# the following are all valid URLs: - 10.128.0.56 - https://www.googleapis.com/
|
@@ -31604,6 +31653,7 @@ module Google
|
|
31604
31653
|
@name = args[:name] if args.key?(:name)
|
31605
31654
|
@network = args[:network] if args.key?(:network)
|
31606
31655
|
@next_hop_gateway = args[:next_hop_gateway] if args.key?(:next_hop_gateway)
|
31656
|
+
@next_hop_hub = args[:next_hop_hub] if args.key?(:next_hop_hub)
|
31607
31657
|
@next_hop_ilb = args[:next_hop_ilb] if args.key?(:next_hop_ilb)
|
31608
31658
|
@next_hop_instance = args[:next_hop_instance] if args.key?(:next_hop_instance)
|
31609
31659
|
@next_hop_ip = args[:next_hop_ip] if args.key?(:next_hop_ip)
|
@@ -32633,6 +32683,12 @@ module Google
|
|
32633
32683
|
class RouterNat
|
32634
32684
|
include Google::Apis::Core::Hashable
|
32635
32685
|
|
32686
|
+
# The network tier to use when automatically reserving IP addresses. Must be one
|
32687
|
+
# of: PREMIUM, STANDARD. If not specified, PREMIUM tier will be used.
|
32688
|
+
# Corresponds to the JSON property `autoNetworkTier`
|
32689
|
+
# @return [String]
|
32690
|
+
attr_accessor :auto_network_tier
|
32691
|
+
|
32636
32692
|
# A list of URLs of the IP resources to be drained. These IPs must be valid
|
32637
32693
|
# static external IPs that have been assigned to the NAT. These IPs should be
|
32638
32694
|
# used for updating/patching a NAT only.
|
@@ -32766,6 +32822,7 @@ module Google
|
|
32766
32822
|
|
32767
32823
|
# Update properties of this object
|
32768
32824
|
def update!(**args)
|
32825
|
+
@auto_network_tier = args[:auto_network_tier] if args.key?(:auto_network_tier)
|
32769
32826
|
@drain_nat_ips = args[:drain_nat_ips] if args.key?(:drain_nat_ips)
|
32770
32827
|
@enable_dynamic_port_allocation = args[:enable_dynamic_port_allocation] if args.key?(:enable_dynamic_port_allocation)
|
32771
32828
|
@enable_endpoint_independent_mapping = args[:enable_endpoint_independent_mapping] if args.key?(:enable_endpoint_independent_mapping)
|
@@ -33699,6 +33756,14 @@ module Google
|
|
33699
33756
|
# @return [String]
|
33700
33757
|
attr_accessor :instance_termination_action
|
33701
33758
|
|
33759
|
+
# A Duration represents a fixed-length span of time represented as a count of
|
33760
|
+
# seconds and fractions of seconds at nanosecond resolution. It is independent
|
33761
|
+
# of any calendar and concepts like "day" or "month". Range is approximately 10,
|
33762
|
+
# 000 years.
|
33763
|
+
# Corresponds to the JSON property `localSsdRecoveryTimeout`
|
33764
|
+
# @return [Google::Apis::ComputeV1::Duration]
|
33765
|
+
attr_accessor :local_ssd_recovery_timeout
|
33766
|
+
|
33702
33767
|
# An opaque location hint used to place the instance close to other resources.
|
33703
33768
|
# This field is for use by internal tools that use the public API.
|
33704
33769
|
# Corresponds to the JSON property `locationHint`
|
@@ -33747,6 +33812,7 @@ module Google
|
|
33747
33812
|
def update!(**args)
|
33748
33813
|
@automatic_restart = args[:automatic_restart] if args.key?(:automatic_restart)
|
33749
33814
|
@instance_termination_action = args[:instance_termination_action] if args.key?(:instance_termination_action)
|
33815
|
+
@local_ssd_recovery_timeout = args[:local_ssd_recovery_timeout] if args.key?(:local_ssd_recovery_timeout)
|
33750
33816
|
@location_hint = args[:location_hint] if args.key?(:location_hint)
|
33751
33817
|
@min_node_cpus = args[:min_node_cpus] if args.key?(:min_node_cpus)
|
33752
33818
|
@node_affinities = args[:node_affinities] if args.key?(:node_affinities)
|
@@ -35449,6 +35515,11 @@ module Google
|
|
35449
35515
|
class ServiceAttachmentConnectedEndpoint
|
35450
35516
|
include Google::Apis::Core::Hashable
|
35451
35517
|
|
35518
|
+
# The url of the consumer network.
|
35519
|
+
# Corresponds to the JSON property `consumerNetwork`
|
35520
|
+
# @return [String]
|
35521
|
+
attr_accessor :consumer_network
|
35522
|
+
|
35452
35523
|
# The url of a connected endpoint.
|
35453
35524
|
# Corresponds to the JSON property `endpoint`
|
35454
35525
|
# @return [String]
|
@@ -35470,6 +35541,7 @@ module Google
|
|
35470
35541
|
|
35471
35542
|
# Update properties of this object
|
35472
35543
|
def update!(**args)
|
35544
|
+
@consumer_network = args[:consumer_network] if args.key?(:consumer_network)
|
35473
35545
|
@endpoint = args[:endpoint] if args.key?(:endpoint)
|
35474
35546
|
@psc_connection_id = args[:psc_connection_id] if args.key?(:psc_connection_id)
|
35475
35547
|
@status = args[:status] if args.key?(:status)
|
@@ -38724,6 +38796,16 @@ module Google
|
|
38724
38796
|
# @return [String]
|
38725
38797
|
attr_accessor :fingerprint
|
38726
38798
|
|
38799
|
+
# Specifies how long to keep a connection open, after completing a response,
|
38800
|
+
# while there is no matching traffic (in seconds). If an HTTP keep-alive is not
|
38801
|
+
# specified, a default value (610 seconds) will be used. For Global external
|
38802
|
+
# HTTP(S) load balancer, the minimum allowed value is 5 seconds and the maximum
|
38803
|
+
# allowed value is 1200 seconds. For Global external HTTP(S) load balancer (
|
38804
|
+
# classic), this option is not available publicly.
|
38805
|
+
# Corresponds to the JSON property `httpKeepAliveTimeoutSec`
|
38806
|
+
# @return [Fixnum]
|
38807
|
+
attr_accessor :http_keep_alive_timeout_sec
|
38808
|
+
|
38727
38809
|
# [Output Only] The unique identifier for the resource. This identifier is
|
38728
38810
|
# defined by the server.
|
38729
38811
|
# Corresponds to the JSON property `id`
|
@@ -38785,6 +38867,7 @@ module Google
|
|
38785
38867
|
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
|
38786
38868
|
@description = args[:description] if args.key?(:description)
|
38787
38869
|
@fingerprint = args[:fingerprint] if args.key?(:fingerprint)
|
38870
|
+
@http_keep_alive_timeout_sec = args[:http_keep_alive_timeout_sec] if args.key?(:http_keep_alive_timeout_sec)
|
38788
38871
|
@id = args[:id] if args.key?(:id)
|
38789
38872
|
@kind = args[:kind] if args.key?(:kind)
|
38790
38873
|
@name = args[:name] if args.key?(:name)
|
@@ -39173,6 +39256,16 @@ module Google
|
|
39173
39256
|
# @return [String]
|
39174
39257
|
attr_accessor :fingerprint
|
39175
39258
|
|
39259
|
+
# Specifies how long to keep a connection open, after completing a response,
|
39260
|
+
# while there is no matching traffic (in seconds). If an HTTP keep-alive is not
|
39261
|
+
# specified, a default value (610 seconds) will be used. For Global external
|
39262
|
+
# HTTP(S) load balancer, the minimum allowed value is 5 seconds and the maximum
|
39263
|
+
# allowed value is 1200 seconds. For Global external HTTP(S) load balancer (
|
39264
|
+
# classic), this option is not available publicly.
|
39265
|
+
# Corresponds to the JSON property `httpKeepAliveTimeoutSec`
|
39266
|
+
# @return [Fixnum]
|
39267
|
+
attr_accessor :http_keep_alive_timeout_sec
|
39268
|
+
|
39176
39269
|
# [Output Only] The unique identifier for the resource. This identifier is
|
39177
39270
|
# defined by the server.
|
39178
39271
|
# Corresponds to the JSON property `id`
|
@@ -39278,6 +39371,7 @@ module Google
|
|
39278
39371
|
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
|
39279
39372
|
@description = args[:description] if args.key?(:description)
|
39280
39373
|
@fingerprint = args[:fingerprint] if args.key?(:fingerprint)
|
39374
|
+
@http_keep_alive_timeout_sec = args[:http_keep_alive_timeout_sec] if args.key?(:http_keep_alive_timeout_sec)
|
39281
39375
|
@id = args[:id] if args.key?(:id)
|
39282
39376
|
@kind = args[:kind] if args.key?(:kind)
|
39283
39377
|
@name = args[:name] if args.key?(:name)
|
@@ -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.74.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 = "20230711"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -1648,6 +1648,12 @@ module Google
|
|
1648
1648
|
include Google::Apis::Core::JsonObjectSupport
|
1649
1649
|
end
|
1650
1650
|
|
1651
|
+
class InstanceGroupManagerInstanceLifecyclePolicy
|
1652
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1653
|
+
|
1654
|
+
include Google::Apis::Core::JsonObjectSupport
|
1655
|
+
end
|
1656
|
+
|
1651
1657
|
class InstanceGroupManagerList
|
1652
1658
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1653
1659
|
|
@@ -9104,6 +9110,8 @@ module Google
|
|
9104
9110
|
property :fingerprint, :base64 => true, as: 'fingerprint'
|
9105
9111
|
property :id, :numeric_string => true, as: 'id'
|
9106
9112
|
property :instance_group, as: 'instanceGroup'
|
9113
|
+
property :instance_lifecycle_policy, as: 'instanceLifecyclePolicy', class: Google::Apis::ComputeV1::InstanceGroupManagerInstanceLifecyclePolicy, decorator: Google::Apis::ComputeV1::InstanceGroupManagerInstanceLifecyclePolicy::Representation
|
9114
|
+
|
9107
9115
|
property :instance_template, as: 'instanceTemplate'
|
9108
9116
|
property :kind, as: 'kind'
|
9109
9117
|
property :list_managed_instances_results, as: 'listManagedInstancesResults'
|
@@ -9186,6 +9194,13 @@ module Google
|
|
9186
9194
|
end
|
9187
9195
|
end
|
9188
9196
|
|
9197
|
+
class InstanceGroupManagerInstanceLifecyclePolicy
|
9198
|
+
# @private
|
9199
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
9200
|
+
property :force_update_on_repair, as: 'forceUpdateOnRepair'
|
9201
|
+
end
|
9202
|
+
end
|
9203
|
+
|
9189
9204
|
class InstanceGroupManagerList
|
9190
9205
|
# @private
|
9191
9206
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -12730,9 +12745,11 @@ module Google
|
|
12730
12745
|
# @private
|
12731
12746
|
class Representation < Google::Apis::Core::JsonRepresentation
|
12732
12747
|
hash :dimensions, as: 'dimensions'
|
12748
|
+
property :future_limit, as: 'futureLimit'
|
12733
12749
|
property :limit, as: 'limit'
|
12734
12750
|
property :limit_name, as: 'limitName'
|
12735
12751
|
property :metric_name, as: 'metricName'
|
12752
|
+
property :rollout_status, as: 'rolloutStatus'
|
12736
12753
|
end
|
12737
12754
|
end
|
12738
12755
|
|
@@ -13613,6 +13630,7 @@ module Google
|
|
13613
13630
|
property :name, as: 'name'
|
13614
13631
|
property :network, as: 'network'
|
13615
13632
|
property :next_hop_gateway, as: 'nextHopGateway'
|
13633
|
+
property :next_hop_hub, as: 'nextHopHub'
|
13616
13634
|
property :next_hop_ilb, as: 'nextHopIlb'
|
13617
13635
|
property :next_hop_instance, as: 'nextHopInstance'
|
13618
13636
|
property :next_hop_ip, as: 'nextHopIp'
|
@@ -13867,6 +13885,7 @@ module Google
|
|
13867
13885
|
class RouterNat
|
13868
13886
|
# @private
|
13869
13887
|
class Representation < Google::Apis::Core::JsonRepresentation
|
13888
|
+
property :auto_network_tier, as: 'autoNetworkTier'
|
13870
13889
|
collection :drain_nat_ips, as: 'drainNatIps'
|
13871
13890
|
property :enable_dynamic_port_allocation, as: 'enableDynamicPortAllocation'
|
13872
13891
|
property :enable_endpoint_independent_mapping, as: 'enableEndpointIndependentMapping'
|
@@ -14115,6 +14134,8 @@ module Google
|
|
14115
14134
|
class Representation < Google::Apis::Core::JsonRepresentation
|
14116
14135
|
property :automatic_restart, as: 'automaticRestart'
|
14117
14136
|
property :instance_termination_action, as: 'instanceTerminationAction'
|
14137
|
+
property :local_ssd_recovery_timeout, as: 'localSsdRecoveryTimeout', class: Google::Apis::ComputeV1::Duration, decorator: Google::Apis::ComputeV1::Duration::Representation
|
14138
|
+
|
14118
14139
|
property :location_hint, as: 'locationHint'
|
14119
14140
|
property :min_node_cpus, as: 'minNodeCpus'
|
14120
14141
|
collection :node_affinities, as: 'nodeAffinities', class: Google::Apis::ComputeV1::SchedulingNodeAffinity, decorator: Google::Apis::ComputeV1::SchedulingNodeAffinity::Representation
|
@@ -14560,6 +14581,7 @@ module Google
|
|
14560
14581
|
class ServiceAttachmentConnectedEndpoint
|
14561
14582
|
# @private
|
14562
14583
|
class Representation < Google::Apis::Core::JsonRepresentation
|
14584
|
+
property :consumer_network, as: 'consumerNetwork'
|
14563
14585
|
property :endpoint, as: 'endpoint'
|
14564
14586
|
property :psc_connection_id, :numeric_string => true, as: 'pscConnectionId'
|
14565
14587
|
property :status, as: 'status'
|
@@ -15376,6 +15398,7 @@ module Google
|
|
15376
15398
|
property :creation_timestamp, as: 'creationTimestamp'
|
15377
15399
|
property :description, as: 'description'
|
15378
15400
|
property :fingerprint, :base64 => true, as: 'fingerprint'
|
15401
|
+
property :http_keep_alive_timeout_sec, as: 'httpKeepAliveTimeoutSec'
|
15379
15402
|
property :id, :numeric_string => true, as: 'id'
|
15380
15403
|
property :kind, as: 'kind'
|
15381
15404
|
property :name, as: 'name'
|
@@ -15488,6 +15511,7 @@ module Google
|
|
15488
15511
|
property :creation_timestamp, as: 'creationTimestamp'
|
15489
15512
|
property :description, as: 'description'
|
15490
15513
|
property :fingerprint, :base64 => true, as: 'fingerprint'
|
15514
|
+
property :http_keep_alive_timeout_sec, as: 'httpKeepAliveTimeoutSec'
|
15491
15515
|
property :id, :numeric_string => true, as: 'id'
|
15492
15516
|
property :kind, as: 'kind'
|
15493
15517
|
property :name, as: 'name'
|
@@ -21070,7 +21070,8 @@ module Google
|
|
21070
21070
|
# behavior. For more information, see the [known issue](/compute/docs/
|
21071
21071
|
# troubleshooting/known-issues#
|
21072
21072
|
# ving_vms_or_disks_using_the_moveinstance_api_or_the_causes_unexpected_behavior)
|
21073
|
-
# .
|
21073
|
+
# . [Deprecated] This method is deprecated. See [moving instance across zones](/
|
21074
|
+
# compute/docs/instances/moving-instance-across-zones) instead.
|
21074
21075
|
# @param [String] project
|
21075
21076
|
# Project ID for this request.
|
21076
21077
|
# @param [Google::Apis::ComputeV1::MoveInstanceRequest] move_instance_request_object
|
@@ -28282,9 +28283,9 @@ module Google
|
|
28282
28283
|
end
|
28283
28284
|
|
28284
28285
|
# Patches the specified policy with the data included in the request. To clear
|
28285
|
-
# fields in the
|
28286
|
-
# This cannot be used to be update the rules in the policy. Please
|
28287
|
-
# rule methods like addRule, patchRule, and removeRule instead.
|
28286
|
+
# fields in the policy, leave the fields empty and specify them in the
|
28287
|
+
# updateMask. This cannot be used to be update the rules in the policy. Please
|
28288
|
+
# use the per rule methods like addRule, patchRule, and removeRule instead.
|
28288
28289
|
# @param [String] project
|
28289
28290
|
# Project ID for this request.
|
28290
28291
|
# @param [String] region
|
@@ -31287,6 +31288,62 @@ module Google
|
|
31287
31288
|
execute_or_queue_command(command, &block)
|
31288
31289
|
end
|
31289
31290
|
|
31291
|
+
# Modify the specified resource policy.
|
31292
|
+
# @param [String] project
|
31293
|
+
# Project ID for this request.
|
31294
|
+
# @param [String] region
|
31295
|
+
# Name of the region for this request.
|
31296
|
+
# @param [String] resource_policy
|
31297
|
+
# Id of the resource policy to patch.
|
31298
|
+
# @param [Google::Apis::ComputeV1::ResourcePolicy] resource_policy_object
|
31299
|
+
# @param [String] request_id
|
31300
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
31301
|
+
# that if you must retry your request, the server will know to ignore the
|
31302
|
+
# request if it has already been completed. For example, consider a situation
|
31303
|
+
# where you make an initial request and the request times out. If you make the
|
31304
|
+
# request again with the same request ID, the server can check if original
|
31305
|
+
# operation with the same request ID was received, and if so, will ignore the
|
31306
|
+
# second request. This prevents clients from accidentally creating duplicate
|
31307
|
+
# commitments. The request ID must be a valid UUID with the exception that zero
|
31308
|
+
# UUID is not supported ( 00000000-0000-0000-0000-000000000000).
|
31309
|
+
# @param [String] update_mask
|
31310
|
+
# update_mask indicates fields to be updated as part of this request.
|
31311
|
+
# @param [String] fields
|
31312
|
+
# Selector specifying which fields to include in a partial response.
|
31313
|
+
# @param [String] quota_user
|
31314
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
31315
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
31316
|
+
# @param [String] user_ip
|
31317
|
+
# Legacy name for parameter that has been superseded by `quotaUser`.
|
31318
|
+
# @param [Google::Apis::RequestOptions] options
|
31319
|
+
# Request-specific options
|
31320
|
+
#
|
31321
|
+
# @yield [result, err] Result & error if block supplied
|
31322
|
+
# @yieldparam result [Google::Apis::ComputeV1::Operation] parsed result object
|
31323
|
+
# @yieldparam err [StandardError] error object if request failed
|
31324
|
+
#
|
31325
|
+
# @return [Google::Apis::ComputeV1::Operation]
|
31326
|
+
#
|
31327
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
31328
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
31329
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
31330
|
+
def patch_resource_policy(project, region, resource_policy, resource_policy_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
31331
|
+
command = make_simple_command(:patch, 'projects/{project}/regions/{region}/resourcePolicies/{resourcePolicy}', options)
|
31332
|
+
command.request_representation = Google::Apis::ComputeV1::ResourcePolicy::Representation
|
31333
|
+
command.request_object = resource_policy_object
|
31334
|
+
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
31335
|
+
command.response_class = Google::Apis::ComputeV1::Operation
|
31336
|
+
command.params['project'] = project unless project.nil?
|
31337
|
+
command.params['region'] = region unless region.nil?
|
31338
|
+
command.params['resourcePolicy'] = resource_policy unless resource_policy.nil?
|
31339
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
31340
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
31341
|
+
command.query['fields'] = fields unless fields.nil?
|
31342
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
31343
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
31344
|
+
execute_or_queue_command(command, &block)
|
31345
|
+
end
|
31346
|
+
|
31290
31347
|
# Sets the access control policy on the specified resource. Replaces any
|
31291
31348
|
# existing policy.
|
31292
31349
|
# @param [String] project
|
@@ -32701,9 +32758,9 @@ module Google
|
|
32701
32758
|
end
|
32702
32759
|
|
32703
32760
|
# Patches the specified policy with the data included in the request. To clear
|
32704
|
-
# fields in the
|
32705
|
-
# This cannot be used to be update the rules in the policy. Please
|
32706
|
-
# rule methods like addRule, patchRule, and removeRule instead.
|
32761
|
+
# fields in the policy, leave the fields empty and specify them in the
|
32762
|
+
# updateMask. This cannot be used to be update the rules in the policy. Please
|
32763
|
+
# use the per rule methods like addRule, patchRule, and removeRule instead.
|
32707
32764
|
# @param [String] project
|
32708
32765
|
# Project ID for this request.
|
32709
32766
|
# @param [String] security_policy
|
@@ -32753,7 +32810,8 @@ module Google
|
|
32753
32810
|
execute_or_queue_command(command, &block)
|
32754
32811
|
end
|
32755
32812
|
|
32756
|
-
# Patches a rule at the specified priority.
|
32813
|
+
# Patches a rule at the specified priority. To clear fields in the rule, leave
|
32814
|
+
# the fields empty and specify them in the updateMask.
|
32757
32815
|
# @param [String] project
|
32758
32816
|
# Project ID for this request.
|
32759
32817
|
# @param [String] security_policy
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
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.74.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-07-
|
11
|
+
date: 2023-07-16 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_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-compute_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-compute_v1/v0.74.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-compute_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|