google-api-client 0.23.0 → 0.23.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (251) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +114 -0
  3. data/CODE_OF_CONDUCT.md +43 -0
  4. data/MIGRATING.md +1 -5
  5. data/generated/google/apis/acceleratedmobilepageurl_v1.rb +1 -1
  6. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  7. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +1 -1
  8. data/generated/google/apis/admin_directory_v1.rb +1 -1
  9. data/generated/google/apis/admin_directory_v1/service.rb +3 -3
  10. data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
  11. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  12. data/generated/google/apis/androidmanagement_v1/classes.rb +7 -3
  13. data/generated/google/apis/androidpublisher_v2.rb +1 -1
  14. data/generated/google/apis/androidpublisher_v2/classes.rb +9 -0
  15. data/generated/google/apis/androidpublisher_v2/representations.rb +1 -0
  16. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  17. data/generated/google/apis/androidpublisher_v3/classes.rb +9 -0
  18. data/generated/google/apis/androidpublisher_v3/representations.rb +1 -0
  19. data/generated/google/apis/appengine_v1.rb +1 -1
  20. data/generated/google/apis/appengine_v1/classes.rb +34 -1
  21. data/generated/google/apis/appengine_v1/representations.rb +16 -0
  22. data/generated/google/apis/appengine_v1alpha.rb +1 -1
  23. data/generated/google/apis/appengine_v1beta.rb +1 -1
  24. data/generated/google/apis/appengine_v1beta/classes.rb +67 -3
  25. data/generated/google/apis/appengine_v1beta/representations.rb +32 -0
  26. data/generated/google/apis/appengine_v1beta4.rb +1 -1
  27. data/generated/google/apis/appengine_v1beta5.rb +1 -1
  28. data/generated/google/apis/appsmarket_v2.rb +1 -1
  29. data/generated/google/apis/bigquery_v2.rb +1 -1
  30. data/generated/google/apis/bigquery_v2/classes.rb +6 -4
  31. data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
  32. data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +4 -6
  33. data/generated/google/apis/chat_v1.rb +2 -2
  34. data/generated/google/apis/chat_v1/classes.rb +76 -0
  35. data/generated/google/apis/chat_v1/representations.rb +25 -0
  36. data/generated/google/apis/chat_v1/service.rb +1 -1
  37. data/generated/google/apis/classroom_v1.rb +1 -1
  38. data/generated/google/apis/classroom_v1/classes.rb +1 -1
  39. data/generated/google/apis/classroom_v1/service.rb +12 -12
  40. data/generated/google/apis/cloudbuild_v1.rb +2 -2
  41. data/generated/google/apis/cloudbuild_v1/classes.rb +21 -33
  42. data/generated/google/apis/cloudbuild_v1/service.rb +1 -1
  43. data/generated/google/apis/clouddebugger_v2.rb +1 -1
  44. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  45. data/generated/google/apis/cloudfunctions_v1/classes.rb +31 -0
  46. data/generated/google/apis/cloudfunctions_v1/representations.rb +3 -0
  47. data/generated/google/apis/cloudfunctions_v1beta2.rb +1 -1
  48. data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +31 -0
  49. data/generated/google/apis/cloudfunctions_v1beta2/representations.rb +3 -0
  50. data/generated/google/apis/cloudiot_v1.rb +1 -1
  51. data/generated/google/apis/cloudiot_v1/service.rb +0 -331
  52. data/generated/google/apis/cloudkms_v1.rb +1 -1
  53. data/generated/google/apis/cloudkms_v1/classes.rb +0 -1
  54. data/generated/google/apis/cloudkms_v1/service.rb +1 -1
  55. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  56. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +66 -22
  57. data/generated/google/apis/cloudresourcemanager_v1/representations.rb +1 -0
  58. data/generated/google/apis/cloudresourcemanager_v1/service.rb +40 -0
  59. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  60. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  61. data/generated/google/apis/cloudresourcemanager_v2/classes.rb +7 -3
  62. data/generated/google/apis/cloudresourcemanager_v2/service.rb +38 -6
  63. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  64. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +9 -5
  65. data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +51 -19
  66. data/generated/google/apis/cloudshell_v1.rb +1 -1
  67. data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
  68. data/generated/google/apis/cloudtasks_v2beta2.rb +2 -3
  69. data/generated/google/apis/cloudtasks_v2beta2/classes.rb +9 -12
  70. data/generated/google/apis/cloudtasks_v2beta2/service.rb +4 -11
  71. data/generated/google/apis/cloudtrace_v1.rb +1 -1
  72. data/generated/google/apis/cloudtrace_v2.rb +1 -1
  73. data/generated/google/apis/composer_v1beta1.rb +1 -1
  74. data/generated/google/apis/composer_v1beta1/classes.rb +1 -1
  75. data/generated/google/apis/compute_alpha.rb +1 -1
  76. data/generated/google/apis/compute_alpha/classes.rb +49 -18
  77. data/generated/google/apis/compute_alpha/representations.rb +6 -1
  78. data/generated/google/apis/compute_beta.rb +1 -1
  79. data/generated/google/apis/compute_beta/classes.rb +1114 -103
  80. data/generated/google/apis/compute_beta/representations.rb +431 -0
  81. data/generated/google/apis/compute_beta/service.rb +605 -0
  82. data/generated/google/apis/compute_v1.rb +1 -1
  83. data/generated/google/apis/compute_v1/classes.rb +95 -1
  84. data/generated/google/apis/compute_v1/representations.rb +33 -0
  85. data/generated/google/apis/container_v1.rb +1 -1
  86. data/generated/google/apis/container_v1/classes.rb +1 -1
  87. data/generated/google/apis/container_v1/service.rb +1 -1
  88. data/generated/google/apis/container_v1beta1.rb +1 -1
  89. data/generated/google/apis/container_v1beta1/classes.rb +348 -2
  90. data/generated/google/apis/container_v1beta1/representations.rb +121 -0
  91. data/generated/google/apis/container_v1beta1/service.rb +114 -2
  92. data/generated/google/apis/content_v2.rb +1 -1
  93. data/generated/google/apis/content_v2/classes.rb +147 -0
  94. data/generated/google/apis/content_v2/representations.rb +65 -0
  95. data/generated/google/apis/content_v2/service.rb +81 -1
  96. data/generated/google/apis/content_v2sandbox.rb +1 -1
  97. data/generated/google/apis/content_v2sandbox/classes.rb +7 -0
  98. data/generated/google/apis/content_v2sandbox/representations.rb +1 -0
  99. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  100. data/generated/google/apis/dataflow_v1b3/classes.rb +262 -0
  101. data/generated/google/apis/dataflow_v1b3/representations.rb +130 -0
  102. data/generated/google/apis/dataproc_v1.rb +1 -1
  103. data/generated/google/apis/dataproc_v1/classes.rb +164 -1
  104. data/generated/google/apis/dataproc_v1/representations.rb +70 -0
  105. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  106. data/generated/google/apis/dataproc_v1beta2/classes.rb +28 -2
  107. data/generated/google/apis/dataproc_v1beta2/representations.rb +15 -0
  108. data/generated/google/apis/datastore_v1.rb +1 -1
  109. data/generated/google/apis/datastore_v1beta1.rb +1 -1
  110. data/generated/google/apis/datastore_v1beta3.rb +1 -1
  111. data/generated/google/apis/deploymentmanager_alpha.rb +1 -1
  112. data/generated/google/apis/deploymentmanager_alpha/service.rb +1 -1
  113. data/generated/google/apis/deploymentmanager_v2beta.rb +1 -1
  114. data/generated/google/apis/deploymentmanager_v2beta/service.rb +1 -1
  115. data/generated/google/apis/dialogflow_v2.rb +1 -1
  116. data/generated/google/apis/dialogflow_v2/classes.rb +40 -21
  117. data/generated/google/apis/dialogflow_v2/representations.rb +2 -0
  118. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  119. data/generated/google/apis/dialogflow_v2beta1/classes.rb +43 -28
  120. data/generated/google/apis/dialogflow_v2beta1/representations.rb +2 -0
  121. data/generated/google/apis/dialogflow_v2beta1/service.rb +74 -110
  122. data/generated/google/apis/digitalassetlinks_v1.rb +1 -1
  123. data/generated/google/apis/dlp_v2.rb +1 -1
  124. data/generated/google/apis/dlp_v2/classes.rb +70 -26
  125. data/generated/google/apis/dlp_v2/representations.rb +3 -0
  126. data/generated/google/apis/dlp_v2/service.rb +78 -17
  127. data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
  128. data/generated/google/apis/firebaserules_v1.rb +1 -1
  129. data/generated/google/apis/firebaserules_v1/classes.rb +33 -0
  130. data/generated/google/apis/firebaserules_v1/representations.rb +17 -0
  131. data/generated/google/apis/firestore_v1beta1.rb +1 -1
  132. data/generated/google/apis/firestore_v1beta1/classes.rb +137 -125
  133. data/generated/google/apis/firestore_v1beta1/representations.rb +39 -35
  134. data/generated/google/apis/firestore_v1beta1/service.rb +16 -16
  135. data/generated/google/apis/genomics_v1.rb +1 -1
  136. data/generated/google/apis/genomics_v1/classes.rb +0 -1
  137. data/generated/google/apis/genomics_v1alpha2.rb +1 -1
  138. data/generated/google/apis/genomics_v2alpha1.rb +1 -1
  139. data/generated/google/apis/genomics_v2alpha1/classes.rb +17 -3
  140. data/generated/google/apis/genomics_v2alpha1/representations.rb +1 -0
  141. data/generated/google/apis/iam_v1.rb +1 -1
  142. data/generated/google/apis/{sqladmin_v1beta3.rb → iamcredentials_v1.rb} +9 -13
  143. data/generated/google/apis/iamcredentials_v1/classes.rb +272 -0
  144. data/generated/google/apis/iamcredentials_v1/representations.rb +139 -0
  145. data/generated/google/apis/iamcredentials_v1/service.rb +207 -0
  146. data/generated/google/apis/indexing_v3.rb +32 -0
  147. data/generated/google/apis/indexing_v3/classes.rb +115 -0
  148. data/generated/google/apis/indexing_v3/representations.rb +72 -0
  149. data/generated/google/apis/indexing_v3/service.rb +122 -0
  150. data/generated/google/apis/jobs_v2.rb +1 -1
  151. data/generated/google/apis/jobs_v2/classes.rb +73 -72
  152. data/generated/google/apis/jobs_v2/representations.rb +0 -1
  153. data/generated/google/apis/jobs_v2/service.rb +8 -7
  154. data/generated/google/apis/language_v1.rb +1 -1
  155. data/generated/google/apis/language_v1beta1.rb +1 -1
  156. data/generated/google/apis/language_v1beta2.rb +1 -1
  157. data/generated/google/apis/logging_v2.rb +1 -1
  158. data/generated/google/apis/logging_v2/classes.rb +42 -0
  159. data/generated/google/apis/logging_v2/representations.rb +17 -0
  160. data/generated/google/apis/logging_v2beta1.rb +1 -1
  161. data/generated/google/apis/logging_v2beta1/classes.rb +42 -0
  162. data/generated/google/apis/logging_v2beta1/representations.rb +17 -0
  163. data/generated/google/apis/manufacturers_v1.rb +1 -1
  164. data/generated/google/apis/ml_v1.rb +1 -1
  165. data/generated/google/apis/ml_v1/classes.rb +17 -0
  166. data/generated/google/apis/ml_v1/representations.rb +1 -0
  167. data/generated/google/apis/ml_v1/service.rb +4 -2
  168. data/generated/google/apis/monitoring_v3.rb +1 -1
  169. data/generated/google/apis/monitoring_v3/classes.rb +91 -7
  170. data/generated/google/apis/monitoring_v3/representations.rb +17 -0
  171. data/generated/google/apis/oslogin_v1.rb +1 -1
  172. data/generated/google/apis/oslogin_v1alpha.rb +1 -1
  173. data/generated/google/apis/oslogin_v1beta.rb +1 -1
  174. data/generated/google/apis/pagespeedonline_v4.rb +1 -1
  175. data/generated/google/apis/partners_v2.rb +1 -1
  176. data/generated/google/apis/people_v1.rb +1 -1
  177. data/generated/google/apis/poly_v1.rb +1 -1
  178. data/generated/google/apis/poly_v1/classes.rb +12 -2
  179. data/generated/google/apis/poly_v1/representations.rb +1 -0
  180. data/generated/google/apis/proximitybeacon_v1beta1.rb +1 -1
  181. data/generated/google/apis/pubsub_v1.rb +1 -1
  182. data/generated/google/apis/pubsub_v1/classes.rb +57 -4
  183. data/generated/google/apis/pubsub_v1/representations.rb +19 -0
  184. data/generated/google/apis/pubsub_v1/service.rb +40 -2
  185. data/generated/google/apis/pubsub_v1beta1a.rb +1 -1
  186. data/generated/google/apis/pubsub_v1beta2.rb +1 -1
  187. data/generated/google/apis/redis_v1beta1.rb +1 -1
  188. data/generated/google/apis/runtimeconfig_v1.rb +1 -1
  189. data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
  190. data/generated/google/apis/safebrowsing_v4.rb +1 -1
  191. data/generated/google/apis/script_v1.rb +4 -1
  192. data/generated/google/apis/searchconsole_v1.rb +1 -1
  193. data/generated/google/apis/servicebroker_v1.rb +1 -1
  194. data/generated/google/apis/servicebroker_v1alpha1.rb +1 -1
  195. data/generated/google/apis/servicebroker_v1beta1.rb +1 -1
  196. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -4
  197. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +42 -0
  198. data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +17 -0
  199. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  200. data/generated/google/apis/servicecontrol_v1/classes.rb +284 -0
  201. data/generated/google/apis/servicecontrol_v1/representations.rb +78 -0
  202. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  203. data/generated/google/apis/servicemanagement_v1/classes.rb +42 -0
  204. data/generated/google/apis/servicemanagement_v1/representations.rb +17 -0
  205. data/generated/google/apis/{replicapool_v1beta2.rb → serviceusage_v1.rb} +13 -15
  206. data/generated/google/apis/serviceusage_v1/classes.rb +4020 -0
  207. data/generated/google/apis/serviceusage_v1/representations.rb +1239 -0
  208. data/generated/google/apis/serviceusage_v1/service.rb +423 -0
  209. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  210. data/generated/google/apis/serviceusage_v1beta1/classes.rb +102 -1
  211. data/generated/google/apis/serviceusage_v1beta1/representations.rb +55 -0
  212. data/generated/google/apis/serviceuser_v1.rb +1 -1
  213. data/generated/google/apis/serviceuser_v1/classes.rb +42 -0
  214. data/generated/google/apis/serviceuser_v1/representations.rb +17 -0
  215. data/generated/google/apis/serviceuser_v1/service.rb +2 -2
  216. data/generated/google/apis/sheets_v4.rb +1 -1
  217. data/generated/google/apis/slides_v1.rb +1 -1
  218. data/generated/google/apis/slides_v1/classes.rb +9 -3
  219. data/generated/google/apis/spanner_v1.rb +1 -1
  220. data/generated/google/apis/speech_v1.rb +2 -2
  221. data/generated/google/apis/speech_v1/service.rb +1 -1
  222. data/generated/google/apis/speech_v1beta1.rb +2 -2
  223. data/generated/google/apis/speech_v1beta1/service.rb +1 -1
  224. data/generated/google/apis/streetviewpublish_v1.rb +1 -1
  225. data/generated/google/apis/testing_v1.rb +1 -1
  226. data/generated/google/apis/testing_v1/classes.rb +1 -1
  227. data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
  228. data/generated/google/apis/texttospeech_v1beta1/classes.rb +8 -0
  229. data/generated/google/apis/texttospeech_v1beta1/representations.rb +1 -0
  230. data/generated/google/apis/videointelligence_v1.rb +1 -1
  231. data/generated/google/apis/videointelligence_v1/classes.rb +28 -28
  232. data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
  233. data/generated/google/apis/videointelligence_v1beta2/classes.rb +28 -28
  234. data/generated/google/apis/vision_v1.rb +1 -1
  235. data/generated/google/apis/vision_v1/classes.rb +4 -2
  236. data/generated/google/apis/vision_v1p1beta1.rb +1 -1
  237. data/generated/google/apis/vision_v1p1beta1/classes.rb +6 -3
  238. data/generated/google/apis/vision_v1p2beta1.rb +1 -1
  239. data/generated/google/apis/vision_v1p2beta1/classes.rb +4 -2
  240. data/generated/google/apis/websecurityscanner_v1alpha.rb +1 -1
  241. data/generated/google/apis/youtube_analytics_v2.rb +1 -1
  242. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  243. data/generated/google/apis/youtubereporting_v1.rb +1 -1
  244. data/lib/google/apis/version.rb +1 -1
  245. metadata +15 -10
  246. data/generated/google/apis/replicapool_v1beta2/classes.rb +0 -633
  247. data/generated/google/apis/replicapool_v1beta2/representations.rb +0 -264
  248. data/generated/google/apis/replicapool_v1beta2/service.rb +0 -583
  249. data/generated/google/apis/sqladmin_v1beta3/classes.rb +0 -1632
  250. data/generated/google/apis/sqladmin_v1beta3/representations.rb +0 -733
  251. data/generated/google/apis/sqladmin_v1beta3/service.rb +0 -995
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/shell/docs/
27
27
  module CloudshellV1
28
28
  VERSION = 'V1'
29
- REVISION = '20171211'
29
+ REVISION = '20180602'
30
30
 
31
31
  # View and manage your data across Google Cloud Platform services
32
32
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/shell/docs/
27
27
  module CloudshellV1alpha1
28
28
  VERSION = 'V1alpha1'
29
- REVISION = '20171211'
29
+ REVISION = '20180602'
30
30
 
31
31
  # View and manage your data across Google Cloud Platform services
32
32
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -20,13 +20,12 @@ module Google
20
20
  module Apis
21
21
  # Cloud Tasks API
22
22
  #
23
- # Manages the execution of large numbers of distributed requests. Cloud Tasks is
24
- # in Alpha.
23
+ # Manages the execution of large numbers of distributed requests.
25
24
  #
26
25
  # @see https://cloud.google.com/cloud-tasks/
27
26
  module CloudtasksV2beta2
28
27
  VERSION = 'V2beta2'
29
- REVISION = '20180531'
28
+ REVISION = '20180622'
30
29
 
31
30
  # View and manage your data across Google Cloud Platform services
32
31
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -268,11 +268,6 @@ module Google
268
268
  # If instance is empty, then the task
269
269
  # will be sent to an instance which is available when the task is
270
270
  # attempted.
271
- # When service is "default",
272
- # version is "default", and
273
- # instance is empty,
274
- # host is shortened to just the
275
- # `application_domain_name`.
276
271
  # If service,
277
272
  # version, or
278
273
  # instance is invalid, then the task
@@ -299,7 +294,7 @@ module Google
299
294
 
300
295
  # App service.
301
296
  # By default, the task is sent to the service which is the default
302
- # service when the task is attempted ("default").
297
+ # service when the task is attempted.
303
298
  # For some queues or tasks which were created using the App Engine
304
299
  # Task Queue API, host is not parsable
305
300
  # into service,
@@ -317,7 +312,7 @@ module Google
317
312
 
318
313
  # App version.
319
314
  # By default, the task is sent to the version which is the default
320
- # version when the task is attempted ("default").
315
+ # version when the task is attempted.
321
316
  # For some queues or tasks which were created using the App Engine
322
317
  # Task Queue API, host is not parsable
323
318
  # into service,
@@ -612,8 +607,10 @@ module Google
612
607
  # @return [String]
613
608
  attr_accessor :lease_duration
614
609
 
615
- # The maximum number of tasks to lease. The maximum that can be
616
- # requested is 1000.
610
+ # The maximum number of tasks to lease.
611
+ # The system will make a best effort to return as close to as
612
+ # `max_tasks` as possible.
613
+ # The largest that `max_tasks` can be is 1000.
617
614
  # Corresponds to the JSON property `maxTasks`
618
615
  # @return [Fixnum]
619
616
  attr_accessor :max_tasks
@@ -974,6 +971,8 @@ module Google
974
971
  # @return [Google::Apis::CloudtasksV2beta2::AppEngineHttpTarget]
975
972
  attr_accessor :app_engine_http_target
976
973
 
974
+ # Caller-specified and required in CreateQueue,
975
+ # after which it becomes output only.
977
976
  # The queue name.
978
977
  # The queue name must have the following format:
979
978
  # `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
@@ -988,8 +987,6 @@ module Google
988
987
  # For more information, see https://cloud.google.com/about/locations/.
989
988
  # * `QUEUE_ID` can contain letters ([A-Za-z]), numbers ([0-9]), or
990
989
  # hyphens (-). The maximum length is 100 characters.
991
- # Caller-specified and required in CreateQueue,
992
- # after which it becomes output only.
993
990
  # Corresponds to the JSON property `name`
994
991
  # @return [String]
995
992
  attr_accessor :name
@@ -1517,6 +1514,7 @@ module Google
1517
1514
  # @return [String]
1518
1515
  attr_accessor :create_time
1519
1516
 
1517
+ # Optionally caller-specified in CreateTask.
1520
1518
  # The task name.
1521
1519
  # The task name must have the following format:
1522
1520
  # `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
@@ -1533,7 +1531,6 @@ module Google
1533
1531
  # hyphens (-). The maximum length is 100 characters.
1534
1532
  # * `TASK_ID` can contain only letters ([A-Za-z]), numbers ([0-9]),
1535
1533
  # hyphens (-), or underscores (_). The maximum length is 500 characters.
1536
- # Optionally caller-specified in CreateTask.
1537
1534
  # Corresponds to the JSON property `name`
1538
1535
  # @return [String]
1539
1536
  attr_accessor :name
@@ -22,8 +22,7 @@ module Google
22
22
  module CloudtasksV2beta2
23
23
  # Cloud Tasks API
24
24
  #
25
- # Manages the execution of large numbers of distributed requests. Cloud Tasks is
26
- # in Alpha.
25
+ # Manages the execution of large numbers of distributed requests.
27
26
  #
28
27
  # @example
29
28
  # require 'google/apis/cloudtasks_v2beta2'
@@ -348,6 +347,8 @@ module Google
348
347
  # [Overview of Queue Management and queue.yaml](/cloud-tasks/docs/queue-yaml)
349
348
  # before using this method.
350
349
  # @param [String] name
350
+ # Caller-specified and required in CreateQueue,
351
+ # after which it becomes output only.
351
352
  # The queue name.
352
353
  # The queue name must have the following format:
353
354
  # `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
@@ -362,8 +363,6 @@ module Google
362
363
  # For more information, see https://cloud.google.com/about/locations/.
363
364
  # * `QUEUE_ID` can contain letters ([A-Za-z]), numbers ([0-9]), or
364
365
  # hyphens (-). The maximum length is 100 characters.
365
- # Caller-specified and required in CreateQueue,
366
- # after which it becomes output only.
367
366
  # @param [Google::Apis::CloudtasksV2beta2::Queue] queue_object
368
367
  # @param [String] update_mask
369
368
  # A mask used to specify which fields of the queue are being updated.
@@ -866,11 +865,6 @@ module Google
866
865
  # Required.
867
866
  # The queue name. For example:
868
867
  # `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
869
- # @param [String] order_by
870
- # Sort order used for the query. The only fields supported for sorting
871
- # are `schedule_time` and `pull_message.tag`. All results will be
872
- # returned in approximately ascending order. The default ordering is by
873
- # `schedule_time`.
874
868
  # @param [Fixnum] page_size
875
869
  # Requested page size. Fewer tasks than requested might be returned.
876
870
  # The maximum page size is 1000. If unspecified, the page size will
@@ -914,12 +908,11 @@ module Google
914
908
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
915
909
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
916
910
  # @raise [Google::Apis::AuthorizationError] Authorization is required
917
- def list_project_location_queue_tasks(parent, order_by: nil, page_size: nil, page_token: nil, response_view: nil, fields: nil, quota_user: nil, options: nil, &block)
911
+ def list_project_location_queue_tasks(parent, page_size: nil, page_token: nil, response_view: nil, fields: nil, quota_user: nil, options: nil, &block)
918
912
  command = make_simple_command(:get, 'v2beta2/{+parent}/tasks', options)
919
913
  command.response_representation = Google::Apis::CloudtasksV2beta2::ListTasksResponse::Representation
920
914
  command.response_class = Google::Apis::CloudtasksV2beta2::ListTasksResponse
921
915
  command.params['parent'] = parent unless parent.nil?
922
- command.query['orderBy'] = order_by unless order_by.nil?
923
916
  command.query['pageSize'] = page_size unless page_size.nil?
924
917
  command.query['pageToken'] = page_token unless page_token.nil?
925
918
  command.query['responseView'] = response_view unless response_view.nil?
@@ -27,7 +27,7 @@ module Google
27
27
  # @see https://cloud.google.com/trace
28
28
  module CloudtraceV1
29
29
  VERSION = 'V1'
30
- REVISION = '20180430'
30
+ REVISION = '20180604'
31
31
 
32
32
  # View and manage your data across Google Cloud Platform services
33
33
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -27,7 +27,7 @@ module Google
27
27
  # @see https://cloud.google.com/trace
28
28
  module CloudtraceV2
29
29
  VERSION = 'V2'
30
- REVISION = '20171214'
30
+ REVISION = '20180604'
31
31
 
32
32
  # View and manage your data across Google Cloud Platform services
33
33
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/composer/
26
26
  module ComposerV1beta1
27
27
  VERSION = 'V1beta1'
28
- REVISION = '20180510'
28
+ REVISION = '20180611'
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'
@@ -220,7 +220,7 @@ module Google
220
220
  class NodeConfig
221
221
  include Google::Apis::Core::Hashable
222
222
 
223
- # Optional. The disk size in GB used for node VMs. Minimum size is 10GB.
223
+ # Optional. The disk size in GB used for node VMs. Minimum size is 20GB.
224
224
  # If unspecified, defaults to 100GB. Cannot be updated.
225
225
  # Corresponds to the JSON property `diskSizeGb`
226
226
  # @return [Fixnum]
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://developers.google.com/compute/docs/reference/latest/
26
26
  module ComputeAlpha
27
27
  VERSION = 'Alpha'
28
- REVISION = '20180518'
28
+ REVISION = '20180525'
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'
@@ -5731,6 +5731,17 @@ module Google
5731
5731
  # @return [String]
5732
5732
  attr_accessor :ip_protocol
5733
5733
 
5734
+ # This field is used along with the backend_service field for internal load
5735
+ # balancing or with the target field for internal TargetInstance. This field
5736
+ # cannot be used with port or portRange fields.
5737
+ # When the load balancing scheme is INTERNAL and protocol is TCP/UDP, specify
5738
+ # this field to allow packets addressed to any ports will be forwarded to the
5739
+ # backends configured with this forwarding rule.
5740
+ # Corresponds to the JSON property `allPorts`
5741
+ # @return [Boolean]
5742
+ attr_accessor :all_ports
5743
+ alias_method :all_ports?, :all_ports
5744
+
5734
5745
  # This field is not used for external load balancing.
5735
5746
  # For internal load balancing, this field identifies the BackendService resource
5736
5747
  # to receive the matched traffic.
@@ -5922,6 +5933,7 @@ module Google
5922
5933
  def update!(**args)
5923
5934
  @ip_address = args[:ip_address] if args.key?(:ip_address)
5924
5935
  @ip_protocol = args[:ip_protocol] if args.key?(:ip_protocol)
5936
+ @all_ports = args[:all_ports] if args.key?(:all_ports)
5925
5937
  @backend_service = args[:backend_service] if args.key?(:backend_service)
5926
5938
  @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
5927
5939
  @description = args[:description] if args.key?(:description)
@@ -14424,7 +14436,7 @@ module Google
14424
14436
  end
14425
14437
  end
14426
14438
 
14427
- # Next available tag: 12
14439
+ # A Managed Instance resource.
14428
14440
  class ManagedInstance
14429
14441
  include Google::Apis::Core::Hashable
14430
14442
 
@@ -21447,6 +21459,19 @@ module Google
21447
21459
  # @return [Array<String>]
21448
21460
  attr_accessor :auto_allocated_nat_ips
21449
21461
 
21462
+ # Timeout (in seconds) for ICMP connections. Defaults to 30s if not set.
21463
+ # Corresponds to the JSON property `icmpIdleTimeoutSec`
21464
+ # @return [Fixnum]
21465
+ attr_accessor :icmp_idle_timeout_sec
21466
+
21467
+ # Minimum number of ports allocated to a VM from this NAT config. If not set, a
21468
+ # default number of ports is allocated to a VM. This gets rounded up to the
21469
+ # nearest power of 2. Eg. if the value of this field is 50, at least 64 ports
21470
+ # will be allocated to a VM.
21471
+ # Corresponds to the JSON property `minPortsPerVm`
21472
+ # @return [Fixnum]
21473
+ attr_accessor :min_ports_per_vm
21474
+
21450
21475
  # Unique name of this Nat service. The name must be 1-63 characters long and
21451
21476
  # comply with RFC1035.
21452
21477
  # Corresponds to the JSON property `name`
@@ -21480,6 +21505,23 @@ module Google
21480
21505
  # @return [Array<Google::Apis::ComputeAlpha::RouterNatSubnetworkToNat>]
21481
21506
  attr_accessor :subnetworks
21482
21507
 
21508
+ # Timeout (in seconds) for TCP established connections. Defaults to 1200s if not
21509
+ # set.
21510
+ # Corresponds to the JSON property `tcpEstablishedIdleTimeoutSec`
21511
+ # @return [Fixnum]
21512
+ attr_accessor :tcp_established_idle_timeout_sec
21513
+
21514
+ # Timeout (in seconds) for TCP transitory connections. Defaults to 30s if not
21515
+ # set.
21516
+ # Corresponds to the JSON property `tcpTransitoryIdleTimeoutSec`
21517
+ # @return [Fixnum]
21518
+ attr_accessor :tcp_transitory_idle_timeout_sec
21519
+
21520
+ # Timeout (in seconds) for UDP connections. Defaults to 30s if not set.
21521
+ # Corresponds to the JSON property `udpIdleTimeoutSec`
21522
+ # @return [Fixnum]
21523
+ attr_accessor :udp_idle_timeout_sec
21524
+
21483
21525
  def initialize(**args)
21484
21526
  update!(**args)
21485
21527
  end
@@ -21487,11 +21529,16 @@ module Google
21487
21529
  # Update properties of this object
21488
21530
  def update!(**args)
21489
21531
  @auto_allocated_nat_ips = args[:auto_allocated_nat_ips] if args.key?(:auto_allocated_nat_ips)
21532
+ @icmp_idle_timeout_sec = args[:icmp_idle_timeout_sec] if args.key?(:icmp_idle_timeout_sec)
21533
+ @min_ports_per_vm = args[:min_ports_per_vm] if args.key?(:min_ports_per_vm)
21490
21534
  @name = args[:name] if args.key?(:name)
21491
21535
  @nat_ip_allocate_option = args[:nat_ip_allocate_option] if args.key?(:nat_ip_allocate_option)
21492
21536
  @nat_ips = args[:nat_ips] if args.key?(:nat_ips)
21493
21537
  @source_subnetwork_ip_ranges_to_nat = args[:source_subnetwork_ip_ranges_to_nat] if args.key?(:source_subnetwork_ip_ranges_to_nat)
21494
21538
  @subnetworks = args[:subnetworks] if args.key?(:subnetworks)
21539
+ @tcp_established_idle_timeout_sec = args[:tcp_established_idle_timeout_sec] if args.key?(:tcp_established_idle_timeout_sec)
21540
+ @tcp_transitory_idle_timeout_sec = args[:tcp_transitory_idle_timeout_sec] if args.key?(:tcp_transitory_idle_timeout_sec)
21541
+ @udp_idle_timeout_sec = args[:udp_idle_timeout_sec] if args.key?(:udp_idle_timeout_sec)
21495
21542
  end
21496
21543
  end
21497
21544
 
@@ -27588,18 +27635,6 @@ module Google
27588
27635
  # @return [String]
27589
27636
  attr_accessor :network
27590
27637
 
27591
- # The redundancy mode configured for this VPN gateway. Possible values are
27592
- # ACTIVE_ACTIVE and NONE. If set to ACTIVE_ACTIVE, two VPN interfaces are
27593
- # created thereby providing higher availability. If set to NONE, only one
27594
- # interface is created with a lower availability SLA.
27595
- # If this field is specified, either 2 or 1 external IP addresses (depending on
27596
- # the value of specified redundancy) are automatically allocated for use with
27597
- # this VPN gateway, and incoming traffic on the external addresses to ports ESP,
27598
- # UDP:500 and UDP:4500 are automatically forwarded to this gateway.
27599
- # Corresponds to the JSON property `redundancy`
27600
- # @return [String]
27601
- attr_accessor :redundancy
27602
-
27603
27638
  # [Output Only] URL of the region where the VPN gateway resides.
27604
27639
  # Corresponds to the JSON property `region`
27605
27640
  # @return [String]
@@ -27629,7 +27664,6 @@ module Google
27629
27664
  @labels = args[:labels] if args.key?(:labels)
27630
27665
  @name = args[:name] if args.key?(:name)
27631
27666
  @network = args[:network] if args.key?(:network)
27632
- @redundancy = args[:redundancy] if args.key?(:redundancy)
27633
27667
  @region = args[:region] if args.key?(:region)
27634
27668
  @self_link = args[:self_link] if args.key?(:self_link)
27635
27669
  @vpn_interfaces = args[:vpn_interfaces] if args.key?(:vpn_interfaces)
@@ -28112,15 +28146,12 @@ module Google
28112
28146
 
28113
28147
  # URL of the VPN gateway with which this VPN tunnel is associated. Provided by
28114
28148
  # the client when the VPN tunnel is created. This must be used (instead of
28115
- # target_vpn_gateway) if a VPN gateway resource is created with redundancy.
28116
- # VPN gateway resource provides a way to create a highly available VPN setup.
28149
+ # target_vpn_gateway) if a High Availability VPN gateway resource is created.
28117
28150
  # Corresponds to the JSON property `vpnGateway`
28118
28151
  # @return [String]
28119
28152
  attr_accessor :vpn_gateway
28120
28153
 
28121
28154
  # The interface ID of the VPN gateway with which this VPN tunnel is associated.
28122
- # If the VPN gateway has redundancy other than NONE, this field is required to
28123
- # identify which interface of the VPN gateway to use.
28124
28155
  # Corresponds to the JSON property `vpnGatewayInterface`
28125
28156
  # @return [Fixnum]
28126
28157
  attr_accessor :vpn_gateway_interface
@@ -5433,6 +5433,7 @@ module Google
5433
5433
  class Representation < Google::Apis::Core::JsonRepresentation
5434
5434
  property :ip_address, as: 'IPAddress'
5435
5435
  property :ip_protocol, as: 'IPProtocol'
5436
+ property :all_ports, as: 'allPorts'
5436
5437
  property :backend_service, as: 'backendService'
5437
5438
  property :creation_timestamp, as: 'creationTimestamp'
5438
5439
  property :description, as: 'description'
@@ -9472,12 +9473,17 @@ module Google
9472
9473
  # @private
9473
9474
  class Representation < Google::Apis::Core::JsonRepresentation
9474
9475
  collection :auto_allocated_nat_ips, as: 'autoAllocatedNatIps'
9476
+ property :icmp_idle_timeout_sec, as: 'icmpIdleTimeoutSec'
9477
+ property :min_ports_per_vm, as: 'minPortsPerVm'
9475
9478
  property :name, as: 'name'
9476
9479
  property :nat_ip_allocate_option, as: 'natIpAllocateOption'
9477
9480
  collection :nat_ips, as: 'natIps'
9478
9481
  property :source_subnetwork_ip_ranges_to_nat, as: 'sourceSubnetworkIpRangesToNat'
9479
9482
  collection :subnetworks, as: 'subnetworks', class: Google::Apis::ComputeAlpha::RouterNatSubnetworkToNat, decorator: Google::Apis::ComputeAlpha::RouterNatSubnetworkToNat::Representation
9480
9483
 
9484
+ property :tcp_established_idle_timeout_sec, as: 'tcpEstablishedIdleTimeoutSec'
9485
+ property :tcp_transitory_idle_timeout_sec, as: 'tcpTransitoryIdleTimeoutSec'
9486
+ property :udp_idle_timeout_sec, as: 'udpIdleTimeoutSec'
9481
9487
  end
9482
9488
  end
9483
9489
 
@@ -11052,7 +11058,6 @@ module Google
11052
11058
  hash :labels, as: 'labels'
11053
11059
  property :name, as: 'name'
11054
11060
  property :network, as: 'network'
11055
- property :redundancy, as: 'redundancy'
11056
11061
  property :region, as: 'region'
11057
11062
  property :self_link, as: 'selfLink'
11058
11063
  collection :vpn_interfaces, as: 'vpnInterfaces', class: Google::Apis::ComputeAlpha::VpnGatewayVpnGatewayInterface, decorator: Google::Apis::ComputeAlpha::VpnGatewayVpnGatewayInterface::Representation
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://developers.google.com/compute/docs/reference/latest/
26
26
  module ComputeBeta
27
27
  VERSION = 'Beta'
28
- REVISION = '20180518'
28
+ REVISION = '20180525'
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'
@@ -594,6 +594,12 @@ module Google
594
594
  # @return [String]
595
595
  attr_accessor :name
596
596
 
597
+ # The URL of the network in which to reserve the address. This field can only be
598
+ # used with INTERNAL type with VPC_PEERING purpose.
599
+ # Corresponds to the JSON property `network`
600
+ # @return [String]
601
+ attr_accessor :network
602
+
597
603
  # This signifies the networking tier used for configuring this Address and can
598
604
  # only take the following values: PREMIUM , STANDARD.
599
605
  # If this field is not specified, it is assumed to be PREMIUM.
@@ -601,6 +607,16 @@ module Google
601
607
  # @return [String]
602
608
  attr_accessor :network_tier
603
609
 
610
+ # The prefix length if the resource reprensents an IP range.
611
+ # Corresponds to the JSON property `prefixLength`
612
+ # @return [Fixnum]
613
+ attr_accessor :prefix_length
614
+
615
+ # The purpose of resource, only used with INTERNAL type.
616
+ # Corresponds to the JSON property `purpose`
617
+ # @return [String]
618
+ attr_accessor :purpose
619
+
604
620
  # [Output Only] URL of the region where the regional address resides. This field
605
621
  # is not applicable to global addresses. You must specify this field as part of
606
622
  # the HTTP request URL. You cannot set this field in the request body.
@@ -650,7 +666,10 @@ module Google
650
666
  @label_fingerprint = args[:label_fingerprint] if args.key?(:label_fingerprint)
651
667
  @labels = args[:labels] if args.key?(:labels)
652
668
  @name = args[:name] if args.key?(:name)
669
+ @network = args[:network] if args.key?(:network)
653
670
  @network_tier = args[:network_tier] if args.key?(:network_tier)
671
+ @prefix_length = args[:prefix_length] if args.key?(:prefix_length)
672
+ @purpose = args[:purpose] if args.key?(:purpose)
654
673
  @region = args[:region] if args.key?(:region)
655
674
  @self_link = args[:self_link] if args.key?(:self_link)
656
675
  @status = args[:status] if args.key?(:status)
@@ -2021,6 +2040,15 @@ module Google
2021
2040
  # @return [Fixnum]
2022
2041
  attr_accessor :max_connections
2023
2042
 
2043
+ # The max number of simultaneous connections that a single backend network
2044
+ # endpoint can handle. This is used to calculate the capacity of the group. Can
2045
+ # be used in either CONNECTION or UTILIZATION balancing modes. For CONNECTION
2046
+ # mode, either maxConnections or maxConnectionsPerEndpoint must be set.
2047
+ # This cannot be used for internal load balancing.
2048
+ # Corresponds to the JSON property `maxConnectionsPerEndpoint`
2049
+ # @return [Fixnum]
2050
+ attr_accessor :max_connections_per_endpoint
2051
+
2024
2052
  # The max number of simultaneous connections that a single backend instance can
2025
2053
  # handle. This is used to calculate the capacity of the group. Can be used in
2026
2054
  # either CONNECTION or UTILIZATION balancing modes. For CONNECTION mode, either
@@ -2038,6 +2066,15 @@ module Google
2038
2066
  # @return [Fixnum]
2039
2067
  attr_accessor :max_rate
2040
2068
 
2069
+ # The max requests per second (RPS) that a single backend network endpoint can
2070
+ # handle. This is used to calculate the capacity of the group. Can be used in
2071
+ # either balancing mode. For RATE mode, either maxRate or maxRatePerEndpoint
2072
+ # must be set.
2073
+ # This cannot be used for internal load balancing.
2074
+ # Corresponds to the JSON property `maxRatePerEndpoint`
2075
+ # @return [Float]
2076
+ attr_accessor :max_rate_per_endpoint
2077
+
2041
2078
  # The max requests per second (RPS) that a single backend instance can handle.
2042
2079
  # This is used to calculate the capacity of the group. Can be used in either
2043
2080
  # balancing mode. For RATE mode, either maxRate or maxRatePerInstance must be
@@ -2065,8 +2102,10 @@ module Google
2065
2102
  @description = args[:description] if args.key?(:description)
2066
2103
  @group = args[:group] if args.key?(:group)
2067
2104
  @max_connections = args[:max_connections] if args.key?(:max_connections)
2105
+ @max_connections_per_endpoint = args[:max_connections_per_endpoint] if args.key?(:max_connections_per_endpoint)
2068
2106
  @max_connections_per_instance = args[:max_connections_per_instance] if args.key?(:max_connections_per_instance)
2069
2107
  @max_rate = args[:max_rate] if args.key?(:max_rate)
2108
+ @max_rate_per_endpoint = args[:max_rate_per_endpoint] if args.key?(:max_rate_per_endpoint)
2070
2109
  @max_rate_per_instance = args[:max_rate_per_instance] if args.key?(:max_rate_per_instance)
2071
2110
  @max_utilization = args[:max_utilization] if args.key?(:max_utilization)
2072
2111
  end
@@ -2827,6 +2866,25 @@ module Google
2827
2866
  end
2828
2867
  end
2829
2868
 
2869
+ #
2870
+ class BackendServiceReference
2871
+ include Google::Apis::Core::Hashable
2872
+
2873
+ #
2874
+ # Corresponds to the JSON property `backendService`
2875
+ # @return [String]
2876
+ attr_accessor :backend_service
2877
+
2878
+ def initialize(**args)
2879
+ update!(**args)
2880
+ end
2881
+
2882
+ # Update properties of this object
2883
+ def update!(**args)
2884
+ @backend_service = args[:backend_service] if args.key?(:backend_service)
2885
+ end
2886
+ end
2887
+
2830
2888
  #
2831
2889
  class BackendServicesScopedList
2832
2890
  include Google::Apis::Core::Hashable
@@ -5743,6 +5801,25 @@ module Google
5743
5801
  end
5744
5802
  end
5745
5803
 
5804
+ #
5805
+ class ForwardingRuleReference
5806
+ include Google::Apis::Core::Hashable
5807
+
5808
+ #
5809
+ # Corresponds to the JSON property `forwardingRule`
5810
+ # @return [String]
5811
+ attr_accessor :forwarding_rule
5812
+
5813
+ def initialize(**args)
5814
+ update!(**args)
5815
+ end
5816
+
5817
+ # Update properties of this object
5818
+ def update!(**args)
5819
+ @forwarding_rule = args[:forwarding_rule] if args.key?(:forwarding_rule)
5820
+ end
5821
+ end
5822
+
5746
5823
  #
5747
5824
  class ForwardingRulesScopedList
5748
5825
  include Google::Apis::Core::Hashable
@@ -5913,6 +5990,26 @@ module Google
5913
5990
  # @return [String]
5914
5991
  attr_accessor :port_name
5915
5992
 
5993
+ # Specifies how port is selected for health checking, can be one of following
5994
+ # values:
5995
+ # USE_FIXED_PORT: The port number in
5996
+ # port
5997
+ # is used for health checking.
5998
+ # USE_NAMED_PORT: The
5999
+ # portName
6000
+ # is used for health checking.
6001
+ # USE_SERVING_PORT: For NetworkEndpointGroup, the port specified for each
6002
+ # network endpoint is used for health checking. For other backends, the port or
6003
+ # named port specified in the Backend Service is used for health checking.
6004
+ # If not specified, HTTP2 health check follows behavior specified in
6005
+ # port
6006
+ # and
6007
+ # portName
6008
+ # fields.
6009
+ # Corresponds to the JSON property `portSpecification`
6010
+ # @return [String]
6011
+ attr_accessor :port_specification
6012
+
5916
6013
  # Specifies the type of proxy header to append before sending data to the
5917
6014
  # backend, either NONE or PROXY_V1. The default is NONE.
5918
6015
  # Corresponds to the JSON property `proxyHeader`
@@ -5940,6 +6037,7 @@ module Google
5940
6037
  @host = args[:host] if args.key?(:host)
5941
6038
  @port = args[:port] if args.key?(:port)
5942
6039
  @port_name = args[:port_name] if args.key?(:port_name)
6040
+ @port_specification = args[:port_specification] if args.key?(:port_specification)
5943
6041
  @proxy_header = args[:proxy_header] if args.key?(:proxy_header)
5944
6042
  @request_path = args[:request_path] if args.key?(:request_path)
5945
6043
  @response = args[:response] if args.key?(:response)
@@ -5969,6 +6067,26 @@ module Google
5969
6067
  # @return [String]
5970
6068
  attr_accessor :port_name
5971
6069
 
6070
+ # Specifies how port is selected for health checking, can be one of following
6071
+ # values:
6072
+ # USE_FIXED_PORT: The port number in
6073
+ # port
6074
+ # is used for health checking.
6075
+ # USE_NAMED_PORT: The
6076
+ # portName
6077
+ # is used for health checking.
6078
+ # USE_SERVING_PORT: For NetworkEndpointGroup, the port specified for each
6079
+ # network endpoint is used for health checking. For other backends, the port or
6080
+ # named port specified in the Backend Service is used for health checking.
6081
+ # If not specified, HTTP health check follows behavior specified in
6082
+ # port
6083
+ # and
6084
+ # portName
6085
+ # fields.
6086
+ # Corresponds to the JSON property `portSpecification`
6087
+ # @return [String]
6088
+ attr_accessor :port_specification
6089
+
5972
6090
  # Specifies the type of proxy header to append before sending data to the
5973
6091
  # backend, either NONE or PROXY_V1. The default is NONE.
5974
6092
  # Corresponds to the JSON property `proxyHeader`
@@ -5996,6 +6114,7 @@ module Google
5996
6114
  @host = args[:host] if args.key?(:host)
5997
6115
  @port = args[:port] if args.key?(:port)
5998
6116
  @port_name = args[:port_name] if args.key?(:port_name)
6117
+ @port_specification = args[:port_specification] if args.key?(:port_specification)
5999
6118
  @proxy_header = args[:proxy_header] if args.key?(:proxy_header)
6000
6119
  @request_path = args[:request_path] if args.key?(:request_path)
6001
6120
  @response = args[:response] if args.key?(:response)
@@ -6025,6 +6144,26 @@ module Google
6025
6144
  # @return [String]
6026
6145
  attr_accessor :port_name
6027
6146
 
6147
+ # Specifies how port is selected for health checking, can be one of following
6148
+ # values:
6149
+ # USE_FIXED_PORT: The port number in
6150
+ # port
6151
+ # is used for health checking.
6152
+ # USE_NAMED_PORT: The
6153
+ # portName
6154
+ # is used for health checking.
6155
+ # USE_SERVING_PORT: For NetworkEndpointGroup, the port specified for each
6156
+ # network endpoint is used for health checking. For other backends, the port or
6157
+ # named port specified in the Backend Service is used for health checking.
6158
+ # If not specified, HTTPS health check follows behavior specified in
6159
+ # port
6160
+ # and
6161
+ # portName
6162
+ # fields.
6163
+ # Corresponds to the JSON property `portSpecification`
6164
+ # @return [String]
6165
+ attr_accessor :port_specification
6166
+
6028
6167
  # Specifies the type of proxy header to append before sending data to the
6029
6168
  # backend, either NONE or PROXY_V1. The default is NONE.
6030
6169
  # Corresponds to the JSON property `proxyHeader`
@@ -6052,6 +6191,7 @@ module Google
6052
6191
  @host = args[:host] if args.key?(:host)
6053
6192
  @port = args[:port] if args.key?(:port)
6054
6193
  @port_name = args[:port_name] if args.key?(:port_name)
6194
+ @port_specification = args[:port_specification] if args.key?(:port_specification)
6055
6195
  @proxy_header = args[:proxy_header] if args.key?(:proxy_header)
6056
6196
  @request_path = args[:request_path] if args.key?(:request_path)
6057
6197
  @response = args[:response] if args.key?(:response)
@@ -6366,6 +6506,51 @@ module Google
6366
6506
  end
6367
6507
  end
6368
6508
 
6509
+ #
6510
+ class HealthStatusForNetworkEndpoint
6511
+ include Google::Apis::Core::Hashable
6512
+
6513
+ # URL of the backend service associated with the health state of the network
6514
+ # endpoint.
6515
+ # Corresponds to the JSON property `backendService`
6516
+ # @return [Google::Apis::ComputeBeta::BackendServiceReference]
6517
+ attr_accessor :backend_service
6518
+
6519
+ # URL of the forwarding rule associated with the health state of the network
6520
+ # endpoint.
6521
+ # Corresponds to the JSON property `forwardingRule`
6522
+ # @return [Google::Apis::ComputeBeta::ForwardingRuleReference]
6523
+ attr_accessor :forwarding_rule
6524
+
6525
+ # A full or valid partial URL to a health check. For example, the following are
6526
+ # valid URLs:
6527
+ # - https://www.googleapis.com/compute/beta/projects/project-id/global/
6528
+ # httpHealthChecks/health-check
6529
+ # - projects/project-id/global/httpHealthChecks/health-check
6530
+ # - global/httpHealthChecks/health-check
6531
+ # Corresponds to the JSON property `healthCheck`
6532
+ # @return [Google::Apis::ComputeBeta::HealthCheckReference]
6533
+ attr_accessor :health_check
6534
+
6535
+ # Health state of the network endpoint determined based on the health checks
6536
+ # configured.
6537
+ # Corresponds to the JSON property `healthState`
6538
+ # @return [String]
6539
+ attr_accessor :health_state
6540
+
6541
+ def initialize(**args)
6542
+ update!(**args)
6543
+ end
6544
+
6545
+ # Update properties of this object
6546
+ def update!(**args)
6547
+ @backend_service = args[:backend_service] if args.key?(:backend_service)
6548
+ @forwarding_rule = args[:forwarding_rule] if args.key?(:forwarding_rule)
6549
+ @health_check = args[:health_check] if args.key?(:health_check)
6550
+ @health_state = args[:health_state] if args.key?(:health_state)
6551
+ end
6552
+ end
6553
+
6369
6554
  # UrlMaps A host-matching rule for a URL. If matched, will use the named
6370
6555
  # PathMatcher to select the BackendService.
6371
6556
  class HostRule
@@ -12174,7 +12359,7 @@ module Google
12174
12359
  end
12175
12360
  end
12176
12361
 
12177
- # Next available tag: 12
12362
+ # A Managed Instance resource.
12178
12363
  class ManagedInstance
12179
12364
  include Google::Apis::Core::Hashable
12180
12365
 
@@ -12543,78 +12728,109 @@ module Google
12543
12728
  end
12544
12729
  end
12545
12730
 
12546
- # A network interface resource attached to an instance.
12547
- class NetworkInterface
12731
+ # The network endpoint.
12732
+ class NetworkEndpoint
12548
12733
  include Google::Apis::Core::Hashable
12549
12734
 
12550
- # An array of configurations for this interface. Currently, only one access
12551
- # config, ONE_TO_ONE_NAT, is supported. If there are no accessConfigs specified,
12552
- # then this instance will have no external internet access.
12553
- # Corresponds to the JSON property `accessConfigs`
12554
- # @return [Array<Google::Apis::ComputeBeta::AccessConfig>]
12555
- attr_accessor :access_configs
12735
+ # The name for a specific VM instance that the IP address belongs to. This is
12736
+ # required for network endpoints of type GCE_VM_IP and GCE_VM_IP_PORT. The
12737
+ # instance must be in the same zone of network endpoint group.
12738
+ # The name must be 1-63 characters long, and comply with RFC1035.
12739
+ # Corresponds to the JSON property `instance`
12740
+ # @return [String]
12741
+ attr_accessor :instance
12556
12742
 
12557
- # An array of alias IP ranges for this network interface. Can only be specified
12558
- # for network interfaces on subnet-mode networks.
12559
- # Corresponds to the JSON property `aliasIpRanges`
12560
- # @return [Array<Google::Apis::ComputeBeta::AliasIpRange>]
12561
- attr_accessor :alias_ip_ranges
12743
+ # Optional IPv4 address of network endpoint. The IP address must belong to a VM
12744
+ # in GCE (either the primary IP or as part of an aliased IP range). If the IP
12745
+ # address is not specified, then the primary IP address for the VM instance in
12746
+ # the network that the network endpoint group belongs to will be used.
12747
+ # Corresponds to the JSON property `ipAddress`
12748
+ # @return [String]
12749
+ attr_accessor :ip_address
12562
12750
 
12563
- # Fingerprint hash of contents stored in this network interface. This field will
12564
- # be ignored when inserting an Instance or adding a NetworkInterface. An up-to-
12565
- # date fingerprint must be provided in order to update the NetworkInterface.
12566
- # Corresponds to the JSON property `fingerprint`
12567
- # NOTE: Values are automatically base64 encoded/decoded in the client library.
12751
+ # Optional port number of network endpoint. If not specified and the
12752
+ # NetworkEndpointGroup.network_endpoint_type is GCE_IP_PORT, the defaultPort for
12753
+ # the network endpoint group will be used.
12754
+ # Corresponds to the JSON property `port`
12755
+ # @return [Fixnum]
12756
+ attr_accessor :port
12757
+
12758
+ def initialize(**args)
12759
+ update!(**args)
12760
+ end
12761
+
12762
+ # Update properties of this object
12763
+ def update!(**args)
12764
+ @instance = args[:instance] if args.key?(:instance)
12765
+ @ip_address = args[:ip_address] if args.key?(:ip_address)
12766
+ @port = args[:port] if args.key?(:port)
12767
+ end
12768
+ end
12769
+
12770
+ # Represents a collection of network endpoints.
12771
+ class NetworkEndpointGroup
12772
+ include Google::Apis::Core::Hashable
12773
+
12774
+ # [Output Only] Creation timestamp in RFC3339 text format.
12775
+ # Corresponds to the JSON property `creationTimestamp`
12568
12776
  # @return [String]
12569
- attr_accessor :fingerprint
12777
+ attr_accessor :creation_timestamp
12570
12778
 
12571
- # [Output Only] Type of the resource. Always compute#networkInterface for
12572
- # network interfaces.
12779
+ # An optional description of this resource. Provide this property when you
12780
+ # create the resource.
12781
+ # Corresponds to the JSON property `description`
12782
+ # @return [String]
12783
+ attr_accessor :description
12784
+
12785
+ # [Output Only] The unique identifier for the resource. This identifier is
12786
+ # defined by the server.
12787
+ # Corresponds to the JSON property `id`
12788
+ # @return [Fixnum]
12789
+ attr_accessor :id
12790
+
12791
+ # [Output Only] Type of the resource. Always compute#networkEndpointGroup for
12792
+ # network endpoint group.
12573
12793
  # Corresponds to the JSON property `kind`
12574
12794
  # @return [String]
12575
12795
  attr_accessor :kind
12576
12796
 
12577
- # [Output Only] The name of the network interface, generated by the server. For
12578
- # network devices, these are eth0, eth1, etc.
12797
+ # Load balancing specific fields for network endpoint group of type
12798
+ # LOAD_BALANCING.
12799
+ # Corresponds to the JSON property `loadBalancer`
12800
+ # @return [Google::Apis::ComputeBeta::NetworkEndpointGroupLbNetworkEndpointGroup]
12801
+ attr_accessor :load_balancer
12802
+
12803
+ # Name of the resource; provided by the client when the resource is created. The
12804
+ # name must be 1-63 characters long, and comply with RFC1035. Specifically, the
12805
+ # name must be 1-63 characters long and match the regular expression `[a-z]([-a-
12806
+ # z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter,
12807
+ # and all following characters must be a dash, lowercase letter, or digit,
12808
+ # except the last character, which cannot be a dash.
12579
12809
  # Corresponds to the JSON property `name`
12580
12810
  # @return [String]
12581
12811
  attr_accessor :name
12582
12812
 
12583
- # URL of the network resource for this instance. When creating an instance, if
12584
- # neither the network nor the subnetwork is specified, the default network
12585
- # global/networks/default is used; if the network is not specified but the
12586
- # subnetwork is specified, the network is inferred.
12587
- # This field is optional when creating a firewall rule. If not specified when
12588
- # creating a firewall rule, the default network global/networks/default is used.
12589
- # If you specify this property, you can specify the network as a full or partial
12590
- # URL. For example, the following are all valid URLs:
12591
- # - https://www.googleapis.com/compute/v1/projects/project/global/networks/
12592
- # network
12593
- # - projects/project/global/networks/network
12594
- # - global/networks/default
12595
- # Corresponds to the JSON property `network`
12813
+ # Type of network endpoints in this network endpoint group. Only supported
12814
+ # values for LOAD_BALANCING are GCE_VM_IP or GCE_VM_IP_PORT.
12815
+ # Corresponds to the JSON property `networkEndpointType`
12596
12816
  # @return [String]
12597
- attr_accessor :network
12817
+ attr_accessor :network_endpoint_type
12598
12818
 
12599
- # An IPv4 internal network address to assign to the instance for this network
12600
- # interface. If not specified by the user, an unused internal IP is assigned by
12601
- # the system.
12602
- # Corresponds to the JSON property `networkIP`
12819
+ # [Output Only] Server-defined URL for the resource.
12820
+ # Corresponds to the JSON property `selfLink`
12603
12821
  # @return [String]
12604
- attr_accessor :network_ip
12822
+ attr_accessor :self_link
12605
12823
 
12606
- # The URL of the Subnetwork resource for this instance. If the network resource
12607
- # is in legacy mode, do not provide this property. If the network is in auto
12608
- # subnet mode, providing the subnetwork is optional. If the network is in custom
12609
- # subnet mode, then this field should be specified. If you specify this property,
12610
- # you can specify the subnetwork as a full or partial URL. For example, the
12611
- # following are all valid URLs:
12612
- # - https://www.googleapis.com/compute/v1/projects/project/regions/region/
12613
- # subnetworks/subnetwork
12614
- # - regions/region/subnetworks/subnetwork
12615
- # Corresponds to the JSON property `subnetwork`
12824
+ # [Output only] Number of network endpoints in the network endpoint group.
12825
+ # Corresponds to the JSON property `size`
12826
+ # @return [Fixnum]
12827
+ attr_accessor :size
12828
+
12829
+ # Specify the type of this network endpoint group. Only LOAD_BALANCING is valid
12830
+ # for now.
12831
+ # Corresponds to the JSON property `type`
12616
12832
  # @return [String]
12617
- attr_accessor :subnetwork
12833
+ attr_accessor :type
12618
12834
 
12619
12835
  def initialize(**args)
12620
12836
  update!(**args)
@@ -12622,19 +12838,21 @@ module Google
12622
12838
 
12623
12839
  # Update properties of this object
12624
12840
  def update!(**args)
12625
- @access_configs = args[:access_configs] if args.key?(:access_configs)
12626
- @alias_ip_ranges = args[:alias_ip_ranges] if args.key?(:alias_ip_ranges)
12627
- @fingerprint = args[:fingerprint] if args.key?(:fingerprint)
12841
+ @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
12842
+ @description = args[:description] if args.key?(:description)
12843
+ @id = args[:id] if args.key?(:id)
12628
12844
  @kind = args[:kind] if args.key?(:kind)
12845
+ @load_balancer = args[:load_balancer] if args.key?(:load_balancer)
12629
12846
  @name = args[:name] if args.key?(:name)
12630
- @network = args[:network] if args.key?(:network)
12631
- @network_ip = args[:network_ip] if args.key?(:network_ip)
12632
- @subnetwork = args[:subnetwork] if args.key?(:subnetwork)
12847
+ @network_endpoint_type = args[:network_endpoint_type] if args.key?(:network_endpoint_type)
12848
+ @self_link = args[:self_link] if args.key?(:self_link)
12849
+ @size = args[:size] if args.key?(:size)
12850
+ @type = args[:type] if args.key?(:type)
12633
12851
  end
12634
12852
  end
12635
12853
 
12636
- # Contains a list of networks.
12637
- class NetworkList
12854
+ #
12855
+ class NetworkEndpointGroupAggregatedList
12638
12856
  include Google::Apis::Core::Hashable
12639
12857
 
12640
12858
  # [Output Only] Unique identifier for the resource; defined by the server.
@@ -12642,13 +12860,14 @@ module Google
12642
12860
  # @return [String]
12643
12861
  attr_accessor :id
12644
12862
 
12645
- # A list of Network resources.
12863
+ # A list of NetworkEndpointGroupsScopedList resources.
12646
12864
  # Corresponds to the JSON property `items`
12647
- # @return [Array<Google::Apis::ComputeBeta::Network>]
12865
+ # @return [Hash<String,Google::Apis::ComputeBeta::NetworkEndpointGroupsScopedList>]
12648
12866
  attr_accessor :items
12649
12867
 
12650
- # [Output Only] Type of resource. Always compute#networkList for lists of
12651
- # networks.
12868
+ # [Output Only] The resource type, which is always compute#
12869
+ # networkEndpointGroupAggregatedList for aggregated lists of network endpoint
12870
+ # groups.
12652
12871
  # Corresponds to the JSON property `kind`
12653
12872
  # @return [String]
12654
12873
  attr_accessor :kind
@@ -12669,7 +12888,7 @@ module Google
12669
12888
 
12670
12889
  # [Output Only] Informational warning message.
12671
12890
  # Corresponds to the JSON property `warning`
12672
- # @return [Google::Apis::ComputeBeta::NetworkList::Warning]
12891
+ # @return [Google::Apis::ComputeBeta::NetworkEndpointGroupAggregatedList::Warning]
12673
12892
  attr_accessor :warning
12674
12893
 
12675
12894
  def initialize(**args)
@@ -12699,7 +12918,7 @@ module Google
12699
12918
  # [Output Only] Metadata about this warning in key: value format. For example:
12700
12919
  # "data": [ ` "key": "scope", "value": "zones/us-east1-d" `
12701
12920
  # Corresponds to the JSON property `data`
12702
- # @return [Array<Google::Apis::ComputeBeta::NetworkList::Warning::Datum>]
12921
+ # @return [Array<Google::Apis::ComputeBeta::NetworkEndpointGroupAggregatedList::Warning::Datum>]
12703
12922
  attr_accessor :data
12704
12923
 
12705
12924
  # [Output Only] A human-readable description of the warning code.
@@ -12751,48 +12970,34 @@ module Google
12751
12970
  end
12752
12971
  end
12753
12972
 
12754
- # A network peering attached to a network resource. The message includes the
12755
- # peering name, peer network, peering state, and a flag indicating whether
12756
- # Google Compute Engine should automatically create routes for the peering.
12757
- class NetworkPeering
12973
+ # Load balancing specific fields for network endpoint group of type
12974
+ # LOAD_BALANCING.
12975
+ class NetworkEndpointGroupLbNetworkEndpointGroup
12758
12976
  include Google::Apis::Core::Hashable
12759
12977
 
12760
- # Whether full mesh connectivity is created and managed automatically. When it
12761
- # is set to true, Google Compute Engine will automatically create and manage the
12762
- # routes between two networks when the state is ACTIVE. Otherwise, user needs to
12763
- # create routes manually to route packets to peer network.
12764
- # Corresponds to the JSON property `autoCreateRoutes`
12765
- # @return [Boolean]
12766
- attr_accessor :auto_create_routes
12767
- alias_method :auto_create_routes?, :auto_create_routes
12768
-
12769
- # Name of this peering. Provided by the client when the peering is created. The
12770
- # name must comply with RFC1035. Specifically, the name must be 1-63 characters
12771
- # long and match regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the
12772
- # first character must be a lowercase letter, and all the following characters
12773
- # must be a dash, lowercase letter, or digit, except the last character, which
12774
- # cannot be a dash.
12775
- # Corresponds to the JSON property `name`
12776
- # @return [String]
12777
- attr_accessor :name
12978
+ # The default port used if the port number is not specified in the network
12979
+ # endpoint. If the network endpoint type is GCE_VM_IP, this field must not be
12980
+ # specified.
12981
+ # Corresponds to the JSON property `defaultPort`
12982
+ # @return [Fixnum]
12983
+ attr_accessor :default_port
12778
12984
 
12779
- # The URL of the peer network. It can be either full URL or partial URL. The
12780
- # peer network may belong to a different project. If the partial URL does not
12781
- # contain project, it is assumed that the peer network is in the same project as
12782
- # the current network.
12985
+ # The URL of the network to which all network endpoints in the NEG belong. Uses "
12986
+ # default" project network if unspecified.
12783
12987
  # Corresponds to the JSON property `network`
12784
12988
  # @return [String]
12785
12989
  attr_accessor :network
12786
12990
 
12787
- # [Output Only] State for the peering.
12788
- # Corresponds to the JSON property `state`
12991
+ # Optional URL of the subnetwork to which all network endpoints in the NEG
12992
+ # belong.
12993
+ # Corresponds to the JSON property `subnetwork`
12789
12994
  # @return [String]
12790
- attr_accessor :state
12995
+ attr_accessor :subnetwork
12791
12996
 
12792
- # [Output Only] Details about the current state of the peering.
12793
- # Corresponds to the JSON property `stateDetails`
12997
+ # [Output Only] The URL of the zone where the network endpoint group is located.
12998
+ # Corresponds to the JSON property `zone`
12794
12999
  # @return [String]
12795
- attr_accessor :state_details
13000
+ attr_accessor :zone
12796
13001
 
12797
13002
  def initialize(**args)
12798
13003
  update!(**args)
@@ -12800,10 +13005,681 @@ module Google
12800
13005
 
12801
13006
  # Update properties of this object
12802
13007
  def update!(**args)
12803
- @auto_create_routes = args[:auto_create_routes] if args.key?(:auto_create_routes)
12804
- @name = args[:name] if args.key?(:name)
13008
+ @default_port = args[:default_port] if args.key?(:default_port)
12805
13009
  @network = args[:network] if args.key?(:network)
12806
- @state = args[:state] if args.key?(:state)
13010
+ @subnetwork = args[:subnetwork] if args.key?(:subnetwork)
13011
+ @zone = args[:zone] if args.key?(:zone)
13012
+ end
13013
+ end
13014
+
13015
+ #
13016
+ class NetworkEndpointGroupList
13017
+ include Google::Apis::Core::Hashable
13018
+
13019
+ # [Output Only] Unique identifier for the resource; defined by the server.
13020
+ # Corresponds to the JSON property `id`
13021
+ # @return [String]
13022
+ attr_accessor :id
13023
+
13024
+ # A list of NetworkEndpointGroup resources.
13025
+ # Corresponds to the JSON property `items`
13026
+ # @return [Array<Google::Apis::ComputeBeta::NetworkEndpointGroup>]
13027
+ attr_accessor :items
13028
+
13029
+ # [Output Only] The resource type, which is always compute#
13030
+ # networkEndpointGroupList for network endpoint group lists.
13031
+ # Corresponds to the JSON property `kind`
13032
+ # @return [String]
13033
+ attr_accessor :kind
13034
+
13035
+ # [Output Only] This token allows you to get the next page of results for list
13036
+ # requests. If the number of results is larger than maxResults, use the
13037
+ # nextPageToken as a value for the query parameter pageToken in the next list
13038
+ # request. Subsequent list requests will have their own nextPageToken to
13039
+ # continue paging through the results.
13040
+ # Corresponds to the JSON property `nextPageToken`
13041
+ # @return [String]
13042
+ attr_accessor :next_page_token
13043
+
13044
+ # [Output Only] Server-defined URL for this resource.
13045
+ # Corresponds to the JSON property `selfLink`
13046
+ # @return [String]
13047
+ attr_accessor :self_link
13048
+
13049
+ # [Output Only] Informational warning message.
13050
+ # Corresponds to the JSON property `warning`
13051
+ # @return [Google::Apis::ComputeBeta::NetworkEndpointGroupList::Warning]
13052
+ attr_accessor :warning
13053
+
13054
+ def initialize(**args)
13055
+ update!(**args)
13056
+ end
13057
+
13058
+ # Update properties of this object
13059
+ def update!(**args)
13060
+ @id = args[:id] if args.key?(:id)
13061
+ @items = args[:items] if args.key?(:items)
13062
+ @kind = args[:kind] if args.key?(:kind)
13063
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
13064
+ @self_link = args[:self_link] if args.key?(:self_link)
13065
+ @warning = args[:warning] if args.key?(:warning)
13066
+ end
13067
+
13068
+ # [Output Only] Informational warning message.
13069
+ class Warning
13070
+ include Google::Apis::Core::Hashable
13071
+
13072
+ # [Output Only] A warning code, if applicable. For example, Compute Engine
13073
+ # returns NO_RESULTS_ON_PAGE if there are no results in the response.
13074
+ # Corresponds to the JSON property `code`
13075
+ # @return [String]
13076
+ attr_accessor :code
13077
+
13078
+ # [Output Only] Metadata about this warning in key: value format. For example:
13079
+ # "data": [ ` "key": "scope", "value": "zones/us-east1-d" `
13080
+ # Corresponds to the JSON property `data`
13081
+ # @return [Array<Google::Apis::ComputeBeta::NetworkEndpointGroupList::Warning::Datum>]
13082
+ attr_accessor :data
13083
+
13084
+ # [Output Only] A human-readable description of the warning code.
13085
+ # Corresponds to the JSON property `message`
13086
+ # @return [String]
13087
+ attr_accessor :message
13088
+
13089
+ def initialize(**args)
13090
+ update!(**args)
13091
+ end
13092
+
13093
+ # Update properties of this object
13094
+ def update!(**args)
13095
+ @code = args[:code] if args.key?(:code)
13096
+ @data = args[:data] if args.key?(:data)
13097
+ @message = args[:message] if args.key?(:message)
13098
+ end
13099
+
13100
+ #
13101
+ class Datum
13102
+ include Google::Apis::Core::Hashable
13103
+
13104
+ # [Output Only] A key that provides more detail on the warning being returned.
13105
+ # For example, for warnings where there are no results in a list request for a
13106
+ # particular zone, this key might be scope and the key value might be the zone
13107
+ # name. Other examples might be a key indicating a deprecated resource and a
13108
+ # suggested replacement, or a warning about invalid network settings (for
13109
+ # example, if an instance attempts to perform IP forwarding but is not enabled
13110
+ # for IP forwarding).
13111
+ # Corresponds to the JSON property `key`
13112
+ # @return [String]
13113
+ attr_accessor :key
13114
+
13115
+ # [Output Only] A warning data value corresponding to the key.
13116
+ # Corresponds to the JSON property `value`
13117
+ # @return [String]
13118
+ attr_accessor :value
13119
+
13120
+ def initialize(**args)
13121
+ update!(**args)
13122
+ end
13123
+
13124
+ # Update properties of this object
13125
+ def update!(**args)
13126
+ @key = args[:key] if args.key?(:key)
13127
+ @value = args[:value] if args.key?(:value)
13128
+ end
13129
+ end
13130
+ end
13131
+ end
13132
+
13133
+ #
13134
+ class NetworkEndpointGroupsAttachEndpointsRequest
13135
+ include Google::Apis::Core::Hashable
13136
+
13137
+ # The list of network endpoints to be attached.
13138
+ # Corresponds to the JSON property `networkEndpoints`
13139
+ # @return [Array<Google::Apis::ComputeBeta::NetworkEndpoint>]
13140
+ attr_accessor :network_endpoints
13141
+
13142
+ def initialize(**args)
13143
+ update!(**args)
13144
+ end
13145
+
13146
+ # Update properties of this object
13147
+ def update!(**args)
13148
+ @network_endpoints = args[:network_endpoints] if args.key?(:network_endpoints)
13149
+ end
13150
+ end
13151
+
13152
+ #
13153
+ class NetworkEndpointGroupsDetachEndpointsRequest
13154
+ include Google::Apis::Core::Hashable
13155
+
13156
+ # The list of network endpoints to be detached.
13157
+ # Corresponds to the JSON property `networkEndpoints`
13158
+ # @return [Array<Google::Apis::ComputeBeta::NetworkEndpoint>]
13159
+ attr_accessor :network_endpoints
13160
+
13161
+ def initialize(**args)
13162
+ update!(**args)
13163
+ end
13164
+
13165
+ # Update properties of this object
13166
+ def update!(**args)
13167
+ @network_endpoints = args[:network_endpoints] if args.key?(:network_endpoints)
13168
+ end
13169
+ end
13170
+
13171
+ #
13172
+ class NetworkEndpointGroupsListEndpointsRequest
13173
+ include Google::Apis::Core::Hashable
13174
+
13175
+ # Optional query parameter for showing the health status of each network
13176
+ # endpoint. Valid options are SKIP or SHOW. If you don't specifiy this parameter,
13177
+ # the health status of network endpoints will not be provided.
13178
+ # Corresponds to the JSON property `healthStatus`
13179
+ # @return [String]
13180
+ attr_accessor :health_status
13181
+
13182
+ def initialize(**args)
13183
+ update!(**args)
13184
+ end
13185
+
13186
+ # Update properties of this object
13187
+ def update!(**args)
13188
+ @health_status = args[:health_status] if args.key?(:health_status)
13189
+ end
13190
+ end
13191
+
13192
+ #
13193
+ class NetworkEndpointGroupsListNetworkEndpoints
13194
+ include Google::Apis::Core::Hashable
13195
+
13196
+ # [Output Only] Unique identifier for the resource; defined by the server.
13197
+ # Corresponds to the JSON property `id`
13198
+ # @return [String]
13199
+ attr_accessor :id
13200
+
13201
+ # A list of NetworkEndpointWithHealthStatus resources.
13202
+ # Corresponds to the JSON property `items`
13203
+ # @return [Array<Google::Apis::ComputeBeta::NetworkEndpointWithHealthStatus>]
13204
+ attr_accessor :items
13205
+
13206
+ # [Output Only] The resource type, which is always compute#
13207
+ # networkEndpointGroupsListNetworkEndpoints for the list of network endpoints in
13208
+ # the specified network endpoint group.
13209
+ # Corresponds to the JSON property `kind`
13210
+ # @return [String]
13211
+ attr_accessor :kind
13212
+
13213
+ # [Output Only] This token allows you to get the next page of results for list
13214
+ # requests. If the number of results is larger than maxResults, use the
13215
+ # nextPageToken as a value for the query parameter pageToken in the next list
13216
+ # request. Subsequent list requests will have their own nextPageToken to
13217
+ # continue paging through the results.
13218
+ # Corresponds to the JSON property `nextPageToken`
13219
+ # @return [String]
13220
+ attr_accessor :next_page_token
13221
+
13222
+ # [Output Only] Informational warning message.
13223
+ # Corresponds to the JSON property `warning`
13224
+ # @return [Google::Apis::ComputeBeta::NetworkEndpointGroupsListNetworkEndpoints::Warning]
13225
+ attr_accessor :warning
13226
+
13227
+ def initialize(**args)
13228
+ update!(**args)
13229
+ end
13230
+
13231
+ # Update properties of this object
13232
+ def update!(**args)
13233
+ @id = args[:id] if args.key?(:id)
13234
+ @items = args[:items] if args.key?(:items)
13235
+ @kind = args[:kind] if args.key?(:kind)
13236
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
13237
+ @warning = args[:warning] if args.key?(:warning)
13238
+ end
13239
+
13240
+ # [Output Only] Informational warning message.
13241
+ class Warning
13242
+ include Google::Apis::Core::Hashable
13243
+
13244
+ # [Output Only] A warning code, if applicable. For example, Compute Engine
13245
+ # returns NO_RESULTS_ON_PAGE if there are no results in the response.
13246
+ # Corresponds to the JSON property `code`
13247
+ # @return [String]
13248
+ attr_accessor :code
13249
+
13250
+ # [Output Only] Metadata about this warning in key: value format. For example:
13251
+ # "data": [ ` "key": "scope", "value": "zones/us-east1-d" `
13252
+ # Corresponds to the JSON property `data`
13253
+ # @return [Array<Google::Apis::ComputeBeta::NetworkEndpointGroupsListNetworkEndpoints::Warning::Datum>]
13254
+ attr_accessor :data
13255
+
13256
+ # [Output Only] A human-readable description of the warning code.
13257
+ # Corresponds to the JSON property `message`
13258
+ # @return [String]
13259
+ attr_accessor :message
13260
+
13261
+ def initialize(**args)
13262
+ update!(**args)
13263
+ end
13264
+
13265
+ # Update properties of this object
13266
+ def update!(**args)
13267
+ @code = args[:code] if args.key?(:code)
13268
+ @data = args[:data] if args.key?(:data)
13269
+ @message = args[:message] if args.key?(:message)
13270
+ end
13271
+
13272
+ #
13273
+ class Datum
13274
+ include Google::Apis::Core::Hashable
13275
+
13276
+ # [Output Only] A key that provides more detail on the warning being returned.
13277
+ # For example, for warnings where there are no results in a list request for a
13278
+ # particular zone, this key might be scope and the key value might be the zone
13279
+ # name. Other examples might be a key indicating a deprecated resource and a
13280
+ # suggested replacement, or a warning about invalid network settings (for
13281
+ # example, if an instance attempts to perform IP forwarding but is not enabled
13282
+ # for IP forwarding).
13283
+ # Corresponds to the JSON property `key`
13284
+ # @return [String]
13285
+ attr_accessor :key
13286
+
13287
+ # [Output Only] A warning data value corresponding to the key.
13288
+ # Corresponds to the JSON property `value`
13289
+ # @return [String]
13290
+ attr_accessor :value
13291
+
13292
+ def initialize(**args)
13293
+ update!(**args)
13294
+ end
13295
+
13296
+ # Update properties of this object
13297
+ def update!(**args)
13298
+ @key = args[:key] if args.key?(:key)
13299
+ @value = args[:value] if args.key?(:value)
13300
+ end
13301
+ end
13302
+ end
13303
+ end
13304
+
13305
+ #
13306
+ class NetworkEndpointGroupsScopedList
13307
+ include Google::Apis::Core::Hashable
13308
+
13309
+ # [Output Only] The list of network endpoint groups that are contained in this
13310
+ # scope.
13311
+ # Corresponds to the JSON property `networkEndpointGroups`
13312
+ # @return [Array<Google::Apis::ComputeBeta::NetworkEndpointGroup>]
13313
+ attr_accessor :network_endpoint_groups
13314
+
13315
+ # [Output Only] An informational warning that replaces the list of network
13316
+ # endpoint groups when the list is empty.
13317
+ # Corresponds to the JSON property `warning`
13318
+ # @return [Google::Apis::ComputeBeta::NetworkEndpointGroupsScopedList::Warning]
13319
+ attr_accessor :warning
13320
+
13321
+ def initialize(**args)
13322
+ update!(**args)
13323
+ end
13324
+
13325
+ # Update properties of this object
13326
+ def update!(**args)
13327
+ @network_endpoint_groups = args[:network_endpoint_groups] if args.key?(:network_endpoint_groups)
13328
+ @warning = args[:warning] if args.key?(:warning)
13329
+ end
13330
+
13331
+ # [Output Only] An informational warning that replaces the list of network
13332
+ # endpoint groups when the list is empty.
13333
+ class Warning
13334
+ include Google::Apis::Core::Hashable
13335
+
13336
+ # [Output Only] A warning code, if applicable. For example, Compute Engine
13337
+ # returns NO_RESULTS_ON_PAGE if there are no results in the response.
13338
+ # Corresponds to the JSON property `code`
13339
+ # @return [String]
13340
+ attr_accessor :code
13341
+
13342
+ # [Output Only] Metadata about this warning in key: value format. For example:
13343
+ # "data": [ ` "key": "scope", "value": "zones/us-east1-d" `
13344
+ # Corresponds to the JSON property `data`
13345
+ # @return [Array<Google::Apis::ComputeBeta::NetworkEndpointGroupsScopedList::Warning::Datum>]
13346
+ attr_accessor :data
13347
+
13348
+ # [Output Only] A human-readable description of the warning code.
13349
+ # Corresponds to the JSON property `message`
13350
+ # @return [String]
13351
+ attr_accessor :message
13352
+
13353
+ def initialize(**args)
13354
+ update!(**args)
13355
+ end
13356
+
13357
+ # Update properties of this object
13358
+ def update!(**args)
13359
+ @code = args[:code] if args.key?(:code)
13360
+ @data = args[:data] if args.key?(:data)
13361
+ @message = args[:message] if args.key?(:message)
13362
+ end
13363
+
13364
+ #
13365
+ class Datum
13366
+ include Google::Apis::Core::Hashable
13367
+
13368
+ # [Output Only] A key that provides more detail on the warning being returned.
13369
+ # For example, for warnings where there are no results in a list request for a
13370
+ # particular zone, this key might be scope and the key value might be the zone
13371
+ # name. Other examples might be a key indicating a deprecated resource and a
13372
+ # suggested replacement, or a warning about invalid network settings (for
13373
+ # example, if an instance attempts to perform IP forwarding but is not enabled
13374
+ # for IP forwarding).
13375
+ # Corresponds to the JSON property `key`
13376
+ # @return [String]
13377
+ attr_accessor :key
13378
+
13379
+ # [Output Only] A warning data value corresponding to the key.
13380
+ # Corresponds to the JSON property `value`
13381
+ # @return [String]
13382
+ attr_accessor :value
13383
+
13384
+ def initialize(**args)
13385
+ update!(**args)
13386
+ end
13387
+
13388
+ # Update properties of this object
13389
+ def update!(**args)
13390
+ @key = args[:key] if args.key?(:key)
13391
+ @value = args[:value] if args.key?(:value)
13392
+ end
13393
+ end
13394
+ end
13395
+ end
13396
+
13397
+ #
13398
+ class NetworkEndpointWithHealthStatus
13399
+ include Google::Apis::Core::Hashable
13400
+
13401
+ # [Output only] The health status of network endpoint;
13402
+ # Corresponds to the JSON property `healths`
13403
+ # @return [Array<Google::Apis::ComputeBeta::HealthStatusForNetworkEndpoint>]
13404
+ attr_accessor :healths
13405
+
13406
+ # The network endpoint.
13407
+ # Corresponds to the JSON property `networkEndpoint`
13408
+ # @return [Google::Apis::ComputeBeta::NetworkEndpoint]
13409
+ attr_accessor :network_endpoint
13410
+
13411
+ def initialize(**args)
13412
+ update!(**args)
13413
+ end
13414
+
13415
+ # Update properties of this object
13416
+ def update!(**args)
13417
+ @healths = args[:healths] if args.key?(:healths)
13418
+ @network_endpoint = args[:network_endpoint] if args.key?(:network_endpoint)
13419
+ end
13420
+ end
13421
+
13422
+ # A network interface resource attached to an instance.
13423
+ class NetworkInterface
13424
+ include Google::Apis::Core::Hashable
13425
+
13426
+ # An array of configurations for this interface. Currently, only one access
13427
+ # config, ONE_TO_ONE_NAT, is supported. If there are no accessConfigs specified,
13428
+ # then this instance will have no external internet access.
13429
+ # Corresponds to the JSON property `accessConfigs`
13430
+ # @return [Array<Google::Apis::ComputeBeta::AccessConfig>]
13431
+ attr_accessor :access_configs
13432
+
13433
+ # An array of alias IP ranges for this network interface. Can only be specified
13434
+ # for network interfaces on subnet-mode networks.
13435
+ # Corresponds to the JSON property `aliasIpRanges`
13436
+ # @return [Array<Google::Apis::ComputeBeta::AliasIpRange>]
13437
+ attr_accessor :alias_ip_ranges
13438
+
13439
+ # Fingerprint hash of contents stored in this network interface. This field will
13440
+ # be ignored when inserting an Instance or adding a NetworkInterface. An up-to-
13441
+ # date fingerprint must be provided in order to update the NetworkInterface.
13442
+ # Corresponds to the JSON property `fingerprint`
13443
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
13444
+ # @return [String]
13445
+ attr_accessor :fingerprint
13446
+
13447
+ # [Output Only] Type of the resource. Always compute#networkInterface for
13448
+ # network interfaces.
13449
+ # Corresponds to the JSON property `kind`
13450
+ # @return [String]
13451
+ attr_accessor :kind
13452
+
13453
+ # [Output Only] The name of the network interface, generated by the server. For
13454
+ # network devices, these are eth0, eth1, etc.
13455
+ # Corresponds to the JSON property `name`
13456
+ # @return [String]
13457
+ attr_accessor :name
13458
+
13459
+ # URL of the network resource for this instance. When creating an instance, if
13460
+ # neither the network nor the subnetwork is specified, the default network
13461
+ # global/networks/default is used; if the network is not specified but the
13462
+ # subnetwork is specified, the network is inferred.
13463
+ # This field is optional when creating a firewall rule. If not specified when
13464
+ # creating a firewall rule, the default network global/networks/default is used.
13465
+ # If you specify this property, you can specify the network as a full or partial
13466
+ # URL. For example, the following are all valid URLs:
13467
+ # - https://www.googleapis.com/compute/v1/projects/project/global/networks/
13468
+ # network
13469
+ # - projects/project/global/networks/network
13470
+ # - global/networks/default
13471
+ # Corresponds to the JSON property `network`
13472
+ # @return [String]
13473
+ attr_accessor :network
13474
+
13475
+ # An IPv4 internal network address to assign to the instance for this network
13476
+ # interface. If not specified by the user, an unused internal IP is assigned by
13477
+ # the system.
13478
+ # Corresponds to the JSON property `networkIP`
13479
+ # @return [String]
13480
+ attr_accessor :network_ip
13481
+
13482
+ # The URL of the Subnetwork resource for this instance. If the network resource
13483
+ # is in legacy mode, do not provide this property. If the network is in auto
13484
+ # subnet mode, providing the subnetwork is optional. If the network is in custom
13485
+ # subnet mode, then this field should be specified. If you specify this property,
13486
+ # you can specify the subnetwork as a full or partial URL. For example, the
13487
+ # following are all valid URLs:
13488
+ # - https://www.googleapis.com/compute/v1/projects/project/regions/region/
13489
+ # subnetworks/subnetwork
13490
+ # - regions/region/subnetworks/subnetwork
13491
+ # Corresponds to the JSON property `subnetwork`
13492
+ # @return [String]
13493
+ attr_accessor :subnetwork
13494
+
13495
+ def initialize(**args)
13496
+ update!(**args)
13497
+ end
13498
+
13499
+ # Update properties of this object
13500
+ def update!(**args)
13501
+ @access_configs = args[:access_configs] if args.key?(:access_configs)
13502
+ @alias_ip_ranges = args[:alias_ip_ranges] if args.key?(:alias_ip_ranges)
13503
+ @fingerprint = args[:fingerprint] if args.key?(:fingerprint)
13504
+ @kind = args[:kind] if args.key?(:kind)
13505
+ @name = args[:name] if args.key?(:name)
13506
+ @network = args[:network] if args.key?(:network)
13507
+ @network_ip = args[:network_ip] if args.key?(:network_ip)
13508
+ @subnetwork = args[:subnetwork] if args.key?(:subnetwork)
13509
+ end
13510
+ end
13511
+
13512
+ # Contains a list of networks.
13513
+ class NetworkList
13514
+ include Google::Apis::Core::Hashable
13515
+
13516
+ # [Output Only] Unique identifier for the resource; defined by the server.
13517
+ # Corresponds to the JSON property `id`
13518
+ # @return [String]
13519
+ attr_accessor :id
13520
+
13521
+ # A list of Network resources.
13522
+ # Corresponds to the JSON property `items`
13523
+ # @return [Array<Google::Apis::ComputeBeta::Network>]
13524
+ attr_accessor :items
13525
+
13526
+ # [Output Only] Type of resource. Always compute#networkList for lists of
13527
+ # networks.
13528
+ # Corresponds to the JSON property `kind`
13529
+ # @return [String]
13530
+ attr_accessor :kind
13531
+
13532
+ # [Output Only] This token allows you to get the next page of results for list
13533
+ # requests. If the number of results is larger than maxResults, use the
13534
+ # nextPageToken as a value for the query parameter pageToken in the next list
13535
+ # request. Subsequent list requests will have their own nextPageToken to
13536
+ # continue paging through the results.
13537
+ # Corresponds to the JSON property `nextPageToken`
13538
+ # @return [String]
13539
+ attr_accessor :next_page_token
13540
+
13541
+ # [Output Only] Server-defined URL for this resource.
13542
+ # Corresponds to the JSON property `selfLink`
13543
+ # @return [String]
13544
+ attr_accessor :self_link
13545
+
13546
+ # [Output Only] Informational warning message.
13547
+ # Corresponds to the JSON property `warning`
13548
+ # @return [Google::Apis::ComputeBeta::NetworkList::Warning]
13549
+ attr_accessor :warning
13550
+
13551
+ def initialize(**args)
13552
+ update!(**args)
13553
+ end
13554
+
13555
+ # Update properties of this object
13556
+ def update!(**args)
13557
+ @id = args[:id] if args.key?(:id)
13558
+ @items = args[:items] if args.key?(:items)
13559
+ @kind = args[:kind] if args.key?(:kind)
13560
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
13561
+ @self_link = args[:self_link] if args.key?(:self_link)
13562
+ @warning = args[:warning] if args.key?(:warning)
13563
+ end
13564
+
13565
+ # [Output Only] Informational warning message.
13566
+ class Warning
13567
+ include Google::Apis::Core::Hashable
13568
+
13569
+ # [Output Only] A warning code, if applicable. For example, Compute Engine
13570
+ # returns NO_RESULTS_ON_PAGE if there are no results in the response.
13571
+ # Corresponds to the JSON property `code`
13572
+ # @return [String]
13573
+ attr_accessor :code
13574
+
13575
+ # [Output Only] Metadata about this warning in key: value format. For example:
13576
+ # "data": [ ` "key": "scope", "value": "zones/us-east1-d" `
13577
+ # Corresponds to the JSON property `data`
13578
+ # @return [Array<Google::Apis::ComputeBeta::NetworkList::Warning::Datum>]
13579
+ attr_accessor :data
13580
+
13581
+ # [Output Only] A human-readable description of the warning code.
13582
+ # Corresponds to the JSON property `message`
13583
+ # @return [String]
13584
+ attr_accessor :message
13585
+
13586
+ def initialize(**args)
13587
+ update!(**args)
13588
+ end
13589
+
13590
+ # Update properties of this object
13591
+ def update!(**args)
13592
+ @code = args[:code] if args.key?(:code)
13593
+ @data = args[:data] if args.key?(:data)
13594
+ @message = args[:message] if args.key?(:message)
13595
+ end
13596
+
13597
+ #
13598
+ class Datum
13599
+ include Google::Apis::Core::Hashable
13600
+
13601
+ # [Output Only] A key that provides more detail on the warning being returned.
13602
+ # For example, for warnings where there are no results in a list request for a
13603
+ # particular zone, this key might be scope and the key value might be the zone
13604
+ # name. Other examples might be a key indicating a deprecated resource and a
13605
+ # suggested replacement, or a warning about invalid network settings (for
13606
+ # example, if an instance attempts to perform IP forwarding but is not enabled
13607
+ # for IP forwarding).
13608
+ # Corresponds to the JSON property `key`
13609
+ # @return [String]
13610
+ attr_accessor :key
13611
+
13612
+ # [Output Only] A warning data value corresponding to the key.
13613
+ # Corresponds to the JSON property `value`
13614
+ # @return [String]
13615
+ attr_accessor :value
13616
+
13617
+ def initialize(**args)
13618
+ update!(**args)
13619
+ end
13620
+
13621
+ # Update properties of this object
13622
+ def update!(**args)
13623
+ @key = args[:key] if args.key?(:key)
13624
+ @value = args[:value] if args.key?(:value)
13625
+ end
13626
+ end
13627
+ end
13628
+ end
13629
+
13630
+ # A network peering attached to a network resource. The message includes the
13631
+ # peering name, peer network, peering state, and a flag indicating whether
13632
+ # Google Compute Engine should automatically create routes for the peering.
13633
+ class NetworkPeering
13634
+ include Google::Apis::Core::Hashable
13635
+
13636
+ # Whether full mesh connectivity is created and managed automatically. When it
13637
+ # is set to true, Google Compute Engine will automatically create and manage the
13638
+ # routes between two networks when the state is ACTIVE. Otherwise, user needs to
13639
+ # create routes manually to route packets to peer network.
13640
+ # Corresponds to the JSON property `autoCreateRoutes`
13641
+ # @return [Boolean]
13642
+ attr_accessor :auto_create_routes
13643
+ alias_method :auto_create_routes?, :auto_create_routes
13644
+
13645
+ # Name of this peering. Provided by the client when the peering is created. The
13646
+ # name must comply with RFC1035. Specifically, the name must be 1-63 characters
13647
+ # long and match regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the
13648
+ # first character must be a lowercase letter, and all the following characters
13649
+ # must be a dash, lowercase letter, or digit, except the last character, which
13650
+ # cannot be a dash.
13651
+ # Corresponds to the JSON property `name`
13652
+ # @return [String]
13653
+ attr_accessor :name
13654
+
13655
+ # The URL of the peer network. It can be either full URL or partial URL. The
13656
+ # peer network may belong to a different project. If the partial URL does not
13657
+ # contain project, it is assumed that the peer network is in the same project as
13658
+ # the current network.
13659
+ # Corresponds to the JSON property `network`
13660
+ # @return [String]
13661
+ attr_accessor :network
13662
+
13663
+ # [Output Only] State for the peering.
13664
+ # Corresponds to the JSON property `state`
13665
+ # @return [String]
13666
+ attr_accessor :state
13667
+
13668
+ # [Output Only] Details about the current state of the peering.
13669
+ # Corresponds to the JSON property `stateDetails`
13670
+ # @return [String]
13671
+ attr_accessor :state_details
13672
+
13673
+ def initialize(**args)
13674
+ update!(**args)
13675
+ end
13676
+
13677
+ # Update properties of this object
13678
+ def update!(**args)
13679
+ @auto_create_routes = args[:auto_create_routes] if args.key?(:auto_create_routes)
13680
+ @name = args[:name] if args.key?(:name)
13681
+ @network = args[:network] if args.key?(:network)
13682
+ @state = args[:state] if args.key?(:state)
12807
13683
  @state_details = args[:state_details] if args.key?(:state_details)
12808
13684
  end
12809
13685
  end
@@ -15041,6 +15917,25 @@ module Google
15041
15917
  end
15042
15918
  end
15043
15919
 
15920
+ #
15921
+ class PreconfiguredWafSet
15922
+ include Google::Apis::Core::Hashable
15923
+
15924
+ # List of entities that are currently supported for WAF rules.
15925
+ # Corresponds to the JSON property `expressionSets`
15926
+ # @return [Array<Google::Apis::ComputeBeta::WafExpressionSet>]
15927
+ attr_accessor :expression_sets
15928
+
15929
+ def initialize(**args)
15930
+ update!(**args)
15931
+ end
15932
+
15933
+ # Update properties of this object
15934
+ def update!(**args)
15935
+ @expression_sets = args[:expression_sets] if args.key?(:expression_sets)
15936
+ end
15937
+ end
15938
+
15044
15939
  # A Project resource. For an overview of projects, see Cloud Platform Resource
15045
15940
  # Hierarchy. (== resource_for v1.projects ==) (== resource_for beta.projects ==)
15046
15941
  class Project
@@ -17662,6 +18557,26 @@ module Google
17662
18557
  # @return [String]
17663
18558
  attr_accessor :port_name
17664
18559
 
18560
+ # Specifies how port is selected for health checking, can be one of following
18561
+ # values:
18562
+ # USE_FIXED_PORT: The port number in
18563
+ # port
18564
+ # is used for health checking.
18565
+ # USE_NAMED_PORT: The
18566
+ # portName
18567
+ # is used for health checking.
18568
+ # USE_SERVING_PORT: For NetworkEndpointGroup, the port specified for each
18569
+ # network endpoint is used for health checking. For other backends, the port or
18570
+ # named port specified in the Backend Service is used for health checking.
18571
+ # If not specified, SSL health check follows behavior specified in
18572
+ # port
18573
+ # and
18574
+ # portName
18575
+ # fields.
18576
+ # Corresponds to the JSON property `portSpecification`
18577
+ # @return [String]
18578
+ attr_accessor :port_specification
18579
+
17665
18580
  # Specifies the type of proxy header to append before sending data to the
17666
18581
  # backend, either NONE or PROXY_V1. The default is NONE.
17667
18582
  # Corresponds to the JSON property `proxyHeader`
@@ -17691,6 +18606,7 @@ module Google
17691
18606
  def update!(**args)
17692
18607
  @port = args[:port] if args.key?(:port)
17693
18608
  @port_name = args[:port_name] if args.key?(:port_name)
18609
+ @port_specification = args[:port_specification] if args.key?(:port_specification)
17694
18610
  @proxy_header = args[:proxy_header] if args.key?(:proxy_header)
17695
18611
  @request = args[:request] if args.key?(:request)
17696
18612
  @response = args[:response] if args.key?(:response)
@@ -17778,6 +18694,44 @@ module Google
17778
18694
  end
17779
18695
  end
17780
18696
 
18697
+ #
18698
+ class SecurityPoliciesListPreconfiguredExpressionSetsResponse
18699
+ include Google::Apis::Core::Hashable
18700
+
18701
+ #
18702
+ # Corresponds to the JSON property `preconfiguredExpressionSets`
18703
+ # @return [Google::Apis::ComputeBeta::SecurityPoliciesWafConfig]
18704
+ attr_accessor :preconfigured_expression_sets
18705
+
18706
+ def initialize(**args)
18707
+ update!(**args)
18708
+ end
18709
+
18710
+ # Update properties of this object
18711
+ def update!(**args)
18712
+ @preconfigured_expression_sets = args[:preconfigured_expression_sets] if args.key?(:preconfigured_expression_sets)
18713
+ end
18714
+ end
18715
+
18716
+ #
18717
+ class SecurityPoliciesWafConfig
18718
+ include Google::Apis::Core::Hashable
18719
+
18720
+ #
18721
+ # Corresponds to the JSON property `wafRules`
18722
+ # @return [Google::Apis::ComputeBeta::PreconfiguredWafSet]
18723
+ attr_accessor :waf_rules
18724
+
18725
+ def initialize(**args)
18726
+ update!(**args)
18727
+ end
18728
+
18729
+ # Update properties of this object
18730
+ def update!(**args)
18731
+ @waf_rules = args[:waf_rules] if args.key?(:waf_rules)
18732
+ end
18733
+ end
18734
+
17781
18735
  # A security policy is comprised of one or more rules. It can also be associated
17782
18736
  # with one or more 'targets'. Next available tag: 11
17783
18737
  class SecurityPolicy
@@ -23221,6 +24175,63 @@ module Google
23221
24175
  end
23222
24176
  end
23223
24177
 
24178
+ #
24179
+ class WafExpressionSet
24180
+ include Google::Apis::Core::Hashable
24181
+
24182
+ # A list of alternate IDs. The format should be: - E.g. XSS-stable Generic
24183
+ # suffix like "stable" is particularly useful if a policy likes to avail newer
24184
+ # set of expressions without having to change the policy. A given alias name can'
24185
+ # t be used for more than one entity set.
24186
+ # Corresponds to the JSON property `aliases`
24187
+ # @return [Array<String>]
24188
+ attr_accessor :aliases
24189
+
24190
+ # List of available expressions.
24191
+ # Corresponds to the JSON property `expressions`
24192
+ # @return [Array<Google::Apis::ComputeBeta::WafExpressionSetExpression>]
24193
+ attr_accessor :expressions
24194
+
24195
+ # Google specified expression set ID. The format should be: - E.g. XSS-20170329
24196
+ # Corresponds to the JSON property `id`
24197
+ # @return [String]
24198
+ attr_accessor :id
24199
+
24200
+ def initialize(**args)
24201
+ update!(**args)
24202
+ end
24203
+
24204
+ # Update properties of this object
24205
+ def update!(**args)
24206
+ @aliases = args[:aliases] if args.key?(:aliases)
24207
+ @expressions = args[:expressions] if args.key?(:expressions)
24208
+ @id = args[:id] if args.key?(:id)
24209
+ end
24210
+ end
24211
+
24212
+ #
24213
+ class WafExpressionSetExpression
24214
+ include Google::Apis::Core::Hashable
24215
+
24216
+ # Expression ID should uniquely identify the origin of the expression. E.g.
24217
+ # owasp-crs-v020901-id973337 identifies Owasp core rule set version 2.9.1 rule
24218
+ # id 973337. The ID could be used to determine the individual attack definition
24219
+ # that has been detected. It could also be used to exclude it from the policy in
24220
+ # case of false positive.
24221
+ # Corresponds to the JSON property `id`
24222
+ # @return [String]
24223
+ attr_accessor :id
24224
+
24225
+ def initialize(**args)
24226
+ update!(**args)
24227
+ end
24228
+
24229
+ # Update properties of this object
24230
+ def update!(**args)
24231
+ @id = args[:id] if args.key?(:id)
24232
+ end
24233
+ end
24234
+
23224
24235
  #
23225
24236
  class XpnHostList
23226
24237
  include Google::Apis::Core::Hashable