Class: Google::Apis::FirebaseappdistributionV1alpha::GoogleFirebaseAppdistroV1Release

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

Overview

A release of a Firebase app.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleFirebaseAppdistroV1Release

Returns a new instance of GoogleFirebaseAppdistroV1Release.



77
78
79
# File 'lib/google/apis/firebaseappdistribution_v1alpha/classes.rb', line 77

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

Instance Attribute Details

#binary_download_uriString

Output only. A signed link (which expires in one hour) to directly download the app binary (IPA/APK/AAB) file. Corresponds to the JSON property binaryDownloadUri

Returns:

  • (String)


33
34
35
# File 'lib/google/apis/firebaseappdistribution_v1alpha/classes.rb', line 33

def binary_download_uri
  @binary_download_uri
end

#build_versionString

Output only. Build version of the release. For an Android release, the build version is the versionCode. For an iOS release, the build version is the CFBundleVersion. Corresponds to the JSON property buildVersion

Returns:

  • (String)


40
41
42
# File 'lib/google/apis/firebaseappdistribution_v1alpha/classes.rb', line 40

def build_version
  @build_version
end

#create_timeString

Output only. The time the release was created. Corresponds to the JSON property createTime

Returns:

  • (String)


45
46
47
# File 'lib/google/apis/firebaseappdistribution_v1alpha/classes.rb', line 45

def create_time
  @create_time
end

#display_versionString

Output only. Display version of the release. For an Android release, the display version is the versionName. For an iOS release, the display version is the CFBundleShortVersionString. Corresponds to the JSON property displayVersion

Returns:

  • (String)


52
53
54
# File 'lib/google/apis/firebaseappdistribution_v1alpha/classes.rb', line 52

def display_version
  @display_version
end

#firebase_console_uriString

Output only. A link to the Firebase console displaying a single release. Corresponds to the JSON property firebaseConsoleUri

Returns:

  • (String)


57
58
59
# File 'lib/google/apis/firebaseappdistribution_v1alpha/classes.rb', line 57

def firebase_console_uri
  @firebase_console_uri
end

#nameString

The name of the release resource. Format: projects/project_number/apps/ app_id/releases/release_id` Corresponds to the JSON propertyname`

Returns:

  • (String)


63
64
65
# File 'lib/google/apis/firebaseappdistribution_v1alpha/classes.rb', line 63

def name
  @name
end

#release_notesGoogle::Apis::FirebaseappdistributionV1alpha::GoogleFirebaseAppdistroV1ReleaseNotes

Notes that belong to a release. Corresponds to the JSON property releaseNotes



68
69
70
# File 'lib/google/apis/firebaseappdistribution_v1alpha/classes.rb', line 68

def release_notes
  @release_notes
end

#testing_uriString

Output only. A link to the release in the tester web clip or Android app that lets testers (which were granted access to the app) view release notes and install the app onto their devices. Corresponds to the JSON property testingUri

Returns:

  • (String)


75
76
77
# File 'lib/google/apis/firebaseappdistribution_v1alpha/classes.rb', line 75

def testing_uri
  @testing_uri
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



82
83
84
85
86
87
88
89
90
91
# File 'lib/google/apis/firebaseappdistribution_v1alpha/classes.rb', line 82

def update!(**args)
  @binary_download_uri = args[:binary_download_uri] if args.key?(:binary_download_uri)
  @build_version = args[:build_version] if args.key?(:build_version)
  @create_time = args[:create_time] if args.key?(:create_time)
  @display_version = args[:display_version] if args.key?(:display_version)
  @firebase_console_uri = args[:firebase_console_uri] if args.key?(:firebase_console_uri)
  @name = args[:name] if args.key?(:name)
  @release_notes = args[:release_notes] if args.key?(:release_notes)
  @testing_uri = args[:testing_uri] if args.key?(:testing_uri)
end