google-api-client 0.41.0 → 0.41.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (167) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +72 -0
  3. data/generated/google/apis/admin_directory_v1.rb +1 -1
  4. data/generated/google/apis/admin_directory_v1/classes.rb +31 -0
  5. data/generated/google/apis/admin_directory_v1/representations.rb +16 -0
  6. data/generated/google/apis/admin_directory_v1/service.rb +3 -5
  7. data/generated/google/apis/apigee_v1.rb +1 -1
  8. data/generated/google/apis/apigee_v1/classes.rb +132 -42
  9. data/generated/google/apis/apigee_v1/representations.rb +16 -0
  10. data/generated/google/apis/apigee_v1/service.rb +23 -24
  11. data/generated/google/apis/bigquery_v2.rb +1 -1
  12. data/generated/google/apis/bigquery_v2/classes.rb +36 -6
  13. data/generated/google/apis/bigquery_v2/representations.rb +4 -0
  14. data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
  15. data/generated/google/apis/bigqueryconnection_v1beta1/classes.rb +6 -6
  16. data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
  17. data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
  18. data/generated/google/apis/civicinfo_v2.rb +2 -2
  19. data/generated/google/apis/civicinfo_v2/classes.rb +12 -800
  20. data/generated/google/apis/civicinfo_v2/representations.rb +0 -295
  21. data/generated/google/apis/civicinfo_v2/service.rb +27 -62
  22. data/generated/google/apis/cloudasset_v1.rb +1 -1
  23. data/generated/google/apis/cloudasset_v1/classes.rb +391 -3
  24. data/generated/google/apis/cloudasset_v1/representations.rb +101 -0
  25. data/generated/google/apis/cloudasset_v1/service.rb +178 -0
  26. data/generated/google/apis/cloudbilling_v1.rb +1 -1
  27. data/generated/google/apis/cloudbilling_v1/classes.rb +38 -6
  28. data/generated/google/apis/cloudbilling_v1/representations.rb +16 -0
  29. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  30. data/generated/google/apis/cloudbuild_v1/service.rb +0 -42
  31. data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
  32. data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
  33. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  34. data/generated/google/apis/cloudfunctions_v1/classes.rb +6 -6
  35. data/generated/google/apis/cloudidentity_v1.rb +1 -1
  36. data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
  37. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  38. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +2 -3
  39. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  40. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +2 -3
  41. data/generated/google/apis/cloudscheduler_v1.rb +1 -1
  42. data/generated/google/apis/cloudscheduler_v1/classes.rb +2 -1
  43. data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
  44. data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +2 -1
  45. data/generated/google/apis/composer_v1beta1.rb +1 -1
  46. data/generated/google/apis/composer_v1beta1/classes.rb +4 -3
  47. data/generated/google/apis/composer_v1beta1/service.rb +13 -0
  48. data/generated/google/apis/compute_alpha.rb +1 -1
  49. data/generated/google/apis/compute_alpha/classes.rb +45 -31
  50. data/generated/google/apis/compute_alpha/service.rb +9 -4
  51. data/generated/google/apis/compute_beta.rb +1 -1
  52. data/generated/google/apis/compute_beta/classes.rb +262 -31
  53. data/generated/google/apis/compute_beta/representations.rb +70 -0
  54. data/generated/google/apis/compute_beta/service.rb +233 -4
  55. data/generated/google/apis/compute_v1.rb +1 -1
  56. data/generated/google/apis/compute_v1/classes.rb +592 -29
  57. data/generated/google/apis/compute_v1/representations.rb +182 -0
  58. data/generated/google/apis/compute_v1/service.rb +501 -4
  59. data/generated/google/apis/container_v1.rb +1 -1
  60. data/generated/google/apis/container_v1/classes.rb +29 -3
  61. data/generated/google/apis/container_v1/representations.rb +15 -0
  62. data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
  63. data/generated/google/apis/containeranalysis_v1beta1/classes.rb +1 -1
  64. data/generated/google/apis/content_v2_1.rb +1 -1
  65. data/generated/google/apis/content_v2_1/classes.rb +172 -0
  66. data/generated/google/apis/content_v2_1/representations.rb +71 -0
  67. data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
  68. data/generated/google/apis/datacatalog_v1beta1/classes.rb +34 -10
  69. data/generated/google/apis/datacatalog_v1beta1/representations.rb +13 -0
  70. data/generated/google/apis/datacatalog_v1beta1/service.rb +37 -0
  71. data/generated/google/apis/dialogflow_v2.rb +1 -1
  72. data/generated/google/apis/dialogflow_v2/classes.rb +194 -20
  73. data/generated/google/apis/dialogflow_v2/representations.rb +77 -0
  74. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  75. data/generated/google/apis/dialogflow_v2beta1/classes.rb +194 -20
  76. data/generated/google/apis/dialogflow_v2beta1/representations.rb +77 -0
  77. data/generated/google/apis/displayvideo_v1.rb +1 -1
  78. data/generated/google/apis/displayvideo_v1/classes.rb +105 -2
  79. data/generated/google/apis/displayvideo_v1/representations.rb +11 -0
  80. data/generated/google/apis/displayvideo_v1/service.rb +78 -1
  81. data/generated/google/apis/dlp_v2.rb +1 -1
  82. data/generated/google/apis/documentai_v1beta2.rb +1 -1
  83. data/generated/google/apis/doubleclickbidmanager_v1_1.rb +1 -1
  84. data/generated/google/apis/doubleclicksearch_v2.rb +4 -4
  85. data/generated/google/apis/doubleclicksearch_v2/classes.rb +127 -111
  86. data/generated/google/apis/doubleclicksearch_v2/representations.rb +4 -6
  87. data/generated/google/apis/doubleclicksearch_v2/service.rb +47 -78
  88. data/generated/google/apis/fcm_v1.rb +1 -1
  89. data/generated/google/apis/healthcare_v1.rb +1 -1
  90. data/generated/google/apis/healthcare_v1/classes.rb +6 -6
  91. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  92. data/generated/google/apis/healthcare_v1beta1/classes.rb +6 -6
  93. data/generated/google/apis/logging_v2.rb +1 -1
  94. data/generated/google/apis/logging_v2/classes.rb +69 -21
  95. data/generated/google/apis/ml_v1.rb +1 -1
  96. data/generated/google/apis/ml_v1/classes.rb +8 -0
  97. data/generated/google/apis/ml_v1/representations.rb +1 -0
  98. data/generated/google/apis/monitoring_v3.rb +1 -1
  99. data/generated/google/apis/monitoring_v3/classes.rb +2 -2
  100. data/generated/google/apis/people_v1.rb +4 -1
  101. data/generated/google/apis/playablelocations_v3.rb +31 -0
  102. data/generated/google/apis/playablelocations_v3/classes.rb +633 -0
  103. data/generated/google/apis/playablelocations_v3/representations.rb +273 -0
  104. data/generated/google/apis/playablelocations_v3/service.rb +157 -0
  105. data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
  106. data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +19 -0
  107. data/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb +14 -0
  108. data/generated/google/apis/pubsub_v1.rb +1 -1
  109. data/generated/google/apis/pubsub_v1/classes.rb +4 -2
  110. data/generated/google/apis/realtimebidding_v1.rb +40 -0
  111. data/generated/google/apis/realtimebidding_v1/classes.rb +1436 -0
  112. data/generated/google/apis/realtimebidding_v1/representations.rb +565 -0
  113. data/generated/google/apis/realtimebidding_v1/service.rb +661 -0
  114. data/generated/google/apis/redis_v1.rb +1 -1
  115. data/generated/google/apis/redis_v1/classes.rb +1 -1
  116. data/generated/google/apis/redis_v1/service.rb +1 -1
  117. data/generated/google/apis/redis_v1beta1.rb +1 -1
  118. data/generated/google/apis/redis_v1beta1/classes.rb +1 -1
  119. data/generated/google/apis/redis_v1beta1/service.rb +1 -1
  120. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  121. data/generated/google/apis/remotebuildexecution_v1/classes.rb +1 -1
  122. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  123. data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +1 -1
  124. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  125. data/generated/google/apis/remotebuildexecution_v2/classes.rb +1 -1
  126. data/generated/google/apis/run_v1.rb +2 -2
  127. data/generated/google/apis/run_v1/classes.rb +4 -1
  128. data/generated/google/apis/run_v1/service.rb +1 -1
  129. data/generated/google/apis/run_v1alpha1.rb +2 -2
  130. data/generated/google/apis/run_v1alpha1/service.rb +1 -1
  131. data/generated/google/apis/run_v1beta1.rb +2 -2
  132. data/generated/google/apis/run_v1beta1/service.rb +1 -1
  133. data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
  134. data/generated/google/apis/sasportal_v1alpha1/classes.rb +19 -0
  135. data/generated/google/apis/sasportal_v1alpha1/representations.rb +14 -0
  136. data/generated/google/apis/secretmanager_v1.rb +1 -1
  137. data/generated/google/apis/secretmanager_v1beta1.rb +1 -1
  138. data/generated/google/apis/securitycenter_v1.rb +1 -1
  139. data/generated/google/apis/securitycenter_v1/service.rb +4 -5
  140. data/generated/google/apis/securitycenter_v1p1beta1.rb +1 -1
  141. data/generated/google/apis/securitycenter_v1p1beta1/service.rb +2 -5
  142. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  143. data/generated/google/apis/servicecontrol_v1/classes.rb +6 -0
  144. data/generated/google/apis/servicecontrol_v1/representations.rb +1 -0
  145. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  146. data/generated/google/apis/servicemanagement_v1/classes.rb +1 -0
  147. data/generated/google/apis/sheets_v4.rb +1 -1
  148. data/generated/google/apis/sheets_v4/classes.rb +90 -0
  149. data/generated/google/apis/spanner_v1.rb +1 -1
  150. data/generated/google/apis/spanner_v1/classes.rb +25 -20
  151. data/generated/google/apis/spanner_v1/service.rb +2 -0
  152. data/generated/google/apis/speech_v1.rb +1 -1
  153. data/generated/google/apis/speech_v1p1beta1.rb +1 -1
  154. data/generated/google/apis/storage_v1.rb +1 -1
  155. data/generated/google/apis/storage_v1/service.rb +2 -3
  156. data/generated/google/apis/texttospeech_v1.rb +1 -1
  157. data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
  158. data/generated/google/apis/vectortile_v1.rb +31 -0
  159. data/generated/google/apis/vectortile_v1/classes.rb +881 -0
  160. data/generated/google/apis/vectortile_v1/representations.rb +329 -0
  161. data/generated/google/apis/vectortile_v1/service.rb +268 -0
  162. data/generated/google/apis/webfonts_v1.rb +5 -5
  163. data/generated/google/apis/webfonts_v1/classes.rb +4 -3
  164. data/generated/google/apis/webfonts_v1/representations.rb +1 -2
  165. data/generated/google/apis/webfonts_v1/service.rb +14 -21
  166. data/lib/google/apis/version.rb +1 -1
  167. metadata +15 -3
@@ -304,6 +304,12 @@ module Google
304
304
  include Google::Apis::Core::JsonObjectSupport
305
305
  end
306
306
 
307
+ class AutoscalingPolicyScaleInControl
308
+ class Representation < Google::Apis::Core::JsonRepresentation; end
309
+
310
+ include Google::Apis::Core::JsonObjectSupport
311
+ end
312
+
307
313
  class Backend
308
314
  class Representation < Google::Apis::Core::JsonRepresentation; end
309
315
 
@@ -2260,6 +2266,24 @@ module Google
2260
2266
  include Google::Apis::Core::JsonObjectSupport
2261
2267
  end
2262
2268
 
2269
+ class NetworkEndpointGroupAppEngine
2270
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2271
+
2272
+ include Google::Apis::Core::JsonObjectSupport
2273
+ end
2274
+
2275
+ class NetworkEndpointGroupCloudFunction
2276
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2277
+
2278
+ include Google::Apis::Core::JsonObjectSupport
2279
+ end
2280
+
2281
+ class NetworkEndpointGroupCloudRun
2282
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2283
+
2284
+ include Google::Apis::Core::JsonObjectSupport
2285
+ end
2286
+
2263
2287
  class NetworkEndpointGroupLbNetworkEndpointGroup
2264
2288
  class Representation < Google::Apis::Core::JsonRepresentation; end
2265
2289
 
@@ -5238,6 +5262,7 @@ module Google
5238
5262
  collection :guest_os_features, as: 'guestOsFeatures', class: Google::Apis::ComputeBeta::GuestOsFeature, decorator: Google::Apis::ComputeBeta::GuestOsFeature::Representation
5239
5263
 
5240
5264
  hash :labels, as: 'labels'
5265
+ property :multi_writer, as: 'multiWriter'
5241
5266
  property :on_update_action, as: 'onUpdateAction'
5242
5267
  collection :resource_policies, as: 'resourcePolicies'
5243
5268
  property :source_image, as: 'sourceImage'
@@ -5411,6 +5436,8 @@ module Google
5411
5436
  property :mode, as: 'mode'
5412
5437
  property :scale_down_control, as: 'scaleDownControl', class: Google::Apis::ComputeBeta::AutoscalingPolicyScaleDownControl, decorator: Google::Apis::ComputeBeta::AutoscalingPolicyScaleDownControl::Representation
5413
5438
 
5439
+ property :scale_in_control, as: 'scaleInControl', class: Google::Apis::ComputeBeta::AutoscalingPolicyScaleInControl, decorator: Google::Apis::ComputeBeta::AutoscalingPolicyScaleInControl::Representation
5440
+
5414
5441
  end
5415
5442
  end
5416
5443
 
@@ -5448,6 +5475,15 @@ module Google
5448
5475
  end
5449
5476
  end
5450
5477
 
5478
+ class AutoscalingPolicyScaleInControl
5479
+ # @private
5480
+ class Representation < Google::Apis::Core::JsonRepresentation
5481
+ property :max_scaled_in_replicas, as: 'maxScaledInReplicas', class: Google::Apis::ComputeBeta::FixedOrPercent, decorator: Google::Apis::ComputeBeta::FixedOrPercent::Representation
5482
+
5483
+ property :time_window_sec, as: 'timeWindowSec'
5484
+ end
5485
+ end
5486
+
5451
5487
  class Backend
5452
5488
  # @private
5453
5489
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -6033,6 +6069,7 @@ module Google
6033
6069
  property :last_detach_timestamp, as: 'lastDetachTimestamp'
6034
6070
  collection :license_codes, as: 'licenseCodes'
6035
6071
  collection :licenses, as: 'licenses'
6072
+ property :multi_writer, as: 'multiWriter'
6036
6073
  property :name, as: 'name'
6037
6074
  property :options, as: 'options'
6038
6075
  property :physical_block_size_bytes, :numeric_string => true, as: 'physicalBlockSizeBytes'
@@ -9118,6 +9155,12 @@ module Google
9118
9155
  # @private
9119
9156
  class Representation < Google::Apis::Core::JsonRepresentation
9120
9157
  hash :annotations, as: 'annotations'
9158
+ property :app_engine, as: 'appEngine', class: Google::Apis::ComputeBeta::NetworkEndpointGroupAppEngine, decorator: Google::Apis::ComputeBeta::NetworkEndpointGroupAppEngine::Representation
9159
+
9160
+ property :cloud_function, as: 'cloudFunction', class: Google::Apis::ComputeBeta::NetworkEndpointGroupCloudFunction, decorator: Google::Apis::ComputeBeta::NetworkEndpointGroupCloudFunction::Representation
9161
+
9162
+ property :cloud_run, as: 'cloudRun', class: Google::Apis::ComputeBeta::NetworkEndpointGroupCloudRun, decorator: Google::Apis::ComputeBeta::NetworkEndpointGroupCloudRun::Representation
9163
+
9121
9164
  property :creation_timestamp, as: 'creationTimestamp'
9122
9165
  property :default_port, as: 'defaultPort'
9123
9166
  property :description, as: 'description'
@@ -9128,6 +9171,7 @@ module Google
9128
9171
  property :name, as: 'name'
9129
9172
  property :network, as: 'network'
9130
9173
  property :network_endpoint_type, as: 'networkEndpointType'
9174
+ property :region, as: 'region'
9131
9175
  property :self_link, as: 'selfLink'
9132
9176
  property :size, as: 'size'
9133
9177
  property :subnetwork, as: 'subnetwork'
@@ -9167,6 +9211,32 @@ module Google
9167
9211
  end
9168
9212
  end
9169
9213
 
9214
+ class NetworkEndpointGroupAppEngine
9215
+ # @private
9216
+ class Representation < Google::Apis::Core::JsonRepresentation
9217
+ property :service, as: 'service'
9218
+ property :url_mask, as: 'urlMask'
9219
+ property :version, as: 'version'
9220
+ end
9221
+ end
9222
+
9223
+ class NetworkEndpointGroupCloudFunction
9224
+ # @private
9225
+ class Representation < Google::Apis::Core::JsonRepresentation
9226
+ property :function, as: 'function'
9227
+ property :url_mask, as: 'urlMask'
9228
+ end
9229
+ end
9230
+
9231
+ class NetworkEndpointGroupCloudRun
9232
+ # @private
9233
+ class Representation < Google::Apis::Core::JsonRepresentation
9234
+ property :service, as: 'service'
9235
+ property :tag, as: 'tag'
9236
+ property :url_mask, as: 'urlMask'
9237
+ end
9238
+ end
9239
+
9170
9240
  class NetworkEndpointGroupLbNetworkEndpointGroup
9171
9241
  # @private
9172
9242
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -169,7 +169,8 @@ module Google
169
169
  execute_or_queue_command(command, &block)
170
170
  end
171
171
 
172
- # Retrieves a list of accelerator types available to the specified project.
172
+ # Retrieves a list of accelerator types that are available to the specified
173
+ # project.
173
174
  # @param [String] project
174
175
  # Project ID for this request.
175
176
  # @param [String] zone
@@ -10509,8 +10510,10 @@ module Google
10509
10510
  execute_or_queue_command(command, &block)
10510
10511
  end
10511
10512
 
10512
- # Retrieves the list of referrers to instances contained within the specified
10513
- # zone. For more information, read Viewing Referrers to VM Instances.
10513
+ # Retrieves a list of resources that refer to the VM instance specified in the
10514
+ # request. For example, if the VM instance is part of a managed instance group,
10515
+ # the referrers list includes the managed instance group. For more information,
10516
+ # read Viewing Referrers to VM Instances.
10514
10517
  # @param [String] project
10515
10518
  # Project ID for this request.
10516
10519
  # @param [String] zone
@@ -11178,7 +11181,9 @@ module Google
11178
11181
  execute_or_queue_command(command, &block)
11179
11182
  end
11180
11183
 
11181
- # Sets an instance's scheduling options.
11184
+ # Sets an instance's scheduling options. You can only call this method on a
11185
+ # stopped instance, that is, a VM instance that is in a `TERMINATED` state. See
11186
+ # Instance Life Cycle for more information on the possible instance states.
11182
11187
  # @param [String] project
11183
11188
  # Project ID for this request.
11184
11189
  # @param [String] zone
@@ -22143,6 +22148,230 @@ module Google
22143
22148
  execute_or_queue_command(command, &block)
22144
22149
  end
22145
22150
 
22151
+ # Deletes the specified network endpoint group. Note that the NEG cannot be
22152
+ # deleted if it is configured as a backend of a backend service.
22153
+ # @param [String] project
22154
+ # Project ID for this request.
22155
+ # @param [String] region
22156
+ # The name of the region where the network endpoint group is located. It should
22157
+ # comply with RFC1035.
22158
+ # @param [String] network_endpoint_group
22159
+ # The name of the network endpoint group to delete. It should comply with
22160
+ # RFC1035.
22161
+ # @param [String] request_id
22162
+ # An optional request ID to identify requests. Specify a unique request ID so
22163
+ # that if you must retry your request, the server will know to ignore the
22164
+ # request if it has already been completed.
22165
+ # For example, consider a situation where you make an initial request and the
22166
+ # request times out. If you make the request again with the same request ID, the
22167
+ # server can check if original operation with the same request ID was received,
22168
+ # and if so, will ignore the second request. This prevents clients from
22169
+ # accidentally creating duplicate commitments.
22170
+ # The request ID must be a valid UUID with the exception that zero UUID is not
22171
+ # supported (00000000-0000-0000-0000-000000000000).
22172
+ # @param [String] fields
22173
+ # Selector specifying which fields to include in a partial response.
22174
+ # @param [String] quota_user
22175
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
22176
+ # characters.
22177
+ # @param [String] user_ip
22178
+ # Deprecated. Please use quotaUser instead.
22179
+ # @param [Google::Apis::RequestOptions] options
22180
+ # Request-specific options
22181
+ #
22182
+ # @yield [result, err] Result & error if block supplied
22183
+ # @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object
22184
+ # @yieldparam err [StandardError] error object if request failed
22185
+ #
22186
+ # @return [Google::Apis::ComputeBeta::Operation]
22187
+ #
22188
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
22189
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
22190
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
22191
+ def delete_region_network_endpoint_group(project, region, network_endpoint_group, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
22192
+ command = make_simple_command(:delete, '{project}/regions/{region}/networkEndpointGroups/{networkEndpointGroup}', options)
22193
+ command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
22194
+ command.response_class = Google::Apis::ComputeBeta::Operation
22195
+ command.params['project'] = project unless project.nil?
22196
+ command.params['region'] = region unless region.nil?
22197
+ command.params['networkEndpointGroup'] = network_endpoint_group unless network_endpoint_group.nil?
22198
+ command.query['requestId'] = request_id unless request_id.nil?
22199
+ command.query['fields'] = fields unless fields.nil?
22200
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
22201
+ command.query['userIp'] = user_ip unless user_ip.nil?
22202
+ execute_or_queue_command(command, &block)
22203
+ end
22204
+
22205
+ # Returns the specified network endpoint group. Gets a list of available network
22206
+ # endpoint groups by making a list() request.
22207
+ # @param [String] project
22208
+ # Project ID for this request.
22209
+ # @param [String] region
22210
+ # The name of the region where the network endpoint group is located. It should
22211
+ # comply with RFC1035.
22212
+ # @param [String] network_endpoint_group
22213
+ # The name of the network endpoint group. It should comply with RFC1035.
22214
+ # @param [String] fields
22215
+ # Selector specifying which fields to include in a partial response.
22216
+ # @param [String] quota_user
22217
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
22218
+ # characters.
22219
+ # @param [String] user_ip
22220
+ # Deprecated. Please use quotaUser instead.
22221
+ # @param [Google::Apis::RequestOptions] options
22222
+ # Request-specific options
22223
+ #
22224
+ # @yield [result, err] Result & error if block supplied
22225
+ # @yieldparam result [Google::Apis::ComputeBeta::NetworkEndpointGroup] parsed result object
22226
+ # @yieldparam err [StandardError] error object if request failed
22227
+ #
22228
+ # @return [Google::Apis::ComputeBeta::NetworkEndpointGroup]
22229
+ #
22230
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
22231
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
22232
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
22233
+ def get_region_network_endpoint_group(project, region, network_endpoint_group, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
22234
+ command = make_simple_command(:get, '{project}/regions/{region}/networkEndpointGroups/{networkEndpointGroup}', options)
22235
+ command.response_representation = Google::Apis::ComputeBeta::NetworkEndpointGroup::Representation
22236
+ command.response_class = Google::Apis::ComputeBeta::NetworkEndpointGroup
22237
+ command.params['project'] = project unless project.nil?
22238
+ command.params['region'] = region unless region.nil?
22239
+ command.params['networkEndpointGroup'] = network_endpoint_group unless network_endpoint_group.nil?
22240
+ command.query['fields'] = fields unless fields.nil?
22241
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
22242
+ command.query['userIp'] = user_ip unless user_ip.nil?
22243
+ execute_or_queue_command(command, &block)
22244
+ end
22245
+
22246
+ # Creates a network endpoint group in the specified project using the parameters
22247
+ # that are included in the request.
22248
+ # @param [String] project
22249
+ # Project ID for this request.
22250
+ # @param [String] region
22251
+ # The name of the region where you want to create the network endpoint group. It
22252
+ # should comply with RFC1035.
22253
+ # @param [Google::Apis::ComputeBeta::NetworkEndpointGroup] network_endpoint_group_object
22254
+ # @param [String] request_id
22255
+ # An optional request ID to identify requests. Specify a unique request ID so
22256
+ # that if you must retry your request, the server will know to ignore the
22257
+ # request if it has already been completed.
22258
+ # For example, consider a situation where you make an initial request and the
22259
+ # request times out. If you make the request again with the same request ID, the
22260
+ # server can check if original operation with the same request ID was received,
22261
+ # and if so, will ignore the second request. This prevents clients from
22262
+ # accidentally creating duplicate commitments.
22263
+ # The request ID must be a valid UUID with the exception that zero UUID is not
22264
+ # supported (00000000-0000-0000-0000-000000000000).
22265
+ # @param [String] fields
22266
+ # Selector specifying which fields to include in a partial response.
22267
+ # @param [String] quota_user
22268
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
22269
+ # characters.
22270
+ # @param [String] user_ip
22271
+ # Deprecated. Please use quotaUser instead.
22272
+ # @param [Google::Apis::RequestOptions] options
22273
+ # Request-specific options
22274
+ #
22275
+ # @yield [result, err] Result & error if block supplied
22276
+ # @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object
22277
+ # @yieldparam err [StandardError] error object if request failed
22278
+ #
22279
+ # @return [Google::Apis::ComputeBeta::Operation]
22280
+ #
22281
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
22282
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
22283
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
22284
+ def insert_region_network_endpoint_group(project, region, network_endpoint_group_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
22285
+ command = make_simple_command(:post, '{project}/regions/{region}/networkEndpointGroups', options)
22286
+ command.request_representation = Google::Apis::ComputeBeta::NetworkEndpointGroup::Representation
22287
+ command.request_object = network_endpoint_group_object
22288
+ command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
22289
+ command.response_class = Google::Apis::ComputeBeta::Operation
22290
+ command.params['project'] = project unless project.nil?
22291
+ command.params['region'] = region unless region.nil?
22292
+ command.query['requestId'] = request_id unless request_id.nil?
22293
+ command.query['fields'] = fields unless fields.nil?
22294
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
22295
+ command.query['userIp'] = user_ip unless user_ip.nil?
22296
+ execute_or_queue_command(command, &block)
22297
+ end
22298
+
22299
+ # Retrieves the list of regional network endpoint groups available to the
22300
+ # specified project in the given region.
22301
+ # @param [String] project
22302
+ # Project ID for this request.
22303
+ # @param [String] region
22304
+ # The name of the region where the network endpoint group is located. It should
22305
+ # comply with RFC1035.
22306
+ # @param [String] filter
22307
+ # A filter expression that filters resources listed in the response. The
22308
+ # expression must specify the field name, a comparison operator, and the value
22309
+ # that you want to use for filtering. The value must be a string, a number, or a
22310
+ # boolean. The comparison operator must be either `=`, `!=`, `>`, or `<`.
22311
+ # For example, if you are filtering Compute Engine instances, you can exclude
22312
+ # instances named `example-instance` by specifying `name != example-instance`.
22313
+ # You can also filter nested fields. For example, you could specify `scheduling.
22314
+ # automaticRestart = false` to include instances only if they are not scheduled
22315
+ # for automatic restarts. You can use filtering on nested fields to filter based
22316
+ # on resource labels.
22317
+ # To filter on multiple expressions, provide each separate expression within
22318
+ # parentheses. For example: ``` (scheduling.automaticRestart = true) (
22319
+ # cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND`
22320
+ # expression. However, you can include `AND` and `OR` expressions explicitly.
22321
+ # For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel
22322
+ # Broadwell") AND (scheduling.automaticRestart = true) ```
22323
+ # @param [Fixnum] max_results
22324
+ # The maximum number of results per page that should be returned. If the number
22325
+ # of available results is larger than `maxResults`, Compute Engine returns a `
22326
+ # nextPageToken` that can be used to get the next page of results in subsequent
22327
+ # list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
22328
+ # @param [String] order_by
22329
+ # Sorts list results by a certain order. By default, results are returned in
22330
+ # alphanumerical order based on the resource name.
22331
+ # You can also sort results in descending order based on the creation timestamp
22332
+ # using `orderBy="creationTimestamp desc"`. This sorts results based on the `
22333
+ # creationTimestamp` field in reverse chronological order (newest result first).
22334
+ # Use this to sort resources like operations so that the newest operation is
22335
+ # returned first.
22336
+ # Currently, only sorting by `name` or `creationTimestamp desc` is supported.
22337
+ # @param [String] page_token
22338
+ # Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
22339
+ # by a previous list request to get the next page of results.
22340
+ # @param [String] fields
22341
+ # Selector specifying which fields to include in a partial response.
22342
+ # @param [String] quota_user
22343
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
22344
+ # characters.
22345
+ # @param [String] user_ip
22346
+ # Deprecated. Please use quotaUser instead.
22347
+ # @param [Google::Apis::RequestOptions] options
22348
+ # Request-specific options
22349
+ #
22350
+ # @yield [result, err] Result & error if block supplied
22351
+ # @yieldparam result [Google::Apis::ComputeBeta::NetworkEndpointGroupList] parsed result object
22352
+ # @yieldparam err [StandardError] error object if request failed
22353
+ #
22354
+ # @return [Google::Apis::ComputeBeta::NetworkEndpointGroupList]
22355
+ #
22356
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
22357
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
22358
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
22359
+ def list_region_network_endpoint_groups(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
22360
+ command = make_simple_command(:get, '{project}/regions/{region}/networkEndpointGroups', options)
22361
+ command.response_representation = Google::Apis::ComputeBeta::NetworkEndpointGroupList::Representation
22362
+ command.response_class = Google::Apis::ComputeBeta::NetworkEndpointGroupList
22363
+ command.params['project'] = project unless project.nil?
22364
+ command.params['region'] = region unless region.nil?
22365
+ command.query['filter'] = filter unless filter.nil?
22366
+ command.query['maxResults'] = max_results unless max_results.nil?
22367
+ command.query['orderBy'] = order_by unless order_by.nil?
22368
+ command.query['pageToken'] = page_token unless page_token.nil?
22369
+ command.query['fields'] = fields unless fields.nil?
22370
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
22371
+ command.query['userIp'] = user_ip unless user_ip.nil?
22372
+ execute_or_queue_command(command, &block)
22373
+ end
22374
+
22146
22375
  # Deletes the specified NotificationEndpoint in the given region
22147
22376
  # @param [String] project
22148
22377
  # Project ID for this request.
@@ -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 = '20200526'
28
+ REVISION = '20200606'
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'
@@ -87,7 +87,7 @@ module Google
87
87
  # @return [String]
88
88
  attr_accessor :kind
89
89
 
90
- # [Output Only] Maximum accelerator cards allowed per instance.
90
+ # [Output Only] Maximum number of accelerator cards allowed per instance.
91
91
  # Corresponds to the JSON property `maximumCardsPerInstance`
92
92
  # @return [Fixnum]
93
93
  attr_accessor :maximum_cards_per_instance
@@ -97,7 +97,7 @@ module Google
97
97
  # @return [String]
98
98
  attr_accessor :name
99
99
 
100
- # [Output Only] Server-defined fully-qualified URL for this resource.
100
+ # [Output Only] Server-defined, fully qualified URL for this resource.
101
101
  # Corresponds to the JSON property `selfLink`
102
102
  # @return [String]
103
103
  attr_accessor :self_link
@@ -1419,10 +1419,10 @@ module Google
1419
1419
  # specified in each AuditConfig are enabled, and the exempted_members in each
1420
1420
  # AuditLogConfig are exempted.
1421
1421
  # Example Policy with multiple AuditConfigs:
1422
- # ` "audit_configs": [ ` "service": "allServices" "audit_log_configs": [ ` "
1422
+ # ` "audit_configs": [ ` "service": "allServices", "audit_log_configs": [ ` "
1423
1423
  # log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] `, ` "
1424
- # log_type": "DATA_WRITE", `, ` "log_type": "ADMIN_READ", ` ] `, ` "service": "
1425
- # sampleservice.googleapis.com" "audit_log_configs": [ ` "log_type": "DATA_READ",
1424
+ # log_type": "DATA_WRITE" `, ` "log_type": "ADMIN_READ" ` ] `, ` "service": "
1425
+ # sampleservice.googleapis.com", "audit_log_configs": [ ` "log_type": "DATA_READ"
1426
1426
  # `, ` "log_type": "DATA_WRITE", "exempted_members": [ "user:aliya@example.com"
1427
1427
  # ] ` ] ` ] `
1428
1428
  # For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ
@@ -1462,7 +1462,7 @@ module Google
1462
1462
 
1463
1463
  # Provides the configuration for logging a type of permissions. Example:
1464
1464
  # ` "audit_log_configs": [ ` "log_type": "DATA_READ", "exempted_members": [ "
1465
- # user:jose@example.com" ] `, ` "log_type": "DATA_WRITE", ` ] `
1465
+ # user:jose@example.com" ] `, ` "log_type": "DATA_WRITE" ` ] `
1466
1466
  # This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@
1467
1467
  # example.com from DATA_READ logging.
1468
1468
  class AuditLogConfig
@@ -3095,6 +3095,11 @@ module Google
3095
3095
  class BackendServiceGroupHealth
3096
3096
  include Google::Apis::Core::Hashable
3097
3097
 
3098
+ # Metadata defined as annotations on the network endpoint group.
3099
+ # Corresponds to the JSON property `annotations`
3100
+ # @return [Hash<String,String>]
3101
+ attr_accessor :annotations
3102
+
3098
3103
  # Health state of the backend instances or endpoints in requested instance or
3099
3104
  # network endpoint group, determined based on configured health checks.
3100
3105
  # Corresponds to the JSON property `healthStatus`
@@ -3113,6 +3118,7 @@ module Google
3113
3118
 
3114
3119
  # Update properties of this object
3115
3120
  def update!(**args)
3121
+ @annotations = args[:annotations] if args.key?(:annotations)
3116
3122
  @health_status = args[:health_status] if args.key?(:health_status)
3117
3123
  @kind = args[:kind] if args.key?(:kind)
3118
3124
  end
@@ -3122,18 +3128,22 @@ module Google
3122
3128
  class BackendServiceIap
3123
3129
  include Google::Apis::Core::Hashable
3124
3130
 
3125
- #
3131
+ # Whether the serving infrastructure will authenticate and authorize all
3132
+ # incoming requests. If true, the oauth2ClientId and oauth2ClientSecret fields
3133
+ # must be non-empty.
3126
3134
  # Corresponds to the JSON property `enabled`
3127
3135
  # @return [Boolean]
3128
3136
  attr_accessor :enabled
3129
3137
  alias_method :enabled?, :enabled
3130
3138
 
3131
- #
3139
+ # OAuth2 client ID to use for the authentication flow.
3132
3140
  # Corresponds to the JSON property `oauth2ClientId`
3133
3141
  # @return [String]
3134
3142
  attr_accessor :oauth2_client_id
3135
3143
 
3136
- #
3144
+ # OAuth2 client secret to use for the authentication flow. For security reasons,
3145
+ # this value cannot be retrieved via the API. Instead, the SHA-256 hash of the
3146
+ # value is returned in the oauth2ClientSecretSha256 field.
3137
3147
  # Corresponds to the JSON property `oauth2ClientSecret`
3138
3148
  # @return [String]
3139
3149
  attr_accessor :oauth2_client_secret
@@ -7996,6 +8006,270 @@ module Google
7996
8006
  end
7997
8007
  end
7998
8008
 
8009
+ # Represents a Health-Check as a Service resource.
8010
+ # (== resource_for `$api_version`.regionHealthCheckServices ==)
8011
+ class HealthCheckService
8012
+ include Google::Apis::Core::Hashable
8013
+
8014
+ # [Output Only] Creation timestamp in RFC3339 text format.
8015
+ # Corresponds to the JSON property `creationTimestamp`
8016
+ # @return [String]
8017
+ attr_accessor :creation_timestamp
8018
+
8019
+ # An optional description of this resource. Provide this property when you
8020
+ # create the resource.
8021
+ # Corresponds to the JSON property `description`
8022
+ # @return [String]
8023
+ attr_accessor :description
8024
+
8025
+ # Fingerprint of this resource. A hash of the contents stored in this object.
8026
+ # This field is used in optimistic locking. This field will be ignored when
8027
+ # inserting a HealthCheckService. An up-to-date fingerprint must be provided in
8028
+ # order to patch/update the HealthCheckService; Otherwise, the request will fail
8029
+ # with error 412 conditionNotMet. To see the latest fingerprint, make a get()
8030
+ # request to retrieve the HealthCheckService.
8031
+ # Corresponds to the JSON property `fingerprint`
8032
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
8033
+ # @return [String]
8034
+ attr_accessor :fingerprint
8035
+
8036
+ # List of URLs to the HealthCheck resources. Must have at least one HealthCheck,
8037
+ # and not more than 10. HealthCheck resources must have portSpecification=
8038
+ # USE_SERVING_PORT. For regional HealthCheckService, the HealthCheck must be
8039
+ # regional and in the same region. For global HealthCheckService, HealthCheck
8040
+ # must be global. Mix of regional and global HealthChecks is not supported.
8041
+ # Multiple regional HealthChecks must belong to the same region. Regional
8042
+ # HealthChecks</code? must belong to the same region as zones of NEGs.
8043
+ # Corresponds to the JSON property `healthChecks`
8044
+ # @return [Array<String>]
8045
+ attr_accessor :health_checks
8046
+
8047
+ # Optional. Policy for how the results from multiple health checks for the same
8048
+ # endpoint are aggregated. Defaults to NO_AGGREGATION if unspecified.
8049
+ # - NO_AGGREGATION. An EndpointHealth message is returned for each backend in
8050
+ # the health check service.
8051
+ # - AND. If any backend's health check reports UNHEALTHY, then UNHEALTHY is the
8052
+ # HealthState of the entire health check service. If all backend's are healthy,
8053
+ # the HealthState of the health check service is HEALTHY. .
8054
+ # Corresponds to the JSON property `healthStatusAggregationPolicy`
8055
+ # @return [String]
8056
+ attr_accessor :health_status_aggregation_policy
8057
+
8058
+ # [Output Only] The unique identifier for the resource. This identifier is
8059
+ # defined by the server.
8060
+ # Corresponds to the JSON property `id`
8061
+ # @return [Fixnum]
8062
+ attr_accessor :id
8063
+
8064
+ # [Output only] Type of the resource. Always compute#healthCheckServicefor
8065
+ # health check services.
8066
+ # Corresponds to the JSON property `kind`
8067
+ # @return [String]
8068
+ attr_accessor :kind
8069
+
8070
+ # Name of the resource. The name must be 1-63 characters long, and comply with
8071
+ # RFC1035. Specifically, the name must be 1-63 characters long and match the
8072
+ # regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first
8073
+ # character must be a lowercase letter, and all following characters must be a
8074
+ # dash, lowercase letter, or digit, except the last character, which cannot be a
8075
+ # dash.
8076
+ # Corresponds to the JSON property `name`
8077
+ # @return [String]
8078
+ attr_accessor :name
8079
+
8080
+ # List of URLs to the NetworkEndpointGroup resources. Must not have more than
8081
+ # 100. For regional HealthCheckService, NEGs must be in zones in the region of
8082
+ # the HealthCheckService.
8083
+ # Corresponds to the JSON property `networkEndpointGroups`
8084
+ # @return [Array<String>]
8085
+ attr_accessor :network_endpoint_groups
8086
+
8087
+ # List of URLs to the NotificationEndpoint resources. Must not have more than 10.
8088
+ # A list of endpoints for receiving notifications of change in health status.
8089
+ # For regional HealthCheckService, NotificationEndpoint must be regional and in
8090
+ # the same region. For global HealthCheckService, NotificationEndpoint must be
8091
+ # global.
8092
+ # Corresponds to the JSON property `notificationEndpoints`
8093
+ # @return [Array<String>]
8094
+ attr_accessor :notification_endpoints
8095
+
8096
+ # [Output Only] URL of the region where the health check service resides. This
8097
+ # field is not applicable to global health check services. You must specify this
8098
+ # field as part of the HTTP request URL. It is not settable as a field in the
8099
+ # request body.
8100
+ # Corresponds to the JSON property `region`
8101
+ # @return [String]
8102
+ attr_accessor :region
8103
+
8104
+ # [Output Only] Server-defined URL for the resource.
8105
+ # Corresponds to the JSON property `selfLink`
8106
+ # @return [String]
8107
+ attr_accessor :self_link
8108
+
8109
+ def initialize(**args)
8110
+ update!(**args)
8111
+ end
8112
+
8113
+ # Update properties of this object
8114
+ def update!(**args)
8115
+ @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
8116
+ @description = args[:description] if args.key?(:description)
8117
+ @fingerprint = args[:fingerprint] if args.key?(:fingerprint)
8118
+ @health_checks = args[:health_checks] if args.key?(:health_checks)
8119
+ @health_status_aggregation_policy = args[:health_status_aggregation_policy] if args.key?(:health_status_aggregation_policy)
8120
+ @id = args[:id] if args.key?(:id)
8121
+ @kind = args[:kind] if args.key?(:kind)
8122
+ @name = args[:name] if args.key?(:name)
8123
+ @network_endpoint_groups = args[:network_endpoint_groups] if args.key?(:network_endpoint_groups)
8124
+ @notification_endpoints = args[:notification_endpoints] if args.key?(:notification_endpoints)
8125
+ @region = args[:region] if args.key?(:region)
8126
+ @self_link = args[:self_link] if args.key?(:self_link)
8127
+ end
8128
+ end
8129
+
8130
+ # A full or valid partial URL to a health check service. For example, the
8131
+ # following are valid URLs:
8132
+ # - https://www.googleapis.com/compute/beta/projects/project-id/regions/us-west1/
8133
+ # healthCheckServices/health-check-service
8134
+ # - projects/project-id/regions/us-west1/healthCheckServices/health-check-
8135
+ # service
8136
+ # - regions/us-west1/healthCheckServices/health-check-service
8137
+ class HealthCheckServiceReference
8138
+ include Google::Apis::Core::Hashable
8139
+
8140
+ #
8141
+ # Corresponds to the JSON property `healthCheckService`
8142
+ # @return [String]
8143
+ attr_accessor :health_check_service
8144
+
8145
+ def initialize(**args)
8146
+ update!(**args)
8147
+ end
8148
+
8149
+ # Update properties of this object
8150
+ def update!(**args)
8151
+ @health_check_service = args[:health_check_service] if args.key?(:health_check_service)
8152
+ end
8153
+ end
8154
+
8155
+ #
8156
+ class HealthCheckServicesList
8157
+ include Google::Apis::Core::Hashable
8158
+
8159
+ # [Output Only] Unique identifier for the resource; defined by the server.
8160
+ # Corresponds to the JSON property `id`
8161
+ # @return [String]
8162
+ attr_accessor :id
8163
+
8164
+ # A list of HealthCheckService resources.
8165
+ # Corresponds to the JSON property `items`
8166
+ # @return [Array<Google::Apis::ComputeV1::HealthCheckService>]
8167
+ attr_accessor :items
8168
+
8169
+ # [Output Only] Type of the resource. Always compute#healthCheckServicesList for
8170
+ # lists of HealthCheckServices.
8171
+ # Corresponds to the JSON property `kind`
8172
+ # @return [String]
8173
+ attr_accessor :kind
8174
+
8175
+ # [Output Only] This token allows you to get the next page of results for list
8176
+ # requests. If the number of results is larger than maxResults, use the
8177
+ # nextPageToken as a value for the query parameter pageToken in the next list
8178
+ # request. Subsequent list requests will have their own nextPageToken to
8179
+ # continue paging through the results.
8180
+ # Corresponds to the JSON property `nextPageToken`
8181
+ # @return [String]
8182
+ attr_accessor :next_page_token
8183
+
8184
+ # [Output Only] Server-defined URL for this resource.
8185
+ # Corresponds to the JSON property `selfLink`
8186
+ # @return [String]
8187
+ attr_accessor :self_link
8188
+
8189
+ # [Output Only] Informational warning message.
8190
+ # Corresponds to the JSON property `warning`
8191
+ # @return [Google::Apis::ComputeV1::HealthCheckServicesList::Warning]
8192
+ attr_accessor :warning
8193
+
8194
+ def initialize(**args)
8195
+ update!(**args)
8196
+ end
8197
+
8198
+ # Update properties of this object
8199
+ def update!(**args)
8200
+ @id = args[:id] if args.key?(:id)
8201
+ @items = args[:items] if args.key?(:items)
8202
+ @kind = args[:kind] if args.key?(:kind)
8203
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
8204
+ @self_link = args[:self_link] if args.key?(:self_link)
8205
+ @warning = args[:warning] if args.key?(:warning)
8206
+ end
8207
+
8208
+ # [Output Only] Informational warning message.
8209
+ class Warning
8210
+ include Google::Apis::Core::Hashable
8211
+
8212
+ # [Output Only] A warning code, if applicable. For example, Compute Engine
8213
+ # returns NO_RESULTS_ON_PAGE if there are no results in the response.
8214
+ # Corresponds to the JSON property `code`
8215
+ # @return [String]
8216
+ attr_accessor :code
8217
+
8218
+ # [Output Only] Metadata about this warning in key: value format. For example:
8219
+ # "data": [ ` "key": "scope", "value": "zones/us-east1-d" `
8220
+ # Corresponds to the JSON property `data`
8221
+ # @return [Array<Google::Apis::ComputeV1::HealthCheckServicesList::Warning::Datum>]
8222
+ attr_accessor :data
8223
+
8224
+ # [Output Only] A human-readable description of the warning code.
8225
+ # Corresponds to the JSON property `message`
8226
+ # @return [String]
8227
+ attr_accessor :message
8228
+
8229
+ def initialize(**args)
8230
+ update!(**args)
8231
+ end
8232
+
8233
+ # Update properties of this object
8234
+ def update!(**args)
8235
+ @code = args[:code] if args.key?(:code)
8236
+ @data = args[:data] if args.key?(:data)
8237
+ @message = args[:message] if args.key?(:message)
8238
+ end
8239
+
8240
+ #
8241
+ class Datum
8242
+ include Google::Apis::Core::Hashable
8243
+
8244
+ # [Output Only] A key that provides more detail on the warning being returned.
8245
+ # For example, for warnings where there are no results in a list request for a
8246
+ # particular zone, this key might be scope and the key value might be the zone
8247
+ # name. Other examples might be a key indicating a deprecated resource and a
8248
+ # suggested replacement, or a warning about invalid network settings (for
8249
+ # example, if an instance attempts to perform IP forwarding but is not enabled
8250
+ # for IP forwarding).
8251
+ # Corresponds to the JSON property `key`
8252
+ # @return [String]
8253
+ attr_accessor :key
8254
+
8255
+ # [Output Only] A warning data value corresponding to the key.
8256
+ # Corresponds to the JSON property `value`
8257
+ # @return [String]
8258
+ attr_accessor :value
8259
+
8260
+ def initialize(**args)
8261
+ update!(**args)
8262
+ end
8263
+
8264
+ # Update properties of this object
8265
+ def update!(**args)
8266
+ @key = args[:key] if args.key?(:key)
8267
+ @value = args[:value] if args.key?(:value)
8268
+ end
8269
+ end
8270
+ end
8271
+ end
8272
+
7999
8273
  #
8000
8274
  class HealthChecksAggregatedList
8001
8275
  include Google::Apis::Core::Hashable
@@ -8208,6 +8482,11 @@ module Google
8208
8482
  class HealthStatus
8209
8483
  include Google::Apis::Core::Hashable
8210
8484
 
8485
+ # Metadata defined as annotations for network endpoint.
8486
+ # Corresponds to the JSON property `annotations`
8487
+ # @return [Hash<String,String>]
8488
+ attr_accessor :annotations
8489
+
8211
8490
  # Health state of the instance.
8212
8491
  # Corresponds to the JSON property `healthState`
8213
8492
  # @return [String]
@@ -8235,6 +8514,7 @@ module Google
8235
8514
 
8236
8515
  # Update properties of this object
8237
8516
  def update!(**args)
8517
+ @annotations = args[:annotations] if args.key?(:annotations)
8238
8518
  @health_state = args[:health_state] if args.key?(:health_state)
8239
8519
  @instance = args[:instance] if args.key?(:instance)
8240
8520
  @ip_address = args[:ip_address] if args.key?(:ip_address)
@@ -8268,6 +8548,17 @@ module Google
8268
8548
  # @return [Google::Apis::ComputeV1::HealthCheckReference]
8269
8549
  attr_accessor :health_check
8270
8550
 
8551
+ # A full or valid partial URL to a health check service. For example, the
8552
+ # following are valid URLs:
8553
+ # - https://www.googleapis.com/compute/beta/projects/project-id/regions/us-west1/
8554
+ # healthCheckServices/health-check-service
8555
+ # - projects/project-id/regions/us-west1/healthCheckServices/health-check-
8556
+ # service
8557
+ # - regions/us-west1/healthCheckServices/health-check-service
8558
+ # Corresponds to the JSON property `healthCheckService`
8559
+ # @return [Google::Apis::ComputeV1::HealthCheckServiceReference]
8560
+ attr_accessor :health_check_service
8561
+
8271
8562
  # Health state of the network endpoint determined based on the health checks
8272
8563
  # configured.
8273
8564
  # Corresponds to the JSON property `healthState`
@@ -8283,6 +8574,7 @@ module Google
8283
8574
  @backend_service = args[:backend_service] if args.key?(:backend_service)
8284
8575
  @forwarding_rule = args[:forwarding_rule] if args.key?(:forwarding_rule)
8285
8576
  @health_check = args[:health_check] if args.key?(:health_check)
8577
+ @health_check_service = args[:health_check_service] if args.key?(:health_check_service)
8286
8578
  @health_state = args[:health_state] if args.key?(:health_state)
8287
8579
  end
8288
8580
  end
@@ -9597,11 +9889,13 @@ module Google
9597
9889
  # @return [String]
9598
9890
  attr_accessor :source_disk_id
9599
9891
 
9600
- # URL of the source image used to create this image. This can be a full or valid
9601
- # partial URL. You must provide exactly one of:
9602
- # - this property, or
9603
- # - the rawDisk.source property, or
9604
- # - the sourceDisk property in order to create an image.
9892
+ # URL of the source image used to create this image.
9893
+ # In order to create an image, you must provide the full or partial URL of one
9894
+ # of the following:
9895
+ # - The selfLink URL
9896
+ # - This property
9897
+ # - The rawDisk.source URL
9898
+ # - The sourceDisk URL
9605
9899
  # Corresponds to the JSON property `sourceImage`
9606
9900
  # @return [String]
9607
9901
  attr_accessor :source_image
@@ -9618,12 +9912,14 @@ module Google
9618
9912
  # @return [String]
9619
9913
  attr_accessor :source_image_id
9620
9914
 
9621
- # URL of the source snapshot used to create this image. This can be a full or
9622
- # valid partial URL. You must provide exactly one of:
9623
- # - this property, or
9624
- # - the sourceImage property, or
9625
- # - the rawDisk.source property, or
9626
- # - the sourceDisk property in order to create an image.
9915
+ # URL of the source snapshot used to create this image.
9916
+ # In order to create an image, you must provide the full or partial URL of one
9917
+ # of the following:
9918
+ # - The selfLink URL
9919
+ # - This property
9920
+ # - The sourceImage URL
9921
+ # - The rawDisk.source URL
9922
+ # - The sourceDisk URL
9627
9923
  # Corresponds to the JSON property `sourceSnapshot`
9628
9924
  # @return [String]
9629
9925
  attr_accessor :source_snapshot
@@ -13814,8 +14110,7 @@ module Google
13814
14110
  end
13815
14111
 
13816
14112
  # Describes a single physical circuit between the Customer and Google.
13817
- # CircuitInfo objects are created by Google, so all fields are output only. Next
13818
- # id: 4
14113
+ # CircuitInfo objects are created by Google, so all fields are output only.
13819
14114
  class InterconnectCircuitInfo
13820
14115
  include Google::Apis::Core::Hashable
13821
14116
 
@@ -14423,7 +14718,7 @@ module Google
14423
14718
  end
14424
14719
  end
14425
14720
 
14426
- # Description of a planned outage on this Interconnect. Next id: 9
14721
+ # Description of a planned outage on this Interconnect.
14427
14722
  class InterconnectOutageNotification
14428
14723
  include Google::Apis::Core::Hashable
14429
14724
 
@@ -15973,10 +16268,15 @@ module Google
15973
16268
  end
15974
16269
  end
15975
16270
 
15976
- # The network endpoint. Next ID: 7
16271
+ # The network endpoint.
15977
16272
  class NetworkEndpoint
15978
16273
  include Google::Apis::Core::Hashable
15979
16274
 
16275
+ # Metadata defined as annotations on the network endpoint.
16276
+ # Corresponds to the JSON property `annotations`
16277
+ # @return [Hash<String,String>]
16278
+ attr_accessor :annotations
16279
+
15980
16280
  # Optional fully qualified domain name of network endpoint. This can only be
15981
16281
  # specified when NetworkEndpointGroup.network_endpoint_type is NON_GCP_FQDN_PORT.
15982
16282
  # Corresponds to the JSON property `fqdn`
@@ -16013,6 +16313,7 @@ module Google
16013
16313
 
16014
16314
  # Update properties of this object
16015
16315
  def update!(**args)
16316
+ @annotations = args[:annotations] if args.key?(:annotations)
16016
16317
  @fqdn = args[:fqdn] if args.key?(:fqdn)
16017
16318
  @instance = args[:instance] if args.key?(:instance)
16018
16319
  @ip_address = args[:ip_address] if args.key?(:ip_address)
@@ -16029,6 +16330,11 @@ module Google
16029
16330
  class NetworkEndpointGroup
16030
16331
  include Google::Apis::Core::Hashable
16031
16332
 
16333
+ # Metadata defined as annotations on the network endpoint group.
16334
+ # Corresponds to the JSON property `annotations`
16335
+ # @return [Hash<String,String>]
16336
+ attr_accessor :annotations
16337
+
16032
16338
  # [Output Only] Creation timestamp in RFC3339 text format.
16033
16339
  # Corresponds to the JSON property `creationTimestamp`
16034
16340
  # @return [String]
@@ -16106,6 +16412,7 @@ module Google
16106
16412
 
16107
16413
  # Update properties of this object
16108
16414
  def update!(**args)
16415
+ @annotations = args[:annotations] if args.key?(:annotations)
16109
16416
  @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
16110
16417
  @default_port = args[:default_port] if args.key?(:default_port)
16111
16418
  @description = args[:description] if args.key?(:description)
@@ -16631,7 +16938,7 @@ module Google
16631
16938
  # @return [Array<Google::Apis::ComputeV1::HealthStatusForNetworkEndpoint>]
16632
16939
  attr_accessor :healths
16633
16940
 
16634
- # The network endpoint. Next ID: 7
16941
+ # The network endpoint.
16635
16942
  # Corresponds to the JSON property `networkEndpoint`
16636
16943
  # @return [Google::Apis::ComputeV1::NetworkEndpoint]
16637
16944
  attr_accessor :network_endpoint
@@ -17768,7 +18075,7 @@ module Google
17768
18075
  # Represent a sole-tenant Node Template resource.
17769
18076
  # You can use a template to define properties for nodes in a node group. For
17770
18077
  # more information, read Creating node groups and instances. (== resource_for `$
17771
- # api_version`.nodeTemplates ==) (== NextID: 19 ==)
18078
+ # api_version`.nodeTemplates ==)
17772
18079
  class NodeTemplate
17773
18080
  include Google::Apis::Core::Hashable
17774
18081
 
@@ -18656,6 +18963,255 @@ module Google
18656
18963
  end
18657
18964
  end
18658
18965
 
18966
+ # Represents a notification endpoint.
18967
+ # A notification endpoint resource defines an endpoint to receive notifications
18968
+ # when there are status changes detected by the associated health check service.
18969
+ # For more information, see Health checks overview. (== resource_for `$
18970
+ # api_version`.notificationEndpoint ==) (== resource_for `$api_version`.
18971
+ # regionNotificationEndpoints ==)
18972
+ class NotificationEndpoint
18973
+ include Google::Apis::Core::Hashable
18974
+
18975
+ # [Output Only] Creation timestamp in RFC3339 text format.
18976
+ # Corresponds to the JSON property `creationTimestamp`
18977
+ # @return [String]
18978
+ attr_accessor :creation_timestamp
18979
+
18980
+ # An optional description of this resource. Provide this property when you
18981
+ # create the resource.
18982
+ # Corresponds to the JSON property `description`
18983
+ # @return [String]
18984
+ attr_accessor :description
18985
+
18986
+ # Represents a gRPC setting that describes one gRPC notification endpoint and
18987
+ # the retry duration attempting to send notification to this endpoint.
18988
+ # Corresponds to the JSON property `grpcSettings`
18989
+ # @return [Google::Apis::ComputeV1::NotificationEndpointGrpcSettings]
18990
+ attr_accessor :grpc_settings
18991
+
18992
+ # [Output Only] A unique identifier for this resource type. The server generates
18993
+ # this identifier.
18994
+ # Corresponds to the JSON property `id`
18995
+ # @return [Fixnum]
18996
+ attr_accessor :id
18997
+
18998
+ # [Output Only] Type of the resource. Always compute#notificationEndpoint for
18999
+ # notification endpoints.
19000
+ # Corresponds to the JSON property `kind`
19001
+ # @return [String]
19002
+ attr_accessor :kind
19003
+
19004
+ # Name of the resource. Provided by the client when the resource is created. The
19005
+ # name must be 1-63 characters long, and comply with RFC1035. Specifically, the
19006
+ # name must be 1-63 characters long and match the regular expression `[a-z]([-a-
19007
+ # z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter,
19008
+ # and all following characters must be a dash, lowercase letter, or digit,
19009
+ # except the last character, which cannot be a dash.
19010
+ # Corresponds to the JSON property `name`
19011
+ # @return [String]
19012
+ attr_accessor :name
19013
+
19014
+ # [Output Only] URL of the region where the notification endpoint resides. This
19015
+ # field applies only to the regional resource. You must specify this field as
19016
+ # part of the HTTP request URL. It is not settable as a field in the request
19017
+ # body.
19018
+ # Corresponds to the JSON property `region`
19019
+ # @return [String]
19020
+ attr_accessor :region
19021
+
19022
+ # [Output Only] Server-defined URL for the resource.
19023
+ # Corresponds to the JSON property `selfLink`
19024
+ # @return [String]
19025
+ attr_accessor :self_link
19026
+
19027
+ def initialize(**args)
19028
+ update!(**args)
19029
+ end
19030
+
19031
+ # Update properties of this object
19032
+ def update!(**args)
19033
+ @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
19034
+ @description = args[:description] if args.key?(:description)
19035
+ @grpc_settings = args[:grpc_settings] if args.key?(:grpc_settings)
19036
+ @id = args[:id] if args.key?(:id)
19037
+ @kind = args[:kind] if args.key?(:kind)
19038
+ @name = args[:name] if args.key?(:name)
19039
+ @region = args[:region] if args.key?(:region)
19040
+ @self_link = args[:self_link] if args.key?(:self_link)
19041
+ end
19042
+ end
19043
+
19044
+ # Represents a gRPC setting that describes one gRPC notification endpoint and
19045
+ # the retry duration attempting to send notification to this endpoint.
19046
+ class NotificationEndpointGrpcSettings
19047
+ include Google::Apis::Core::Hashable
19048
+
19049
+ # Optional. If specified, this field is used to set the authority header by the
19050
+ # sender of notifications. See https://tools.ietf.org/html/rfc7540#section-8.1.2.
19051
+ # 3
19052
+ # Corresponds to the JSON property `authority`
19053
+ # @return [String]
19054
+ attr_accessor :authority
19055
+
19056
+ # Endpoint to which gRPC notifications are sent. This must be a valid gRPCLB DNS
19057
+ # name.
19058
+ # Corresponds to the JSON property `endpoint`
19059
+ # @return [String]
19060
+ attr_accessor :endpoint
19061
+
19062
+ # Optional. If specified, this field is used to populate the "name" field in
19063
+ # gRPC requests.
19064
+ # Corresponds to the JSON property `payloadName`
19065
+ # @return [String]
19066
+ attr_accessor :payload_name
19067
+
19068
+ # A Duration represents a fixed-length span of time represented as a count of
19069
+ # seconds and fractions of seconds at nanosecond resolution. It is independent
19070
+ # of any calendar and concepts like "day" or "month". Range is approximately 10,
19071
+ # 000 years.
19072
+ # Corresponds to the JSON property `resendInterval`
19073
+ # @return [Google::Apis::ComputeV1::Duration]
19074
+ attr_accessor :resend_interval
19075
+
19076
+ # How much time (in seconds) is spent attempting notification retries until a
19077
+ # successful response is received. Default is 30s. Limit is 20m (1200s). Must be
19078
+ # a positive number.
19079
+ # Corresponds to the JSON property `retryDurationSec`
19080
+ # @return [Fixnum]
19081
+ attr_accessor :retry_duration_sec
19082
+
19083
+ def initialize(**args)
19084
+ update!(**args)
19085
+ end
19086
+
19087
+ # Update properties of this object
19088
+ def update!(**args)
19089
+ @authority = args[:authority] if args.key?(:authority)
19090
+ @endpoint = args[:endpoint] if args.key?(:endpoint)
19091
+ @payload_name = args[:payload_name] if args.key?(:payload_name)
19092
+ @resend_interval = args[:resend_interval] if args.key?(:resend_interval)
19093
+ @retry_duration_sec = args[:retry_duration_sec] if args.key?(:retry_duration_sec)
19094
+ end
19095
+ end
19096
+
19097
+ #
19098
+ class NotificationEndpointList
19099
+ include Google::Apis::Core::Hashable
19100
+
19101
+ # [Output Only] Unique identifier for the resource; defined by the server.
19102
+ # Corresponds to the JSON property `id`
19103
+ # @return [String]
19104
+ attr_accessor :id
19105
+
19106
+ # A list of NotificationEndpoint resources.
19107
+ # Corresponds to the JSON property `items`
19108
+ # @return [Array<Google::Apis::ComputeV1::NotificationEndpoint>]
19109
+ attr_accessor :items
19110
+
19111
+ # [Output Only] Type of the resource. Always compute#notificationEndpoint for
19112
+ # notification endpoints.
19113
+ # Corresponds to the JSON property `kind`
19114
+ # @return [String]
19115
+ attr_accessor :kind
19116
+
19117
+ # [Output Only] This token allows you to get the next page of results for list
19118
+ # requests. If the number of results is larger than maxResults, use the
19119
+ # nextPageToken as a value for the query parameter pageToken in the next list
19120
+ # request. Subsequent list requests will have their own nextPageToken to
19121
+ # continue paging through the results.
19122
+ # Corresponds to the JSON property `nextPageToken`
19123
+ # @return [String]
19124
+ attr_accessor :next_page_token
19125
+
19126
+ # [Output Only] Server-defined URL for this resource.
19127
+ # Corresponds to the JSON property `selfLink`
19128
+ # @return [String]
19129
+ attr_accessor :self_link
19130
+
19131
+ # [Output Only] Informational warning message.
19132
+ # Corresponds to the JSON property `warning`
19133
+ # @return [Google::Apis::ComputeV1::NotificationEndpointList::Warning]
19134
+ attr_accessor :warning
19135
+
19136
+ def initialize(**args)
19137
+ update!(**args)
19138
+ end
19139
+
19140
+ # Update properties of this object
19141
+ def update!(**args)
19142
+ @id = args[:id] if args.key?(:id)
19143
+ @items = args[:items] if args.key?(:items)
19144
+ @kind = args[:kind] if args.key?(:kind)
19145
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
19146
+ @self_link = args[:self_link] if args.key?(:self_link)
19147
+ @warning = args[:warning] if args.key?(:warning)
19148
+ end
19149
+
19150
+ # [Output Only] Informational warning message.
19151
+ class Warning
19152
+ include Google::Apis::Core::Hashable
19153
+
19154
+ # [Output Only] A warning code, if applicable. For example, Compute Engine
19155
+ # returns NO_RESULTS_ON_PAGE if there are no results in the response.
19156
+ # Corresponds to the JSON property `code`
19157
+ # @return [String]
19158
+ attr_accessor :code
19159
+
19160
+ # [Output Only] Metadata about this warning in key: value format. For example:
19161
+ # "data": [ ` "key": "scope", "value": "zones/us-east1-d" `
19162
+ # Corresponds to the JSON property `data`
19163
+ # @return [Array<Google::Apis::ComputeV1::NotificationEndpointList::Warning::Datum>]
19164
+ attr_accessor :data
19165
+
19166
+ # [Output Only] A human-readable description of the warning code.
19167
+ # Corresponds to the JSON property `message`
19168
+ # @return [String]
19169
+ attr_accessor :message
19170
+
19171
+ def initialize(**args)
19172
+ update!(**args)
19173
+ end
19174
+
19175
+ # Update properties of this object
19176
+ def update!(**args)
19177
+ @code = args[:code] if args.key?(:code)
19178
+ @data = args[:data] if args.key?(:data)
19179
+ @message = args[:message] if args.key?(:message)
19180
+ end
19181
+
19182
+ #
19183
+ class Datum
19184
+ include Google::Apis::Core::Hashable
19185
+
19186
+ # [Output Only] A key that provides more detail on the warning being returned.
19187
+ # For example, for warnings where there are no results in a list request for a
19188
+ # particular zone, this key might be scope and the key value might be the zone
19189
+ # name. Other examples might be a key indicating a deprecated resource and a
19190
+ # suggested replacement, or a warning about invalid network settings (for
19191
+ # example, if an instance attempts to perform IP forwarding but is not enabled
19192
+ # for IP forwarding).
19193
+ # Corresponds to the JSON property `key`
19194
+ # @return [String]
19195
+ attr_accessor :key
19196
+
19197
+ # [Output Only] A warning data value corresponding to the key.
19198
+ # Corresponds to the JSON property `value`
19199
+ # @return [String]
19200
+ attr_accessor :value
19201
+
19202
+ def initialize(**args)
19203
+ update!(**args)
19204
+ end
19205
+
19206
+ # Update properties of this object
19207
+ def update!(**args)
19208
+ @key = args[:key] if args.key?(:key)
19209
+ @value = args[:value] if args.key?(:value)
19210
+ end
19211
+ end
19212
+ end
19213
+ end
19214
+
18659
19215
  # Represents an Operation resource.
18660
19216
  # Google Compute Engine has three Operation resources:
18661
19217
  # * [Global](/compute/docs/reference/rest/`$api_version`/globalOperations) * [
@@ -20024,6 +20580,8 @@ module Google
20024
20580
  # defaultService must not be set. Conversely if defaultService is set,
20025
20581
  # defaultRouteAction cannot contain any weightedBackendServices.
20026
20582
  # Only one of defaultRouteAction or defaultUrlRedirect must be set.
20583
+ # UrlMaps for external HTTP(S) load balancers support only the urlRewrite action
20584
+ # within a pathMatcher's defaultRouteAction.
20027
20585
  # Corresponds to the JSON property `defaultRouteAction`
20028
20586
  # @return [Google::Apis::ComputeV1::HttpRouteAction]
20029
20587
  attr_accessor :default_route_action
@@ -20127,6 +20685,8 @@ module Google
20127
20685
  # weightedBackendServices, service must not be set. Conversely if service is set,
20128
20686
  # routeAction cannot contain any weightedBackendServices.
20129
20687
  # Only one of routeAction or urlRedirect must be set.
20688
+ # UrlMaps for external HTTP(S) load balancers support only the urlRewrite action
20689
+ # within a pathRule's routeAction.
20130
20690
  # Corresponds to the JSON property `routeAction`
20131
20691
  # @return [Google::Apis::ComputeV1::HttpRouteAction]
20132
20692
  attr_accessor :route_action
@@ -24357,7 +24917,7 @@ module Google
24357
24917
  end
24358
24918
  end
24359
24919
 
24360
- # Status of a NAT contained in this router. Next tag: 9
24920
+ # Status of a NAT contained in this router.
24361
24921
  class RouterStatusNatStatus
24362
24922
  include Google::Apis::Core::Hashable
24363
24923
 
@@ -24715,8 +25275,9 @@ module Google
24715
25275
  attr_accessor :on_host_maintenance
24716
25276
 
24717
25277
  # Defines whether the instance is preemptible. This can only be set during
24718
- # instance creation, it cannot be set or changed after the instance has been
24719
- # created.
25278
+ # instance creation or while the instance is stopped and therefore, in a `
25279
+ # TERMINATED` state. See Instance Life Cycle for more information on the
25280
+ # possible instance states.
24720
25281
  # Corresponds to the JSON property `preemptible`
24721
25282
  # @return [Boolean]
24722
25283
  attr_accessor :preemptible
@@ -30131,6 +30692,8 @@ module Google
30131
30692
  # must not be set. Conversely if defaultService is set, defaultRouteAction
30132
30693
  # cannot contain any weightedBackendServices.
30133
30694
  # Only one of defaultRouteAction or defaultUrlRedirect must be set.
30695
+ # UrlMaps for external HTTP(S) load balancers support only the urlRewrite action
30696
+ # within defaultRouteAction.
30134
30697
  # Corresponds to the JSON property `defaultRouteAction`
30135
30698
  # @return [Google::Apis::ComputeV1::HttpRouteAction]
30136
30699
  attr_accessor :default_route_action