google-api-client 0.23.3 → 0.23.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (173) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +107 -0
  3. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  4. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +9 -0
  5. data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +2 -0
  6. data/generated/google/apis/adexchangebuyer_v1_2.rb +1 -1
  7. data/generated/google/apis/adexchangebuyer_v1_3.rb +1 -1
  8. data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
  9. data/generated/google/apis/adexchangeseller_v1.rb +1 -1
  10. data/generated/google/apis/adexchangeseller_v1_1.rb +1 -1
  11. data/generated/google/apis/adexchangeseller_v2_0.rb +1 -1
  12. data/generated/google/apis/admin_datatransfer_v1.rb +1 -1
  13. data/generated/google/apis/admin_directory_v1.rb +1 -1
  14. data/generated/google/apis/admin_reports_v1.rb +1 -1
  15. data/generated/google/apis/adsense_v1_4.rb +1 -1
  16. data/generated/google/apis/adsensehost_v4_1.rb +1 -1
  17. data/generated/google/apis/analytics_v2_4.rb +1 -1
  18. data/generated/google/apis/analytics_v3.rb +1 -1
  19. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  20. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  21. data/generated/google/apis/androidmanagement_v1/classes.rb +35 -0
  22. data/generated/google/apis/androidmanagement_v1/representations.rb +6 -0
  23. data/generated/google/apis/androidmanagement_v1/service.rb +4 -1
  24. data/generated/google/apis/androidpublisher_v1.rb +1 -1
  25. data/generated/google/apis/androidpublisher_v1_1.rb +1 -1
  26. data/generated/google/apis/androidpublisher_v2.rb +1 -1
  27. data/generated/google/apis/androidpublisher_v2/classes.rb +45 -0
  28. data/generated/google/apis/androidpublisher_v2/representations.rb +17 -0
  29. data/generated/google/apis/androidpublisher_v2/service.rb +5 -1
  30. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  31. data/generated/google/apis/androidpublisher_v3/classes.rb +45 -0
  32. data/generated/google/apis/androidpublisher_v3/representations.rb +17 -0
  33. data/generated/google/apis/androidpublisher_v3/service.rb +5 -1
  34. data/generated/google/apis/appengine_v1beta.rb +1 -1
  35. data/generated/google/apis/appengine_v1beta/classes.rb +7 -0
  36. data/generated/google/apis/appengine_v1beta/representations.rb +1 -0
  37. data/generated/google/apis/appengine_v1beta4.rb +1 -1
  38. data/generated/google/apis/appengine_v1beta4/classes.rb +7 -0
  39. data/generated/google/apis/appengine_v1beta4/representations.rb +1 -0
  40. data/generated/google/apis/appengine_v1beta5.rb +1 -1
  41. data/generated/google/apis/appengine_v1beta5/classes.rb +7 -0
  42. data/generated/google/apis/appengine_v1beta5/representations.rb +1 -0
  43. data/generated/google/apis/appsactivity_v1.rb +1 -1
  44. data/generated/google/apis/appstate_v1.rb +1 -1
  45. data/generated/google/apis/bigquery_v2.rb +1 -1
  46. data/generated/google/apis/bigquery_v2/classes.rb +269 -0
  47. data/generated/google/apis/bigquery_v2/representations.rb +93 -0
  48. data/generated/google/apis/blogger_v2.rb +1 -1
  49. data/generated/google/apis/blogger_v3.rb +1 -1
  50. data/generated/google/apis/books_v1.rb +1 -1
  51. data/generated/google/apis/calendar_v3.rb +1 -1
  52. data/generated/google/apis/civicinfo_v2.rb +1 -1
  53. data/generated/google/apis/civicinfo_v2/classes.rb +16 -69
  54. data/generated/google/apis/civicinfo_v2/representations.rb +1 -11
  55. data/generated/google/apis/civicinfo_v2/service.rb +4 -1
  56. data/generated/google/apis/cloudiot_v1.rb +1 -1
  57. data/generated/google/apis/cloudiot_v1/classes.rb +0 -1
  58. data/generated/google/apis/cloudprofiler_v2.rb +40 -0
  59. data/generated/google/apis/cloudprofiler_v2/classes.rb +167 -0
  60. data/generated/google/apis/cloudprofiler_v2/representations.rb +77 -0
  61. data/generated/google/apis/cloudprofiler_v2/service.rb +179 -0
  62. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  63. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +0 -1
  64. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  65. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +0 -1
  66. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  67. data/generated/google/apis/cloudresourcemanager_v2/classes.rb +0 -1
  68. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  69. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +0 -1
  70. data/generated/google/apis/compute_alpha.rb +1 -1
  71. data/generated/google/apis/compute_alpha/classes.rb +769 -146
  72. data/generated/google/apis/compute_alpha/representations.rb +294 -22
  73. data/generated/google/apis/compute_alpha/service.rb +868 -18
  74. data/generated/google/apis/compute_beta.rb +1 -1
  75. data/generated/google/apis/compute_beta/classes.rb +52 -89
  76. data/generated/google/apis/compute_beta/representations.rb +1 -18
  77. data/generated/google/apis/compute_beta/service.rb +0 -250
  78. data/generated/google/apis/compute_v1.rb +1 -1
  79. data/generated/google/apis/compute_v1/classes.rb +165 -16
  80. data/generated/google/apis/compute_v1/representations.rb +61 -0
  81. data/generated/google/apis/compute_v1/service.rb +208 -0
  82. data/generated/google/apis/content_v2/classes.rb +10 -10
  83. data/generated/google/apis/content_v2sandbox.rb +1 -1
  84. data/generated/google/apis/content_v2sandbox/classes.rb +60 -43
  85. data/generated/google/apis/content_v2sandbox/representations.rb +2 -0
  86. data/generated/google/apis/customsearch_v1.rb +1 -1
  87. data/generated/google/apis/deploymentmanager_alpha.rb +1 -1
  88. data/generated/google/apis/deploymentmanager_v2.rb +1 -1
  89. data/generated/google/apis/deploymentmanager_v2beta.rb +1 -1
  90. data/generated/google/apis/dfareporting_v2_8.rb +1 -1
  91. data/generated/google/apis/dfareporting_v3_0.rb +1 -1
  92. data/generated/google/apis/dfareporting_v3_1.rb +1 -1
  93. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  94. data/generated/google/apis/dialogflow_v2beta1/classes.rb +22 -0
  95. data/generated/google/apis/dns_v1.rb +1 -1
  96. data/generated/google/apis/dns_v1beta2.rb +1 -1
  97. data/generated/google/apis/dns_v2beta1.rb +1 -1
  98. data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
  99. data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
  100. data/generated/google/apis/drive_v2.rb +1 -1
  101. data/generated/google/apis/drive_v2/classes.rb +101 -5
  102. data/generated/google/apis/drive_v2/representations.rb +23 -0
  103. data/generated/google/apis/drive_v2/service.rb +28 -25
  104. data/generated/google/apis/drive_v3.rb +1 -1
  105. data/generated/google/apis/drive_v3/classes.rb +101 -6
  106. data/generated/google/apis/drive_v3/representations.rb +23 -0
  107. data/generated/google/apis/drive_v3/service.rb +26 -22
  108. data/generated/google/apis/fitness_v1.rb +1 -1
  109. data/generated/google/apis/fusiontables_v1.rb +1 -1
  110. data/generated/google/apis/fusiontables_v2.rb +1 -1
  111. data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
  112. data/generated/google/apis/games_management_v1management.rb +1 -1
  113. data/generated/google/apis/games_v1.rb +1 -1
  114. data/generated/google/apis/gmail_v1.rb +1 -1
  115. data/generated/google/apis/groupsmigration_v1.rb +1 -1
  116. data/generated/google/apis/groupssettings_v1.rb +1 -1
  117. data/generated/google/apis/groupssettings_v1/classes.rb +84 -0
  118. data/generated/google/apis/groupssettings_v1/representations.rb +12 -0
  119. data/generated/google/apis/iam_v1.rb +1 -1
  120. data/generated/google/apis/iam_v1/classes.rb +0 -1
  121. data/generated/google/apis/identitytoolkit_v3.rb +1 -1
  122. data/generated/google/apis/licensing_v1.rb +1 -1
  123. data/generated/google/apis/mirror_v1.rb +1 -1
  124. data/generated/google/apis/ml_v1.rb +1 -1
  125. data/generated/google/apis/ml_v1/classes.rb +77 -6
  126. data/generated/google/apis/ml_v1/representations.rb +7 -0
  127. data/generated/google/apis/oauth2_v1.rb +1 -1
  128. data/generated/google/apis/oauth2_v2.rb +1 -1
  129. data/generated/google/apis/pagespeedonline_v1.rb +1 -1
  130. data/generated/google/apis/pagespeedonline_v2.rb +1 -1
  131. data/generated/google/apis/pagespeedonline_v4.rb +1 -1
  132. data/generated/google/apis/playcustomapp_v1.rb +1 -1
  133. data/generated/google/apis/plus_domains_v1.rb +1 -1
  134. data/generated/google/apis/plus_v1.rb +1 -1
  135. data/generated/google/apis/pubsub_v1.rb +1 -1
  136. data/generated/google/apis/pubsub_v1/classes.rb +4 -5
  137. data/generated/google/apis/pubsub_v1beta2.rb +1 -1
  138. data/generated/google/apis/pubsub_v1beta2/classes.rb +0 -1
  139. data/generated/google/apis/replicapool_v1beta1.rb +1 -1
  140. data/generated/google/apis/replicapoolupdater_v1beta1.rb +1 -1
  141. data/generated/google/apis/reseller_v1.rb +1 -1
  142. data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
  143. data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +0 -1
  144. data/generated/google/apis/script_v1.rb +2 -8
  145. data/generated/google/apis/script_v1/service.rb +1 -7
  146. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  147. data/generated/google/apis/servicecontrol_v1/classes.rb +8 -0
  148. data/generated/google/apis/servicecontrol_v1/representations.rb +1 -0
  149. data/generated/google/apis/site_verification_v1.rb +1 -1
  150. data/generated/google/apis/slides_v1.rb +1 -1
  151. data/generated/google/apis/spectrum_v1explorer.rb +1 -1
  152. data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
  153. data/generated/google/apis/sqladmin_v1beta4/classes.rb +14 -9
  154. data/generated/google/apis/sqladmin_v1beta4/representations.rb +1 -0
  155. data/generated/google/apis/sqladmin_v1beta4/service.rb +13 -16
  156. data/generated/google/apis/storage_v1.rb +1 -1
  157. data/generated/google/apis/storage_v1beta1.rb +1 -1
  158. data/generated/google/apis/storage_v1beta2.rb +1 -1
  159. data/generated/google/apis/surveys_v2.rb +1 -1
  160. data/generated/google/apis/tagmanager_v1.rb +1 -1
  161. data/generated/google/apis/tagmanager_v2.rb +1 -1
  162. data/generated/google/apis/tasks_v1.rb +1 -1
  163. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  164. data/generated/google/apis/toolresults_v1beta3/classes.rb +6 -0
  165. data/generated/google/apis/toolresults_v1beta3/representations.rb +1 -0
  166. data/generated/google/apis/urlshortener_v1.rb +1 -1
  167. data/generated/google/apis/webfonts_v1.rb +1 -1
  168. data/generated/google/apis/webmasters_v3.rb +1 -1
  169. data/generated/google/apis/youtube_analytics_v1.rb +1 -1
  170. data/generated/google/apis/youtube_analytics_v1beta1.rb +1 -1
  171. data/generated/google/apis/youtube_v3.rb +1 -1
  172. data/lib/google/apis/version.rb +1 -1
  173. metadata +6 -2
@@ -19320,6 +19320,266 @@ module Google
19320
19320
  execute_or_queue_command(command, &block)
19321
19321
  end
19322
19322
 
19323
+ # Deletes the specified SslCertificate resource in the region.
19324
+ # @param [String] project
19325
+ # Project ID for this request.
19326
+ # @param [String] region
19327
+ # Name of the region scoping this request.
19328
+ # @param [String] ssl_certificate
19329
+ # Name of the SslCertificate resource to delete.
19330
+ # @param [String] request_id
19331
+ # An optional request ID to identify requests. Specify a unique request ID so
19332
+ # that if you must retry your request, the server will know to ignore the
19333
+ # request if it has already been completed.
19334
+ # For example, consider a situation where you make an initial request and the
19335
+ # request times out. If you make the request again with the same request ID, the
19336
+ # server can check if original operation with the same request ID was received,
19337
+ # and if so, will ignore the second request. This prevents clients from
19338
+ # accidentally creating duplicate commitments.
19339
+ # The request ID must be a valid UUID with the exception that zero UUID is not
19340
+ # supported (00000000-0000-0000-0000-000000000000).
19341
+ # @param [String] fields
19342
+ # Selector specifying which fields to include in a partial response.
19343
+ # @param [String] quota_user
19344
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
19345
+ # characters.
19346
+ # @param [String] user_ip
19347
+ # Deprecated. Please use quotaUser instead.
19348
+ # @param [Google::Apis::RequestOptions] options
19349
+ # Request-specific options
19350
+ #
19351
+ # @yield [result, err] Result & error if block supplied
19352
+ # @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
19353
+ # @yieldparam err [StandardError] error object if request failed
19354
+ #
19355
+ # @return [Google::Apis::ComputeAlpha::Operation]
19356
+ #
19357
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
19358
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
19359
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
19360
+ def delete_region_ssl_certificate(project, region, ssl_certificate, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
19361
+ command = make_simple_command(:delete, '{project}/regions/{region}/sslCertificates/{sslCertificate}', options)
19362
+ command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
19363
+ command.response_class = Google::Apis::ComputeAlpha::Operation
19364
+ command.params['project'] = project unless project.nil?
19365
+ command.params['region'] = region unless region.nil?
19366
+ command.params['sslCertificate'] = ssl_certificate unless ssl_certificate.nil?
19367
+ command.query['requestId'] = request_id unless request_id.nil?
19368
+ command.query['fields'] = fields unless fields.nil?
19369
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
19370
+ command.query['userIp'] = user_ip unless user_ip.nil?
19371
+ execute_or_queue_command(command, &block)
19372
+ end
19373
+
19374
+ # Returns the specified SslCertificate resource in the specified region. Get a
19375
+ # list of available SSL certificates by making a list() request.
19376
+ # @param [String] project
19377
+ # Project ID for this request.
19378
+ # @param [String] region
19379
+ # Name of the region scoping this request.
19380
+ # @param [String] ssl_certificate
19381
+ # Name of the SslCertificate resource to return.
19382
+ # @param [String] fields
19383
+ # Selector specifying which fields to include in a partial response.
19384
+ # @param [String] quota_user
19385
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
19386
+ # characters.
19387
+ # @param [String] user_ip
19388
+ # Deprecated. Please use quotaUser instead.
19389
+ # @param [Google::Apis::RequestOptions] options
19390
+ # Request-specific options
19391
+ #
19392
+ # @yield [result, err] Result & error if block supplied
19393
+ # @yieldparam result [Google::Apis::ComputeAlpha::SslCertificate] parsed result object
19394
+ # @yieldparam err [StandardError] error object if request failed
19395
+ #
19396
+ # @return [Google::Apis::ComputeAlpha::SslCertificate]
19397
+ #
19398
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
19399
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
19400
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
19401
+ def get_region_ssl_certificate(project, region, ssl_certificate, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
19402
+ command = make_simple_command(:get, '{project}/regions/{region}/sslCertificates/{sslCertificate}', options)
19403
+ command.response_representation = Google::Apis::ComputeAlpha::SslCertificate::Representation
19404
+ command.response_class = Google::Apis::ComputeAlpha::SslCertificate
19405
+ command.params['project'] = project unless project.nil?
19406
+ command.params['region'] = region unless region.nil?
19407
+ command.params['sslCertificate'] = ssl_certificate unless ssl_certificate.nil?
19408
+ command.query['fields'] = fields unless fields.nil?
19409
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
19410
+ command.query['userIp'] = user_ip unless user_ip.nil?
19411
+ execute_or_queue_command(command, &block)
19412
+ end
19413
+
19414
+ # Creates a SslCertificate resource in the specified project and region using
19415
+ # the data included in the request
19416
+ # @param [String] project
19417
+ # Project ID for this request.
19418
+ # @param [String] region
19419
+ # Name of the region scoping this request.
19420
+ # @param [Google::Apis::ComputeAlpha::SslCertificate] ssl_certificate_object
19421
+ # @param [String] request_id
19422
+ # An optional request ID to identify requests. Specify a unique request ID so
19423
+ # that if you must retry your request, the server will know to ignore the
19424
+ # request if it has already been completed.
19425
+ # For example, consider a situation where you make an initial request and the
19426
+ # request times out. If you make the request again with the same request ID, the
19427
+ # server can check if original operation with the same request ID was received,
19428
+ # and if so, will ignore the second request. This prevents clients from
19429
+ # accidentally creating duplicate commitments.
19430
+ # The request ID must be a valid UUID with the exception that zero UUID is not
19431
+ # supported (00000000-0000-0000-0000-000000000000).
19432
+ # @param [String] fields
19433
+ # Selector specifying which fields to include in a partial response.
19434
+ # @param [String] quota_user
19435
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
19436
+ # characters.
19437
+ # @param [String] user_ip
19438
+ # Deprecated. Please use quotaUser instead.
19439
+ # @param [Google::Apis::RequestOptions] options
19440
+ # Request-specific options
19441
+ #
19442
+ # @yield [result, err] Result & error if block supplied
19443
+ # @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
19444
+ # @yieldparam err [StandardError] error object if request failed
19445
+ #
19446
+ # @return [Google::Apis::ComputeAlpha::Operation]
19447
+ #
19448
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
19449
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
19450
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
19451
+ def insert_region_ssl_certificate(project, region, ssl_certificate_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
19452
+ command = make_simple_command(:post, '{project}/regions/{region}/sslCertificates', options)
19453
+ command.request_representation = Google::Apis::ComputeAlpha::SslCertificate::Representation
19454
+ command.request_object = ssl_certificate_object
19455
+ command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
19456
+ command.response_class = Google::Apis::ComputeAlpha::Operation
19457
+ command.params['project'] = project unless project.nil?
19458
+ command.params['region'] = region unless region.nil?
19459
+ command.query['requestId'] = request_id unless request_id.nil?
19460
+ command.query['fields'] = fields unless fields.nil?
19461
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
19462
+ command.query['userIp'] = user_ip unless user_ip.nil?
19463
+ execute_or_queue_command(command, &block)
19464
+ end
19465
+
19466
+ # Retrieves the list of SslCertificate resources available to the specified
19467
+ # project in the specified region.
19468
+ # @param [String] project
19469
+ # Project ID for this request.
19470
+ # @param [String] region
19471
+ # Name of the region scoping this request.
19472
+ # @param [String] filter
19473
+ # A filter expression that filters resources listed in the response. The
19474
+ # expression must specify the field name, a comparison operator, and the value
19475
+ # that you want to use for filtering. The value must be a string, a number, or a
19476
+ # boolean. The comparison operator must be either =, !=, >, or <.
19477
+ # For example, if you are filtering Compute Engine instances, you can exclude
19478
+ # instances named example-instance by specifying name != example-instance.
19479
+ # You can also filter nested fields. For example, you could specify scheduling.
19480
+ # automaticRestart = false to include instances only if they are not scheduled
19481
+ # for automatic restarts. You can use filtering on nested fields to filter based
19482
+ # on resource labels.
19483
+ # To filter on multiple expressions, provide each separate expression within
19484
+ # parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = "
19485
+ # Intel Skylake"). By default, each expression is an AND expression. However,
19486
+ # you can include AND and OR expressions explicitly. For example, (cpuPlatform =
19487
+ # "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.
19488
+ # automaticRestart = true).
19489
+ # @param [Fixnum] max_results
19490
+ # The maximum number of results per page that should be returned. If the number
19491
+ # of available results is larger than maxResults, Compute Engine returns a
19492
+ # nextPageToken that can be used to get the next page of results in subsequent
19493
+ # list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
19494
+ # @param [String] order_by
19495
+ # Sorts list results by a certain order. By default, results are returned in
19496
+ # alphanumerical order based on the resource name.
19497
+ # You can also sort results in descending order based on the creation timestamp
19498
+ # using orderBy="creationTimestamp desc". This sorts results based on the
19499
+ # creationTimestamp field in reverse chronological order (newest result first).
19500
+ # Use this to sort resources like operations so that the newest operation is
19501
+ # returned first.
19502
+ # Currently, only sorting by name or creationTimestamp desc is supported.
19503
+ # @param [String] page_token
19504
+ # Specifies a page token to use. Set pageToken to the nextPageToken returned by
19505
+ # a previous list request to get the next page of results.
19506
+ # @param [String] fields
19507
+ # Selector specifying which fields to include in a partial response.
19508
+ # @param [String] quota_user
19509
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
19510
+ # characters.
19511
+ # @param [String] user_ip
19512
+ # Deprecated. Please use quotaUser instead.
19513
+ # @param [Google::Apis::RequestOptions] options
19514
+ # Request-specific options
19515
+ #
19516
+ # @yield [result, err] Result & error if block supplied
19517
+ # @yieldparam result [Google::Apis::ComputeAlpha::SslCertificateList] parsed result object
19518
+ # @yieldparam err [StandardError] error object if request failed
19519
+ #
19520
+ # @return [Google::Apis::ComputeAlpha::SslCertificateList]
19521
+ #
19522
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
19523
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
19524
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
19525
+ def list_region_ssl_certificates(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
19526
+ command = make_simple_command(:get, '{project}/regions/{region}/sslCertificates', options)
19527
+ command.response_representation = Google::Apis::ComputeAlpha::SslCertificateList::Representation
19528
+ command.response_class = Google::Apis::ComputeAlpha::SslCertificateList
19529
+ command.params['project'] = project unless project.nil?
19530
+ command.params['region'] = region unless region.nil?
19531
+ command.query['filter'] = filter unless filter.nil?
19532
+ command.query['maxResults'] = max_results unless max_results.nil?
19533
+ command.query['orderBy'] = order_by unless order_by.nil?
19534
+ command.query['pageToken'] = page_token unless page_token.nil?
19535
+ command.query['fields'] = fields unless fields.nil?
19536
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
19537
+ command.query['userIp'] = user_ip unless user_ip.nil?
19538
+ execute_or_queue_command(command, &block)
19539
+ end
19540
+
19541
+ # Returns permissions that a caller has on the specified resource and region.
19542
+ # @param [String] project
19543
+ # Project ID for this request.
19544
+ # @param [String] region
19545
+ # The name of the region for this request.
19546
+ # @param [String] resource
19547
+ # Name of the resource for this request.
19548
+ # @param [Google::Apis::ComputeAlpha::TestPermissionsRequest] test_permissions_request_object
19549
+ # @param [String] fields
19550
+ # Selector specifying which fields to include in a partial response.
19551
+ # @param [String] quota_user
19552
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
19553
+ # characters.
19554
+ # @param [String] user_ip
19555
+ # Deprecated. Please use quotaUser instead.
19556
+ # @param [Google::Apis::RequestOptions] options
19557
+ # Request-specific options
19558
+ #
19559
+ # @yield [result, err] Result & error if block supplied
19560
+ # @yieldparam result [Google::Apis::ComputeAlpha::TestPermissionsResponse] parsed result object
19561
+ # @yieldparam err [StandardError] error object if request failed
19562
+ #
19563
+ # @return [Google::Apis::ComputeAlpha::TestPermissionsResponse]
19564
+ #
19565
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
19566
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
19567
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
19568
+ def test_region_ssl_certificate_iam_permissions(project, region, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
19569
+ command = make_simple_command(:post, '{project}/regions/{region}/sslCertificates/{resource}/testIamPermissions', options)
19570
+ command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation
19571
+ command.request_object = test_permissions_request_object
19572
+ command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation
19573
+ command.response_class = Google::Apis::ComputeAlpha::TestPermissionsResponse
19574
+ command.params['project'] = project unless project.nil?
19575
+ command.params['region'] = region unless region.nil?
19576
+ command.params['resource'] = resource unless resource.nil?
19577
+ command.query['fields'] = fields unless fields.nil?
19578
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
19579
+ command.query['userIp'] = user_ip unless user_ip.nil?
19580
+ execute_or_queue_command(command, &block)
19581
+ end
19582
+
19323
19583
  # Deletes the specified TargetHttpProxy resource.
19324
19584
  # @param [String] project
19325
19585
  # Project ID for this request.
@@ -19514,37 +19774,405 @@ module Google
19514
19774
  # Request-specific options
19515
19775
  #
19516
19776
  # @yield [result, err] Result & error if block supplied
19517
- # @yieldparam result [Google::Apis::ComputeAlpha::TargetHttpProxyList] parsed result object
19777
+ # @yieldparam result [Google::Apis::ComputeAlpha::TargetHttpProxyList] parsed result object
19778
+ # @yieldparam err [StandardError] error object if request failed
19779
+ #
19780
+ # @return [Google::Apis::ComputeAlpha::TargetHttpProxyList]
19781
+ #
19782
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
19783
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
19784
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
19785
+ def list_region_target_http_proxies(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
19786
+ command = make_simple_command(:get, '{project}/regions/{region}/targetHttpProxies', options)
19787
+ command.response_representation = Google::Apis::ComputeAlpha::TargetHttpProxyList::Representation
19788
+ command.response_class = Google::Apis::ComputeAlpha::TargetHttpProxyList
19789
+ command.params['project'] = project unless project.nil?
19790
+ command.params['region'] = region unless region.nil?
19791
+ command.query['filter'] = filter unless filter.nil?
19792
+ command.query['maxResults'] = max_results unless max_results.nil?
19793
+ command.query['orderBy'] = order_by unless order_by.nil?
19794
+ command.query['pageToken'] = page_token unless page_token.nil?
19795
+ command.query['fields'] = fields unless fields.nil?
19796
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
19797
+ command.query['userIp'] = user_ip unless user_ip.nil?
19798
+ execute_or_queue_command(command, &block)
19799
+ end
19800
+
19801
+ # Changes the URL map for TargetHttpProxy.
19802
+ # @param [String] project
19803
+ # Project ID for this request.
19804
+ # @param [String] region
19805
+ # Name of the region scoping this request.
19806
+ # @param [String] target_http_proxy
19807
+ # Name of the TargetHttpProxy to set a URL map for.
19808
+ # @param [Google::Apis::ComputeAlpha::UrlMapReference] url_map_reference_object
19809
+ # @param [String] request_id
19810
+ # An optional request ID to identify requests. Specify a unique request ID so
19811
+ # that if you must retry your request, the server will know to ignore the
19812
+ # request if it has already been completed.
19813
+ # For example, consider a situation where you make an initial request and the
19814
+ # request times out. If you make the request again with the same request ID, the
19815
+ # server can check if original operation with the same request ID was received,
19816
+ # and if so, will ignore the second request. This prevents clients from
19817
+ # accidentally creating duplicate commitments.
19818
+ # The request ID must be a valid UUID with the exception that zero UUID is not
19819
+ # supported (00000000-0000-0000-0000-000000000000).
19820
+ # @param [String] fields
19821
+ # Selector specifying which fields to include in a partial response.
19822
+ # @param [String] quota_user
19823
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
19824
+ # characters.
19825
+ # @param [String] user_ip
19826
+ # Deprecated. Please use quotaUser instead.
19827
+ # @param [Google::Apis::RequestOptions] options
19828
+ # Request-specific options
19829
+ #
19830
+ # @yield [result, err] Result & error if block supplied
19831
+ # @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
19832
+ # @yieldparam err [StandardError] error object if request failed
19833
+ #
19834
+ # @return [Google::Apis::ComputeAlpha::Operation]
19835
+ #
19836
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
19837
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
19838
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
19839
+ def set_region_target_http_proxy_url_map(project, region, target_http_proxy, url_map_reference_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
19840
+ command = make_simple_command(:post, '{project}/regions/{region}/targetHttpProxies/{targetHttpProxy}/setUrlMap', options)
19841
+ command.request_representation = Google::Apis::ComputeAlpha::UrlMapReference::Representation
19842
+ command.request_object = url_map_reference_object
19843
+ command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
19844
+ command.response_class = Google::Apis::ComputeAlpha::Operation
19845
+ command.params['project'] = project unless project.nil?
19846
+ command.params['region'] = region unless region.nil?
19847
+ command.params['targetHttpProxy'] = target_http_proxy unless target_http_proxy.nil?
19848
+ command.query['requestId'] = request_id unless request_id.nil?
19849
+ command.query['fields'] = fields unless fields.nil?
19850
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
19851
+ command.query['userIp'] = user_ip unless user_ip.nil?
19852
+ execute_or_queue_command(command, &block)
19853
+ end
19854
+
19855
+ # Returns permissions that a caller has on the specified resource.
19856
+ # @param [String] project
19857
+ # Project ID for this request.
19858
+ # @param [String] region
19859
+ # The name of the region for this request.
19860
+ # @param [String] resource
19861
+ # Name of the resource for this request.
19862
+ # @param [Google::Apis::ComputeAlpha::TestPermissionsRequest] test_permissions_request_object
19863
+ # @param [String] fields
19864
+ # Selector specifying which fields to include in a partial response.
19865
+ # @param [String] quota_user
19866
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
19867
+ # characters.
19868
+ # @param [String] user_ip
19869
+ # Deprecated. Please use quotaUser instead.
19870
+ # @param [Google::Apis::RequestOptions] options
19871
+ # Request-specific options
19872
+ #
19873
+ # @yield [result, err] Result & error if block supplied
19874
+ # @yieldparam result [Google::Apis::ComputeAlpha::TestPermissionsResponse] parsed result object
19875
+ # @yieldparam err [StandardError] error object if request failed
19876
+ #
19877
+ # @return [Google::Apis::ComputeAlpha::TestPermissionsResponse]
19878
+ #
19879
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
19880
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
19881
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
19882
+ def test_region_target_http_proxy_iam_permissions(project, region, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
19883
+ command = make_simple_command(:post, '{project}/regions/{region}/targetHttpProxies/{resource}/testIamPermissions', options)
19884
+ command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation
19885
+ command.request_object = test_permissions_request_object
19886
+ command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation
19887
+ command.response_class = Google::Apis::ComputeAlpha::TestPermissionsResponse
19888
+ command.params['project'] = project unless project.nil?
19889
+ command.params['region'] = region unless region.nil?
19890
+ command.params['resource'] = resource unless resource.nil?
19891
+ command.query['fields'] = fields unless fields.nil?
19892
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
19893
+ command.query['userIp'] = user_ip unless user_ip.nil?
19894
+ execute_or_queue_command(command, &block)
19895
+ end
19896
+
19897
+ # Deletes the specified TargetHttpsProxy resource.
19898
+ # @param [String] project
19899
+ # Project ID for this request.
19900
+ # @param [String] region
19901
+ # Name of the region scoping this request.
19902
+ # @param [String] target_https_proxy
19903
+ # Name of the TargetHttpsProxy resource to delete.
19904
+ # @param [String] request_id
19905
+ # An optional request ID to identify requests. Specify a unique request ID so
19906
+ # that if you must retry your request, the server will know to ignore the
19907
+ # request if it has already been completed.
19908
+ # For example, consider a situation where you make an initial request and the
19909
+ # request times out. If you make the request again with the same request ID, the
19910
+ # server can check if original operation with the same request ID was received,
19911
+ # and if so, will ignore the second request. This prevents clients from
19912
+ # accidentally creating duplicate commitments.
19913
+ # The request ID must be a valid UUID with the exception that zero UUID is not
19914
+ # supported (00000000-0000-0000-0000-000000000000).
19915
+ # @param [String] fields
19916
+ # Selector specifying which fields to include in a partial response.
19917
+ # @param [String] quota_user
19918
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
19919
+ # characters.
19920
+ # @param [String] user_ip
19921
+ # Deprecated. Please use quotaUser instead.
19922
+ # @param [Google::Apis::RequestOptions] options
19923
+ # Request-specific options
19924
+ #
19925
+ # @yield [result, err] Result & error if block supplied
19926
+ # @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
19927
+ # @yieldparam err [StandardError] error object if request failed
19928
+ #
19929
+ # @return [Google::Apis::ComputeAlpha::Operation]
19930
+ #
19931
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
19932
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
19933
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
19934
+ def delete_region_target_https_proxy(project, region, target_https_proxy, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
19935
+ command = make_simple_command(:delete, '{project}/regions/{region}/targetHttpsProxies/{targetHttpsProxy}', options)
19936
+ command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
19937
+ command.response_class = Google::Apis::ComputeAlpha::Operation
19938
+ command.params['project'] = project unless project.nil?
19939
+ command.params['region'] = region unless region.nil?
19940
+ command.params['targetHttpsProxy'] = target_https_proxy unless target_https_proxy.nil?
19941
+ command.query['requestId'] = request_id unless request_id.nil?
19942
+ command.query['fields'] = fields unless fields.nil?
19943
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
19944
+ command.query['userIp'] = user_ip unless user_ip.nil?
19945
+ execute_or_queue_command(command, &block)
19946
+ end
19947
+
19948
+ # Returns the specified TargetHttpsProxy resource in the specified region. Gets
19949
+ # a list of available target HTTP proxies by making a list() request.
19950
+ # @param [String] project
19951
+ # Project ID for this request.
19952
+ # @param [String] region
19953
+ # Name of the region scoping this request.
19954
+ # @param [String] target_https_proxy
19955
+ # Name of the TargetHttpsProxy resource to return.
19956
+ # @param [String] fields
19957
+ # Selector specifying which fields to include in a partial response.
19958
+ # @param [String] quota_user
19959
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
19960
+ # characters.
19961
+ # @param [String] user_ip
19962
+ # Deprecated. Please use quotaUser instead.
19963
+ # @param [Google::Apis::RequestOptions] options
19964
+ # Request-specific options
19965
+ #
19966
+ # @yield [result, err] Result & error if block supplied
19967
+ # @yieldparam result [Google::Apis::ComputeAlpha::TargetHttpsProxy] parsed result object
19968
+ # @yieldparam err [StandardError] error object if request failed
19969
+ #
19970
+ # @return [Google::Apis::ComputeAlpha::TargetHttpsProxy]
19971
+ #
19972
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
19973
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
19974
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
19975
+ def get_region_target_https_proxy(project, region, target_https_proxy, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
19976
+ command = make_simple_command(:get, '{project}/regions/{region}/targetHttpsProxies/{targetHttpsProxy}', options)
19977
+ command.response_representation = Google::Apis::ComputeAlpha::TargetHttpsProxy::Representation
19978
+ command.response_class = Google::Apis::ComputeAlpha::TargetHttpsProxy
19979
+ command.params['project'] = project unless project.nil?
19980
+ command.params['region'] = region unless region.nil?
19981
+ command.params['targetHttpsProxy'] = target_https_proxy unless target_https_proxy.nil?
19982
+ command.query['fields'] = fields unless fields.nil?
19983
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
19984
+ command.query['userIp'] = user_ip unless user_ip.nil?
19985
+ execute_or_queue_command(command, &block)
19986
+ end
19987
+
19988
+ # Creates a TargetHttpsProxy resource in the specified project and region using
19989
+ # the data included in the request.
19990
+ # @param [String] project
19991
+ # Project ID for this request.
19992
+ # @param [String] region
19993
+ # Name of the region scoping this request.
19994
+ # @param [Google::Apis::ComputeAlpha::TargetHttpsProxy] target_https_proxy_object
19995
+ # @param [String] request_id
19996
+ # An optional request ID to identify requests. Specify a unique request ID so
19997
+ # that if you must retry your request, the server will know to ignore the
19998
+ # request if it has already been completed.
19999
+ # For example, consider a situation where you make an initial request and the
20000
+ # request times out. If you make the request again with the same request ID, the
20001
+ # server can check if original operation with the same request ID was received,
20002
+ # and if so, will ignore the second request. This prevents clients from
20003
+ # accidentally creating duplicate commitments.
20004
+ # The request ID must be a valid UUID with the exception that zero UUID is not
20005
+ # supported (00000000-0000-0000-0000-000000000000).
20006
+ # @param [String] fields
20007
+ # Selector specifying which fields to include in a partial response.
20008
+ # @param [String] quota_user
20009
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
20010
+ # characters.
20011
+ # @param [String] user_ip
20012
+ # Deprecated. Please use quotaUser instead.
20013
+ # @param [Google::Apis::RequestOptions] options
20014
+ # Request-specific options
20015
+ #
20016
+ # @yield [result, err] Result & error if block supplied
20017
+ # @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
20018
+ # @yieldparam err [StandardError] error object if request failed
20019
+ #
20020
+ # @return [Google::Apis::ComputeAlpha::Operation]
20021
+ #
20022
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
20023
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
20024
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
20025
+ def insert_region_target_https_proxy(project, region, target_https_proxy_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
20026
+ command = make_simple_command(:post, '{project}/regions/{region}/targetHttpsProxies', options)
20027
+ command.request_representation = Google::Apis::ComputeAlpha::TargetHttpsProxy::Representation
20028
+ command.request_object = target_https_proxy_object
20029
+ command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
20030
+ command.response_class = Google::Apis::ComputeAlpha::Operation
20031
+ command.params['project'] = project unless project.nil?
20032
+ command.params['region'] = region unless region.nil?
20033
+ command.query['requestId'] = request_id unless request_id.nil?
20034
+ command.query['fields'] = fields unless fields.nil?
20035
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
20036
+ command.query['userIp'] = user_ip unless user_ip.nil?
20037
+ execute_or_queue_command(command, &block)
20038
+ end
20039
+
20040
+ # Retrieves the list of TargetHttpsProxy resources available to the specified
20041
+ # project in the specified region.
20042
+ # @param [String] project
20043
+ # Project ID for this request.
20044
+ # @param [String] region
20045
+ # Name of the region scoping this request.
20046
+ # @param [String] filter
20047
+ # A filter expression that filters resources listed in the response. The
20048
+ # expression must specify the field name, a comparison operator, and the value
20049
+ # that you want to use for filtering. The value must be a string, a number, or a
20050
+ # boolean. The comparison operator must be either =, !=, >, or <.
20051
+ # For example, if you are filtering Compute Engine instances, you can exclude
20052
+ # instances named example-instance by specifying name != example-instance.
20053
+ # You can also filter nested fields. For example, you could specify scheduling.
20054
+ # automaticRestart = false to include instances only if they are not scheduled
20055
+ # for automatic restarts. You can use filtering on nested fields to filter based
20056
+ # on resource labels.
20057
+ # To filter on multiple expressions, provide each separate expression within
20058
+ # parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = "
20059
+ # Intel Skylake"). By default, each expression is an AND expression. However,
20060
+ # you can include AND and OR expressions explicitly. For example, (cpuPlatform =
20061
+ # "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.
20062
+ # automaticRestart = true).
20063
+ # @param [Fixnum] max_results
20064
+ # The maximum number of results per page that should be returned. If the number
20065
+ # of available results is larger than maxResults, Compute Engine returns a
20066
+ # nextPageToken that can be used to get the next page of results in subsequent
20067
+ # list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
20068
+ # @param [String] order_by
20069
+ # Sorts list results by a certain order. By default, results are returned in
20070
+ # alphanumerical order based on the resource name.
20071
+ # You can also sort results in descending order based on the creation timestamp
20072
+ # using orderBy="creationTimestamp desc". This sorts results based on the
20073
+ # creationTimestamp field in reverse chronological order (newest result first).
20074
+ # Use this to sort resources like operations so that the newest operation is
20075
+ # returned first.
20076
+ # Currently, only sorting by name or creationTimestamp desc is supported.
20077
+ # @param [String] page_token
20078
+ # Specifies a page token to use. Set pageToken to the nextPageToken returned by
20079
+ # a previous list request to get the next page of results.
20080
+ # @param [String] fields
20081
+ # Selector specifying which fields to include in a partial response.
20082
+ # @param [String] quota_user
20083
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
20084
+ # characters.
20085
+ # @param [String] user_ip
20086
+ # Deprecated. Please use quotaUser instead.
20087
+ # @param [Google::Apis::RequestOptions] options
20088
+ # Request-specific options
20089
+ #
20090
+ # @yield [result, err] Result & error if block supplied
20091
+ # @yieldparam result [Google::Apis::ComputeAlpha::TargetHttpsProxyList] parsed result object
20092
+ # @yieldparam err [StandardError] error object if request failed
20093
+ #
20094
+ # @return [Google::Apis::ComputeAlpha::TargetHttpsProxyList]
20095
+ #
20096
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
20097
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
20098
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
20099
+ def list_region_target_https_proxies(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
20100
+ command = make_simple_command(:get, '{project}/regions/{region}/targetHttpsProxies', options)
20101
+ command.response_representation = Google::Apis::ComputeAlpha::TargetHttpsProxyList::Representation
20102
+ command.response_class = Google::Apis::ComputeAlpha::TargetHttpsProxyList
20103
+ command.params['project'] = project unless project.nil?
20104
+ command.params['region'] = region unless region.nil?
20105
+ command.query['filter'] = filter unless filter.nil?
20106
+ command.query['maxResults'] = max_results unless max_results.nil?
20107
+ command.query['orderBy'] = order_by unless order_by.nil?
20108
+ command.query['pageToken'] = page_token unless page_token.nil?
20109
+ command.query['fields'] = fields unless fields.nil?
20110
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
20111
+ command.query['userIp'] = user_ip unless user_ip.nil?
20112
+ execute_or_queue_command(command, &block)
20113
+ end
20114
+
20115
+ # Replaces SslCertificates for TargetHttpsProxy.
20116
+ # @param [String] project
20117
+ # Project ID for this request.
20118
+ # @param [String] region
20119
+ # Name of the region scoping this request.
20120
+ # @param [String] target_https_proxy
20121
+ # Name of the TargetHttpsProxy resource to set an SslCertificates resource for.
20122
+ # @param [Google::Apis::ComputeAlpha::RegionTargetHttpsProxiesSetSslCertificatesRequest] region_target_https_proxies_set_ssl_certificates_request_object
20123
+ # @param [String] request_id
20124
+ # An optional request ID to identify requests. Specify a unique request ID so
20125
+ # that if you must retry your request, the server will know to ignore the
20126
+ # request if it has already been completed.
20127
+ # For example, consider a situation where you make an initial request and the
20128
+ # request times out. If you make the request again with the same request ID, the
20129
+ # server can check if original operation with the same request ID was received,
20130
+ # and if so, will ignore the second request. This prevents clients from
20131
+ # accidentally creating duplicate commitments.
20132
+ # The request ID must be a valid UUID with the exception that zero UUID is not
20133
+ # supported (00000000-0000-0000-0000-000000000000).
20134
+ # @param [String] fields
20135
+ # Selector specifying which fields to include in a partial response.
20136
+ # @param [String] quota_user
20137
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
20138
+ # characters.
20139
+ # @param [String] user_ip
20140
+ # Deprecated. Please use quotaUser instead.
20141
+ # @param [Google::Apis::RequestOptions] options
20142
+ # Request-specific options
20143
+ #
20144
+ # @yield [result, err] Result & error if block supplied
20145
+ # @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
19518
20146
  # @yieldparam err [StandardError] error object if request failed
19519
20147
  #
19520
- # @return [Google::Apis::ComputeAlpha::TargetHttpProxyList]
20148
+ # @return [Google::Apis::ComputeAlpha::Operation]
19521
20149
  #
19522
20150
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
19523
20151
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
19524
20152
  # @raise [Google::Apis::AuthorizationError] Authorization is required
19525
- def list_region_target_http_proxies(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
19526
- command = make_simple_command(:get, '{project}/regions/{region}/targetHttpProxies', options)
19527
- command.response_representation = Google::Apis::ComputeAlpha::TargetHttpProxyList::Representation
19528
- command.response_class = Google::Apis::ComputeAlpha::TargetHttpProxyList
20153
+ def set_region_target_https_proxy_ssl_certificates(project, region, target_https_proxy, region_target_https_proxies_set_ssl_certificates_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
20154
+ command = make_simple_command(:post, '{project}/regions/{region}/targetHttpsProxies/{targetHttpsProxy}/setSslCertificates', options)
20155
+ command.request_representation = Google::Apis::ComputeAlpha::RegionTargetHttpsProxiesSetSslCertificatesRequest::Representation
20156
+ command.request_object = region_target_https_proxies_set_ssl_certificates_request_object
20157
+ command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
20158
+ command.response_class = Google::Apis::ComputeAlpha::Operation
19529
20159
  command.params['project'] = project unless project.nil?
19530
20160
  command.params['region'] = region unless region.nil?
19531
- command.query['filter'] = filter unless filter.nil?
19532
- command.query['maxResults'] = max_results unless max_results.nil?
19533
- command.query['orderBy'] = order_by unless order_by.nil?
19534
- command.query['pageToken'] = page_token unless page_token.nil?
20161
+ command.params['targetHttpsProxy'] = target_https_proxy unless target_https_proxy.nil?
20162
+ command.query['requestId'] = request_id unless request_id.nil?
19535
20163
  command.query['fields'] = fields unless fields.nil?
19536
20164
  command.query['quotaUser'] = quota_user unless quota_user.nil?
19537
20165
  command.query['userIp'] = user_ip unless user_ip.nil?
19538
20166
  execute_or_queue_command(command, &block)
19539
20167
  end
19540
20168
 
19541
- # Changes the URL map for TargetHttpProxy.
20169
+ # Changes the URL map for TargetHttpsProxy.
19542
20170
  # @param [String] project
19543
20171
  # Project ID for this request.
19544
20172
  # @param [String] region
19545
20173
  # Name of the region scoping this request.
19546
- # @param [String] target_http_proxy
19547
- # Name of the TargetHttpProxy to set a URL map for.
20174
+ # @param [String] target_https_proxy
20175
+ # Name of the TargetHttpsProxy to set a URL map for.
19548
20176
  # @param [Google::Apis::ComputeAlpha::UrlMapReference] url_map_reference_object
19549
20177
  # @param [String] request_id
19550
20178
  # An optional request ID to identify requests. Specify a unique request ID so
@@ -19576,15 +20204,15 @@ module Google
19576
20204
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
19577
20205
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
19578
20206
  # @raise [Google::Apis::AuthorizationError] Authorization is required
19579
- def set_region_target_http_proxy_url_map(project, region, target_http_proxy, url_map_reference_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
19580
- command = make_simple_command(:post, '{project}/regions/{region}/targetHttpProxies/{targetHttpProxy}/setUrlMap', options)
20207
+ def set_region_target_https_proxy_url_map(project, region, target_https_proxy, url_map_reference_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
20208
+ command = make_simple_command(:post, '{project}/regions/{region}/targetHttpsProxies/{targetHttpsProxy}/setUrlMap', options)
19581
20209
  command.request_representation = Google::Apis::ComputeAlpha::UrlMapReference::Representation
19582
20210
  command.request_object = url_map_reference_object
19583
20211
  command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
19584
20212
  command.response_class = Google::Apis::ComputeAlpha::Operation
19585
20213
  command.params['project'] = project unless project.nil?
19586
20214
  command.params['region'] = region unless region.nil?
19587
- command.params['targetHttpProxy'] = target_http_proxy unless target_http_proxy.nil?
20215
+ command.params['targetHttpsProxy'] = target_https_proxy unless target_https_proxy.nil?
19588
20216
  command.query['requestId'] = request_id unless request_id.nil?
19589
20217
  command.query['fields'] = fields unless fields.nil?
19590
20218
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -19619,8 +20247,8 @@ module Google
19619
20247
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
19620
20248
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
19621
20249
  # @raise [Google::Apis::AuthorizationError] Authorization is required
19622
- def test_region_target_http_proxy_iam_permissions(project, region, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
19623
- command = make_simple_command(:post, '{project}/regions/{region}/targetHttpProxies/{resource}/testIamPermissions', options)
20250
+ def test_region_target_https_proxy_iam_permissions(project, region, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
20251
+ command = make_simple_command(:post, '{project}/regions/{region}/targetHttpsProxies/{resource}/testIamPermissions', options)
19624
20252
  command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation
19625
20253
  command.request_object = test_permissions_request_object
19626
20254
  command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation
@@ -20693,6 +21321,84 @@ module Google
20693
21321
  execute_or_queue_command(command, &block)
20694
21322
  end
20695
21323
 
21324
+ # Retrieves runtime Nat mapping information of VM endpoints.
21325
+ # @param [String] project
21326
+ # Project ID for this request.
21327
+ # @param [String] region
21328
+ # Name of the region for this request.
21329
+ # @param [String] router
21330
+ # Name of the Router resource to query for Nat Mapping information of VM
21331
+ # endpoints.
21332
+ # @param [String] filter
21333
+ # A filter expression that filters resources listed in the response. The
21334
+ # expression must specify the field name, a comparison operator, and the value
21335
+ # that you want to use for filtering. The value must be a string, a number, or a
21336
+ # boolean. The comparison operator must be either =, !=, >, or <.
21337
+ # For example, if you are filtering Compute Engine instances, you can exclude
21338
+ # instances named example-instance by specifying name != example-instance.
21339
+ # You can also filter nested fields. For example, you could specify scheduling.
21340
+ # automaticRestart = false to include instances only if they are not scheduled
21341
+ # for automatic restarts. You can use filtering on nested fields to filter based
21342
+ # on resource labels.
21343
+ # To filter on multiple expressions, provide each separate expression within
21344
+ # parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = "
21345
+ # Intel Skylake"). By default, each expression is an AND expression. However,
21346
+ # you can include AND and OR expressions explicitly. For example, (cpuPlatform =
21347
+ # "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.
21348
+ # automaticRestart = true).
21349
+ # @param [Fixnum] max_results
21350
+ # The maximum number of results per page that should be returned. If the number
21351
+ # of available results is larger than maxResults, Compute Engine returns a
21352
+ # nextPageToken that can be used to get the next page of results in subsequent
21353
+ # list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
21354
+ # @param [String] order_by
21355
+ # Sorts list results by a certain order. By default, results are returned in
21356
+ # alphanumerical order based on the resource name.
21357
+ # You can also sort results in descending order based on the creation timestamp
21358
+ # using orderBy="creationTimestamp desc". This sorts results based on the
21359
+ # creationTimestamp field in reverse chronological order (newest result first).
21360
+ # Use this to sort resources like operations so that the newest operation is
21361
+ # returned first.
21362
+ # Currently, only sorting by name or creationTimestamp desc is supported.
21363
+ # @param [String] page_token
21364
+ # Specifies a page token to use. Set pageToken to the nextPageToken returned by
21365
+ # a previous list request to get the next page of results.
21366
+ # @param [String] fields
21367
+ # Selector specifying which fields to include in a partial response.
21368
+ # @param [String] quota_user
21369
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
21370
+ # characters.
21371
+ # @param [String] user_ip
21372
+ # Deprecated. Please use quotaUser instead.
21373
+ # @param [Google::Apis::RequestOptions] options
21374
+ # Request-specific options
21375
+ #
21376
+ # @yield [result, err] Result & error if block supplied
21377
+ # @yieldparam result [Google::Apis::ComputeAlpha::VmEndpointNatMappingsList] parsed result object
21378
+ # @yieldparam err [StandardError] error object if request failed
21379
+ #
21380
+ # @return [Google::Apis::ComputeAlpha::VmEndpointNatMappingsList]
21381
+ #
21382
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
21383
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
21384
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
21385
+ def get_router_nat_mapping_info(project, region, router, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
21386
+ command = make_simple_command(:get, '{project}/regions/{region}/routers/{router}/getNatMappingInfo', options)
21387
+ command.response_representation = Google::Apis::ComputeAlpha::VmEndpointNatMappingsList::Representation
21388
+ command.response_class = Google::Apis::ComputeAlpha::VmEndpointNatMappingsList
21389
+ command.params['project'] = project unless project.nil?
21390
+ command.params['region'] = region unless region.nil?
21391
+ command.params['router'] = router unless router.nil?
21392
+ command.query['filter'] = filter unless filter.nil?
21393
+ command.query['maxResults'] = max_results unless max_results.nil?
21394
+ command.query['orderBy'] = order_by unless order_by.nil?
21395
+ command.query['pageToken'] = page_token unless page_token.nil?
21396
+ command.query['fields'] = fields unless fields.nil?
21397
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
21398
+ command.query['userIp'] = user_ip unless user_ip.nil?
21399
+ execute_or_queue_command(command, &block)
21400
+ end
21401
+
20696
21402
  # Retrieves runtime information of the specified router.
20697
21403
  # @param [String] project
20698
21404
  # Project ID for this request.
@@ -22188,6 +22894,78 @@ module Google
22188
22894
  execute_or_queue_command(command, &block)
22189
22895
  end
22190
22896
 
22897
+ # Retrieves the list of all SslCertificate resources, regional and global,
22898
+ # available to the specified project.
22899
+ # @param [String] project
22900
+ # Name of the project scoping this request.
22901
+ # @param [String] filter
22902
+ # A filter expression that filters resources listed in the response. The
22903
+ # expression must specify the field name, a comparison operator, and the value
22904
+ # that you want to use for filtering. The value must be a string, a number, or a
22905
+ # boolean. The comparison operator must be either =, !=, >, or <.
22906
+ # For example, if you are filtering Compute Engine instances, you can exclude
22907
+ # instances named example-instance by specifying name != example-instance.
22908
+ # You can also filter nested fields. For example, you could specify scheduling.
22909
+ # automaticRestart = false to include instances only if they are not scheduled
22910
+ # for automatic restarts. You can use filtering on nested fields to filter based
22911
+ # on resource labels.
22912
+ # To filter on multiple expressions, provide each separate expression within
22913
+ # parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = "
22914
+ # Intel Skylake"). By default, each expression is an AND expression. However,
22915
+ # you can include AND and OR expressions explicitly. For example, (cpuPlatform =
22916
+ # "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.
22917
+ # automaticRestart = true).
22918
+ # @param [Fixnum] max_results
22919
+ # The maximum number of results per page that should be returned. If the number
22920
+ # of available results is larger than maxResults, Compute Engine returns a
22921
+ # nextPageToken that can be used to get the next page of results in subsequent
22922
+ # list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
22923
+ # @param [String] order_by
22924
+ # Sorts list results by a certain order. By default, results are returned in
22925
+ # alphanumerical order based on the resource name.
22926
+ # You can also sort results in descending order based on the creation timestamp
22927
+ # using orderBy="creationTimestamp desc". This sorts results based on the
22928
+ # creationTimestamp field in reverse chronological order (newest result first).
22929
+ # Use this to sort resources like operations so that the newest operation is
22930
+ # returned first.
22931
+ # Currently, only sorting by name or creationTimestamp desc is supported.
22932
+ # @param [String] page_token
22933
+ # Specifies a page token to use. Set pageToken to the nextPageToken returned by
22934
+ # a previous list request to get the next page of results.
22935
+ # @param [String] fields
22936
+ # Selector specifying which fields to include in a partial response.
22937
+ # @param [String] quota_user
22938
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
22939
+ # characters.
22940
+ # @param [String] user_ip
22941
+ # Deprecated. Please use quotaUser instead.
22942
+ # @param [Google::Apis::RequestOptions] options
22943
+ # Request-specific options
22944
+ #
22945
+ # @yield [result, err] Result & error if block supplied
22946
+ # @yieldparam result [Google::Apis::ComputeAlpha::SslCertificateAggregatedList] parsed result object
22947
+ # @yieldparam err [StandardError] error object if request failed
22948
+ #
22949
+ # @return [Google::Apis::ComputeAlpha::SslCertificateAggregatedList]
22950
+ #
22951
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
22952
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
22953
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
22954
+ def aggregated_ssl_certificate_list(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
22955
+ command = make_simple_command(:get, '{project}/aggregated/sslCertificates', options)
22956
+ command.response_representation = Google::Apis::ComputeAlpha::SslCertificateAggregatedList::Representation
22957
+ command.response_class = Google::Apis::ComputeAlpha::SslCertificateAggregatedList
22958
+ command.params['project'] = project unless project.nil?
22959
+ command.query['filter'] = filter unless filter.nil?
22960
+ command.query['maxResults'] = max_results unless max_results.nil?
22961
+ command.query['orderBy'] = order_by unless order_by.nil?
22962
+ command.query['pageToken'] = page_token unless page_token.nil?
22963
+ command.query['fields'] = fields unless fields.nil?
22964
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
22965
+ command.query['userIp'] = user_ip unless user_ip.nil?
22966
+ execute_or_queue_command(command, &block)
22967
+ end
22968
+
22191
22969
  # Deletes the specified SslCertificate resource.
22192
22970
  # @param [String] project
22193
22971
  # Project ID for this request.
@@ -23822,6 +24600,78 @@ module Google
23822
24600
  execute_or_queue_command(command, &block)
23823
24601
  end
23824
24602
 
24603
+ # Retrieves the list of all TargetHttpsProxy resources, regional and global,
24604
+ # available to the specified project.
24605
+ # @param [String] project
24606
+ # Name of the project scoping this request.
24607
+ # @param [String] filter
24608
+ # A filter expression that filters resources listed in the response. The
24609
+ # expression must specify the field name, a comparison operator, and the value
24610
+ # that you want to use for filtering. The value must be a string, a number, or a
24611
+ # boolean. The comparison operator must be either =, !=, >, or <.
24612
+ # For example, if you are filtering Compute Engine instances, you can exclude
24613
+ # instances named example-instance by specifying name != example-instance.
24614
+ # You can also filter nested fields. For example, you could specify scheduling.
24615
+ # automaticRestart = false to include instances only if they are not scheduled
24616
+ # for automatic restarts. You can use filtering on nested fields to filter based
24617
+ # on resource labels.
24618
+ # To filter on multiple expressions, provide each separate expression within
24619
+ # parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = "
24620
+ # Intel Skylake"). By default, each expression is an AND expression. However,
24621
+ # you can include AND and OR expressions explicitly. For example, (cpuPlatform =
24622
+ # "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.
24623
+ # automaticRestart = true).
24624
+ # @param [Fixnum] max_results
24625
+ # The maximum number of results per page that should be returned. If the number
24626
+ # of available results is larger than maxResults, Compute Engine returns a
24627
+ # nextPageToken that can be used to get the next page of results in subsequent
24628
+ # list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
24629
+ # @param [String] order_by
24630
+ # Sorts list results by a certain order. By default, results are returned in
24631
+ # alphanumerical order based on the resource name.
24632
+ # You can also sort results in descending order based on the creation timestamp
24633
+ # using orderBy="creationTimestamp desc". This sorts results based on the
24634
+ # creationTimestamp field in reverse chronological order (newest result first).
24635
+ # Use this to sort resources like operations so that the newest operation is
24636
+ # returned first.
24637
+ # Currently, only sorting by name or creationTimestamp desc is supported.
24638
+ # @param [String] page_token
24639
+ # Specifies a page token to use. Set pageToken to the nextPageToken returned by
24640
+ # a previous list request to get the next page of results.
24641
+ # @param [String] fields
24642
+ # Selector specifying which fields to include in a partial response.
24643
+ # @param [String] quota_user
24644
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
24645
+ # characters.
24646
+ # @param [String] user_ip
24647
+ # Deprecated. Please use quotaUser instead.
24648
+ # @param [Google::Apis::RequestOptions] options
24649
+ # Request-specific options
24650
+ #
24651
+ # @yield [result, err] Result & error if block supplied
24652
+ # @yieldparam result [Google::Apis::ComputeAlpha::TargetHttpsProxyAggregatedList] parsed result object
24653
+ # @yieldparam err [StandardError] error object if request failed
24654
+ #
24655
+ # @return [Google::Apis::ComputeAlpha::TargetHttpsProxyAggregatedList]
24656
+ #
24657
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
24658
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
24659
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
24660
+ def aggregated_target_https_proxy_list(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
24661
+ command = make_simple_command(:get, '{project}/aggregated/targetHttpsProxies', options)
24662
+ command.response_representation = Google::Apis::ComputeAlpha::TargetHttpsProxyAggregatedList::Representation
24663
+ command.response_class = Google::Apis::ComputeAlpha::TargetHttpsProxyAggregatedList
24664
+ command.params['project'] = project unless project.nil?
24665
+ command.query['filter'] = filter unless filter.nil?
24666
+ command.query['maxResults'] = max_results unless max_results.nil?
24667
+ command.query['orderBy'] = order_by unless order_by.nil?
24668
+ command.query['pageToken'] = page_token unless page_token.nil?
24669
+ command.query['fields'] = fields unless fields.nil?
24670
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
24671
+ command.query['userIp'] = user_ip unless user_ip.nil?
24672
+ execute_or_queue_command(command, &block)
24673
+ end
24674
+
23825
24675
  # Deletes the specified TargetHttpsProxy resource.
23826
24676
  # @param [String] project
23827
24677
  # Project ID for this request.