google-api-client 0.30.2 → 0.30.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (230) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +90 -0
  3. data/README.md +17 -1
  4. data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
  5. data/generated/google/apis/accesscontextmanager_v1beta/classes.rb +108 -0
  6. data/generated/google/apis/accesscontextmanager_v1beta/representations.rb +48 -0
  7. data/generated/google/apis/adexchangebuyer_v1_3.rb +1 -1
  8. data/generated/google/apis/adexchangebuyer_v1_3/classes.rb +32 -6
  9. data/generated/google/apis/adexchangebuyer_v1_3/representations.rb +16 -1
  10. data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
  11. data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +32 -6
  12. data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +16 -1
  13. data/generated/google/apis/analytics_v3.rb +1 -1
  14. data/generated/google/apis/analytics_v3/classes.rb +1 -1
  15. data/generated/google/apis/analytics_v3/service.rb +1 -1
  16. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  17. data/generated/google/apis/androidmanagement_v1/classes.rb +8 -64
  18. data/generated/google/apis/androidpublisher_v1_1.rb +1 -1
  19. data/generated/google/apis/androidpublisher_v1_1/classes.rb +1 -0
  20. data/generated/google/apis/androidpublisher_v2.rb +1 -1
  21. data/generated/google/apis/androidpublisher_v2/classes.rb +6 -4
  22. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  23. data/generated/google/apis/androidpublisher_v3/classes.rb +6 -4
  24. data/generated/google/apis/bigquery_v2.rb +1 -1
  25. data/generated/google/apis/bigquery_v2/classes.rb +243 -5
  26. data/generated/google/apis/bigquery_v2/representations.rb +77 -0
  27. data/generated/google/apis/bigquery_v2/service.rb +206 -0
  28. data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
  29. data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +18 -76
  30. data/generated/google/apis/bigquerydatatransfer_v1/representations.rb +1 -0
  31. data/generated/google/apis/bigquerydatatransfer_v1/service.rb +4 -4
  32. data/generated/google/apis/bigtableadmin_v1.rb +1 -1
  33. data/generated/google/apis/bigtableadmin_v1/classes.rb +0 -72
  34. data/generated/google/apis/bigtableadmin_v1/representations.rb +0 -32
  35. data/generated/google/apis/bigtableadmin_v1/service.rb +0 -69
  36. data/generated/google/apis/bigtableadmin_v2.rb +1 -1
  37. data/generated/google/apis/bigtableadmin_v2/classes.rb +72 -0
  38. data/generated/google/apis/bigtableadmin_v2/representations.rb +32 -0
  39. data/generated/google/apis/bigtableadmin_v2/service.rb +69 -0
  40. data/generated/google/apis/cloudasset_v1.rb +1 -1
  41. data/generated/google/apis/cloudasset_v1/classes.rb +9 -75
  42. data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
  43. data/generated/google/apis/cloudasset_v1beta1/classes.rb +9 -75
  44. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  45. data/generated/google/apis/cloudfunctions_v1/classes.rb +8 -74
  46. data/generated/google/apis/cloudfunctions_v1beta2.rb +1 -1
  47. data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +8 -74
  48. data/generated/google/apis/cloudiot_v1.rb +1 -1
  49. data/generated/google/apis/cloudiot_v1/classes.rb +8 -74
  50. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  51. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +4 -8
  52. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  53. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +4 -5
  54. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  55. data/generated/google/apis/cloudresourcemanager_v2/classes.rb +11 -9
  56. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  57. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +11 -9
  58. data/generated/google/apis/cloudscheduler_v1.rb +1 -1
  59. data/generated/google/apis/cloudscheduler_v1/classes.rb +20 -84
  60. data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
  61. data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +20 -84
  62. data/generated/google/apis/cloudsearch_v1.rb +1 -1
  63. data/generated/google/apis/cloudsearch_v1/classes.rb +8 -74
  64. data/generated/google/apis/cloudshell_v1.rb +1 -1
  65. data/generated/google/apis/cloudshell_v1/classes.rb +8 -74
  66. data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
  67. data/generated/google/apis/cloudshell_v1alpha1/classes.rb +8 -74
  68. data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
  69. data/generated/google/apis/cloudtasks_v2beta2/classes.rb +8 -0
  70. data/generated/google/apis/cloudtrace_v2.rb +1 -1
  71. data/generated/google/apis/cloudtrace_v2/classes.rb +8 -74
  72. data/generated/google/apis/commentanalyzer_v1alpha1.rb +2 -2
  73. data/generated/google/apis/commentanalyzer_v1alpha1/service.rb +1 -1
  74. data/generated/google/apis/composer_v1.rb +1 -1
  75. data/generated/google/apis/composer_v1/classes.rb +8 -74
  76. data/generated/google/apis/composer_v1beta1.rb +1 -1
  77. data/generated/google/apis/composer_v1beta1/classes.rb +8 -74
  78. data/generated/google/apis/compute_alpha.rb +1 -1
  79. data/generated/google/apis/compute_alpha/classes.rb +1991 -700
  80. data/generated/google/apis/compute_alpha/representations.rb +604 -154
  81. data/generated/google/apis/compute_alpha/service.rb +693 -89
  82. data/generated/google/apis/compute_beta.rb +1 -1
  83. data/generated/google/apis/compute_beta/classes.rb +375 -230
  84. data/generated/google/apis/compute_beta/representations.rb +2 -0
  85. data/generated/google/apis/compute_beta/service.rb +92 -6
  86. data/generated/google/apis/compute_v1.rb +1 -1
  87. data/generated/google/apis/compute_v1/classes.rb +1827 -239
  88. data/generated/google/apis/compute_v1/representations.rb +669 -2
  89. data/generated/google/apis/compute_v1/service.rb +1150 -6
  90. data/generated/google/apis/container_v1.rb +1 -1
  91. data/generated/google/apis/container_v1/classes.rb +104 -0
  92. data/generated/google/apis/container_v1/representations.rb +48 -0
  93. data/generated/google/apis/container_v1beta1.rb +1 -1
  94. data/generated/google/apis/container_v1beta1/classes.rb +67 -2
  95. data/generated/google/apis/container_v1beta1/representations.rb +31 -0
  96. data/generated/google/apis/content_v2.rb +1 -1
  97. data/generated/google/apis/content_v2/classes.rb +4 -0
  98. data/generated/google/apis/content_v2_1.rb +1 -1
  99. data/generated/google/apis/content_v2_1/classes.rb +41 -0
  100. data/generated/google/apis/content_v2_1/representations.rb +19 -0
  101. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  102. data/generated/google/apis/dataflow_v1b3/classes.rb +46 -74
  103. data/generated/google/apis/dataflow_v1b3/representations.rb +17 -0
  104. data/generated/google/apis/datafusion_v1beta1.rb +1 -1
  105. data/generated/google/apis/datafusion_v1beta1/classes.rb +8 -74
  106. data/generated/google/apis/dataproc_v1.rb +1 -1
  107. data/generated/google/apis/dataproc_v1/classes.rb +147 -64
  108. data/generated/google/apis/dataproc_v1/representations.rb +42 -0
  109. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  110. data/generated/google/apis/dataproc_v1beta2/classes.rb +8 -64
  111. data/generated/google/apis/dataproc_v1beta2/service.rb +4 -2
  112. data/generated/google/apis/dialogflow_v2.rb +2 -2
  113. data/generated/google/apis/dialogflow_v2/classes.rb +32 -32
  114. data/generated/google/apis/dialogflow_v2/representations.rb +2 -0
  115. data/generated/google/apis/dialogflow_v2/service.rb +77 -17
  116. data/generated/google/apis/dialogflow_v2beta1.rb +2 -2
  117. data/generated/google/apis/dialogflow_v2beta1/classes.rb +32 -32
  118. data/generated/google/apis/dialogflow_v2beta1/representations.rb +2 -0
  119. data/generated/google/apis/dialogflow_v2beta1/service.rb +79 -19
  120. data/generated/google/apis/dlp_v2.rb +1 -1
  121. data/generated/google/apis/dlp_v2/classes.rb +4 -3
  122. data/generated/google/apis/dns_v1beta2.rb +1 -1
  123. data/generated/google/apis/dns_v1beta2/service.rb +1 -1
  124. data/generated/google/apis/docs_v1.rb +1 -1
  125. data/generated/google/apis/docs_v1/classes.rb +0 -10
  126. data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
  127. data/generated/google/apis/file_v1.rb +1 -1
  128. data/generated/google/apis/file_v1/classes.rb +17 -74
  129. data/generated/google/apis/file_v1/representations.rb +1 -0
  130. data/generated/google/apis/file_v1beta1.rb +1 -1
  131. data/generated/google/apis/file_v1beta1/classes.rb +17 -74
  132. data/generated/google/apis/file_v1beta1/representations.rb +1 -0
  133. data/generated/google/apis/firebase_v1beta1.rb +44 -0
  134. data/generated/google/apis/firebase_v1beta1/classes.rb +1063 -0
  135. data/generated/google/apis/firebase_v1beta1/representations.rb +432 -0
  136. data/generated/google/apis/firebase_v1beta1/service.rb +1105 -0
  137. data/generated/google/apis/healthcare_v1alpha2.rb +1 -1
  138. data/generated/google/apis/healthcare_v1alpha2/service.rb +43 -61
  139. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  140. data/generated/google/apis/healthcare_v1beta1/service.rb +43 -61
  141. data/generated/google/apis/iam_v1.rb +1 -1
  142. data/generated/google/apis/iam_v1/classes.rb +6 -0
  143. data/generated/google/apis/iam_v1/representations.rb +1 -0
  144. data/generated/google/apis/logging_v2.rb +1 -1
  145. data/generated/google/apis/ml_v1.rb +1 -1
  146. data/generated/google/apis/ml_v1/classes.rb +18 -0
  147. data/generated/google/apis/ml_v1/representations.rb +3 -0
  148. data/generated/google/apis/monitoring_v3.rb +1 -1
  149. data/generated/google/apis/monitoring_v3/classes.rb +1 -1
  150. data/generated/google/apis/people_v1.rb +1 -1
  151. data/generated/google/apis/people_v1/classes.rb +12 -111
  152. data/generated/google/apis/pubsub_v1.rb +1 -1
  153. data/generated/google/apis/pubsub_v1/classes.rb +43 -0
  154. data/generated/google/apis/pubsub_v1/representations.rb +16 -0
  155. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  156. data/generated/google/apis/remotebuildexecution_v1/classes.rb +89 -26
  157. data/generated/google/apis/remotebuildexecution_v1/representations.rb +3 -0
  158. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  159. data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +89 -26
  160. data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +3 -0
  161. data/generated/google/apis/remotebuildexecution_v1alpha/service.rb +15 -1
  162. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  163. data/generated/google/apis/remotebuildexecution_v2/classes.rb +103 -30
  164. data/generated/google/apis/remotebuildexecution_v2/representations.rb +3 -0
  165. data/generated/google/apis/remotebuildexecution_v2/service.rb +29 -2
  166. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  167. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +0 -1
  168. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  169. data/generated/google/apis/servicecontrol_v1/classes.rb +64 -148
  170. data/generated/google/apis/servicecontrol_v1/representations.rb +17 -0
  171. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  172. data/generated/google/apis/servicemanagement_v1/classes.rb +8 -74
  173. data/generated/google/apis/servicemanagement_v1/service.rb +9 -1
  174. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  175. data/generated/google/apis/servicenetworking_v1/classes.rb +0 -1
  176. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  177. data/generated/google/apis/servicenetworking_v1beta/classes.rb +0 -1
  178. data/generated/google/apis/serviceusage_v1.rb +1 -1
  179. data/generated/google/apis/serviceusage_v1/classes.rb +0 -1
  180. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  181. data/generated/google/apis/serviceusage_v1beta1/classes.rb +0 -1
  182. data/generated/google/apis/spanner_v1.rb +1 -1
  183. data/generated/google/apis/spanner_v1/classes.rb +12 -111
  184. data/generated/google/apis/speech_v1.rb +1 -1
  185. data/generated/google/apis/speech_v1/classes.rb +13 -74
  186. data/generated/google/apis/speech_v1p1beta1.rb +1 -1
  187. data/generated/google/apis/speech_v1p1beta1/classes.rb +13 -74
  188. data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
  189. data/generated/google/apis/sqladmin_v1beta4/classes.rb +10 -3
  190. data/generated/google/apis/sqladmin_v1beta4/representations.rb +1 -0
  191. data/generated/google/apis/tagmanager_v1.rb +4 -3
  192. data/generated/google/apis/tagmanager_v1/classes.rb +237 -70
  193. data/generated/google/apis/tagmanager_v1/service.rb +223 -374
  194. data/generated/google/apis/tagmanager_v2.rb +4 -3
  195. data/generated/google/apis/tagmanager_v2/classes.rb +221 -208
  196. data/generated/google/apis/tagmanager_v2/representations.rb +1 -16
  197. data/generated/google/apis/tagmanager_v2/service.rb +608 -757
  198. data/generated/google/apis/texttospeech_v1.rb +1 -1
  199. data/generated/google/apis/texttospeech_v1/classes.rb +28 -27
  200. data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
  201. data/generated/google/apis/texttospeech_v1beta1/classes.rb +28 -27
  202. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  203. data/generated/google/apis/toolresults_v1beta3/classes.rb +35 -0
  204. data/generated/google/apis/toolresults_v1beta3/representations.rb +2 -0
  205. data/generated/google/apis/tpu_v1.rb +1 -1
  206. data/generated/google/apis/tpu_v1/classes.rb +17 -88
  207. data/generated/google/apis/tpu_v1alpha1.rb +1 -1
  208. data/generated/google/apis/tpu_v1alpha1/classes.rb +17 -88
  209. data/generated/google/apis/vault_v1.rb +1 -1
  210. data/generated/google/apis/vault_v1/classes.rb +49 -0
  211. data/generated/google/apis/vault_v1/representations.rb +18 -0
  212. data/generated/google/apis/videointelligence_v1.rb +1 -1
  213. data/generated/google/apis/videointelligence_v1/classes.rb +324 -332
  214. data/generated/google/apis/videointelligence_v1/representations.rb +102 -0
  215. data/generated/google/apis/videointelligence_v1/service.rb +217 -9
  216. data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
  217. data/generated/google/apis/videointelligence_v1beta2/classes.rb +279 -297
  218. data/generated/google/apis/videointelligence_v1beta2/representations.rb +102 -0
  219. data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
  220. data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +324 -332
  221. data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +102 -0
  222. data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
  223. data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +324 -332
  224. data/generated/google/apis/videointelligence_v1p2beta1/representations.rb +102 -0
  225. data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
  226. data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +324 -332
  227. data/generated/google/apis/videointelligence_v1p3beta1/representations.rb +102 -0
  228. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  229. data/lib/google/apis/version.rb +1 -1
  230. metadata +6 -2
@@ -396,8 +396,8 @@ module Google
396
396
  execute_or_queue_command(command, &block)
397
397
  end
398
398
 
399
- # Creates an address resource in the specified project using the data included
400
- # in the request.
399
+ # Creates an address resource in the specified project by using the data
400
+ # included in the request.
401
401
  # @param [String] project
402
402
  # Project ID for this request.
403
403
  # @param [String] region
@@ -4311,8 +4311,8 @@ module Google
4311
4311
  execute_or_queue_command(command, &block)
4312
4312
  end
4313
4313
 
4314
- # Creates an address resource in the specified project using the data included
4315
- # in the request.
4314
+ # Creates an address resource in the specified project by using the data
4315
+ # included in the request.
4316
4316
  # @param [String] project
4317
4317
  # Project ID for this request.
4318
4318
  # @param [Google::Apis::ComputeAlpha::Address] address_object
@@ -7879,6 +7879,87 @@ module Google
7879
7879
  execute_or_queue_command(command, &block)
7880
7880
  end
7881
7881
 
7882
+ # Lists all errors thrown by actions on instances for a given managed instance
7883
+ # group.
7884
+ # @param [String] project
7885
+ # Project ID for this request.
7886
+ # @param [String] zone
7887
+ # The name of the zone where the managed instance group is located. It should
7888
+ # conform to RFC1035.
7889
+ # @param [String] instance_group_manager
7890
+ # The name of the managed instance group. It must be a string that meets the
7891
+ # requirements in RFC1035, or an unsigned long integer: must match regexp
7892
+ # pattern: (?:[a-z](?:[-a-z0-9]`0,61`[a-z0-9])?)|[1-9][0-9]`0,19`.
7893
+ # @param [String] filter
7894
+ # A filter expression that filters resources listed in the response. The
7895
+ # expression must specify the field name, a comparison operator, and the value
7896
+ # that you want to use for filtering. The value must be a string, a number, or a
7897
+ # boolean. The comparison operator must be either =, !=, >, or <.
7898
+ # For example, if you are filtering Compute Engine instances, you can exclude
7899
+ # instances named example-instance by specifying name != example-instance.
7900
+ # You can also filter nested fields. For example, you could specify scheduling.
7901
+ # automaticRestart = false to include instances only if they are not scheduled
7902
+ # for automatic restarts. You can use filtering on nested fields to filter based
7903
+ # on resource labels.
7904
+ # To filter on multiple expressions, provide each separate expression within
7905
+ # parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = "
7906
+ # Intel Skylake"). By default, each expression is an AND expression. However,
7907
+ # you can include AND and OR expressions explicitly. For example, (cpuPlatform =
7908
+ # "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.
7909
+ # automaticRestart = true).
7910
+ # @param [Fixnum] max_results
7911
+ # The maximum number of results per page that should be returned. If the number
7912
+ # of available results is larger than maxResults, Compute Engine returns a
7913
+ # nextPageToken that can be used to get the next page of results in subsequent
7914
+ # list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
7915
+ # @param [String] order_by
7916
+ # Sorts list results by a certain order. By default, results are returned in
7917
+ # alphanumerical order based on the resource name.
7918
+ # You can also sort results in descending order based on the creation timestamp
7919
+ # using orderBy="creationTimestamp desc". This sorts results based on the
7920
+ # creationTimestamp field in reverse chronological order (newest result first).
7921
+ # Use this to sort resources like operations so that the newest operation is
7922
+ # returned first.
7923
+ # Currently, only sorting by name or creationTimestamp desc is supported.
7924
+ # @param [String] page_token
7925
+ # Specifies a page token to use. Set pageToken to the nextPageToken returned by
7926
+ # a previous list request to get the next page of results.
7927
+ # @param [String] fields
7928
+ # Selector specifying which fields to include in a partial response.
7929
+ # @param [String] quota_user
7930
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
7931
+ # characters.
7932
+ # @param [String] user_ip
7933
+ # Deprecated. Please use quotaUser instead.
7934
+ # @param [Google::Apis::RequestOptions] options
7935
+ # Request-specific options
7936
+ #
7937
+ # @yield [result, err] Result & error if block supplied
7938
+ # @yieldparam result [Google::Apis::ComputeAlpha::InstanceGroupManagersListErrorsResponse] parsed result object
7939
+ # @yieldparam err [StandardError] error object if request failed
7940
+ #
7941
+ # @return [Google::Apis::ComputeAlpha::InstanceGroupManagersListErrorsResponse]
7942
+ #
7943
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
7944
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
7945
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
7946
+ def list_instance_group_manager_errors(project, zone, instance_group_manager, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
7947
+ command = make_simple_command(:get, '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/listErrors', options)
7948
+ command.response_representation = Google::Apis::ComputeAlpha::InstanceGroupManagersListErrorsResponse::Representation
7949
+ command.response_class = Google::Apis::ComputeAlpha::InstanceGroupManagersListErrorsResponse
7950
+ command.params['project'] = project unless project.nil?
7951
+ command.params['zone'] = zone unless zone.nil?
7952
+ command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil?
7953
+ command.query['filter'] = filter unless filter.nil?
7954
+ command.query['maxResults'] = max_results unless max_results.nil?
7955
+ command.query['orderBy'] = order_by unless order_by.nil?
7956
+ command.query['pageToken'] = page_token unless page_token.nil?
7957
+ command.query['fields'] = fields unless fields.nil?
7958
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
7959
+ command.query['userIp'] = user_ip unless user_ip.nil?
7960
+ execute_or_queue_command(command, &block)
7961
+ end
7962
+
7882
7963
  # Lists all of the instances in the managed instance group. Each instance in the
7883
7964
  # list has a currentAction, which indicates the action that the managed instance
7884
7965
  # group is performing on the instance. For example, if the group is still
@@ -11104,6 +11185,60 @@ module Google
11104
11185
  execute_or_queue_command(command, &block)
11105
11186
  end
11106
11187
 
11188
+ # Sets name of an instance.
11189
+ # @param [String] project
11190
+ # Project ID for this request.
11191
+ # @param [String] zone
11192
+ # The name of the zone for this request.
11193
+ # @param [String] instance
11194
+ # The instance name for this request.
11195
+ # @param [Google::Apis::ComputeAlpha::InstancesSetNameRequest] instances_set_name_request_object
11196
+ # @param [String] request_id
11197
+ # An optional request ID to identify requests. Specify a unique request ID so
11198
+ # that if you must retry your request, the server will know to ignore the
11199
+ # request if it has already been completed.
11200
+ # For example, consider a situation where you make an initial request and the
11201
+ # request times out. If you make the request again with the same request ID, the
11202
+ # server can check if original operation with the same request ID was received,
11203
+ # and if so, will ignore the second request. This prevents clients from
11204
+ # accidentally creating duplicate commitments.
11205
+ # The request ID must be a valid UUID with the exception that zero UUID is not
11206
+ # supported (00000000-0000-0000-0000-000000000000).
11207
+ # @param [String] fields
11208
+ # Selector specifying which fields to include in a partial response.
11209
+ # @param [String] quota_user
11210
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
11211
+ # characters.
11212
+ # @param [String] user_ip
11213
+ # Deprecated. Please use quotaUser instead.
11214
+ # @param [Google::Apis::RequestOptions] options
11215
+ # Request-specific options
11216
+ #
11217
+ # @yield [result, err] Result & error if block supplied
11218
+ # @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
11219
+ # @yieldparam err [StandardError] error object if request failed
11220
+ #
11221
+ # @return [Google::Apis::ComputeAlpha::Operation]
11222
+ #
11223
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
11224
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
11225
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
11226
+ def set_instance_name(project, zone, instance, instances_set_name_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
11227
+ command = make_simple_command(:post, '{project}/zones/{zone}/instances/{instance}/setName', options)
11228
+ command.request_representation = Google::Apis::ComputeAlpha::InstancesSetNameRequest::Representation
11229
+ command.request_object = instances_set_name_request_object
11230
+ command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
11231
+ command.response_class = Google::Apis::ComputeAlpha::Operation
11232
+ command.params['project'] = project unless project.nil?
11233
+ command.params['zone'] = zone unless zone.nil?
11234
+ command.params['instance'] = instance unless instance.nil?
11235
+ command.query['requestId'] = request_id unless request_id.nil?
11236
+ command.query['fields'] = fields unless fields.nil?
11237
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
11238
+ command.query['userIp'] = user_ip unless user_ip.nil?
11239
+ execute_or_queue_command(command, &block)
11240
+ end
11241
+
11107
11242
  # Sets an instance's scheduling options.
11108
11243
  # @param [String] project
11109
11244
  # Project ID for this request.
@@ -17409,20 +17544,43 @@ module Google
17409
17544
  execute_or_queue_command(command, &block)
17410
17545
  end
17411
17546
 
17412
- # Disable this project as a shared VPC host project.
17547
+ # Retrieves an aggregated list of packetMirrorings.
17413
17548
  # @param [String] project
17414
17549
  # Project ID for this request.
17415
- # @param [String] request_id
17416
- # An optional request ID to identify requests. Specify a unique request ID so
17417
- # that if you must retry your request, the server will know to ignore the
17418
- # request if it has already been completed.
17419
- # For example, consider a situation where you make an initial request and the
17420
- # request times out. If you make the request again with the same request ID, the
17421
- # server can check if original operation with the same request ID was received,
17422
- # and if so, will ignore the second request. This prevents clients from
17423
- # accidentally creating duplicate commitments.
17424
- # The request ID must be a valid UUID with the exception that zero UUID is not
17425
- # supported (00000000-0000-0000-0000-000000000000).
17550
+ # @param [String] filter
17551
+ # A filter expression that filters resources listed in the response. The
17552
+ # expression must specify the field name, a comparison operator, and the value
17553
+ # that you want to use for filtering. The value must be a string, a number, or a
17554
+ # boolean. The comparison operator must be either =, !=, >, or <.
17555
+ # For example, if you are filtering Compute Engine instances, you can exclude
17556
+ # instances named example-instance by specifying name != example-instance.
17557
+ # You can also filter nested fields. For example, you could specify scheduling.
17558
+ # automaticRestart = false to include instances only if they are not scheduled
17559
+ # for automatic restarts. You can use filtering on nested fields to filter based
17560
+ # on resource labels.
17561
+ # To filter on multiple expressions, provide each separate expression within
17562
+ # parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = "
17563
+ # Intel Skylake"). By default, each expression is an AND expression. However,
17564
+ # you can include AND and OR expressions explicitly. For example, (cpuPlatform =
17565
+ # "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.
17566
+ # automaticRestart = true).
17567
+ # @param [Fixnum] max_results
17568
+ # The maximum number of results per page that should be returned. If the number
17569
+ # of available results is larger than maxResults, Compute Engine returns a
17570
+ # nextPageToken that can be used to get the next page of results in subsequent
17571
+ # list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
17572
+ # @param [String] order_by
17573
+ # Sorts list results by a certain order. By default, results are returned in
17574
+ # alphanumerical order based on the resource name.
17575
+ # You can also sort results in descending order based on the creation timestamp
17576
+ # using orderBy="creationTimestamp desc". This sorts results based on the
17577
+ # creationTimestamp field in reverse chronological order (newest result first).
17578
+ # Use this to sort resources like operations so that the newest operation is
17579
+ # returned first.
17580
+ # Currently, only sorting by name or creationTimestamp desc is supported.
17581
+ # @param [String] page_token
17582
+ # Specifies a page token to use. Set pageToken to the nextPageToken returned by
17583
+ # a previous list request to get the next page of results.
17426
17584
  # @param [String] fields
17427
17585
  # Selector specifying which fields to include in a partial response.
17428
17586
  # @param [String] quota_user
@@ -17434,31 +17592,36 @@ module Google
17434
17592
  # Request-specific options
17435
17593
  #
17436
17594
  # @yield [result, err] Result & error if block supplied
17437
- # @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
17595
+ # @yieldparam result [Google::Apis::ComputeAlpha::PacketMirroringAggregatedList] parsed result object
17438
17596
  # @yieldparam err [StandardError] error object if request failed
17439
17597
  #
17440
- # @return [Google::Apis::ComputeAlpha::Operation]
17598
+ # @return [Google::Apis::ComputeAlpha::PacketMirroringAggregatedList]
17441
17599
  #
17442
17600
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
17443
17601
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
17444
17602
  # @raise [Google::Apis::AuthorizationError] Authorization is required
17445
- def disable_project_xpn_host(project, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
17446
- command = make_simple_command(:post, '{project}/disableXpnHost', options)
17447
- command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
17448
- command.response_class = Google::Apis::ComputeAlpha::Operation
17603
+ def aggregated_packet_mirroring_list(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
17604
+ command = make_simple_command(:get, '{project}/aggregated/packetMirrorings', options)
17605
+ command.response_representation = Google::Apis::ComputeAlpha::PacketMirroringAggregatedList::Representation
17606
+ command.response_class = Google::Apis::ComputeAlpha::PacketMirroringAggregatedList
17449
17607
  command.params['project'] = project unless project.nil?
17450
- command.query['requestId'] = request_id unless request_id.nil?
17608
+ command.query['filter'] = filter unless filter.nil?
17609
+ command.query['maxResults'] = max_results unless max_results.nil?
17610
+ command.query['orderBy'] = order_by unless order_by.nil?
17611
+ command.query['pageToken'] = page_token unless page_token.nil?
17451
17612
  command.query['fields'] = fields unless fields.nil?
17452
17613
  command.query['quotaUser'] = quota_user unless quota_user.nil?
17453
17614
  command.query['userIp'] = user_ip unless user_ip.nil?
17454
17615
  execute_or_queue_command(command, &block)
17455
17616
  end
17456
17617
 
17457
- # Disable a serivce resource (a.k.a service project) associated with this host
17458
- # project.
17618
+ # Deletes the specified PacketMirroring resource.
17459
17619
  # @param [String] project
17460
17620
  # Project ID for this request.
17461
- # @param [Google::Apis::ComputeAlpha::ProjectsDisableXpnResourceRequest] projects_disable_xpn_resource_request_object
17621
+ # @param [String] region
17622
+ # Name of the region for this request.
17623
+ # @param [String] packet_mirroring
17624
+ # Name of the PacketMirroring resource to delete.
17462
17625
  # @param [String] request_id
17463
17626
  # An optional request ID to identify requests. Specify a unique request ID so
17464
17627
  # that if you must retry your request, the server will know to ignore the
@@ -17489,13 +17652,13 @@ module Google
17489
17652
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
17490
17653
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
17491
17654
  # @raise [Google::Apis::AuthorizationError] Authorization is required
17492
- def disable_project_xpn_resource(project, projects_disable_xpn_resource_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
17493
- command = make_simple_command(:post, '{project}/disableXpnResource', options)
17494
- command.request_representation = Google::Apis::ComputeAlpha::ProjectsDisableXpnResourceRequest::Representation
17495
- command.request_object = projects_disable_xpn_resource_request_object
17655
+ def delete_packet_mirroring(project, region, packet_mirroring, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
17656
+ command = make_simple_command(:delete, '{project}/regions/{region}/packetMirrorings/{packetMirroring}', options)
17496
17657
  command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
17497
17658
  command.response_class = Google::Apis::ComputeAlpha::Operation
17498
17659
  command.params['project'] = project unless project.nil?
17660
+ command.params['region'] = region unless region.nil?
17661
+ command.params['packetMirroring'] = packet_mirroring unless packet_mirroring.nil?
17499
17662
  command.query['requestId'] = request_id unless request_id.nil?
17500
17663
  command.query['fields'] = fields unless fields.nil?
17501
17664
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -17503,20 +17666,13 @@ module Google
17503
17666
  execute_or_queue_command(command, &block)
17504
17667
  end
17505
17668
 
17506
- # Enable this project as a shared VPC host project.
17669
+ # Returns the specified PacketMirroring resource.
17507
17670
  # @param [String] project
17508
17671
  # Project ID for this request.
17509
- # @param [String] request_id
17510
- # An optional request ID to identify requests. Specify a unique request ID so
17511
- # that if you must retry your request, the server will know to ignore the
17512
- # request if it has already been completed.
17513
- # For example, consider a situation where you make an initial request and the
17514
- # request times out. If you make the request again with the same request ID, the
17515
- # server can check if original operation with the same request ID was received,
17516
- # and if so, will ignore the second request. This prevents clients from
17517
- # accidentally creating duplicate commitments.
17518
- # The request ID must be a valid UUID with the exception that zero UUID is not
17519
- # supported (00000000-0000-0000-0000-000000000000).
17672
+ # @param [String] region
17673
+ # Name of the region for this request.
17674
+ # @param [String] packet_mirroring
17675
+ # Name of the PacketMirroring resource to return.
17520
17676
  # @param [String] fields
17521
17677
  # Selector specifying which fields to include in a partial response.
17522
17678
  # @param [String] quota_user
@@ -17528,31 +17684,34 @@ module Google
17528
17684
  # Request-specific options
17529
17685
  #
17530
17686
  # @yield [result, err] Result & error if block supplied
17531
- # @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
17687
+ # @yieldparam result [Google::Apis::ComputeAlpha::PacketMirroring] parsed result object
17532
17688
  # @yieldparam err [StandardError] error object if request failed
17533
17689
  #
17534
- # @return [Google::Apis::ComputeAlpha::Operation]
17690
+ # @return [Google::Apis::ComputeAlpha::PacketMirroring]
17535
17691
  #
17536
17692
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
17537
17693
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
17538
17694
  # @raise [Google::Apis::AuthorizationError] Authorization is required
17539
- def enable_project_xpn_host(project, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
17540
- command = make_simple_command(:post, '{project}/enableXpnHost', options)
17541
- command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
17542
- command.response_class = Google::Apis::ComputeAlpha::Operation
17695
+ def get_packet_mirroring(project, region, packet_mirroring, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
17696
+ command = make_simple_command(:get, '{project}/regions/{region}/packetMirrorings/{packetMirroring}', options)
17697
+ command.response_representation = Google::Apis::ComputeAlpha::PacketMirroring::Representation
17698
+ command.response_class = Google::Apis::ComputeAlpha::PacketMirroring
17543
17699
  command.params['project'] = project unless project.nil?
17544
- command.query['requestId'] = request_id unless request_id.nil?
17700
+ command.params['region'] = region unless region.nil?
17701
+ command.params['packetMirroring'] = packet_mirroring unless packet_mirroring.nil?
17545
17702
  command.query['fields'] = fields unless fields.nil?
17546
17703
  command.query['quotaUser'] = quota_user unless quota_user.nil?
17547
17704
  command.query['userIp'] = user_ip unless user_ip.nil?
17548
17705
  execute_or_queue_command(command, &block)
17549
17706
  end
17550
17707
 
17551
- # Enable service resource (a.k.a service project) for a host project, so that
17552
- # subnets in the host project can be used by instances in the service project.
17708
+ # Creates a PacketMirroring resource in the specified project and region using
17709
+ # the data included in the request.
17553
17710
  # @param [String] project
17554
17711
  # Project ID for this request.
17555
- # @param [Google::Apis::ComputeAlpha::ProjectsEnableXpnResourceRequest] projects_enable_xpn_resource_request_object
17712
+ # @param [String] region
17713
+ # Name of the region for this request.
17714
+ # @param [Google::Apis::ComputeAlpha::PacketMirroring] packet_mirroring_object
17556
17715
  # @param [String] request_id
17557
17716
  # An optional request ID to identify requests. Specify a unique request ID so
17558
17717
  # that if you must retry your request, the server will know to ignore the
@@ -17583,13 +17742,14 @@ module Google
17583
17742
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
17584
17743
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
17585
17744
  # @raise [Google::Apis::AuthorizationError] Authorization is required
17586
- def enable_project_xpn_resource(project, projects_enable_xpn_resource_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
17587
- command = make_simple_command(:post, '{project}/enableXpnResource', options)
17588
- command.request_representation = Google::Apis::ComputeAlpha::ProjectsEnableXpnResourceRequest::Representation
17589
- command.request_object = projects_enable_xpn_resource_request_object
17745
+ def insert_packet_mirroring(project, region, packet_mirroring_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
17746
+ command = make_simple_command(:post, '{project}/regions/{region}/packetMirrorings', options)
17747
+ command.request_representation = Google::Apis::ComputeAlpha::PacketMirroring::Representation
17748
+ command.request_object = packet_mirroring_object
17590
17749
  command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
17591
17750
  command.response_class = Google::Apis::ComputeAlpha::Operation
17592
17751
  command.params['project'] = project unless project.nil?
17752
+ command.params['region'] = region unless region.nil?
17593
17753
  command.query['requestId'] = request_id unless request_id.nil?
17594
17754
  command.query['fields'] = fields unless fields.nil?
17595
17755
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -17597,41 +17757,402 @@ module Google
17597
17757
  execute_or_queue_command(command, &block)
17598
17758
  end
17599
17759
 
17600
- # Returns the specified Project resource.
17760
+ # Retrieves a list of PacketMirroring resources available to the specified
17761
+ # project and region.
17601
17762
  # @param [String] project
17602
17763
  # Project ID for this request.
17603
- # @param [String] fields
17604
- # Selector specifying which fields to include in a partial response.
17605
- # @param [String] quota_user
17606
- # An opaque string that represents a user for quota purposes. Must not exceed 40
17607
- # characters.
17608
- # @param [String] user_ip
17609
- # Deprecated. Please use quotaUser instead.
17610
- # @param [Google::Apis::RequestOptions] options
17611
- # Request-specific options
17612
- #
17613
- # @yield [result, err] Result & error if block supplied
17614
- # @yieldparam result [Google::Apis::ComputeAlpha::Project] parsed result object
17615
- # @yieldparam err [StandardError] error object if request failed
17616
- #
17617
- # @return [Google::Apis::ComputeAlpha::Project]
17618
- #
17619
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
17620
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
17621
- # @raise [Google::Apis::AuthorizationError] Authorization is required
17622
- def get_project(project, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
17623
- command = make_simple_command(:get, '{project}', options)
17624
- command.response_representation = Google::Apis::ComputeAlpha::Project::Representation
17625
- command.response_class = Google::Apis::ComputeAlpha::Project
17626
- command.params['project'] = project unless project.nil?
17627
- command.query['fields'] = fields unless fields.nil?
17628
- command.query['quotaUser'] = quota_user unless quota_user.nil?
17629
- command.query['userIp'] = user_ip unless user_ip.nil?
17630
- execute_or_queue_command(command, &block)
17631
- end
17632
-
17633
- # Gets the shared VPC host project that this project links to. May be empty if
17634
- # no link exists.
17764
+ # @param [String] region
17765
+ # Name of the region for this request.
17766
+ # @param [String] filter
17767
+ # A filter expression that filters resources listed in the response. The
17768
+ # expression must specify the field name, a comparison operator, and the value
17769
+ # that you want to use for filtering. The value must be a string, a number, or a
17770
+ # boolean. The comparison operator must be either =, !=, >, or <.
17771
+ # For example, if you are filtering Compute Engine instances, you can exclude
17772
+ # instances named example-instance by specifying name != example-instance.
17773
+ # You can also filter nested fields. For example, you could specify scheduling.
17774
+ # automaticRestart = false to include instances only if they are not scheduled
17775
+ # for automatic restarts. You can use filtering on nested fields to filter based
17776
+ # on resource labels.
17777
+ # To filter on multiple expressions, provide each separate expression within
17778
+ # parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = "
17779
+ # Intel Skylake"). By default, each expression is an AND expression. However,
17780
+ # you can include AND and OR expressions explicitly. For example, (cpuPlatform =
17781
+ # "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.
17782
+ # automaticRestart = true).
17783
+ # @param [Fixnum] max_results
17784
+ # The maximum number of results per page that should be returned. If the number
17785
+ # of available results is larger than maxResults, Compute Engine returns a
17786
+ # nextPageToken that can be used to get the next page of results in subsequent
17787
+ # list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
17788
+ # @param [String] order_by
17789
+ # Sorts list results by a certain order. By default, results are returned in
17790
+ # alphanumerical order based on the resource name.
17791
+ # You can also sort results in descending order based on the creation timestamp
17792
+ # using orderBy="creationTimestamp desc". This sorts results based on the
17793
+ # creationTimestamp field in reverse chronological order (newest result first).
17794
+ # Use this to sort resources like operations so that the newest operation is
17795
+ # returned first.
17796
+ # Currently, only sorting by name or creationTimestamp desc is supported.
17797
+ # @param [String] page_token
17798
+ # Specifies a page token to use. Set pageToken to the nextPageToken returned by
17799
+ # a previous list request to get the next page of results.
17800
+ # @param [String] fields
17801
+ # Selector specifying which fields to include in a partial response.
17802
+ # @param [String] quota_user
17803
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
17804
+ # characters.
17805
+ # @param [String] user_ip
17806
+ # Deprecated. Please use quotaUser instead.
17807
+ # @param [Google::Apis::RequestOptions] options
17808
+ # Request-specific options
17809
+ #
17810
+ # @yield [result, err] Result & error if block supplied
17811
+ # @yieldparam result [Google::Apis::ComputeAlpha::PacketMirroringList] parsed result object
17812
+ # @yieldparam err [StandardError] error object if request failed
17813
+ #
17814
+ # @return [Google::Apis::ComputeAlpha::PacketMirroringList]
17815
+ #
17816
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
17817
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
17818
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
17819
+ def list_packet_mirrorings(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
17820
+ command = make_simple_command(:get, '{project}/regions/{region}/packetMirrorings', options)
17821
+ command.response_representation = Google::Apis::ComputeAlpha::PacketMirroringList::Representation
17822
+ command.response_class = Google::Apis::ComputeAlpha::PacketMirroringList
17823
+ command.params['project'] = project unless project.nil?
17824
+ command.params['region'] = region unless region.nil?
17825
+ command.query['filter'] = filter unless filter.nil?
17826
+ command.query['maxResults'] = max_results unless max_results.nil?
17827
+ command.query['orderBy'] = order_by unless order_by.nil?
17828
+ command.query['pageToken'] = page_token unless page_token.nil?
17829
+ command.query['fields'] = fields unless fields.nil?
17830
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
17831
+ command.query['userIp'] = user_ip unless user_ip.nil?
17832
+ execute_or_queue_command(command, &block)
17833
+ end
17834
+
17835
+ # Patches the specified PacketMirroring resource with the data included in the
17836
+ # request. This method supports PATCH semantics and uses JSON merge patch format
17837
+ # and processing rules.
17838
+ # @param [String] project
17839
+ # Project ID for this request.
17840
+ # @param [String] region
17841
+ # Name of the region for this request.
17842
+ # @param [String] packet_mirroring
17843
+ # Name of the PacketMirroring resource to patch.
17844
+ # @param [Google::Apis::ComputeAlpha::PacketMirroring] packet_mirroring_object
17845
+ # @param [String] request_id
17846
+ # An optional request ID to identify requests. Specify a unique request ID so
17847
+ # that if you must retry your request, the server will know to ignore the
17848
+ # request if it has already been completed.
17849
+ # For example, consider a situation where you make an initial request and the
17850
+ # request times out. If you make the request again with the same request ID, the
17851
+ # server can check if original operation with the same request ID was received,
17852
+ # and if so, will ignore the second request. This prevents clients from
17853
+ # accidentally creating duplicate commitments.
17854
+ # The request ID must be a valid UUID with the exception that zero UUID is not
17855
+ # supported (00000000-0000-0000-0000-000000000000).
17856
+ # @param [String] fields
17857
+ # Selector specifying which fields to include in a partial response.
17858
+ # @param [String] quota_user
17859
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
17860
+ # characters.
17861
+ # @param [String] user_ip
17862
+ # Deprecated. Please use quotaUser instead.
17863
+ # @param [Google::Apis::RequestOptions] options
17864
+ # Request-specific options
17865
+ #
17866
+ # @yield [result, err] Result & error if block supplied
17867
+ # @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
17868
+ # @yieldparam err [StandardError] error object if request failed
17869
+ #
17870
+ # @return [Google::Apis::ComputeAlpha::Operation]
17871
+ #
17872
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
17873
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
17874
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
17875
+ def patch_packet_mirroring(project, region, packet_mirroring, packet_mirroring_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
17876
+ command = make_simple_command(:patch, '{project}/regions/{region}/packetMirrorings/{packetMirroring}', options)
17877
+ command.request_representation = Google::Apis::ComputeAlpha::PacketMirroring::Representation
17878
+ command.request_object = packet_mirroring_object
17879
+ command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
17880
+ command.response_class = Google::Apis::ComputeAlpha::Operation
17881
+ command.params['project'] = project unless project.nil?
17882
+ command.params['region'] = region unless region.nil?
17883
+ command.params['packetMirroring'] = packet_mirroring unless packet_mirroring.nil?
17884
+ command.query['requestId'] = request_id unless request_id.nil?
17885
+ command.query['fields'] = fields unless fields.nil?
17886
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
17887
+ command.query['userIp'] = user_ip unless user_ip.nil?
17888
+ execute_or_queue_command(command, &block)
17889
+ end
17890
+
17891
+ # Returns permissions that a caller has on the specified resource.
17892
+ # @param [String] project
17893
+ # Project ID for this request.
17894
+ # @param [String] region
17895
+ # The name of the region for this request.
17896
+ # @param [String] resource
17897
+ # Name or id of the resource for this request.
17898
+ # @param [Google::Apis::ComputeAlpha::TestPermissionsRequest] test_permissions_request_object
17899
+ # @param [String] fields
17900
+ # Selector specifying which fields to include in a partial response.
17901
+ # @param [String] quota_user
17902
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
17903
+ # characters.
17904
+ # @param [String] user_ip
17905
+ # Deprecated. Please use quotaUser instead.
17906
+ # @param [Google::Apis::RequestOptions] options
17907
+ # Request-specific options
17908
+ #
17909
+ # @yield [result, err] Result & error if block supplied
17910
+ # @yieldparam result [Google::Apis::ComputeAlpha::TestPermissionsResponse] parsed result object
17911
+ # @yieldparam err [StandardError] error object if request failed
17912
+ #
17913
+ # @return [Google::Apis::ComputeAlpha::TestPermissionsResponse]
17914
+ #
17915
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
17916
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
17917
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
17918
+ def test_packet_mirroring_iam_permissions(project, region, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
17919
+ command = make_simple_command(:post, '{project}/regions/{region}/packetMirrorings/{resource}/testIamPermissions', options)
17920
+ command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation
17921
+ command.request_object = test_permissions_request_object
17922
+ command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation
17923
+ command.response_class = Google::Apis::ComputeAlpha::TestPermissionsResponse
17924
+ command.params['project'] = project unless project.nil?
17925
+ command.params['region'] = region unless region.nil?
17926
+ command.params['resource'] = resource unless resource.nil?
17927
+ command.query['fields'] = fields unless fields.nil?
17928
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
17929
+ command.query['userIp'] = user_ip unless user_ip.nil?
17930
+ execute_or_queue_command(command, &block)
17931
+ end
17932
+
17933
+ # Disable this project as a shared VPC host project.
17934
+ # @param [String] project
17935
+ # Project ID for this request.
17936
+ # @param [String] request_id
17937
+ # An optional request ID to identify requests. Specify a unique request ID so
17938
+ # that if you must retry your request, the server will know to ignore the
17939
+ # request if it has already been completed.
17940
+ # For example, consider a situation where you make an initial request and the
17941
+ # request times out. If you make the request again with the same request ID, the
17942
+ # server can check if original operation with the same request ID was received,
17943
+ # and if so, will ignore the second request. This prevents clients from
17944
+ # accidentally creating duplicate commitments.
17945
+ # The request ID must be a valid UUID with the exception that zero UUID is not
17946
+ # supported (00000000-0000-0000-0000-000000000000).
17947
+ # @param [String] fields
17948
+ # Selector specifying which fields to include in a partial response.
17949
+ # @param [String] quota_user
17950
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
17951
+ # characters.
17952
+ # @param [String] user_ip
17953
+ # Deprecated. Please use quotaUser instead.
17954
+ # @param [Google::Apis::RequestOptions] options
17955
+ # Request-specific options
17956
+ #
17957
+ # @yield [result, err] Result & error if block supplied
17958
+ # @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
17959
+ # @yieldparam err [StandardError] error object if request failed
17960
+ #
17961
+ # @return [Google::Apis::ComputeAlpha::Operation]
17962
+ #
17963
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
17964
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
17965
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
17966
+ def disable_project_xpn_host(project, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
17967
+ command = make_simple_command(:post, '{project}/disableXpnHost', options)
17968
+ command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
17969
+ command.response_class = Google::Apis::ComputeAlpha::Operation
17970
+ command.params['project'] = project unless project.nil?
17971
+ command.query['requestId'] = request_id unless request_id.nil?
17972
+ command.query['fields'] = fields unless fields.nil?
17973
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
17974
+ command.query['userIp'] = user_ip unless user_ip.nil?
17975
+ execute_or_queue_command(command, &block)
17976
+ end
17977
+
17978
+ # Disable a service resource (also known as service project) associated with
17979
+ # this host project.
17980
+ # @param [String] project
17981
+ # Project ID for this request.
17982
+ # @param [Google::Apis::ComputeAlpha::ProjectsDisableXpnResourceRequest] projects_disable_xpn_resource_request_object
17983
+ # @param [String] request_id
17984
+ # An optional request ID to identify requests. Specify a unique request ID so
17985
+ # that if you must retry your request, the server will know to ignore the
17986
+ # request if it has already been completed.
17987
+ # For example, consider a situation where you make an initial request and the
17988
+ # request times out. If you make the request again with the same request ID, the
17989
+ # server can check if original operation with the same request ID was received,
17990
+ # and if so, will ignore the second request. This prevents clients from
17991
+ # accidentally creating duplicate commitments.
17992
+ # The request ID must be a valid UUID with the exception that zero UUID is not
17993
+ # supported (00000000-0000-0000-0000-000000000000).
17994
+ # @param [String] fields
17995
+ # Selector specifying which fields to include in a partial response.
17996
+ # @param [String] quota_user
17997
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
17998
+ # characters.
17999
+ # @param [String] user_ip
18000
+ # Deprecated. Please use quotaUser instead.
18001
+ # @param [Google::Apis::RequestOptions] options
18002
+ # Request-specific options
18003
+ #
18004
+ # @yield [result, err] Result & error if block supplied
18005
+ # @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
18006
+ # @yieldparam err [StandardError] error object if request failed
18007
+ #
18008
+ # @return [Google::Apis::ComputeAlpha::Operation]
18009
+ #
18010
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
18011
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
18012
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
18013
+ def disable_project_xpn_resource(project, projects_disable_xpn_resource_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
18014
+ command = make_simple_command(:post, '{project}/disableXpnResource', options)
18015
+ command.request_representation = Google::Apis::ComputeAlpha::ProjectsDisableXpnResourceRequest::Representation
18016
+ command.request_object = projects_disable_xpn_resource_request_object
18017
+ command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
18018
+ command.response_class = Google::Apis::ComputeAlpha::Operation
18019
+ command.params['project'] = project unless project.nil?
18020
+ command.query['requestId'] = request_id unless request_id.nil?
18021
+ command.query['fields'] = fields unless fields.nil?
18022
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
18023
+ command.query['userIp'] = user_ip unless user_ip.nil?
18024
+ execute_or_queue_command(command, &block)
18025
+ end
18026
+
18027
+ # Enable this project as a shared VPC host project.
18028
+ # @param [String] project
18029
+ # Project ID for this request.
18030
+ # @param [String] request_id
18031
+ # An optional request ID to identify requests. Specify a unique request ID so
18032
+ # that if you must retry your request, the server will know to ignore the
18033
+ # request if it has already been completed.
18034
+ # For example, consider a situation where you make an initial request and the
18035
+ # request times out. If you make the request again with the same request ID, the
18036
+ # server can check if original operation with the same request ID was received,
18037
+ # and if so, will ignore the second request. This prevents clients from
18038
+ # accidentally creating duplicate commitments.
18039
+ # The request ID must be a valid UUID with the exception that zero UUID is not
18040
+ # supported (00000000-0000-0000-0000-000000000000).
18041
+ # @param [String] fields
18042
+ # Selector specifying which fields to include in a partial response.
18043
+ # @param [String] quota_user
18044
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
18045
+ # characters.
18046
+ # @param [String] user_ip
18047
+ # Deprecated. Please use quotaUser instead.
18048
+ # @param [Google::Apis::RequestOptions] options
18049
+ # Request-specific options
18050
+ #
18051
+ # @yield [result, err] Result & error if block supplied
18052
+ # @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
18053
+ # @yieldparam err [StandardError] error object if request failed
18054
+ #
18055
+ # @return [Google::Apis::ComputeAlpha::Operation]
18056
+ #
18057
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
18058
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
18059
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
18060
+ def enable_project_xpn_host(project, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
18061
+ command = make_simple_command(:post, '{project}/enableXpnHost', options)
18062
+ command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
18063
+ command.response_class = Google::Apis::ComputeAlpha::Operation
18064
+ command.params['project'] = project unless project.nil?
18065
+ command.query['requestId'] = request_id unless request_id.nil?
18066
+ command.query['fields'] = fields unless fields.nil?
18067
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
18068
+ command.query['userIp'] = user_ip unless user_ip.nil?
18069
+ execute_or_queue_command(command, &block)
18070
+ end
18071
+
18072
+ # Enable service resource (a.k.a service project) for a host project, so that
18073
+ # subnets in the host project can be used by instances in the service project.
18074
+ # @param [String] project
18075
+ # Project ID for this request.
18076
+ # @param [Google::Apis::ComputeAlpha::ProjectsEnableXpnResourceRequest] projects_enable_xpn_resource_request_object
18077
+ # @param [String] request_id
18078
+ # An optional request ID to identify requests. Specify a unique request ID so
18079
+ # that if you must retry your request, the server will know to ignore the
18080
+ # request if it has already been completed.
18081
+ # For example, consider a situation where you make an initial request and the
18082
+ # request times out. If you make the request again with the same request ID, the
18083
+ # server can check if original operation with the same request ID was received,
18084
+ # and if so, will ignore the second request. This prevents clients from
18085
+ # accidentally creating duplicate commitments.
18086
+ # The request ID must be a valid UUID with the exception that zero UUID is not
18087
+ # supported (00000000-0000-0000-0000-000000000000).
18088
+ # @param [String] fields
18089
+ # Selector specifying which fields to include in a partial response.
18090
+ # @param [String] quota_user
18091
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
18092
+ # characters.
18093
+ # @param [String] user_ip
18094
+ # Deprecated. Please use quotaUser instead.
18095
+ # @param [Google::Apis::RequestOptions] options
18096
+ # Request-specific options
18097
+ #
18098
+ # @yield [result, err] Result & error if block supplied
18099
+ # @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
18100
+ # @yieldparam err [StandardError] error object if request failed
18101
+ #
18102
+ # @return [Google::Apis::ComputeAlpha::Operation]
18103
+ #
18104
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
18105
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
18106
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
18107
+ def enable_project_xpn_resource(project, projects_enable_xpn_resource_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
18108
+ command = make_simple_command(:post, '{project}/enableXpnResource', options)
18109
+ command.request_representation = Google::Apis::ComputeAlpha::ProjectsEnableXpnResourceRequest::Representation
18110
+ command.request_object = projects_enable_xpn_resource_request_object
18111
+ command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
18112
+ command.response_class = Google::Apis::ComputeAlpha::Operation
18113
+ command.params['project'] = project unless project.nil?
18114
+ command.query['requestId'] = request_id unless request_id.nil?
18115
+ command.query['fields'] = fields unless fields.nil?
18116
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
18117
+ command.query['userIp'] = user_ip unless user_ip.nil?
18118
+ execute_or_queue_command(command, &block)
18119
+ end
18120
+
18121
+ # Returns the specified Project resource.
18122
+ # @param [String] project
18123
+ # Project ID for this request.
18124
+ # @param [String] fields
18125
+ # Selector specifying which fields to include in a partial response.
18126
+ # @param [String] quota_user
18127
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
18128
+ # characters.
18129
+ # @param [String] user_ip
18130
+ # Deprecated. Please use quotaUser instead.
18131
+ # @param [Google::Apis::RequestOptions] options
18132
+ # Request-specific options
18133
+ #
18134
+ # @yield [result, err] Result & error if block supplied
18135
+ # @yieldparam result [Google::Apis::ComputeAlpha::Project] parsed result object
18136
+ # @yieldparam err [StandardError] error object if request failed
18137
+ #
18138
+ # @return [Google::Apis::ComputeAlpha::Project]
18139
+ #
18140
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
18141
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
18142
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
18143
+ def get_project(project, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
18144
+ command = make_simple_command(:get, '{project}', options)
18145
+ command.response_representation = Google::Apis::ComputeAlpha::Project::Representation
18146
+ command.response_class = Google::Apis::ComputeAlpha::Project
18147
+ command.params['project'] = project unless project.nil?
18148
+ command.query['fields'] = fields unless fields.nil?
18149
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
18150
+ command.query['userIp'] = user_ip unless user_ip.nil?
18151
+ execute_or_queue_command(command, &block)
18152
+ end
18153
+
18154
+ # Gets the shared VPC host project that this project links to. May be empty if
18155
+ # no link exists.
17635
18156
  # @param [String] project
17636
18157
  # Project ID for this request.
17637
18158
  # @param [String] fields
@@ -21088,6 +21609,86 @@ module Google
21088
21609
  execute_or_queue_command(command, &block)
21089
21610
  end
21090
21611
 
21612
+ # Lists all errors thrown by actions on instances for a given regional managed
21613
+ # instance group.
21614
+ # @param [String] project
21615
+ # Project ID for this request.
21616
+ # @param [String] region
21617
+ # Name of the region scoping this request. This should conform to RFC1035.
21618
+ # @param [String] instance_group_manager
21619
+ # The name of the managed instance group. It must be a string that meets the
21620
+ # requirements in RFC1035, or an unsigned long integer: must match regexp
21621
+ # pattern: (?:[a-z](?:[-a-z0-9]`0,61`[a-z0-9])?)|[1-9][0-9]`0,19`.
21622
+ # @param [String] filter
21623
+ # A filter expression that filters resources listed in the response. The
21624
+ # expression must specify the field name, a comparison operator, and the value
21625
+ # that you want to use for filtering. The value must be a string, a number, or a
21626
+ # boolean. The comparison operator must be either =, !=, >, or <.
21627
+ # For example, if you are filtering Compute Engine instances, you can exclude
21628
+ # instances named example-instance by specifying name != example-instance.
21629
+ # You can also filter nested fields. For example, you could specify scheduling.
21630
+ # automaticRestart = false to include instances only if they are not scheduled
21631
+ # for automatic restarts. You can use filtering on nested fields to filter based
21632
+ # on resource labels.
21633
+ # To filter on multiple expressions, provide each separate expression within
21634
+ # parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = "
21635
+ # Intel Skylake"). By default, each expression is an AND expression. However,
21636
+ # you can include AND and OR expressions explicitly. For example, (cpuPlatform =
21637
+ # "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.
21638
+ # automaticRestart = true).
21639
+ # @param [Fixnum] max_results
21640
+ # The maximum number of results per page that should be returned. If the number
21641
+ # of available results is larger than maxResults, Compute Engine returns a
21642
+ # nextPageToken that can be used to get the next page of results in subsequent
21643
+ # list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
21644
+ # @param [String] order_by
21645
+ # Sorts list results by a certain order. By default, results are returned in
21646
+ # alphanumerical order based on the resource name.
21647
+ # You can also sort results in descending order based on the creation timestamp
21648
+ # using orderBy="creationTimestamp desc". This sorts results based on the
21649
+ # creationTimestamp field in reverse chronological order (newest result first).
21650
+ # Use this to sort resources like operations so that the newest operation is
21651
+ # returned first.
21652
+ # Currently, only sorting by name or creationTimestamp desc is supported.
21653
+ # @param [String] page_token
21654
+ # Specifies a page token to use. Set pageToken to the nextPageToken returned by
21655
+ # a previous list request to get the next page of results.
21656
+ # @param [String] fields
21657
+ # Selector specifying which fields to include in a partial response.
21658
+ # @param [String] quota_user
21659
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
21660
+ # characters.
21661
+ # @param [String] user_ip
21662
+ # Deprecated. Please use quotaUser instead.
21663
+ # @param [Google::Apis::RequestOptions] options
21664
+ # Request-specific options
21665
+ #
21666
+ # @yield [result, err] Result & error if block supplied
21667
+ # @yieldparam result [Google::Apis::ComputeAlpha::RegionInstanceGroupManagersListErrorsResponse] parsed result object
21668
+ # @yieldparam err [StandardError] error object if request failed
21669
+ #
21670
+ # @return [Google::Apis::ComputeAlpha::RegionInstanceGroupManagersListErrorsResponse]
21671
+ #
21672
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
21673
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
21674
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
21675
+ def list_region_instance_group_manager_errors(project, region, instance_group_manager, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
21676
+ command = make_simple_command(:get, '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/listErrors', options)
21677
+ command.response_representation = Google::Apis::ComputeAlpha::RegionInstanceGroupManagersListErrorsResponse::Representation
21678
+ command.response_class = Google::Apis::ComputeAlpha::RegionInstanceGroupManagersListErrorsResponse
21679
+ command.params['project'] = project unless project.nil?
21680
+ command.params['region'] = region unless region.nil?
21681
+ command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil?
21682
+ command.query['filter'] = filter unless filter.nil?
21683
+ command.query['maxResults'] = max_results unless max_results.nil?
21684
+ command.query['orderBy'] = order_by unless order_by.nil?
21685
+ command.query['pageToken'] = page_token unless page_token.nil?
21686
+ command.query['fields'] = fields unless fields.nil?
21687
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
21688
+ command.query['userIp'] = user_ip unless user_ip.nil?
21689
+ execute_or_queue_command(command, &block)
21690
+ end
21691
+
21091
21692
  # Lists the instances in the managed instance group and instances that are
21092
21693
  # scheduled to be created. The list includes any current actions that the group
21093
21694
  # has scheduled for its instances.
@@ -25455,6 +26056,9 @@ module Google
25455
26056
  end
25456
26057
 
25457
26058
  # Updates the specified Router resource with the data included in the request.
26059
+ # This method conforms to PUT semantics, which requests that the state of the
26060
+ # target resource be created or replaced with the state defined by the
26061
+ # representation enclosed in the request message payload.
25458
26062
  # @param [String] project
25459
26063
  # Project ID for this request.
25460
26064
  # @param [String] region