class Google::Apis::ServiceconsumermanagementV1beta1::Authentication
`Authentication` defines the authentication configuration for API methods provided by an API service. Example: name: calendar.googleapis.com authentication: providers: - id: google_calendar_auth jwks_uri: www. googleapis.com/oauth2/v1/certs issuer: securetoken.google.com rules: - selector: “*” requirements: provider_id: google_calendar_auth - selector: google.calendar.Delegate oauth: canonical_scopes: www.googleapis.com/ auth/calendar.read
Attributes
Defines a set of authentication providers that a service supports. Corresponds to the JSON property `providers` @return [Array<Google::Apis::ServiceconsumermanagementV1beta1::AuthProvider>]
A list of authentication rules that apply to individual API methods. NOTE: All service configuration rules follow “last one wins” order. Corresponds to the JSON property `rules` @return [Array<Google::Apis::ServiceconsumermanagementV1beta1::AuthenticationRule>]
Public Class Methods
# File lib/google/apis/serviceconsumermanagement_v1beta1/classes.rb, line 232 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/serviceconsumermanagement_v1beta1/classes.rb, line 237 def update!(**args) @providers = args[:providers] if args.key?(:providers) @rules = args[:rules] if args.key?(:rules) end