Class: Google::Apis::ApigatewayV1beta::ApigatewayBackendConfig

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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_accountString

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

Returns:

  • (String)


350
351
352
# File 'generated/google/apis/apigateway_v1beta/classes.rb', line 350

def 
  @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