google-apis-compute_alpha 0.118.0 → 0.119.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.
@@ -9396,6 +9396,50 @@ module Google
9396
9396
  execute_or_queue_command(command, &block)
9397
9397
  end
9398
9398
 
9399
+ # Deletes an HaController in the specified project.
9400
+ # @param [String] project
9401
+ # Project ID for this request.
9402
+ # @param [String] region
9403
+ # Name of the region for this request.
9404
+ # @param [String] ha_controller
9405
+ # Name of the HaController resource to delete.
9406
+ # @param [String] request_id
9407
+ # An optional request ID to identify requests. Specify a unique request ID so
9408
+ # that if you must retry your request, the server will know to ignore the
9409
+ # request if it has already been completed.
9410
+ # @param [String] fields
9411
+ # Selector specifying which fields to include in a partial response.
9412
+ # @param [String] quota_user
9413
+ # Available to use for quota purposes for server-side applications. Can be any
9414
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
9415
+ # @param [String] user_ip
9416
+ # Legacy name for parameter that has been superseded by `quotaUser`.
9417
+ # @param [Google::Apis::RequestOptions] options
9418
+ # Request-specific options
9419
+ #
9420
+ # @yield [result, err] Result & error if block supplied
9421
+ # @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
9422
+ # @yieldparam err [StandardError] error object if request failed
9423
+ #
9424
+ # @return [Google::Apis::ComputeAlpha::Operation]
9425
+ #
9426
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
9427
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
9428
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
9429
+ def delete_ha_controller(project, region, ha_controller, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
9430
+ command = make_simple_command(:delete, 'projects/{project}/regions/{region}/haControllers/{haController}', options)
9431
+ command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
9432
+ command.response_class = Google::Apis::ComputeAlpha::Operation
9433
+ command.params['project'] = project unless project.nil?
9434
+ command.params['region'] = region unless region.nil?
9435
+ command.params['haController'] = ha_controller unless ha_controller.nil?
9436
+ command.query['requestId'] = request_id unless request_id.nil?
9437
+ command.query['fields'] = fields unless fields.nil?
9438
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
9439
+ command.query['userIp'] = user_ip unless user_ip.nil?
9440
+ execute_or_queue_command(command, &block)
9441
+ end
9442
+
9399
9443
  # Fails over a VM targeted by the specified HaController to the selected zone.
9400
9444
  # @param [String] project
9401
9445
  # Project ID for this request.
@@ -9443,6 +9487,233 @@ module Google
9443
9487
  execute_or_queue_command(command, &block)
9444
9488
  end
9445
9489
 
9490
+ # Returns all the details of a specific HaController.
9491
+ # @param [String] project
9492
+ # Project ID for this request.
9493
+ # @param [String] region
9494
+ # Name of the region for this request.
9495
+ # @param [String] ha_controller
9496
+ # Name of the HaController resource to return.
9497
+ # @param [String] fields
9498
+ # Selector specifying which fields to include in a partial response.
9499
+ # @param [String] quota_user
9500
+ # Available to use for quota purposes for server-side applications. Can be any
9501
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
9502
+ # @param [String] user_ip
9503
+ # Legacy name for parameter that has been superseded by `quotaUser`.
9504
+ # @param [Google::Apis::RequestOptions] options
9505
+ # Request-specific options
9506
+ #
9507
+ # @yield [result, err] Result & error if block supplied
9508
+ # @yieldparam result [Google::Apis::ComputeAlpha::HaController] parsed result object
9509
+ # @yieldparam err [StandardError] error object if request failed
9510
+ #
9511
+ # @return [Google::Apis::ComputeAlpha::HaController]
9512
+ #
9513
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
9514
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
9515
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
9516
+ def get_ha_controller(project, region, ha_controller, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
9517
+ command = make_simple_command(:get, 'projects/{project}/regions/{region}/haControllers/{haController}', options)
9518
+ command.response_representation = Google::Apis::ComputeAlpha::HaController::Representation
9519
+ command.response_class = Google::Apis::ComputeAlpha::HaController
9520
+ command.params['project'] = project unless project.nil?
9521
+ command.params['region'] = region unless region.nil?
9522
+ command.params['haController'] = ha_controller unless ha_controller.nil?
9523
+ command.query['fields'] = fields unless fields.nil?
9524
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
9525
+ command.query['userIp'] = user_ip unless user_ip.nil?
9526
+ execute_or_queue_command(command, &block)
9527
+ end
9528
+
9529
+ # Creates HaController in the specified project.
9530
+ # @param [String] project
9531
+ # Project ID for this request.
9532
+ # @param [String] region
9533
+ # Name of the region for this request.
9534
+ # @param [Google::Apis::ComputeAlpha::HaController] ha_controller_object
9535
+ # @param [String] request_id
9536
+ # An optional request ID to identify requests. Specify a unique request ID so
9537
+ # that if you must retry your request, the server will know to ignore the
9538
+ # request if it has already been completed.
9539
+ # @param [String] fields
9540
+ # Selector specifying which fields to include in a partial response.
9541
+ # @param [String] quota_user
9542
+ # Available to use for quota purposes for server-side applications. Can be any
9543
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
9544
+ # @param [String] user_ip
9545
+ # Legacy name for parameter that has been superseded by `quotaUser`.
9546
+ # @param [Google::Apis::RequestOptions] options
9547
+ # Request-specific options
9548
+ #
9549
+ # @yield [result, err] Result & error if block supplied
9550
+ # @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
9551
+ # @yieldparam err [StandardError] error object if request failed
9552
+ #
9553
+ # @return [Google::Apis::ComputeAlpha::Operation]
9554
+ #
9555
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
9556
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
9557
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
9558
+ def insert_ha_controller(project, region, ha_controller_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
9559
+ command = make_simple_command(:post, 'projects/{project}/regions/{region}/haControllers', options)
9560
+ command.request_representation = Google::Apis::ComputeAlpha::HaController::Representation
9561
+ command.request_object = ha_controller_object
9562
+ command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
9563
+ command.response_class = Google::Apis::ComputeAlpha::Operation
9564
+ command.params['project'] = project unless project.nil?
9565
+ command.params['region'] = region unless region.nil?
9566
+ command.query['requestId'] = request_id unless request_id.nil?
9567
+ command.query['fields'] = fields unless fields.nil?
9568
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
9569
+ command.query['userIp'] = user_ip unless user_ip.nil?
9570
+ execute_or_queue_command(command, &block)
9571
+ end
9572
+
9573
+ # Lists all HaControllers in the specified project in the specified region.
9574
+ # @param [String] project
9575
+ # Project ID for this request.
9576
+ # @param [String] region
9577
+ # Name of the region for this request.
9578
+ # @param [String] filter
9579
+ # A filter expression that filters resources listed in the response. Most
9580
+ # Compute resources support two types of filter expressions: expressions that
9581
+ # support regular expressions and expressions that follow API improvement
9582
+ # proposal AIP-160. These two types of filter expressions cannot be mixed in one
9583
+ # request. If you want to use AIP-160, your expression must specify the field
9584
+ # name, an operator, and the value that you want to use for filtering. The value
9585
+ # must be a string, a number, or a boolean. The operator must be either `=`, `!=`
9586
+ # , `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute
9587
+ # Engine instances, you can exclude instances named `example-instance` by
9588
+ # specifying `name != example-instance`. The `:*` comparison can be used to test
9589
+ # whether a key has been defined. For example, to find all objects with `owner`
9590
+ # label use: ``` labels.owner:* ``` You can also filter nested fields. For
9591
+ # example, you could specify `scheduling.automaticRestart = false` to include
9592
+ # instances only if they are not scheduled for automatic restarts. You can use
9593
+ # filtering on nested fields to filter based on resource labels. To filter on
9594
+ # multiple expressions, provide each separate expression within parentheses. For
9595
+ # example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel
9596
+ # Skylake") ``` By default, each expression is an `AND` expression. However, you
9597
+ # can include `AND` and `OR` expressions explicitly. For example: ``` (
9598
+ # cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (
9599
+ # scheduling.automaticRestart = true) ``` If you want to use a regular
9600
+ # expression, use the `eq` (equal) or `ne` (not equal) operator against a single
9601
+ # un-parenthesized expression with or without quotes or against multiple
9602
+ # parenthesized expressions. Examples: `fieldname eq unquoted literal` `
9603
+ # fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(
9604
+ # fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is
9605
+ # interpreted as a regular expression using Google RE2 library syntax. The
9606
+ # literal value must match the entire field. For example, to filter for
9607
+ # instances that do not end with name "instance", you would use `name ne .*
9608
+ # instance`. You cannot combine constraints on multiple fields using regular
9609
+ # expressions.
9610
+ # @param [Fixnum] max_results
9611
+ # The maximum number of results per page that should be returned. If the number
9612
+ # of available results is larger than `maxResults`, Compute Engine returns a `
9613
+ # nextPageToken` that can be used to get the next page of results in subsequent
9614
+ # list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
9615
+ # @param [String] order_by
9616
+ # Sorts list results by a certain order. By default, results are returned in
9617
+ # alphanumerical order based on the resource name. You can also sort results in
9618
+ # descending order based on the creation timestamp using `orderBy="
9619
+ # creationTimestamp desc"`. This sorts results based on the `creationTimestamp`
9620
+ # field in reverse chronological order (newest result first). Use this to sort
9621
+ # resources like operations so that the newest operation is returned first.
9622
+ # Currently, only sorting by `name` or `creationTimestamp desc` is supported.
9623
+ # @param [String] page_token
9624
+ # Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
9625
+ # by a previous list request to get the next page of results.
9626
+ # @param [Boolean] return_partial_success
9627
+ # Opt-in for partial success behavior which provides partial results in case of
9628
+ # failure. The default value is false. For example, when partial success
9629
+ # behavior is enabled, aggregatedList for a single zone scope either returns all
9630
+ # resources in the zone or no resources, with an error code.
9631
+ # @param [String] fields
9632
+ # Selector specifying which fields to include in a partial response.
9633
+ # @param [String] quota_user
9634
+ # Available to use for quota purposes for server-side applications. Can be any
9635
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
9636
+ # @param [String] user_ip
9637
+ # Legacy name for parameter that has been superseded by `quotaUser`.
9638
+ # @param [Google::Apis::RequestOptions] options
9639
+ # Request-specific options
9640
+ #
9641
+ # @yield [result, err] Result & error if block supplied
9642
+ # @yieldparam result [Google::Apis::ComputeAlpha::HaControllersList] parsed result object
9643
+ # @yieldparam err [StandardError] error object if request failed
9644
+ #
9645
+ # @return [Google::Apis::ComputeAlpha::HaControllersList]
9646
+ #
9647
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
9648
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
9649
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
9650
+ def list_ha_controllers(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)
9651
+ command = make_simple_command(:get, 'projects/{project}/regions/{region}/haControllers', options)
9652
+ command.response_representation = Google::Apis::ComputeAlpha::HaControllersList::Representation
9653
+ command.response_class = Google::Apis::ComputeAlpha::HaControllersList
9654
+ command.params['project'] = project unless project.nil?
9655
+ command.params['region'] = region unless region.nil?
9656
+ command.query['filter'] = filter unless filter.nil?
9657
+ command.query['maxResults'] = max_results unless max_results.nil?
9658
+ command.query['orderBy'] = order_by unless order_by.nil?
9659
+ command.query['pageToken'] = page_token unless page_token.nil?
9660
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
9661
+ command.query['fields'] = fields unless fields.nil?
9662
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
9663
+ command.query['userIp'] = user_ip unless user_ip.nil?
9664
+ execute_or_queue_command(command, &block)
9665
+ end
9666
+
9667
+ # Updates HaController in the specified project.
9668
+ # @param [String] project
9669
+ # Project ID for this request.
9670
+ # @param [String] region
9671
+ # Name of the region for this request.
9672
+ # @param [String] ha_controller
9673
+ # ID of the HaController resource to update.
9674
+ # @param [Google::Apis::ComputeAlpha::HaController] ha_controller_object
9675
+ # @param [String] request_id
9676
+ # An optional request ID to identify requests. Specify a unique request ID so
9677
+ # that if you must retry your request, the server will know to ignore the
9678
+ # request if it has already been completed.
9679
+ # @param [String] update_mask
9680
+ # update_mask indicates fields to be updated as part of this request.
9681
+ # @param [String] fields
9682
+ # Selector specifying which fields to include in a partial response.
9683
+ # @param [String] quota_user
9684
+ # Available to use for quota purposes for server-side applications. Can be any
9685
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
9686
+ # @param [String] user_ip
9687
+ # Legacy name for parameter that has been superseded by `quotaUser`.
9688
+ # @param [Google::Apis::RequestOptions] options
9689
+ # Request-specific options
9690
+ #
9691
+ # @yield [result, err] Result & error if block supplied
9692
+ # @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
9693
+ # @yieldparam err [StandardError] error object if request failed
9694
+ #
9695
+ # @return [Google::Apis::ComputeAlpha::Operation]
9696
+ #
9697
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
9698
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
9699
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
9700
+ def patch_ha_controller(project, region, ha_controller, ha_controller_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
9701
+ command = make_simple_command(:patch, 'projects/{project}/regions/{region}/haControllers/{haController}', options)
9702
+ command.request_representation = Google::Apis::ComputeAlpha::HaController::Representation
9703
+ command.request_object = ha_controller_object
9704
+ command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
9705
+ command.response_class = Google::Apis::ComputeAlpha::Operation
9706
+ command.params['project'] = project unless project.nil?
9707
+ command.params['region'] = region unless region.nil?
9708
+ command.params['haController'] = ha_controller unless ha_controller.nil?
9709
+ command.query['requestId'] = request_id unless request_id.nil?
9710
+ command.query['updateMask'] = update_mask unless update_mask.nil?
9711
+ command.query['fields'] = fields unless fields.nil?
9712
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
9713
+ command.query['userIp'] = user_ip unless user_ip.nil?
9714
+ execute_or_queue_command(command, &block)
9715
+ end
9716
+
9446
9717
  # Retrieves the list of all HealthCheck resources, regional and global,
9447
9718
  # available to the specified project. To prevent failure, Google recommends that
9448
9719
  # you set the `returnPartialSuccess` parameter to `true`.
@@ -34608,6 +34879,111 @@ module Google
34608
34879
  execute_or_queue_command(command, &block)
34609
34880
  end
34610
34881
 
34882
+ # Retrieves the list of all HealthAggregationPolicy resources, regional and
34883
+ # global, available to the specified project. To prevent failure, Google
34884
+ # recommends that you set the `returnPartialSuccess` parameter to `true`.
34885
+ # @param [String] project
34886
+ # Name of the project scoping this request.
34887
+ # @param [String] filter
34888
+ # A filter expression that filters resources listed in the response. Most
34889
+ # Compute resources support two types of filter expressions: expressions that
34890
+ # support regular expressions and expressions that follow API improvement
34891
+ # proposal AIP-160. These two types of filter expressions cannot be mixed in one
34892
+ # request. If you want to use AIP-160, your expression must specify the field
34893
+ # name, an operator, and the value that you want to use for filtering. The value
34894
+ # must be a string, a number, or a boolean. The operator must be either `=`, `!=`
34895
+ # , `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute
34896
+ # Engine instances, you can exclude instances named `example-instance` by
34897
+ # specifying `name != example-instance`. The `:*` comparison can be used to test
34898
+ # whether a key has been defined. For example, to find all objects with `owner`
34899
+ # label use: ``` labels.owner:* ``` You can also filter nested fields. For
34900
+ # example, you could specify `scheduling.automaticRestart = false` to include
34901
+ # instances only if they are not scheduled for automatic restarts. You can use
34902
+ # filtering on nested fields to filter based on resource labels. To filter on
34903
+ # multiple expressions, provide each separate expression within parentheses. For
34904
+ # example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel
34905
+ # Skylake") ``` By default, each expression is an `AND` expression. However, you
34906
+ # can include `AND` and `OR` expressions explicitly. For example: ``` (
34907
+ # cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (
34908
+ # scheduling.automaticRestart = true) ``` If you want to use a regular
34909
+ # expression, use the `eq` (equal) or `ne` (not equal) operator against a single
34910
+ # un-parenthesized expression with or without quotes or against multiple
34911
+ # parenthesized expressions. Examples: `fieldname eq unquoted literal` `
34912
+ # fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(
34913
+ # fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is
34914
+ # interpreted as a regular expression using Google RE2 library syntax. The
34915
+ # literal value must match the entire field. For example, to filter for
34916
+ # instances that do not end with name "instance", you would use `name ne .*
34917
+ # instance`. You cannot combine constraints on multiple fields using regular
34918
+ # expressions.
34919
+ # @param [Boolean] include_all_scopes
34920
+ # Indicates whether every visible scope for each scope type (zone, region,
34921
+ # global) should be included in the response. For new resource types added after
34922
+ # this field, the flag has no effect as new resource types will always include
34923
+ # every visible scope for each scope type in response. For resource types which
34924
+ # predate this field, if this flag is omitted or false, only scopes of the scope
34925
+ # types where the resource type is expected to be found will be included.
34926
+ # @param [Fixnum] max_results
34927
+ # The maximum number of results per page that should be returned. If the number
34928
+ # of available results is larger than `maxResults`, Compute Engine returns a `
34929
+ # nextPageToken` that can be used to get the next page of results in subsequent
34930
+ # list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
34931
+ # @param [String] order_by
34932
+ # Sorts list results by a certain order. By default, results are returned in
34933
+ # alphanumerical order based on the resource name. You can also sort results in
34934
+ # descending order based on the creation timestamp using `orderBy="
34935
+ # creationTimestamp desc"`. This sorts results based on the `creationTimestamp`
34936
+ # field in reverse chronological order (newest result first). Use this to sort
34937
+ # resources like operations so that the newest operation is returned first.
34938
+ # Currently, only sorting by `name` or `creationTimestamp desc` is supported.
34939
+ # @param [String] page_token
34940
+ # Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
34941
+ # by a previous list request to get the next page of results.
34942
+ # @param [Boolean] return_partial_success
34943
+ # Opt-in for partial success behavior which provides partial results in case of
34944
+ # failure. The default value is false. For example, when partial success
34945
+ # behavior is enabled, aggregatedList for a single zone scope either returns all
34946
+ # resources in the zone or no resources, with an error code.
34947
+ # @param [Fixnum] service_project_number
34948
+ # The Shared VPC service project id or service project number for which
34949
+ # aggregated list request is invoked for subnetworks list-usable api.
34950
+ # @param [String] fields
34951
+ # Selector specifying which fields to include in a partial response.
34952
+ # @param [String] quota_user
34953
+ # Available to use for quota purposes for server-side applications. Can be any
34954
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
34955
+ # @param [String] user_ip
34956
+ # Legacy name for parameter that has been superseded by `quotaUser`.
34957
+ # @param [Google::Apis::RequestOptions] options
34958
+ # Request-specific options
34959
+ #
34960
+ # @yield [result, err] Result & error if block supplied
34961
+ # @yieldparam result [Google::Apis::ComputeAlpha::HealthAggregationPolicyAggregatedList] parsed result object
34962
+ # @yieldparam err [StandardError] error object if request failed
34963
+ #
34964
+ # @return [Google::Apis::ComputeAlpha::HealthAggregationPolicyAggregatedList]
34965
+ #
34966
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
34967
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
34968
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
34969
+ def aggregated_region_health_aggregation_policy_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, service_project_number: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
34970
+ command = make_simple_command(:get, 'projects/{project}/aggregated/healthAggregationPolicies', options)
34971
+ command.response_representation = Google::Apis::ComputeAlpha::HealthAggregationPolicyAggregatedList::Representation
34972
+ command.response_class = Google::Apis::ComputeAlpha::HealthAggregationPolicyAggregatedList
34973
+ command.params['project'] = project unless project.nil?
34974
+ command.query['filter'] = filter unless filter.nil?
34975
+ command.query['includeAllScopes'] = include_all_scopes unless include_all_scopes.nil?
34976
+ command.query['maxResults'] = max_results unless max_results.nil?
34977
+ command.query['orderBy'] = order_by unless order_by.nil?
34978
+ command.query['pageToken'] = page_token unless page_token.nil?
34979
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
34980
+ command.query['serviceProjectNumber'] = service_project_number unless service_project_number.nil?
34981
+ command.query['fields'] = fields unless fields.nil?
34982
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
34983
+ command.query['userIp'] = user_ip unless user_ip.nil?
34984
+ execute_or_queue_command(command, &block)
34985
+ end
34986
+
34611
34987
  # Deletes the specified HealthAggregationPolicy in the given region.
34612
34988
  # @param [String] project
34613
34989
  # Project ID for this request.
@@ -45991,6 +46367,64 @@ module Google
45991
46367
  execute_or_queue_command(command, &block)
45992
46368
  end
45993
46369
 
46370
+ # Allows customers to report a faulty subBlock.
46371
+ # @param [String] project
46372
+ # Project ID for this request.
46373
+ # @param [String] zone
46374
+ # Name of the zone for this request. Zone name should conform to RFC1035.
46375
+ # @param [String] parent_name
46376
+ # The name of the parent reservation and parent block. In the format of
46377
+ # reservations/`reservation_name`/reservationBlocks/`reservation_block_name`
46378
+ # @param [String] reservation_sub_block
46379
+ # The name of the reservation subBlock. Name should conform to RFC1035 or be a
46380
+ # resource ID.
46381
+ # @param [Google::Apis::ComputeAlpha::ReservationSubBlocksReportFaultyRequest] reservation_sub_blocks_report_faulty_request_object
46382
+ # @param [String] request_id
46383
+ # An optional request ID to identify requests. Specify a unique request ID so
46384
+ # that if you must retry your request, the server will know to ignore the
46385
+ # request if it has already been completed. For example, consider a situation
46386
+ # where you make an initial request and the request times out. If you make the
46387
+ # request again with the same request ID, the server can check if original
46388
+ # operation with the same request ID was received, and if so, will ignore the
46389
+ # second request. This prevents clients from accidentally creating duplicate
46390
+ # commitments. The request ID must be a valid UUID with the exception that zero
46391
+ # UUID is not supported ( 00000000-0000-0000-0000-000000000000).
46392
+ # @param [String] fields
46393
+ # Selector specifying which fields to include in a partial response.
46394
+ # @param [String] quota_user
46395
+ # Available to use for quota purposes for server-side applications. Can be any
46396
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
46397
+ # @param [String] user_ip
46398
+ # Legacy name for parameter that has been superseded by `quotaUser`.
46399
+ # @param [Google::Apis::RequestOptions] options
46400
+ # Request-specific options
46401
+ #
46402
+ # @yield [result, err] Result & error if block supplied
46403
+ # @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
46404
+ # @yieldparam err [StandardError] error object if request failed
46405
+ #
46406
+ # @return [Google::Apis::ComputeAlpha::Operation]
46407
+ #
46408
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
46409
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
46410
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
46411
+ def report_reservation_sub_block_faulty(project, zone, parent_name, reservation_sub_block, reservation_sub_blocks_report_faulty_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
46412
+ command = make_simple_command(:post, 'projects/{project}/zones/{zone}/{parentName}/reservationSubBlocks/{reservationSubBlock}/reportFaulty', options)
46413
+ command.request_representation = Google::Apis::ComputeAlpha::ReservationSubBlocksReportFaultyRequest::Representation
46414
+ command.request_object = reservation_sub_blocks_report_faulty_request_object
46415
+ command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
46416
+ command.response_class = Google::Apis::ComputeAlpha::Operation
46417
+ command.params['project'] = project unless project.nil?
46418
+ command.params['zone'] = zone unless zone.nil?
46419
+ command.params['parentName'] = parent_name unless parent_name.nil?
46420
+ command.params['reservationSubBlock'] = reservation_sub_block unless reservation_sub_block.nil?
46421
+ command.query['requestId'] = request_id unless request_id.nil?
46422
+ command.query['fields'] = fields unless fields.nil?
46423
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
46424
+ command.query['userIp'] = user_ip unless user_ip.nil?
46425
+ execute_or_queue_command(command, &block)
46426
+ end
46427
+
45994
46428
  # Retrieves an aggregated list of reservations. To prevent failure, Google
45995
46429
  # recommends that you set the `returnPartialSuccess` parameter to `true`.
45996
46430
  # @param [String] project
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-compute_alpha
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.118.0
4
+ version: 0.119.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -57,7 +57,7 @@ licenses:
57
57
  metadata:
58
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
59
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-compute_alpha/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-compute_alpha/v0.118.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-compute_alpha/v0.119.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-compute_alpha
62
62
  rdoc_options: []
63
63
  require_paths: