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.
742 743 744 |
# File 'lib/google/apis/looker_v1/classes.rb', line 742 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
718 719 720 |
# File 'lib/google/apis/looker_v1/classes.rb', line 718 def create_time @create_time end |
#encryption_config ⇒ Google::Apis::LookerV1::EncryptionConfig
Encryption configuration (i.e. CMEK).
Corresponds to the JSON property encryptionConfig
723 724 725 |
# File 'lib/google/apis/looker_v1/classes.rb', line 723 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
728 729 730 |
# File 'lib/google/apis/looker_v1/classes.rb', line 728 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`
735 736 737 |
# File 'lib/google/apis/looker_v1/classes.rb', line 735 def name @name end |
#state ⇒ String
Output only. The current state of the backup.
Corresponds to the JSON property state
740 741 742 |
# File 'lib/google/apis/looker_v1/classes.rb', line 740 def state @state end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
747 748 749 750 751 752 753 |
# File 'lib/google/apis/looker_v1/classes.rb', line 747 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 |