google-apis-compute_alpha 0.1.0 → 0.6.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.
@@ -99,7 +99,7 @@ module Google
99
99
  # by a previous list request to get the next page of results.
100
100
  # @param [Boolean] return_partial_success
101
101
  # Opt-in for partial success behavior which provides partial results in case of
102
- # failure. The default value is false and the logic is the same as today.
102
+ # failure. The default value is false.
103
103
  # @param [String] fields
104
104
  # Selector specifying which fields to include in a partial response.
105
105
  # @param [String] quota_user
@@ -217,7 +217,7 @@ module Google
217
217
  # by a previous list request to get the next page of results.
218
218
  # @param [Boolean] return_partial_success
219
219
  # Opt-in for partial success behavior which provides partial results in case of
220
- # failure. The default value is false and the logic is the same as today.
220
+ # failure. The default value is false.
221
221
  # @param [String] fields
222
222
  # Selector specifying which fields to include in a partial response.
223
223
  # @param [String] quota_user
@@ -300,7 +300,7 @@ module Google
300
300
  # by a previous list request to get the next page of results.
301
301
  # @param [Boolean] return_partial_success
302
302
  # Opt-in for partial success behavior which provides partial results in case of
303
- # failure. The default value is false and the logic is the same as today.
303
+ # failure. The default value is false.
304
304
  # @param [String] fields
305
305
  # Selector specifying which fields to include in a partial response.
306
306
  # @param [String] quota_user
@@ -520,7 +520,7 @@ module Google
520
520
  # by a previous list request to get the next page of results.
521
521
  # @param [Boolean] return_partial_success
522
522
  # Opt-in for partial success behavior which provides partial results in case of
523
- # failure. The default value is false and the logic is the same as today.
523
+ # failure. The default value is false.
524
524
  # @param [String] fields
525
525
  # Selector specifying which fields to include in a partial response.
526
526
  # @param [String] quota_user
@@ -700,7 +700,7 @@ module Google
700
700
  # by a previous list request to get the next page of results.
701
701
  # @param [Boolean] return_partial_success
702
702
  # Opt-in for partial success behavior which provides partial results in case of
703
- # failure. The default value is false and the logic is the same as today.
703
+ # failure. The default value is false.
704
704
  # @param [String] fields
705
705
  # Selector specifying which fields to include in a partial response.
706
706
  # @param [String] quota_user
@@ -921,7 +921,7 @@ module Google
921
921
  # by a previous list request to get the next page of results.
922
922
  # @param [Boolean] return_partial_success
923
923
  # Opt-in for partial success behavior which provides partial results in case of
924
- # failure. The default value is false and the logic is the same as today.
924
+ # failure. The default value is false.
925
925
  # @param [String] fields
926
926
  # Selector specifying which fields to include in a partial response.
927
927
  # @param [String] quota_user
@@ -1429,7 +1429,7 @@ module Google
1429
1429
  # by a previous list request to get the next page of results.
1430
1430
  # @param [Boolean] return_partial_success
1431
1431
  # Opt-in for partial success behavior which provides partial results in case of
1432
- # failure. The default value is false and the logic is the same as today.
1432
+ # failure. The default value is false.
1433
1433
  # @param [String] fields
1434
1434
  # Selector specifying which fields to include in a partial response.
1435
1435
  # @param [String] quota_user
@@ -1800,7 +1800,7 @@ module Google
1800
1800
  # by a previous list request to get the next page of results.
1801
1801
  # @param [Boolean] return_partial_success
1802
1802
  # Opt-in for partial success behavior which provides partial results in case of
1803
- # failure. The default value is false and the logic is the same as today.
1803
+ # failure. The default value is false.
1804
1804
  # @param [String] fields
1805
1805
  # Selector specifying which fields to include in a partial response.
1806
1806
  # @param [String] quota_user
@@ -2104,7 +2104,7 @@ module Google
2104
2104
  # by a previous list request to get the next page of results.
2105
2105
  # @param [Boolean] return_partial_success
2106
2106
  # Opt-in for partial success behavior which provides partial results in case of
2107
- # failure. The default value is false and the logic is the same as today.
2107
+ # failure. The default value is false.
2108
2108
  # @param [String] fields
2109
2109
  # Selector specifying which fields to include in a partial response.
2110
2110
  # @param [String] quota_user
@@ -2246,7 +2246,8 @@ module Google
2246
2246
  execute_or_queue_command(command, &block)
2247
2247
  end
2248
2248
 
2249
- # Sets the security policy for the specified backend service.
2249
+ # Sets the Google Cloud Armor security policy for the specified backend service.
2250
+ # For more information, see Google Cloud Armor Overview
2250
2251
  # @param [String] project
2251
2252
  # Project ID for this request.
2252
2253
  # @param [String] backend_service
@@ -2435,7 +2436,7 @@ module Google
2435
2436
  # by a previous list request to get the next page of results.
2436
2437
  # @param [Boolean] return_partial_success
2437
2438
  # Opt-in for partial success behavior which provides partial results in case of
2438
- # failure. The default value is false and the logic is the same as today.
2439
+ # failure. The default value is false.
2439
2440
  # @param [String] fields
2440
2441
  # Selector specifying which fields to include in a partial response.
2441
2442
  # @param [String] quota_user
@@ -2553,7 +2554,7 @@ module Google
2553
2554
  # by a previous list request to get the next page of results.
2554
2555
  # @param [Boolean] return_partial_success
2555
2556
  # Opt-in for partial success behavior which provides partial results in case of
2556
- # failure. The default value is false and the logic is the same as today.
2557
+ # failure. The default value is false.
2557
2558
  # @param [String] fields
2558
2559
  # Selector specifying which fields to include in a partial response.
2559
2560
  # @param [String] quota_user
@@ -2691,7 +2692,7 @@ module Google
2691
2692
  # by a previous list request to get the next page of results.
2692
2693
  # @param [Boolean] return_partial_success
2693
2694
  # Opt-in for partial success behavior which provides partial results in case of
2694
- # failure. The default value is false and the logic is the same as today.
2695
+ # failure. The default value is false.
2695
2696
  # @param [String] fields
2696
2697
  # Selector specifying which fields to include in a partial response.
2697
2698
  # @param [String] quota_user
@@ -2945,7 +2946,7 @@ module Google
2945
2946
  # The request ID must be a valid UUID with the exception that zero UUID is not
2946
2947
  # supported (00000000-0000-0000-0000-000000000000).
2947
2948
  # @param [String] source_image
2948
- # Optional. Source image to restore onto a disk.
2949
+ # Source image to restore onto a disk. This field is optional.
2949
2950
  # @param [String] fields
2950
2951
  # Selector specifying which fields to include in a partial response.
2951
2952
  # @param [String] quota_user
@@ -3022,7 +3023,7 @@ module Google
3022
3023
  # by a previous list request to get the next page of results.
3023
3024
  # @param [Boolean] return_partial_success
3024
3025
  # Opt-in for partial success behavior which provides partial results in case of
3025
- # failure. The default value is false and the logic is the same as today.
3026
+ # failure. The default value is false.
3026
3027
  # @param [String] fields
3027
3028
  # Selector specifying which fields to include in a partial response.
3028
3029
  # @param [String] quota_user
@@ -3540,7 +3541,7 @@ module Google
3540
3541
  # by a previous list request to get the next page of results.
3541
3542
  # @param [Boolean] return_partial_success
3542
3543
  # Opt-in for partial success behavior which provides partial results in case of
3543
- # failure. The default value is false and the logic is the same as today.
3544
+ # failure. The default value is false.
3544
3545
  # @param [String] fields
3545
3546
  # Selector specifying which fields to include in a partial response.
3546
3547
  # @param [String] quota_user
@@ -3655,6 +3656,817 @@ module Google
3655
3656
  execute_or_queue_command(command, &block)
3656
3657
  end
3657
3658
 
3659
+ # Inserts an association for the specified firewall policy.
3660
+ # @param [String] firewall_policy
3661
+ # Name of the firewall policy to update.
3662
+ # @param [Google::Apis::ComputeAlpha::FirewallPolicyAssociation] firewall_policy_association_object
3663
+ # @param [Boolean] replace_existing_association
3664
+ # Indicates whether or not to replace it if an association of the attachment
3665
+ # already exists. This is false by default, in which case an error will be
3666
+ # returned if an association already exists.
3667
+ # @param [String] request_id
3668
+ # An optional request ID to identify requests. Specify a unique request ID so
3669
+ # that if you must retry your request, the server will know to ignore the
3670
+ # request if it has already been completed.
3671
+ # For example, consider a situation where you make an initial request and the
3672
+ # request times out. If you make the request again with the same request ID, the
3673
+ # server can check if original operation with the same request ID was received,
3674
+ # and if so, will ignore the second request. This prevents clients from
3675
+ # accidentally creating duplicate commitments.
3676
+ # The request ID must be a valid UUID with the exception that zero UUID is not
3677
+ # supported (00000000-0000-0000-0000-000000000000).
3678
+ # @param [String] fields
3679
+ # Selector specifying which fields to include in a partial response.
3680
+ # @param [String] quota_user
3681
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
3682
+ # characters.
3683
+ # @param [String] user_ip
3684
+ # Deprecated. Please use quotaUser instead.
3685
+ # @param [Google::Apis::RequestOptions] options
3686
+ # Request-specific options
3687
+ #
3688
+ # @yield [result, err] Result & error if block supplied
3689
+ # @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
3690
+ # @yieldparam err [StandardError] error object if request failed
3691
+ #
3692
+ # @return [Google::Apis::ComputeAlpha::Operation]
3693
+ #
3694
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3695
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3696
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3697
+ def add_firewall_policy_association(firewall_policy, firewall_policy_association_object = nil, replace_existing_association: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
3698
+ command = make_simple_command(:post, 'locations/global/firewallPolicies/{firewallPolicy}/addAssociation', options)
3699
+ command.request_representation = Google::Apis::ComputeAlpha::FirewallPolicyAssociation::Representation
3700
+ command.request_object = firewall_policy_association_object
3701
+ command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
3702
+ command.response_class = Google::Apis::ComputeAlpha::Operation
3703
+ command.params['firewallPolicy'] = firewall_policy unless firewall_policy.nil?
3704
+ command.query['replaceExistingAssociation'] = replace_existing_association unless replace_existing_association.nil?
3705
+ command.query['requestId'] = request_id unless request_id.nil?
3706
+ command.query['fields'] = fields unless fields.nil?
3707
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3708
+ command.query['userIp'] = user_ip unless user_ip.nil?
3709
+ execute_or_queue_command(command, &block)
3710
+ end
3711
+
3712
+ # Inserts a rule into a firewall policy.
3713
+ # @param [String] firewall_policy
3714
+ # Name of the firewall policy to update.
3715
+ # @param [Google::Apis::ComputeAlpha::FirewallPolicyRule] firewall_policy_rule_object
3716
+ # @param [String] request_id
3717
+ # An optional request ID to identify requests. Specify a unique request ID so
3718
+ # that if you must retry your request, the server will know to ignore the
3719
+ # request if it has already been completed.
3720
+ # For example, consider a situation where you make an initial request and the
3721
+ # request times out. If you make the request again with the same request ID, the
3722
+ # server can check if original operation with the same request ID was received,
3723
+ # and if so, will ignore the second request. This prevents clients from
3724
+ # accidentally creating duplicate commitments.
3725
+ # The request ID must be a valid UUID with the exception that zero UUID is not
3726
+ # supported (00000000-0000-0000-0000-000000000000).
3727
+ # @param [String] fields
3728
+ # Selector specifying which fields to include in a partial response.
3729
+ # @param [String] quota_user
3730
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
3731
+ # characters.
3732
+ # @param [String] user_ip
3733
+ # Deprecated. Please use quotaUser instead.
3734
+ # @param [Google::Apis::RequestOptions] options
3735
+ # Request-specific options
3736
+ #
3737
+ # @yield [result, err] Result & error if block supplied
3738
+ # @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
3739
+ # @yieldparam err [StandardError] error object if request failed
3740
+ #
3741
+ # @return [Google::Apis::ComputeAlpha::Operation]
3742
+ #
3743
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3744
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3745
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3746
+ def add_firewall_policy_rule(firewall_policy, firewall_policy_rule_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
3747
+ command = make_simple_command(:post, 'locations/global/firewallPolicies/{firewallPolicy}/addRule', options)
3748
+ command.request_representation = Google::Apis::ComputeAlpha::FirewallPolicyRule::Representation
3749
+ command.request_object = firewall_policy_rule_object
3750
+ command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
3751
+ command.response_class = Google::Apis::ComputeAlpha::Operation
3752
+ command.params['firewallPolicy'] = firewall_policy unless firewall_policy.nil?
3753
+ command.query['requestId'] = request_id unless request_id.nil?
3754
+ command.query['fields'] = fields unless fields.nil?
3755
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3756
+ command.query['userIp'] = user_ip unless user_ip.nil?
3757
+ execute_or_queue_command(command, &block)
3758
+ end
3759
+
3760
+ # Copies rules to the specified firewall policy.
3761
+ # @param [String] firewall_policy
3762
+ # Name of the firewall policy to update.
3763
+ # @param [String] request_id
3764
+ # An optional request ID to identify requests. Specify a unique request ID so
3765
+ # that if you must retry your request, the server will know to ignore the
3766
+ # request if it has already been completed.
3767
+ # For example, consider a situation where you make an initial request and the
3768
+ # request times out. If you make the request again with the same request ID, the
3769
+ # server can check if original operation with the same request ID was received,
3770
+ # and if so, will ignore the second request. This prevents clients from
3771
+ # accidentally creating duplicate commitments.
3772
+ # The request ID must be a valid UUID with the exception that zero UUID is not
3773
+ # supported (00000000-0000-0000-0000-000000000000).
3774
+ # @param [String] source_firewall_policy
3775
+ # The firewall policy from which to copy rules.
3776
+ # @param [String] fields
3777
+ # Selector specifying which fields to include in a partial response.
3778
+ # @param [String] quota_user
3779
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
3780
+ # characters.
3781
+ # @param [String] user_ip
3782
+ # Deprecated. Please use quotaUser instead.
3783
+ # @param [Google::Apis::RequestOptions] options
3784
+ # Request-specific options
3785
+ #
3786
+ # @yield [result, err] Result & error if block supplied
3787
+ # @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
3788
+ # @yieldparam err [StandardError] error object if request failed
3789
+ #
3790
+ # @return [Google::Apis::ComputeAlpha::Operation]
3791
+ #
3792
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3793
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3794
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3795
+ def clone_firewall_policy_rules(firewall_policy, request_id: nil, source_firewall_policy: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
3796
+ command = make_simple_command(:post, 'locations/global/firewallPolicies/{firewallPolicy}/cloneRules', options)
3797
+ command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
3798
+ command.response_class = Google::Apis::ComputeAlpha::Operation
3799
+ command.params['firewallPolicy'] = firewall_policy unless firewall_policy.nil?
3800
+ command.query['requestId'] = request_id unless request_id.nil?
3801
+ command.query['sourceFirewallPolicy'] = source_firewall_policy unless source_firewall_policy.nil?
3802
+ command.query['fields'] = fields unless fields.nil?
3803
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3804
+ command.query['userIp'] = user_ip unless user_ip.nil?
3805
+ execute_or_queue_command(command, &block)
3806
+ end
3807
+
3808
+ # Deletes the specified policy.
3809
+ # @param [String] firewall_policy
3810
+ # Name of the firewall policy to delete.
3811
+ # @param [String] request_id
3812
+ # An optional request ID to identify requests. Specify a unique request ID so
3813
+ # that if you must retry your request, the server will know to ignore the
3814
+ # request if it has already been completed.
3815
+ # For example, consider a situation where you make an initial request and the
3816
+ # request times out. If you make the request again with the same request ID, the
3817
+ # server can check if original operation with the same request ID was received,
3818
+ # and if so, will ignore the second request. This prevents clients from
3819
+ # accidentally creating duplicate commitments.
3820
+ # The request ID must be a valid UUID with the exception that zero UUID is not
3821
+ # supported (00000000-0000-0000-0000-000000000000).
3822
+ # @param [String] fields
3823
+ # Selector specifying which fields to include in a partial response.
3824
+ # @param [String] quota_user
3825
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
3826
+ # characters.
3827
+ # @param [String] user_ip
3828
+ # Deprecated. Please use quotaUser instead.
3829
+ # @param [Google::Apis::RequestOptions] options
3830
+ # Request-specific options
3831
+ #
3832
+ # @yield [result, err] Result & error if block supplied
3833
+ # @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
3834
+ # @yieldparam err [StandardError] error object if request failed
3835
+ #
3836
+ # @return [Google::Apis::ComputeAlpha::Operation]
3837
+ #
3838
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3839
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3840
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3841
+ def delete_firewall_policy(firewall_policy, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
3842
+ command = make_simple_command(:delete, 'locations/global/firewallPolicies/{firewallPolicy}', options)
3843
+ command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
3844
+ command.response_class = Google::Apis::ComputeAlpha::Operation
3845
+ command.params['firewallPolicy'] = firewall_policy unless firewall_policy.nil?
3846
+ command.query['requestId'] = request_id unless request_id.nil?
3847
+ command.query['fields'] = fields unless fields.nil?
3848
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3849
+ command.query['userIp'] = user_ip unless user_ip.nil?
3850
+ execute_or_queue_command(command, &block)
3851
+ end
3852
+
3853
+ # Returns the specified firewall policy.
3854
+ # @param [String] firewall_policy
3855
+ # Name of the firewall policy to get.
3856
+ # @param [String] fields
3857
+ # Selector specifying which fields to include in a partial response.
3858
+ # @param [String] quota_user
3859
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
3860
+ # characters.
3861
+ # @param [String] user_ip
3862
+ # Deprecated. Please use quotaUser instead.
3863
+ # @param [Google::Apis::RequestOptions] options
3864
+ # Request-specific options
3865
+ #
3866
+ # @yield [result, err] Result & error if block supplied
3867
+ # @yieldparam result [Google::Apis::ComputeAlpha::FirewallPolicy] parsed result object
3868
+ # @yieldparam err [StandardError] error object if request failed
3869
+ #
3870
+ # @return [Google::Apis::ComputeAlpha::FirewallPolicy]
3871
+ #
3872
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3873
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3874
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3875
+ def get_firewall_policy(firewall_policy, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
3876
+ command = make_simple_command(:get, 'locations/global/firewallPolicies/{firewallPolicy}', options)
3877
+ command.response_representation = Google::Apis::ComputeAlpha::FirewallPolicy::Representation
3878
+ command.response_class = Google::Apis::ComputeAlpha::FirewallPolicy
3879
+ command.params['firewallPolicy'] = firewall_policy unless firewall_policy.nil?
3880
+ command.query['fields'] = fields unless fields.nil?
3881
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3882
+ command.query['userIp'] = user_ip unless user_ip.nil?
3883
+ execute_or_queue_command(command, &block)
3884
+ end
3885
+
3886
+ # Gets an association with the specified name.
3887
+ # @param [String] firewall_policy
3888
+ # Name of the firewall policy to which the queried rule belongs.
3889
+ # @param [String] name
3890
+ # The name of the association to get from the firewall policy.
3891
+ # @param [String] fields
3892
+ # Selector specifying which fields to include in a partial response.
3893
+ # @param [String] quota_user
3894
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
3895
+ # characters.
3896
+ # @param [String] user_ip
3897
+ # Deprecated. Please use quotaUser instead.
3898
+ # @param [Google::Apis::RequestOptions] options
3899
+ # Request-specific options
3900
+ #
3901
+ # @yield [result, err] Result & error if block supplied
3902
+ # @yieldparam result [Google::Apis::ComputeAlpha::FirewallPolicyAssociation] parsed result object
3903
+ # @yieldparam err [StandardError] error object if request failed
3904
+ #
3905
+ # @return [Google::Apis::ComputeAlpha::FirewallPolicyAssociation]
3906
+ #
3907
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3908
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3909
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3910
+ def get_firewall_policy_association(firewall_policy, name: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
3911
+ command = make_simple_command(:get, 'locations/global/firewallPolicies/{firewallPolicy}/getAssociation', options)
3912
+ command.response_representation = Google::Apis::ComputeAlpha::FirewallPolicyAssociation::Representation
3913
+ command.response_class = Google::Apis::ComputeAlpha::FirewallPolicyAssociation
3914
+ command.params['firewallPolicy'] = firewall_policy unless firewall_policy.nil?
3915
+ command.query['name'] = name unless name.nil?
3916
+ command.query['fields'] = fields unless fields.nil?
3917
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3918
+ command.query['userIp'] = user_ip unless user_ip.nil?
3919
+ execute_or_queue_command(command, &block)
3920
+ end
3921
+
3922
+ # Gets the access control policy for a resource. May be empty if no such policy
3923
+ # or resource exists.
3924
+ # @param [String] resource
3925
+ # Name or id of the resource for this request.
3926
+ # @param [Fixnum] options_requested_policy_version
3927
+ # Requested IAM Policy version.
3928
+ # @param [String] fields
3929
+ # Selector specifying which fields to include in a partial response.
3930
+ # @param [String] quota_user
3931
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
3932
+ # characters.
3933
+ # @param [String] user_ip
3934
+ # Deprecated. Please use quotaUser instead.
3935
+ # @param [Google::Apis::RequestOptions] options
3936
+ # Request-specific options
3937
+ #
3938
+ # @yield [result, err] Result & error if block supplied
3939
+ # @yieldparam result [Google::Apis::ComputeAlpha::Policy] parsed result object
3940
+ # @yieldparam err [StandardError] error object if request failed
3941
+ #
3942
+ # @return [Google::Apis::ComputeAlpha::Policy]
3943
+ #
3944
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3945
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3946
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3947
+ def get_firewall_policy_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
3948
+ command = make_simple_command(:get, 'locations/global/firewallPolicies/{resource}/getIamPolicy', options)
3949
+ command.response_representation = Google::Apis::ComputeAlpha::Policy::Representation
3950
+ command.response_class = Google::Apis::ComputeAlpha::Policy
3951
+ command.params['resource'] = resource unless resource.nil?
3952
+ command.query['optionsRequestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
3953
+ command.query['fields'] = fields unless fields.nil?
3954
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3955
+ command.query['userIp'] = user_ip unless user_ip.nil?
3956
+ execute_or_queue_command(command, &block)
3957
+ end
3958
+
3959
+ # Gets a rule of the specified priority.
3960
+ # @param [String] firewall_policy
3961
+ # Name of the firewall policy to which the queried rule belongs.
3962
+ # @param [Fixnum] priority
3963
+ # The priority of the rule to get from the firewall policy.
3964
+ # @param [String] fields
3965
+ # Selector specifying which fields to include in a partial response.
3966
+ # @param [String] quota_user
3967
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
3968
+ # characters.
3969
+ # @param [String] user_ip
3970
+ # Deprecated. Please use quotaUser instead.
3971
+ # @param [Google::Apis::RequestOptions] options
3972
+ # Request-specific options
3973
+ #
3974
+ # @yield [result, err] Result & error if block supplied
3975
+ # @yieldparam result [Google::Apis::ComputeAlpha::FirewallPolicyRule] parsed result object
3976
+ # @yieldparam err [StandardError] error object if request failed
3977
+ #
3978
+ # @return [Google::Apis::ComputeAlpha::FirewallPolicyRule]
3979
+ #
3980
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3981
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3982
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3983
+ def get_firewall_policy_rule(firewall_policy, priority: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
3984
+ command = make_simple_command(:get, 'locations/global/firewallPolicies/{firewallPolicy}/getRule', options)
3985
+ command.response_representation = Google::Apis::ComputeAlpha::FirewallPolicyRule::Representation
3986
+ command.response_class = Google::Apis::ComputeAlpha::FirewallPolicyRule
3987
+ command.params['firewallPolicy'] = firewall_policy unless firewall_policy.nil?
3988
+ command.query['priority'] = priority unless priority.nil?
3989
+ command.query['fields'] = fields unless fields.nil?
3990
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3991
+ command.query['userIp'] = user_ip unless user_ip.nil?
3992
+ execute_or_queue_command(command, &block)
3993
+ end
3994
+
3995
+ # Creates a new policy in the specified project using the data included in the
3996
+ # request.
3997
+ # @param [Google::Apis::ComputeAlpha::FirewallPolicy] firewall_policy_object
3998
+ # @param [String] parent_id
3999
+ # Parent ID for this request. The ID can be either be "folders/[FOLDER_ID]" if
4000
+ # the parent is a folder or "organizations/[ORGANIZATION_ID]" if the parent is
4001
+ # an organization.
4002
+ # @param [String] request_id
4003
+ # An optional request ID to identify requests. Specify a unique request ID so
4004
+ # that if you must retry your request, the server will know to ignore the
4005
+ # request if it has already been completed.
4006
+ # For example, consider a situation where you make an initial request and the
4007
+ # request times out. If you make the request again with the same request ID, the
4008
+ # server can check if original operation with the same request ID was received,
4009
+ # and if so, will ignore the second request. This prevents clients from
4010
+ # accidentally creating duplicate commitments.
4011
+ # The request ID must be a valid UUID with the exception that zero UUID is not
4012
+ # supported (00000000-0000-0000-0000-000000000000).
4013
+ # @param [String] fields
4014
+ # Selector specifying which fields to include in a partial response.
4015
+ # @param [String] quota_user
4016
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
4017
+ # characters.
4018
+ # @param [String] user_ip
4019
+ # Deprecated. Please use quotaUser instead.
4020
+ # @param [Google::Apis::RequestOptions] options
4021
+ # Request-specific options
4022
+ #
4023
+ # @yield [result, err] Result & error if block supplied
4024
+ # @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
4025
+ # @yieldparam err [StandardError] error object if request failed
4026
+ #
4027
+ # @return [Google::Apis::ComputeAlpha::Operation]
4028
+ #
4029
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4030
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4031
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4032
+ def insert_firewall_policy(firewall_policy_object = nil, parent_id: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
4033
+ command = make_simple_command(:post, 'locations/global/firewallPolicies', options)
4034
+ command.request_representation = Google::Apis::ComputeAlpha::FirewallPolicy::Representation
4035
+ command.request_object = firewall_policy_object
4036
+ command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
4037
+ command.response_class = Google::Apis::ComputeAlpha::Operation
4038
+ command.query['parentId'] = parent_id unless parent_id.nil?
4039
+ command.query['requestId'] = request_id unless request_id.nil?
4040
+ command.query['fields'] = fields unless fields.nil?
4041
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4042
+ command.query['userIp'] = user_ip unless user_ip.nil?
4043
+ execute_or_queue_command(command, &block)
4044
+ end
4045
+
4046
+ # Lists all the policies that have been configured for the specified project.
4047
+ # @param [String] filter
4048
+ # A filter expression that filters resources listed in the response. The
4049
+ # expression must specify the field name, a comparison operator, and the value
4050
+ # that you want to use for filtering. The value must be a string, a number, or a
4051
+ # boolean. The comparison operator must be either `=`, `!=`, `>`, or `<`.
4052
+ # For example, if you are filtering Compute Engine instances, you can exclude
4053
+ # instances named `example-instance` by specifying `name != example-instance`.
4054
+ # You can also filter nested fields. For example, you could specify `scheduling.
4055
+ # automaticRestart = false` to include instances only if they are not scheduled
4056
+ # for automatic restarts. You can use filtering on nested fields to filter based
4057
+ # on resource labels.
4058
+ # To filter on multiple expressions, provide each separate expression within
4059
+ # parentheses. For example: ``` (scheduling.automaticRestart = true) (
4060
+ # cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND`
4061
+ # expression. However, you can include `AND` and `OR` expressions explicitly.
4062
+ # For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel
4063
+ # Broadwell") AND (scheduling.automaticRestart = true) ```
4064
+ # @param [Fixnum] max_results
4065
+ # The maximum number of results per page that should be returned. If the number
4066
+ # of available results is larger than `maxResults`, Compute Engine returns a `
4067
+ # nextPageToken` that can be used to get the next page of results in subsequent
4068
+ # list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
4069
+ # @param [String] order_by
4070
+ # Sorts list results by a certain order. By default, results are returned in
4071
+ # alphanumerical order based on the resource name.
4072
+ # You can also sort results in descending order based on the creation timestamp
4073
+ # using `orderBy="creationTimestamp desc"`. This sorts results based on the `
4074
+ # creationTimestamp` field in reverse chronological order (newest result first).
4075
+ # Use this to sort resources like operations so that the newest operation is
4076
+ # returned first.
4077
+ # Currently, only sorting by `name` or `creationTimestamp desc` is supported.
4078
+ # @param [String] page_token
4079
+ # Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
4080
+ # by a previous list request to get the next page of results.
4081
+ # @param [String] parent_id
4082
+ # Parent ID for this request.
4083
+ # @param [Boolean] return_partial_success
4084
+ # Opt-in for partial success behavior which provides partial results in case of
4085
+ # failure. The default value is false.
4086
+ # @param [String] fields
4087
+ # Selector specifying which fields to include in a partial response.
4088
+ # @param [String] quota_user
4089
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
4090
+ # characters.
4091
+ # @param [String] user_ip
4092
+ # Deprecated. Please use quotaUser instead.
4093
+ # @param [Google::Apis::RequestOptions] options
4094
+ # Request-specific options
4095
+ #
4096
+ # @yield [result, err] Result & error if block supplied
4097
+ # @yieldparam result [Google::Apis::ComputeAlpha::FirewallPolicyList] parsed result object
4098
+ # @yieldparam err [StandardError] error object if request failed
4099
+ #
4100
+ # @return [Google::Apis::ComputeAlpha::FirewallPolicyList]
4101
+ #
4102
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4103
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4104
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4105
+ def list_firewall_policies(filter: nil, max_results: nil, order_by: nil, page_token: nil, parent_id: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
4106
+ command = make_simple_command(:get, 'locations/global/firewallPolicies', options)
4107
+ command.response_representation = Google::Apis::ComputeAlpha::FirewallPolicyList::Representation
4108
+ command.response_class = Google::Apis::ComputeAlpha::FirewallPolicyList
4109
+ command.query['filter'] = filter unless filter.nil?
4110
+ command.query['maxResults'] = max_results unless max_results.nil?
4111
+ command.query['orderBy'] = order_by unless order_by.nil?
4112
+ command.query['pageToken'] = page_token unless page_token.nil?
4113
+ command.query['parentId'] = parent_id unless parent_id.nil?
4114
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
4115
+ command.query['fields'] = fields unless fields.nil?
4116
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4117
+ command.query['userIp'] = user_ip unless user_ip.nil?
4118
+ execute_or_queue_command(command, &block)
4119
+ end
4120
+
4121
+ # Lists associations of a specified target, i.e., organization or folder.
4122
+ # @param [String] target_resource
4123
+ # The target resource to list associations. It is an organization, or a folder.
4124
+ # @param [String] fields
4125
+ # Selector specifying which fields to include in a partial response.
4126
+ # @param [String] quota_user
4127
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
4128
+ # characters.
4129
+ # @param [String] user_ip
4130
+ # Deprecated. Please use quotaUser instead.
4131
+ # @param [Google::Apis::RequestOptions] options
4132
+ # Request-specific options
4133
+ #
4134
+ # @yield [result, err] Result & error if block supplied
4135
+ # @yieldparam result [Google::Apis::ComputeAlpha::FirewallPoliciesListAssociationsResponse] parsed result object
4136
+ # @yieldparam err [StandardError] error object if request failed
4137
+ #
4138
+ # @return [Google::Apis::ComputeAlpha::FirewallPoliciesListAssociationsResponse]
4139
+ #
4140
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4141
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4142
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4143
+ def list_firewall_policy_associations(target_resource: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
4144
+ command = make_simple_command(:get, 'locations/global/firewallPolicies/listAssociations', options)
4145
+ command.response_representation = Google::Apis::ComputeAlpha::FirewallPoliciesListAssociationsResponse::Representation
4146
+ command.response_class = Google::Apis::ComputeAlpha::FirewallPoliciesListAssociationsResponse
4147
+ command.query['targetResource'] = target_resource unless target_resource.nil?
4148
+ command.query['fields'] = fields unless fields.nil?
4149
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4150
+ command.query['userIp'] = user_ip unless user_ip.nil?
4151
+ execute_or_queue_command(command, &block)
4152
+ end
4153
+
4154
+ # Moves the specified firewall policy.
4155
+ # @param [String] firewall_policy
4156
+ # Name of the firewall policy to update.
4157
+ # @param [String] parent_id
4158
+ # The new parent of the firewall policy.
4159
+ # @param [String] request_id
4160
+ # An optional request ID to identify requests. Specify a unique request ID so
4161
+ # that if you must retry your request, the server will know to ignore the
4162
+ # request if it has already been completed.
4163
+ # For example, consider a situation where you make an initial request and the
4164
+ # request times out. If you make the request again with the same request ID, the
4165
+ # server can check if original operation with the same request ID was received,
4166
+ # and if so, will ignore the second request. This prevents clients from
4167
+ # accidentally creating duplicate commitments.
4168
+ # The request ID must be a valid UUID with the exception that zero UUID is not
4169
+ # supported (00000000-0000-0000-0000-000000000000).
4170
+ # @param [String] fields
4171
+ # Selector specifying which fields to include in a partial response.
4172
+ # @param [String] quota_user
4173
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
4174
+ # characters.
4175
+ # @param [String] user_ip
4176
+ # Deprecated. Please use quotaUser instead.
4177
+ # @param [Google::Apis::RequestOptions] options
4178
+ # Request-specific options
4179
+ #
4180
+ # @yield [result, err] Result & error if block supplied
4181
+ # @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
4182
+ # @yieldparam err [StandardError] error object if request failed
4183
+ #
4184
+ # @return [Google::Apis::ComputeAlpha::Operation]
4185
+ #
4186
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4187
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4188
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4189
+ def move_firewall_policy(firewall_policy, parent_id: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
4190
+ command = make_simple_command(:post, 'locations/global/firewallPolicies/{firewallPolicy}/move', options)
4191
+ command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
4192
+ command.response_class = Google::Apis::ComputeAlpha::Operation
4193
+ command.params['firewallPolicy'] = firewall_policy unless firewall_policy.nil?
4194
+ command.query['parentId'] = parent_id unless parent_id.nil?
4195
+ command.query['requestId'] = request_id unless request_id.nil?
4196
+ command.query['fields'] = fields unless fields.nil?
4197
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4198
+ command.query['userIp'] = user_ip unless user_ip.nil?
4199
+ execute_or_queue_command(command, &block)
4200
+ end
4201
+
4202
+ # Patches the specified policy with the data included in the request.
4203
+ # @param [String] firewall_policy
4204
+ # Name of the firewall policy to update.
4205
+ # @param [Google::Apis::ComputeAlpha::FirewallPolicy] firewall_policy_object
4206
+ # @param [String] request_id
4207
+ # An optional request ID to identify requests. Specify a unique request ID so
4208
+ # that if you must retry your request, the server will know to ignore the
4209
+ # request if it has already been completed.
4210
+ # For example, consider a situation where you make an initial request and the
4211
+ # request times out. If you make the request again with the same request ID, the
4212
+ # server can check if original operation with the same request ID was received,
4213
+ # and if so, will ignore the second request. This prevents clients from
4214
+ # accidentally creating duplicate commitments.
4215
+ # The request ID must be a valid UUID with the exception that zero UUID is not
4216
+ # supported (00000000-0000-0000-0000-000000000000).
4217
+ # @param [String] fields
4218
+ # Selector specifying which fields to include in a partial response.
4219
+ # @param [String] quota_user
4220
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
4221
+ # characters.
4222
+ # @param [String] user_ip
4223
+ # Deprecated. Please use quotaUser instead.
4224
+ # @param [Google::Apis::RequestOptions] options
4225
+ # Request-specific options
4226
+ #
4227
+ # @yield [result, err] Result & error if block supplied
4228
+ # @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
4229
+ # @yieldparam err [StandardError] error object if request failed
4230
+ #
4231
+ # @return [Google::Apis::ComputeAlpha::Operation]
4232
+ #
4233
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4234
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4235
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4236
+ def patch_firewall_policy(firewall_policy, firewall_policy_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
4237
+ command = make_simple_command(:patch, 'locations/global/firewallPolicies/{firewallPolicy}', options)
4238
+ command.request_representation = Google::Apis::ComputeAlpha::FirewallPolicy::Representation
4239
+ command.request_object = firewall_policy_object
4240
+ command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
4241
+ command.response_class = Google::Apis::ComputeAlpha::Operation
4242
+ command.params['firewallPolicy'] = firewall_policy unless firewall_policy.nil?
4243
+ command.query['requestId'] = request_id unless request_id.nil?
4244
+ command.query['fields'] = fields unless fields.nil?
4245
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4246
+ command.query['userIp'] = user_ip unless user_ip.nil?
4247
+ execute_or_queue_command(command, &block)
4248
+ end
4249
+
4250
+ # Patches a rule of the specified priority.
4251
+ # @param [String] firewall_policy
4252
+ # Name of the firewall policy to update.
4253
+ # @param [Google::Apis::ComputeAlpha::FirewallPolicyRule] firewall_policy_rule_object
4254
+ # @param [Fixnum] priority
4255
+ # The priority of the rule to patch.
4256
+ # @param [String] request_id
4257
+ # An optional request ID to identify requests. Specify a unique request ID so
4258
+ # that if you must retry your request, the server will know to ignore the
4259
+ # request if it has already been completed.
4260
+ # For example, consider a situation where you make an initial request and the
4261
+ # request times out. If you make the request again with the same request ID, the
4262
+ # server can check if original operation with the same request ID was received,
4263
+ # and if so, will ignore the second request. This prevents clients from
4264
+ # accidentally creating duplicate commitments.
4265
+ # The request ID must be a valid UUID with the exception that zero UUID is not
4266
+ # supported (00000000-0000-0000-0000-000000000000).
4267
+ # @param [String] fields
4268
+ # Selector specifying which fields to include in a partial response.
4269
+ # @param [String] quota_user
4270
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
4271
+ # characters.
4272
+ # @param [String] user_ip
4273
+ # Deprecated. Please use quotaUser instead.
4274
+ # @param [Google::Apis::RequestOptions] options
4275
+ # Request-specific options
4276
+ #
4277
+ # @yield [result, err] Result & error if block supplied
4278
+ # @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
4279
+ # @yieldparam err [StandardError] error object if request failed
4280
+ #
4281
+ # @return [Google::Apis::ComputeAlpha::Operation]
4282
+ #
4283
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4284
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4285
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4286
+ def patch_firewall_policy_rule(firewall_policy, firewall_policy_rule_object = nil, priority: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
4287
+ command = make_simple_command(:post, 'locations/global/firewallPolicies/{firewallPolicy}/patchRule', options)
4288
+ command.request_representation = Google::Apis::ComputeAlpha::FirewallPolicyRule::Representation
4289
+ command.request_object = firewall_policy_rule_object
4290
+ command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
4291
+ command.response_class = Google::Apis::ComputeAlpha::Operation
4292
+ command.params['firewallPolicy'] = firewall_policy unless firewall_policy.nil?
4293
+ command.query['priority'] = priority unless priority.nil?
4294
+ command.query['requestId'] = request_id unless request_id.nil?
4295
+ command.query['fields'] = fields unless fields.nil?
4296
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4297
+ command.query['userIp'] = user_ip unless user_ip.nil?
4298
+ execute_or_queue_command(command, &block)
4299
+ end
4300
+
4301
+ # Removes an association for the specified firewall policy.
4302
+ # @param [String] firewall_policy
4303
+ # Name of the firewall policy to update.
4304
+ # @param [String] name
4305
+ # Name for the attachment that will be removed.
4306
+ # @param [String] request_id
4307
+ # An optional request ID to identify requests. Specify a unique request ID so
4308
+ # that if you must retry your request, the server will know to ignore the
4309
+ # request if it has already been completed.
4310
+ # For example, consider a situation where you make an initial request and the
4311
+ # request times out. If you make the request again with the same request ID, the
4312
+ # server can check if original operation with the same request ID was received,
4313
+ # and if so, will ignore the second request. This prevents clients from
4314
+ # accidentally creating duplicate commitments.
4315
+ # The request ID must be a valid UUID with the exception that zero UUID is not
4316
+ # supported (00000000-0000-0000-0000-000000000000).
4317
+ # @param [String] fields
4318
+ # Selector specifying which fields to include in a partial response.
4319
+ # @param [String] quota_user
4320
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
4321
+ # characters.
4322
+ # @param [String] user_ip
4323
+ # Deprecated. Please use quotaUser instead.
4324
+ # @param [Google::Apis::RequestOptions] options
4325
+ # Request-specific options
4326
+ #
4327
+ # @yield [result, err] Result & error if block supplied
4328
+ # @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
4329
+ # @yieldparam err [StandardError] error object if request failed
4330
+ #
4331
+ # @return [Google::Apis::ComputeAlpha::Operation]
4332
+ #
4333
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4334
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4335
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4336
+ def remove_firewall_policy_association(firewall_policy, name: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
4337
+ command = make_simple_command(:post, 'locations/global/firewallPolicies/{firewallPolicy}/removeAssociation', options)
4338
+ command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
4339
+ command.response_class = Google::Apis::ComputeAlpha::Operation
4340
+ command.params['firewallPolicy'] = firewall_policy unless firewall_policy.nil?
4341
+ command.query['name'] = name unless name.nil?
4342
+ command.query['requestId'] = request_id unless request_id.nil?
4343
+ command.query['fields'] = fields unless fields.nil?
4344
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4345
+ command.query['userIp'] = user_ip unless user_ip.nil?
4346
+ execute_or_queue_command(command, &block)
4347
+ end
4348
+
4349
+ # Deletes a rule of the specified priority.
4350
+ # @param [String] firewall_policy
4351
+ # Name of the firewall policy to update.
4352
+ # @param [Fixnum] priority
4353
+ # The priority of the rule to remove from the firewall policy.
4354
+ # @param [String] request_id
4355
+ # An optional request ID to identify requests. Specify a unique request ID so
4356
+ # that if you must retry your request, the server will know to ignore the
4357
+ # request if it has already been completed.
4358
+ # For example, consider a situation where you make an initial request and the
4359
+ # request times out. If you make the request again with the same request ID, the
4360
+ # server can check if original operation with the same request ID was received,
4361
+ # and if so, will ignore the second request. This prevents clients from
4362
+ # accidentally creating duplicate commitments.
4363
+ # The request ID must be a valid UUID with the exception that zero UUID is not
4364
+ # supported (00000000-0000-0000-0000-000000000000).
4365
+ # @param [String] fields
4366
+ # Selector specifying which fields to include in a partial response.
4367
+ # @param [String] quota_user
4368
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
4369
+ # characters.
4370
+ # @param [String] user_ip
4371
+ # Deprecated. Please use quotaUser instead.
4372
+ # @param [Google::Apis::RequestOptions] options
4373
+ # Request-specific options
4374
+ #
4375
+ # @yield [result, err] Result & error if block supplied
4376
+ # @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
4377
+ # @yieldparam err [StandardError] error object if request failed
4378
+ #
4379
+ # @return [Google::Apis::ComputeAlpha::Operation]
4380
+ #
4381
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4382
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4383
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4384
+ def remove_firewall_policy_rule(firewall_policy, priority: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
4385
+ command = make_simple_command(:post, 'locations/global/firewallPolicies/{firewallPolicy}/removeRule', options)
4386
+ command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
4387
+ command.response_class = Google::Apis::ComputeAlpha::Operation
4388
+ command.params['firewallPolicy'] = firewall_policy unless firewall_policy.nil?
4389
+ command.query['priority'] = priority unless priority.nil?
4390
+ command.query['requestId'] = request_id unless request_id.nil?
4391
+ command.query['fields'] = fields unless fields.nil?
4392
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4393
+ command.query['userIp'] = user_ip unless user_ip.nil?
4394
+ execute_or_queue_command(command, &block)
4395
+ end
4396
+
4397
+ # Sets the access control policy on the specified resource. Replaces any
4398
+ # existing policy.
4399
+ # @param [String] resource
4400
+ # Name or id of the resource for this request.
4401
+ # @param [Google::Apis::ComputeAlpha::GlobalOrganizationSetPolicyRequest] global_organization_set_policy_request_object
4402
+ # @param [String] fields
4403
+ # Selector specifying which fields to include in a partial response.
4404
+ # @param [String] quota_user
4405
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
4406
+ # characters.
4407
+ # @param [String] user_ip
4408
+ # Deprecated. Please use quotaUser instead.
4409
+ # @param [Google::Apis::RequestOptions] options
4410
+ # Request-specific options
4411
+ #
4412
+ # @yield [result, err] Result & error if block supplied
4413
+ # @yieldparam result [Google::Apis::ComputeAlpha::Policy] parsed result object
4414
+ # @yieldparam err [StandardError] error object if request failed
4415
+ #
4416
+ # @return [Google::Apis::ComputeAlpha::Policy]
4417
+ #
4418
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4419
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4420
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4421
+ def set_firewall_policy_iam_policy(resource, global_organization_set_policy_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
4422
+ command = make_simple_command(:post, 'locations/global/firewallPolicies/{resource}/setIamPolicy', options)
4423
+ command.request_representation = Google::Apis::ComputeAlpha::GlobalOrganizationSetPolicyRequest::Representation
4424
+ command.request_object = global_organization_set_policy_request_object
4425
+ command.response_representation = Google::Apis::ComputeAlpha::Policy::Representation
4426
+ command.response_class = Google::Apis::ComputeAlpha::Policy
4427
+ command.params['resource'] = resource unless resource.nil?
4428
+ command.query['fields'] = fields unless fields.nil?
4429
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4430
+ command.query['userIp'] = user_ip unless user_ip.nil?
4431
+ execute_or_queue_command(command, &block)
4432
+ end
4433
+
4434
+ # Returns permissions that a caller has on the specified resource.
4435
+ # @param [String] resource
4436
+ # Name or id of the resource for this request.
4437
+ # @param [Google::Apis::ComputeAlpha::TestPermissionsRequest] test_permissions_request_object
4438
+ # @param [String] fields
4439
+ # Selector specifying which fields to include in a partial response.
4440
+ # @param [String] quota_user
4441
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
4442
+ # characters.
4443
+ # @param [String] user_ip
4444
+ # Deprecated. Please use quotaUser instead.
4445
+ # @param [Google::Apis::RequestOptions] options
4446
+ # Request-specific options
4447
+ #
4448
+ # @yield [result, err] Result & error if block supplied
4449
+ # @yieldparam result [Google::Apis::ComputeAlpha::TestPermissionsResponse] parsed result object
4450
+ # @yieldparam err [StandardError] error object if request failed
4451
+ #
4452
+ # @return [Google::Apis::ComputeAlpha::TestPermissionsResponse]
4453
+ #
4454
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4455
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4456
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4457
+ def test_firewall_policy_iam_permissions(resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
4458
+ command = make_simple_command(:post, 'locations/global/firewallPolicies/{resource}/testIamPermissions', options)
4459
+ command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation
4460
+ command.request_object = test_permissions_request_object
4461
+ command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation
4462
+ command.response_class = Google::Apis::ComputeAlpha::TestPermissionsResponse
4463
+ command.params['resource'] = resource unless resource.nil?
4464
+ command.query['fields'] = fields unless fields.nil?
4465
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4466
+ command.query['userIp'] = user_ip unless user_ip.nil?
4467
+ execute_or_queue_command(command, &block)
4468
+ end
4469
+
3658
4470
  # Deletes the specified firewall.
3659
4471
  # @param [String] project
3660
4472
  # Project ID for this request.
@@ -3827,7 +4639,7 @@ module Google
3827
4639
  # by a previous list request to get the next page of results.
3828
4640
  # @param [Boolean] return_partial_success
3829
4641
  # Opt-in for partial success behavior which provides partial results in case of
3830
- # failure. The default value is false and the logic is the same as today.
4642
+ # failure. The default value is false.
3831
4643
  # @param [String] fields
3832
4644
  # Selector specifying which fields to include in a partial response.
3833
4645
  # @param [String] quota_user
@@ -4054,7 +4866,7 @@ module Google
4054
4866
  # by a previous list request to get the next page of results.
4055
4867
  # @param [Boolean] return_partial_success
4056
4868
  # Opt-in for partial success behavior which provides partial results in case of
4057
- # failure. The default value is false and the logic is the same as today.
4869
+ # failure. The default value is false.
4058
4870
  # @param [String] fields
4059
4871
  # Selector specifying which fields to include in a partial response.
4060
4872
  # @param [String] quota_user
@@ -4275,7 +5087,7 @@ module Google
4275
5087
  # by a previous list request to get the next page of results.
4276
5088
  # @param [Boolean] return_partial_success
4277
5089
  # Opt-in for partial success behavior which provides partial results in case of
4278
- # failure. The default value is false and the logic is the same as today.
5090
+ # failure. The default value is false.
4279
5091
  # @param [String] fields
4280
5092
  # Selector specifying which fields to include in a partial response.
4281
5093
  # @param [String] quota_user
@@ -4730,7 +5542,7 @@ module Google
4730
5542
  # by a previous list request to get the next page of results.
4731
5543
  # @param [Boolean] return_partial_success
4732
5544
  # Opt-in for partial success behavior which provides partial results in case of
4733
- # failure. The default value is false and the logic is the same as today.
5545
+ # failure. The default value is false.
4734
5546
  # @param [String] fields
4735
5547
  # Selector specifying which fields to include in a partial response.
4736
5548
  # @param [String] quota_user
@@ -5019,7 +5831,7 @@ module Google
5019
5831
  # by a previous list request to get the next page of results.
5020
5832
  # @param [Boolean] return_partial_success
5021
5833
  # Opt-in for partial success behavior which provides partial results in case of
5022
- # failure. The default value is false and the logic is the same as today.
5834
+ # failure. The default value is false.
5023
5835
  # @param [String] fields
5024
5836
  # Selector specifying which fields to include in a partial response.
5025
5837
  # @param [String] quota_user
@@ -5519,7 +6331,7 @@ module Google
5519
6331
  # by a previous list request to get the next page of results.
5520
6332
  # @param [Boolean] return_partial_success
5521
6333
  # Opt-in for partial success behavior which provides partial results in case of
5522
- # failure. The default value is false and the logic is the same as today.
6334
+ # failure. The default value is false.
5523
6335
  # @param [String] fields
5524
6336
  # Selector specifying which fields to include in a partial response.
5525
6337
  # @param [String] quota_user
@@ -5597,7 +6409,7 @@ module Google
5597
6409
  # by a previous list request to get the next page of results.
5598
6410
  # @param [Boolean] return_partial_success
5599
6411
  # Opt-in for partial success behavior which provides partial results in case of
5600
- # failure. The default value is false and the logic is the same as today.
6412
+ # failure. The default value is false.
5601
6413
  # @param [String] fields
5602
6414
  # Selector specifying which fields to include in a partial response.
5603
6415
  # @param [String] quota_user
@@ -5680,7 +6492,7 @@ module Google
5680
6492
  # by a previous list request to get the next page of results.
5681
6493
  # @param [Boolean] return_partial_success
5682
6494
  # Opt-in for partial success behavior which provides partial results in case of
5683
- # failure. The default value is false and the logic is the same as today.
6495
+ # failure. The default value is false.
5684
6496
  # @param [String] fields
5685
6497
  # Selector specifying which fields to include in a partial response.
5686
6498
  # @param [String] quota_user
@@ -5827,7 +6639,7 @@ module Google
5827
6639
  # by a previous list request to get the next page of results.
5828
6640
  # @param [Boolean] return_partial_success
5829
6641
  # Opt-in for partial success behavior which provides partial results in case of
5830
- # failure. The default value is false and the logic is the same as today.
6642
+ # failure. The default value is false.
5831
6643
  # @param [String] fields
5832
6644
  # Selector specifying which fields to include in a partial response.
5833
6645
  # @param [String] quota_user
@@ -6020,7 +6832,7 @@ module Google
6020
6832
  # Parent ID for this request.
6021
6833
  # @param [Boolean] return_partial_success
6022
6834
  # Opt-in for partial success behavior which provides partial results in case of
6023
- # failure. The default value is false and the logic is the same as today.
6835
+ # failure. The default value is false.
6024
6836
  # @param [String] fields
6025
6837
  # Selector specifying which fields to include in a partial response.
6026
6838
  # @param [String] quota_user
@@ -6228,7 +7040,7 @@ module Google
6228
7040
  # by a previous list request to get the next page of results.
6229
7041
  # @param [Boolean] return_partial_success
6230
7042
  # Opt-in for partial success behavior which provides partial results in case of
6231
- # failure. The default value is false and the logic is the same as today.
7043
+ # failure. The default value is false.
6232
7044
  # @param [String] fields
6233
7045
  # Selector specifying which fields to include in a partial response.
6234
7046
  # @param [String] quota_user
@@ -6364,7 +7176,7 @@ module Google
6364
7176
  # by a previous list request to get the next page of results.
6365
7177
  # @param [Boolean] return_partial_success
6366
7178
  # Opt-in for partial success behavior which provides partial results in case of
6367
- # failure. The default value is false and the logic is the same as today.
7179
+ # failure. The default value is false.
6368
7180
  # @param [String] fields
6369
7181
  # Selector specifying which fields to include in a partial response.
6370
7182
  # @param [String] quota_user
@@ -6574,7 +7386,7 @@ module Google
6574
7386
  # by a previous list request to get the next page of results.
6575
7387
  # @param [Boolean] return_partial_success
6576
7388
  # Opt-in for partial success behavior which provides partial results in case of
6577
- # failure. The default value is false and the logic is the same as today.
7389
+ # failure. The default value is false.
6578
7390
  # @param [String] fields
6579
7391
  # Selector specifying which fields to include in a partial response.
6580
7392
  # @param [String] quota_user
@@ -6928,7 +7740,7 @@ module Google
6928
7740
  # by a previous list request to get the next page of results.
6929
7741
  # @param [Boolean] return_partial_success
6930
7742
  # Opt-in for partial success behavior which provides partial results in case of
6931
- # failure. The default value is false and the logic is the same as today.
7743
+ # failure. The default value is false.
6932
7744
  # @param [String] fields
6933
7745
  # Selector specifying which fields to include in a partial response.
6934
7746
  # @param [String] quota_user
@@ -7282,7 +8094,7 @@ module Google
7282
8094
  # by a previous list request to get the next page of results.
7283
8095
  # @param [Boolean] return_partial_success
7284
8096
  # Opt-in for partial success behavior which provides partial results in case of
7285
- # failure. The default value is false and the logic is the same as today.
8097
+ # failure. The default value is false.
7286
8098
  # @param [String] fields
7287
8099
  # Selector specifying which fields to include in a partial response.
7288
8100
  # @param [String] quota_user
@@ -7462,6 +8274,46 @@ module Google
7462
8274
  execute_or_queue_command(command, &block)
7463
8275
  end
7464
8276
 
8277
+ # Returns the latest image that is part of an image family, is not deprecated
8278
+ # and is rolled out in the specified zone.
8279
+ # @param [String] project
8280
+ # Project ID for this request.
8281
+ # @param [String] zone
8282
+ # The name of the zone for this request.
8283
+ # @param [String] family
8284
+ # Name of the image family to search for.
8285
+ # @param [String] fields
8286
+ # Selector specifying which fields to include in a partial response.
8287
+ # @param [String] quota_user
8288
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
8289
+ # characters.
8290
+ # @param [String] user_ip
8291
+ # Deprecated. Please use quotaUser instead.
8292
+ # @param [Google::Apis::RequestOptions] options
8293
+ # Request-specific options
8294
+ #
8295
+ # @yield [result, err] Result & error if block supplied
8296
+ # @yieldparam result [Google::Apis::ComputeAlpha::ImageFamilyView] parsed result object
8297
+ # @yieldparam err [StandardError] error object if request failed
8298
+ #
8299
+ # @return [Google::Apis::ComputeAlpha::ImageFamilyView]
8300
+ #
8301
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
8302
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
8303
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
8304
+ def get_image_family_view(project, zone, family, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
8305
+ command = make_simple_command(:get, 'projects/{project}/zones/{zone}/imageFamilyViews/{family}', options)
8306
+ command.response_representation = Google::Apis::ComputeAlpha::ImageFamilyView::Representation
8307
+ command.response_class = Google::Apis::ComputeAlpha::ImageFamilyView
8308
+ command.params['project'] = project unless project.nil?
8309
+ command.params['zone'] = zone unless zone.nil?
8310
+ command.params['family'] = family unless family.nil?
8311
+ command.query['fields'] = fields unless fields.nil?
8312
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
8313
+ command.query['userIp'] = user_ip unless user_ip.nil?
8314
+ execute_or_queue_command(command, &block)
8315
+ end
8316
+
7465
8317
  # Deletes the specified image.
7466
8318
  # @param [String] project
7467
8319
  # Project ID for this request.
@@ -7771,7 +8623,9 @@ module Google
7771
8623
  # by a previous list request to get the next page of results.
7772
8624
  # @param [Boolean] return_partial_success
7773
8625
  # Opt-in for partial success behavior which provides partial results in case of
7774
- # failure. The default value is false and the logic is the same as today.
8626
+ # failure. The default value is false.
8627
+ # @param [String] zone
8628
+ # The zone query parameter.
7775
8629
  # @param [String] fields
7776
8630
  # Selector specifying which fields to include in a partial response.
7777
8631
  # @param [String] quota_user
@@ -7791,7 +8645,7 @@ module Google
7791
8645
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
7792
8646
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
7793
8647
  # @raise [Google::Apis::AuthorizationError] Authorization is required
7794
- def list_images(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
8648
+ def list_images(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, zone: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
7795
8649
  command = make_simple_command(:get, 'projects/{project}/global/images', options)
7796
8650
  command.response_representation = Google::Apis::ComputeAlpha::ImageList::Representation
7797
8651
  command.response_class = Google::Apis::ComputeAlpha::ImageList
@@ -7801,6 +8655,7 @@ module Google
7801
8655
  command.query['orderBy'] = order_by unless order_by.nil?
7802
8656
  command.query['pageToken'] = page_token unless page_token.nil?
7803
8657
  command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
8658
+ command.query['zone'] = zone unless zone.nil?
7804
8659
  command.query['fields'] = fields unless fields.nil?
7805
8660
  command.query['quotaUser'] = quota_user unless quota_user.nil?
7806
8661
  command.query['userIp'] = user_ip unless user_ip.nil?
@@ -8089,7 +8944,7 @@ module Google
8089
8944
  # by a previous list request to get the next page of results.
8090
8945
  # @param [Boolean] return_partial_success
8091
8946
  # Opt-in for partial success behavior which provides partial results in case of
8092
- # failure. The default value is false and the logic is the same as today.
8947
+ # failure. The default value is false.
8093
8948
  # @param [String] fields
8094
8949
  # Selector specifying which fields to include in a partial response.
8095
8950
  # @param [String] quota_user
@@ -8529,7 +9384,7 @@ module Google
8529
9384
  # by a previous list request to get the next page of results.
8530
9385
  # @param [Boolean] return_partial_success
8531
9386
  # Opt-in for partial success behavior which provides partial results in case of
8532
- # failure. The default value is false and the logic is the same as today.
9387
+ # failure. The default value is false.
8533
9388
  # @param [String] fields
8534
9389
  # Selector specifying which fields to include in a partial response.
8535
9390
  # @param [String] quota_user
@@ -8613,7 +9468,7 @@ module Google
8613
9468
  # by a previous list request to get the next page of results.
8614
9469
  # @param [Boolean] return_partial_success
8615
9470
  # Opt-in for partial success behavior which provides partial results in case of
8616
- # failure. The default value is false and the logic is the same as today.
9471
+ # failure. The default value is false.
8617
9472
  # @param [String] fields
8618
9473
  # Selector specifying which fields to include in a partial response.
8619
9474
  # @param [String] quota_user
@@ -8699,7 +9554,7 @@ module Google
8699
9554
  # by a previous list request to get the next page of results.
8700
9555
  # @param [Boolean] return_partial_success
8701
9556
  # Opt-in for partial success behavior which provides partial results in case of
8702
- # failure. The default value is false and the logic is the same as today.
9557
+ # failure. The default value is false.
8703
9558
  # @param [String] fields
8704
9559
  # Selector specifying which fields to include in a partial response.
8705
9560
  # @param [String] quota_user
@@ -8782,7 +9637,7 @@ module Google
8782
9637
  # by a previous list request to get the next page of results.
8783
9638
  # @param [Boolean] return_partial_success
8784
9639
  # Opt-in for partial success behavior which provides partial results in case of
8785
- # failure. The default value is false and the logic is the same as today.
9640
+ # failure. The default value is false.
8786
9641
  # @param [String] fields
8787
9642
  # Selector specifying which fields to include in a partial response.
8788
9643
  # @param [String] quota_user
@@ -9566,7 +10421,7 @@ module Google
9566
10421
  # by a previous list request to get the next page of results.
9567
10422
  # @param [Boolean] return_partial_success
9568
10423
  # Opt-in for partial success behavior which provides partial results in case of
9569
- # failure. The default value is false and the logic is the same as today.
10424
+ # failure. The default value is false.
9570
10425
  # @param [String] fields
9571
10426
  # Selector specifying which fields to include in a partial response.
9572
10427
  # @param [String] quota_user
@@ -9794,7 +10649,7 @@ module Google
9794
10649
  # by a previous list request to get the next page of results.
9795
10650
  # @param [Boolean] return_partial_success
9796
10651
  # Opt-in for partial success behavior which provides partial results in case of
9797
- # failure. The default value is false and the logic is the same as today.
10652
+ # failure. The default value is false.
9798
10653
  # @param [String] fields
9799
10654
  # Selector specifying which fields to include in a partial response.
9800
10655
  # @param [String] quota_user
@@ -9877,7 +10732,7 @@ module Google
9877
10732
  # by a previous list request to get the next page of results.
9878
10733
  # @param [Boolean] return_partial_success
9879
10734
  # Opt-in for partial success behavior which provides partial results in case of
9880
- # failure. The default value is false and the logic is the same as today.
10735
+ # failure. The default value is false.
9881
10736
  # @param [String] fields
9882
10737
  # Selector specifying which fields to include in a partial response.
9883
10738
  # @param [String] quota_user
@@ -10289,7 +11144,7 @@ module Google
10289
11144
  # by a previous list request to get the next page of results.
10290
11145
  # @param [Boolean] return_partial_success
10291
11146
  # Opt-in for partial success behavior which provides partial results in case of
10292
- # failure. The default value is false and the logic is the same as today.
11147
+ # failure. The default value is false.
10293
11148
  # @param [String] fields
10294
11149
  # Selector specifying which fields to include in a partial response.
10295
11150
  # @param [String] quota_user
@@ -10564,7 +11419,7 @@ module Google
10564
11419
  # by a previous list request to get the next page of results.
10565
11420
  # @param [Boolean] return_partial_success
10566
11421
  # Opt-in for partial success behavior which provides partial results in case of
10567
- # failure. The default value is false and the logic is the same as today.
11422
+ # failure. The default value is false.
10568
11423
  # @param [String] fields
10569
11424
  # Selector specifying which fields to include in a partial response.
10570
11425
  # @param [String] quota_user
@@ -11332,7 +12187,7 @@ module Google
11332
12187
  # by a previous list request to get the next page of results.
11333
12188
  # @param [Boolean] return_partial_success
11334
12189
  # Opt-in for partial success behavior which provides partial results in case of
11335
- # failure. The default value is false and the logic is the same as today.
12190
+ # failure. The default value is false.
11336
12191
  # @param [String] fields
11337
12192
  # Selector specifying which fields to include in a partial response.
11338
12193
  # @param [String] quota_user
@@ -11416,7 +12271,7 @@ module Google
11416
12271
  # by a previous list request to get the next page of results.
11417
12272
  # @param [Boolean] return_partial_success
11418
12273
  # Opt-in for partial success behavior which provides partial results in case of
11419
- # failure. The default value is false and the logic is the same as today.
12274
+ # failure. The default value is false.
11420
12275
  # @param [String] fields
11421
12276
  # Selector specifying which fields to include in a partial response.
11422
12277
  # @param [String] quota_user
@@ -12865,7 +13720,11 @@ module Google
12865
13720
  execute_or_queue_command(command, &block)
12866
13721
  end
12867
13722
 
12868
- # Updates an instance's network interface. This method follows PATCH semantics.
13723
+ # Updates an instance's network interface. This method can only update an
13724
+ # interface's alias IP range and attached network. See Modifying alias IP ranges
13725
+ # for an existing instance for instructions on changing alias IP ranges. See
13726
+ # Migrating a VM between networks for instructions on migrating an interface.
13727
+ # This method follows PATCH semantics.
12869
13728
  # @param [String] project
12870
13729
  # Project ID for this request.
12871
13730
  # @param [String] zone
@@ -13080,7 +13939,7 @@ module Google
13080
13939
  # by a previous list request to get the next page of results.
13081
13940
  # @param [Boolean] return_partial_success
13082
13941
  # Opt-in for partial success behavior which provides partial results in case of
13083
- # failure. The default value is false and the logic is the same as today.
13942
+ # failure. The default value is false.
13084
13943
  # @param [String] fields
13085
13944
  # Selector specifying which fields to include in a partial response.
13086
13945
  # @param [String] quota_user
@@ -13347,7 +14206,7 @@ module Google
13347
14206
  # by a previous list request to get the next page of results.
13348
14207
  # @param [Boolean] return_partial_success
13349
14208
  # Opt-in for partial success behavior which provides partial results in case of
13350
- # failure. The default value is false and the logic is the same as today.
14209
+ # failure. The default value is false.
13351
14210
  # @param [String] fields
13352
14211
  # Selector specifying which fields to include in a partial response.
13353
14212
  # @param [String] quota_user
@@ -13657,7 +14516,7 @@ module Google
13657
14516
  # by a previous list request to get the next page of results.
13658
14517
  # @param [Boolean] return_partial_success
13659
14518
  # Opt-in for partial success behavior which provides partial results in case of
13660
- # failure. The default value is false and the logic is the same as today.
14519
+ # failure. The default value is false.
13661
14520
  # @param [String] fields
13662
14521
  # Selector specifying which fields to include in a partial response.
13663
14522
  # @param [String] quota_user
@@ -13981,7 +14840,7 @@ module Google
13981
14840
  # by a previous list request to get the next page of results.
13982
14841
  # @param [Boolean] return_partial_success
13983
14842
  # Opt-in for partial success behavior which provides partial results in case of
13984
- # failure. The default value is false and the logic is the same as today.
14843
+ # failure. The default value is false.
13985
14844
  # @param [String] fields
13986
14845
  # Selector specifying which fields to include in a partial response.
13987
14846
  # @param [String] quota_user
@@ -14573,7 +15432,7 @@ module Google
14573
15432
  # by a previous list request to get the next page of results.
14574
15433
  # @param [Boolean] return_partial_success
14575
15434
  # Opt-in for partial success behavior which provides partial results in case of
14576
- # failure. The default value is false and the logic is the same as today.
15435
+ # failure. The default value is false.
14577
15436
  # @param [String] fields
14578
15437
  # Selector specifying which fields to include in a partial response.
14579
15438
  # @param [String] quota_user
@@ -14911,7 +15770,7 @@ module Google
14911
15770
  # by a previous list request to get the next page of results.
14912
15771
  # @param [Boolean] return_partial_success
14913
15772
  # Opt-in for partial success behavior which provides partial results in case of
14914
- # failure. The default value is false and the logic is the same as today.
15773
+ # failure. The default value is false.
14915
15774
  # @param [String] fields
14916
15775
  # Selector specifying which fields to include in a partial response.
14917
15776
  # @param [String] quota_user
@@ -15072,7 +15931,7 @@ module Google
15072
15931
  # by a previous list request to get the next page of results.
15073
15932
  # @param [Boolean] return_partial_success
15074
15933
  # Opt-in for partial success behavior which provides partial results in case of
15075
- # failure. The default value is false and the logic is the same as today.
15934
+ # failure. The default value is false.
15076
15935
  # @param [String] fields
15077
15936
  # Selector specifying which fields to include in a partial response.
15078
15937
  # @param [String] quota_user
@@ -15190,7 +16049,7 @@ module Google
15190
16049
  # by a previous list request to get the next page of results.
15191
16050
  # @param [Boolean] return_partial_success
15192
16051
  # Opt-in for partial success behavior which provides partial results in case of
15193
- # failure. The default value is false and the logic is the same as today.
16052
+ # failure. The default value is false.
15194
16053
  # @param [String] fields
15195
16054
  # Selector specifying which fields to include in a partial response.
15196
16055
  # @param [String] quota_user
@@ -15273,7 +16132,7 @@ module Google
15273
16132
  # by a previous list request to get the next page of results.
15274
16133
  # @param [Boolean] return_partial_success
15275
16134
  # Opt-in for partial success behavior which provides partial results in case of
15276
- # failure. The default value is false and the logic is the same as today.
16135
+ # failure. The default value is false.
15277
16136
  # @param [String] fields
15278
16137
  # Selector specifying which fields to include in a partial response.
15279
16138
  # @param [String] quota_user
@@ -15557,14 +16416,278 @@ module Google
15557
16416
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
15558
16417
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
15559
16418
  # @raise [Google::Apis::AuthorizationError] Authorization is required
15560
- def insert_network_endpoint_group(project, zone, network_endpoint_group_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
15561
- command = make_simple_command(:post, 'projects/{project}/zones/{zone}/networkEndpointGroups', options)
15562
- command.request_representation = Google::Apis::ComputeAlpha::NetworkEndpointGroup::Representation
15563
- command.request_object = network_endpoint_group_object
16419
+ def insert_network_endpoint_group(project, zone, network_endpoint_group_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
16420
+ command = make_simple_command(:post, 'projects/{project}/zones/{zone}/networkEndpointGroups', options)
16421
+ command.request_representation = Google::Apis::ComputeAlpha::NetworkEndpointGroup::Representation
16422
+ command.request_object = network_endpoint_group_object
16423
+ command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
16424
+ command.response_class = Google::Apis::ComputeAlpha::Operation
16425
+ command.params['project'] = project unless project.nil?
16426
+ command.params['zone'] = zone unless zone.nil?
16427
+ command.query['requestId'] = request_id unless request_id.nil?
16428
+ command.query['fields'] = fields unless fields.nil?
16429
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
16430
+ command.query['userIp'] = user_ip unless user_ip.nil?
16431
+ execute_or_queue_command(command, &block)
16432
+ end
16433
+
16434
+ # Retrieves the list of network endpoint groups that are located in the
16435
+ # specified project and zone.
16436
+ # @param [String] project
16437
+ # Project ID for this request.
16438
+ # @param [String] zone
16439
+ # The name of the zone where the network endpoint group is located. It should
16440
+ # comply with RFC1035.
16441
+ # @param [String] filter
16442
+ # A filter expression that filters resources listed in the response. The
16443
+ # expression must specify the field name, a comparison operator, and the value
16444
+ # that you want to use for filtering. The value must be a string, a number, or a
16445
+ # boolean. The comparison operator must be either `=`, `!=`, `>`, or `<`.
16446
+ # For example, if you are filtering Compute Engine instances, you can exclude
16447
+ # instances named `example-instance` by specifying `name != example-instance`.
16448
+ # You can also filter nested fields. For example, you could specify `scheduling.
16449
+ # automaticRestart = false` to include instances only if they are not scheduled
16450
+ # for automatic restarts. You can use filtering on nested fields to filter based
16451
+ # on resource labels.
16452
+ # To filter on multiple expressions, provide each separate expression within
16453
+ # parentheses. For example: ``` (scheduling.automaticRestart = true) (
16454
+ # cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND`
16455
+ # expression. However, you can include `AND` and `OR` expressions explicitly.
16456
+ # For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel
16457
+ # Broadwell") AND (scheduling.automaticRestart = true) ```
16458
+ # @param [Fixnum] max_results
16459
+ # The maximum number of results per page that should be returned. If the number
16460
+ # of available results is larger than `maxResults`, Compute Engine returns a `
16461
+ # nextPageToken` that can be used to get the next page of results in subsequent
16462
+ # list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
16463
+ # @param [String] order_by
16464
+ # Sorts list results by a certain order. By default, results are returned in
16465
+ # alphanumerical order based on the resource name.
16466
+ # You can also sort results in descending order based on the creation timestamp
16467
+ # using `orderBy="creationTimestamp desc"`. This sorts results based on the `
16468
+ # creationTimestamp` field in reverse chronological order (newest result first).
16469
+ # Use this to sort resources like operations so that the newest operation is
16470
+ # returned first.
16471
+ # Currently, only sorting by `name` or `creationTimestamp desc` is supported.
16472
+ # @param [String] page_token
16473
+ # Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
16474
+ # by a previous list request to get the next page of results.
16475
+ # @param [Boolean] return_partial_success
16476
+ # Opt-in for partial success behavior which provides partial results in case of
16477
+ # failure. The default value is false.
16478
+ # @param [String] fields
16479
+ # Selector specifying which fields to include in a partial response.
16480
+ # @param [String] quota_user
16481
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
16482
+ # characters.
16483
+ # @param [String] user_ip
16484
+ # Deprecated. Please use quotaUser instead.
16485
+ # @param [Google::Apis::RequestOptions] options
16486
+ # Request-specific options
16487
+ #
16488
+ # @yield [result, err] Result & error if block supplied
16489
+ # @yieldparam result [Google::Apis::ComputeAlpha::NetworkEndpointGroupList] parsed result object
16490
+ # @yieldparam err [StandardError] error object if request failed
16491
+ #
16492
+ # @return [Google::Apis::ComputeAlpha::NetworkEndpointGroupList]
16493
+ #
16494
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
16495
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
16496
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
16497
+ def list_network_endpoint_groups(project, zone, 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)
16498
+ command = make_simple_command(:get, 'projects/{project}/zones/{zone}/networkEndpointGroups', options)
16499
+ command.response_representation = Google::Apis::ComputeAlpha::NetworkEndpointGroupList::Representation
16500
+ command.response_class = Google::Apis::ComputeAlpha::NetworkEndpointGroupList
16501
+ command.params['project'] = project unless project.nil?
16502
+ command.params['zone'] = zone unless zone.nil?
16503
+ command.query['filter'] = filter unless filter.nil?
16504
+ command.query['maxResults'] = max_results unless max_results.nil?
16505
+ command.query['orderBy'] = order_by unless order_by.nil?
16506
+ command.query['pageToken'] = page_token unless page_token.nil?
16507
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
16508
+ command.query['fields'] = fields unless fields.nil?
16509
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
16510
+ command.query['userIp'] = user_ip unless user_ip.nil?
16511
+ execute_or_queue_command(command, &block)
16512
+ end
16513
+
16514
+ # Lists the network endpoints in the specified network endpoint group.
16515
+ # @param [String] project
16516
+ # Project ID for this request.
16517
+ # @param [String] zone
16518
+ # The name of the zone where the network endpoint group is located. It should
16519
+ # comply with RFC1035.
16520
+ # @param [String] network_endpoint_group
16521
+ # The name of the network endpoint group from which you want to generate a list
16522
+ # of included network endpoints. It should comply with RFC1035.
16523
+ # @param [Google::Apis::ComputeAlpha::NetworkEndpointGroupsListEndpointsRequest] network_endpoint_groups_list_endpoints_request_object
16524
+ # @param [String] filter
16525
+ # A filter expression that filters resources listed in the response. The
16526
+ # expression must specify the field name, a comparison operator, and the value
16527
+ # that you want to use for filtering. The value must be a string, a number, or a
16528
+ # boolean. The comparison operator must be either `=`, `!=`, `>`, or `<`.
16529
+ # For example, if you are filtering Compute Engine instances, you can exclude
16530
+ # instances named `example-instance` by specifying `name != example-instance`.
16531
+ # You can also filter nested fields. For example, you could specify `scheduling.
16532
+ # automaticRestart = false` to include instances only if they are not scheduled
16533
+ # for automatic restarts. You can use filtering on nested fields to filter based
16534
+ # on resource labels.
16535
+ # To filter on multiple expressions, provide each separate expression within
16536
+ # parentheses. For example: ``` (scheduling.automaticRestart = true) (
16537
+ # cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND`
16538
+ # expression. However, you can include `AND` and `OR` expressions explicitly.
16539
+ # For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel
16540
+ # Broadwell") AND (scheduling.automaticRestart = true) ```
16541
+ # @param [Fixnum] max_results
16542
+ # The maximum number of results per page that should be returned. If the number
16543
+ # of available results is larger than `maxResults`, Compute Engine returns a `
16544
+ # nextPageToken` that can be used to get the next page of results in subsequent
16545
+ # list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
16546
+ # @param [String] order_by
16547
+ # Sorts list results by a certain order. By default, results are returned in
16548
+ # alphanumerical order based on the resource name.
16549
+ # You can also sort results in descending order based on the creation timestamp
16550
+ # using `orderBy="creationTimestamp desc"`. This sorts results based on the `
16551
+ # creationTimestamp` field in reverse chronological order (newest result first).
16552
+ # Use this to sort resources like operations so that the newest operation is
16553
+ # returned first.
16554
+ # Currently, only sorting by `name` or `creationTimestamp desc` is supported.
16555
+ # @param [String] page_token
16556
+ # Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
16557
+ # by a previous list request to get the next page of results.
16558
+ # @param [Boolean] return_partial_success
16559
+ # Opt-in for partial success behavior which provides partial results in case of
16560
+ # failure. The default value is false.
16561
+ # @param [String] fields
16562
+ # Selector specifying which fields to include in a partial response.
16563
+ # @param [String] quota_user
16564
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
16565
+ # characters.
16566
+ # @param [String] user_ip
16567
+ # Deprecated. Please use quotaUser instead.
16568
+ # @param [Google::Apis::RequestOptions] options
16569
+ # Request-specific options
16570
+ #
16571
+ # @yield [result, err] Result & error if block supplied
16572
+ # @yieldparam result [Google::Apis::ComputeAlpha::NetworkEndpointGroupsListNetworkEndpoints] parsed result object
16573
+ # @yieldparam err [StandardError] error object if request failed
16574
+ #
16575
+ # @return [Google::Apis::ComputeAlpha::NetworkEndpointGroupsListNetworkEndpoints]
16576
+ #
16577
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
16578
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
16579
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
16580
+ def list_network_endpoint_group_network_endpoints(project, zone, network_endpoint_group, network_endpoint_groups_list_endpoints_request_object = nil, 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)
16581
+ command = make_simple_command(:post, 'projects/{project}/zones/{zone}/networkEndpointGroups/{networkEndpointGroup}/listNetworkEndpoints', options)
16582
+ command.request_representation = Google::Apis::ComputeAlpha::NetworkEndpointGroupsListEndpointsRequest::Representation
16583
+ command.request_object = network_endpoint_groups_list_endpoints_request_object
16584
+ command.response_representation = Google::Apis::ComputeAlpha::NetworkEndpointGroupsListNetworkEndpoints::Representation
16585
+ command.response_class = Google::Apis::ComputeAlpha::NetworkEndpointGroupsListNetworkEndpoints
16586
+ command.params['project'] = project unless project.nil?
16587
+ command.params['zone'] = zone unless zone.nil?
16588
+ command.params['networkEndpointGroup'] = network_endpoint_group unless network_endpoint_group.nil?
16589
+ command.query['filter'] = filter unless filter.nil?
16590
+ command.query['maxResults'] = max_results unless max_results.nil?
16591
+ command.query['orderBy'] = order_by unless order_by.nil?
16592
+ command.query['pageToken'] = page_token unless page_token.nil?
16593
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
16594
+ command.query['fields'] = fields unless fields.nil?
16595
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
16596
+ command.query['userIp'] = user_ip unless user_ip.nil?
16597
+ execute_or_queue_command(command, &block)
16598
+ end
16599
+
16600
+ # Returns permissions that a caller has on the specified resource.
16601
+ # @param [String] project
16602
+ # Project ID for this request.
16603
+ # @param [String] zone
16604
+ # The name of the zone for this request.
16605
+ # @param [String] resource
16606
+ # Name or id of the resource for this request.
16607
+ # @param [Google::Apis::ComputeAlpha::TestPermissionsRequest] test_permissions_request_object
16608
+ # @param [String] fields
16609
+ # Selector specifying which fields to include in a partial response.
16610
+ # @param [String] quota_user
16611
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
16612
+ # characters.
16613
+ # @param [String] user_ip
16614
+ # Deprecated. Please use quotaUser instead.
16615
+ # @param [Google::Apis::RequestOptions] options
16616
+ # Request-specific options
16617
+ #
16618
+ # @yield [result, err] Result & error if block supplied
16619
+ # @yieldparam result [Google::Apis::ComputeAlpha::TestPermissionsResponse] parsed result object
16620
+ # @yieldparam err [StandardError] error object if request failed
16621
+ #
16622
+ # @return [Google::Apis::ComputeAlpha::TestPermissionsResponse]
16623
+ #
16624
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
16625
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
16626
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
16627
+ def test_network_endpoint_group_iam_permissions(project, zone, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
16628
+ command = make_simple_command(:post, 'projects/{project}/zones/{zone}/networkEndpointGroups/{resource}/testIamPermissions', options)
16629
+ command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation
16630
+ command.request_object = test_permissions_request_object
16631
+ command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation
16632
+ command.response_class = Google::Apis::ComputeAlpha::TestPermissionsResponse
16633
+ command.params['project'] = project unless project.nil?
16634
+ command.params['zone'] = zone unless zone.nil?
16635
+ command.params['resource'] = resource unless resource.nil?
16636
+ command.query['fields'] = fields unless fields.nil?
16637
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
16638
+ command.query['userIp'] = user_ip unless user_ip.nil?
16639
+ execute_or_queue_command(command, &block)
16640
+ end
16641
+
16642
+ # Inserts an association for the specified firewall policy.
16643
+ # @param [String] project
16644
+ # Project ID for this request.
16645
+ # @param [String] firewall_policy
16646
+ # Name of the firewall policy to update.
16647
+ # @param [Google::Apis::ComputeAlpha::FirewallPolicyAssociation] firewall_policy_association_object
16648
+ # @param [Boolean] replace_existing_association
16649
+ # Indicates whether or not to replace it if an association of the attachment
16650
+ # already exists. This is false by default, in which case an error will be
16651
+ # returned if an association already exists.
16652
+ # @param [String] request_id
16653
+ # An optional request ID to identify requests. Specify a unique request ID so
16654
+ # that if you must retry your request, the server will know to ignore the
16655
+ # request if it has already been completed.
16656
+ # For example, consider a situation where you make an initial request and the
16657
+ # request times out. If you make the request again with the same request ID, the
16658
+ # server can check if original operation with the same request ID was received,
16659
+ # and if so, will ignore the second request. This prevents clients from
16660
+ # accidentally creating duplicate commitments.
16661
+ # The request ID must be a valid UUID with the exception that zero UUID is not
16662
+ # supported (00000000-0000-0000-0000-000000000000).
16663
+ # @param [String] fields
16664
+ # Selector specifying which fields to include in a partial response.
16665
+ # @param [String] quota_user
16666
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
16667
+ # characters.
16668
+ # @param [String] user_ip
16669
+ # Deprecated. Please use quotaUser instead.
16670
+ # @param [Google::Apis::RequestOptions] options
16671
+ # Request-specific options
16672
+ #
16673
+ # @yield [result, err] Result & error if block supplied
16674
+ # @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
16675
+ # @yieldparam err [StandardError] error object if request failed
16676
+ #
16677
+ # @return [Google::Apis::ComputeAlpha::Operation]
16678
+ #
16679
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
16680
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
16681
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
16682
+ def add_network_firewall_policy_association(project, firewall_policy, firewall_policy_association_object = nil, replace_existing_association: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
16683
+ command = make_simple_command(:post, 'projects/{project}/global/firewallPolicies/{firewallPolicy}/addAssociation', options)
16684
+ command.request_representation = Google::Apis::ComputeAlpha::FirewallPolicyAssociation::Representation
16685
+ command.request_object = firewall_policy_association_object
15564
16686
  command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
15565
16687
  command.response_class = Google::Apis::ComputeAlpha::Operation
15566
16688
  command.params['project'] = project unless project.nil?
15567
- command.params['zone'] = zone unless zone.nil?
16689
+ command.params['firewallPolicy'] = firewall_policy unless firewall_policy.nil?
16690
+ command.query['replaceExistingAssociation'] = replace_existing_association unless replace_existing_association.nil?
15568
16691
  command.query['requestId'] = request_id unless request_id.nil?
15569
16692
  command.query['fields'] = fields unless fields.nil?
15570
16693
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -15572,224 +16695,12 @@ module Google
15572
16695
  execute_or_queue_command(command, &block)
15573
16696
  end
15574
16697
 
15575
- # Retrieves the list of network endpoint groups that are located in the
15576
- # specified project and zone.
15577
- # @param [String] project
15578
- # Project ID for this request.
15579
- # @param [String] zone
15580
- # The name of the zone where the network endpoint group is located. It should
15581
- # comply with RFC1035.
15582
- # @param [String] filter
15583
- # A filter expression that filters resources listed in the response. The
15584
- # expression must specify the field name, a comparison operator, and the value
15585
- # that you want to use for filtering. The value must be a string, a number, or a
15586
- # boolean. The comparison operator must be either `=`, `!=`, `>`, or `<`.
15587
- # For example, if you are filtering Compute Engine instances, you can exclude
15588
- # instances named `example-instance` by specifying `name != example-instance`.
15589
- # You can also filter nested fields. For example, you could specify `scheduling.
15590
- # automaticRestart = false` to include instances only if they are not scheduled
15591
- # for automatic restarts. You can use filtering on nested fields to filter based
15592
- # on resource labels.
15593
- # To filter on multiple expressions, provide each separate expression within
15594
- # parentheses. For example: ``` (scheduling.automaticRestart = true) (
15595
- # cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND`
15596
- # expression. However, you can include `AND` and `OR` expressions explicitly.
15597
- # For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel
15598
- # Broadwell") AND (scheduling.automaticRestart = true) ```
15599
- # @param [Fixnum] max_results
15600
- # The maximum number of results per page that should be returned. If the number
15601
- # of available results is larger than `maxResults`, Compute Engine returns a `
15602
- # nextPageToken` that can be used to get the next page of results in subsequent
15603
- # list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
15604
- # @param [String] order_by
15605
- # Sorts list results by a certain order. By default, results are returned in
15606
- # alphanumerical order based on the resource name.
15607
- # You can also sort results in descending order based on the creation timestamp
15608
- # using `orderBy="creationTimestamp desc"`. This sorts results based on the `
15609
- # creationTimestamp` field in reverse chronological order (newest result first).
15610
- # Use this to sort resources like operations so that the newest operation is
15611
- # returned first.
15612
- # Currently, only sorting by `name` or `creationTimestamp desc` is supported.
15613
- # @param [String] page_token
15614
- # Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
15615
- # by a previous list request to get the next page of results.
15616
- # @param [Boolean] return_partial_success
15617
- # Opt-in for partial success behavior which provides partial results in case of
15618
- # failure. The default value is false and the logic is the same as today.
15619
- # @param [String] fields
15620
- # Selector specifying which fields to include in a partial response.
15621
- # @param [String] quota_user
15622
- # An opaque string that represents a user for quota purposes. Must not exceed 40
15623
- # characters.
15624
- # @param [String] user_ip
15625
- # Deprecated. Please use quotaUser instead.
15626
- # @param [Google::Apis::RequestOptions] options
15627
- # Request-specific options
15628
- #
15629
- # @yield [result, err] Result & error if block supplied
15630
- # @yieldparam result [Google::Apis::ComputeAlpha::NetworkEndpointGroupList] parsed result object
15631
- # @yieldparam err [StandardError] error object if request failed
15632
- #
15633
- # @return [Google::Apis::ComputeAlpha::NetworkEndpointGroupList]
15634
- #
15635
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
15636
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
15637
- # @raise [Google::Apis::AuthorizationError] Authorization is required
15638
- def list_network_endpoint_groups(project, zone, 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)
15639
- command = make_simple_command(:get, 'projects/{project}/zones/{zone}/networkEndpointGroups', options)
15640
- command.response_representation = Google::Apis::ComputeAlpha::NetworkEndpointGroupList::Representation
15641
- command.response_class = Google::Apis::ComputeAlpha::NetworkEndpointGroupList
15642
- command.params['project'] = project unless project.nil?
15643
- command.params['zone'] = zone unless zone.nil?
15644
- command.query['filter'] = filter unless filter.nil?
15645
- command.query['maxResults'] = max_results unless max_results.nil?
15646
- command.query['orderBy'] = order_by unless order_by.nil?
15647
- command.query['pageToken'] = page_token unless page_token.nil?
15648
- command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
15649
- command.query['fields'] = fields unless fields.nil?
15650
- command.query['quotaUser'] = quota_user unless quota_user.nil?
15651
- command.query['userIp'] = user_ip unless user_ip.nil?
15652
- execute_or_queue_command(command, &block)
15653
- end
15654
-
15655
- # Lists the network endpoints in the specified network endpoint group.
15656
- # @param [String] project
15657
- # Project ID for this request.
15658
- # @param [String] zone
15659
- # The name of the zone where the network endpoint group is located. It should
15660
- # comply with RFC1035.
15661
- # @param [String] network_endpoint_group
15662
- # The name of the network endpoint group from which you want to generate a list
15663
- # of included network endpoints. It should comply with RFC1035.
15664
- # @param [Google::Apis::ComputeAlpha::NetworkEndpointGroupsListEndpointsRequest] network_endpoint_groups_list_endpoints_request_object
15665
- # @param [String] filter
15666
- # A filter expression that filters resources listed in the response. The
15667
- # expression must specify the field name, a comparison operator, and the value
15668
- # that you want to use for filtering. The value must be a string, a number, or a
15669
- # boolean. The comparison operator must be either `=`, `!=`, `>`, or `<`.
15670
- # For example, if you are filtering Compute Engine instances, you can exclude
15671
- # instances named `example-instance` by specifying `name != example-instance`.
15672
- # You can also filter nested fields. For example, you could specify `scheduling.
15673
- # automaticRestart = false` to include instances only if they are not scheduled
15674
- # for automatic restarts. You can use filtering on nested fields to filter based
15675
- # on resource labels.
15676
- # To filter on multiple expressions, provide each separate expression within
15677
- # parentheses. For example: ``` (scheduling.automaticRestart = true) (
15678
- # cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND`
15679
- # expression. However, you can include `AND` and `OR` expressions explicitly.
15680
- # For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel
15681
- # Broadwell") AND (scheduling.automaticRestart = true) ```
15682
- # @param [Fixnum] max_results
15683
- # The maximum number of results per page that should be returned. If the number
15684
- # of available results is larger than `maxResults`, Compute Engine returns a `
15685
- # nextPageToken` that can be used to get the next page of results in subsequent
15686
- # list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
15687
- # @param [String] order_by
15688
- # Sorts list results by a certain order. By default, results are returned in
15689
- # alphanumerical order based on the resource name.
15690
- # You can also sort results in descending order based on the creation timestamp
15691
- # using `orderBy="creationTimestamp desc"`. This sorts results based on the `
15692
- # creationTimestamp` field in reverse chronological order (newest result first).
15693
- # Use this to sort resources like operations so that the newest operation is
15694
- # returned first.
15695
- # Currently, only sorting by `name` or `creationTimestamp desc` is supported.
15696
- # @param [String] page_token
15697
- # Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
15698
- # by a previous list request to get the next page of results.
15699
- # @param [Boolean] return_partial_success
15700
- # Opt-in for partial success behavior which provides partial results in case of
15701
- # failure. The default value is false and the logic is the same as today.
15702
- # @param [String] fields
15703
- # Selector specifying which fields to include in a partial response.
15704
- # @param [String] quota_user
15705
- # An opaque string that represents a user for quota purposes. Must not exceed 40
15706
- # characters.
15707
- # @param [String] user_ip
15708
- # Deprecated. Please use quotaUser instead.
15709
- # @param [Google::Apis::RequestOptions] options
15710
- # Request-specific options
15711
- #
15712
- # @yield [result, err] Result & error if block supplied
15713
- # @yieldparam result [Google::Apis::ComputeAlpha::NetworkEndpointGroupsListNetworkEndpoints] parsed result object
15714
- # @yieldparam err [StandardError] error object if request failed
15715
- #
15716
- # @return [Google::Apis::ComputeAlpha::NetworkEndpointGroupsListNetworkEndpoints]
15717
- #
15718
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
15719
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
15720
- # @raise [Google::Apis::AuthorizationError] Authorization is required
15721
- def list_network_endpoint_group_network_endpoints(project, zone, network_endpoint_group, network_endpoint_groups_list_endpoints_request_object = nil, 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)
15722
- command = make_simple_command(:post, 'projects/{project}/zones/{zone}/networkEndpointGroups/{networkEndpointGroup}/listNetworkEndpoints', options)
15723
- command.request_representation = Google::Apis::ComputeAlpha::NetworkEndpointGroupsListEndpointsRequest::Representation
15724
- command.request_object = network_endpoint_groups_list_endpoints_request_object
15725
- command.response_representation = Google::Apis::ComputeAlpha::NetworkEndpointGroupsListNetworkEndpoints::Representation
15726
- command.response_class = Google::Apis::ComputeAlpha::NetworkEndpointGroupsListNetworkEndpoints
15727
- command.params['project'] = project unless project.nil?
15728
- command.params['zone'] = zone unless zone.nil?
15729
- command.params['networkEndpointGroup'] = network_endpoint_group unless network_endpoint_group.nil?
15730
- command.query['filter'] = filter unless filter.nil?
15731
- command.query['maxResults'] = max_results unless max_results.nil?
15732
- command.query['orderBy'] = order_by unless order_by.nil?
15733
- command.query['pageToken'] = page_token unless page_token.nil?
15734
- command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
15735
- command.query['fields'] = fields unless fields.nil?
15736
- command.query['quotaUser'] = quota_user unless quota_user.nil?
15737
- command.query['userIp'] = user_ip unless user_ip.nil?
15738
- execute_or_queue_command(command, &block)
15739
- end
15740
-
15741
- # Returns permissions that a caller has on the specified resource.
15742
- # @param [String] project
15743
- # Project ID for this request.
15744
- # @param [String] zone
15745
- # The name of the zone for this request.
15746
- # @param [String] resource
15747
- # Name or id of the resource for this request.
15748
- # @param [Google::Apis::ComputeAlpha::TestPermissionsRequest] test_permissions_request_object
15749
- # @param [String] fields
15750
- # Selector specifying which fields to include in a partial response.
15751
- # @param [String] quota_user
15752
- # An opaque string that represents a user for quota purposes. Must not exceed 40
15753
- # characters.
15754
- # @param [String] user_ip
15755
- # Deprecated. Please use quotaUser instead.
15756
- # @param [Google::Apis::RequestOptions] options
15757
- # Request-specific options
15758
- #
15759
- # @yield [result, err] Result & error if block supplied
15760
- # @yieldparam result [Google::Apis::ComputeAlpha::TestPermissionsResponse] parsed result object
15761
- # @yieldparam err [StandardError] error object if request failed
15762
- #
15763
- # @return [Google::Apis::ComputeAlpha::TestPermissionsResponse]
15764
- #
15765
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
15766
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
15767
- # @raise [Google::Apis::AuthorizationError] Authorization is required
15768
- def test_network_endpoint_group_iam_permissions(project, zone, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
15769
- command = make_simple_command(:post, 'projects/{project}/zones/{zone}/networkEndpointGroups/{resource}/testIamPermissions', options)
15770
- command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation
15771
- command.request_object = test_permissions_request_object
15772
- command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation
15773
- command.response_class = Google::Apis::ComputeAlpha::TestPermissionsResponse
15774
- command.params['project'] = project unless project.nil?
15775
- command.params['zone'] = zone unless zone.nil?
15776
- command.params['resource'] = resource unless resource.nil?
15777
- command.query['fields'] = fields unless fields.nil?
15778
- command.query['quotaUser'] = quota_user unless quota_user.nil?
15779
- command.query['userIp'] = user_ip unless user_ip.nil?
15780
- execute_or_queue_command(command, &block)
15781
- end
15782
-
15783
- # Inserts an association for the specified firewall policy.
16698
+ # Inserts a rule into a firewall policy.
15784
16699
  # @param [String] project
15785
16700
  # Project ID for this request.
15786
16701
  # @param [String] firewall_policy
15787
16702
  # Name of the firewall policy to update.
15788
- # @param [Google::Apis::ComputeAlpha::FirewallPolicyAssociation] firewall_policy_association_object
15789
- # @param [Boolean] replace_existing_association
15790
- # Indicates whether or not to replace it if an association of the attachment
15791
- # already exists. This is false by default, in which case an error will be
15792
- # returned if an association already exists.
16703
+ # @param [Google::Apis::ComputeAlpha::FirewallPolicyRule] firewall_policy_rule_object
15793
16704
  # @param [String] request_id
15794
16705
  # An optional request ID to identify requests. Specify a unique request ID so
15795
16706
  # that if you must retry your request, the server will know to ignore the
@@ -15820,48 +16731,7 @@ module Google
15820
16731
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
15821
16732
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
15822
16733
  # @raise [Google::Apis::AuthorizationError] Authorization is required
15823
- def add_network_firewall_policy_association(project, firewall_policy, firewall_policy_association_object = nil, replace_existing_association: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
15824
- command = make_simple_command(:post, 'projects/{project}/global/firewallPolicies/{firewallPolicy}/addAssociation', options)
15825
- command.request_representation = Google::Apis::ComputeAlpha::FirewallPolicyAssociation::Representation
15826
- command.request_object = firewall_policy_association_object
15827
- command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
15828
- command.response_class = Google::Apis::ComputeAlpha::Operation
15829
- command.params['project'] = project unless project.nil?
15830
- command.params['firewallPolicy'] = firewall_policy unless firewall_policy.nil?
15831
- command.query['replaceExistingAssociation'] = replace_existing_association unless replace_existing_association.nil?
15832
- command.query['requestId'] = request_id unless request_id.nil?
15833
- command.query['fields'] = fields unless fields.nil?
15834
- command.query['quotaUser'] = quota_user unless quota_user.nil?
15835
- command.query['userIp'] = user_ip unless user_ip.nil?
15836
- execute_or_queue_command(command, &block)
15837
- end
15838
-
15839
- # Inserts a rule into a firewall policy.
15840
- # @param [String] project
15841
- # Project ID for this request.
15842
- # @param [String] firewall_policy
15843
- # Name of the firewall policy to update.
15844
- # @param [Google::Apis::ComputeAlpha::FirewallPolicyRule] firewall_policy_rule_object
15845
- # @param [String] fields
15846
- # Selector specifying which fields to include in a partial response.
15847
- # @param [String] quota_user
15848
- # An opaque string that represents a user for quota purposes. Must not exceed 40
15849
- # characters.
15850
- # @param [String] user_ip
15851
- # Deprecated. Please use quotaUser instead.
15852
- # @param [Google::Apis::RequestOptions] options
15853
- # Request-specific options
15854
- #
15855
- # @yield [result, err] Result & error if block supplied
15856
- # @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
15857
- # @yieldparam err [StandardError] error object if request failed
15858
- #
15859
- # @return [Google::Apis::ComputeAlpha::Operation]
15860
- #
15861
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
15862
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
15863
- # @raise [Google::Apis::AuthorizationError] Authorization is required
15864
- def add_network_firewall_policy_rule(project, firewall_policy, firewall_policy_rule_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
16734
+ def add_network_firewall_policy_rule(project, firewall_policy, firewall_policy_rule_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
15865
16735
  command = make_simple_command(:post, 'projects/{project}/global/firewallPolicies/{firewallPolicy}/addRule', options)
15866
16736
  command.request_representation = Google::Apis::ComputeAlpha::FirewallPolicyRule::Representation
15867
16737
  command.request_object = firewall_policy_rule_object
@@ -15869,6 +16739,7 @@ module Google
15869
16739
  command.response_class = Google::Apis::ComputeAlpha::Operation
15870
16740
  command.params['project'] = project unless project.nil?
15871
16741
  command.params['firewallPolicy'] = firewall_policy unless firewall_policy.nil?
16742
+ command.query['requestId'] = request_id unless request_id.nil?
15872
16743
  command.query['fields'] = fields unless fields.nil?
15873
16744
  command.query['quotaUser'] = quota_user unless quota_user.nil?
15874
16745
  command.query['userIp'] = user_ip unless user_ip.nil?
@@ -16014,7 +16885,7 @@ module Google
16014
16885
  # @param [String] project
16015
16886
  # Project ID for this request.
16016
16887
  # @param [String] firewall_policy
16017
- # Name of the firewall policy to which the queried rule belongs.
16888
+ # Name of the firewall policy to which the queried association belongs.
16018
16889
  # @param [String] name
16019
16890
  # The name of the association to get from the firewall policy.
16020
16891
  # @param [String] fields
@@ -16216,7 +17087,7 @@ module Google
16216
17087
  # by a previous list request to get the next page of results.
16217
17088
  # @param [Boolean] return_partial_success
16218
17089
  # Opt-in for partial success behavior which provides partial results in case of
16219
- # failure. The default value is false and the logic is the same as today.
17090
+ # failure. The default value is false.
16220
17091
  # @param [String] fields
16221
17092
  # Selector specifying which fields to include in a partial response.
16222
17093
  # @param [String] quota_user
@@ -16311,6 +17182,17 @@ module Google
16311
17182
  # @param [Google::Apis::ComputeAlpha::FirewallPolicyRule] firewall_policy_rule_object
16312
17183
  # @param [Fixnum] priority
16313
17184
  # The priority of the rule to patch.
17185
+ # @param [String] request_id
17186
+ # An optional request ID to identify requests. Specify a unique request ID so
17187
+ # that if you must retry your request, the server will know to ignore the
17188
+ # request if it has already been completed.
17189
+ # For example, consider a situation where you make an initial request and the
17190
+ # request times out. If you make the request again with the same request ID, the
17191
+ # server can check if original operation with the same request ID was received,
17192
+ # and if so, will ignore the second request. This prevents clients from
17193
+ # accidentally creating duplicate commitments.
17194
+ # The request ID must be a valid UUID with the exception that zero UUID is not
17195
+ # supported (00000000-0000-0000-0000-000000000000).
16314
17196
  # @param [String] fields
16315
17197
  # Selector specifying which fields to include in a partial response.
16316
17198
  # @param [String] quota_user
@@ -16330,7 +17212,7 @@ module Google
16330
17212
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
16331
17213
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
16332
17214
  # @raise [Google::Apis::AuthorizationError] Authorization is required
16333
- def patch_network_firewall_policy_rule(project, firewall_policy, firewall_policy_rule_object = nil, priority: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
17215
+ def patch_network_firewall_policy_rule(project, firewall_policy, firewall_policy_rule_object = nil, priority: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
16334
17216
  command = make_simple_command(:post, 'projects/{project}/global/firewallPolicies/{firewallPolicy}/patchRule', options)
16335
17217
  command.request_representation = Google::Apis::ComputeAlpha::FirewallPolicyRule::Representation
16336
17218
  command.request_object = firewall_policy_rule_object
@@ -16339,6 +17221,7 @@ module Google
16339
17221
  command.params['project'] = project unless project.nil?
16340
17222
  command.params['firewallPolicy'] = firewall_policy unless firewall_policy.nil?
16341
17223
  command.query['priority'] = priority unless priority.nil?
17224
+ command.query['requestId'] = request_id unless request_id.nil?
16342
17225
  command.query['fields'] = fields unless fields.nil?
16343
17226
  command.query['quotaUser'] = quota_user unless quota_user.nil?
16344
17227
  command.query['userIp'] = user_ip unless user_ip.nil?
@@ -16403,6 +17286,17 @@ module Google
16403
17286
  # Name of the firewall policy to update.
16404
17287
  # @param [Fixnum] priority
16405
17288
  # The priority of the rule to remove from the firewall policy.
17289
+ # @param [String] request_id
17290
+ # An optional request ID to identify requests. Specify a unique request ID so
17291
+ # that if you must retry your request, the server will know to ignore the
17292
+ # request if it has already been completed.
17293
+ # For example, consider a situation where you make an initial request and the
17294
+ # request times out. If you make the request again with the same request ID, the
17295
+ # server can check if original operation with the same request ID was received,
17296
+ # and if so, will ignore the second request. This prevents clients from
17297
+ # accidentally creating duplicate commitments.
17298
+ # The request ID must be a valid UUID with the exception that zero UUID is not
17299
+ # supported (00000000-0000-0000-0000-000000000000).
16406
17300
  # @param [String] fields
16407
17301
  # Selector specifying which fields to include in a partial response.
16408
17302
  # @param [String] quota_user
@@ -16422,13 +17316,14 @@ module Google
16422
17316
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
16423
17317
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
16424
17318
  # @raise [Google::Apis::AuthorizationError] Authorization is required
16425
- def remove_network_firewall_policy_rule(project, firewall_policy, priority: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
17319
+ def remove_network_firewall_policy_rule(project, firewall_policy, priority: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
16426
17320
  command = make_simple_command(:post, 'projects/{project}/global/firewallPolicies/{firewallPolicy}/removeRule', options)
16427
17321
  command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
16428
17322
  command.response_class = Google::Apis::ComputeAlpha::Operation
16429
17323
  command.params['project'] = project unless project.nil?
16430
17324
  command.params['firewallPolicy'] = firewall_policy unless firewall_policy.nil?
16431
17325
  command.query['priority'] = priority unless priority.nil?
17326
+ command.query['requestId'] = request_id unless request_id.nil?
16432
17327
  command.query['fields'] = fields unless fields.nil?
16433
17328
  command.query['quotaUser'] = quota_user unless quota_user.nil?
16434
17329
  command.query['userIp'] = user_ip unless user_ip.nil?
@@ -16774,7 +17669,7 @@ module Google
16774
17669
  # by a previous list request to get the next page of results.
16775
17670
  # @param [Boolean] return_partial_success
16776
17671
  # Opt-in for partial success behavior which provides partial results in case of
16777
- # failure. The default value is false and the logic is the same as today.
17672
+ # failure. The default value is false.
16778
17673
  # @param [String] fields
16779
17674
  # Selector specifying which fields to include in a partial response.
16780
17675
  # @param [String] quota_user
@@ -16851,7 +17746,7 @@ module Google
16851
17746
  # by a previous list request to get the next page of results.
16852
17747
  # @param [Boolean] return_partial_success
16853
17748
  # Opt-in for partial success behavior which provides partial results in case of
16854
- # failure. The default value is false and the logic is the same as today.
17749
+ # failure. The default value is false.
16855
17750
  # @param [String] types
16856
17751
  # (Optional) types filter separate by comma, valid values are: SUBNETWORK,
16857
17752
  # RESERVED, PEER_USED, PEER_RESERVED, REMOTE_USED, REMOTE_RESERVED.
@@ -16939,7 +17834,7 @@ module Google
16939
17834
  # by a previous list request to get the next page of results.
16940
17835
  # @param [Boolean] return_partial_success
16941
17836
  # Opt-in for partial success behavior which provides partial results in case of
16942
- # failure. The default value is false and the logic is the same as today.
17837
+ # failure. The default value is false.
16943
17838
  # @param [String] subnet_name
16944
17839
  # (Optional) Subnetwork name filter.
16945
17840
  # @param [String] subnet_region
@@ -17033,7 +17928,7 @@ module Google
17033
17928
  # routes and dynamic routes in the region.
17034
17929
  # @param [Boolean] return_partial_success
17035
17930
  # Opt-in for partial success behavior which provides partial results in case of
17036
- # failure. The default value is false and the logic is the same as today.
17931
+ # failure. The default value is false.
17037
17932
  # @param [String] fields
17038
17933
  # Selector specifying which fields to include in a partial response.
17039
17934
  # @param [String] quota_user
@@ -17417,7 +18312,7 @@ module Google
17417
18312
  # by a previous list request to get the next page of results.
17418
18313
  # @param [Boolean] return_partial_success
17419
18314
  # Opt-in for partial success behavior which provides partial results in case of
17420
- # failure. The default value is false and the logic is the same as today.
18315
+ # failure. The default value is false.
17421
18316
  # @param [String] fields
17422
18317
  # Selector specifying which fields to include in a partial response.
17423
18318
  # @param [String] quota_user
@@ -17740,7 +18635,7 @@ module Google
17740
18635
  # by a previous list request to get the next page of results.
17741
18636
  # @param [Boolean] return_partial_success
17742
18637
  # Opt-in for partial success behavior which provides partial results in case of
17743
- # failure. The default value is false and the logic is the same as today.
18638
+ # failure. The default value is false.
17744
18639
  # @param [String] fields
17745
18640
  # Selector specifying which fields to include in a partial response.
17746
18641
  # @param [String] quota_user
@@ -17820,7 +18715,7 @@ module Google
17820
18715
  # by a previous list request to get the next page of results.
17821
18716
  # @param [Boolean] return_partial_success
17822
18717
  # Opt-in for partial success behavior which provides partial results in case of
17823
- # failure. The default value is false and the logic is the same as today.
18718
+ # failure. The default value is false.
17824
18719
  # @param [String] fields
17825
18720
  # Selector specifying which fields to include in a partial response.
17826
18721
  # @param [String] quota_user
@@ -18097,7 +18992,7 @@ module Google
18097
18992
  # by a previous list request to get the next page of results.
18098
18993
  # @param [Boolean] return_partial_success
18099
18994
  # Opt-in for partial success behavior which provides partial results in case of
18100
- # failure. The default value is false and the logic is the same as today.
18995
+ # failure. The default value is false.
18101
18996
  # @param [String] fields
18102
18997
  # Selector specifying which fields to include in a partial response.
18103
18998
  # @param [String] quota_user
@@ -18361,7 +19256,7 @@ module Google
18361
19256
  # by a previous list request to get the next page of results.
18362
19257
  # @param [Boolean] return_partial_success
18363
19258
  # Opt-in for partial success behavior which provides partial results in case of
18364
- # failure. The default value is false and the logic is the same as today.
19259
+ # failure. The default value is false.
18365
19260
  # @param [String] fields
18366
19261
  # Selector specifying which fields to include in a partial response.
18367
19262
  # @param [String] quota_user
@@ -18529,7 +19424,7 @@ module Google
18529
19424
  # by a previous list request to get the next page of results.
18530
19425
  # @param [Boolean] return_partial_success
18531
19426
  # Opt-in for partial success behavior which provides partial results in case of
18532
- # failure. The default value is false and the logic is the same as today.
19427
+ # failure. The default value is false.
18533
19428
  # @param [String] fields
18534
19429
  # Selector specifying which fields to include in a partial response.
18535
19430
  # @param [String] quota_user
@@ -18647,7 +19542,7 @@ module Google
18647
19542
  # by a previous list request to get the next page of results.
18648
19543
  # @param [Boolean] return_partial_success
18649
19544
  # Opt-in for partial success behavior which provides partial results in case of
18650
- # failure. The default value is false and the logic is the same as today.
19545
+ # failure. The default value is false.
18651
19546
  # @param [String] fields
18652
19547
  # Selector specifying which fields to include in a partial response.
18653
19548
  # @param [String] quota_user
@@ -19073,7 +19968,7 @@ module Google
19073
19968
  # Parent ID for this request.
19074
19969
  # @param [Boolean] return_partial_success
19075
19970
  # Opt-in for partial success behavior which provides partial results in case of
19076
- # failure. The default value is false and the logic is the same as today.
19971
+ # failure. The default value is false.
19077
19972
  # @param [String] fields
19078
19973
  # Selector specifying which fields to include in a partial response.
19079
19974
  # @param [String] quota_user
@@ -19431,7 +20326,7 @@ module Google
19431
20326
  # by a previous list request to get the next page of results.
19432
20327
  # @param [Boolean] return_partial_success
19433
20328
  # Opt-in for partial success behavior which provides partial results in case of
19434
- # failure. The default value is false and the logic is the same as today.
20329
+ # failure. The default value is false.
19435
20330
  # @param [String] fields
19436
20331
  # Selector specifying which fields to include in a partial response.
19437
20332
  # @param [String] quota_user
@@ -19652,7 +20547,7 @@ module Google
19652
20547
  # by a previous list request to get the next page of results.
19653
20548
  # @param [Boolean] return_partial_success
19654
20549
  # Opt-in for partial success behavior which provides partial results in case of
19655
- # failure. The default value is false and the logic is the same as today.
20550
+ # failure. The default value is false.
19656
20551
  # @param [String] fields
19657
20552
  # Selector specifying which fields to include in a partial response.
19658
20553
  # @param [String] quota_user
@@ -20082,7 +20977,7 @@ module Google
20082
20977
  # by a previous list request to get the next page of results.
20083
20978
  # @param [Boolean] return_partial_success
20084
20979
  # Opt-in for partial success behavior which provides partial results in case of
20085
- # failure. The default value is false and the logic is the same as today.
20980
+ # failure. The default value is false.
20086
20981
  # @param [String] fields
20087
20982
  # Selector specifying which fields to include in a partial response.
20088
20983
  # @param [String] quota_user
@@ -20158,7 +21053,7 @@ module Google
20158
21053
  # by a previous list request to get the next page of results.
20159
21054
  # @param [Boolean] return_partial_success
20160
21055
  # Opt-in for partial success behavior which provides partial results in case of
20161
- # failure. The default value is false and the logic is the same as today.
21056
+ # failure. The default value is false.
20162
21057
  # @param [String] fields
20163
21058
  # Selector specifying which fields to include in a partial response.
20164
21059
  # @param [String] quota_user
@@ -20663,7 +21558,7 @@ module Google
20663
21558
  # by a previous list request to get the next page of results.
20664
21559
  # @param [Boolean] return_partial_success
20665
21560
  # Opt-in for partial success behavior which provides partial results in case of
20666
- # failure. The default value is false and the logic is the same as today.
21561
+ # failure. The default value is false.
20667
21562
  # @param [String] fields
20668
21563
  # Selector specifying which fields to include in a partial response.
20669
21564
  # @param [String] quota_user
@@ -20799,7 +21694,7 @@ module Google
20799
21694
  # by a previous list request to get the next page of results.
20800
21695
  # @param [Boolean] return_partial_success
20801
21696
  # Opt-in for partial success behavior which provides partial results in case of
20802
- # failure. The default value is false and the logic is the same as today.
21697
+ # failure. The default value is false.
20803
21698
  # @param [String] fields
20804
21699
  # Selector specifying which fields to include in a partial response.
20805
21700
  # @param [String] quota_user
@@ -21019,7 +21914,7 @@ module Google
21019
21914
  # by a previous list request to get the next page of results.
21020
21915
  # @param [Boolean] return_partial_success
21021
21916
  # Opt-in for partial success behavior which provides partial results in case of
21022
- # failure. The default value is false and the logic is the same as today.
21917
+ # failure. The default value is false.
21023
21918
  # @param [String] fields
21024
21919
  # Selector specifying which fields to include in a partial response.
21025
21920
  # @param [String] quota_user
@@ -21295,7 +22190,7 @@ module Google
21295
22190
  # by a previous list request to get the next page of results.
21296
22191
  # @param [Boolean] return_partial_success
21297
22192
  # Opt-in for partial success behavior which provides partial results in case of
21298
- # failure. The default value is false and the logic is the same as today.
22193
+ # failure. The default value is false.
21299
22194
  # @param [String] fields
21300
22195
  # Selector specifying which fields to include in a partial response.
21301
22196
  # @param [String] quota_user
@@ -21711,7 +22606,7 @@ module Google
21711
22606
  # by a previous list request to get the next page of results.
21712
22607
  # @param [Boolean] return_partial_success
21713
22608
  # Opt-in for partial success behavior which provides partial results in case of
21714
- # failure. The default value is false and the logic is the same as today.
22609
+ # failure. The default value is false.
21715
22610
  # @param [String] fields
21716
22611
  # Selector specifying which fields to include in a partial response.
21717
22612
  # @param [String] quota_user
@@ -21948,7 +22843,7 @@ module Google
21948
22843
  # by a previous list request to get the next page of results.
21949
22844
  # @param [Boolean] return_partial_success
21950
22845
  # Opt-in for partial success behavior which provides partial results in case of
21951
- # failure. The default value is false and the logic is the same as today.
22846
+ # failure. The default value is false.
21952
22847
  # @param [String] fields
21953
22848
  # Selector specifying which fields to include in a partial response.
21954
22849
  # @param [String] quota_user
@@ -22118,7 +23013,7 @@ module Google
22118
23013
  # by a previous list request to get the next page of results.
22119
23014
  # @param [Boolean] return_partial_success
22120
23015
  # Opt-in for partial success behavior which provides partial results in case of
22121
- # failure. The default value is false and the logic is the same as today.
23016
+ # failure. The default value is false.
22122
23017
  # @param [String] fields
22123
23018
  # Selector specifying which fields to include in a partial response.
22124
23019
  # @param [String] quota_user
@@ -22332,7 +23227,7 @@ module Google
22332
23227
  # by a previous list request to get the next page of results.
22333
23228
  # @param [Boolean] return_partial_success
22334
23229
  # Opt-in for partial success behavior which provides partial results in case of
22335
- # failure. The default value is false and the logic is the same as today.
23230
+ # failure. The default value is false.
22336
23231
  # @param [String] fields
22337
23232
  # Selector specifying which fields to include in a partial response.
22338
23233
  # @param [String] quota_user
@@ -22638,7 +23533,7 @@ module Google
22638
23533
  # The request ID must be a valid UUID with the exception that zero UUID is not
22639
23534
  # supported (00000000-0000-0000-0000-000000000000).
22640
23535
  # @param [String] source_image
22641
- # Optional. Source image to restore onto a disk.
23536
+ # Source image to restore onto a disk. This field is optional.
22642
23537
  # @param [String] fields
22643
23538
  # Selector specifying which fields to include in a partial response.
22644
23539
  # @param [String] quota_user
@@ -22715,7 +23610,7 @@ module Google
22715
23610
  # by a previous list request to get the next page of results.
22716
23611
  # @param [Boolean] return_partial_success
22717
23612
  # Opt-in for partial success behavior which provides partial results in case of
22718
- # failure. The default value is false and the logic is the same as today.
23613
+ # failure. The default value is false.
22719
23614
  # @param [String] fields
22720
23615
  # Selector specifying which fields to include in a partial response.
22721
23616
  # @param [String] quota_user
@@ -22999,6 +23894,90 @@ module Google
22999
23894
  execute_or_queue_command(command, &block)
23000
23895
  end
23001
23896
 
23897
+ # Retrieves the list of all HealthCheckService resources, regional and global,
23898
+ # available to the specified project.
23899
+ # @param [String] project
23900
+ # Name of the project scoping this request.
23901
+ # @param [String] filter
23902
+ # A filter expression that filters resources listed in the response. The
23903
+ # expression must specify the field name, a comparison operator, and the value
23904
+ # that you want to use for filtering. The value must be a string, a number, or a
23905
+ # boolean. The comparison operator must be either `=`, `!=`, `>`, or `<`.
23906
+ # For example, if you are filtering Compute Engine instances, you can exclude
23907
+ # instances named `example-instance` by specifying `name != example-instance`.
23908
+ # You can also filter nested fields. For example, you could specify `scheduling.
23909
+ # automaticRestart = false` to include instances only if they are not scheduled
23910
+ # for automatic restarts. You can use filtering on nested fields to filter based
23911
+ # on resource labels.
23912
+ # To filter on multiple expressions, provide each separate expression within
23913
+ # parentheses. For example: ``` (scheduling.automaticRestart = true) (
23914
+ # cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND`
23915
+ # expression. However, you can include `AND` and `OR` expressions explicitly.
23916
+ # For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel
23917
+ # Broadwell") AND (scheduling.automaticRestart = true) ```
23918
+ # @param [Boolean] include_all_scopes
23919
+ # Indicates whether every visible scope for each scope type (zone, region,
23920
+ # global) should be included in the response. For new resource types added after
23921
+ # this field, the flag has no effect as new resource types will always include
23922
+ # every visible scope for each scope type in response. For resource types which
23923
+ # predate this field, if this flag is omitted or false, only scopes of the scope
23924
+ # types where the resource type is expected to be found will be included.
23925
+ # @param [Fixnum] max_results
23926
+ # The maximum number of results per page that should be returned. If the number
23927
+ # of available results is larger than `maxResults`, Compute Engine returns a `
23928
+ # nextPageToken` that can be used to get the next page of results in subsequent
23929
+ # list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
23930
+ # @param [String] order_by
23931
+ # Sorts list results by a certain order. By default, results are returned in
23932
+ # alphanumerical order based on the resource name.
23933
+ # You can also sort results in descending order based on the creation timestamp
23934
+ # using `orderBy="creationTimestamp desc"`. This sorts results based on the `
23935
+ # creationTimestamp` field in reverse chronological order (newest result first).
23936
+ # Use this to sort resources like operations so that the newest operation is
23937
+ # returned first.
23938
+ # Currently, only sorting by `name` or `creationTimestamp desc` is supported.
23939
+ # @param [String] page_token
23940
+ # Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
23941
+ # by a previous list request to get the next page of results.
23942
+ # @param [Boolean] return_partial_success
23943
+ # Opt-in for partial success behavior which provides partial results in case of
23944
+ # failure. The default value is false.
23945
+ # @param [String] fields
23946
+ # Selector specifying which fields to include in a partial response.
23947
+ # @param [String] quota_user
23948
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
23949
+ # characters.
23950
+ # @param [String] user_ip
23951
+ # Deprecated. Please use quotaUser instead.
23952
+ # @param [Google::Apis::RequestOptions] options
23953
+ # Request-specific options
23954
+ #
23955
+ # @yield [result, err] Result & error if block supplied
23956
+ # @yieldparam result [Google::Apis::ComputeAlpha::HealthCheckServiceAggregatedList] parsed result object
23957
+ # @yieldparam err [StandardError] error object if request failed
23958
+ #
23959
+ # @return [Google::Apis::ComputeAlpha::HealthCheckServiceAggregatedList]
23960
+ #
23961
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
23962
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
23963
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
23964
+ def aggregated_region_health_check_service_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
23965
+ command = make_simple_command(:get, 'projects/{project}/aggregated/healthCheckServices', options)
23966
+ command.response_representation = Google::Apis::ComputeAlpha::HealthCheckServiceAggregatedList::Representation
23967
+ command.response_class = Google::Apis::ComputeAlpha::HealthCheckServiceAggregatedList
23968
+ command.params['project'] = project unless project.nil?
23969
+ command.query['filter'] = filter unless filter.nil?
23970
+ command.query['includeAllScopes'] = include_all_scopes unless include_all_scopes.nil?
23971
+ command.query['maxResults'] = max_results unless max_results.nil?
23972
+ command.query['orderBy'] = order_by unless order_by.nil?
23973
+ command.query['pageToken'] = page_token unless page_token.nil?
23974
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
23975
+ command.query['fields'] = fields unless fields.nil?
23976
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
23977
+ command.query['userIp'] = user_ip unless user_ip.nil?
23978
+ execute_or_queue_command(command, &block)
23979
+ end
23980
+
23002
23981
  # Deletes the specified regional HealthCheckService.
23003
23982
  # @param [String] project
23004
23983
  # Project ID for this request.
@@ -23185,7 +24164,7 @@ module Google
23185
24164
  # by a previous list request to get the next page of results.
23186
24165
  # @param [Boolean] return_partial_success
23187
24166
  # Opt-in for partial success behavior which provides partial results in case of
23188
- # failure. The default value is false and the logic is the same as today.
24167
+ # failure. The default value is false.
23189
24168
  # @param [String] fields
23190
24169
  # Selector specifying which fields to include in a partial response.
23191
24170
  # @param [String] quota_user
@@ -23505,7 +24484,7 @@ module Google
23505
24484
  # by a previous list request to get the next page of results.
23506
24485
  # @param [Boolean] return_partial_success
23507
24486
  # Opt-in for partial success behavior which provides partial results in case of
23508
- # failure. The default value is false and the logic is the same as today.
24487
+ # failure. The default value is false.
23509
24488
  # @param [String] fields
23510
24489
  # Selector specifying which fields to include in a partial response.
23511
24490
  # @param [String] quota_user
@@ -23926,7 +24905,7 @@ module Google
23926
24905
  # by a previous list request to get the next page of results.
23927
24906
  # @param [Boolean] return_partial_success
23928
24907
  # Opt-in for partial success behavior which provides partial results in case of
23929
- # failure. The default value is false and the logic is the same as today.
24908
+ # failure. The default value is false.
23930
24909
  # @param [String] fields
23931
24910
  # Selector specifying which fields to include in a partial response.
23932
24911
  # @param [String] quota_user
@@ -24565,7 +25544,7 @@ module Google
24565
25544
  # by a previous list request to get the next page of results.
24566
25545
  # @param [Boolean] return_partial_success
24567
25546
  # Opt-in for partial success behavior which provides partial results in case of
24568
- # failure. The default value is false and the logic is the same as today.
25547
+ # failure. The default value is false.
24569
25548
  # @param [String] fields
24570
25549
  # Selector specifying which fields to include in a partial response.
24571
25550
  # @param [String] quota_user
@@ -24648,7 +25627,7 @@ module Google
24648
25627
  # by a previous list request to get the next page of results.
24649
25628
  # @param [Boolean] return_partial_success
24650
25629
  # Opt-in for partial success behavior which provides partial results in case of
24651
- # failure. The default value is false and the logic is the same as today.
25630
+ # failure. The default value is false.
24652
25631
  # @param [String] fields
24653
25632
  # Selector specifying which fields to include in a partial response.
24654
25633
  # @param [String] quota_user
@@ -24731,7 +25710,7 @@ module Google
24731
25710
  # by a previous list request to get the next page of results.
24732
25711
  # @param [Boolean] return_partial_success
24733
25712
  # Opt-in for partial success behavior which provides partial results in case of
24734
- # failure. The default value is false and the logic is the same as today.
25713
+ # failure. The default value is false.
24735
25714
  # @param [String] fields
24736
25715
  # Selector specifying which fields to include in a partial response.
24737
25716
  # @param [String] quota_user
@@ -24813,7 +25792,7 @@ module Google
24813
25792
  # by a previous list request to get the next page of results.
24814
25793
  # @param [Boolean] return_partial_success
24815
25794
  # Opt-in for partial success behavior which provides partial results in case of
24816
- # failure. The default value is false and the logic is the same as today.
25795
+ # failure. The default value is false.
24817
25796
  # @param [String] fields
24818
25797
  # Selector specifying which fields to include in a partial response.
24819
25798
  # @param [String] quota_user
@@ -25091,6 +26070,74 @@ module Google
25091
26070
  execute_or_queue_command(command, &block)
25092
26071
  end
25093
26072
 
26073
+ # Resizes the regional managed instance group with advanced configuration
26074
+ # options like disabling creation retries. This is an extended version of the
26075
+ # resize method.
26076
+ # If you increase the size, the group creates new instances using the current
26077
+ # instance template. If you decrease the size, the group deletes one or more
26078
+ # instances.
26079
+ # The resize operation is marked DONE if the resize request is successful. The
26080
+ # underlying actions take additional time. You must separately verify the status
26081
+ # of the creating or deleting actions with the get or listmanagedinstances
26082
+ # method.
26083
+ # If the group is part of a backend service that has enabled connection draining,
26084
+ # it can take up to 60 seconds after the connection draining duration has
26085
+ # elapsed before the VM instance is removed or deleted.
26086
+ # @param [String] project
26087
+ # Project ID for this request.
26088
+ # @param [String] region
26089
+ # Name of the region scoping this request. It must be a string that meets the
26090
+ # requirements in RFC1035.
26091
+ # @param [String] instance_group_manager
26092
+ # The name of the managed instance group. It must be a string that meets the
26093
+ # requirements in RFC1035.
26094
+ # @param [Google::Apis::ComputeAlpha::RegionInstanceGroupManagersResizeAdvancedRequest] region_instance_group_managers_resize_advanced_request_object
26095
+ # @param [String] request_id
26096
+ # An optional request ID to identify requests. Specify a unique request ID so
26097
+ # that if you must retry your request, the server will know to ignore the
26098
+ # request if it has already been completed.
26099
+ # For example, consider a situation where you make an initial request and the
26100
+ # request times out. If you make the request again with the same request ID, the
26101
+ # server can check if original operation with the same request ID was received,
26102
+ # and if so, will ignore the second request. This prevents clients from
26103
+ # accidentally creating duplicate commitments.
26104
+ # The request ID must be a valid UUID with the exception that zero UUID is not
26105
+ # supported (00000000-0000-0000-0000-000000000000).
26106
+ # @param [String] fields
26107
+ # Selector specifying which fields to include in a partial response.
26108
+ # @param [String] quota_user
26109
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
26110
+ # characters.
26111
+ # @param [String] user_ip
26112
+ # Deprecated. Please use quotaUser instead.
26113
+ # @param [Google::Apis::RequestOptions] options
26114
+ # Request-specific options
26115
+ #
26116
+ # @yield [result, err] Result & error if block supplied
26117
+ # @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
26118
+ # @yieldparam err [StandardError] error object if request failed
26119
+ #
26120
+ # @return [Google::Apis::ComputeAlpha::Operation]
26121
+ #
26122
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
26123
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
26124
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
26125
+ def resize_region_instance_group_manager_advanced(project, region, instance_group_manager, region_instance_group_managers_resize_advanced_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
26126
+ command = make_simple_command(:post, 'projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/resizeAdvanced', options)
26127
+ command.request_representation = Google::Apis::ComputeAlpha::RegionInstanceGroupManagersResizeAdvancedRequest::Representation
26128
+ command.request_object = region_instance_group_managers_resize_advanced_request_object
26129
+ command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
26130
+ command.response_class = Google::Apis::ComputeAlpha::Operation
26131
+ command.params['project'] = project unless project.nil?
26132
+ command.params['region'] = region unless region.nil?
26133
+ command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil?
26134
+ command.query['requestId'] = request_id unless request_id.nil?
26135
+ command.query['fields'] = fields unless fields.nil?
26136
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
26137
+ command.query['userIp'] = user_ip unless user_ip.nil?
26138
+ execute_or_queue_command(command, &block)
26139
+ end
26140
+
25094
26141
  # Modifies the autohealing policy for the instances in this managed instance
25095
26142
  # group. [Deprecated] This method is deprecated. Use regionInstanceGroupManagers.
25096
26143
  # patch instead.
@@ -25494,7 +26541,7 @@ module Google
25494
26541
  # by a previous list request to get the next page of results.
25495
26542
  # @param [Boolean] return_partial_success
25496
26543
  # Opt-in for partial success behavior which provides partial results in case of
25497
- # failure. The default value is false and the logic is the same as today.
26544
+ # failure. The default value is false.
25498
26545
  # @param [String] fields
25499
26546
  # Selector specifying which fields to include in a partial response.
25500
26547
  # @param [String] quota_user
@@ -25578,7 +26625,7 @@ module Google
25578
26625
  # by a previous list request to get the next page of results.
25579
26626
  # @param [Boolean] return_partial_success
25580
26627
  # Opt-in for partial success behavior which provides partial results in case of
25581
- # failure. The default value is false and the logic is the same as today.
26628
+ # failure. The default value is false.
25582
26629
  # @param [String] fields
25583
26630
  # Selector specifying which fields to include in a partial response.
25584
26631
  # @param [String] quota_user
@@ -26052,7 +27099,7 @@ module Google
26052
27099
  # by a previous list request to get the next page of results.
26053
27100
  # @param [Boolean] return_partial_success
26054
27101
  # Opt-in for partial success behavior which provides partial results in case of
26055
- # failure. The default value is false and the logic is the same as today.
27102
+ # failure. The default value is false.
26056
27103
  # @param [String] fields
26057
27104
  # Selector specifying which fields to include in a partial response.
26058
27105
  # @param [String] quota_user
@@ -26420,7 +27467,7 @@ module Google
26420
27467
  # by a previous list request to get the next page of results.
26421
27468
  # @param [Boolean] return_partial_success
26422
27469
  # Opt-in for partial success behavior which provides partial results in case of
26423
- # failure. The default value is false and the logic is the same as today.
27470
+ # failure. The default value is false.
26424
27471
  # @param [String] fields
26425
27472
  # Selector specifying which fields to include in a partial response.
26426
27473
  # @param [String] quota_user
@@ -26457,6 +27504,90 @@ module Google
26457
27504
  execute_or_queue_command(command, &block)
26458
27505
  end
26459
27506
 
27507
+ # Retrieves the list of all NotificationEndpoint resources, regional and global,
27508
+ # available to the specified project.
27509
+ # @param [String] project
27510
+ # Name of the project scoping this request.
27511
+ # @param [String] filter
27512
+ # A filter expression that filters resources listed in the response. The
27513
+ # expression must specify the field name, a comparison operator, and the value
27514
+ # that you want to use for filtering. The value must be a string, a number, or a
27515
+ # boolean. The comparison operator must be either `=`, `!=`, `>`, or `<`.
27516
+ # For example, if you are filtering Compute Engine instances, you can exclude
27517
+ # instances named `example-instance` by specifying `name != example-instance`.
27518
+ # You can also filter nested fields. For example, you could specify `scheduling.
27519
+ # automaticRestart = false` to include instances only if they are not scheduled
27520
+ # for automatic restarts. You can use filtering on nested fields to filter based
27521
+ # on resource labels.
27522
+ # To filter on multiple expressions, provide each separate expression within
27523
+ # parentheses. For example: ``` (scheduling.automaticRestart = true) (
27524
+ # cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND`
27525
+ # expression. However, you can include `AND` and `OR` expressions explicitly.
27526
+ # For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel
27527
+ # Broadwell") AND (scheduling.automaticRestart = true) ```
27528
+ # @param [Boolean] include_all_scopes
27529
+ # Indicates whether every visible scope for each scope type (zone, region,
27530
+ # global) should be included in the response. For new resource types added after
27531
+ # this field, the flag has no effect as new resource types will always include
27532
+ # every visible scope for each scope type in response. For resource types which
27533
+ # predate this field, if this flag is omitted or false, only scopes of the scope
27534
+ # types where the resource type is expected to be found will be included.
27535
+ # @param [Fixnum] max_results
27536
+ # The maximum number of results per page that should be returned. If the number
27537
+ # of available results is larger than `maxResults`, Compute Engine returns a `
27538
+ # nextPageToken` that can be used to get the next page of results in subsequent
27539
+ # list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
27540
+ # @param [String] order_by
27541
+ # Sorts list results by a certain order. By default, results are returned in
27542
+ # alphanumerical order based on the resource name.
27543
+ # You can also sort results in descending order based on the creation timestamp
27544
+ # using `orderBy="creationTimestamp desc"`. This sorts results based on the `
27545
+ # creationTimestamp` field in reverse chronological order (newest result first).
27546
+ # Use this to sort resources like operations so that the newest operation is
27547
+ # returned first.
27548
+ # Currently, only sorting by `name` or `creationTimestamp desc` is supported.
27549
+ # @param [String] page_token
27550
+ # Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
27551
+ # by a previous list request to get the next page of results.
27552
+ # @param [Boolean] return_partial_success
27553
+ # Opt-in for partial success behavior which provides partial results in case of
27554
+ # failure. The default value is false.
27555
+ # @param [String] fields
27556
+ # Selector specifying which fields to include in a partial response.
27557
+ # @param [String] quota_user
27558
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
27559
+ # characters.
27560
+ # @param [String] user_ip
27561
+ # Deprecated. Please use quotaUser instead.
27562
+ # @param [Google::Apis::RequestOptions] options
27563
+ # Request-specific options
27564
+ #
27565
+ # @yield [result, err] Result & error if block supplied
27566
+ # @yieldparam result [Google::Apis::ComputeAlpha::NotificationEndpointAggregatedList] parsed result object
27567
+ # @yieldparam err [StandardError] error object if request failed
27568
+ #
27569
+ # @return [Google::Apis::ComputeAlpha::NotificationEndpointAggregatedList]
27570
+ #
27571
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
27572
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
27573
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
27574
+ def aggregated_region_notification_endpoint_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)
27575
+ command = make_simple_command(:get, 'projects/{project}/aggregated/notificationEndpoints', options)
27576
+ command.response_representation = Google::Apis::ComputeAlpha::NotificationEndpointAggregatedList::Representation
27577
+ command.response_class = Google::Apis::ComputeAlpha::NotificationEndpointAggregatedList
27578
+ command.params['project'] = project unless project.nil?
27579
+ command.query['filter'] = filter unless filter.nil?
27580
+ command.query['includeAllScopes'] = include_all_scopes unless include_all_scopes.nil?
27581
+ command.query['maxResults'] = max_results unless max_results.nil?
27582
+ command.query['orderBy'] = order_by unless order_by.nil?
27583
+ command.query['pageToken'] = page_token unless page_token.nil?
27584
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
27585
+ command.query['fields'] = fields unless fields.nil?
27586
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
27587
+ command.query['userIp'] = user_ip unless user_ip.nil?
27588
+ execute_or_queue_command(command, &block)
27589
+ end
27590
+
26460
27591
  # Deletes the specified NotificationEndpoint in the given region
26461
27592
  # @param [String] project
26462
27593
  # Project ID for this request.
@@ -26640,7 +27771,7 @@ module Google
26640
27771
  # by a previous list request to get the next page of results.
26641
27772
  # @param [Boolean] return_partial_success
26642
27773
  # Opt-in for partial success behavior which provides partial results in case of
26643
- # failure. The default value is false and the logic is the same as today.
27774
+ # failure. The default value is false.
26644
27775
  # @param [String] fields
26645
27776
  # Selector specifying which fields to include in a partial response.
26646
27777
  # @param [String] quota_user
@@ -26836,7 +27967,7 @@ module Google
26836
27967
  # by a previous list request to get the next page of results.
26837
27968
  # @param [Boolean] return_partial_success
26838
27969
  # Opt-in for partial success behavior which provides partial results in case of
26839
- # failure. The default value is false and the logic is the same as today.
27970
+ # failure. The default value is false.
26840
27971
  # @param [String] fields
26841
27972
  # Selector specifying which fields to include in a partial response.
26842
27973
  # @param [String] quota_user
@@ -27107,7 +28238,7 @@ module Google
27107
28238
  # by a previous list request to get the next page of results.
27108
28239
  # @param [Boolean] return_partial_success
27109
28240
  # Opt-in for partial success behavior which provides partial results in case of
27110
- # failure. The default value is false and the logic is the same as today.
28241
+ # failure. The default value is false.
27111
28242
  # @param [String] fields
27112
28243
  # Selector specifying which fields to include in a partial response.
27113
28244
  # @param [String] quota_user
@@ -27371,7 +28502,7 @@ module Google
27371
28502
  # by a previous list request to get the next page of results.
27372
28503
  # @param [Boolean] return_partial_success
27373
28504
  # Opt-in for partial success behavior which provides partial results in case of
27374
- # failure. The default value is false and the logic is the same as today.
28505
+ # failure. The default value is false.
27375
28506
  # @param [String] fields
27376
28507
  # Selector specifying which fields to include in a partial response.
27377
28508
  # @param [String] quota_user
@@ -27689,7 +28820,7 @@ module Google
27689
28820
  # by a previous list request to get the next page of results.
27690
28821
  # @param [Boolean] return_partial_success
27691
28822
  # Opt-in for partial success behavior which provides partial results in case of
27692
- # failure. The default value is false and the logic is the same as today.
28823
+ # failure. The default value is false.
27693
28824
  # @param [String] fields
27694
28825
  # Selector specifying which fields to include in a partial response.
27695
28826
  # @param [String] quota_user
@@ -28091,7 +29222,7 @@ module Google
28091
29222
  # by a previous list request to get the next page of results.
28092
29223
  # @param [Boolean] return_partial_success
28093
29224
  # Opt-in for partial success behavior which provides partial results in case of
28094
- # failure. The default value is false and the logic is the same as today.
29225
+ # failure. The default value is false.
28095
29226
  # @param [String] fields
28096
29227
  # Selector specifying which fields to include in a partial response.
28097
29228
  # @param [String] quota_user
@@ -28381,7 +29512,7 @@ module Google
28381
29512
  # by a previous list request to get the next page of results.
28382
29513
  # @param [Boolean] return_partial_success
28383
29514
  # Opt-in for partial success behavior which provides partial results in case of
28384
- # failure. The default value is false and the logic is the same as today.
29515
+ # failure. The default value is false.
28385
29516
  # @param [String] fields
28386
29517
  # Selector specifying which fields to include in a partial response.
28387
29518
  # @param [String] quota_user
@@ -28463,7 +29594,7 @@ module Google
28463
29594
  # by a previous list request to get the next page of results.
28464
29595
  # @param [Boolean] return_partial_success
28465
29596
  # Opt-in for partial success behavior which provides partial results in case of
28466
- # failure. The default value is false and the logic is the same as today.
29597
+ # failure. The default value is false.
28467
29598
  # @param [String] fields
28468
29599
  # Selector specifying which fields to include in a partial response.
28469
29600
  # @param [String] quota_user
@@ -28727,7 +29858,7 @@ module Google
28727
29858
  # by a previous list request to get the next page of results.
28728
29859
  # @param [Boolean] return_partial_success
28729
29860
  # Opt-in for partial success behavior which provides partial results in case of
28730
- # failure. The default value is false and the logic is the same as today.
29861
+ # failure. The default value is false.
28731
29862
  # @param [String] fields
28732
29863
  # Selector specifying which fields to include in a partial response.
28733
29864
  # @param [String] quota_user
@@ -28950,7 +30081,7 @@ module Google
28950
30081
  # by a previous list request to get the next page of results.
28951
30082
  # @param [Boolean] return_partial_success
28952
30083
  # Opt-in for partial success behavior which provides partial results in case of
28953
- # failure. The default value is false and the logic is the same as today.
30084
+ # failure. The default value is false.
28954
30085
  # @param [String] fields
28955
30086
  # Selector specifying which fields to include in a partial response.
28956
30087
  # @param [String] quota_user
@@ -29213,7 +30344,7 @@ module Google
29213
30344
  # by a previous list request to get the next page of results.
29214
30345
  # @param [Boolean] return_partial_success
29215
30346
  # Opt-in for partial success behavior which provides partial results in case of
29216
- # failure. The default value is false and the logic is the same as today.
30347
+ # failure. The default value is false.
29217
30348
  # @param [String] fields
29218
30349
  # Selector specifying which fields to include in a partial response.
29219
30350
  # @param [String] quota_user
@@ -29381,7 +30512,7 @@ module Google
29381
30512
  # by a previous list request to get the next page of results.
29382
30513
  # @param [Boolean] return_partial_success
29383
30514
  # Opt-in for partial success behavior which provides partial results in case of
29384
- # failure. The default value is false and the logic is the same as today.
30515
+ # failure. The default value is false.
29385
30516
  # @param [String] fields
29386
30517
  # Selector specifying which fields to include in a partial response.
29387
30518
  # @param [String] quota_user
@@ -29557,7 +30688,7 @@ module Google
29557
30688
  # by a previous list request to get the next page of results.
29558
30689
  # @param [Boolean] return_partial_success
29559
30690
  # Opt-in for partial success behavior which provides partial results in case of
29560
- # failure. The default value is false and the logic is the same as today.
30691
+ # failure. The default value is false.
29561
30692
  # @param [String] fields
29562
30693
  # Selector specifying which fields to include in a partial response.
29563
30694
  # @param [String] quota_user
@@ -29728,7 +30859,7 @@ module Google
29728
30859
  # by a previous list request to get the next page of results.
29729
30860
  # @param [Boolean] return_partial_success
29730
30861
  # Opt-in for partial success behavior which provides partial results in case of
29731
- # failure. The default value is false and the logic is the same as today.
30862
+ # failure. The default value is false.
29732
30863
  # @param [String] fields
29733
30864
  # Selector specifying which fields to include in a partial response.
29734
30865
  # @param [String] quota_user
@@ -30136,7 +31267,7 @@ module Google
30136
31267
  # by a previous list request to get the next page of results.
30137
31268
  # @param [Boolean] return_partial_success
30138
31269
  # Opt-in for partial success behavior which provides partial results in case of
30139
- # failure. The default value is false and the logic is the same as today.
31270
+ # failure. The default value is false.
30140
31271
  # @param [String] fields
30141
31272
  # Selector specifying which fields to include in a partial response.
30142
31273
  # @param [String] quota_user
@@ -30467,7 +31598,7 @@ module Google
30467
31598
  # by a previous list request to get the next page of results.
30468
31599
  # @param [Boolean] return_partial_success
30469
31600
  # Opt-in for partial success behavior which provides partial results in case of
30470
- # failure. The default value is false and the logic is the same as today.
31601
+ # failure. The default value is false.
30471
31602
  # @param [String] fields
30472
31603
  # Selector specifying which fields to include in a partial response.
30473
31604
  # @param [String] quota_user
@@ -30543,7 +31674,7 @@ module Google
30543
31674
  # by a previous list request to get the next page of results.
30544
31675
  # @param [Boolean] return_partial_success
30545
31676
  # Opt-in for partial success behavior which provides partial results in case of
30546
- # failure. The default value is false and the logic is the same as today.
31677
+ # failure. The default value is false.
30547
31678
  # @param [String] fields
30548
31679
  # Selector specifying which fields to include in a partial response.
30549
31680
  # @param [String] quota_user
@@ -30795,6 +31926,90 @@ module Google
30795
31926
  execute_or_queue_command(command, &block)
30796
31927
  end
30797
31928
 
31929
+ # Retrieves the list of all ServiceAttachment resources, regional and global,
31930
+ # available to the specified project.
31931
+ # @param [String] project
31932
+ # Name of the project scoping this request.
31933
+ # @param [String] filter
31934
+ # A filter expression that filters resources listed in the response. The
31935
+ # expression must specify the field name, a comparison operator, and the value
31936
+ # that you want to use for filtering. The value must be a string, a number, or a
31937
+ # boolean. The comparison operator must be either `=`, `!=`, `>`, or `<`.
31938
+ # For example, if you are filtering Compute Engine instances, you can exclude
31939
+ # instances named `example-instance` by specifying `name != example-instance`.
31940
+ # You can also filter nested fields. For example, you could specify `scheduling.
31941
+ # automaticRestart = false` to include instances only if they are not scheduled
31942
+ # for automatic restarts. You can use filtering on nested fields to filter based
31943
+ # on resource labels.
31944
+ # To filter on multiple expressions, provide each separate expression within
31945
+ # parentheses. For example: ``` (scheduling.automaticRestart = true) (
31946
+ # cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND`
31947
+ # expression. However, you can include `AND` and `OR` expressions explicitly.
31948
+ # For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel
31949
+ # Broadwell") AND (scheduling.automaticRestart = true) ```
31950
+ # @param [Boolean] include_all_scopes
31951
+ # Indicates whether every visible scope for each scope type (zone, region,
31952
+ # global) should be included in the response. For new resource types added after
31953
+ # this field, the flag has no effect as new resource types will always include
31954
+ # every visible scope for each scope type in response. For resource types which
31955
+ # predate this field, if this flag is omitted or false, only scopes of the scope
31956
+ # types where the resource type is expected to be found will be included.
31957
+ # @param [Fixnum] max_results
31958
+ # The maximum number of results per page that should be returned. If the number
31959
+ # of available results is larger than `maxResults`, Compute Engine returns a `
31960
+ # nextPageToken` that can be used to get the next page of results in subsequent
31961
+ # list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
31962
+ # @param [String] order_by
31963
+ # Sorts list results by a certain order. By default, results are returned in
31964
+ # alphanumerical order based on the resource name.
31965
+ # You can also sort results in descending order based on the creation timestamp
31966
+ # using `orderBy="creationTimestamp desc"`. This sorts results based on the `
31967
+ # creationTimestamp` field in reverse chronological order (newest result first).
31968
+ # Use this to sort resources like operations so that the newest operation is
31969
+ # returned first.
31970
+ # Currently, only sorting by `name` or `creationTimestamp desc` is supported.
31971
+ # @param [String] page_token
31972
+ # Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
31973
+ # by a previous list request to get the next page of results.
31974
+ # @param [Boolean] return_partial_success
31975
+ # Opt-in for partial success behavior which provides partial results in case of
31976
+ # failure. The default value is false.
31977
+ # @param [String] fields
31978
+ # Selector specifying which fields to include in a partial response.
31979
+ # @param [String] quota_user
31980
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
31981
+ # characters.
31982
+ # @param [String] user_ip
31983
+ # Deprecated. Please use quotaUser instead.
31984
+ # @param [Google::Apis::RequestOptions] options
31985
+ # Request-specific options
31986
+ #
31987
+ # @yield [result, err] Result & error if block supplied
31988
+ # @yieldparam result [Google::Apis::ComputeAlpha::ServiceAttachmentAggregatedList] parsed result object
31989
+ # @yieldparam err [StandardError] error object if request failed
31990
+ #
31991
+ # @return [Google::Apis::ComputeAlpha::ServiceAttachmentAggregatedList]
31992
+ #
31993
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
31994
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
31995
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
31996
+ def aggregated_service_attachment_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
31997
+ command = make_simple_command(:get, 'projects/{project}/aggregated/serviceAttachments', options)
31998
+ command.response_representation = Google::Apis::ComputeAlpha::ServiceAttachmentAggregatedList::Representation
31999
+ command.response_class = Google::Apis::ComputeAlpha::ServiceAttachmentAggregatedList
32000
+ command.params['project'] = project unless project.nil?
32001
+ command.query['filter'] = filter unless filter.nil?
32002
+ command.query['includeAllScopes'] = include_all_scopes unless include_all_scopes.nil?
32003
+ command.query['maxResults'] = max_results unless max_results.nil?
32004
+ command.query['orderBy'] = order_by unless order_by.nil?
32005
+ command.query['pageToken'] = page_token unless page_token.nil?
32006
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
32007
+ command.query['fields'] = fields unless fields.nil?
32008
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
32009
+ command.query['userIp'] = user_ip unless user_ip.nil?
32010
+ execute_or_queue_command(command, &block)
32011
+ end
32012
+
30798
32013
  # Deletes the specified ServiceAttachment in the given scope
30799
32014
  # @param [String] project
30800
32015
  # Project ID for this request.
@@ -31021,7 +32236,7 @@ module Google
31021
32236
  # by a previous list request to get the next page of results.
31022
32237
  # @param [Boolean] return_partial_success
31023
32238
  # Opt-in for partial success behavior which provides partial results in case of
31024
- # failure. The default value is false and the logic is the same as today.
32239
+ # failure. The default value is false.
31025
32240
  # @param [String] fields
31026
32241
  # Selector specifying which fields to include in a partial response.
31027
32242
  # @param [String] quota_user
@@ -31361,7 +32576,7 @@ module Google
31361
32576
  # by a previous list request to get the next page of results.
31362
32577
  # @param [Boolean] return_partial_success
31363
32578
  # Opt-in for partial success behavior which provides partial results in case of
31364
- # failure. The default value is false and the logic is the same as today.
32579
+ # failure. The default value is false.
31365
32580
  # @param [String] fields
31366
32581
  # Selector specifying which fields to include in a partial response.
31367
32582
  # @param [String] quota_user
@@ -31563,7 +32778,7 @@ module Google
31563
32778
  # by a previous list request to get the next page of results.
31564
32779
  # @param [Boolean] return_partial_success
31565
32780
  # Opt-in for partial success behavior which provides partial results in case of
31566
- # failure. The default value is false and the logic is the same as today.
32781
+ # failure. The default value is false.
31567
32782
  # @param [String] fields
31568
32783
  # Selector specifying which fields to include in a partial response.
31569
32784
  # @param [String] quota_user
@@ -31774,7 +32989,7 @@ module Google
31774
32989
  # by a previous list request to get the next page of results.
31775
32990
  # @param [Boolean] return_partial_success
31776
32991
  # Opt-in for partial success behavior which provides partial results in case of
31777
- # failure. The default value is false and the logic is the same as today.
32992
+ # failure. The default value is false.
31778
32993
  # @param [String] fields
31779
32994
  # Selector specifying which fields to include in a partial response.
31780
32995
  # @param [String] quota_user
@@ -32024,7 +33239,7 @@ module Google
32024
33239
  # by a previous list request to get the next page of results.
32025
33240
  # @param [Boolean] return_partial_success
32026
33241
  # Opt-in for partial success behavior which provides partial results in case of
32027
- # failure. The default value is false and the logic is the same as today.
33242
+ # failure. The default value is false.
32028
33243
  # @param [String] fields
32029
33244
  # Selector specifying which fields to include in a partial response.
32030
33245
  # @param [String] quota_user
@@ -32100,7 +33315,7 @@ module Google
32100
33315
  # by a previous list request to get the next page of results.
32101
33316
  # @param [Boolean] return_partial_success
32102
33317
  # Opt-in for partial success behavior which provides partial results in case of
32103
- # failure. The default value is false and the logic is the same as today.
33318
+ # failure. The default value is false.
32104
33319
  # @param [String] fields
32105
33320
  # Selector specifying which fields to include in a partial response.
32106
33321
  # @param [String] quota_user
@@ -32273,7 +33488,7 @@ module Google
32273
33488
  # by a previous list request to get the next page of results.
32274
33489
  # @param [Boolean] return_partial_success
32275
33490
  # Opt-in for partial success behavior which provides partial results in case of
32276
- # failure. The default value is false and the logic is the same as today.
33491
+ # failure. The default value is false.
32277
33492
  # @param [String] fields
32278
33493
  # Selector specifying which fields to include in a partial response.
32279
33494
  # @param [String] quota_user
@@ -32591,7 +33806,7 @@ module Google
32591
33806
  # by a previous list request to get the next page of results.
32592
33807
  # @param [Boolean] return_partial_success
32593
33808
  # Opt-in for partial success behavior which provides partial results in case of
32594
- # failure. The default value is false and the logic is the same as today.
33809
+ # failure. The default value is false.
32595
33810
  # @param [String] fields
32596
33811
  # Selector specifying which fields to include in a partial response.
32597
33812
  # @param [String] quota_user
@@ -32667,7 +33882,7 @@ module Google
32667
33882
  # by a previous list request to get the next page of results.
32668
33883
  # @param [Boolean] return_partial_success
32669
33884
  # Opt-in for partial success behavior which provides partial results in case of
32670
- # failure. The default value is false and the logic is the same as today.
33885
+ # failure. The default value is false.
32671
33886
  # @param [String] fields
32672
33887
  # Selector specifying which fields to include in a partial response.
32673
33888
  # @param [String] quota_user
@@ -33081,7 +34296,7 @@ module Google
33081
34296
  # by a previous list request to get the next page of results.
33082
34297
  # @param [Boolean] return_partial_success
33083
34298
  # Opt-in for partial success behavior which provides partial results in case of
33084
- # failure. The default value is false and the logic is the same as today.
34299
+ # failure. The default value is false.
33085
34300
  # @param [String] fields
33086
34301
  # Selector specifying which fields to include in a partial response.
33087
34302
  # @param [String] quota_user
@@ -33256,7 +34471,7 @@ module Google
33256
34471
  # by a previous list request to get the next page of results.
33257
34472
  # @param [Boolean] return_partial_success
33258
34473
  # Opt-in for partial success behavior which provides partial results in case of
33259
- # failure. The default value is false and the logic is the same as today.
34474
+ # failure. The default value is false.
33260
34475
  # @param [String] fields
33261
34476
  # Selector specifying which fields to include in a partial response.
33262
34477
  # @param [String] quota_user
@@ -33467,7 +34682,7 @@ module Google
33467
34682
  # by a previous list request to get the next page of results.
33468
34683
  # @param [Boolean] return_partial_success
33469
34684
  # Opt-in for partial success behavior which provides partial results in case of
33470
- # failure. The default value is false and the logic is the same as today.
34685
+ # failure. The default value is false.
33471
34686
  # @param [String] fields
33472
34687
  # Selector specifying which fields to include in a partial response.
33473
34688
  # @param [String] quota_user
@@ -33693,7 +34908,7 @@ module Google
33693
34908
  # by a previous list request to get the next page of results.
33694
34909
  # @param [Boolean] return_partial_success
33695
34910
  # Opt-in for partial success behavior which provides partial results in case of
33696
- # failure. The default value is false and the logic is the same as today.
34911
+ # failure. The default value is false.
33697
34912
  # @param [String] fields
33698
34913
  # Selector specifying which fields to include in a partial response.
33699
34914
  # @param [String] quota_user
@@ -33904,7 +35119,7 @@ module Google
33904
35119
  # by a previous list request to get the next page of results.
33905
35120
  # @param [Boolean] return_partial_success
33906
35121
  # Opt-in for partial success behavior which provides partial results in case of
33907
- # failure. The default value is false and the logic is the same as today.
35122
+ # failure. The default value is false.
33908
35123
  # @param [String] fields
33909
35124
  # Selector specifying which fields to include in a partial response.
33910
35125
  # @param [String] quota_user
@@ -34339,7 +35554,7 @@ module Google
34339
35554
  # by a previous list request to get the next page of results.
34340
35555
  # @param [Boolean] return_partial_success
34341
35556
  # Opt-in for partial success behavior which provides partial results in case of
34342
- # failure. The default value is false and the logic is the same as today.
35557
+ # failure. The default value is false.
34343
35558
  # @param [String] fields
34344
35559
  # Selector specifying which fields to include in a partial response.
34345
35560
  # @param [String] quota_user
@@ -34561,7 +35776,7 @@ module Google
34561
35776
  # by a previous list request to get the next page of results.
34562
35777
  # @param [Boolean] return_partial_success
34563
35778
  # Opt-in for partial success behavior which provides partial results in case of
34564
- # failure. The default value is false and the logic is the same as today.
35779
+ # failure. The default value is false.
34565
35780
  # @param [String] fields
34566
35781
  # Selector specifying which fields to include in a partial response.
34567
35782
  # @param [String] quota_user
@@ -34794,7 +36009,7 @@ module Google
34794
36009
  # by a previous list request to get the next page of results.
34795
36010
  # @param [Boolean] return_partial_success
34796
36011
  # Opt-in for partial success behavior which provides partial results in case of
34797
- # failure. The default value is false and the logic is the same as today.
36012
+ # failure. The default value is false.
34798
36013
  # @param [String] fields
34799
36014
  # Selector specifying which fields to include in a partial response.
34800
36015
  # @param [String] quota_user
@@ -35058,7 +36273,7 @@ module Google
35058
36273
  # by a previous list request to get the next page of results.
35059
36274
  # @param [Boolean] return_partial_success
35060
36275
  # Opt-in for partial success behavior which provides partial results in case of
35061
- # failure. The default value is false and the logic is the same as today.
36276
+ # failure. The default value is false.
35062
36277
  # @param [String] fields
35063
36278
  # Selector specifying which fields to include in a partial response.
35064
36279
  # @param [String] quota_user
@@ -35476,7 +36691,7 @@ module Google
35476
36691
  # by a previous list request to get the next page of results.
35477
36692
  # @param [Boolean] return_partial_success
35478
36693
  # Opt-in for partial success behavior which provides partial results in case of
35479
- # failure. The default value is false and the logic is the same as today.
36694
+ # failure. The default value is false.
35480
36695
  # @param [String] fields
35481
36696
  # Selector specifying which fields to include in a partial response.
35482
36697
  # @param [String] quota_user
@@ -35985,7 +37200,7 @@ module Google
35985
37200
  # by a previous list request to get the next page of results.
35986
37201
  # @param [Boolean] return_partial_success
35987
37202
  # Opt-in for partial success behavior which provides partial results in case of
35988
- # failure. The default value is false and the logic is the same as today.
37203
+ # failure. The default value is false.
35989
37204
  # @param [String] fields
35990
37205
  # Selector specifying which fields to include in a partial response.
35991
37206
  # @param [String] quota_user
@@ -36208,7 +37423,7 @@ module Google
36208
37423
  # by a previous list request to get the next page of results.
36209
37424
  # @param [Boolean] return_partial_success
36210
37425
  # Opt-in for partial success behavior which provides partial results in case of
36211
- # failure. The default value is false and the logic is the same as today.
37426
+ # failure. The default value is false.
36212
37427
  # @param [String] fields
36213
37428
  # Selector specifying which fields to include in a partial response.
36214
37429
  # @param [String] quota_user
@@ -36430,7 +37645,7 @@ module Google
36430
37645
  # by a previous list request to get the next page of results.
36431
37646
  # @param [Boolean] return_partial_success
36432
37647
  # Opt-in for partial success behavior which provides partial results in case of
36433
- # failure. The default value is false and the logic is the same as today.
37648
+ # failure. The default value is false.
36434
37649
  # @param [String] fields
36435
37650
  # Selector specifying which fields to include in a partial response.
36436
37651
  # @param [String] quota_user
@@ -36611,7 +37826,7 @@ module Google
36611
37826
  # by a previous list request to get the next page of results.
36612
37827
  # @param [Boolean] return_partial_success
36613
37828
  # Opt-in for partial success behavior which provides partial results in case of
36614
- # failure. The default value is false and the logic is the same as today.
37829
+ # failure. The default value is false.
36615
37830
  # @param [String] fields
36616
37831
  # Selector specifying which fields to include in a partial response.
36617
37832
  # @param [String] quota_user
@@ -36875,7 +38090,7 @@ module Google
36875
38090
  # by a previous list request to get the next page of results.
36876
38091
  # @param [Boolean] return_partial_success
36877
38092
  # Opt-in for partial success behavior which provides partial results in case of
36878
- # failure. The default value is false and the logic is the same as today.
38093
+ # failure. The default value is false.
36879
38094
  # @param [String] fields
36880
38095
  # Selector specifying which fields to include in a partial response.
36881
38096
  # @param [String] quota_user
@@ -37140,7 +38355,7 @@ module Google
37140
38355
  # by a previous list request to get the next page of results.
37141
38356
  # @param [Boolean] return_partial_success
37142
38357
  # Opt-in for partial success behavior which provides partial results in case of
37143
- # failure. The default value is false and the logic is the same as today.
38358
+ # failure. The default value is false.
37144
38359
  # @param [String] fields
37145
38360
  # Selector specifying which fields to include in a partial response.
37146
38361
  # @param [String] quota_user
@@ -37400,7 +38615,7 @@ module Google
37400
38615
  # by a previous list request to get the next page of results.
37401
38616
  # @param [Boolean] return_partial_success
37402
38617
  # Opt-in for partial success behavior which provides partial results in case of
37403
- # failure. The default value is false and the logic is the same as today.
38618
+ # failure. The default value is false.
37404
38619
  # @param [String] fields
37405
38620
  # Selector specifying which fields to include in a partial response.
37406
38621
  # @param [String] quota_user
@@ -37580,7 +38795,7 @@ module Google
37580
38795
  # by a previous list request to get the next page of results.
37581
38796
  # @param [Boolean] return_partial_success
37582
38797
  # Opt-in for partial success behavior which provides partial results in case of
37583
- # failure. The default value is false and the logic is the same as today.
38798
+ # failure. The default value is false.
37584
38799
  # @param [String] fields
37585
38800
  # Selector specifying which fields to include in a partial response.
37586
38801
  # @param [String] quota_user
@@ -37802,7 +39017,7 @@ module Google
37802
39017
  # by a previous list request to get the next page of results.
37803
39018
  # @param [Boolean] return_partial_success
37804
39019
  # Opt-in for partial success behavior which provides partial results in case of
37805
- # failure. The default value is false and the logic is the same as today.
39020
+ # failure. The default value is false.
37806
39021
  # @param [String] fields
37807
39022
  # Selector specifying which fields to include in a partial response.
37808
39023
  # @param [String] quota_user
@@ -38167,7 +39382,7 @@ module Google
38167
39382
  # by a previous list request to get the next page of results.
38168
39383
  # @param [Boolean] return_partial_success
38169
39384
  # Opt-in for partial success behavior which provides partial results in case of
38170
- # failure. The default value is false and the logic is the same as today.
39385
+ # failure. The default value is false.
38171
39386
  # @param [String] fields
38172
39387
  # Selector specifying which fields to include in a partial response.
38173
39388
  # @param [String] quota_user
@@ -38630,7 +39845,7 @@ module Google
38630
39845
  # by a previous list request to get the next page of results.
38631
39846
  # @param [Boolean] return_partial_success
38632
39847
  # Opt-in for partial success behavior which provides partial results in case of
38633
- # failure. The default value is false and the logic is the same as today.
39848
+ # failure. The default value is false.
38634
39849
  # @param [String] fields
38635
39850
  # Selector specifying which fields to include in a partial response.
38636
39851
  # @param [String] quota_user
@@ -38924,7 +40139,7 @@ module Google
38924
40139
  # by a previous list request to get the next page of results.
38925
40140
  # @param [Boolean] return_partial_success
38926
40141
  # Opt-in for partial success behavior which provides partial results in case of
38927
- # failure. The default value is false and the logic is the same as today.
40142
+ # failure. The default value is false.
38928
40143
  # @param [String] fields
38929
40144
  # Selector specifying which fields to include in a partial response.
38930
40145
  # @param [String] quota_user
@@ -39086,7 +40301,7 @@ module Google
39086
40301
  # by a previous list request to get the next page of results.
39087
40302
  # @param [Boolean] return_partial_success
39088
40303
  # Opt-in for partial success behavior which provides partial results in case of
39089
- # failure. The default value is false and the logic is the same as today.
40304
+ # failure. The default value is false.
39090
40305
  # @param [String] fields
39091
40306
  # Selector specifying which fields to include in a partial response.
39092
40307
  # @param [String] quota_user