Class: Google::Apis::CloudsearchV1::PackagingServiceClient

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ PackagingServiceClient

Returns a new instance of PackagingServiceClient.



14481
14482
14483
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 14481

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

Instance Attribute Details

#android_package_nameString

Android app's package name to generate the deep-link URI. Corresponds to the JSON property androidPackageName

Returns:

  • (String)


14463
14464
14465
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 14463

def android_package_name
  @android_package_name
end

#ios_app_store_idString

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

Returns:

  • (String)


14469
14470
14471
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 14469

def ios_app_store_id
  @ios_app_store_id
end

#ios_bundle_idString

iOS app's bundle ID to generate the deep-link URI. Corresponds to the JSON property iosBundleId

Returns:

  • (String)


14474
14475
14476
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 14474

def ios_bundle_id
  @ios_bundle_id
end

#typeString

Type of Google API Console client. Corresponds to the JSON property type

Returns:

  • (String)


14479
14480
14481
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 14479

def type
  @type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



14486
14487
14488
14489
14490
14491
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 14486

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