Class: Google::Apis::ManagedidentitiesV1beta1::Backup
- Inherits:
-
Object
- Object
- Google::Apis::ManagedidentitiesV1beta1::Backup
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/managedidentities_v1beta1/classes.rb,
lib/google/apis/managedidentities_v1beta1/representations.rb,
lib/google/apis/managedidentities_v1beta1/representations.rb
Overview
Represents a Managed Microsoft Identities backup.
Instance Attribute Summary collapse
-
#create_time ⇒ String
Output only.
-
#description ⇒ String
Optional.
-
#labels ⇒ Hash<String,String>
Optional.
-
#name ⇒ String
Output only.
-
#state ⇒ String
Output only.
-
#status_message ⇒ String
Output only.
-
#type ⇒ String
Output only.
-
#update_time ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Backup
constructor
A new instance of Backup.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Backup
Returns a new instance of Backup.
91 92 93 |
# File 'lib/google/apis/managedidentities_v1beta1/classes.rb', line 91 def initialize(**args) update!(**args) end |
Instance Attribute Details
#create_time ⇒ String
Output only. The time the backups was created.
Corresponds to the JSON property createTime
52 53 54 |
# File 'lib/google/apis/managedidentities_v1beta1/classes.rb', line 52 def create_time @create_time end |
#description ⇒ String
Optional. A short description of the backup.
Corresponds to the JSON property description
57 58 59 |
# File 'lib/google/apis/managedidentities_v1beta1/classes.rb', line 57 def description @description end |
#labels ⇒ Hash<String,String>
Optional. Resource labels to represent user provided metadata.
Corresponds to the JSON property labels
62 63 64 |
# File 'lib/google/apis/managedidentities_v1beta1/classes.rb', line 62 def labels @labels end |
#name ⇒ String
Output only. The unique name of the Backup in the form of projects/project_id
/locations/global/domains/domain_name
/backups/name
Corresponds to the JSON property name
68 69 70 |
# File 'lib/google/apis/managedidentities_v1beta1/classes.rb', line 68 def name @name end |
#state ⇒ String
Output only. The current state of the backup.
Corresponds to the JSON property state
73 74 75 |
# File 'lib/google/apis/managedidentities_v1beta1/classes.rb', line 73 def state @state end |
#status_message ⇒ String
Output only. Additional information about the current status of this backup,
if available.
Corresponds to the JSON property statusMessage
79 80 81 |
# File 'lib/google/apis/managedidentities_v1beta1/classes.rb', line 79 def @status_message end |
#type ⇒ String
Output only. Indicates whether it’s an on-demand backup or scheduled.
Corresponds to the JSON property type
84 85 86 |
# File 'lib/google/apis/managedidentities_v1beta1/classes.rb', line 84 def type @type end |
#update_time ⇒ String
Output only. Last update time.
Corresponds to the JSON property updateTime
89 90 91 |
# File 'lib/google/apis/managedidentities_v1beta1/classes.rb', line 89 def update_time @update_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
96 97 98 99 100 101 102 103 104 105 |
# File 'lib/google/apis/managedidentities_v1beta1/classes.rb', line 96 def update!(**args) @create_time = args[:create_time] if args.key?(:create_time) @description = args[:description] if args.key?(:description) @labels = args[:labels] if args.key?(:labels) @name = args[:name] if args.key?(:name) @state = args[:state] if args.key?(:state) @status_message = args[:status_message] if args.key?(:status_message) @type = args[:type] if args.key?(:type) @update_time = args[:update_time] if args.key?(:update_time) end |