[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[],[],null,["# Service Management V1 API - Class Google::Api::Authentication (v1.3.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.3.0 (latest)](/ruby/docs/reference/google-cloud-service_management-v1/latest/Google-Api-Authentication)\n- [1.2.1](/ruby/docs/reference/google-cloud-service_management-v1/1.2.1/Google-Api-Authentication)\n- [1.1.0](/ruby/docs/reference/google-cloud-service_management-v1/1.1.0/Google-Api-Authentication)\n- [1.0.2](/ruby/docs/reference/google-cloud-service_management-v1/1.0.2/Google-Api-Authentication)\n- [0.11.0](/ruby/docs/reference/google-cloud-service_management-v1/0.11.0/Google-Api-Authentication)\n- [0.10.2](/ruby/docs/reference/google-cloud-service_management-v1/0.10.2/Google-Api-Authentication)\n- [0.9.0](/ruby/docs/reference/google-cloud-service_management-v1/0.9.0/Google-Api-Authentication)\n- [0.8.0](/ruby/docs/reference/google-cloud-service_management-v1/0.8.0/Google-Api-Authentication)\n- [0.7.0](/ruby/docs/reference/google-cloud-service_management-v1/0.7.0/Google-Api-Authentication)\n- [0.6.1](/ruby/docs/reference/google-cloud-service_management-v1/0.6.1/Google-Api-Authentication)\n- [0.5.0](/ruby/docs/reference/google-cloud-service_management-v1/0.5.0/Google-Api-Authentication)\n- [0.4.1](/ruby/docs/reference/google-cloud-service_management-v1/0.4.1/Google-Api-Authentication)\n- [0.3.10](/ruby/docs/reference/google-cloud-service_management-v1/0.3.10/Google-Api-Authentication) \nReference documentation and code samples for the Service Management V1 API class Google::Api::Authentication.\n\n`Authentication` defines the authentication configuration for API methods\nprovided by an API service.\n\nExample: \n\n name: calendar.googleapis.com\n authentication:\n providers:\n - id: google_calendar_auth\n jwks_uri: https://www.googleapis.com/oauth2/v1/certs\n issuer: https://securetoken.google.com\n rules:\n - selector: \"*\"\n requirements:\n provider_id: google_calendar_auth\n - selector: google.calendar.Delegate\n oauth:\n canonical_scopes: https://www.googleapis.com/auth/calendar.read\n\nInherits\n--------\n\n- Object \n\nExtended By\n-----------\n\n- Google::Protobuf::MessageExts::ClassMethods \n\nIncludes\n--------\n\n- Google::Protobuf::MessageExts\n\nMethods\n-------\n\n### #providers\n\n def providers() -\u003e ::Array\u003c::Google::Api::AuthProvider\u003e\n\n**Returns**\n\n- (::Array\\\u003c[::Google::Api::AuthProvider](./Google-Api-AuthProvider)\\\u003e) --- Defines a set of authentication providers that a service supports.\n\n### #providers=\n\n def providers=(value) -\u003e ::Array\u003c::Google::Api::AuthProvider\u003e\n\n**Parameter**\n\n- **value** (::Array\\\u003c[::Google::Api::AuthProvider](./Google-Api-AuthProvider)\\\u003e) --- Defines a set of authentication providers that a service supports. \n**Returns**\n\n- (::Array\\\u003c[::Google::Api::AuthProvider](./Google-Api-AuthProvider)\\\u003e) --- Defines a set of authentication providers that a service supports.\n\n### #rules\n\n def rules() -\u003e ::Array\u003c::Google::Api::AuthenticationRule\u003e\n\n**Returns**\n\n- (::Array\\\u003c[::Google::Api::AuthenticationRule](./Google-Api-AuthenticationRule)\\\u003e) --- A list of authentication rules that apply to individual API methods.\n\n\n **NOTE:** All service configuration rules follow \"last one wins\" order.\n\n### #rules=\n\n def rules=(value) -\u003e ::Array\u003c::Google::Api::AuthenticationRule\u003e\n\n**Parameter**\n\n- **value** (::Array\\\u003c[::Google::Api::AuthenticationRule](./Google-Api-AuthenticationRule)\\\u003e) --- A list of authentication rules that apply to individual API methods.\n\n\n**NOTE:** All service configuration rules follow \"last one wins\" order. \n**Returns**\n\n- (::Array\\\u003c[::Google::Api::AuthenticationRule](./Google-Api-AuthenticationRule)\\\u003e) --- A list of authentication rules that apply to individual API methods.\n\n\n **NOTE:** All service configuration rules follow \"last one wins\" order."]]