Class: Google::Apis::CesV1::LfA2aV1OAuth2SecurityScheme
- Inherits:
-
Object
- Object
- Google::Apis::CesV1::LfA2aV1OAuth2SecurityScheme
- 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 a security scheme using OAuth 2.0.
Instance Attribute Summary collapse
-
#description ⇒ String
An optional description for the security scheme.
-
#flows ⇒ Google::Apis::CesV1::LfA2aV1OAuthFlows
Defines the configuration for the supported OAuth 2.0 flows.
-
#oauth2_metadata_url ⇒ String
URL to the OAuth2 authorization server metadata RFC 8414.
Instance Method Summary collapse
-
#initialize(**args) ⇒ LfA2aV1OAuth2SecurityScheme
constructor
A new instance of LfA2aV1OAuth2SecurityScheme.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ LfA2aV1OAuth2SecurityScheme
Returns a new instance of LfA2aV1OAuth2SecurityScheme.
5159 5160 5161 |
# File 'lib/google/apis/ces_v1/classes.rb', line 5159 def initialize(**args) update!(**args) end |
Instance Attribute Details
#description ⇒ String
An optional description for the security scheme.
Corresponds to the JSON property description
5146 5147 5148 |
# File 'lib/google/apis/ces_v1/classes.rb', line 5146 def description @description end |
#flows ⇒ Google::Apis::CesV1::LfA2aV1OAuthFlows
Defines the configuration for the supported OAuth 2.0 flows.
Corresponds to the JSON property flows
5151 5152 5153 |
# File 'lib/google/apis/ces_v1/classes.rb', line 5151 def flows @flows end |
#oauth2_metadata_url ⇒ String
URL to the OAuth2 authorization server metadata RFC 8414. TLS is required.
Corresponds to the JSON property oauth2MetadataUrl
5157 5158 5159 |
# File 'lib/google/apis/ces_v1/classes.rb', line 5157 def @oauth2_metadata_url end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5164 5165 5166 5167 5168 |
# File 'lib/google/apis/ces_v1/classes.rb', line 5164 def update!(**args) @description = args[:description] if args.key?(:description) @flows = args[:flows] if args.key?(:flows) @oauth2_metadata_url = args[:oauth2_metadata_url] if args.key?(:oauth2_metadata_url) end |