class Google::Apis::ComputeV1::TestPermissionsRequest

Attributes

permissions[RW]

The set of permissions to check for the 'resource'. Permissions with wildcards (such as '*' or 'storage.*') 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/compute_v1/classes.rb, line 35400
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

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