Class: Google::Apis::FirebasestorageV1beta::GoogleFirebaseStorageControlplaneV1alphaMigrateLocationDestructivelyMetadata

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) ⇒ GoogleFirebaseStorageControlplaneV1alphaMigrateLocationDestructivelyMetadata

Returns a new instance of GoogleFirebaseStorageControlplaneV1alphaMigrateLocationDestructivelyMetadata.



107
108
109
# File 'lib/google/apis/firebasestorage_v1beta/classes.rb', line 107

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

Instance Attribute Details

#create_time ⇒ String

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

Returns:

  • (String)


95
96
97
# File 'lib/google/apis/firebasestorage_v1beta/classes.rb', line 95

def create_time
  @create_time
end

#last_update_time ⇒ String

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

Returns:

  • (String)


100
101
102
# File 'lib/google/apis/firebasestorage_v1beta/classes.rb', line 100

def last_update_time
  @last_update_time
end

#state ⇒ String

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

Returns:

  • (String)


105
106
107
# File 'lib/google/apis/firebasestorage_v1beta/classes.rb', line 105

def state
  @state
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



112
113
114
115
116
# File 'lib/google/apis/firebasestorage_v1beta/classes.rb', line 112

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