Endpoint constructor

const Endpoint({
  1. Input<List<String>>? aliases,
  2. Input<bool>? allowCors,
  3. Input<String>? name,
  4. Input<String>? target,
})

Creates a new Endpoint. aliases Unimplemented. Dot not use. DEPRECATED: This field is no longer supported. Instead of using aliases, please specify multiple google.api.Endpoint for each of the intended aliases. Additional names that this endpoint will be hosted on. allowCors Allowing CORS, aka cross-domain traffic, would allow the backends served from this endpoint to receive and respond to HTTP OPTIONS requests. The response will be used by the browser to determine whether the subsequent cross-origin request is allowed to proceed. name The canonical name of this endpoint. target The specification of an Internet routable address of API frontend that will handle requests to this API Endpoint. It should be either a valid IPv4 address or a fully-qualified domain name. For example, "8.8.8.8" or "myservice.appspot.com".

Implementation

const Endpoint({
  this.aliases,
  this.allowCors,
  this.name,
  this.target,
});