<commit_before>/**
 * Copyright 2019 Google LLC
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

#------------------------#
# GSuite export settings #
#------------------------#
variable "admin_user" {
  description = "The GSuite Admin user to impersonate"
  type        = string
}

variable "api" {
  description = "The Admin SDK API to sync data from"
  type        = string
  default     = "reports_v1"
}

variable "applications" {
  description = "The Admin SDK applications to sync data from"
  type        = list(string)
  default     = ["admin", "login", "drive", "mobile", "token"]
}

variable "frequency" {
  description = "The crontab entry that controls the sync frequency"
  type        = string
  default     = "*/10 * * * *"
}

variable "service_account" {
  description = "The service account for exporting GSuite data. Needs domain-wide delegation and correct access scopes."
  type        = string
}

variable "project_id" {
  type        = string
  description = "The project to export GSuite data to."
}

variable "export_filter" {
  description = "The export filter to use in a log export (if any)"
  type        = string
  default     = ""
}

variable "gsuite_exporter_version" {
  description = "Version of the gsuite-exporter PyPi package"
  type        = string
  default     = "0.0.3"
}

#---------------------------#
# VM exporter configuration #
#---------------------------#
variable "machine_zone" {
  description = "The instance zone"
  type        = string
  default     = "us-central1-a"
}

variable "machine_project" {
  description = "The instance project id. Defaults to `project_id`"
  type        = string
  default     = ""
}

variable "machine_type" {
  description = "The instance type"
  type        = string
  default     = "f1-micro"<commit_msg>fix: update gsuite-exporter to version 0.0.4<commit_after>/**
 * Copyright 2019 Google LLC
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

#------------------------#
# GSuite export settings #
#------------------------#
variable "admin_user" {
  description = "The GSuite Admin user to impersonate"
  type        = string
}

variable "api" {
  description = "The Admin SDK API to sync data from"
  type        = string
  default     = "reports_v1"
}

variable "applications" {
  description = "The Admin SDK applications to sync data from"
  type        = list(string)
  default     = ["admin", "login", "drive", "mobile", "token"]
}

variable "frequency" {
  description = "The crontab entry that controls the sync frequency"
  type        = string
  default     = "*/10 * * * *"
}

variable "service_account" {
  description = "The service account for exporting GSuite data. Needs domain-wide delegation and correct access scopes."
  type        = string
}

variable "project_id" {
  type        = string
  description = "The project to export GSuite data to."
}

variable "export_filter" {
  description = "The export filter to use in a log export (if any)"
  type        = string
  default     = ""
}

variable "gsuite_exporter_version" {
  description = "Version of the gsuite-exporter PyPi package"
  type        = string
  default     = "0.0.4"
}

#---------------------------#
# VM exporter configuration #
#---------------------------#
variable "machine_zone" {
  description = "The instance zone"
  type        = string
  default     = "us-central1-a"
}

variable "machine_project" {
  description = "The instance project id. Defaults to `project_id`"
  type        = string
  default     = ""
}

variable "machine_type" {
  description = "The instance type"
  type        = string
  default     = "f1-micro"
{'fraction_non_alphanumeric': 0.13327582488678025, 'fraction_numerical': 0.007547983610092733, 'mean_word_length': 2.5540229885057473, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3982659', 'n_tokens_mistral': 1298, 'n_tokens_neox': 1270, 'n_words': 490}