Class: Google::Apis::WorkspaceeventsV1::AuthenticationInfo

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

Instance Method Summary collapse

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

#credentialsString

Optional credentials Corresponds to the JSON property credentials

Returns:

  • (String)


84
85
86
# File 'lib/google/apis/workspaceevents_v1/classes.rb', line 84

def credentials
  @credentials
end

#schemesArray<String>

Supported authentication schemes - e.g. Basic, Bearer, etc Corresponds to the JSON property schemes

Returns:

  • (Array<String>)


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