Class: Google::Apis::ChecksV1alpha::GoogleChecksReportV1alphaAppBundle

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

Overview

Information about the analyzed app bundle.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleChecksReportV1alphaAppBundle

Returns a new instance of GoogleChecksReportV1alphaAppBundle.



155
156
157
# File 'lib/google/apis/checks_v1alpha/classes.rb', line 155

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

Instance Attribute Details

#bundle_id ⇒ String

Unique id of the bundle. For example: "com.google.Gmail". Corresponds to the JSON property bundleId

Returns:

  • (String)


131
132
133
# File 'lib/google/apis/checks_v1alpha/classes.rb', line 131

def bundle_id
  @bundle_id
end

#code_reference_id ⇒ String

Git commit hash or changelist number associated with the release. Corresponds to the JSON property codeReferenceId

Returns:

  • (String)


136
137
138
# File 'lib/google/apis/checks_v1alpha/classes.rb', line 136

def code_reference_id
  @code_reference_id
end

#release_type ⇒ String

Identifies the type of release. Corresponds to the JSON property releaseType

Returns:

  • (String)


141
142
143
# File 'lib/google/apis/checks_v1alpha/classes.rb', line 141

def release_type
  @release_type
end

#version ⇒ String

The user-visible version of the bundle such as the Android versionName or iOS CFBundleShortVersionString. For example: "7.21.1". Corresponds to the JSON property version

Returns:

  • (String)


147
148
149
# File 'lib/google/apis/checks_v1alpha/classes.rb', line 147

def version
  @version
end

#version_id ⇒ String

The version used throughout the operating system and store to identify the build such as the Android versionCode or iOS CFBundleVersion. Corresponds to the JSON property versionId

Returns:

  • (String)


153
154
155
# File 'lib/google/apis/checks_v1alpha/classes.rb', line 153

def version_id
  @version_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



160
161
162
163
164
165
166
# File 'lib/google/apis/checks_v1alpha/classes.rb', line 160

def update!(**args)
  @bundle_id = args[:bundle_id] if args.key?(:bundle_id)
  @code_reference_id = args[:code_reference_id] if args.key?(:code_reference_id)
  @release_type = args[:release_type] if args.key?(:release_type)
  @version = args[:version] if args.key?(:version)
  @version_id = args[:version_id] if args.key?(:version_id)
end