Class: Google::Apis::RedisV1beta1::AclPolicy
- Inherits:
-
Object
- Object
- Google::Apis::RedisV1beta1::AclPolicy
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/redis_v1beta1/classes.rb,
lib/google/apis/redis_v1beta1/representations.rb,
lib/google/apis/redis_v1beta1/representations.rb
Overview
The ACL policy resource.
Instance Attribute Summary collapse
-
#cluster_acl_policy_attachments ⇒ Array<Google::Apis::RedisV1beta1::ClusterAclPolicyAttachment>
Output only.
-
#create_time ⇒ String
Output only.
-
#etag ⇒ String
Output only.
-
#name ⇒ String
Identifier.
-
#rules ⇒ Array<Google::Apis::RedisV1beta1::AclRule>
Required.
-
#state ⇒ String
Output only.
-
#update_time ⇒ String
Output only.
-
#version ⇒ Fixnum
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AclPolicy
constructor
A new instance of AclPolicy.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AclPolicy
Returns a new instance of AclPolicy.
88 89 90 |
# File 'lib/google/apis/redis_v1beta1/classes.rb', line 88 def initialize(**args) update!(**args) end |
Instance Attribute Details
#cluster_acl_policy_attachments ⇒ Array<Google::Apis::RedisV1beta1::ClusterAclPolicyAttachment>
Output only. The ACL policy attachment status for each attached cluster.
Corresponds to the JSON property clusterAclPolicyAttachments
51 52 53 |
# File 'lib/google/apis/redis_v1beta1/classes.rb', line 51 def @cluster_acl_policy_attachments end |
#create_time ⇒ String
Output only. The timestamp that the ACL policy was created.
Corresponds to the JSON property createTime
56 57 58 |
# File 'lib/google/apis/redis_v1beta1/classes.rb', line 56 def create_time @create_time end |
#etag ⇒ String
Output only. Etag for the ACL policy.
Corresponds to the JSON property etag
61 62 63 |
# File 'lib/google/apis/redis_v1beta1/classes.rb', line 61 def etag @etag end |
#name ⇒ String
Identifier. Full resource path of the ACL policy.
Corresponds to the JSON property name
66 67 68 |
# File 'lib/google/apis/redis_v1beta1/classes.rb', line 66 def name @name end |
#rules ⇒ Array<Google::Apis::RedisV1beta1::AclRule>
Required. The ACL rules within the ACL policy.
Corresponds to the JSON property rules
71 72 73 |
# File 'lib/google/apis/redis_v1beta1/classes.rb', line 71 def rules @rules end |
#state ⇒ String
Output only. The state of the ACL policy.
Corresponds to the JSON property state
76 77 78 |
# File 'lib/google/apis/redis_v1beta1/classes.rb', line 76 def state @state end |
#update_time ⇒ String
Output only. The timestamp that the ACL policy was last updated.
Corresponds to the JSON property updateTime
81 82 83 |
# File 'lib/google/apis/redis_v1beta1/classes.rb', line 81 def update_time @update_time end |
#version ⇒ Fixnum
Output only. Deprecated: Used in drift resolution.
Corresponds to the JSON property version
86 87 88 |
# File 'lib/google/apis/redis_v1beta1/classes.rb', line 86 def version @version end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
93 94 95 96 97 98 99 100 101 102 |
# File 'lib/google/apis/redis_v1beta1/classes.rb', line 93 def update!(**args) @cluster_acl_policy_attachments = args[:cluster_acl_policy_attachments] if args.key?(:cluster_acl_policy_attachments) @create_time = args[:create_time] if args.key?(:create_time) @etag = args[:etag] if args.key?(:etag) @name = args[:name] if args.key?(:name) @rules = args[:rules] if args.key?(:rules) @state = args[:state] if args.key?(:state) @update_time = args[:update_time] if args.key?(:update_time) @version = args[:version] if args.key?(:version) end |