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.
Files changed (165) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +63 -0
  3. data/generated/google/apis/accesscontextmanager_v1.rb +1 -1
  4. data/generated/google/apis/accesscontextmanager_v1/service.rb +1 -1
  5. data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
  6. data/generated/google/apis/accesscontextmanager_v1beta/service.rb +1 -1
  7. data/generated/google/apis/analyticsreporting_v4.rb +1 -1
  8. data/generated/google/apis/analyticsreporting_v4/classes.rb +11 -7
  9. data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
  10. data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +1 -1
  11. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  12. data/generated/google/apis/androidmanagement_v1/classes.rb +2 -2
  13. data/generated/google/apis/cloudasset_v1.rb +1 -1
  14. data/generated/google/apis/cloudasset_v1/classes.rb +19 -10
  15. data/generated/google/apis/cloudasset_v1/representations.rb +1 -0
  16. data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
  17. data/generated/google/apis/cloudasset_v1beta1/classes.rb +19 -10
  18. data/generated/google/apis/cloudasset_v1beta1/representations.rb +1 -0
  19. data/generated/google/apis/cloudbilling_v1.rb +1 -1
  20. data/generated/google/apis/cloudbilling_v1/classes.rb +19 -10
  21. data/generated/google/apis/cloudbilling_v1/representations.rb +1 -0
  22. data/generated/google/apis/cloudbilling_v1/service.rb +7 -1
  23. data/generated/google/apis/cloudiot_v1.rb +1 -1
  24. data/generated/google/apis/cloudiot_v1/classes.rb +28 -0
  25. data/generated/google/apis/cloudiot_v1/representations.rb +15 -0
  26. data/generated/google/apis/cloudprivatecatalogproducer_v1beta1.rb +1 -1
  27. data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/classes.rb +19 -10
  28. data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/representations.rb +1 -0
  29. data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/service.rb +7 -1
  30. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  31. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +10 -10
  32. data/generated/google/apis/cloudresourcemanager_v1/service.rb +4 -6
  33. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  34. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +10 -10
  35. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  36. data/generated/google/apis/cloudresourcemanager_v2/classes.rb +10 -10
  37. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  38. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +10 -10
  39. data/generated/google/apis/compute_alpha.rb +1 -1
  40. data/generated/google/apis/compute_alpha/classes.rb +261 -145
  41. data/generated/google/apis/compute_beta.rb +1 -1
  42. data/generated/google/apis/compute_beta/classes.rb +261 -145
  43. data/generated/google/apis/compute_beta/service.rb +1 -1
  44. data/generated/google/apis/compute_v1.rb +1 -1
  45. data/generated/google/apis/compute_v1/classes.rb +242 -125
  46. data/generated/google/apis/container_v1.rb +1 -1
  47. data/generated/google/apis/container_v1/classes.rb +43 -0
  48. data/generated/google/apis/container_v1/representations.rb +19 -0
  49. data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
  50. data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +28 -0
  51. data/generated/google/apis/containeranalysis_v1alpha1/representations.rb +15 -0
  52. data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
  53. data/generated/google/apis/containeranalysis_v1beta1/classes.rb +28 -0
  54. data/generated/google/apis/containeranalysis_v1beta1/representations.rb +15 -0
  55. data/generated/google/apis/content_v2.rb +1 -1
  56. data/generated/google/apis/content_v2/classes.rb +0 -6
  57. data/generated/google/apis/content_v2/representations.rb +0 -1
  58. data/generated/google/apis/content_v2_1.rb +1 -1
  59. data/generated/google/apis/content_v2_1/classes.rb +1 -1
  60. data/generated/google/apis/dataproc_v1.rb +1 -1
  61. data/generated/google/apis/dataproc_v1/classes.rb +27 -0
  62. data/generated/google/apis/dataproc_v1/representations.rb +15 -0
  63. data/generated/google/apis/dataproc_v1/service.rb +0 -216
  64. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  65. data/generated/google/apis/dataproc_v1beta2/classes.rb +27 -0
  66. data/generated/google/apis/dataproc_v1beta2/representations.rb +15 -0
  67. data/generated/google/apis/dataproc_v1beta2/service.rb +42 -7
  68. data/generated/google/apis/dialogflow_v2.rb +1 -1
  69. data/generated/google/apis/dialogflow_v2/classes.rb +146 -0
  70. data/generated/google/apis/dialogflow_v2/representations.rb +75 -0
  71. data/generated/google/apis/dialogflow_v2/service.rb +47 -0
  72. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  73. data/generated/google/apis/dialogflow_v2beta1/classes.rb +146 -0
  74. data/generated/google/apis/dialogflow_v2beta1/representations.rb +75 -0
  75. data/generated/google/apis/dialogflow_v2beta1/service.rb +47 -0
  76. data/generated/google/apis/fcm_v1.rb +1 -1
  77. data/generated/google/apis/fcm_v1/classes.rb +29 -0
  78. data/generated/google/apis/fcm_v1/representations.rb +3 -0
  79. data/generated/google/apis/healthcare_v1alpha2.rb +1 -1
  80. data/generated/google/apis/healthcare_v1alpha2/classes.rb +19 -10
  81. data/generated/google/apis/healthcare_v1alpha2/representations.rb +1 -0
  82. data/generated/google/apis/healthcare_v1alpha2/service.rb +12 -10
  83. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  84. data/generated/google/apis/healthcare_v1beta1/classes.rb +19 -10
  85. data/generated/google/apis/healthcare_v1beta1/representations.rb +1 -0
  86. data/generated/google/apis/iam_v1.rb +1 -1
  87. data/generated/google/apis/iam_v1/classes.rb +12 -12
  88. data/generated/google/apis/iamcredentials_v1.rb +1 -1
  89. data/generated/google/apis/iamcredentials_v1/classes.rb +0 -97
  90. data/generated/google/apis/iamcredentials_v1/representations.rb +0 -28
  91. data/generated/google/apis/iamcredentials_v1/service.rb +0 -36
  92. data/generated/google/apis/iap_v1.rb +1 -1
  93. data/generated/google/apis/iap_v1/classes.rb +2 -2
  94. data/generated/google/apis/iap_v1beta1.rb +1 -1
  95. data/generated/google/apis/iap_v1beta1/classes.rb +2 -2
  96. data/generated/google/apis/language_v1.rb +1 -1
  97. data/generated/google/apis/language_v1beta2.rb +1 -1
  98. data/generated/google/apis/ml_v1.rb +1 -1
  99. data/generated/google/apis/ml_v1/classes.rb +11 -11
  100. data/generated/google/apis/ml_v1/service.rb +14 -2
  101. data/generated/google/apis/pubsub_v1.rb +1 -1
  102. data/generated/google/apis/pubsub_v1/service.rb +21 -3
  103. data/generated/google/apis/pubsub_v1beta2.rb +1 -1
  104. data/generated/google/apis/pubsub_v1beta2/service.rb +14 -2
  105. data/generated/google/apis/run_v1alpha1.rb +1 -1
  106. data/generated/google/apis/run_v1alpha1/classes.rb +24 -19
  107. data/generated/google/apis/run_v1alpha1/representations.rb +4 -3
  108. data/generated/google/apis/run_v1alpha1/service.rb +7 -1
  109. data/generated/google/apis/run_v1beta1.rb +35 -0
  110. data/generated/google/apis/run_v1beta1/classes.rb +98 -0
  111. data/generated/google/apis/run_v1beta1/representations.rb +58 -0
  112. data/generated/google/apis/run_v1beta1/service.rb +99 -0
  113. data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
  114. data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +2 -2
  115. data/generated/google/apis/runtimeconfig_v1beta1/service.rb +7 -1
  116. data/generated/google/apis/securitycenter_v1.rb +1 -1
  117. data/generated/google/apis/securitycenter_v1/classes.rb +19 -10
  118. data/generated/google/apis/securitycenter_v1/representations.rb +1 -0
  119. data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
  120. data/generated/google/apis/securitycenter_v1beta1/classes.rb +19 -10
  121. data/generated/google/apis/securitycenter_v1beta1/representations.rb +1 -0
  122. data/generated/google/apis/servicebroker_v1.rb +1 -1
  123. data/generated/google/apis/servicebroker_v1/classes.rb +2 -2
  124. data/generated/google/apis/servicebroker_v1/service.rb +7 -1
  125. data/generated/google/apis/servicebroker_v1alpha1.rb +1 -1
  126. data/generated/google/apis/servicebroker_v1alpha1/classes.rb +7 -10
  127. data/generated/google/apis/servicebroker_v1alpha1/service.rb +7 -1
  128. data/generated/google/apis/servicebroker_v1beta1.rb +1 -1
  129. data/generated/google/apis/servicebroker_v1beta1/classes.rb +13 -20
  130. data/generated/google/apis/servicebroker_v1beta1/service.rb +7 -1
  131. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  132. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +10 -2
  133. data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +1 -0
  134. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  135. data/generated/google/apis/servicemanagement_v1/classes.rb +18 -0
  136. data/generated/google/apis/servicemanagement_v1/representations.rb +2 -0
  137. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  138. data/generated/google/apis/servicenetworking_v1/classes.rb +13 -4
  139. data/generated/google/apis/servicenetworking_v1/representations.rb +1 -0
  140. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  141. data/generated/google/apis/servicenetworking_v1beta/classes.rb +13 -4
  142. data/generated/google/apis/servicenetworking_v1beta/representations.rb +1 -0
  143. data/generated/google/apis/serviceusage_v1.rb +1 -1
  144. data/generated/google/apis/serviceusage_v1/classes.rb +9 -0
  145. data/generated/google/apis/serviceusage_v1/representations.rb +1 -0
  146. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  147. data/generated/google/apis/serviceusage_v1beta1/classes.rb +9 -0
  148. data/generated/google/apis/serviceusage_v1beta1/representations.rb +1 -0
  149. data/generated/google/apis/sheets_v4.rb +1 -1
  150. data/generated/google/apis/slides_v1.rb +1 -1
  151. data/generated/google/apis/tagmanager_v1.rb +1 -1
  152. data/generated/google/apis/tagmanager_v2.rb +1 -1
  153. data/generated/google/apis/videointelligence_v1.rb +1 -1
  154. data/generated/google/apis/videointelligence_v1/service.rb +0 -104
  155. data/generated/google/apis/vision_v1.rb +1 -1
  156. data/generated/google/apis/vision_v1/classes.rb +1995 -0
  157. data/generated/google/apis/vision_v1/representations.rb +1711 -843
  158. data/generated/google/apis/vision_v1p1beta1.rb +1 -1
  159. data/generated/google/apis/vision_v1p1beta1/classes.rb +1995 -0
  160. data/generated/google/apis/vision_v1p1beta1/representations.rb +1782 -914
  161. data/generated/google/apis/vision_v1p2beta1.rb +1 -1
  162. data/generated/google/apis/vision_v1p2beta1/classes.rb +1995 -0
  163. data/generated/google/apis/vision_v1p2beta1/representations.rb +1832 -964
  164. data/lib/google/apis/version.rb +1 -1
  165. metadata +6 -2
@@ -47,7 +47,7 @@ module Google
47
47
  attr_accessor :user_ip
48
48
 
49
49
  def initialize
50
- super('https://www.googleapis.com/', 'compute/beta/projects/')
50
+ super('https://compute.googleapis.com/', 'compute/beta/projects/')
51
51
  @batch_path = 'batch/compute/beta'
52
52
  end
53
53
 
@@ -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 = '20190618'
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 this backend. For global HTTP(S) or TCP/SSL
2087
- # load balancing, the default is UTILIZATION. Valid values are UTILIZATION, RATE
2088
- # (for HTTP(S)) and CONNECTION (for TCP/SSL).
2089
- # For Internal Load Balancing, the default and only supported mode is CONNECTION.
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 Instance Group or Network Endpoint Group
2111
- # resource. In case of instance group this defines the list of instances that
2112
- # serve traffic. Member virtual machine instances from each instance group must
2113
- # live in the same zone as the instance group itself. No two backends in a
2114
- # backend service are allowed to use same Instance Group resource.
2115
- # For Network Endpoint Groups this defines list of endpoints. All endpoints of
2116
- # Network Endpoint Group must be hosted on instances located in the same zone as
2117
- # the Network Endpoint Group.
2118
- # Backend service can not contain mix of Instance Group and Network Endpoint
2119
- # Group backends.
2120
- # Note that you must specify an Instance Group or Network Endpoint Group
2121
- # resource using the fully-qualified URL, rather than a partial URL.
2122
- # When the BackendService has load balancing scheme INTERNAL, the instance group
2123
- # must be within the same region as the BackendService. Network Endpoint Groups
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
- # The max number of simultaneous connections for the group. Can be used with
2130
- # either CONNECTION or UTILIZATION balancing modes. For CONNECTION mode, either
2131
- # maxConnections or maxConnectionsPerInstance must be set.
2132
- # This cannot be used for internal load balancing.
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
- # The max number of simultaneous connections that a single backend network
2138
- # endpoint can handle. This is used to calculate the capacity of the group. Can
2139
- # be used in either CONNECTION or UTILIZATION balancing modes. For CONNECTION
2140
- # mode, either maxConnections or maxConnectionsPerEndpoint must be set.
2141
- # This cannot be used for internal load balancing.
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
- # The max number of simultaneous connections that a single backend instance can
2147
- # handle. This is used to calculate the capacity of the group. Can be used in
2148
- # either CONNECTION or UTILIZATION balancing modes. For CONNECTION mode, either
2149
- # maxConnections or maxConnectionsPerInstance must be set.
2150
- # This cannot be used for internal load balancing.
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
- # The max requests per second (RPS) that a single backend network endpoint can
2164
- # handle. This is used to calculate the capacity of the group. Can be used in
2165
- # either balancing mode. For RATE mode, either maxRate or maxRatePerEndpoint
2166
- # must be set.
2167
- # This cannot be used for internal load balancing.
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
- # The max requests per second (RPS) that a single backend instance can handle.
2173
- # This is used to calculate the capacity of the group. Can be used in either
2174
- # balancing mode. For RATE mode, either maxRate or maxRatePerInstance must be
2175
- # set.
2176
- # This cannot be used for internal load balancing.
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
- # Used when balancingMode is UTILIZATION. This ratio defines the CPU utilization
2182
- # target for the group. The default is 0.8. Valid range is [0.0, 1.0].
2183
- # This cannot be used for internal load balancing.
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
- # A BackendBucket resource. This resource defines a Cloud Storage bucket.
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
- # A BackendService resource. This resource defines a group of backend virtual
2431
- # machines and their serving capacity. (== resource_for v1.backendService ==) (==
2432
- # resource_for beta.backendService ==)
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
- # Lifetime of cookies in seconds if session_affinity is GENERATED_COOKIE. If set
2437
- # to 0, the cookie is non-persistent and lasts only until the end of the browser
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, enable Cloud CDN for this BackendService.
2476
- # When the load balancing scheme is INTERNAL, this field is not used.
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 for internal load balancing.
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
- # Name of backend port. The same name should appear in the instance groups
2547
- # referenced by this service. Required when the load balancing scheme is
2548
- # EXTERNAL.
2549
- # When the load balancing scheme is INTERNAL, this field is not used.
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, and SSL. The default is HTTP.
2556
- # For internal load balancing, the possible values are TCP and UDP, and the
2557
- # default is TCP.
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
- # When the load balancing scheme is EXTERNAL, can be NONE, CLIENT_IP, or
2583
- # GENERATED_COOKIE.
2584
- # When the load balancing scheme is INTERNAL, can be NONE, CLIENT_IP,
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 protocol is UDP, this field is not used.
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
- # How many seconds to wait for the backend before considering it a failed
2592
- # request. Default is 30 seconds.
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
- # Time for which instance will be drained (not accept new connections, but still
3696
- # work to finish started).
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
- # A ForwardingRule resource. A ForwardingRule resource specifies which pool of
5496
- # target virtual machines to forward a packet to if it matches the given [
5497
- # IPAddress, IPProtocol, ports] tuple. (== resource_for beta.forwardingRules ==)
5498
- # (== resource_for v1.forwardingRules ==) (== resource_for beta.
5499
- # globalForwardingRules ==) (== resource_for v1.globalForwardingRules ==) (==
5500
- # resource_for beta.regionForwardingRules ==) (== resource_for v1.
5501
- # regionForwardingRules ==)
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
- # An HealthCheck resource. This resource defines a template for how individual
6524
- # virtual machines should be checked for health, via one of the supported
6525
- # protocols.
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
- # An HttpHealthCheck resource. This resource defines a template for how
6907
- # individual instances should be checked for health, via HTTP.
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
- # An HttpsHealthCheck resource. This resource defines a template for how
7130
- # individual instances should be checked for health, via HTTPS.
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. When it is set to true, Google Compute Engine will
14146
- # automatically create and manage the routes between two networks when the state
14147
- # is ACTIVE. Otherwise, user needs to create routes manually to route packets to
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
- # Whether full mesh connectivity is created and managed automatically. When it
14155
- # is set to true, Google Compute Engine will automatically create and manage the
14156
- # routes between two networks when the peering state is ACTIVE. Otherwise, user
14157
- # needs to create routes manually to route packets to peer network.
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. Whether Google Compute Engine manages the routes
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
- # A security policy is comprised of one or more rules. It can also be associated
20791
- # with one or more 'targets'. (== resource_for v1.securityPolicies ==) (==
20792
- # resource_for beta.securityPolicies ==)
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
- # An SslCertificate resource. This resource provides a mechanism to upload an
21652
- # SSL key and certificate to the load balancer to serve secure connections from
21653
- # the user. (== resource_for beta.sslCertificates ==) (== resource_for v1.
21654
- # sslCertificates ==)
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
- # A SSL policy specifies the server-side support for SSL features. This can be
21981
- # attached to a TargetHttpsProxy or a TargetSslProxy. This affects connections
21982
- # between clients and the HTTPS or SSL proxy load balancer. They do not affect
21983
- # the connection between the load balancers and the backends.
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
- # A TargetHttpProxy resource. This resource defines an HTTP proxy. (==
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
- # A TargetHttpsProxy resource. This resource defines an HTTPS proxy. (==
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
- # A TargetPool resource. This resource defines a pool of instances, an
23661
- # associated HttpHealthCheck resource, and the fallback target pool. (==
23662
- # resource_for beta.targetPools ==) (== resource_for v1.targetPools ==)
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
- # A TargetSslProxy resource. This resource defines an SSL proxy. (==
24302
- # resource_for beta.targetSslProxies ==) (== resource_for v1.targetSslProxies ==)
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
- # A TargetTcpProxy resource. This resource defines a TCP proxy. (== resource_for
24545
- # beta.targetTcpProxies ==) (== resource_for v1.targetTcpProxies ==)
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
- # A UrlMap resource. This resource defines the mapping from URL to the
25233
- # BackendService resource, based on the "longest-match" of the URL's host and
25234
- # path.
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
- # A UrlMap resource. This resource defines the mapping from URL to the
25555
- # BackendService resource, based on the "longest-match" of the URL's host and
25556
- # path.
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