class Google::Apis::SpannerV1::TestIamPermissionsRequest

Request message for `TestIamPermissions` method.

Attributes

permissions[RW]

REQUIRED: The set of permissions to check for 'resource'. Permissions with wildcards (such as '*', 'spanner.*', 'spanner.instances.*') are not allowed. Corresponds to the JSON property `permissions` @return [Array<String>]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/spanner_v1/classes.rb, line 3953
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/spanner_v1/classes.rb, line 3958
def update!(**args)
  @permissions = args[:permissions] if args.key?(:permissions)
end