Class: Google::Apis::FirebasedataconnectV1beta::GenerationStatus

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

Overview

Represents the progress of the server side generation request.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GenerationStatus

Returns a new instance of GenerationStatus.



546
547
548
# File 'lib/google/apis/firebasedataconnect_v1beta/classes.rb', line 546

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

Instance Attribute Details

#messageString

Output only. A message providing more details about the state. Corresponds to the JSON property message

Returns:

  • (String)


539
540
541
# File 'lib/google/apis/firebasedataconnect_v1beta/classes.rb', line 539

def message
  @message
end

#stateString

Output only. The state of generation. Corresponds to the JSON property state

Returns:

  • (String)


544
545
546
# File 'lib/google/apis/firebasedataconnect_v1beta/classes.rb', line 544

def state
  @state
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



551
552
553
554
# File 'lib/google/apis/firebasedataconnect_v1beta/classes.rb', line 551

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