google-api-client 0.13.6 → 0.14.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (122) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +56 -0
  3. data/generated/google/apis/adsense_v1_4.rb +1 -1
  4. data/generated/google/apis/adsensehost_v4_1.rb +1 -1
  5. data/generated/google/apis/androiddeviceprovisioning_v1.rb +3 -3
  6. data/generated/google/apis/androiddeviceprovisioning_v1/service.rb +3 -3
  7. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  8. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  9. data/generated/google/apis/androidmanagement_v1/classes.rb +8 -0
  10. data/generated/google/apis/androidmanagement_v1/representations.rb +1 -0
  11. data/generated/google/apis/androidpublisher_v1.rb +1 -1
  12. data/generated/google/apis/androidpublisher_v1_1.rb +1 -1
  13. data/generated/google/apis/androidpublisher_v2.rb +1 -1
  14. data/generated/google/apis/androidpublisher_v2/classes.rb +1 -0
  15. data/generated/google/apis/androidpublisher_v2/service.rb +1 -1
  16. data/generated/google/apis/appstate_v1.rb +1 -1
  17. data/generated/google/apis/bigquery_v2.rb +1 -1
  18. data/generated/google/apis/bigquery_v2/classes.rb +6 -0
  19. data/generated/google/apis/bigquery_v2/representations.rb +1 -0
  20. data/generated/google/apis/bigquerydatatransfer_v1.rb +2 -2
  21. data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +19 -69
  22. data/generated/google/apis/bigquerydatatransfer_v1/representations.rb +3 -41
  23. data/generated/google/apis/bigquerydatatransfer_v1/service.rb +17 -149
  24. data/generated/google/apis/calendar_v3.rb +1 -1
  25. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  26. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  27. data/generated/google/apis/cloudfunctions_v1/classes.rb +7 -0
  28. data/generated/google/apis/cloudfunctions_v1/representations.rb +1 -0
  29. data/generated/google/apis/cloudfunctions_v1beta2.rb +1 -1
  30. data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +30 -0
  31. data/generated/google/apis/cloudfunctions_v1beta2/representations.rb +4 -0
  32. data/generated/google/apis/{toolresults_v1beta3firstparty.rb → cloudtasks_v2beta2.rb} +13 -9
  33. data/generated/google/apis/cloudtasks_v2beta2/classes.rb +1709 -0
  34. data/generated/google/apis/cloudtasks_v2beta2/representations.rb +585 -0
  35. data/generated/google/apis/cloudtasks_v2beta2/service.rb +1016 -0
  36. data/generated/google/apis/cloudtrace_v2.rb +1 -4
  37. data/generated/google/apis/cloudtrace_v2/classes.rb +0 -78
  38. data/generated/google/apis/cloudtrace_v2/representations.rb +0 -43
  39. data/generated/google/apis/cloudtrace_v2/service.rb +0 -101
  40. data/generated/google/apis/compute_alpha.rb +1 -1
  41. data/generated/google/apis/compute_alpha/classes.rb +833 -120
  42. data/generated/google/apis/compute_alpha/representations.rb +263 -26
  43. data/generated/google/apis/compute_alpha/service.rb +795 -107
  44. data/generated/google/apis/compute_beta.rb +1 -1
  45. data/generated/google/apis/compute_beta/classes.rb +5329 -524
  46. data/generated/google/apis/compute_beta/representations.rb +2241 -36
  47. data/generated/google/apis/compute_beta/service.rb +5 -5
  48. data/generated/google/apis/compute_v1.rb +1 -1
  49. data/generated/google/apis/compute_v1/classes.rb +4 -5
  50. data/generated/google/apis/container_v1.rb +1 -1
  51. data/generated/google/apis/container_v1/classes.rb +12 -0
  52. data/generated/google/apis/container_v1/representations.rb +1 -0
  53. data/generated/google/apis/container_v1beta1.rb +1 -1
  54. data/generated/google/apis/container_v1beta1/classes.rb +54 -0
  55. data/generated/google/apis/container_v1beta1/representations.rb +18 -0
  56. data/generated/google/apis/content_v2.rb +1 -1
  57. data/generated/google/apis/content_v2sandbox.rb +1 -1
  58. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  59. data/generated/google/apis/dataflow_v1b3/classes.rb +6 -39
  60. data/generated/google/apis/dataflow_v1b3/representations.rb +1 -16
  61. data/generated/google/apis/deploymentmanager_alpha.rb +1 -1
  62. data/generated/google/apis/deploymentmanager_alpha/classes.rb +71 -3
  63. data/generated/google/apis/deploymentmanager_alpha/representations.rb +32 -0
  64. data/generated/google/apis/deploymentmanager_v2.rb +1 -1
  65. data/generated/google/apis/deploymentmanager_v2/service.rb +1 -1
  66. data/generated/google/apis/deploymentmanager_v2beta.rb +1 -1
  67. data/generated/google/apis/deploymentmanager_v2beta/classes.rb +39 -3
  68. data/generated/google/apis/deploymentmanager_v2beta/representations.rb +16 -0
  69. data/generated/google/apis/dlp_v2beta1.rb +1 -1
  70. data/generated/google/apis/dlp_v2beta1/classes.rb +1605 -49
  71. data/generated/google/apis/dlp_v2beta1/representations.rb +832 -30
  72. data/generated/google/apis/dlp_v2beta1/service.rb +62 -0
  73. data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
  74. data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
  75. data/generated/google/apis/games_management_v1management.rb +1 -1
  76. data/generated/google/apis/games_v1.rb +1 -1
  77. data/generated/google/apis/gmail_v1.rb +1 -1
  78. data/generated/google/apis/gmail_v1/classes.rb +0 -36
  79. data/generated/google/apis/gmail_v1/representations.rb +0 -16
  80. data/generated/google/apis/language_v1.rb +1 -1
  81. data/generated/google/apis/language_v1/classes.rb +74 -0
  82. data/generated/google/apis/language_v1/representations.rb +35 -0
  83. data/generated/google/apis/language_v1/service.rb +31 -0
  84. data/generated/google/apis/language_v1beta1.rb +1 -1
  85. data/generated/google/apis/language_v1beta2.rb +1 -1
  86. data/generated/google/apis/ml_v1.rb +1 -1
  87. data/generated/google/apis/ml_v1/classes.rb +3 -0
  88. data/generated/google/apis/people_v1.rb +1 -1
  89. data/generated/google/apis/people_v1/classes.rb +8 -0
  90. data/generated/google/apis/people_v1/representations.rb +1 -0
  91. data/generated/google/apis/plus_domains_v1/service.rb +1 -1
  92. data/generated/google/apis/plus_v1/service.rb +1 -1
  93. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  94. data/generated/google/apis/servicecontrol_v1/classes.rb +35 -6
  95. data/generated/google/apis/servicecontrol_v1/representations.rb +16 -1
  96. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  97. data/generated/google/apis/servicemanagement_v1/classes.rb +1 -1
  98. data/generated/google/apis/serviceuser_v1.rb +1 -1
  99. data/generated/google/apis/serviceuser_v1/classes.rb +1 -1
  100. data/generated/google/apis/sourcerepo_v1.rb +4 -1
  101. data/generated/google/apis/sourcerepo_v1/classes.rb +45 -204
  102. data/generated/google/apis/sourcerepo_v1/representations.rb +10 -90
  103. data/generated/google/apis/storage_v1beta1.rb +1 -1
  104. data/generated/google/apis/storage_v1beta1/service.rb +1 -1
  105. data/generated/google/apis/storage_v1beta2.rb +1 -1
  106. data/generated/google/apis/storage_v1beta2/service.rb +1 -1
  107. data/generated/google/apis/streetviewpublish_v1.rb +1 -1
  108. data/generated/google/apis/streetviewpublish_v1/classes.rb +5 -3
  109. data/generated/google/apis/streetviewpublish_v1/service.rb +6 -4
  110. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  111. data/generated/google/apis/youtube_analytics_v1.rb +1 -1
  112. data/generated/google/apis/youtube_analytics_v1beta1.rb +1 -1
  113. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  114. data/generated/google/apis/youtube_v3.rb +1 -1
  115. data/generated/google/apis/youtube_v3/classes.rb +22 -85
  116. data/generated/google/apis/youtube_v3/representations.rb +3 -46
  117. data/generated/google/apis/youtube_v3/service.rb +11 -1
  118. data/lib/google/apis/version.rb +1 -1
  119. metadata +6 -6
  120. data/generated/google/apis/toolresults_v1beta3firstparty/classes.rb +0 -2630
  121. data/generated/google/apis/toolresults_v1beta3firstparty/representations.rb +0 -886
  122. data/generated/google/apis/toolresults_v1beta3firstparty/service.rb +0 -1336
@@ -50,7 +50,7 @@ module Google
50
50
 
51
51
  def initialize
52
52
  super('https://www.googleapis.com/', 'compute/alpha/projects/')
53
- @batch_path = 'batch'
53
+ @batch_path = 'batch/compute/alpha'
54
54
  end
55
55
 
56
56
  # Retrieves an aggregated list of accelerator types.
@@ -10178,6 +10178,62 @@ module Google
10178
10178
  execute_or_queue_command(command, &block)
10179
10179
  end
10180
10180
 
10181
+ # Sets deletion protection on the instance.
10182
+ # @param [String] project
10183
+ # Project ID for this request.
10184
+ # @param [String] zone
10185
+ # The name of the zone for this request.
10186
+ # @param [String] resource
10187
+ # Name of the resource for this request.
10188
+ # @param [Boolean] deletion_protection
10189
+ # Whether the resource should be protected against deletion.
10190
+ # @param [String] request_id
10191
+ # An optional request ID to identify requests. Specify a unique request ID so
10192
+ # that if you must retry your request, the server will know to ignore the
10193
+ # request if it has already been completed.
10194
+ # For example, consider a situation where you make an initial request and the
10195
+ # request times out. If you make the request again with the same request ID, the
10196
+ # server can check if original operation with the same request ID was received,
10197
+ # and if so, will ignore the second request. This prevents clients from
10198
+ # accidentally creating duplicate commitments.
10199
+ # The request ID must be a valid UUID with the exception that zero UUID is not
10200
+ # supported (00000000-0000-0000-0000-000000000000).
10201
+ # @param [String] fields
10202
+ # Selector specifying which fields to include in a partial response.
10203
+ # @param [String] quota_user
10204
+ # Available to use for quota purposes for server-side applications. Can be any
10205
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
10206
+ # Overrides userIp if both are provided.
10207
+ # @param [String] user_ip
10208
+ # IP address of the site where the request originates. Use this if you want to
10209
+ # enforce per-user limits.
10210
+ # @param [Google::Apis::RequestOptions] options
10211
+ # Request-specific options
10212
+ #
10213
+ # @yield [result, err] Result & error if block supplied
10214
+ # @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
10215
+ # @yieldparam err [StandardError] error object if request failed
10216
+ #
10217
+ # @return [Google::Apis::ComputeAlpha::Operation]
10218
+ #
10219
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
10220
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
10221
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
10222
+ def set_instance_deletion_protection(project, zone, resource, deletion_protection: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
10223
+ command = make_simple_command(:post, '{project}/zones/{zone}/instances/{resource}/setDeletionProtection', options)
10224
+ command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
10225
+ command.response_class = Google::Apis::ComputeAlpha::Operation
10226
+ command.params['project'] = project unless project.nil?
10227
+ command.params['zone'] = zone unless zone.nil?
10228
+ command.params['resource'] = resource unless resource.nil?
10229
+ command.query['deletionProtection'] = deletion_protection unless deletion_protection.nil?
10230
+ command.query['requestId'] = request_id unless request_id.nil?
10231
+ command.query['fields'] = fields unless fields.nil?
10232
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
10233
+ command.query['userIp'] = user_ip unless user_ip.nil?
10234
+ execute_or_queue_command(command, &block)
10235
+ end
10236
+
10181
10237
  # Sets the auto-delete flag for a disk attached to an instance.
10182
10238
  # @param [String] project
10183
10239
  # Project ID for this request.
@@ -14365,6 +14421,58 @@ module Google
14365
14421
  execute_or_queue_command(command, &block)
14366
14422
  end
14367
14423
 
14424
+ # Sets the default network tier of the project. The default network tier is used
14425
+ # when an address/forwardingRule/instance is created without specifying the
14426
+ # network tier field.
14427
+ # @param [String] project
14428
+ # Project ID for this request.
14429
+ # @param [Google::Apis::ComputeAlpha::ProjectsSetDefaultNetworkTierRequest] projects_set_default_network_tier_request_object
14430
+ # @param [String] request_id
14431
+ # An optional request ID to identify requests. Specify a unique request ID so
14432
+ # that if you must retry your request, the server will know to ignore the
14433
+ # request if it has already been completed.
14434
+ # For example, consider a situation where you make an initial request and the
14435
+ # request times out. If you make the request again with the same request ID, the
14436
+ # server can check if original operation with the same request ID was received,
14437
+ # and if so, will ignore the second request. This prevents clients from
14438
+ # accidentally creating duplicate commitments.
14439
+ # The request ID must be a valid UUID with the exception that zero UUID is not
14440
+ # supported (00000000-0000-0000-0000-000000000000).
14441
+ # @param [String] fields
14442
+ # Selector specifying which fields to include in a partial response.
14443
+ # @param [String] quota_user
14444
+ # Available to use for quota purposes for server-side applications. Can be any
14445
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
14446
+ # Overrides userIp if both are provided.
14447
+ # @param [String] user_ip
14448
+ # IP address of the site where the request originates. Use this if you want to
14449
+ # enforce per-user limits.
14450
+ # @param [Google::Apis::RequestOptions] options
14451
+ # Request-specific options
14452
+ #
14453
+ # @yield [result, err] Result & error if block supplied
14454
+ # @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
14455
+ # @yieldparam err [StandardError] error object if request failed
14456
+ #
14457
+ # @return [Google::Apis::ComputeAlpha::Operation]
14458
+ #
14459
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
14460
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
14461
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
14462
+ def set_project_default_network_tier(project, projects_set_default_network_tier_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
14463
+ command = make_simple_command(:post, '{project}/setDefaultNetworkTier', options)
14464
+ command.request_representation = Google::Apis::ComputeAlpha::ProjectsSetDefaultNetworkTierRequest::Representation
14465
+ command.request_object = projects_set_default_network_tier_request_object
14466
+ command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
14467
+ command.response_class = Google::Apis::ComputeAlpha::Operation
14468
+ command.params['project'] = project unless project.nil?
14469
+ command.query['requestId'] = request_id unless request_id.nil?
14470
+ command.query['fields'] = fields unless fields.nil?
14471
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
14472
+ command.query['userIp'] = user_ip unless user_ip.nil?
14473
+ execute_or_queue_command(command, &block)
14474
+ end
14475
+
14368
14476
  # Sets the default service account of the project. The default service account
14369
14477
  # is used when a VM instance is created with the service account email address
14370
14478
  # set to "default".
@@ -18833,18 +18941,18 @@ module Google
18833
18941
  # Request-specific options
18834
18942
  #
18835
18943
  # @yield [result, err] Result & error if block supplied
18836
- # @yieldparam result [Google::Apis::ComputeAlpha::SecurityPoliciesList] parsed result object
18944
+ # @yieldparam result [Google::Apis::ComputeAlpha::SecurityPolicyList] parsed result object
18837
18945
  # @yieldparam err [StandardError] error object if request failed
18838
18946
  #
18839
- # @return [Google::Apis::ComputeAlpha::SecurityPoliciesList]
18947
+ # @return [Google::Apis::ComputeAlpha::SecurityPolicyList]
18840
18948
  #
18841
18949
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
18842
18950
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
18843
18951
  # @raise [Google::Apis::AuthorizationError] Authorization is required
18844
18952
  def list_security_policies(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
18845
18953
  command = make_simple_command(:get, '{project}/global/securityPolicies', options)
18846
- command.response_representation = Google::Apis::ComputeAlpha::SecurityPoliciesList::Representation
18847
- command.response_class = Google::Apis::ComputeAlpha::SecurityPoliciesList
18954
+ command.response_representation = Google::Apis::ComputeAlpha::SecurityPolicyList::Representation
18955
+ command.response_class = Google::Apis::ComputeAlpha::SecurityPolicyList
18848
18956
  command.params['project'] = project unless project.nil?
18849
18957
  command.query['filter'] = filter unless filter.nil?
18850
18958
  command.query['maxResults'] = max_results unless max_results.nil?
@@ -19542,46 +19650,24 @@ module Google
19542
19650
  execute_or_queue_command(command, &block)
19543
19651
  end
19544
19652
 
19545
- # Retrieves an aggregated list of subnetworks.
19653
+ # Deletes the specified SSL policy. The SSL policy resource can be deleted only
19654
+ # if it is not in use by any TargetHttpsProxy or TargetSslProxy resources.
19546
19655
  # @param [String] project
19547
19656
  # Project ID for this request.
19548
- # @param [String] filter
19549
- # Sets a filter `expression` for filtering listed resources. Your `expression`
19550
- # must be in the format: field_name comparison_string literal_string.
19551
- # The field_name is the name of the field you want to compare. Only atomic field
19552
- # types are supported (string, number, boolean). The comparison_string must be
19553
- # either eq (equals) or ne (not equals). The literal_string is the string value
19554
- # to filter to. The literal value must be valid for the type of field you are
19555
- # filtering by (string, number, boolean). For string fields, the literal value
19556
- # is interpreted as a regular expression using RE2 syntax. The literal value
19557
- # must match the entire field.
19558
- # For example, to filter for instances that do not have a name of example-
19559
- # instance, you would use name ne example-instance.
19560
- # You can filter on nested fields. For example, you could filter on instances
19561
- # that have set the scheduling.automaticRestart field to true. Use filtering on
19562
- # nested fields to take advantage of labels to organize and search for results
19563
- # based on label values.
19564
- # To filter on multiple expressions, provide each separate expression within
19565
- # parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us-
19566
- # central1-f). Multiple expressions are treated as AND expressions, meaning that
19567
- # resources must match all expressions to pass the filters.
19568
- # @param [Fixnum] max_results
19569
- # The maximum number of results per page that should be returned. If the number
19570
- # of available results is larger than maxResults, Compute Engine returns a
19571
- # nextPageToken that can be used to get the next page of results in subsequent
19572
- # list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
19573
- # @param [String] order_by
19574
- # Sorts list results by a certain order. By default, results are returned in
19575
- # alphanumerical order based on the resource name.
19576
- # You can also sort results in descending order based on the creation timestamp
19577
- # using orderBy="creationTimestamp desc". This sorts results based on the
19578
- # creationTimestamp field in reverse chronological order (newest result first).
19579
- # Use this to sort resources like operations so that the newest operation is
19580
- # returned first.
19581
- # Currently, only sorting by name or creationTimestamp desc is supported.
19582
- # @param [String] page_token
19583
- # Specifies a page token to use. Set pageToken to the nextPageToken returned by
19584
- # a previous list request to get the next page of results.
19657
+ # @param [String] ssl_policy
19658
+ # Name of the SSL policy to delete. The name must be 1-63 characters long, and
19659
+ # comply with RFC1035.
19660
+ # @param [String] request_id
19661
+ # An optional request ID to identify requests. Specify a unique request ID so
19662
+ # that if you must retry your request, the server will know to ignore the
19663
+ # request if it has already been completed.
19664
+ # For example, consider a situation where you make an initial request and the
19665
+ # request times out. If you make the request again with the same request ID, the
19666
+ # server can check if original operation with the same request ID was received,
19667
+ # and if so, will ignore the second request. This prevents clients from
19668
+ # accidentally creating duplicate commitments.
19669
+ # The request ID must be a valid UUID with the exception that zero UUID is not
19670
+ # supported (00000000-0000-0000-0000-000000000000).
19585
19671
  # @param [String] fields
19586
19672
  # Selector specifying which fields to include in a partial response.
19587
19673
  # @param [String] quota_user
@@ -19595,47 +19681,33 @@ module Google
19595
19681
  # Request-specific options
19596
19682
  #
19597
19683
  # @yield [result, err] Result & error if block supplied
19598
- # @yieldparam result [Google::Apis::ComputeAlpha::SubnetworkAggregatedList] parsed result object
19684
+ # @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
19599
19685
  # @yieldparam err [StandardError] error object if request failed
19600
19686
  #
19601
- # @return [Google::Apis::ComputeAlpha::SubnetworkAggregatedList]
19687
+ # @return [Google::Apis::ComputeAlpha::Operation]
19602
19688
  #
19603
19689
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
19604
19690
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
19605
19691
  # @raise [Google::Apis::AuthorizationError] Authorization is required
19606
- def aggregated_subnetwork_list(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
19607
- command = make_simple_command(:get, '{project}/aggregated/subnetworks', options)
19608
- command.response_representation = Google::Apis::ComputeAlpha::SubnetworkAggregatedList::Representation
19609
- command.response_class = Google::Apis::ComputeAlpha::SubnetworkAggregatedList
19692
+ def delete_ssl_policy(project, ssl_policy, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
19693
+ command = make_simple_command(:delete, '{project}/global/sslPolicies/{sslPolicy}', options)
19694
+ command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
19695
+ command.response_class = Google::Apis::ComputeAlpha::Operation
19610
19696
  command.params['project'] = project unless project.nil?
19611
- command.query['filter'] = filter unless filter.nil?
19612
- command.query['maxResults'] = max_results unless max_results.nil?
19613
- command.query['orderBy'] = order_by unless order_by.nil?
19614
- command.query['pageToken'] = page_token unless page_token.nil?
19697
+ command.params['sslPolicy'] = ssl_policy unless ssl_policy.nil?
19698
+ command.query['requestId'] = request_id unless request_id.nil?
19615
19699
  command.query['fields'] = fields unless fields.nil?
19616
19700
  command.query['quotaUser'] = quota_user unless quota_user.nil?
19617
19701
  command.query['userIp'] = user_ip unless user_ip.nil?
19618
19702
  execute_or_queue_command(command, &block)
19619
19703
  end
19620
19704
 
19621
- # Deletes the specified subnetwork.
19705
+ # List all of the ordered rules present in a single specified policy.
19622
19706
  # @param [String] project
19623
19707
  # Project ID for this request.
19624
- # @param [String] region
19625
- # Name of the region scoping this request.
19626
- # @param [String] subnetwork
19627
- # Name of the Subnetwork resource to delete.
19628
- # @param [String] request_id
19629
- # An optional request ID to identify requests. Specify a unique request ID so
19630
- # that if you must retry your request, the server will know to ignore the
19631
- # request if it has already been completed.
19632
- # For example, consider a situation where you make an initial request and the
19633
- # request times out. If you make the request again with the same request ID, the
19634
- # server can check if original operation with the same request ID was received,
19635
- # and if so, will ignore the second request. This prevents clients from
19636
- # accidentally creating duplicate commitments.
19637
- # The request ID must be a valid UUID with the exception that zero UUID is not
19638
- # supported (00000000-0000-0000-0000-000000000000).
19708
+ # @param [String] ssl_policy
19709
+ # Name of the SSL policy to update. The name must be 1-63 characters long, and
19710
+ # comply with RFC1035.
19639
19711
  # @param [String] fields
19640
19712
  # Selector specifying which fields to include in a partial response.
19641
19713
  # @param [String] quota_user
@@ -19649,36 +19721,31 @@ module Google
19649
19721
  # Request-specific options
19650
19722
  #
19651
19723
  # @yield [result, err] Result & error if block supplied
19652
- # @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
19724
+ # @yieldparam result [Google::Apis::ComputeAlpha::SslPolicy] parsed result object
19653
19725
  # @yieldparam err [StandardError] error object if request failed
19654
19726
  #
19655
- # @return [Google::Apis::ComputeAlpha::Operation]
19727
+ # @return [Google::Apis::ComputeAlpha::SslPolicy]
19656
19728
  #
19657
19729
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
19658
19730
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
19659
19731
  # @raise [Google::Apis::AuthorizationError] Authorization is required
19660
- def delete_subnetwork(project, region, subnetwork, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
19661
- command = make_simple_command(:delete, '{project}/regions/{region}/subnetworks/{subnetwork}', options)
19662
- command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
19663
- command.response_class = Google::Apis::ComputeAlpha::Operation
19732
+ def get_ssl_policy(project, ssl_policy, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
19733
+ command = make_simple_command(:get, '{project}/global/sslPolicies/{sslPolicy}', options)
19734
+ command.response_representation = Google::Apis::ComputeAlpha::SslPolicy::Representation
19735
+ command.response_class = Google::Apis::ComputeAlpha::SslPolicy
19664
19736
  command.params['project'] = project unless project.nil?
19665
- command.params['region'] = region unless region.nil?
19666
- command.params['subnetwork'] = subnetwork unless subnetwork.nil?
19667
- command.query['requestId'] = request_id unless request_id.nil?
19737
+ command.params['sslPolicy'] = ssl_policy unless ssl_policy.nil?
19668
19738
  command.query['fields'] = fields unless fields.nil?
19669
19739
  command.query['quotaUser'] = quota_user unless quota_user.nil?
19670
19740
  command.query['userIp'] = user_ip unless user_ip.nil?
19671
19741
  execute_or_queue_command(command, &block)
19672
19742
  end
19673
19743
 
19674
- # Expands the IP CIDR range of the subnetwork to a specified value.
19744
+ # Returns the specified SSL policy resource. Get a list of available SSL
19745
+ # policies by making a list() request.
19675
19746
  # @param [String] project
19676
19747
  # Project ID for this request.
19677
- # @param [String] region
19678
- # Name of the region scoping this request.
19679
- # @param [String] subnetwork
19680
- # Name of the Subnetwork resource to update.
19681
- # @param [Google::Apis::ComputeAlpha::SubnetworksExpandIpCidrRangeRequest] subnetworks_expand_ip_cidr_range_request_object
19748
+ # @param [Google::Apis::ComputeAlpha::SslPolicy] ssl_policy_object
19682
19749
  # @param [String] request_id
19683
19750
  # An optional request ID to identify requests. Specify a unique request ID so
19684
19751
  # that if you must retry your request, the server will know to ignore the
@@ -19711,15 +19778,13 @@ module Google
19711
19778
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
19712
19779
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
19713
19780
  # @raise [Google::Apis::AuthorizationError] Authorization is required
19714
- def expand_subnetwork_ip_cidr_range(project, region, subnetwork, subnetworks_expand_ip_cidr_range_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
19715
- command = make_simple_command(:post, '{project}/regions/{region}/subnetworks/{subnetwork}/expandIpCidrRange', options)
19716
- command.request_representation = Google::Apis::ComputeAlpha::SubnetworksExpandIpCidrRangeRequest::Representation
19717
- command.request_object = subnetworks_expand_ip_cidr_range_request_object
19781
+ def insert_ssl_policy(project, ssl_policy_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
19782
+ command = make_simple_command(:post, '{project}/global/sslPolicies', options)
19783
+ command.request_representation = Google::Apis::ComputeAlpha::SslPolicy::Representation
19784
+ command.request_object = ssl_policy_object
19718
19785
  command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
19719
19786
  command.response_class = Google::Apis::ComputeAlpha::Operation
19720
19787
  command.params['project'] = project unless project.nil?
19721
- command.params['region'] = region unless region.nil?
19722
- command.params['subnetwork'] = subnetwork unless subnetwork.nil?
19723
19788
  command.query['requestId'] = request_id unless request_id.nil?
19724
19789
  command.query['fields'] = fields unless fields.nil?
19725
19790
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -19727,14 +19792,46 @@ module Google
19727
19792
  execute_or_queue_command(command, &block)
19728
19793
  end
19729
19794
 
19730
- # Returns the specified subnetwork. Get a list of available subnetworks list()
19731
- # request.
19795
+ # List all the SSL policies that have been configured for the specified project.
19732
19796
  # @param [String] project
19733
19797
  # Project ID for this request.
19734
- # @param [String] region
19735
- # Name of the region scoping this request.
19736
- # @param [String] subnetwork
19737
- # Name of the Subnetwork resource to return.
19798
+ # @param [String] filter
19799
+ # Sets a filter `expression` for filtering listed resources. Your `expression`
19800
+ # must be in the format: field_name comparison_string literal_string.
19801
+ # The field_name is the name of the field you want to compare. Only atomic field
19802
+ # types are supported (string, number, boolean). The comparison_string must be
19803
+ # either eq (equals) or ne (not equals). The literal_string is the string value
19804
+ # to filter to. The literal value must be valid for the type of field you are
19805
+ # filtering by (string, number, boolean). For string fields, the literal value
19806
+ # is interpreted as a regular expression using RE2 syntax. The literal value
19807
+ # must match the entire field.
19808
+ # For example, to filter for instances that do not have a name of example-
19809
+ # instance, you would use name ne example-instance.
19810
+ # You can filter on nested fields. For example, you could filter on instances
19811
+ # that have set the scheduling.automaticRestart field to true. Use filtering on
19812
+ # nested fields to take advantage of labels to organize and search for results
19813
+ # based on label values.
19814
+ # To filter on multiple expressions, provide each separate expression within
19815
+ # parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us-
19816
+ # central1-f). Multiple expressions are treated as AND expressions, meaning that
19817
+ # resources must match all expressions to pass the filters.
19818
+ # @param [Fixnum] max_results
19819
+ # The maximum number of results per page that should be returned. If the number
19820
+ # of available results is larger than maxResults, Compute Engine returns a
19821
+ # nextPageToken that can be used to get the next page of results in subsequent
19822
+ # list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
19823
+ # @param [String] order_by
19824
+ # Sorts list results by a certain order. By default, results are returned in
19825
+ # alphanumerical order based on the resource name.
19826
+ # You can also sort results in descending order based on the creation timestamp
19827
+ # using orderBy="creationTimestamp desc". This sorts results based on the
19828
+ # creationTimestamp field in reverse chronological order (newest result first).
19829
+ # Use this to sort resources like operations so that the newest operation is
19830
+ # returned first.
19831
+ # Currently, only sorting by name or creationTimestamp desc is supported.
19832
+ # @param [String] page_token
19833
+ # Specifies a page token to use. Set pageToken to the nextPageToken returned by
19834
+ # a previous list request to get the next page of results.
19738
19835
  # @param [String] fields
19739
19836
  # Selector specifying which fields to include in a partial response.
19740
19837
  # @param [String] quota_user
@@ -19748,32 +19845,433 @@ module Google
19748
19845
  # Request-specific options
19749
19846
  #
19750
19847
  # @yield [result, err] Result & error if block supplied
19751
- # @yieldparam result [Google::Apis::ComputeAlpha::Subnetwork] parsed result object
19848
+ # @yieldparam result [Google::Apis::ComputeAlpha::SslPoliciesList] parsed result object
19752
19849
  # @yieldparam err [StandardError] error object if request failed
19753
19850
  #
19754
- # @return [Google::Apis::ComputeAlpha::Subnetwork]
19851
+ # @return [Google::Apis::ComputeAlpha::SslPoliciesList]
19755
19852
  #
19756
19853
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
19757
19854
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
19758
19855
  # @raise [Google::Apis::AuthorizationError] Authorization is required
19759
- def get_subnetwork(project, region, subnetwork, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
19760
- command = make_simple_command(:get, '{project}/regions/{region}/subnetworks/{subnetwork}', options)
19761
- command.response_representation = Google::Apis::ComputeAlpha::Subnetwork::Representation
19762
- command.response_class = Google::Apis::ComputeAlpha::Subnetwork
19856
+ def list_ssl_policies(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
19857
+ command = make_simple_command(:get, '{project}/global/sslPolicies', options)
19858
+ command.response_representation = Google::Apis::ComputeAlpha::SslPoliciesList::Representation
19859
+ command.response_class = Google::Apis::ComputeAlpha::SslPoliciesList
19763
19860
  command.params['project'] = project unless project.nil?
19764
- command.params['region'] = region unless region.nil?
19765
- command.params['subnetwork'] = subnetwork unless subnetwork.nil?
19861
+ command.query['filter'] = filter unless filter.nil?
19862
+ command.query['maxResults'] = max_results unless max_results.nil?
19863
+ command.query['orderBy'] = order_by unless order_by.nil?
19864
+ command.query['pageToken'] = page_token unless page_token.nil?
19766
19865
  command.query['fields'] = fields unless fields.nil?
19767
19866
  command.query['quotaUser'] = quota_user unless quota_user.nil?
19768
19867
  command.query['userIp'] = user_ip unless user_ip.nil?
19769
19868
  execute_or_queue_command(command, &block)
19770
19869
  end
19771
19870
 
19772
- # Gets the access control policy for a resource. May be empty if no such policy
19773
- # or resource exists.
19871
+ # Lists all features that can be specified in the SSL policy when using custom
19872
+ # profile.
19774
19873
  # @param [String] project
19775
19874
  # Project ID for this request.
19776
- # @param [String] region
19875
+ # @param [String] filter
19876
+ # Sets a filter `expression` for filtering listed resources. Your `expression`
19877
+ # must be in the format: field_name comparison_string literal_string.
19878
+ # The field_name is the name of the field you want to compare. Only atomic field
19879
+ # types are supported (string, number, boolean). The comparison_string must be
19880
+ # either eq (equals) or ne (not equals). The literal_string is the string value
19881
+ # to filter to. The literal value must be valid for the type of field you are
19882
+ # filtering by (string, number, boolean). For string fields, the literal value
19883
+ # is interpreted as a regular expression using RE2 syntax. The literal value
19884
+ # must match the entire field.
19885
+ # For example, to filter for instances that do not have a name of example-
19886
+ # instance, you would use name ne example-instance.
19887
+ # You can filter on nested fields. For example, you could filter on instances
19888
+ # that have set the scheduling.automaticRestart field to true. Use filtering on
19889
+ # nested fields to take advantage of labels to organize and search for results
19890
+ # based on label values.
19891
+ # To filter on multiple expressions, provide each separate expression within
19892
+ # parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us-
19893
+ # central1-f). Multiple expressions are treated as AND expressions, meaning that
19894
+ # resources must match all expressions to pass the filters.
19895
+ # @param [Fixnum] max_results
19896
+ # The maximum number of results per page that should be returned. If the number
19897
+ # of available results is larger than maxResults, Compute Engine returns a
19898
+ # nextPageToken that can be used to get the next page of results in subsequent
19899
+ # list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
19900
+ # @param [String] order_by
19901
+ # Sorts list results by a certain order. By default, results are returned in
19902
+ # alphanumerical order based on the resource name.
19903
+ # You can also sort results in descending order based on the creation timestamp
19904
+ # using orderBy="creationTimestamp desc". This sorts results based on the
19905
+ # creationTimestamp field in reverse chronological order (newest result first).
19906
+ # Use this to sort resources like operations so that the newest operation is
19907
+ # returned first.
19908
+ # Currently, only sorting by name or creationTimestamp desc is supported.
19909
+ # @param [String] page_token
19910
+ # Specifies a page token to use. Set pageToken to the nextPageToken returned by
19911
+ # a previous list request to get the next page of results.
19912
+ # @param [String] fields
19913
+ # Selector specifying which fields to include in a partial response.
19914
+ # @param [String] quota_user
19915
+ # Available to use for quota purposes for server-side applications. Can be any
19916
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
19917
+ # Overrides userIp if both are provided.
19918
+ # @param [String] user_ip
19919
+ # IP address of the site where the request originates. Use this if you want to
19920
+ # enforce per-user limits.
19921
+ # @param [Google::Apis::RequestOptions] options
19922
+ # Request-specific options
19923
+ #
19924
+ # @yield [result, err] Result & error if block supplied
19925
+ # @yieldparam result [Google::Apis::ComputeAlpha::SslPoliciesListAvailableFeaturesResponse] parsed result object
19926
+ # @yieldparam err [StandardError] error object if request failed
19927
+ #
19928
+ # @return [Google::Apis::ComputeAlpha::SslPoliciesListAvailableFeaturesResponse]
19929
+ #
19930
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
19931
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
19932
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
19933
+ def list_ssl_policy_available_features(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
19934
+ command = make_simple_command(:get, '{project}/global/sslPolicies/listAvailableFeatures', options)
19935
+ command.response_representation = Google::Apis::ComputeAlpha::SslPoliciesListAvailableFeaturesResponse::Representation
19936
+ command.response_class = Google::Apis::ComputeAlpha::SslPoliciesListAvailableFeaturesResponse
19937
+ command.params['project'] = project unless project.nil?
19938
+ command.query['filter'] = filter unless filter.nil?
19939
+ command.query['maxResults'] = max_results unless max_results.nil?
19940
+ command.query['orderBy'] = order_by unless order_by.nil?
19941
+ command.query['pageToken'] = page_token unless page_token.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
+ # Patches the specified SSL policy with the data included in the request.
19949
+ # @param [String] project
19950
+ # Project ID for this request.
19951
+ # @param [String] ssl_policy
19952
+ # Name of the SSL policy to update. The name must be 1-63 characters long, and
19953
+ # comply with RFC1035.
19954
+ # @param [Google::Apis::ComputeAlpha::SslPolicy] ssl_policy_object
19955
+ # @param [String] request_id
19956
+ # An optional request ID to identify requests. Specify a unique request ID so
19957
+ # that if you must retry your request, the server will know to ignore the
19958
+ # request if it has already been completed.
19959
+ # For example, consider a situation where you make an initial request and the
19960
+ # request times out. If you make the request again with the same request ID, the
19961
+ # server can check if original operation with the same request ID was received,
19962
+ # and if so, will ignore the second request. This prevents clients from
19963
+ # accidentally creating duplicate commitments.
19964
+ # The request ID must be a valid UUID with the exception that zero UUID is not
19965
+ # supported (00000000-0000-0000-0000-000000000000).
19966
+ # @param [String] fields
19967
+ # Selector specifying which fields to include in a partial response.
19968
+ # @param [String] quota_user
19969
+ # Available to use for quota purposes for server-side applications. Can be any
19970
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
19971
+ # Overrides userIp if both are provided.
19972
+ # @param [String] user_ip
19973
+ # IP address of the site where the request originates. Use this if you want to
19974
+ # enforce per-user limits.
19975
+ # @param [Google::Apis::RequestOptions] options
19976
+ # Request-specific options
19977
+ #
19978
+ # @yield [result, err] Result & error if block supplied
19979
+ # @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
19980
+ # @yieldparam err [StandardError] error object if request failed
19981
+ #
19982
+ # @return [Google::Apis::ComputeAlpha::Operation]
19983
+ #
19984
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
19985
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
19986
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
19987
+ def patch_ssl_policy(project, ssl_policy, ssl_policy_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
19988
+ command = make_simple_command(:patch, '{project}/global/sslPolicies/{sslPolicy}', options)
19989
+ command.request_representation = Google::Apis::ComputeAlpha::SslPolicy::Representation
19990
+ command.request_object = ssl_policy_object
19991
+ command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
19992
+ command.response_class = Google::Apis::ComputeAlpha::Operation
19993
+ command.params['project'] = project unless project.nil?
19994
+ command.params['sslPolicy'] = ssl_policy unless ssl_policy.nil?
19995
+ command.query['requestId'] = request_id unless request_id.nil?
19996
+ command.query['fields'] = fields unless fields.nil?
19997
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
19998
+ command.query['userIp'] = user_ip unless user_ip.nil?
19999
+ execute_or_queue_command(command, &block)
20000
+ end
20001
+
20002
+ # Returns permissions that a caller has on the specified resource.
20003
+ # @param [String] project
20004
+ # Project ID for this request.
20005
+ # @param [String] resource
20006
+ # Name of the resource for this request.
20007
+ # @param [Google::Apis::ComputeAlpha::TestPermissionsRequest] test_permissions_request_object
20008
+ # @param [String] fields
20009
+ # Selector specifying which fields to include in a partial response.
20010
+ # @param [String] quota_user
20011
+ # Available to use for quota purposes for server-side applications. Can be any
20012
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
20013
+ # Overrides userIp if both are provided.
20014
+ # @param [String] user_ip
20015
+ # IP address of the site where the request originates. Use this if you want to
20016
+ # enforce per-user limits.
20017
+ # @param [Google::Apis::RequestOptions] options
20018
+ # Request-specific options
20019
+ #
20020
+ # @yield [result, err] Result & error if block supplied
20021
+ # @yieldparam result [Google::Apis::ComputeAlpha::TestPermissionsResponse] parsed result object
20022
+ # @yieldparam err [StandardError] error object if request failed
20023
+ #
20024
+ # @return [Google::Apis::ComputeAlpha::TestPermissionsResponse]
20025
+ #
20026
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
20027
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
20028
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
20029
+ def test_ssl_policy_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
20030
+ command = make_simple_command(:post, '{project}/global/sslPolicies/{resource}/testIamPermissions', options)
20031
+ command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation
20032
+ command.request_object = test_permissions_request_object
20033
+ command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation
20034
+ command.response_class = Google::Apis::ComputeAlpha::TestPermissionsResponse
20035
+ command.params['project'] = project unless project.nil?
20036
+ command.params['resource'] = resource unless resource.nil?
20037
+ command.query['fields'] = fields unless fields.nil?
20038
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
20039
+ command.query['userIp'] = user_ip unless user_ip.nil?
20040
+ execute_or_queue_command(command, &block)
20041
+ end
20042
+
20043
+ # Retrieves an aggregated list of subnetworks.
20044
+ # @param [String] project
20045
+ # Project ID for this request.
20046
+ # @param [String] filter
20047
+ # Sets a filter `expression` for filtering listed resources. Your `expression`
20048
+ # must be in the format: field_name comparison_string literal_string.
20049
+ # The field_name is the name of the field you want to compare. Only atomic field
20050
+ # types are supported (string, number, boolean). The comparison_string must be
20051
+ # either eq (equals) or ne (not equals). The literal_string is the string value
20052
+ # to filter to. The literal value must be valid for the type of field you are
20053
+ # filtering by (string, number, boolean). For string fields, the literal value
20054
+ # is interpreted as a regular expression using RE2 syntax. The literal value
20055
+ # must match the entire field.
20056
+ # For example, to filter for instances that do not have a name of example-
20057
+ # instance, you would use name ne example-instance.
20058
+ # You can filter on nested fields. For example, you could filter on instances
20059
+ # that have set the scheduling.automaticRestart field to true. Use filtering on
20060
+ # nested fields to take advantage of labels to organize and search for results
20061
+ # based on label values.
20062
+ # To filter on multiple expressions, provide each separate expression within
20063
+ # parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us-
20064
+ # central1-f). Multiple expressions are treated as AND expressions, meaning that
20065
+ # resources must match all expressions to pass the filters.
20066
+ # @param [Fixnum] max_results
20067
+ # The maximum number of results per page that should be returned. If the number
20068
+ # of available results is larger than maxResults, Compute Engine returns a
20069
+ # nextPageToken that can be used to get the next page of results in subsequent
20070
+ # list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
20071
+ # @param [String] order_by
20072
+ # Sorts list results by a certain order. By default, results are returned in
20073
+ # alphanumerical order based on the resource name.
20074
+ # You can also sort results in descending order based on the creation timestamp
20075
+ # using orderBy="creationTimestamp desc". This sorts results based on the
20076
+ # creationTimestamp field in reverse chronological order (newest result first).
20077
+ # Use this to sort resources like operations so that the newest operation is
20078
+ # returned first.
20079
+ # Currently, only sorting by name or creationTimestamp desc is supported.
20080
+ # @param [String] page_token
20081
+ # Specifies a page token to use. Set pageToken to the nextPageToken returned by
20082
+ # a previous list request to get the next page of results.
20083
+ # @param [String] fields
20084
+ # Selector specifying which fields to include in a partial response.
20085
+ # @param [String] quota_user
20086
+ # Available to use for quota purposes for server-side applications. Can be any
20087
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
20088
+ # Overrides userIp if both are provided.
20089
+ # @param [String] user_ip
20090
+ # IP address of the site where the request originates. Use this if you want to
20091
+ # enforce per-user limits.
20092
+ # @param [Google::Apis::RequestOptions] options
20093
+ # Request-specific options
20094
+ #
20095
+ # @yield [result, err] Result & error if block supplied
20096
+ # @yieldparam result [Google::Apis::ComputeAlpha::SubnetworkAggregatedList] parsed result object
20097
+ # @yieldparam err [StandardError] error object if request failed
20098
+ #
20099
+ # @return [Google::Apis::ComputeAlpha::SubnetworkAggregatedList]
20100
+ #
20101
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
20102
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
20103
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
20104
+ def aggregated_subnetwork_list(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
20105
+ command = make_simple_command(:get, '{project}/aggregated/subnetworks', options)
20106
+ command.response_representation = Google::Apis::ComputeAlpha::SubnetworkAggregatedList::Representation
20107
+ command.response_class = Google::Apis::ComputeAlpha::SubnetworkAggregatedList
20108
+ command.params['project'] = project unless project.nil?
20109
+ command.query['filter'] = filter unless filter.nil?
20110
+ command.query['maxResults'] = max_results unless max_results.nil?
20111
+ command.query['orderBy'] = order_by unless order_by.nil?
20112
+ command.query['pageToken'] = page_token unless page_token.nil?
20113
+ command.query['fields'] = fields unless fields.nil?
20114
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
20115
+ command.query['userIp'] = user_ip unless user_ip.nil?
20116
+ execute_or_queue_command(command, &block)
20117
+ end
20118
+
20119
+ # Deletes the specified subnetwork.
20120
+ # @param [String] project
20121
+ # Project ID for this request.
20122
+ # @param [String] region
20123
+ # Name of the region scoping this request.
20124
+ # @param [String] subnetwork
20125
+ # Name of the Subnetwork resource to delete.
20126
+ # @param [String] request_id
20127
+ # An optional request ID to identify requests. Specify a unique request ID so
20128
+ # that if you must retry your request, the server will know to ignore the
20129
+ # request if it has already been completed.
20130
+ # For example, consider a situation where you make an initial request and the
20131
+ # request times out. If you make the request again with the same request ID, the
20132
+ # server can check if original operation with the same request ID was received,
20133
+ # and if so, will ignore the second request. This prevents clients from
20134
+ # accidentally creating duplicate commitments.
20135
+ # The request ID must be a valid UUID with the exception that zero UUID is not
20136
+ # supported (00000000-0000-0000-0000-000000000000).
20137
+ # @param [String] fields
20138
+ # Selector specifying which fields to include in a partial response.
20139
+ # @param [String] quota_user
20140
+ # Available to use for quota purposes for server-side applications. Can be any
20141
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
20142
+ # Overrides userIp if both are provided.
20143
+ # @param [String] user_ip
20144
+ # IP address of the site where the request originates. Use this if you want to
20145
+ # enforce per-user limits.
20146
+ # @param [Google::Apis::RequestOptions] options
20147
+ # Request-specific options
20148
+ #
20149
+ # @yield [result, err] Result & error if block supplied
20150
+ # @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
20151
+ # @yieldparam err [StandardError] error object if request failed
20152
+ #
20153
+ # @return [Google::Apis::ComputeAlpha::Operation]
20154
+ #
20155
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
20156
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
20157
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
20158
+ def delete_subnetwork(project, region, subnetwork, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
20159
+ command = make_simple_command(:delete, '{project}/regions/{region}/subnetworks/{subnetwork}', options)
20160
+ command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
20161
+ command.response_class = Google::Apis::ComputeAlpha::Operation
20162
+ command.params['project'] = project unless project.nil?
20163
+ command.params['region'] = region unless region.nil?
20164
+ command.params['subnetwork'] = subnetwork unless subnetwork.nil?
20165
+ command.query['requestId'] = request_id unless request_id.nil?
20166
+ command.query['fields'] = fields unless fields.nil?
20167
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
20168
+ command.query['userIp'] = user_ip unless user_ip.nil?
20169
+ execute_or_queue_command(command, &block)
20170
+ end
20171
+
20172
+ # Expands the IP CIDR range of the subnetwork to a specified value.
20173
+ # @param [String] project
20174
+ # Project ID for this request.
20175
+ # @param [String] region
20176
+ # Name of the region scoping this request.
20177
+ # @param [String] subnetwork
20178
+ # Name of the Subnetwork resource to update.
20179
+ # @param [Google::Apis::ComputeAlpha::SubnetworksExpandIpCidrRangeRequest] subnetworks_expand_ip_cidr_range_request_object
20180
+ # @param [String] request_id
20181
+ # An optional request ID to identify requests. Specify a unique request ID so
20182
+ # that if you must retry your request, the server will know to ignore the
20183
+ # request if it has already been completed.
20184
+ # For example, consider a situation where you make an initial request and the
20185
+ # request times out. If you make the request again with the same request ID, the
20186
+ # server can check if original operation with the same request ID was received,
20187
+ # and if so, will ignore the second request. This prevents clients from
20188
+ # accidentally creating duplicate commitments.
20189
+ # The request ID must be a valid UUID with the exception that zero UUID is not
20190
+ # supported (00000000-0000-0000-0000-000000000000).
20191
+ # @param [String] fields
20192
+ # Selector specifying which fields to include in a partial response.
20193
+ # @param [String] quota_user
20194
+ # Available to use for quota purposes for server-side applications. Can be any
20195
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
20196
+ # Overrides userIp if both are provided.
20197
+ # @param [String] user_ip
20198
+ # IP address of the site where the request originates. Use this if you want to
20199
+ # enforce per-user limits.
20200
+ # @param [Google::Apis::RequestOptions] options
20201
+ # Request-specific options
20202
+ #
20203
+ # @yield [result, err] Result & error if block supplied
20204
+ # @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
20205
+ # @yieldparam err [StandardError] error object if request failed
20206
+ #
20207
+ # @return [Google::Apis::ComputeAlpha::Operation]
20208
+ #
20209
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
20210
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
20211
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
20212
+ def expand_subnetwork_ip_cidr_range(project, region, subnetwork, subnetworks_expand_ip_cidr_range_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
20213
+ command = make_simple_command(:post, '{project}/regions/{region}/subnetworks/{subnetwork}/expandIpCidrRange', options)
20214
+ command.request_representation = Google::Apis::ComputeAlpha::SubnetworksExpandIpCidrRangeRequest::Representation
20215
+ command.request_object = subnetworks_expand_ip_cidr_range_request_object
20216
+ command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
20217
+ command.response_class = Google::Apis::ComputeAlpha::Operation
20218
+ command.params['project'] = project unless project.nil?
20219
+ command.params['region'] = region unless region.nil?
20220
+ command.params['subnetwork'] = subnetwork unless subnetwork.nil?
20221
+ command.query['requestId'] = request_id unless request_id.nil?
20222
+ command.query['fields'] = fields unless fields.nil?
20223
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
20224
+ command.query['userIp'] = user_ip unless user_ip.nil?
20225
+ execute_or_queue_command(command, &block)
20226
+ end
20227
+
20228
+ # Returns the specified subnetwork. Get a list of available subnetworks list()
20229
+ # request.
20230
+ # @param [String] project
20231
+ # Project ID for this request.
20232
+ # @param [String] region
20233
+ # Name of the region scoping this request.
20234
+ # @param [String] subnetwork
20235
+ # Name of the Subnetwork resource to return.
20236
+ # @param [String] fields
20237
+ # Selector specifying which fields to include in a partial response.
20238
+ # @param [String] quota_user
20239
+ # Available to use for quota purposes for server-side applications. Can be any
20240
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
20241
+ # Overrides userIp if both are provided.
20242
+ # @param [String] user_ip
20243
+ # IP address of the site where the request originates. Use this if you want to
20244
+ # enforce per-user limits.
20245
+ # @param [Google::Apis::RequestOptions] options
20246
+ # Request-specific options
20247
+ #
20248
+ # @yield [result, err] Result & error if block supplied
20249
+ # @yieldparam result [Google::Apis::ComputeAlpha::Subnetwork] parsed result object
20250
+ # @yieldparam err [StandardError] error object if request failed
20251
+ #
20252
+ # @return [Google::Apis::ComputeAlpha::Subnetwork]
20253
+ #
20254
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
20255
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
20256
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
20257
+ def get_subnetwork(project, region, subnetwork, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
20258
+ command = make_simple_command(:get, '{project}/regions/{region}/subnetworks/{subnetwork}', options)
20259
+ command.response_representation = Google::Apis::ComputeAlpha::Subnetwork::Representation
20260
+ command.response_class = Google::Apis::ComputeAlpha::Subnetwork
20261
+ command.params['project'] = project unless project.nil?
20262
+ command.params['region'] = region unless region.nil?
20263
+ command.params['subnetwork'] = subnetwork unless subnetwork.nil?
20264
+ command.query['fields'] = fields unless fields.nil?
20265
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
20266
+ command.query['userIp'] = user_ip unless user_ip.nil?
20267
+ execute_or_queue_command(command, &block)
20268
+ end
20269
+
20270
+ # Gets the access control policy for a resource. May be empty if no such policy
20271
+ # or resource exists.
20272
+ # @param [String] project
20273
+ # Project ID for this request.
20274
+ # @param [String] region
19777
20275
  # The name of the region for this request.
19778
20276
  # @param [String] resource
19779
20277
  # Name of the resource for this request.
@@ -19944,6 +20442,82 @@ module Google
19944
20442
  execute_or_queue_command(command, &block)
19945
20443
  end
19946
20444
 
20445
+ # Retrieves an aggregated list of usable subnetworks.
20446
+ # @param [String] project
20447
+ # Project ID for this request.
20448
+ # @param [String] filter
20449
+ # Sets a filter `expression` for filtering listed resources. Your `expression`
20450
+ # must be in the format: field_name comparison_string literal_string.
20451
+ # The field_name is the name of the field you want to compare. Only atomic field
20452
+ # types are supported (string, number, boolean). The comparison_string must be
20453
+ # either eq (equals) or ne (not equals). The literal_string is the string value
20454
+ # to filter to. The literal value must be valid for the type of field you are
20455
+ # filtering by (string, number, boolean). For string fields, the literal value
20456
+ # is interpreted as a regular expression using RE2 syntax. The literal value
20457
+ # must match the entire field.
20458
+ # For example, to filter for instances that do not have a name of example-
20459
+ # instance, you would use name ne example-instance.
20460
+ # You can filter on nested fields. For example, you could filter on instances
20461
+ # that have set the scheduling.automaticRestart field to true. Use filtering on
20462
+ # nested fields to take advantage of labels to organize and search for results
20463
+ # based on label values.
20464
+ # To filter on multiple expressions, provide each separate expression within
20465
+ # parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us-
20466
+ # central1-f). Multiple expressions are treated as AND expressions, meaning that
20467
+ # resources must match all expressions to pass the filters.
20468
+ # @param [Fixnum] max_results
20469
+ # The maximum number of results per page that should be returned. If the number
20470
+ # of available results is larger than maxResults, Compute Engine returns a
20471
+ # nextPageToken that can be used to get the next page of results in subsequent
20472
+ # list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
20473
+ # @param [String] order_by
20474
+ # Sorts list results by a certain order. By default, results are returned in
20475
+ # alphanumerical order based on the resource name.
20476
+ # You can also sort results in descending order based on the creation timestamp
20477
+ # using orderBy="creationTimestamp desc". This sorts results based on the
20478
+ # creationTimestamp field in reverse chronological order (newest result first).
20479
+ # Use this to sort resources like operations so that the newest operation is
20480
+ # returned first.
20481
+ # Currently, only sorting by name or creationTimestamp desc is supported.
20482
+ # @param [String] page_token
20483
+ # Specifies a page token to use. Set pageToken to the nextPageToken returned by
20484
+ # a previous list request to get the next page of results.
20485
+ # @param [String] fields
20486
+ # Selector specifying which fields to include in a partial response.
20487
+ # @param [String] quota_user
20488
+ # Available to use for quota purposes for server-side applications. Can be any
20489
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
20490
+ # Overrides userIp if both are provided.
20491
+ # @param [String] user_ip
20492
+ # IP address of the site where the request originates. Use this if you want to
20493
+ # enforce per-user limits.
20494
+ # @param [Google::Apis::RequestOptions] options
20495
+ # Request-specific options
20496
+ #
20497
+ # @yield [result, err] Result & error if block supplied
20498
+ # @yieldparam result [Google::Apis::ComputeAlpha::UsableSubnetworksAggregatedList] parsed result object
20499
+ # @yieldparam err [StandardError] error object if request failed
20500
+ #
20501
+ # @return [Google::Apis::ComputeAlpha::UsableSubnetworksAggregatedList]
20502
+ #
20503
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
20504
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
20505
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
20506
+ def list_subnetwork_usable(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
20507
+ command = make_simple_command(:get, '{project}/aggregated/subnetworks/listUsable', options)
20508
+ command.response_representation = Google::Apis::ComputeAlpha::UsableSubnetworksAggregatedList::Representation
20509
+ command.response_class = Google::Apis::ComputeAlpha::UsableSubnetworksAggregatedList
20510
+ command.params['project'] = project unless project.nil?
20511
+ command.query['filter'] = filter unless filter.nil?
20512
+ command.query['maxResults'] = max_results unless max_results.nil?
20513
+ command.query['orderBy'] = order_by unless order_by.nil?
20514
+ command.query['pageToken'] = page_token unless page_token.nil?
20515
+ command.query['fields'] = fields unless fields.nil?
20516
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
20517
+ command.query['userIp'] = user_ip unless user_ip.nil?
20518
+ execute_or_queue_command(command, &block)
20519
+ end
20520
+
19947
20521
  # Patches the specified subnetwork with the data included in the request. Only
19948
20522
  # the following fields within the subnetwork resource can be specified in the
19949
20523
  # request: secondary_ip_range and allow_subnet_cidr_routes_overlap. It is also
@@ -20785,6 +21359,63 @@ module Google
20785
21359
  execute_or_queue_command(command, &block)
20786
21360
  end
20787
21361
 
21362
+ # Sets the SSL policy for TargetHttpsProxy. The SSL policy specifies the server-
21363
+ # side support for SSL features. This affects connections between clients and
21364
+ # the HTTPS proxy load balancer. They do not affect the connection between the
21365
+ # load balancer and the backends.
21366
+ # @param [String] project
21367
+ # Project ID for this request.
21368
+ # @param [String] target_https_proxy
21369
+ # Name of the TargetHttpsProxy resource whose SSL policy is to be set. The name
21370
+ # must be 1-63 characters long, and comply with RFC1035.
21371
+ # @param [Google::Apis::ComputeAlpha::SslPolicyReference] ssl_policy_reference_object
21372
+ # @param [String] request_id
21373
+ # An optional request ID to identify requests. Specify a unique request ID so
21374
+ # that if you must retry your request, the server will know to ignore the
21375
+ # request if it has already been completed.
21376
+ # For example, consider a situation where you make an initial request and the
21377
+ # request times out. If you make the request again with the same request ID, the
21378
+ # server can check if original operation with the same request ID was received,
21379
+ # and if so, will ignore the second request. This prevents clients from
21380
+ # accidentally creating duplicate commitments.
21381
+ # The request ID must be a valid UUID with the exception that zero UUID is not
21382
+ # supported (00000000-0000-0000-0000-000000000000).
21383
+ # @param [String] fields
21384
+ # Selector specifying which fields to include in a partial response.
21385
+ # @param [String] quota_user
21386
+ # Available to use for quota purposes for server-side applications. Can be any
21387
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
21388
+ # Overrides userIp if both are provided.
21389
+ # @param [String] user_ip
21390
+ # IP address of the site where the request originates. Use this if you want to
21391
+ # enforce per-user limits.
21392
+ # @param [Google::Apis::RequestOptions] options
21393
+ # Request-specific options
21394
+ #
21395
+ # @yield [result, err] Result & error if block supplied
21396
+ # @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
21397
+ # @yieldparam err [StandardError] error object if request failed
21398
+ #
21399
+ # @return [Google::Apis::ComputeAlpha::Operation]
21400
+ #
21401
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
21402
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
21403
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
21404
+ def set_target_https_proxy_ssl_policy(project, target_https_proxy, ssl_policy_reference_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
21405
+ command = make_simple_command(:post, '{project}/global/targetHttpsProxies/{targetHttpsProxy}/setSslPolicy', options)
21406
+ command.request_representation = Google::Apis::ComputeAlpha::SslPolicyReference::Representation
21407
+ command.request_object = ssl_policy_reference_object
21408
+ command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
21409
+ command.response_class = Google::Apis::ComputeAlpha::Operation
21410
+ command.params['project'] = project unless project.nil?
21411
+ command.params['targetHttpsProxy'] = target_https_proxy unless target_https_proxy.nil?
21412
+ command.query['requestId'] = request_id unless request_id.nil?
21413
+ command.query['fields'] = fields unless fields.nil?
21414
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
21415
+ command.query['userIp'] = user_ip unless user_ip.nil?
21416
+ execute_or_queue_command(command, &block)
21417
+ end
21418
+
20788
21419
  # Changes the URL map for TargetHttpsProxy.
20789
21420
  # @param [String] project
20790
21421
  # Project ID for this request.
@@ -22280,6 +22911,63 @@ module Google
22280
22911
  execute_or_queue_command(command, &block)
22281
22912
  end
22282
22913
 
22914
+ # Sets the SSL policy for TargetSslProxy. The SSL policy specifies the server-
22915
+ # side support for SSL features. This affects connections between clients and
22916
+ # the SSL proxy load balancer. They do not affect the connection between the
22917
+ # load balancer and the backends.
22918
+ # @param [String] project
22919
+ # Project ID for this request.
22920
+ # @param [String] target_ssl_proxy
22921
+ # Name of the TargetSslProxy resource whose SSL policy is to be set. The name
22922
+ # must be 1-63 characters long, and comply with RFC1035.
22923
+ # @param [Google::Apis::ComputeAlpha::SslPolicyReference] ssl_policy_reference_object
22924
+ # @param [String] request_id
22925
+ # An optional request ID to identify requests. Specify a unique request ID so
22926
+ # that if you must retry your request, the server will know to ignore the
22927
+ # request if it has already been completed.
22928
+ # For example, consider a situation where you make an initial request and the
22929
+ # request times out. If you make the request again with the same request ID, the
22930
+ # server can check if original operation with the same request ID was received,
22931
+ # and if so, will ignore the second request. This prevents clients from
22932
+ # accidentally creating duplicate commitments.
22933
+ # The request ID must be a valid UUID with the exception that zero UUID is not
22934
+ # supported (00000000-0000-0000-0000-000000000000).
22935
+ # @param [String] fields
22936
+ # Selector specifying which fields to include in a partial response.
22937
+ # @param [String] quota_user
22938
+ # Available to use for quota purposes for server-side applications. Can be any
22939
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
22940
+ # Overrides userIp if both are provided.
22941
+ # @param [String] user_ip
22942
+ # IP address of the site where the request originates. Use this if you want to
22943
+ # enforce per-user limits.
22944
+ # @param [Google::Apis::RequestOptions] options
22945
+ # Request-specific options
22946
+ #
22947
+ # @yield [result, err] Result & error if block supplied
22948
+ # @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
22949
+ # @yieldparam err [StandardError] error object if request failed
22950
+ #
22951
+ # @return [Google::Apis::ComputeAlpha::Operation]
22952
+ #
22953
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
22954
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
22955
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
22956
+ def set_target_ssl_proxy_ssl_policy(project, target_ssl_proxy, ssl_policy_reference_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
22957
+ command = make_simple_command(:post, '{project}/global/targetSslProxies/{targetSslProxy}/setSslPolicy', options)
22958
+ command.request_representation = Google::Apis::ComputeAlpha::SslPolicyReference::Representation
22959
+ command.request_object = ssl_policy_reference_object
22960
+ command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
22961
+ command.response_class = Google::Apis::ComputeAlpha::Operation
22962
+ command.params['project'] = project unless project.nil?
22963
+ command.params['targetSslProxy'] = target_ssl_proxy unless target_ssl_proxy.nil?
22964
+ command.query['requestId'] = request_id unless request_id.nil?
22965
+ command.query['fields'] = fields unless fields.nil?
22966
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
22967
+ command.query['userIp'] = user_ip unless user_ip.nil?
22968
+ execute_or_queue_command(command, &block)
22969
+ end
22970
+
22283
22971
  # Returns permissions that a caller has on the specified resource.
22284
22972
  # @param [String] project
22285
22973
  # Project ID for this request.