google-api-client 0.15.0 → 0.16.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (227) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +75 -0
  3. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  4. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +17 -35
  5. data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +0 -2
  6. data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +958 -82
  7. data/generated/google/apis/admin_directory_v1.rb +1 -1
  8. data/generated/google/apis/admin_directory_v1/classes.rb +147 -0
  9. data/generated/google/apis/admin_directory_v1/representations.rb +54 -0
  10. data/generated/google/apis/admin_directory_v1/service.rb +71 -1
  11. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  12. data/generated/google/apis/androidenterprise_v1/classes.rb +18 -19
  13. data/generated/google/apis/androidenterprise_v1/service.rb +39 -0
  14. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  15. data/generated/google/apis/androidmanagement_v1/classes.rb +12 -11
  16. data/generated/google/apis/androidpublisher_v2.rb +1 -1
  17. data/generated/google/apis/androidpublisher_v2/classes.rb +0 -189
  18. data/generated/google/apis/androidpublisher_v2/representations.rb +0 -120
  19. data/generated/google/apis/androidpublisher_v2/service.rb +0 -35
  20. data/generated/google/apis/appengine_v1.rb +1 -1
  21. data/generated/google/apis/appengine_v1/classes.rb +1 -46
  22. data/generated/google/apis/appengine_v1/representations.rb +0 -17
  23. data/generated/google/apis/appengine_v1/service.rb +5 -1
  24. data/generated/google/apis/appengine_v1alpha.rb +1 -1
  25. data/generated/google/apis/appengine_v1alpha/classes.rb +0 -45
  26. data/generated/google/apis/appengine_v1alpha/representations.rb +0 -17
  27. data/generated/google/apis/appengine_v1alpha/service.rb +5 -1
  28. data/generated/google/apis/appengine_v1beta.rb +1 -1
  29. data/generated/google/apis/appengine_v1beta/classes.rb +5 -47
  30. data/generated/google/apis/appengine_v1beta/representations.rb +0 -17
  31. data/generated/google/apis/appengine_v1beta/service.rb +5 -1
  32. data/generated/google/apis/appengine_v1beta4.rb +1 -1
  33. data/generated/google/apis/appengine_v1beta4/classes.rb +44 -45
  34. data/generated/google/apis/appengine_v1beta4/representations.rb +16 -17
  35. data/generated/google/apis/appengine_v1beta5.rb +1 -1
  36. data/generated/google/apis/appengine_v1beta5/classes.rb +4 -46
  37. data/generated/google/apis/appengine_v1beta5/representations.rb +0 -17
  38. data/generated/google/apis/bigquery_v2.rb +1 -1
  39. data/generated/google/apis/bigquery_v2/classes.rb +41 -24
  40. data/generated/google/apis/bigquery_v2/representations.rb +3 -0
  41. data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
  42. data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +3 -7
  43. data/generated/google/apis/bigquerydatatransfer_v1/representations.rb +0 -1
  44. data/generated/google/apis/calendar_v3.rb +1 -1
  45. data/generated/google/apis/calendar_v3/service.rb +15 -3
  46. data/generated/google/apis/classroom_v1.rb +4 -1
  47. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  48. data/generated/google/apis/cloudbuild_v1/classes.rb +26 -0
  49. data/generated/google/apis/cloudbuild_v1/representations.rb +14 -0
  50. data/generated/google/apis/cloudbuild_v1/service.rb +91 -0
  51. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  52. data/generated/google/apis/cloudfunctions_v1/classes.rb +482 -0
  53. data/generated/google/apis/cloudfunctions_v1/representations.rb +210 -0
  54. data/generated/google/apis/cloudfunctions_v1/service.rb +288 -0
  55. data/generated/google/apis/cloudfunctions_v1beta2.rb +1 -1
  56. data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +119 -0
  57. data/generated/google/apis/cloudfunctions_v1beta2/representations.rb +68 -0
  58. data/generated/google/apis/cloudfunctions_v1beta2/service.rb +77 -0
  59. data/generated/google/apis/cloudiot_v1.rb +1 -1
  60. data/generated/google/apis/cloudiot_v1/service.rb +7 -3
  61. data/generated/google/apis/cloudiot_v1beta1.rb +1 -1
  62. data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
  63. data/generated/google/apis/cloudtasks_v2beta2/classes.rb +2 -4
  64. data/generated/google/apis/cloudtasks_v2beta2/representations.rb +2 -2
  65. data/generated/google/apis/cloudtasks_v2beta2/service.rb +4 -14
  66. data/generated/google/apis/cloudtrace_v2.rb +1 -1
  67. data/generated/google/apis/cloudtrace_v2/classes.rb +10 -7
  68. data/generated/google/apis/cloudtrace_v2/representations.rb +2 -2
  69. data/generated/google/apis/compute_alpha.rb +1 -1
  70. data/generated/google/apis/compute_alpha/classes.rb +143 -83
  71. data/generated/google/apis/compute_alpha/representations.rb +50 -30
  72. data/generated/google/apis/compute_alpha/service.rb +171 -5
  73. data/generated/google/apis/compute_beta.rb +1 -1
  74. data/generated/google/apis/compute_beta/classes.rb +47 -43
  75. data/generated/google/apis/compute_beta/representations.rb +1 -2
  76. data/generated/google/apis/compute_beta/service.rb +60 -5
  77. data/generated/google/apis/compute_v1.rb +1 -1
  78. data/generated/google/apis/compute_v1/classes.rb +1326 -168
  79. data/generated/google/apis/compute_v1/representations.rb +402 -0
  80. data/generated/google/apis/compute_v1/service.rb +751 -5
  81. data/generated/google/apis/container_v1beta1.rb +1 -1
  82. data/generated/google/apis/content_v2.rb +1 -1
  83. data/generated/google/apis/content_v2/classes.rb +23 -16
  84. data/generated/google/apis/content_v2/service.rb +142 -162
  85. data/generated/google/apis/content_v2sandbox.rb +1 -1
  86. data/generated/google/apis/content_v2sandbox/service.rb +43 -43
  87. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  88. data/generated/google/apis/dataflow_v1b3/classes.rb +44 -35
  89. data/generated/google/apis/dataflow_v1b3/representations.rb +6 -17
  90. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  91. data/generated/google/apis/dataproc_v1beta2/classes.rb +39 -37
  92. data/generated/google/apis/dataproc_v1beta2/service.rb +30 -30
  93. data/generated/google/apis/datastore_v1.rb +1 -1
  94. data/generated/google/apis/datastore_v1/classes.rb +39 -60
  95. data/generated/google/apis/datastore_v1/representations.rb +27 -0
  96. data/generated/google/apis/datastore_v1/service.rb +34 -0
  97. data/generated/google/apis/datastore_v1beta3.rb +1 -1
  98. data/generated/google/apis/datastore_v1beta3/classes.rb +39 -60
  99. data/generated/google/apis/datastore_v1beta3/representations.rb +27 -0
  100. data/generated/google/apis/datastore_v1beta3/service.rb +34 -0
  101. data/generated/google/apis/deploymentmanager_alpha.rb +1 -1
  102. data/generated/google/apis/deploymentmanager_alpha/classes.rb +108 -0
  103. data/generated/google/apis/deploymentmanager_alpha/representations.rb +50 -0
  104. data/generated/google/apis/deploymentmanager_v2beta.rb +1 -1
  105. data/generated/google/apis/deploymentmanager_v2beta/classes.rb +6 -0
  106. data/generated/google/apis/deploymentmanager_v2beta/representations.rb +1 -0
  107. data/generated/google/apis/dlp_v2beta1.rb +1 -1
  108. data/generated/google/apis/dlp_v2beta1/classes.rb +116 -10
  109. data/generated/google/apis/dlp_v2beta1/representations.rb +45 -0
  110. data/generated/google/apis/dns_v1beta2.rb +43 -0
  111. data/generated/google/apis/dns_v1beta2/classes.rb +915 -0
  112. data/generated/google/apis/dns_v1beta2/representations.rb +368 -0
  113. data/generated/google/apis/dns_v1beta2/service.rb +769 -0
  114. data/generated/google/apis/drive_v2.rb +1 -1
  115. data/generated/google/apis/drive_v2/classes.rb +6 -0
  116. data/generated/google/apis/drive_v2/representations.rb +2 -0
  117. data/generated/google/apis/drive_v2/service.rb +51 -8
  118. data/generated/google/apis/drive_v3.rb +1 -1
  119. data/generated/google/apis/drive_v3/classes.rb +6 -0
  120. data/generated/google/apis/drive_v3/representations.rb +2 -0
  121. data/generated/google/apis/drive_v3/service.rb +45 -7
  122. data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
  123. data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +25 -0
  124. data/generated/google/apis/firebasedynamiclinks_v1/representations.rb +15 -0
  125. data/generated/google/apis/firebaseremoteconfig_v1.rb +1 -1
  126. data/generated/google/apis/firebaseremoteconfig_v1/classes.rb +21 -1
  127. data/generated/google/apis/firebaseremoteconfig_v1/representations.rb +2 -0
  128. data/generated/google/apis/firebaserules_v1.rb +1 -1
  129. data/generated/google/apis/firebaserules_v1/classes.rb +26 -0
  130. data/generated/google/apis/firebaserules_v1/representations.rb +15 -0
  131. data/generated/google/apis/firebaserules_v1/service.rb +37 -0
  132. data/generated/google/apis/firestore_v1beta1/classes.rb +29 -146
  133. data/generated/google/apis/firestore_v1beta1/representations.rb +8 -27
  134. data/generated/google/apis/firestore_v1beta1/service.rb +4 -8
  135. data/generated/google/apis/genomics_v1alpha2.rb +1 -1
  136. data/generated/google/apis/genomics_v1alpha2/classes.rb +18 -0
  137. data/generated/google/apis/genomics_v1alpha2/representations.rb +2 -0
  138. data/generated/google/apis/iam_v1.rb +1 -1
  139. data/generated/google/apis/iam_v1/classes.rb +5 -7
  140. data/generated/google/apis/language_v1.rb +1 -1
  141. data/generated/google/apis/language_v1/classes.rb +78 -0
  142. data/generated/google/apis/language_v1/representations.rb +45 -0
  143. data/generated/google/apis/language_v1/service.rb +30 -0
  144. data/generated/google/apis/language_v1beta2.rb +1 -1
  145. data/generated/google/apis/language_v1beta2/classes.rb +3 -1
  146. data/generated/google/apis/logging_v2.rb +1 -1
  147. data/generated/google/apis/logging_v2/classes.rb +9 -0
  148. data/generated/google/apis/logging_v2/representations.rb +1 -0
  149. data/generated/google/apis/logging_v2/service.rb +517 -0
  150. data/generated/google/apis/logging_v2beta1.rb +1 -1
  151. data/generated/google/apis/logging_v2beta1/classes.rb +9 -0
  152. data/generated/google/apis/logging_v2beta1/representations.rb +1 -0
  153. data/generated/google/apis/manufacturers_v1.rb +1 -1
  154. data/generated/google/apis/manufacturers_v1/classes.rb +6 -6
  155. data/generated/google/apis/manufacturers_v1/representations.rb +1 -1
  156. data/generated/google/apis/ml_v1.rb +1 -1
  157. data/generated/google/apis/ml_v1/classes.rb +22 -6
  158. data/generated/google/apis/ml_v1/service.rb +8 -2
  159. data/generated/google/apis/monitoring_v3.rb +1 -1
  160. data/generated/google/apis/monitoring_v3/classes.rb +358 -0
  161. data/generated/google/apis/monitoring_v3/representations.rb +145 -0
  162. data/generated/google/apis/monitoring_v3/service.rb +229 -0
  163. data/generated/google/apis/oslogin_v1alpha.rb +1 -1
  164. data/generated/google/apis/oslogin_v1alpha/classes.rb +13 -8
  165. data/generated/google/apis/oslogin_v1alpha/representations.rb +1 -0
  166. data/generated/google/apis/oslogin_v1alpha/service.rb +36 -1
  167. data/generated/google/apis/oslogin_v1beta.rb +1 -1
  168. data/generated/google/apis/oslogin_v1beta/classes.rb +9 -4
  169. data/generated/google/apis/oslogin_v1beta/representations.rb +1 -0
  170. data/generated/google/apis/oslogin_v1beta/service.rb +36 -1
  171. data/generated/google/apis/partners_v2.rb +1 -1
  172. data/generated/google/apis/partners_v2/classes.rb +7 -60
  173. data/generated/google/apis/partners_v2/representations.rb +1 -0
  174. data/generated/google/apis/proximitybeacon_v1beta1.rb +1 -1
  175. data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
  176. data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +6 -4
  177. data/generated/google/apis/script_v1.rb +2 -2
  178. data/generated/google/apis/script_v1/classes.rb +57 -51
  179. data/generated/google/apis/script_v1/representations.rb +0 -1
  180. data/generated/google/apis/script_v1/service.rb +2 -2
  181. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  182. data/generated/google/apis/servicecontrol_v1/classes.rb +5 -2
  183. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  184. data/generated/google/apis/servicemanagement_v1/classes.rb +13 -31
  185. data/generated/google/apis/serviceuser_v1.rb +1 -1
  186. data/generated/google/apis/serviceuser_v1/classes.rb +13 -31
  187. data/generated/google/apis/sheets_v4.rb +1 -1
  188. data/generated/google/apis/sheets_v4/classes.rb +1 -2
  189. data/generated/google/apis/slides_v1.rb +1 -1
  190. data/generated/google/apis/slides_v1/classes.rb +505 -11
  191. data/generated/google/apis/slides_v1/representations.rb +220 -0
  192. data/generated/google/apis/sourcerepo_v1.rb +1 -1
  193. data/generated/google/apis/sourcerepo_v1/classes.rb +1 -1
  194. data/generated/google/apis/speech_v1.rb +1 -1
  195. data/generated/google/apis/speech_v1/classes.rb +10 -1
  196. data/generated/google/apis/speech_v1/representations.rb +1 -0
  197. data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
  198. data/generated/google/apis/sqladmin_v1beta4/classes.rb +127 -0
  199. data/generated/google/apis/sqladmin_v1beta4/representations.rb +63 -0
  200. data/generated/google/apis/sqladmin_v1beta4/service.rb +42 -0
  201. data/generated/google/apis/storage_v1.rb +1 -1
  202. data/generated/google/apis/storage_v1/service.rb +51 -72
  203. data/generated/google/apis/streetviewpublish_v1.rb +1 -1
  204. data/generated/google/apis/streetviewpublish_v1/classes.rb +1 -61
  205. data/generated/google/apis/streetviewpublish_v1/service.rb +2 -1
  206. data/generated/google/apis/testing_v1.rb +1 -1
  207. data/generated/google/apis/testing_v1/classes.rb +8 -3
  208. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  209. data/generated/google/apis/toolresults_v1beta3/classes.rb +17 -16
  210. data/generated/google/apis/videointelligence_v1beta1.rb +1 -1
  211. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  212. data/generated/google/apis/youtube_partner_v1/classes.rb +108 -0
  213. data/generated/google/apis/youtube_partner_v1/representations.rb +49 -0
  214. data/generated/google/apis/youtube_partner_v1/service.rb +42 -0
  215. data/google-api-client.gemspec +1 -1
  216. data/lib/google/apis/generator/model.rb +9 -3
  217. data/lib/google/apis/generator/templates/_class.tmpl +1 -1
  218. data/lib/google/apis/version.rb +1 -1
  219. metadata +14 -12
  220. data/generated/google/apis/playmoviespartner_v1.rb +0 -34
  221. data/generated/google/apis/playmoviespartner_v1/classes.rb +0 -782
  222. data/generated/google/apis/playmoviespartner_v1/representations.rb +0 -191
  223. data/generated/google/apis/playmoviespartner_v1/service.rb +0 -354
  224. data/generated/google/apis/qpx_express_v1.rb +0 -31
  225. data/generated/google/apis/qpx_express_v1/classes.rb +0 -1274
  226. data/generated/google/apis/qpx_express_v1/representations.rb +0 -473
  227. data/generated/google/apis/qpx_express_v1/service.rb +0 -101
@@ -1216,18 +1216,6 @@ module Google
1216
1216
  include Google::Apis::Core::JsonObjectSupport
1217
1217
  end
1218
1218
 
1219
- class InstanceGroupManagerStatefulPolicy
1220
- class Representation < Google::Apis::Core::JsonRepresentation; end
1221
-
1222
- include Google::Apis::Core::JsonObjectSupport
1223
- end
1224
-
1225
- class InstanceGroupManagerStatefulPolicyDiskPolicy
1226
- class Representation < Google::Apis::Core::JsonRepresentation; end
1227
-
1228
- include Google::Apis::Core::JsonObjectSupport
1229
- end
1230
-
1231
1219
  class InstanceGroupManagerUpdatePolicy
1232
1220
  class Representation < Google::Apis::Core::JsonRepresentation; end
1233
1221
 
@@ -2794,6 +2782,24 @@ module Google
2794
2782
  include Google::Apis::Core::JsonObjectSupport
2795
2783
  end
2796
2784
 
2785
+ class StatefulPolicy
2786
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2787
+
2788
+ include Google::Apis::Core::JsonObjectSupport
2789
+ end
2790
+
2791
+ class StatefulPolicyPreservedDisk
2792
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2793
+
2794
+ include Google::Apis::Core::JsonObjectSupport
2795
+ end
2796
+
2797
+ class StatefulPolicyPreservedResources
2798
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2799
+
2800
+ include Google::Apis::Core::JsonObjectSupport
2801
+ end
2802
+
2797
2803
  class Subnetwork
2798
2804
  class Representation < Google::Apis::Core::JsonRepresentation; end
2799
2805
 
@@ -4417,6 +4423,8 @@ module Google
4417
4423
  property :description, as: 'description'
4418
4424
  property :disk_encryption_key, as: 'diskEncryptionKey', class: Google::Apis::ComputeAlpha::CustomerEncryptionKey, decorator: Google::Apis::ComputeAlpha::CustomerEncryptionKey::Representation
4419
4425
 
4426
+ collection :guest_os_features, as: 'guestOsFeatures', class: Google::Apis::ComputeAlpha::GuestOsFeature, decorator: Google::Apis::ComputeAlpha::GuestOsFeature::Representation
4427
+
4420
4428
  property :id, :numeric_string => true, as: 'id'
4421
4429
  property :kind, as: 'kind'
4422
4430
  property :label_fingerprint, :base64 => true, as: 'labelFingerprint'
@@ -4710,6 +4718,7 @@ module Google
4710
4718
  property :description, as: 'description'
4711
4719
  collection :destination_ranges, as: 'destinationRanges'
4712
4720
  property :direction, as: 'direction'
4721
+ property :disabled, as: 'disabled'
4713
4722
  property :enable_logging, as: 'enableLogging'
4714
4723
  property :id, :numeric_string => true, as: 'id'
4715
4724
  property :kind, as: 'kind'
@@ -5496,6 +5505,7 @@ module Google
5496
5505
  property :label_fingerprint, :base64 => true, as: 'labelFingerprint'
5497
5506
  hash :labels, as: 'labels'
5498
5507
  property :machine_type, as: 'machineType'
5508
+ collection :maintenance_policies, as: 'maintenancePolicies'
5499
5509
  property :metadata, as: 'metadata', class: Google::Apis::ComputeAlpha::Metadata, decorator: Google::Apis::ComputeAlpha::Metadata::Representation
5500
5510
 
5501
5511
  property :min_cpu_platform, as: 'minCpuPlatform'
@@ -5660,7 +5670,7 @@ module Google
5660
5670
  property :region, as: 'region'
5661
5671
  property :self_link, as: 'selfLink'
5662
5672
  property :service_account, as: 'serviceAccount'
5663
- property :stateful_policy, as: 'statefulPolicy', class: Google::Apis::ComputeAlpha::InstanceGroupManagerStatefulPolicy, decorator: Google::Apis::ComputeAlpha::InstanceGroupManagerStatefulPolicy::Representation
5673
+ property :stateful_policy, as: 'statefulPolicy', class: Google::Apis::ComputeAlpha::StatefulPolicy, decorator: Google::Apis::ComputeAlpha::StatefulPolicy::Representation
5664
5674
 
5665
5675
  collection :target_pools, as: 'targetPools'
5666
5676
  property :target_size, as: 'targetSize'
@@ -5784,21 +5794,6 @@ module Google
5784
5794
  end
5785
5795
  end
5786
5796
 
5787
- class InstanceGroupManagerStatefulPolicy
5788
- # @private
5789
- class Representation < Google::Apis::Core::JsonRepresentation
5790
- collection :preserved_disks, as: 'preservedDisks', class: Google::Apis::ComputeAlpha::InstanceGroupManagerStatefulPolicyDiskPolicy, decorator: Google::Apis::ComputeAlpha::InstanceGroupManagerStatefulPolicyDiskPolicy::Representation
5791
-
5792
- end
5793
- end
5794
-
5795
- class InstanceGroupManagerStatefulPolicyDiskPolicy
5796
- # @private
5797
- class Representation < Google::Apis::Core::JsonRepresentation
5798
- property :device_name, as: 'deviceName'
5799
- end
5800
- end
5801
-
5802
5797
  class InstanceGroupManagerUpdatePolicy
5803
5798
  # @private
5804
5799
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -6302,7 +6297,6 @@ module Google
6302
6297
  property :admin_enabled, as: 'adminEnabled'
6303
6298
  collection :circuit_infos, as: 'circuitInfos', class: Google::Apis::ComputeAlpha::InterconnectCircuitInfo, decorator: Google::Apis::ComputeAlpha::InterconnectCircuitInfo::Representation
6304
6299
 
6305
- property :connection_authorization, as: 'connectionAuthorization'
6306
6300
  property :creation_timestamp, as: 'creationTimestamp'
6307
6301
  property :customer_name, as: 'customerName'
6308
6302
  property :description, as: 'description'
@@ -6546,7 +6540,6 @@ module Google
6546
6540
  property :expected_rtt_ms, :numeric_string => true, as: 'expectedRttMs'
6547
6541
  property :location_presence, as: 'locationPresence'
6548
6542
  property :region, as: 'region'
6549
- property :region_key, as: 'regionKey'
6550
6543
  end
6551
6544
  end
6552
6545
 
@@ -8312,6 +8305,8 @@ module Google
8312
8305
  class Representation < Google::Apis::Core::JsonRepresentation
8313
8306
  property :config, as: 'config', class: Google::Apis::ComputeAlpha::SecurityPolicyRuleMatcherConfig, decorator: Google::Apis::ComputeAlpha::SecurityPolicyRuleMatcherConfig::Representation
8314
8307
 
8308
+ property :expr, as: 'expr', class: Google::Apis::ComputeAlpha::Expr, decorator: Google::Apis::ComputeAlpha::Expr::Representation
8309
+
8315
8310
  collection :src_ip_ranges, as: 'srcIpRanges'
8316
8311
  collection :src_region_codes, as: 'srcRegionCodes'
8317
8312
  property :versioned_expr, as: 'versionedExpr'
@@ -8547,6 +8542,31 @@ module Google
8547
8542
  end
8548
8543
  end
8549
8544
 
8545
+ class StatefulPolicy
8546
+ # @private
8547
+ class Representation < Google::Apis::Core::JsonRepresentation
8548
+ collection :preserved_disks, as: 'preservedDisks', class: Google::Apis::ComputeAlpha::StatefulPolicyPreservedDisk, decorator: Google::Apis::ComputeAlpha::StatefulPolicyPreservedDisk::Representation
8549
+
8550
+ property :preserved_resources, as: 'preservedResources', class: Google::Apis::ComputeAlpha::StatefulPolicyPreservedResources, decorator: Google::Apis::ComputeAlpha::StatefulPolicyPreservedResources::Representation
8551
+
8552
+ end
8553
+ end
8554
+
8555
+ class StatefulPolicyPreservedDisk
8556
+ # @private
8557
+ class Representation < Google::Apis::Core::JsonRepresentation
8558
+ property :device_name, as: 'deviceName'
8559
+ end
8560
+ end
8561
+
8562
+ class StatefulPolicyPreservedResources
8563
+ # @private
8564
+ class Representation < Google::Apis::Core::JsonRepresentation
8565
+ collection :disks, as: 'disks', class: Google::Apis::ComputeAlpha::StatefulPolicyPreservedDisk, decorator: Google::Apis::ComputeAlpha::StatefulPolicyPreservedDisk::Representation
8566
+
8567
+ end
8568
+ end
8569
+
8550
8570
  class Subnetwork
8551
8571
  # @private
8552
8572
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -10945,11 +10945,10 @@ module Google
10945
10945
  end
10946
10946
 
10947
10947
  # Stops a running instance, shutting it down cleanly, and allows you to restart
10948
- # the instance at a later time. Stopped instances do not incur per-minute,
10949
- # virtual machine usage charges while they are stopped, but any resources that
10950
- # the virtual machine is using, such as persistent disks and static IP addresses,
10951
- # will continue to be charged until they are deleted. For more information, see
10952
- # Stopping an instance.
10948
+ # the instance at a later time. Stopped instances do not incur VM usage charges
10949
+ # while they are stopped. However, resources that the VM is using, such as
10950
+ # persistent disks and static IP addresses, will continue to be charged until
10951
+ # they are deleted. For more information, see Stopping an instance.
10953
10952
  # @param [String] project
10954
10953
  # Project ID for this request.
10955
10954
  # @param [String] zone
@@ -18871,6 +18870,47 @@ module Google
18871
18870
  execute_or_queue_command(command, &block)
18872
18871
  end
18873
18872
 
18873
+ # Inserts a rule into a security policy.
18874
+ # @param [String] project
18875
+ # Project ID for this request.
18876
+ # @param [String] security_policy
18877
+ # Name of the security policy to update.
18878
+ # @param [Google::Apis::ComputeAlpha::SecurityPolicyRule] security_policy_rule_object
18879
+ # @param [String] fields
18880
+ # Selector specifying which fields to include in a partial response.
18881
+ # @param [String] quota_user
18882
+ # Available to use for quota purposes for server-side applications. Can be any
18883
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
18884
+ # Overrides userIp if both are provided.
18885
+ # @param [String] user_ip
18886
+ # IP address of the site where the request originates. Use this if you want to
18887
+ # enforce per-user limits.
18888
+ # @param [Google::Apis::RequestOptions] options
18889
+ # Request-specific options
18890
+ #
18891
+ # @yield [result, err] Result & error if block supplied
18892
+ # @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
18893
+ # @yieldparam err [StandardError] error object if request failed
18894
+ #
18895
+ # @return [Google::Apis::ComputeAlpha::Operation]
18896
+ #
18897
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
18898
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
18899
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
18900
+ def add_security_policy_rule(project, security_policy, security_policy_rule_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
18901
+ command = make_simple_command(:post, '{project}/global/securityPolicies/{securityPolicy}/addRule', options)
18902
+ command.request_representation = Google::Apis::ComputeAlpha::SecurityPolicyRule::Representation
18903
+ command.request_object = security_policy_rule_object
18904
+ command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
18905
+ command.response_class = Google::Apis::ComputeAlpha::Operation
18906
+ command.params['project'] = project unless project.nil?
18907
+ command.params['securityPolicy'] = security_policy unless security_policy.nil?
18908
+ command.query['fields'] = fields unless fields.nil?
18909
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
18910
+ command.query['userIp'] = user_ip unless user_ip.nil?
18911
+ execute_or_queue_command(command, &block)
18912
+ end
18913
+
18874
18914
  # Deletes the specified policy.
18875
18915
  # @param [String] project
18876
18916
  # Project ID for this request.
@@ -18959,6 +18999,47 @@ module Google
18959
18999
  execute_or_queue_command(command, &block)
18960
19000
  end
18961
19001
 
19002
+ # Gets a rule at the specified priority.
19003
+ # @param [String] project
19004
+ # Project ID for this request.
19005
+ # @param [String] security_policy
19006
+ # Name of the security policy to which the queried rule belongs.
19007
+ # @param [Fixnum] priority
19008
+ # The priority of the rule to get from the security policy.
19009
+ # @param [String] fields
19010
+ # Selector specifying which fields to include in a partial response.
19011
+ # @param [String] quota_user
19012
+ # Available to use for quota purposes for server-side applications. Can be any
19013
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
19014
+ # Overrides userIp if both are provided.
19015
+ # @param [String] user_ip
19016
+ # IP address of the site where the request originates. Use this if you want to
19017
+ # enforce per-user limits.
19018
+ # @param [Google::Apis::RequestOptions] options
19019
+ # Request-specific options
19020
+ #
19021
+ # @yield [result, err] Result & error if block supplied
19022
+ # @yieldparam result [Google::Apis::ComputeAlpha::SecurityPolicyRule] parsed result object
19023
+ # @yieldparam err [StandardError] error object if request failed
19024
+ #
19025
+ # @return [Google::Apis::ComputeAlpha::SecurityPolicyRule]
19026
+ #
19027
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
19028
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
19029
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
19030
+ def get_security_policy_rule(project, security_policy, priority: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
19031
+ command = make_simple_command(:get, '{project}/global/securityPolicies/{securityPolicy}/getRule', options)
19032
+ command.response_representation = Google::Apis::ComputeAlpha::SecurityPolicyRule::Representation
19033
+ command.response_class = Google::Apis::ComputeAlpha::SecurityPolicyRule
19034
+ command.params['project'] = project unless project.nil?
19035
+ command.params['securityPolicy'] = security_policy unless security_policy.nil?
19036
+ command.query['priority'] = priority unless priority.nil?
19037
+ command.query['fields'] = fields unless fields.nil?
19038
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
19039
+ command.query['userIp'] = user_ip unless user_ip.nil?
19040
+ execute_or_queue_command(command, &block)
19041
+ end
19042
+
18962
19043
  # Creates a new policy in the specified project using the data included in the
18963
19044
  # request.
18964
19045
  # @param [String] project
@@ -19139,6 +19220,91 @@ module Google
19139
19220
  execute_or_queue_command(command, &block)
19140
19221
  end
19141
19222
 
19223
+ # Patches a rule at the specified priority.
19224
+ # @param [String] project
19225
+ # Project ID for this request.
19226
+ # @param [String] security_policy
19227
+ # Name of the security policy to update.
19228
+ # @param [Google::Apis::ComputeAlpha::SecurityPolicyRule] security_policy_rule_object
19229
+ # @param [Fixnum] priority
19230
+ # The priority of the rule to patch.
19231
+ # @param [String] fields
19232
+ # Selector specifying which fields to include in a partial response.
19233
+ # @param [String] quota_user
19234
+ # Available to use for quota purposes for server-side applications. Can be any
19235
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
19236
+ # Overrides userIp if both are provided.
19237
+ # @param [String] user_ip
19238
+ # IP address of the site where the request originates. Use this if you want to
19239
+ # enforce per-user limits.
19240
+ # @param [Google::Apis::RequestOptions] options
19241
+ # Request-specific options
19242
+ #
19243
+ # @yield [result, err] Result & error if block supplied
19244
+ # @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
19245
+ # @yieldparam err [StandardError] error object if request failed
19246
+ #
19247
+ # @return [Google::Apis::ComputeAlpha::Operation]
19248
+ #
19249
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
19250
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
19251
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
19252
+ def patch_security_policy_rule(project, security_policy, security_policy_rule_object = nil, priority: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
19253
+ command = make_simple_command(:post, '{project}/global/securityPolicies/{securityPolicy}/patchRule', options)
19254
+ command.request_representation = Google::Apis::ComputeAlpha::SecurityPolicyRule::Representation
19255
+ command.request_object = security_policy_rule_object
19256
+ command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
19257
+ command.response_class = Google::Apis::ComputeAlpha::Operation
19258
+ command.params['project'] = project unless project.nil?
19259
+ command.params['securityPolicy'] = security_policy unless security_policy.nil?
19260
+ command.query['priority'] = priority unless priority.nil?
19261
+ command.query['fields'] = fields unless fields.nil?
19262
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
19263
+ command.query['userIp'] = user_ip unless user_ip.nil?
19264
+ execute_or_queue_command(command, &block)
19265
+ end
19266
+
19267
+ # Deletes a rule at the specified priority.
19268
+ # @param [String] project
19269
+ # Project ID for this request.
19270
+ # @param [String] security_policy
19271
+ # Name of the security policy to update.
19272
+ # @param [Fixnum] priority
19273
+ # The priority of the rule to remove from the security policy.
19274
+ # @param [String] fields
19275
+ # Selector specifying which fields to include in a partial response.
19276
+ # @param [String] quota_user
19277
+ # Available to use for quota purposes for server-side applications. Can be any
19278
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
19279
+ # Overrides userIp if both are provided.
19280
+ # @param [String] user_ip
19281
+ # IP address of the site where the request originates. Use this if you want to
19282
+ # enforce per-user limits.
19283
+ # @param [Google::Apis::RequestOptions] options
19284
+ # Request-specific options
19285
+ #
19286
+ # @yield [result, err] Result & error if block supplied
19287
+ # @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
19288
+ # @yieldparam err [StandardError] error object if request failed
19289
+ #
19290
+ # @return [Google::Apis::ComputeAlpha::Operation]
19291
+ #
19292
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
19293
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
19294
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
19295
+ def remove_security_policy_rule(project, security_policy, priority: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
19296
+ command = make_simple_command(:post, '{project}/global/securityPolicies/{securityPolicy}/removeRule', options)
19297
+ command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
19298
+ command.response_class = Google::Apis::ComputeAlpha::Operation
19299
+ command.params['project'] = project unless project.nil?
19300
+ command.params['securityPolicy'] = security_policy unless security_policy.nil?
19301
+ command.query['priority'] = priority unless priority.nil?
19302
+ command.query['fields'] = fields unless fields.nil?
19303
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
19304
+ command.query['userIp'] = user_ip unless user_ip.nil?
19305
+ execute_or_queue_command(command, &block)
19306
+ end
19307
+
19142
19308
  # Returns permissions that a caller has on the specified resource.
19143
19309
  # @param [String] project
19144
19310
  # Project ID for this request.
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://developers.google.com/compute/docs/reference/latest/
26
26
  module ComputeBeta
27
27
  VERSION = 'Beta'
28
- REVISION = '20170919'
28
+ REVISION = '20171010'
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'
@@ -1068,7 +1068,7 @@ module Google
1068
1068
 
1069
1069
  # Specifies a valid partial or full URL to an existing Persistent Disk resource.
1070
1070
  # When creating a new instance, one of initializeParams.sourceImage or disks.
1071
- # source is required.
1071
+ # source is required except for local SSD.
1072
1072
  # If desired, you can also attach existing non-root persistent disks using this
1073
1073
  # property. This field is only applicable for persistent disks.
1074
1074
  # Note that for InstanceTemplate, specify the disk name, not the URL for the
@@ -1145,7 +1145,7 @@ module Google
1145
1145
  attr_accessor :disk_type
1146
1146
 
1147
1147
  # The source image to create this disk. When creating a new instance, one of
1148
- # initializeParams.sourceImage or disks.source is required.
1148
+ # initializeParams.sourceImage or disks.source is required except for local SSD.
1149
1149
  # To create a disk with one of the public operating system images, specify the
1150
1150
  # image by its family name. For example, specify family/debian-8 to use the
1151
1151
  # latest Debian 8 image:
@@ -1827,7 +1827,7 @@ module Google
1827
1827
  # A filter string, compatible with a Stackdriver Monitoring filter string for
1828
1828
  # TimeSeries.list API call. This filter is used to select a specific TimeSeries
1829
1829
  # for the purpose of autoscaling and to determine whether the metric is
1830
- # exporting per-instance or global data.
1830
+ # exporting per-instance or per-group data.
1831
1831
  # For the filter to be valid for autoscaling purposes, the following rules apply:
1832
1832
  #
1833
1833
  # - You can only use the AND operator for joining selectors.
@@ -1842,7 +1842,8 @@ module Google
1842
1842
  # If the resource type is any other value, the autoscaler expects this metric to
1843
1843
  # contain values that apply to the entire autoscaled instance group and resource
1844
1844
  # label filtering can be performed to point autoscaler at the correct TimeSeries
1845
- # to scale upon. This is / called a global metric for the purpose of autoscaling.
1845
+ # to scale upon. This is called a per-group metric for the purpose of
1846
+ # autoscaling.
1846
1847
  # If not specified, the type defaults to gce_instance.
1847
1848
  # You should provide a filter that is selective enough to pick just one
1848
1849
  # TimeSeries for the autoscaled group or for each of the instances (if you are
@@ -1854,19 +1855,17 @@ module Google
1854
1855
  attr_accessor :filter
1855
1856
 
1856
1857
  # The identifier (type) of the Stackdriver Monitoring metric. The metric cannot
1857
- # have negative values and should be a utilization metric, which means that the
1858
- # number of virtual machines handling requests should increase or decrease
1859
- # proportionally to the metric.
1858
+ # have negative values.
1860
1859
  # The metric must have a value type of INT64 or DOUBLE.
1861
1860
  # Corresponds to the JSON property `metric`
1862
1861
  # @return [String]
1863
1862
  attr_accessor :metric
1864
1863
 
1865
- # If scaling is based on a global metric value that represents the total amount
1866
- # of work to be done or resource usage, set this value to an amount assigned for
1867
- # a single instance of the scaled group. Autoscaler will keep the number of
1868
- # instances proportional to the value of this metric, the metric itself should
1869
- # not change value due to group resizing.
1864
+ # If scaling is based on a per-group metric value that represents the total
1865
+ # amount of work to be done or resource usage, set this value to an amount
1866
+ # assigned for a single instance of the scaled group. Autoscaler will keep the
1867
+ # number of instances proportional to the value of this metric, the metric
1868
+ # itself should not change value due to group resizing.
1870
1869
  # A good metric to use with the target is for example pubsub.googleapis.com/
1871
1870
  # subscription/num_undelivered_messages or a custom metric exporting the total
1872
1871
  # number of requests coming to your instances.
@@ -1878,7 +1877,8 @@ module Google
1878
1877
  attr_accessor :single_instance_assignment
1879
1878
 
1880
1879
  # The target value of the metric that autoscaler should maintain. This must be a
1881
- # positive value.
1880
+ # positive value. A utilization metric scales number of virtual machines
1881
+ # handling requests to increase or decrease proportionally to the metric.
1882
1882
  # For example, a good metric to use as a utilization_target is compute.
1883
1883
  # googleapis.com/instance/network/received_bytes_count. The autoscaler will work
1884
1884
  # to keep this value constant for each of the instances.
@@ -4780,10 +4780,10 @@ module Google
4780
4780
  # @return [Array<String>]
4781
4781
  attr_accessor :target_service_accounts
4782
4782
 
4783
- # A list of instance tags indicating sets of instances located in the network
4784
- # that may make network connections as specified in allowed[]. If no targetTags
4785
- # are specified, the firewall rule applies to all instances on the specified
4786
- # network.
4783
+ # A list of tags that controls which instances the firewall rule applies to. If
4784
+ # targetTags are specified, then the firewall rule applies only to instances in
4785
+ # the VPC network that have one of those tags. If no targetTags are specified,
4786
+ # the firewall rule applies to all instances on the specified network.
4787
4787
  # Corresponds to the JSON property `targetTags`
4788
4788
  # @return [Array<String>]
4789
4789
  attr_accessor :target_tags
@@ -5040,16 +5040,28 @@ module Google
5040
5040
  include Google::Apis::Core::Hashable
5041
5041
 
5042
5042
  # The IP address that this forwarding rule is serving on behalf of.
5043
- # For global forwarding rules, the address must be a global IP. For regional
5044
- # forwarding rules, the address must live in the same region as the forwarding
5045
- # rule. By default, this field is empty and an ephemeral IPv4 address from the
5046
- # same scope (global or regional) will be assigned. A regional forwarding rule
5047
- # supports IPv4 only. A global forwarding rule supports either IPv4 or IPv6.
5043
+ # Addresses are restricted based on the forwarding rule's load balancing scheme (
5044
+ # EXTERNAL or INTERNAL) and scope (global or regional).
5045
+ # When the load balancing scheme is EXTERNAL, for global forwarding rules, the
5046
+ # address must be a global IP, and for regional forwarding rules, the address
5047
+ # must live in the same region as the forwarding rule. If this field is empty,
5048
+ # an ephemeral IPv4 address from the same scope (global or regional) will be
5049
+ # assigned. A regional forwarding rule supports IPv4 only. A global forwarding
5050
+ # rule supports either IPv4 or IPv6.
5048
5051
  # When the load balancing scheme is INTERNAL, this can only be an RFC 1918 IP
5049
- # address belonging to the network/subnetwork configured for the forwarding rule.
5050
- # A reserved address cannot be used. If the field is empty, the IP address will
5051
- # be automatically allocated from the internal IP range of the subnetwork or
5052
- # network configured for this forwarding rule.
5052
+ # address belonging to the network/subnet configured for the forwarding rule. By
5053
+ # default, if this field is empty, an ephemeral internal IP address will be
5054
+ # automatically allocated from the IP range of the subnet or network configured
5055
+ # for this forwarding rule.
5056
+ # An address can be specified either by a literal IP address or a URL reference
5057
+ # to an existing Address resource. The following examples are all valid:
5058
+ # - 100.1.2.3
5059
+ # - https://www.googleapis.com/compute/v1/projects/project/regions/region/
5060
+ # addresses/address
5061
+ # - projects/project/regions/region/addresses/address
5062
+ # - regions/region/addresses/address
5063
+ # - global/addresses/address
5064
+ # - address
5053
5065
  # Corresponds to the JSON property `IPAddress`
5054
5066
  # @return [String]
5055
5067
  attr_accessor :ip_address
@@ -6904,6 +6916,12 @@ module Google
6904
6916
  # @return [String]
6905
6917
  attr_accessor :creation_timestamp
6906
6918
 
6919
+ # Whether the resource should be protected against deletion.
6920
+ # Corresponds to the JSON property `deletionProtection`
6921
+ # @return [Boolean]
6922
+ attr_accessor :deletion_protection
6923
+ alias_method :deletion_protection?, :deletion_protection
6924
+
6907
6925
  # An optional description of this resource. Provide this property when you
6908
6926
  # create the resource.
6909
6927
  # Corresponds to the JSON property `description`
@@ -7052,6 +7070,7 @@ module Google
7052
7070
  @can_ip_forward = args[:can_ip_forward] if args.key?(:can_ip_forward)
7053
7071
  @cpu_platform = args[:cpu_platform] if args.key?(:cpu_platform)
7054
7072
  @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
7073
+ @deletion_protection = args[:deletion_protection] if args.key?(:deletion_protection)
7055
7074
  @description = args[:description] if args.key?(:description)
7056
7075
  @disks = args[:disks] if args.key?(:disks)
7057
7076
  @guest_accelerators = args[:guest_accelerators] if args.key?(:guest_accelerators)
@@ -9622,7 +9641,7 @@ module Google
9622
9641
  end
9623
9642
 
9624
9643
  # Protocol definitions for Mixer API to support Interconnect. Next available tag:
9625
- # 23
9644
+ # 25
9626
9645
  class Interconnect
9627
9646
  include Google::Apis::Core::Hashable
9628
9647
 
@@ -9642,14 +9661,6 @@ module Google
9642
9661
  # @return [Array<Google::Apis::ComputeBeta::InterconnectCircuitInfo>]
9643
9662
  attr_accessor :circuit_infos
9644
9663
 
9645
- # [Output Only] URL to retrieve the Letter Of Authority and Customer Facility
9646
- # Assignment (LOA-CFA) documentation relating to this Interconnect. This
9647
- # documentation authorizes the facility provider to connect to the specified
9648
- # crossconnect ports.
9649
- # Corresponds to the JSON property `connectionAuthorization`
9650
- # @return [String]
9651
- attr_accessor :connection_authorization
9652
-
9653
9664
  # [Output Only] Creation timestamp in RFC3339 text format.
9654
9665
  # Corresponds to the JSON property `creationTimestamp`
9655
9666
  # @return [String]
@@ -9773,7 +9784,6 @@ module Google
9773
9784
  def update!(**args)
9774
9785
  @admin_enabled = args[:admin_enabled] if args.key?(:admin_enabled)
9775
9786
  @circuit_infos = args[:circuit_infos] if args.key?(:circuit_infos)
9776
- @connection_authorization = args[:connection_authorization] if args.key?(:connection_authorization)
9777
9787
  @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
9778
9788
  @customer_name = args[:customer_name] if args.key?(:customer_name)
9779
9789
  @description = args[:description] if args.key?(:description)
@@ -9797,7 +9807,7 @@ module Google
9797
9807
  end
9798
9808
 
9799
9809
  # Protocol definitions for Mixer API to support InterconnectAttachment. Next
9800
- # available tag: 18
9810
+ # available tag: 23
9801
9811
  class InterconnectAttachment
9802
9812
  include Google::Apis::Core::Hashable
9803
9813
 
@@ -10662,11 +10672,6 @@ module Google
10662
10672
  # @return [String]
10663
10673
  attr_accessor :region
10664
10674
 
10665
- # Scope key for the region of this location.
10666
- # Corresponds to the JSON property `regionKey`
10667
- # @return [String]
10668
- attr_accessor :region_key
10669
-
10670
10675
  def initialize(**args)
10671
10676
  update!(**args)
10672
10677
  end
@@ -10676,7 +10681,6 @@ module Google
10676
10681
  @expected_rtt_ms = args[:expected_rtt_ms] if args.key?(:expected_rtt_ms)
10677
10682
  @location_presence = args[:location_presence] if args.key?(:location_presence)
10678
10683
  @region = args[:region] if args.key?(:region)
10679
- @region_key = args[:region_key] if args.key?(:region_key)
10680
10684
  end
10681
10685
  end
10682
10686