Class: Google::Apis::CesV1::LfA2aV1AuthenticationInfo
- Inherits:
-
Object
- Object
- Google::Apis::CesV1::LfA2aV1AuthenticationInfo
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/ces_v1/classes.rb,
lib/google/apis/ces_v1/representations.rb,
lib/google/apis/ces_v1/representations.rb
Overview
Defines authentication details, used for push notifications.
Instance Attribute Summary collapse
-
#credentials ⇒ String
Push Notification credentials.
-
#scheme ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ LfA2aV1AuthenticationInfo
constructor
A new instance of LfA2aV1AuthenticationInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ LfA2aV1AuthenticationInfo
Returns a new instance of LfA2aV1AuthenticationInfo.
4266 4267 4268 |
# File 'lib/google/apis/ces_v1/classes.rb', line 4266 def initialize(**args) update!(**args) end |
Instance Attribute Details
#credentials ⇒ String
Push Notification credentials. Format depends on the scheme (e.g., token for
Bearer).
Corresponds to the JSON property credentials
4256 4257 4258 |
# File 'lib/google/apis/ces_v1/classes.rb', line 4256 def credentials @credentials end |
#scheme ⇒ String
Required. HTTP Authentication Scheme from the IANA registry. Examples: Bearer, Basic, Digest.
Scheme names are case-insensitive per RFC 9110 Section 11.1.
Corresponds to the JSON property scheme
4264 4265 4266 |
# File 'lib/google/apis/ces_v1/classes.rb', line 4264 def scheme @scheme end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4271 4272 4273 4274 |
# File 'lib/google/apis/ces_v1/classes.rb', line 4271 def update!(**args) @credentials = args[:credentials] if args.key?(:credentials) @scheme = args[:scheme] if args.key?(:scheme) end |