Class: Google::Apis::FirebasestorageV1beta::GoogleFirebaseStorageControlplaneV1betaMigrateLocationDestructivelyMetadata

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

Overview

Metadata for MigrateLocationDestructively LRO.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleFirebaseStorageControlplaneV1betaMigrateLocationDestructivelyMetadata

Returns a new instance of GoogleFirebaseStorageControlplaneV1betaMigrateLocationDestructivelyMetadata.



123
124
125
# File 'lib/google/apis/firebasestorage_v1beta/classes.rb', line 123

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

Instance Attribute Details

#create_timeString

The time the LRO was created. Corresponds to the JSON property createTime

Returns:

  • (String)


111
112
113
# File 'lib/google/apis/firebasestorage_v1beta/classes.rb', line 111

def create_time
  @create_time
end

#last_update_timeString

The time the LRO was last updated. Corresponds to the JSON property lastUpdateTime

Returns:

  • (String)


116
117
118
# File 'lib/google/apis/firebasestorage_v1beta/classes.rb', line 116

def last_update_time
  @last_update_time
end

#stateString

The current state of the migration. Corresponds to the JSON property state

Returns:

  • (String)


121
122
123
# File 'lib/google/apis/firebasestorage_v1beta/classes.rb', line 121

def state
  @state
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



128
129
130
131
132
# File 'lib/google/apis/firebasestorage_v1beta/classes.rb', line 128

def update!(**args)
  @create_time = args[:create_time] if args.key?(:create_time)
  @last_update_time = args[:last_update_time] if args.key?(:last_update_time)
  @state = args[:state] if args.key?(:state)
end