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.



571
572
573
# File 'lib/google/apis/firebaseappdistribution_v1alpha/classes.rb', line 571

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)


553
554
555
# File 'lib/google/apis/firebaseappdistribution_v1alpha/classes.rb', line 553

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)


559
560
561
# File 'lib/google/apis/firebaseappdistribution_v1alpha/classes.rb', line 559

def message
  @message
end

#releaseGoogle::Apis::FirebaseappdistributionV1alpha::GoogleFirebaseAppdistroV1alphaRelease

Proto defining a release object Corresponds to the JSON property release



564
565
566
# File 'lib/google/apis/firebaseappdistribution_v1alpha/classes.rb', line 564

def release
  @release
end

#statusString

The status of the upload Corresponds to the JSON property status

Returns:

  • (String)


569
570
571
# File 'lib/google/apis/firebaseappdistribution_v1alpha/classes.rb', line 569

def status
  @status
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



576
577
578
579
580
581
# File 'lib/google/apis/firebaseappdistribution_v1alpha/classes.rb', line 576

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