Class: Google::Apis::DatamigrationV1beta1::SqlAclEntry

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/datamigration_v1beta1/classes.rb,
generated/google/apis/datamigration_v1beta1/representations.rb,
generated/google/apis/datamigration_v1beta1/representations.rb

Overview

An entry for an Access Control list.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SqlAclEntry

Returns a new instance of SqlAclEntry.



1338
1339
1340
# File 'generated/google/apis/datamigration_v1beta1/classes.rb', line 1338

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#expire_timeString

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 expireTime

Returns:

  • (String)


1321
1322
1323
# File 'generated/google/apis/datamigration_v1beta1/classes.rb', line 1321

def expire_time
  @expire_time
end

#labelString

A label to identify this entry. Corresponds to the JSON property label

Returns:

  • (String)


1326
1327
1328
# File 'generated/google/apis/datamigration_v1beta1/classes.rb', line 1326

def label
  @label
end

#ttlString

Input only. The time-to-leave of this access control entry. Corresponds to the JSON property ttl

Returns:

  • (String)


1331
1332
1333
# File 'generated/google/apis/datamigration_v1beta1/classes.rb', line 1331

def ttl
  @ttl
end

#valueString

The allowlisted value for the access control list. Corresponds to the JSON property value

Returns:

  • (String)


1336
1337
1338
# File 'generated/google/apis/datamigration_v1beta1/classes.rb', line 1336

def value
  @value
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1343
1344
1345
1346
1347
1348
# File 'generated/google/apis/datamigration_v1beta1/classes.rb', line 1343

def update!(**args)
  @expire_time = args[:expire_time] if args.key?(:expire_time)
  @label = args[:label] if args.key?(:label)
  @ttl = args[:ttl] if args.key?(:ttl)
  @value = args[:value] if args.key?(:value)
end