Class: Google::Apis::ApigatewayV1beta::ApigatewayBackendConfig
- Inherits:
-
Object
- Object
- Google::Apis::ApigatewayV1beta::ApigatewayBackendConfig
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/apigateway_v1beta/classes.rb,
generated/google/apis/apigateway_v1beta/representations.rb,
generated/google/apis/apigateway_v1beta/representations.rb
Overview
Configuration for all backends.
Instance Attribute Summary collapse
-
#google_service_account ⇒ String
Google Cloud IAM service account used to sign OIDC tokens for backends that have authentication configured (https://cloud.google.com/service- infrastructure/docs/service-management/reference/rest/v1/services.configs# backend).
Instance Method Summary collapse
-
#initialize(**args) ⇒ ApigatewayBackendConfig
constructor
A new instance of ApigatewayBackendConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ApigatewayBackendConfig
Returns a new instance of ApigatewayBackendConfig.
352 353 354 |
# File 'generated/google/apis/apigateway_v1beta/classes.rb', line 352 def initialize(**args) update!(**args) end |
Instance Attribute Details
#google_service_account ⇒ String
Google Cloud IAM service account used to sign OIDC tokens for backends that
have authentication configured (https://cloud.google.com/service-
infrastructure/docs/service-management/reference/rest/v1/services.configs#
backend). This may either be the Service Account's email (i.e. "ACCOUNT_ID
@
PROJECT
.iam.gserviceaccount.com") or its full resource name (i.e. "projects/
PROJECT
/accounts/UNIQUE_ID
"). This is most often used when the backend is a
GCP resource such as a Cloud Run Service or an IAP-secured service. Note that
this token is always sent as an authorization header bearer token. The
audience of the OIDC token is configured in the associated Service Config in
the BackendRule option (https://github.com/googleapis/googleapis/blob/master/
google/api/backend.proto#L125).
Corresponds to the JSON property googleServiceAccount
350 351 352 |
# File 'generated/google/apis/apigateway_v1beta/classes.rb', line 350 def google_service_account @google_service_account end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
357 358 359 |
# File 'generated/google/apis/apigateway_v1beta/classes.rb', line 357 def update!(**args) @google_service_account = args[:google_service_account] if args.key?(:google_service_account) end |