generated/google/apis/cloudtasks_v2beta3/classes.rb in google-api-client-0.30.8 vs generated/google/apis/cloudtasks_v2beta3/classes.rb in google-api-client-0.30.9
- old
+ new
@@ -389,11 +389,11 @@
# * `allUsers`: A special identifier that represents anyone who is
# on the internet; with or without a Google account.
# * `allAuthenticatedUsers`: A special identifier that represents anyone
# who is authenticated with a Google account or a service account.
# * `user:`emailid``: An email address that represents a specific Google
- # account. For example, `alice@gmail.com` .
+ # account. For example, `alice@example.com` .
# * `serviceAccount:`emailid``: An email address that represents a service
# account. For example, `my-other-app@appspot.gserviceaccount.com`.
# * `group:`emailid``: An email address that represents a Google group.
# For example, `admins@example.com`.
# * `domain:`domain``: The G Suite domain (primary) that represents all the
@@ -522,19 +522,47 @@
# Request message for `GetIamPolicy` method.
class GetIamPolicyRequest
include Google::Apis::Core::Hashable
+ # Encapsulates settings provided to GetIamPolicy.
+ # Corresponds to the JSON property `options`
+ # @return [Google::Apis::CloudtasksV2beta3::GetPolicyOptions]
+ attr_accessor :options
+
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
+ @options = args[:options] if args.key?(:options)
end
end
+ # Encapsulates settings provided to GetIamPolicy.
+ class GetPolicyOptions
+ include Google::Apis::Core::Hashable
+
+ # Optional. The policy format version to be returned.
+ # Acceptable values are 0, 1, and 3.
+ # If the value is 0, or the field is omitted, policy format version 1 will be
+ # returned.
+ # Corresponds to the JSON property `requestedPolicyVersion`
+ # @return [Fixnum]
+ attr_accessor :requested_policy_version
+
+ def initialize(**args)
+ update!(**args)
+ end
+
+ # Update properties of this object
+ def update!(**args)
+ @requested_policy_version = args[:requested_policy_version] if args.key?(:requested_policy_version)
+ end
+ end
+
# HTTP request.
# The task will be pushed to the worker as an HTTP request. If the worker
# or the redirected worker acknowledges the task by returning a successful HTTP
# response code ([`200` - `299`]), the task will removed from the queue. If
# any other HTTP response code is returned or no response is received, the
@@ -906,10 +934,10 @@
# read-modify-write cycle to perform policy updates in order to avoid race
# conditions: An `etag` is returned in the response to `getIamPolicy`, and
# systems are expected to put that etag in the request to `setIamPolicy` to
# ensure that their change will be applied to the same version of the policy.
# If no `etag` is provided in the call to `setIamPolicy`, then the existing
- # policy is overwritten blindly.
+ # policy is overwritten.
# Corresponds to the JSON property `etag`
# NOTE: Values are automatically base64 encoded/decoded in the client library.
# @return [String]
attr_accessor :etag