ServiceState constructor

const ServiceState({
  1. Input<bool?>? autogenerateRevisionName,
  2. Input<String?>? deletionPolicy,
  3. Input<String?>? location,
  4. Input<ServiceMetadata?>? metadata,
  5. Input<String?>? name,
  6. Input<String?>? project,
  7. Input<List<ServiceStatus>?>? statuses,
  8. Input<ServiceTemplate?>? template,
  9. Input<List<ServiceTraffic>?>? traffics,
})

Creates a new ServiceState. autogenerateRevisionName If set to true, the revision name (template.metadata.name) will be omitted and deletionPolicy Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. location The location of the cloud run instance. eg us-central1 metadata Metadata associated with this Service, including name, namespace, labels, name Name must be unique within a Google Cloud project and region. project The ID of the project in which the resource belongs. statuses (Output) template template holds the latest specification for the Revision to traffics Traffic specifies how to distribute traffic over a collection of Knative Revisions

Implementation

const ServiceState({
  this.autogenerateRevisionName,
  this.deletionPolicy,
  this.location,
  this.metadata,
  this.name,
  this.project,
  this.statuses,
  this.template,
  this.traffics,
});