{
  "service": "google_analytics",
  "displayName": "Google Analytics",
  "categories": [
    "Data",
    "Marketing"
  ],
  "authTypes": [
    "oauth2"
  ],
  "auth": [
    {
      "type": "oauth2",
      "authorizationUrl": "https://accounts.google.com/o/oauth2/v2/auth",
      "tokenUrl": "https://oauth2.googleapis.com/token",
      "scopes": [
        "https://www.googleapis.com/auth/analytics.readonly",
        "https://www.googleapis.com/auth/analytics.edit",
        "https://www.googleapis.com/auth/analytics"
      ],
      "tokenEndpointAuthMethod": "client_secret_post",
      "authorizationParams": {
        "access_type": "offline",
        "prompt": "consent"
      }
    }
  ],
  "homepageUrl": "https://analytics.google.com",
  "actions": [
    {
      "id": "google_analytics.archive_custom_dimension",
      "service": "google_analytics",
      "name": "archive_custom_dimension",
      "description": "Archive a Google Analytics custom dimension that should no longer be available for reporting configuration.",
      "requiredScopes": [
        "https://www.googleapis.com/auth/analytics.edit"
      ],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "customDimensionName": {
            "type": "string",
            "minLength": 1,
            "description": "The custom dimension resource name, such as properties/123/customDimensions/456."
          }
        },
        "additionalProperties": false,
        "required": [
          "customDimensionName"
        ],
        "description": "Input parameters for archiving a Google Analytics custom dimension."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean",
            "description": "Whether Google Analytics accepted the archive request."
          },
          "raw": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "The raw Google Analytics object."
          }
        },
        "additionalProperties": false,
        "required": [
          "success",
          "raw"
        ],
        "description": "The Google Analytics custom dimension archive response."
      }
    },
    {
      "id": "google_analytics.archive_custom_metric",
      "service": "google_analytics",
      "name": "archive_custom_metric",
      "description": "Archive a Google Analytics custom metric that should no longer be available for reporting configuration.",
      "requiredScopes": [
        "https://www.googleapis.com/auth/analytics.edit"
      ],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "customMetricName": {
            "type": "string",
            "minLength": 1,
            "description": "The custom metric resource name, such as properties/123/customMetrics/456."
          }
        },
        "additionalProperties": false,
        "required": [
          "customMetricName"
        ],
        "description": "Input parameters for archiving a Google Analytics custom metric."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean",
            "description": "Whether Google Analytics accepted the archive request."
          },
          "raw": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "The raw Google Analytics object."
          }
        },
        "additionalProperties": false,
        "required": [
          "success",
          "raw"
        ],
        "description": "The Google Analytics custom metric archive response."
      }
    },
    {
      "id": "google_analytics.batch_run_pivot_reports",
      "service": "google_analytics",
      "name": "batch_run_pivot_reports",
      "description": "Run up to five Google Analytics Data API pivot reports in one batch request for a single property.",
      "requiredScopes": [
        "https://www.googleapis.com/auth/analytics.readonly"
      ],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "propertyId": {
            "type": "string",
            "minLength": 1,
            "description": "The Google Analytics property ID, with or without the properties/ prefix."
          },
          "requests": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "dateRanges": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "startDate": {
                        "type": "string",
                        "minLength": 1,
                        "description": "The inclusive start date in YYYY-MM-DD format or a relative value such as 7daysAgo."
                      },
                      "endDate": {
                        "type": "string",
                        "minLength": 1,
                        "description": "The inclusive end date in YYYY-MM-DD format or a relative value such as today."
                      },
                      "name": {
                        "type": "string",
                        "minLength": 1,
                        "description": "The optional date range name used in response dimensions."
                      }
                    },
                    "additionalProperties": false,
                    "required": [
                      "startDate",
                      "endDate"
                    ],
                    "description": "A Google Analytics Data API date range."
                  },
                  "description": "The date ranges for the pivot report.",
                  "minItems": 1
                },
                "dimensions": {
                  "type": "array",
                  "items": {
                    "anyOf": [
                      {
                        "type": "string",
                        "minLength": 1,
                        "description": "The API name of the dimension or metric."
                      },
                      {
                        "type": "object",
                        "properties": {},
                        "additionalProperties": true,
                        "description": "The official Google Analytics Dimension or Metric object, usually containing a name field."
                      }
                    ],
                    "description": "A Google Analytics named dimension or metric request."
                  },
                  "description": "The dimensions to include in the pivot report.",
                  "minItems": 1
                },
                "metrics": {
                  "type": "array",
                  "items": {
                    "anyOf": [
                      {
                        "type": "string",
                        "minLength": 1,
                        "description": "The API name of the dimension or metric."
                      },
                      {
                        "type": "object",
                        "properties": {},
                        "additionalProperties": true,
                        "description": "The official Google Analytics Dimension or Metric object, usually containing a name field."
                      }
                    ],
                    "description": "A Google Analytics named dimension or metric request."
                  },
                  "description": "The metrics to include in the pivot report.",
                  "minItems": 1
                },
                "pivots": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {},
                    "additionalProperties": true,
                    "description": "A Google Analytics Data API Pivot object with fieldNames, limit, offset, orderBys, or metricAggregations."
                  },
                  "description": "The pivot configurations for the pivot report.",
                  "minItems": 1
                },
                "dimensionFilter": {
                  "type": "object",
                  "properties": {},
                  "additionalProperties": true,
                  "description": "A Google Analytics Data API FilterExpression object."
                },
                "metricFilter": {
                  "type": "object",
                  "properties": {},
                  "additionalProperties": true,
                  "description": "A Google Analytics Data API FilterExpression object."
                },
                "orderBys": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {},
                    "additionalProperties": true,
                    "description": "A Google Analytics Data API OrderBy object."
                  },
                  "description": "The pivot report ordering rules.",
                  "minItems": 1
                },
                "currencyCode": {
                  "type": "string",
                  "minLength": 1,
                  "description": "The ISO 4217 currency code for currency metrics."
                },
                "cohortSpec": {
                  "type": "object",
                  "properties": {},
                  "additionalProperties": true,
                  "description": "The Google Analytics Data API cohort specification for cohort reports."
                },
                "keepEmptyRows": {
                  "type": "boolean",
                  "description": "Whether rows with zero metric values should be returned."
                },
                "comparisons": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {},
                    "additionalProperties": true,
                    "description": "A Google Analytics Data API comparison object."
                  },
                  "description": "The comparisons to include in the pivot report.",
                  "minItems": 1
                },
                "returnPropertyQuota": {
                  "type": "boolean",
                  "description": "Whether to return the property quota with the response."
                }
              },
              "additionalProperties": false,
              "required": [
                "metrics",
                "pivots"
              ],
              "description": "A Google Analytics RunPivotReportRequest included in a batch request."
            },
            "description": "The RunPivotReportRequest objects to execute in the batch.",
            "minItems": 1,
            "maxItems": 5
          }
        },
        "additionalProperties": false,
        "required": [
          "propertyId",
          "requests"
        ],
        "description": "Input parameters for running a batch of Google Analytics pivot reports."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "pivotReports": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "pivotHeaders": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "pivotDimensionHeaders": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "properties": {},
                          "additionalProperties": true,
                          "description": "The raw Google Analytics object."
                        },
                        "description": "The pivot dimension header entries returned by Google Analytics."
                      },
                      "rowCount": {
                        "anyOf": [
                          {
                            "type": "integer",
                            "description": "The number of rows returned for this pivot."
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "raw": {
                        "type": "object",
                        "properties": {},
                        "additionalProperties": true,
                        "description": "The raw Google Analytics object."
                      }
                    },
                    "additionalProperties": false,
                    "required": [
                      "pivotDimensionHeaders",
                      "rowCount",
                      "raw"
                    ],
                    "description": "A normalized Google Analytics pivot header."
                  },
                  "description": "The pivot headers returned by the report."
                },
                "dimensionHeaders": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "name": {
                        "anyOf": [
                          {
                            "type": "string",
                            "description": "The header name."
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "type": {
                        "anyOf": [
                          {
                            "type": "string",
                            "description": "The metric type when present."
                          },
                          {
                            "type": "null"
                          }
                        ]
                      }
                    },
                    "additionalProperties": false,
                    "required": [
                      "name",
                      "type"
                    ],
                    "description": "A Google Analytics report header."
                  },
                  "description": "The dimension headers returned by the report."
                },
                "metricHeaders": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "name": {
                        "anyOf": [
                          {
                            "type": "string",
                            "description": "The header name."
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "type": {
                        "anyOf": [
                          {
                            "type": "string",
                            "description": "The metric type when present."
                          },
                          {
                            "type": "null"
                          }
                        ]
                      }
                    },
                    "additionalProperties": false,
                    "required": [
                      "name",
                      "type"
                    ],
                    "description": "A Google Analytics report header."
                  },
                  "description": "The metric headers returned by the report."
                },
                "rows": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "dimensions": {
                        "type": "object",
                        "additionalProperties": {
                          "type": "string",
                          "description": "A string value returned by Google Analytics."
                        },
                        "description": "Dimension values keyed by dimension header name."
                      },
                      "metrics": {
                        "type": "object",
                        "additionalProperties": {
                          "type": "string",
                          "description": "A string value returned by Google Analytics."
                        },
                        "description": "Metric values keyed by metric header name."
                      },
                      "dimensionValues": {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "description": "A string value returned by Google Analytics."
                        },
                        "description": "Dimension values in response order."
                      },
                      "metricValues": {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "description": "A string value returned by Google Analytics."
                        },
                        "description": "Metric values in response order."
                      },
                      "raw": {
                        "type": "object",
                        "properties": {},
                        "additionalProperties": true,
                        "description": "The raw Google Analytics object."
                      }
                    },
                    "additionalProperties": false,
                    "required": [
                      "dimensions",
                      "metrics",
                      "dimensionValues",
                      "metricValues",
                      "raw"
                    ],
                    "description": "A normalized Google Analytics report row."
                  },
                  "description": "The normalized report rows."
                },
                "metadata": {
                  "anyOf": [
                    {
                      "type": "object",
                      "properties": {
                        "currencyCode": {
                          "anyOf": [
                            {
                              "type": "string",
                              "description": "The currency code used by the report."
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "timeZone": {
                          "anyOf": [
                            {
                              "type": "string",
                              "description": "The property timezone used by the report."
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "raw": {
                          "type": "object",
                          "properties": {},
                          "additionalProperties": true,
                          "description": "The raw Google Analytics object."
                        }
                      },
                      "additionalProperties": false,
                      "required": [
                        "currencyCode",
                        "timeZone",
                        "raw"
                      ],
                      "description": "Normalized Google Analytics report metadata."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "propertyQuota": {
                  "anyOf": [
                    {
                      "type": "object",
                      "properties": {},
                      "additionalProperties": true,
                      "description": "The raw Google Analytics object."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "raw": {
                  "type": "object",
                  "properties": {},
                  "additionalProperties": true,
                  "description": "The raw Google Analytics object."
                }
              },
              "additionalProperties": false,
              "required": [
                "pivotHeaders",
                "dimensionHeaders",
                "metricHeaders",
                "rows",
                "metadata",
                "propertyQuota",
                "raw"
              ],
              "description": "A normalized Google Analytics pivot report response."
            },
            "description": "The normalized pivot reports returned by Google Analytics."
          },
          "raw": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "The raw Google Analytics object."
          }
        },
        "additionalProperties": false,
        "required": [
          "pivotReports",
          "raw"
        ],
        "description": "The Google Analytics batch pivot report response."
      }
    },
    {
      "id": "google_analytics.batch_run_reports",
      "service": "google_analytics",
      "name": "batch_run_reports",
      "description": "Run up to five Google Analytics Data API reports in one batch request for a single property.",
      "requiredScopes": [
        "https://www.googleapis.com/auth/analytics.readonly"
      ],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "propertyId": {
            "type": "string",
            "minLength": 1,
            "description": "The Google Analytics property ID, with or without the properties/ prefix."
          },
          "requests": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "dateRanges": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "startDate": {
                        "type": "string",
                        "minLength": 1,
                        "description": "The inclusive start date in YYYY-MM-DD format or a relative value such as 7daysAgo."
                      },
                      "endDate": {
                        "type": "string",
                        "minLength": 1,
                        "description": "The inclusive end date in YYYY-MM-DD format or a relative value such as today."
                      },
                      "name": {
                        "type": "string",
                        "minLength": 1,
                        "description": "The optional date range name used in response dimensions."
                      }
                    },
                    "additionalProperties": false,
                    "required": [
                      "startDate",
                      "endDate"
                    ],
                    "description": "A Google Analytics Data API date range."
                  },
                  "description": "The date ranges for the report.",
                  "minItems": 1
                },
                "dimensions": {
                  "type": "array",
                  "items": {
                    "anyOf": [
                      {
                        "type": "string",
                        "minLength": 1,
                        "description": "The API name of the dimension or metric."
                      },
                      {
                        "type": "object",
                        "properties": {},
                        "additionalProperties": true,
                        "description": "The official Google Analytics Dimension or Metric object, usually containing a name field."
                      }
                    ],
                    "description": "A Google Analytics named dimension or metric request."
                  },
                  "description": "The dimensions to include in the report.",
                  "minItems": 1
                },
                "metrics": {
                  "type": "array",
                  "items": {
                    "anyOf": [
                      {
                        "type": "string",
                        "minLength": 1,
                        "description": "The API name of the dimension or metric."
                      },
                      {
                        "type": "object",
                        "properties": {},
                        "additionalProperties": true,
                        "description": "The official Google Analytics Dimension or Metric object, usually containing a name field."
                      }
                    ],
                    "description": "A Google Analytics named dimension or metric request."
                  },
                  "description": "The metrics to include in the report.",
                  "minItems": 1
                },
                "dimensionFilter": {
                  "type": "object",
                  "properties": {},
                  "additionalProperties": true,
                  "description": "A Google Analytics Data API FilterExpression object."
                },
                "metricFilter": {
                  "type": "object",
                  "properties": {},
                  "additionalProperties": true,
                  "description": "A Google Analytics Data API FilterExpression object."
                },
                "orderBys": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {},
                    "additionalProperties": true,
                    "description": "A Google Analytics Data API OrderBy object."
                  },
                  "description": "The report ordering rules.",
                  "minItems": 1
                },
                "currencyCode": {
                  "type": "string",
                  "minLength": 1,
                  "description": "The ISO 4217 currency code for currency metrics."
                },
                "cohortSpec": {
                  "type": "object",
                  "properties": {},
                  "additionalProperties": true,
                  "description": "The Google Analytics Data API cohort specification for cohort reports."
                },
                "keepEmptyRows": {
                  "type": "boolean",
                  "description": "Whether rows with zero metric values should be returned."
                },
                "metricAggregations": {
                  "type": "array",
                  "items": {
                    "type": "string",
                    "enum": [
                      "METRIC_AGGREGATION_UNSPECIFIED",
                      "TOTAL",
                      "MINIMUM",
                      "MAXIMUM",
                      "COUNT"
                    ],
                    "description": "A Google Analytics metric aggregation enum value."
                  },
                  "description": "The metric aggregations to include in the report.",
                  "minItems": 1
                },
                "comparisons": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {},
                    "additionalProperties": true,
                    "description": "A Google Analytics Data API comparison object."
                  },
                  "description": "The comparisons to include in the report.",
                  "minItems": 1
                },
                "limit": {
                  "anyOf": [
                    {
                      "type": "string",
                      "minLength": 1,
                      "description": "The int64 value encoded as a string."
                    },
                    {
                      "type": "integer",
                      "description": "The int64 value encoded as an integer."
                    }
                  ],
                  "description": "A Google Analytics int64 request value."
                },
                "offset": {
                  "anyOf": [
                    {
                      "type": "string",
                      "minLength": 1,
                      "description": "The int64 value encoded as a string."
                    },
                    {
                      "type": "integer",
                      "description": "The int64 value encoded as an integer."
                    }
                  ],
                  "description": "A Google Analytics int64 request value."
                },
                "returnPropertyQuota": {
                  "type": "boolean",
                  "description": "Whether to return the property quota with the response."
                }
              },
              "additionalProperties": false,
              "required": [
                "dateRanges",
                "metrics"
              ],
              "description": "A Google Analytics RunReportRequest included in a batch request."
            },
            "description": "The RunReportRequest objects to execute in the batch.",
            "minItems": 1,
            "maxItems": 5
          }
        },
        "additionalProperties": false,
        "required": [
          "propertyId",
          "requests"
        ],
        "description": "Input parameters for running a batch of Google Analytics reports."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "reports": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "dimensionHeaders": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "name": {
                        "anyOf": [
                          {
                            "type": "string",
                            "description": "The header name."
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "type": {
                        "anyOf": [
                          {
                            "type": "string",
                            "description": "The metric type when present."
                          },
                          {
                            "type": "null"
                          }
                        ]
                      }
                    },
                    "additionalProperties": false,
                    "required": [
                      "name",
                      "type"
                    ],
                    "description": "A Google Analytics report header."
                  },
                  "description": "The dimension headers returned by the report."
                },
                "metricHeaders": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "name": {
                        "anyOf": [
                          {
                            "type": "string",
                            "description": "The header name."
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "type": {
                        "anyOf": [
                          {
                            "type": "string",
                            "description": "The metric type when present."
                          },
                          {
                            "type": "null"
                          }
                        ]
                      }
                    },
                    "additionalProperties": false,
                    "required": [
                      "name",
                      "type"
                    ],
                    "description": "A Google Analytics report header."
                  },
                  "description": "The metric headers returned by the report."
                },
                "rows": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "dimensions": {
                        "type": "object",
                        "additionalProperties": {
                          "type": "string",
                          "description": "A string value returned by Google Analytics."
                        },
                        "description": "Dimension values keyed by dimension header name."
                      },
                      "metrics": {
                        "type": "object",
                        "additionalProperties": {
                          "type": "string",
                          "description": "A string value returned by Google Analytics."
                        },
                        "description": "Metric values keyed by metric header name."
                      },
                      "dimensionValues": {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "description": "A string value returned by Google Analytics."
                        },
                        "description": "Dimension values in response order."
                      },
                      "metricValues": {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "description": "A string value returned by Google Analytics."
                        },
                        "description": "Metric values in response order."
                      },
                      "raw": {
                        "type": "object",
                        "properties": {},
                        "additionalProperties": true,
                        "description": "The raw Google Analytics object."
                      }
                    },
                    "additionalProperties": false,
                    "required": [
                      "dimensions",
                      "metrics",
                      "dimensionValues",
                      "metricValues",
                      "raw"
                    ],
                    "description": "A normalized Google Analytics report row."
                  },
                  "description": "The normalized report rows."
                },
                "rowCount": {
                  "anyOf": [
                    {
                      "type": "integer",
                      "description": "The total row count returned by Google Analytics."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "metadata": {
                  "anyOf": [
                    {
                      "type": "object",
                      "properties": {
                        "currencyCode": {
                          "anyOf": [
                            {
                              "type": "string",
                              "description": "The currency code used by the report."
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "timeZone": {
                          "anyOf": [
                            {
                              "type": "string",
                              "description": "The property timezone used by the report."
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "raw": {
                          "type": "object",
                          "properties": {},
                          "additionalProperties": true,
                          "description": "The raw Google Analytics object."
                        }
                      },
                      "additionalProperties": false,
                      "required": [
                        "currencyCode",
                        "timeZone",
                        "raw"
                      ],
                      "description": "Normalized Google Analytics report metadata."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "propertyQuota": {
                  "anyOf": [
                    {
                      "type": "object",
                      "properties": {},
                      "additionalProperties": true,
                      "description": "The raw Google Analytics object."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "totals": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "dimensions": {
                        "type": "object",
                        "additionalProperties": {
                          "type": "string",
                          "description": "A string value returned by Google Analytics."
                        },
                        "description": "Dimension values keyed by dimension header name."
                      },
                      "metrics": {
                        "type": "object",
                        "additionalProperties": {
                          "type": "string",
                          "description": "A string value returned by Google Analytics."
                        },
                        "description": "Metric values keyed by metric header name."
                      },
                      "dimensionValues": {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "description": "A string value returned by Google Analytics."
                        },
                        "description": "Dimension values in response order."
                      },
                      "metricValues": {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "description": "A string value returned by Google Analytics."
                        },
                        "description": "Metric values in response order."
                      },
                      "raw": {
                        "type": "object",
                        "properties": {},
                        "additionalProperties": true,
                        "description": "The raw Google Analytics object."
                      }
                    },
                    "additionalProperties": false,
                    "required": [
                      "dimensions",
                      "metrics",
                      "dimensionValues",
                      "metricValues",
                      "raw"
                    ],
                    "description": "A normalized Google Analytics report row."
                  },
                  "description": "Total rows returned by Google Analytics."
                },
                "minimums": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "dimensions": {
                        "type": "object",
                        "additionalProperties": {
                          "type": "string",
                          "description": "A string value returned by Google Analytics."
                        },
                        "description": "Dimension values keyed by dimension header name."
                      },
                      "metrics": {
                        "type": "object",
                        "additionalProperties": {
                          "type": "string",
                          "description": "A string value returned by Google Analytics."
                        },
                        "description": "Metric values keyed by metric header name."
                      },
                      "dimensionValues": {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "description": "A string value returned by Google Analytics."
                        },
                        "description": "Dimension values in response order."
                      },
                      "metricValues": {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "description": "A string value returned by Google Analytics."
                        },
                        "description": "Metric values in response order."
                      },
                      "raw": {
                        "type": "object",
                        "properties": {},
                        "additionalProperties": true,
                        "description": "The raw Google Analytics object."
                      }
                    },
                    "additionalProperties": false,
                    "required": [
                      "dimensions",
                      "metrics",
                      "dimensionValues",
                      "metricValues",
                      "raw"
                    ],
                    "description": "A normalized Google Analytics report row."
                  },
                  "description": "Minimum rows returned by Google Analytics."
                },
                "maximums": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "dimensions": {
                        "type": "object",
                        "additionalProperties": {
                          "type": "string",
                          "description": "A string value returned by Google Analytics."
                        },
                        "description": "Dimension values keyed by dimension header name."
                      },
                      "metrics": {
                        "type": "object",
                        "additionalProperties": {
                          "type": "string",
                          "description": "A string value returned by Google Analytics."
                        },
                        "description": "Metric values keyed by metric header name."
                      },
                      "dimensionValues": {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "description": "A string value returned by Google Analytics."
                        },
                        "description": "Dimension values in response order."
                      },
                      "metricValues": {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "description": "A string value returned by Google Analytics."
                        },
                        "description": "Metric values in response order."
                      },
                      "raw": {
                        "type": "object",
                        "properties": {},
                        "additionalProperties": true,
                        "description": "The raw Google Analytics object."
                      }
                    },
                    "additionalProperties": false,
                    "required": [
                      "dimensions",
                      "metrics",
                      "dimensionValues",
                      "metricValues",
                      "raw"
                    ],
                    "description": "A normalized Google Analytics report row."
                  },
                  "description": "Maximum rows returned by Google Analytics."
                },
                "raw": {
                  "type": "object",
                  "properties": {},
                  "additionalProperties": true,
                  "description": "The raw Google Analytics object."
                }
              },
              "additionalProperties": false,
              "required": [
                "dimensionHeaders",
                "metricHeaders",
                "rows",
                "rowCount",
                "metadata",
                "propertyQuota",
                "totals",
                "minimums",
                "maximums",
                "raw"
              ],
              "description": "A normalized Google Analytics report response."
            },
            "description": "The normalized reports returned by Google Analytics."
          },
          "raw": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "The raw Google Analytics object."
          }
        },
        "additionalProperties": false,
        "required": [
          "reports",
          "raw"
        ],
        "description": "The Google Analytics batch report response."
      }
    },
    {
      "id": "google_analytics.check_compatibility",
      "service": "google_analytics",
      "name": "check_compatibility",
      "description": "Check whether selected Google Analytics dimensions and metrics can be queried together.",
      "requiredScopes": [
        "https://www.googleapis.com/auth/analytics.readonly"
      ],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "propertyId": {
            "type": "string",
            "minLength": 1,
            "description": "The Google Analytics property ID, with or without the properties/ prefix."
          },
          "dimensions": {
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "type": "string",
                  "minLength": 1,
                  "description": "The API name of the dimension or metric."
                },
                {
                  "type": "object",
                  "properties": {},
                  "additionalProperties": true,
                  "description": "The official Google Analytics Dimension or Metric object, usually containing a name field."
                }
              ],
              "description": "A Google Analytics named dimension or metric request."
            },
            "description": "The dimensions to check for compatibility.",
            "minItems": 1
          },
          "metrics": {
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "type": "string",
                  "minLength": 1,
                  "description": "The API name of the dimension or metric."
                },
                {
                  "type": "object",
                  "properties": {},
                  "additionalProperties": true,
                  "description": "The official Google Analytics Dimension or Metric object, usually containing a name field."
                }
              ],
              "description": "A Google Analytics named dimension or metric request."
            },
            "description": "The metrics to check for compatibility.",
            "minItems": 1,
            "maxItems": 10
          },
          "dimensionFilter": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "A Google Analytics Data API FilterExpression object."
          },
          "metricFilter": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "A Google Analytics Data API FilterExpression object."
          },
          "compatibilityFilter": {
            "type": "string",
            "enum": [
              "COMPATIBILITY_UNSPECIFIED",
              "COMPATIBLE",
              "INCOMPATIBLE"
            ],
            "description": "Filter results by Google Analytics compatibility enum value."
          }
        },
        "additionalProperties": false,
        "required": [
          "propertyId"
        ],
        "description": "Input parameters for checking Google Analytics dimension and metric compatibility."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "compatibility": {
            "type": "object",
            "properties": {
              "dimensionCompatibilities": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "compatibility": {
                      "anyOf": [
                        {
                          "type": "string",
                          "description": "The Google Analytics compatibility enum value."
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "metadata": {
                      "type": "object",
                      "properties": {
                        "apiName": {
                          "anyOf": [
                            {
                              "type": "string",
                              "description": "The API name used in report requests."
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "uiName": {
                          "anyOf": [
                            {
                              "type": "string",
                              "description": "The display name shown by Google Analytics."
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "description": {
                          "anyOf": [
                            {
                              "type": "string",
                              "description": "The field description returned by Google Analytics."
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "category": {
                          "anyOf": [
                            {
                              "type": "string",
                              "description": "The metadata category returned by Google Analytics."
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "type": {
                          "anyOf": [
                            {
                              "type": "string",
                              "description": "The metric type returned by Google Analytics when present."
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "expression": {
                          "anyOf": [
                            {
                              "type": "string",
                              "description": "The metric expression returned by Google Analytics."
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "deprecatedApiNames": {
                          "type": "array",
                          "items": {
                            "type": "string",
                            "description": "A string value returned by Google Analytics."
                          },
                          "description": "Deprecated API names for this field."
                        },
                        "customDefinition": {
                          "anyOf": [
                            {
                              "type": "boolean",
                              "description": "Whether this is a custom dimension or metric."
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "raw": {
                          "type": "object",
                          "properties": {},
                          "additionalProperties": true,
                          "description": "The raw Google Analytics object."
                        }
                      },
                      "additionalProperties": false,
                      "required": [
                        "apiName",
                        "uiName",
                        "description",
                        "category",
                        "type",
                        "expression",
                        "deprecatedApiNames",
                        "customDefinition",
                        "raw"
                      ],
                      "description": "A normalized Google Analytics metadata field."
                    },
                    "raw": {
                      "type": "object",
                      "properties": {},
                      "additionalProperties": true,
                      "description": "The raw Google Analytics object."
                    }
                  },
                  "additionalProperties": false,
                  "required": [
                    "compatibility",
                    "metadata",
                    "raw"
                  ],
                  "description": "A normalized Google Analytics compatibility result."
                },
                "description": "The compatibility results for requested dimensions."
              },
              "metricCompatibilities": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "compatibility": {
                      "anyOf": [
                        {
                          "type": "string",
                          "description": "The Google Analytics compatibility enum value."
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "metadata": {
                      "type": "object",
                      "properties": {
                        "apiName": {
                          "anyOf": [
                            {
                              "type": "string",
                              "description": "The API name used in report requests."
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "uiName": {
                          "anyOf": [
                            {
                              "type": "string",
                              "description": "The display name shown by Google Analytics."
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "description": {
                          "anyOf": [
                            {
                              "type": "string",
                              "description": "The field description returned by Google Analytics."
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "category": {
                          "anyOf": [
                            {
                              "type": "string",
                              "description": "The metadata category returned by Google Analytics."
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "type": {
                          "anyOf": [
                            {
                              "type": "string",
                              "description": "The metric type returned by Google Analytics when present."
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "expression": {
                          "anyOf": [
                            {
                              "type": "string",
                              "description": "The metric expression returned by Google Analytics."
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "deprecatedApiNames": {
                          "type": "array",
                          "items": {
                            "type": "string",
                            "description": "A string value returned by Google Analytics."
                          },
                          "description": "Deprecated API names for this field."
                        },
                        "customDefinition": {
                          "anyOf": [
                            {
                              "type": "boolean",
                              "description": "Whether this is a custom dimension or metric."
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "raw": {
                          "type": "object",
                          "properties": {},
                          "additionalProperties": true,
                          "description": "The raw Google Analytics object."
                        }
                      },
                      "additionalProperties": false,
                      "required": [
                        "apiName",
                        "uiName",
                        "description",
                        "category",
                        "type",
                        "expression",
                        "deprecatedApiNames",
                        "customDefinition",
                        "raw"
                      ],
                      "description": "A normalized Google Analytics metadata field."
                    },
                    "raw": {
                      "type": "object",
                      "properties": {},
                      "additionalProperties": true,
                      "description": "The raw Google Analytics object."
                    }
                  },
                  "additionalProperties": false,
                  "required": [
                    "compatibility",
                    "metadata",
                    "raw"
                  ],
                  "description": "A normalized Google Analytics compatibility result."
                },
                "description": "The compatibility results for requested metrics."
              },
              "raw": {
                "type": "object",
                "properties": {},
                "additionalProperties": true,
                "description": "The raw Google Analytics object."
              }
            },
            "additionalProperties": false,
            "required": [
              "dimensionCompatibilities",
              "metricCompatibilities",
              "raw"
            ],
            "description": "The normalized Google Analytics compatibility check response."
          }
        },
        "additionalProperties": false,
        "required": [
          "compatibility"
        ],
        "description": "The Google Analytics compatibility check response."
      }
    },
    {
      "id": "google_analytics.create_custom_dimension",
      "service": "google_analytics",
      "name": "create_custom_dimension",
      "description": "Create a Google Analytics custom dimension so reporting can use a business-specific event, user, or item attribute.",
      "requiredScopes": [
        "https://www.googleapis.com/auth/analytics.edit"
      ],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "propertyId": {
            "type": "string",
            "minLength": 1,
            "description": "The Google Analytics property ID, with or without the properties/ prefix."
          },
          "parameterName": {
            "type": "string",
            "minLength": 1,
            "description": "The event parameter name for the custom dimension."
          },
          "displayName": {
            "type": "string",
            "minLength": 1,
            "description": "The custom dimension display name."
          },
          "description": {
            "type": "string",
            "minLength": 1,
            "description": "The custom dimension description."
          },
          "scope": {
            "type": "string",
            "enum": [
              "EVENT",
              "USER",
              "ITEM"
            ],
            "description": "The custom dimension scope enum value."
          },
          "disallowAdsPersonalization": {
            "type": "boolean",
            "description": "Whether this custom dimension is blocked from ads personalization."
          }
        },
        "additionalProperties": false,
        "required": [
          "propertyId",
          "parameterName",
          "displayName",
          "scope"
        ],
        "description": "Input parameters for creating a Google Analytics custom dimension."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "customDimension": {
            "type": "object",
            "properties": {
              "name": {
                "anyOf": [
                  {
                    "type": "string",
                    "description": "The custom dimension resource name."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "parameterName": {
                "anyOf": [
                  {
                    "type": "string",
                    "description": "The event parameter name for the custom dimension."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "displayName": {
                "anyOf": [
                  {
                    "type": "string",
                    "description": "The custom dimension display name."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "description": {
                "anyOf": [
                  {
                    "type": "string",
                    "description": "The custom dimension description."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "scope": {
                "anyOf": [
                  {
                    "type": "string",
                    "description": "The custom dimension scope enum value."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "disallowAdsPersonalization": {
                "anyOf": [
                  {
                    "type": "boolean",
                    "description": "Whether this custom dimension is blocked from ads personalization."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "raw": {
                "type": "object",
                "properties": {},
                "additionalProperties": true,
                "description": "The raw Google Analytics object."
              }
            },
            "additionalProperties": false,
            "required": [
              "name",
              "parameterName",
              "displayName",
              "description",
              "scope",
              "disallowAdsPersonalization",
              "raw"
            ],
            "description": "A normalized Google Analytics custom dimension."
          }
        },
        "additionalProperties": false,
        "required": [
          "customDimension"
        ],
        "description": "The created Google Analytics custom dimension response."
      }
    },
    {
      "id": "google_analytics.create_custom_metric",
      "service": "google_analytics",
      "name": "create_custom_metric",
      "description": "Create a Google Analytics custom metric so reports can measure business-specific event values.",
      "requiredScopes": [
        "https://www.googleapis.com/auth/analytics.edit"
      ],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "propertyId": {
            "type": "string",
            "minLength": 1,
            "description": "The Google Analytics property ID, with or without the properties/ prefix."
          },
          "parameterName": {
            "type": "string",
            "minLength": 1,
            "description": "The event parameter name for the custom metric."
          },
          "displayName": {
            "type": "string",
            "minLength": 1,
            "description": "The custom metric display name."
          },
          "description": {
            "type": "string",
            "minLength": 1,
            "description": "The custom metric description."
          },
          "measurementUnit": {
            "type": "string",
            "enum": [
              "MEASUREMENT_UNIT_UNSPECIFIED",
              "STANDARD",
              "CURRENCY",
              "FEET",
              "METERS",
              "KILOMETERS",
              "MILES",
              "MILLISECONDS",
              "SECONDS",
              "MINUTES",
              "HOURS"
            ],
            "description": "The custom metric measurement unit enum value."
          },
          "scope": {
            "type": "string",
            "enum": [
              "EVENT"
            ],
            "description": "The custom metric scope enum value."
          },
          "restrictedMetricType": {
            "type": "array",
            "items": {
              "type": "string",
              "enum": [
                "RESTRICTED_METRIC_TYPE_UNSPECIFIED",
                "COST_DATA",
                "REVENUE_DATA"
              ],
              "description": "A Google Analytics restricted metric type enum value."
            },
            "description": "The restricted metric type enum values for this custom metric.",
            "minItems": 1
          }
        },
        "additionalProperties": false,
        "required": [
          "propertyId",
          "parameterName",
          "displayName",
          "measurementUnit",
          "scope"
        ],
        "description": "Input parameters for creating a Google Analytics custom metric."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "customMetric": {
            "type": "object",
            "properties": {
              "name": {
                "anyOf": [
                  {
                    "type": "string",
                    "description": "The custom metric resource name."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "parameterName": {
                "anyOf": [
                  {
                    "type": "string",
                    "description": "The event parameter name for the custom metric."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "displayName": {
                "anyOf": [
                  {
                    "type": "string",
                    "description": "The custom metric display name."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "description": {
                "anyOf": [
                  {
                    "type": "string",
                    "description": "The custom metric description."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "measurementUnit": {
                "anyOf": [
                  {
                    "type": "string",
                    "description": "The custom metric measurement unit enum value."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "scope": {
                "anyOf": [
                  {
                    "type": "string",
                    "description": "The custom metric scope enum value."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "restrictedMetricType": {
                "type": "array",
                "items": {
                  "type": "string",
                  "description": "A string value returned by Google Analytics."
                },
                "description": "The restricted metric type enum values for this custom metric."
              },
              "raw": {
                "type": "object",
                "properties": {},
                "additionalProperties": true,
                "description": "The raw Google Analytics object."
              }
            },
            "additionalProperties": false,
            "required": [
              "name",
              "parameterName",
              "displayName",
              "description",
              "measurementUnit",
              "scope",
              "restrictedMetricType",
              "raw"
            ],
            "description": "A normalized Google Analytics custom metric."
          }
        },
        "additionalProperties": false,
        "required": [
          "customMetric"
        ],
        "description": "The created Google Analytics custom metric response."
      }
    },
    {
      "id": "google_analytics.get_metadata",
      "service": "google_analytics",
      "name": "get_metadata",
      "description": "Get available dimensions and metrics for a Google Analytics property before building reports.",
      "requiredScopes": [
        "https://www.googleapis.com/auth/analytics.readonly"
      ],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "propertyId": {
            "type": "string",
            "minLength": 1,
            "description": "The Google Analytics property ID, with or without the properties/ prefix."
          }
        },
        "additionalProperties": false,
        "required": [
          "propertyId"
        ],
        "description": "Input parameters for getting Google Analytics metadata."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "metadata": {
            "type": "object",
            "properties": {
              "name": {
                "anyOf": [
                  {
                    "type": "string",
                    "description": "The metadata resource name."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "dimensions": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "apiName": {
                      "anyOf": [
                        {
                          "type": "string",
                          "description": "The API name used in report requests."
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "uiName": {
                      "anyOf": [
                        {
                          "type": "string",
                          "description": "The display name shown by Google Analytics."
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "description": {
                      "anyOf": [
                        {
                          "type": "string",
                          "description": "The field description returned by Google Analytics."
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "category": {
                      "anyOf": [
                        {
                          "type": "string",
                          "description": "The metadata category returned by Google Analytics."
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "type": {
                      "anyOf": [
                        {
                          "type": "string",
                          "description": "The metric type returned by Google Analytics when present."
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "expression": {
                      "anyOf": [
                        {
                          "type": "string",
                          "description": "The metric expression returned by Google Analytics."
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "deprecatedApiNames": {
                      "type": "array",
                      "items": {
                        "type": "string",
                        "description": "A string value returned by Google Analytics."
                      },
                      "description": "Deprecated API names for this field."
                    },
                    "customDefinition": {
                      "anyOf": [
                        {
                          "type": "boolean",
                          "description": "Whether this is a custom dimension or metric."
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "raw": {
                      "type": "object",
                      "properties": {},
                      "additionalProperties": true,
                      "description": "The raw Google Analytics object."
                    }
                  },
                  "additionalProperties": false,
                  "required": [
                    "apiName",
                    "uiName",
                    "description",
                    "category",
                    "type",
                    "expression",
                    "deprecatedApiNames",
                    "customDefinition",
                    "raw"
                  ],
                  "description": "A normalized Google Analytics metadata field."
                },
                "description": "The available dimensions for the property."
              },
              "metrics": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "apiName": {
                      "anyOf": [
                        {
                          "type": "string",
                          "description": "The API name used in report requests."
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "uiName": {
                      "anyOf": [
                        {
                          "type": "string",
                          "description": "The display name shown by Google Analytics."
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "description": {
                      "anyOf": [
                        {
                          "type": "string",
                          "description": "The field description returned by Google Analytics."
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "category": {
                      "anyOf": [
                        {
                          "type": "string",
                          "description": "The metadata category returned by Google Analytics."
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "type": {
                      "anyOf": [
                        {
                          "type": "string",
                          "description": "The metric type returned by Google Analytics when present."
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "expression": {
                      "anyOf": [
                        {
                          "type": "string",
                          "description": "The metric expression returned by Google Analytics."
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "deprecatedApiNames": {
                      "type": "array",
                      "items": {
                        "type": "string",
                        "description": "A string value returned by Google Analytics."
                      },
                      "description": "Deprecated API names for this field."
                    },
                    "customDefinition": {
                      "anyOf": [
                        {
                          "type": "boolean",
                          "description": "Whether this is a custom dimension or metric."
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "raw": {
                      "type": "object",
                      "properties": {},
                      "additionalProperties": true,
                      "description": "The raw Google Analytics object."
                    }
                  },
                  "additionalProperties": false,
                  "required": [
                    "apiName",
                    "uiName",
                    "description",
                    "category",
                    "type",
                    "expression",
                    "deprecatedApiNames",
                    "customDefinition",
                    "raw"
                  ],
                  "description": "A normalized Google Analytics metadata field."
                },
                "description": "The available metrics for the property."
              },
              "comparisons": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "apiName": {
                      "anyOf": [
                        {
                          "type": "string",
                          "description": "The API name used in report requests."
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "uiName": {
                      "anyOf": [
                        {
                          "type": "string",
                          "description": "The display name shown by Google Analytics."
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "description": {
                      "anyOf": [
                        {
                          "type": "string",
                          "description": "The field description returned by Google Analytics."
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "category": {
                      "anyOf": [
                        {
                          "type": "string",
                          "description": "The metadata category returned by Google Analytics."
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "type": {
                      "anyOf": [
                        {
                          "type": "string",
                          "description": "The metric type returned by Google Analytics when present."
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "expression": {
                      "anyOf": [
                        {
                          "type": "string",
                          "description": "The metric expression returned by Google Analytics."
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "deprecatedApiNames": {
                      "type": "array",
                      "items": {
                        "type": "string",
                        "description": "A string value returned by Google Analytics."
                      },
                      "description": "Deprecated API names for this field."
                    },
                    "customDefinition": {
                      "anyOf": [
                        {
                          "type": "boolean",
                          "description": "Whether this is a custom dimension or metric."
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "raw": {
                      "type": "object",
                      "properties": {},
                      "additionalProperties": true,
                      "description": "The raw Google Analytics object."
                    }
                  },
                  "additionalProperties": false,
                  "required": [
                    "apiName",
                    "uiName",
                    "description",
                    "category",
                    "type",
                    "expression",
                    "deprecatedApiNames",
                    "customDefinition",
                    "raw"
                  ],
                  "description": "A normalized Google Analytics metadata field."
                },
                "description": "The available comparisons for the property."
              },
              "raw": {
                "type": "object",
                "properties": {},
                "additionalProperties": true,
                "description": "The raw Google Analytics object."
              }
            },
            "additionalProperties": false,
            "required": [
              "name",
              "dimensions",
              "metrics",
              "comparisons",
              "raw"
            ],
            "description": "The normalized Google Analytics metadata response."
          }
        },
        "additionalProperties": false,
        "required": [
          "metadata"
        ],
        "description": "The Google Analytics metadata response."
      }
    },
    {
      "id": "google_analytics.get_property_overview",
      "service": "google_analytics",
      "name": "get_property_overview",
      "description": "Get the key setup details for a Google Analytics property before choosing reports.",
      "requiredScopes": [
        "https://www.googleapis.com/auth/analytics.readonly"
      ],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "propertyId": {
            "type": "string",
            "minLength": 1,
            "description": "The Google Analytics property ID, with or without the properties/ prefix."
          }
        },
        "additionalProperties": false,
        "required": [
          "propertyId"
        ],
        "description": "Input parameters for getting a Google Analytics property overview."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "overview": {
            "type": "object",
            "properties": {
              "propertyId": {
                "anyOf": [
                  {
                    "type": "string",
                    "description": "The numeric property ID extracted from the property resource."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "property": {
                "anyOf": [
                  {
                    "type": "string",
                    "description": "The property resource name, such as properties/1234."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "parent": {
                "anyOf": [
                  {
                    "type": "string",
                    "description": "The parent account or roll-up property resource name."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "displayName": {
                "anyOf": [
                  {
                    "type": "string",
                    "description": "The property display name."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "propertyType": {
                "anyOf": [
                  {
                    "type": "string",
                    "description": "The Google Analytics property type enum value."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "industryCategory": {
                "anyOf": [
                  {
                    "type": "string",
                    "description": "The property industry category enum value."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "timeZone": {
                "anyOf": [
                  {
                    "type": "string",
                    "description": "The property reporting time zone."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "currencyCode": {
                "anyOf": [
                  {
                    "type": "string",
                    "description": "The property currency code."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "dataStreams": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "name": {
                      "anyOf": [
                        {
                          "type": "string",
                          "description": "The data stream resource name."
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "dataStreamId": {
                      "anyOf": [
                        {
                          "type": "string",
                          "description": "The numeric data stream ID extracted from the data stream resource."
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "displayName": {
                      "anyOf": [
                        {
                          "type": "string",
                          "description": "The data stream display name."
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "type": {
                      "anyOf": [
                        {
                          "type": "string",
                          "description": "The Google Analytics data stream type enum value."
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "webStreamData": {
                      "anyOf": [
                        {
                          "type": "object",
                          "properties": {},
                          "additionalProperties": true,
                          "description": "The raw Google Analytics object."
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "androidAppStreamData": {
                      "anyOf": [
                        {
                          "type": "object",
                          "properties": {},
                          "additionalProperties": true,
                          "description": "The raw Google Analytics object."
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "iosAppStreamData": {
                      "anyOf": [
                        {
                          "type": "object",
                          "properties": {},
                          "additionalProperties": true,
                          "description": "The raw Google Analytics object."
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "raw": {
                      "type": "object",
                      "properties": {},
                      "additionalProperties": true,
                      "description": "The raw Google Analytics object."
                    }
                  },
                  "additionalProperties": false,
                  "required": [
                    "name",
                    "dataStreamId",
                    "displayName",
                    "type",
                    "webStreamData",
                    "androidAppStreamData",
                    "iosAppStreamData",
                    "raw"
                  ],
                  "description": "A normalized Google Analytics data stream."
                },
                "description": "The data streams configured on the property."
              },
              "webMeasurementIds": {
                "type": "array",
                "items": {
                  "type": "string",
                  "description": "A string value returned by Google Analytics."
                },
                "description": "The web stream measurement IDs for the property."
              },
              "customDimensions": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "name": {
                      "anyOf": [
                        {
                          "type": "string",
                          "description": "The custom dimension resource name."
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "parameterName": {
                      "anyOf": [
                        {
                          "type": "string",
                          "description": "The event parameter name for the custom dimension."
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "displayName": {
                      "anyOf": [
                        {
                          "type": "string",
                          "description": "The custom dimension display name."
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "description": {
                      "anyOf": [
                        {
                          "type": "string",
                          "description": "The custom dimension description."
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "scope": {
                      "anyOf": [
                        {
                          "type": "string",
                          "description": "The custom dimension scope enum value."
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "disallowAdsPersonalization": {
                      "anyOf": [
                        {
                          "type": "boolean",
                          "description": "Whether this custom dimension is blocked from ads personalization."
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "raw": {
                      "type": "object",
                      "properties": {},
                      "additionalProperties": true,
                      "description": "The raw Google Analytics object."
                    }
                  },
                  "additionalProperties": false,
                  "required": [
                    "name",
                    "parameterName",
                    "displayName",
                    "description",
                    "scope",
                    "disallowAdsPersonalization",
                    "raw"
                  ],
                  "description": "A normalized Google Analytics custom dimension."
                },
                "description": "The custom dimensions configured on the property."
              },
              "customMetrics": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "name": {
                      "anyOf": [
                        {
                          "type": "string",
                          "description": "The custom metric resource name."
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "parameterName": {
                      "anyOf": [
                        {
                          "type": "string",
                          "description": "The event parameter name for the custom metric."
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "displayName": {
                      "anyOf": [
                        {
                          "type": "string",
                          "description": "The custom metric display name."
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "description": {
                      "anyOf": [
                        {
                          "type": "string",
                          "description": "The custom metric description."
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "measurementUnit": {
                      "anyOf": [
                        {
                          "type": "string",
                          "description": "The custom metric measurement unit enum value."
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "scope": {
                      "anyOf": [
                        {
                          "type": "string",
                          "description": "The custom metric scope enum value."
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "restrictedMetricType": {
                      "type": "array",
                      "items": {
                        "type": "string",
                        "description": "A string value returned by Google Analytics."
                      },
                      "description": "The restricted metric type enum values for this custom metric."
                    },
                    "raw": {
                      "type": "object",
                      "properties": {},
                      "additionalProperties": true,
                      "description": "The raw Google Analytics object."
                    }
                  },
                  "additionalProperties": false,
                  "required": [
                    "name",
                    "parameterName",
                    "displayName",
                    "description",
                    "measurementUnit",
                    "scope",
                    "restrictedMetricType",
                    "raw"
                  ],
                  "description": "A normalized Google Analytics custom metric."
                },
                "description": "The custom metrics configured on the property."
              },
              "metadata": {
                "type": "object",
                "properties": {
                  "name": {
                    "anyOf": [
                      {
                        "type": "string",
                        "description": "The metadata resource name."
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "dimensions": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "apiName": {
                          "anyOf": [
                            {
                              "type": "string",
                              "description": "The API name used in report requests."
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "uiName": {
                          "anyOf": [
                            {
                              "type": "string",
                              "description": "The display name shown by Google Analytics."
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "description": {
                          "anyOf": [
                            {
                              "type": "string",
                              "description": "The field description returned by Google Analytics."
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "category": {
                          "anyOf": [
                            {
                              "type": "string",
                              "description": "The metadata category returned by Google Analytics."
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "type": {
                          "anyOf": [
                            {
                              "type": "string",
                              "description": "The metric type returned by Google Analytics when present."
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "expression": {
                          "anyOf": [
                            {
                              "type": "string",
                              "description": "The metric expression returned by Google Analytics."
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "deprecatedApiNames": {
                          "type": "array",
                          "items": {
                            "type": "string",
                            "description": "A string value returned by Google Analytics."
                          },
                          "description": "Deprecated API names for this field."
                        },
                        "customDefinition": {
                          "anyOf": [
                            {
                              "type": "boolean",
                              "description": "Whether this is a custom dimension or metric."
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "raw": {
                          "type": "object",
                          "properties": {},
                          "additionalProperties": true,
                          "description": "The raw Google Analytics object."
                        }
                      },
                      "additionalProperties": false,
                      "required": [
                        "apiName",
                        "uiName",
                        "description",
                        "category",
                        "type",
                        "expression",
                        "deprecatedApiNames",
                        "customDefinition",
                        "raw"
                      ],
                      "description": "A normalized Google Analytics metadata field."
                    },
                    "description": "The available dimensions for the property."
                  },
                  "metrics": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "apiName": {
                          "anyOf": [
                            {
                              "type": "string",
                              "description": "The API name used in report requests."
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "uiName": {
                          "anyOf": [
                            {
                              "type": "string",
                              "description": "The display name shown by Google Analytics."
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "description": {
                          "anyOf": [
                            {
                              "type": "string",
                              "description": "The field description returned by Google Analytics."
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "category": {
                          "anyOf": [
                            {
                              "type": "string",
                              "description": "The metadata category returned by Google Analytics."
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "type": {
                          "anyOf": [
                            {
                              "type": "string",
                              "description": "The metric type returned by Google Analytics when present."
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "expression": {
                          "anyOf": [
                            {
                              "type": "string",
                              "description": "The metric expression returned by Google Analytics."
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "deprecatedApiNames": {
                          "type": "array",
                          "items": {
                            "type": "string",
                            "description": "A string value returned by Google Analytics."
                          },
                          "description": "Deprecated API names for this field."
                        },
                        "customDefinition": {
                          "anyOf": [
                            {
                              "type": "boolean",
                              "description": "Whether this is a custom dimension or metric."
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "raw": {
                          "type": "object",
                          "properties": {},
                          "additionalProperties": true,
                          "description": "The raw Google Analytics object."
                        }
                      },
                      "additionalProperties": false,
                      "required": [
                        "apiName",
                        "uiName",
                        "description",
                        "category",
                        "type",
                        "expression",
                        "deprecatedApiNames",
                        "customDefinition",
                        "raw"
                      ],
                      "description": "A normalized Google Analytics metadata field."
                    },
                    "description": "The available metrics for the property."
                  },
                  "comparisons": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "apiName": {
                          "anyOf": [
                            {
                              "type": "string",
                              "description": "The API name used in report requests."
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "uiName": {
                          "anyOf": [
                            {
                              "type": "string",
                              "description": "The display name shown by Google Analytics."
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "description": {
                          "anyOf": [
                            {
                              "type": "string",
                              "description": "The field description returned by Google Analytics."
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "category": {
                          "anyOf": [
                            {
                              "type": "string",
                              "description": "The metadata category returned by Google Analytics."
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "type": {
                          "anyOf": [
                            {
                              "type": "string",
                              "description": "The metric type returned by Google Analytics when present."
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "expression": {
                          "anyOf": [
                            {
                              "type": "string",
                              "description": "The metric expression returned by Google Analytics."
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "deprecatedApiNames": {
                          "type": "array",
                          "items": {
                            "type": "string",
                            "description": "A string value returned by Google Analytics."
                          },
                          "description": "Deprecated API names for this field."
                        },
                        "customDefinition": {
                          "anyOf": [
                            {
                              "type": "boolean",
                              "description": "Whether this is a custom dimension or metric."
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "raw": {
                          "type": "object",
                          "properties": {},
                          "additionalProperties": true,
                          "description": "The raw Google Analytics object."
                        }
                      },
                      "additionalProperties": false,
                      "required": [
                        "apiName",
                        "uiName",
                        "description",
                        "category",
                        "type",
                        "expression",
                        "deprecatedApiNames",
                        "customDefinition",
                        "raw"
                      ],
                      "description": "A normalized Google Analytics metadata field."
                    },
                    "description": "The available comparisons for the property."
                  },
                  "raw": {
                    "type": "object",
                    "properties": {},
                    "additionalProperties": true,
                    "description": "The raw Google Analytics object."
                  }
                },
                "additionalProperties": false,
                "required": [
                  "name",
                  "dimensions",
                  "metrics",
                  "comparisons",
                  "raw"
                ],
                "description": "The normalized Google Analytics metadata response."
              },
              "quota": {
                "type": "object",
                "properties": {
                  "name": {
                    "anyOf": [
                      {
                        "type": "string",
                        "description": "The quota snapshot resource name."
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "corePropertyQuota": {
                    "anyOf": [
                      {
                        "type": "object",
                        "properties": {},
                        "additionalProperties": true,
                        "description": "The raw Google Analytics object."
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "realtimePropertyQuota": {
                    "anyOf": [
                      {
                        "type": "object",
                        "properties": {},
                        "additionalProperties": true,
                        "description": "The raw Google Analytics object."
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "funnelPropertyQuota": {
                    "anyOf": [
                      {
                        "type": "object",
                        "properties": {},
                        "additionalProperties": true,
                        "description": "The raw Google Analytics object."
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "raw": {
                    "type": "object",
                    "properties": {},
                    "additionalProperties": true,
                    "description": "The raw Google Analytics object."
                  }
                },
                "additionalProperties": false,
                "required": [
                  "name",
                  "corePropertyQuota",
                  "realtimePropertyQuota",
                  "funnelPropertyQuota",
                  "raw"
                ],
                "description": "A normalized Google Analytics property quotas snapshot."
              },
              "raw": {
                "type": "object",
                "properties": {
                  "property": {
                    "anyOf": [
                      {
                        "type": "object",
                        "properties": {},
                        "additionalProperties": true,
                        "description": "The raw Google Analytics object."
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "dataStreams": {
                    "type": "object",
                    "properties": {},
                    "additionalProperties": true,
                    "description": "The raw Google Analytics object."
                  },
                  "customDimensions": {
                    "type": "object",
                    "properties": {},
                    "additionalProperties": true,
                    "description": "The raw Google Analytics object."
                  },
                  "customMetrics": {
                    "type": "object",
                    "properties": {},
                    "additionalProperties": true,
                    "description": "The raw Google Analytics object."
                  },
                  "metadata": {
                    "type": "object",
                    "properties": {},
                    "additionalProperties": true,
                    "description": "The raw Google Analytics object."
                  },
                  "quota": {
                    "type": "object",
                    "properties": {},
                    "additionalProperties": true,
                    "description": "The raw Google Analytics object."
                  }
                },
                "additionalProperties": false,
                "required": [
                  "property",
                  "dataStreams",
                  "customDimensions",
                  "customMetrics",
                  "metadata",
                  "quota"
                ],
                "description": "Raw Google Analytics responses used to build the overview."
              }
            },
            "additionalProperties": false,
            "required": [
              "propertyId",
              "property",
              "parent",
              "displayName",
              "propertyType",
              "industryCategory",
              "timeZone",
              "currencyCode",
              "dataStreams",
              "webMeasurementIds",
              "customDimensions",
              "customMetrics",
              "metadata",
              "quota",
              "raw"
            ],
            "description": "A Google Analytics property overview for reporting setup."
          }
        },
        "additionalProperties": false,
        "required": [
          "overview"
        ],
        "description": "The Google Analytics property overview response."
      }
    },
    {
      "id": "google_analytics.get_property_quotas_snapshot",
      "service": "google_analytics",
      "name": "get_property_quotas_snapshot",
      "description": "Get the Google Analytics Data API quota snapshot for a property without running a report.",
      "requiredScopes": [
        "https://www.googleapis.com/auth/analytics.readonly"
      ],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "propertyId": {
            "type": "string",
            "minLength": 1,
            "description": "The Google Analytics property ID, with or without the properties/ prefix."
          }
        },
        "additionalProperties": false,
        "required": [
          "propertyId"
        ],
        "description": "Input parameters for getting a Google Analytics quota snapshot."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "propertyQuotasSnapshot": {
            "type": "object",
            "properties": {
              "name": {
                "anyOf": [
                  {
                    "type": "string",
                    "description": "The quota snapshot resource name."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "corePropertyQuota": {
                "anyOf": [
                  {
                    "type": "object",
                    "properties": {},
                    "additionalProperties": true,
                    "description": "The raw Google Analytics object."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "realtimePropertyQuota": {
                "anyOf": [
                  {
                    "type": "object",
                    "properties": {},
                    "additionalProperties": true,
                    "description": "The raw Google Analytics object."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "funnelPropertyQuota": {
                "anyOf": [
                  {
                    "type": "object",
                    "properties": {},
                    "additionalProperties": true,
                    "description": "The raw Google Analytics object."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "raw": {
                "type": "object",
                "properties": {},
                "additionalProperties": true,
                "description": "The raw Google Analytics object."
              }
            },
            "additionalProperties": false,
            "required": [
              "name",
              "corePropertyQuota",
              "realtimePropertyQuota",
              "funnelPropertyQuota",
              "raw"
            ],
            "description": "A normalized Google Analytics property quotas snapshot."
          }
        },
        "additionalProperties": false,
        "required": [
          "propertyQuotasSnapshot"
        ],
        "description": "The Google Analytics property quotas snapshot response."
      }
    },
    {
      "id": "google_analytics.list_account_summaries",
      "service": "google_analytics",
      "name": "list_account_summaries",
      "description": "List Google Analytics accounts and property summaries visible to the connected Google account.",
      "requiredScopes": [
        "https://www.googleapis.com/auth/analytics.readonly"
      ],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "pageSize": {
            "type": "integer",
            "minimum": 1,
            "maximum": 200,
            "description": "The maximum number of items to return per page."
          },
          "pageToken": {
            "type": "string",
            "minLength": 1,
            "description": "The opaque pagination token returned by a previous Google Analytics response."
          }
        },
        "additionalProperties": false,
        "description": "Input parameters for listing Google Analytics account summaries."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "accountSummaries": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "name": {
                  "anyOf": [
                    {
                      "type": "string",
                      "description": "The account summary resource name."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "account": {
                  "anyOf": [
                    {
                      "type": "string",
                      "description": "The Google Analytics account resource name."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "displayName": {
                  "anyOf": [
                    {
                      "type": "string",
                      "description": "The account display name."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "propertySummaries": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "property": {
                        "anyOf": [
                          {
                            "type": "string",
                            "description": "The property resource name, such as properties/1234."
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "propertyId": {
                        "anyOf": [
                          {
                            "type": "string",
                            "description": "The numeric property ID extracted from the property resource."
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "displayName": {
                        "anyOf": [
                          {
                            "type": "string",
                            "description": "The property display name."
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "propertyType": {
                        "anyOf": [
                          {
                            "type": "string",
                            "description": "The Google Analytics property type enum value."
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "parent": {
                        "anyOf": [
                          {
                            "type": "string",
                            "description": "The parent account resource name."
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "raw": {
                        "type": "object",
                        "properties": {},
                        "additionalProperties": true,
                        "description": "The raw Google Analytics object."
                      }
                    },
                    "additionalProperties": false,
                    "required": [
                      "property",
                      "propertyId",
                      "displayName",
                      "propertyType",
                      "parent",
                      "raw"
                    ],
                    "description": "A normalized Google Analytics property summary."
                  },
                  "description": "The properties visible under the account."
                },
                "raw": {
                  "type": "object",
                  "properties": {},
                  "additionalProperties": true,
                  "description": "The raw Google Analytics object."
                }
              },
              "additionalProperties": false,
              "required": [
                "name",
                "account",
                "displayName",
                "propertySummaries",
                "raw"
              ],
              "description": "A normalized Google Analytics account summary."
            },
            "description": "The visible account summaries."
          },
          "nextPageToken": {
            "anyOf": [
              {
                "type": "string",
                "description": "The token for the next page when present."
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "additionalProperties": false,
        "required": [
          "accountSummaries",
          "nextPageToken"
        ],
        "description": "The Google Analytics account summaries response."
      }
    },
    {
      "id": "google_analytics.list_custom_dimensions",
      "service": "google_analytics",
      "name": "list_custom_dimensions",
      "description": "List custom dimensions configured on a Google Analytics property.",
      "requiredScopes": [
        "https://www.googleapis.com/auth/analytics.readonly"
      ],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "propertyId": {
            "type": "string",
            "minLength": 1,
            "description": "The Google Analytics property ID, with or without the properties/ prefix."
          },
          "pageSize": {
            "type": "integer",
            "minimum": 1,
            "maximum": 200,
            "description": "The maximum number of items to return per page."
          },
          "pageToken": {
            "type": "string",
            "minLength": 1,
            "description": "The opaque pagination token returned by a previous Google Analytics response."
          }
        },
        "additionalProperties": false,
        "required": [
          "propertyId"
        ],
        "description": "Input parameters for listing Google Analytics custom dimensions."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "customDimensions": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "name": {
                  "anyOf": [
                    {
                      "type": "string",
                      "description": "The custom dimension resource name."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "parameterName": {
                  "anyOf": [
                    {
                      "type": "string",
                      "description": "The event parameter name for the custom dimension."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "displayName": {
                  "anyOf": [
                    {
                      "type": "string",
                      "description": "The custom dimension display name."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "description": {
                  "anyOf": [
                    {
                      "type": "string",
                      "description": "The custom dimension description."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "scope": {
                  "anyOf": [
                    {
                      "type": "string",
                      "description": "The custom dimension scope enum value."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "disallowAdsPersonalization": {
                  "anyOf": [
                    {
                      "type": "boolean",
                      "description": "Whether this custom dimension is blocked from ads personalization."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "raw": {
                  "type": "object",
                  "properties": {},
                  "additionalProperties": true,
                  "description": "The raw Google Analytics object."
                }
              },
              "additionalProperties": false,
              "required": [
                "name",
                "parameterName",
                "displayName",
                "description",
                "scope",
                "disallowAdsPersonalization",
                "raw"
              ],
              "description": "A normalized Google Analytics custom dimension."
            },
            "description": "The custom dimensions on the property."
          },
          "nextPageToken": {
            "anyOf": [
              {
                "type": "string",
                "description": "The token for the next page when present."
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "additionalProperties": false,
        "required": [
          "customDimensions",
          "nextPageToken"
        ],
        "description": "The Google Analytics custom dimensions response."
      }
    },
    {
      "id": "google_analytics.list_custom_metrics",
      "service": "google_analytics",
      "name": "list_custom_metrics",
      "description": "List custom metrics configured on a Google Analytics property.",
      "requiredScopes": [
        "https://www.googleapis.com/auth/analytics.readonly"
      ],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "propertyId": {
            "type": "string",
            "minLength": 1,
            "description": "The Google Analytics property ID, with or without the properties/ prefix."
          },
          "pageSize": {
            "type": "integer",
            "minimum": 1,
            "maximum": 200,
            "description": "The maximum number of items to return per page."
          },
          "pageToken": {
            "type": "string",
            "minLength": 1,
            "description": "The opaque pagination token returned by a previous Google Analytics response."
          }
        },
        "additionalProperties": false,
        "required": [
          "propertyId"
        ],
        "description": "Input parameters for listing Google Analytics custom metrics."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "customMetrics": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "name": {
                  "anyOf": [
                    {
                      "type": "string",
                      "description": "The custom metric resource name."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "parameterName": {
                  "anyOf": [
                    {
                      "type": "string",
                      "description": "The event parameter name for the custom metric."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "displayName": {
                  "anyOf": [
                    {
                      "type": "string",
                      "description": "The custom metric display name."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "description": {
                  "anyOf": [
                    {
                      "type": "string",
                      "description": "The custom metric description."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "measurementUnit": {
                  "anyOf": [
                    {
                      "type": "string",
                      "description": "The custom metric measurement unit enum value."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "scope": {
                  "anyOf": [
                    {
                      "type": "string",
                      "description": "The custom metric scope enum value."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "restrictedMetricType": {
                  "type": "array",
                  "items": {
                    "type": "string",
                    "description": "A string value returned by Google Analytics."
                  },
                  "description": "The restricted metric type enum values for this custom metric."
                },
                "raw": {
                  "type": "object",
                  "properties": {},
                  "additionalProperties": true,
                  "description": "The raw Google Analytics object."
                }
              },
              "additionalProperties": false,
              "required": [
                "name",
                "parameterName",
                "displayName",
                "description",
                "measurementUnit",
                "scope",
                "restrictedMetricType",
                "raw"
              ],
              "description": "A normalized Google Analytics custom metric."
            },
            "description": "The custom metrics on the property."
          },
          "nextPageToken": {
            "anyOf": [
              {
                "type": "string",
                "description": "The token for the next page when present."
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "additionalProperties": false,
        "required": [
          "customMetrics",
          "nextPageToken"
        ],
        "description": "The Google Analytics custom metrics response."
      }
    },
    {
      "id": "google_analytics.list_data_streams",
      "service": "google_analytics",
      "name": "list_data_streams",
      "description": "List data streams configured on a Google Analytics property.",
      "requiredScopes": [
        "https://www.googleapis.com/auth/analytics.readonly"
      ],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "propertyId": {
            "type": "string",
            "minLength": 1,
            "description": "The Google Analytics property ID, with or without the properties/ prefix."
          },
          "pageSize": {
            "type": "integer",
            "minimum": 1,
            "maximum": 200,
            "description": "The maximum number of items to return per page."
          },
          "pageToken": {
            "type": "string",
            "minLength": 1,
            "description": "The opaque pagination token returned by a previous Google Analytics response."
          }
        },
        "additionalProperties": false,
        "required": [
          "propertyId"
        ],
        "description": "Input parameters for listing Google Analytics data streams."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "dataStreams": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "name": {
                  "anyOf": [
                    {
                      "type": "string",
                      "description": "The data stream resource name."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "dataStreamId": {
                  "anyOf": [
                    {
                      "type": "string",
                      "description": "The numeric data stream ID extracted from the data stream resource."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "displayName": {
                  "anyOf": [
                    {
                      "type": "string",
                      "description": "The data stream display name."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "type": {
                  "anyOf": [
                    {
                      "type": "string",
                      "description": "The Google Analytics data stream type enum value."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "webStreamData": {
                  "anyOf": [
                    {
                      "type": "object",
                      "properties": {},
                      "additionalProperties": true,
                      "description": "The raw Google Analytics object."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "androidAppStreamData": {
                  "anyOf": [
                    {
                      "type": "object",
                      "properties": {},
                      "additionalProperties": true,
                      "description": "The raw Google Analytics object."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "iosAppStreamData": {
                  "anyOf": [
                    {
                      "type": "object",
                      "properties": {},
                      "additionalProperties": true,
                      "description": "The raw Google Analytics object."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "raw": {
                  "type": "object",
                  "properties": {},
                  "additionalProperties": true,
                  "description": "The raw Google Analytics object."
                }
              },
              "additionalProperties": false,
              "required": [
                "name",
                "dataStreamId",
                "displayName",
                "type",
                "webStreamData",
                "androidAppStreamData",
                "iosAppStreamData",
                "raw"
              ],
              "description": "A normalized Google Analytics data stream."
            },
            "description": "The data streams on the property."
          },
          "nextPageToken": {
            "anyOf": [
              {
                "type": "string",
                "description": "The token for the next page when present."
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "additionalProperties": false,
        "required": [
          "dataStreams",
          "nextPageToken"
        ],
        "description": "The Google Analytics data streams response."
      }
    },
    {
      "id": "google_analytics.list_properties",
      "service": "google_analytics",
      "name": "list_properties",
      "description": "List Google Analytics properties visible to the connected account as user-selectable options. Use this first when the user does not know their GA4 propertyId.",
      "requiredScopes": [
        "https://www.googleapis.com/auth/analytics.readonly"
      ],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "pageSize": {
            "type": "integer",
            "minimum": 1,
            "maximum": 200,
            "description": "The maximum number of items to return per page."
          },
          "pageToken": {
            "type": "string",
            "minLength": 1,
            "description": "The opaque pagination token returned by a previous Google Analytics response."
          }
        },
        "additionalProperties": false,
        "description": "Input parameters for listing Google Analytics properties from account summaries."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "properties": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "propertyId": {
                  "anyOf": [
                    {
                      "type": "string",
                      "description": "The numeric property ID extracted from the property resource."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "property": {
                  "anyOf": [
                    {
                      "type": "string",
                      "description": "The property resource name, such as properties/1234."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "displayName": {
                  "anyOf": [
                    {
                      "type": "string",
                      "description": "The property display name."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "propertyType": {
                  "anyOf": [
                    {
                      "type": "string",
                      "description": "The Google Analytics property type enum value."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "parent": {
                  "anyOf": [
                    {
                      "type": "string",
                      "description": "The parent account resource name."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "account": {
                  "anyOf": [
                    {
                      "type": "string",
                      "description": "The Google Analytics account resource name."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "accountDisplayName": {
                  "anyOf": [
                    {
                      "type": "string",
                      "description": "The Google Analytics account display name."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "raw": {
                  "type": "object",
                  "properties": {},
                  "additionalProperties": true,
                  "description": "The raw Google Analytics object."
                }
              },
              "additionalProperties": false,
              "required": [
                "propertyId",
                "property",
                "displayName",
                "propertyType",
                "parent",
                "account",
                "accountDisplayName",
                "raw"
              ],
              "description": "A Google Analytics property option with account context."
            },
            "description": "The visible properties with account context."
          },
          "nextPageToken": {
            "anyOf": [
              {
                "type": "string",
                "description": "The token for the next page when present."
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "additionalProperties": false,
        "required": [
          "properties",
          "nextPageToken"
        ],
        "description": "The flattened Google Analytics property list response."
      }
    },
    {
      "id": "google_analytics.list_properties_filtered",
      "service": "google_analytics",
      "name": "list_properties_filtered",
      "description": "List Google Analytics properties matching a known Admin API filter such as parent:accounts/123. Use list_properties first when the account or propertyId is unknown.",
      "requiredScopes": [
        "https://www.googleapis.com/auth/analytics.readonly"
      ],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "filter": {
            "type": "string",
            "minLength": 1,
            "description": "The Admin API filter expression, such as parent:accounts/123 or ancestor:accounts/123."
          },
          "pageSize": {
            "type": "integer",
            "minimum": 1,
            "maximum": 200,
            "description": "The maximum number of items to return per page."
          },
          "pageToken": {
            "type": "string",
            "minLength": 1,
            "description": "The opaque pagination token returned by a previous Google Analytics response."
          },
          "showDeleted": {
            "type": "boolean",
            "description": "Whether to include soft-deleted properties."
          }
        },
        "additionalProperties": false,
        "required": [
          "filter"
        ],
        "description": "Input parameters for listing filtered Google Analytics properties."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "properties": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "name": {
                  "anyOf": [
                    {
                      "type": "string",
                      "description": "The property resource name, such as properties/1234."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "propertyId": {
                  "anyOf": [
                    {
                      "type": "string",
                      "description": "The numeric property ID extracted from the property resource."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "parent": {
                  "anyOf": [
                    {
                      "type": "string",
                      "description": "The parent account or roll-up property resource name."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "displayName": {
                  "anyOf": [
                    {
                      "type": "string",
                      "description": "The property display name."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "propertyType": {
                  "anyOf": [
                    {
                      "type": "string",
                      "description": "The Google Analytics property type enum value."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "industryCategory": {
                  "anyOf": [
                    {
                      "type": "string",
                      "description": "The property industry category enum value."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "timeZone": {
                  "anyOf": [
                    {
                      "type": "string",
                      "description": "The property reporting time zone."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "currencyCode": {
                  "anyOf": [
                    {
                      "type": "string",
                      "description": "The property currency code."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "raw": {
                  "type": "object",
                  "properties": {},
                  "additionalProperties": true,
                  "description": "The raw Google Analytics object."
                }
              },
              "additionalProperties": false,
              "required": [
                "name",
                "propertyId",
                "parent",
                "displayName",
                "propertyType",
                "industryCategory",
                "timeZone",
                "currencyCode",
                "raw"
              ],
              "description": "A normalized Google Analytics property."
            },
            "description": "The properties matching the filter."
          },
          "nextPageToken": {
            "anyOf": [
              {
                "type": "string",
                "description": "The token for the next page when present."
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "additionalProperties": false,
        "required": [
          "properties",
          "nextPageToken"
        ],
        "description": "The Google Analytics filtered properties response."
      }
    },
    {
      "id": "google_analytics.run_acquisition_report",
      "service": "google_analytics",
      "name": "run_acquisition_report",
      "description": "Run a Google Analytics acquisition report showing where sessions and users came from.",
      "requiredScopes": [
        "https://www.googleapis.com/auth/analytics.readonly"
      ],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "propertyId": {
            "type": "string",
            "minLength": 1,
            "description": "The Google Analytics property ID, with or without the properties/ prefix."
          },
          "startDate": {
            "type": "string",
            "minLength": 1,
            "description": "The inclusive report start date in YYYY-MM-DD format."
          },
          "endDate": {
            "type": "string",
            "minLength": 1,
            "description": "The inclusive report end date in YYYY-MM-DD format."
          },
          "limit": {
            "anyOf": [
              {
                "type": "string",
                "minLength": 1,
                "description": "The int64 value encoded as a string."
              },
              {
                "type": "integer",
                "description": "The int64 value encoded as an integer."
              }
            ],
            "description": "A Google Analytics int64 request value."
          },
          "orderBy": {
            "type": "string",
            "enum": [
              "activeUsers",
              "sessions",
              "engagedSessions",
              "keyEvents"
            ],
            "description": "The business report field to sort by descending."
          },
          "dimensionFilter": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "A Google Analytics Data API FilterExpression object."
          },
          "metricFilter": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "A Google Analytics Data API FilterExpression object."
          },
          "keepEmptyRows": {
            "type": "boolean",
            "description": "Whether rows with zero metric values should be returned."
          },
          "returnPropertyQuota": {
            "type": "boolean",
            "description": "Whether to return the property quota with the response."
          }
        },
        "additionalProperties": false,
        "required": [
          "propertyId",
          "startDate",
          "endDate"
        ],
        "description": "Input parameters for running a Google Analytics acquisition report."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "report": {
            "type": "object",
            "properties": {
              "dimensionHeaders": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "name": {
                      "anyOf": [
                        {
                          "type": "string",
                          "description": "The header name."
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "type": {
                      "anyOf": [
                        {
                          "type": "string",
                          "description": "The metric type when present."
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "additionalProperties": false,
                  "required": [
                    "name",
                    "type"
                  ],
                  "description": "A Google Analytics report header."
                },
                "description": "The dimension headers returned by the report."
              },
              "metricHeaders": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "name": {
                      "anyOf": [
                        {
                          "type": "string",
                          "description": "The header name."
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "type": {
                      "anyOf": [
                        {
                          "type": "string",
                          "description": "The metric type when present."
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "additionalProperties": false,
                  "required": [
                    "name",
                    "type"
                  ],
                  "description": "A Google Analytics report header."
                },
                "description": "The metric headers returned by the report."
              },
              "rows": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "dimensions": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string",
                        "description": "A string value returned by Google Analytics."
                      },
                      "description": "Dimension values keyed by dimension header name."
                    },
                    "metrics": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string",
                        "description": "A string value returned by Google Analytics."
                      },
                      "description": "Metric values keyed by metric header name."
                    },
                    "dimensionValues": {
                      "type": "array",
                      "items": {
                        "type": "string",
                        "description": "A string value returned by Google Analytics."
                      },
                      "description": "Dimension values in response order."
                    },
                    "metricValues": {
                      "type": "array",
                      "items": {
                        "type": "string",
                        "description": "A string value returned by Google Analytics."
                      },
                      "description": "Metric values in response order."
                    },
                    "raw": {
                      "type": "object",
                      "properties": {},
                      "additionalProperties": true,
                      "description": "The raw Google Analytics object."
                    }
                  },
                  "additionalProperties": false,
                  "required": [
                    "dimensions",
                    "metrics",
                    "dimensionValues",
                    "metricValues",
                    "raw"
                  ],
                  "description": "A normalized Google Analytics report row."
                },
                "description": "The normalized report rows."
              },
              "rowCount": {
                "anyOf": [
                  {
                    "type": "integer",
                    "description": "The total row count returned by Google Analytics."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "metadata": {
                "anyOf": [
                  {
                    "type": "object",
                    "properties": {
                      "currencyCode": {
                        "anyOf": [
                          {
                            "type": "string",
                            "description": "The currency code used by the report."
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "timeZone": {
                        "anyOf": [
                          {
                            "type": "string",
                            "description": "The property timezone used by the report."
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "raw": {
                        "type": "object",
                        "properties": {},
                        "additionalProperties": true,
                        "description": "The raw Google Analytics object."
                      }
                    },
                    "additionalProperties": false,
                    "required": [
                      "currencyCode",
                      "timeZone",
                      "raw"
                    ],
                    "description": "Normalized Google Analytics report metadata."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "propertyQuota": {
                "anyOf": [
                  {
                    "type": "object",
                    "properties": {},
                    "additionalProperties": true,
                    "description": "The raw Google Analytics object."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "totals": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "dimensions": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string",
                        "description": "A string value returned by Google Analytics."
                      },
                      "description": "Dimension values keyed by dimension header name."
                    },
                    "metrics": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string",
                        "description": "A string value returned by Google Analytics."
                      },
                      "description": "Metric values keyed by metric header name."
                    },
                    "dimensionValues": {
                      "type": "array",
                      "items": {
                        "type": "string",
                        "description": "A string value returned by Google Analytics."
                      },
                      "description": "Dimension values in response order."
                    },
                    "metricValues": {
                      "type": "array",
                      "items": {
                        "type": "string",
                        "description": "A string value returned by Google Analytics."
                      },
                      "description": "Metric values in response order."
                    },
                    "raw": {
                      "type": "object",
                      "properties": {},
                      "additionalProperties": true,
                      "description": "The raw Google Analytics object."
                    }
                  },
                  "additionalProperties": false,
                  "required": [
                    "dimensions",
                    "metrics",
                    "dimensionValues",
                    "metricValues",
                    "raw"
                  ],
                  "description": "A normalized Google Analytics report row."
                },
                "description": "Total rows returned by Google Analytics."
              },
              "minimums": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "dimensions": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string",
                        "description": "A string value returned by Google Analytics."
                      },
                      "description": "Dimension values keyed by dimension header name."
                    },
                    "metrics": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string",
                        "description": "A string value returned by Google Analytics."
                      },
                      "description": "Metric values keyed by metric header name."
                    },
                    "dimensionValues": {
                      "type": "array",
                      "items": {
                        "type": "string",
                        "description": "A string value returned by Google Analytics."
                      },
                      "description": "Dimension values in response order."
                    },
                    "metricValues": {
                      "type": "array",
                      "items": {
                        "type": "string",
                        "description": "A string value returned by Google Analytics."
                      },
                      "description": "Metric values in response order."
                    },
                    "raw": {
                      "type": "object",
                      "properties": {},
                      "additionalProperties": true,
                      "description": "The raw Google Analytics object."
                    }
                  },
                  "additionalProperties": false,
                  "required": [
                    "dimensions",
                    "metrics",
                    "dimensionValues",
                    "metricValues",
                    "raw"
                  ],
                  "description": "A normalized Google Analytics report row."
                },
                "description": "Minimum rows returned by Google Analytics."
              },
              "maximums": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "dimensions": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string",
                        "description": "A string value returned by Google Analytics."
                      },
                      "description": "Dimension values keyed by dimension header name."
                    },
                    "metrics": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string",
                        "description": "A string value returned by Google Analytics."
                      },
                      "description": "Metric values keyed by metric header name."
                    },
                    "dimensionValues": {
                      "type": "array",
                      "items": {
                        "type": "string",
                        "description": "A string value returned by Google Analytics."
                      },
                      "description": "Dimension values in response order."
                    },
                    "metricValues": {
                      "type": "array",
                      "items": {
                        "type": "string",
                        "description": "A string value returned by Google Analytics."
                      },
                      "description": "Metric values in response order."
                    },
                    "raw": {
                      "type": "object",
                      "properties": {},
                      "additionalProperties": true,
                      "description": "The raw Google Analytics object."
                    }
                  },
                  "additionalProperties": false,
                  "required": [
                    "dimensions",
                    "metrics",
                    "dimensionValues",
                    "metricValues",
                    "raw"
                  ],
                  "description": "A normalized Google Analytics report row."
                },
                "description": "Maximum rows returned by Google Analytics."
              },
              "raw": {
                "type": "object",
                "properties": {},
                "additionalProperties": true,
                "description": "The raw Google Analytics object."
              }
            },
            "additionalProperties": false,
            "required": [
              "dimensionHeaders",
              "metricHeaders",
              "rows",
              "rowCount",
              "metadata",
              "propertyQuota",
              "totals",
              "minimums",
              "maximums",
              "raw"
            ],
            "description": "A normalized Google Analytics report response."
          }
        },
        "additionalProperties": false,
        "required": [
          "report"
        ],
        "description": "The Google Analytics acquisition report response."
      }
    },
    {
      "id": "google_analytics.run_engagement_report",
      "service": "google_analytics",
      "name": "run_engagement_report",
      "description": "Run a Google Analytics engagement trend report for users, sessions, and engagement quality.",
      "requiredScopes": [
        "https://www.googleapis.com/auth/analytics.readonly"
      ],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "propertyId": {
            "type": "string",
            "minLength": 1,
            "description": "The Google Analytics property ID, with or without the properties/ prefix."
          },
          "startDate": {
            "type": "string",
            "minLength": 1,
            "description": "The inclusive report start date in YYYY-MM-DD format."
          },
          "endDate": {
            "type": "string",
            "minLength": 1,
            "description": "The inclusive report end date in YYYY-MM-DD format."
          },
          "limit": {
            "anyOf": [
              {
                "type": "string",
                "minLength": 1,
                "description": "The int64 value encoded as a string."
              },
              {
                "type": "integer",
                "description": "The int64 value encoded as an integer."
              }
            ],
            "description": "A Google Analytics int64 request value."
          },
          "orderBy": {
            "type": "string",
            "enum": [
              "date",
              "activeUsers",
              "sessions",
              "engagedSessions",
              "engagementRate",
              "averageSessionDuration",
              "eventCount"
            ],
            "description": "The business report field to sort by descending."
          },
          "dimensionFilter": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "A Google Analytics Data API FilterExpression object."
          },
          "metricFilter": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "A Google Analytics Data API FilterExpression object."
          },
          "keepEmptyRows": {
            "type": "boolean",
            "description": "Whether rows with zero metric values should be returned."
          },
          "returnPropertyQuota": {
            "type": "boolean",
            "description": "Whether to return the property quota with the response."
          }
        },
        "additionalProperties": false,
        "required": [
          "propertyId",
          "startDate",
          "endDate"
        ],
        "description": "Input parameters for running a Google Analytics engagement report."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "report": {
            "type": "object",
            "properties": {
              "dimensionHeaders": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "name": {
                      "anyOf": [
                        {
                          "type": "string",
                          "description": "The header name."
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "type": {
                      "anyOf": [
                        {
                          "type": "string",
                          "description": "The metric type when present."
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "additionalProperties": false,
                  "required": [
                    "name",
                    "type"
                  ],
                  "description": "A Google Analytics report header."
                },
                "description": "The dimension headers returned by the report."
              },
              "metricHeaders": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "name": {
                      "anyOf": [
                        {
                          "type": "string",
                          "description": "The header name."
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "type": {
                      "anyOf": [
                        {
                          "type": "string",
                          "description": "The metric type when present."
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "additionalProperties": false,
                  "required": [
                    "name",
                    "type"
                  ],
                  "description": "A Google Analytics report header."
                },
                "description": "The metric headers returned by the report."
              },
              "rows": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "dimensions": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string",
                        "description": "A string value returned by Google Analytics."
                      },
                      "description": "Dimension values keyed by dimension header name."
                    },
                    "metrics": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string",
                        "description": "A string value returned by Google Analytics."
                      },
                      "description": "Metric values keyed by metric header name."
                    },
                    "dimensionValues": {
                      "type": "array",
                      "items": {
                        "type": "string",
                        "description": "A string value returned by Google Analytics."
                      },
                      "description": "Dimension values in response order."
                    },
                    "metricValues": {
                      "type": "array",
                      "items": {
                        "type": "string",
                        "description": "A string value returned by Google Analytics."
                      },
                      "description": "Metric values in response order."
                    },
                    "raw": {
                      "type": "object",
                      "properties": {},
                      "additionalProperties": true,
                      "description": "The raw Google Analytics object."
                    }
                  },
                  "additionalProperties": false,
                  "required": [
                    "dimensions",
                    "metrics",
                    "dimensionValues",
                    "metricValues",
                    "raw"
                  ],
                  "description": "A normalized Google Analytics report row."
                },
                "description": "The normalized report rows."
              },
              "rowCount": {
                "anyOf": [
                  {
                    "type": "integer",
                    "description": "The total row count returned by Google Analytics."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "metadata": {
                "anyOf": [
                  {
                    "type": "object",
                    "properties": {
                      "currencyCode": {
                        "anyOf": [
                          {
                            "type": "string",
                            "description": "The currency code used by the report."
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "timeZone": {
                        "anyOf": [
                          {
                            "type": "string",
                            "description": "The property timezone used by the report."
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "raw": {
                        "type": "object",
                        "properties": {},
                        "additionalProperties": true,
                        "description": "The raw Google Analytics object."
                      }
                    },
                    "additionalProperties": false,
                    "required": [
                      "currencyCode",
                      "timeZone",
                      "raw"
                    ],
                    "description": "Normalized Google Analytics report metadata."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "propertyQuota": {
                "anyOf": [
                  {
                    "type": "object",
                    "properties": {},
                    "additionalProperties": true,
                    "description": "The raw Google Analytics object."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "totals": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "dimensions": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string",
                        "description": "A string value returned by Google Analytics."
                      },
                      "description": "Dimension values keyed by dimension header name."
                    },
                    "metrics": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string",
                        "description": "A string value returned by Google Analytics."
                      },
                      "description": "Metric values keyed by metric header name."
                    },
                    "dimensionValues": {
                      "type": "array",
                      "items": {
                        "type": "string",
                        "description": "A string value returned by Google Analytics."
                      },
                      "description": "Dimension values in response order."
                    },
                    "metricValues": {
                      "type": "array",
                      "items": {
                        "type": "string",
                        "description": "A string value returned by Google Analytics."
                      },
                      "description": "Metric values in response order."
                    },
                    "raw": {
                      "type": "object",
                      "properties": {},
                      "additionalProperties": true,
                      "description": "The raw Google Analytics object."
                    }
                  },
                  "additionalProperties": false,
                  "required": [
                    "dimensions",
                    "metrics",
                    "dimensionValues",
                    "metricValues",
                    "raw"
                  ],
                  "description": "A normalized Google Analytics report row."
                },
                "description": "Total rows returned by Google Analytics."
              },
              "minimums": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "dimensions": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string",
                        "description": "A string value returned by Google Analytics."
                      },
                      "description": "Dimension values keyed by dimension header name."
                    },
                    "metrics": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string",
                        "description": "A string value returned by Google Analytics."
                      },
                      "description": "Metric values keyed by metric header name."
                    },
                    "dimensionValues": {
                      "type": "array",
                      "items": {
                        "type": "string",
                        "description": "A string value returned by Google Analytics."
                      },
                      "description": "Dimension values in response order."
                    },
                    "metricValues": {
                      "type": "array",
                      "items": {
                        "type": "string",
                        "description": "A string value returned by Google Analytics."
                      },
                      "description": "Metric values in response order."
                    },
                    "raw": {
                      "type": "object",
                      "properties": {},
                      "additionalProperties": true,
                      "description": "The raw Google Analytics object."
                    }
                  },
                  "additionalProperties": false,
                  "required": [
                    "dimensions",
                    "metrics",
                    "dimensionValues",
                    "metricValues",
                    "raw"
                  ],
                  "description": "A normalized Google Analytics report row."
                },
                "description": "Minimum rows returned by Google Analytics."
              },
              "maximums": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "dimensions": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string",
                        "description": "A string value returned by Google Analytics."
                      },
                      "description": "Dimension values keyed by dimension header name."
                    },
                    "metrics": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string",
                        "description": "A string value returned by Google Analytics."
                      },
                      "description": "Metric values keyed by metric header name."
                    },
                    "dimensionValues": {
                      "type": "array",
                      "items": {
                        "type": "string",
                        "description": "A string value returned by Google Analytics."
                      },
                      "description": "Dimension values in response order."
                    },
                    "metricValues": {
                      "type": "array",
                      "items": {
                        "type": "string",
                        "description": "A string value returned by Google Analytics."
                      },
                      "description": "Metric values in response order."
                    },
                    "raw": {
                      "type": "object",
                      "properties": {},
                      "additionalProperties": true,
                      "description": "The raw Google Analytics object."
                    }
                  },
                  "additionalProperties": false,
                  "required": [
                    "dimensions",
                    "metrics",
                    "dimensionValues",
                    "metricValues",
                    "raw"
                  ],
                  "description": "A normalized Google Analytics report row."
                },
                "description": "Maximum rows returned by Google Analytics."
              },
              "raw": {
                "type": "object",
                "properties": {},
                "additionalProperties": true,
                "description": "The raw Google Analytics object."
              }
            },
            "additionalProperties": false,
            "required": [
              "dimensionHeaders",
              "metricHeaders",
              "rows",
              "rowCount",
              "metadata",
              "propertyQuota",
              "totals",
              "minimums",
              "maximums",
              "raw"
            ],
            "description": "A normalized Google Analytics report response."
          }
        },
        "additionalProperties": false,
        "required": [
          "report"
        ],
        "description": "The Google Analytics engagement report response."
      }
    },
    {
      "id": "google_analytics.run_events_report",
      "service": "google_analytics",
      "name": "run_events_report",
      "description": "Run a Google Analytics events report for event volume, users, key events, and value.",
      "requiredScopes": [
        "https://www.googleapis.com/auth/analytics.readonly"
      ],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "propertyId": {
            "type": "string",
            "minLength": 1,
            "description": "The Google Analytics property ID, with or without the properties/ prefix."
          },
          "startDate": {
            "type": "string",
            "minLength": 1,
            "description": "The inclusive report start date in YYYY-MM-DD format."
          },
          "endDate": {
            "type": "string",
            "minLength": 1,
            "description": "The inclusive report end date in YYYY-MM-DD format."
          },
          "limit": {
            "anyOf": [
              {
                "type": "string",
                "minLength": 1,
                "description": "The int64 value encoded as a string."
              },
              {
                "type": "integer",
                "description": "The int64 value encoded as an integer."
              }
            ],
            "description": "A Google Analytics int64 request value."
          },
          "orderBy": {
            "type": "string",
            "enum": [
              "eventName",
              "eventCount",
              "totalUsers",
              "activeUsers",
              "keyEvents",
              "eventValue"
            ],
            "description": "The business report field to sort by descending."
          },
          "dimensionFilter": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "A Google Analytics Data API FilterExpression object."
          },
          "metricFilter": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "A Google Analytics Data API FilterExpression object."
          },
          "keepEmptyRows": {
            "type": "boolean",
            "description": "Whether rows with zero metric values should be returned."
          },
          "returnPropertyQuota": {
            "type": "boolean",
            "description": "Whether to return the property quota with the response."
          }
        },
        "additionalProperties": false,
        "required": [
          "propertyId",
          "startDate",
          "endDate"
        ],
        "description": "Input parameters for running a Google Analytics events report."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "report": {
            "type": "object",
            "properties": {
              "dimensionHeaders": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "name": {
                      "anyOf": [
                        {
                          "type": "string",
                          "description": "The header name."
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "type": {
                      "anyOf": [
                        {
                          "type": "string",
                          "description": "The metric type when present."
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "additionalProperties": false,
                  "required": [
                    "name",
                    "type"
                  ],
                  "description": "A Google Analytics report header."
                },
                "description": "The dimension headers returned by the report."
              },
              "metricHeaders": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "name": {
                      "anyOf": [
                        {
                          "type": "string",
                          "description": "The header name."
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "type": {
                      "anyOf": [
                        {
                          "type": "string",
                          "description": "The metric type when present."
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "additionalProperties": false,
                  "required": [
                    "name",
                    "type"
                  ],
                  "description": "A Google Analytics report header."
                },
                "description": "The metric headers returned by the report."
              },
              "rows": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "dimensions": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string",
                        "description": "A string value returned by Google Analytics."
                      },
                      "description": "Dimension values keyed by dimension header name."
                    },
                    "metrics": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string",
                        "description": "A string value returned by Google Analytics."
                      },
                      "description": "Metric values keyed by metric header name."
                    },
                    "dimensionValues": {
                      "type": "array",
                      "items": {
                        "type": "string",
                        "description": "A string value returned by Google Analytics."
                      },
                      "description": "Dimension values in response order."
                    },
                    "metricValues": {
                      "type": "array",
                      "items": {
                        "type": "string",
                        "description": "A string value returned by Google Analytics."
                      },
                      "description": "Metric values in response order."
                    },
                    "raw": {
                      "type": "object",
                      "properties": {},
                      "additionalProperties": true,
                      "description": "The raw Google Analytics object."
                    }
                  },
                  "additionalProperties": false,
                  "required": [
                    "dimensions",
                    "metrics",
                    "dimensionValues",
                    "metricValues",
                    "raw"
                  ],
                  "description": "A normalized Google Analytics report row."
                },
                "description": "The normalized report rows."
              },
              "rowCount": {
                "anyOf": [
                  {
                    "type": "integer",
                    "description": "The total row count returned by Google Analytics."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "metadata": {
                "anyOf": [
                  {
                    "type": "object",
                    "properties": {
                      "currencyCode": {
                        "anyOf": [
                          {
                            "type": "string",
                            "description": "The currency code used by the report."
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "timeZone": {
                        "anyOf": [
                          {
                            "type": "string",
                            "description": "The property timezone used by the report."
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "raw": {
                        "type": "object",
                        "properties": {},
                        "additionalProperties": true,
                        "description": "The raw Google Analytics object."
                      }
                    },
                    "additionalProperties": false,
                    "required": [
                      "currencyCode",
                      "timeZone",
                      "raw"
                    ],
                    "description": "Normalized Google Analytics report metadata."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "propertyQuota": {
                "anyOf": [
                  {
                    "type": "object",
                    "properties": {},
                    "additionalProperties": true,
                    "description": "The raw Google Analytics object."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "totals": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "dimensions": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string",
                        "description": "A string value returned by Google Analytics."
                      },
                      "description": "Dimension values keyed by dimension header name."
                    },
                    "metrics": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string",
                        "description": "A string value returned by Google Analytics."
                      },
                      "description": "Metric values keyed by metric header name."
                    },
                    "dimensionValues": {
                      "type": "array",
                      "items": {
                        "type": "string",
                        "description": "A string value returned by Google Analytics."
                      },
                      "description": "Dimension values in response order."
                    },
                    "metricValues": {
                      "type": "array",
                      "items": {
                        "type": "string",
                        "description": "A string value returned by Google Analytics."
                      },
                      "description": "Metric values in response order."
                    },
                    "raw": {
                      "type": "object",
                      "properties": {},
                      "additionalProperties": true,
                      "description": "The raw Google Analytics object."
                    }
                  },
                  "additionalProperties": false,
                  "required": [
                    "dimensions",
                    "metrics",
                    "dimensionValues",
                    "metricValues",
                    "raw"
                  ],
                  "description": "A normalized Google Analytics report row."
                },
                "description": "Total rows returned by Google Analytics."
              },
              "minimums": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "dimensions": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string",
                        "description": "A string value returned by Google Analytics."
                      },
                      "description": "Dimension values keyed by dimension header name."
                    },
                    "metrics": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string",
                        "description": "A string value returned by Google Analytics."
                      },
                      "description": "Metric values keyed by metric header name."
                    },
                    "dimensionValues": {
                      "type": "array",
                      "items": {
                        "type": "string",
                        "description": "A string value returned by Google Analytics."
                      },
                      "description": "Dimension values in response order."
                    },
                    "metricValues": {
                      "type": "array",
                      "items": {
                        "type": "string",
                        "description": "A string value returned by Google Analytics."
                      },
                      "description": "Metric values in response order."
                    },
                    "raw": {
                      "type": "object",
                      "properties": {},
                      "additionalProperties": true,
                      "description": "The raw Google Analytics object."
                    }
                  },
                  "additionalProperties": false,
                  "required": [
                    "dimensions",
                    "metrics",
                    "dimensionValues",
                    "metricValues",
                    "raw"
                  ],
                  "description": "A normalized Google Analytics report row."
                },
                "description": "Minimum rows returned by Google Analytics."
              },
              "maximums": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "dimensions": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string",
                        "description": "A string value returned by Google Analytics."
                      },
                      "description": "Dimension values keyed by dimension header name."
                    },
                    "metrics": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string",
                        "description": "A string value returned by Google Analytics."
                      },
                      "description": "Metric values keyed by metric header name."
                    },
                    "dimensionValues": {
                      "type": "array",
                      "items": {
                        "type": "string",
                        "description": "A string value returned by Google Analytics."
                      },
                      "description": "Dimension values in response order."
                    },
                    "metricValues": {
                      "type": "array",
                      "items": {
                        "type": "string",
                        "description": "A string value returned by Google Analytics."
                      },
                      "description": "Metric values in response order."
                    },
                    "raw": {
                      "type": "object",
                      "properties": {},
                      "additionalProperties": true,
                      "description": "The raw Google Analytics object."
                    }
                  },
                  "additionalProperties": false,
                  "required": [
                    "dimensions",
                    "metrics",
                    "dimensionValues",
                    "metricValues",
                    "raw"
                  ],
                  "description": "A normalized Google Analytics report row."
                },
                "description": "Maximum rows returned by Google Analytics."
              },
              "raw": {
                "type": "object",
                "properties": {},
                "additionalProperties": true,
                "description": "The raw Google Analytics object."
              }
            },
            "additionalProperties": false,
            "required": [
              "dimensionHeaders",
              "metricHeaders",
              "rows",
              "rowCount",
              "metadata",
              "propertyQuota",
              "totals",
              "minimums",
              "maximums",
              "raw"
            ],
            "description": "A normalized Google Analytics report response."
          }
        },
        "additionalProperties": false,
        "required": [
          "report"
        ],
        "description": "The Google Analytics events report response."
      }
    },
    {
      "id": "google_analytics.run_geography_report",
      "service": "google_analytics",
      "name": "run_geography_report",
      "description": "Run a Google Analytics geography report for users, sessions, and key events by location.",
      "requiredScopes": [
        "https://www.googleapis.com/auth/analytics.readonly"
      ],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "propertyId": {
            "type": "string",
            "minLength": 1,
            "description": "The Google Analytics property ID, with or without the properties/ prefix."
          },
          "startDate": {
            "type": "string",
            "minLength": 1,
            "description": "The inclusive report start date in YYYY-MM-DD format."
          },
          "endDate": {
            "type": "string",
            "minLength": 1,
            "description": "The inclusive report end date in YYYY-MM-DD format."
          },
          "limit": {
            "anyOf": [
              {
                "type": "string",
                "minLength": 1,
                "description": "The int64 value encoded as a string."
              },
              {
                "type": "integer",
                "description": "The int64 value encoded as an integer."
              }
            ],
            "description": "A Google Analytics int64 request value."
          },
          "orderBy": {
            "type": "string",
            "enum": [
              "country",
              "region",
              "city",
              "activeUsers",
              "newUsers",
              "sessions",
              "engagedSessions",
              "keyEvents"
            ],
            "description": "The business report field to sort by descending."
          },
          "dimensionFilter": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "A Google Analytics Data API FilterExpression object."
          },
          "metricFilter": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "A Google Analytics Data API FilterExpression object."
          },
          "keepEmptyRows": {
            "type": "boolean",
            "description": "Whether rows with zero metric values should be returned."
          },
          "returnPropertyQuota": {
            "type": "boolean",
            "description": "Whether to return the property quota with the response."
          }
        },
        "additionalProperties": false,
        "required": [
          "propertyId",
          "startDate",
          "endDate"
        ],
        "description": "Input parameters for running a Google Analytics geography report."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "report": {
            "type": "object",
            "properties": {
              "dimensionHeaders": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "name": {
                      "anyOf": [
                        {
                          "type": "string",
                          "description": "The header name."
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "type": {
                      "anyOf": [
                        {
                          "type": "string",
                          "description": "The metric type when present."
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "additionalProperties": false,
                  "required": [
                    "name",
                    "type"
                  ],
                  "description": "A Google Analytics report header."
                },
                "description": "The dimension headers returned by the report."
              },
              "metricHeaders": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "name": {
                      "anyOf": [
                        {
                          "type": "string",
                          "description": "The header name."
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "type": {
                      "anyOf": [
                        {
                          "type": "string",
                          "description": "The metric type when present."
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "additionalProperties": false,
                  "required": [
                    "name",
                    "type"
                  ],
                  "description": "A Google Analytics report header."
                },
                "description": "The metric headers returned by the report."
              },
              "rows": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "dimensions": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string",
                        "description": "A string value returned by Google Analytics."
                      },
                      "description": "Dimension values keyed by dimension header name."
                    },
                    "metrics": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string",
                        "description": "A string value returned by Google Analytics."
                      },
                      "description": "Metric values keyed by metric header name."
                    },
                    "dimensionValues": {
                      "type": "array",
                      "items": {
                        "type": "string",
                        "description": "A string value returned by Google Analytics."
                      },
                      "description": "Dimension values in response order."
                    },
                    "metricValues": {
                      "type": "array",
                      "items": {
                        "type": "string",
                        "description": "A string value returned by Google Analytics."
                      },
                      "description": "Metric values in response order."
                    },
                    "raw": {
                      "type": "object",
                      "properties": {},
                      "additionalProperties": true,
                      "description": "The raw Google Analytics object."
                    }
                  },
                  "additionalProperties": false,
                  "required": [
                    "dimensions",
                    "metrics",
                    "dimensionValues",
                    "metricValues",
                    "raw"
                  ],
                  "description": "A normalized Google Analytics report row."
                },
                "description": "The normalized report rows."
              },
              "rowCount": {
                "anyOf": [
                  {
                    "type": "integer",
                    "description": "The total row count returned by Google Analytics."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "metadata": {
                "anyOf": [
                  {
                    "type": "object",
                    "properties": {
                      "currencyCode": {
                        "anyOf": [
                          {
                            "type": "string",
                            "description": "The currency code used by the report."
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "timeZone": {
                        "anyOf": [
                          {
                            "type": "string",
                            "description": "The property timezone used by the report."
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "raw": {
                        "type": "object",
                        "properties": {},
                        "additionalProperties": true,
                        "description": "The raw Google Analytics object."
                      }
                    },
                    "additionalProperties": false,
                    "required": [
                      "currencyCode",
                      "timeZone",
                      "raw"
                    ],
                    "description": "Normalized Google Analytics report metadata."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "propertyQuota": {
                "anyOf": [
                  {
                    "type": "object",
                    "properties": {},
                    "additionalProperties": true,
                    "description": "The raw Google Analytics object."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "totals": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "dimensions": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string",
                        "description": "A string value returned by Google Analytics."
                      },
                      "description": "Dimension values keyed by dimension header name."
                    },
                    "metrics": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string",
                        "description": "A string value returned by Google Analytics."
                      },
                      "description": "Metric values keyed by metric header name."
                    },
                    "dimensionValues": {
                      "type": "array",
                      "items": {
                        "type": "string",
                        "description": "A string value returned by Google Analytics."
                      },
                      "description": "Dimension values in response order."
                    },
                    "metricValues": {
                      "type": "array",
                      "items": {
                        "type": "string",
                        "description": "A string value returned by Google Analytics."
                      },
                      "description": "Metric values in response order."
                    },
                    "raw": {
                      "type": "object",
                      "properties": {},
                      "additionalProperties": true,
                      "description": "The raw Google Analytics object."
                    }
                  },
                  "additionalProperties": false,
                  "required": [
                    "dimensions",
                    "metrics",
                    "dimensionValues",
                    "metricValues",
                    "raw"
                  ],
                  "description": "A normalized Google Analytics report row."
                },
                "description": "Total rows returned by Google Analytics."
              },
              "minimums": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "dimensions": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string",
                        "description": "A string value returned by Google Analytics."
                      },
                      "description": "Dimension values keyed by dimension header name."
                    },
                    "metrics": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string",
                        "description": "A string value returned by Google Analytics."
                      },
                      "description": "Metric values keyed by metric header name."
                    },
                    "dimensionValues": {
                      "type": "array",
                      "items": {
                        "type": "string",
                        "description": "A string value returned by Google Analytics."
                      },
                      "description": "Dimension values in response order."
                    },
                    "metricValues": {
                      "type": "array",
                      "items": {
                        "type": "string",
                        "description": "A string value returned by Google Analytics."
                      },
                      "description": "Metric values in response order."
                    },
                    "raw": {
                      "type": "object",
                      "properties": {},
                      "additionalProperties": true,
                      "description": "The raw Google Analytics object."
                    }
                  },
                  "additionalProperties": false,
                  "required": [
                    "dimensions",
                    "metrics",
                    "dimensionValues",
                    "metricValues",
                    "raw"
                  ],
                  "description": "A normalized Google Analytics report row."
                },
                "description": "Minimum rows returned by Google Analytics."
              },
              "maximums": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "dimensions": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string",
                        "description": "A string value returned by Google Analytics."
                      },
                      "description": "Dimension values keyed by dimension header name."
                    },
                    "metrics": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string",
                        "description": "A string value returned by Google Analytics."
                      },
                      "description": "Metric values keyed by metric header name."
                    },
                    "dimensionValues": {
                      "type": "array",
                      "items": {
                        "type": "string",
                        "description": "A string value returned by Google Analytics."
                      },
                      "description": "Dimension values in response order."
                    },
                    "metricValues": {
                      "type": "array",
                      "items": {
                        "type": "string",
                        "description": "A string value returned by Google Analytics."
                      },
                      "description": "Metric values in response order."
                    },
                    "raw": {
                      "type": "object",
                      "properties": {},
                      "additionalProperties": true,
                      "description": "The raw Google Analytics object."
                    }
                  },
                  "additionalProperties": false,
                  "required": [
                    "dimensions",
                    "metrics",
                    "dimensionValues",
                    "metricValues",
                    "raw"
                  ],
                  "description": "A normalized Google Analytics report row."
                },
                "description": "Maximum rows returned by Google Analytics."
              },
              "raw": {
                "type": "object",
                "properties": {},
                "additionalProperties": true,
                "description": "The raw Google Analytics object."
              }
            },
            "additionalProperties": false,
            "required": [
              "dimensionHeaders",
              "metricHeaders",
              "rows",
              "rowCount",
              "metadata",
              "propertyQuota",
              "totals",
              "minimums",
              "maximums",
              "raw"
            ],
            "description": "A normalized Google Analytics report response."
          }
        },
        "additionalProperties": false,
        "required": [
          "report"
        ],
        "description": "The Google Analytics geography report response."
      }
    },
    {
      "id": "google_analytics.run_key_events_report",
      "service": "google_analytics",
      "name": "run_key_events_report",
      "description": "Run a Google Analytics key events report for key event volume and conversion rates.",
      "requiredScopes": [
        "https://www.googleapis.com/auth/analytics.readonly"
      ],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "propertyId": {
            "type": "string",
            "minLength": 1,
            "description": "The Google Analytics property ID, with or without the properties/ prefix."
          },
          "startDate": {
            "type": "string",
            "minLength": 1,
            "description": "The inclusive report start date in YYYY-MM-DD format."
          },
          "endDate": {
            "type": "string",
            "minLength": 1,
            "description": "The inclusive report end date in YYYY-MM-DD format."
          },
          "limit": {
            "anyOf": [
              {
                "type": "string",
                "minLength": 1,
                "description": "The int64 value encoded as a string."
              },
              {
                "type": "integer",
                "description": "The int64 value encoded as an integer."
              }
            ],
            "description": "A Google Analytics int64 request value."
          },
          "orderBy": {
            "type": "string",
            "enum": [
              "eventName",
              "keyEvents",
              "sessionKeyEventRate",
              "userKeyEventRate"
            ],
            "description": "The business report field to sort by descending."
          },
          "dimensionFilter": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "A Google Analytics Data API FilterExpression object."
          },
          "metricFilter": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "A Google Analytics Data API FilterExpression object."
          },
          "keepEmptyRows": {
            "type": "boolean",
            "description": "Whether rows with zero metric values should be returned."
          },
          "returnPropertyQuota": {
            "type": "boolean",
            "description": "Whether to return the property quota with the response."
          }
        },
        "additionalProperties": false,
        "required": [
          "propertyId",
          "startDate",
          "endDate"
        ],
        "description": "Input parameters for running a Google Analytics key events report."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "report": {
            "type": "object",
            "properties": {
              "dimensionHeaders": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "name": {
                      "anyOf": [
                        {
                          "type": "string",
                          "description": "The header name."
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "type": {
                      "anyOf": [
                        {
                          "type": "string",
                          "description": "The metric type when present."
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "additionalProperties": false,
                  "required": [
                    "name",
                    "type"
                  ],
                  "description": "A Google Analytics report header."
                },
                "description": "The dimension headers returned by the report."
              },
              "metricHeaders": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "name": {
                      "anyOf": [
                        {
                          "type": "string",
                          "description": "The header name."
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "type": {
                      "anyOf": [
                        {
                          "type": "string",
                          "description": "The metric type when present."
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "additionalProperties": false,
                  "required": [
                    "name",
                    "type"
                  ],
                  "description": "A Google Analytics report header."
                },
                "description": "The metric headers returned by the report."
              },
              "rows": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "dimensions": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string",
                        "description": "A string value returned by Google Analytics."
                      },
                      "description": "Dimension values keyed by dimension header name."
                    },
                    "metrics": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string",
                        "description": "A string value returned by Google Analytics."
                      },
                      "description": "Metric values keyed by metric header name."
                    },
                    "dimensionValues": {
                      "type": "array",
                      "items": {
                        "type": "string",
                        "description": "A string value returned by Google Analytics."
                      },
                      "description": "Dimension values in response order."
                    },
                    "metricValues": {
                      "type": "array",
                      "items": {
                        "type": "string",
                        "description": "A string value returned by Google Analytics."
                      },
                      "description": "Metric values in response order."
                    },
                    "raw": {
                      "type": "object",
                      "properties": {},
                      "additionalProperties": true,
                      "description": "The raw Google Analytics object."
                    }
                  },
                  "additionalProperties": false,
                  "required": [
                    "dimensions",
                    "metrics",
                    "dimensionValues",
                    "metricValues",
                    "raw"
                  ],
                  "description": "A normalized Google Analytics report row."
                },
                "description": "The normalized report rows."
              },
              "rowCount": {
                "anyOf": [
                  {
                    "type": "integer",
                    "description": "The total row count returned by Google Analytics."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "metadata": {
                "anyOf": [
                  {
                    "type": "object",
                    "properties": {
                      "currencyCode": {
                        "anyOf": [
                          {
                            "type": "string",
                            "description": "The currency code used by the report."
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "timeZone": {
                        "anyOf": [
                          {
                            "type": "string",
                            "description": "The property timezone used by the report."
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "raw": {
                        "type": "object",
                        "properties": {},
                        "additionalProperties": true,
                        "description": "The raw Google Analytics object."
                      }
                    },
                    "additionalProperties": false,
                    "required": [
                      "currencyCode",
                      "timeZone",
                      "raw"
                    ],
                    "description": "Normalized Google Analytics report metadata."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "propertyQuota": {
                "anyOf": [
                  {
                    "type": "object",
                    "properties": {},
                    "additionalProperties": true,
                    "description": "The raw Google Analytics object."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "totals": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "dimensions": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string",
                        "description": "A string value returned by Google Analytics."
                      },
                      "description": "Dimension values keyed by dimension header name."
                    },
                    "metrics": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string",
                        "description": "A string value returned by Google Analytics."
                      },
                      "description": "Metric values keyed by metric header name."
                    },
                    "dimensionValues": {
                      "type": "array",
                      "items": {
                        "type": "string",
                        "description": "A string value returned by Google Analytics."
                      },
                      "description": "Dimension values in response order."
                    },
                    "metricValues": {
                      "type": "array",
                      "items": {
                        "type": "string",
                        "description": "A string value returned by Google Analytics."
                      },
                      "description": "Metric values in response order."
                    },
                    "raw": {
                      "type": "object",
                      "properties": {},
                      "additionalProperties": true,
                      "description": "The raw Google Analytics object."
                    }
                  },
                  "additionalProperties": false,
                  "required": [
                    "dimensions",
                    "metrics",
                    "dimensionValues",
                    "metricValues",
                    "raw"
                  ],
                  "description": "A normalized Google Analytics report row."
                },
                "description": "Total rows returned by Google Analytics."
              },
              "minimums": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "dimensions": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string",
                        "description": "A string value returned by Google Analytics."
                      },
                      "description": "Dimension values keyed by dimension header name."
                    },
                    "metrics": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string",
                        "description": "A string value returned by Google Analytics."
                      },
                      "description": "Metric values keyed by metric header name."
                    },
                    "dimensionValues": {
                      "type": "array",
                      "items": {
                        "type": "string",
                        "description": "A string value returned by Google Analytics."
                      },
                      "description": "Dimension values in response order."
                    },
                    "metricValues": {
                      "type": "array",
                      "items": {
                        "type": "string",
                        "description": "A string value returned by Google Analytics."
                      },
                      "description": "Metric values in response order."
                    },
                    "raw": {
                      "type": "object",
                      "properties": {},
                      "additionalProperties": true,
                      "description": "The raw Google Analytics object."
                    }
                  },
                  "additionalProperties": false,
                  "required": [
                    "dimensions",
                    "metrics",
                    "dimensionValues",
                    "metricValues",
                    "raw"
                  ],
                  "description": "A normalized Google Analytics report row."
                },
                "description": "Minimum rows returned by Google Analytics."
              },
              "maximums": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "dimensions": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string",
                        "description": "A string value returned by Google Analytics."
                      },
                      "description": "Dimension values keyed by dimension header name."
                    },
                    "metrics": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string",
                        "description": "A string value returned by Google Analytics."
                      },
                      "description": "Metric values keyed by metric header name."
                    },
                    "dimensionValues": {
                      "type": "array",
                      "items": {
                        "type": "string",
                        "description": "A string value returned by Google Analytics."
                      },
                      "description": "Dimension values in response order."
                    },
                    "metricValues": {
                      "type": "array",
                      "items": {
                        "type": "string",
                        "description": "A string value returned by Google Analytics."
                      },
                      "description": "Metric values in response order."
                    },
                    "raw": {
                      "type": "object",
                      "properties": {},
                      "additionalProperties": true,
                      "description": "The raw Google Analytics object."
                    }
                  },
                  "additionalProperties": false,
                  "required": [
                    "dimensions",
                    "metrics",
                    "dimensionValues",
                    "metricValues",
                    "raw"
                  ],
                  "description": "A normalized Google Analytics report row."
                },
                "description": "Maximum rows returned by Google Analytics."
              },
              "raw": {
                "type": "object",
                "properties": {},
                "additionalProperties": true,
                "description": "The raw Google Analytics object."
              }
            },
            "additionalProperties": false,
            "required": [
              "dimensionHeaders",
              "metricHeaders",
              "rows",
              "rowCount",
              "metadata",
              "propertyQuota",
              "totals",
              "minimums",
              "maximums",
              "raw"
            ],
            "description": "A normalized Google Analytics report response."
          }
        },
        "additionalProperties": false,
        "required": [
          "report"
        ],
        "description": "The Google Analytics key events report response."
      }
    },
    {
      "id": "google_analytics.run_pages_report",
      "service": "google_analytics",
      "name": "run_pages_report",
      "description": "Run a Google Analytics pages report for page views, users, sessions, and engagement.",
      "requiredScopes": [
        "https://www.googleapis.com/auth/analytics.readonly"
      ],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "propertyId": {
            "type": "string",
            "minLength": 1,
            "description": "The Google Analytics property ID, with or without the properties/ prefix."
          },
          "startDate": {
            "type": "string",
            "minLength": 1,
            "description": "The inclusive report start date in YYYY-MM-DD format."
          },
          "endDate": {
            "type": "string",
            "minLength": 1,
            "description": "The inclusive report end date in YYYY-MM-DD format."
          },
          "limit": {
            "anyOf": [
              {
                "type": "string",
                "minLength": 1,
                "description": "The int64 value encoded as a string."
              },
              {
                "type": "integer",
                "description": "The int64 value encoded as an integer."
              }
            ],
            "description": "A Google Analytics int64 request value."
          },
          "orderBy": {
            "type": "string",
            "enum": [
              "pagePath",
              "pageTitle",
              "screenPageViews",
              "activeUsers",
              "sessions",
              "averageSessionDuration",
              "eventCount"
            ],
            "description": "The business report field to sort by descending."
          },
          "dimensionFilter": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "A Google Analytics Data API FilterExpression object."
          },
          "metricFilter": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "A Google Analytics Data API FilterExpression object."
          },
          "keepEmptyRows": {
            "type": "boolean",
            "description": "Whether rows with zero metric values should be returned."
          },
          "returnPropertyQuota": {
            "type": "boolean",
            "description": "Whether to return the property quota with the response."
          }
        },
        "additionalProperties": false,
        "required": [
          "propertyId",
          "startDate",
          "endDate"
        ],
        "description": "Input parameters for running a Google Analytics pages report."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "report": {
            "type": "object",
            "properties": {
              "dimensionHeaders": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "name": {
                      "anyOf": [
                        {
                          "type": "string",
                          "description": "The header name."
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "type": {
                      "anyOf": [
                        {
                          "type": "string",
                          "description": "The metric type when present."
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "additionalProperties": false,
                  "required": [
                    "name",
                    "type"
                  ],
                  "description": "A Google Analytics report header."
                },
                "description": "The dimension headers returned by the report."
              },
              "metricHeaders": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "name": {
                      "anyOf": [
                        {
                          "type": "string",
                          "description": "The header name."
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "type": {
                      "anyOf": [
                        {
                          "type": "string",
                          "description": "The metric type when present."
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "additionalProperties": false,
                  "required": [
                    "name",
                    "type"
                  ],
                  "description": "A Google Analytics report header."
                },
                "description": "The metric headers returned by the report."
              },
              "rows": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "dimensions": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string",
                        "description": "A string value returned by Google Analytics."
                      },
                      "description": "Dimension values keyed by dimension header name."
                    },
                    "metrics": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string",
                        "description": "A string value returned by Google Analytics."
                      },
                      "description": "Metric values keyed by metric header name."
                    },
                    "dimensionValues": {
                      "type": "array",
                      "items": {
                        "type": "string",
                        "description": "A string value returned by Google Analytics."
                      },
                      "description": "Dimension values in response order."
                    },
                    "metricValues": {
                      "type": "array",
                      "items": {
                        "type": "string",
                        "description": "A string value returned by Google Analytics."
                      },
                      "description": "Metric values in response order."
                    },
                    "raw": {
                      "type": "object",
                      "properties": {},
                      "additionalProperties": true,
                      "description": "The raw Google Analytics object."
                    }
                  },
                  "additionalProperties": false,
                  "required": [
                    "dimensions",
                    "metrics",
                    "dimensionValues",
                    "metricValues",
                    "raw"
                  ],
                  "description": "A normalized Google Analytics report row."
                },
                "description": "The normalized report rows."
              },
              "rowCount": {
                "anyOf": [
                  {
                    "type": "integer",
                    "description": "The total row count returned by Google Analytics."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "metadata": {
                "anyOf": [
                  {
                    "type": "object",
                    "properties": {
                      "currencyCode": {
                        "anyOf": [
                          {
                            "type": "string",
                            "description": "The currency code used by the report."
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "timeZone": {
                        "anyOf": [
                          {
                            "type": "string",
                            "description": "The property timezone used by the report."
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "raw": {
                        "type": "object",
                        "properties": {},
                        "additionalProperties": true,
                        "description": "The raw Google Analytics object."
                      }
                    },
                    "additionalProperties": false,
                    "required": [
                      "currencyCode",
                      "timeZone",
                      "raw"
                    ],
                    "description": "Normalized Google Analytics report metadata."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "propertyQuota": {
                "anyOf": [
                  {
                    "type": "object",
                    "properties": {},
                    "additionalProperties": true,
                    "description": "The raw Google Analytics object."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "totals": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "dimensions": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string",
                        "description": "A string value returned by Google Analytics."
                      },
                      "description": "Dimension values keyed by dimension header name."
                    },
                    "metrics": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string",
                        "description": "A string value returned by Google Analytics."
                      },
                      "description": "Metric values keyed by metric header name."
                    },
                    "dimensionValues": {
                      "type": "array",
                      "items": {
                        "type": "string",
                        "description": "A string value returned by Google Analytics."
                      },
                      "description": "Dimension values in response order."
                    },
                    "metricValues": {
                      "type": "array",
                      "items": {
                        "type": "string",
                        "description": "A string value returned by Google Analytics."
                      },
                      "description": "Metric values in response order."
                    },
                    "raw": {
                      "type": "object",
                      "properties": {},
                      "additionalProperties": true,
                      "description": "The raw Google Analytics object."
                    }
                  },
                  "additionalProperties": false,
                  "required": [
                    "dimensions",
                    "metrics",
                    "dimensionValues",
                    "metricValues",
                    "raw"
                  ],
                  "description": "A normalized Google Analytics report row."
                },
                "description": "Total rows returned by Google Analytics."
              },
              "minimums": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "dimensions": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string",
                        "description": "A string value returned by Google Analytics."
                      },
                      "description": "Dimension values keyed by dimension header name."
                    },
                    "metrics": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string",
                        "description": "A string value returned by Google Analytics."
                      },
                      "description": "Metric values keyed by metric header name."
                    },
                    "dimensionValues": {
                      "type": "array",
                      "items": {
                        "type": "string",
                        "description": "A string value returned by Google Analytics."
                      },
                      "description": "Dimension values in response order."
                    },
                    "metricValues": {
                      "type": "array",
                      "items": {
                        "type": "string",
                        "description": "A string value returned by Google Analytics."
                      },
                      "description": "Metric values in response order."
                    },
                    "raw": {
                      "type": "object",
                      "properties": {},
                      "additionalProperties": true,
                      "description": "The raw Google Analytics object."
                    }
                  },
                  "additionalProperties": false,
                  "required": [
                    "dimensions",
                    "metrics",
                    "dimensionValues",
                    "metricValues",
                    "raw"
                  ],
                  "description": "A normalized Google Analytics report row."
                },
                "description": "Minimum rows returned by Google Analytics."
              },
              "maximums": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "dimensions": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string",
                        "description": "A string value returned by Google Analytics."
                      },
                      "description": "Dimension values keyed by dimension header name."
                    },
                    "metrics": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string",
                        "description": "A string value returned by Google Analytics."
                      },
                      "description": "Metric values keyed by metric header name."
                    },
                    "dimensionValues": {
                      "type": "array",
                      "items": {
                        "type": "string",
                        "description": "A string value returned by Google Analytics."
                      },
                      "description": "Dimension values in response order."
                    },
                    "metricValues": {
                      "type": "array",
                      "items": {
                        "type": "string",
                        "description": "A string value returned by Google Analytics."
                      },
                      "description": "Metric values in response order."
                    },
                    "raw": {
                      "type": "object",
                      "properties": {},
                      "additionalProperties": true,
                      "description": "The raw Google Analytics object."
                    }
                  },
                  "additionalProperties": false,
                  "required": [
                    "dimensions",
                    "metrics",
                    "dimensionValues",
                    "metricValues",
                    "raw"
                  ],
                  "description": "A normalized Google Analytics report row."
                },
                "description": "Maximum rows returned by Google Analytics."
              },
              "raw": {
                "type": "object",
                "properties": {},
                "additionalProperties": true,
                "description": "The raw Google Analytics object."
              }
            },
            "additionalProperties": false,
            "required": [
              "dimensionHeaders",
              "metricHeaders",
              "rows",
              "rowCount",
              "metadata",
              "propertyQuota",
              "totals",
              "minimums",
              "maximums",
              "raw"
            ],
            "description": "A normalized Google Analytics report response."
          }
        },
        "additionalProperties": false,
        "required": [
          "report"
        ],
        "description": "The Google Analytics pages report response."
      }
    },
    {
      "id": "google_analytics.run_pivot_report",
      "service": "google_analytics",
      "name": "run_pivot_report",
      "description": "Run a Google Analytics Data API pivot report for cross-tabbed reporting views.",
      "requiredScopes": [
        "https://www.googleapis.com/auth/analytics.readonly"
      ],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "propertyId": {
            "type": "string",
            "minLength": 1,
            "description": "The Google Analytics property ID, with or without the properties/ prefix."
          },
          "dateRanges": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "startDate": {
                  "type": "string",
                  "minLength": 1,
                  "description": "The inclusive start date in YYYY-MM-DD format or a relative value such as 7daysAgo."
                },
                "endDate": {
                  "type": "string",
                  "minLength": 1,
                  "description": "The inclusive end date in YYYY-MM-DD format or a relative value such as today."
                },
                "name": {
                  "type": "string",
                  "minLength": 1,
                  "description": "The optional date range name used in response dimensions."
                }
              },
              "additionalProperties": false,
              "required": [
                "startDate",
                "endDate"
              ],
              "description": "A Google Analytics Data API date range."
            },
            "description": "The date ranges for the pivot report.",
            "minItems": 1
          },
          "dimensions": {
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "type": "string",
                  "minLength": 1,
                  "description": "The API name of the dimension or metric."
                },
                {
                  "type": "object",
                  "properties": {},
                  "additionalProperties": true,
                  "description": "The official Google Analytics Dimension or Metric object, usually containing a name field."
                }
              ],
              "description": "A Google Analytics named dimension or metric request."
            },
            "description": "The dimensions to include in the pivot report.",
            "minItems": 1
          },
          "metrics": {
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "type": "string",
                  "minLength": 1,
                  "description": "The API name of the dimension or metric."
                },
                {
                  "type": "object",
                  "properties": {},
                  "additionalProperties": true,
                  "description": "The official Google Analytics Dimension or Metric object, usually containing a name field."
                }
              ],
              "description": "A Google Analytics named dimension or metric request."
            },
            "description": "The metrics to include in the pivot report.",
            "minItems": 1
          },
          "pivots": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {},
              "additionalProperties": true,
              "description": "A Google Analytics Data API Pivot object with fieldNames, limit, offset, orderBys, or metricAggregations."
            },
            "description": "The pivot configurations for the pivot report.",
            "minItems": 1
          },
          "dimensionFilter": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "A Google Analytics Data API FilterExpression object."
          },
          "metricFilter": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "A Google Analytics Data API FilterExpression object."
          },
          "orderBys": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {},
              "additionalProperties": true,
              "description": "A Google Analytics Data API OrderBy object."
            },
            "description": "The pivot report ordering rules.",
            "minItems": 1
          },
          "currencyCode": {
            "type": "string",
            "minLength": 1,
            "description": "The ISO 4217 currency code for currency metrics."
          },
          "cohortSpec": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "The Google Analytics Data API cohort specification for cohort reports."
          },
          "keepEmptyRows": {
            "type": "boolean",
            "description": "Whether rows with zero metric values should be returned."
          },
          "comparisons": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {},
              "additionalProperties": true,
              "description": "A Google Analytics Data API comparison object."
            },
            "description": "The comparisons to include in the pivot report.",
            "minItems": 1
          },
          "returnPropertyQuota": {
            "type": "boolean",
            "description": "Whether to return the property quota with the response."
          }
        },
        "additionalProperties": false,
        "required": [
          "propertyId",
          "metrics",
          "pivots"
        ],
        "description": "Input parameters for running a Google Analytics Data API pivot report."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "pivotReport": {
            "type": "object",
            "properties": {
              "pivotHeaders": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "pivotDimensionHeaders": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {},
                        "additionalProperties": true,
                        "description": "The raw Google Analytics object."
                      },
                      "description": "The pivot dimension header entries returned by Google Analytics."
                    },
                    "rowCount": {
                      "anyOf": [
                        {
                          "type": "integer",
                          "description": "The number of rows returned for this pivot."
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "raw": {
                      "type": "object",
                      "properties": {},
                      "additionalProperties": true,
                      "description": "The raw Google Analytics object."
                    }
                  },
                  "additionalProperties": false,
                  "required": [
                    "pivotDimensionHeaders",
                    "rowCount",
                    "raw"
                  ],
                  "description": "A normalized Google Analytics pivot header."
                },
                "description": "The pivot headers returned by the report."
              },
              "dimensionHeaders": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "name": {
                      "anyOf": [
                        {
                          "type": "string",
                          "description": "The header name."
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "type": {
                      "anyOf": [
                        {
                          "type": "string",
                          "description": "The metric type when present."
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "additionalProperties": false,
                  "required": [
                    "name",
                    "type"
                  ],
                  "description": "A Google Analytics report header."
                },
                "description": "The dimension headers returned by the report."
              },
              "metricHeaders": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "name": {
                      "anyOf": [
                        {
                          "type": "string",
                          "description": "The header name."
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "type": {
                      "anyOf": [
                        {
                          "type": "string",
                          "description": "The metric type when present."
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "additionalProperties": false,
                  "required": [
                    "name",
                    "type"
                  ],
                  "description": "A Google Analytics report header."
                },
                "description": "The metric headers returned by the report."
              },
              "rows": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "dimensions": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string",
                        "description": "A string value returned by Google Analytics."
                      },
                      "description": "Dimension values keyed by dimension header name."
                    },
                    "metrics": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string",
                        "description": "A string value returned by Google Analytics."
                      },
                      "description": "Metric values keyed by metric header name."
                    },
                    "dimensionValues": {
                      "type": "array",
                      "items": {
                        "type": "string",
                        "description": "A string value returned by Google Analytics."
                      },
                      "description": "Dimension values in response order."
                    },
                    "metricValues": {
                      "type": "array",
                      "items": {
                        "type": "string",
                        "description": "A string value returned by Google Analytics."
                      },
                      "description": "Metric values in response order."
                    },
                    "raw": {
                      "type": "object",
                      "properties": {},
                      "additionalProperties": true,
                      "description": "The raw Google Analytics object."
                    }
                  },
                  "additionalProperties": false,
                  "required": [
                    "dimensions",
                    "metrics",
                    "dimensionValues",
                    "metricValues",
                    "raw"
                  ],
                  "description": "A normalized Google Analytics report row."
                },
                "description": "The normalized report rows."
              },
              "metadata": {
                "anyOf": [
                  {
                    "type": "object",
                    "properties": {
                      "currencyCode": {
                        "anyOf": [
                          {
                            "type": "string",
                            "description": "The currency code used by the report."
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "timeZone": {
                        "anyOf": [
                          {
                            "type": "string",
                            "description": "The property timezone used by the report."
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "raw": {
                        "type": "object",
                        "properties": {},
                        "additionalProperties": true,
                        "description": "The raw Google Analytics object."
                      }
                    },
                    "additionalProperties": false,
                    "required": [
                      "currencyCode",
                      "timeZone",
                      "raw"
                    ],
                    "description": "Normalized Google Analytics report metadata."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "propertyQuota": {
                "anyOf": [
                  {
                    "type": "object",
                    "properties": {},
                    "additionalProperties": true,
                    "description": "The raw Google Analytics object."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "raw": {
                "type": "object",
                "properties": {},
                "additionalProperties": true,
                "description": "The raw Google Analytics object."
              }
            },
            "additionalProperties": false,
            "required": [
              "pivotHeaders",
              "dimensionHeaders",
              "metricHeaders",
              "rows",
              "metadata",
              "propertyQuota",
              "raw"
            ],
            "description": "A normalized Google Analytics pivot report response."
          }
        },
        "additionalProperties": false,
        "required": [
          "pivotReport"
        ],
        "description": "The Google Analytics pivot report response."
      }
    },
    {
      "id": "google_analytics.run_realtime_report",
      "service": "google_analytics",
      "name": "run_realtime_report",
      "description": "Run a Google Analytics realtime report for currently active users and events.",
      "requiredScopes": [
        "https://www.googleapis.com/auth/analytics.readonly"
      ],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "propertyId": {
            "type": "string",
            "minLength": 1,
            "description": "The Google Analytics property ID, with or without the properties/ prefix."
          },
          "dimensions": {
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "type": "string",
                  "minLength": 1,
                  "description": "The API name of the dimension or metric."
                },
                {
                  "type": "object",
                  "properties": {},
                  "additionalProperties": true,
                  "description": "The official Google Analytics Dimension or Metric object, usually containing a name field."
                }
              ],
              "description": "A Google Analytics named dimension or metric request."
            },
            "description": "The realtime dimensions to include in the report.",
            "minItems": 1
          },
          "metrics": {
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "type": "string",
                  "minLength": 1,
                  "description": "The API name of the dimension or metric."
                },
                {
                  "type": "object",
                  "properties": {},
                  "additionalProperties": true,
                  "description": "The official Google Analytics Dimension or Metric object, usually containing a name field."
                }
              ],
              "description": "A Google Analytics named dimension or metric request."
            },
            "description": "The realtime metrics to include in the report.",
            "minItems": 1
          },
          "dimensionFilter": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "A Google Analytics Data API FilterExpression object."
          },
          "metricFilter": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "A Google Analytics Data API FilterExpression object."
          },
          "orderBys": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {},
              "additionalProperties": true,
              "description": "A Google Analytics Data API OrderBy object."
            },
            "description": "The realtime report ordering rules.",
            "minItems": 1
          },
          "limit": {
            "anyOf": [
              {
                "type": "string",
                "minLength": 1,
                "description": "The int64 value encoded as a string."
              },
              {
                "type": "integer",
                "description": "The int64 value encoded as an integer."
              }
            ],
            "description": "A Google Analytics int64 request value."
          },
          "metricAggregations": {
            "type": "array",
            "items": {
              "type": "string",
              "enum": [
                "METRIC_AGGREGATION_UNSPECIFIED",
                "TOTAL",
                "MINIMUM",
                "MAXIMUM",
                "COUNT"
              ],
              "description": "A Google Analytics metric aggregation enum value."
            },
            "description": "The metric aggregations to include in the realtime report.",
            "minItems": 1
          },
          "minuteRanges": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {},
              "additionalProperties": true,
              "description": "A Google Analytics Data API realtime minute range."
            },
            "description": "The minute ranges to include in the realtime report.",
            "minItems": 1
          },
          "returnPropertyQuota": {
            "type": "boolean",
            "description": "Whether to return the property quota with the response."
          }
        },
        "additionalProperties": false,
        "required": [
          "propertyId",
          "metrics"
        ],
        "description": "Input parameters for running a Google Analytics realtime report."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "report": {
            "type": "object",
            "properties": {
              "dimensionHeaders": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "name": {
                      "anyOf": [
                        {
                          "type": "string",
                          "description": "The header name."
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "type": {
                      "anyOf": [
                        {
                          "type": "string",
                          "description": "The metric type when present."
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "additionalProperties": false,
                  "required": [
                    "name",
                    "type"
                  ],
                  "description": "A Google Analytics report header."
                },
                "description": "The dimension headers returned by the report."
              },
              "metricHeaders": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "name": {
                      "anyOf": [
                        {
                          "type": "string",
                          "description": "The header name."
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "type": {
                      "anyOf": [
                        {
                          "type": "string",
                          "description": "The metric type when present."
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "additionalProperties": false,
                  "required": [
                    "name",
                    "type"
                  ],
                  "description": "A Google Analytics report header."
                },
                "description": "The metric headers returned by the report."
              },
              "rows": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "dimensions": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string",
                        "description": "A string value returned by Google Analytics."
                      },
                      "description": "Dimension values keyed by dimension header name."
                    },
                    "metrics": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string",
                        "description": "A string value returned by Google Analytics."
                      },
                      "description": "Metric values keyed by metric header name."
                    },
                    "dimensionValues": {
                      "type": "array",
                      "items": {
                        "type": "string",
                        "description": "A string value returned by Google Analytics."
                      },
                      "description": "Dimension values in response order."
                    },
                    "metricValues": {
                      "type": "array",
                      "items": {
                        "type": "string",
                        "description": "A string value returned by Google Analytics."
                      },
                      "description": "Metric values in response order."
                    },
                    "raw": {
                      "type": "object",
                      "properties": {},
                      "additionalProperties": true,
                      "description": "The raw Google Analytics object."
                    }
                  },
                  "additionalProperties": false,
                  "required": [
                    "dimensions",
                    "metrics",
                    "dimensionValues",
                    "metricValues",
                    "raw"
                  ],
                  "description": "A normalized Google Analytics report row."
                },
                "description": "The normalized report rows."
              },
              "rowCount": {
                "anyOf": [
                  {
                    "type": "integer",
                    "description": "The total row count returned by Google Analytics."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "metadata": {
                "anyOf": [
                  {
                    "type": "object",
                    "properties": {
                      "currencyCode": {
                        "anyOf": [
                          {
                            "type": "string",
                            "description": "The currency code used by the report."
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "timeZone": {
                        "anyOf": [
                          {
                            "type": "string",
                            "description": "The property timezone used by the report."
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "raw": {
                        "type": "object",
                        "properties": {},
                        "additionalProperties": true,
                        "description": "The raw Google Analytics object."
                      }
                    },
                    "additionalProperties": false,
                    "required": [
                      "currencyCode",
                      "timeZone",
                      "raw"
                    ],
                    "description": "Normalized Google Analytics report metadata."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "propertyQuota": {
                "anyOf": [
                  {
                    "type": "object",
                    "properties": {},
                    "additionalProperties": true,
                    "description": "The raw Google Analytics object."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "totals": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "dimensions": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string",
                        "description": "A string value returned by Google Analytics."
                      },
                      "description": "Dimension values keyed by dimension header name."
                    },
                    "metrics": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string",
                        "description": "A string value returned by Google Analytics."
                      },
                      "description": "Metric values keyed by metric header name."
                    },
                    "dimensionValues": {
                      "type": "array",
                      "items": {
                        "type": "string",
                        "description": "A string value returned by Google Analytics."
                      },
                      "description": "Dimension values in response order."
                    },
                    "metricValues": {
                      "type": "array",
                      "items": {
                        "type": "string",
                        "description": "A string value returned by Google Analytics."
                      },
                      "description": "Metric values in response order."
                    },
                    "raw": {
                      "type": "object",
                      "properties": {},
                      "additionalProperties": true,
                      "description": "The raw Google Analytics object."
                    }
                  },
                  "additionalProperties": false,
                  "required": [
                    "dimensions",
                    "metrics",
                    "dimensionValues",
                    "metricValues",
                    "raw"
                  ],
                  "description": "A normalized Google Analytics report row."
                },
                "description": "Total rows returned by Google Analytics."
              },
              "minimums": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "dimensions": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string",
                        "description": "A string value returned by Google Analytics."
                      },
                      "description": "Dimension values keyed by dimension header name."
                    },
                    "metrics": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string",
                        "description": "A string value returned by Google Analytics."
                      },
                      "description": "Metric values keyed by metric header name."
                    },
                    "dimensionValues": {
                      "type": "array",
                      "items": {
                        "type": "string",
                        "description": "A string value returned by Google Analytics."
                      },
                      "description": "Dimension values in response order."
                    },
                    "metricValues": {
                      "type": "array",
                      "items": {
                        "type": "string",
                        "description": "A string value returned by Google Analytics."
                      },
                      "description": "Metric values in response order."
                    },
                    "raw": {
                      "type": "object",
                      "properties": {},
                      "additionalProperties": true,
                      "description": "The raw Google Analytics object."
                    }
                  },
                  "additionalProperties": false,
                  "required": [
                    "dimensions",
                    "metrics",
                    "dimensionValues",
                    "metricValues",
                    "raw"
                  ],
                  "description": "A normalized Google Analytics report row."
                },
                "description": "Minimum rows returned by Google Analytics."
              },
              "maximums": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "dimensions": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string",
                        "description": "A string value returned by Google Analytics."
                      },
                      "description": "Dimension values keyed by dimension header name."
                    },
                    "metrics": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string",
                        "description": "A string value returned by Google Analytics."
                      },
                      "description": "Metric values keyed by metric header name."
                    },
                    "dimensionValues": {
                      "type": "array",
                      "items": {
                        "type": "string",
                        "description": "A string value returned by Google Analytics."
                      },
                      "description": "Dimension values in response order."
                    },
                    "metricValues": {
                      "type": "array",
                      "items": {
                        "type": "string",
                        "description": "A string value returned by Google Analytics."
                      },
                      "description": "Metric values in response order."
                    },
                    "raw": {
                      "type": "object",
                      "properties": {},
                      "additionalProperties": true,
                      "description": "The raw Google Analytics object."
                    }
                  },
                  "additionalProperties": false,
                  "required": [
                    "dimensions",
                    "metrics",
                    "dimensionValues",
                    "metricValues",
                    "raw"
                  ],
                  "description": "A normalized Google Analytics report row."
                },
                "description": "Maximum rows returned by Google Analytics."
              },
              "raw": {
                "type": "object",
                "properties": {},
                "additionalProperties": true,
                "description": "The raw Google Analytics object."
              }
            },
            "additionalProperties": false,
            "required": [
              "dimensionHeaders",
              "metricHeaders",
              "rows",
              "rowCount",
              "metadata",
              "propertyQuota",
              "totals",
              "minimums",
              "maximums",
              "raw"
            ],
            "description": "A normalized Google Analytics report response."
          }
        },
        "additionalProperties": false,
        "required": [
          "report"
        ],
        "description": "The Google Analytics realtime report response."
      }
    },
    {
      "id": "google_analytics.run_report",
      "service": "google_analytics",
      "name": "run_report",
      "description": "Run a Google Analytics Data API report for selected dimensions, metrics, and date ranges.",
      "requiredScopes": [
        "https://www.googleapis.com/auth/analytics.readonly"
      ],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "propertyId": {
            "type": "string",
            "minLength": 1,
            "description": "The Google Analytics property ID, with or without the properties/ prefix."
          },
          "dateRanges": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "startDate": {
                  "type": "string",
                  "minLength": 1,
                  "description": "The inclusive start date in YYYY-MM-DD format or a relative value such as 7daysAgo."
                },
                "endDate": {
                  "type": "string",
                  "minLength": 1,
                  "description": "The inclusive end date in YYYY-MM-DD format or a relative value such as today."
                },
                "name": {
                  "type": "string",
                  "minLength": 1,
                  "description": "The optional date range name used in response dimensions."
                }
              },
              "additionalProperties": false,
              "required": [
                "startDate",
                "endDate"
              ],
              "description": "A Google Analytics Data API date range."
            },
            "description": "The date ranges for the report.",
            "minItems": 1
          },
          "dimensions": {
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "type": "string",
                  "minLength": 1,
                  "description": "The API name of the dimension or metric."
                },
                {
                  "type": "object",
                  "properties": {},
                  "additionalProperties": true,
                  "description": "The official Google Analytics Dimension or Metric object, usually containing a name field."
                }
              ],
              "description": "A Google Analytics named dimension or metric request."
            },
            "description": "The dimensions to include in the report.",
            "minItems": 1
          },
          "metrics": {
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "type": "string",
                  "minLength": 1,
                  "description": "The API name of the dimension or metric."
                },
                {
                  "type": "object",
                  "properties": {},
                  "additionalProperties": true,
                  "description": "The official Google Analytics Dimension or Metric object, usually containing a name field."
                }
              ],
              "description": "A Google Analytics named dimension or metric request."
            },
            "description": "The metrics to include in the report.",
            "minItems": 1
          },
          "dimensionFilter": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "A Google Analytics Data API FilterExpression object."
          },
          "metricFilter": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "A Google Analytics Data API FilterExpression object."
          },
          "orderBys": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {},
              "additionalProperties": true,
              "description": "A Google Analytics Data API OrderBy object."
            },
            "description": "The report ordering rules.",
            "minItems": 1
          },
          "currencyCode": {
            "type": "string",
            "minLength": 1,
            "description": "The ISO 4217 currency code for currency metrics."
          },
          "cohortSpec": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "The Google Analytics Data API cohort specification for cohort reports."
          },
          "keepEmptyRows": {
            "type": "boolean",
            "description": "Whether rows with zero metric values should be returned."
          },
          "metricAggregations": {
            "type": "array",
            "items": {
              "type": "string",
              "enum": [
                "METRIC_AGGREGATION_UNSPECIFIED",
                "TOTAL",
                "MINIMUM",
                "MAXIMUM",
                "COUNT"
              ],
              "description": "A Google Analytics metric aggregation enum value."
            },
            "description": "The metric aggregations to include in the report.",
            "minItems": 1
          },
          "comparisons": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {},
              "additionalProperties": true,
              "description": "A Google Analytics Data API comparison object."
            },
            "description": "The comparisons to include in the report.",
            "minItems": 1
          },
          "limit": {
            "anyOf": [
              {
                "type": "string",
                "minLength": 1,
                "description": "The int64 value encoded as a string."
              },
              {
                "type": "integer",
                "description": "The int64 value encoded as an integer."
              }
            ],
            "description": "A Google Analytics int64 request value."
          },
          "offset": {
            "anyOf": [
              {
                "type": "string",
                "minLength": 1,
                "description": "The int64 value encoded as a string."
              },
              {
                "type": "integer",
                "description": "The int64 value encoded as an integer."
              }
            ],
            "description": "A Google Analytics int64 request value."
          },
          "returnPropertyQuota": {
            "type": "boolean",
            "description": "Whether to return the property quota with the response."
          }
        },
        "additionalProperties": false,
        "required": [
          "propertyId",
          "dateRanges",
          "metrics"
        ],
        "description": "Input parameters for running a Google Analytics Data API report."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "report": {
            "type": "object",
            "properties": {
              "dimensionHeaders": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "name": {
                      "anyOf": [
                        {
                          "type": "string",
                          "description": "The header name."
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "type": {
                      "anyOf": [
                        {
                          "type": "string",
                          "description": "The metric type when present."
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "additionalProperties": false,
                  "required": [
                    "name",
                    "type"
                  ],
                  "description": "A Google Analytics report header."
                },
                "description": "The dimension headers returned by the report."
              },
              "metricHeaders": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "name": {
                      "anyOf": [
                        {
                          "type": "string",
                          "description": "The header name."
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "type": {
                      "anyOf": [
                        {
                          "type": "string",
                          "description": "The metric type when present."
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "additionalProperties": false,
                  "required": [
                    "name",
                    "type"
                  ],
                  "description": "A Google Analytics report header."
                },
                "description": "The metric headers returned by the report."
              },
              "rows": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "dimensions": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string",
                        "description": "A string value returned by Google Analytics."
                      },
                      "description": "Dimension values keyed by dimension header name."
                    },
                    "metrics": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string",
                        "description": "A string value returned by Google Analytics."
                      },
                      "description": "Metric values keyed by metric header name."
                    },
                    "dimensionValues": {
                      "type": "array",
                      "items": {
                        "type": "string",
                        "description": "A string value returned by Google Analytics."
                      },
                      "description": "Dimension values in response order."
                    },
                    "metricValues": {
                      "type": "array",
                      "items": {
                        "type": "string",
                        "description": "A string value returned by Google Analytics."
                      },
                      "description": "Metric values in response order."
                    },
                    "raw": {
                      "type": "object",
                      "properties": {},
                      "additionalProperties": true,
                      "description": "The raw Google Analytics object."
                    }
                  },
                  "additionalProperties": false,
                  "required": [
                    "dimensions",
                    "metrics",
                    "dimensionValues",
                    "metricValues",
                    "raw"
                  ],
                  "description": "A normalized Google Analytics report row."
                },
                "description": "The normalized report rows."
              },
              "rowCount": {
                "anyOf": [
                  {
                    "type": "integer",
                    "description": "The total row count returned by Google Analytics."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "metadata": {
                "anyOf": [
                  {
                    "type": "object",
                    "properties": {
                      "currencyCode": {
                        "anyOf": [
                          {
                            "type": "string",
                            "description": "The currency code used by the report."
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "timeZone": {
                        "anyOf": [
                          {
                            "type": "string",
                            "description": "The property timezone used by the report."
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "raw": {
                        "type": "object",
                        "properties": {},
                        "additionalProperties": true,
                        "description": "The raw Google Analytics object."
                      }
                    },
                    "additionalProperties": false,
                    "required": [
                      "currencyCode",
                      "timeZone",
                      "raw"
                    ],
                    "description": "Normalized Google Analytics report metadata."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "propertyQuota": {
                "anyOf": [
                  {
                    "type": "object",
                    "properties": {},
                    "additionalProperties": true,
                    "description": "The raw Google Analytics object."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "totals": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "dimensions": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string",
                        "description": "A string value returned by Google Analytics."
                      },
                      "description": "Dimension values keyed by dimension header name."
                    },
                    "metrics": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string",
                        "description": "A string value returned by Google Analytics."
                      },
                      "description": "Metric values keyed by metric header name."
                    },
                    "dimensionValues": {
                      "type": "array",
                      "items": {
                        "type": "string",
                        "description": "A string value returned by Google Analytics."
                      },
                      "description": "Dimension values in response order."
                    },
                    "metricValues": {
                      "type": "array",
                      "items": {
                        "type": "string",
                        "description": "A string value returned by Google Analytics."
                      },
                      "description": "Metric values in response order."
                    },
                    "raw": {
                      "type": "object",
                      "properties": {},
                      "additionalProperties": true,
                      "description": "The raw Google Analytics object."
                    }
                  },
                  "additionalProperties": false,
                  "required": [
                    "dimensions",
                    "metrics",
                    "dimensionValues",
                    "metricValues",
                    "raw"
                  ],
                  "description": "A normalized Google Analytics report row."
                },
                "description": "Total rows returned by Google Analytics."
              },
              "minimums": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "dimensions": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string",
                        "description": "A string value returned by Google Analytics."
                      },
                      "description": "Dimension values keyed by dimension header name."
                    },
                    "metrics": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string",
                        "description": "A string value returned by Google Analytics."
                      },
                      "description": "Metric values keyed by metric header name."
                    },
                    "dimensionValues": {
                      "type": "array",
                      "items": {
                        "type": "string",
                        "description": "A string value returned by Google Analytics."
                      },
                      "description": "Dimension values in response order."
                    },
                    "metricValues": {
                      "type": "array",
                      "items": {
                        "type": "string",
                        "description": "A string value returned by Google Analytics."
                      },
                      "description": "Metric values in response order."
                    },
                    "raw": {
                      "type": "object",
                      "properties": {},
                      "additionalProperties": true,
                      "description": "The raw Google Analytics object."
                    }
                  },
                  "additionalProperties": false,
                  "required": [
                    "dimensions",
                    "metrics",
                    "dimensionValues",
                    "metricValues",
                    "raw"
                  ],
                  "description": "A normalized Google Analytics report row."
                },
                "description": "Minimum rows returned by Google Analytics."
              },
              "maximums": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "dimensions": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string",
                        "description": "A string value returned by Google Analytics."
                      },
                      "description": "Dimension values keyed by dimension header name."
                    },
                    "metrics": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string",
                        "description": "A string value returned by Google Analytics."
                      },
                      "description": "Metric values keyed by metric header name."
                    },
                    "dimensionValues": {
                      "type": "array",
                      "items": {
                        "type": "string",
                        "description": "A string value returned by Google Analytics."
                      },
                      "description": "Dimension values in response order."
                    },
                    "metricValues": {
                      "type": "array",
                      "items": {
                        "type": "string",
                        "description": "A string value returned by Google Analytics."
                      },
                      "description": "Metric values in response order."
                    },
                    "raw": {
                      "type": "object",
                      "properties": {},
                      "additionalProperties": true,
                      "description": "The raw Google Analytics object."
                    }
                  },
                  "additionalProperties": false,
                  "required": [
                    "dimensions",
                    "metrics",
                    "dimensionValues",
                    "metricValues",
                    "raw"
                  ],
                  "description": "A normalized Google Analytics report row."
                },
                "description": "Maximum rows returned by Google Analytics."
              },
              "raw": {
                "type": "object",
                "properties": {},
                "additionalProperties": true,
                "description": "The raw Google Analytics object."
              }
            },
            "additionalProperties": false,
            "required": [
              "dimensionHeaders",
              "metricHeaders",
              "rows",
              "rowCount",
              "metadata",
              "propertyQuota",
              "totals",
              "minimums",
              "maximums",
              "raw"
            ],
            "description": "A normalized Google Analytics report response."
          }
        },
        "additionalProperties": false,
        "required": [
          "report"
        ],
        "description": "The Google Analytics report response."
      }
    },
    {
      "id": "google_analytics.run_technology_report",
      "service": "google_analytics",
      "name": "run_technology_report",
      "description": "Run a Google Analytics technology report for device, browser, and operating system performance.",
      "requiredScopes": [
        "https://www.googleapis.com/auth/analytics.readonly"
      ],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "propertyId": {
            "type": "string",
            "minLength": 1,
            "description": "The Google Analytics property ID, with or without the properties/ prefix."
          },
          "startDate": {
            "type": "string",
            "minLength": 1,
            "description": "The inclusive report start date in YYYY-MM-DD format."
          },
          "endDate": {
            "type": "string",
            "minLength": 1,
            "description": "The inclusive report end date in YYYY-MM-DD format."
          },
          "limit": {
            "anyOf": [
              {
                "type": "string",
                "minLength": 1,
                "description": "The int64 value encoded as a string."
              },
              {
                "type": "integer",
                "description": "The int64 value encoded as an integer."
              }
            ],
            "description": "A Google Analytics int64 request value."
          },
          "orderBy": {
            "type": "string",
            "enum": [
              "deviceCategory",
              "browser",
              "operatingSystem",
              "activeUsers",
              "sessions",
              "engagedSessions",
              "engagementRate",
              "eventCount",
              "keyEvents"
            ],
            "description": "The business report field to sort by descending."
          },
          "dimensionFilter": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "A Google Analytics Data API FilterExpression object."
          },
          "metricFilter": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "A Google Analytics Data API FilterExpression object."
          },
          "keepEmptyRows": {
            "type": "boolean",
            "description": "Whether rows with zero metric values should be returned."
          },
          "returnPropertyQuota": {
            "type": "boolean",
            "description": "Whether to return the property quota with the response."
          }
        },
        "additionalProperties": false,
        "required": [
          "propertyId",
          "startDate",
          "endDate"
        ],
        "description": "Input parameters for running a Google Analytics technology report."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "report": {
            "type": "object",
            "properties": {
              "dimensionHeaders": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "name": {
                      "anyOf": [
                        {
                          "type": "string",
                          "description": "The header name."
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "type": {
                      "anyOf": [
                        {
                          "type": "string",
                          "description": "The metric type when present."
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "additionalProperties": false,
                  "required": [
                    "name",
                    "type"
                  ],
                  "description": "A Google Analytics report header."
                },
                "description": "The dimension headers returned by the report."
              },
              "metricHeaders": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "name": {
                      "anyOf": [
                        {
                          "type": "string",
                          "description": "The header name."
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "type": {
                      "anyOf": [
                        {
                          "type": "string",
                          "description": "The metric type when present."
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "additionalProperties": false,
                  "required": [
                    "name",
                    "type"
                  ],
                  "description": "A Google Analytics report header."
                },
                "description": "The metric headers returned by the report."
              },
              "rows": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "dimensions": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string",
                        "description": "A string value returned by Google Analytics."
                      },
                      "description": "Dimension values keyed by dimension header name."
                    },
                    "metrics": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string",
                        "description": "A string value returned by Google Analytics."
                      },
                      "description": "Metric values keyed by metric header name."
                    },
                    "dimensionValues": {
                      "type": "array",
                      "items": {
                        "type": "string",
                        "description": "A string value returned by Google Analytics."
                      },
                      "description": "Dimension values in response order."
                    },
                    "metricValues": {
                      "type": "array",
                      "items": {
                        "type": "string",
                        "description": "A string value returned by Google Analytics."
                      },
                      "description": "Metric values in response order."
                    },
                    "raw": {
                      "type": "object",
                      "properties": {},
                      "additionalProperties": true,
                      "description": "The raw Google Analytics object."
                    }
                  },
                  "additionalProperties": false,
                  "required": [
                    "dimensions",
                    "metrics",
                    "dimensionValues",
                    "metricValues",
                    "raw"
                  ],
                  "description": "A normalized Google Analytics report row."
                },
                "description": "The normalized report rows."
              },
              "rowCount": {
                "anyOf": [
                  {
                    "type": "integer",
                    "description": "The total row count returned by Google Analytics."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "metadata": {
                "anyOf": [
                  {
                    "type": "object",
                    "properties": {
                      "currencyCode": {
                        "anyOf": [
                          {
                            "type": "string",
                            "description": "The currency code used by the report."
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "timeZone": {
                        "anyOf": [
                          {
                            "type": "string",
                            "description": "The property timezone used by the report."
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "raw": {
                        "type": "object",
                        "properties": {},
                        "additionalProperties": true,
                        "description": "The raw Google Analytics object."
                      }
                    },
                    "additionalProperties": false,
                    "required": [
                      "currencyCode",
                      "timeZone",
                      "raw"
                    ],
                    "description": "Normalized Google Analytics report metadata."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "propertyQuota": {
                "anyOf": [
                  {
                    "type": "object",
                    "properties": {},
                    "additionalProperties": true,
                    "description": "The raw Google Analytics object."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "totals": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "dimensions": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string",
                        "description": "A string value returned by Google Analytics."
                      },
                      "description": "Dimension values keyed by dimension header name."
                    },
                    "metrics": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string",
                        "description": "A string value returned by Google Analytics."
                      },
                      "description": "Metric values keyed by metric header name."
                    },
                    "dimensionValues": {
                      "type": "array",
                      "items": {
                        "type": "string",
                        "description": "A string value returned by Google Analytics."
                      },
                      "description": "Dimension values in response order."
                    },
                    "metricValues": {
                      "type": "array",
                      "items": {
                        "type": "string",
                        "description": "A string value returned by Google Analytics."
                      },
                      "description": "Metric values in response order."
                    },
                    "raw": {
                      "type": "object",
                      "properties": {},
                      "additionalProperties": true,
                      "description": "The raw Google Analytics object."
                    }
                  },
                  "additionalProperties": false,
                  "required": [
                    "dimensions",
                    "metrics",
                    "dimensionValues",
                    "metricValues",
                    "raw"
                  ],
                  "description": "A normalized Google Analytics report row."
                },
                "description": "Total rows returned by Google Analytics."
              },
              "minimums": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "dimensions": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string",
                        "description": "A string value returned by Google Analytics."
                      },
                      "description": "Dimension values keyed by dimension header name."
                    },
                    "metrics": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string",
                        "description": "A string value returned by Google Analytics."
                      },
                      "description": "Metric values keyed by metric header name."
                    },
                    "dimensionValues": {
                      "type": "array",
                      "items": {
                        "type": "string",
                        "description": "A string value returned by Google Analytics."
                      },
                      "description": "Dimension values in response order."
                    },
                    "metricValues": {
                      "type": "array",
                      "items": {
                        "type": "string",
                        "description": "A string value returned by Google Analytics."
                      },
                      "description": "Metric values in response order."
                    },
                    "raw": {
                      "type": "object",
                      "properties": {},
                      "additionalProperties": true,
                      "description": "The raw Google Analytics object."
                    }
                  },
                  "additionalProperties": false,
                  "required": [
                    "dimensions",
                    "metrics",
                    "dimensionValues",
                    "metricValues",
                    "raw"
                  ],
                  "description": "A normalized Google Analytics report row."
                },
                "description": "Minimum rows returned by Google Analytics."
              },
              "maximums": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "dimensions": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string",
                        "description": "A string value returned by Google Analytics."
                      },
                      "description": "Dimension values keyed by dimension header name."
                    },
                    "metrics": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string",
                        "description": "A string value returned by Google Analytics."
                      },
                      "description": "Metric values keyed by metric header name."
                    },
                    "dimensionValues": {
                      "type": "array",
                      "items": {
                        "type": "string",
                        "description": "A string value returned by Google Analytics."
                      },
                      "description": "Dimension values in response order."
                    },
                    "metricValues": {
                      "type": "array",
                      "items": {
                        "type": "string",
                        "description": "A string value returned by Google Analytics."
                      },
                      "description": "Metric values in response order."
                    },
                    "raw": {
                      "type": "object",
                      "properties": {},
                      "additionalProperties": true,
                      "description": "The raw Google Analytics object."
                    }
                  },
                  "additionalProperties": false,
                  "required": [
                    "dimensions",
                    "metrics",
                    "dimensionValues",
                    "metricValues",
                    "raw"
                  ],
                  "description": "A normalized Google Analytics report row."
                },
                "description": "Maximum rows returned by Google Analytics."
              },
              "raw": {
                "type": "object",
                "properties": {},
                "additionalProperties": true,
                "description": "The raw Google Analytics object."
              }
            },
            "additionalProperties": false,
            "required": [
              "dimensionHeaders",
              "metricHeaders",
              "rows",
              "rowCount",
              "metadata",
              "propertyQuota",
              "totals",
              "minimums",
              "maximums",
              "raw"
            ],
            "description": "A normalized Google Analytics report response."
          }
        },
        "additionalProperties": false,
        "required": [
          "report"
        ],
        "description": "The Google Analytics technology report response."
      }
    },
    {
      "id": "google_analytics.update_data_retention_settings",
      "service": "google_analytics",
      "name": "update_data_retention_settings",
      "description": "Update Google Analytics property data retention settings for event data and user activity reset behavior.",
      "requiredScopes": [
        "https://www.googleapis.com/auth/analytics.edit"
      ],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "propertyId": {
            "type": "string",
            "minLength": 1,
            "description": "The Google Analytics property ID, with or without the properties/ prefix."
          },
          "eventDataRetention": {
            "type": "string",
            "minLength": 1,
            "description": "The event-level data retention duration enum value, such as FOURTEEN_MONTHS."
          },
          "userDataRetention": {
            "type": "string",
            "minLength": 1,
            "description": "The user-level data retention duration enum value, such as FOURTEEN_MONTHS."
          },
          "resetUserDataOnNewActivity": {
            "type": "boolean",
            "description": "Whether user data retention resets on new activity."
          }
        },
        "additionalProperties": false,
        "required": [
          "propertyId"
        ],
        "description": "Input parameters for updating Google Analytics data retention settings."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "dataRetentionSettings": {
            "type": "object",
            "properties": {
              "name": {
                "anyOf": [
                  {
                    "type": "string",
                    "description": "The data retention settings resource name, such as properties/123/dataRetentionSettings."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "eventDataRetention": {
                "anyOf": [
                  {
                    "type": "string",
                    "description": "The event-level data retention duration enum value."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "userDataRetention": {
                "anyOf": [
                  {
                    "type": "string",
                    "description": "The user-level data retention duration enum value."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "resetUserDataOnNewActivity": {
                "anyOf": [
                  {
                    "type": "boolean",
                    "description": "Whether user data retention resets on new activity."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "raw": {
                "type": "object",
                "properties": {},
                "additionalProperties": true,
                "description": "The raw Google Analytics object."
              }
            },
            "additionalProperties": false,
            "required": [
              "name",
              "eventDataRetention",
              "userDataRetention",
              "resetUserDataOnNewActivity",
              "raw"
            ],
            "description": "A normalized Google Analytics data retention settings resource."
          }
        },
        "additionalProperties": false,
        "required": [
          "dataRetentionSettings"
        ],
        "description": "The updated Google Analytics data retention settings response."
      }
    },
    {
      "id": "google_analytics.update_property",
      "service": "google_analytics",
      "name": "update_property",
      "description": "Update Google Analytics property settings such as display name, industry category, time zone, or currency.",
      "requiredScopes": [
        "https://www.googleapis.com/auth/analytics.edit"
      ],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "propertyId": {
            "type": "string",
            "minLength": 1,
            "description": "The Google Analytics property ID, with or without the properties/ prefix."
          },
          "displayName": {
            "type": "string",
            "minLength": 1,
            "description": "The property display name."
          },
          "industryCategory": {
            "type": "string",
            "minLength": 1,
            "description": "The property industry category enum value."
          },
          "timeZone": {
            "type": "string",
            "minLength": 1,
            "description": "The property reporting time zone."
          },
          "currencyCode": {
            "type": "string",
            "minLength": 1,
            "description": "The property currency code."
          },
          "serviceLevel": {
            "type": "string",
            "minLength": 1,
            "description": "The Google Analytics property service level enum value."
          }
        },
        "additionalProperties": false,
        "required": [
          "propertyId"
        ],
        "description": "Input parameters for updating Google Analytics property configuration."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "property": {
            "type": "object",
            "properties": {
              "name": {
                "anyOf": [
                  {
                    "type": "string",
                    "description": "The property resource name, such as properties/1234."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "propertyId": {
                "anyOf": [
                  {
                    "type": "string",
                    "description": "The numeric property ID extracted from the property resource."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "parent": {
                "anyOf": [
                  {
                    "type": "string",
                    "description": "The parent account or roll-up property resource name."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "displayName": {
                "anyOf": [
                  {
                    "type": "string",
                    "description": "The property display name."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "propertyType": {
                "anyOf": [
                  {
                    "type": "string",
                    "description": "The Google Analytics property type enum value."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "industryCategory": {
                "anyOf": [
                  {
                    "type": "string",
                    "description": "The property industry category enum value."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "timeZone": {
                "anyOf": [
                  {
                    "type": "string",
                    "description": "The property reporting time zone."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "currencyCode": {
                "anyOf": [
                  {
                    "type": "string",
                    "description": "The property currency code."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "raw": {
                "type": "object",
                "properties": {},
                "additionalProperties": true,
                "description": "The raw Google Analytics object."
              }
            },
            "additionalProperties": false,
            "required": [
              "name",
              "propertyId",
              "parent",
              "displayName",
              "propertyType",
              "industryCategory",
              "timeZone",
              "currencyCode",
              "raw"
            ],
            "description": "A normalized Google Analytics property."
          }
        },
        "additionalProperties": false,
        "required": [
          "property"
        ],
        "description": "The updated Google Analytics property response."
      }
    }
  ]
}
