proto_docs/google/iam/v1/iam_policy.rb in google-cloud-tasks-v2-0.4.6 vs proto_docs/google/iam/v1/iam_policy.rb in google-cloud-tasks-v2-0.5.0
- old
+ new
@@ -29,10 +29,17 @@
# @return [::Google::Iam::V1::Policy]
# REQUIRED: The complete policy to be applied to the `resource`. The size of
# the policy is limited to a few 10s of KB. An empty policy is a
# valid policy but certain Cloud Platform services (such as Projects)
# might reject them.
+ # @!attribute [rw] update_mask
+ # @return [::Google::Protobuf::FieldMask]
+ # OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only
+ # the fields in the mask will be modified. If no mask is provided, the
+ # following default mask is used:
+ #
+ # `paths: "bindings, etag"`
class SetIamPolicyRequest
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
end
@@ -42,10 +49,10 @@
# REQUIRED: The resource for which the policy is being requested.
# See the operation documentation for the appropriate value for this field.
# @!attribute [rw] options
# @return [::Google::Iam::V1::GetPolicyOptions]
# OPTIONAL: A `GetPolicyOptions` object for specifying options to
- # `GetIamPolicy`. This field is only used by Cloud IAM.
+ # `GetIamPolicy`.
class GetIamPolicyRequest
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
end