agones.dev/agones@v1.54.0/examples/allocation-endpoint/terraform/api_config.yaml.tpl (about)

     1  # Copyright 2022 Google LLC All Rights Reserved.
     2  #
     3  # Licensed under the Apache License, Version 2.0 (the "License");
     4  # you may not use this file except in compliance with the License.
     5  # You may obtain a copy of the License at
     6  #
     7  #     http://www.apache.org/licenses/LICENSE-2.0
     8  #
     9  # Unless required by applicable law or agreed to in writing, software
    10  # distributed under the License is distributed on an "AS IS" BASIS,
    11  # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    12  # See the License for the specific language governing permissions and
    13  # limitations under the License.
    14  
    15  type: google.api.Service
    16  config_version: 3
    17  
    18  #
    19  # Name of the Agones Allocation Service's configuration.
    20  #
    21  name: ${service-name}
    22  
    23  #
    24  # API title to appear in the user interface (Google Cloud Console).
    25  #
    26  title: Agones Allocation Endpoints gRPC API
    27  apis:
    28  - name: allocation.AllocationService
    29  
    30  usage:
    31    rules:
    32    - selector: "*"
    33      allow_unregistered_calls: true
    34  
    35  authentication:
    36    providers:
    37    - id: google_service_account
    38      audiences: ${service-name}
    39      issuer: ${service-account}
    40      jwks_uri: https://www.googleapis.com/robot/v1/metadata/x509/${service-account}
    41    rules:
    42    # This auth rule will apply to all methods.
    43    - selector: "*"
    44      requirements:
    45        - provider_id: google_service_account