Class: Google::Apis::IapV1::Brand
- Inherits:
-
Object
- Object
- Google::Apis::IapV1::Brand
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/iap_v1/classes.rb,
generated/google/apis/iap_v1/representations.rb,
generated/google/apis/iap_v1/representations.rb
Overview
OAuth brand data. NOTE: Only contains a portion of the data that describes a brand.
Instance Attribute Summary collapse
-
#application_title ⇒ String
Application name displayed on OAuth consent screen.
-
#name ⇒ String
Output only.
-
#org_internal_only ⇒ Boolean
(also: #org_internal_only?)
Output only.
-
#support_email ⇒ String
Support email displayed on the OAuth consent screen.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Brand
constructor
A new instance of Brand.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Brand
Returns a new instance of Brand.
227 228 229 |
# File 'generated/google/apis/iap_v1/classes.rb', line 227 def initialize(**args) update!(**args) end |
Instance Attribute Details
#application_title ⇒ String
Application name displayed on OAuth consent screen.
Corresponds to the JSON property applicationTitle
207 208 209 |
# File 'generated/google/apis/iap_v1/classes.rb', line 207 def application_title @application_title end |
#name ⇒ String
Output only. Identifier of the brand. NOTE: GCP project number achieves the
same brand identification purpose as only one brand per project can be created.
Corresponds to the JSON property name
213 214 215 |
# File 'generated/google/apis/iap_v1/classes.rb', line 213 def name @name end |
#org_internal_only ⇒ Boolean Also known as: org_internal_only?
Output only. Whether the brand is only intended for usage inside the G Suite
organization only.
Corresponds to the JSON property orgInternalOnly
219 220 221 |
# File 'generated/google/apis/iap_v1/classes.rb', line 219 def org_internal_only @org_internal_only end |
#support_email ⇒ String
Support email displayed on the OAuth consent screen.
Corresponds to the JSON property supportEmail
225 226 227 |
# File 'generated/google/apis/iap_v1/classes.rb', line 225 def support_email @support_email end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
232 233 234 235 236 237 |
# File 'generated/google/apis/iap_v1/classes.rb', line 232 def update!(**args) @application_title = args[:application_title] if args.key?(:application_title) @name = args[:name] if args.key?(:name) @org_internal_only = args[:org_internal_only] if args.key?(:org_internal_only) @support_email = args[:support_email] if args.key?(:support_email) end |