lib/google/cloud/compute/v1/security_policies/rest/client.rb in google-cloud-compute-v1-2.3.0 vs lib/google/cloud/compute/v1/security_policies/rest/client.rb in google-cloud-compute-v1-2.4.0
- old
+ new
@@ -761,11 +761,11 @@
rescue ::Gapic::Rest::Error => e
raise ::Google::Cloud::Error.from_error(e)
end
##
- # Patches the specified policy with the data included in the request. To clear fields in the rule, leave the fields empty and specify them in the updateMask. This cannot be used to be update the rules in the policy. Please use the per rule methods like addRule, patchRule, and removeRule instead.
+ # Patches the specified policy with the data included in the request. To clear fields in the policy, leave the fields empty and specify them in the updateMask. This cannot be used to be update the rules in the policy. Please use the per rule methods like addRule, patchRule, and removeRule instead.
#
# @overload patch(request, options = nil)
# Pass arguments to `patch` via a request object, either of type
# {::Google::Cloud::Compute::V1::PatchSecurityPolicyRequest} or an equivalent Hash.
#
@@ -837,10 +837,10 @@
rescue ::Gapic::Rest::Error => e
raise ::Google::Cloud::Error.from_error(e)
end
##
- # Patches a rule at the specified priority.
+ # Patches a rule at the specified priority. To clear fields in the rule, leave the fields empty and specify them in the updateMask.
#
# @overload patch_rule(request, options = nil)
# Pass arguments to `patch_rule` via a request object, either of type
# {::Google::Cloud::Compute::V1::PatchRuleSecurityPolicyRequest} or an equivalent Hash.
#