Class: Google::Apis::CloudsearchV1::AppId
- Inherits:
-
Object
- Object
- Google::Apis::CloudsearchV1::AppId
- 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
Identifier of an App.
Instance Attribute Summary collapse
-
#app_type ⇒ String
Enum indicating the type of App this is.
-
#gsuite_app_type ⇒ String
Enum indicating which 1P App this is when app_type is GSUITE_APP.
-
#id ⇒ Fixnum
Numeric identifier of the App.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AppId
constructor
A new instance of AppId.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AppId
Returns a new instance of AppId.
79 80 81 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 79 def initialize(**args) update!(**args) end |
Instance Attribute Details
#app_type ⇒ String
Enum indicating the type of App this is.
Corresponds to the JSON property appType
63 64 65 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 63 def app_type @app_type end |
#gsuite_app_type ⇒ String
Enum indicating which 1P App this is when app_type is GSUITE_APP. Determined &
set by the 1P API as a convenience for all users of this identifier(Eg.
clients, chime, backend etc.) to map to 1P properties.
Corresponds to the JSON property gsuiteAppType
70 71 72 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 70 def gsuite_app_type @gsuite_app_type end |
#id ⇒ Fixnum
Numeric identifier of the App. Set to Project number for 1/3P Apps. For
Webhook, this is WebhookId. Determined & set by the 1P API from App
credentials on the side channel.
Corresponds to the JSON property id
77 78 79 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 77 def id @id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
84 85 86 87 88 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 84 def update!(**args) @app_type = args[:app_type] if args.key?(:app_type) @gsuite_app_type = args[:gsuite_app_type] if args.key?(:gsuite_app_type) @id = args[:id] if args.key?(:id) end |