google-apis-compute_v1 0.79.0 → 0.81.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -114,6 +114,7 @@ module Google
114
114
  # @param [Boolean] return_partial_success
115
115
  # Opt-in for partial success behavior which provides partial results in case of
116
116
  # failure. The default value is false.
117
+ # @param [Fixnum] service_project_number
117
118
  # @param [String] fields
118
119
  # Selector specifying which fields to include in a partial response.
119
120
  # @param [String] quota_user
@@ -133,7 +134,7 @@ module Google
133
134
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
134
135
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
135
136
  # @raise [Google::Apis::AuthorizationError] Authorization is required
136
- def aggregated_accelerator_type_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
137
+ def aggregated_accelerator_type_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, service_project_number: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
137
138
  command = make_simple_command(:get, 'projects/{project}/aggregated/acceleratorTypes', options)
138
139
  command.response_representation = Google::Apis::ComputeV1::AcceleratorTypeAggregatedList::Representation
139
140
  command.response_class = Google::Apis::ComputeV1::AcceleratorTypeAggregatedList
@@ -144,6 +145,7 @@ module Google
144
145
  command.query['orderBy'] = order_by unless order_by.nil?
145
146
  command.query['pageToken'] = page_token unless page_token.nil?
146
147
  command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
148
+ command.query['serviceProjectNumber'] = service_project_number unless service_project_number.nil?
147
149
  command.query['fields'] = fields unless fields.nil?
148
150
  command.query['quotaUser'] = quota_user unless quota_user.nil?
149
151
  command.query['userIp'] = user_ip unless user_ip.nil?
@@ -343,6 +345,7 @@ module Google
343
345
  # @param [Boolean] return_partial_success
344
346
  # Opt-in for partial success behavior which provides partial results in case of
345
347
  # failure. The default value is false.
348
+ # @param [Fixnum] service_project_number
346
349
  # @param [String] fields
347
350
  # Selector specifying which fields to include in a partial response.
348
351
  # @param [String] quota_user
@@ -362,7 +365,7 @@ module Google
362
365
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
363
366
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
364
367
  # @raise [Google::Apis::AuthorizationError] Authorization is required
365
- def list_aggregated_addresses(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
368
+ def list_aggregated_addresses(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, service_project_number: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
366
369
  command = make_simple_command(:get, 'projects/{project}/aggregated/addresses', options)
367
370
  command.response_representation = Google::Apis::ComputeV1::AddressAggregatedList::Representation
368
371
  command.response_class = Google::Apis::ComputeV1::AddressAggregatedList
@@ -373,6 +376,7 @@ module Google
373
376
  command.query['orderBy'] = order_by unless order_by.nil?
374
377
  command.query['pageToken'] = page_token unless page_token.nil?
375
378
  command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
379
+ command.query['serviceProjectNumber'] = service_project_number unless service_project_number.nil?
376
380
  command.query['fields'] = fields unless fields.nil?
377
381
  command.query['quotaUser'] = quota_user unless quota_user.nil?
378
382
  command.query['userIp'] = user_ip unless user_ip.nil?
@@ -779,6 +783,7 @@ module Google
779
783
  # @param [Boolean] return_partial_success
780
784
  # Opt-in for partial success behavior which provides partial results in case of
781
785
  # failure. The default value is false.
786
+ # @param [Fixnum] service_project_number
782
787
  # @param [String] fields
783
788
  # Selector specifying which fields to include in a partial response.
784
789
  # @param [String] quota_user
@@ -798,7 +803,7 @@ module Google
798
803
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
799
804
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
800
805
  # @raise [Google::Apis::AuthorizationError] Authorization is required
801
- def list_aggregated_autoscalers(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
806
+ def list_aggregated_autoscalers(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, service_project_number: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
802
807
  command = make_simple_command(:get, 'projects/{project}/aggregated/autoscalers', options)
803
808
  command.response_representation = Google::Apis::ComputeV1::AutoscalerAggregatedList::Representation
804
809
  command.response_class = Google::Apis::ComputeV1::AutoscalerAggregatedList
@@ -809,6 +814,7 @@ module Google
809
814
  command.query['orderBy'] = order_by unless order_by.nil?
810
815
  command.query['pageToken'] = page_token unless page_token.nil?
811
816
  command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
817
+ command.query['serviceProjectNumber'] = service_project_number unless service_project_number.nil?
812
818
  command.query['fields'] = fields unless fields.nil?
813
819
  command.query['quotaUser'] = quota_user unless quota_user.nil?
814
820
  command.query['userIp'] = user_ip unless user_ip.nil?
@@ -1746,6 +1752,7 @@ module Google
1746
1752
  # @param [Boolean] return_partial_success
1747
1753
  # Opt-in for partial success behavior which provides partial results in case of
1748
1754
  # failure. The default value is false.
1755
+ # @param [Fixnum] service_project_number
1749
1756
  # @param [String] fields
1750
1757
  # Selector specifying which fields to include in a partial response.
1751
1758
  # @param [String] quota_user
@@ -1765,7 +1772,7 @@ module Google
1765
1772
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1766
1773
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1767
1774
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1768
- def aggregated_backend_service_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1775
+ def aggregated_backend_service_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, service_project_number: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1769
1776
  command = make_simple_command(:get, 'projects/{project}/aggregated/backendServices', options)
1770
1777
  command.response_representation = Google::Apis::ComputeV1::BackendServiceAggregatedList::Representation
1771
1778
  command.response_class = Google::Apis::ComputeV1::BackendServiceAggregatedList
@@ -1776,6 +1783,7 @@ module Google
1776
1783
  command.query['orderBy'] = order_by unless order_by.nil?
1777
1784
  command.query['pageToken'] = page_token unless page_token.nil?
1778
1785
  command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
1786
+ command.query['serviceProjectNumber'] = service_project_number unless service_project_number.nil?
1779
1787
  command.query['fields'] = fields unless fields.nil?
1780
1788
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1781
1789
  command.query['userIp'] = user_ip unless user_ip.nil?
@@ -2135,6 +2143,96 @@ module Google
2135
2143
  execute_or_queue_command(command, &block)
2136
2144
  end
2137
2145
 
2146
+ # Retrieves an aggregated list of all usable backend services in the specified
2147
+ # project.
2148
+ # @param [String] project
2149
+ # Project ID for this request.
2150
+ # @param [String] filter
2151
+ # A filter expression that filters resources listed in the response. Most
2152
+ # Compute resources support two types of filter expressions: expressions that
2153
+ # support regular expressions and expressions that follow API improvement
2154
+ # proposal AIP-160. These two types of filter expressions cannot be mixed in one
2155
+ # request. If you want to use AIP-160, your expression must specify the field
2156
+ # name, an operator, and the value that you want to use for filtering. The value
2157
+ # must be a string, a number, or a boolean. The operator must be either `=`, `!=`
2158
+ # , `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute
2159
+ # Engine instances, you can exclude instances named `example-instance` by
2160
+ # specifying `name != example-instance`. The `:*` comparison can be used to test
2161
+ # whether a key has been defined. For example, to find all objects with `owner`
2162
+ # label use: ``` labels.owner:* ``` You can also filter nested fields. For
2163
+ # example, you could specify `scheduling.automaticRestart = false` to include
2164
+ # instances only if they are not scheduled for automatic restarts. You can use
2165
+ # filtering on nested fields to filter based on resource labels. To filter on
2166
+ # multiple expressions, provide each separate expression within parentheses. For
2167
+ # example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel
2168
+ # Skylake") ``` By default, each expression is an `AND` expression. However, you
2169
+ # can include `AND` and `OR` expressions explicitly. For example: ``` (
2170
+ # cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (
2171
+ # scheduling.automaticRestart = true) ``` If you want to use a regular
2172
+ # expression, use the `eq` (equal) or `ne` (not equal) operator against a single
2173
+ # un-parenthesized expression with or without quotes or against multiple
2174
+ # parenthesized expressions. Examples: `fieldname eq unquoted literal` `
2175
+ # fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(
2176
+ # fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is
2177
+ # interpreted as a regular expression using Google RE2 library syntax. The
2178
+ # literal value must match the entire field. For example, to filter for
2179
+ # instances that do not end with name "instance", you would use `name ne .*
2180
+ # instance`. You cannot combine constraints on multiple fields using regular
2181
+ # expressions.
2182
+ # @param [Fixnum] max_results
2183
+ # The maximum number of results per page that should be returned. If the number
2184
+ # of available results is larger than `maxResults`, Compute Engine returns a `
2185
+ # nextPageToken` that can be used to get the next page of results in subsequent
2186
+ # list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
2187
+ # @param [String] order_by
2188
+ # Sorts list results by a certain order. By default, results are returned in
2189
+ # alphanumerical order based on the resource name. You can also sort results in
2190
+ # descending order based on the creation timestamp using `orderBy="
2191
+ # creationTimestamp desc"`. This sorts results based on the `creationTimestamp`
2192
+ # field in reverse chronological order (newest result first). Use this to sort
2193
+ # resources like operations so that the newest operation is returned first.
2194
+ # Currently, only sorting by `name` or `creationTimestamp desc` is supported.
2195
+ # @param [String] page_token
2196
+ # Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
2197
+ # by a previous list request to get the next page of results.
2198
+ # @param [Boolean] return_partial_success
2199
+ # Opt-in for partial success behavior which provides partial results in case of
2200
+ # failure. The default value is false.
2201
+ # @param [String] fields
2202
+ # Selector specifying which fields to include in a partial response.
2203
+ # @param [String] quota_user
2204
+ # Available to use for quota purposes for server-side applications. Can be any
2205
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2206
+ # @param [String] user_ip
2207
+ # Legacy name for parameter that has been superseded by `quotaUser`.
2208
+ # @param [Google::Apis::RequestOptions] options
2209
+ # Request-specific options
2210
+ #
2211
+ # @yield [result, err] Result & error if block supplied
2212
+ # @yieldparam result [Google::Apis::ComputeV1::BackendServiceListUsable] parsed result object
2213
+ # @yieldparam err [StandardError] error object if request failed
2214
+ #
2215
+ # @return [Google::Apis::ComputeV1::BackendServiceListUsable]
2216
+ #
2217
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2218
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2219
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2220
+ def list_backend_service_usable(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2221
+ command = make_simple_command(:get, 'projects/{project}/global/backendServices/listUsable', options)
2222
+ command.response_representation = Google::Apis::ComputeV1::BackendServiceListUsable::Representation
2223
+ command.response_class = Google::Apis::ComputeV1::BackendServiceListUsable
2224
+ command.params['project'] = project unless project.nil?
2225
+ command.query['filter'] = filter unless filter.nil?
2226
+ command.query['maxResults'] = max_results unless max_results.nil?
2227
+ command.query['orderBy'] = order_by unless order_by.nil?
2228
+ command.query['pageToken'] = page_token unless page_token.nil?
2229
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
2230
+ command.query['fields'] = fields unless fields.nil?
2231
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2232
+ command.query['userIp'] = user_ip unless user_ip.nil?
2233
+ execute_or_queue_command(command, &block)
2234
+ end
2235
+
2138
2236
  # Patches the specified BackendService resource with the data included in the
2139
2237
  # request. For more information, see Backend services overview. This method
2140
2238
  # supports PATCH semantics and uses the JSON merge patch format and processing
@@ -2443,6 +2541,7 @@ module Google
2443
2541
  # @param [Boolean] return_partial_success
2444
2542
  # Opt-in for partial success behavior which provides partial results in case of
2445
2543
  # failure. The default value is false.
2544
+ # @param [Fixnum] service_project_number
2446
2545
  # @param [String] fields
2447
2546
  # Selector specifying which fields to include in a partial response.
2448
2547
  # @param [String] quota_user
@@ -2462,7 +2561,7 @@ module Google
2462
2561
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2463
2562
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2464
2563
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2465
- def list_aggregated_disk_types(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2564
+ def list_aggregated_disk_types(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, service_project_number: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2466
2565
  command = make_simple_command(:get, 'projects/{project}/aggregated/diskTypes', options)
2467
2566
  command.response_representation = Google::Apis::ComputeV1::DiskTypeAggregatedList::Representation
2468
2567
  command.response_class = Google::Apis::ComputeV1::DiskTypeAggregatedList
@@ -2473,6 +2572,7 @@ module Google
2473
2572
  command.query['orderBy'] = order_by unless order_by.nil?
2474
2573
  command.query['pageToken'] = page_token unless page_token.nil?
2475
2574
  command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
2575
+ command.query['serviceProjectNumber'] = service_project_number unless service_project_number.nil?
2476
2576
  command.query['fields'] = fields unless fields.nil?
2477
2577
  command.query['quotaUser'] = quota_user unless quota_user.nil?
2478
2578
  command.query['userIp'] = user_ip unless user_ip.nil?
@@ -2725,6 +2825,7 @@ module Google
2725
2825
  # @param [Boolean] return_partial_success
2726
2826
  # Opt-in for partial success behavior which provides partial results in case of
2727
2827
  # failure. The default value is false.
2828
+ # @param [Fixnum] service_project_number
2728
2829
  # @param [String] fields
2729
2830
  # Selector specifying which fields to include in a partial response.
2730
2831
  # @param [String] quota_user
@@ -2744,7 +2845,7 @@ module Google
2744
2845
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2745
2846
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2746
2847
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2747
- def list_aggregated_disk(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2848
+ def list_aggregated_disk(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, service_project_number: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2748
2849
  command = make_simple_command(:get, 'projects/{project}/aggregated/disks', options)
2749
2850
  command.response_representation = Google::Apis::ComputeV1::DiskAggregatedList::Representation
2750
2851
  command.response_class = Google::Apis::ComputeV1::DiskAggregatedList
@@ -2755,6 +2856,7 @@ module Google
2755
2856
  command.query['orderBy'] = order_by unless order_by.nil?
2756
2857
  command.query['pageToken'] = page_token unless page_token.nil?
2757
2858
  command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
2859
+ command.query['serviceProjectNumber'] = service_project_number unless service_project_number.nil?
2758
2860
  command.query['fields'] = fields unless fields.nil?
2759
2861
  command.query['quotaUser'] = quota_user unless quota_user.nil?
2760
2862
  command.query['userIp'] = user_ip unless user_ip.nil?
@@ -5121,6 +5223,7 @@ module Google
5121
5223
  # @param [Boolean] return_partial_success
5122
5224
  # Opt-in for partial success behavior which provides partial results in case of
5123
5225
  # failure. The default value is false.
5226
+ # @param [Fixnum] service_project_number
5124
5227
  # @param [String] fields
5125
5228
  # Selector specifying which fields to include in a partial response.
5126
5229
  # @param [String] quota_user
@@ -5140,7 +5243,7 @@ module Google
5140
5243
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
5141
5244
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
5142
5245
  # @raise [Google::Apis::AuthorizationError] Authorization is required
5143
- def list_aggregated_forwarding_rules(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
5246
+ def list_aggregated_forwarding_rules(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, service_project_number: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
5144
5247
  command = make_simple_command(:get, 'projects/{project}/aggregated/forwardingRules', options)
5145
5248
  command.response_representation = Google::Apis::ComputeV1::ForwardingRuleAggregatedList::Representation
5146
5249
  command.response_class = Google::Apis::ComputeV1::ForwardingRuleAggregatedList
@@ -5151,6 +5254,7 @@ module Google
5151
5254
  command.query['orderBy'] = order_by unless order_by.nil?
5152
5255
  command.query['pageToken'] = page_token unless page_token.nil?
5153
5256
  command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
5257
+ command.query['serviceProjectNumber'] = service_project_number unless service_project_number.nil?
5154
5258
  command.query['fields'] = fields unless fields.nil?
5155
5259
  command.query['quotaUser'] = quota_user unless quota_user.nil?
5156
5260
  command.query['userIp'] = user_ip unless user_ip.nil?
@@ -6707,6 +6811,7 @@ module Google
6707
6811
  # @param [Boolean] return_partial_success
6708
6812
  # Opt-in for partial success behavior which provides partial results in case of
6709
6813
  # failure. The default value is false.
6814
+ # @param [Fixnum] service_project_number
6710
6815
  # @param [String] fields
6711
6816
  # Selector specifying which fields to include in a partial response.
6712
6817
  # @param [String] quota_user
@@ -6726,7 +6831,7 @@ module Google
6726
6831
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
6727
6832
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
6728
6833
  # @raise [Google::Apis::AuthorizationError] Authorization is required
6729
- def list_aggregated_global_operation(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
6834
+ def list_aggregated_global_operation(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, service_project_number: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
6730
6835
  command = make_simple_command(:get, 'projects/{project}/aggregated/operations', options)
6731
6836
  command.response_representation = Google::Apis::ComputeV1::OperationAggregatedList::Representation
6732
6837
  command.response_class = Google::Apis::ComputeV1::OperationAggregatedList
@@ -6737,6 +6842,7 @@ module Google
6737
6842
  command.query['orderBy'] = order_by unless order_by.nil?
6738
6843
  command.query['pageToken'] = page_token unless page_token.nil?
6739
6844
  command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
6845
+ command.query['serviceProjectNumber'] = service_project_number unless service_project_number.nil?
6740
6846
  command.query['fields'] = fields unless fields.nil?
6741
6847
  command.query['quotaUser'] = quota_user unless quota_user.nil?
6742
6848
  command.query['userIp'] = user_ip unless user_ip.nil?
@@ -7442,6 +7548,7 @@ module Google
7442
7548
  # @param [Boolean] return_partial_success
7443
7549
  # Opt-in for partial success behavior which provides partial results in case of
7444
7550
  # failure. The default value is false.
7551
+ # @param [Fixnum] service_project_number
7445
7552
  # @param [String] fields
7446
7553
  # Selector specifying which fields to include in a partial response.
7447
7554
  # @param [String] quota_user
@@ -7461,7 +7568,7 @@ module Google
7461
7568
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
7462
7569
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
7463
7570
  # @raise [Google::Apis::AuthorizationError] Authorization is required
7464
- def aggregated_health_check_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
7571
+ def aggregated_health_check_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, service_project_number: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
7465
7572
  command = make_simple_command(:get, 'projects/{project}/aggregated/healthChecks', options)
7466
7573
  command.response_representation = Google::Apis::ComputeV1::HealthChecksAggregatedList::Representation
7467
7574
  command.response_class = Google::Apis::ComputeV1::HealthChecksAggregatedList
@@ -7472,6 +7579,7 @@ module Google
7472
7579
  command.query['orderBy'] = order_by unless order_by.nil?
7473
7580
  command.query['pageToken'] = page_token unless page_token.nil?
7474
7581
  command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
7582
+ command.query['serviceProjectNumber'] = service_project_number unless service_project_number.nil?
7475
7583
  command.query['fields'] = fields unless fields.nil?
7476
7584
  command.query['quotaUser'] = quota_user unless quota_user.nil?
7477
7585
  command.query['userIp'] = user_ip unless user_ip.nil?
@@ -9142,6 +9250,7 @@ module Google
9142
9250
  # @param [Boolean] return_partial_success
9143
9251
  # Opt-in for partial success behavior which provides partial results in case of
9144
9252
  # failure. The default value is false.
9253
+ # @param [Fixnum] service_project_number
9145
9254
  # @param [String] fields
9146
9255
  # Selector specifying which fields to include in a partial response.
9147
9256
  # @param [String] quota_user
@@ -9161,7 +9270,7 @@ module Google
9161
9270
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
9162
9271
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
9163
9272
  # @raise [Google::Apis::AuthorizationError] Authorization is required
9164
- def list_aggregated_instance_group_managers(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
9273
+ def list_aggregated_instance_group_managers(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, service_project_number: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
9165
9274
  command = make_simple_command(:get, 'projects/{project}/aggregated/instanceGroupManagers', options)
9166
9275
  command.response_representation = Google::Apis::ComputeV1::InstanceGroupManagerAggregatedList::Representation
9167
9276
  command.response_class = Google::Apis::ComputeV1::InstanceGroupManagerAggregatedList
@@ -9172,6 +9281,7 @@ module Google
9172
9281
  command.query['orderBy'] = order_by unless order_by.nil?
9173
9282
  command.query['pageToken'] = page_token unless page_token.nil?
9174
9283
  command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
9284
+ command.query['serviceProjectNumber'] = service_project_number unless service_project_number.nil?
9175
9285
  command.query['fields'] = fields unless fields.nil?
9176
9286
  command.query['quotaUser'] = quota_user unless quota_user.nil?
9177
9287
  command.query['userIp'] = user_ip unless user_ip.nil?
@@ -10459,6 +10569,7 @@ module Google
10459
10569
  # @param [Boolean] return_partial_success
10460
10570
  # Opt-in for partial success behavior which provides partial results in case of
10461
10571
  # failure. The default value is false.
10572
+ # @param [Fixnum] service_project_number
10462
10573
  # @param [String] fields
10463
10574
  # Selector specifying which fields to include in a partial response.
10464
10575
  # @param [String] quota_user
@@ -10478,7 +10589,7 @@ module Google
10478
10589
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
10479
10590
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
10480
10591
  # @raise [Google::Apis::AuthorizationError] Authorization is required
10481
- def list_aggregated_instance_groups(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
10592
+ def list_aggregated_instance_groups(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, service_project_number: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
10482
10593
  command = make_simple_command(:get, 'projects/{project}/aggregated/instanceGroups', options)
10483
10594
  command.response_representation = Google::Apis::ComputeV1::InstanceGroupAggregatedList::Representation
10484
10595
  command.response_class = Google::Apis::ComputeV1::InstanceGroupAggregatedList
@@ -10489,6 +10600,7 @@ module Google
10489
10600
  command.query['orderBy'] = order_by unless order_by.nil?
10490
10601
  command.query['pageToken'] = page_token unless page_token.nil?
10491
10602
  command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
10603
+ command.query['serviceProjectNumber'] = service_project_number unless service_project_number.nil?
10492
10604
  command.query['fields'] = fields unless fields.nil?
10493
10605
  command.query['quotaUser'] = quota_user unless quota_user.nil?
10494
10606
  command.query['userIp'] = user_ip unless user_ip.nil?
@@ -11005,6 +11117,7 @@ module Google
11005
11117
  # @param [Boolean] return_partial_success
11006
11118
  # Opt-in for partial success behavior which provides partial results in case of
11007
11119
  # failure. The default value is false.
11120
+ # @param [Fixnum] service_project_number
11008
11121
  # @param [String] fields
11009
11122
  # Selector specifying which fields to include in a partial response.
11010
11123
  # @param [String] quota_user
@@ -11024,7 +11137,7 @@ module Google
11024
11137
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
11025
11138
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
11026
11139
  # @raise [Google::Apis::AuthorizationError] Authorization is required
11027
- def aggregated_instance_template_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
11140
+ def aggregated_instance_template_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, service_project_number: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
11028
11141
  command = make_simple_command(:get, 'projects/{project}/aggregated/instanceTemplates', options)
11029
11142
  command.response_representation = Google::Apis::ComputeV1::InstanceTemplateAggregatedList::Representation
11030
11143
  command.response_class = Google::Apis::ComputeV1::InstanceTemplateAggregatedList
@@ -11035,6 +11148,7 @@ module Google
11035
11148
  command.query['orderBy'] = order_by unless order_by.nil?
11036
11149
  command.query['pageToken'] = page_token unless page_token.nil?
11037
11150
  command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
11151
+ command.query['serviceProjectNumber'] = service_project_number unless service_project_number.nil?
11038
11152
  command.query['fields'] = fields unless fields.nil?
11039
11153
  command.query['quotaUser'] = quota_user unless quota_user.nil?
11040
11154
  command.query['userIp'] = user_ip unless user_ip.nil?
@@ -11559,6 +11673,7 @@ module Google
11559
11673
  # @param [Boolean] return_partial_success
11560
11674
  # Opt-in for partial success behavior which provides partial results in case of
11561
11675
  # failure. The default value is false.
11676
+ # @param [Fixnum] service_project_number
11562
11677
  # @param [String] fields
11563
11678
  # Selector specifying which fields to include in a partial response.
11564
11679
  # @param [String] quota_user
@@ -11578,7 +11693,7 @@ module Google
11578
11693
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
11579
11694
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
11580
11695
  # @raise [Google::Apis::AuthorizationError] Authorization is required
11581
- def list_aggregated_instances(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
11696
+ def list_aggregated_instances(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, service_project_number: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
11582
11697
  command = make_simple_command(:get, 'projects/{project}/aggregated/instances', options)
11583
11698
  command.response_representation = Google::Apis::ComputeV1::InstanceAggregatedList::Representation
11584
11699
  command.response_class = Google::Apis::ComputeV1::InstanceAggregatedList
@@ -11589,6 +11704,7 @@ module Google
11589
11704
  command.query['orderBy'] = order_by unless order_by.nil?
11590
11705
  command.query['pageToken'] = page_token unless page_token.nil?
11591
11706
  command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
11707
+ command.query['serviceProjectNumber'] = service_project_number unless service_project_number.nil?
11592
11708
  command.query['fields'] = fields unless fields.nil?
11593
11709
  command.query['quotaUser'] = quota_user unless quota_user.nil?
11594
11710
  command.query['userIp'] = user_ip unless user_ip.nil?
@@ -14039,6 +14155,7 @@ module Google
14039
14155
  # @param [Boolean] return_partial_success
14040
14156
  # Opt-in for partial success behavior which provides partial results in case of
14041
14157
  # failure. The default value is false.
14158
+ # @param [Fixnum] service_project_number
14042
14159
  # @param [String] fields
14043
14160
  # Selector specifying which fields to include in a partial response.
14044
14161
  # @param [String] quota_user
@@ -14058,7 +14175,7 @@ module Google
14058
14175
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
14059
14176
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
14060
14177
  # @raise [Google::Apis::AuthorizationError] Authorization is required
14061
- def aggregated_interconnect_attachment_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
14178
+ def aggregated_interconnect_attachment_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, service_project_number: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
14062
14179
  command = make_simple_command(:get, 'projects/{project}/aggregated/interconnectAttachments', options)
14063
14180
  command.response_representation = Google::Apis::ComputeV1::InterconnectAttachmentAggregatedList::Representation
14064
14181
  command.response_class = Google::Apis::ComputeV1::InterconnectAttachmentAggregatedList
@@ -14069,6 +14186,7 @@ module Google
14069
14186
  command.query['orderBy'] = order_by unless order_by.nil?
14070
14187
  command.query['pageToken'] = page_token unless page_token.nil?
14071
14188
  command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
14189
+ command.query['serviceProjectNumber'] = service_project_number unless service_project_number.nil?
14072
14190
  command.query['fields'] = fields unless fields.nil?
14073
14191
  command.query['quotaUser'] = quota_user unless quota_user.nil?
14074
14192
  command.query['userIp'] = user_ip unless user_ip.nil?
@@ -14794,6 +14912,42 @@ module Google
14794
14912
  execute_or_queue_command(command, &block)
14795
14913
  end
14796
14914
 
14915
+ # Returns the interconnectMacsecConfig for the specified Interconnect.
14916
+ # @param [String] project
14917
+ # Project ID for this request.
14918
+ # @param [String] interconnect
14919
+ # Name of the interconnect resource to query.
14920
+ # @param [String] fields
14921
+ # Selector specifying which fields to include in a partial response.
14922
+ # @param [String] quota_user
14923
+ # Available to use for quota purposes for server-side applications. Can be any
14924
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
14925
+ # @param [String] user_ip
14926
+ # Legacy name for parameter that has been superseded by `quotaUser`.
14927
+ # @param [Google::Apis::RequestOptions] options
14928
+ # Request-specific options
14929
+ #
14930
+ # @yield [result, err] Result & error if block supplied
14931
+ # @yieldparam result [Google::Apis::ComputeV1::InterconnectsGetMacsecConfigResponse] parsed result object
14932
+ # @yieldparam err [StandardError] error object if request failed
14933
+ #
14934
+ # @return [Google::Apis::ComputeV1::InterconnectsGetMacsecConfigResponse]
14935
+ #
14936
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
14937
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
14938
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
14939
+ def get_interconnect_macsec_config(project, interconnect, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
14940
+ command = make_simple_command(:get, 'projects/{project}/global/interconnects/{interconnect}/getMacsecConfig', options)
14941
+ command.response_representation = Google::Apis::ComputeV1::InterconnectsGetMacsecConfigResponse::Representation
14942
+ command.response_class = Google::Apis::ComputeV1::InterconnectsGetMacsecConfigResponse
14943
+ command.params['project'] = project unless project.nil?
14944
+ command.params['interconnect'] = interconnect unless interconnect.nil?
14945
+ command.query['fields'] = fields unless fields.nil?
14946
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
14947
+ command.query['userIp'] = user_ip unless user_ip.nil?
14948
+ execute_or_queue_command(command, &block)
14949
+ end
14950
+
14797
14951
  # Creates an Interconnect in the specified project using the data included in
14798
14952
  # the request.
14799
14953
  # @param [String] project
@@ -15863,6 +16017,7 @@ module Google
15863
16017
  # @param [Boolean] return_partial_success
15864
16018
  # Opt-in for partial success behavior which provides partial results in case of
15865
16019
  # failure. The default value is false.
16020
+ # @param [Fixnum] service_project_number
15866
16021
  # @param [String] fields
15867
16022
  # Selector specifying which fields to include in a partial response.
15868
16023
  # @param [String] quota_user
@@ -15882,7 +16037,7 @@ module Google
15882
16037
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
15883
16038
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
15884
16039
  # @raise [Google::Apis::AuthorizationError] Authorization is required
15885
- def list_aggregated_machine_types(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
16040
+ def list_aggregated_machine_types(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, service_project_number: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
15886
16041
  command = make_simple_command(:get, 'projects/{project}/aggregated/machineTypes', options)
15887
16042
  command.response_representation = Google::Apis::ComputeV1::MachineTypeAggregatedList::Representation
15888
16043
  command.response_class = Google::Apis::ComputeV1::MachineTypeAggregatedList
@@ -15893,6 +16048,7 @@ module Google
15893
16048
  command.query['orderBy'] = order_by unless order_by.nil?
15894
16049
  command.query['pageToken'] = page_token unless page_token.nil?
15895
16050
  command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
16051
+ command.query['serviceProjectNumber'] = service_project_number unless service_project_number.nil?
15896
16052
  command.query['fields'] = fields unless fields.nil?
15897
16053
  command.query['quotaUser'] = quota_user unless quota_user.nil?
15898
16054
  command.query['userIp'] = user_ip unless user_ip.nil?
@@ -16092,6 +16248,7 @@ module Google
16092
16248
  # @param [Boolean] return_partial_success
16093
16249
  # Opt-in for partial success behavior which provides partial results in case of
16094
16250
  # failure. The default value is false.
16251
+ # @param [Fixnum] service_project_number
16095
16252
  # @param [String] fields
16096
16253
  # Selector specifying which fields to include in a partial response.
16097
16254
  # @param [String] quota_user
@@ -16111,7 +16268,7 @@ module Google
16111
16268
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
16112
16269
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
16113
16270
  # @raise [Google::Apis::AuthorizationError] Authorization is required
16114
- def aggregated_network_attachment_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
16271
+ def aggregated_network_attachment_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, service_project_number: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
16115
16272
  command = make_simple_command(:get, 'projects/{project}/aggregated/networkAttachments', options)
16116
16273
  command.response_representation = Google::Apis::ComputeV1::NetworkAttachmentAggregatedList::Representation
16117
16274
  command.response_class = Google::Apis::ComputeV1::NetworkAttachmentAggregatedList
@@ -16122,6 +16279,7 @@ module Google
16122
16279
  command.query['orderBy'] = order_by unless order_by.nil?
16123
16280
  command.query['pageToken'] = page_token unless page_token.nil?
16124
16281
  command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
16282
+ command.query['serviceProjectNumber'] = service_project_number unless service_project_number.nil?
16125
16283
  command.query['fields'] = fields unless fields.nil?
16126
16284
  command.query['quotaUser'] = quota_user unless quota_user.nil?
16127
16285
  command.query['userIp'] = user_ip unless user_ip.nil?
@@ -16552,6 +16710,7 @@ module Google
16552
16710
  # @param [Boolean] return_partial_success
16553
16711
  # Opt-in for partial success behavior which provides partial results in case of
16554
16712
  # failure. The default value is false.
16713
+ # @param [Fixnum] service_project_number
16555
16714
  # @param [String] fields
16556
16715
  # Selector specifying which fields to include in a partial response.
16557
16716
  # @param [String] quota_user
@@ -16571,7 +16730,7 @@ module Google
16571
16730
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
16572
16731
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
16573
16732
  # @raise [Google::Apis::AuthorizationError] Authorization is required
16574
- def aggregated_network_edge_security_service_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
16733
+ def aggregated_network_edge_security_service_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, service_project_number: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
16575
16734
  command = make_simple_command(:get, 'projects/{project}/aggregated/networkEdgeSecurityServices', options)
16576
16735
  command.response_representation = Google::Apis::ComputeV1::NetworkEdgeSecurityServiceAggregatedList::Representation
16577
16736
  command.response_class = Google::Apis::ComputeV1::NetworkEdgeSecurityServiceAggregatedList
@@ -16582,6 +16741,7 @@ module Google
16582
16741
  command.query['orderBy'] = order_by unless order_by.nil?
16583
16742
  command.query['pageToken'] = page_token unless page_token.nil?
16584
16743
  command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
16744
+ command.query['serviceProjectNumber'] = service_project_number unless service_project_number.nil?
16585
16745
  command.query['fields'] = fields unless fields.nil?
16586
16746
  command.query['quotaUser'] = quota_user unless quota_user.nil?
16587
16747
  command.query['userIp'] = user_ip unless user_ip.nil?
@@ -16850,6 +17010,7 @@ module Google
16850
17010
  # @param [Boolean] return_partial_success
16851
17011
  # Opt-in for partial success behavior which provides partial results in case of
16852
17012
  # failure. The default value is false.
17013
+ # @param [Fixnum] service_project_number
16853
17014
  # @param [String] fields
16854
17015
  # Selector specifying which fields to include in a partial response.
16855
17016
  # @param [String] quota_user
@@ -16869,7 +17030,7 @@ module Google
16869
17030
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
16870
17031
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
16871
17032
  # @raise [Google::Apis::AuthorizationError] Authorization is required
16872
- def aggregated_network_endpoint_group_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
17033
+ def aggregated_network_endpoint_group_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, service_project_number: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
16873
17034
  command = make_simple_command(:get, 'projects/{project}/aggregated/networkEndpointGroups', options)
16874
17035
  command.response_representation = Google::Apis::ComputeV1::NetworkEndpointGroupAggregatedList::Representation
16875
17036
  command.response_class = Google::Apis::ComputeV1::NetworkEndpointGroupAggregatedList
@@ -16880,6 +17041,7 @@ module Google
16880
17041
  command.query['orderBy'] = order_by unless order_by.nil?
16881
17042
  command.query['pageToken'] = page_token unless page_token.nil?
16882
17043
  command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
17044
+ command.query['serviceProjectNumber'] = service_project_number unless service_project_number.nil?
16883
17045
  command.query['fields'] = fields unless fields.nil?
16884
17046
  command.query['quotaUser'] = quota_user unless quota_user.nil?
16885
17047
  command.query['userIp'] = user_ip unless user_ip.nil?
@@ -18885,6 +19047,7 @@ module Google
18885
19047
  # @param [Boolean] return_partial_success
18886
19048
  # Opt-in for partial success behavior which provides partial results in case of
18887
19049
  # failure. The default value is false.
19050
+ # @param [Fixnum] service_project_number
18888
19051
  # @param [String] fields
18889
19052
  # Selector specifying which fields to include in a partial response.
18890
19053
  # @param [String] quota_user
@@ -18904,7 +19067,7 @@ module Google
18904
19067
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
18905
19068
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
18906
19069
  # @raise [Google::Apis::AuthorizationError] Authorization is required
18907
- def aggregated_node_group_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
19070
+ def aggregated_node_group_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, service_project_number: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
18908
19071
  command = make_simple_command(:get, 'projects/{project}/aggregated/nodeGroups', options)
18909
19072
  command.response_representation = Google::Apis::ComputeV1::NodeGroupAggregatedList::Representation
18910
19073
  command.response_class = Google::Apis::ComputeV1::NodeGroupAggregatedList
@@ -18915,6 +19078,7 @@ module Google
18915
19078
  command.query['orderBy'] = order_by unless order_by.nil?
18916
19079
  command.query['pageToken'] = page_token unless page_token.nil?
18917
19080
  command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
19081
+ command.query['serviceProjectNumber'] = service_project_number unless service_project_number.nil?
18918
19082
  command.query['fields'] = fields unless fields.nil?
18919
19083
  command.query['quotaUser'] = quota_user unless quota_user.nil?
18920
19084
  command.query['userIp'] = user_ip unless user_ip.nil?
@@ -19656,6 +19820,7 @@ module Google
19656
19820
  # @param [Boolean] return_partial_success
19657
19821
  # Opt-in for partial success behavior which provides partial results in case of
19658
19822
  # failure. The default value is false.
19823
+ # @param [Fixnum] service_project_number
19659
19824
  # @param [String] fields
19660
19825
  # Selector specifying which fields to include in a partial response.
19661
19826
  # @param [String] quota_user
@@ -19675,7 +19840,7 @@ module Google
19675
19840
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
19676
19841
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
19677
19842
  # @raise [Google::Apis::AuthorizationError] Authorization is required
19678
- def aggregated_node_template_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
19843
+ def aggregated_node_template_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, service_project_number: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
19679
19844
  command = make_simple_command(:get, 'projects/{project}/aggregated/nodeTemplates', options)
19680
19845
  command.response_representation = Google::Apis::ComputeV1::NodeTemplateAggregatedList::Representation
19681
19846
  command.response_class = Google::Apis::ComputeV1::NodeTemplateAggregatedList
@@ -19686,6 +19851,7 @@ module Google
19686
19851
  command.query['orderBy'] = order_by unless order_by.nil?
19687
19852
  command.query['pageToken'] = page_token unless page_token.nil?
19688
19853
  command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
19854
+ command.query['serviceProjectNumber'] = service_project_number unless service_project_number.nil?
19689
19855
  command.query['fields'] = fields unless fields.nil?
19690
19856
  command.query['quotaUser'] = quota_user unless quota_user.nil?
19691
19857
  command.query['userIp'] = user_ip unless user_ip.nil?
@@ -20113,6 +20279,7 @@ module Google
20113
20279
  # @param [Boolean] return_partial_success
20114
20280
  # Opt-in for partial success behavior which provides partial results in case of
20115
20281
  # failure. The default value is false.
20282
+ # @param [Fixnum] service_project_number
20116
20283
  # @param [String] fields
20117
20284
  # Selector specifying which fields to include in a partial response.
20118
20285
  # @param [String] quota_user
@@ -20132,7 +20299,7 @@ module Google
20132
20299
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
20133
20300
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
20134
20301
  # @raise [Google::Apis::AuthorizationError] Authorization is required
20135
- def aggregated_node_type_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
20302
+ def aggregated_node_type_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, service_project_number: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
20136
20303
  command = make_simple_command(:get, 'projects/{project}/aggregated/nodeTypes', options)
20137
20304
  command.response_representation = Google::Apis::ComputeV1::NodeTypeAggregatedList::Representation
20138
20305
  command.response_class = Google::Apis::ComputeV1::NodeTypeAggregatedList
@@ -20143,6 +20310,7 @@ module Google
20143
20310
  command.query['orderBy'] = order_by unless order_by.nil?
20144
20311
  command.query['pageToken'] = page_token unless page_token.nil?
20145
20312
  command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
20313
+ command.query['serviceProjectNumber'] = service_project_number unless service_project_number.nil?
20146
20314
  command.query['fields'] = fields unless fields.nil?
20147
20315
  command.query['quotaUser'] = quota_user unless quota_user.nil?
20148
20316
  command.query['userIp'] = user_ip unless user_ip.nil?
@@ -20341,6 +20509,7 @@ module Google
20341
20509
  # @param [Boolean] return_partial_success
20342
20510
  # Opt-in for partial success behavior which provides partial results in case of
20343
20511
  # failure. The default value is false.
20512
+ # @param [Fixnum] service_project_number
20344
20513
  # @param [String] fields
20345
20514
  # Selector specifying which fields to include in a partial response.
20346
20515
  # @param [String] quota_user
@@ -20360,7 +20529,7 @@ module Google
20360
20529
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
20361
20530
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
20362
20531
  # @raise [Google::Apis::AuthorizationError] Authorization is required
20363
- def aggregated_packet_mirroring_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
20532
+ def aggregated_packet_mirroring_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, service_project_number: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
20364
20533
  command = make_simple_command(:get, 'projects/{project}/aggregated/packetMirrorings', options)
20365
20534
  command.response_representation = Google::Apis::ComputeV1::PacketMirroringAggregatedList::Representation
20366
20535
  command.response_class = Google::Apis::ComputeV1::PacketMirroringAggregatedList
@@ -20371,6 +20540,7 @@ module Google
20371
20540
  command.query['orderBy'] = order_by unless order_by.nil?
20372
20541
  command.query['pageToken'] = page_token unless page_token.nil?
20373
20542
  command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
20543
+ command.query['serviceProjectNumber'] = service_project_number unless service_project_number.nil?
20374
20544
  command.query['fields'] = fields unless fields.nil?
20375
20545
  command.query['quotaUser'] = quota_user unless quota_user.nil?
20376
20546
  command.query['userIp'] = user_ip unless user_ip.nil?
@@ -21726,6 +21896,7 @@ module Google
21726
21896
  # @param [Boolean] return_partial_success
21727
21897
  # Opt-in for partial success behavior which provides partial results in case of
21728
21898
  # failure. The default value is false.
21899
+ # @param [Fixnum] service_project_number
21729
21900
  # @param [String] fields
21730
21901
  # Selector specifying which fields to include in a partial response.
21731
21902
  # @param [String] quota_user
@@ -21745,7 +21916,7 @@ module Google
21745
21916
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
21746
21917
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
21747
21918
  # @raise [Google::Apis::AuthorizationError] Authorization is required
21748
- def aggregated_public_delegated_prefix_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
21919
+ def aggregated_public_delegated_prefix_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, service_project_number: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
21749
21920
  command = make_simple_command(:get, 'projects/{project}/aggregated/publicDelegatedPrefixes', options)
21750
21921
  command.response_representation = Google::Apis::ComputeV1::PublicDelegatedPrefixAggregatedList::Representation
21751
21922
  command.response_class = Google::Apis::ComputeV1::PublicDelegatedPrefixAggregatedList
@@ -21756,6 +21927,7 @@ module Google
21756
21927
  command.query['orderBy'] = order_by unless order_by.nil?
21757
21928
  command.query['pageToken'] = page_token unless page_token.nil?
21758
21929
  command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
21930
+ command.query['serviceProjectNumber'] = service_project_number unless service_project_number.nil?
21759
21931
  command.query['fields'] = fields unless fields.nil?
21760
21932
  command.query['quotaUser'] = quota_user unless quota_user.nil?
21761
21933
  command.query['userIp'] = user_ip unless user_ip.nil?
@@ -22708,6 +22880,100 @@ module Google
22708
22880
  execute_or_queue_command(command, &block)
22709
22881
  end
22710
22882
 
22883
+ # Retrieves an aggregated list of all usable backend services in the specified
22884
+ # project in the given region.
22885
+ # @param [String] project
22886
+ # Project ID for this request.
22887
+ # @param [String] region
22888
+ # Name of the region scoping this request. It must be a string that meets the
22889
+ # requirements in RFC1035.
22890
+ # @param [String] filter
22891
+ # A filter expression that filters resources listed in the response. Most
22892
+ # Compute resources support two types of filter expressions: expressions that
22893
+ # support regular expressions and expressions that follow API improvement
22894
+ # proposal AIP-160. These two types of filter expressions cannot be mixed in one
22895
+ # request. If you want to use AIP-160, your expression must specify the field
22896
+ # name, an operator, and the value that you want to use for filtering. The value
22897
+ # must be a string, a number, or a boolean. The operator must be either `=`, `!=`
22898
+ # , `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute
22899
+ # Engine instances, you can exclude instances named `example-instance` by
22900
+ # specifying `name != example-instance`. The `:*` comparison can be used to test
22901
+ # whether a key has been defined. For example, to find all objects with `owner`
22902
+ # label use: ``` labels.owner:* ``` You can also filter nested fields. For
22903
+ # example, you could specify `scheduling.automaticRestart = false` to include
22904
+ # instances only if they are not scheduled for automatic restarts. You can use
22905
+ # filtering on nested fields to filter based on resource labels. To filter on
22906
+ # multiple expressions, provide each separate expression within parentheses. For
22907
+ # example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel
22908
+ # Skylake") ``` By default, each expression is an `AND` expression. However, you
22909
+ # can include `AND` and `OR` expressions explicitly. For example: ``` (
22910
+ # cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (
22911
+ # scheduling.automaticRestart = true) ``` If you want to use a regular
22912
+ # expression, use the `eq` (equal) or `ne` (not equal) operator against a single
22913
+ # un-parenthesized expression with or without quotes or against multiple
22914
+ # parenthesized expressions. Examples: `fieldname eq unquoted literal` `
22915
+ # fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(
22916
+ # fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is
22917
+ # interpreted as a regular expression using Google RE2 library syntax. The
22918
+ # literal value must match the entire field. For example, to filter for
22919
+ # instances that do not end with name "instance", you would use `name ne .*
22920
+ # instance`. You cannot combine constraints on multiple fields using regular
22921
+ # expressions.
22922
+ # @param [Fixnum] max_results
22923
+ # The maximum number of results per page that should be returned. If the number
22924
+ # of available results is larger than `maxResults`, Compute Engine returns a `
22925
+ # nextPageToken` that can be used to get the next page of results in subsequent
22926
+ # list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
22927
+ # @param [String] order_by
22928
+ # Sorts list results by a certain order. By default, results are returned in
22929
+ # alphanumerical order based on the resource name. You can also sort results in
22930
+ # descending order based on the creation timestamp using `orderBy="
22931
+ # creationTimestamp desc"`. This sorts results based on the `creationTimestamp`
22932
+ # field in reverse chronological order (newest result first). Use this to sort
22933
+ # resources like operations so that the newest operation is returned first.
22934
+ # Currently, only sorting by `name` or `creationTimestamp desc` is supported.
22935
+ # @param [String] page_token
22936
+ # Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
22937
+ # by a previous list request to get the next page of results.
22938
+ # @param [Boolean] return_partial_success
22939
+ # Opt-in for partial success behavior which provides partial results in case of
22940
+ # failure. The default value is false.
22941
+ # @param [String] fields
22942
+ # Selector specifying which fields to include in a partial response.
22943
+ # @param [String] quota_user
22944
+ # Available to use for quota purposes for server-side applications. Can be any
22945
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
22946
+ # @param [String] user_ip
22947
+ # Legacy name for parameter that has been superseded by `quotaUser`.
22948
+ # @param [Google::Apis::RequestOptions] options
22949
+ # Request-specific options
22950
+ #
22951
+ # @yield [result, err] Result & error if block supplied
22952
+ # @yieldparam result [Google::Apis::ComputeV1::BackendServiceListUsable] parsed result object
22953
+ # @yieldparam err [StandardError] error object if request failed
22954
+ #
22955
+ # @return [Google::Apis::ComputeV1::BackendServiceListUsable]
22956
+ #
22957
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
22958
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
22959
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
22960
+ def list_region_backend_service_usable(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
22961
+ command = make_simple_command(:get, 'projects/{project}/regions/{region}/backendServices/listUsable', options)
22962
+ command.response_representation = Google::Apis::ComputeV1::BackendServiceListUsable::Representation
22963
+ command.response_class = Google::Apis::ComputeV1::BackendServiceListUsable
22964
+ command.params['project'] = project unless project.nil?
22965
+ command.params['region'] = region unless region.nil?
22966
+ command.query['filter'] = filter unless filter.nil?
22967
+ command.query['maxResults'] = max_results unless max_results.nil?
22968
+ command.query['orderBy'] = order_by unless order_by.nil?
22969
+ command.query['pageToken'] = page_token unless page_token.nil?
22970
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
22971
+ command.query['fields'] = fields unless fields.nil?
22972
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
22973
+ command.query['userIp'] = user_ip unless user_ip.nil?
22974
+ execute_or_queue_command(command, &block)
22975
+ end
22976
+
22711
22977
  # Updates the specified regional BackendService resource with the data included
22712
22978
  # in the request. For more information, see Understanding backend services This
22713
22979
  # method supports PATCH semantics and uses the JSON merge patch format and
@@ -22977,6 +23243,7 @@ module Google
22977
23243
  # @param [Boolean] return_partial_success
22978
23244
  # Opt-in for partial success behavior which provides partial results in case of
22979
23245
  # failure. The default value is false.
23246
+ # @param [Fixnum] service_project_number
22980
23247
  # @param [String] fields
22981
23248
  # Selector specifying which fields to include in a partial response.
22982
23249
  # @param [String] quota_user
@@ -22996,7 +23263,7 @@ module Google
22996
23263
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
22997
23264
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
22998
23265
  # @raise [Google::Apis::AuthorizationError] Authorization is required
22999
- def aggregated_region_commitment_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
23266
+ def aggregated_region_commitment_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, service_project_number: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
23000
23267
  command = make_simple_command(:get, 'projects/{project}/aggregated/commitments', options)
23001
23268
  command.response_representation = Google::Apis::ComputeV1::CommitmentAggregatedList::Representation
23002
23269
  command.response_class = Google::Apis::ComputeV1::CommitmentAggregatedList
@@ -23007,6 +23274,7 @@ module Google
23007
23274
  command.query['orderBy'] = order_by unless order_by.nil?
23008
23275
  command.query['pageToken'] = page_token unless page_token.nil?
23009
23276
  command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
23277
+ command.query['serviceProjectNumber'] = service_project_number unless service_project_number.nil?
23010
23278
  command.query['fields'] = fields unless fields.nil?
23011
23279
  command.query['quotaUser'] = quota_user unless quota_user.nil?
23012
23280
  command.query['userIp'] = user_ip unless user_ip.nil?
@@ -26695,6 +26963,61 @@ module Google
26695
26963
  execute_or_queue_command(command, &block)
26696
26964
  end
26697
26965
 
26966
+ # Attach a list of network endpoints to the specified network endpoint group.
26967
+ # @param [String] project
26968
+ # Project ID for this request.
26969
+ # @param [String] region
26970
+ # The name of the region where you want to create the network endpoint group. It
26971
+ # should comply with RFC1035.
26972
+ # @param [String] network_endpoint_group
26973
+ # The name of the network endpoint group where you are attaching network
26974
+ # endpoints to. It should comply with RFC1035.
26975
+ # @param [Google::Apis::ComputeV1::RegionNetworkEndpointGroupsAttachEndpointsRequest] region_network_endpoint_groups_attach_endpoints_request_object
26976
+ # @param [String] request_id
26977
+ # An optional request ID to identify requests. Specify a unique request ID so
26978
+ # that if you must retry your request, the server will know to ignore the
26979
+ # request if it has already been completed. For example, consider a situation
26980
+ # where you make an initial request and the request times out. If you make the
26981
+ # request again with the same request ID, the server can check if original
26982
+ # operation with the same request ID was received, and if so, will ignore the
26983
+ # second request. This prevents clients from accidentally creating duplicate
26984
+ # commitments. The request ID must be a valid UUID with the exception that zero
26985
+ # UUID is not supported ( 00000000-0000-0000-0000-000000000000).
26986
+ # @param [String] fields
26987
+ # Selector specifying which fields to include in a partial response.
26988
+ # @param [String] quota_user
26989
+ # Available to use for quota purposes for server-side applications. Can be any
26990
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
26991
+ # @param [String] user_ip
26992
+ # Legacy name for parameter that has been superseded by `quotaUser`.
26993
+ # @param [Google::Apis::RequestOptions] options
26994
+ # Request-specific options
26995
+ #
26996
+ # @yield [result, err] Result & error if block supplied
26997
+ # @yieldparam result [Google::Apis::ComputeV1::Operation] parsed result object
26998
+ # @yieldparam err [StandardError] error object if request failed
26999
+ #
27000
+ # @return [Google::Apis::ComputeV1::Operation]
27001
+ #
27002
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
27003
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
27004
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
27005
+ def attach_region_network_endpoint_group_network_endpoints(project, region, network_endpoint_group, region_network_endpoint_groups_attach_endpoints_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
27006
+ command = make_simple_command(:post, 'projects/{project}/regions/{region}/networkEndpointGroups/{networkEndpointGroup}/attachNetworkEndpoints', options)
27007
+ command.request_representation = Google::Apis::ComputeV1::RegionNetworkEndpointGroupsAttachEndpointsRequest::Representation
27008
+ command.request_object = region_network_endpoint_groups_attach_endpoints_request_object
27009
+ command.response_representation = Google::Apis::ComputeV1::Operation::Representation
27010
+ command.response_class = Google::Apis::ComputeV1::Operation
27011
+ command.params['project'] = project unless project.nil?
27012
+ command.params['region'] = region unless region.nil?
27013
+ command.params['networkEndpointGroup'] = network_endpoint_group unless network_endpoint_group.nil?
27014
+ command.query['requestId'] = request_id unless request_id.nil?
27015
+ command.query['fields'] = fields unless fields.nil?
27016
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
27017
+ command.query['userIp'] = user_ip unless user_ip.nil?
27018
+ execute_or_queue_command(command, &block)
27019
+ end
27020
+
26698
27021
  # Deletes the specified network endpoint group. Note that the NEG cannot be
26699
27022
  # deleted if it is configured as a backend of a backend service.
26700
27023
  # @param [String] project
@@ -26748,6 +27071,62 @@ module Google
26748
27071
  execute_or_queue_command(command, &block)
26749
27072
  end
26750
27073
 
27074
+ # Detach the network endpoint from the specified network endpoint group.
27075
+ # @param [String] project
27076
+ # Project ID for this request.
27077
+ # @param [String] region
27078
+ # The name of the region where the network endpoint group is located. It should
27079
+ # comply with RFC1035.
27080
+ # @param [String] network_endpoint_group
27081
+ # The name of the network endpoint group you are detaching network endpoints
27082
+ # from. It should comply with RFC1035.
27083
+ # @param [Google::Apis::ComputeV1::RegionNetworkEndpointGroupsDetachEndpointsRequest] region_network_endpoint_groups_detach_endpoints_request_object
27084
+ # @param [String] request_id
27085
+ # An optional request ID to identify requests. Specify a unique request ID so
27086
+ # that if you must retry your request, the server will know to ignore the
27087
+ # request if it has already been completed. For example, consider a situation
27088
+ # where you make an initial request and the request times out. If you make the
27089
+ # request again with the same request ID, the server can check if original
27090
+ # operation with the same request ID was received, and if so, will ignore the
27091
+ # second request. This prevents clients from accidentally creating duplicate
27092
+ # commitments. The request ID must be a valid UUID with the exception that zero
27093
+ # UUID is not supported ( 00000000-0000-0000-0000-000000000000). end_interface:
27094
+ # MixerMutationRequestBuilder
27095
+ # @param [String] fields
27096
+ # Selector specifying which fields to include in a partial response.
27097
+ # @param [String] quota_user
27098
+ # Available to use for quota purposes for server-side applications. Can be any
27099
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
27100
+ # @param [String] user_ip
27101
+ # Legacy name for parameter that has been superseded by `quotaUser`.
27102
+ # @param [Google::Apis::RequestOptions] options
27103
+ # Request-specific options
27104
+ #
27105
+ # @yield [result, err] Result & error if block supplied
27106
+ # @yieldparam result [Google::Apis::ComputeV1::Operation] parsed result object
27107
+ # @yieldparam err [StandardError] error object if request failed
27108
+ #
27109
+ # @return [Google::Apis::ComputeV1::Operation]
27110
+ #
27111
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
27112
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
27113
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
27114
+ def detach_region_network_endpoint_group_network_endpoints(project, region, network_endpoint_group, region_network_endpoint_groups_detach_endpoints_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
27115
+ command = make_simple_command(:post, 'projects/{project}/regions/{region}/networkEndpointGroups/{networkEndpointGroup}/detachNetworkEndpoints', options)
27116
+ command.request_representation = Google::Apis::ComputeV1::RegionNetworkEndpointGroupsDetachEndpointsRequest::Representation
27117
+ command.request_object = region_network_endpoint_groups_detach_endpoints_request_object
27118
+ command.response_representation = Google::Apis::ComputeV1::Operation::Representation
27119
+ command.response_class = Google::Apis::ComputeV1::Operation
27120
+ command.params['project'] = project unless project.nil?
27121
+ command.params['region'] = region unless region.nil?
27122
+ command.params['networkEndpointGroup'] = network_endpoint_group unless network_endpoint_group.nil?
27123
+ command.query['requestId'] = request_id unless request_id.nil?
27124
+ command.query['fields'] = fields unless fields.nil?
27125
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
27126
+ command.query['userIp'] = user_ip unless user_ip.nil?
27127
+ execute_or_queue_command(command, &block)
27128
+ end
27129
+
26751
27130
  # Returns the specified network endpoint group.
26752
27131
  # @param [String] project
26753
27132
  # Project ID for this request.
@@ -26934,6 +27313,103 @@ module Google
26934
27313
  execute_or_queue_command(command, &block)
26935
27314
  end
26936
27315
 
27316
+ # Lists the network endpoints in the specified network endpoint group.
27317
+ # @param [String] project
27318
+ # Project ID for this request.
27319
+ # @param [String] region
27320
+ # The name of the region where the network endpoint group is located. It should
27321
+ # comply with RFC1035.
27322
+ # @param [String] network_endpoint_group
27323
+ # The name of the network endpoint group from which you want to generate a list
27324
+ # of included network endpoints. It should comply with RFC1035.
27325
+ # @param [String] filter
27326
+ # A filter expression that filters resources listed in the response. Most
27327
+ # Compute resources support two types of filter expressions: expressions that
27328
+ # support regular expressions and expressions that follow API improvement
27329
+ # proposal AIP-160. These two types of filter expressions cannot be mixed in one
27330
+ # request. If you want to use AIP-160, your expression must specify the field
27331
+ # name, an operator, and the value that you want to use for filtering. The value
27332
+ # must be a string, a number, or a boolean. The operator must be either `=`, `!=`
27333
+ # , `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute
27334
+ # Engine instances, you can exclude instances named `example-instance` by
27335
+ # specifying `name != example-instance`. The `:*` comparison can be used to test
27336
+ # whether a key has been defined. For example, to find all objects with `owner`
27337
+ # label use: ``` labels.owner:* ``` You can also filter nested fields. For
27338
+ # example, you could specify `scheduling.automaticRestart = false` to include
27339
+ # instances only if they are not scheduled for automatic restarts. You can use
27340
+ # filtering on nested fields to filter based on resource labels. To filter on
27341
+ # multiple expressions, provide each separate expression within parentheses. For
27342
+ # example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel
27343
+ # Skylake") ``` By default, each expression is an `AND` expression. However, you
27344
+ # can include `AND` and `OR` expressions explicitly. For example: ``` (
27345
+ # cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (
27346
+ # scheduling.automaticRestart = true) ``` If you want to use a regular
27347
+ # expression, use the `eq` (equal) or `ne` (not equal) operator against a single
27348
+ # un-parenthesized expression with or without quotes or against multiple
27349
+ # parenthesized expressions. Examples: `fieldname eq unquoted literal` `
27350
+ # fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(
27351
+ # fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is
27352
+ # interpreted as a regular expression using Google RE2 library syntax. The
27353
+ # literal value must match the entire field. For example, to filter for
27354
+ # instances that do not end with name "instance", you would use `name ne .*
27355
+ # instance`. You cannot combine constraints on multiple fields using regular
27356
+ # expressions.
27357
+ # @param [Fixnum] max_results
27358
+ # The maximum number of results per page that should be returned. If the number
27359
+ # of available results is larger than `maxResults`, Compute Engine returns a `
27360
+ # nextPageToken` that can be used to get the next page of results in subsequent
27361
+ # list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
27362
+ # @param [String] order_by
27363
+ # Sorts list results by a certain order. By default, results are returned in
27364
+ # alphanumerical order based on the resource name. You can also sort results in
27365
+ # descending order based on the creation timestamp using `orderBy="
27366
+ # creationTimestamp desc"`. This sorts results based on the `creationTimestamp`
27367
+ # field in reverse chronological order (newest result first). Use this to sort
27368
+ # resources like operations so that the newest operation is returned first.
27369
+ # Currently, only sorting by `name` or `creationTimestamp desc` is supported.
27370
+ # @param [String] page_token
27371
+ # Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
27372
+ # by a previous list request to get the next page of results.
27373
+ # @param [Boolean] return_partial_success
27374
+ # Opt-in for partial success behavior which provides partial results in case of
27375
+ # failure. The default value is false.
27376
+ # @param [String] fields
27377
+ # Selector specifying which fields to include in a partial response.
27378
+ # @param [String] quota_user
27379
+ # Available to use for quota purposes for server-side applications. Can be any
27380
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
27381
+ # @param [String] user_ip
27382
+ # Legacy name for parameter that has been superseded by `quotaUser`.
27383
+ # @param [Google::Apis::RequestOptions] options
27384
+ # Request-specific options
27385
+ #
27386
+ # @yield [result, err] Result & error if block supplied
27387
+ # @yieldparam result [Google::Apis::ComputeV1::NetworkEndpointGroupsListNetworkEndpoints] parsed result object
27388
+ # @yieldparam err [StandardError] error object if request failed
27389
+ #
27390
+ # @return [Google::Apis::ComputeV1::NetworkEndpointGroupsListNetworkEndpoints]
27391
+ #
27392
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
27393
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
27394
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
27395
+ def list_region_network_endpoint_group_network_endpoints(project, region, network_endpoint_group, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
27396
+ command = make_simple_command(:post, 'projects/{project}/regions/{region}/networkEndpointGroups/{networkEndpointGroup}/listNetworkEndpoints', options)
27397
+ command.response_representation = Google::Apis::ComputeV1::NetworkEndpointGroupsListNetworkEndpoints::Representation
27398
+ command.response_class = Google::Apis::ComputeV1::NetworkEndpointGroupsListNetworkEndpoints
27399
+ command.params['project'] = project unless project.nil?
27400
+ command.params['region'] = region unless region.nil?
27401
+ command.params['networkEndpointGroup'] = network_endpoint_group unless network_endpoint_group.nil?
27402
+ command.query['filter'] = filter unless filter.nil?
27403
+ command.query['maxResults'] = max_results unless max_results.nil?
27404
+ command.query['orderBy'] = order_by unless order_by.nil?
27405
+ command.query['pageToken'] = page_token unless page_token.nil?
27406
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
27407
+ command.query['fields'] = fields unless fields.nil?
27408
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
27409
+ command.query['userIp'] = user_ip unless user_ip.nil?
27410
+ execute_or_queue_command(command, &block)
27411
+ end
27412
+
26937
27413
  # Inserts an association for the specified network firewall policy.
26938
27414
  # @param [String] project
26939
27415
  # Project ID for this request.
@@ -28179,18 +28655,389 @@ module Google
28179
28655
  # Request-specific options
28180
28656
  #
28181
28657
  # @yield [result, err] Result & error if block supplied
28182
- # @yieldparam result [Google::Apis::ComputeV1::OperationList] parsed result object
28658
+ # @yieldparam result [Google::Apis::ComputeV1::OperationList] parsed result object
28659
+ # @yieldparam err [StandardError] error object if request failed
28660
+ #
28661
+ # @return [Google::Apis::ComputeV1::OperationList]
28662
+ #
28663
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
28664
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
28665
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
28666
+ def list_region_operations(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
28667
+ command = make_simple_command(:get, 'projects/{project}/regions/{region}/operations', options)
28668
+ command.response_representation = Google::Apis::ComputeV1::OperationList::Representation
28669
+ command.response_class = Google::Apis::ComputeV1::OperationList
28670
+ command.params['project'] = project unless project.nil?
28671
+ command.params['region'] = region unless region.nil?
28672
+ command.query['filter'] = filter unless filter.nil?
28673
+ command.query['maxResults'] = max_results unless max_results.nil?
28674
+ command.query['orderBy'] = order_by unless order_by.nil?
28675
+ command.query['pageToken'] = page_token unless page_token.nil?
28676
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
28677
+ command.query['fields'] = fields unless fields.nil?
28678
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
28679
+ command.query['userIp'] = user_ip unless user_ip.nil?
28680
+ execute_or_queue_command(command, &block)
28681
+ end
28682
+
28683
+ # Waits for the specified Operation resource to return as `DONE` or for the
28684
+ # request to approach the 2 minute deadline, and retrieves the specified
28685
+ # Operation resource. This method differs from the `GET` method in that it waits
28686
+ # for no more than the default deadline (2 minutes) and then returns the current
28687
+ # state of the operation, which might be `DONE` or still in progress. This
28688
+ # method is called on a best-effort basis. Specifically: - In uncommon cases,
28689
+ # when the server is overloaded, the request might return before the default
28690
+ # deadline is reached, or might return after zero seconds. - If the default
28691
+ # deadline is reached, there is no guarantee that the operation is actually done
28692
+ # when the method returns. Be prepared to retry if the operation is not `DONE`.
28693
+ # @param [String] project
28694
+ # Project ID for this request.
28695
+ # @param [String] region
28696
+ # Name of the region for this request.
28697
+ # @param [String] operation
28698
+ # Name of the Operations resource to return.
28699
+ # @param [String] fields
28700
+ # Selector specifying which fields to include in a partial response.
28701
+ # @param [String] quota_user
28702
+ # Available to use for quota purposes for server-side applications. Can be any
28703
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
28704
+ # @param [String] user_ip
28705
+ # Legacy name for parameter that has been superseded by `quotaUser`.
28706
+ # @param [Google::Apis::RequestOptions] options
28707
+ # Request-specific options
28708
+ #
28709
+ # @yield [result, err] Result & error if block supplied
28710
+ # @yieldparam result [Google::Apis::ComputeV1::Operation] parsed result object
28711
+ # @yieldparam err [StandardError] error object if request failed
28712
+ #
28713
+ # @return [Google::Apis::ComputeV1::Operation]
28714
+ #
28715
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
28716
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
28717
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
28718
+ def wait_region_operation(project, region, operation, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
28719
+ command = make_simple_command(:post, 'projects/{project}/regions/{region}/operations/{operation}/wait', options)
28720
+ command.response_representation = Google::Apis::ComputeV1::Operation::Representation
28721
+ command.response_class = Google::Apis::ComputeV1::Operation
28722
+ command.params['project'] = project unless project.nil?
28723
+ command.params['region'] = region unless region.nil?
28724
+ command.params['operation'] = operation unless operation.nil?
28725
+ command.query['fields'] = fields unless fields.nil?
28726
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
28727
+ command.query['userIp'] = user_ip unless user_ip.nil?
28728
+ execute_or_queue_command(command, &block)
28729
+ end
28730
+
28731
+ # Inserts a rule into a security policy.
28732
+ # @param [String] project
28733
+ # Project ID for this request.
28734
+ # @param [String] region
28735
+ # Name of the region scoping this request.
28736
+ # @param [String] security_policy
28737
+ # Name of the security policy to update.
28738
+ # @param [Google::Apis::ComputeV1::SecurityPolicyRule] security_policy_rule_object
28739
+ # @param [Boolean] validate_only
28740
+ # If true, the request will not be committed.
28741
+ # @param [String] fields
28742
+ # Selector specifying which fields to include in a partial response.
28743
+ # @param [String] quota_user
28744
+ # Available to use for quota purposes for server-side applications. Can be any
28745
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
28746
+ # @param [String] user_ip
28747
+ # Legacy name for parameter that has been superseded by `quotaUser`.
28748
+ # @param [Google::Apis::RequestOptions] options
28749
+ # Request-specific options
28750
+ #
28751
+ # @yield [result, err] Result & error if block supplied
28752
+ # @yieldparam result [Google::Apis::ComputeV1::Operation] parsed result object
28753
+ # @yieldparam err [StandardError] error object if request failed
28754
+ #
28755
+ # @return [Google::Apis::ComputeV1::Operation]
28756
+ #
28757
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
28758
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
28759
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
28760
+ def add_region_security_policy_rule(project, region, security_policy, security_policy_rule_object = nil, validate_only: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
28761
+ command = make_simple_command(:post, 'projects/{project}/regions/{region}/securityPolicies/{securityPolicy}/addRule', options)
28762
+ command.request_representation = Google::Apis::ComputeV1::SecurityPolicyRule::Representation
28763
+ command.request_object = security_policy_rule_object
28764
+ command.response_representation = Google::Apis::ComputeV1::Operation::Representation
28765
+ command.response_class = Google::Apis::ComputeV1::Operation
28766
+ command.params['project'] = project unless project.nil?
28767
+ command.params['region'] = region unless region.nil?
28768
+ command.params['securityPolicy'] = security_policy unless security_policy.nil?
28769
+ command.query['validateOnly'] = validate_only unless validate_only.nil?
28770
+ command.query['fields'] = fields unless fields.nil?
28771
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
28772
+ command.query['userIp'] = user_ip unless user_ip.nil?
28773
+ execute_or_queue_command(command, &block)
28774
+ end
28775
+
28776
+ # Deletes the specified policy.
28777
+ # @param [String] project
28778
+ # Project ID for this request.
28779
+ # @param [String] region
28780
+ # Name of the region scoping this request.
28781
+ # @param [String] security_policy
28782
+ # Name of the security policy to delete.
28783
+ # @param [String] request_id
28784
+ # An optional request ID to identify requests. Specify a unique request ID so
28785
+ # that if you must retry your request, the server will know to ignore the
28786
+ # request if it has already been completed. For example, consider a situation
28787
+ # where you make an initial request and the request times out. If you make the
28788
+ # request again with the same request ID, the server can check if original
28789
+ # operation with the same request ID was received, and if so, will ignore the
28790
+ # second request. This prevents clients from accidentally creating duplicate
28791
+ # commitments. The request ID must be a valid UUID with the exception that zero
28792
+ # UUID is not supported ( 00000000-0000-0000-0000-000000000000).
28793
+ # @param [String] fields
28794
+ # Selector specifying which fields to include in a partial response.
28795
+ # @param [String] quota_user
28796
+ # Available to use for quota purposes for server-side applications. Can be any
28797
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
28798
+ # @param [String] user_ip
28799
+ # Legacy name for parameter that has been superseded by `quotaUser`.
28800
+ # @param [Google::Apis::RequestOptions] options
28801
+ # Request-specific options
28802
+ #
28803
+ # @yield [result, err] Result & error if block supplied
28804
+ # @yieldparam result [Google::Apis::ComputeV1::Operation] parsed result object
28805
+ # @yieldparam err [StandardError] error object if request failed
28806
+ #
28807
+ # @return [Google::Apis::ComputeV1::Operation]
28808
+ #
28809
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
28810
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
28811
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
28812
+ def delete_region_security_policy(project, region, security_policy, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
28813
+ command = make_simple_command(:delete, 'projects/{project}/regions/{region}/securityPolicies/{securityPolicy}', options)
28814
+ command.response_representation = Google::Apis::ComputeV1::Operation::Representation
28815
+ command.response_class = Google::Apis::ComputeV1::Operation
28816
+ command.params['project'] = project unless project.nil?
28817
+ command.params['region'] = region unless region.nil?
28818
+ command.params['securityPolicy'] = security_policy unless security_policy.nil?
28819
+ command.query['requestId'] = request_id unless request_id.nil?
28820
+ command.query['fields'] = fields unless fields.nil?
28821
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
28822
+ command.query['userIp'] = user_ip unless user_ip.nil?
28823
+ execute_or_queue_command(command, &block)
28824
+ end
28825
+
28826
+ # List all of the ordered rules present in a single specified policy.
28827
+ # @param [String] project
28828
+ # Project ID for this request.
28829
+ # @param [String] region
28830
+ # Name of the region scoping this request.
28831
+ # @param [String] security_policy
28832
+ # Name of the security policy to get.
28833
+ # @param [String] fields
28834
+ # Selector specifying which fields to include in a partial response.
28835
+ # @param [String] quota_user
28836
+ # Available to use for quota purposes for server-side applications. Can be any
28837
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
28838
+ # @param [String] user_ip
28839
+ # Legacy name for parameter that has been superseded by `quotaUser`.
28840
+ # @param [Google::Apis::RequestOptions] options
28841
+ # Request-specific options
28842
+ #
28843
+ # @yield [result, err] Result & error if block supplied
28844
+ # @yieldparam result [Google::Apis::ComputeV1::SecurityPolicy] parsed result object
28845
+ # @yieldparam err [StandardError] error object if request failed
28846
+ #
28847
+ # @return [Google::Apis::ComputeV1::SecurityPolicy]
28848
+ #
28849
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
28850
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
28851
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
28852
+ def get_region_security_policy(project, region, security_policy, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
28853
+ command = make_simple_command(:get, 'projects/{project}/regions/{region}/securityPolicies/{securityPolicy}', options)
28854
+ command.response_representation = Google::Apis::ComputeV1::SecurityPolicy::Representation
28855
+ command.response_class = Google::Apis::ComputeV1::SecurityPolicy
28856
+ command.params['project'] = project unless project.nil?
28857
+ command.params['region'] = region unless region.nil?
28858
+ command.params['securityPolicy'] = security_policy unless security_policy.nil?
28859
+ command.query['fields'] = fields unless fields.nil?
28860
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
28861
+ command.query['userIp'] = user_ip unless user_ip.nil?
28862
+ execute_or_queue_command(command, &block)
28863
+ end
28864
+
28865
+ # Gets a rule at the specified priority.
28866
+ # @param [String] project
28867
+ # Project ID for this request.
28868
+ # @param [String] region
28869
+ # Name of the region scoping this request.
28870
+ # @param [String] security_policy
28871
+ # Name of the security policy to which the queried rule belongs.
28872
+ # @param [Fixnum] priority
28873
+ # The priority of the rule to get from the security policy.
28874
+ # @param [String] fields
28875
+ # Selector specifying which fields to include in a partial response.
28876
+ # @param [String] quota_user
28877
+ # Available to use for quota purposes for server-side applications. Can be any
28878
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
28879
+ # @param [String] user_ip
28880
+ # Legacy name for parameter that has been superseded by `quotaUser`.
28881
+ # @param [Google::Apis::RequestOptions] options
28882
+ # Request-specific options
28883
+ #
28884
+ # @yield [result, err] Result & error if block supplied
28885
+ # @yieldparam result [Google::Apis::ComputeV1::SecurityPolicyRule] parsed result object
28886
+ # @yieldparam err [StandardError] error object if request failed
28887
+ #
28888
+ # @return [Google::Apis::ComputeV1::SecurityPolicyRule]
28889
+ #
28890
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
28891
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
28892
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
28893
+ def get_region_security_policy_rule(project, region, security_policy, priority: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
28894
+ command = make_simple_command(:get, 'projects/{project}/regions/{region}/securityPolicies/{securityPolicy}/getRule', options)
28895
+ command.response_representation = Google::Apis::ComputeV1::SecurityPolicyRule::Representation
28896
+ command.response_class = Google::Apis::ComputeV1::SecurityPolicyRule
28897
+ command.params['project'] = project unless project.nil?
28898
+ command.params['region'] = region unless region.nil?
28899
+ command.params['securityPolicy'] = security_policy unless security_policy.nil?
28900
+ command.query['priority'] = priority unless priority.nil?
28901
+ command.query['fields'] = fields unless fields.nil?
28902
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
28903
+ command.query['userIp'] = user_ip unless user_ip.nil?
28904
+ execute_or_queue_command(command, &block)
28905
+ end
28906
+
28907
+ # Creates a new policy in the specified project using the data included in the
28908
+ # request.
28909
+ # @param [String] project
28910
+ # Project ID for this request.
28911
+ # @param [String] region
28912
+ # Name of the region scoping this request.
28913
+ # @param [Google::Apis::ComputeV1::SecurityPolicy] security_policy_object
28914
+ # @param [String] request_id
28915
+ # An optional request ID to identify requests. Specify a unique request ID so
28916
+ # that if you must retry your request, the server will know to ignore the
28917
+ # request if it has already been completed. For example, consider a situation
28918
+ # where you make an initial request and the request times out. If you make the
28919
+ # request again with the same request ID, the server can check if original
28920
+ # operation with the same request ID was received, and if so, will ignore the
28921
+ # second request. This prevents clients from accidentally creating duplicate
28922
+ # commitments. The request ID must be a valid UUID with the exception that zero
28923
+ # UUID is not supported ( 00000000-0000-0000-0000-000000000000).
28924
+ # @param [Boolean] validate_only
28925
+ # If true, the request will not be committed.
28926
+ # @param [String] fields
28927
+ # Selector specifying which fields to include in a partial response.
28928
+ # @param [String] quota_user
28929
+ # Available to use for quota purposes for server-side applications. Can be any
28930
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
28931
+ # @param [String] user_ip
28932
+ # Legacy name for parameter that has been superseded by `quotaUser`.
28933
+ # @param [Google::Apis::RequestOptions] options
28934
+ # Request-specific options
28935
+ #
28936
+ # @yield [result, err] Result & error if block supplied
28937
+ # @yieldparam result [Google::Apis::ComputeV1::Operation] parsed result object
28938
+ # @yieldparam err [StandardError] error object if request failed
28939
+ #
28940
+ # @return [Google::Apis::ComputeV1::Operation]
28941
+ #
28942
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
28943
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
28944
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
28945
+ def insert_region_security_policy(project, region, security_policy_object = nil, request_id: nil, validate_only: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
28946
+ command = make_simple_command(:post, 'projects/{project}/regions/{region}/securityPolicies', options)
28947
+ command.request_representation = Google::Apis::ComputeV1::SecurityPolicy::Representation
28948
+ command.request_object = security_policy_object
28949
+ command.response_representation = Google::Apis::ComputeV1::Operation::Representation
28950
+ command.response_class = Google::Apis::ComputeV1::Operation
28951
+ command.params['project'] = project unless project.nil?
28952
+ command.params['region'] = region unless region.nil?
28953
+ command.query['requestId'] = request_id unless request_id.nil?
28954
+ command.query['validateOnly'] = validate_only unless validate_only.nil?
28955
+ command.query['fields'] = fields unless fields.nil?
28956
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
28957
+ command.query['userIp'] = user_ip unless user_ip.nil?
28958
+ execute_or_queue_command(command, &block)
28959
+ end
28960
+
28961
+ # List all the policies that have been configured for the specified project and
28962
+ # region.
28963
+ # @param [String] project
28964
+ # Project ID for this request.
28965
+ # @param [String] region
28966
+ # Name of the region scoping this request.
28967
+ # @param [String] filter
28968
+ # A filter expression that filters resources listed in the response. Most
28969
+ # Compute resources support two types of filter expressions: expressions that
28970
+ # support regular expressions and expressions that follow API improvement
28971
+ # proposal AIP-160. These two types of filter expressions cannot be mixed in one
28972
+ # request. If you want to use AIP-160, your expression must specify the field
28973
+ # name, an operator, and the value that you want to use for filtering. The value
28974
+ # must be a string, a number, or a boolean. The operator must be either `=`, `!=`
28975
+ # , `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute
28976
+ # Engine instances, you can exclude instances named `example-instance` by
28977
+ # specifying `name != example-instance`. The `:*` comparison can be used to test
28978
+ # whether a key has been defined. For example, to find all objects with `owner`
28979
+ # label use: ``` labels.owner:* ``` You can also filter nested fields. For
28980
+ # example, you could specify `scheduling.automaticRestart = false` to include
28981
+ # instances only if they are not scheduled for automatic restarts. You can use
28982
+ # filtering on nested fields to filter based on resource labels. To filter on
28983
+ # multiple expressions, provide each separate expression within parentheses. For
28984
+ # example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel
28985
+ # Skylake") ``` By default, each expression is an `AND` expression. However, you
28986
+ # can include `AND` and `OR` expressions explicitly. For example: ``` (
28987
+ # cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (
28988
+ # scheduling.automaticRestart = true) ``` If you want to use a regular
28989
+ # expression, use the `eq` (equal) or `ne` (not equal) operator against a single
28990
+ # un-parenthesized expression with or without quotes or against multiple
28991
+ # parenthesized expressions. Examples: `fieldname eq unquoted literal` `
28992
+ # fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(
28993
+ # fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is
28994
+ # interpreted as a regular expression using Google RE2 library syntax. The
28995
+ # literal value must match the entire field. For example, to filter for
28996
+ # instances that do not end with name "instance", you would use `name ne .*
28997
+ # instance`. You cannot combine constraints on multiple fields using regular
28998
+ # expressions.
28999
+ # @param [Fixnum] max_results
29000
+ # The maximum number of results per page that should be returned. If the number
29001
+ # of available results is larger than `maxResults`, Compute Engine returns a `
29002
+ # nextPageToken` that can be used to get the next page of results in subsequent
29003
+ # list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
29004
+ # @param [String] order_by
29005
+ # Sorts list results by a certain order. By default, results are returned in
29006
+ # alphanumerical order based on the resource name. You can also sort results in
29007
+ # descending order based on the creation timestamp using `orderBy="
29008
+ # creationTimestamp desc"`. This sorts results based on the `creationTimestamp`
29009
+ # field in reverse chronological order (newest result first). Use this to sort
29010
+ # resources like operations so that the newest operation is returned first.
29011
+ # Currently, only sorting by `name` or `creationTimestamp desc` is supported.
29012
+ # @param [String] page_token
29013
+ # Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
29014
+ # by a previous list request to get the next page of results.
29015
+ # @param [Boolean] return_partial_success
29016
+ # Opt-in for partial success behavior which provides partial results in case of
29017
+ # failure. The default value is false.
29018
+ # @param [String] fields
29019
+ # Selector specifying which fields to include in a partial response.
29020
+ # @param [String] quota_user
29021
+ # Available to use for quota purposes for server-side applications. Can be any
29022
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
29023
+ # @param [String] user_ip
29024
+ # Legacy name for parameter that has been superseded by `quotaUser`.
29025
+ # @param [Google::Apis::RequestOptions] options
29026
+ # Request-specific options
29027
+ #
29028
+ # @yield [result, err] Result & error if block supplied
29029
+ # @yieldparam result [Google::Apis::ComputeV1::SecurityPolicyList] parsed result object
28183
29030
  # @yieldparam err [StandardError] error object if request failed
28184
29031
  #
28185
- # @return [Google::Apis::ComputeV1::OperationList]
29032
+ # @return [Google::Apis::ComputeV1::SecurityPolicyList]
28186
29033
  #
28187
29034
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
28188
29035
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
28189
29036
  # @raise [Google::Apis::AuthorizationError] Authorization is required
28190
- def list_region_operations(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
28191
- command = make_simple_command(:get, 'projects/{project}/regions/{region}/operations', options)
28192
- command.response_representation = Google::Apis::ComputeV1::OperationList::Representation
28193
- command.response_class = Google::Apis::ComputeV1::OperationList
29037
+ def list_region_security_policies(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
29038
+ command = make_simple_command(:get, 'projects/{project}/regions/{region}/securityPolicies', options)
29039
+ command.response_representation = Google::Apis::ComputeV1::SecurityPolicyList::Representation
29040
+ command.response_class = Google::Apis::ComputeV1::SecurityPolicyList
28194
29041
  command.params['project'] = project unless project.nil?
28195
29042
  command.params['region'] = region unless region.nil?
28196
29043
  command.query['filter'] = filter unless filter.nil?
@@ -28204,61 +29051,17 @@ module Google
28204
29051
  execute_or_queue_command(command, &block)
28205
29052
  end
28206
29053
 
28207
- # Waits for the specified Operation resource to return as `DONE` or for the
28208
- # request to approach the 2 minute deadline, and retrieves the specified
28209
- # Operation resource. This method differs from the `GET` method in that it waits
28210
- # for no more than the default deadline (2 minutes) and then returns the current
28211
- # state of the operation, which might be `DONE` or still in progress. This
28212
- # method is called on a best-effort basis. Specifically: - In uncommon cases,
28213
- # when the server is overloaded, the request might return before the default
28214
- # deadline is reached, or might return after zero seconds. - If the default
28215
- # deadline is reached, there is no guarantee that the operation is actually done
28216
- # when the method returns. Be prepared to retry if the operation is not `DONE`.
28217
- # @param [String] project
28218
- # Project ID for this request.
28219
- # @param [String] region
28220
- # Name of the region for this request.
28221
- # @param [String] operation
28222
- # Name of the Operations resource to return.
28223
- # @param [String] fields
28224
- # Selector specifying which fields to include in a partial response.
28225
- # @param [String] quota_user
28226
- # Available to use for quota purposes for server-side applications. Can be any
28227
- # arbitrary string assigned to a user, but should not exceed 40 characters.
28228
- # @param [String] user_ip
28229
- # Legacy name for parameter that has been superseded by `quotaUser`.
28230
- # @param [Google::Apis::RequestOptions] options
28231
- # Request-specific options
28232
- #
28233
- # @yield [result, err] Result & error if block supplied
28234
- # @yieldparam result [Google::Apis::ComputeV1::Operation] parsed result object
28235
- # @yieldparam err [StandardError] error object if request failed
28236
- #
28237
- # @return [Google::Apis::ComputeV1::Operation]
28238
- #
28239
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
28240
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
28241
- # @raise [Google::Apis::AuthorizationError] Authorization is required
28242
- def wait_region_operation(project, region, operation, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
28243
- command = make_simple_command(:post, 'projects/{project}/regions/{region}/operations/{operation}/wait', options)
28244
- command.response_representation = Google::Apis::ComputeV1::Operation::Representation
28245
- command.response_class = Google::Apis::ComputeV1::Operation
28246
- command.params['project'] = project unless project.nil?
28247
- command.params['region'] = region unless region.nil?
28248
- command.params['operation'] = operation unless operation.nil?
28249
- command.query['fields'] = fields unless fields.nil?
28250
- command.query['quotaUser'] = quota_user unless quota_user.nil?
28251
- command.query['userIp'] = user_ip unless user_ip.nil?
28252
- execute_or_queue_command(command, &block)
28253
- end
28254
-
28255
- # Deletes the specified policy.
29054
+ # Patches the specified policy with the data included in the request. To clear
29055
+ # fields in the policy, leave the fields empty and specify them in the
29056
+ # updateMask. This cannot be used to be update the rules in the policy. Please
29057
+ # use the per rule methods like addRule, patchRule, and removeRule instead.
28256
29058
  # @param [String] project
28257
29059
  # Project ID for this request.
28258
29060
  # @param [String] region
28259
29061
  # Name of the region scoping this request.
28260
29062
  # @param [String] security_policy
28261
- # Name of the security policy to delete.
29063
+ # Name of the security policy to update.
29064
+ # @param [Google::Apis::ComputeV1::SecurityPolicy] security_policy_object
28262
29065
  # @param [String] request_id
28263
29066
  # An optional request ID to identify requests. Specify a unique request ID so
28264
29067
  # that if you must retry your request, the server will know to ignore the
@@ -28269,6 +29072,8 @@ module Google
28269
29072
  # second request. This prevents clients from accidentally creating duplicate
28270
29073
  # commitments. The request ID must be a valid UUID with the exception that zero
28271
29074
  # UUID is not supported ( 00000000-0000-0000-0000-000000000000).
29075
+ # @param [String] update_mask
29076
+ # Indicates fields to be cleared as part of this request.
28272
29077
  # @param [String] fields
28273
29078
  # Selector specifying which fields to include in a partial response.
28274
29079
  # @param [String] quota_user
@@ -28288,76 +29093,36 @@ module Google
28288
29093
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
28289
29094
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
28290
29095
  # @raise [Google::Apis::AuthorizationError] Authorization is required
28291
- def delete_region_security_policy(project, region, security_policy, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
28292
- command = make_simple_command(:delete, 'projects/{project}/regions/{region}/securityPolicies/{securityPolicy}', options)
29096
+ def patch_region_security_policy(project, region, security_policy, security_policy_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
29097
+ command = make_simple_command(:patch, 'projects/{project}/regions/{region}/securityPolicies/{securityPolicy}', options)
29098
+ command.request_representation = Google::Apis::ComputeV1::SecurityPolicy::Representation
29099
+ command.request_object = security_policy_object
28293
29100
  command.response_representation = Google::Apis::ComputeV1::Operation::Representation
28294
29101
  command.response_class = Google::Apis::ComputeV1::Operation
28295
29102
  command.params['project'] = project unless project.nil?
28296
29103
  command.params['region'] = region unless region.nil?
28297
29104
  command.params['securityPolicy'] = security_policy unless security_policy.nil?
28298
29105
  command.query['requestId'] = request_id unless request_id.nil?
29106
+ command.query['updateMask'] = update_mask unless update_mask.nil?
28299
29107
  command.query['fields'] = fields unless fields.nil?
28300
29108
  command.query['quotaUser'] = quota_user unless quota_user.nil?
28301
29109
  command.query['userIp'] = user_ip unless user_ip.nil?
28302
29110
  execute_or_queue_command(command, &block)
28303
29111
  end
28304
29112
 
28305
- # List all of the ordered rules present in a single specified policy.
29113
+ # Patches a rule at the specified priority. To clear fields in the rule, leave
29114
+ # the fields empty and specify them in the updateMask.
28306
29115
  # @param [String] project
28307
29116
  # Project ID for this request.
28308
29117
  # @param [String] region
28309
29118
  # Name of the region scoping this request.
28310
29119
  # @param [String] security_policy
28311
- # Name of the security policy to get.
28312
- # @param [String] fields
28313
- # Selector specifying which fields to include in a partial response.
28314
- # @param [String] quota_user
28315
- # Available to use for quota purposes for server-side applications. Can be any
28316
- # arbitrary string assigned to a user, but should not exceed 40 characters.
28317
- # @param [String] user_ip
28318
- # Legacy name for parameter that has been superseded by `quotaUser`.
28319
- # @param [Google::Apis::RequestOptions] options
28320
- # Request-specific options
28321
- #
28322
- # @yield [result, err] Result & error if block supplied
28323
- # @yieldparam result [Google::Apis::ComputeV1::SecurityPolicy] parsed result object
28324
- # @yieldparam err [StandardError] error object if request failed
28325
- #
28326
- # @return [Google::Apis::ComputeV1::SecurityPolicy]
28327
- #
28328
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
28329
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
28330
- # @raise [Google::Apis::AuthorizationError] Authorization is required
28331
- def get_region_security_policy(project, region, security_policy, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
28332
- command = make_simple_command(:get, 'projects/{project}/regions/{region}/securityPolicies/{securityPolicy}', options)
28333
- command.response_representation = Google::Apis::ComputeV1::SecurityPolicy::Representation
28334
- command.response_class = Google::Apis::ComputeV1::SecurityPolicy
28335
- command.params['project'] = project unless project.nil?
28336
- command.params['region'] = region unless region.nil?
28337
- command.params['securityPolicy'] = security_policy unless security_policy.nil?
28338
- command.query['fields'] = fields unless fields.nil?
28339
- command.query['quotaUser'] = quota_user unless quota_user.nil?
28340
- command.query['userIp'] = user_ip unless user_ip.nil?
28341
- execute_or_queue_command(command, &block)
28342
- end
28343
-
28344
- # Creates a new policy in the specified project using the data included in the
28345
- # request.
28346
- # @param [String] project
28347
- # Project ID for this request.
28348
- # @param [String] region
28349
- # Name of the region scoping this request.
28350
- # @param [Google::Apis::ComputeV1::SecurityPolicy] security_policy_object
28351
- # @param [String] request_id
28352
- # An optional request ID to identify requests. Specify a unique request ID so
28353
- # that if you must retry your request, the server will know to ignore the
28354
- # request if it has already been completed. For example, consider a situation
28355
- # where you make an initial request and the request times out. If you make the
28356
- # request again with the same request ID, the server can check if original
28357
- # operation with the same request ID was received, and if so, will ignore the
28358
- # second request. This prevents clients from accidentally creating duplicate
28359
- # commitments. The request ID must be a valid UUID with the exception that zero
28360
- # UUID is not supported ( 00000000-0000-0000-0000-000000000000).
29120
+ # Name of the security policy to update.
29121
+ # @param [Google::Apis::ComputeV1::SecurityPolicyRule] security_policy_rule_object
29122
+ # @param [Fixnum] priority
29123
+ # The priority of the rule to patch.
29124
+ # @param [String] update_mask
29125
+ # Indicates fields to be cleared as part of this request.
28361
29126
  # @param [Boolean] validate_only
28362
29127
  # If true, the request will not be committed.
28363
29128
  # @param [String] fields
@@ -28379,15 +29144,17 @@ module Google
28379
29144
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
28380
29145
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
28381
29146
  # @raise [Google::Apis::AuthorizationError] Authorization is required
28382
- def insert_region_security_policy(project, region, security_policy_object = nil, request_id: nil, validate_only: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
28383
- command = make_simple_command(:post, 'projects/{project}/regions/{region}/securityPolicies', options)
28384
- command.request_representation = Google::Apis::ComputeV1::SecurityPolicy::Representation
28385
- command.request_object = security_policy_object
29147
+ def patch_region_security_policy_rule(project, region, security_policy, security_policy_rule_object = nil, priority: nil, update_mask: nil, validate_only: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
29148
+ command = make_simple_command(:post, 'projects/{project}/regions/{region}/securityPolicies/{securityPolicy}/patchRule', options)
29149
+ command.request_representation = Google::Apis::ComputeV1::SecurityPolicyRule::Representation
29150
+ command.request_object = security_policy_rule_object
28386
29151
  command.response_representation = Google::Apis::ComputeV1::Operation::Representation
28387
29152
  command.response_class = Google::Apis::ComputeV1::Operation
28388
29153
  command.params['project'] = project unless project.nil?
28389
29154
  command.params['region'] = region unless region.nil?
28390
- command.query['requestId'] = request_id unless request_id.nil?
29155
+ command.params['securityPolicy'] = security_policy unless security_policy.nil?
29156
+ command.query['priority'] = priority unless priority.nil?
29157
+ command.query['updateMask'] = update_mask unless update_mask.nil?
28391
29158
  command.query['validateOnly'] = validate_only unless validate_only.nil?
28392
29159
  command.query['fields'] = fields unless fields.nil?
28393
29160
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -28395,120 +29162,15 @@ module Google
28395
29162
  execute_or_queue_command(command, &block)
28396
29163
  end
28397
29164
 
28398
- # List all the policies that have been configured for the specified project and
28399
- # region.
28400
- # @param [String] project
28401
- # Project ID for this request.
28402
- # @param [String] region
28403
- # Name of the region scoping this request.
28404
- # @param [String] filter
28405
- # A filter expression that filters resources listed in the response. Most
28406
- # Compute resources support two types of filter expressions: expressions that
28407
- # support regular expressions and expressions that follow API improvement
28408
- # proposal AIP-160. These two types of filter expressions cannot be mixed in one
28409
- # request. If you want to use AIP-160, your expression must specify the field
28410
- # name, an operator, and the value that you want to use for filtering. The value
28411
- # must be a string, a number, or a boolean. The operator must be either `=`, `!=`
28412
- # , `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute
28413
- # Engine instances, you can exclude instances named `example-instance` by
28414
- # specifying `name != example-instance`. The `:*` comparison can be used to test
28415
- # whether a key has been defined. For example, to find all objects with `owner`
28416
- # label use: ``` labels.owner:* ``` You can also filter nested fields. For
28417
- # example, you could specify `scheduling.automaticRestart = false` to include
28418
- # instances only if they are not scheduled for automatic restarts. You can use
28419
- # filtering on nested fields to filter based on resource labels. To filter on
28420
- # multiple expressions, provide each separate expression within parentheses. For
28421
- # example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel
28422
- # Skylake") ``` By default, each expression is an `AND` expression. However, you
28423
- # can include `AND` and `OR` expressions explicitly. For example: ``` (
28424
- # cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (
28425
- # scheduling.automaticRestart = true) ``` If you want to use a regular
28426
- # expression, use the `eq` (equal) or `ne` (not equal) operator against a single
28427
- # un-parenthesized expression with or without quotes or against multiple
28428
- # parenthesized expressions. Examples: `fieldname eq unquoted literal` `
28429
- # fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(
28430
- # fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is
28431
- # interpreted as a regular expression using Google RE2 library syntax. The
28432
- # literal value must match the entire field. For example, to filter for
28433
- # instances that do not end with name "instance", you would use `name ne .*
28434
- # instance`. You cannot combine constraints on multiple fields using regular
28435
- # expressions.
28436
- # @param [Fixnum] max_results
28437
- # The maximum number of results per page that should be returned. If the number
28438
- # of available results is larger than `maxResults`, Compute Engine returns a `
28439
- # nextPageToken` that can be used to get the next page of results in subsequent
28440
- # list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
28441
- # @param [String] order_by
28442
- # Sorts list results by a certain order. By default, results are returned in
28443
- # alphanumerical order based on the resource name. You can also sort results in
28444
- # descending order based on the creation timestamp using `orderBy="
28445
- # creationTimestamp desc"`. This sorts results based on the `creationTimestamp`
28446
- # field in reverse chronological order (newest result first). Use this to sort
28447
- # resources like operations so that the newest operation is returned first.
28448
- # Currently, only sorting by `name` or `creationTimestamp desc` is supported.
28449
- # @param [String] page_token
28450
- # Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
28451
- # by a previous list request to get the next page of results.
28452
- # @param [Boolean] return_partial_success
28453
- # Opt-in for partial success behavior which provides partial results in case of
28454
- # failure. The default value is false.
28455
- # @param [String] fields
28456
- # Selector specifying which fields to include in a partial response.
28457
- # @param [String] quota_user
28458
- # Available to use for quota purposes for server-side applications. Can be any
28459
- # arbitrary string assigned to a user, but should not exceed 40 characters.
28460
- # @param [String] user_ip
28461
- # Legacy name for parameter that has been superseded by `quotaUser`.
28462
- # @param [Google::Apis::RequestOptions] options
28463
- # Request-specific options
28464
- #
28465
- # @yield [result, err] Result & error if block supplied
28466
- # @yieldparam result [Google::Apis::ComputeV1::SecurityPolicyList] parsed result object
28467
- # @yieldparam err [StandardError] error object if request failed
28468
- #
28469
- # @return [Google::Apis::ComputeV1::SecurityPolicyList]
28470
- #
28471
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
28472
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
28473
- # @raise [Google::Apis::AuthorizationError] Authorization is required
28474
- def list_region_security_policies(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
28475
- command = make_simple_command(:get, 'projects/{project}/regions/{region}/securityPolicies', options)
28476
- command.response_representation = Google::Apis::ComputeV1::SecurityPolicyList::Representation
28477
- command.response_class = Google::Apis::ComputeV1::SecurityPolicyList
28478
- command.params['project'] = project unless project.nil?
28479
- command.params['region'] = region unless region.nil?
28480
- command.query['filter'] = filter unless filter.nil?
28481
- command.query['maxResults'] = max_results unless max_results.nil?
28482
- command.query['orderBy'] = order_by unless order_by.nil?
28483
- command.query['pageToken'] = page_token unless page_token.nil?
28484
- command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
28485
- command.query['fields'] = fields unless fields.nil?
28486
- command.query['quotaUser'] = quota_user unless quota_user.nil?
28487
- command.query['userIp'] = user_ip unless user_ip.nil?
28488
- execute_or_queue_command(command, &block)
28489
- end
28490
-
28491
- # Patches the specified policy with the data included in the request. To clear
28492
- # fields in the policy, leave the fields empty and specify them in the
28493
- # updateMask. This cannot be used to be update the rules in the policy. Please
28494
- # use the per rule methods like addRule, patchRule, and removeRule instead.
29165
+ # Deletes a rule at the specified priority.
28495
29166
  # @param [String] project
28496
29167
  # Project ID for this request.
28497
29168
  # @param [String] region
28498
29169
  # Name of the region scoping this request.
28499
29170
  # @param [String] security_policy
28500
29171
  # Name of the security policy to update.
28501
- # @param [Google::Apis::ComputeV1::SecurityPolicy] security_policy_object
28502
- # @param [String] request_id
28503
- # An optional request ID to identify requests. Specify a unique request ID so
28504
- # that if you must retry your request, the server will know to ignore the
28505
- # request if it has already been completed. For example, consider a situation
28506
- # where you make an initial request and the request times out. If you make the
28507
- # request again with the same request ID, the server can check if original
28508
- # operation with the same request ID was received, and if so, will ignore the
28509
- # second request. This prevents clients from accidentally creating duplicate
28510
- # commitments. The request ID must be a valid UUID with the exception that zero
28511
- # UUID is not supported ( 00000000-0000-0000-0000-000000000000).
29172
+ # @param [Fixnum] priority
29173
+ # The priority of the rule to remove from the security policy.
28512
29174
  # @param [String] fields
28513
29175
  # Selector specifying which fields to include in a partial response.
28514
29176
  # @param [String] quota_user
@@ -28528,16 +29190,14 @@ module Google
28528
29190
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
28529
29191
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
28530
29192
  # @raise [Google::Apis::AuthorizationError] Authorization is required
28531
- def patch_region_security_policy(project, region, security_policy, security_policy_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
28532
- command = make_simple_command(:patch, 'projects/{project}/regions/{region}/securityPolicies/{securityPolicy}', options)
28533
- command.request_representation = Google::Apis::ComputeV1::SecurityPolicy::Representation
28534
- command.request_object = security_policy_object
29193
+ def remove_region_security_policy_rule(project, region, security_policy, priority: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
29194
+ command = make_simple_command(:post, 'projects/{project}/regions/{region}/securityPolicies/{securityPolicy}/removeRule', options)
28535
29195
  command.response_representation = Google::Apis::ComputeV1::Operation::Representation
28536
29196
  command.response_class = Google::Apis::ComputeV1::Operation
28537
29197
  command.params['project'] = project unless project.nil?
28538
29198
  command.params['region'] = region unless region.nil?
28539
29199
  command.params['securityPolicy'] = security_policy unless security_policy.nil?
28540
- command.query['requestId'] = request_id unless request_id.nil?
29200
+ command.query['priority'] = priority unless priority.nil?
28541
29201
  command.query['fields'] = fields unless fields.nil?
28542
29202
  command.query['quotaUser'] = quota_user unless quota_user.nil?
28543
29203
  command.query['userIp'] = user_ip unless user_ip.nil?
@@ -30625,6 +31285,7 @@ module Google
30625
31285
  # @param [Boolean] return_partial_success
30626
31286
  # Opt-in for partial success behavior which provides partial results in case of
30627
31287
  # failure. The default value is false.
31288
+ # @param [Fixnum] service_project_number
30628
31289
  # @param [String] fields
30629
31290
  # Selector specifying which fields to include in a partial response.
30630
31291
  # @param [String] quota_user
@@ -30644,7 +31305,7 @@ module Google
30644
31305
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
30645
31306
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
30646
31307
  # @raise [Google::Apis::AuthorizationError] Authorization is required
30647
- def aggregated_reservation_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
31308
+ def aggregated_reservation_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, service_project_number: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
30648
31309
  command = make_simple_command(:get, 'projects/{project}/aggregated/reservations', options)
30649
31310
  command.response_representation = Google::Apis::ComputeV1::ReservationAggregatedList::Representation
30650
31311
  command.response_class = Google::Apis::ComputeV1::ReservationAggregatedList
@@ -30655,6 +31316,7 @@ module Google
30655
31316
  command.query['orderBy'] = order_by unless order_by.nil?
30656
31317
  command.query['pageToken'] = page_token unless page_token.nil?
30657
31318
  command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
31319
+ command.query['serviceProjectNumber'] = service_project_number unless service_project_number.nil?
30658
31320
  command.query['fields'] = fields unless fields.nil?
30659
31321
  command.query['quotaUser'] = quota_user unless quota_user.nil?
30660
31322
  command.query['userIp'] = user_ip unless user_ip.nil?
@@ -31195,6 +31857,7 @@ module Google
31195
31857
  # @param [Boolean] return_partial_success
31196
31858
  # Opt-in for partial success behavior which provides partial results in case of
31197
31859
  # failure. The default value is false.
31860
+ # @param [Fixnum] service_project_number
31198
31861
  # @param [String] fields
31199
31862
  # Selector specifying which fields to include in a partial response.
31200
31863
  # @param [String] quota_user
@@ -31214,7 +31877,7 @@ module Google
31214
31877
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
31215
31878
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
31216
31879
  # @raise [Google::Apis::AuthorizationError] Authorization is required
31217
- def aggregated_resource_policy_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
31880
+ def aggregated_resource_policy_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, service_project_number: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
31218
31881
  command = make_simple_command(:get, 'projects/{project}/aggregated/resourcePolicies', options)
31219
31882
  command.response_representation = Google::Apis::ComputeV1::ResourcePolicyAggregatedList::Representation
31220
31883
  command.response_class = Google::Apis::ComputeV1::ResourcePolicyAggregatedList
@@ -31225,6 +31888,7 @@ module Google
31225
31888
  command.query['orderBy'] = order_by unless order_by.nil?
31226
31889
  command.query['pageToken'] = page_token unless page_token.nil?
31227
31890
  command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
31891
+ command.query['serviceProjectNumber'] = service_project_number unless service_project_number.nil?
31228
31892
  command.query['fields'] = fields unless fields.nil?
31229
31893
  command.query['quotaUser'] = quota_user unless quota_user.nil?
31230
31894
  command.query['userIp'] = user_ip unless user_ip.nil?
@@ -31708,6 +32372,7 @@ module Google
31708
32372
  # @param [Boolean] return_partial_success
31709
32373
  # Opt-in for partial success behavior which provides partial results in case of
31710
32374
  # failure. The default value is false.
32375
+ # @param [Fixnum] service_project_number
31711
32376
  # @param [String] fields
31712
32377
  # Selector specifying which fields to include in a partial response.
31713
32378
  # @param [String] quota_user
@@ -31727,7 +32392,7 @@ module Google
31727
32392
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
31728
32393
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
31729
32394
  # @raise [Google::Apis::AuthorizationError] Authorization is required
31730
- def aggregated_router_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
32395
+ def aggregated_router_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, service_project_number: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
31731
32396
  command = make_simple_command(:get, 'projects/{project}/aggregated/routers', options)
31732
32397
  command.response_representation = Google::Apis::ComputeV1::RouterAggregatedList::Representation
31733
32398
  command.response_class = Google::Apis::ComputeV1::RouterAggregatedList
@@ -31738,6 +32403,7 @@ module Google
31738
32403
  command.query['orderBy'] = order_by unless order_by.nil?
31739
32404
  command.query['pageToken'] = page_token unless page_token.nil?
31740
32405
  command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
32406
+ command.query['serviceProjectNumber'] = service_project_number unless service_project_number.nil?
31741
32407
  command.query['fields'] = fields unless fields.nil?
31742
32408
  command.query['quotaUser'] = quota_user unless quota_user.nil?
31743
32409
  command.query['userIp'] = user_ip unless user_ip.nil?
@@ -32638,6 +33304,7 @@ module Google
32638
33304
  # @param [Boolean] return_partial_success
32639
33305
  # Opt-in for partial success behavior which provides partial results in case of
32640
33306
  # failure. The default value is false.
33307
+ # @param [Fixnum] service_project_number
32641
33308
  # @param [String] fields
32642
33309
  # Selector specifying which fields to include in a partial response.
32643
33310
  # @param [String] quota_user
@@ -32657,7 +33324,7 @@ module Google
32657
33324
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
32658
33325
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
32659
33326
  # @raise [Google::Apis::AuthorizationError] Authorization is required
32660
- def aggregated_security_policy_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
33327
+ def aggregated_security_policy_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, service_project_number: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
32661
33328
  command = make_simple_command(:get, 'projects/{project}/aggregated/securityPolicies', options)
32662
33329
  command.response_representation = Google::Apis::ComputeV1::SecurityPoliciesAggregatedList::Representation
32663
33330
  command.response_class = Google::Apis::ComputeV1::SecurityPoliciesAggregatedList
@@ -32668,6 +33335,7 @@ module Google
32668
33335
  command.query['orderBy'] = order_by unless order_by.nil?
32669
33336
  command.query['pageToken'] = page_token unless page_token.nil?
32670
33337
  command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
33338
+ command.query['serviceProjectNumber'] = service_project_number unless service_project_number.nil?
32671
33339
  command.query['fields'] = fields unless fields.nil?
32672
33340
  command.query['quotaUser'] = quota_user unless quota_user.nil?
32673
33341
  command.query['userIp'] = user_ip unless user_ip.nil?
@@ -33045,6 +33713,8 @@ module Google
33045
33713
  # second request. This prevents clients from accidentally creating duplicate
33046
33714
  # commitments. The request ID must be a valid UUID with the exception that zero
33047
33715
  # UUID is not supported ( 00000000-0000-0000-0000-000000000000).
33716
+ # @param [String] update_mask
33717
+ # Indicates fields to be cleared as part of this request.
33048
33718
  # @param [String] fields
33049
33719
  # Selector specifying which fields to include in a partial response.
33050
33720
  # @param [String] quota_user
@@ -33064,7 +33734,7 @@ module Google
33064
33734
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
33065
33735
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
33066
33736
  # @raise [Google::Apis::AuthorizationError] Authorization is required
33067
- def patch_security_policy(project, security_policy, security_policy_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
33737
+ def patch_security_policy(project, security_policy, security_policy_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
33068
33738
  command = make_simple_command(:patch, 'projects/{project}/global/securityPolicies/{securityPolicy}', options)
33069
33739
  command.request_representation = Google::Apis::ComputeV1::SecurityPolicy::Representation
33070
33740
  command.request_object = security_policy_object
@@ -33073,6 +33743,7 @@ module Google
33073
33743
  command.params['project'] = project unless project.nil?
33074
33744
  command.params['securityPolicy'] = security_policy unless security_policy.nil?
33075
33745
  command.query['requestId'] = request_id unless request_id.nil?
33746
+ command.query['updateMask'] = update_mask unless update_mask.nil?
33076
33747
  command.query['fields'] = fields unless fields.nil?
33077
33748
  command.query['quotaUser'] = quota_user unless quota_user.nil?
33078
33749
  command.query['userIp'] = user_ip unless user_ip.nil?
@@ -33088,6 +33759,8 @@ module Google
33088
33759
  # @param [Google::Apis::ComputeV1::SecurityPolicyRule] security_policy_rule_object
33089
33760
  # @param [Fixnum] priority
33090
33761
  # The priority of the rule to patch.
33762
+ # @param [String] update_mask
33763
+ # Indicates fields to be cleared as part of this request.
33091
33764
  # @param [Boolean] validate_only
33092
33765
  # If true, the request will not be committed.
33093
33766
  # @param [String] fields
@@ -33109,7 +33782,7 @@ module Google
33109
33782
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
33110
33783
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
33111
33784
  # @raise [Google::Apis::AuthorizationError] Authorization is required
33112
- def patch_security_policy_rule(project, security_policy, security_policy_rule_object = nil, priority: nil, validate_only: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
33785
+ def patch_security_policy_rule(project, security_policy, security_policy_rule_object = nil, priority: nil, update_mask: nil, validate_only: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
33113
33786
  command = make_simple_command(:post, 'projects/{project}/global/securityPolicies/{securityPolicy}/patchRule', options)
33114
33787
  command.request_representation = Google::Apis::ComputeV1::SecurityPolicyRule::Representation
33115
33788
  command.request_object = security_policy_rule_object
@@ -33118,6 +33791,7 @@ module Google
33118
33791
  command.params['project'] = project unless project.nil?
33119
33792
  command.params['securityPolicy'] = security_policy unless security_policy.nil?
33120
33793
  command.query['priority'] = priority unless priority.nil?
33794
+ command.query['updateMask'] = update_mask unless update_mask.nil?
33121
33795
  command.query['validateOnly'] = validate_only unless validate_only.nil?
33122
33796
  command.query['fields'] = fields unless fields.nil?
33123
33797
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -33266,6 +33940,7 @@ module Google
33266
33940
  # @param [Boolean] return_partial_success
33267
33941
  # Opt-in for partial success behavior which provides partial results in case of
33268
33942
  # failure. The default value is false.
33943
+ # @param [Fixnum] service_project_number
33269
33944
  # @param [String] fields
33270
33945
  # Selector specifying which fields to include in a partial response.
33271
33946
  # @param [String] quota_user
@@ -33285,7 +33960,7 @@ module Google
33285
33960
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
33286
33961
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
33287
33962
  # @raise [Google::Apis::AuthorizationError] Authorization is required
33288
- def aggregated_service_attachment_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
33963
+ def aggregated_service_attachment_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, service_project_number: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
33289
33964
  command = make_simple_command(:get, 'projects/{project}/aggregated/serviceAttachments', options)
33290
33965
  command.response_representation = Google::Apis::ComputeV1::ServiceAttachmentAggregatedList::Representation
33291
33966
  command.response_class = Google::Apis::ComputeV1::ServiceAttachmentAggregatedList
@@ -33296,6 +33971,7 @@ module Google
33296
33971
  command.query['orderBy'] = order_by unless order_by.nil?
33297
33972
  command.query['pageToken'] = page_token unless page_token.nil?
33298
33973
  command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
33974
+ command.query['serviceProjectNumber'] = service_project_number unless service_project_number.nil?
33299
33975
  command.query['fields'] = fields unless fields.nil?
33300
33976
  command.query['quotaUser'] = quota_user unless quota_user.nil?
33301
33977
  command.query['userIp'] = user_ip unless user_ip.nil?
@@ -34166,6 +34842,7 @@ module Google
34166
34842
  # @param [Boolean] return_partial_success
34167
34843
  # Opt-in for partial success behavior which provides partial results in case of
34168
34844
  # failure. The default value is false.
34845
+ # @param [Fixnum] service_project_number
34169
34846
  # @param [String] fields
34170
34847
  # Selector specifying which fields to include in a partial response.
34171
34848
  # @param [String] quota_user
@@ -34185,7 +34862,7 @@ module Google
34185
34862
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
34186
34863
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
34187
34864
  # @raise [Google::Apis::AuthorizationError] Authorization is required
34188
- def aggregated_ssl_certificate_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
34865
+ def aggregated_ssl_certificate_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, service_project_number: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
34189
34866
  command = make_simple_command(:get, 'projects/{project}/aggregated/sslCertificates', options)
34190
34867
  command.response_representation = Google::Apis::ComputeV1::SslCertificateAggregatedList::Representation
34191
34868
  command.response_class = Google::Apis::ComputeV1::SslCertificateAggregatedList
@@ -34196,6 +34873,7 @@ module Google
34196
34873
  command.query['orderBy'] = order_by unless order_by.nil?
34197
34874
  command.query['pageToken'] = page_token unless page_token.nil?
34198
34875
  command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
34876
+ command.query['serviceProjectNumber'] = service_project_number unless service_project_number.nil?
34199
34877
  command.query['fields'] = fields unless fields.nil?
34200
34878
  command.query['quotaUser'] = quota_user unless quota_user.nil?
34201
34879
  command.query['userIp'] = user_ip unless user_ip.nil?
@@ -34485,6 +35163,7 @@ module Google
34485
35163
  # @param [Boolean] return_partial_success
34486
35164
  # Opt-in for partial success behavior which provides partial results in case of
34487
35165
  # failure. The default value is false.
35166
+ # @param [Fixnum] service_project_number
34488
35167
  # @param [String] fields
34489
35168
  # Selector specifying which fields to include in a partial response.
34490
35169
  # @param [String] quota_user
@@ -34504,7 +35183,7 @@ module Google
34504
35183
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
34505
35184
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
34506
35185
  # @raise [Google::Apis::AuthorizationError] Authorization is required
34507
- def aggregated_ssl_policy_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
35186
+ def aggregated_ssl_policy_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, service_project_number: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
34508
35187
  command = make_simple_command(:get, 'projects/{project}/aggregated/sslPolicies', options)
34509
35188
  command.response_representation = Google::Apis::ComputeV1::SslPoliciesAggregatedList::Representation
34510
35189
  command.response_class = Google::Apis::ComputeV1::SslPoliciesAggregatedList
@@ -34515,6 +35194,7 @@ module Google
34515
35194
  command.query['orderBy'] = order_by unless order_by.nil?
34516
35195
  command.query['pageToken'] = page_token unless page_token.nil?
34517
35196
  command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
35197
+ command.query['serviceProjectNumber'] = service_project_number unless service_project_number.nil?
34518
35198
  command.query['fields'] = fields unless fields.nil?
34519
35199
  command.query['quotaUser'] = quota_user unless quota_user.nil?
34520
35200
  command.query['userIp'] = user_ip unless user_ip.nil?
@@ -34945,6 +35625,7 @@ module Google
34945
35625
  # @param [Boolean] return_partial_success
34946
35626
  # Opt-in for partial success behavior which provides partial results in case of
34947
35627
  # failure. The default value is false.
35628
+ # @param [Fixnum] service_project_number
34948
35629
  # @param [String] fields
34949
35630
  # Selector specifying which fields to include in a partial response.
34950
35631
  # @param [String] quota_user
@@ -34964,7 +35645,7 @@ module Google
34964
35645
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
34965
35646
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
34966
35647
  # @raise [Google::Apis::AuthorizationError] Authorization is required
34967
- def aggregated_subnetwork_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
35648
+ def aggregated_subnetwork_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, service_project_number: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
34968
35649
  command = make_simple_command(:get, 'projects/{project}/aggregated/subnetworks', options)
34969
35650
  command.response_representation = Google::Apis::ComputeV1::SubnetworkAggregatedList::Representation
34970
35651
  command.response_class = Google::Apis::ComputeV1::SubnetworkAggregatedList
@@ -34975,6 +35656,7 @@ module Google
34975
35656
  command.query['orderBy'] = order_by unless order_by.nil?
34976
35657
  command.query['pageToken'] = page_token unless page_token.nil?
34977
35658
  command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
35659
+ command.query['serviceProjectNumber'] = service_project_number unless service_project_number.nil?
34978
35660
  command.query['fields'] = fields unless fields.nil?
34979
35661
  command.query['quotaUser'] = quota_user unless quota_user.nil?
34980
35662
  command.query['userIp'] = user_ip unless user_ip.nil?
@@ -35936,6 +36618,7 @@ module Google
35936
36618
  # @param [Boolean] return_partial_success
35937
36619
  # Opt-in for partial success behavior which provides partial results in case of
35938
36620
  # failure. The default value is false.
36621
+ # @param [Fixnum] service_project_number
35939
36622
  # @param [String] fields
35940
36623
  # Selector specifying which fields to include in a partial response.
35941
36624
  # @param [String] quota_user
@@ -35955,7 +36638,7 @@ module Google
35955
36638
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
35956
36639
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
35957
36640
  # @raise [Google::Apis::AuthorizationError] Authorization is required
35958
- def aggregated_target_http_proxy_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
36641
+ def aggregated_target_http_proxy_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, service_project_number: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
35959
36642
  command = make_simple_command(:get, 'projects/{project}/aggregated/targetHttpProxies', options)
35960
36643
  command.response_representation = Google::Apis::ComputeV1::TargetHttpProxyAggregatedList::Representation
35961
36644
  command.response_class = Google::Apis::ComputeV1::TargetHttpProxyAggregatedList
@@ -35966,6 +36649,7 @@ module Google
35966
36649
  command.query['orderBy'] = order_by unless order_by.nil?
35967
36650
  command.query['pageToken'] = page_token unless page_token.nil?
35968
36651
  command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
36652
+ command.query['serviceProjectNumber'] = service_project_number unless service_project_number.nil?
35969
36653
  command.query['fields'] = fields unless fields.nil?
35970
36654
  command.query['quotaUser'] = quota_user unless quota_user.nil?
35971
36655
  command.query['userIp'] = user_ip unless user_ip.nil?
@@ -36357,6 +37041,7 @@ module Google
36357
37041
  # @param [Boolean] return_partial_success
36358
37042
  # Opt-in for partial success behavior which provides partial results in case of
36359
37043
  # failure. The default value is false.
37044
+ # @param [Fixnum] service_project_number
36360
37045
  # @param [String] fields
36361
37046
  # Selector specifying which fields to include in a partial response.
36362
37047
  # @param [String] quota_user
@@ -36376,7 +37061,7 @@ module Google
36376
37061
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
36377
37062
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
36378
37063
  # @raise [Google::Apis::AuthorizationError] Authorization is required
36379
- def aggregated_target_https_proxy_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
37064
+ def aggregated_target_https_proxy_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, service_project_number: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
36380
37065
  command = make_simple_command(:get, 'projects/{project}/aggregated/targetHttpsProxies', options)
36381
37066
  command.response_representation = Google::Apis::ComputeV1::TargetHttpsProxyAggregatedList::Representation
36382
37067
  command.response_class = Google::Apis::ComputeV1::TargetHttpsProxyAggregatedList
@@ -36387,6 +37072,7 @@ module Google
36387
37072
  command.query['orderBy'] = order_by unless order_by.nil?
36388
37073
  command.query['pageToken'] = page_token unless page_token.nil?
36389
37074
  command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
37075
+ command.query['serviceProjectNumber'] = service_project_number unless service_project_number.nil?
36390
37076
  command.query['fields'] = fields unless fields.nil?
36391
37077
  command.query['quotaUser'] = quota_user unless quota_user.nil?
36392
37078
  command.query['userIp'] = user_ip unless user_ip.nil?
@@ -36983,6 +37669,7 @@ module Google
36983
37669
  # @param [Boolean] return_partial_success
36984
37670
  # Opt-in for partial success behavior which provides partial results in case of
36985
37671
  # failure. The default value is false.
37672
+ # @param [Fixnum] service_project_number
36986
37673
  # @param [String] fields
36987
37674
  # Selector specifying which fields to include in a partial response.
36988
37675
  # @param [String] quota_user
@@ -37002,7 +37689,7 @@ module Google
37002
37689
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
37003
37690
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
37004
37691
  # @raise [Google::Apis::AuthorizationError] Authorization is required
37005
- def list_aggregated_target_instance(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
37692
+ def list_aggregated_target_instance(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, service_project_number: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
37006
37693
  command = make_simple_command(:get, 'projects/{project}/aggregated/targetInstances', options)
37007
37694
  command.response_representation = Google::Apis::ComputeV1::TargetInstanceAggregatedList::Representation
37008
37695
  command.response_class = Google::Apis::ComputeV1::TargetInstanceAggregatedList
@@ -37013,6 +37700,7 @@ module Google
37013
37700
  command.query['orderBy'] = order_by unless order_by.nil?
37014
37701
  command.query['pageToken'] = page_token unless page_token.nil?
37015
37702
  command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
37703
+ command.query['serviceProjectNumber'] = service_project_number unless service_project_number.nil?
37016
37704
  command.query['fields'] = fields unless fields.nil?
37017
37705
  command.query['quotaUser'] = quota_user unless quota_user.nil?
37018
37706
  command.query['userIp'] = user_ip unless user_ip.nil?
@@ -37474,6 +38162,7 @@ module Google
37474
38162
  # @param [Boolean] return_partial_success
37475
38163
  # Opt-in for partial success behavior which provides partial results in case of
37476
38164
  # failure. The default value is false.
38165
+ # @param [Fixnum] service_project_number
37477
38166
  # @param [String] fields
37478
38167
  # Selector specifying which fields to include in a partial response.
37479
38168
  # @param [String] quota_user
@@ -37493,7 +38182,7 @@ module Google
37493
38182
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
37494
38183
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
37495
38184
  # @raise [Google::Apis::AuthorizationError] Authorization is required
37496
- def list_aggregated_target_pools(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
38185
+ def list_aggregated_target_pools(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, service_project_number: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
37497
38186
  command = make_simple_command(:get, 'projects/{project}/aggregated/targetPools', options)
37498
38187
  command.response_representation = Google::Apis::ComputeV1::TargetPoolAggregatedList::Representation
37499
38188
  command.response_class = Google::Apis::ComputeV1::TargetPoolAggregatedList
@@ -37504,6 +38193,7 @@ module Google
37504
38193
  command.query['orderBy'] = order_by unless order_by.nil?
37505
38194
  command.query['pageToken'] = page_token unless page_token.nil?
37506
38195
  command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
38196
+ command.query['serviceProjectNumber'] = service_project_number unless service_project_number.nil?
37507
38197
  command.query['fields'] = fields unless fields.nil?
37508
38198
  command.query['quotaUser'] = quota_user unless quota_user.nil?
37509
38199
  command.query['userIp'] = user_ip unless user_ip.nil?
@@ -38540,6 +39230,7 @@ module Google
38540
39230
  # @param [Boolean] return_partial_success
38541
39231
  # Opt-in for partial success behavior which provides partial results in case of
38542
39232
  # failure. The default value is false.
39233
+ # @param [Fixnum] service_project_number
38543
39234
  # @param [String] fields
38544
39235
  # Selector specifying which fields to include in a partial response.
38545
39236
  # @param [String] quota_user
@@ -38559,7 +39250,7 @@ module Google
38559
39250
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
38560
39251
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
38561
39252
  # @raise [Google::Apis::AuthorizationError] Authorization is required
38562
- def aggregated_target_tcp_proxy_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
39253
+ def aggregated_target_tcp_proxy_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, service_project_number: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
38563
39254
  command = make_simple_command(:get, 'projects/{project}/aggregated/targetTcpProxies', options)
38564
39255
  command.response_representation = Google::Apis::ComputeV1::TargetTcpProxyAggregatedList::Representation
38565
39256
  command.response_class = Google::Apis::ComputeV1::TargetTcpProxyAggregatedList
@@ -38570,6 +39261,7 @@ module Google
38570
39261
  command.query['orderBy'] = order_by unless order_by.nil?
38571
39262
  command.query['pageToken'] = page_token unless page_token.nil?
38572
39263
  command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
39264
+ command.query['serviceProjectNumber'] = service_project_number unless service_project_number.nil?
38573
39265
  command.query['fields'] = fields unless fields.nil?
38574
39266
  command.query['quotaUser'] = quota_user unless quota_user.nil?
38575
39267
  command.query['userIp'] = user_ip unless user_ip.nil?
@@ -38958,6 +39650,7 @@ module Google
38958
39650
  # @param [Boolean] return_partial_success
38959
39651
  # Opt-in for partial success behavior which provides partial results in case of
38960
39652
  # failure. The default value is false.
39653
+ # @param [Fixnum] service_project_number
38961
39654
  # @param [String] fields
38962
39655
  # Selector specifying which fields to include in a partial response.
38963
39656
  # @param [String] quota_user
@@ -38977,7 +39670,7 @@ module Google
38977
39670
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
38978
39671
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
38979
39672
  # @raise [Google::Apis::AuthorizationError] Authorization is required
38980
- def list_aggregated_target_vpn_gateways(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
39673
+ def list_aggregated_target_vpn_gateways(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, service_project_number: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
38981
39674
  command = make_simple_command(:get, 'projects/{project}/aggregated/targetVpnGateways', options)
38982
39675
  command.response_representation = Google::Apis::ComputeV1::TargetVpnGatewayAggregatedList::Representation
38983
39676
  command.response_class = Google::Apis::ComputeV1::TargetVpnGatewayAggregatedList
@@ -38988,6 +39681,7 @@ module Google
38988
39681
  command.query['orderBy'] = order_by unless order_by.nil?
38989
39682
  command.query['pageToken'] = page_token unless page_token.nil?
38990
39683
  command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
39684
+ command.query['serviceProjectNumber'] = service_project_number unless service_project_number.nil?
38991
39685
  command.query['fields'] = fields unless fields.nil?
38992
39686
  command.query['quotaUser'] = quota_user unless quota_user.nil?
38993
39687
  command.query['userIp'] = user_ip unless user_ip.nil?
@@ -39343,6 +40037,7 @@ module Google
39343
40037
  # @param [Boolean] return_partial_success
39344
40038
  # Opt-in for partial success behavior which provides partial results in case of
39345
40039
  # failure. The default value is false.
40040
+ # @param [Fixnum] service_project_number
39346
40041
  # @param [String] fields
39347
40042
  # Selector specifying which fields to include in a partial response.
39348
40043
  # @param [String] quota_user
@@ -39362,7 +40057,7 @@ module Google
39362
40057
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
39363
40058
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
39364
40059
  # @raise [Google::Apis::AuthorizationError] Authorization is required
39365
- def aggregated_url_map_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
40060
+ def aggregated_url_map_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, service_project_number: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
39366
40061
  command = make_simple_command(:get, 'projects/{project}/aggregated/urlMaps', options)
39367
40062
  command.response_representation = Google::Apis::ComputeV1::UrlMapsAggregatedList::Representation
39368
40063
  command.response_class = Google::Apis::ComputeV1::UrlMapsAggregatedList
@@ -39373,6 +40068,7 @@ module Google
39373
40068
  command.query['orderBy'] = order_by unless order_by.nil?
39374
40069
  command.query['pageToken'] = page_token unless page_token.nil?
39375
40070
  command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
40071
+ command.query['serviceProjectNumber'] = service_project_number unless service_project_number.nil?
39376
40072
  command.query['fields'] = fields unless fields.nil?
39377
40073
  command.query['quotaUser'] = quota_user unless quota_user.nil?
39378
40074
  command.query['userIp'] = user_ip unless user_ip.nil?
@@ -39854,6 +40550,7 @@ module Google
39854
40550
  # @param [Boolean] return_partial_success
39855
40551
  # Opt-in for partial success behavior which provides partial results in case of
39856
40552
  # failure. The default value is false.
40553
+ # @param [Fixnum] service_project_number
39857
40554
  # @param [String] fields
39858
40555
  # Selector specifying which fields to include in a partial response.
39859
40556
  # @param [String] quota_user
@@ -39873,7 +40570,7 @@ module Google
39873
40570
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
39874
40571
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
39875
40572
  # @raise [Google::Apis::AuthorizationError] Authorization is required
39876
- def aggregated_vpn_gateway_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
40573
+ def aggregated_vpn_gateway_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, service_project_number: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
39877
40574
  command = make_simple_command(:get, 'projects/{project}/aggregated/vpnGateways', options)
39878
40575
  command.response_representation = Google::Apis::ComputeV1::VpnGatewayAggregatedList::Representation
39879
40576
  command.response_class = Google::Apis::ComputeV1::VpnGatewayAggregatedList
@@ -39884,6 +40581,7 @@ module Google
39884
40581
  command.query['orderBy'] = order_by unless order_by.nil?
39885
40582
  command.query['pageToken'] = page_token unless page_token.nil?
39886
40583
  command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
40584
+ command.query['serviceProjectNumber'] = service_project_number unless service_project_number.nil?
39887
40585
  command.query['fields'] = fields unless fields.nil?
39888
40586
  command.query['quotaUser'] = quota_user unless quota_user.nil?
39889
40587
  command.query['userIp'] = user_ip unless user_ip.nil?
@@ -40318,6 +41016,7 @@ module Google
40318
41016
  # @param [Boolean] return_partial_success
40319
41017
  # Opt-in for partial success behavior which provides partial results in case of
40320
41018
  # failure. The default value is false.
41019
+ # @param [Fixnum] service_project_number
40321
41020
  # @param [String] fields
40322
41021
  # Selector specifying which fields to include in a partial response.
40323
41022
  # @param [String] quota_user
@@ -40337,7 +41036,7 @@ module Google
40337
41036
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
40338
41037
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
40339
41038
  # @raise [Google::Apis::AuthorizationError] Authorization is required
40340
- def list_aggregated_vpn_tunnel(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
41039
+ def list_aggregated_vpn_tunnel(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, service_project_number: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
40341
41040
  command = make_simple_command(:get, 'projects/{project}/aggregated/vpnTunnels', options)
40342
41041
  command.response_representation = Google::Apis::ComputeV1::VpnTunnelAggregatedList::Representation
40343
41042
  command.response_class = Google::Apis::ComputeV1::VpnTunnelAggregatedList
@@ -40348,6 +41047,7 @@ module Google
40348
41047
  command.query['orderBy'] = order_by unless order_by.nil?
40349
41048
  command.query['pageToken'] = page_token unless page_token.nil?
40350
41049
  command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
41050
+ command.query['serviceProjectNumber'] = service_project_number unless service_project_number.nil?
40351
41051
  command.query['fields'] = fields unless fields.nil?
40352
41052
  command.query['quotaUser'] = quota_user unless quota_user.nil?
40353
41053
  command.query['userIp'] = user_ip unless user_ip.nil?