google-apis-compute_beta 0.31.0 → 0.34.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.
@@ -9051,8 +9051,8 @@ module Google
9051
9051
  execute_or_queue_command(command, &block)
9052
9052
  end
9053
9053
 
9054
- # Creates instances with per-instance configs in this managed instance group.
9055
- # Instances are created using the current instance template. The create
9054
+ # Creates instances with per-instance configurations in this managed instance
9055
+ # group. Instances are created using the current instance template. The create
9056
9056
  # instances operation is marked DONE if the createInstances request is
9057
9057
  # successful. The underlying actions take additional time. You must separately
9058
9058
  # verify the status of the creating or actions with the listmanagedinstances
@@ -9224,7 +9224,7 @@ module Google
9224
9224
  execute_or_queue_command(command, &block)
9225
9225
  end
9226
9226
 
9227
- # Deletes selected per-instance configs for the managed instance group.
9227
+ # Deletes selected per-instance configurations for the managed instance group.
9228
9228
  # @param [String] project
9229
9229
  # Project ID for this request.
9230
9230
  # @param [String] zone
@@ -9620,8 +9620,8 @@ module Google
9620
9620
  execute_or_queue_command(command, &block)
9621
9621
  end
9622
9622
 
9623
- # Lists all of the per-instance configs defined for the managed instance group.
9624
- # The orderBy query parameter is not supported.
9623
+ # Lists all of the per-instance configurations defined for the managed instance
9624
+ # group. The orderBy query parameter is not supported.
9625
9625
  # @param [String] project
9626
9626
  # Project ID for this request.
9627
9627
  # @param [String] zone
@@ -9767,7 +9767,7 @@ module Google
9767
9767
  execute_or_queue_command(command, &block)
9768
9768
  end
9769
9769
 
9770
- # Inserts or patches per-instance configs for the managed instance group.
9770
+ # Inserts or patches per-instance configurations for the managed instance group.
9771
9771
  # perInstanceConfig.name serves as a key used to distinguish whether to perform
9772
9772
  # insert or patch.
9773
9773
  # @param [String] project
@@ -10289,7 +10289,7 @@ module Google
10289
10289
  execute_or_queue_command(command, &block)
10290
10290
  end
10291
10291
 
10292
- # Inserts or updates per-instance configs for the managed instance group.
10292
+ # Inserts or updates per-instance configurations for the managed instance group.
10293
10293
  # perInstanceConfig.name serves as a key used to distinguish whether to perform
10294
10294
  # insert or patch.
10295
10295
  # @param [String] project
@@ -24707,9 +24707,9 @@ module Google
24707
24707
  execute_or_queue_command(command, &block)
24708
24708
  end
24709
24709
 
24710
- # Creates instances with per-instance configs in this regional managed instance
24711
- # group. Instances are created using the current instance template. The create
24712
- # instances operation is marked DONE if the createInstances request is
24710
+ # Creates instances with per-instance configurations in this regional managed
24711
+ # instance group. Instances are created using the current instance template. The
24712
+ # create instances operation is marked DONE if the createInstances request is
24713
24713
  # successful. The underlying actions take additional time. You must separately
24714
24714
  # verify the status of the creating or actions with the listmanagedinstances
24715
24715
  # method.
@@ -24879,7 +24879,7 @@ module Google
24879
24879
  execute_or_queue_command(command, &block)
24880
24880
  end
24881
24881
 
24882
- # Deletes selected per-instance configs for the managed instance group.
24882
+ # Deletes selected per-instance configurations for the managed instance group.
24883
24883
  # @param [String] project
24884
24884
  # Project ID for this request.
24885
24885
  # @param [String] region
@@ -25268,8 +25268,8 @@ module Google
25268
25268
  execute_or_queue_command(command, &block)
25269
25269
  end
25270
25270
 
25271
- # Lists all of the per-instance configs defined for the managed instance group.
25272
- # The orderBy query parameter is not supported.
25271
+ # Lists all of the per-instance configurations defined for the managed instance
25272
+ # group. The orderBy query parameter is not supported.
25273
25273
  # @param [String] project
25274
25274
  # Project ID for this request.
25275
25275
  # @param [String] region
@@ -25414,7 +25414,7 @@ module Google
25414
25414
  execute_or_queue_command(command, &block)
25415
25415
  end
25416
25416
 
25417
- # Inserts or patches per-instance configs for the managed instance group.
25417
+ # Inserts or patches per-instance configurations for the managed instance group.
25418
25418
  # perInstanceConfig.name serves as a key used to distinguish whether to perform
25419
25419
  # insert or patch.
25420
25420
  # @param [String] project
@@ -25923,7 +25923,7 @@ module Google
25923
25923
  execute_or_queue_command(command, &block)
25924
25924
  end
25925
25925
 
25926
- # Inserts or updates per-instance configs for the managed instance group.
25926
+ # Inserts or updates per-instance configurations for the managed instance group.
25927
25927
  # perInstanceConfig.name serves as a key used to distinguish whether to perform
25928
25928
  # insert or patch.
25929
25929
  # @param [String] project
@@ -28426,13 +28426,15 @@ module Google
28426
28426
  execute_or_queue_command(command, &block)
28427
28427
  end
28428
28428
 
28429
- # Deletes the specified TargetHttpProxy resource.
28429
+ # Deletes the specified SSL policy. The SSL policy resource can be deleted only
28430
+ # if it is not in use by any TargetHttpsProxy or TargetSslProxy resources.
28430
28431
  # @param [String] project
28431
28432
  # Project ID for this request.
28432
28433
  # @param [String] region
28433
28434
  # Name of the region scoping this request.
28434
- # @param [String] target_http_proxy
28435
- # Name of the TargetHttpProxy resource to delete.
28435
+ # @param [String] ssl_policy
28436
+ # Name of the SSL policy to delete. The name must be 1-63 characters long, and
28437
+ # comply with RFC1035.
28436
28438
  # @param [String] request_id
28437
28439
  # An optional request ID to identify requests. Specify a unique request ID so
28438
28440
  # that if you must retry your request, the server will know to ignore the
@@ -28462,13 +28464,13 @@ module Google
28462
28464
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
28463
28465
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
28464
28466
  # @raise [Google::Apis::AuthorizationError] Authorization is required
28465
- def delete_region_target_http_proxy(project, region, target_http_proxy, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
28466
- command = make_simple_command(:delete, 'projects/{project}/regions/{region}/targetHttpProxies/{targetHttpProxy}', options)
28467
+ def delete_region_ssl_policy(project, region, ssl_policy, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
28468
+ command = make_simple_command(:delete, 'projects/{project}/regions/{region}/sslPolicies/{sslPolicy}', options)
28467
28469
  command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
28468
28470
  command.response_class = Google::Apis::ComputeBeta::Operation
28469
28471
  command.params['project'] = project unless project.nil?
28470
28472
  command.params['region'] = region unless region.nil?
28471
- command.params['targetHttpProxy'] = target_http_proxy unless target_http_proxy.nil?
28473
+ command.params['sslPolicy'] = ssl_policy unless ssl_policy.nil?
28472
28474
  command.query['requestId'] = request_id unless request_id.nil?
28473
28475
  command.query['fields'] = fields unless fields.nil?
28474
28476
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -28476,14 +28478,14 @@ module Google
28476
28478
  execute_or_queue_command(command, &block)
28477
28479
  end
28478
28480
 
28479
- # Returns the specified TargetHttpProxy resource in the specified region. Gets a
28480
- # list of available target HTTP proxies by making a list() request.
28481
+ # Lists all of the ordered rules present in a single specified policy.
28481
28482
  # @param [String] project
28482
28483
  # Project ID for this request.
28483
28484
  # @param [String] region
28484
28485
  # Name of the region scoping this request.
28485
- # @param [String] target_http_proxy
28486
- # Name of the TargetHttpProxy resource to return.
28486
+ # @param [String] ssl_policy
28487
+ # Name of the SSL policy to update. The name must be 1-63 characters long, and
28488
+ # comply with RFC1035.
28487
28489
  # @param [String] fields
28488
28490
  # Selector specifying which fields to include in a partial response.
28489
28491
  # @param [String] quota_user
@@ -28495,34 +28497,34 @@ module Google
28495
28497
  # Request-specific options
28496
28498
  #
28497
28499
  # @yield [result, err] Result & error if block supplied
28498
- # @yieldparam result [Google::Apis::ComputeBeta::TargetHttpProxy] parsed result object
28500
+ # @yieldparam result [Google::Apis::ComputeBeta::SslPolicy] parsed result object
28499
28501
  # @yieldparam err [StandardError] error object if request failed
28500
28502
  #
28501
- # @return [Google::Apis::ComputeBeta::TargetHttpProxy]
28503
+ # @return [Google::Apis::ComputeBeta::SslPolicy]
28502
28504
  #
28503
28505
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
28504
28506
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
28505
28507
  # @raise [Google::Apis::AuthorizationError] Authorization is required
28506
- def get_region_target_http_proxy(project, region, target_http_proxy, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
28507
- command = make_simple_command(:get, 'projects/{project}/regions/{region}/targetHttpProxies/{targetHttpProxy}', options)
28508
- command.response_representation = Google::Apis::ComputeBeta::TargetHttpProxy::Representation
28509
- command.response_class = Google::Apis::ComputeBeta::TargetHttpProxy
28508
+ def get_region_ssl_policy(project, region, ssl_policy, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
28509
+ command = make_simple_command(:get, 'projects/{project}/regions/{region}/sslPolicies/{sslPolicy}', options)
28510
+ command.response_representation = Google::Apis::ComputeBeta::SslPolicy::Representation
28511
+ command.response_class = Google::Apis::ComputeBeta::SslPolicy
28510
28512
  command.params['project'] = project unless project.nil?
28511
28513
  command.params['region'] = region unless region.nil?
28512
- command.params['targetHttpProxy'] = target_http_proxy unless target_http_proxy.nil?
28514
+ command.params['sslPolicy'] = ssl_policy unless ssl_policy.nil?
28513
28515
  command.query['fields'] = fields unless fields.nil?
28514
28516
  command.query['quotaUser'] = quota_user unless quota_user.nil?
28515
28517
  command.query['userIp'] = user_ip unless user_ip.nil?
28516
28518
  execute_or_queue_command(command, &block)
28517
28519
  end
28518
28520
 
28519
- # Creates a TargetHttpProxy resource in the specified project and region using
28520
- # the data included in the request.
28521
+ # Creates a new policy in the specified project and region using the data
28522
+ # included in the request.
28521
28523
  # @param [String] project
28522
28524
  # Project ID for this request.
28523
28525
  # @param [String] region
28524
28526
  # Name of the region scoping this request.
28525
- # @param [Google::Apis::ComputeBeta::TargetHttpProxy] target_http_proxy_object
28527
+ # @param [Google::Apis::ComputeBeta::SslPolicy] ssl_policy_object
28526
28528
  # @param [String] request_id
28527
28529
  # An optional request ID to identify requests. Specify a unique request ID so
28528
28530
  # that if you must retry your request, the server will know to ignore the
@@ -28552,10 +28554,10 @@ module Google
28552
28554
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
28553
28555
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
28554
28556
  # @raise [Google::Apis::AuthorizationError] Authorization is required
28555
- def insert_region_target_http_proxy(project, region, target_http_proxy_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
28556
- command = make_simple_command(:post, 'projects/{project}/regions/{region}/targetHttpProxies', options)
28557
- command.request_representation = Google::Apis::ComputeBeta::TargetHttpProxy::Representation
28558
- command.request_object = target_http_proxy_object
28557
+ def insert_region_ssl_policy(project, region, ssl_policy_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
28558
+ command = make_simple_command(:post, 'projects/{project}/regions/{region}/sslPolicies', options)
28559
+ command.request_representation = Google::Apis::ComputeBeta::SslPolicy::Representation
28560
+ command.request_object = ssl_policy_object
28559
28561
  command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
28560
28562
  command.response_class = Google::Apis::ComputeBeta::Operation
28561
28563
  command.params['project'] = project unless project.nil?
@@ -28567,8 +28569,8 @@ module Google
28567
28569
  execute_or_queue_command(command, &block)
28568
28570
  end
28569
28571
 
28570
- # Retrieves the list of TargetHttpProxy resources available to the specified
28571
- # project in the specified region.
28572
+ # Lists all the SSL policies that have been configured for the specified project
28573
+ # and region.
28572
28574
  # @param [String] project
28573
28575
  # Project ID for this request.
28574
28576
  # @param [String] region
@@ -28623,18 +28625,18 @@ module Google
28623
28625
  # Request-specific options
28624
28626
  #
28625
28627
  # @yield [result, err] Result & error if block supplied
28626
- # @yieldparam result [Google::Apis::ComputeBeta::TargetHttpProxyList] parsed result object
28628
+ # @yieldparam result [Google::Apis::ComputeBeta::SslPoliciesList] parsed result object
28627
28629
  # @yieldparam err [StandardError] error object if request failed
28628
28630
  #
28629
- # @return [Google::Apis::ComputeBeta::TargetHttpProxyList]
28631
+ # @return [Google::Apis::ComputeBeta::SslPoliciesList]
28630
28632
  #
28631
28633
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
28632
28634
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
28633
28635
  # @raise [Google::Apis::AuthorizationError] Authorization is required
28634
- def list_region_target_http_proxies(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)
28635
- command = make_simple_command(:get, 'projects/{project}/regions/{region}/targetHttpProxies', options)
28636
- command.response_representation = Google::Apis::ComputeBeta::TargetHttpProxyList::Representation
28637
- command.response_class = Google::Apis::ComputeBeta::TargetHttpProxyList
28636
+ def list_region_ssl_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)
28637
+ command = make_simple_command(:get, 'projects/{project}/regions/{region}/sslPolicies', options)
28638
+ command.response_representation = Google::Apis::ComputeBeta::SslPoliciesList::Representation
28639
+ command.response_class = Google::Apis::ComputeBeta::SslPoliciesList
28638
28640
  command.params['project'] = project unless project.nil?
28639
28641
  command.params['region'] = region unless region.nil?
28640
28642
  command.query['filter'] = filter unless filter.nil?
@@ -28648,14 +28650,96 @@ module Google
28648
28650
  execute_or_queue_command(command, &block)
28649
28651
  end
28650
28652
 
28651
- # Changes the URL map for TargetHttpProxy.
28653
+ # Lists all features that can be specified in the SSL policy when using custom
28654
+ # profile.
28652
28655
  # @param [String] project
28653
28656
  # Project ID for this request.
28654
28657
  # @param [String] region
28655
28658
  # Name of the region scoping this request.
28656
- # @param [String] target_http_proxy
28657
- # Name of the TargetHttpProxy to set a URL map for.
28658
- # @param [Google::Apis::ComputeBeta::UrlMapReference] url_map_reference_object
28659
+ # @param [String] filter
28660
+ # A filter expression that filters resources listed in the response. The
28661
+ # expression must specify the field name, an operator, and the value that you
28662
+ # want to use for filtering. The value must be a string, a number, or a boolean.
28663
+ # The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For
28664
+ # example, if you are filtering Compute Engine instances, you can exclude
28665
+ # instances named `example-instance` by specifying `name != example-instance`.
28666
+ # The `:` operator can be used with string fields to match substrings. For non-
28667
+ # string fields it is equivalent to the `=` operator. The `:*` comparison can be
28668
+ # used to test whether a key has been defined. For example, to find all objects
28669
+ # with `owner` label use: ``` labels.owner:* ``` You can also filter nested
28670
+ # fields. For example, you could specify `scheduling.automaticRestart = false`
28671
+ # to include instances only if they are not scheduled for automatic restarts.
28672
+ # You can use filtering on nested fields to filter based on resource labels. To
28673
+ # filter on multiple expressions, provide each separate expression within
28674
+ # parentheses. For example: ``` (scheduling.automaticRestart = true) (
28675
+ # cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND`
28676
+ # expression. However, you can include `AND` and `OR` expressions explicitly.
28677
+ # For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel
28678
+ # Broadwell") AND (scheduling.automaticRestart = true) ```
28679
+ # @param [Fixnum] max_results
28680
+ # The maximum number of results per page that should be returned. If the number
28681
+ # of available results is larger than `maxResults`, Compute Engine returns a `
28682
+ # nextPageToken` that can be used to get the next page of results in subsequent
28683
+ # list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
28684
+ # @param [String] order_by
28685
+ # Sorts list results by a certain order. By default, results are returned in
28686
+ # alphanumerical order based on the resource name. You can also sort results in
28687
+ # descending order based on the creation timestamp using `orderBy="
28688
+ # creationTimestamp desc"`. This sorts results based on the `creationTimestamp`
28689
+ # field in reverse chronological order (newest result first). Use this to sort
28690
+ # resources like operations so that the newest operation is returned first.
28691
+ # Currently, only sorting by `name` or `creationTimestamp desc` is supported.
28692
+ # @param [String] page_token
28693
+ # Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
28694
+ # by a previous list request to get the next page of results.
28695
+ # @param [Boolean] return_partial_success
28696
+ # Opt-in for partial success behavior which provides partial results in case of
28697
+ # failure. The default value is false.
28698
+ # @param [String] fields
28699
+ # Selector specifying which fields to include in a partial response.
28700
+ # @param [String] quota_user
28701
+ # Available to use for quota purposes for server-side applications. Can be any
28702
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
28703
+ # @param [String] user_ip
28704
+ # Legacy name for parameter that has been superseded by `quotaUser`.
28705
+ # @param [Google::Apis::RequestOptions] options
28706
+ # Request-specific options
28707
+ #
28708
+ # @yield [result, err] Result & error if block supplied
28709
+ # @yieldparam result [Google::Apis::ComputeBeta::SslPoliciesListAvailableFeaturesResponse] parsed result object
28710
+ # @yieldparam err [StandardError] error object if request failed
28711
+ #
28712
+ # @return [Google::Apis::ComputeBeta::SslPoliciesListAvailableFeaturesResponse]
28713
+ #
28714
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
28715
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
28716
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
28717
+ def list_region_ssl_policy_available_features(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)
28718
+ command = make_simple_command(:get, 'projects/{project}/regions/{region}/sslPolicies/listAvailableFeatures', options)
28719
+ command.response_representation = Google::Apis::ComputeBeta::SslPoliciesListAvailableFeaturesResponse::Representation
28720
+ command.response_class = Google::Apis::ComputeBeta::SslPoliciesListAvailableFeaturesResponse
28721
+ command.params['project'] = project unless project.nil?
28722
+ command.params['region'] = region unless region.nil?
28723
+ command.query['filter'] = filter unless filter.nil?
28724
+ command.query['maxResults'] = max_results unless max_results.nil?
28725
+ command.query['orderBy'] = order_by unless order_by.nil?
28726
+ command.query['pageToken'] = page_token unless page_token.nil?
28727
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
28728
+ command.query['fields'] = fields unless fields.nil?
28729
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
28730
+ command.query['userIp'] = user_ip unless user_ip.nil?
28731
+ execute_or_queue_command(command, &block)
28732
+ end
28733
+
28734
+ # Patches the specified SSL policy with the data included in the request.
28735
+ # @param [String] project
28736
+ # Project ID for this request.
28737
+ # @param [String] region
28738
+ # Name of the region scoping this request.
28739
+ # @param [String] ssl_policy
28740
+ # Name of the SSL policy to update. The name must be 1-63 characters long, and
28741
+ # comply with RFC1035.
28742
+ # @param [Google::Apis::ComputeBeta::SslPolicy] ssl_policy_object
28659
28743
  # @param [String] request_id
28660
28744
  # An optional request ID to identify requests. Specify a unique request ID so
28661
28745
  # that if you must retry your request, the server will know to ignore the
@@ -28685,15 +28769,15 @@ module Google
28685
28769
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
28686
28770
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
28687
28771
  # @raise [Google::Apis::AuthorizationError] Authorization is required
28688
- def set_region_target_http_proxy_url_map(project, region, target_http_proxy, url_map_reference_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
28689
- command = make_simple_command(:post, 'projects/{project}/regions/{region}/targetHttpProxies/{targetHttpProxy}/setUrlMap', options)
28690
- command.request_representation = Google::Apis::ComputeBeta::UrlMapReference::Representation
28691
- command.request_object = url_map_reference_object
28772
+ def patch_region_ssl_policy(project, region, ssl_policy, ssl_policy_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
28773
+ command = make_simple_command(:patch, 'projects/{project}/regions/{region}/sslPolicies/{sslPolicy}', options)
28774
+ command.request_representation = Google::Apis::ComputeBeta::SslPolicy::Representation
28775
+ command.request_object = ssl_policy_object
28692
28776
  command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
28693
28777
  command.response_class = Google::Apis::ComputeBeta::Operation
28694
28778
  command.params['project'] = project unless project.nil?
28695
28779
  command.params['region'] = region unless region.nil?
28696
- command.params['targetHttpProxy'] = target_http_proxy unless target_http_proxy.nil?
28780
+ command.params['sslPolicy'] = ssl_policy unless ssl_policy.nil?
28697
28781
  command.query['requestId'] = request_id unless request_id.nil?
28698
28782
  command.query['fields'] = fields unless fields.nil?
28699
28783
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -28728,8 +28812,8 @@ module Google
28728
28812
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
28729
28813
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
28730
28814
  # @raise [Google::Apis::AuthorizationError] Authorization is required
28731
- def test_region_target_http_proxy_iam_permissions(project, region, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
28732
- command = make_simple_command(:post, 'projects/{project}/regions/{region}/targetHttpProxies/{resource}/testIamPermissions', options)
28815
+ def test_region_ssl_policy_iam_permissions(project, region, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
28816
+ command = make_simple_command(:post, 'projects/{project}/regions/{region}/sslPolicies/{resource}/testIamPermissions', options)
28733
28817
  command.request_representation = Google::Apis::ComputeBeta::TestPermissionsRequest::Representation
28734
28818
  command.request_object = test_permissions_request_object
28735
28819
  command.response_representation = Google::Apis::ComputeBeta::TestPermissionsResponse::Representation
@@ -28743,13 +28827,13 @@ module Google
28743
28827
  execute_or_queue_command(command, &block)
28744
28828
  end
28745
28829
 
28746
- # Deletes the specified TargetHttpsProxy resource.
28830
+ # Deletes the specified TargetHttpProxy resource.
28747
28831
  # @param [String] project
28748
28832
  # Project ID for this request.
28749
28833
  # @param [String] region
28750
28834
  # Name of the region scoping this request.
28751
- # @param [String] target_https_proxy
28752
- # Name of the TargetHttpsProxy resource to delete.
28835
+ # @param [String] target_http_proxy
28836
+ # Name of the TargetHttpProxy resource to delete.
28753
28837
  # @param [String] request_id
28754
28838
  # An optional request ID to identify requests. Specify a unique request ID so
28755
28839
  # that if you must retry your request, the server will know to ignore the
@@ -28779,13 +28863,13 @@ module Google
28779
28863
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
28780
28864
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
28781
28865
  # @raise [Google::Apis::AuthorizationError] Authorization is required
28782
- def delete_region_target_https_proxy(project, region, target_https_proxy, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
28783
- command = make_simple_command(:delete, 'projects/{project}/regions/{region}/targetHttpsProxies/{targetHttpsProxy}', options)
28866
+ def delete_region_target_http_proxy(project, region, target_http_proxy, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
28867
+ command = make_simple_command(:delete, 'projects/{project}/regions/{region}/targetHttpProxies/{targetHttpProxy}', options)
28784
28868
  command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
28785
28869
  command.response_class = Google::Apis::ComputeBeta::Operation
28786
28870
  command.params['project'] = project unless project.nil?
28787
28871
  command.params['region'] = region unless region.nil?
28788
- command.params['targetHttpsProxy'] = target_https_proxy unless target_https_proxy.nil?
28872
+ command.params['targetHttpProxy'] = target_http_proxy unless target_http_proxy.nil?
28789
28873
  command.query['requestId'] = request_id unless request_id.nil?
28790
28874
  command.query['fields'] = fields unless fields.nil?
28791
28875
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -28793,14 +28877,14 @@ module Google
28793
28877
  execute_or_queue_command(command, &block)
28794
28878
  end
28795
28879
 
28796
- # Returns the specified TargetHttpsProxy resource in the specified region. Gets
28797
- # a list of available target HTTP proxies by making a list() request.
28880
+ # Returns the specified TargetHttpProxy resource in the specified region. Gets a
28881
+ # list of available target HTTP proxies by making a list() request.
28798
28882
  # @param [String] project
28799
28883
  # Project ID for this request.
28800
28884
  # @param [String] region
28801
28885
  # Name of the region scoping this request.
28802
- # @param [String] target_https_proxy
28803
- # Name of the TargetHttpsProxy resource to return.
28886
+ # @param [String] target_http_proxy
28887
+ # Name of the TargetHttpProxy resource to return.
28804
28888
  # @param [String] fields
28805
28889
  # Selector specifying which fields to include in a partial response.
28806
28890
  # @param [String] quota_user
@@ -28812,34 +28896,34 @@ module Google
28812
28896
  # Request-specific options
28813
28897
  #
28814
28898
  # @yield [result, err] Result & error if block supplied
28815
- # @yieldparam result [Google::Apis::ComputeBeta::TargetHttpsProxy] parsed result object
28899
+ # @yieldparam result [Google::Apis::ComputeBeta::TargetHttpProxy] parsed result object
28816
28900
  # @yieldparam err [StandardError] error object if request failed
28817
28901
  #
28818
- # @return [Google::Apis::ComputeBeta::TargetHttpsProxy]
28902
+ # @return [Google::Apis::ComputeBeta::TargetHttpProxy]
28819
28903
  #
28820
28904
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
28821
28905
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
28822
28906
  # @raise [Google::Apis::AuthorizationError] Authorization is required
28823
- def get_region_target_https_proxy(project, region, target_https_proxy, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
28824
- command = make_simple_command(:get, 'projects/{project}/regions/{region}/targetHttpsProxies/{targetHttpsProxy}', options)
28825
- command.response_representation = Google::Apis::ComputeBeta::TargetHttpsProxy::Representation
28826
- command.response_class = Google::Apis::ComputeBeta::TargetHttpsProxy
28907
+ def get_region_target_http_proxy(project, region, target_http_proxy, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
28908
+ command = make_simple_command(:get, 'projects/{project}/regions/{region}/targetHttpProxies/{targetHttpProxy}', options)
28909
+ command.response_representation = Google::Apis::ComputeBeta::TargetHttpProxy::Representation
28910
+ command.response_class = Google::Apis::ComputeBeta::TargetHttpProxy
28827
28911
  command.params['project'] = project unless project.nil?
28828
28912
  command.params['region'] = region unless region.nil?
28829
- command.params['targetHttpsProxy'] = target_https_proxy unless target_https_proxy.nil?
28913
+ command.params['targetHttpProxy'] = target_http_proxy unless target_http_proxy.nil?
28830
28914
  command.query['fields'] = fields unless fields.nil?
28831
28915
  command.query['quotaUser'] = quota_user unless quota_user.nil?
28832
28916
  command.query['userIp'] = user_ip unless user_ip.nil?
28833
28917
  execute_or_queue_command(command, &block)
28834
28918
  end
28835
28919
 
28836
- # Creates a TargetHttpsProxy resource in the specified project and region using
28920
+ # Creates a TargetHttpProxy resource in the specified project and region using
28837
28921
  # the data included in the request.
28838
28922
  # @param [String] project
28839
28923
  # Project ID for this request.
28840
28924
  # @param [String] region
28841
28925
  # Name of the region scoping this request.
28842
- # @param [Google::Apis::ComputeBeta::TargetHttpsProxy] target_https_proxy_object
28926
+ # @param [Google::Apis::ComputeBeta::TargetHttpProxy] target_http_proxy_object
28843
28927
  # @param [String] request_id
28844
28928
  # An optional request ID to identify requests. Specify a unique request ID so
28845
28929
  # that if you must retry your request, the server will know to ignore the
@@ -28869,10 +28953,10 @@ module Google
28869
28953
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
28870
28954
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
28871
28955
  # @raise [Google::Apis::AuthorizationError] Authorization is required
28872
- def insert_region_target_https_proxy(project, region, target_https_proxy_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
28873
- command = make_simple_command(:post, 'projects/{project}/regions/{region}/targetHttpsProxies', options)
28874
- command.request_representation = Google::Apis::ComputeBeta::TargetHttpsProxy::Representation
28875
- command.request_object = target_https_proxy_object
28956
+ def insert_region_target_http_proxy(project, region, target_http_proxy_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
28957
+ command = make_simple_command(:post, 'projects/{project}/regions/{region}/targetHttpProxies', options)
28958
+ command.request_representation = Google::Apis::ComputeBeta::TargetHttpProxy::Representation
28959
+ command.request_object = target_http_proxy_object
28876
28960
  command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
28877
28961
  command.response_class = Google::Apis::ComputeBeta::Operation
28878
28962
  command.params['project'] = project unless project.nil?
@@ -28884,7 +28968,7 @@ module Google
28884
28968
  execute_or_queue_command(command, &block)
28885
28969
  end
28886
28970
 
28887
- # Retrieves the list of TargetHttpsProxy resources available to the specified
28971
+ # Retrieves the list of TargetHttpProxy resources available to the specified
28888
28972
  # project in the specified region.
28889
28973
  # @param [String] project
28890
28974
  # Project ID for this request.
@@ -28940,18 +29024,18 @@ module Google
28940
29024
  # Request-specific options
28941
29025
  #
28942
29026
  # @yield [result, err] Result & error if block supplied
28943
- # @yieldparam result [Google::Apis::ComputeBeta::TargetHttpsProxyList] parsed result object
29027
+ # @yieldparam result [Google::Apis::ComputeBeta::TargetHttpProxyList] parsed result object
28944
29028
  # @yieldparam err [StandardError] error object if request failed
28945
29029
  #
28946
- # @return [Google::Apis::ComputeBeta::TargetHttpsProxyList]
29030
+ # @return [Google::Apis::ComputeBeta::TargetHttpProxyList]
28947
29031
  #
28948
29032
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
28949
29033
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
28950
29034
  # @raise [Google::Apis::AuthorizationError] Authorization is required
28951
- def list_region_target_https_proxies(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)
28952
- command = make_simple_command(:get, 'projects/{project}/regions/{region}/targetHttpsProxies', options)
28953
- command.response_representation = Google::Apis::ComputeBeta::TargetHttpsProxyList::Representation
28954
- command.response_class = Google::Apis::ComputeBeta::TargetHttpsProxyList
29035
+ def list_region_target_http_proxies(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)
29036
+ command = make_simple_command(:get, 'projects/{project}/regions/{region}/targetHttpProxies', options)
29037
+ command.response_representation = Google::Apis::ComputeBeta::TargetHttpProxyList::Representation
29038
+ command.response_class = Google::Apis::ComputeBeta::TargetHttpProxyList
28955
29039
  command.params['project'] = project unless project.nil?
28956
29040
  command.params['region'] = region unless region.nil?
28957
29041
  command.query['filter'] = filter unless filter.nil?
@@ -28965,16 +29049,14 @@ module Google
28965
29049
  execute_or_queue_command(command, &block)
28966
29050
  end
28967
29051
 
28968
- # Patches the specified regional TargetHttpsProxy resource with the data
28969
- # included in the request. This method supports PATCH semantics and uses JSON
28970
- # merge patch format and processing rules.
29052
+ # Changes the URL map for TargetHttpProxy.
28971
29053
  # @param [String] project
28972
29054
  # Project ID for this request.
28973
29055
  # @param [String] region
28974
- # Name of the region for this request.
28975
- # @param [String] target_https_proxy
28976
- # Name of the TargetHttpsProxy resource to patch.
28977
- # @param [Google::Apis::ComputeBeta::TargetHttpsProxy] target_https_proxy_object
29056
+ # Name of the region scoping this request.
29057
+ # @param [String] target_http_proxy
29058
+ # Name of the TargetHttpProxy to set a URL map for.
29059
+ # @param [Google::Apis::ComputeBeta::UrlMapReference] url_map_reference_object
28978
29060
  # @param [String] request_id
28979
29061
  # An optional request ID to identify requests. Specify a unique request ID so
28980
29062
  # that if you must retry your request, the server will know to ignore the
@@ -29004,15 +29086,15 @@ module Google
29004
29086
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
29005
29087
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
29006
29088
  # @raise [Google::Apis::AuthorizationError] Authorization is required
29007
- def patch_region_target_https_proxy(project, region, target_https_proxy, target_https_proxy_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
29008
- command = make_simple_command(:patch, 'projects/{project}/regions/{region}/targetHttpsProxies/{targetHttpsProxy}', options)
29009
- command.request_representation = Google::Apis::ComputeBeta::TargetHttpsProxy::Representation
29010
- command.request_object = target_https_proxy_object
29089
+ def set_region_target_http_proxy_url_map(project, region, target_http_proxy, url_map_reference_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
29090
+ command = make_simple_command(:post, 'projects/{project}/regions/{region}/targetHttpProxies/{targetHttpProxy}/setUrlMap', options)
29091
+ command.request_representation = Google::Apis::ComputeBeta::UrlMapReference::Representation
29092
+ command.request_object = url_map_reference_object
29011
29093
  command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
29012
29094
  command.response_class = Google::Apis::ComputeBeta::Operation
29013
29095
  command.params['project'] = project unless project.nil?
29014
29096
  command.params['region'] = region unless region.nil?
29015
- command.params['targetHttpsProxy'] = target_https_proxy unless target_https_proxy.nil?
29097
+ command.params['targetHttpProxy'] = target_http_proxy unless target_http_proxy.nil?
29016
29098
  command.query['requestId'] = request_id unless request_id.nil?
29017
29099
  command.query['fields'] = fields unless fields.nil?
29018
29100
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -29020,26 +29102,492 @@ module Google
29020
29102
  execute_or_queue_command(command, &block)
29021
29103
  end
29022
29104
 
29023
- # Replaces SslCertificates for TargetHttpsProxy.
29105
+ # Returns permissions that a caller has on the specified resource.
29024
29106
  # @param [String] project
29025
29107
  # Project ID for this request.
29026
29108
  # @param [String] region
29027
- # Name of the region scoping this request.
29028
- # @param [String] target_https_proxy
29029
- # Name of the TargetHttpsProxy resource to set an SslCertificates resource for.
29030
- # @param [Google::Apis::ComputeBeta::RegionTargetHttpsProxiesSetSslCertificatesRequest] region_target_https_proxies_set_ssl_certificates_request_object
29031
- # @param [String] request_id
29032
- # An optional request ID to identify requests. Specify a unique request ID so
29033
- # that if you must retry your request, the server will know to ignore the
29034
- # request if it has already been completed. For example, consider a situation
29035
- # where you make an initial request and the request times out. If you make the
29036
- # request again with the same request ID, the server can check if original
29037
- # operation with the same request ID was received, and if so, will ignore the
29038
- # second request. This prevents clients from accidentally creating duplicate
29039
- # commitments. The request ID must be a valid UUID with the exception that zero
29040
- # UUID is not supported ( 00000000-0000-0000-0000-000000000000).
29041
- # @param [String] fields
29042
- # Selector specifying which fields to include in a partial response.
29109
+ # The name of the region for this request.
29110
+ # @param [String] resource
29111
+ # Name or id of the resource for this request.
29112
+ # @param [Google::Apis::ComputeBeta::TestPermissionsRequest] test_permissions_request_object
29113
+ # @param [String] fields
29114
+ # Selector specifying which fields to include in a partial response.
29115
+ # @param [String] quota_user
29116
+ # Available to use for quota purposes for server-side applications. Can be any
29117
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
29118
+ # @param [String] user_ip
29119
+ # Legacy name for parameter that has been superseded by `quotaUser`.
29120
+ # @param [Google::Apis::RequestOptions] options
29121
+ # Request-specific options
29122
+ #
29123
+ # @yield [result, err] Result & error if block supplied
29124
+ # @yieldparam result [Google::Apis::ComputeBeta::TestPermissionsResponse] parsed result object
29125
+ # @yieldparam err [StandardError] error object if request failed
29126
+ #
29127
+ # @return [Google::Apis::ComputeBeta::TestPermissionsResponse]
29128
+ #
29129
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
29130
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
29131
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
29132
+ def test_region_target_http_proxy_iam_permissions(project, region, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
29133
+ command = make_simple_command(:post, 'projects/{project}/regions/{region}/targetHttpProxies/{resource}/testIamPermissions', options)
29134
+ command.request_representation = Google::Apis::ComputeBeta::TestPermissionsRequest::Representation
29135
+ command.request_object = test_permissions_request_object
29136
+ command.response_representation = Google::Apis::ComputeBeta::TestPermissionsResponse::Representation
29137
+ command.response_class = Google::Apis::ComputeBeta::TestPermissionsResponse
29138
+ command.params['project'] = project unless project.nil?
29139
+ command.params['region'] = region unless region.nil?
29140
+ command.params['resource'] = resource unless resource.nil?
29141
+ command.query['fields'] = fields unless fields.nil?
29142
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
29143
+ command.query['userIp'] = user_ip unless user_ip.nil?
29144
+ execute_or_queue_command(command, &block)
29145
+ end
29146
+
29147
+ # Deletes the specified TargetHttpsProxy resource.
29148
+ # @param [String] project
29149
+ # Project ID for this request.
29150
+ # @param [String] region
29151
+ # Name of the region scoping this request.
29152
+ # @param [String] target_https_proxy
29153
+ # Name of the TargetHttpsProxy resource to delete.
29154
+ # @param [String] request_id
29155
+ # An optional request ID to identify requests. Specify a unique request ID so
29156
+ # that if you must retry your request, the server will know to ignore the
29157
+ # request if it has already been completed. For example, consider a situation
29158
+ # where you make an initial request and the request times out. If you make the
29159
+ # request again with the same request ID, the server can check if original
29160
+ # operation with the same request ID was received, and if so, will ignore the
29161
+ # second request. This prevents clients from accidentally creating duplicate
29162
+ # commitments. The request ID must be a valid UUID with the exception that zero
29163
+ # UUID is not supported ( 00000000-0000-0000-0000-000000000000).
29164
+ # @param [String] fields
29165
+ # Selector specifying which fields to include in a partial response.
29166
+ # @param [String] quota_user
29167
+ # Available to use for quota purposes for server-side applications. Can be any
29168
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
29169
+ # @param [String] user_ip
29170
+ # Legacy name for parameter that has been superseded by `quotaUser`.
29171
+ # @param [Google::Apis::RequestOptions] options
29172
+ # Request-specific options
29173
+ #
29174
+ # @yield [result, err] Result & error if block supplied
29175
+ # @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object
29176
+ # @yieldparam err [StandardError] error object if request failed
29177
+ #
29178
+ # @return [Google::Apis::ComputeBeta::Operation]
29179
+ #
29180
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
29181
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
29182
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
29183
+ def delete_region_target_https_proxy(project, region, target_https_proxy, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
29184
+ command = make_simple_command(:delete, 'projects/{project}/regions/{region}/targetHttpsProxies/{targetHttpsProxy}', options)
29185
+ command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
29186
+ command.response_class = Google::Apis::ComputeBeta::Operation
29187
+ command.params['project'] = project unless project.nil?
29188
+ command.params['region'] = region unless region.nil?
29189
+ command.params['targetHttpsProxy'] = target_https_proxy unless target_https_proxy.nil?
29190
+ command.query['requestId'] = request_id unless request_id.nil?
29191
+ command.query['fields'] = fields unless fields.nil?
29192
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
29193
+ command.query['userIp'] = user_ip unless user_ip.nil?
29194
+ execute_or_queue_command(command, &block)
29195
+ end
29196
+
29197
+ # Returns the specified TargetHttpsProxy resource in the specified region. Gets
29198
+ # a list of available target HTTP proxies by making a list() request.
29199
+ # @param [String] project
29200
+ # Project ID for this request.
29201
+ # @param [String] region
29202
+ # Name of the region scoping this request.
29203
+ # @param [String] target_https_proxy
29204
+ # Name of the TargetHttpsProxy resource to return.
29205
+ # @param [String] fields
29206
+ # Selector specifying which fields to include in a partial response.
29207
+ # @param [String] quota_user
29208
+ # Available to use for quota purposes for server-side applications. Can be any
29209
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
29210
+ # @param [String] user_ip
29211
+ # Legacy name for parameter that has been superseded by `quotaUser`.
29212
+ # @param [Google::Apis::RequestOptions] options
29213
+ # Request-specific options
29214
+ #
29215
+ # @yield [result, err] Result & error if block supplied
29216
+ # @yieldparam result [Google::Apis::ComputeBeta::TargetHttpsProxy] parsed result object
29217
+ # @yieldparam err [StandardError] error object if request failed
29218
+ #
29219
+ # @return [Google::Apis::ComputeBeta::TargetHttpsProxy]
29220
+ #
29221
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
29222
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
29223
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
29224
+ def get_region_target_https_proxy(project, region, target_https_proxy, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
29225
+ command = make_simple_command(:get, 'projects/{project}/regions/{region}/targetHttpsProxies/{targetHttpsProxy}', options)
29226
+ command.response_representation = Google::Apis::ComputeBeta::TargetHttpsProxy::Representation
29227
+ command.response_class = Google::Apis::ComputeBeta::TargetHttpsProxy
29228
+ command.params['project'] = project unless project.nil?
29229
+ command.params['region'] = region unless region.nil?
29230
+ command.params['targetHttpsProxy'] = target_https_proxy unless target_https_proxy.nil?
29231
+ command.query['fields'] = fields unless fields.nil?
29232
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
29233
+ command.query['userIp'] = user_ip unless user_ip.nil?
29234
+ execute_or_queue_command(command, &block)
29235
+ end
29236
+
29237
+ # Creates a TargetHttpsProxy resource in the specified project and region using
29238
+ # the data included in the request.
29239
+ # @param [String] project
29240
+ # Project ID for this request.
29241
+ # @param [String] region
29242
+ # Name of the region scoping this request.
29243
+ # @param [Google::Apis::ComputeBeta::TargetHttpsProxy] target_https_proxy_object
29244
+ # @param [String] request_id
29245
+ # An optional request ID to identify requests. Specify a unique request ID so
29246
+ # that if you must retry your request, the server will know to ignore the
29247
+ # request if it has already been completed. For example, consider a situation
29248
+ # where you make an initial request and the request times out. If you make the
29249
+ # request again with the same request ID, the server can check if original
29250
+ # operation with the same request ID was received, and if so, will ignore the
29251
+ # second request. This prevents clients from accidentally creating duplicate
29252
+ # commitments. The request ID must be a valid UUID with the exception that zero
29253
+ # UUID is not supported ( 00000000-0000-0000-0000-000000000000).
29254
+ # @param [String] fields
29255
+ # Selector specifying which fields to include in a partial response.
29256
+ # @param [String] quota_user
29257
+ # Available to use for quota purposes for server-side applications. Can be any
29258
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
29259
+ # @param [String] user_ip
29260
+ # Legacy name for parameter that has been superseded by `quotaUser`.
29261
+ # @param [Google::Apis::RequestOptions] options
29262
+ # Request-specific options
29263
+ #
29264
+ # @yield [result, err] Result & error if block supplied
29265
+ # @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object
29266
+ # @yieldparam err [StandardError] error object if request failed
29267
+ #
29268
+ # @return [Google::Apis::ComputeBeta::Operation]
29269
+ #
29270
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
29271
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
29272
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
29273
+ def insert_region_target_https_proxy(project, region, target_https_proxy_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
29274
+ command = make_simple_command(:post, 'projects/{project}/regions/{region}/targetHttpsProxies', options)
29275
+ command.request_representation = Google::Apis::ComputeBeta::TargetHttpsProxy::Representation
29276
+ command.request_object = target_https_proxy_object
29277
+ command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
29278
+ command.response_class = Google::Apis::ComputeBeta::Operation
29279
+ command.params['project'] = project unless project.nil?
29280
+ command.params['region'] = region unless region.nil?
29281
+ command.query['requestId'] = request_id unless request_id.nil?
29282
+ command.query['fields'] = fields unless fields.nil?
29283
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
29284
+ command.query['userIp'] = user_ip unless user_ip.nil?
29285
+ execute_or_queue_command(command, &block)
29286
+ end
29287
+
29288
+ # Retrieves the list of TargetHttpsProxy resources available to the specified
29289
+ # project in the specified region.
29290
+ # @param [String] project
29291
+ # Project ID for this request.
29292
+ # @param [String] region
29293
+ # Name of the region scoping this request.
29294
+ # @param [String] filter
29295
+ # A filter expression that filters resources listed in the response. The
29296
+ # expression must specify the field name, an operator, and the value that you
29297
+ # want to use for filtering. The value must be a string, a number, or a boolean.
29298
+ # The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For
29299
+ # example, if you are filtering Compute Engine instances, you can exclude
29300
+ # instances named `example-instance` by specifying `name != example-instance`.
29301
+ # The `:` operator can be used with string fields to match substrings. For non-
29302
+ # string fields it is equivalent to the `=` operator. The `:*` comparison can be
29303
+ # used to test whether a key has been defined. For example, to find all objects
29304
+ # with `owner` label use: ``` labels.owner:* ``` You can also filter nested
29305
+ # fields. For example, you could specify `scheduling.automaticRestart = false`
29306
+ # to include instances only if they are not scheduled for automatic restarts.
29307
+ # You can use filtering on nested fields to filter based on resource labels. To
29308
+ # filter on multiple expressions, provide each separate expression within
29309
+ # parentheses. For example: ``` (scheduling.automaticRestart = true) (
29310
+ # cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND`
29311
+ # expression. However, you can include `AND` and `OR` expressions explicitly.
29312
+ # For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel
29313
+ # Broadwell") AND (scheduling.automaticRestart = true) ```
29314
+ # @param [Fixnum] max_results
29315
+ # The maximum number of results per page that should be returned. If the number
29316
+ # of available results is larger than `maxResults`, Compute Engine returns a `
29317
+ # nextPageToken` that can be used to get the next page of results in subsequent
29318
+ # list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
29319
+ # @param [String] order_by
29320
+ # Sorts list results by a certain order. By default, results are returned in
29321
+ # alphanumerical order based on the resource name. You can also sort results in
29322
+ # descending order based on the creation timestamp using `orderBy="
29323
+ # creationTimestamp desc"`. This sorts results based on the `creationTimestamp`
29324
+ # field in reverse chronological order (newest result first). Use this to sort
29325
+ # resources like operations so that the newest operation is returned first.
29326
+ # Currently, only sorting by `name` or `creationTimestamp desc` is supported.
29327
+ # @param [String] page_token
29328
+ # Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
29329
+ # by a previous list request to get the next page of results.
29330
+ # @param [Boolean] return_partial_success
29331
+ # Opt-in for partial success behavior which provides partial results in case of
29332
+ # failure. The default value is false.
29333
+ # @param [String] fields
29334
+ # Selector specifying which fields to include in a partial response.
29335
+ # @param [String] quota_user
29336
+ # Available to use for quota purposes for server-side applications. Can be any
29337
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
29338
+ # @param [String] user_ip
29339
+ # Legacy name for parameter that has been superseded by `quotaUser`.
29340
+ # @param [Google::Apis::RequestOptions] options
29341
+ # Request-specific options
29342
+ #
29343
+ # @yield [result, err] Result & error if block supplied
29344
+ # @yieldparam result [Google::Apis::ComputeBeta::TargetHttpsProxyList] parsed result object
29345
+ # @yieldparam err [StandardError] error object if request failed
29346
+ #
29347
+ # @return [Google::Apis::ComputeBeta::TargetHttpsProxyList]
29348
+ #
29349
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
29350
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
29351
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
29352
+ def list_region_target_https_proxies(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)
29353
+ command = make_simple_command(:get, 'projects/{project}/regions/{region}/targetHttpsProxies', options)
29354
+ command.response_representation = Google::Apis::ComputeBeta::TargetHttpsProxyList::Representation
29355
+ command.response_class = Google::Apis::ComputeBeta::TargetHttpsProxyList
29356
+ command.params['project'] = project unless project.nil?
29357
+ command.params['region'] = region unless region.nil?
29358
+ command.query['filter'] = filter unless filter.nil?
29359
+ command.query['maxResults'] = max_results unless max_results.nil?
29360
+ command.query['orderBy'] = order_by unless order_by.nil?
29361
+ command.query['pageToken'] = page_token unless page_token.nil?
29362
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
29363
+ command.query['fields'] = fields unless fields.nil?
29364
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
29365
+ command.query['userIp'] = user_ip unless user_ip.nil?
29366
+ execute_or_queue_command(command, &block)
29367
+ end
29368
+
29369
+ # Patches the specified regional TargetHttpsProxy resource with the data
29370
+ # included in the request. This method supports PATCH semantics and uses JSON
29371
+ # merge patch format and processing rules.
29372
+ # @param [String] project
29373
+ # Project ID for this request.
29374
+ # @param [String] region
29375
+ # Name of the region for this request.
29376
+ # @param [String] target_https_proxy
29377
+ # Name of the TargetHttpsProxy resource to patch.
29378
+ # @param [Google::Apis::ComputeBeta::TargetHttpsProxy] target_https_proxy_object
29379
+ # @param [String] request_id
29380
+ # An optional request ID to identify requests. Specify a unique request ID so
29381
+ # that if you must retry your request, the server will know to ignore the
29382
+ # request if it has already been completed. For example, consider a situation
29383
+ # where you make an initial request and the request times out. If you make the
29384
+ # request again with the same request ID, the server can check if original
29385
+ # operation with the same request ID was received, and if so, will ignore the
29386
+ # second request. This prevents clients from accidentally creating duplicate
29387
+ # commitments. The request ID must be a valid UUID with the exception that zero
29388
+ # UUID is not supported ( 00000000-0000-0000-0000-000000000000).
29389
+ # @param [String] fields
29390
+ # Selector specifying which fields to include in a partial response.
29391
+ # @param [String] quota_user
29392
+ # Available to use for quota purposes for server-side applications. Can be any
29393
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
29394
+ # @param [String] user_ip
29395
+ # Legacy name for parameter that has been superseded by `quotaUser`.
29396
+ # @param [Google::Apis::RequestOptions] options
29397
+ # Request-specific options
29398
+ #
29399
+ # @yield [result, err] Result & error if block supplied
29400
+ # @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object
29401
+ # @yieldparam err [StandardError] error object if request failed
29402
+ #
29403
+ # @return [Google::Apis::ComputeBeta::Operation]
29404
+ #
29405
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
29406
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
29407
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
29408
+ def patch_region_target_https_proxy(project, region, target_https_proxy, target_https_proxy_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
29409
+ command = make_simple_command(:patch, 'projects/{project}/regions/{region}/targetHttpsProxies/{targetHttpsProxy}', options)
29410
+ command.request_representation = Google::Apis::ComputeBeta::TargetHttpsProxy::Representation
29411
+ command.request_object = target_https_proxy_object
29412
+ command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
29413
+ command.response_class = Google::Apis::ComputeBeta::Operation
29414
+ command.params['project'] = project unless project.nil?
29415
+ command.params['region'] = region unless region.nil?
29416
+ command.params['targetHttpsProxy'] = target_https_proxy unless target_https_proxy.nil?
29417
+ command.query['requestId'] = request_id unless request_id.nil?
29418
+ command.query['fields'] = fields unless fields.nil?
29419
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
29420
+ command.query['userIp'] = user_ip unless user_ip.nil?
29421
+ execute_or_queue_command(command, &block)
29422
+ end
29423
+
29424
+ # Replaces SslCertificates for TargetHttpsProxy.
29425
+ # @param [String] project
29426
+ # Project ID for this request.
29427
+ # @param [String] region
29428
+ # Name of the region scoping this request.
29429
+ # @param [String] target_https_proxy
29430
+ # Name of the TargetHttpsProxy resource to set an SslCertificates resource for.
29431
+ # @param [Google::Apis::ComputeBeta::RegionTargetHttpsProxiesSetSslCertificatesRequest] region_target_https_proxies_set_ssl_certificates_request_object
29432
+ # @param [String] request_id
29433
+ # An optional request ID to identify requests. Specify a unique request ID so
29434
+ # that if you must retry your request, the server will know to ignore the
29435
+ # request if it has already been completed. For example, consider a situation
29436
+ # where you make an initial request and the request times out. If you make the
29437
+ # request again with the same request ID, the server can check if original
29438
+ # operation with the same request ID was received, and if so, will ignore the
29439
+ # second request. This prevents clients from accidentally creating duplicate
29440
+ # commitments. The request ID must be a valid UUID with the exception that zero
29441
+ # UUID is not supported ( 00000000-0000-0000-0000-000000000000).
29442
+ # @param [String] fields
29443
+ # Selector specifying which fields to include in a partial response.
29444
+ # @param [String] quota_user
29445
+ # Available to use for quota purposes for server-side applications. Can be any
29446
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
29447
+ # @param [String] user_ip
29448
+ # Legacy name for parameter that has been superseded by `quotaUser`.
29449
+ # @param [Google::Apis::RequestOptions] options
29450
+ # Request-specific options
29451
+ #
29452
+ # @yield [result, err] Result & error if block supplied
29453
+ # @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object
29454
+ # @yieldparam err [StandardError] error object if request failed
29455
+ #
29456
+ # @return [Google::Apis::ComputeBeta::Operation]
29457
+ #
29458
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
29459
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
29460
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
29461
+ def set_region_target_https_proxy_ssl_certificates(project, region, target_https_proxy, region_target_https_proxies_set_ssl_certificates_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
29462
+ command = make_simple_command(:post, 'projects/{project}/regions/{region}/targetHttpsProxies/{targetHttpsProxy}/setSslCertificates', options)
29463
+ command.request_representation = Google::Apis::ComputeBeta::RegionTargetHttpsProxiesSetSslCertificatesRequest::Representation
29464
+ command.request_object = region_target_https_proxies_set_ssl_certificates_request_object
29465
+ command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
29466
+ command.response_class = Google::Apis::ComputeBeta::Operation
29467
+ command.params['project'] = project unless project.nil?
29468
+ command.params['region'] = region unless region.nil?
29469
+ command.params['targetHttpsProxy'] = target_https_proxy unless target_https_proxy.nil?
29470
+ command.query['requestId'] = request_id unless request_id.nil?
29471
+ command.query['fields'] = fields unless fields.nil?
29472
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
29473
+ command.query['userIp'] = user_ip unless user_ip.nil?
29474
+ execute_or_queue_command(command, &block)
29475
+ end
29476
+
29477
+ # Changes the URL map for TargetHttpsProxy.
29478
+ # @param [String] project
29479
+ # Project ID for this request.
29480
+ # @param [String] region
29481
+ # Name of the region scoping this request.
29482
+ # @param [String] target_https_proxy
29483
+ # Name of the TargetHttpsProxy to set a URL map for.
29484
+ # @param [Google::Apis::ComputeBeta::UrlMapReference] url_map_reference_object
29485
+ # @param [String] request_id
29486
+ # An optional request ID to identify requests. Specify a unique request ID so
29487
+ # that if you must retry your request, the server will know to ignore the
29488
+ # request if it has already been completed. For example, consider a situation
29489
+ # where you make an initial request and the request times out. If you make the
29490
+ # request again with the same request ID, the server can check if original
29491
+ # operation with the same request ID was received, and if so, will ignore the
29492
+ # second request. This prevents clients from accidentally creating duplicate
29493
+ # commitments. The request ID must be a valid UUID with the exception that zero
29494
+ # UUID is not supported ( 00000000-0000-0000-0000-000000000000).
29495
+ # @param [String] fields
29496
+ # Selector specifying which fields to include in a partial response.
29497
+ # @param [String] quota_user
29498
+ # Available to use for quota purposes for server-side applications. Can be any
29499
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
29500
+ # @param [String] user_ip
29501
+ # Legacy name for parameter that has been superseded by `quotaUser`.
29502
+ # @param [Google::Apis::RequestOptions] options
29503
+ # Request-specific options
29504
+ #
29505
+ # @yield [result, err] Result & error if block supplied
29506
+ # @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object
29507
+ # @yieldparam err [StandardError] error object if request failed
29508
+ #
29509
+ # @return [Google::Apis::ComputeBeta::Operation]
29510
+ #
29511
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
29512
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
29513
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
29514
+ def set_region_target_https_proxy_url_map(project, region, target_https_proxy, url_map_reference_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
29515
+ command = make_simple_command(:post, 'projects/{project}/regions/{region}/targetHttpsProxies/{targetHttpsProxy}/setUrlMap', options)
29516
+ command.request_representation = Google::Apis::ComputeBeta::UrlMapReference::Representation
29517
+ command.request_object = url_map_reference_object
29518
+ command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
29519
+ command.response_class = Google::Apis::ComputeBeta::Operation
29520
+ command.params['project'] = project unless project.nil?
29521
+ command.params['region'] = region unless region.nil?
29522
+ command.params['targetHttpsProxy'] = target_https_proxy unless target_https_proxy.nil?
29523
+ command.query['requestId'] = request_id unless request_id.nil?
29524
+ command.query['fields'] = fields unless fields.nil?
29525
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
29526
+ command.query['userIp'] = user_ip unless user_ip.nil?
29527
+ execute_or_queue_command(command, &block)
29528
+ end
29529
+
29530
+ # Returns permissions that a caller has on the specified resource.
29531
+ # @param [String] project
29532
+ # Project ID for this request.
29533
+ # @param [String] region
29534
+ # The name of the region for this request.
29535
+ # @param [String] resource
29536
+ # Name or id of the resource for this request.
29537
+ # @param [Google::Apis::ComputeBeta::TestPermissionsRequest] test_permissions_request_object
29538
+ # @param [String] fields
29539
+ # Selector specifying which fields to include in a partial response.
29540
+ # @param [String] quota_user
29541
+ # Available to use for quota purposes for server-side applications. Can be any
29542
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
29543
+ # @param [String] user_ip
29544
+ # Legacy name for parameter that has been superseded by `quotaUser`.
29545
+ # @param [Google::Apis::RequestOptions] options
29546
+ # Request-specific options
29547
+ #
29548
+ # @yield [result, err] Result & error if block supplied
29549
+ # @yieldparam result [Google::Apis::ComputeBeta::TestPermissionsResponse] parsed result object
29550
+ # @yieldparam err [StandardError] error object if request failed
29551
+ #
29552
+ # @return [Google::Apis::ComputeBeta::TestPermissionsResponse]
29553
+ #
29554
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
29555
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
29556
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
29557
+ def test_region_target_https_proxy_iam_permissions(project, region, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
29558
+ command = make_simple_command(:post, 'projects/{project}/regions/{region}/targetHttpsProxies/{resource}/testIamPermissions', options)
29559
+ command.request_representation = Google::Apis::ComputeBeta::TestPermissionsRequest::Representation
29560
+ command.request_object = test_permissions_request_object
29561
+ command.response_representation = Google::Apis::ComputeBeta::TestPermissionsResponse::Representation
29562
+ command.response_class = Google::Apis::ComputeBeta::TestPermissionsResponse
29563
+ command.params['project'] = project unless project.nil?
29564
+ command.params['region'] = region unless region.nil?
29565
+ command.params['resource'] = resource unless resource.nil?
29566
+ command.query['fields'] = fields unless fields.nil?
29567
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
29568
+ command.query['userIp'] = user_ip unless user_ip.nil?
29569
+ execute_or_queue_command(command, &block)
29570
+ end
29571
+
29572
+ # Deletes the specified TargetTcpProxy resource.
29573
+ # @param [String] project
29574
+ # Project ID for this request.
29575
+ # @param [String] region
29576
+ # Name of the region scoping this request.
29577
+ # @param [String] target_tcp_proxy
29578
+ # Name of the TargetTcpProxy resource to delete.
29579
+ # @param [String] request_id
29580
+ # An optional request ID to identify requests. Specify a unique request ID so
29581
+ # that if you must retry your request, the server will know to ignore the
29582
+ # request if it has already been completed. For example, consider a situation
29583
+ # where you make an initial request and the request times out. If you make the
29584
+ # request again with the same request ID, the server can check if original
29585
+ # operation with the same request ID was received, and if so, will ignore the
29586
+ # second request. This prevents clients from accidentally creating duplicate
29587
+ # commitments. The request ID must be a valid UUID with the exception that zero
29588
+ # UUID is not supported ( 00000000-0000-0000-0000-000000000000).
29589
+ # @param [String] fields
29590
+ # Selector specifying which fields to include in a partial response.
29043
29591
  # @param [String] quota_user
29044
29592
  # Available to use for quota purposes for server-side applications. Can be any
29045
29593
  # arbitrary string assigned to a user, but should not exceed 40 characters.
@@ -29057,15 +29605,13 @@ module Google
29057
29605
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
29058
29606
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
29059
29607
  # @raise [Google::Apis::AuthorizationError] Authorization is required
29060
- def set_region_target_https_proxy_ssl_certificates(project, region, target_https_proxy, region_target_https_proxies_set_ssl_certificates_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
29061
- command = make_simple_command(:post, 'projects/{project}/regions/{region}/targetHttpsProxies/{targetHttpsProxy}/setSslCertificates', options)
29062
- command.request_representation = Google::Apis::ComputeBeta::RegionTargetHttpsProxiesSetSslCertificatesRequest::Representation
29063
- command.request_object = region_target_https_proxies_set_ssl_certificates_request_object
29608
+ def delete_region_target_tcp_proxy(project, region, target_tcp_proxy, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
29609
+ command = make_simple_command(:delete, 'projects/{project}/regions/{region}/targetTcpProxies/{targetTcpProxy}', options)
29064
29610
  command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
29065
29611
  command.response_class = Google::Apis::ComputeBeta::Operation
29066
29612
  command.params['project'] = project unless project.nil?
29067
29613
  command.params['region'] = region unless region.nil?
29068
- command.params['targetHttpsProxy'] = target_https_proxy unless target_https_proxy.nil?
29614
+ command.params['targetTcpProxy'] = target_tcp_proxy unless target_tcp_proxy.nil?
29069
29615
  command.query['requestId'] = request_id unless request_id.nil?
29070
29616
  command.query['fields'] = fields unless fields.nil?
29071
29617
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -29073,14 +29619,52 @@ module Google
29073
29619
  execute_or_queue_command(command, &block)
29074
29620
  end
29075
29621
 
29076
- # Changes the URL map for TargetHttpsProxy.
29622
+ # Returns the specified TargetTcpProxy resource.
29077
29623
  # @param [String] project
29078
29624
  # Project ID for this request.
29079
29625
  # @param [String] region
29080
29626
  # Name of the region scoping this request.
29081
- # @param [String] target_https_proxy
29082
- # Name of the TargetHttpsProxy to set a URL map for.
29083
- # @param [Google::Apis::ComputeBeta::UrlMapReference] url_map_reference_object
29627
+ # @param [String] target_tcp_proxy
29628
+ # Name of the TargetTcpProxy resource to return.
29629
+ # @param [String] fields
29630
+ # Selector specifying which fields to include in a partial response.
29631
+ # @param [String] quota_user
29632
+ # Available to use for quota purposes for server-side applications. Can be any
29633
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
29634
+ # @param [String] user_ip
29635
+ # Legacy name for parameter that has been superseded by `quotaUser`.
29636
+ # @param [Google::Apis::RequestOptions] options
29637
+ # Request-specific options
29638
+ #
29639
+ # @yield [result, err] Result & error if block supplied
29640
+ # @yieldparam result [Google::Apis::ComputeBeta::TargetTcpProxy] parsed result object
29641
+ # @yieldparam err [StandardError] error object if request failed
29642
+ #
29643
+ # @return [Google::Apis::ComputeBeta::TargetTcpProxy]
29644
+ #
29645
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
29646
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
29647
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
29648
+ def get_region_target_tcp_proxy(project, region, target_tcp_proxy, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
29649
+ command = make_simple_command(:get, 'projects/{project}/regions/{region}/targetTcpProxies/{targetTcpProxy}', options)
29650
+ command.response_representation = Google::Apis::ComputeBeta::TargetTcpProxy::Representation
29651
+ command.response_class = Google::Apis::ComputeBeta::TargetTcpProxy
29652
+ command.params['project'] = project unless project.nil?
29653
+ command.params['region'] = region unless region.nil?
29654
+ command.params['targetTcpProxy'] = target_tcp_proxy unless target_tcp_proxy.nil?
29655
+ command.query['fields'] = fields unless fields.nil?
29656
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
29657
+ command.query['userIp'] = user_ip unless user_ip.nil?
29658
+ execute_or_queue_command(command, &block)
29659
+ end
29660
+
29661
+ # Creates a TargetTcpProxy resource in the specified project and region using
29662
+ # the data included in the request.
29663
+ # @param [String] project
29664
+ # Project ID for this request.
29665
+ # @param [String] region
29666
+ # Name of the region scoping this request.
29667
+ # @param [Google::Apis::ComputeBeta::TargetTcpProxy] target_tcp_proxy_object
29084
29668
  # @param [String] request_id
29085
29669
  # An optional request ID to identify requests. Specify a unique request ID so
29086
29670
  # that if you must retry your request, the server will know to ignore the
@@ -29110,15 +29694,14 @@ module Google
29110
29694
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
29111
29695
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
29112
29696
  # @raise [Google::Apis::AuthorizationError] Authorization is required
29113
- def set_region_target_https_proxy_url_map(project, region, target_https_proxy, url_map_reference_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
29114
- command = make_simple_command(:post, 'projects/{project}/regions/{region}/targetHttpsProxies/{targetHttpsProxy}/setUrlMap', options)
29115
- command.request_representation = Google::Apis::ComputeBeta::UrlMapReference::Representation
29116
- command.request_object = url_map_reference_object
29697
+ def insert_region_target_tcp_proxy(project, region, target_tcp_proxy_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
29698
+ command = make_simple_command(:post, 'projects/{project}/regions/{region}/targetTcpProxies', options)
29699
+ command.request_representation = Google::Apis::ComputeBeta::TargetTcpProxy::Representation
29700
+ command.request_object = target_tcp_proxy_object
29117
29701
  command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
29118
29702
  command.response_class = Google::Apis::ComputeBeta::Operation
29119
29703
  command.params['project'] = project unless project.nil?
29120
29704
  command.params['region'] = region unless region.nil?
29121
- command.params['targetHttpsProxy'] = target_https_proxy unless target_https_proxy.nil?
29122
29705
  command.query['requestId'] = request_id unless request_id.nil?
29123
29706
  command.query['fields'] = fields unless fields.nil?
29124
29707
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -29126,6 +29709,87 @@ module Google
29126
29709
  execute_or_queue_command(command, &block)
29127
29710
  end
29128
29711
 
29712
+ # Retrieves a list of TargetTcpProxy resources available to the specified
29713
+ # project in a given region.
29714
+ # @param [String] project
29715
+ # Project ID for this request.
29716
+ # @param [String] region
29717
+ # Name of the region scoping this request.
29718
+ # @param [String] filter
29719
+ # A filter expression that filters resources listed in the response. The
29720
+ # expression must specify the field name, an operator, and the value that you
29721
+ # want to use for filtering. The value must be a string, a number, or a boolean.
29722
+ # The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For
29723
+ # example, if you are filtering Compute Engine instances, you can exclude
29724
+ # instances named `example-instance` by specifying `name != example-instance`.
29725
+ # The `:` operator can be used with string fields to match substrings. For non-
29726
+ # string fields it is equivalent to the `=` operator. The `:*` comparison can be
29727
+ # used to test whether a key has been defined. For example, to find all objects
29728
+ # with `owner` label use: ``` labels.owner:* ``` You can also filter nested
29729
+ # fields. For example, you could specify `scheduling.automaticRestart = false`
29730
+ # to include instances only if they are not scheduled for automatic restarts.
29731
+ # You can use filtering on nested fields to filter based on resource labels. To
29732
+ # filter on multiple expressions, provide each separate expression within
29733
+ # parentheses. For example: ``` (scheduling.automaticRestart = true) (
29734
+ # cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND`
29735
+ # expression. However, you can include `AND` and `OR` expressions explicitly.
29736
+ # For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel
29737
+ # Broadwell") AND (scheduling.automaticRestart = true) ```
29738
+ # @param [Fixnum] max_results
29739
+ # The maximum number of results per page that should be returned. If the number
29740
+ # of available results is larger than `maxResults`, Compute Engine returns a `
29741
+ # nextPageToken` that can be used to get the next page of results in subsequent
29742
+ # list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
29743
+ # @param [String] order_by
29744
+ # Sorts list results by a certain order. By default, results are returned in
29745
+ # alphanumerical order based on the resource name. You can also sort results in
29746
+ # descending order based on the creation timestamp using `orderBy="
29747
+ # creationTimestamp desc"`. This sorts results based on the `creationTimestamp`
29748
+ # field in reverse chronological order (newest result first). Use this to sort
29749
+ # resources like operations so that the newest operation is returned first.
29750
+ # Currently, only sorting by `name` or `creationTimestamp desc` is supported.
29751
+ # @param [String] page_token
29752
+ # Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
29753
+ # by a previous list request to get the next page of results.
29754
+ # @param [Boolean] return_partial_success
29755
+ # Opt-in for partial success behavior which provides partial results in case of
29756
+ # failure. The default value is false.
29757
+ # @param [String] fields
29758
+ # Selector specifying which fields to include in a partial response.
29759
+ # @param [String] quota_user
29760
+ # Available to use for quota purposes for server-side applications. Can be any
29761
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
29762
+ # @param [String] user_ip
29763
+ # Legacy name for parameter that has been superseded by `quotaUser`.
29764
+ # @param [Google::Apis::RequestOptions] options
29765
+ # Request-specific options
29766
+ #
29767
+ # @yield [result, err] Result & error if block supplied
29768
+ # @yieldparam result [Google::Apis::ComputeBeta::TargetTcpProxyList] parsed result object
29769
+ # @yieldparam err [StandardError] error object if request failed
29770
+ #
29771
+ # @return [Google::Apis::ComputeBeta::TargetTcpProxyList]
29772
+ #
29773
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
29774
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
29775
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
29776
+ def list_region_target_tcp_proxies(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)
29777
+ command = make_simple_command(:get, 'projects/{project}/regions/{region}/targetTcpProxies', options)
29778
+ command.response_representation = Google::Apis::ComputeBeta::TargetTcpProxyList::Representation
29779
+ command.response_class = Google::Apis::ComputeBeta::TargetTcpProxyList
29780
+ command.params['project'] = project unless project.nil?
29781
+ command.params['region'] = region unless region.nil?
29782
+ command.query['filter'] = filter unless filter.nil?
29783
+ command.query['maxResults'] = max_results unless max_results.nil?
29784
+ command.query['orderBy'] = order_by unless order_by.nil?
29785
+ command.query['pageToken'] = page_token unless page_token.nil?
29786
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
29787
+ command.query['fields'] = fields unless fields.nil?
29788
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
29789
+ command.query['userIp'] = user_ip unless user_ip.nil?
29790
+ execute_or_queue_command(command, &block)
29791
+ end
29792
+
29129
29793
  # Returns permissions that a caller has on the specified resource.
29130
29794
  # @param [String] project
29131
29795
  # Project ID for this request.
@@ -29153,8 +29817,8 @@ module Google
29153
29817
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
29154
29818
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
29155
29819
  # @raise [Google::Apis::AuthorizationError] Authorization is required
29156
- def test_region_target_https_proxy_iam_permissions(project, region, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
29157
- command = make_simple_command(:post, 'projects/{project}/regions/{region}/targetHttpsProxies/{resource}/testIamPermissions', options)
29820
+ def test_region_target_tcp_proxy_iam_permissions(project, region, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
29821
+ command = make_simple_command(:post, 'projects/{project}/regions/{region}/targetTcpProxies/{resource}/testIamPermissions', options)
29158
29822
  command.request_representation = Google::Apis::ComputeBeta::TestPermissionsRequest::Representation
29159
29823
  command.request_object = test_permissions_request_object
29160
29824
  command.response_representation = Google::Apis::ComputeBeta::TestPermissionsResponse::Representation
@@ -33453,6 +34117,92 @@ module Google
33453
34117
  execute_or_queue_command(command, &block)
33454
34118
  end
33455
34119
 
34120
+ # Retrieves the list of all SslPolicy resources, regional and global, available
34121
+ # to the specified project.
34122
+ # @param [String] project
34123
+ # Name of the project scoping this request.
34124
+ # @param [String] filter
34125
+ # A filter expression that filters resources listed in the response. The
34126
+ # expression must specify the field name, an operator, and the value that you
34127
+ # want to use for filtering. The value must be a string, a number, or a boolean.
34128
+ # The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For
34129
+ # example, if you are filtering Compute Engine instances, you can exclude
34130
+ # instances named `example-instance` by specifying `name != example-instance`.
34131
+ # The `:` operator can be used with string fields to match substrings. For non-
34132
+ # string fields it is equivalent to the `=` operator. The `:*` comparison can be
34133
+ # used to test whether a key has been defined. For example, to find all objects
34134
+ # with `owner` label use: ``` labels.owner:* ``` You can also filter nested
34135
+ # fields. For example, you could specify `scheduling.automaticRestart = false`
34136
+ # to include instances only if they are not scheduled for automatic restarts.
34137
+ # You can use filtering on nested fields to filter based on resource labels. To
34138
+ # filter on multiple expressions, provide each separate expression within
34139
+ # parentheses. For example: ``` (scheduling.automaticRestart = true) (
34140
+ # cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND`
34141
+ # expression. However, you can include `AND` and `OR` expressions explicitly.
34142
+ # For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel
34143
+ # Broadwell") AND (scheduling.automaticRestart = true) ```
34144
+ # @param [Boolean] include_all_scopes
34145
+ # Indicates whether every visible scope for each scope type (zone, region,
34146
+ # global) should be included in the response. For new resource types added after
34147
+ # this field, the flag has no effect as new resource types will always include
34148
+ # every visible scope for each scope type in response. For resource types which
34149
+ # predate this field, if this flag is omitted or false, only scopes of the scope
34150
+ # types where the resource type is expected to be found will be included.
34151
+ # @param [Fixnum] max_results
34152
+ # The maximum number of results per page that should be returned. If the number
34153
+ # of available results is larger than `maxResults`, Compute Engine returns a `
34154
+ # nextPageToken` that can be used to get the next page of results in subsequent
34155
+ # list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
34156
+ # @param [String] order_by
34157
+ # Sorts list results by a certain order. By default, results are returned in
34158
+ # alphanumerical order based on the resource name. You can also sort results in
34159
+ # descending order based on the creation timestamp using `orderBy="
34160
+ # creationTimestamp desc"`. This sorts results based on the `creationTimestamp`
34161
+ # field in reverse chronological order (newest result first). Use this to sort
34162
+ # resources like operations so that the newest operation is returned first.
34163
+ # Currently, only sorting by `name` or `creationTimestamp desc` is supported.
34164
+ # @param [String] page_token
34165
+ # Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
34166
+ # by a previous list request to get the next page of results.
34167
+ # @param [Boolean] return_partial_success
34168
+ # Opt-in for partial success behavior which provides partial results in case of
34169
+ # failure. The default value is false.
34170
+ # @param [String] fields
34171
+ # Selector specifying which fields to include in a partial response.
34172
+ # @param [String] quota_user
34173
+ # Available to use for quota purposes for server-side applications. Can be any
34174
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
34175
+ # @param [String] user_ip
34176
+ # Legacy name for parameter that has been superseded by `quotaUser`.
34177
+ # @param [Google::Apis::RequestOptions] options
34178
+ # Request-specific options
34179
+ #
34180
+ # @yield [result, err] Result & error if block supplied
34181
+ # @yieldparam result [Google::Apis::ComputeBeta::SslPoliciesAggregatedList] parsed result object
34182
+ # @yieldparam err [StandardError] error object if request failed
34183
+ #
34184
+ # @return [Google::Apis::ComputeBeta::SslPoliciesAggregatedList]
34185
+ #
34186
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
34187
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
34188
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
34189
+ 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)
34190
+ command = make_simple_command(:get, 'projects/{project}/aggregated/sslPolicies', options)
34191
+ command.response_representation = Google::Apis::ComputeBeta::SslPoliciesAggregatedList::Representation
34192
+ command.response_class = Google::Apis::ComputeBeta::SslPoliciesAggregatedList
34193
+ command.params['project'] = project unless project.nil?
34194
+ command.query['filter'] = filter unless filter.nil?
34195
+ command.query['includeAllScopes'] = include_all_scopes unless include_all_scopes.nil?
34196
+ command.query['maxResults'] = max_results unless max_results.nil?
34197
+ command.query['orderBy'] = order_by unless order_by.nil?
34198
+ command.query['pageToken'] = page_token unless page_token.nil?
34199
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
34200
+ command.query['fields'] = fields unless fields.nil?
34201
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
34202
+ command.query['userIp'] = user_ip unless user_ip.nil?
34203
+ execute_or_queue_command(command, &block)
34204
+ end
34205
+
33456
34206
  # Deletes the specified SSL policy. The SSL policy resource can be deleted only
33457
34207
  # if it is not in use by any TargetHttpsProxy or TargetSslProxy resources.
33458
34208
  # @param [String] project