Class: Google::Apis::SqlV1beta4::AclEntry
- Inherits:
-
Object
- Object
- Google::Apis::SqlV1beta4::AclEntry
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/sql_v1beta4/classes.rb,
generated/google/apis/sql_v1beta4/representations.rb,
generated/google/apis/sql_v1beta4/representations.rb
Overview
An entry for an Access Control list.
Instance Attribute Summary collapse
-
#expiration_time ⇒ String
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
Optional.
-
#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.
51 52 53 |
# File 'generated/google/apis/sql_v1beta4/classes.rb', line 51 def initialize(**args) update!(**args) end |
Instance Attribute Details
#expiration_time ⇒ String
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
34 35 36 |
# File 'generated/google/apis/sql_v1beta4/classes.rb', line 34 def expiration_time @expiration_time end |
#kind ⇒ String
This is always sql#aclEntry
.
Corresponds to the JSON property kind
39 40 41 |
# File 'generated/google/apis/sql_v1beta4/classes.rb', line 39 def kind @kind end |
#name ⇒ String
Optional. A label to identify this entry.
Corresponds to the JSON property name
44 45 46 |
# File 'generated/google/apis/sql_v1beta4/classes.rb', line 44 def name @name end |
#value ⇒ String
The whitelisted value for the access control list.
Corresponds to the JSON property value
49 50 51 |
# File 'generated/google/apis/sql_v1beta4/classes.rb', line 49 def value @value end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
56 57 58 59 60 61 |
# File 'generated/google/apis/sql_v1beta4/classes.rb', line 56 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 |