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.
5098 5099 5100 |
# File 'lib/google/apis/ces_v1/classes.rb', line 5098 def initialize(**args) update!(**args) end |
Instance Attribute Details
#description ⇒ String
An optional description for the security scheme.
Corresponds to the JSON property description
5085 5086 5087 |
# File 'lib/google/apis/ces_v1/classes.rb', line 5085 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
5090 5091 5092 |
# File 'lib/google/apis/ces_v1/classes.rb', line 5090 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
5096 5097 5098 |
# File 'lib/google/apis/ces_v1/classes.rb', line 5096 def @oauth2_metadata_url end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5103 5104 5105 5106 5107 |
# File 'lib/google/apis/ces_v1/classes.rb', line 5103 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 |