Class: Google::Apis::SqladminV1beta4::AclEntry
- Inherits:
-
Object
- Object
- Google::Apis::SqladminV1beta4::AclEntry
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/sqladmin_v1beta4/classes.rb,
generated/google/apis/sqladmin_v1beta4/representations.rb,
generated/google/apis/sqladmin_v1beta4/representations.rb
Overview
An entry for an Access Control list.
Instance Attribute Summary collapse
-
#expiration_time ⇒ DateTime
The time when this access control entry expires in RFC 3339 format, for example 2012-11-15T16:19:00.094Z.
-
#kind ⇒ String
This is always sql#aclEntry.
-
#name ⇒ String
An optional label to identify this entry.
-
#value ⇒ String
The whitelisted value for the access control list.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AclEntry
constructor
A new instance of AclEntry.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ AclEntry
Returns a new instance of AclEntry
50 51 52 |
# File 'generated/google/apis/sqladmin_v1beta4/classes.rb', line 50 def initialize(**args) update!(**args) end |
Instance Attribute Details
#expiration_time ⇒ DateTime
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
33 34 35 |
# File 'generated/google/apis/sqladmin_v1beta4/classes.rb', line 33 def expiration_time @expiration_time end |
#kind ⇒ String
This is always sql#aclEntry.
Corresponds to the JSON property kind
38 39 40 |
# File 'generated/google/apis/sqladmin_v1beta4/classes.rb', line 38 def kind @kind end |
#name ⇒ String
An optional label to identify this entry.
Corresponds to the JSON property name
43 44 45 |
# File 'generated/google/apis/sqladmin_v1beta4/classes.rb', line 43 def name @name end |
#value ⇒ String
The whitelisted value for the access control list.
Corresponds to the JSON property value
48 49 50 |
# File 'generated/google/apis/sqladmin_v1beta4/classes.rb', line 48 def value @value end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
55 56 57 58 59 60 |
# File 'generated/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 |