Class: Google::Apis::FirebaseappdistributionV1alpha::GoogleFirebaseAppdistroV1alphaGetUploadStatusResponse

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleFirebaseAppdistroV1alphaGetUploadStatusResponse

Returns a new instance of GoogleFirebaseAppdistroV1alphaGetUploadStatusResponse.



490
491
492
# File 'lib/google/apis/firebaseappdistribution_v1alpha/classes.rb', line 490

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

Instance Attribute Details

#error_codeString

The error code associated with (only set on "FAILURE") Corresponds to the JSON property errorCode

Returns:

  • (String)


472
473
474
# File 'lib/google/apis/firebaseappdistribution_v1alpha/classes.rb', line 472

def error_code
  @error_code
end

#messageString

Any additional context for the given upload status (e.g. error message) Meant to be displayed to the client Corresponds to the JSON property message

Returns:

  • (String)


478
479
480
# File 'lib/google/apis/firebaseappdistribution_v1alpha/classes.rb', line 478

def message
  @message
end

#releaseGoogle::Apis::FirebaseappdistributionV1alpha::GoogleFirebaseAppdistroV1alphaRelease

Proto defining a release object Corresponds to the JSON property release



483
484
485
# File 'lib/google/apis/firebaseappdistribution_v1alpha/classes.rb', line 483

def release
  @release
end

#statusString

The status of the upload Corresponds to the JSON property status

Returns:

  • (String)


488
489
490
# File 'lib/google/apis/firebaseappdistribution_v1alpha/classes.rb', line 488

def status
  @status
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



495
496
497
498
499
500
# File 'lib/google/apis/firebaseappdistribution_v1alpha/classes.rb', line 495

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