Class: Google::Apis::LookerV1::InstanceBackup
- Inherits:
-
Object
- Object
- Google::Apis::LookerV1::InstanceBackup
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/looker_v1/classes.rb,
lib/google/apis/looker_v1/representations.rb,
lib/google/apis/looker_v1/representations.rb
Overview
The details of a backup resource.
Instance Attribute Summary collapse
-
#create_time ⇒ String
Output only.
-
#encryption_config ⇒ Google::Apis::LookerV1::EncryptionConfig
Encryption configuration (i.e. CMEK).
-
#expire_time ⇒ String
Output only.
-
#name ⇒ String
Immutable.
-
#state ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ InstanceBackup
constructor
A new instance of InstanceBackup.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ InstanceBackup
Returns a new instance of InstanceBackup.
774 775 776 |
# File 'lib/google/apis/looker_v1/classes.rb', line 774 def initialize(**args) update!(**args) end |
Instance Attribute Details
#create_time ⇒ String
Output only. The time when the backup was started.
Corresponds to the JSON property createTime
750 751 752 |
# File 'lib/google/apis/looker_v1/classes.rb', line 750 def create_time @create_time end |
#encryption_config ⇒ Google::Apis::LookerV1::EncryptionConfig
Encryption configuration (i.e. CMEK).
Corresponds to the JSON property encryptionConfig
755 756 757 |
# File 'lib/google/apis/looker_v1/classes.rb', line 755 def encryption_config @encryption_config end |
#expire_time ⇒ String
Output only. The time when the backup will be deleted.
Corresponds to the JSON property expireTime
760 761 762 |
# File 'lib/google/apis/looker_v1/classes.rb', line 760 def expire_time @expire_time end |
#name ⇒ String
Immutable. The relative resource name of the backup, in the following form:
projects/project_number/locations/location_id/instances/instance_id/
backups/backup`
Corresponds to the JSON propertyname`
767 768 769 |
# File 'lib/google/apis/looker_v1/classes.rb', line 767 def name @name end |
#state ⇒ String
Output only. The current state of the backup.
Corresponds to the JSON property state
772 773 774 |
# File 'lib/google/apis/looker_v1/classes.rb', line 772 def state @state end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
779 780 781 782 783 784 785 |
# File 'lib/google/apis/looker_v1/classes.rb', line 779 def update!(**args) @create_time = args[:create_time] if args.key?(:create_time) @encryption_config = args[:encryption_config] if args.key?(:encryption_config) @expire_time = args[:expire_time] if args.key?(:expire_time) @name = args[:name] if args.key?(:name) @state = args[:state] if args.key?(:state) end |