Class: Google::Apis::WorkspaceeventsV1::AuthenticationInfo
- Inherits:
-
Object
- Object
- Google::Apis::WorkspaceeventsV1::AuthenticationInfo
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/workspaceevents_v1/classes.rb,
lib/google/apis/workspaceevents_v1/representations.rb,
lib/google/apis/workspaceevents_v1/representations.rb
Overview
Defines authentication details, used for push notifications.
Instance Attribute Summary collapse
-
#credentials ⇒ String
Optional credentials Corresponds to the JSON property
credentials. -
#schemes ⇒ Array<String>
Supported authentication schemes - e.g.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AuthenticationInfo
constructor
A new instance of AuthenticationInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AuthenticationInfo
Returns a new instance of AuthenticationInfo.
91 92 93 |
# File 'lib/google/apis/workspaceevents_v1/classes.rb', line 91 def initialize(**args) update!(**args) end |
Instance Attribute Details
#credentials ⇒ String
Optional credentials
Corresponds to the JSON property credentials
84 85 86 |
# File 'lib/google/apis/workspaceevents_v1/classes.rb', line 84 def credentials @credentials end |
#schemes ⇒ Array<String>
Supported authentication schemes - e.g. Basic, Bearer, etc
Corresponds to the JSON property schemes
89 90 91 |
# File 'lib/google/apis/workspaceevents_v1/classes.rb', line 89 def schemes @schemes end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
96 97 98 99 |
# File 'lib/google/apis/workspaceevents_v1/classes.rb', line 96 def update!(**args) @credentials = args[:credentials] if args.key?(:credentials) @schemes = args[:schemes] if args.key?(:schemes) end |