google-api-client 0.30.5 → 0.30.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +63 -0
- data/generated/google/apis/accesscontextmanager_v1.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1/service.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1beta/service.rb +1 -1
- data/generated/google/apis/analyticsreporting_v4.rb +1 -1
- data/generated/google/apis/analyticsreporting_v4/classes.rb +11 -7
- data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
- data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +1 -1
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1/classes.rb +2 -2
- data/generated/google/apis/cloudasset_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1/classes.rb +19 -10
- data/generated/google/apis/cloudasset_v1/representations.rb +1 -0
- data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1beta1/classes.rb +19 -10
- data/generated/google/apis/cloudasset_v1beta1/representations.rb +1 -0
- data/generated/google/apis/cloudbilling_v1.rb +1 -1
- data/generated/google/apis/cloudbilling_v1/classes.rb +19 -10
- data/generated/google/apis/cloudbilling_v1/representations.rb +1 -0
- data/generated/google/apis/cloudbilling_v1/service.rb +7 -1
- data/generated/google/apis/cloudiot_v1.rb +1 -1
- data/generated/google/apis/cloudiot_v1/classes.rb +28 -0
- data/generated/google/apis/cloudiot_v1/representations.rb +15 -0
- data/generated/google/apis/cloudprivatecatalogproducer_v1beta1.rb +1 -1
- data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/classes.rb +19 -10
- data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/representations.rb +1 -0
- data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/service.rb +7 -1
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +10 -10
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +4 -6
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +10 -10
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2/classes.rb +10 -10
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +10 -10
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +261 -145
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +261 -145
- data/generated/google/apis/compute_beta/service.rb +1 -1
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +242 -125
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +43 -0
- data/generated/google/apis/container_v1/representations.rb +19 -0
- data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +28 -0
- data/generated/google/apis/containeranalysis_v1alpha1/representations.rb +15 -0
- data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1beta1/classes.rb +28 -0
- data/generated/google/apis/containeranalysis_v1beta1/representations.rb +15 -0
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +0 -6
- data/generated/google/apis/content_v2/representations.rb +0 -1
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +1 -1
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +27 -0
- data/generated/google/apis/dataproc_v1/representations.rb +15 -0
- data/generated/google/apis/dataproc_v1/service.rb +0 -216
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +27 -0
- data/generated/google/apis/dataproc_v1beta2/representations.rb +15 -0
- data/generated/google/apis/dataproc_v1beta2/service.rb +42 -7
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +146 -0
- data/generated/google/apis/dialogflow_v2/representations.rb +75 -0
- data/generated/google/apis/dialogflow_v2/service.rb +47 -0
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +146 -0
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +75 -0
- data/generated/google/apis/dialogflow_v2beta1/service.rb +47 -0
- data/generated/google/apis/fcm_v1.rb +1 -1
- data/generated/google/apis/fcm_v1/classes.rb +29 -0
- data/generated/google/apis/fcm_v1/representations.rb +3 -0
- data/generated/google/apis/healthcare_v1alpha2.rb +1 -1
- data/generated/google/apis/healthcare_v1alpha2/classes.rb +19 -10
- data/generated/google/apis/healthcare_v1alpha2/representations.rb +1 -0
- data/generated/google/apis/healthcare_v1alpha2/service.rb +12 -10
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/classes.rb +19 -10
- data/generated/google/apis/healthcare_v1beta1/representations.rb +1 -0
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +12 -12
- data/generated/google/apis/iamcredentials_v1.rb +1 -1
- data/generated/google/apis/iamcredentials_v1/classes.rb +0 -97
- data/generated/google/apis/iamcredentials_v1/representations.rb +0 -28
- data/generated/google/apis/iamcredentials_v1/service.rb +0 -36
- data/generated/google/apis/iap_v1.rb +1 -1
- data/generated/google/apis/iap_v1/classes.rb +2 -2
- data/generated/google/apis/iap_v1beta1.rb +1 -1
- data/generated/google/apis/iap_v1beta1/classes.rb +2 -2
- data/generated/google/apis/language_v1.rb +1 -1
- data/generated/google/apis/language_v1beta2.rb +1 -1
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +11 -11
- data/generated/google/apis/ml_v1/service.rb +14 -2
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/service.rb +21 -3
- data/generated/google/apis/pubsub_v1beta2.rb +1 -1
- data/generated/google/apis/pubsub_v1beta2/service.rb +14 -2
- data/generated/google/apis/run_v1alpha1.rb +1 -1
- data/generated/google/apis/run_v1alpha1/classes.rb +24 -19
- data/generated/google/apis/run_v1alpha1/representations.rb +4 -3
- data/generated/google/apis/run_v1alpha1/service.rb +7 -1
- data/generated/google/apis/run_v1beta1.rb +35 -0
- data/generated/google/apis/run_v1beta1/classes.rb +98 -0
- data/generated/google/apis/run_v1beta1/representations.rb +58 -0
- data/generated/google/apis/run_v1beta1/service.rb +99 -0
- data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +2 -2
- data/generated/google/apis/runtimeconfig_v1beta1/service.rb +7 -1
- data/generated/google/apis/securitycenter_v1.rb +1 -1
- data/generated/google/apis/securitycenter_v1/classes.rb +19 -10
- data/generated/google/apis/securitycenter_v1/representations.rb +1 -0
- data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1beta1/classes.rb +19 -10
- data/generated/google/apis/securitycenter_v1beta1/representations.rb +1 -0
- data/generated/google/apis/servicebroker_v1.rb +1 -1
- data/generated/google/apis/servicebroker_v1/classes.rb +2 -2
- data/generated/google/apis/servicebroker_v1/service.rb +7 -1
- data/generated/google/apis/servicebroker_v1alpha1.rb +1 -1
- data/generated/google/apis/servicebroker_v1alpha1/classes.rb +7 -10
- data/generated/google/apis/servicebroker_v1alpha1/service.rb +7 -1
- data/generated/google/apis/servicebroker_v1beta1.rb +1 -1
- data/generated/google/apis/servicebroker_v1beta1/classes.rb +13 -20
- data/generated/google/apis/servicebroker_v1beta1/service.rb +7 -1
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +10 -2
- data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +1 -0
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +18 -0
- data/generated/google/apis/servicemanagement_v1/representations.rb +2 -0
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +13 -4
- data/generated/google/apis/servicenetworking_v1/representations.rb +1 -0
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +13 -4
- data/generated/google/apis/servicenetworking_v1beta/representations.rb +1 -0
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +9 -0
- data/generated/google/apis/serviceusage_v1/representations.rb +1 -0
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +9 -0
- data/generated/google/apis/serviceusage_v1beta1/representations.rb +1 -0
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/slides_v1.rb +1 -1
- data/generated/google/apis/tagmanager_v1.rb +1 -1
- data/generated/google/apis/tagmanager_v2.rb +1 -1
- data/generated/google/apis/videointelligence_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1/service.rb +0 -104
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +1995 -0
- data/generated/google/apis/vision_v1/representations.rb +1711 -843
- data/generated/google/apis/vision_v1p1beta1.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1/classes.rb +1995 -0
- data/generated/google/apis/vision_v1p1beta1/representations.rb +1782 -914
- data/generated/google/apis/vision_v1p2beta1.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1/classes.rb +1995 -0
- data/generated/google/apis/vision_v1p2beta1/representations.rb +1832 -964
- data/lib/google/apis/version.rb +1 -1
- metadata +6 -2
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://developers.google.com/compute/docs/reference/latest/
|
26
26
|
module ComputeV1
|
27
27
|
VERSION = 'V1'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20190624'
|
29
29
|
|
30
30
|
# View and manage your data across Google Cloud Platform services
|
31
31
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
@@ -2083,10 +2083,34 @@ module Google
|
|
2083
2083
|
class Backend
|
2084
2084
|
include Google::Apis::Core::Hashable
|
2085
2085
|
|
2086
|
-
# Specifies the balancing mode for
|
2087
|
-
#
|
2088
|
-
#
|
2089
|
-
#
|
2086
|
+
# Specifies the balancing mode for the backend.
|
2087
|
+
# When choosing a balancing mode, you need to consider the loadBalancingScheme,
|
2088
|
+
# and protocol for the backend service, as well as the type of backend (instance
|
2089
|
+
# group or NEG).
|
2090
|
+
#
|
2091
|
+
# - If the load balancing mode is CONNECTION, then the load is spread based on
|
2092
|
+
# how many concurrent connections the backend can handle.
|
2093
|
+
# The CONNECTION balancing mode is only available if the protocol for the
|
2094
|
+
# backend service is SSL, TCP, or UDP.
|
2095
|
+
# If the loadBalancingScheme for the backend service is EXTERNAL (SSL Proxy and
|
2096
|
+
# TCP Proxy load balancers), you must also specify exactly one of the following
|
2097
|
+
# parameters: maxConnections, maxConnectionsPerInstance, or
|
2098
|
+
# maxConnectionsPerEndpoint.
|
2099
|
+
# If the loadBalancingScheme for the backend service is INTERNAL (internal TCP/
|
2100
|
+
# UDP load balancers), you cannot specify any additional parameters.
|
2101
|
+
#
|
2102
|
+
# - If the load balancing mode is RATE, then the load is spread based on the
|
2103
|
+
# rate of HTTP requests per second (RPS).
|
2104
|
+
# The RATE balancing mode is only available if the protocol for the backend
|
2105
|
+
# service is HTTP or HTTPS. You must specify exactly one of the following
|
2106
|
+
# parameters: maxRate, maxRatePerInstance, or maxRatePerEndpoint.
|
2107
|
+
#
|
2108
|
+
# - If the load balancing mode is UTILIZATION, then the load is spread based on
|
2109
|
+
# the CPU utilization of instances in an instance group.
|
2110
|
+
# The UTILIZATION balancing mode is only available if the loadBalancingScheme of
|
2111
|
+
# the backend service is EXTERNAL, INTERNAL_SELF_MANAGED, or INTERNAL_MANAGED
|
2112
|
+
# and the backend is made up of instance groups. There are no restrictions on
|
2113
|
+
# the backend service protocol.
|
2090
2114
|
# Corresponds to the JSON property `balancingMode`
|
2091
2115
|
# @return [String]
|
2092
2116
|
attr_accessor :balancing_mode
|
@@ -2107,47 +2131,61 @@ module Google
|
|
2107
2131
|
# @return [String]
|
2108
2132
|
attr_accessor :description
|
2109
2133
|
|
2110
|
-
# The fully-qualified URL of an
|
2111
|
-
# resource.
|
2112
|
-
#
|
2113
|
-
#
|
2114
|
-
#
|
2115
|
-
#
|
2116
|
-
#
|
2117
|
-
#
|
2118
|
-
#
|
2119
|
-
#
|
2120
|
-
#
|
2121
|
-
#
|
2122
|
-
#
|
2123
|
-
#
|
2124
|
-
# are not supported for INTERNAL load balancing scheme.
|
2134
|
+
# The fully-qualified URL of an instance group or network endpoint group (NEG)
|
2135
|
+
# resource. The type of backend that a backend service supports depends on the
|
2136
|
+
# backend service's loadBalancingScheme.
|
2137
|
+
#
|
2138
|
+
# - When the loadBalancingScheme for the backend service is EXTERNAL,
|
2139
|
+
# INTERNAL_SELF_MANAGED, or INTERNAL_MANAGED, the backend can be either an
|
2140
|
+
# instance group or a NEG. The backends on the backend service must be either
|
2141
|
+
# all instance groups or all NEGs. You cannot mix instance group and NEG
|
2142
|
+
# backends on the same backend service.
|
2143
|
+
# - When the loadBalancingScheme for the backend service is INTERNAL, the
|
2144
|
+
# backend must be an instance group in the same region as the backend service.
|
2145
|
+
# NEGs are not supported.
|
2146
|
+
# You must use the fully-qualified URL (starting with https://www.googleapis.com/
|
2147
|
+
# ) to specify the instance group or NEG. Partial URLs are not supported.
|
2125
2148
|
# Corresponds to the JSON property `group`
|
2126
2149
|
# @return [String]
|
2127
2150
|
attr_accessor :group
|
2128
2151
|
|
2129
|
-
#
|
2130
|
-
#
|
2131
|
-
#
|
2132
|
-
#
|
2152
|
+
# Defines a maximum target for simultaneous connections for the entire backend (
|
2153
|
+
# instance group or NEG). If the backend's balancingMode is UTILIZATION, this is
|
2154
|
+
# an optional parameter. If the backend's balancingMode is CONNECTION, and
|
2155
|
+
# backend is attached to a backend service whose loadBalancingScheme is EXTERNAL,
|
2156
|
+
# you must specify either this parameter, maxConnectionsPerInstance, or
|
2157
|
+
# maxConnectionsPerEndpoint.
|
2158
|
+
# Not available if the backend's balancingMode is RATE. If the
|
2159
|
+
# loadBalancingScheme is INTERNAL, then maxConnections is not supported, even
|
2160
|
+
# though the backend requires a balancing mode of CONNECTION.
|
2133
2161
|
# Corresponds to the JSON property `maxConnections`
|
2134
2162
|
# @return [Fixnum]
|
2135
2163
|
attr_accessor :max_connections
|
2136
2164
|
|
2137
|
-
#
|
2138
|
-
#
|
2139
|
-
#
|
2140
|
-
#
|
2141
|
-
#
|
2165
|
+
# Defines a maximum target for simultaneous connections for an endpoint of a NEG.
|
2166
|
+
# This is multiplied by the number of endpoints in the NEG to implicitly
|
2167
|
+
# calculate a maximum number of target maximum simultaneous connections for the
|
2168
|
+
# NEG. If the backend's balancingMode is CONNECTION, and the backend is attached
|
2169
|
+
# to a backend service whose loadBalancingScheme is EXTERNAL, you must specify
|
2170
|
+
# either this parameter, maxConnections, or maxConnectionsPerInstance.
|
2171
|
+
# Not available if the backend's balancingMode is RATE. Internal TCP/UDP load
|
2172
|
+
# balancing does not support setting maxConnectionsPerEndpoint even though its
|
2173
|
+
# backends require a balancing mode of CONNECTION.
|
2142
2174
|
# Corresponds to the JSON property `maxConnectionsPerEndpoint`
|
2143
2175
|
# @return [Fixnum]
|
2144
2176
|
attr_accessor :max_connections_per_endpoint
|
2145
2177
|
|
2146
|
-
#
|
2147
|
-
#
|
2148
|
-
#
|
2149
|
-
#
|
2150
|
-
#
|
2178
|
+
# Defines a maximum target for simultaneous connections for a single VM in a
|
2179
|
+
# backend instance group. This is multiplied by the number of instances in the
|
2180
|
+
# instance group to implicitly calculate a target maximum number of simultaneous
|
2181
|
+
# connections for the whole instance group. If the backend's balancingMode is
|
2182
|
+
# UTILIZATION, this is an optional parameter. If the backend's balancingMode is
|
2183
|
+
# CONNECTION, and backend is attached to a backend service whose
|
2184
|
+
# loadBalancingScheme is EXTERNAL, you must specify either this parameter,
|
2185
|
+
# maxConnections, or maxConnectionsPerEndpoint.
|
2186
|
+
# Not available if the backend's balancingMode is RATE. Internal TCP/UDP load
|
2187
|
+
# balancing does not support setting maxConnectionsPerInstance even though its
|
2188
|
+
# backends require a balancing mode of CONNECTION.
|
2151
2189
|
# Corresponds to the JSON property `maxConnectionsPerInstance`
|
2152
2190
|
# @return [Fixnum]
|
2153
2191
|
attr_accessor :max_connections_per_instance
|
@@ -2160,27 +2198,33 @@ module Google
|
|
2160
2198
|
# @return [Fixnum]
|
2161
2199
|
attr_accessor :max_rate
|
2162
2200
|
|
2163
|
-
#
|
2164
|
-
#
|
2165
|
-
#
|
2166
|
-
# must
|
2167
|
-
#
|
2201
|
+
# Defines a maximum target for requests per second (RPS) for an endpoint of a
|
2202
|
+
# NEG. This is multiplied by the number of endpoints in the NEG to implicitly
|
2203
|
+
# calculate a target maximum rate for the NEG.
|
2204
|
+
# If the backend's balancingMode is RATE, you must specify either this parameter,
|
2205
|
+
# maxRate, or maxRatePerInstance.
|
2206
|
+
# Not available if the backend's balancingMode is CONNECTION.
|
2168
2207
|
# Corresponds to the JSON property `maxRatePerEndpoint`
|
2169
2208
|
# @return [Float]
|
2170
2209
|
attr_accessor :max_rate_per_endpoint
|
2171
2210
|
|
2172
|
-
#
|
2173
|
-
# This is
|
2174
|
-
#
|
2175
|
-
#
|
2176
|
-
#
|
2211
|
+
# Defines a maximum target for requests per second (RPS) for a single VM in a
|
2212
|
+
# backend instance group. This is multiplied by the number of instances in the
|
2213
|
+
# instance group to implicitly calculate a target maximum rate for the whole
|
2214
|
+
# instance group.
|
2215
|
+
# If the backend's balancingMode is UTILIZATION, this is an optional parameter.
|
2216
|
+
# If the backend's balancingMode is RATE, you must specify either this parameter,
|
2217
|
+
# maxRate, or maxRatePerEndpoint.
|
2218
|
+
# Not available if the backend's balancingMode is CONNECTION.
|
2177
2219
|
# Corresponds to the JSON property `maxRatePerInstance`
|
2178
2220
|
# @return [Float]
|
2179
2221
|
attr_accessor :max_rate_per_instance
|
2180
2222
|
|
2181
|
-
#
|
2182
|
-
#
|
2183
|
-
#
|
2223
|
+
# Defines the maximum average CPU utilization of a backend VM in an instance
|
2224
|
+
# group. The valid range is [0.0, 1.0]. This is an optional parameter if the
|
2225
|
+
# backend's balancingMode is UTILIZATION.
|
2226
|
+
# This parameter can be used in conjunction with maxRate, maxRatePerInstance,
|
2227
|
+
# maxConnections, or maxConnectionsPerInstance.
|
2184
2228
|
# Corresponds to the JSON property `maxUtilization`
|
2185
2229
|
# @return [Float]
|
2186
2230
|
attr_accessor :max_utilization
|
@@ -2205,7 +2249,9 @@ module Google
|
|
2205
2249
|
end
|
2206
2250
|
end
|
2207
2251
|
|
2208
|
-
#
|
2252
|
+
# Represents a Cloud Storage Bucket resource.
|
2253
|
+
# This Cloud Storage bucket resource is referenced by a URL map of a load
|
2254
|
+
# balancer. For more information, read Backend Buckets.
|
2209
2255
|
class BackendBucket
|
2210
2256
|
include Google::Apis::Core::Hashable
|
2211
2257
|
|
@@ -2427,16 +2473,22 @@ module Google
|
|
2427
2473
|
end
|
2428
2474
|
end
|
2429
2475
|
|
2430
|
-
#
|
2431
|
-
#
|
2432
|
-
#
|
2476
|
+
# Represents a Backend Service resource.
|
2477
|
+
# Backend services must have an associated health check. Backend services also
|
2478
|
+
# store information about session affinity. For more information, read Backend
|
2479
|
+
# Services.
|
2480
|
+
# A backendServices resource represents a global backend service. Global backend
|
2481
|
+
# services are used for HTTP(S), SSL Proxy, TCP Proxy load balancing and Traffic
|
2482
|
+
# Director.
|
2483
|
+
# A regionBackendServices resource represents a regional backend service.
|
2484
|
+
# Regional backend services are used for internal TCP/UDP load balancing. For
|
2485
|
+
# more information, read Internal TCP/UDP Load balancing. (== resource_for v1.
|
2486
|
+
# backendService ==) (== resource_for beta.backendService ==)
|
2433
2487
|
class BackendService
|
2434
2488
|
include Google::Apis::Core::Hashable
|
2435
2489
|
|
2436
|
-
#
|
2437
|
-
#
|
2438
|
-
# session (or equivalent). The maximum allowed value for TTL is one day.
|
2439
|
-
# When the load balancing scheme is INTERNAL, this field is not used.
|
2490
|
+
# If set to 0, the cookie is non-persistent and lasts only until the end of the
|
2491
|
+
# browser session (or equivalent). The maximum allowed value is one day (86,400).
|
2440
2492
|
# Corresponds to the JSON property `affinityCookieTtlSec`
|
2441
2493
|
# @return [Fixnum]
|
2442
2494
|
attr_accessor :affinity_cookie_ttl_sec
|
@@ -2472,8 +2524,8 @@ module Google
|
|
2472
2524
|
# @return [String]
|
2473
2525
|
attr_accessor :description
|
2474
2526
|
|
2475
|
-
# If true,
|
2476
|
-
#
|
2527
|
+
# If true, enables Cloud CDN for the backend service. Only applicable if the
|
2528
|
+
# loadBalancingScheme is EXTERNAL and the protocol is HTTP or HTTPS.
|
2477
2529
|
# Corresponds to the JSON property `enableCDN`
|
2478
2530
|
# @return [Boolean]
|
2479
2531
|
attr_accessor :enable_cdn
|
@@ -2538,23 +2590,27 @@ module Google
|
|
2538
2590
|
|
2539
2591
|
# Deprecated in favor of portName. The TCP port to connect on the backend. The
|
2540
2592
|
# default value is 80.
|
2541
|
-
# This cannot be used
|
2593
|
+
# This cannot be used if the loadBalancingScheme is INTERNAL (Internal TCP/UDP
|
2594
|
+
# Load Balancing).
|
2542
2595
|
# Corresponds to the JSON property `port`
|
2543
2596
|
# @return [Fixnum]
|
2544
2597
|
attr_accessor :port
|
2545
2598
|
|
2546
|
-
#
|
2547
|
-
#
|
2548
|
-
# EXTERNAL.
|
2549
|
-
#
|
2599
|
+
# A named port on a backend instance group representing the port for
|
2600
|
+
# communication to the backend VMs in that group. Required when the
|
2601
|
+
# loadBalancingScheme is EXTERNAL and the backends are instance groups. The
|
2602
|
+
# named port must be defined on each backend instance group. This parameter has
|
2603
|
+
# no meaning if the backends are NEGs.
|
2604
|
+
# Must be omitted when the loadBalancingScheme is INTERNAL (Internal TCP/UDP
|
2605
|
+
# Load Blaancing).
|
2550
2606
|
# Corresponds to the JSON property `portName`
|
2551
2607
|
# @return [String]
|
2552
2608
|
attr_accessor :port_name
|
2553
2609
|
|
2554
2610
|
# The protocol this BackendService uses to communicate with backends.
|
2555
|
-
# Possible values are HTTP, HTTPS, TCP,
|
2556
|
-
#
|
2557
|
-
#
|
2611
|
+
# Possible values are HTTP, HTTPS, TCP, SSL, or UDP, depending on the chosen
|
2612
|
+
# load balancer or Traffic Director configuration. Refer to the documentation
|
2613
|
+
# for the load balancer or for Traffic director for more information.
|
2558
2614
|
# Corresponds to the JSON property `protocol`
|
2559
2615
|
# @return [String]
|
2560
2616
|
attr_accessor :protocol
|
@@ -2578,18 +2634,22 @@ module Google
|
|
2578
2634
|
# @return [String]
|
2579
2635
|
attr_accessor :self_link
|
2580
2636
|
|
2581
|
-
# Type of session affinity to use. The default is NONE.
|
2582
|
-
#
|
2583
|
-
#
|
2584
|
-
#
|
2637
|
+
# Type of session affinity to use. The default is NONE. Session affinity is not
|
2638
|
+
# applicable if the --protocol is UDP.
|
2639
|
+
# When the loadBalancingScheme is EXTERNAL, possible values are NONE, CLIENT_IP,
|
2640
|
+
# or GENERATED_COOKIE. GENERATED_COOKIE is only available if the protocol is
|
2641
|
+
# HTTP or HTTPS.
|
2642
|
+
# When the loadBalancingScheme is INTERNAL, possible values are NONE, CLIENT_IP,
|
2585
2643
|
# CLIENT_IP_PROTO, or CLIENT_IP_PORT_PROTO.
|
2586
|
-
# When the
|
2644
|
+
# When the loadBalancingScheme is INTERNAL_SELF_MANAGED, possible values are
|
2645
|
+
# NONE, CLIENT_IP, GENERATED_COOKIE, HEADER_FIELD, or HTTP_COOKIE.
|
2587
2646
|
# Corresponds to the JSON property `sessionAffinity`
|
2588
2647
|
# @return [String]
|
2589
2648
|
attr_accessor :session_affinity
|
2590
2649
|
|
2591
|
-
#
|
2592
|
-
#
|
2650
|
+
# The backend service timeout has a different meaning depending on the type of
|
2651
|
+
# load balancer. For more information read, Backend service settings The
|
2652
|
+
# default is 30 seconds.
|
2593
2653
|
# Corresponds to the JSON property `timeoutSec`
|
2594
2654
|
# @return [Fixnum]
|
2595
2655
|
attr_accessor :timeout_sec
|
@@ -3692,8 +3752,9 @@ module Google
|
|
3692
3752
|
class ConnectionDraining
|
3693
3753
|
include Google::Apis::Core::Hashable
|
3694
3754
|
|
3695
|
-
#
|
3696
|
-
#
|
3755
|
+
# The amount of time in seconds to allow existing connections to persist while
|
3756
|
+
# on unhealthy backend VMs. Only applicable if the protocol is not UDP. The
|
3757
|
+
# valid range is [0, 3600].
|
3697
3758
|
# Corresponds to the JSON property `drainingTimeoutSec`
|
3698
3759
|
# @return [Fixnum]
|
3699
3760
|
attr_accessor :draining_timeout_sec
|
@@ -5492,13 +5553,32 @@ module Google
|
|
5492
5553
|
end
|
5493
5554
|
end
|
5494
5555
|
|
5495
|
-
#
|
5496
|
-
#
|
5497
|
-
#
|
5498
|
-
#
|
5499
|
-
#
|
5500
|
-
#
|
5501
|
-
#
|
5556
|
+
# Represents a Forwarding Rule resource.
|
5557
|
+
# A forwardingRules resource represents a regional forwarding rule.
|
5558
|
+
# Regional external forwarding rules can reference any of the following
|
5559
|
+
# resources:
|
5560
|
+
#
|
5561
|
+
# - A target instance
|
5562
|
+
# - A Cloud VPN Classic gateway (targetVpnGateway),
|
5563
|
+
# - A target pool for a Network Load Balancer
|
5564
|
+
# - A global target HTTP(S) proxy for an HTTP(S) load balancer using Standard
|
5565
|
+
# Tier
|
5566
|
+
# - A target SSL proxy for a SSL Proxy load balancer using Standard Tier
|
5567
|
+
# - A target TCP proxy for a TCP Proxy load balancer using Standard Tier.
|
5568
|
+
# Regional internal forwarding rules can reference the backend service of an
|
5569
|
+
# internal TCP/UDP load balancer.
|
5570
|
+
# For regional internal forwarding rules, the following applies:
|
5571
|
+
# - If the loadBalancingScheme for the load balancer is INTERNAL, then the
|
5572
|
+
# forwarding rule references a regional internal backend service.
|
5573
|
+
# - If the loadBalancingScheme for the load balancer is INTERNAL_MANAGED, then
|
5574
|
+
# the forwarding rule must reference a regional target HTTP(S) proxy.
|
5575
|
+
# For more information, read Using Forwarding rules.
|
5576
|
+
# A globalForwardingRules resource represents a global forwarding rule.
|
5577
|
+
# Global forwarding rules are only used by load balancers that use Premium Tier.
|
5578
|
+
# (== resource_for beta.forwardingRules ==) (== resource_for v1.forwardingRules =
|
5579
|
+
# =) (== resource_for beta.globalForwardingRules ==) (== resource_for v1.
|
5580
|
+
# globalForwardingRules ==) (== resource_for beta.regionForwardingRules ==) (==
|
5581
|
+
# resource_for v1.regionForwardingRules ==)
|
5502
5582
|
class ForwardingRule
|
5503
5583
|
include Google::Apis::Core::Hashable
|
5504
5584
|
|
@@ -6520,9 +6600,11 @@ module Google
|
|
6520
6600
|
end
|
6521
6601
|
end
|
6522
6602
|
|
6523
|
-
#
|
6524
|
-
#
|
6525
|
-
#
|
6603
|
+
# Represents a Health Check resource.
|
6604
|
+
# Health checks are used for most GCP load balancers and managed instance group
|
6605
|
+
# auto-healing. For more information, read Health Check Concepts.
|
6606
|
+
# To perform health checks on network load balancers, you must use either
|
6607
|
+
# httpHealthChecks or httpsHealthChecks.
|
6526
6608
|
class HealthCheck
|
6527
6609
|
include Google::Apis::Core::Hashable
|
6528
6610
|
|
@@ -6903,8 +6985,9 @@ module Google
|
|
6903
6985
|
end
|
6904
6986
|
end
|
6905
6987
|
|
6906
|
-
#
|
6907
|
-
#
|
6988
|
+
# Represents a legacy HTTP Health Check resource.
|
6989
|
+
# Legacy health checks are required by network load balancers. For more
|
6990
|
+
# information, read Health Check Concepts.
|
6908
6991
|
class HttpHealthCheck
|
6909
6992
|
include Google::Apis::Core::Hashable
|
6910
6993
|
|
@@ -6965,6 +7048,7 @@ module Google
|
|
6965
7048
|
attr_accessor :port
|
6966
7049
|
|
6967
7050
|
# The request path of the HTTP health check request. The default value is /.
|
7051
|
+
# This field does not support query parameters.
|
6968
7052
|
# Corresponds to the JSON property `requestPath`
|
6969
7053
|
# @return [String]
|
6970
7054
|
attr_accessor :request_path
|
@@ -7126,8 +7210,9 @@ module Google
|
|
7126
7210
|
end
|
7127
7211
|
end
|
7128
7212
|
|
7129
|
-
#
|
7130
|
-
#
|
7213
|
+
# Represents a legacy HTTPS Health Check resource.
|
7214
|
+
# Legacy health checks are required by network load balancers. For more
|
7215
|
+
# information, read Health Check Concepts.
|
7131
7216
|
class HttpsHealthCheck
|
7132
7217
|
include Google::Apis::Core::Hashable
|
7133
7218
|
|
@@ -14142,19 +14227,18 @@ module Google
|
|
14142
14227
|
|
14143
14228
|
# This field will be deprecated soon. Use the exchange_subnet_routes field
|
14144
14229
|
# instead. Indicates whether full mesh connectivity is created and managed
|
14145
|
-
# automatically
|
14146
|
-
#
|
14147
|
-
#
|
14148
|
-
# peer network.
|
14230
|
+
# automatically between peered networks. Currently this field should always be
|
14231
|
+
# true since Google Compute Engine will automatically create and manage
|
14232
|
+
# subnetwork routes between two networks when peering state is ACTIVE.
|
14149
14233
|
# Corresponds to the JSON property `autoCreateRoutes`
|
14150
14234
|
# @return [Boolean]
|
14151
14235
|
attr_accessor :auto_create_routes
|
14152
14236
|
alias_method :auto_create_routes?, :auto_create_routes
|
14153
14237
|
|
14154
|
-
#
|
14155
|
-
#
|
14156
|
-
#
|
14157
|
-
#
|
14238
|
+
# Indicates whether full mesh connectivity is created and managed automatically
|
14239
|
+
# between peered networks. Currently this field should always be true since
|
14240
|
+
# Google Compute Engine will automatically create and manage subnetwork routes
|
14241
|
+
# between two networks when peering state is ACTIVE.
|
14158
14242
|
# Corresponds to the JSON property `exchangeSubnetRoutes`
|
14159
14243
|
# @return [Boolean]
|
14160
14244
|
attr_accessor :exchange_subnet_routes
|
@@ -14233,8 +14317,10 @@ module Google
|
|
14233
14317
|
include Google::Apis::Core::Hashable
|
14234
14318
|
|
14235
14319
|
# This field will be deprecated soon. Use exchange_subnet_routes in
|
14236
|
-
# network_peering instead.
|
14237
|
-
# automatically.
|
14320
|
+
# network_peering instead. Indicates whether full mesh connectivity is created
|
14321
|
+
# and managed automatically between peered networks. Currently this field should
|
14322
|
+
# always be true since Google Compute Engine will automatically create and
|
14323
|
+
# manage subnetwork routes between two networks when peering state is ACTIVE.
|
14238
14324
|
# Corresponds to the JSON property `autoCreateRoutes`
|
14239
14325
|
# @return [Boolean]
|
14240
14326
|
attr_accessor :auto_create_routes
|
@@ -20721,7 +20807,8 @@ module Google
|
|
20721
20807
|
attr_accessor :automatic_restart
|
20722
20808
|
alias_method :automatic_restart?, :automatic_restart
|
20723
20809
|
|
20724
|
-
# A set of node affinity and anti-affinity.
|
20810
|
+
# A set of node affinity and anti-affinity configurations. Refer to Configuring
|
20811
|
+
# node affinity for more information.
|
20725
20812
|
# Corresponds to the JSON property `nodeAffinities`
|
20726
20813
|
# @return [Array<Google::Apis::ComputeV1::SchedulingNodeAffinity>]
|
20727
20814
|
attr_accessor :node_affinities
|
@@ -20765,7 +20852,8 @@ module Google
|
|
20765
20852
|
# @return [String]
|
20766
20853
|
attr_accessor :key
|
20767
20854
|
|
20768
|
-
# Defines the operation of node selection.
|
20855
|
+
# Defines the operation of node selection. Valid operators are IN for affinity
|
20856
|
+
# and NOT_IN for anti-affinity.
|
20769
20857
|
# Corresponds to the JSON property `operator`
|
20770
20858
|
# @return [String]
|
20771
20859
|
attr_accessor :operator
|
@@ -20787,9 +20875,11 @@ module Google
|
|
20787
20875
|
end
|
20788
20876
|
end
|
20789
20877
|
|
20790
|
-
#
|
20791
|
-
#
|
20792
|
-
#
|
20878
|
+
# Represents a Cloud Armor Security Policy resource.
|
20879
|
+
# Only external backend services that use load balancers can reference a
|
20880
|
+
# Security Policy. For more information, read Cloud Armor Security Policy
|
20881
|
+
# Concepts. (== resource_for v1.securityPolicies ==) (== resource_for beta.
|
20882
|
+
# securityPolicies ==)
|
20793
20883
|
class SecurityPolicy
|
20794
20884
|
include Google::Apis::Core::Hashable
|
20795
20885
|
|
@@ -21648,10 +21738,11 @@ module Google
|
|
21648
21738
|
end
|
21649
21739
|
end
|
21650
21740
|
|
21651
|
-
#
|
21652
|
-
# SSL
|
21653
|
-
#
|
21654
|
-
#
|
21741
|
+
# Represents an SSL Certificate resource.
|
21742
|
+
# This SSL certificate resource also contains a private key. You can use SSL
|
21743
|
+
# keys and certificates to secure connections to a load balancer. For more
|
21744
|
+
# information, read Creating and Using SSL Certificates. (== resource_for beta.
|
21745
|
+
# sslCertificates ==) (== resource_for v1.sslCertificates ==)
|
21655
21746
|
class SslCertificate
|
21656
21747
|
include Google::Apis::Core::Hashable
|
21657
21748
|
|
@@ -21977,10 +22068,11 @@ module Google
|
|
21977
22068
|
end
|
21978
22069
|
end
|
21979
22070
|
|
21980
|
-
#
|
21981
|
-
#
|
21982
|
-
#
|
21983
|
-
#
|
22071
|
+
# Represents a Cloud Armor Security Policy resource.
|
22072
|
+
# Only external backend services used by HTTP or HTTPS load balancers can
|
22073
|
+
# reference a Security Policy. For more information, read read Cloud Armor
|
22074
|
+
# Security Policy Concepts. (== resource_for beta.sslPolicies ==) (==
|
22075
|
+
# resource_for v1.sslPolicies ==)
|
21984
22076
|
class SslPolicy
|
21985
22077
|
include Google::Apis::Core::Hashable
|
21986
22078
|
|
@@ -22803,7 +22895,10 @@ module Google
|
|
22803
22895
|
end
|
22804
22896
|
end
|
22805
22897
|
|
22806
|
-
#
|
22898
|
+
# Represents a Target HTTP Proxy resource.
|
22899
|
+
# A target HTTP proxy is a component of certain types of load balancers. Global
|
22900
|
+
# forwarding rules reference a target HTTP proxy, and the target proxy then
|
22901
|
+
# references a URL map. For more information, read Using Target Proxies. (==
|
22807
22902
|
# resource_for beta.targetHttpProxies ==) (== resource_for v1.targetHttpProxies =
|
22808
22903
|
# =)
|
22809
22904
|
class TargetHttpProxy
|
@@ -23026,7 +23121,10 @@ module Google
|
|
23026
23121
|
end
|
23027
23122
|
end
|
23028
23123
|
|
23029
|
-
#
|
23124
|
+
# Represents a Target HTTPS Proxy resource.
|
23125
|
+
# A target HTTPS proxy is a component of certain types of load balancers. Global
|
23126
|
+
# forwarding rules reference a target HTTPS proxy, and the target proxy then
|
23127
|
+
# references a URL map. For more information, read Using Target Proxies. (==
|
23030
23128
|
# resource_for beta.targetHttpsProxies ==) (== resource_for v1.
|
23031
23129
|
# targetHttpsProxies ==)
|
23032
23130
|
class TargetHttpsProxy
|
@@ -23657,9 +23755,12 @@ module Google
|
|
23657
23755
|
end
|
23658
23756
|
end
|
23659
23757
|
|
23660
|
-
#
|
23661
|
-
#
|
23662
|
-
#
|
23758
|
+
# Represents a Target Pool resource.
|
23759
|
+
# Target pools are used for network TCP/UDP load balancing. A target pool
|
23760
|
+
# references member instances, an associated legacy HttpHealthCheck resource,
|
23761
|
+
# and, optionally, a backup target pool. For more information, read Using target
|
23762
|
+
# pools. (== resource_for beta.targetPools ==) (== resource_for v1.targetPools ==
|
23763
|
+
# )
|
23663
23764
|
class TargetPool
|
23664
23765
|
include Google::Apis::Core::Hashable
|
23665
23766
|
|
@@ -24298,8 +24399,12 @@ module Google
|
|
24298
24399
|
end
|
24299
24400
|
end
|
24300
24401
|
|
24301
|
-
#
|
24302
|
-
#
|
24402
|
+
# Represents a Target SSL Proxy resource.
|
24403
|
+
# A target SSL proxy is a component of a SSL Proxy load balancer. Global
|
24404
|
+
# forwarding rules reference a target SSL proxy, and the target proxy then
|
24405
|
+
# references an external backend service. For more information, read Using
|
24406
|
+
# Target Proxies. (== resource_for beta.targetSslProxies ==) (== resource_for v1.
|
24407
|
+
# targetSslProxies ==)
|
24303
24408
|
class TargetSslProxy
|
24304
24409
|
include Google::Apis::Core::Hashable
|
24305
24410
|
|
@@ -24541,8 +24646,12 @@ module Google
|
|
24541
24646
|
end
|
24542
24647
|
end
|
24543
24648
|
|
24544
|
-
#
|
24545
|
-
#
|
24649
|
+
# Represents a Target TCP Proxy resource.
|
24650
|
+
# A target TCP proxy is a component of a TCP Proxy load balancer. Global
|
24651
|
+
# forwarding rules reference ta target TCP proxy, and the target proxy then
|
24652
|
+
# references an external backend service. For more information, read TCP Proxy
|
24653
|
+
# Load Balancing Concepts. (== resource_for beta.targetTcpProxies ==) (==
|
24654
|
+
# resource_for v1.targetTcpProxies ==)
|
24546
24655
|
class TargetTcpProxy
|
24547
24656
|
include Google::Apis::Core::Hashable
|
24548
24657
|
|
@@ -25229,9 +25338,13 @@ module Google
|
|
25229
25338
|
end
|
25230
25339
|
end
|
25231
25340
|
|
25232
|
-
#
|
25233
|
-
#
|
25234
|
-
#
|
25341
|
+
# Represents a URL Map resource.
|
25342
|
+
# A URL map resource is a component of certain types of load balancers. This
|
25343
|
+
# resource defines mappings from host names and URL paths to either a backend
|
25344
|
+
# service or a backend bucket.
|
25345
|
+
# To use this resource, the backend service must have a loadBalancingScheme of
|
25346
|
+
# either EXTERNAL, INTERNAL_SELF_MANAGED, or INTERNAL_MANAGED For more
|
25347
|
+
# information, read URL Map Concepts.
|
25235
25348
|
class UrlMap
|
25236
25349
|
include Google::Apis::Core::Hashable
|
25237
25350
|
|
@@ -25551,9 +25664,13 @@ module Google
|
|
25551
25664
|
class ValidateUrlMapsRequest
|
25552
25665
|
include Google::Apis::Core::Hashable
|
25553
25666
|
|
25554
|
-
#
|
25555
|
-
#
|
25556
|
-
#
|
25667
|
+
# Represents a URL Map resource.
|
25668
|
+
# A URL map resource is a component of certain types of load balancers. This
|
25669
|
+
# resource defines mappings from host names and URL paths to either a backend
|
25670
|
+
# service or a backend bucket.
|
25671
|
+
# To use this resource, the backend service must have a loadBalancingScheme of
|
25672
|
+
# either EXTERNAL, INTERNAL_SELF_MANAGED, or INTERNAL_MANAGED For more
|
25673
|
+
# information, read URL Map Concepts.
|
25557
25674
|
# Corresponds to the JSON property `resource`
|
25558
25675
|
# @return [Google::Apis::ComputeV1::UrlMap]
|
25559
25676
|
attr_accessor :resource
|