Class: Google::Apis::CloudsearchV1::PackagingServiceClient
- Inherits:
-
Object
- Object
- Google::Apis::CloudsearchV1::PackagingServiceClient
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/cloudsearch_v1/classes.rb,
lib/google/apis/cloudsearch_v1/representations.rb,
lib/google/apis/cloudsearch_v1/representations.rb
Overview
Developers register a client in Google API Console to get the deep-linking feature on Google+ posts or frames about their apps. The client data is stored in this proto.
Instance Attribute Summary collapse
-
#android_package_name ⇒ String
Android app's package name to generate the deep-link URI.
-
#ios_app_store_id ⇒ String
iOS app's App Store ID to generate the App Store URL when app is not installed on device.
-
#ios_bundle_id ⇒ String
iOS app's bundle ID to generate the deep-link URI.
-
#type ⇒ String
Type of Google API Console client.
Instance Method Summary collapse
-
#initialize(**args) ⇒ PackagingServiceClient
constructor
A new instance of PackagingServiceClient.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ PackagingServiceClient
Returns a new instance of PackagingServiceClient.
12285 12286 12287 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 12285 def initialize(**args) update!(**args) end |
Instance Attribute Details
#android_package_name ⇒ String
Android app's package name to generate the deep-link URI.
Corresponds to the JSON property androidPackageName
12267 12268 12269 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 12267 def android_package_name @android_package_name end |
#ios_app_store_id ⇒ String
iOS app's App Store ID to generate the App Store URL when app is not installed
on device.
Corresponds to the JSON property iosAppStoreId
12273 12274 12275 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 12273 def ios_app_store_id @ios_app_store_id end |
#ios_bundle_id ⇒ String
iOS app's bundle ID to generate the deep-link URI.
Corresponds to the JSON property iosBundleId
12278 12279 12280 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 12278 def ios_bundle_id @ios_bundle_id end |
#type ⇒ String
Type of Google API Console client.
Corresponds to the JSON property type
12283 12284 12285 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 12283 def type @type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
12290 12291 12292 12293 12294 12295 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 12290 def update!(**args) @android_package_name = args[:android_package_name] if args.key?(:android_package_name) @ios_app_store_id = args[:ios_app_store_id] if args.key?(:ios_app_store_id) @ios_bundle_id = args[:ios_bundle_id] if args.key?(:ios_bundle_id) @type = args[:type] if args.key?(:type) end |