diff --git a/api_names_out.yaml b/api_names_out.yaml index 1af0e61e6..52042fcc7 100644 --- a/api_names_out.yaml +++ b/api_names_out.yaml @@ -10680,6 +10680,7 @@ "/apigateway:v1beta/ApigatewayApiConfig/createTime": create_time "/apigateway:v1beta/ApigatewayApiConfig/displayName": display_name "/apigateway:v1beta/ApigatewayApiConfig/gatewayConfig": gateway_config +"/apigateway:v1beta/ApigatewayApiConfig/gatewayServiceAccount": gateway_service_account "/apigateway:v1beta/ApigatewayApiConfig/grpcServices": grpc_services "/apigateway:v1beta/ApigatewayApiConfig/grpcServices/grpc_service": grpc_service "/apigateway:v1beta/ApigatewayApiConfig/labels": labels diff --git a/generated/google/apis/apigateway_v1beta.rb b/generated/google/apis/apigateway_v1beta.rb index b64c88ba6..13c61e984 100644 --- a/generated/google/apis/apigateway_v1beta.rb +++ b/generated/google/apis/apigateway_v1beta.rb @@ -25,7 +25,7 @@ module Google # @see https://cloud.google.com/api-gateway/docs module ApigatewayV1beta VERSION = 'V1beta' - REVISION = '20201203' + REVISION = '20201211' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/apigateway_v1beta/classes.rb b/generated/google/apis/apigateway_v1beta/classes.rb index ee9b9a0eb..0aede73ef 100644 --- a/generated/google/apis/apigateway_v1beta/classes.rb +++ b/generated/google/apis/apigateway_v1beta/classes.rb @@ -22,7 +22,7 @@ module Google module Apis module ApigatewayV1beta - # A consumable API that can be used by multiple Gateways. + # An API that can be served by one or more Gateways. class ApigatewayApi include Google::Apis::Core::Hashable @@ -102,6 +102,16 @@ module Google # @return [Google::Apis::ApigatewayV1beta::ApigatewayGatewayConfig] attr_accessor :gateway_config + # Immutable. The Google Cloud IAM Service Account that Gateways serving this + # config should use to authenticate to other services. This may either be the + # Service Account's email (``ACCOUNT_ID`@`PROJECT`.iam.gserviceaccount.com`) or + # its full resource name (`projects/`PROJECT`/accounts/`UNIQUE_ID``). This is + # most often used when the service is a GCP resource such as a Cloud Run Service + # or an IAP-secured service. + # Corresponds to the JSON property `gatewayServiceAccount` + # @return [String] + attr_accessor :gateway_service_account + # Optional. gRPC service definition files. If specified, openapi_documents must # not be included. # Corresponds to the JSON property `grpcServices` @@ -116,9 +126,9 @@ module Google attr_accessor :labels # Optional. Service Configuration files. At least one must be included when - # using gRPC service definitions. See https: //cloud.google.com/endpoints/docs/ - # grpc/g // rpc-service-config#service_configuration_overview for the expected - # file contents. If multiple files are specified, the files are merged with the + # using gRPC service definitions. See https://cloud.google.com/endpoints/docs/ + # grpc/grpc-service-config#service_configuration_overview for the expected file + # contents. If multiple files are specified, the files are merged with the # following rules: * All singular scalar fields are merged using "last one wins" # semantics in the order of the files uploaded. * Repeated fields are # concatenated. * Singular embedded messages are merged using these rules for @@ -164,6 +174,7 @@ module Google @create_time = args[:create_time] if args.key?(:create_time) @display_name = args[:display_name] if args.key?(:display_name) @gateway_config = args[:gateway_config] if args.key?(:gateway_config) + @gateway_service_account = args[:gateway_service_account] if args.key?(:gateway_service_account) @grpc_services = args[:grpc_services] if args.key?(:grpc_services) @labels = args[:labels] if args.key?(:labels) @managed_service_configs = args[:managed_service_configs] if args.key?(:managed_service_configs) @@ -324,16 +335,16 @@ module Google include Google::Apis::Core::Hashable # Google Cloud IAM service account used to sign OIDC tokens for backends that - # have authentication configured (https: //cloud.google.com/service- - # infrastructur // e/docs/service-management/reference/rest/v1/services.configs# + # 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). + # the BackendRule option (https://github.com/googleapis/googleapis/blob/master/ + # google/api/backend.proto#L125). # Corresponds to the JSON property `googleServiceAccount` # @return [String] attr_accessor :google_service_account diff --git a/generated/google/apis/apigateway_v1beta/representations.rb b/generated/google/apis/apigateway_v1beta/representations.rb index 0b553d3d3..132417bdb 100644 --- a/generated/google/apis/apigateway_v1beta/representations.rb +++ b/generated/google/apis/apigateway_v1beta/representations.rb @@ -210,6 +210,7 @@ module Google property :display_name, as: 'displayName' property :gateway_config, as: 'gatewayConfig', class: Google::Apis::ApigatewayV1beta::ApigatewayGatewayConfig, decorator: Google::Apis::ApigatewayV1beta::ApigatewayGatewayConfig::Representation + property :gateway_service_account, as: 'gatewayServiceAccount' collection :grpc_services, as: 'grpcServices', class: Google::Apis::ApigatewayV1beta::ApigatewayApiConfigGrpcServiceDefinition, decorator: Google::Apis::ApigatewayV1beta::ApigatewayApiConfigGrpcServiceDefinition::Representation hash :labels, as: 'labels' diff --git a/generated/google/apis/apigateway_v1beta/synth.metadata b/generated/google/apis/apigateway_v1beta/synth.metadata index 45bc41e66..f1fedf467 100644 --- a/generated/google/apis/apigateway_v1beta/synth.metadata +++ b/generated/google/apis/apigateway_v1beta/synth.metadata @@ -4,7 +4,7 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/google-api-ruby-client.git", - "sha": "df748da8408420990373c79e5d72e35019682d7f" + "sha": "72fb5fbe606fec1962c4f3f195314600288b38d8" } } ]