class Google::Apis::SqladminV1beta4::AclEntry

An entry for an Access Control list.

Attributes

expiration_time[RW]

The time when this access control entry expires in RFC 3339 format, for example 2012-11-15T16:19:00.094Z. Corresponds to the JSON property `expirationTime` @return [String]

kind[RW]

This is always *sql#aclEntry*. Corresponds to the JSON property `kind` @return [String]

name[RW]

Optional. A label to identify this entry. Corresponds to the JSON property `name` @return [String]

value[RW]

The allowlisted value for the access control list. Corresponds to the JSON property `value` @return [String]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/sqladmin_v1beta4/classes.rb, line 55
def update!(**args)
  @expiration_time = args[:expiration_time] if args.key?(:expiration_time)
  @kind = args[:kind] if args.key?(:kind)
  @name = args[:name] if args.key?(:name)
  @value = args[:value] if args.key?(:value)
end