diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md
new file mode 100644
index 0000000..bbcbbe7
--- /dev/null
+++ b/.github/ISSUE_TEMPLATE/feature_request.md
@@ -0,0 +1,20 @@
+---
+name: Feature request
+about: Suggest an idea for this project
+title: ''
+labels: ''
+assignees: ''
+
+---
+
+**Is your feature request related to a problem? Please describe.**
+A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
+
+**Describe the solution you'd like**
+A clear and concise description of what you want to happen.
+
+**Describe alternatives you've considered**
+A clear and concise description of any alternative solutions or features you've considered.
+
+**Additional context**
+Add any other context or screenshots about the feature request here.
diff --git a/.github/workflows/git@github.com:MalesForFemalesLLC22/upgraded-goggles.git b/.github/workflows/git@github.com:MalesForFemalesLLC22/upgraded-goggles.git
new file mode 100644
index 0000000..4ec5603
--- /dev/null
+++ b/.github/workflows/git@github.com:MalesForFemalesLLC22/upgraded-goggles.git
@@ -0,0 +1 @@
+git@github.com:MalesForFemalesLLC22/upgraded-goggles.git
diff --git a/696-IT-25-O053 Exhibit J6 for A-004.xlsx b/696-IT-25-O053 Exhibit J6 for A-004.xlsx
new file mode 100644
index 0000000..25f9ae0
Binary files /dev/null and b/696-IT-25-O053 Exhibit J6 for A-004.xlsx differ
diff --git a/838a11ffed94b79e_1440.png b/838a11ffed94b79e_1440.png
new file mode 100644
index 0000000..8b053ff
Binary files /dev/null and b/838a11ffed94b79e_1440.png differ
diff --git a/Domain setup.pdf b/Domain setup.pdf
new file mode 100644
index 0000000..995fef0
Binary files /dev/null and b/Domain setup.pdf differ
diff --git a/GoogleService-Info.plist b/GoogleService-Info.plist
new file mode 100644
index 0000000..ab740a7
--- /dev/null
+++ b/GoogleService-Info.plist
@@ -0,0 +1,30 @@
+
+
+
+
+ API_KEY
+ AIzaSyAjv4EymCqBcwbDUZl3sK9fVUDX_yYLfcs
+ GCM_SENDER_ID
+ 377781916585
+ PLIST_VERSION
+ 1
+ BUNDLE_ID
+ dev-2wjqx8xcv4reuf04.us.auth.com
+ PROJECT_ID
+ sample-firebase-ai-app-f68e5
+ STORAGE_BUCKET
+ sample-firebase-ai-app-f68e5.firebasestorage.app
+ IS_ADS_ENABLED
+
+ IS_ANALYTICS_ENABLED
+
+ IS_APPINVITE_ENABLED
+
+ IS_GCM_ENABLED
+
+ IS_SIGNIN_ENABLED
+
+ GOOGLE_APP_ID
+ 1:377781916585:ios:e974061cf0240f3e3c2ab8
+
+
\ No newline at end of file
diff --git a/Itemized_tax_transactions_USTX_2025-10-03_to_2026-01-01_America-Denver.csv b/Itemized_tax_transactions_USTX_2025-10-03_to_2026-01-01_America-Denver.csv
new file mode 100644
index 0000000..7526152
--- /dev/null
+++ b/Itemized_tax_transactions_USTX_2025-10-03_to_2026-01-01_America-Denver.csv
@@ -0,0 +1 @@
+"id","tax_transaction_id","type","currency","transaction_date","tax_date","line_item_id","subtotal","total","tax_behavior","tax_code","jurisdiction_name","jurisdiction_level","country_code","taxability","quantity_decimal","taxable_amount","non_taxable_amount","tax_amount","filing_currency","filing_exchange_rate","filing_total","filing_non_taxable_amount","filing_taxable_amount","filing_tax_amount"
diff --git a/Module 4 Password Security Breach Analysis Lab.pdf b/Module 4 Password Security Breach Analysis Lab.pdf
new file mode 100644
index 0000000..8f07cc4
Binary files /dev/null and b/Module 4 Password Security Breach Analysis Lab.pdf differ
diff --git a/README.md b/README.md
index ba8e01c..c9430a5 100644
--- a/README.md
+++ b/README.md
@@ -1,6 +1,34 @@
+# Google Cloud Platform Go Samples
-# Haikus for Codespaces
+[![Kokoro Build Status][kokoro_badge]][kokoro_link]
-This is a quick node project template for demoing Codespaces. It is based on the [Azure node sample](https://github.com/Azure-Samples/nodejs-docs-hello-world). It's great!!!
+This repository holds sample code written in Go that demonstrates the Google
+Cloud Platform.
-Point your browser to [Quickstart for GitHub Codespaces](https://docs.github.com/en/codespaces/getting-started/quickstart) for a tour of using Codespaces with this repo.
+Some samples have accompanying guides on
+[cloud.google.com](https://cloud.google.com). See respective README files for
+details.
+
+## Google Cloud Samples
+
+To browse ready to use code samples check [Google Cloud Samples](https://cloud.google.com/docs/samples?l=go).
+
+## Depending on samples
+
+**Copy any code you need from this repository into your own project.**
+
+Warning: Do not depend directly on the samples in this repo. Breaking changes
+may be made at any time without warning.
+
+## Contributing changes
+
+Interested in contributing a new sample? Please open an issue describing the intended sample. Additionally, bug fixes are welcome, either as pull requests or as GitHub issues.
+
+See [CONTRIBUTING.md](CONTRIBUTING.md) for details on how to contribute.
+
+## Licensing
+
+Code in this repository is licensed under the Apache 2.0. See [LICENSE](LICENSE).
+
+[kokoro_badge]: https://storage.googleapis.com/cloud-devrel-kokoro-resources/go/golang-samples/system_tests-ubuntu.png
+[kokoro_link]: https://fusion.corp.google.com/projectanalysis/current/KOKORO/prod%3Acloud-devrel%2Fgo%2Fgolang-samples%2Fsystem_tests
diff --git a/Social Security Affirmation.pdf.pdf b/Social Security Affirmation.pdf.pdf
new file mode 100644
index 0000000..6fd75c4
Binary files /dev/null and b/Social Security Affirmation.pdf.pdf differ
diff --git a/api-response.json b/api-response.json
new file mode 100644
index 0000000..7e9bc97
--- /dev/null
+++ b/api-response.json
@@ -0,0 +1 @@
+{"status":"0","message":"NOTOK","result":"Missing chainid parameter (required for v2 api), please see https://api.etherscan.io/v2/chainlist for the list of supported chainids"}
\ No newline at end of file
diff --git a/balance_history.csv b/balance_history.csv
new file mode 100644
index 0000000..2cac6f2
--- /dev/null
+++ b/balance_history.csv
@@ -0,0 +1,4 @@
+id,Type,Source,Amount,Fee,Destination Platform Fee,Destination Platform Fee Currency,Net,Currency,Created (UTC),Available On (UTC),Description,Customer Facing Amount,Customer Facing Currency,Transfer,Transfer Date (UTC),Transfer Group
+txn_1SLCHhCV3aMWmAX0U3dwAnB0,payout_failure,po_1SKq4QCV3aMWmAX0jXEQ8y6C,1.00,0.00,,,1.00,usd,2025-10-23 00:21,2025-10-23 00:21,REFUND FOR PAYOUT (STRIPE PAYOUT),,,,,
+txn_1SKq4QCV3aMWmAX0R6oPx1c1,payout,po_1SKq4QCV3aMWmAX0jXEQ8y6C,-1.00,0.00,,,-1.00,usd,2025-10-22 00:38,2025-10-22 00:38,STRIPE PAYOUT,,,po_1SKq4QCV3aMWmAX0jXEQ8y6C,2025-10-22 00:00,
+txn_1SJ7v1CV3aMWmAX0gTiPawVE,payment,py_1SJ7v1CV3aMWmAX0h9g49Nos,1.00,0.00,,,1.00,usd,2025-10-17 07:17,2025-10-17 07:17,,1.00,usd,po_1SKq4QCV3aMWmAX0jXEQ8y6C,2025-10-22 00:00,
diff --git a/domain-connect.txt b/domain-connect.txt
new file mode 100644
index 0000000..e69de29
diff --git a/feed.rss b/feed.rss
new file mode 100644
index 0000000..ece9203
--- /dev/null
+++ b/feed.rss
@@ -0,0 +1,347 @@
+
+
+
+ Archive: 2025 - GitHub Changelog
+
+ https://github.blog/changelog/
+ Updates, ideas, and inspiration from GitHub to help developers build and design software.
+ Mon, 22 Dec 2025 21:49:58 +0000
+ en-US
+
+ hourly
+
+ 1
+ https://wordpress.org/?v=6.9
+
+
+ https://github.blog/wp-content/uploads/2019/01/cropped-github-favicon-512.png?fit=32%2C32
+ Archive: 2025 - GitHub Changelog
+ https://github.blog/changelog/
+ 32
+ 32
+
+153214340
+ Improved performance for GitHub Actions workflows page
+ https://github.blog/changelog/2025-12-22-improved-performance-for-github-actions-workflows-page
+
+
+ Mon, 22 Dec 2025 21:40:47 +0000
+ https://github.blog/changelog/2025-12-22-improved-performance-for-github-actions-workflows-page
+
+ GitHub Actions workflow pages now successfully render workflows with more than 300 jobs. We’ve implemented lazy loading to smoothly handle large workflows. In addition, you can now filter jobs based…
GitHub Actions workflow pages now successfully render workflows with more than 300 jobs. We’ve implemented lazy loading to smoothly handle large workflows.
+
In addition, you can now filter jobs based on status. This means that you can view only failed jobs or jobs in progress from the workflow pages.
+
+
These improvements help teams view their workflow runs, whether they’re running complex workflows with extensive job matrices or large monorepo setups.
+]]>
+
+
+
+
+
+93056
+
+ Control who can request apps for your organization now in public preview
+ https://github.blog/changelog/2025-12-22-control-who-can-request-apps-for-your-organization
+
+
+ Mon, 22 Dec 2025 15:02:08 +0000
+ https://github.blog/changelog/2025-12-22-control-who-can-request-apps-for-your-organization
+
+ Organizations now have more granular control over who can request GitHub Apps and OAuth apps. This enhancement helps you implement stricter governance policies while maintaining flexibility for your security posture.…
+
Organizations now have more granular control over who can request GitHub Apps and OAuth apps. This enhancement helps you implement stricter governance policies while maintaining flexibility for your security posture. This capability is now in public preview.
Previously, organizations could only disable app access requests from outside collaborators. Now, you can choose from three graduated control options:
+
+
Members and outside collaborators: Members and outside collaborators can request apps (existing default behavior).
+
Members only: Block outside collaborators from requesting apps while permitting organization members to do so.
+
Disable app access requests: Prevent both members and outside collaborators from requesting any apps.
+
+
+
To configure this change, navigate to your organization’s settings, select Member Privileges, and choose your preferred option under App access requests. This new control mechanism ensures all third-party apps go through proper approval channels and security reviews before being considered for installation.
+]]>
+
+
+
+
+
+93046
+
+ You can now require reviews before closing Dependabot alerts with delegated alert dismissal
+ https://github.blog/changelog/2025-12-19-you-can-now-require-reviews-before-closing-dependabot-alerts-with-delegated-alert-dismissal
+
+
+ Fri, 19 Dec 2025 20:15:36 +0000
+ https://github.blog/changelog/2025-12-19-you-can-now-require-reviews-before-closing-dependabot-alerts-with-delegated-alert-dismissal
+
+ Delegated alert dismissal allows you to require a review process before Dependabot alerts are closed. This feature is available to GitHub Code Security customers and can be used in both…
+
Delegated alert dismissal allows you to require a review process before Dependabot alerts are closed. This feature is available to GitHub Code Security customers and can be used in both the UI and API.
+
This helps you better manage security risk, as well as meet audit and compliance requirements. Delegated alert dismissal brings the same governance controls available for code scanning and Secret Scanning to Dependabot alerts.
+
This feature helps organizations:
+
+
Increase accountability across development teams when addressing vulnerability alerts.
+
Prevent insecure activity such as accidental or unauthorized dismissals.
+
Manage alerts at scale by making alert activity easier to govern and audit.
+
+
Delegated alert dismissal for Dependabot is available for code security customers now on github.com and in GitHub Enterprise Server 3.21.
+]]>
+
+
+
+
+
+93007
+
+ Copilot memory early access for Pro and Pro+
+ https://github.blog/changelog/2025-12-19-copilot-memory-early-access-for-pro-and-pro
+
+
+ Fri, 19 Dec 2025 17:05:54 +0000
+ https://github.blog/changelog/2025-12-19-copilot-memory-early-access-for-pro-and-pro
+
+ Copilot memory is now available in public preview for GitHub Copilot Pro and Pro+ users, with support in Copilot coding agent and Copilot code review. Copilot memory Copilot memory enables…
+
Copilot memory enables agents to learn from your codebase. Over time, Copilot builds a repository-specific memory by capturing key insights about your codebase and using them to improve how agents assist you. This shared context helps Copilot perform better across coding and code review workflows.
We’re continuing to evolve Copilot memory and plan to bring it to more plans in the future. To share feedback or join the discussion, visit the GitHub Community.
CodeQL is the static analysis engine behind GitHub’s Code Scanning and Code Quality products, which find and remediate issues relating to code quality and security. We’ve recently released CodeQL 2.23.7 and 2.23.8. These releases bring new security queries for Go and Rust, improved overall analysis accuracy, and framework updates across several languages.
Added a new query, go/cookie-secure-not-set, to detect cookies without the Secure flag set, potentially leading to sensitive information exposure.
+
Added a new query, go/weak-crypto-algorithm, to detect the use of broken or weak cryptographic algorithms.
+
Added a new query, go/weak-sensitive-data-hashing, to detect the use of broken or weak cryptographic hash algorithms on sensitive data.
+
The go/cookie-http-only-not-set query has been promoted from the experimental query pack, to identify cookies that do not use the HttpOnly flag, potentially leading to cross-site scripting vulnerabilities. This query was originally contributed by GitHub user @edvraa.
+
+
Rust
+
+
Added a new query, rust/xss, to detect cross-site scripting security vulnerabilities.
+
Added a new query, rust/disabled-certificate-check, to detect disabled TLS certificate checks.
+
Added three example queries (rust/examples/empty-if, rust/examples/simple-sql-injection, and rust/examples/simple-constant-password) to help you learn to write CodeQL queries for Rust.
Java analysis no longer forces --source and --target compiler flags for Maven builds. Maven will now use the project’s own compiler configuration, improving build compatibility.
+
Operations that extract only a fixed-length prefix or suffix of a string (like substring in Java or take in Kotlin), when limited to 7 characters or fewer, will now be treated as sanitizers for the java/sensitive-log query, given the contents of the log message will be truncated.
+
+
JavaScript/TypeScript
+
+
Fixed a bug in the Next.js model that caused the analysis to miss server-side taint sources in the app/pages folder.
+
+
Rust
+
+
The rust/access-invalid-pointer query has been improved with new flow sources and barriers.
+
+
C#
+
+
Compilation errors are now included in the debug log when using buildless analysis (which is used by default).
+
Added a new extractor option to specify a custom directory for dependency downloads in buildless mode. Use -O buildless_dependency_dir=<path> to configure the target directory.
+
+
Python
+
+
Fixed a bug in the Python extractor’s import handling where failing to find an import in find_module would cause a KeyError to be raised. This is a contribution from GitHub user @akoeplinger to the open-source CodeQL repository.
+
+
+
For a full list of changes, refer to the complete changelogs for versions 2.23.7 and 2.23.8. Every new version of CodeQL is automatically deployed to users of GitHub Code Scanning and GitHub Code Quality on GitHub.com. The features and fixes introduced in these releases will be included in GitHub Enterprise Server (GHES) version 3.20. If you use an older version of GHES, you can manually upgrade your CodeQL version.
+]]>
+
+
+
+
+
+92989
+
+ Assigning GitHub Copilot to an issue now adds you as an assignee
+ https://github.blog/changelog/2025-12-18-assigning-github-copilot-to-an-issue-now-adds-you-as-an-assignee
+
+
+ Thu, 18 Dec 2025 17:46:17 +0000
+ https://github.blog/changelog/2025-12-18-assigning-github-copilot-to-an-issue-now-adds-you-as-an-assignee
+
+ When you assign an issue to Copilot, you’ll now automatically be added as an assignee yourself. This makes it easier to track your work using filters like assignee:@me and understand…
+
When you assign an issue to Copilot, you’ll now automatically be added as an assignee yourself. This makes it easier to track your work using filters like assignee:@me and understand who is working on an issue.
+]]>
+
+
+
+
+
+
+92968
+
+ GitHub Advanced Security trials now available for more GitHub Enterprise customers
+ https://github.blog/changelog/2025-12-18-github-advanced-security-trials-now-available-for-more-github-enterprise-customers
+
+
+ Thu, 18 Dec 2025 17:36:42 +0000
+ https://github.blog/changelog/2025-12-18-github-advanced-security-trials-now-available-for-more-github-enterprise-customers
+
+ More GitHub Enterprise customers can now start a self-serve GitHub Advanced Security trial to evaluate GitHub Code Security and GitHub Secret Protection. Enterprises that have previously completed a GitHub Advanced…
+
More GitHub Enterprise customers can now start a self-serve GitHub Advanced Security trial to evaluate GitHub Code Security and GitHub Secret Protection. Enterprises that have previously completed a GitHub Advanced Security trial and did not purchase Advanced Security are now eligible for another trial after 180 days.
+
To set up a GitHub Advanced Security trial, visit the Enterprise “Billing and licensing” page. Visit our docs to learn more about self-serve GitHub Advanced Security trials.
+]]>
+
+
+
+
+
+92963
+
+ GitHub Copilot now supports Agent Skills
+ https://github.blog/changelog/2025-12-18-github-copilot-now-supports-agent-skills
+
+
+ Thu, 18 Dec 2025 17:26:18 +0000
+ https://github.blog/changelog/2025-12-18-github-copilot-now-supports-agent-skills
+
+ You can now create Agent Skills to teach Copilot how to perform specialized tasks in a specific, repeatable way. Agent Skills are folders containing instructions, scripts, and resources that Copilot…
+
You can now create Agent Skills to teach Copilot how to perform specialized tasks in a specific, repeatable way.
+
Agent Skills are folders containing instructions, scripts, and resources that Copilot automatically loads when relevant to your prompt.
+
They work across Copilot coding agent, Copilot CLI, and agent mode in Visual Studio Code Insiders. Skills support is coming to the stable version of VS Code in early January.
+
When Copilot determines a skill is relevant to your task, it loads the instructions and follows them—including any resources you’ve included in the skill directory.
+
You can write your own skills, or use skills shared by others, such as those in the anthropics/skills repository or GitHub’s community created github/awesome-copilot collection.
+
If you’ve already set up skills for Claude Code in the .claude/skills directory in your repository, Copilot will pick them up automatically.
+]]>
+
+
+
+
+
+92955
+
+ Claude Opus 4.5 is now generally available in GitHub Copilot
+ https://github.blog/changelog/2025-12-18-claude-opus-4-5-is-now-generally-available-in-github-copilot
+
+
+ Thu, 18 Dec 2025 17:18:04 +0000
+ https://github.blog/changelog/2025-12-18-claude-opus-4-5-is-now-generally-available-in-github-copilot
+
+ Claude Opus 4.5 is generally available to Copilot Enterprise, Copilot Business, Copilot Pro, and Copilot Pro+. You’ll now be able to access the model in GitHub Copilot Chat on github.com,…
+
Claude Opus 4.5 is generally available to Copilot Enterprise, Copilot Business, Copilot Pro, and Copilot Pro+.
+
You’ll now be able to access the model in GitHub Copilot Chat on github.com, GitHub Mobile, Visual Studio Code, Visual Studio, JetBrains IDEs, Xcode, and Eclipse through the chat model picker (agent, ask, and edit modes). If you do not yet have access, please check again later.
Copilot Business and Copilot Enterprise administrators must opt in by enabling the new Claude Opus 4.5 policy in Copilot settings. Once enabled, users in that organization will see the model in the model picker across all supported IDEs.
+
For individual plans, enable the model by selecting it in the model picker in any supported IDE and confirming the one-time prompt.
+]]>
+
+
+
+
+
+92954
+
+ GitHub Enterprise Cloud data residency in Japan is generally available
+ https://github.blog/changelog/2025-12-18-github-enterprise-cloud-data-residency-in-japan-is-generally-available
+
+
+ Thu, 18 Dec 2025 17:00:58 +0000
+ https://github.blog/changelog/2025-12-17-github-enterprise-cloud-data-residency-in-japan-is-generally-available
+
+ GitHub Enterprise Cloud with data residency in Japan is now generally available, allowing GitHub Enterprise Cloud customers greater flexibility in choosing where their code and repository data are stored. This…
+
GitHub Enterprise Cloud with data residency in Japan is now generally available, allowing GitHub Enterprise Cloud customers greater flexibility in choosing where their code and repository data are stored. This ensures enterprise customers have a single, global DevOps platform for their teams, while providing the ability to maintain their code close to home.
+
With this release, teams can enhance productivity and collaboration while gaining more control over their code to meet their data residency preferences. This will help customers in Japan or with specific requirements in the region meet their compliance, regulatory, or data residency needs.
GitHub Enterprise Cloud is a multi-tenant, enterprise SaaS deployment option of GitHub Enterprise powered by Microsoft Azure. It provides a single, end-to-end DevOps platform with a suite of tools and features that integrate with the GitHub ecosystem, allowing organizations to build, secure, and ship software at scale.
+
With the introduction of data residency in Japan, customers now have the flexibility to choose where their code is stored. GitHub Enterprise Cloud with data residency is powered by Microsoft Azure’s globally distributed data center infrastructure, providing high availability, security, and performance wherever your teams are located.
GitHub Enterprise Cloud with data residency in Japan is available for customers who need their code and repository data to reside in that region. Support for additional regions is currently being planned and will be announced in future changelog updates.
\ No newline at end of file
diff --git a/malesforfemalesllc.live (1).txt b/malesforfemalesllc.live (1).txt
new file mode 100644
index 0000000..9f573e0
--- /dev/null
+++ b/malesforfemalesllc.live (1).txt
@@ -0,0 +1,51 @@
+;;
+;; Domain: malesforfemalesllc.live.
+;; Exported: 2025-12-28 22:02:11
+;;
+;; This file is intended for use for informational and archival
+;; purposes ONLY and MUST be edited before use on a production
+;; DNS server. In particular, you must:
+;; -- update the SOA record with the correct authoritative name server
+;; -- update the SOA record with the contact e-mail address information
+;; -- update the NS record(s) with the authoritative name servers for this domain.
+;;
+;; For further information, please consult the BIND documentation
+;; located on the following website:
+;;
+;; http://www.isc.org/
+;;
+;; And RFC 1035:
+;;
+;; http://www.ietf.org/rfc/rfc1035.txt
+;;
+;; Please note that we do NOT offer technical support for any use
+;; of this zone data, the BIND name server, or any other third-party
+;; DNS software.
+;;
+;; Use at your own risk.
+;; SOA Record
+malesforfemalesllc.live 3600 IN SOA anastasia.ns.cloudflare.com. dns.cloudflare.com. 2051862593 10000 2400 604800 3600
+
+;; NS Records
+malesforfemalesllc.live. 86400 IN NS anastasia.ns.cloudflare.com.
+malesforfemalesllc.live. 86400 IN NS josh.ns.cloudflare.com.
+
+;; MX Records
+malesforfemalesllc.live. 1 IN MX 73 route3.mx.cloudflare.net.
+malesforfemalesllc.live. 1 IN MX 73 route2.mx.cloudflare.net.
+malesforfemalesllc.live. 1 IN MX 84 route1.mx.cloudflare.net.
+mffllc.malesforfemalesllc.live. 1 IN MX 73 route3.mx.cloudflare.net.
+mffllc.malesforfemalesllc.live. 1 IN MX 73 route2.mx.cloudflare.net.
+mffllc.malesforfemalesllc.live. 1 IN MX 84 route1.mx.cloudflare.net.
+
+;; SRV Records
+josh.ns.cloudflare.com.malesforfemalesllc.live. 1 IN SRV 24 0 8080 anastasia.ns.cloudflare.com.
+
+;; TXT Records
+cf2024-1._domainkey.malesforfemalesllc.live. 1 IN TXT "v=DKIM1; h=sha256; k=rsa; p=MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAiweykoi+o48IOGuP7GR3X0MOExCUDY/BCRHoWBnh3rChl7WhdyCxW3jgq1daEjPPqoi7sJvdg5hEQVsgVRQP4DcnQDVjGMbASQtrY4WmB1VebF+RPJB2ECPsEDTpeiI5ZyUAwJaVX7r6bznU67g7LvFq35yIo4sdlmtZGV+i0H4cpYH9+3JJ78k" "m4KXwaf9xUJCWF6nxeD+qG6Fyruw1Qlbds2r85U9dkNDVAS3gioCvELryh1TxKGiVTkg4wqHTyHfWsp7KD3WQHYJn0RyfJJu6YEmL77zonn7p2SRMvTMP3ZEXibnC9gz3nnhR6wcYL8Q7zXypKTMD58bTixDSJwIDAQAB"
+_dmarc.malesforfemalesllc.live. 1 IN TXT "v=DMARC1; p=reject; sp=reject; adkim=s; aspf=s; rua=mailto:d6ba181f4ebe4254822c10a943397a45@dmarc-reports.cloudflare.net;"
+*._domainkey.malesforfemalesllc.live. 1 IN TXT "v=DKIM1; p="
+_gh-malesforfemalesllconline-e.malesforfemalesllc.live. 1 IN TXT "79f64af799"
+_github-pages-challenge-madib036.malesforfemalesllc.live. 1 IN TXT "b35c7f2978694c85b3ea34235709c9"
+malesforfemalesllc.live. 1 IN TXT "v=spf1 include:_spf.mx.cloudflare.net ~all"
+malesforfemalesllc.live. 1 IN TXT "79f64af799"
diff --git a/malesforfemalesllc.live.txt b/malesforfemalesllc.live.txt
new file mode 100644
index 0000000..bbfefd8
--- /dev/null
+++ b/malesforfemalesllc.live.txt
@@ -0,0 +1,48 @@
+;;
+;; Domain: malesforfemalesllc.live.
+;; Exported: 2025-12-27 15:28:46
+;;
+;; This file is intended for use for informational and archival
+;; purposes ONLY and MUST be edited before use on a production
+;; DNS server. In particular, you must:
+;; -- update the SOA record with the correct authoritative name server
+;; -- update the SOA record with the contact e-mail address information
+;; -- update the NS record(s) with the authoritative name servers for this domain.
+;;
+;; For further information, please consult the BIND documentation
+;; located on the following website:
+;;
+;; http://www.isc.org/
+;;
+;; And RFC 1035:
+;;
+;; http://www.ietf.org/rfc/rfc1035.txt
+;;
+;; Please note that we do NOT offer technical support for any use
+;; of this zone data, the BIND name server, or any other third-party
+;; DNS software.
+;;
+;; Use at your own risk.
+;; SOA Record
+malesforfemalesllc.live 3600 IN SOA anastasia.ns.cloudflare.com. dns.cloudflare.com. 2051851592 10000 2400 604800 3600
+
+;; NS Records
+malesforfemalesllc.live. 86400 IN NS anastasia.ns.cloudflare.com.
+malesforfemalesllc.live. 86400 IN NS josh.ns.cloudflare.com.
+
+;; MX Records
+malesforfemalesllc.live. 1 IN MX 73 route3.mx.cloudflare.net.
+malesforfemalesllc.live. 1 IN MX 73 route2.mx.cloudflare.net.
+malesforfemalesllc.live. 1 IN MX 84 route1.mx.cloudflare.net.
+mffllc.malesforfemalesllc.live. 1 IN MX 73 route3.mx.cloudflare.net.
+mffllc.malesforfemalesllc.live. 1 IN MX 73 route2.mx.cloudflare.net.
+mffllc.malesforfemalesllc.live. 1 IN MX 84 route1.mx.cloudflare.net.
+
+;; TXT Records
+cf2024-1._domainkey.malesforfemalesllc.live. 1 IN TXT "v=DKIM1; h=sha256; k=rsa; p=MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAiweykoi+o48IOGuP7GR3X0MOExCUDY/BCRHoWBnh3rChl7WhdyCxW3jgq1daEjPPqoi7sJvdg5hEQVsgVRQP4DcnQDVjGMbASQtrY4WmB1VebF+RPJB2ECPsEDTpeiI5ZyUAwJaVX7r6bznU67g7LvFq35yIo4sdlmtZGV+i0H4cpYH9+3JJ78k" "m4KXwaf9xUJCWF6nxeD+qG6Fyruw1Qlbds2r85U9dkNDVAS3gioCvELryh1TxKGiVTkg4wqHTyHfWsp7KD3WQHYJn0RyfJJu6YEmL77zonn7p2SRMvTMP3ZEXibnC9gz3nnhR6wcYL8Q7zXypKTMD58bTixDSJwIDAQAB"
+_dmarc.malesforfemalesllc.live. 1 IN TXT "v=DMARC1; p=reject; sp=reject; adkim=s; aspf=s; rua=mailto:d6ba181f4ebe4254822c10a943397a45@dmarc-reports.cloudflare.net;"
+*._domainkey.malesforfemalesllc.live. 1 IN TXT "v=DKIM1; p="
+_gh-malesforfemalesllconline-e.malesforfemalesllc.live. 1 IN TXT "79f64af799"
+malesforfemalesllc.live. 1 IN TXT "v=spf1 include:_spf.mx.cloudflare.net ~all"
+malesforfemalesllc.live. 1 IN TXT "79f64af799"
+mffllc.malesforfemalesllc.live. 1 IN TXT "v=spf1 include:_spf.mx.cloudflare.net ~all"
diff --git a/metadata.txt b/metadata.txt
new file mode 100644
index 0000000..57e780d
--- /dev/null
+++ b/metadata.txt
@@ -0,0 +1 @@
+{"content_type":[{"id":"a3e78a9c-6477-49de-8f5a-54350a20d81e","displayName":"Important Date","value":"Event","sortOrder":1,"childType":[{"id":"46fb7f54-f1f6-409b-98d8-1300a46fa7de","displayName":"Pre Administration","sortOrder":1},{"id":"59931b69-4c22-4b0c-9e9c-168acd006121","displayName":"STAAR ","sortOrder":2},{"id":"4c29fa14-d892-4b4f-acb4-5fb8add34cff","displayName":"STAAR","sortOrder":3},{"id":"03ec6332-492f-4c60-8183-8e9ad0b98ed6","displayName":"STAAR Alternate 2","sortOrder":4},{"id":"adb61981-baf2-4e02-8e9f-2c794835511c","displayName":"STAAR Interim","sortOrder":5},{"id":"fe3961f8-9785-419a-86ce-a54d2714f4fd","displayName":"TELPAS","sortOrder":6},{"id":"cd5ce9a1-95f9-4589-9741-d6168354e95f","displayName":"TELPAS Alternate","sortOrder":7},{"id":"a2730a5f-eec1-4d02-bfc9-3021975ad63f","displayName":"TFAR","sortOrder":8},{"id":"09a3ee14-7d2d-49d1-88fe-a6f468736bea","displayName":"type","sortOrder":9},{"id":"85c1a0a0-df57-4cb1-a753-0a1dd697ae25","displayName":"General","sortOrder":99}]},{"id":"84e7b84e-d3b0-478a-abac-eb1aa497ba0f","displayName":"Resource Item","value":"ResourceItem","sortOrder":2,"childType":[{"id":"58b0ff3a-cd75-4bf7-b98b-52a53943b775","displayName":"Brochure","sortOrder":10},{"id":"4af082b5-d470-4656-b710-3c604815fbe7","displayName":"Communication","sortOrder":12},{"id":"54673287-2c58-47f8-922b-433c1887c50e","displayName":"DCCR","sortOrder":14},{"id":"d02d9984-059e-4c86-9e6d-e5bed4de0ea4","displayName":"Form","sortOrder":16},{"id":"d5fa5de2-239b-4895-b7a8-b5acc0ce96d5","displayName":"Guide","sortOrder":18},{"id":"14122661-f42a-47bd-9d54-4a566d2d5c25","displayName":"Informational","sortOrder":20},{"id":"53dde26f-56f1-49a1-8bf6-3ba57137295b","displayName":"Training","sortOrder":22},{"id":"c93cd5a2-c0ca-4286-8f3c-42c3c79133cf","displayName":"Video","sortOrder":24},{"id":"1ca27800-958c-40a7-b9a7-5bc05681c405","displayName":"Webpage","sortOrder":26},{"id":"9d4d4926-66fb-4d34-ba20-99b9e8bfa1cd","displayName":"General","sortOrder":99}]},{"id":"85c6c5cc-71b6-4f56-8b6b-002eaee783b5","displayName":"Resource List","value":"ResourceList","sortOrder":3,"childType":[{"id":"cb8e79c2-14b7-4c32-ae9a-fab7219d1aee","displayName":"Brochure","sortOrder":11},{"id":"e64911c7-3dd2-4f6a-909b-99935d62277f","displayName":"Communication","sortOrder":13},{"id":"c808dfa0-8ee1-4824-9f96-e6fdcda45b1a","displayName":"DCCR","sortOrder":15},{"id":"91b7118a-efcc-4eda-bf6c-bad6e42c3256","displayName":"Form","sortOrder":17},{"id":"4a662099-42df-4cc8-a3a1-297a2d512a62","displayName":"Guide","sortOrder":19},{"id":"9d1f4e0a-0c10-4123-a8a1-e2b40755e41e","displayName":"Informational","sortOrder":21},{"id":"da023eb3-4523-4022-bab5-e6c76062ca96","displayName":"Training","sortOrder":23},{"id":"da10a275-dc61-43dd-b1bb-8702b33f823a","displayName":"Video","sortOrder":25},{"id":"fe8194b9-4640-42b7-ae50-6d948a01814a","displayName":"Webpage","sortOrder":27},{"id":"1372006d-ff8c-4787-bb21-6af00f5c6cad","displayName":"General","sortOrder":99}]},{"id":"7a0a6c58-aa13-4db5-9420-ecfac8df13f9","displayName":"Announcement","value":"Announcement","sortOrder":9999,"childType":[{"id":"44a32453-2d25-4a8a-b7cc-fa64b75d93bf","displayName":"General","sortOrder":99}]}],"tag_category":[{"id":"341d9219-9e76-4a09-9d61-78f54c3d9733","displayName":"Assessment","sortOrder":1,"childType":[{"id":"2b338cc9-8a24-4132-90eb-fdebdb317f5f","displayName":"STAAR","sortOrder":1},{"id":"6bbee8fa-5e41-4325-872b-c390de62ca69","displayName":"STAAR Alternate 2","sortOrder":2},{"id":"b967663b-3caa-4440-9ad8-da3bd67e4bab","displayName":"STAAR Interim","sortOrder":3},{"id":"c63dc13e-40cd-44e9-9565-83f412efe1d6","displayName":"TELPAS","sortOrder":4},{"id":"90635269-ae72-4a07-8876-86a7ca312bb2","displayName":"TELPAS Alternate","sortOrder":5}]},{"id":"73c2b00b-d393-4cdd-89a7-692c88aa4202","displayName":"Language","sortOrder":2,"childType":[{"id":"8c3ada1b-e903-47ee-913a-9865d6cd0063","displayName":"English","sortOrder":1},{"id":"35b9fcb2-9cc4-4447-8b2d-f1748a951331","displayName":"Spanish","sortOrder":2},{"id":"f42e636a-199c-48ce-ad98-cb53267a83d6","displayName":"Other","sortOrder":3}]},{"id":"b07de5ab-8f1a-49e4-a09c-8e7279744e05","displayName":"Topic","sortOrder":4,"childType":[{"id":"8cb089cc-71de-4213-a6d2-cc29ecf86e80","displayName":"Accessibility","sortOrder":16},{"id":"f099ea85-47ca-48e5-93a1-47dc5c6f16bd","displayName":"Calendar","sortOrder":17},{"id":"02fc5806-6b27-46f6-aa5b-8cde6581f1f2","displayName":"Reporting Test Scores","sortOrder":18},{"id":"b44fe9b5-07e8-412d-95ad-15056641b3a4","displayName":"Student Registration","sortOrder":19},{"id":"85103577-b811-433d-856d-b71fdd6eb017","displayName":"Technology","sortOrder":20},{"id":"e5d54527-230f-4bbf-a435-51fd541390a9","displayName":"Test Administration","sortOrder":21},{"id":"72f8042d-58b3-44c2-a937-cc991486f0ce","displayName":"Training","sortOrder":22}]},{"id":"1fee45af-c898-4574-81a2-a718f554be2a","displayName":"User Type","sortOrder":5,"childType":[{"id":"9b93501a-be2a-427a-91df-00e92aeb567d","displayName":"Educators","sortOrder":6},{"id":"1ca505a3-d220-4a4e-9b0b-966f803d24cb","displayName":"Students and Families","sortOrder":7},{"id":"9b11ceec-a234-47a4-8c07-7e4ba3d32a36","displayName":"Technology Coordinators","sortOrder":8},{"id":"35af9bcc-f8b4-4a2d-83cc-3d058b8eae27","displayName":"Testing Personnel","sortOrder":9}]}],"search_settings":[{"displayName":"Testing Personnel","categoryIds":["35af9bcc-f8b4-4a2d-83cc-3d058b8eae27"],"sortOrder":1},{"displayName":"Educators","categoryIds":["9b93501a-be2a-427a-91df-00e92aeb567d"],"sortOrder":2},{"displayName":"STAAR","categoryIds":["2b338cc9-8a24-4132-90eb-fdebdb317f5f"],"sortOrder":3},{"displayName":"STAAR Alternate 2","categoryIds":["6bbee8fa-5e41-4325-872b-c390de62ca69"],"sortOrder":4},{"displayName":"TELPAS","categoryIds":["c63dc13e-40cd-44e9-9565-83f412efe1d6"],"sortOrder":5},{"displayName":"TELPAS Alternate","categoryIds":["90635269-ae72-4a07-8876-86a7ca312bb2"],"sortOrder":6}]}
\ No newline at end of file
diff --git a/package-lock.json b/package-lock.json
index 7b35eab..5a02513 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -10,7 +10,7 @@
"license": "MIT",
"dependencies": {
"ejs": "^3.1.10",
- "express": "^4.21.2"
+ "express": "^4.22.1"
},
"devDependencies": {
"nodemon": "^2.0.19"
@@ -359,38 +359,39 @@
}
},
"node_modules/express": {
- "version": "4.21.2",
- "resolved": "https://registry.npmjs.org/express/-/express-4.21.2.tgz",
- "integrity": "sha512-28HqgMZAmih1Czt9ny7qr6ek2qddF4FclbMzwhCREB6OFfH+rXAnuNCwo1/wFvrtbgsQDb4kSbX9de9lFbrXnA==",
+ "version": "4.22.1",
+ "resolved": "https://registry.npmjs.org/express/-/express-4.22.1.tgz",
+ "integrity": "sha512-F2X8g9P1X7uCPZMA3MVf9wcTqlyNp7IhH5qPCI0izhaOIYXaW9L535tGA3qmjRzpH+bZczqq7hVKxTR4NWnu+g==",
+ "license": "MIT",
"dependencies": {
"accepts": "~1.3.8",
"array-flatten": "1.1.1",
- "body-parser": "1.20.3",
- "content-disposition": "0.5.4",
+ "body-parser": "~1.20.3",
+ "content-disposition": "~0.5.4",
"content-type": "~1.0.4",
- "cookie": "0.7.1",
- "cookie-signature": "1.0.6",
+ "cookie": "~0.7.1",
+ "cookie-signature": "~1.0.6",
"debug": "2.6.9",
"depd": "2.0.0",
"encodeurl": "~2.0.0",
"escape-html": "~1.0.3",
"etag": "~1.8.1",
- "finalhandler": "1.3.1",
- "fresh": "0.5.2",
- "http-errors": "2.0.0",
+ "finalhandler": "~1.3.1",
+ "fresh": "~0.5.2",
+ "http-errors": "~2.0.0",
"merge-descriptors": "1.0.3",
"methods": "~1.1.2",
- "on-finished": "2.4.1",
+ "on-finished": "~2.4.1",
"parseurl": "~1.3.3",
- "path-to-regexp": "0.1.12",
+ "path-to-regexp": "~0.1.12",
"proxy-addr": "~2.0.7",
- "qs": "6.13.0",
+ "qs": "~6.14.0",
"range-parser": "~1.2.1",
"safe-buffer": "5.2.1",
- "send": "0.19.0",
- "serve-static": "1.16.2",
+ "send": "~0.19.0",
+ "serve-static": "~1.16.2",
"setprototypeof": "1.2.0",
- "statuses": "2.0.1",
+ "statuses": "~2.0.1",
"type-is": "~1.6.18",
"utils-merge": "1.0.1",
"vary": "~1.1.2"
@@ -403,6 +404,21 @@
"url": "https://opencollective.com/express"
}
},
+ "node_modules/express/node_modules/qs": {
+ "version": "6.14.1",
+ "resolved": "https://registry.npmjs.org/qs/-/qs-6.14.1.tgz",
+ "integrity": "sha512-4EK3+xJl8Ts67nLYNwqw/dsFVnCf+qR7RgXSK9jEEm9unao3njwMDdmsdvoKBKHzxd7tCYz5e5M+SnMjdtXGQQ==",
+ "license": "BSD-3-Clause",
+ "dependencies": {
+ "side-channel": "^1.1.0"
+ },
+ "engines": {
+ "node": ">=0.6"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
"node_modules/filelist": {
"version": "1.0.4",
"resolved": "https://registry.npmjs.org/filelist/-/filelist-1.0.4.tgz",
diff --git a/package.json b/package.json
index 517391c..af4dbde 100644
--- a/package.json
+++ b/package.json
@@ -11,7 +11,7 @@
},
"dependencies": {
"ejs": "^3.1.10",
- "express": "^4.21.2"
+ "express": "^4.22.1"
},
"devDependencies": {
"nodemon": "^2.0.19"
diff --git a/response_1766428428424.json b/response_1766428428424.json
new file mode 100644
index 0000000..a159210
--- /dev/null
+++ b/response_1766428428424.json
@@ -0,0 +1,188 @@
+{
+ "user_id": 245796906,
+ "user_login": "madib036",
+ "hash": "8dcd7d655c69728eacf8e478e9e090b544555194ce9e8ee5bd82c7f25acf3f6f",
+ "display_name": "Madeline Brown",
+ "profile_url": "https://gravatar.com/madib036",
+ "avatar_url": "https://0.gravatar.com/avatar/8dcd7d655c69728eacf8e478e9e090b544555194ce9e8ee5bd82c7f25acf3f6f",
+ "avatar_alt_text": "",
+ "location": "Texas",
+ "description": "I’m a developer, creator, administrator, and contributor to Microsoft, Google, Slack, GitHub, Atlassian and Wordpress I love finding new ways to advance technology. I like to think of life like a rainbow full reflecting down on me and God guiding me along my journey. I been put here to change lives of million I still don’t know what that is just yet but I know it will happen he has shown me the light in me should share that with others",
+ "job_title": "Administrator",
+ "company": "Males For Females LLC",
+ "verified_accounts": [
+ {
+ "service_type": "wordpress",
+ "service_label": "WordPress",
+ "service_icon": "https://gravatar.com/icons/wordpress.svg",
+ "url": "https://malesforfemalesllconline.wordpress.com",
+ "is_hidden": false
+ },
+ {
+ "service_type": "linkedin",
+ "service_label": "LinkedIn",
+ "service_icon": "https://gravatar.com/icons/linkedin.svg",
+ "url": "https://www.linkedin.com/in/madeline-brown-6a9757211",
+ "is_hidden": false
+ },
+ {
+ "service_type": "facebook",
+ "service_label": "Facebook",
+ "service_icon": "https://gravatar.com/icons/facebook.svg",
+ "url": "https://www.facebook.com/app_scoped_user_id//Madeline Nicole Brown",
+ "is_hidden": false
+ },
+ {
+ "service_type": "github",
+ "service_label": "GitHub",
+ "service_icon": "https://gravatar.com/icons/github.svg",
+ "url": "https://github.com/Madib036",
+ "is_hidden": false
+ },
+ {
+ "service_type": "stackoverflow",
+ "service_label": "Stack Overflow",
+ "service_icon": "https://gravatar.com/icons/stackoverflow.svg",
+ "url": "https://stackoverflow.com/users/23137526/madeline-brown",
+ "is_hidden": false
+ },
+ {
+ "service_type": "twitter",
+ "service_label": "X",
+ "service_icon": "https://gravatar.com/icons/x.svg",
+ "url": "https://x.com/Madelineb1997",
+ "is_hidden": false
+ },
+ {
+ "service_type": "youtube",
+ "service_label": "YouTube",
+ "service_icon": "https://gravatar.com/icons/youtube.svg",
+ "url": "https://www.youtube.com/channel/UCYevJhzhhtVydi_gWkTkIvQ",
+ "is_hidden": false
+ }
+ ],
+ "pronunciation": "Made-l-ine",
+ "pronouns": "She/her/I",
+ "timezone": "America/Chicago",
+ "languages": [
+ {
+ "code": "en",
+ "name": "English",
+ "is_primary": true,
+ "order": 0
+ },
+ {
+ "code": "es",
+ "name": "Spanish",
+ "is_primary": false,
+ "order": 1
+ }
+ ],
+ "first_name": "Madeline",
+ "last_name": "Brown",
+ "is_organization": true,
+ "header_image": "url('https://1.gravatar.com/userimage/245796906/1c18f57478cc8379d1e9c19a9b675668?size=1024') repeat 50% 50% / 50%",
+ "hide_default_header_image": false,
+ "background_color": "linear-gradient(135deg,rgb(74,234,220) 0%,rgb(151,120,209) 20%,rgb(207,42,186) 40%,rgb(238,44,130) 60%,rgb(251,105,98) 80%,rgb(254,248,76) 100%)",
+ "links": [
+ {
+ "label": "Atlassian",
+ "url": "https://go.atlassian.com/compass-yml-format"
+ },
+ {
+ "label": "Facebook business",
+ "url": "https://facebook.com/malesforfemales22"
+ },
+ {
+ "label": "Profile on GitHub.com",
+ "url": "https://github.com/males-for-females-llc"
+ },
+ {
+ "label": "My personal website and administrator account",
+ "url": "https://malesforfemalesllc.atlassian.net"
+ },
+ {
+ "label": "Males For Females Software Services",
+ "url": "https://malesforfemalesllc.wordpress.com"
+ },
+ {
+ "label": "malesforfemalesllc.online",
+ "url": "https://malesforfemalesllconline.wordpress.com"
+ },
+ {
+ "label": "Gravatar",
+ "url": "https://gravatar.com/mffllc"
+ },
+ {
+ "label": "GitHub",
+ "url": "https://github.com/malesforfemalesllc"
+ },
+ {
+ "label": "Gravatar",
+ "url": "https://gravatar.com/madib036"
+ }
+ ],
+ "interests": [
+ {
+ "id": 81,
+ "name": "Coding",
+ "slug": "81-coding"
+ },
+ {
+ "id": 18475,
+ "name": "Business Growth",
+ "slug": "18475-business-growth"
+ },
+ {
+ "id": 347,
+ "name": "Technology",
+ "slug": "347-technology"
+ },
+ {
+ "id": 589,
+ "name": "Software Engineering",
+ "slug": "589-software-engineering"
+ },
+ {
+ "id": 580,
+ "name": "Data Analysis",
+ "slug": "580-data-analysis"
+ },
+ {
+ "id": 965,
+ "name": "Computers",
+ "slug": "965-computers"
+ },
+ {
+ "id": 373,
+ "name": "Web Development",
+ "slug": "373-web-development"
+ }
+ ],
+ "payments": {
+ "links": [
+ {
+ "label": "PayPal.me",
+ "url": "https://paypal.me/MalesForFemalesLLC"
+ }
+ ],
+ "crypto_wallets": []
+ },
+ "contact_info": {
+ "work_phone": "9404487858",
+ "email": "admin@malesforfemalesllc.online"
+ },
+ "gallery": [],
+ "number_verified_accounts": 7,
+ "last_profile_edit": "2025-12-20T20:31:01Z",
+ "registration_date": "2024-01-28T04:46:38Z",
+ "section_visibility": {
+ "hidden_contact_info": false,
+ "hidden_feeds": false,
+ "hidden_links": false,
+ "hidden_interests": false,
+ "hidden_wallet": false,
+ "hidden_photos": false,
+ "hidden_verified_accounts": false
+ }
+}
\ No newline at end of file
diff --git a/rest.json b/rest.json
new file mode 100644
index 0000000..9b632ce
--- /dev/null
+++ b/rest.json
@@ -0,0 +1,11760 @@
+{
+ "basePath": "",
+ "servicePath": "",
+ "version_module": true,
+ "description": "Writes log entries and manages your Cloud Logging configuration.",
+ "fullyEncodeReservedExpansion": true,
+ "resources": {
+ "entries": {
+ "methods": {
+ "write": {
+ "flatPath": "v2/entries:write",
+ "httpMethod": "POST",
+ "id": "logging.entries.write",
+ "description": "Writes log entries to Logging. This API method is the only way to send log entries to Logging. This method is used, directly or indirectly, by the Logging agent (fluentd) and all logging libraries configured to use Logging. A single request may contain log entries for a maximum of 1000 different resource names (projects, organizations, billing accounts or folders), where the resource name for a log entry is determined from its logName field.",
+ "parameters": {},
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/logging.admin",
+ "https://www.googleapis.com/auth/logging.write"
+ ],
+ "request": {
+ "$ref": "WriteLogEntriesRequest"
+ },
+ "response": {
+ "$ref": "WriteLogEntriesResponse"
+ },
+ "parameterOrder": [],
+ "path": "v2/entries:write"
+ },
+ "tail": {
+ "id": "logging.entries.tail",
+ "parameters": {},
+ "flatPath": "v2/entries:tail",
+ "request": {
+ "$ref": "TailLogEntriesRequest"
+ },
+ "response": {
+ "$ref": "TailLogEntriesResponse"
+ },
+ "description": "Streaming read of log entries as they are received. Until the stream is terminated, it will continue reading logs.",
+ "httpMethod": "POST",
+ "path": "v2/entries:tail",
+ "parameterOrder": [],
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/cloud-platform.read-only",
+ "https://www.googleapis.com/auth/logging.admin",
+ "https://www.googleapis.com/auth/logging.read"
+ ]
+ },
+ "list": {
+ "response": {
+ "$ref": "ListLogEntriesResponse"
+ },
+ "parameters": {},
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/cloud-platform.read-only",
+ "https://www.googleapis.com/auth/logging.admin",
+ "https://www.googleapis.com/auth/logging.read"
+ ],
+ "description": "Lists log entries. Use this method to retrieve log entries that originated from a project/folder/organization/billing account. For ways to export log entries, see Exporting Logs (https://cloud.google.com/logging/docs/export).",
+ "id": "logging.entries.list",
+ "path": "v2/entries:list",
+ "parameterOrder": [],
+ "httpMethod": "POST",
+ "request": {
+ "$ref": "ListLogEntriesRequest"
+ },
+ "flatPath": "v2/entries:list"
+ },
+ "copy": {
+ "request": {
+ "$ref": "CopyLogEntriesRequest"
+ },
+ "path": "v2/entries:copy",
+ "response": {
+ "$ref": "Operation"
+ },
+ "parameterOrder": [],
+ "parameters": {},
+ "description": "Copies a set of log entries from a log bucket to a Cloud Storage bucket.",
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/logging.admin"
+ ],
+ "httpMethod": "POST",
+ "id": "logging.entries.copy",
+ "flatPath": "v2/entries:copy"
+ }
+ }
+ },
+ "logs": {
+ "methods": {
+ "delete": {
+ "flatPath": "v2/{v2Id}/{v2Id1}/logs/{logsId}",
+ "parameters": {
+ "logName": {
+ "pattern": "^[^/]+/[^/]+/logs/[^/]+$",
+ "description": "Required. The resource name of the log to delete: projects/[PROJECT_ID]/logs/[LOG_ID] organizations/[ORGANIZATION_ID]/logs/[LOG_ID] billingAccounts/[BILLING_ACCOUNT_ID]/logs/[LOG_ID] folders/[FOLDER_ID]/logs/[LOG_ID][LOG_ID] must be URL-encoded. For example, \"projects/my-project-id/logs/syslog\", \"organizations/123/logs/cloudaudit.googleapis.com%2Factivity\".For more information about log names, see LogEntry.",
+ "location": "path",
+ "type": "string",
+ "required": true
+ }
+ },
+ "id": "logging.logs.delete",
+ "httpMethod": "DELETE",
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/logging.admin"
+ ],
+ "parameterOrder": [
+ "logName"
+ ],
+ "description": "Deletes all the log entries in a log for the global _Default Log Bucket. The log reappears if it receives new entries. Log entries written shortly before the delete operation might not be deleted. Entries received after the delete operation with a timestamp before the operation will be deleted.",
+ "response": {
+ "$ref": "Empty"
+ },
+ "path": "v2/{+logName}"
+ },
+ "list": {
+ "id": "logging.logs.list",
+ "flatPath": "v2/{v2Id}/{v2Id1}/logs",
+ "response": {
+ "$ref": "ListLogsResponse"
+ },
+ "parameters": {
+ "parent": {
+ "pattern": "^[^/]+/[^/]+$",
+ "type": "string",
+ "required": true,
+ "location": "path",
+ "description": "Required. The resource name to list logs for: projects/[PROJECT_ID] organizations/[ORGANIZATION_ID] billingAccounts/[BILLING_ACCOUNT_ID] folders/[FOLDER_ID]"
+ },
+ "resourceNames": {
+ "repeated": true,
+ "location": "query",
+ "description": "Optional. List of resource names to list logs for: projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID] organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID] billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID] folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]To support legacy queries, it could also be: projects/[PROJECT_ID] organizations/[ORGANIZATION_ID] billingAccounts/[BILLING_ACCOUNT_ID] folders/[FOLDER_ID]The resource name in the parent field is added to this list.",
+ "type": "string"
+ },
+ "pageToken": {
+ "location": "query",
+ "type": "string",
+ "description": "Optional. If present, then retrieve the next batch of results from the preceding call to this method. pageToken must be the value of nextPageToken from the previous response. The values of other method parameters should be identical to those in the previous call."
+ },
+ "pageSize": {
+ "description": "Optional. The maximum number of results to return from this request. Non-positive values are ignored. The presence of nextPageToken in the response indicates that more results might be available.",
+ "location": "query",
+ "type": "integer",
+ "format": "int32"
+ }
+ },
+ "parameterOrder": [
+ "parent"
+ ],
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/cloud-platform.read-only",
+ "https://www.googleapis.com/auth/logging.admin",
+ "https://www.googleapis.com/auth/logging.read"
+ ],
+ "httpMethod": "GET",
+ "description": "Lists the logs in projects, organizations, folders, or billing accounts. Only logs that have entries are listed.",
+ "path": "v2/{+parent}/logs"
+ }
+ }
+ },
+ "folders": {
+ "methods": {
+ "getCmekSettings": {
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/cloud-platform.read-only",
+ "https://www.googleapis.com/auth/logging.admin",
+ "https://www.googleapis.com/auth/logging.read"
+ ],
+ "path": "v2/{+name}/cmekSettings",
+ "id": "logging.folders.getCmekSettings",
+ "parameterOrder": [
+ "name"
+ ],
+ "parameters": {
+ "name": {
+ "description": "Required. The resource for which to retrieve CMEK settings. \"projects/[PROJECT_ID]/cmekSettings\" \"organizations/[ORGANIZATION_ID]/cmekSettings\" \"billingAccounts/[BILLING_ACCOUNT_ID]/cmekSettings\" \"folders/[FOLDER_ID]/cmekSettings\" For example:\"organizations/12345/cmekSettings\"Note: CMEK for the Log Router can be configured for Google Cloud projects, folders, organizations, and billing accounts. Once configured for an organization, it applies to all projects and folders in the Google Cloud organization.",
+ "pattern": "^folders/[^/]+$",
+ "location": "path",
+ "type": "string",
+ "required": true
+ }
+ },
+ "flatPath": "v2/folders/{foldersId}/cmekSettings",
+ "response": {
+ "$ref": "CmekSettings"
+ },
+ "description": "Gets the Logging CMEK settings for the given resource.Note: CMEK for the Log Router can be configured for Google Cloud projects, folders, organizations, and billing accounts. Once configured for an organization, it applies to all projects and folders in the Google Cloud organization.See Enabling CMEK for Log Router (https://cloud.google.com/logging/docs/routing/managed-encryption) for more information.",
+ "httpMethod": "GET"
+ },
+ "updateSettings": {
+ "request": {
+ "$ref": "Settings"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/logging.admin"
+ ],
+ "path": "v2/{+name}/settings",
+ "httpMethod": "PATCH",
+ "flatPath": "v2/folders/{foldersId}/settings",
+ "description": "Updates the settings for the given resource. This method applies to all feature configurations for organization and folders.UpdateSettings fails when any of the following are true: The value of storage_location either isn't supported by Logging or violates the location OrgPolicy. The default_sink_config field is set, but it has an unspecified filter write mode. The value of kms_key_name is invalid. The associated service account doesn't have the required roles/cloudkms.cryptoKeyEncrypterDecrypter role assigned for the key. Access to the key is disabled.See Configure default settings for organizations and folders (https://cloud.google.com/logging/docs/default-settings) for more information.",
+ "response": {
+ "$ref": "Settings"
+ },
+ "id": "logging.folders.updateSettings",
+ "parameterOrder": [
+ "name"
+ ],
+ "parameters": {
+ "updateMask": {
+ "format": "google-fieldmask",
+ "type": "string",
+ "location": "query",
+ "description": "Optional. Field mask identifying which fields from settings should be updated. A field will be overwritten if and only if it is in the update mask. Output only fields cannot be updated.See FieldMask for more information.For example: \"updateMask=kmsKeyName\""
+ },
+ "name": {
+ "location": "path",
+ "pattern": "^folders/[^/]+$",
+ "description": "Required. The resource name for the settings to update. \"organizations/[ORGANIZATION_ID]/settings\" \"folders/[FOLDER_ID]/settings\" For example:\"organizations/12345/settings\"",
+ "type": "string",
+ "required": true
+ }
+ }
+ },
+ "getSettings": {
+ "parameters": {
+ "name": {
+ "location": "path",
+ "required": true,
+ "type": "string",
+ "description": "Required. The resource for which to retrieve settings. \"projects/[PROJECT_ID]/settings\" \"organizations/[ORGANIZATION_ID]/settings\" \"billingAccounts/[BILLING_ACCOUNT_ID]/settings\" \"folders/[FOLDER_ID]/settings\" For example:\"organizations/12345/settings\"Note: Settings can be retrieved for Google Cloud projects, folders, organizations, and billing accounts.",
+ "pattern": "^folders/[^/]+$"
+ }
+ },
+ "id": "logging.folders.getSettings",
+ "path": "v2/{+name}/settings",
+ "description": "Gets the settings for the given resource.Note: Settings can be retrieved for Google Cloud projects, folders, organizations, and billing accounts.See View default resource settings for Logging (https://cloud.google.com/logging/docs/default-settings#view-org-settings) for more information.",
+ "httpMethod": "GET",
+ "response": {
+ "$ref": "Settings"
+ },
+ "flatPath": "v2/folders/{foldersId}/settings",
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/cloud-platform.read-only",
+ "https://www.googleapis.com/auth/logging.admin",
+ "https://www.googleapis.com/auth/logging.read"
+ ],
+ "parameterOrder": [
+ "name"
+ ]
+ }
+ },
+ "resources": {
+ "exclusions": {
+ "methods": {
+ "delete": {
+ "parameters": {
+ "name": {
+ "location": "path",
+ "type": "string",
+ "required": true,
+ "description": "Required. The resource name of an existing exclusion to delete: \"projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]\" \"organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]\" \"folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]\" For example:\"projects/my-project/exclusions/my-exclusion\"",
+ "pattern": "^folders/[^/]+/exclusions/[^/]+$"
+ }
+ },
+ "description": "Deletes an exclusion in the _Default sink.",
+ "path": "v2/{+name}",
+ "httpMethod": "DELETE",
+ "flatPath": "v2/folders/{foldersId}/exclusions/{exclusionsId}",
+ "id": "logging.folders.exclusions.delete",
+ "parameterOrder": [
+ "name"
+ ],
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/logging.admin"
+ ],
+ "response": {
+ "$ref": "Empty"
+ }
+ },
+ "create": {
+ "id": "logging.folders.exclusions.create",
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/logging.admin"
+ ],
+ "flatPath": "v2/folders/{foldersId}/exclusions",
+ "parameterOrder": [
+ "parent"
+ ],
+ "parameters": {
+ "parent": {
+ "location": "path",
+ "description": "Required. The parent resource in which to create the exclusion: \"projects/[PROJECT_ID]\" \"organizations/[ORGANIZATION_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]\" \"folders/[FOLDER_ID]\" For examples:\"projects/my-logging-project\" \"organizations/123456789\"",
+ "type": "string",
+ "required": true,
+ "pattern": "^folders/[^/]+$"
+ }
+ },
+ "request": {
+ "$ref": "LogExclusion"
+ },
+ "httpMethod": "POST",
+ "response": {
+ "$ref": "LogExclusion"
+ },
+ "path": "v2/{+parent}/exclusions",
+ "description": "Creates a new exclusion in the _Default sink in a specified parent resource. Only log entries belonging to that resource can be excluded. You can have up to 10 exclusions in a resource."
+ },
+ "patch": {
+ "description": "Changes one or more properties of an existing exclusion in the _Default sink.",
+ "path": "v2/{+name}",
+ "id": "logging.folders.exclusions.patch",
+ "parameters": {
+ "name": {
+ "pattern": "^folders/[^/]+/exclusions/[^/]+$",
+ "required": true,
+ "location": "path",
+ "description": "Required. The resource name of the exclusion to update: \"projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]\" \"organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]\" \"folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]\" For example:\"projects/my-project/exclusions/my-exclusion\"",
+ "type": "string"
+ },
+ "updateMask": {
+ "location": "query",
+ "type": "string",
+ "format": "google-fieldmask",
+ "description": "Required. A non-empty list of fields to change in the existing exclusion. New values for the fields are taken from the corresponding fields in the LogExclusion included in this request. Fields not mentioned in update_mask are not changed and are ignored in the request.For example, to change the filter and description of an exclusion, specify an update_mask of \"filter,description\"."
+ }
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/logging.admin"
+ ],
+ "response": {
+ "$ref": "LogExclusion"
+ },
+ "httpMethod": "PATCH",
+ "parameterOrder": [
+ "name"
+ ],
+ "flatPath": "v2/folders/{foldersId}/exclusions/{exclusionsId}",
+ "request": {
+ "$ref": "LogExclusion"
+ }
+ },
+ "get": {
+ "parameters": {
+ "name": {
+ "required": true,
+ "type": "string",
+ "location": "path",
+ "description": "Required. The resource name of an existing exclusion: \"projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]\" \"organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]\" \"folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]\" For example:\"projects/my-project/exclusions/my-exclusion\"",
+ "pattern": "^folders/[^/]+/exclusions/[^/]+$"
+ }
+ },
+ "path": "v2/{+name}",
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/cloud-platform.read-only",
+ "https://www.googleapis.com/auth/logging.admin",
+ "https://www.googleapis.com/auth/logging.read"
+ ],
+ "id": "logging.folders.exclusions.get",
+ "description": "Gets the description of an exclusion in the _Default sink.",
+ "parameterOrder": [
+ "name"
+ ],
+ "response": {
+ "$ref": "LogExclusion"
+ },
+ "flatPath": "v2/folders/{foldersId}/exclusions/{exclusionsId}",
+ "httpMethod": "GET"
+ },
+ "list": {
+ "description": "Lists all the exclusions on the _Default sink in a parent resource.",
+ "path": "v2/{+parent}/exclusions",
+ "id": "logging.folders.exclusions.list",
+ "flatPath": "v2/folders/{foldersId}/exclusions",
+ "parameterOrder": [
+ "parent"
+ ],
+ "response": {
+ "$ref": "ListExclusionsResponse"
+ },
+ "httpMethod": "GET",
+ "parameters": {
+ "parent": {
+ "description": "Required. The parent resource whose exclusions are to be listed. \"projects/[PROJECT_ID]\" \"organizations/[ORGANIZATION_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]\" \"folders/[FOLDER_ID]\" ",
+ "location": "path",
+ "required": true,
+ "pattern": "^folders/[^/]+$",
+ "type": "string"
+ },
+ "pageToken": {
+ "description": "Optional. If present, then retrieve the next batch of results from the preceding call to this method. pageToken must be the value of nextPageToken from the previous response. The values of other method parameters should be identical to those in the previous call.",
+ "location": "query",
+ "type": "string"
+ },
+ "pageSize": {
+ "description": "Optional. The maximum number of results to return from this request. Non-positive values are ignored. The presence of nextPageToken in the response indicates that more results might be available.",
+ "location": "query",
+ "format": "int32",
+ "type": "integer"
+ }
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/cloud-platform.read-only",
+ "https://www.googleapis.com/auth/logging.admin",
+ "https://www.googleapis.com/auth/logging.read"
+ ]
+ }
+ }
+ },
+ "logs": {
+ "methods": {
+ "list": {
+ "path": "v2/{+parent}/logs",
+ "description": "Lists the logs in projects, organizations, folders, or billing accounts. Only logs that have entries are listed.",
+ "response": {
+ "$ref": "ListLogsResponse"
+ },
+ "id": "logging.folders.logs.list",
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/cloud-platform.read-only",
+ "https://www.googleapis.com/auth/logging.admin",
+ "https://www.googleapis.com/auth/logging.read"
+ ],
+ "parameterOrder": [
+ "parent"
+ ],
+ "httpMethod": "GET",
+ "flatPath": "v2/folders/{foldersId}/logs",
+ "parameters": {
+ "parent": {
+ "required": true,
+ "pattern": "^folders/[^/]+$",
+ "type": "string",
+ "location": "path",
+ "description": "Required. The resource name to list logs for: projects/[PROJECT_ID] organizations/[ORGANIZATION_ID] billingAccounts/[BILLING_ACCOUNT_ID] folders/[FOLDER_ID]"
+ },
+ "pageSize": {
+ "format": "int32",
+ "type": "integer",
+ "location": "query",
+ "description": "Optional. The maximum number of results to return from this request. Non-positive values are ignored. The presence of nextPageToken in the response indicates that more results might be available."
+ },
+ "pageToken": {
+ "location": "query",
+ "description": "Optional. If present, then retrieve the next batch of results from the preceding call to this method. pageToken must be the value of nextPageToken from the previous response. The values of other method parameters should be identical to those in the previous call.",
+ "type": "string"
+ },
+ "resourceNames": {
+ "description": "Optional. List of resource names to list logs for: projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID] organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID] billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID] folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]To support legacy queries, it could also be: projects/[PROJECT_ID] organizations/[ORGANIZATION_ID] billingAccounts/[BILLING_ACCOUNT_ID] folders/[FOLDER_ID]The resource name in the parent field is added to this list.",
+ "type": "string",
+ "repeated": true,
+ "location": "query"
+ }
+ }
+ },
+ "delete": {
+ "id": "logging.folders.logs.delete",
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/logging.admin"
+ ],
+ "parameters": {
+ "logName": {
+ "location": "path",
+ "description": "Required. The resource name of the log to delete: projects/[PROJECT_ID]/logs/[LOG_ID] organizations/[ORGANIZATION_ID]/logs/[LOG_ID] billingAccounts/[BILLING_ACCOUNT_ID]/logs/[LOG_ID] folders/[FOLDER_ID]/logs/[LOG_ID][LOG_ID] must be URL-encoded. For example, \"projects/my-project-id/logs/syslog\", \"organizations/123/logs/cloudaudit.googleapis.com%2Factivity\".For more information about log names, see LogEntry.",
+ "required": true,
+ "type": "string",
+ "pattern": "^folders/[^/]+/logs/[^/]+$"
+ }
+ },
+ "path": "v2/{+logName}",
+ "parameterOrder": [
+ "logName"
+ ],
+ "response": {
+ "$ref": "Empty"
+ },
+ "description": "Deletes all the log entries in a log for the global _Default Log Bucket. The log reappears if it receives new entries. Log entries written shortly before the delete operation might not be deleted. Entries received after the delete operation with a timestamp before the operation will be deleted.",
+ "httpMethod": "DELETE",
+ "flatPath": "v2/folders/{foldersId}/logs/{logsId}"
+ }
+ }
+ },
+ "locations": {
+ "methods": {
+ "get": {
+ "path": "v2/{+name}",
+ "response": {
+ "$ref": "Location"
+ },
+ "flatPath": "v2/folders/{foldersId}/locations/{locationsId}",
+ "parameterOrder": [
+ "name"
+ ],
+ "httpMethod": "GET",
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/cloud-platform.read-only",
+ "https://www.googleapis.com/auth/logging.admin",
+ "https://www.googleapis.com/auth/logging.read"
+ ],
+ "description": "Gets information about a location.",
+ "parameters": {
+ "name": {
+ "type": "string",
+ "required": true,
+ "pattern": "^folders/[^/]+/locations/[^/]+$",
+ "location": "path",
+ "description": "Resource name for the location."
+ }
+ },
+ "id": "logging.folders.locations.get"
+ },
+ "list": {
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/cloud-platform.read-only",
+ "https://www.googleapis.com/auth/logging.admin",
+ "https://www.googleapis.com/auth/logging.read"
+ ],
+ "id": "logging.folders.locations.list",
+ "path": "v2/{+name}/locations",
+ "parameterOrder": [
+ "name"
+ ],
+ "response": {
+ "$ref": "ListLocationsResponse"
+ },
+ "parameters": {
+ "filter": {
+ "type": "string",
+ "description": "A filter to narrow down results to a preferred subset. The filtering language accepts strings like \"displayName=tokyo\", and is documented in more detail in AIP-160 (https://google.aip.dev/160).",
+ "location": "query"
+ },
+ "pageSize": {
+ "type": "integer",
+ "format": "int32",
+ "location": "query",
+ "description": "The maximum number of results to return. If not set, the service selects a default."
+ },
+ "pageToken": {
+ "description": "A page token received from the next_page_token field in the response. Send that page token to receive the subsequent page.",
+ "location": "query",
+ "type": "string"
+ },
+ "name": {
+ "pattern": "^folders/[^/]+$",
+ "required": true,
+ "location": "path",
+ "description": "The resource that owns the locations collection, if applicable.",
+ "type": "string"
+ },
+ "extraLocationTypes": {
+ "repeated": true,
+ "description": "Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage.",
+ "location": "query",
+ "type": "string"
+ }
+ },
+ "httpMethod": "GET",
+ "description": "Lists information about the supported locations for this service.",
+ "flatPath": "v2/folders/{foldersId}/locations"
+ }
+ },
+ "resources": {
+ "logScopes": {
+ "methods": {
+ "delete": {
+ "description": "Deletes a log scope.",
+ "httpMethod": "DELETE",
+ "id": "logging.folders.locations.logScopes.delete",
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/logging.admin"
+ ],
+ "path": "v2/{+name}",
+ "parameterOrder": [
+ "name"
+ ],
+ "response": {
+ "$ref": "Empty"
+ },
+ "parameters": {
+ "name": {
+ "required": true,
+ "pattern": "^folders/[^/]+/locations/[^/]+/logScopes/[^/]+$",
+ "location": "path",
+ "type": "string",
+ "description": "Required. The resource name of the log scope to delete: \"projects/[PROJECT_ID]/locations/[LOCATION_ID]\" \"organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]\" \"folders/[FOLDER_ID]/locations/[LOCATION_ID]\" For example:\"projects/my-project/locations/global/logScopes/my-log-scope\""
+ }
+ },
+ "flatPath": "v2/folders/{foldersId}/locations/{locationsId}/logScopes/{logScopesId}"
+ },
+ "get": {
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/cloud-platform.read-only",
+ "https://www.googleapis.com/auth/logging.admin",
+ "https://www.googleapis.com/auth/logging.read"
+ ],
+ "httpMethod": "GET",
+ "response": {
+ "$ref": "LogScope"
+ },
+ "id": "logging.folders.locations.logScopes.get",
+ "description": "Gets a log scope.",
+ "parameters": {
+ "name": {
+ "location": "path",
+ "description": "Required. The resource name of the log scope: \"projects/[PROJECT_ID]/locations/[LOCATION_ID]\" \"organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]\" \"folders/[FOLDER_ID]/locations/[LOCATION_ID]\" For example:\"projects/my-project/locations/global/logScopes/my-log-scope\"",
+ "type": "string",
+ "required": true,
+ "pattern": "^folders/[^/]+/locations/[^/]+/logScopes/[^/]+$"
+ }
+ },
+ "path": "v2/{+name}",
+ "parameterOrder": [
+ "name"
+ ],
+ "flatPath": "v2/folders/{foldersId}/locations/{locationsId}/logScopes/{logScopesId}"
+ },
+ "list": {
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/cloud-platform.read-only",
+ "https://www.googleapis.com/auth/logging.admin",
+ "https://www.googleapis.com/auth/logging.read"
+ ],
+ "id": "logging.folders.locations.logScopes.list",
+ "parameters": {
+ "parent": {
+ "location": "path",
+ "required": true,
+ "pattern": "^folders/[^/]+/locations/[^/]+$",
+ "type": "string",
+ "description": "Required. The parent resource whose log scopes are to be listed: \"projects/[PROJECT_ID]/locations/[LOCATION_ID]\" "
+ },
+ "pageSize": {
+ "description": "Optional. The maximum number of results to return from this request.Non-positive values are ignored. The presence of nextPageToken in the response indicates that more results might be available.",
+ "type": "integer",
+ "location": "query",
+ "format": "int32"
+ },
+ "pageToken": {
+ "location": "query",
+ "type": "string",
+ "description": "Optional. If present, then retrieve the next batch of results from the preceding call to this method. pageToken must be the value of nextPageToken from the previous response. The values of other method parameters should be identical to those in the previous call."
+ }
+ },
+ "description": "Lists log scopes.",
+ "httpMethod": "GET",
+ "path": "v2/{+parent}/logScopes",
+ "parameterOrder": [
+ "parent"
+ ],
+ "flatPath": "v2/folders/{foldersId}/locations/{locationsId}/logScopes",
+ "response": {
+ "$ref": "ListLogScopesResponse"
+ }
+ },
+ "create": {
+ "parameterOrder": [
+ "parent"
+ ],
+ "request": {
+ "$ref": "LogScope"
+ },
+ "parameters": {
+ "parent": {
+ "location": "path",
+ "required": true,
+ "type": "string",
+ "pattern": "^folders/[^/]+/locations/[^/]+$",
+ "description": "Required. The parent resource in which to create the log scope: \"projects/[PROJECT_ID]/locations/[LOCATION_ID]\" \"organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]\" \"folders/[FOLDER_ID]/locations/[LOCATION_ID]\" For example:\"projects/my-project/locations/global\""
+ },
+ "logScopeId": {
+ "type": "string",
+ "location": "query",
+ "description": "Required. A client-assigned identifier such as \"log-scope\". Identifiers are limited to 100 characters and can include only letters, digits, underscores, hyphens, and periods. First character has to be alphanumeric."
+ }
+ },
+ "path": "v2/{+parent}/logScopes",
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/logging.admin"
+ ],
+ "httpMethod": "POST",
+ "flatPath": "v2/folders/{foldersId}/locations/{locationsId}/logScopes",
+ "description": "Creates a log scope.",
+ "response": {
+ "$ref": "LogScope"
+ },
+ "id": "logging.folders.locations.logScopes.create"
+ },
+ "patch": {
+ "parameters": {
+ "name": {
+ "description": "Output only. The resource name of the log scope.Log scopes are only available in the global location. For example:projects/my-project/locations/global/logScopes/my-log-scope",
+ "location": "path",
+ "type": "string",
+ "required": true,
+ "pattern": "^folders/[^/]+/locations/[^/]+/logScopes/[^/]+$"
+ },
+ "updateMask": {
+ "type": "string",
+ "format": "google-fieldmask",
+ "location": "query",
+ "description": "Optional. Field mask that specifies the fields in log_scope that need an update. A field will be overwritten if, and only if, it is in the update mask. name and output only fields cannot be updated.For a detailed FieldMask definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMaskFor example: updateMask=description"
+ }
+ },
+ "description": "Updates a log scope.",
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/logging.admin"
+ ],
+ "path": "v2/{+name}",
+ "response": {
+ "$ref": "LogScope"
+ },
+ "id": "logging.folders.locations.logScopes.patch",
+ "flatPath": "v2/folders/{foldersId}/locations/{locationsId}/logScopes/{logScopesId}",
+ "parameterOrder": [
+ "name"
+ ],
+ "httpMethod": "PATCH",
+ "request": {
+ "$ref": "LogScope"
+ }
+ }
+ }
+ },
+ "operations": {
+ "methods": {
+ "get": {
+ "flatPath": "v2/folders/{foldersId}/locations/{locationsId}/operations/{operationsId}",
+ "response": {
+ "$ref": "Operation"
+ },
+ "path": "v2/{+name}",
+ "parameters": {
+ "name": {
+ "type": "string",
+ "location": "path",
+ "description": "The name of the operation resource.",
+ "required": true,
+ "pattern": "^folders/[^/]+/locations/[^/]+/operations/[^/]+$"
+ }
+ },
+ "httpMethod": "GET",
+ "id": "logging.folders.locations.operations.get",
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/cloud-platform.read-only",
+ "https://www.googleapis.com/auth/logging.admin",
+ "https://www.googleapis.com/auth/logging.read"
+ ],
+ "parameterOrder": [
+ "name"
+ ],
+ "description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service."
+ },
+ "cancel": {
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/logging.admin"
+ ],
+ "parameterOrder": [
+ "name"
+ ],
+ "response": {
+ "$ref": "Empty"
+ },
+ "httpMethod": "POST",
+ "request": {
+ "$ref": "CancelOperationRequest"
+ },
+ "path": "v2/{+name}:cancel",
+ "flatPath": "v2/folders/{foldersId}/locations/{locationsId}/operations/{operationsId}:cancel",
+ "description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns google.rpc.Code.UNIMPLEMENTED. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to Code.CANCELLED.",
+ "id": "logging.folders.locations.operations.cancel",
+ "parameters": {
+ "name": {
+ "location": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the operation resource to be cancelled.",
+ "pattern": "^folders/[^/]+/locations/[^/]+/operations/[^/]+$"
+ }
+ }
+ },
+ "list": {
+ "parameters": {
+ "filter": {
+ "type": "string",
+ "location": "query",
+ "description": "The standard list filter."
+ },
+ "returnPartialSuccess": {
+ "description": "When set to true, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field.This can only be true when reading across collections. For example, when parent is set to \"projects/example/locations/-\".This field is not supported by default and will result in an UNIMPLEMENTED error if set unless explicitly documented otherwise in service or product specific documentation.",
+ "type": "boolean",
+ "location": "query"
+ },
+ "pageToken": {
+ "type": "string",
+ "location": "query",
+ "description": "The standard list page token."
+ },
+ "pageSize": {
+ "location": "query",
+ "description": "The standard list page size.",
+ "type": "integer",
+ "format": "int32"
+ },
+ "name": {
+ "description": "The name of the operation's parent resource.",
+ "required": true,
+ "location": "path",
+ "pattern": "^folders/[^/]+/locations/[^/]+$",
+ "type": "string"
+ }
+ },
+ "response": {
+ "$ref": "ListOperationsResponse"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/cloud-platform.read-only",
+ "https://www.googleapis.com/auth/logging.admin",
+ "https://www.googleapis.com/auth/logging.read"
+ ],
+ "httpMethod": "GET",
+ "flatPath": "v2/folders/{foldersId}/locations/{locationsId}/operations",
+ "parameterOrder": [
+ "name"
+ ],
+ "id": "logging.folders.locations.operations.list",
+ "path": "v2/{+name}/operations",
+ "description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns UNIMPLEMENTED."
+ }
+ }
+ },
+ "recentQueries": {
+ "methods": {
+ "list": {
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/cloud-platform.read-only",
+ "https://www.googleapis.com/auth/logging.admin",
+ "https://www.googleapis.com/auth/logging.read"
+ ],
+ "id": "logging.folders.locations.recentQueries.list",
+ "description": "Lists the RecentQueries that were created by the user making the request.",
+ "path": "v2/{+parent}/recentQueries",
+ "parameterOrder": [
+ "parent"
+ ],
+ "parameters": {
+ "parent": {
+ "description": "Required. The resource to which the listed queries belong. \"projects/[PROJECT_ID]/locations/[LOCATION_ID]\" \"organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]\" \"folders/[FOLDER_ID]/locations/[LOCATION_ID]\" For example:projects/my-project/locations/us-central1Note: The location portion of the resource must be specified, but supplying the character - in place of LOCATION_ID will return all recent queries.",
+ "pattern": "^folders/[^/]+/locations/[^/]+$",
+ "type": "string",
+ "required": true,
+ "location": "path"
+ },
+ "pageToken": {
+ "location": "query",
+ "description": "Optional. If present, then retrieve the next batch of results from the preceding call to this method. pageToken must be the value of nextPageToken from the previous response. The values of other method parameters should be identical to those in the previous call.",
+ "type": "string"
+ },
+ "filter": {
+ "type": "string",
+ "description": "Optional. Specifies the type (\"Logging\" or \"OpsAnalytics\") of the recent queries to list. The only valid value for this field is one of the two allowable type function calls, which are the following: type(\"Logging\") type(\"OpsAnalytics\")",
+ "location": "query"
+ },
+ "pageSize": {
+ "description": "Optional. The maximum number of results to return from this request. Non-positive values are ignored. The presence of nextPageToken in the response indicates that more results might be available.",
+ "type": "integer",
+ "location": "query",
+ "format": "int32"
+ }
+ },
+ "response": {
+ "$ref": "ListRecentQueriesResponse"
+ },
+ "httpMethod": "GET",
+ "flatPath": "v2/folders/{foldersId}/locations/{locationsId}/recentQueries"
+ }
+ }
+ },
+ "buckets": {
+ "resources": {
+ "views": {
+ "methods": {
+ "create": {
+ "path": "v2/{+parent}/views",
+ "response": {
+ "$ref": "LogView"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/logging.admin"
+ ],
+ "request": {
+ "$ref": "LogView"
+ },
+ "parameterOrder": [
+ "parent"
+ ],
+ "description": "Creates a view over log entries in a log bucket. A bucket may contain a maximum of 30 views.",
+ "id": "logging.folders.locations.buckets.views.create",
+ "httpMethod": "POST",
+ "flatPath": "v2/folders/{foldersId}/locations/{locationsId}/buckets/{bucketsId}/views",
+ "parameters": {
+ "parent": {
+ "type": "string",
+ "description": "Required. The bucket in which to create the view `\"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\"` For example:\"projects/my-project/locations/global/buckets/my-bucket\"",
+ "pattern": "^folders/[^/]+/locations/[^/]+/buckets/[^/]+$",
+ "required": true,
+ "location": "path"
+ },
+ "viewId": {
+ "type": "string",
+ "location": "query",
+ "description": "Required. A client-assigned identifier such as \"my-view\". Identifiers are limited to 100 characters and can include only letters, digits, underscores, and hyphens."
+ }
+ }
+ },
+ "getIamPolicy": {
+ "id": "logging.folders.locations.buckets.views.getIamPolicy",
+ "description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.",
+ "flatPath": "v2/folders/{foldersId}/locations/{locationsId}/buckets/{bucketsId}/views/{viewsId}:getIamPolicy",
+ "path": "v2/{+resource}:getIamPolicy",
+ "parameterOrder": [
+ "resource"
+ ],
+ "response": {
+ "$ref": "Policy"
+ },
+ "parameters": {
+ "resource": {
+ "description": "REQUIRED: The resource for which the policy is being requested. See Resource names (https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.",
+ "pattern": "^folders/[^/]+/locations/[^/]+/buckets/[^/]+/views/[^/]+$",
+ "location": "path",
+ "type": "string",
+ "required": true
+ }
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/cloud-platform.read-only",
+ "https://www.googleapis.com/auth/logging.admin",
+ "https://www.googleapis.com/auth/logging.read"
+ ],
+ "request": {
+ "$ref": "GetIamPolicyRequest"
+ },
+ "httpMethod": "POST"
+ },
+ "delete": {
+ "description": "Deletes a view on a log bucket. If an UNAVAILABLE error is returned, this indicates that system is not in a state where it can delete the view. If this occurs, please try again in a few minutes.",
+ "path": "v2/{+name}",
+ "flatPath": "v2/folders/{foldersId}/locations/{locationsId}/buckets/{bucketsId}/views/{viewsId}",
+ "parameters": {
+ "name": {
+ "required": true,
+ "description": "Required. The full resource name of the view to delete: \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]\" For example:\"projects/my-project/locations/global/buckets/my-bucket/views/my-view\"",
+ "type": "string",
+ "pattern": "^folders/[^/]+/locations/[^/]+/buckets/[^/]+/views/[^/]+$",
+ "location": "path"
+ }
+ },
+ "id": "logging.folders.locations.buckets.views.delete",
+ "parameterOrder": [
+ "name"
+ ],
+ "httpMethod": "DELETE",
+ "response": {
+ "$ref": "Empty"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/logging.admin"
+ ]
+ },
+ "list": {
+ "parameters": {
+ "pageToken": {
+ "description": "Optional. If present, then retrieve the next batch of results from the preceding call to this method. pageToken must be the value of nextPageToken from the previous response. The values of other method parameters should be identical to those in the previous call.",
+ "type": "string",
+ "location": "query"
+ },
+ "parent": {
+ "type": "string",
+ "description": "Required. The bucket whose views are to be listed: \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" ",
+ "required": true,
+ "pattern": "^folders/[^/]+/locations/[^/]+/buckets/[^/]+$",
+ "location": "path"
+ },
+ "pageSize": {
+ "type": "integer",
+ "location": "query",
+ "format": "int32",
+ "description": "Optional. The maximum number of results to return from this request.Non-positive values are ignored. The presence of nextPageToken in the response indicates that more results might be available."
+ }
+ },
+ "response": {
+ "$ref": "ListViewsResponse"
+ },
+ "parameterOrder": [
+ "parent"
+ ],
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/cloud-platform.read-only",
+ "https://www.googleapis.com/auth/logging.admin",
+ "https://www.googleapis.com/auth/logging.read"
+ ],
+ "flatPath": "v2/folders/{foldersId}/locations/{locationsId}/buckets/{bucketsId}/views",
+ "id": "logging.folders.locations.buckets.views.list",
+ "description": "Lists views on a log bucket.",
+ "path": "v2/{+parent}/views",
+ "httpMethod": "GET"
+ },
+ "testIamPermissions": {
+ "path": "v2/{+resource}:testIamPermissions",
+ "parameters": {
+ "resource": {
+ "type": "string",
+ "pattern": "^folders/[^/]+/locations/[^/]+/buckets/[^/]+/views/[^/]+$",
+ "description": "REQUIRED: The resource for which the policy detail is being requested. See Resource names (https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.",
+ "required": true,
+ "location": "path"
+ }
+ },
+ "id": "logging.folders.locations.buckets.views.testIamPermissions",
+ "parameterOrder": [
+ "resource"
+ ],
+ "response": {
+ "$ref": "TestIamPermissionsResponse"
+ },
+ "description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a NOT_FOUND error.Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.",
+ "request": {
+ "$ref": "TestIamPermissionsRequest"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/cloud-platform.read-only",
+ "https://www.googleapis.com/auth/logging.admin",
+ "https://www.googleapis.com/auth/logging.read"
+ ],
+ "httpMethod": "POST",
+ "flatPath": "v2/folders/{foldersId}/locations/{locationsId}/buckets/{bucketsId}/views/{viewsId}:testIamPermissions"
+ },
+ "setIamPolicy": {
+ "description": "Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors.",
+ "parameterOrder": [
+ "resource"
+ ],
+ "httpMethod": "POST",
+ "path": "v2/{+resource}:setIamPolicy",
+ "parameters": {
+ "resource": {
+ "type": "string",
+ "required": true,
+ "location": "path",
+ "pattern": "^folders/[^/]+/locations/[^/]+/buckets/[^/]+/views/[^/]+$",
+ "description": "REQUIRED: The resource for which the policy is being specified. See Resource names (https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field."
+ }
+ },
+ "id": "logging.folders.locations.buckets.views.setIamPolicy",
+ "request": {
+ "$ref": "SetIamPolicyRequest"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/logging.admin"
+ ],
+ "response": {
+ "$ref": "Policy"
+ },
+ "flatPath": "v2/folders/{foldersId}/locations/{locationsId}/buckets/{bucketsId}/views/{viewsId}:setIamPolicy"
+ },
+ "get": {
+ "id": "logging.folders.locations.buckets.views.get",
+ "httpMethod": "GET",
+ "path": "v2/{+name}",
+ "parameters": {
+ "name": {
+ "type": "string",
+ "description": "Required. The resource name of the policy: \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]\" For example:\"projects/my-project/locations/global/buckets/my-bucket/views/my-view\"",
+ "required": true,
+ "location": "path",
+ "pattern": "^folders/[^/]+/locations/[^/]+/buckets/[^/]+/views/[^/]+$"
+ }
+ },
+ "parameterOrder": [
+ "name"
+ ],
+ "response": {
+ "$ref": "LogView"
+ },
+ "description": "Gets a view on a log bucket.",
+ "flatPath": "v2/folders/{foldersId}/locations/{locationsId}/buckets/{bucketsId}/views/{viewsId}",
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/cloud-platform.read-only",
+ "https://www.googleapis.com/auth/logging.admin",
+ "https://www.googleapis.com/auth/logging.read"
+ ]
+ },
+ "patch": {
+ "httpMethod": "PATCH",
+ "parameterOrder": [
+ "name"
+ ],
+ "response": {
+ "$ref": "LogView"
+ },
+ "flatPath": "v2/folders/{foldersId}/locations/{locationsId}/buckets/{bucketsId}/views/{viewsId}",
+ "request": {
+ "$ref": "LogView"
+ },
+ "id": "logging.folders.locations.buckets.views.patch",
+ "path": "v2/{+name}",
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/logging.admin"
+ ],
+ "parameters": {
+ "name": {
+ "pattern": "^folders/[^/]+/locations/[^/]+/buckets/[^/]+/views/[^/]+$",
+ "required": true,
+ "type": "string",
+ "description": "Required. The full resource name of the view to update \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]\" For example:\"projects/my-project/locations/global/buckets/my-bucket/views/my-view\"",
+ "location": "path"
+ },
+ "updateMask": {
+ "type": "string",
+ "format": "google-fieldmask",
+ "location": "query",
+ "description": "Optional. Field mask that specifies the fields in view that need an update. A field will be overwritten if, and only if, it is in the update mask. name and output only fields cannot be updated.For a detailed FieldMask definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMaskFor example: updateMask=filter"
+ }
+ },
+ "description": "Updates a view on a log bucket. This method replaces the value of the filter field from the existing view with the corresponding value from the new view. If an UNAVAILABLE error is returned, this indicates that system is not in a state where it can update the view. If this occurs, please try again in a few minutes."
+ }
+ },
+ "resources": {
+ "logs": {
+ "methods": {
+ "list": {
+ "description": "Lists the logs in projects, organizations, folders, or billing accounts. Only logs that have entries are listed.",
+ "parameters": {
+ "pageSize": {
+ "description": "Optional. The maximum number of results to return from this request. Non-positive values are ignored. The presence of nextPageToken in the response indicates that more results might be available.",
+ "location": "query",
+ "format": "int32",
+ "type": "integer"
+ },
+ "resourceNames": {
+ "type": "string",
+ "description": "Optional. List of resource names to list logs for: projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID] organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID] billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID] folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]To support legacy queries, it could also be: projects/[PROJECT_ID] organizations/[ORGANIZATION_ID] billingAccounts/[BILLING_ACCOUNT_ID] folders/[FOLDER_ID]The resource name in the parent field is added to this list.",
+ "repeated": true,
+ "location": "query"
+ },
+ "parent": {
+ "location": "path",
+ "description": "Required. The resource name to list logs for: projects/[PROJECT_ID] organizations/[ORGANIZATION_ID] billingAccounts/[BILLING_ACCOUNT_ID] folders/[FOLDER_ID]",
+ "required": true,
+ "type": "string",
+ "pattern": "^folders/[^/]+/locations/[^/]+/buckets/[^/]+/views/[^/]+$"
+ },
+ "pageToken": {
+ "type": "string",
+ "description": "Optional. If present, then retrieve the next batch of results from the preceding call to this method. pageToken must be the value of nextPageToken from the previous response. The values of other method parameters should be identical to those in the previous call.",
+ "location": "query"
+ }
+ },
+ "flatPath": "v2/folders/{foldersId}/locations/{locationsId}/buckets/{bucketsId}/views/{viewsId}/logs",
+ "id": "logging.folders.locations.buckets.views.logs.list",
+ "path": "v2/{+parent}/logs",
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/cloud-platform.read-only",
+ "https://www.googleapis.com/auth/logging.admin",
+ "https://www.googleapis.com/auth/logging.read"
+ ],
+ "httpMethod": "GET",
+ "response": {
+ "$ref": "ListLogsResponse"
+ },
+ "parameterOrder": [
+ "parent"
+ ]
+ }
+ }
+ }
+ }
+ },
+ "links": {
+ "methods": {
+ "delete": {
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/logging.admin"
+ ],
+ "httpMethod": "DELETE",
+ "parameterOrder": [
+ "name"
+ ],
+ "path": "v2/{+name}",
+ "response": {
+ "$ref": "Operation"
+ },
+ "description": "Deletes a link. This will also delete the corresponding BigQuery linked dataset.",
+ "flatPath": "v2/folders/{foldersId}/locations/{locationsId}/buckets/{bucketsId}/links/{linksId}",
+ "parameters": {
+ "name": {
+ "type": "string",
+ "description": "Required. The full resource name of the link to delete. \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]\" \"organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]\" \"folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]\" ",
+ "required": true,
+ "pattern": "^folders/[^/]+/locations/[^/]+/buckets/[^/]+/links/[^/]+$",
+ "location": "path"
+ }
+ },
+ "id": "logging.folders.locations.buckets.links.delete"
+ },
+ "list": {
+ "id": "logging.folders.locations.buckets.links.list",
+ "httpMethod": "GET",
+ "description": "Lists links.",
+ "path": "v2/{+parent}/links",
+ "parameters": {
+ "pageToken": {
+ "type": "string",
+ "location": "query",
+ "description": "Optional. If present, then retrieve the next batch of results from the preceding call to this method. pageToken must be the value of nextPageToken from the previous response."
+ },
+ "pageSize": {
+ "description": "Optional. The maximum number of results to return from this request.",
+ "location": "query",
+ "type": "integer",
+ "format": "int32"
+ },
+ "parent": {
+ "location": "path",
+ "type": "string",
+ "description": "Required. The parent resource whose links are to be listed: \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" ",
+ "pattern": "^folders/[^/]+/locations/[^/]+/buckets/[^/]+$",
+ "required": true
+ }
+ },
+ "response": {
+ "$ref": "ListLinksResponse"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/cloud-platform.read-only",
+ "https://www.googleapis.com/auth/logging.admin",
+ "https://www.googleapis.com/auth/logging.read"
+ ],
+ "parameterOrder": [
+ "parent"
+ ],
+ "flatPath": "v2/folders/{foldersId}/locations/{locationsId}/buckets/{bucketsId}/links"
+ },
+ "create": {
+ "description": "Asynchronously creates a linked dataset in BigQuery which makes it possible to use BigQuery to read the logs stored in the log bucket. A log bucket may currently only contain one link.",
+ "id": "logging.folders.locations.buckets.links.create",
+ "flatPath": "v2/folders/{foldersId}/locations/{locationsId}/buckets/{bucketsId}/links",
+ "parameters": {
+ "parent": {
+ "description": "Required. The full resource name of the bucket to create a link for. \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" ",
+ "pattern": "^folders/[^/]+/locations/[^/]+/buckets/[^/]+$",
+ "required": true,
+ "type": "string",
+ "location": "path"
+ },
+ "linkId": {
+ "type": "string",
+ "description": "Required. The ID to use for the link. The link_id can have up to 100 characters. A valid link_id must only have alphanumeric characters and underscores within it.",
+ "location": "query"
+ }
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/logging.admin"
+ ],
+ "response": {
+ "$ref": "Operation"
+ },
+ "request": {
+ "$ref": "Link"
+ },
+ "parameterOrder": [
+ "parent"
+ ],
+ "httpMethod": "POST",
+ "path": "v2/{+parent}/links"
+ },
+ "get": {
+ "path": "v2/{+name}",
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/cloud-platform.read-only",
+ "https://www.googleapis.com/auth/logging.admin",
+ "https://www.googleapis.com/auth/logging.read"
+ ],
+ "id": "logging.folders.locations.buckets.links.get",
+ "description": "Gets a link.",
+ "response": {
+ "$ref": "Link"
+ },
+ "parameters": {
+ "name": {
+ "type": "string",
+ "pattern": "^folders/[^/]+/locations/[^/]+/buckets/[^/]+/links/[^/]+$",
+ "required": true,
+ "description": "Required. The resource name of the link: \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]\" \"organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]\" \"folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]\" ",
+ "location": "path"
+ }
+ },
+ "httpMethod": "GET",
+ "parameterOrder": [
+ "name"
+ ],
+ "flatPath": "v2/folders/{foldersId}/locations/{locationsId}/buckets/{bucketsId}/links/{linksId}"
+ }
+ }
+ }
+ },
+ "methods": {
+ "createAsync": {
+ "id": "logging.folders.locations.buckets.createAsync",
+ "path": "v2/{+parent}/buckets:createAsync",
+ "parameterOrder": [
+ "parent"
+ ],
+ "flatPath": "v2/folders/{foldersId}/locations/{locationsId}/buckets:createAsync",
+ "parameters": {
+ "bucketId": {
+ "location": "query",
+ "type": "string",
+ "description": "Required. A client-assigned identifier such as \"my-bucket\". Identifiers are limited to 100 characters and can include only letters, digits, underscores, hyphens, and periods. Bucket identifiers must start with an alphanumeric character."
+ },
+ "parent": {
+ "required": true,
+ "location": "path",
+ "pattern": "^folders/[^/]+/locations/[^/]+$",
+ "type": "string",
+ "description": "Required. The resource in which to create the log bucket: \"projects/[PROJECT_ID]/locations/[LOCATION_ID]\" For example:\"projects/my-project/locations/global\""
+ }
+ },
+ "httpMethod": "POST",
+ "request": {
+ "$ref": "LogBucket"
+ },
+ "description": "Creates a log bucket asynchronously that can be used to store log entries.After a bucket has been created, the bucket's location cannot be changed.",
+ "response": {
+ "$ref": "Operation"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/logging.admin"
+ ]
+ },
+ "updateAsync": {
+ "description": "Updates a log bucket asynchronously.If the bucket has a lifecycle_state of DELETE_REQUESTED, then FAILED_PRECONDITION will be returned.After a bucket has been created, the bucket's location cannot be changed.",
+ "request": {
+ "$ref": "LogBucket"
+ },
+ "flatPath": "v2/folders/{foldersId}/locations/{locationsId}/buckets/{bucketsId}:updateAsync",
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/logging.admin"
+ ],
+ "response": {
+ "$ref": "Operation"
+ },
+ "parameters": {
+ "name": {
+ "type": "string",
+ "pattern": "^folders/[^/]+/locations/[^/]+/buckets/[^/]+$",
+ "description": "Required. The full resource name of the bucket to update. \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" For example:\"projects/my-project/locations/global/buckets/my-bucket\"",
+ "location": "path",
+ "required": true
+ },
+ "updateMask": {
+ "description": "Required. Field mask that specifies the fields in bucket that need an update. A bucket field will be overwritten if, and only if, it is in the update mask. name and output only fields cannot be updated.For a detailed FieldMask definition, see: https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMaskFor example: updateMask=retention_days",
+ "type": "string",
+ "location": "query",
+ "format": "google-fieldmask"
+ }
+ },
+ "httpMethod": "POST",
+ "parameterOrder": [
+ "name"
+ ],
+ "id": "logging.folders.locations.buckets.updateAsync",
+ "path": "v2/{+name}:updateAsync"
+ },
+ "list": {
+ "id": "logging.folders.locations.buckets.list",
+ "response": {
+ "$ref": "ListBucketsResponse"
+ },
+ "description": "Lists log buckets.",
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/cloud-platform.read-only",
+ "https://www.googleapis.com/auth/logging.admin",
+ "https://www.googleapis.com/auth/logging.read"
+ ],
+ "parameterOrder": [
+ "parent"
+ ],
+ "parameters": {
+ "pageSize": {
+ "description": "Optional. The maximum number of results to return from this request. Non-positive values are ignored. The presence of nextPageToken in the response indicates that more results might be available.",
+ "location": "query",
+ "format": "int32",
+ "type": "integer"
+ },
+ "parent": {
+ "location": "path",
+ "required": true,
+ "pattern": "^folders/[^/]+/locations/[^/]+$",
+ "type": "string",
+ "description": "Required. The parent resource whose buckets are to be listed: \"projects/[PROJECT_ID]/locations/[LOCATION_ID]\" \"organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]\" \"folders/[FOLDER_ID]/locations/[LOCATION_ID]\" Note: The locations portion of the resource must be specified, but supplying the character - in place of LOCATION_ID will return all buckets."
+ },
+ "pageToken": {
+ "location": "query",
+ "type": "string",
+ "description": "Optional. If present, then retrieve the next batch of results from the preceding call to this method. pageToken must be the value of nextPageToken from the previous response. The values of other method parameters should be identical to those in the previous call."
+ }
+ },
+ "flatPath": "v2/folders/{foldersId}/locations/{locationsId}/buckets",
+ "httpMethod": "GET",
+ "path": "v2/{+parent}/buckets"
+ },
+ "undelete": {
+ "id": "logging.folders.locations.buckets.undelete",
+ "description": "Undeletes a log bucket. A bucket that has been deleted can be undeleted within the grace period of 7 days.",
+ "request": {
+ "$ref": "UndeleteBucketRequest"
+ },
+ "httpMethod": "POST",
+ "parameters": {
+ "name": {
+ "required": true,
+ "type": "string",
+ "pattern": "^folders/[^/]+/locations/[^/]+/buckets/[^/]+$",
+ "description": "Required. The full resource name of the bucket to undelete. \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" For example:\"projects/my-project/locations/global/buckets/my-bucket\"",
+ "location": "path"
+ }
+ },
+ "response": {
+ "$ref": "Empty"
+ },
+ "path": "v2/{+name}:undelete",
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/logging.admin"
+ ],
+ "flatPath": "v2/folders/{foldersId}/locations/{locationsId}/buckets/{bucketsId}:undelete",
+ "parameterOrder": [
+ "name"
+ ]
+ },
+ "get": {
+ "description": "Gets a log bucket.",
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/cloud-platform.read-only",
+ "https://www.googleapis.com/auth/logging.admin",
+ "https://www.googleapis.com/auth/logging.read"
+ ],
+ "parameters": {
+ "name": {
+ "required": true,
+ "type": "string",
+ "location": "path",
+ "description": "Required. The resource name of the bucket: \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" For example:\"projects/my-project/locations/global/buckets/my-bucket\"",
+ "pattern": "^folders/[^/]+/locations/[^/]+/buckets/[^/]+$"
+ }
+ },
+ "httpMethod": "GET",
+ "flatPath": "v2/folders/{foldersId}/locations/{locationsId}/buckets/{bucketsId}",
+ "path": "v2/{+name}",
+ "response": {
+ "$ref": "LogBucket"
+ },
+ "parameterOrder": [
+ "name"
+ ],
+ "id": "logging.folders.locations.buckets.get"
+ },
+ "patch": {
+ "description": "Updates a log bucket.If the bucket has a lifecycle_state of DELETE_REQUESTED, then FAILED_PRECONDITION will be returned.After a bucket has been created, the bucket's location cannot be changed.",
+ "id": "logging.folders.locations.buckets.patch",
+ "parameters": {
+ "name": {
+ "required": true,
+ "description": "Required. The full resource name of the bucket to update. \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" For example:\"projects/my-project/locations/global/buckets/my-bucket\"",
+ "pattern": "^folders/[^/]+/locations/[^/]+/buckets/[^/]+$",
+ "location": "path",
+ "type": "string"
+ },
+ "updateMask": {
+ "description": "Required. Field mask that specifies the fields in bucket that need an update. A bucket field will be overwritten if, and only if, it is in the update mask. name and output only fields cannot be updated.For a detailed FieldMask definition, see: https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMaskFor example: updateMask=retention_days",
+ "location": "query",
+ "type": "string",
+ "format": "google-fieldmask"
+ }
+ },
+ "flatPath": "v2/folders/{foldersId}/locations/{locationsId}/buckets/{bucketsId}",
+ "path": "v2/{+name}",
+ "httpMethod": "PATCH",
+ "request": {
+ "$ref": "LogBucket"
+ },
+ "parameterOrder": [
+ "name"
+ ],
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/logging.admin"
+ ],
+ "response": {
+ "$ref": "LogBucket"
+ }
+ },
+ "delete": {
+ "description": "Deletes a log bucket.Changes the bucket's lifecycle_state to the DELETE_REQUESTED state. After 7 days, the bucket will be purged and all log entries in the bucket will be permanently deleted.",
+ "flatPath": "v2/folders/{foldersId}/locations/{locationsId}/buckets/{bucketsId}",
+ "response": {
+ "$ref": "Empty"
+ },
+ "parameterOrder": [
+ "name"
+ ],
+ "id": "logging.folders.locations.buckets.delete",
+ "path": "v2/{+name}",
+ "httpMethod": "DELETE",
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/logging.admin"
+ ],
+ "parameters": {
+ "name": {
+ "description": "Required. The full resource name of the bucket to delete. \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" For example:\"projects/my-project/locations/global/buckets/my-bucket\"",
+ "location": "path",
+ "required": true,
+ "pattern": "^folders/[^/]+/locations/[^/]+/buckets/[^/]+$",
+ "type": "string"
+ }
+ }
+ },
+ "create": {
+ "id": "logging.folders.locations.buckets.create",
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/logging.admin"
+ ],
+ "response": {
+ "$ref": "LogBucket"
+ },
+ "parameters": {
+ "parent": {
+ "location": "path",
+ "required": true,
+ "pattern": "^folders/[^/]+/locations/[^/]+$",
+ "type": "string",
+ "description": "Required. The resource in which to create the log bucket: \"projects/[PROJECT_ID]/locations/[LOCATION_ID]\" For example:\"projects/my-project/locations/global\""
+ },
+ "bucketId": {
+ "type": "string",
+ "location": "query",
+ "description": "Required. A client-assigned identifier such as \"my-bucket\". Identifiers are limited to 100 characters and can include only letters, digits, underscores, hyphens, and periods. Bucket identifiers must start with an alphanumeric character."
+ }
+ },
+ "parameterOrder": [
+ "parent"
+ ],
+ "httpMethod": "POST",
+ "path": "v2/{+parent}/buckets",
+ "flatPath": "v2/folders/{foldersId}/locations/{locationsId}/buckets",
+ "description": "Creates a log bucket that can be used to store log entries. After a bucket has been created, the bucket's location cannot be changed.",
+ "request": {
+ "$ref": "LogBucket"
+ }
+ }
+ }
+ },
+ "savedQueries": {
+ "methods": {
+ "patch": {
+ "id": "logging.folders.locations.savedQueries.patch",
+ "httpMethod": "PATCH",
+ "path": "v2/{+name}",
+ "description": "Updates an existing SavedQuery.",
+ "request": {
+ "$ref": "SavedQuery"
+ },
+ "flatPath": "v2/folders/{foldersId}/locations/{locationsId}/savedQueries/{savedQueriesId}",
+ "parameterOrder": [
+ "name"
+ ],
+ "response": {
+ "$ref": "SavedQuery"
+ },
+ "parameters": {
+ "name": {
+ "required": true,
+ "location": "path",
+ "description": "Output only. Resource name of the saved query.In the format: \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/savedQueries/[QUERY_ID]\" For a list of supported locations, see Supported Regions (https://cloud.google.com/logging/docs/region-support#bucket-regions)After the saved query is created, the location cannot be changed.If the user doesn't provide a QUERY_ID, the system will generate an alphanumeric ID.",
+ "type": "string",
+ "pattern": "^folders/[^/]+/locations/[^/]+/savedQueries/[^/]+$"
+ },
+ "updateMask": {
+ "location": "query",
+ "description": "Required. A non-empty list of fields to change in the existing saved query. Fields are relative to the saved_query and new values for the fields are taken from the corresponding fields in the SavedQuery included in this request. Fields not mentioned in update_mask are not changed and are ignored in the request.To update all mutable fields, specify an update_mask of *.For example, to change the description and query filter text of a saved query, specify an update_mask of \"description, query.filter\".",
+ "type": "string",
+ "format": "google-fieldmask"
+ }
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/logging.admin"
+ ]
+ },
+ "get": {
+ "flatPath": "v2/folders/{foldersId}/locations/{locationsId}/savedQueries/{savedQueriesId}",
+ "path": "v2/{+name}",
+ "httpMethod": "GET",
+ "description": "Returns all data associated with the requested query.",
+ "id": "logging.folders.locations.savedQueries.get",
+ "parameterOrder": [
+ "name"
+ ],
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/cloud-platform.read-only",
+ "https://www.googleapis.com/auth/logging.admin",
+ "https://www.googleapis.com/auth/logging.read"
+ ],
+ "response": {
+ "$ref": "SavedQuery"
+ },
+ "parameters": {
+ "name": {
+ "required": true,
+ "location": "path",
+ "description": "Required. The resource name of the saved query. \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/savedQueries/[QUERY_ID]\" \"organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/savedQueries/[QUERY_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/savedQueries/[QUERY_ID]\" \"folders/[FOLDER_ID]/locations/[LOCATION_ID]/savedQueries/[QUERY_ID]\" For example: \"projects/my-project/locations/global/savedQueries/my-saved-query\" ",
+ "type": "string",
+ "pattern": "^folders/[^/]+/locations/[^/]+/savedQueries/[^/]+$"
+ }
+ }
+ },
+ "create": {
+ "parameterOrder": [
+ "parent"
+ ],
+ "request": {
+ "$ref": "SavedQuery"
+ },
+ "response": {
+ "$ref": "SavedQuery"
+ },
+ "path": "v2/{+parent}/savedQueries",
+ "httpMethod": "POST",
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/logging.admin"
+ ],
+ "flatPath": "v2/folders/{foldersId}/locations/{locationsId}/savedQueries",
+ "description": "Creates a new SavedQuery for the user making the request.",
+ "parameters": {
+ "parent": {
+ "pattern": "^folders/[^/]+/locations/[^/]+$",
+ "type": "string",
+ "required": true,
+ "description": "Required. The parent resource in which to create the saved query: \"projects/[PROJECT_ID]/locations/[LOCATION_ID]\" \"organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]\" \"folders/[FOLDER_ID]/locations/[LOCATION_ID]\" For example: \"projects/my-project/locations/global\" \"organizations/123456789/locations/us-central1\" ",
+ "location": "path"
+ },
+ "savedQueryId": {
+ "location": "query",
+ "description": "Optional. The ID to use for the saved query, which will become the final component of the saved query's resource name.If the saved_query_id is not provided, the system will generate an alphanumeric ID.The saved_query_id is limited to 100 characters and can include only the following characters: upper and lower-case alphanumeric characters, underscores, hyphens, periods.First character has to be alphanumeric.",
+ "type": "string"
+ }
+ },
+ "id": "logging.folders.locations.savedQueries.create"
+ },
+ "delete": {
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/logging.admin"
+ ],
+ "path": "v2/{+name}",
+ "flatPath": "v2/folders/{foldersId}/locations/{locationsId}/savedQueries/{savedQueriesId}",
+ "parameters": {
+ "name": {
+ "required": true,
+ "location": "path",
+ "description": "Required. The full resource name of the saved query to delete. \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/savedQueries/[QUERY_ID]\" \"organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/savedQueries/[QUERY_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/savedQueries/[QUERY_ID]\" \"folders/[FOLDER_ID]/locations/[LOCATION_ID]/savedQueries/[QUERY_ID]\" For example: \"projects/my-project/locations/global/savedQueries/my-saved-query\" ",
+ "pattern": "^folders/[^/]+/locations/[^/]+/savedQueries/[^/]+$",
+ "type": "string"
+ }
+ },
+ "httpMethod": "DELETE",
+ "id": "logging.folders.locations.savedQueries.delete",
+ "response": {
+ "$ref": "Empty"
+ },
+ "parameterOrder": [
+ "name"
+ ],
+ "description": "Deletes an existing SavedQuery that was created by the user making the request."
+ },
+ "list": {
+ "path": "v2/{+parent}/savedQueries",
+ "description": "Lists the SavedQueries that were created by the user making the request.",
+ "parameterOrder": [
+ "parent"
+ ],
+ "response": {
+ "$ref": "ListSavedQueriesResponse"
+ },
+ "parameters": {
+ "pageToken": {
+ "description": "Optional. If present, then retrieve the next batch of results from the preceding call to this method. pageToken must be the value of nextPageToken from the previous response. The values of other method parameters should be identical to those in the previous call.",
+ "location": "query",
+ "type": "string"
+ },
+ "pageSize": {
+ "type": "integer",
+ "description": "Optional. The maximum number of results to return from this request.Non-positive values are ignored. The presence of nextPageToken in the response indicates that more results might be available.",
+ "location": "query",
+ "format": "int32"
+ },
+ "filter": {
+ "location": "query",
+ "description": "Optional. Specifies the type (\"Logging\" or \"OpsAnalytics\") and the visibility (PRIVATE or SHARED) of the saved queries to list. If provided, the filter must contain either the type function or a visibility token, or both. If both are chosen, they can be placed in any order, but they must be joined by the AND operator or the empty character.The two supported type function calls are: type(\"Logging\") type(\"OpsAnalytics\")The two supported visibility tokens are: visibility = PRIVATE visibility = SHAREDFor example:type(\"Logging\") AND visibility = PRIVATE visibility=SHARED type(\"OpsAnalytics\") type(\"OpsAnalytics)\" visibility = PRIVATE visibility = SHARED",
+ "type": "string"
+ },
+ "parent": {
+ "description": "Required. The resource to which the listed queries belong. \"projects/[PROJECT_ID]/locations/[LOCATION_ID]\" \"organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]\" \"folders/[FOLDER_ID]/locations/[LOCATION_ID]\" For example: \"projects/my-project/locations/us-central1\" Note: The locations portion of the resource must be specified. To get a list of all saved queries, a wildcard character - can be used for LOCATION_ID, for example: \"projects/my-project/locations/-\" ",
+ "type": "string",
+ "required": true,
+ "pattern": "^folders/[^/]+/locations/[^/]+$",
+ "location": "path"
+ }
+ },
+ "flatPath": "v2/folders/{foldersId}/locations/{locationsId}/savedQueries",
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/cloud-platform.read-only",
+ "https://www.googleapis.com/auth/logging.admin",
+ "https://www.googleapis.com/auth/logging.read"
+ ],
+ "id": "logging.folders.locations.savedQueries.list",
+ "httpMethod": "GET"
+ }
+ }
+ }
+ }
+ },
+ "sinks": {
+ "methods": {
+ "patch": {
+ "httpMethod": "PATCH",
+ "path": "v2/{+sinkName}",
+ "description": "Updates a sink. This method replaces the values of the destination and filter fields of the existing sink with the corresponding values from the new sink.The updated sink might also have a new writer_identity; see the unique_writer_identity field.",
+ "id": "logging.folders.sinks.patch",
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/logging.admin"
+ ],
+ "request": {
+ "$ref": "LogSink"
+ },
+ "flatPath": "v2/folders/{foldersId}/sinks/{sinksId}",
+ "parameterOrder": [
+ "sinkName"
+ ],
+ "parameters": {
+ "updateMask": {
+ "description": "Optional. Field mask that specifies the fields in sink that need an update. A sink field will be overwritten if, and only if, it is in the update mask. name and output only fields cannot be updated.An empty updateMask is temporarily treated as using the following mask for backwards compatibility purposes:destination,filter,includeChildrenAt some point in the future, behavior will be removed and specifying an empty updateMask will be an error.For a detailed FieldMask definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMaskFor example: updateMask=filter",
+ "type": "string",
+ "location": "query",
+ "format": "google-fieldmask"
+ },
+ "uniqueWriterIdentity": {
+ "type": "boolean",
+ "description": "Optional. See sinks.create for a description of this field. When updating a sink, the effect of this field on the value of writer_identity in the updated sink depends on both the old and new values of this field: If the old and new values of this field are both false or both true, then there is no change to the sink's writer_identity. If the old value is false and the new value is true, then writer_identity is changed to a service agent (https://cloud.google.com/iam/docs/service-account-types#service-agents) owned by Cloud Logging. It is an error if the old value is true and the new value is set to false or defaulted to false.",
+ "location": "query"
+ },
+ "sinkName": {
+ "required": true,
+ "location": "path",
+ "pattern": "^folders/[^/]+/sinks/[^/]+$",
+ "type": "string",
+ "description": "Required. The full resource name of the sink to update, including the parent resource and the sink identifier: \"projects/[PROJECT_ID]/sinks/[SINK_ID]\" \"organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]\" \"folders/[FOLDER_ID]/sinks/[SINK_ID]\" For example:\"projects/my-project/sinks/my-sink\""
+ },
+ "customWriterIdentity": {
+ "type": "string",
+ "description": "Optional. The service account provided by the caller that will be used to write the log entries. The format must be serviceAccount:some@email. This field can only be specified when you are routing logs to a log bucket that is in a different project than the sink. When not specified, a Logging service account will automatically be generated.",
+ "location": "query"
+ }
+ },
+ "response": {
+ "$ref": "LogSink"
+ }
+ },
+ "delete": {
+ "description": "Deletes a sink. If the sink has a unique writer_identity, then that service account is also deleted.",
+ "parameterOrder": [
+ "sinkName"
+ ],
+ "parameters": {
+ "sinkName": {
+ "pattern": "^folders/[^/]+/sinks/[^/]+$",
+ "description": "Required. The full resource name of the sink to delete, including the parent resource and the sink identifier: \"projects/[PROJECT_ID]/sinks/[SINK_ID]\" \"organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]\" \"folders/[FOLDER_ID]/sinks/[SINK_ID]\" For example:\"projects/my-project/sinks/my-sink\"",
+ "type": "string",
+ "required": true,
+ "location": "path"
+ }
+ },
+ "path": "v2/{+sinkName}",
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/logging.admin"
+ ],
+ "httpMethod": "DELETE",
+ "response": {
+ "$ref": "Empty"
+ },
+ "flatPath": "v2/folders/{foldersId}/sinks/{sinksId}",
+ "id": "logging.folders.sinks.delete"
+ },
+ "list": {
+ "path": "v2/{+parent}/sinks",
+ "parameters": {
+ "parent": {
+ "location": "path",
+ "required": true,
+ "description": "Required. The parent resource whose sinks are to be listed: \"projects/[PROJECT_ID]\" \"organizations/[ORGANIZATION_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]\" \"folders/[FOLDER_ID]\" ",
+ "type": "string",
+ "pattern": "^folders/[^/]+$"
+ },
+ "pageToken": {
+ "location": "query",
+ "description": "Optional. If present, then retrieve the next batch of results from the preceding call to this method. pageToken must be the value of nextPageToken from the previous response. The values of other method parameters should be identical to those in the previous call.",
+ "type": "string"
+ },
+ "filter": {
+ "location": "query",
+ "type": "string",
+ "description": "Optional. A filter expression to constrain the sinks returned. Today, this only supports the following strings: '' 'in_scope(\"ALL\")', 'in_scope(\"ANCESTOR\")', 'in_scope(\"DEFAULT\")'.Description of scopes below. ALL: Includes all of the sinks which can be returned in any other scope. ANCESTOR: Includes intercepting sinks owned by ancestor resources. DEFAULT: Includes sinks owned by parent.When the empty string is provided, then the filter 'in_scope(\"DEFAULT\")' is applied."
+ },
+ "pageSize": {
+ "type": "integer",
+ "location": "query",
+ "format": "int32",
+ "description": "Optional. The maximum number of results to return from this request. Non-positive values are ignored. The presence of nextPageToken in the response indicates that more results might be available."
+ }
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/cloud-platform.read-only",
+ "https://www.googleapis.com/auth/logging.admin",
+ "https://www.googleapis.com/auth/logging.read"
+ ],
+ "response": {
+ "$ref": "ListSinksResponse"
+ },
+ "id": "logging.folders.sinks.list",
+ "flatPath": "v2/folders/{foldersId}/sinks",
+ "parameterOrder": [
+ "parent"
+ ],
+ "description": "Lists sinks.",
+ "httpMethod": "GET"
+ },
+ "create": {
+ "id": "logging.folders.sinks.create",
+ "path": "v2/{+parent}/sinks",
+ "parameterOrder": [
+ "parent"
+ ],
+ "response": {
+ "$ref": "LogSink"
+ },
+ "flatPath": "v2/folders/{foldersId}/sinks",
+ "parameters": {
+ "parent": {
+ "required": true,
+ "type": "string",
+ "location": "path",
+ "pattern": "^folders/[^/]+$",
+ "description": "Required. The resource in which to create the sink: \"projects/[PROJECT_ID]\" \"organizations/[ORGANIZATION_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]\" \"folders/[FOLDER_ID]\" For examples:\"projects/my-project\" \"organizations/123456789\""
+ },
+ "uniqueWriterIdentity": {
+ "type": "boolean",
+ "location": "query",
+ "description": "Optional. Determines the kind of IAM identity returned as writer_identity in the new sink. If this value is omitted or set to false, and if the sink's parent is a project, then the value returned as writer_identity is the same group or service account used by Cloud Logging before the addition of writer identities to this API. The sink's destination must be in the same project as the sink itself.If this field is set to true, or if the sink is owned by a non-project resource such as an organization, then the value of writer_identity will be a service agent (https://cloud.google.com/iam/docs/service-account-types#service-agents) used by the sinks with the same parent. For more information, see writer_identity in LogSink."
+ },
+ "customWriterIdentity": {
+ "location": "query",
+ "description": "Optional. The service account provided by the caller that will be used to write the log entries. The format must be serviceAccount:some@email. This field can only be specified when you are routing logs to a log bucket that is in a different project than the sink. When not specified, a Logging service account will automatically be generated.",
+ "type": "string"
+ }
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/logging.admin"
+ ],
+ "httpMethod": "POST",
+ "request": {
+ "$ref": "LogSink"
+ },
+ "description": "Creates a sink that exports specified log entries to a destination. The export begins upon ingress, unless the sink's writer_identity is not permitted to write to the destination. A sink can export log entries only from the resource owning the sink."
+ },
+ "get": {
+ "path": "v2/{+sinkName}",
+ "id": "logging.folders.sinks.get",
+ "httpMethod": "GET",
+ "parameterOrder": [
+ "sinkName"
+ ],
+ "flatPath": "v2/folders/{foldersId}/sinks/{sinksId}",
+ "description": "Gets a sink.",
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/cloud-platform.read-only",
+ "https://www.googleapis.com/auth/logging.admin",
+ "https://www.googleapis.com/auth/logging.read"
+ ],
+ "response": {
+ "$ref": "LogSink"
+ },
+ "parameters": {
+ "sinkName": {
+ "description": "Required. The resource name of the sink: \"projects/[PROJECT_ID]/sinks/[SINK_ID]\" \"organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]\" \"folders/[FOLDER_ID]/sinks/[SINK_ID]\" For example:\"projects/my-project/sinks/my-sink\"",
+ "required": true,
+ "location": "path",
+ "type": "string",
+ "pattern": "^folders/[^/]+/sinks/[^/]+$"
+ }
+ }
+ },
+ "update": {
+ "parameters": {
+ "sinkName": {
+ "type": "string",
+ "required": true,
+ "location": "path",
+ "description": "Required. The full resource name of the sink to update, including the parent resource and the sink identifier: \"projects/[PROJECT_ID]/sinks/[SINK_ID]\" \"organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]\" \"folders/[FOLDER_ID]/sinks/[SINK_ID]\" For example:\"projects/my-project/sinks/my-sink\"",
+ "pattern": "^folders/[^/]+/sinks/[^/]+$"
+ },
+ "updateMask": {
+ "description": "Optional. Field mask that specifies the fields in sink that need an update. A sink field will be overwritten if, and only if, it is in the update mask. name and output only fields cannot be updated.An empty updateMask is temporarily treated as using the following mask for backwards compatibility purposes:destination,filter,includeChildrenAt some point in the future, behavior will be removed and specifying an empty updateMask will be an error.For a detailed FieldMask definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMaskFor example: updateMask=filter",
+ "format": "google-fieldmask",
+ "location": "query",
+ "type": "string"
+ },
+ "customWriterIdentity": {
+ "location": "query",
+ "type": "string",
+ "description": "Optional. The service account provided by the caller that will be used to write the log entries. The format must be serviceAccount:some@email. This field can only be specified when you are routing logs to a log bucket that is in a different project than the sink. When not specified, a Logging service account will automatically be generated."
+ },
+ "uniqueWriterIdentity": {
+ "location": "query",
+ "type": "boolean",
+ "description": "Optional. See sinks.create for a description of this field. When updating a sink, the effect of this field on the value of writer_identity in the updated sink depends on both the old and new values of this field: If the old and new values of this field are both false or both true, then there is no change to the sink's writer_identity. If the old value is false and the new value is true, then writer_identity is changed to a service agent (https://cloud.google.com/iam/docs/service-account-types#service-agents) owned by Cloud Logging. It is an error if the old value is true and the new value is set to false or defaulted to false."
+ }
+ },
+ "path": "v2/{+sinkName}",
+ "flatPath": "v2/folders/{foldersId}/sinks/{sinksId}",
+ "parameterOrder": [
+ "sinkName"
+ ],
+ "id": "logging.folders.sinks.update",
+ "response": {
+ "$ref": "LogSink"
+ },
+ "request": {
+ "$ref": "LogSink"
+ },
+ "httpMethod": "PUT",
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/logging.admin"
+ ],
+ "description": "Updates a sink. This method replaces the values of the destination and filter fields of the existing sink with the corresponding values from the new sink.The updated sink might also have a new writer_identity; see the unique_writer_identity field."
+ }
+ }
+ }
+ }
+ },
+ "organizations": {
+ "resources": {
+ "sinks": {
+ "methods": {
+ "list": {
+ "response": {
+ "$ref": "ListSinksResponse"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/cloud-platform.read-only",
+ "https://www.googleapis.com/auth/logging.admin",
+ "https://www.googleapis.com/auth/logging.read"
+ ],
+ "httpMethod": "GET",
+ "path": "v2/{+parent}/sinks",
+ "parameters": {
+ "pageToken": {
+ "description": "Optional. If present, then retrieve the next batch of results from the preceding call to this method. pageToken must be the value of nextPageToken from the previous response. The values of other method parameters should be identical to those in the previous call.",
+ "type": "string",
+ "location": "query"
+ },
+ "parent": {
+ "required": true,
+ "pattern": "^organizations/[^/]+$",
+ "location": "path",
+ "type": "string",
+ "description": "Required. The parent resource whose sinks are to be listed: \"projects/[PROJECT_ID]\" \"organizations/[ORGANIZATION_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]\" \"folders/[FOLDER_ID]\" "
+ },
+ "pageSize": {
+ "description": "Optional. The maximum number of results to return from this request. Non-positive values are ignored. The presence of nextPageToken in the response indicates that more results might be available.",
+ "location": "query",
+ "type": "integer",
+ "format": "int32"
+ },
+ "filter": {
+ "type": "string",
+ "description": "Optional. A filter expression to constrain the sinks returned. Today, this only supports the following strings: '' 'in_scope(\"ALL\")', 'in_scope(\"ANCESTOR\")', 'in_scope(\"DEFAULT\")'.Description of scopes below. ALL: Includes all of the sinks which can be returned in any other scope. ANCESTOR: Includes intercepting sinks owned by ancestor resources. DEFAULT: Includes sinks owned by parent.When the empty string is provided, then the filter 'in_scope(\"DEFAULT\")' is applied.",
+ "location": "query"
+ }
+ },
+ "description": "Lists sinks.",
+ "parameterOrder": [
+ "parent"
+ ],
+ "id": "logging.organizations.sinks.list",
+ "flatPath": "v2/organizations/{organizationsId}/sinks"
+ },
+ "update": {
+ "parameterOrder": [
+ "sinkName"
+ ],
+ "response": {
+ "$ref": "LogSink"
+ },
+ "description": "Updates a sink. This method replaces the values of the destination and filter fields of the existing sink with the corresponding values from the new sink.The updated sink might also have a new writer_identity; see the unique_writer_identity field.",
+ "id": "logging.organizations.sinks.update",
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/logging.admin"
+ ],
+ "path": "v2/{+sinkName}",
+ "flatPath": "v2/organizations/{organizationsId}/sinks/{sinksId}",
+ "parameters": {
+ "sinkName": {
+ "location": "path",
+ "pattern": "^organizations/[^/]+/sinks/[^/]+$",
+ "description": "Required. The full resource name of the sink to update, including the parent resource and the sink identifier: \"projects/[PROJECT_ID]/sinks/[SINK_ID]\" \"organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]\" \"folders/[FOLDER_ID]/sinks/[SINK_ID]\" For example:\"projects/my-project/sinks/my-sink\"",
+ "required": true,
+ "type": "string"
+ },
+ "uniqueWriterIdentity": {
+ "type": "boolean",
+ "location": "query",
+ "description": "Optional. See sinks.create for a description of this field. When updating a sink, the effect of this field on the value of writer_identity in the updated sink depends on both the old and new values of this field: If the old and new values of this field are both false or both true, then there is no change to the sink's writer_identity. If the old value is false and the new value is true, then writer_identity is changed to a service agent (https://cloud.google.com/iam/docs/service-account-types#service-agents) owned by Cloud Logging. It is an error if the old value is true and the new value is set to false or defaulted to false."
+ },
+ "customWriterIdentity": {
+ "description": "Optional. The service account provided by the caller that will be used to write the log entries. The format must be serviceAccount:some@email. This field can only be specified when you are routing logs to a log bucket that is in a different project than the sink. When not specified, a Logging service account will automatically be generated.",
+ "location": "query",
+ "type": "string"
+ },
+ "updateMask": {
+ "type": "string",
+ "format": "google-fieldmask",
+ "description": "Optional. Field mask that specifies the fields in sink that need an update. A sink field will be overwritten if, and only if, it is in the update mask. name and output only fields cannot be updated.An empty updateMask is temporarily treated as using the following mask for backwards compatibility purposes:destination,filter,includeChildrenAt some point in the future, behavior will be removed and specifying an empty updateMask will be an error.For a detailed FieldMask definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMaskFor example: updateMask=filter",
+ "location": "query"
+ }
+ },
+ "request": {
+ "$ref": "LogSink"
+ },
+ "httpMethod": "PUT"
+ },
+ "get": {
+ "parameters": {
+ "sinkName": {
+ "location": "path",
+ "description": "Required. The resource name of the sink: \"projects/[PROJECT_ID]/sinks/[SINK_ID]\" \"organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]\" \"folders/[FOLDER_ID]/sinks/[SINK_ID]\" For example:\"projects/my-project/sinks/my-sink\"",
+ "pattern": "^organizations/[^/]+/sinks/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "parameterOrder": [
+ "sinkName"
+ ],
+ "path": "v2/{+sinkName}",
+ "httpMethod": "GET",
+ "flatPath": "v2/organizations/{organizationsId}/sinks/{sinksId}",
+ "response": {
+ "$ref": "LogSink"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/cloud-platform.read-only",
+ "https://www.googleapis.com/auth/logging.admin",
+ "https://www.googleapis.com/auth/logging.read"
+ ],
+ "description": "Gets a sink.",
+ "id": "logging.organizations.sinks.get"
+ },
+ "delete": {
+ "parameters": {
+ "sinkName": {
+ "required": true,
+ "description": "Required. The full resource name of the sink to delete, including the parent resource and the sink identifier: \"projects/[PROJECT_ID]/sinks/[SINK_ID]\" \"organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]\" \"folders/[FOLDER_ID]/sinks/[SINK_ID]\" For example:\"projects/my-project/sinks/my-sink\"",
+ "location": "path",
+ "pattern": "^organizations/[^/]+/sinks/[^/]+$",
+ "type": "string"
+ }
+ },
+ "httpMethod": "DELETE",
+ "id": "logging.organizations.sinks.delete",
+ "flatPath": "v2/organizations/{organizationsId}/sinks/{sinksId}",
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/logging.admin"
+ ],
+ "parameterOrder": [
+ "sinkName"
+ ],
+ "description": "Deletes a sink. If the sink has a unique writer_identity, then that service account is also deleted.",
+ "path": "v2/{+sinkName}",
+ "response": {
+ "$ref": "Empty"
+ }
+ },
+ "create": {
+ "parameters": {
+ "uniqueWriterIdentity": {
+ "location": "query",
+ "description": "Optional. Determines the kind of IAM identity returned as writer_identity in the new sink. If this value is omitted or set to false, and if the sink's parent is a project, then the value returned as writer_identity is the same group or service account used by Cloud Logging before the addition of writer identities to this API. The sink's destination must be in the same project as the sink itself.If this field is set to true, or if the sink is owned by a non-project resource such as an organization, then the value of writer_identity will be a service agent (https://cloud.google.com/iam/docs/service-account-types#service-agents) used by the sinks with the same parent. For more information, see writer_identity in LogSink.",
+ "type": "boolean"
+ },
+ "parent": {
+ "type": "string",
+ "pattern": "^organizations/[^/]+$",
+ "required": true,
+ "description": "Required. The resource in which to create the sink: \"projects/[PROJECT_ID]\" \"organizations/[ORGANIZATION_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]\" \"folders/[FOLDER_ID]\" For examples:\"projects/my-project\" \"organizations/123456789\"",
+ "location": "path"
+ },
+ "customWriterIdentity": {
+ "location": "query",
+ "type": "string",
+ "description": "Optional. The service account provided by the caller that will be used to write the log entries. The format must be serviceAccount:some@email. This field can only be specified when you are routing logs to a log bucket that is in a different project than the sink. When not specified, a Logging service account will automatically be generated."
+ }
+ },
+ "httpMethod": "POST",
+ "request": {
+ "$ref": "LogSink"
+ },
+ "description": "Creates a sink that exports specified log entries to a destination. The export begins upon ingress, unless the sink's writer_identity is not permitted to write to the destination. A sink can export log entries only from the resource owning the sink.",
+ "id": "logging.organizations.sinks.create",
+ "flatPath": "v2/organizations/{organizationsId}/sinks",
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/logging.admin"
+ ],
+ "parameterOrder": [
+ "parent"
+ ],
+ "path": "v2/{+parent}/sinks",
+ "response": {
+ "$ref": "LogSink"
+ }
+ },
+ "patch": {
+ "parameterOrder": [
+ "sinkName"
+ ],
+ "flatPath": "v2/organizations/{organizationsId}/sinks/{sinksId}",
+ "description": "Updates a sink. This method replaces the values of the destination and filter fields of the existing sink with the corresponding values from the new sink.The updated sink might also have a new writer_identity; see the unique_writer_identity field.",
+ "httpMethod": "PATCH",
+ "path": "v2/{+sinkName}",
+ "response": {
+ "$ref": "LogSink"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/logging.admin"
+ ],
+ "parameters": {
+ "sinkName": {
+ "location": "path",
+ "required": true,
+ "description": "Required. The full resource name of the sink to update, including the parent resource and the sink identifier: \"projects/[PROJECT_ID]/sinks/[SINK_ID]\" \"organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]\" \"folders/[FOLDER_ID]/sinks/[SINK_ID]\" For example:\"projects/my-project/sinks/my-sink\"",
+ "pattern": "^organizations/[^/]+/sinks/[^/]+$",
+ "type": "string"
+ },
+ "updateMask": {
+ "description": "Optional. Field mask that specifies the fields in sink that need an update. A sink field will be overwritten if, and only if, it is in the update mask. name and output only fields cannot be updated.An empty updateMask is temporarily treated as using the following mask for backwards compatibility purposes:destination,filter,includeChildrenAt some point in the future, behavior will be removed and specifying an empty updateMask will be an error.For a detailed FieldMask definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMaskFor example: updateMask=filter",
+ "format": "google-fieldmask",
+ "location": "query",
+ "type": "string"
+ },
+ "uniqueWriterIdentity": {
+ "description": "Optional. See sinks.create for a description of this field. When updating a sink, the effect of this field on the value of writer_identity in the updated sink depends on both the old and new values of this field: If the old and new values of this field are both false or both true, then there is no change to the sink's writer_identity. If the old value is false and the new value is true, then writer_identity is changed to a service agent (https://cloud.google.com/iam/docs/service-account-types#service-agents) owned by Cloud Logging. It is an error if the old value is true and the new value is set to false or defaulted to false.",
+ "location": "query",
+ "type": "boolean"
+ },
+ "customWriterIdentity": {
+ "description": "Optional. The service account provided by the caller that will be used to write the log entries. The format must be serviceAccount:some@email. This field can only be specified when you are routing logs to a log bucket that is in a different project than the sink. When not specified, a Logging service account will automatically be generated.",
+ "location": "query",
+ "type": "string"
+ }
+ },
+ "request": {
+ "$ref": "LogSink"
+ },
+ "id": "logging.organizations.sinks.patch"
+ }
+ }
+ },
+ "exclusions": {
+ "methods": {
+ "list": {
+ "flatPath": "v2/organizations/{organizationsId}/exclusions",
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/cloud-platform.read-only",
+ "https://www.googleapis.com/auth/logging.admin",
+ "https://www.googleapis.com/auth/logging.read"
+ ],
+ "parameterOrder": [
+ "parent"
+ ],
+ "parameters": {
+ "parent": {
+ "location": "path",
+ "pattern": "^organizations/[^/]+$",
+ "type": "string",
+ "required": true,
+ "description": "Required. The parent resource whose exclusions are to be listed. \"projects/[PROJECT_ID]\" \"organizations/[ORGANIZATION_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]\" \"folders/[FOLDER_ID]\" "
+ },
+ "pageToken": {
+ "type": "string",
+ "location": "query",
+ "description": "Optional. If present, then retrieve the next batch of results from the preceding call to this method. pageToken must be the value of nextPageToken from the previous response. The values of other method parameters should be identical to those in the previous call."
+ },
+ "pageSize": {
+ "format": "int32",
+ "description": "Optional. The maximum number of results to return from this request. Non-positive values are ignored. The presence of nextPageToken in the response indicates that more results might be available.",
+ "location": "query",
+ "type": "integer"
+ }
+ },
+ "id": "logging.organizations.exclusions.list",
+ "httpMethod": "GET",
+ "path": "v2/{+parent}/exclusions",
+ "response": {
+ "$ref": "ListExclusionsResponse"
+ },
+ "description": "Lists all the exclusions on the _Default sink in a parent resource."
+ },
+ "patch": {
+ "parameters": {
+ "name": {
+ "description": "Required. The resource name of the exclusion to update: \"projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]\" \"organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]\" \"folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]\" For example:\"projects/my-project/exclusions/my-exclusion\"",
+ "type": "string",
+ "required": true,
+ "location": "path",
+ "pattern": "^organizations/[^/]+/exclusions/[^/]+$"
+ },
+ "updateMask": {
+ "format": "google-fieldmask",
+ "description": "Required. A non-empty list of fields to change in the existing exclusion. New values for the fields are taken from the corresponding fields in the LogExclusion included in this request. Fields not mentioned in update_mask are not changed and are ignored in the request.For example, to change the filter and description of an exclusion, specify an update_mask of \"filter,description\".",
+ "location": "query",
+ "type": "string"
+ }
+ },
+ "parameterOrder": [
+ "name"
+ ],
+ "description": "Changes one or more properties of an existing exclusion in the _Default sink.",
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/logging.admin"
+ ],
+ "id": "logging.organizations.exclusions.patch",
+ "path": "v2/{+name}",
+ "httpMethod": "PATCH",
+ "flatPath": "v2/organizations/{organizationsId}/exclusions/{exclusionsId}",
+ "request": {
+ "$ref": "LogExclusion"
+ },
+ "response": {
+ "$ref": "LogExclusion"
+ }
+ },
+ "create": {
+ "httpMethod": "POST",
+ "description": "Creates a new exclusion in the _Default sink in a specified parent resource. Only log entries belonging to that resource can be excluded. You can have up to 10 exclusions in a resource.",
+ "parameterOrder": [
+ "parent"
+ ],
+ "request": {
+ "$ref": "LogExclusion"
+ },
+ "path": "v2/{+parent}/exclusions",
+ "parameters": {
+ "parent": {
+ "location": "path",
+ "pattern": "^organizations/[^/]+$",
+ "type": "string",
+ "description": "Required. The parent resource in which to create the exclusion: \"projects/[PROJECT_ID]\" \"organizations/[ORGANIZATION_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]\" \"folders/[FOLDER_ID]\" For examples:\"projects/my-logging-project\" \"organizations/123456789\"",
+ "required": true
+ }
+ },
+ "id": "logging.organizations.exclusions.create",
+ "response": {
+ "$ref": "LogExclusion"
+ },
+ "flatPath": "v2/organizations/{organizationsId}/exclusions",
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/logging.admin"
+ ]
+ },
+ "delete": {
+ "flatPath": "v2/organizations/{organizationsId}/exclusions/{exclusionsId}",
+ "httpMethod": "DELETE",
+ "id": "logging.organizations.exclusions.delete",
+ "parameterOrder": [
+ "name"
+ ],
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/logging.admin"
+ ],
+ "parameters": {
+ "name": {
+ "description": "Required. The resource name of an existing exclusion to delete: \"projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]\" \"organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]\" \"folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]\" For example:\"projects/my-project/exclusions/my-exclusion\"",
+ "pattern": "^organizations/[^/]+/exclusions/[^/]+$",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "description": "Deletes an exclusion in the _Default sink.",
+ "path": "v2/{+name}",
+ "response": {
+ "$ref": "Empty"
+ }
+ },
+ "get": {
+ "description": "Gets the description of an exclusion in the _Default sink.",
+ "parameterOrder": [
+ "name"
+ ],
+ "flatPath": "v2/organizations/{organizationsId}/exclusions/{exclusionsId}",
+ "parameters": {
+ "name": {
+ "location": "path",
+ "pattern": "^organizations/[^/]+/exclusions/[^/]+$",
+ "required": true,
+ "type": "string",
+ "description": "Required. The resource name of an existing exclusion: \"projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]\" \"organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]\" \"folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]\" For example:\"projects/my-project/exclusions/my-exclusion\""
+ }
+ },
+ "id": "logging.organizations.exclusions.get",
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/cloud-platform.read-only",
+ "https://www.googleapis.com/auth/logging.admin",
+ "https://www.googleapis.com/auth/logging.read"
+ ],
+ "httpMethod": "GET",
+ "response": {
+ "$ref": "LogExclusion"
+ },
+ "path": "v2/{+name}"
+ }
+ }
+ },
+ "logs": {
+ "methods": {
+ "delete": {
+ "path": "v2/{+logName}",
+ "response": {
+ "$ref": "Empty"
+ },
+ "flatPath": "v2/organizations/{organizationsId}/logs/{logsId}",
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/logging.admin"
+ ],
+ "id": "logging.organizations.logs.delete",
+ "parameters": {
+ "logName": {
+ "pattern": "^organizations/[^/]+/logs/[^/]+$",
+ "type": "string",
+ "location": "path",
+ "description": "Required. The resource name of the log to delete: projects/[PROJECT_ID]/logs/[LOG_ID] organizations/[ORGANIZATION_ID]/logs/[LOG_ID] billingAccounts/[BILLING_ACCOUNT_ID]/logs/[LOG_ID] folders/[FOLDER_ID]/logs/[LOG_ID][LOG_ID] must be URL-encoded. For example, \"projects/my-project-id/logs/syslog\", \"organizations/123/logs/cloudaudit.googleapis.com%2Factivity\".For more information about log names, see LogEntry.",
+ "required": true
+ }
+ },
+ "parameterOrder": [
+ "logName"
+ ],
+ "httpMethod": "DELETE",
+ "description": "Deletes all the log entries in a log for the global _Default Log Bucket. The log reappears if it receives new entries. Log entries written shortly before the delete operation might not be deleted. Entries received after the delete operation with a timestamp before the operation will be deleted."
+ },
+ "list": {
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/cloud-platform.read-only",
+ "https://www.googleapis.com/auth/logging.admin",
+ "https://www.googleapis.com/auth/logging.read"
+ ],
+ "id": "logging.organizations.logs.list",
+ "flatPath": "v2/organizations/{organizationsId}/logs",
+ "httpMethod": "GET",
+ "parameters": {
+ "parent": {
+ "pattern": "^organizations/[^/]+$",
+ "location": "path",
+ "description": "Required. The resource name to list logs for: projects/[PROJECT_ID] organizations/[ORGANIZATION_ID] billingAccounts/[BILLING_ACCOUNT_ID] folders/[FOLDER_ID]",
+ "type": "string",
+ "required": true
+ },
+ "resourceNames": {
+ "location": "query",
+ "description": "Optional. List of resource names to list logs for: projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID] organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID] billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID] folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]To support legacy queries, it could also be: projects/[PROJECT_ID] organizations/[ORGANIZATION_ID] billingAccounts/[BILLING_ACCOUNT_ID] folders/[FOLDER_ID]The resource name in the parent field is added to this list.",
+ "repeated": true,
+ "type": "string"
+ },
+ "pageToken": {
+ "location": "query",
+ "type": "string",
+ "description": "Optional. If present, then retrieve the next batch of results from the preceding call to this method. pageToken must be the value of nextPageToken from the previous response. The values of other method parameters should be identical to those in the previous call."
+ },
+ "pageSize": {
+ "location": "query",
+ "format": "int32",
+ "description": "Optional. The maximum number of results to return from this request. Non-positive values are ignored. The presence of nextPageToken in the response indicates that more results might be available.",
+ "type": "integer"
+ }
+ },
+ "parameterOrder": [
+ "parent"
+ ],
+ "description": "Lists the logs in projects, organizations, folders, or billing accounts. Only logs that have entries are listed.",
+ "path": "v2/{+parent}/logs",
+ "response": {
+ "$ref": "ListLogsResponse"
+ }
+ }
+ }
+ },
+ "locations": {
+ "resources": {
+ "recentQueries": {
+ "methods": {
+ "list": {
+ "parameterOrder": [
+ "parent"
+ ],
+ "id": "logging.organizations.locations.recentQueries.list",
+ "path": "v2/{+parent}/recentQueries",
+ "httpMethod": "GET",
+ "description": "Lists the RecentQueries that were created by the user making the request.",
+ "parameters": {
+ "filter": {
+ "description": "Optional. Specifies the type (\"Logging\" or \"OpsAnalytics\") of the recent queries to list. The only valid value for this field is one of the two allowable type function calls, which are the following: type(\"Logging\") type(\"OpsAnalytics\")",
+ "type": "string",
+ "location": "query"
+ },
+ "pageSize": {
+ "description": "Optional. The maximum number of results to return from this request. Non-positive values are ignored. The presence of nextPageToken in the response indicates that more results might be available.",
+ "format": "int32",
+ "location": "query",
+ "type": "integer"
+ },
+ "parent": {
+ "location": "path",
+ "pattern": "^organizations/[^/]+/locations/[^/]+$",
+ "required": true,
+ "description": "Required. The resource to which the listed queries belong. \"projects/[PROJECT_ID]/locations/[LOCATION_ID]\" \"organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]\" \"folders/[FOLDER_ID]/locations/[LOCATION_ID]\" For example:projects/my-project/locations/us-central1Note: The location portion of the resource must be specified, but supplying the character - in place of LOCATION_ID will return all recent queries.",
+ "type": "string"
+ },
+ "pageToken": {
+ "type": "string",
+ "location": "query",
+ "description": "Optional. If present, then retrieve the next batch of results from the preceding call to this method. pageToken must be the value of nextPageToken from the previous response. The values of other method parameters should be identical to those in the previous call."
+ }
+ },
+ "flatPath": "v2/organizations/{organizationsId}/locations/{locationsId}/recentQueries",
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/cloud-platform.read-only",
+ "https://www.googleapis.com/auth/logging.admin",
+ "https://www.googleapis.com/auth/logging.read"
+ ],
+ "response": {
+ "$ref": "ListRecentQueriesResponse"
+ }
+ }
+ }
+ },
+ "operations": {
+ "methods": {
+ "get": {
+ "parameterOrder": [
+ "name"
+ ],
+ "parameters": {
+ "name": {
+ "pattern": "^organizations/[^/]+/locations/[^/]+/operations/[^/]+$",
+ "location": "path",
+ "required": true,
+ "description": "The name of the operation resource.",
+ "type": "string"
+ }
+ },
+ "flatPath": "v2/organizations/{organizationsId}/locations/{locationsId}/operations/{operationsId}",
+ "description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.",
+ "response": {
+ "$ref": "Operation"
+ },
+ "httpMethod": "GET",
+ "id": "logging.organizations.locations.operations.get",
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/cloud-platform.read-only",
+ "https://www.googleapis.com/auth/logging.admin",
+ "https://www.googleapis.com/auth/logging.read"
+ ],
+ "path": "v2/{+name}"
+ },
+ "list": {
+ "flatPath": "v2/organizations/{organizationsId}/locations/{locationsId}/operations",
+ "response": {
+ "$ref": "ListOperationsResponse"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/cloud-platform.read-only",
+ "https://www.googleapis.com/auth/logging.admin",
+ "https://www.googleapis.com/auth/logging.read"
+ ],
+ "path": "v2/{+name}/operations",
+ "parameterOrder": [
+ "name"
+ ],
+ "parameters": {
+ "pageToken": {
+ "type": "string",
+ "location": "query",
+ "description": "The standard list page token."
+ },
+ "filter": {
+ "location": "query",
+ "description": "The standard list filter.",
+ "type": "string"
+ },
+ "name": {
+ "required": true,
+ "description": "The name of the operation's parent resource.",
+ "pattern": "^organizations/[^/]+/locations/[^/]+$",
+ "type": "string",
+ "location": "path"
+ },
+ "pageSize": {
+ "type": "integer",
+ "description": "The standard list page size.",
+ "location": "query",
+ "format": "int32"
+ },
+ "returnPartialSuccess": {
+ "location": "query",
+ "type": "boolean",
+ "description": "When set to true, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field.This can only be true when reading across collections. For example, when parent is set to \"projects/example/locations/-\".This field is not supported by default and will result in an UNIMPLEMENTED error if set unless explicitly documented otherwise in service or product specific documentation."
+ }
+ },
+ "httpMethod": "GET",
+ "description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns UNIMPLEMENTED.",
+ "id": "logging.organizations.locations.operations.list"
+ },
+ "cancel": {
+ "response": {
+ "$ref": "Empty"
+ },
+ "httpMethod": "POST",
+ "parameters": {
+ "name": {
+ "pattern": "^organizations/[^/]+/locations/[^/]+/operations/[^/]+$",
+ "required": true,
+ "type": "string",
+ "description": "The name of the operation resource to be cancelled.",
+ "location": "path"
+ }
+ },
+ "description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns google.rpc.Code.UNIMPLEMENTED. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to Code.CANCELLED.",
+ "request": {
+ "$ref": "CancelOperationRequest"
+ },
+ "flatPath": "v2/organizations/{organizationsId}/locations/{locationsId}/operations/{operationsId}:cancel",
+ "path": "v2/{+name}:cancel",
+ "parameterOrder": [
+ "name"
+ ],
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/logging.admin"
+ ],
+ "id": "logging.organizations.locations.operations.cancel"
+ }
+ }
+ },
+ "logScopes": {
+ "methods": {
+ "get": {
+ "httpMethod": "GET",
+ "path": "v2/{+name}",
+ "id": "logging.organizations.locations.logScopes.get",
+ "description": "Gets a log scope.",
+ "parameterOrder": [
+ "name"
+ ],
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/cloud-platform.read-only",
+ "https://www.googleapis.com/auth/logging.admin",
+ "https://www.googleapis.com/auth/logging.read"
+ ],
+ "response": {
+ "$ref": "LogScope"
+ },
+ "parameters": {
+ "name": {
+ "location": "path",
+ "type": "string",
+ "required": true,
+ "description": "Required. The resource name of the log scope: \"projects/[PROJECT_ID]/locations/[LOCATION_ID]\" \"organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]\" \"folders/[FOLDER_ID]/locations/[LOCATION_ID]\" For example:\"projects/my-project/locations/global/logScopes/my-log-scope\"",
+ "pattern": "^organizations/[^/]+/locations/[^/]+/logScopes/[^/]+$"
+ }
+ },
+ "flatPath": "v2/organizations/{organizationsId}/locations/{locationsId}/logScopes/{logScopesId}"
+ },
+ "delete": {
+ "path": "v2/{+name}",
+ "httpMethod": "DELETE",
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/logging.admin"
+ ],
+ "flatPath": "v2/organizations/{organizationsId}/locations/{locationsId}/logScopes/{logScopesId}",
+ "id": "logging.organizations.locations.logScopes.delete",
+ "parameterOrder": [
+ "name"
+ ],
+ "description": "Deletes a log scope.",
+ "response": {
+ "$ref": "Empty"
+ },
+ "parameters": {
+ "name": {
+ "description": "Required. The resource name of the log scope to delete: \"projects/[PROJECT_ID]/locations/[LOCATION_ID]\" \"organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]\" \"folders/[FOLDER_ID]/locations/[LOCATION_ID]\" For example:\"projects/my-project/locations/global/logScopes/my-log-scope\"",
+ "required": true,
+ "type": "string",
+ "location": "path",
+ "pattern": "^organizations/[^/]+/locations/[^/]+/logScopes/[^/]+$"
+ }
+ }
+ },
+ "list": {
+ "id": "logging.organizations.locations.logScopes.list",
+ "parameterOrder": [
+ "parent"
+ ],
+ "path": "v2/{+parent}/logScopes",
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/cloud-platform.read-only",
+ "https://www.googleapis.com/auth/logging.admin",
+ "https://www.googleapis.com/auth/logging.read"
+ ],
+ "httpMethod": "GET",
+ "parameters": {
+ "pageToken": {
+ "location": "query",
+ "description": "Optional. If present, then retrieve the next batch of results from the preceding call to this method. pageToken must be the value of nextPageToken from the previous response. The values of other method parameters should be identical to those in the previous call.",
+ "type": "string"
+ },
+ "parent": {
+ "type": "string",
+ "pattern": "^organizations/[^/]+/locations/[^/]+$",
+ "location": "path",
+ "required": true,
+ "description": "Required. The parent resource whose log scopes are to be listed: \"projects/[PROJECT_ID]/locations/[LOCATION_ID]\" "
+ },
+ "pageSize": {
+ "description": "Optional. The maximum number of results to return from this request.Non-positive values are ignored. The presence of nextPageToken in the response indicates that more results might be available.",
+ "type": "integer",
+ "format": "int32",
+ "location": "query"
+ }
+ },
+ "flatPath": "v2/organizations/{organizationsId}/locations/{locationsId}/logScopes",
+ "description": "Lists log scopes.",
+ "response": {
+ "$ref": "ListLogScopesResponse"
+ }
+ },
+ "patch": {
+ "parameters": {
+ "name": {
+ "description": "Output only. The resource name of the log scope.Log scopes are only available in the global location. For example:projects/my-project/locations/global/logScopes/my-log-scope",
+ "required": true,
+ "type": "string",
+ "pattern": "^organizations/[^/]+/locations/[^/]+/logScopes/[^/]+$",
+ "location": "path"
+ },
+ "updateMask": {
+ "location": "query",
+ "description": "Optional. Field mask that specifies the fields in log_scope that need an update. A field will be overwritten if, and only if, it is in the update mask. name and output only fields cannot be updated.For a detailed FieldMask definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMaskFor example: updateMask=description",
+ "format": "google-fieldmask",
+ "type": "string"
+ }
+ },
+ "response": {
+ "$ref": "LogScope"
+ },
+ "id": "logging.organizations.locations.logScopes.patch",
+ "flatPath": "v2/organizations/{organizationsId}/locations/{locationsId}/logScopes/{logScopesId}",
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/logging.admin"
+ ],
+ "httpMethod": "PATCH",
+ "parameterOrder": [
+ "name"
+ ],
+ "path": "v2/{+name}",
+ "description": "Updates a log scope.",
+ "request": {
+ "$ref": "LogScope"
+ }
+ },
+ "create": {
+ "response": {
+ "$ref": "LogScope"
+ },
+ "description": "Creates a log scope.",
+ "parameters": {
+ "parent": {
+ "type": "string",
+ "description": "Required. The parent resource in which to create the log scope: \"projects/[PROJECT_ID]/locations/[LOCATION_ID]\" \"organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]\" \"folders/[FOLDER_ID]/locations/[LOCATION_ID]\" For example:\"projects/my-project/locations/global\"",
+ "required": true,
+ "location": "path",
+ "pattern": "^organizations/[^/]+/locations/[^/]+$"
+ },
+ "logScopeId": {
+ "description": "Required. A client-assigned identifier such as \"log-scope\". Identifiers are limited to 100 characters and can include only letters, digits, underscores, hyphens, and periods. First character has to be alphanumeric.",
+ "location": "query",
+ "type": "string"
+ }
+ },
+ "request": {
+ "$ref": "LogScope"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/logging.admin"
+ ],
+ "httpMethod": "POST",
+ "parameterOrder": [
+ "parent"
+ ],
+ "flatPath": "v2/organizations/{organizationsId}/locations/{locationsId}/logScopes",
+ "id": "logging.organizations.locations.logScopes.create",
+ "path": "v2/{+parent}/logScopes"
+ }
+ }
+ },
+ "savedQueries": {
+ "methods": {
+ "delete": {
+ "parameterOrder": [
+ "name"
+ ],
+ "id": "logging.organizations.locations.savedQueries.delete",
+ "path": "v2/{+name}",
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/logging.admin"
+ ],
+ "parameters": {
+ "name": {
+ "required": true,
+ "type": "string",
+ "description": "Required. The full resource name of the saved query to delete. \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/savedQueries/[QUERY_ID]\" \"organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/savedQueries/[QUERY_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/savedQueries/[QUERY_ID]\" \"folders/[FOLDER_ID]/locations/[LOCATION_ID]/savedQueries/[QUERY_ID]\" For example: \"projects/my-project/locations/global/savedQueries/my-saved-query\" ",
+ "pattern": "^organizations/[^/]+/locations/[^/]+/savedQueries/[^/]+$",
+ "location": "path"
+ }
+ },
+ "httpMethod": "DELETE",
+ "flatPath": "v2/organizations/{organizationsId}/locations/{locationsId}/savedQueries/{savedQueriesId}",
+ "response": {
+ "$ref": "Empty"
+ },
+ "description": "Deletes an existing SavedQuery that was created by the user making the request."
+ },
+ "list": {
+ "response": {
+ "$ref": "ListSavedQueriesResponse"
+ },
+ "path": "v2/{+parent}/savedQueries",
+ "description": "Lists the SavedQueries that were created by the user making the request.",
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/cloud-platform.read-only",
+ "https://www.googleapis.com/auth/logging.admin",
+ "https://www.googleapis.com/auth/logging.read"
+ ],
+ "httpMethod": "GET",
+ "parameterOrder": [
+ "parent"
+ ],
+ "id": "logging.organizations.locations.savedQueries.list",
+ "flatPath": "v2/organizations/{organizationsId}/locations/{locationsId}/savedQueries",
+ "parameters": {
+ "filter": {
+ "location": "query",
+ "type": "string",
+ "description": "Optional. Specifies the type (\"Logging\" or \"OpsAnalytics\") and the visibility (PRIVATE or SHARED) of the saved queries to list. If provided, the filter must contain either the type function or a visibility token, or both. If both are chosen, they can be placed in any order, but they must be joined by the AND operator or the empty character.The two supported type function calls are: type(\"Logging\") type(\"OpsAnalytics\")The two supported visibility tokens are: visibility = PRIVATE visibility = SHAREDFor example:type(\"Logging\") AND visibility = PRIVATE visibility=SHARED type(\"OpsAnalytics\") type(\"OpsAnalytics)\" visibility = PRIVATE visibility = SHARED"
+ },
+ "pageToken": {
+ "location": "query",
+ "description": "Optional. If present, then retrieve the next batch of results from the preceding call to this method. pageToken must be the value of nextPageToken from the previous response. The values of other method parameters should be identical to those in the previous call.",
+ "type": "string"
+ },
+ "parent": {
+ "location": "path",
+ "pattern": "^organizations/[^/]+/locations/[^/]+$",
+ "description": "Required. The resource to which the listed queries belong. \"projects/[PROJECT_ID]/locations/[LOCATION_ID]\" \"organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]\" \"folders/[FOLDER_ID]/locations/[LOCATION_ID]\" For example: \"projects/my-project/locations/us-central1\" Note: The locations portion of the resource must be specified. To get a list of all saved queries, a wildcard character - can be used for LOCATION_ID, for example: \"projects/my-project/locations/-\" ",
+ "type": "string",
+ "required": true
+ },
+ "pageSize": {
+ "format": "int32",
+ "description": "Optional. The maximum number of results to return from this request.Non-positive values are ignored. The presence of nextPageToken in the response indicates that more results might be available.",
+ "location": "query",
+ "type": "integer"
+ }
+ }
+ },
+ "create": {
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/logging.admin"
+ ],
+ "request": {
+ "$ref": "SavedQuery"
+ },
+ "path": "v2/{+parent}/savedQueries",
+ "httpMethod": "POST",
+ "flatPath": "v2/organizations/{organizationsId}/locations/{locationsId}/savedQueries",
+ "id": "logging.organizations.locations.savedQueries.create",
+ "response": {
+ "$ref": "SavedQuery"
+ },
+ "description": "Creates a new SavedQuery for the user making the request.",
+ "parameters": {
+ "parent": {
+ "pattern": "^organizations/[^/]+/locations/[^/]+$",
+ "required": true,
+ "description": "Required. The parent resource in which to create the saved query: \"projects/[PROJECT_ID]/locations/[LOCATION_ID]\" \"organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]\" \"folders/[FOLDER_ID]/locations/[LOCATION_ID]\" For example: \"projects/my-project/locations/global\" \"organizations/123456789/locations/us-central1\" ",
+ "type": "string",
+ "location": "path"
+ },
+ "savedQueryId": {
+ "description": "Optional. The ID to use for the saved query, which will become the final component of the saved query's resource name.If the saved_query_id is not provided, the system will generate an alphanumeric ID.The saved_query_id is limited to 100 characters and can include only the following characters: upper and lower-case alphanumeric characters, underscores, hyphens, periods.First character has to be alphanumeric.",
+ "type": "string",
+ "location": "query"
+ }
+ },
+ "parameterOrder": [
+ "parent"
+ ]
+ },
+ "patch": {
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/logging.admin"
+ ],
+ "request": {
+ "$ref": "SavedQuery"
+ },
+ "flatPath": "v2/organizations/{organizationsId}/locations/{locationsId}/savedQueries/{savedQueriesId}",
+ "description": "Updates an existing SavedQuery.",
+ "httpMethod": "PATCH",
+ "parameters": {
+ "name": {
+ "pattern": "^organizations/[^/]+/locations/[^/]+/savedQueries/[^/]+$",
+ "description": "Output only. Resource name of the saved query.In the format: \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/savedQueries/[QUERY_ID]\" For a list of supported locations, see Supported Regions (https://cloud.google.com/logging/docs/region-support#bucket-regions)After the saved query is created, the location cannot be changed.If the user doesn't provide a QUERY_ID, the system will generate an alphanumeric ID.",
+ "required": true,
+ "type": "string",
+ "location": "path"
+ },
+ "updateMask": {
+ "format": "google-fieldmask",
+ "location": "query",
+ "type": "string",
+ "description": "Required. A non-empty list of fields to change in the existing saved query. Fields are relative to the saved_query and new values for the fields are taken from the corresponding fields in the SavedQuery included in this request. Fields not mentioned in update_mask are not changed and are ignored in the request.To update all mutable fields, specify an update_mask of *.For example, to change the description and query filter text of a saved query, specify an update_mask of \"description, query.filter\"."
+ }
+ },
+ "parameterOrder": [
+ "name"
+ ],
+ "path": "v2/{+name}",
+ "id": "logging.organizations.locations.savedQueries.patch",
+ "response": {
+ "$ref": "SavedQuery"
+ }
+ },
+ "get": {
+ "path": "v2/{+name}",
+ "parameterOrder": [
+ "name"
+ ],
+ "flatPath": "v2/organizations/{organizationsId}/locations/{locationsId}/savedQueries/{savedQueriesId}",
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/cloud-platform.read-only",
+ "https://www.googleapis.com/auth/logging.admin",
+ "https://www.googleapis.com/auth/logging.read"
+ ],
+ "description": "Returns all data associated with the requested query.",
+ "parameters": {
+ "name": {
+ "location": "path",
+ "description": "Required. The resource name of the saved query. \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/savedQueries/[QUERY_ID]\" \"organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/savedQueries/[QUERY_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/savedQueries/[QUERY_ID]\" \"folders/[FOLDER_ID]/locations/[LOCATION_ID]/savedQueries/[QUERY_ID]\" For example: \"projects/my-project/locations/global/savedQueries/my-saved-query\" ",
+ "type": "string",
+ "required": true,
+ "pattern": "^organizations/[^/]+/locations/[^/]+/savedQueries/[^/]+$"
+ }
+ },
+ "response": {
+ "$ref": "SavedQuery"
+ },
+ "id": "logging.organizations.locations.savedQueries.get",
+ "httpMethod": "GET"
+ }
+ }
+ },
+ "buckets": {
+ "methods": {
+ "delete": {
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/logging.admin"
+ ],
+ "parameterOrder": [
+ "name"
+ ],
+ "parameters": {
+ "name": {
+ "description": "Required. The full resource name of the bucket to delete. \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" For example:\"projects/my-project/locations/global/buckets/my-bucket\"",
+ "type": "string",
+ "required": true,
+ "location": "path",
+ "pattern": "^organizations/[^/]+/locations/[^/]+/buckets/[^/]+$"
+ }
+ },
+ "httpMethod": "DELETE",
+ "id": "logging.organizations.locations.buckets.delete",
+ "description": "Deletes a log bucket.Changes the bucket's lifecycle_state to the DELETE_REQUESTED state. After 7 days, the bucket will be purged and all log entries in the bucket will be permanently deleted.",
+ "response": {
+ "$ref": "Empty"
+ },
+ "path": "v2/{+name}",
+ "flatPath": "v2/organizations/{organizationsId}/locations/{locationsId}/buckets/{bucketsId}"
+ },
+ "list": {
+ "path": "v2/{+parent}/buckets",
+ "response": {
+ "$ref": "ListBucketsResponse"
+ },
+ "httpMethod": "GET",
+ "description": "Lists log buckets.",
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/cloud-platform.read-only",
+ "https://www.googleapis.com/auth/logging.admin",
+ "https://www.googleapis.com/auth/logging.read"
+ ],
+ "parameters": {
+ "pageSize": {
+ "format": "int32",
+ "description": "Optional. The maximum number of results to return from this request. Non-positive values are ignored. The presence of nextPageToken in the response indicates that more results might be available.",
+ "type": "integer",
+ "location": "query"
+ },
+ "parent": {
+ "location": "path",
+ "required": true,
+ "type": "string",
+ "pattern": "^organizations/[^/]+/locations/[^/]+$",
+ "description": "Required. The parent resource whose buckets are to be listed: \"projects/[PROJECT_ID]/locations/[LOCATION_ID]\" \"organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]\" \"folders/[FOLDER_ID]/locations/[LOCATION_ID]\" Note: The locations portion of the resource must be specified, but supplying the character - in place of LOCATION_ID will return all buckets."
+ },
+ "pageToken": {
+ "location": "query",
+ "description": "Optional. If present, then retrieve the next batch of results from the preceding call to this method. pageToken must be the value of nextPageToken from the previous response. The values of other method parameters should be identical to those in the previous call.",
+ "type": "string"
+ }
+ },
+ "flatPath": "v2/organizations/{organizationsId}/locations/{locationsId}/buckets",
+ "id": "logging.organizations.locations.buckets.list",
+ "parameterOrder": [
+ "parent"
+ ]
+ },
+ "updateAsync": {
+ "parameters": {
+ "name": {
+ "description": "Required. The full resource name of the bucket to update. \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" For example:\"projects/my-project/locations/global/buckets/my-bucket\"",
+ "pattern": "^organizations/[^/]+/locations/[^/]+/buckets/[^/]+$",
+ "location": "path",
+ "type": "string",
+ "required": true
+ },
+ "updateMask": {
+ "description": "Required. Field mask that specifies the fields in bucket that need an update. A bucket field will be overwritten if, and only if, it is in the update mask. name and output only fields cannot be updated.For a detailed FieldMask definition, see: https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMaskFor example: updateMask=retention_days",
+ "type": "string",
+ "format": "google-fieldmask",
+ "location": "query"
+ }
+ },
+ "parameterOrder": [
+ "name"
+ ],
+ "request": {
+ "$ref": "LogBucket"
+ },
+ "response": {
+ "$ref": "Operation"
+ },
+ "httpMethod": "POST",
+ "path": "v2/{+name}:updateAsync",
+ "description": "Updates a log bucket asynchronously.If the bucket has a lifecycle_state of DELETE_REQUESTED, then FAILED_PRECONDITION will be returned.After a bucket has been created, the bucket's location cannot be changed.",
+ "id": "logging.organizations.locations.buckets.updateAsync",
+ "flatPath": "v2/organizations/{organizationsId}/locations/{locationsId}/buckets/{bucketsId}:updateAsync",
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/logging.admin"
+ ]
+ },
+ "undelete": {
+ "request": {
+ "$ref": "UndeleteBucketRequest"
+ },
+ "httpMethod": "POST",
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/logging.admin"
+ ],
+ "parameterOrder": [
+ "name"
+ ],
+ "description": "Undeletes a log bucket. A bucket that has been deleted can be undeleted within the grace period of 7 days.",
+ "flatPath": "v2/organizations/{organizationsId}/locations/{locationsId}/buckets/{bucketsId}:undelete",
+ "path": "v2/{+name}:undelete",
+ "parameters": {
+ "name": {
+ "location": "path",
+ "required": true,
+ "description": "Required. The full resource name of the bucket to undelete. \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" For example:\"projects/my-project/locations/global/buckets/my-bucket\"",
+ "type": "string",
+ "pattern": "^organizations/[^/]+/locations/[^/]+/buckets/[^/]+$"
+ }
+ },
+ "id": "logging.organizations.locations.buckets.undelete",
+ "response": {
+ "$ref": "Empty"
+ }
+ },
+ "createAsync": {
+ "response": {
+ "$ref": "Operation"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/logging.admin"
+ ],
+ "path": "v2/{+parent}/buckets:createAsync",
+ "parameters": {
+ "parent": {
+ "type": "string",
+ "required": true,
+ "description": "Required. The resource in which to create the log bucket: \"projects/[PROJECT_ID]/locations/[LOCATION_ID]\" For example:\"projects/my-project/locations/global\"",
+ "pattern": "^organizations/[^/]+/locations/[^/]+$",
+ "location": "path"
+ },
+ "bucketId": {
+ "location": "query",
+ "type": "string",
+ "description": "Required. A client-assigned identifier such as \"my-bucket\". Identifiers are limited to 100 characters and can include only letters, digits, underscores, hyphens, and periods. Bucket identifiers must start with an alphanumeric character."
+ }
+ },
+ "httpMethod": "POST",
+ "request": {
+ "$ref": "LogBucket"
+ },
+ "flatPath": "v2/organizations/{organizationsId}/locations/{locationsId}/buckets:createAsync",
+ "parameterOrder": [
+ "parent"
+ ],
+ "description": "Creates a log bucket asynchronously that can be used to store log entries.After a bucket has been created, the bucket's location cannot be changed.",
+ "id": "logging.organizations.locations.buckets.createAsync"
+ },
+ "patch": {
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/logging.admin"
+ ],
+ "httpMethod": "PATCH",
+ "request": {
+ "$ref": "LogBucket"
+ },
+ "id": "logging.organizations.locations.buckets.patch",
+ "path": "v2/{+name}",
+ "description": "Updates a log bucket.If the bucket has a lifecycle_state of DELETE_REQUESTED, then FAILED_PRECONDITION will be returned.After a bucket has been created, the bucket's location cannot be changed.",
+ "parameterOrder": [
+ "name"
+ ],
+ "flatPath": "v2/organizations/{organizationsId}/locations/{locationsId}/buckets/{bucketsId}",
+ "parameters": {
+ "name": {
+ "location": "path",
+ "required": true,
+ "description": "Required. The full resource name of the bucket to update. \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" For example:\"projects/my-project/locations/global/buckets/my-bucket\"",
+ "type": "string",
+ "pattern": "^organizations/[^/]+/locations/[^/]+/buckets/[^/]+$"
+ },
+ "updateMask": {
+ "description": "Required. Field mask that specifies the fields in bucket that need an update. A bucket field will be overwritten if, and only if, it is in the update mask. name and output only fields cannot be updated.For a detailed FieldMask definition, see: https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMaskFor example: updateMask=retention_days",
+ "format": "google-fieldmask",
+ "location": "query",
+ "type": "string"
+ }
+ },
+ "response": {
+ "$ref": "LogBucket"
+ }
+ },
+ "create": {
+ "path": "v2/{+parent}/buckets",
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/logging.admin"
+ ],
+ "response": {
+ "$ref": "LogBucket"
+ },
+ "id": "logging.organizations.locations.buckets.create",
+ "parameters": {
+ "bucketId": {
+ "location": "query",
+ "type": "string",
+ "description": "Required. A client-assigned identifier such as \"my-bucket\". Identifiers are limited to 100 characters and can include only letters, digits, underscores, hyphens, and periods. Bucket identifiers must start with an alphanumeric character."
+ },
+ "parent": {
+ "pattern": "^organizations/[^/]+/locations/[^/]+$",
+ "description": "Required. The resource in which to create the log bucket: \"projects/[PROJECT_ID]/locations/[LOCATION_ID]\" For example:\"projects/my-project/locations/global\"",
+ "type": "string",
+ "location": "path",
+ "required": true
+ }
+ },
+ "parameterOrder": [
+ "parent"
+ ],
+ "flatPath": "v2/organizations/{organizationsId}/locations/{locationsId}/buckets",
+ "request": {
+ "$ref": "LogBucket"
+ },
+ "description": "Creates a log bucket that can be used to store log entries. After a bucket has been created, the bucket's location cannot be changed.",
+ "httpMethod": "POST"
+ },
+ "get": {
+ "description": "Gets a log bucket.",
+ "id": "logging.organizations.locations.buckets.get",
+ "flatPath": "v2/organizations/{organizationsId}/locations/{locationsId}/buckets/{bucketsId}",
+ "parameters": {
+ "name": {
+ "location": "path",
+ "pattern": "^organizations/[^/]+/locations/[^/]+/buckets/[^/]+$",
+ "required": true,
+ "description": "Required. The resource name of the bucket: \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" For example:\"projects/my-project/locations/global/buckets/my-bucket\"",
+ "type": "string"
+ }
+ },
+ "parameterOrder": [
+ "name"
+ ],
+ "path": "v2/{+name}",
+ "response": {
+ "$ref": "LogBucket"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/cloud-platform.read-only",
+ "https://www.googleapis.com/auth/logging.admin",
+ "https://www.googleapis.com/auth/logging.read"
+ ],
+ "httpMethod": "GET"
+ }
+ },
+ "resources": {
+ "views": {
+ "methods": {
+ "setIamPolicy": {
+ "description": "Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors.",
+ "parameters": {
+ "resource": {
+ "pattern": "^organizations/[^/]+/locations/[^/]+/buckets/[^/]+/views/[^/]+$",
+ "required": true,
+ "type": "string",
+ "location": "path",
+ "description": "REQUIRED: The resource for which the policy is being specified. See Resource names (https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field."
+ }
+ },
+ "parameterOrder": [
+ "resource"
+ ],
+ "flatPath": "v2/organizations/{organizationsId}/locations/{locationsId}/buckets/{bucketsId}/views/{viewsId}:setIamPolicy",
+ "path": "v2/{+resource}:setIamPolicy",
+ "httpMethod": "POST",
+ "request": {
+ "$ref": "SetIamPolicyRequest"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/logging.admin"
+ ],
+ "response": {
+ "$ref": "Policy"
+ },
+ "id": "logging.organizations.locations.buckets.views.setIamPolicy"
+ },
+ "patch": {
+ "request": {
+ "$ref": "LogView"
+ },
+ "httpMethod": "PATCH",
+ "description": "Updates a view on a log bucket. This method replaces the value of the filter field from the existing view with the corresponding value from the new view. If an UNAVAILABLE error is returned, this indicates that system is not in a state where it can update the view. If this occurs, please try again in a few minutes.",
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/logging.admin"
+ ],
+ "id": "logging.organizations.locations.buckets.views.patch",
+ "path": "v2/{+name}",
+ "flatPath": "v2/organizations/{organizationsId}/locations/{locationsId}/buckets/{bucketsId}/views/{viewsId}",
+ "parameters": {
+ "name": {
+ "pattern": "^organizations/[^/]+/locations/[^/]+/buckets/[^/]+/views/[^/]+$",
+ "required": true,
+ "location": "path",
+ "description": "Required. The full resource name of the view to update \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]\" For example:\"projects/my-project/locations/global/buckets/my-bucket/views/my-view\"",
+ "type": "string"
+ },
+ "updateMask": {
+ "format": "google-fieldmask",
+ "type": "string",
+ "location": "query",
+ "description": "Optional. Field mask that specifies the fields in view that need an update. A field will be overwritten if, and only if, it is in the update mask. name and output only fields cannot be updated.For a detailed FieldMask definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMaskFor example: updateMask=filter"
+ }
+ },
+ "response": {
+ "$ref": "LogView"
+ },
+ "parameterOrder": [
+ "name"
+ ]
+ },
+ "testIamPermissions": {
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/cloud-platform.read-only",
+ "https://www.googleapis.com/auth/logging.admin",
+ "https://www.googleapis.com/auth/logging.read"
+ ],
+ "response": {
+ "$ref": "TestIamPermissionsResponse"
+ },
+ "parameters": {
+ "resource": {
+ "required": true,
+ "pattern": "^organizations/[^/]+/locations/[^/]+/buckets/[^/]+/views/[^/]+$",
+ "description": "REQUIRED: The resource for which the policy detail is being requested. See Resource names (https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.",
+ "type": "string",
+ "location": "path"
+ }
+ },
+ "description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a NOT_FOUND error.Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.",
+ "parameterOrder": [
+ "resource"
+ ],
+ "httpMethod": "POST",
+ "request": {
+ "$ref": "TestIamPermissionsRequest"
+ },
+ "flatPath": "v2/organizations/{organizationsId}/locations/{locationsId}/buckets/{bucketsId}/views/{viewsId}:testIamPermissions",
+ "path": "v2/{+resource}:testIamPermissions",
+ "id": "logging.organizations.locations.buckets.views.testIamPermissions"
+ },
+ "list": {
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/cloud-platform.read-only",
+ "https://www.googleapis.com/auth/logging.admin",
+ "https://www.googleapis.com/auth/logging.read"
+ ],
+ "description": "Lists views on a log bucket.",
+ "parameterOrder": [
+ "parent"
+ ],
+ "path": "v2/{+parent}/views",
+ "response": {
+ "$ref": "ListViewsResponse"
+ },
+ "flatPath": "v2/organizations/{organizationsId}/locations/{locationsId}/buckets/{bucketsId}/views",
+ "id": "logging.organizations.locations.buckets.views.list",
+ "httpMethod": "GET",
+ "parameters": {
+ "pageToken": {
+ "description": "Optional. If present, then retrieve the next batch of results from the preceding call to this method. pageToken must be the value of nextPageToken from the previous response. The values of other method parameters should be identical to those in the previous call.",
+ "location": "query",
+ "type": "string"
+ },
+ "pageSize": {
+ "type": "integer",
+ "description": "Optional. The maximum number of results to return from this request.Non-positive values are ignored. The presence of nextPageToken in the response indicates that more results might be available.",
+ "location": "query",
+ "format": "int32"
+ },
+ "parent": {
+ "description": "Required. The bucket whose views are to be listed: \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" ",
+ "type": "string",
+ "location": "path",
+ "required": true,
+ "pattern": "^organizations/[^/]+/locations/[^/]+/buckets/[^/]+$"
+ }
+ }
+ },
+ "delete": {
+ "flatPath": "v2/organizations/{organizationsId}/locations/{locationsId}/buckets/{bucketsId}/views/{viewsId}",
+ "httpMethod": "DELETE",
+ "response": {
+ "$ref": "Empty"
+ },
+ "description": "Deletes a view on a log bucket. If an UNAVAILABLE error is returned, this indicates that system is not in a state where it can delete the view. If this occurs, please try again in a few minutes.",
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/logging.admin"
+ ],
+ "parameters": {
+ "name": {
+ "required": true,
+ "type": "string",
+ "pattern": "^organizations/[^/]+/locations/[^/]+/buckets/[^/]+/views/[^/]+$",
+ "description": "Required. The full resource name of the view to delete: \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]\" For example:\"projects/my-project/locations/global/buckets/my-bucket/views/my-view\"",
+ "location": "path"
+ }
+ },
+ "parameterOrder": [
+ "name"
+ ],
+ "id": "logging.organizations.locations.buckets.views.delete",
+ "path": "v2/{+name}"
+ },
+ "getIamPolicy": {
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/cloud-platform.read-only",
+ "https://www.googleapis.com/auth/logging.admin",
+ "https://www.googleapis.com/auth/logging.read"
+ ],
+ "response": {
+ "$ref": "Policy"
+ },
+ "path": "v2/{+resource}:getIamPolicy",
+ "flatPath": "v2/organizations/{organizationsId}/locations/{locationsId}/buckets/{bucketsId}/views/{viewsId}:getIamPolicy",
+ "request": {
+ "$ref": "GetIamPolicyRequest"
+ },
+ "parameters": {
+ "resource": {
+ "type": "string",
+ "description": "REQUIRED: The resource for which the policy is being requested. See Resource names (https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.",
+ "pattern": "^organizations/[^/]+/locations/[^/]+/buckets/[^/]+/views/[^/]+$",
+ "location": "path",
+ "required": true
+ }
+ },
+ "parameterOrder": [
+ "resource"
+ ],
+ "httpMethod": "POST",
+ "id": "logging.organizations.locations.buckets.views.getIamPolicy",
+ "description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set."
+ },
+ "get": {
+ "flatPath": "v2/organizations/{organizationsId}/locations/{locationsId}/buckets/{bucketsId}/views/{viewsId}",
+ "parameters": {
+ "name": {
+ "description": "Required. The resource name of the policy: \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]\" For example:\"projects/my-project/locations/global/buckets/my-bucket/views/my-view\"",
+ "location": "path",
+ "required": true,
+ "type": "string",
+ "pattern": "^organizations/[^/]+/locations/[^/]+/buckets/[^/]+/views/[^/]+$"
+ }
+ },
+ "id": "logging.organizations.locations.buckets.views.get",
+ "description": "Gets a view on a log bucket.",
+ "path": "v2/{+name}",
+ "httpMethod": "GET",
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/cloud-platform.read-only",
+ "https://www.googleapis.com/auth/logging.admin",
+ "https://www.googleapis.com/auth/logging.read"
+ ],
+ "response": {
+ "$ref": "LogView"
+ },
+ "parameterOrder": [
+ "name"
+ ]
+ },
+ "create": {
+ "request": {
+ "$ref": "LogView"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/logging.admin"
+ ],
+ "httpMethod": "POST",
+ "parameters": {
+ "parent": {
+ "required": true,
+ "pattern": "^organizations/[^/]+/locations/[^/]+/buckets/[^/]+$",
+ "type": "string",
+ "description": "Required. The bucket in which to create the view `\"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\"` For example:\"projects/my-project/locations/global/buckets/my-bucket\"",
+ "location": "path"
+ },
+ "viewId": {
+ "type": "string",
+ "location": "query",
+ "description": "Required. A client-assigned identifier such as \"my-view\". Identifiers are limited to 100 characters and can include only letters, digits, underscores, and hyphens."
+ }
+ },
+ "id": "logging.organizations.locations.buckets.views.create",
+ "description": "Creates a view over log entries in a log bucket. A bucket may contain a maximum of 30 views.",
+ "parameterOrder": [
+ "parent"
+ ],
+ "response": {
+ "$ref": "LogView"
+ },
+ "flatPath": "v2/organizations/{organizationsId}/locations/{locationsId}/buckets/{bucketsId}/views",
+ "path": "v2/{+parent}/views"
+ }
+ },
+ "resources": {
+ "logs": {
+ "methods": {
+ "list": {
+ "description": "Lists the logs in projects, organizations, folders, or billing accounts. Only logs that have entries are listed.",
+ "parameters": {
+ "pageToken": {
+ "location": "query",
+ "type": "string",
+ "description": "Optional. If present, then retrieve the next batch of results from the preceding call to this method. pageToken must be the value of nextPageToken from the previous response. The values of other method parameters should be identical to those in the previous call."
+ },
+ "resourceNames": {
+ "description": "Optional. List of resource names to list logs for: projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID] organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID] billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID] folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]To support legacy queries, it could also be: projects/[PROJECT_ID] organizations/[ORGANIZATION_ID] billingAccounts/[BILLING_ACCOUNT_ID] folders/[FOLDER_ID]The resource name in the parent field is added to this list.",
+ "repeated": true,
+ "location": "query",
+ "type": "string"
+ },
+ "parent": {
+ "description": "Required. The resource name to list logs for: projects/[PROJECT_ID] organizations/[ORGANIZATION_ID] billingAccounts/[BILLING_ACCOUNT_ID] folders/[FOLDER_ID]",
+ "type": "string",
+ "location": "path",
+ "pattern": "^organizations/[^/]+/locations/[^/]+/buckets/[^/]+/views/[^/]+$",
+ "required": true
+ },
+ "pageSize": {
+ "type": "integer",
+ "format": "int32",
+ "location": "query",
+ "description": "Optional. The maximum number of results to return from this request. Non-positive values are ignored. The presence of nextPageToken in the response indicates that more results might be available."
+ }
+ },
+ "parameterOrder": [
+ "parent"
+ ],
+ "id": "logging.organizations.locations.buckets.views.logs.list",
+ "flatPath": "v2/organizations/{organizationsId}/locations/{locationsId}/buckets/{bucketsId}/views/{viewsId}/logs",
+ "response": {
+ "$ref": "ListLogsResponse"
+ },
+ "path": "v2/{+parent}/logs",
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/cloud-platform.read-only",
+ "https://www.googleapis.com/auth/logging.admin",
+ "https://www.googleapis.com/auth/logging.read"
+ ],
+ "httpMethod": "GET"
+ }
+ }
+ }
+ }
+ },
+ "links": {
+ "methods": {
+ "delete": {
+ "parameters": {
+ "name": {
+ "description": "Required. The full resource name of the link to delete. \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]\" \"organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]\" \"folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]\" ",
+ "location": "path",
+ "type": "string",
+ "pattern": "^organizations/[^/]+/locations/[^/]+/buckets/[^/]+/links/[^/]+$",
+ "required": true
+ }
+ },
+ "flatPath": "v2/organizations/{organizationsId}/locations/{locationsId}/buckets/{bucketsId}/links/{linksId}",
+ "description": "Deletes a link. This will also delete the corresponding BigQuery linked dataset.",
+ "parameterOrder": [
+ "name"
+ ],
+ "path": "v2/{+name}",
+ "id": "logging.organizations.locations.buckets.links.delete",
+ "httpMethod": "DELETE",
+ "response": {
+ "$ref": "Operation"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/logging.admin"
+ ]
+ },
+ "list": {
+ "httpMethod": "GET",
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/cloud-platform.read-only",
+ "https://www.googleapis.com/auth/logging.admin",
+ "https://www.googleapis.com/auth/logging.read"
+ ],
+ "flatPath": "v2/organizations/{organizationsId}/locations/{locationsId}/buckets/{bucketsId}/links",
+ "id": "logging.organizations.locations.buckets.links.list",
+ "parameters": {
+ "pageSize": {
+ "type": "integer",
+ "description": "Optional. The maximum number of results to return from this request.",
+ "format": "int32",
+ "location": "query"
+ },
+ "parent": {
+ "description": "Required. The parent resource whose links are to be listed: \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" ",
+ "location": "path",
+ "type": "string",
+ "pattern": "^organizations/[^/]+/locations/[^/]+/buckets/[^/]+$",
+ "required": true
+ },
+ "pageToken": {
+ "description": "Optional. If present, then retrieve the next batch of results from the preceding call to this method. pageToken must be the value of nextPageToken from the previous response.",
+ "location": "query",
+ "type": "string"
+ }
+ },
+ "parameterOrder": [
+ "parent"
+ ],
+ "path": "v2/{+parent}/links",
+ "description": "Lists links.",
+ "response": {
+ "$ref": "ListLinksResponse"
+ }
+ },
+ "get": {
+ "id": "logging.organizations.locations.buckets.links.get",
+ "httpMethod": "GET",
+ "parameterOrder": [
+ "name"
+ ],
+ "response": {
+ "$ref": "Link"
+ },
+ "path": "v2/{+name}",
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/cloud-platform.read-only",
+ "https://www.googleapis.com/auth/logging.admin",
+ "https://www.googleapis.com/auth/logging.read"
+ ],
+ "description": "Gets a link.",
+ "parameters": {
+ "name": {
+ "pattern": "^organizations/[^/]+/locations/[^/]+/buckets/[^/]+/links/[^/]+$",
+ "required": true,
+ "description": "Required. The resource name of the link: \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]\" \"organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]\" \"folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]\" ",
+ "location": "path",
+ "type": "string"
+ }
+ },
+ "flatPath": "v2/organizations/{organizationsId}/locations/{locationsId}/buckets/{bucketsId}/links/{linksId}"
+ },
+ "create": {
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/logging.admin"
+ ],
+ "parameters": {
+ "linkId": {
+ "type": "string",
+ "description": "Required. The ID to use for the link. The link_id can have up to 100 characters. A valid link_id must only have alphanumeric characters and underscores within it.",
+ "location": "query"
+ },
+ "parent": {
+ "description": "Required. The full resource name of the bucket to create a link for. \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" ",
+ "required": true,
+ "location": "path",
+ "pattern": "^organizations/[^/]+/locations/[^/]+/buckets/[^/]+$",
+ "type": "string"
+ }
+ },
+ "httpMethod": "POST",
+ "id": "logging.organizations.locations.buckets.links.create",
+ "path": "v2/{+parent}/links",
+ "response": {
+ "$ref": "Operation"
+ },
+ "description": "Asynchronously creates a linked dataset in BigQuery which makes it possible to use BigQuery to read the logs stored in the log bucket. A log bucket may currently only contain one link.",
+ "request": {
+ "$ref": "Link"
+ },
+ "flatPath": "v2/organizations/{organizationsId}/locations/{locationsId}/buckets/{bucketsId}/links",
+ "parameterOrder": [
+ "parent"
+ ]
+ }
+ }
+ }
+ }
+ }
+ },
+ "methods": {
+ "get": {
+ "parameters": {
+ "name": {
+ "location": "path",
+ "pattern": "^organizations/[^/]+/locations/[^/]+$",
+ "description": "Resource name for the location.",
+ "type": "string",
+ "required": true
+ }
+ },
+ "flatPath": "v2/organizations/{organizationsId}/locations/{locationsId}",
+ "path": "v2/{+name}",
+ "response": {
+ "$ref": "Location"
+ },
+ "description": "Gets information about a location.",
+ "id": "logging.organizations.locations.get",
+ "parameterOrder": [
+ "name"
+ ],
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/cloud-platform.read-only",
+ "https://www.googleapis.com/auth/logging.admin",
+ "https://www.googleapis.com/auth/logging.read"
+ ],
+ "httpMethod": "GET"
+ },
+ "list": {
+ "flatPath": "v2/organizations/{organizationsId}/locations",
+ "response": {
+ "$ref": "ListLocationsResponse"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/cloud-platform.read-only",
+ "https://www.googleapis.com/auth/logging.admin",
+ "https://www.googleapis.com/auth/logging.read"
+ ],
+ "path": "v2/{+name}/locations",
+ "parameterOrder": [
+ "name"
+ ],
+ "description": "Lists information about the supported locations for this service.",
+ "parameters": {
+ "name": {
+ "required": true,
+ "location": "path",
+ "pattern": "^organizations/[^/]+$",
+ "description": "The resource that owns the locations collection, if applicable.",
+ "type": "string"
+ },
+ "extraLocationTypes": {
+ "repeated": true,
+ "location": "query",
+ "type": "string",
+ "description": "Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage."
+ },
+ "pageToken": {
+ "location": "query",
+ "type": "string",
+ "description": "A page token received from the next_page_token field in the response. Send that page token to receive the subsequent page."
+ },
+ "filter": {
+ "location": "query",
+ "description": "A filter to narrow down results to a preferred subset. The filtering language accepts strings like \"displayName=tokyo\", and is documented in more detail in AIP-160 (https://google.aip.dev/160).",
+ "type": "string"
+ },
+ "pageSize": {
+ "format": "int32",
+ "type": "integer",
+ "description": "The maximum number of results to return. If not set, the service selects a default.",
+ "location": "query"
+ }
+ },
+ "httpMethod": "GET",
+ "id": "logging.organizations.locations.list"
+ }
+ }
+ }
+ },
+ "methods": {
+ "updateSettings": {
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/logging.admin"
+ ],
+ "description": "Updates the settings for the given resource. This method applies to all feature configurations for organization and folders.UpdateSettings fails when any of the following are true: The value of storage_location either isn't supported by Logging or violates the location OrgPolicy. The default_sink_config field is set, but it has an unspecified filter write mode. The value of kms_key_name is invalid. The associated service account doesn't have the required roles/cloudkms.cryptoKeyEncrypterDecrypter role assigned for the key. Access to the key is disabled.See Configure default settings for organizations and folders (https://cloud.google.com/logging/docs/default-settings) for more information.",
+ "id": "logging.organizations.updateSettings",
+ "httpMethod": "PATCH",
+ "parameterOrder": [
+ "name"
+ ],
+ "parameters": {
+ "name": {
+ "location": "path",
+ "type": "string",
+ "pattern": "^organizations/[^/]+$",
+ "description": "Required. The resource name for the settings to update. \"organizations/[ORGANIZATION_ID]/settings\" \"folders/[FOLDER_ID]/settings\" For example:\"organizations/12345/settings\"",
+ "required": true
+ },
+ "updateMask": {
+ "location": "query",
+ "format": "google-fieldmask",
+ "description": "Optional. Field mask identifying which fields from settings should be updated. A field will be overwritten if and only if it is in the update mask. Output only fields cannot be updated.See FieldMask for more information.For example: \"updateMask=kmsKeyName\"",
+ "type": "string"
+ }
+ },
+ "path": "v2/{+name}/settings",
+ "response": {
+ "$ref": "Settings"
+ },
+ "request": {
+ "$ref": "Settings"
+ },
+ "flatPath": "v2/organizations/{organizationsId}/settings"
+ },
+ "updateCmekSettings": {
+ "response": {
+ "$ref": "CmekSettings"
+ },
+ "id": "logging.organizations.updateCmekSettings",
+ "path": "v2/{+name}/cmekSettings",
+ "parameterOrder": [
+ "name"
+ ],
+ "request": {
+ "$ref": "CmekSettings"
+ },
+ "description": "Updates the Log Router CMEK settings for the given resource.Note: CMEK for the Log Router can currently only be configured for Google Cloud organizations. Once configured, it applies to all projects and folders in the Google Cloud organization.UpdateCmekSettings fails when any of the following are true: The value of kms_key_name is invalid. The associated service account doesn't have the required roles/cloudkms.cryptoKeyEncrypterDecrypter role assigned for the key. Access to the key is disabled.See Enabling CMEK for Log Router (https://cloud.google.com/logging/docs/routing/managed-encryption) for more information.",
+ "httpMethod": "PATCH",
+ "parameters": {
+ "updateMask": {
+ "format": "google-fieldmask",
+ "description": "Optional. Field mask identifying which fields from cmek_settings should be updated. A field will be overwritten if and only if it is in the update mask. Output only fields cannot be updated.See FieldMask for more information.For example: \"updateMask=kmsKeyName\"",
+ "type": "string",
+ "location": "query"
+ },
+ "name": {
+ "required": true,
+ "description": "Required. The resource name for the CMEK settings to update. \"projects/[PROJECT_ID]/cmekSettings\" \"organizations/[ORGANIZATION_ID]/cmekSettings\" \"billingAccounts/[BILLING_ACCOUNT_ID]/cmekSettings\" \"folders/[FOLDER_ID]/cmekSettings\" For example:\"organizations/12345/cmekSettings\"Note: CMEK for the Log Router can currently only be configured for Google Cloud organizations. Once configured, it applies to all projects and folders in the Google Cloud organization.",
+ "type": "string",
+ "location": "path",
+ "pattern": "^organizations/[^/]+$"
+ }
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/logging.admin"
+ ],
+ "flatPath": "v2/organizations/{organizationsId}/cmekSettings"
+ },
+ "getSettings": {
+ "httpMethod": "GET",
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/cloud-platform.read-only",
+ "https://www.googleapis.com/auth/logging.admin",
+ "https://www.googleapis.com/auth/logging.read"
+ ],
+ "parameters": {
+ "name": {
+ "description": "Required. The resource for which to retrieve settings. \"projects/[PROJECT_ID]/settings\" \"organizations/[ORGANIZATION_ID]/settings\" \"billingAccounts/[BILLING_ACCOUNT_ID]/settings\" \"folders/[FOLDER_ID]/settings\" For example:\"organizations/12345/settings\"Note: Settings can be retrieved for Google Cloud projects, folders, organizations, and billing accounts.",
+ "location": "path",
+ "pattern": "^organizations/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "flatPath": "v2/organizations/{organizationsId}/settings",
+ "path": "v2/{+name}/settings",
+ "id": "logging.organizations.getSettings",
+ "parameterOrder": [
+ "name"
+ ],
+ "response": {
+ "$ref": "Settings"
+ },
+ "description": "Gets the settings for the given resource.Note: Settings can be retrieved for Google Cloud projects, folders, organizations, and billing accounts.See View default resource settings for Logging (https://cloud.google.com/logging/docs/default-settings#view-org-settings) for more information."
+ },
+ "getCmekSettings": {
+ "parameters": {
+ "name": {
+ "type": "string",
+ "description": "Required. The resource for which to retrieve CMEK settings. \"projects/[PROJECT_ID]/cmekSettings\" \"organizations/[ORGANIZATION_ID]/cmekSettings\" \"billingAccounts/[BILLING_ACCOUNT_ID]/cmekSettings\" \"folders/[FOLDER_ID]/cmekSettings\" For example:\"organizations/12345/cmekSettings\"Note: CMEK for the Log Router can be configured for Google Cloud projects, folders, organizations, and billing accounts. Once configured for an organization, it applies to all projects and folders in the Google Cloud organization.",
+ "pattern": "^organizations/[^/]+$",
+ "location": "path",
+ "required": true
+ }
+ },
+ "httpMethod": "GET",
+ "response": {
+ "$ref": "CmekSettings"
+ },
+ "path": "v2/{+name}/cmekSettings",
+ "id": "logging.organizations.getCmekSettings",
+ "parameterOrder": [
+ "name"
+ ],
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/cloud-platform.read-only",
+ "https://www.googleapis.com/auth/logging.admin",
+ "https://www.googleapis.com/auth/logging.read"
+ ],
+ "description": "Gets the Logging CMEK settings for the given resource.Note: CMEK for the Log Router can be configured for Google Cloud projects, folders, organizations, and billing accounts. Once configured for an organization, it applies to all projects and folders in the Google Cloud organization.See Enabling CMEK for Log Router (https://cloud.google.com/logging/docs/routing/managed-encryption) for more information.",
+ "flatPath": "v2/organizations/{organizationsId}/cmekSettings"
+ }
+ }
+ },
+ "locations": {
+ "methods": {
+ "get": {
+ "id": "logging.locations.get",
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/cloud-platform.read-only",
+ "https://www.googleapis.com/auth/logging.admin",
+ "https://www.googleapis.com/auth/logging.read"
+ ],
+ "parameters": {
+ "name": {
+ "type": "string",
+ "required": true,
+ "location": "path",
+ "description": "Resource name for the location.",
+ "pattern": "^[^/]+/[^/]+/locations/[^/]+$"
+ }
+ },
+ "path": "v2/{+name}",
+ "response": {
+ "$ref": "Location"
+ },
+ "parameterOrder": [
+ "name"
+ ],
+ "flatPath": "v2/{v2Id}/{v2Id1}/locations/{locationsId}",
+ "httpMethod": "GET",
+ "description": "Gets information about a location."
+ },
+ "list": {
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/cloud-platform.read-only",
+ "https://www.googleapis.com/auth/logging.admin",
+ "https://www.googleapis.com/auth/logging.read"
+ ],
+ "httpMethod": "GET",
+ "path": "v2/{+name}/locations",
+ "parameterOrder": [
+ "name"
+ ],
+ "id": "logging.locations.list",
+ "flatPath": "v2/{v2Id}/{v2Id1}/locations",
+ "parameters": {
+ "filter": {
+ "location": "query",
+ "description": "A filter to narrow down results to a preferred subset. The filtering language accepts strings like \"displayName=tokyo\", and is documented in more detail in AIP-160 (https://google.aip.dev/160).",
+ "type": "string"
+ },
+ "pageToken": {
+ "type": "string",
+ "location": "query",
+ "description": "A page token received from the next_page_token field in the response. Send that page token to receive the subsequent page."
+ },
+ "extraLocationTypes": {
+ "location": "query",
+ "type": "string",
+ "description": "Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage.",
+ "repeated": true
+ },
+ "pageSize": {
+ "description": "The maximum number of results to return. If not set, the service selects a default.",
+ "type": "integer",
+ "format": "int32",
+ "location": "query"
+ },
+ "name": {
+ "description": "The resource that owns the locations collection, if applicable.",
+ "type": "string",
+ "required": true,
+ "location": "path",
+ "pattern": "^[^/]+/[^/]+$"
+ }
+ },
+ "description": "Lists information about the supported locations for this service.",
+ "response": {
+ "$ref": "ListLocationsResponse"
+ }
+ }
+ },
+ "resources": {
+ "operations": {
+ "methods": {
+ "list": {
+ "id": "logging.locations.operations.list",
+ "response": {
+ "$ref": "ListOperationsResponse"
+ },
+ "httpMethod": "GET",
+ "parameterOrder": [
+ "name"
+ ],
+ "parameters": {
+ "returnPartialSuccess": {
+ "type": "boolean",
+ "description": "When set to true, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field.This can only be true when reading across collections. For example, when parent is set to \"projects/example/locations/-\".This field is not supported by default and will result in an UNIMPLEMENTED error if set unless explicitly documented otherwise in service or product specific documentation.",
+ "location": "query"
+ },
+ "filter": {
+ "location": "query",
+ "description": "The standard list filter.",
+ "type": "string"
+ },
+ "pageSize": {
+ "format": "int32",
+ "description": "The standard list page size.",
+ "type": "integer",
+ "location": "query"
+ },
+ "pageToken": {
+ "location": "query",
+ "description": "The standard list page token.",
+ "type": "string"
+ },
+ "name": {
+ "location": "path",
+ "pattern": "^[^/]+/[^/]+/locations/[^/]+$",
+ "description": "The name of the operation's parent resource.",
+ "type": "string",
+ "required": true
+ }
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/cloud-platform.read-only",
+ "https://www.googleapis.com/auth/logging.admin",
+ "https://www.googleapis.com/auth/logging.read"
+ ],
+ "path": "v2/{+name}/operations",
+ "description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns UNIMPLEMENTED.",
+ "flatPath": "v2/{v2Id}/{v2Id1}/locations/{locationsId}/operations"
+ },
+ "get": {
+ "httpMethod": "GET",
+ "description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.",
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/cloud-platform.read-only",
+ "https://www.googleapis.com/auth/logging.admin",
+ "https://www.googleapis.com/auth/logging.read"
+ ],
+ "parameters": {
+ "name": {
+ "location": "path",
+ "description": "The name of the operation resource.",
+ "pattern": "^[^/]+/[^/]+/locations/[^/]+/operations/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v2/{+name}",
+ "response": {
+ "$ref": "Operation"
+ },
+ "flatPath": "v2/{v2Id}/{v2Id1}/locations/{locationsId}/operations/{operationsId}",
+ "parameterOrder": [
+ "name"
+ ],
+ "id": "logging.locations.operations.get"
+ },
+ "cancel": {
+ "id": "logging.locations.operations.cancel",
+ "path": "v2/{+name}:cancel",
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/logging.admin"
+ ],
+ "response": {
+ "$ref": "Empty"
+ },
+ "parameters": {
+ "name": {
+ "required": true,
+ "type": "string",
+ "description": "The name of the operation resource to be cancelled.",
+ "pattern": "^[^/]+/[^/]+/locations/[^/]+/operations/[^/]+$",
+ "location": "path"
+ }
+ },
+ "parameterOrder": [
+ "name"
+ ],
+ "request": {
+ "$ref": "CancelOperationRequest"
+ },
+ "httpMethod": "POST",
+ "description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns google.rpc.Code.UNIMPLEMENTED. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to Code.CANCELLED.",
+ "flatPath": "v2/{v2Id}/{v2Id1}/locations/{locationsId}/operations/{operationsId}:cancel"
+ }
+ }
+ },
+ "buckets": {
+ "resources": {
+ "links": {
+ "methods": {
+ "delete": {
+ "flatPath": "v2/{v2Id}/{v2Id1}/locations/{locationsId}/buckets/{bucketsId}/links/{linksId}",
+ "httpMethod": "DELETE",
+ "id": "logging.locations.buckets.links.delete",
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/logging.admin"
+ ],
+ "description": "Deletes a link. This will also delete the corresponding BigQuery linked dataset.",
+ "response": {
+ "$ref": "Operation"
+ },
+ "path": "v2/{+name}",
+ "parameterOrder": [
+ "name"
+ ],
+ "parameters": {
+ "name": {
+ "pattern": "^[^/]+/[^/]+/locations/[^/]+/buckets/[^/]+/links/[^/]+$",
+ "type": "string",
+ "location": "path",
+ "required": true,
+ "description": "Required. The full resource name of the link to delete. \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]\" \"organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]\" \"folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]\" "
+ }
+ }
+ },
+ "list": {
+ "httpMethod": "GET",
+ "path": "v2/{+parent}/links",
+ "flatPath": "v2/{v2Id}/{v2Id1}/locations/{locationsId}/buckets/{bucketsId}/links",
+ "description": "Lists links.",
+ "id": "logging.locations.buckets.links.list",
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/cloud-platform.read-only",
+ "https://www.googleapis.com/auth/logging.admin",
+ "https://www.googleapis.com/auth/logging.read"
+ ],
+ "response": {
+ "$ref": "ListLinksResponse"
+ },
+ "parameterOrder": [
+ "parent"
+ ],
+ "parameters": {
+ "parent": {
+ "required": true,
+ "description": "Required. The parent resource whose links are to be listed: \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" ",
+ "pattern": "^[^/]+/[^/]+/locations/[^/]+/buckets/[^/]+$",
+ "location": "path",
+ "type": "string"
+ },
+ "pageToken": {
+ "location": "query",
+ "description": "Optional. If present, then retrieve the next batch of results from the preceding call to this method. pageToken must be the value of nextPageToken from the previous response.",
+ "type": "string"
+ },
+ "pageSize": {
+ "format": "int32",
+ "description": "Optional. The maximum number of results to return from this request.",
+ "type": "integer",
+ "location": "query"
+ }
+ }
+ },
+ "get": {
+ "id": "logging.locations.buckets.links.get",
+ "flatPath": "v2/{v2Id}/{v2Id1}/locations/{locationsId}/buckets/{bucketsId}/links/{linksId}",
+ "path": "v2/{+name}",
+ "httpMethod": "GET",
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/cloud-platform.read-only",
+ "https://www.googleapis.com/auth/logging.admin",
+ "https://www.googleapis.com/auth/logging.read"
+ ],
+ "parameterOrder": [
+ "name"
+ ],
+ "description": "Gets a link.",
+ "parameters": {
+ "name": {
+ "type": "string",
+ "required": true,
+ "location": "path",
+ "description": "Required. The resource name of the link: \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]\" \"organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]\" \"folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]\" ",
+ "pattern": "^[^/]+/[^/]+/locations/[^/]+/buckets/[^/]+/links/[^/]+$"
+ }
+ },
+ "response": {
+ "$ref": "Link"
+ }
+ },
+ "create": {
+ "path": "v2/{+parent}/links",
+ "description": "Asynchronously creates a linked dataset in BigQuery which makes it possible to use BigQuery to read the logs stored in the log bucket. A log bucket may currently only contain one link.",
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/logging.admin"
+ ],
+ "parameters": {
+ "linkId": {
+ "type": "string",
+ "description": "Required. The ID to use for the link. The link_id can have up to 100 characters. A valid link_id must only have alphanumeric characters and underscores within it.",
+ "location": "query"
+ },
+ "parent": {
+ "type": "string",
+ "required": true,
+ "location": "path",
+ "pattern": "^[^/]+/[^/]+/locations/[^/]+/buckets/[^/]+$",
+ "description": "Required. The full resource name of the bucket to create a link for. \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" "
+ }
+ },
+ "parameterOrder": [
+ "parent"
+ ],
+ "flatPath": "v2/{v2Id}/{v2Id1}/locations/{locationsId}/buckets/{bucketsId}/links",
+ "id": "logging.locations.buckets.links.create",
+ "httpMethod": "POST",
+ "response": {
+ "$ref": "Operation"
+ },
+ "request": {
+ "$ref": "Link"
+ }
+ }
+ }
+ },
+ "views": {
+ "methods": {
+ "getIamPolicy": {
+ "response": {
+ "$ref": "Policy"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/cloud-platform.read-only",
+ "https://www.googleapis.com/auth/logging.admin",
+ "https://www.googleapis.com/auth/logging.read"
+ ],
+ "parameterOrder": [
+ "resource"
+ ],
+ "description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.",
+ "flatPath": "v2/{v2Id}/{v2Id1}/locations/{locationsId}/buckets/{bucketsId}/views/{viewsId}:getIamPolicy",
+ "parameters": {
+ "resource": {
+ "required": true,
+ "type": "string",
+ "location": "path",
+ "description": "REQUIRED: The resource for which the policy is being requested. See Resource names (https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.",
+ "pattern": "^[^/]+/[^/]+/locations/[^/]+/buckets/[^/]+/views/[^/]+$"
+ }
+ },
+ "request": {
+ "$ref": "GetIamPolicyRequest"
+ },
+ "path": "v2/{+resource}:getIamPolicy",
+ "id": "logging.locations.buckets.views.getIamPolicy",
+ "httpMethod": "POST"
+ },
+ "patch": {
+ "description": "Updates a view on a log bucket. This method replaces the value of the filter field from the existing view with the corresponding value from the new view. If an UNAVAILABLE error is returned, this indicates that system is not in a state where it can update the view. If this occurs, please try again in a few minutes.",
+ "request": {
+ "$ref": "LogView"
+ },
+ "flatPath": "v2/{v2Id}/{v2Id1}/locations/{locationsId}/buckets/{bucketsId}/views/{viewsId}",
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/logging.admin"
+ ],
+ "path": "v2/{+name}",
+ "id": "logging.locations.buckets.views.patch",
+ "response": {
+ "$ref": "LogView"
+ },
+ "httpMethod": "PATCH",
+ "parameterOrder": [
+ "name"
+ ],
+ "parameters": {
+ "name": {
+ "type": "string",
+ "required": true,
+ "description": "Required. The full resource name of the view to update \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]\" For example:\"projects/my-project/locations/global/buckets/my-bucket/views/my-view\"",
+ "location": "path",
+ "pattern": "^[^/]+/[^/]+/locations/[^/]+/buckets/[^/]+/views/[^/]+$"
+ },
+ "updateMask": {
+ "description": "Optional. Field mask that specifies the fields in view that need an update. A field will be overwritten if, and only if, it is in the update mask. name and output only fields cannot be updated.For a detailed FieldMask definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMaskFor example: updateMask=filter",
+ "location": "query",
+ "format": "google-fieldmask",
+ "type": "string"
+ }
+ }
+ },
+ "delete": {
+ "path": "v2/{+name}",
+ "parameterOrder": [
+ "name"
+ ],
+ "description": "Deletes a view on a log bucket. If an UNAVAILABLE error is returned, this indicates that system is not in a state where it can delete the view. If this occurs, please try again in a few minutes.",
+ "parameters": {
+ "name": {
+ "required": true,
+ "type": "string",
+ "description": "Required. The full resource name of the view to delete: \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]\" For example:\"projects/my-project/locations/global/buckets/my-bucket/views/my-view\"",
+ "pattern": "^[^/]+/[^/]+/locations/[^/]+/buckets/[^/]+/views/[^/]+$",
+ "location": "path"
+ }
+ },
+ "httpMethod": "DELETE",
+ "flatPath": "v2/{v2Id}/{v2Id1}/locations/{locationsId}/buckets/{bucketsId}/views/{viewsId}",
+ "response": {
+ "$ref": "Empty"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/logging.admin"
+ ],
+ "id": "logging.locations.buckets.views.delete"
+ },
+ "create": {
+ "description": "Creates a view over log entries in a log bucket. A bucket may contain a maximum of 30 views.",
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/logging.admin"
+ ],
+ "httpMethod": "POST",
+ "parameterOrder": [
+ "parent"
+ ],
+ "response": {
+ "$ref": "LogView"
+ },
+ "path": "v2/{+parent}/views",
+ "id": "logging.locations.buckets.views.create",
+ "flatPath": "v2/{v2Id}/{v2Id1}/locations/{locationsId}/buckets/{bucketsId}/views",
+ "request": {
+ "$ref": "LogView"
+ },
+ "parameters": {
+ "parent": {
+ "location": "path",
+ "description": "Required. The bucket in which to create the view `\"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\"` For example:\"projects/my-project/locations/global/buckets/my-bucket\"",
+ "pattern": "^[^/]+/[^/]+/locations/[^/]+/buckets/[^/]+$",
+ "required": true,
+ "type": "string"
+ },
+ "viewId": {
+ "location": "query",
+ "type": "string",
+ "description": "Required. A client-assigned identifier such as \"my-view\". Identifiers are limited to 100 characters and can include only letters, digits, underscores, and hyphens."
+ }
+ }
+ },
+ "testIamPermissions": {
+ "flatPath": "v2/{v2Id}/{v2Id1}/locations/{locationsId}/buckets/{bucketsId}/views/{viewsId}:testIamPermissions",
+ "response": {
+ "$ref": "TestIamPermissionsResponse"
+ },
+ "parameterOrder": [
+ "resource"
+ ],
+ "parameters": {
+ "resource": {
+ "type": "string",
+ "required": true,
+ "description": "REQUIRED: The resource for which the policy detail is being requested. See Resource names (https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.",
+ "location": "path",
+ "pattern": "^[^/]+/[^/]+/locations/[^/]+/buckets/[^/]+/views/[^/]+$"
+ }
+ },
+ "request": {
+ "$ref": "TestIamPermissionsRequest"
+ },
+ "httpMethod": "POST",
+ "id": "logging.locations.buckets.views.testIamPermissions",
+ "path": "v2/{+resource}:testIamPermissions",
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/cloud-platform.read-only",
+ "https://www.googleapis.com/auth/logging.admin",
+ "https://www.googleapis.com/auth/logging.read"
+ ],
+ "description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a NOT_FOUND error.Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning."
+ },
+ "list": {
+ "httpMethod": "GET",
+ "path": "v2/{+parent}/views",
+ "description": "Lists views on a log bucket.",
+ "parameterOrder": [
+ "parent"
+ ],
+ "parameters": {
+ "pageToken": {
+ "location": "query",
+ "type": "string",
+ "description": "Optional. If present, then retrieve the next batch of results from the preceding call to this method. pageToken must be the value of nextPageToken from the previous response. The values of other method parameters should be identical to those in the previous call."
+ },
+ "pageSize": {
+ "format": "int32",
+ "location": "query",
+ "type": "integer",
+ "description": "Optional. The maximum number of results to return from this request.Non-positive values are ignored. The presence of nextPageToken in the response indicates that more results might be available."
+ },
+ "parent": {
+ "required": true,
+ "location": "path",
+ "type": "string",
+ "description": "Required. The bucket whose views are to be listed: \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" ",
+ "pattern": "^[^/]+/[^/]+/locations/[^/]+/buckets/[^/]+$"
+ }
+ },
+ "id": "logging.locations.buckets.views.list",
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/cloud-platform.read-only",
+ "https://www.googleapis.com/auth/logging.admin",
+ "https://www.googleapis.com/auth/logging.read"
+ ],
+ "flatPath": "v2/{v2Id}/{v2Id1}/locations/{locationsId}/buckets/{bucketsId}/views",
+ "response": {
+ "$ref": "ListViewsResponse"
+ }
+ },
+ "get": {
+ "parameters": {
+ "name": {
+ "pattern": "^[^/]+/[^/]+/locations/[^/]+/buckets/[^/]+/views/[^/]+$",
+ "type": "string",
+ "location": "path",
+ "description": "Required. The resource name of the policy: \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]\" For example:\"projects/my-project/locations/global/buckets/my-bucket/views/my-view\"",
+ "required": true
+ }
+ },
+ "description": "Gets a view on a log bucket.",
+ "id": "logging.locations.buckets.views.get",
+ "flatPath": "v2/{v2Id}/{v2Id1}/locations/{locationsId}/buckets/{bucketsId}/views/{viewsId}",
+ "response": {
+ "$ref": "LogView"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/cloud-platform.read-only",
+ "https://www.googleapis.com/auth/logging.admin",
+ "https://www.googleapis.com/auth/logging.read"
+ ],
+ "path": "v2/{+name}",
+ "httpMethod": "GET",
+ "parameterOrder": [
+ "name"
+ ]
+ },
+ "setIamPolicy": {
+ "parameterOrder": [
+ "resource"
+ ],
+ "path": "v2/{+resource}:setIamPolicy",
+ "parameters": {
+ "resource": {
+ "location": "path",
+ "description": "REQUIRED: The resource for which the policy is being specified. See Resource names (https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.",
+ "pattern": "^[^/]+/[^/]+/locations/[^/]+/buckets/[^/]+/views/[^/]+$",
+ "type": "string",
+ "required": true
+ }
+ },
+ "request": {
+ "$ref": "SetIamPolicyRequest"
+ },
+ "description": "Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors.",
+ "flatPath": "v2/{v2Id}/{v2Id1}/locations/{locationsId}/buckets/{bucketsId}/views/{viewsId}:setIamPolicy",
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/logging.admin"
+ ],
+ "httpMethod": "POST",
+ "id": "logging.locations.buckets.views.setIamPolicy",
+ "response": {
+ "$ref": "Policy"
+ }
+ }
+ }
+ }
+ },
+ "methods": {
+ "patch": {
+ "request": {
+ "$ref": "LogBucket"
+ },
+ "flatPath": "v2/{v2Id}/{v2Id1}/locations/{locationsId}/buckets/{bucketsId}",
+ "response": {
+ "$ref": "LogBucket"
+ },
+ "parameters": {
+ "name": {
+ "location": "path",
+ "pattern": "^[^/]+/[^/]+/locations/[^/]+/buckets/[^/]+$",
+ "type": "string",
+ "required": true,
+ "description": "Required. The full resource name of the bucket to update. \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" For example:\"projects/my-project/locations/global/buckets/my-bucket\""
+ },
+ "updateMask": {
+ "type": "string",
+ "format": "google-fieldmask",
+ "location": "query",
+ "description": "Required. Field mask that specifies the fields in bucket that need an update. A bucket field will be overwritten if, and only if, it is in the update mask. name and output only fields cannot be updated.For a detailed FieldMask definition, see: https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMaskFor example: updateMask=retention_days"
+ }
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/logging.admin"
+ ],
+ "httpMethod": "PATCH",
+ "parameterOrder": [
+ "name"
+ ],
+ "id": "logging.locations.buckets.patch",
+ "path": "v2/{+name}",
+ "description": "Updates a log bucket.If the bucket has a lifecycle_state of DELETE_REQUESTED, then FAILED_PRECONDITION will be returned.After a bucket has been created, the bucket's location cannot be changed."
+ },
+ "undelete": {
+ "description": "Undeletes a log bucket. A bucket that has been deleted can be undeleted within the grace period of 7 days.",
+ "path": "v2/{+name}:undelete",
+ "flatPath": "v2/{v2Id}/{v2Id1}/locations/{locationsId}/buckets/{bucketsId}:undelete",
+ "httpMethod": "POST",
+ "id": "logging.locations.buckets.undelete",
+ "parameterOrder": [
+ "name"
+ ],
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/logging.admin"
+ ],
+ "request": {
+ "$ref": "UndeleteBucketRequest"
+ },
+ "parameters": {
+ "name": {
+ "pattern": "^[^/]+/[^/]+/locations/[^/]+/buckets/[^/]+$",
+ "type": "string",
+ "description": "Required. The full resource name of the bucket to undelete. \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" For example:\"projects/my-project/locations/global/buckets/my-bucket\"",
+ "required": true,
+ "location": "path"
+ }
+ },
+ "response": {
+ "$ref": "Empty"
+ }
+ },
+ "updateAsync": {
+ "parameters": {
+ "name": {
+ "pattern": "^[^/]+/[^/]+/locations/[^/]+/buckets/[^/]+$",
+ "location": "path",
+ "type": "string",
+ "required": true,
+ "description": "Required. The full resource name of the bucket to update. \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" For example:\"projects/my-project/locations/global/buckets/my-bucket\""
+ },
+ "updateMask": {
+ "location": "query",
+ "type": "string",
+ "format": "google-fieldmask",
+ "description": "Required. Field mask that specifies the fields in bucket that need an update. A bucket field will be overwritten if, and only if, it is in the update mask. name and output only fields cannot be updated.For a detailed FieldMask definition, see: https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMaskFor example: updateMask=retention_days"
+ }
+ },
+ "request": {
+ "$ref": "LogBucket"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/logging.admin"
+ ],
+ "response": {
+ "$ref": "Operation"
+ },
+ "flatPath": "v2/{v2Id}/{v2Id1}/locations/{locationsId}/buckets/{bucketsId}:updateAsync",
+ "parameterOrder": [
+ "name"
+ ],
+ "path": "v2/{+name}:updateAsync",
+ "description": "Updates a log bucket asynchronously.If the bucket has a lifecycle_state of DELETE_REQUESTED, then FAILED_PRECONDITION will be returned.After a bucket has been created, the bucket's location cannot be changed.",
+ "id": "logging.locations.buckets.updateAsync",
+ "httpMethod": "POST"
+ },
+ "get": {
+ "httpMethod": "GET",
+ "parameterOrder": [
+ "name"
+ ],
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/cloud-platform.read-only",
+ "https://www.googleapis.com/auth/logging.admin",
+ "https://www.googleapis.com/auth/logging.read"
+ ],
+ "id": "logging.locations.buckets.get",
+ "flatPath": "v2/{v2Id}/{v2Id1}/locations/{locationsId}/buckets/{bucketsId}",
+ "response": {
+ "$ref": "LogBucket"
+ },
+ "parameters": {
+ "name": {
+ "required": true,
+ "description": "Required. The resource name of the bucket: \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" For example:\"projects/my-project/locations/global/buckets/my-bucket\"",
+ "pattern": "^[^/]+/[^/]+/locations/[^/]+/buckets/[^/]+$",
+ "type": "string",
+ "location": "path"
+ }
+ },
+ "path": "v2/{+name}",
+ "description": "Gets a log bucket."
+ },
+ "create": {
+ "description": "Creates a log bucket that can be used to store log entries. After a bucket has been created, the bucket's location cannot be changed.",
+ "flatPath": "v2/{v2Id}/{v2Id1}/locations/{locationsId}/buckets",
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/logging.admin"
+ ],
+ "httpMethod": "POST",
+ "id": "logging.locations.buckets.create",
+ "response": {
+ "$ref": "LogBucket"
+ },
+ "parameters": {
+ "parent": {
+ "type": "string",
+ "required": true,
+ "pattern": "^[^/]+/[^/]+/locations/[^/]+$",
+ "location": "path",
+ "description": "Required. The resource in which to create the log bucket: \"projects/[PROJECT_ID]/locations/[LOCATION_ID]\" For example:\"projects/my-project/locations/global\""
+ },
+ "bucketId": {
+ "type": "string",
+ "location": "query",
+ "description": "Required. A client-assigned identifier such as \"my-bucket\". Identifiers are limited to 100 characters and can include only letters, digits, underscores, hyphens, and periods. Bucket identifiers must start with an alphanumeric character."
+ }
+ },
+ "path": "v2/{+parent}/buckets",
+ "request": {
+ "$ref": "LogBucket"
+ },
+ "parameterOrder": [
+ "parent"
+ ]
+ },
+ "list": {
+ "parameterOrder": [
+ "parent"
+ ],
+ "description": "Lists log buckets.",
+ "flatPath": "v2/{v2Id}/{v2Id1}/locations/{locationsId}/buckets",
+ "path": "v2/{+parent}/buckets",
+ "response": {
+ "$ref": "ListBucketsResponse"
+ },
+ "httpMethod": "GET",
+ "parameters": {
+ "parent": {
+ "type": "string",
+ "required": true,
+ "description": "Required. The parent resource whose buckets are to be listed: \"projects/[PROJECT_ID]/locations/[LOCATION_ID]\" \"organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]\" \"folders/[FOLDER_ID]/locations/[LOCATION_ID]\" Note: The locations portion of the resource must be specified, but supplying the character - in place of LOCATION_ID will return all buckets.",
+ "location": "path",
+ "pattern": "^[^/]+/[^/]+/locations/[^/]+$"
+ },
+ "pageToken": {
+ "type": "string",
+ "location": "query",
+ "description": "Optional. If present, then retrieve the next batch of results from the preceding call to this method. pageToken must be the value of nextPageToken from the previous response. The values of other method parameters should be identical to those in the previous call."
+ },
+ "pageSize": {
+ "type": "integer",
+ "format": "int32",
+ "description": "Optional. The maximum number of results to return from this request. Non-positive values are ignored. The presence of nextPageToken in the response indicates that more results might be available.",
+ "location": "query"
+ }
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/cloud-platform.read-only",
+ "https://www.googleapis.com/auth/logging.admin",
+ "https://www.googleapis.com/auth/logging.read"
+ ],
+ "id": "logging.locations.buckets.list"
+ },
+ "delete": {
+ "description": "Deletes a log bucket.Changes the bucket's lifecycle_state to the DELETE_REQUESTED state. After 7 days, the bucket will be purged and all log entries in the bucket will be permanently deleted.",
+ "id": "logging.locations.buckets.delete",
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/logging.admin"
+ ],
+ "response": {
+ "$ref": "Empty"
+ },
+ "parameters": {
+ "name": {
+ "location": "path",
+ "type": "string",
+ "required": true,
+ "description": "Required. The full resource name of the bucket to delete. \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" For example:\"projects/my-project/locations/global/buckets/my-bucket\"",
+ "pattern": "^[^/]+/[^/]+/locations/[^/]+/buckets/[^/]+$"
+ }
+ },
+ "httpMethod": "DELETE",
+ "parameterOrder": [
+ "name"
+ ],
+ "flatPath": "v2/{v2Id}/{v2Id1}/locations/{locationsId}/buckets/{bucketsId}",
+ "path": "v2/{+name}"
+ },
+ "createAsync": {
+ "httpMethod": "POST",
+ "description": "Creates a log bucket asynchronously that can be used to store log entries.After a bucket has been created, the bucket's location cannot be changed.",
+ "parameterOrder": [
+ "parent"
+ ],
+ "response": {
+ "$ref": "Operation"
+ },
+ "id": "logging.locations.buckets.createAsync",
+ "path": "v2/{+parent}/buckets:createAsync",
+ "request": {
+ "$ref": "LogBucket"
+ },
+ "parameters": {
+ "parent": {
+ "type": "string",
+ "required": true,
+ "pattern": "^[^/]+/[^/]+/locations/[^/]+$",
+ "description": "Required. The resource in which to create the log bucket: \"projects/[PROJECT_ID]/locations/[LOCATION_ID]\" For example:\"projects/my-project/locations/global\"",
+ "location": "path"
+ },
+ "bucketId": {
+ "description": "Required. A client-assigned identifier such as \"my-bucket\". Identifiers are limited to 100 characters and can include only letters, digits, underscores, hyphens, and periods. Bucket identifiers must start with an alphanumeric character.",
+ "location": "query",
+ "type": "string"
+ }
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/logging.admin"
+ ],
+ "flatPath": "v2/{v2Id}/{v2Id1}/locations/{locationsId}/buckets:createAsync"
+ }
+ }
+ }
+ }
+ },
+ "projects": {
+ "resources": {
+ "locations": {
+ "resources": {
+ "operations": {
+ "methods": {
+ "list": {
+ "httpMethod": "GET",
+ "response": {
+ "$ref": "ListOperationsResponse"
+ },
+ "description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns UNIMPLEMENTED.",
+ "parameters": {
+ "pageToken": {
+ "description": "The standard list page token.",
+ "location": "query",
+ "type": "string"
+ },
+ "filter": {
+ "location": "query",
+ "type": "string",
+ "description": "The standard list filter."
+ },
+ "returnPartialSuccess": {
+ "description": "When set to true, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field.This can only be true when reading across collections. For example, when parent is set to \"projects/example/locations/-\".This field is not supported by default and will result in an UNIMPLEMENTED error if set unless explicitly documented otherwise in service or product specific documentation.",
+ "type": "boolean",
+ "location": "query"
+ },
+ "name": {
+ "required": true,
+ "location": "path",
+ "description": "The name of the operation's parent resource.",
+ "type": "string",
+ "pattern": "^projects/[^/]+/locations/[^/]+$"
+ },
+ "pageSize": {
+ "type": "integer",
+ "description": "The standard list page size.",
+ "location": "query",
+ "format": "int32"
+ }
+ },
+ "parameterOrder": [
+ "name"
+ ],
+ "id": "logging.projects.locations.operations.list",
+ "path": "v2/{+name}/operations",
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/cloud-platform.read-only",
+ "https://www.googleapis.com/auth/logging.admin",
+ "https://www.googleapis.com/auth/logging.read"
+ ],
+ "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/operations"
+ },
+ "get": {
+ "description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.",
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/cloud-platform.read-only",
+ "https://www.googleapis.com/auth/logging.admin",
+ "https://www.googleapis.com/auth/logging.read"
+ ],
+ "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}",
+ "response": {
+ "$ref": "Operation"
+ },
+ "parameterOrder": [
+ "name"
+ ],
+ "id": "logging.projects.locations.operations.get",
+ "path": "v2/{+name}",
+ "parameters": {
+ "name": {
+ "required": true,
+ "description": "The name of the operation resource.",
+ "pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$",
+ "location": "path",
+ "type": "string"
+ }
+ },
+ "httpMethod": "GET"
+ },
+ "cancel": {
+ "httpMethod": "POST",
+ "description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns google.rpc.Code.UNIMPLEMENTED. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to Code.CANCELLED.",
+ "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}:cancel",
+ "parameters": {
+ "name": {
+ "required": true,
+ "type": "string",
+ "location": "path",
+ "description": "The name of the operation resource to be cancelled.",
+ "pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$"
+ }
+ },
+ "request": {
+ "$ref": "CancelOperationRequest"
+ },
+ "path": "v2/{+name}:cancel",
+ "parameterOrder": [
+ "name"
+ ],
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/logging.admin"
+ ],
+ "response": {
+ "$ref": "Empty"
+ },
+ "id": "logging.projects.locations.operations.cancel"
+ }
+ }
+ },
+ "recentQueries": {
+ "methods": {
+ "list": {
+ "parameterOrder": [
+ "parent"
+ ],
+ "parameters": {
+ "pageSize": {
+ "location": "query",
+ "description": "Optional. The maximum number of results to return from this request. Non-positive values are ignored. The presence of nextPageToken in the response indicates that more results might be available.",
+ "type": "integer",
+ "format": "int32"
+ },
+ "filter": {
+ "location": "query",
+ "type": "string",
+ "description": "Optional. Specifies the type (\"Logging\" or \"OpsAnalytics\") of the recent queries to list. The only valid value for this field is one of the two allowable type function calls, which are the following: type(\"Logging\") type(\"OpsAnalytics\")"
+ },
+ "pageToken": {
+ "location": "query",
+ "type": "string",
+ "description": "Optional. If present, then retrieve the next batch of results from the preceding call to this method. pageToken must be the value of nextPageToken from the previous response. The values of other method parameters should be identical to those in the previous call."
+ },
+ "parent": {
+ "required": true,
+ "location": "path",
+ "description": "Required. The resource to which the listed queries belong. \"projects/[PROJECT_ID]/locations/[LOCATION_ID]\" \"organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]\" \"folders/[FOLDER_ID]/locations/[LOCATION_ID]\" For example:projects/my-project/locations/us-central1Note: The location portion of the resource must be specified, but supplying the character - in place of LOCATION_ID will return all recent queries.",
+ "pattern": "^projects/[^/]+/locations/[^/]+$",
+ "type": "string"
+ }
+ },
+ "httpMethod": "GET",
+ "path": "v2/{+parent}/recentQueries",
+ "id": "logging.projects.locations.recentQueries.list",
+ "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/recentQueries",
+ "description": "Lists the RecentQueries that were created by the user making the request.",
+ "response": {
+ "$ref": "ListRecentQueriesResponse"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/cloud-platform.read-only",
+ "https://www.googleapis.com/auth/logging.admin",
+ "https://www.googleapis.com/auth/logging.read"
+ ]
+ }
+ }
+ },
+ "savedQueries": {
+ "methods": {
+ "get": {
+ "description": "Returns all data associated with the requested query.",
+ "path": "v2/{+name}",
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/cloud-platform.read-only",
+ "https://www.googleapis.com/auth/logging.admin",
+ "https://www.googleapis.com/auth/logging.read"
+ ],
+ "id": "logging.projects.locations.savedQueries.get",
+ "httpMethod": "GET",
+ "parameterOrder": [
+ "name"
+ ],
+ "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/savedQueries/{savedQueriesId}",
+ "parameters": {
+ "name": {
+ "description": "Required. The resource name of the saved query. \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/savedQueries/[QUERY_ID]\" \"organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/savedQueries/[QUERY_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/savedQueries/[QUERY_ID]\" \"folders/[FOLDER_ID]/locations/[LOCATION_ID]/savedQueries/[QUERY_ID]\" For example: \"projects/my-project/locations/global/savedQueries/my-saved-query\" ",
+ "location": "path",
+ "type": "string",
+ "pattern": "^projects/[^/]+/locations/[^/]+/savedQueries/[^/]+$",
+ "required": true
+ }
+ },
+ "response": {
+ "$ref": "SavedQuery"
+ }
+ },
+ "patch": {
+ "request": {
+ "$ref": "SavedQuery"
+ },
+ "path": "v2/{+name}",
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/logging.admin"
+ ],
+ "description": "Updates an existing SavedQuery.",
+ "httpMethod": "PATCH",
+ "response": {
+ "$ref": "SavedQuery"
+ },
+ "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/savedQueries/{savedQueriesId}",
+ "id": "logging.projects.locations.savedQueries.patch",
+ "parameterOrder": [
+ "name"
+ ],
+ "parameters": {
+ "name": {
+ "type": "string",
+ "required": true,
+ "description": "Output only. Resource name of the saved query.In the format: \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/savedQueries/[QUERY_ID]\" For a list of supported locations, see Supported Regions (https://cloud.google.com/logging/docs/region-support#bucket-regions)After the saved query is created, the location cannot be changed.If the user doesn't provide a QUERY_ID, the system will generate an alphanumeric ID.",
+ "location": "path",
+ "pattern": "^projects/[^/]+/locations/[^/]+/savedQueries/[^/]+$"
+ },
+ "updateMask": {
+ "type": "string",
+ "location": "query",
+ "format": "google-fieldmask",
+ "description": "Required. A non-empty list of fields to change in the existing saved query. Fields are relative to the saved_query and new values for the fields are taken from the corresponding fields in the SavedQuery included in this request. Fields not mentioned in update_mask are not changed and are ignored in the request.To update all mutable fields, specify an update_mask of *.For example, to change the description and query filter text of a saved query, specify an update_mask of \"description, query.filter\"."
+ }
+ }
+ },
+ "delete": {
+ "path": "v2/{+name}",
+ "parameters": {
+ "name": {
+ "type": "string",
+ "required": true,
+ "location": "path",
+ "description": "Required. The full resource name of the saved query to delete. \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/savedQueries/[QUERY_ID]\" \"organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/savedQueries/[QUERY_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/savedQueries/[QUERY_ID]\" \"folders/[FOLDER_ID]/locations/[LOCATION_ID]/savedQueries/[QUERY_ID]\" For example: \"projects/my-project/locations/global/savedQueries/my-saved-query\" ",
+ "pattern": "^projects/[^/]+/locations/[^/]+/savedQueries/[^/]+$"
+ }
+ },
+ "id": "logging.projects.locations.savedQueries.delete",
+ "description": "Deletes an existing SavedQuery that was created by the user making the request.",
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/logging.admin"
+ ],
+ "response": {
+ "$ref": "Empty"
+ },
+ "parameterOrder": [
+ "name"
+ ],
+ "httpMethod": "DELETE",
+ "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/savedQueries/{savedQueriesId}"
+ },
+ "list": {
+ "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/savedQueries",
+ "path": "v2/{+parent}/savedQueries",
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/cloud-platform.read-only",
+ "https://www.googleapis.com/auth/logging.admin",
+ "https://www.googleapis.com/auth/logging.read"
+ ],
+ "httpMethod": "GET",
+ "parameters": {
+ "pageToken": {
+ "type": "string",
+ "description": "Optional. If present, then retrieve the next batch of results from the preceding call to this method. pageToken must be the value of nextPageToken from the previous response. The values of other method parameters should be identical to those in the previous call.",
+ "location": "query"
+ },
+ "pageSize": {
+ "location": "query",
+ "format": "int32",
+ "type": "integer",
+ "description": "Optional. The maximum number of results to return from this request.Non-positive values are ignored. The presence of nextPageToken in the response indicates that more results might be available."
+ },
+ "parent": {
+ "pattern": "^projects/[^/]+/locations/[^/]+$",
+ "required": true,
+ "type": "string",
+ "location": "path",
+ "description": "Required. The resource to which the listed queries belong. \"projects/[PROJECT_ID]/locations/[LOCATION_ID]\" \"organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]\" \"folders/[FOLDER_ID]/locations/[LOCATION_ID]\" For example: \"projects/my-project/locations/us-central1\" Note: The locations portion of the resource must be specified. To get a list of all saved queries, a wildcard character - can be used for LOCATION_ID, for example: \"projects/my-project/locations/-\" "
+ },
+ "filter": {
+ "type": "string",
+ "description": "Optional. Specifies the type (\"Logging\" or \"OpsAnalytics\") and the visibility (PRIVATE or SHARED) of the saved queries to list. If provided, the filter must contain either the type function or a visibility token, or both. If both are chosen, they can be placed in any order, but they must be joined by the AND operator or the empty character.The two supported type function calls are: type(\"Logging\") type(\"OpsAnalytics\")The two supported visibility tokens are: visibility = PRIVATE visibility = SHAREDFor example:type(\"Logging\") AND visibility = PRIVATE visibility=SHARED type(\"OpsAnalytics\") type(\"OpsAnalytics)\" visibility = PRIVATE visibility = SHARED",
+ "location": "query"
+ }
+ },
+ "response": {
+ "$ref": "ListSavedQueriesResponse"
+ },
+ "id": "logging.projects.locations.savedQueries.list",
+ "parameterOrder": [
+ "parent"
+ ],
+ "description": "Lists the SavedQueries that were created by the user making the request."
+ },
+ "create": {
+ "parameterOrder": [
+ "parent"
+ ],
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/logging.admin"
+ ],
+ "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/savedQueries",
+ "parameters": {
+ "parent": {
+ "type": "string",
+ "location": "path",
+ "pattern": "^projects/[^/]+/locations/[^/]+$",
+ "required": true,
+ "description": "Required. The parent resource in which to create the saved query: \"projects/[PROJECT_ID]/locations/[LOCATION_ID]\" \"organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]\" \"folders/[FOLDER_ID]/locations/[LOCATION_ID]\" For example: \"projects/my-project/locations/global\" \"organizations/123456789/locations/us-central1\" "
+ },
+ "savedQueryId": {
+ "description": "Optional. The ID to use for the saved query, which will become the final component of the saved query's resource name.If the saved_query_id is not provided, the system will generate an alphanumeric ID.The saved_query_id is limited to 100 characters and can include only the following characters: upper and lower-case alphanumeric characters, underscores, hyphens, periods.First character has to be alphanumeric.",
+ "type": "string",
+ "location": "query"
+ }
+ },
+ "request": {
+ "$ref": "SavedQuery"
+ },
+ "description": "Creates a new SavedQuery for the user making the request.",
+ "httpMethod": "POST",
+ "id": "logging.projects.locations.savedQueries.create",
+ "response": {
+ "$ref": "SavedQuery"
+ },
+ "path": "v2/{+parent}/savedQueries"
+ }
+ }
+ },
+ "logScopes": {
+ "methods": {
+ "list": {
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/cloud-platform.read-only",
+ "https://www.googleapis.com/auth/logging.admin",
+ "https://www.googleapis.com/auth/logging.read"
+ ],
+ "response": {
+ "$ref": "ListLogScopesResponse"
+ },
+ "id": "logging.projects.locations.logScopes.list",
+ "httpMethod": "GET",
+ "path": "v2/{+parent}/logScopes",
+ "parameters": {
+ "pageToken": {
+ "location": "query",
+ "type": "string",
+ "description": "Optional. If present, then retrieve the next batch of results from the preceding call to this method. pageToken must be the value of nextPageToken from the previous response. The values of other method parameters should be identical to those in the previous call."
+ },
+ "pageSize": {
+ "description": "Optional. The maximum number of results to return from this request.Non-positive values are ignored. The presence of nextPageToken in the response indicates that more results might be available.",
+ "location": "query",
+ "type": "integer",
+ "format": "int32"
+ },
+ "parent": {
+ "location": "path",
+ "description": "Required. The parent resource whose log scopes are to be listed: \"projects/[PROJECT_ID]/locations/[LOCATION_ID]\" ",
+ "pattern": "^projects/[^/]+/locations/[^/]+$",
+ "type": "string",
+ "required": true
+ }
+ },
+ "parameterOrder": [
+ "parent"
+ ],
+ "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/logScopes",
+ "description": "Lists log scopes."
+ },
+ "patch": {
+ "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/logScopes/{logScopesId}",
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/logging.admin"
+ ],
+ "path": "v2/{+name}",
+ "parameterOrder": [
+ "name"
+ ],
+ "request": {
+ "$ref": "LogScope"
+ },
+ "id": "logging.projects.locations.logScopes.patch",
+ "description": "Updates a log scope.",
+ "parameters": {
+ "updateMask": {
+ "description": "Optional. Field mask that specifies the fields in log_scope that need an update. A field will be overwritten if, and only if, it is in the update mask. name and output only fields cannot be updated.For a detailed FieldMask definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMaskFor example: updateMask=description",
+ "type": "string",
+ "location": "query",
+ "format": "google-fieldmask"
+ },
+ "name": {
+ "type": "string",
+ "required": true,
+ "description": "Output only. The resource name of the log scope.Log scopes are only available in the global location. For example:projects/my-project/locations/global/logScopes/my-log-scope",
+ "pattern": "^projects/[^/]+/locations/[^/]+/logScopes/[^/]+$",
+ "location": "path"
+ }
+ },
+ "httpMethod": "PATCH",
+ "response": {
+ "$ref": "LogScope"
+ }
+ },
+ "create": {
+ "path": "v2/{+parent}/logScopes",
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/logging.admin"
+ ],
+ "description": "Creates a log scope.",
+ "httpMethod": "POST",
+ "id": "logging.projects.locations.logScopes.create",
+ "parameters": {
+ "parent": {
+ "location": "path",
+ "pattern": "^projects/[^/]+/locations/[^/]+$",
+ "required": true,
+ "description": "Required. The parent resource in which to create the log scope: \"projects/[PROJECT_ID]/locations/[LOCATION_ID]\" \"organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]\" \"folders/[FOLDER_ID]/locations/[LOCATION_ID]\" For example:\"projects/my-project/locations/global\"",
+ "type": "string"
+ },
+ "logScopeId": {
+ "description": "Required. A client-assigned identifier such as \"log-scope\". Identifiers are limited to 100 characters and can include only letters, digits, underscores, hyphens, and periods. First character has to be alphanumeric.",
+ "location": "query",
+ "type": "string"
+ }
+ },
+ "response": {
+ "$ref": "LogScope"
+ },
+ "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/logScopes",
+ "request": {
+ "$ref": "LogScope"
+ },
+ "parameterOrder": [
+ "parent"
+ ]
+ },
+ "get": {
+ "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/logScopes/{logScopesId}",
+ "parameters": {
+ "name": {
+ "pattern": "^projects/[^/]+/locations/[^/]+/logScopes/[^/]+$",
+ "description": "Required. The resource name of the log scope: \"projects/[PROJECT_ID]/locations/[LOCATION_ID]\" \"organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]\" \"folders/[FOLDER_ID]/locations/[LOCATION_ID]\" For example:\"projects/my-project/locations/global/logScopes/my-log-scope\"",
+ "required": true,
+ "location": "path",
+ "type": "string"
+ }
+ },
+ "path": "v2/{+name}",
+ "parameterOrder": [
+ "name"
+ ],
+ "response": {
+ "$ref": "LogScope"
+ },
+ "description": "Gets a log scope.",
+ "httpMethod": "GET",
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/cloud-platform.read-only",
+ "https://www.googleapis.com/auth/logging.admin",
+ "https://www.googleapis.com/auth/logging.read"
+ ],
+ "id": "logging.projects.locations.logScopes.get"
+ },
+ "delete": {
+ "description": "Deletes a log scope.",
+ "parameterOrder": [
+ "name"
+ ],
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/logging.admin"
+ ],
+ "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/logScopes/{logScopesId}",
+ "httpMethod": "DELETE",
+ "parameters": {
+ "name": {
+ "required": true,
+ "pattern": "^projects/[^/]+/locations/[^/]+/logScopes/[^/]+$",
+ "location": "path",
+ "description": "Required. The resource name of the log scope to delete: \"projects/[PROJECT_ID]/locations/[LOCATION_ID]\" \"organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]\" \"folders/[FOLDER_ID]/locations/[LOCATION_ID]\" For example:\"projects/my-project/locations/global/logScopes/my-log-scope\"",
+ "type": "string"
+ }
+ },
+ "response": {
+ "$ref": "Empty"
+ },
+ "path": "v2/{+name}",
+ "id": "logging.projects.locations.logScopes.delete"
+ }
+ }
+ },
+ "buckets": {
+ "resources": {
+ "links": {
+ "methods": {
+ "delete": {
+ "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/buckets/{bucketsId}/links/{linksId}",
+ "id": "logging.projects.locations.buckets.links.delete",
+ "description": "Deletes a link. This will also delete the corresponding BigQuery linked dataset.",
+ "response": {
+ "$ref": "Operation"
+ },
+ "parameters": {
+ "name": {
+ "description": "Required. The full resource name of the link to delete. \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]\" \"organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]\" \"folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]\" ",
+ "required": true,
+ "pattern": "^projects/[^/]+/locations/[^/]+/buckets/[^/]+/links/[^/]+$",
+ "type": "string",
+ "location": "path"
+ }
+ },
+ "path": "v2/{+name}",
+ "parameterOrder": [
+ "name"
+ ],
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/logging.admin"
+ ],
+ "httpMethod": "DELETE"
+ },
+ "create": {
+ "path": "v2/{+parent}/links",
+ "parameters": {
+ "linkId": {
+ "description": "Required. The ID to use for the link. The link_id can have up to 100 characters. A valid link_id must only have alphanumeric characters and underscores within it.",
+ "location": "query",
+ "type": "string"
+ },
+ "parent": {
+ "required": true,
+ "location": "path",
+ "pattern": "^projects/[^/]+/locations/[^/]+/buckets/[^/]+$",
+ "type": "string",
+ "description": "Required. The full resource name of the bucket to create a link for. \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" "
+ }
+ },
+ "response": {
+ "$ref": "Operation"
+ },
+ "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/buckets/{bucketsId}/links",
+ "parameterOrder": [
+ "parent"
+ ],
+ "id": "logging.projects.locations.buckets.links.create",
+ "request": {
+ "$ref": "Link"
+ },
+ "httpMethod": "POST",
+ "description": "Asynchronously creates a linked dataset in BigQuery which makes it possible to use BigQuery to read the logs stored in the log bucket. A log bucket may currently only contain one link.",
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/logging.admin"
+ ]
+ },
+ "list": {
+ "response": {
+ "$ref": "ListLinksResponse"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/cloud-platform.read-only",
+ "https://www.googleapis.com/auth/logging.admin",
+ "https://www.googleapis.com/auth/logging.read"
+ ],
+ "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/buckets/{bucketsId}/links",
+ "parameters": {
+ "pageToken": {
+ "description": "Optional. If present, then retrieve the next batch of results from the preceding call to this method. pageToken must be the value of nextPageToken from the previous response.",
+ "type": "string",
+ "location": "query"
+ },
+ "parent": {
+ "location": "path",
+ "required": true,
+ "pattern": "^projects/[^/]+/locations/[^/]+/buckets/[^/]+$",
+ "description": "Required. The parent resource whose links are to be listed: \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" ",
+ "type": "string"
+ },
+ "pageSize": {
+ "type": "integer",
+ "format": "int32",
+ "location": "query",
+ "description": "Optional. The maximum number of results to return from this request."
+ }
+ },
+ "description": "Lists links.",
+ "path": "v2/{+parent}/links",
+ "httpMethod": "GET",
+ "id": "logging.projects.locations.buckets.links.list",
+ "parameterOrder": [
+ "parent"
+ ]
+ },
+ "get": {
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/cloud-platform.read-only",
+ "https://www.googleapis.com/auth/logging.admin",
+ "https://www.googleapis.com/auth/logging.read"
+ ],
+ "response": {
+ "$ref": "Link"
+ },
+ "parameterOrder": [
+ "name"
+ ],
+ "id": "logging.projects.locations.buckets.links.get",
+ "description": "Gets a link.",
+ "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/buckets/{bucketsId}/links/{linksId}",
+ "parameters": {
+ "name": {
+ "type": "string",
+ "pattern": "^projects/[^/]+/locations/[^/]+/buckets/[^/]+/links/[^/]+$",
+ "description": "Required. The resource name of the link: \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]\" \"organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]\" \"folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]\" ",
+ "location": "path",
+ "required": true
+ }
+ },
+ "path": "v2/{+name}",
+ "httpMethod": "GET"
+ }
+ }
+ },
+ "views": {
+ "resources": {
+ "logs": {
+ "methods": {
+ "list": {
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/cloud-platform.read-only",
+ "https://www.googleapis.com/auth/logging.admin",
+ "https://www.googleapis.com/auth/logging.read"
+ ],
+ "path": "v2/{+parent}/logs",
+ "response": {
+ "$ref": "ListLogsResponse"
+ },
+ "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/buckets/{bucketsId}/views/{viewsId}/logs",
+ "id": "logging.projects.locations.buckets.views.logs.list",
+ "parameterOrder": [
+ "parent"
+ ],
+ "httpMethod": "GET",
+ "description": "Lists the logs in projects, organizations, folders, or billing accounts. Only logs that have entries are listed.",
+ "parameters": {
+ "resourceNames": {
+ "type": "string",
+ "repeated": true,
+ "location": "query",
+ "description": "Optional. List of resource names to list logs for: projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID] organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID] billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID] folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]To support legacy queries, it could also be: projects/[PROJECT_ID] organizations/[ORGANIZATION_ID] billingAccounts/[BILLING_ACCOUNT_ID] folders/[FOLDER_ID]The resource name in the parent field is added to this list."
+ },
+ "parent": {
+ "location": "path",
+ "description": "Required. The resource name to list logs for: projects/[PROJECT_ID] organizations/[ORGANIZATION_ID] billingAccounts/[BILLING_ACCOUNT_ID] folders/[FOLDER_ID]",
+ "required": true,
+ "pattern": "^projects/[^/]+/locations/[^/]+/buckets/[^/]+/views/[^/]+$",
+ "type": "string"
+ },
+ "pageSize": {
+ "format": "int32",
+ "type": "integer",
+ "description": "Optional. The maximum number of results to return from this request. Non-positive values are ignored. The presence of nextPageToken in the response indicates that more results might be available.",
+ "location": "query"
+ },
+ "pageToken": {
+ "type": "string",
+ "description": "Optional. If present, then retrieve the next batch of results from the preceding call to this method. pageToken must be the value of nextPageToken from the previous response. The values of other method parameters should be identical to those in the previous call.",
+ "location": "query"
+ }
+ }
+ }
+ }
+ }
+ },
+ "methods": {
+ "testIamPermissions": {
+ "httpMethod": "POST",
+ "parameterOrder": [
+ "resource"
+ ],
+ "id": "logging.projects.locations.buckets.views.testIamPermissions",
+ "response": {
+ "$ref": "TestIamPermissionsResponse"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/cloud-platform.read-only",
+ "https://www.googleapis.com/auth/logging.admin",
+ "https://www.googleapis.com/auth/logging.read"
+ ],
+ "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/buckets/{bucketsId}/views/{viewsId}:testIamPermissions",
+ "request": {
+ "$ref": "TestIamPermissionsRequest"
+ },
+ "parameters": {
+ "resource": {
+ "pattern": "^projects/[^/]+/locations/[^/]+/buckets/[^/]+/views/[^/]+$",
+ "required": true,
+ "description": "REQUIRED: The resource for which the policy detail is being requested. See Resource names (https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.",
+ "location": "path",
+ "type": "string"
+ }
+ },
+ "description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a NOT_FOUND error.Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.",
+ "path": "v2/{+resource}:testIamPermissions"
+ },
+ "patch": {
+ "request": {
+ "$ref": "LogView"
+ },
+ "id": "logging.projects.locations.buckets.views.patch",
+ "path": "v2/{+name}",
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/logging.admin"
+ ],
+ "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/buckets/{bucketsId}/views/{viewsId}",
+ "response": {
+ "$ref": "LogView"
+ },
+ "parameters": {
+ "updateMask": {
+ "location": "query",
+ "description": "Optional. Field mask that specifies the fields in view that need an update. A field will be overwritten if, and only if, it is in the update mask. name and output only fields cannot be updated.For a detailed FieldMask definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMaskFor example: updateMask=filter",
+ "type": "string",
+ "format": "google-fieldmask"
+ },
+ "name": {
+ "description": "Required. The full resource name of the view to update \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]\" For example:\"projects/my-project/locations/global/buckets/my-bucket/views/my-view\"",
+ "location": "path",
+ "type": "string",
+ "pattern": "^projects/[^/]+/locations/[^/]+/buckets/[^/]+/views/[^/]+$",
+ "required": true
+ }
+ },
+ "httpMethod": "PATCH",
+ "description": "Updates a view on a log bucket. This method replaces the value of the filter field from the existing view with the corresponding value from the new view. If an UNAVAILABLE error is returned, this indicates that system is not in a state where it can update the view. If this occurs, please try again in a few minutes.",
+ "parameterOrder": [
+ "name"
+ ]
+ },
+ "getIamPolicy": {
+ "path": "v2/{+resource}:getIamPolicy",
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/cloud-platform.read-only",
+ "https://www.googleapis.com/auth/logging.admin",
+ "https://www.googleapis.com/auth/logging.read"
+ ],
+ "httpMethod": "POST",
+ "request": {
+ "$ref": "GetIamPolicyRequest"
+ },
+ "response": {
+ "$ref": "Policy"
+ },
+ "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/buckets/{bucketsId}/views/{viewsId}:getIamPolicy",
+ "id": "logging.projects.locations.buckets.views.getIamPolicy",
+ "parameters": {
+ "resource": {
+ "location": "path",
+ "required": true,
+ "type": "string",
+ "description": "REQUIRED: The resource for which the policy is being requested. See Resource names (https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.",
+ "pattern": "^projects/[^/]+/locations/[^/]+/buckets/[^/]+/views/[^/]+$"
+ }
+ },
+ "parameterOrder": [
+ "resource"
+ ],
+ "description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set."
+ },
+ "list": {
+ "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/buckets/{bucketsId}/views",
+ "parameterOrder": [
+ "parent"
+ ],
+ "description": "Lists views on a log bucket.",
+ "path": "v2/{+parent}/views",
+ "parameters": {
+ "pageSize": {
+ "type": "integer",
+ "description": "Optional. The maximum number of results to return from this request.Non-positive values are ignored. The presence of nextPageToken in the response indicates that more results might be available.",
+ "format": "int32",
+ "location": "query"
+ },
+ "parent": {
+ "description": "Required. The bucket whose views are to be listed: \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" ",
+ "location": "path",
+ "required": true,
+ "pattern": "^projects/[^/]+/locations/[^/]+/buckets/[^/]+$",
+ "type": "string"
+ },
+ "pageToken": {
+ "description": "Optional. If present, then retrieve the next batch of results from the preceding call to this method. pageToken must be the value of nextPageToken from the previous response. The values of other method parameters should be identical to those in the previous call.",
+ "type": "string",
+ "location": "query"
+ }
+ },
+ "id": "logging.projects.locations.buckets.views.list",
+ "response": {
+ "$ref": "ListViewsResponse"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/cloud-platform.read-only",
+ "https://www.googleapis.com/auth/logging.admin",
+ "https://www.googleapis.com/auth/logging.read"
+ ],
+ "httpMethod": "GET"
+ },
+ "create": {
+ "parameterOrder": [
+ "parent"
+ ],
+ "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/buckets/{bucketsId}/views",
+ "id": "logging.projects.locations.buckets.views.create",
+ "httpMethod": "POST",
+ "response": {
+ "$ref": "LogView"
+ },
+ "path": "v2/{+parent}/views",
+ "description": "Creates a view over log entries in a log bucket. A bucket may contain a maximum of 30 views.",
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/logging.admin"
+ ],
+ "request": {
+ "$ref": "LogView"
+ },
+ "parameters": {
+ "parent": {
+ "location": "path",
+ "required": true,
+ "pattern": "^projects/[^/]+/locations/[^/]+/buckets/[^/]+$",
+ "type": "string",
+ "description": "Required. The bucket in which to create the view `\"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\"` For example:\"projects/my-project/locations/global/buckets/my-bucket\""
+ },
+ "viewId": {
+ "type": "string",
+ "location": "query",
+ "description": "Required. A client-assigned identifier such as \"my-view\". Identifiers are limited to 100 characters and can include only letters, digits, underscores, and hyphens."
+ }
+ }
+ },
+ "get": {
+ "parameterOrder": [
+ "name"
+ ],
+ "response": {
+ "$ref": "LogView"
+ },
+ "parameters": {
+ "name": {
+ "description": "Required. The resource name of the policy: \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]\" For example:\"projects/my-project/locations/global/buckets/my-bucket/views/my-view\"",
+ "location": "path",
+ "pattern": "^projects/[^/]+/locations/[^/]+/buckets/[^/]+/views/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "id": "logging.projects.locations.buckets.views.get",
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/cloud-platform.read-only",
+ "https://www.googleapis.com/auth/logging.admin",
+ "https://www.googleapis.com/auth/logging.read"
+ ],
+ "path": "v2/{+name}",
+ "description": "Gets a view on a log bucket.",
+ "httpMethod": "GET",
+ "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/buckets/{bucketsId}/views/{viewsId}"
+ },
+ "delete": {
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/logging.admin"
+ ],
+ "description": "Deletes a view on a log bucket. If an UNAVAILABLE error is returned, this indicates that system is not in a state where it can delete the view. If this occurs, please try again in a few minutes.",
+ "parameterOrder": [
+ "name"
+ ],
+ "httpMethod": "DELETE",
+ "parameters": {
+ "name": {
+ "required": true,
+ "pattern": "^projects/[^/]+/locations/[^/]+/buckets/[^/]+/views/[^/]+$",
+ "location": "path",
+ "description": "Required. The full resource name of the view to delete: \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]\" For example:\"projects/my-project/locations/global/buckets/my-bucket/views/my-view\"",
+ "type": "string"
+ }
+ },
+ "response": {
+ "$ref": "Empty"
+ },
+ "path": "v2/{+name}",
+ "id": "logging.projects.locations.buckets.views.delete",
+ "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/buckets/{bucketsId}/views/{viewsId}"
+ },
+ "setIamPolicy": {
+ "parameters": {
+ "resource": {
+ "location": "path",
+ "description": "REQUIRED: The resource for which the policy is being specified. See Resource names (https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.",
+ "type": "string",
+ "pattern": "^projects/[^/]+/locations/[^/]+/buckets/[^/]+/views/[^/]+$",
+ "required": true
+ }
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/logging.admin"
+ ],
+ "response": {
+ "$ref": "Policy"
+ },
+ "parameterOrder": [
+ "resource"
+ ],
+ "httpMethod": "POST",
+ "description": "Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors.",
+ "id": "logging.projects.locations.buckets.views.setIamPolicy",
+ "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/buckets/{bucketsId}/views/{viewsId}:setIamPolicy",
+ "request": {
+ "$ref": "SetIamPolicyRequest"
+ },
+ "path": "v2/{+resource}:setIamPolicy"
+ }
+ }
+ }
+ },
+ "methods": {
+ "updateAsync": {
+ "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/buckets/{bucketsId}:updateAsync",
+ "path": "v2/{+name}:updateAsync",
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/logging.admin"
+ ],
+ "request": {
+ "$ref": "LogBucket"
+ },
+ "httpMethod": "POST",
+ "parameterOrder": [
+ "name"
+ ],
+ "response": {
+ "$ref": "Operation"
+ },
+ "description": "Updates a log bucket asynchronously.If the bucket has a lifecycle_state of DELETE_REQUESTED, then FAILED_PRECONDITION will be returned.After a bucket has been created, the bucket's location cannot be changed.",
+ "parameters": {
+ "updateMask": {
+ "location": "query",
+ "format": "google-fieldmask",
+ "description": "Required. Field mask that specifies the fields in bucket that need an update. A bucket field will be overwritten if, and only if, it is in the update mask. name and output only fields cannot be updated.For a detailed FieldMask definition, see: https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMaskFor example: updateMask=retention_days",
+ "type": "string"
+ },
+ "name": {
+ "description": "Required. The full resource name of the bucket to update. \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" For example:\"projects/my-project/locations/global/buckets/my-bucket\"",
+ "type": "string",
+ "location": "path",
+ "required": true,
+ "pattern": "^projects/[^/]+/locations/[^/]+/buckets/[^/]+$"
+ }
+ },
+ "id": "logging.projects.locations.buckets.updateAsync"
+ },
+ "delete": {
+ "response": {
+ "$ref": "Empty"
+ },
+ "description": "Deletes a log bucket.Changes the bucket's lifecycle_state to the DELETE_REQUESTED state. After 7 days, the bucket will be purged and all log entries in the bucket will be permanently deleted.",
+ "parameterOrder": [
+ "name"
+ ],
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/logging.admin"
+ ],
+ "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/buckets/{bucketsId}",
+ "path": "v2/{+name}",
+ "httpMethod": "DELETE",
+ "id": "logging.projects.locations.buckets.delete",
+ "parameters": {
+ "name": {
+ "description": "Required. The full resource name of the bucket to delete. \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" For example:\"projects/my-project/locations/global/buckets/my-bucket\"",
+ "type": "string",
+ "required": true,
+ "pattern": "^projects/[^/]+/locations/[^/]+/buckets/[^/]+$",
+ "location": "path"
+ }
+ }
+ },
+ "undelete": {
+ "parameterOrder": [
+ "name"
+ ],
+ "parameters": {
+ "name": {
+ "description": "Required. The full resource name of the bucket to undelete. \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" For example:\"projects/my-project/locations/global/buckets/my-bucket\"",
+ "required": true,
+ "pattern": "^projects/[^/]+/locations/[^/]+/buckets/[^/]+$",
+ "location": "path",
+ "type": "string"
+ }
+ },
+ "id": "logging.projects.locations.buckets.undelete",
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/logging.admin"
+ ],
+ "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/buckets/{bucketsId}:undelete",
+ "request": {
+ "$ref": "UndeleteBucketRequest"
+ },
+ "response": {
+ "$ref": "Empty"
+ },
+ "path": "v2/{+name}:undelete",
+ "description": "Undeletes a log bucket. A bucket that has been deleted can be undeleted within the grace period of 7 days.",
+ "httpMethod": "POST"
+ },
+ "get": {
+ "httpMethod": "GET",
+ "response": {
+ "$ref": "LogBucket"
+ },
+ "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/buckets/{bucketsId}",
+ "parameterOrder": [
+ "name"
+ ],
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/cloud-platform.read-only",
+ "https://www.googleapis.com/auth/logging.admin",
+ "https://www.googleapis.com/auth/logging.read"
+ ],
+ "path": "v2/{+name}",
+ "id": "logging.projects.locations.buckets.get",
+ "parameters": {
+ "name": {
+ "location": "path",
+ "description": "Required. The resource name of the bucket: \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" For example:\"projects/my-project/locations/global/buckets/my-bucket\"",
+ "required": true,
+ "pattern": "^projects/[^/]+/locations/[^/]+/buckets/[^/]+$",
+ "type": "string"
+ }
+ },
+ "description": "Gets a log bucket."
+ },
+ "patch": {
+ "request": {
+ "$ref": "LogBucket"
+ },
+ "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/buckets/{bucketsId}",
+ "parameters": {
+ "updateMask": {
+ "location": "query",
+ "description": "Required. Field mask that specifies the fields in bucket that need an update. A bucket field will be overwritten if, and only if, it is in the update mask. name and output only fields cannot be updated.For a detailed FieldMask definition, see: https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMaskFor example: updateMask=retention_days",
+ "format": "google-fieldmask",
+ "type": "string"
+ },
+ "name": {
+ "required": true,
+ "type": "string",
+ "pattern": "^projects/[^/]+/locations/[^/]+/buckets/[^/]+$",
+ "description": "Required. The full resource name of the bucket to update. \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" For example:\"projects/my-project/locations/global/buckets/my-bucket\"",
+ "location": "path"
+ }
+ },
+ "parameterOrder": [
+ "name"
+ ],
+ "response": {
+ "$ref": "LogBucket"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/logging.admin"
+ ],
+ "description": "Updates a log bucket.If the bucket has a lifecycle_state of DELETE_REQUESTED, then FAILED_PRECONDITION will be returned.After a bucket has been created, the bucket's location cannot be changed.",
+ "id": "logging.projects.locations.buckets.patch",
+ "path": "v2/{+name}",
+ "httpMethod": "PATCH"
+ },
+ "createAsync": {
+ "id": "logging.projects.locations.buckets.createAsync",
+ "path": "v2/{+parent}/buckets:createAsync",
+ "response": {
+ "$ref": "Operation"
+ },
+ "request": {
+ "$ref": "LogBucket"
+ },
+ "parameterOrder": [
+ "parent"
+ ],
+ "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/buckets:createAsync",
+ "description": "Creates a log bucket asynchronously that can be used to store log entries.After a bucket has been created, the bucket's location cannot be changed.",
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/logging.admin"
+ ],
+ "parameters": {
+ "parent": {
+ "description": "Required. The resource in which to create the log bucket: \"projects/[PROJECT_ID]/locations/[LOCATION_ID]\" For example:\"projects/my-project/locations/global\"",
+ "pattern": "^projects/[^/]+/locations/[^/]+$",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "bucketId": {
+ "location": "query",
+ "type": "string",
+ "description": "Required. A client-assigned identifier such as \"my-bucket\". Identifiers are limited to 100 characters and can include only letters, digits, underscores, hyphens, and periods. Bucket identifiers must start with an alphanumeric character."
+ }
+ },
+ "httpMethod": "POST"
+ },
+ "create": {
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/logging.admin"
+ ],
+ "path": "v2/{+parent}/buckets",
+ "id": "logging.projects.locations.buckets.create",
+ "description": "Creates a log bucket that can be used to store log entries. After a bucket has been created, the bucket's location cannot be changed.",
+ "httpMethod": "POST",
+ "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/buckets",
+ "response": {
+ "$ref": "LogBucket"
+ },
+ "parameters": {
+ "parent": {
+ "required": true,
+ "location": "path",
+ "description": "Required. The resource in which to create the log bucket: \"projects/[PROJECT_ID]/locations/[LOCATION_ID]\" For example:\"projects/my-project/locations/global\"",
+ "type": "string",
+ "pattern": "^projects/[^/]+/locations/[^/]+$"
+ },
+ "bucketId": {
+ "location": "query",
+ "description": "Required. A client-assigned identifier such as \"my-bucket\". Identifiers are limited to 100 characters and can include only letters, digits, underscores, hyphens, and periods. Bucket identifiers must start with an alphanumeric character.",
+ "type": "string"
+ }
+ },
+ "request": {
+ "$ref": "LogBucket"
+ },
+ "parameterOrder": [
+ "parent"
+ ]
+ },
+ "list": {
+ "response": {
+ "$ref": "ListBucketsResponse"
+ },
+ "id": "logging.projects.locations.buckets.list",
+ "parameters": {
+ "pageToken": {
+ "location": "query",
+ "description": "Optional. If present, then retrieve the next batch of results from the preceding call to this method. pageToken must be the value of nextPageToken from the previous response. The values of other method parameters should be identical to those in the previous call.",
+ "type": "string"
+ },
+ "pageSize": {
+ "format": "int32",
+ "type": "integer",
+ "location": "query",
+ "description": "Optional. The maximum number of results to return from this request. Non-positive values are ignored. The presence of nextPageToken in the response indicates that more results might be available."
+ },
+ "parent": {
+ "type": "string",
+ "location": "path",
+ "pattern": "^projects/[^/]+/locations/[^/]+$",
+ "required": true,
+ "description": "Required. The parent resource whose buckets are to be listed: \"projects/[PROJECT_ID]/locations/[LOCATION_ID]\" \"organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]\" \"folders/[FOLDER_ID]/locations/[LOCATION_ID]\" Note: The locations portion of the resource must be specified, but supplying the character - in place of LOCATION_ID will return all buckets."
+ }
+ },
+ "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/buckets",
+ "parameterOrder": [
+ "parent"
+ ],
+ "path": "v2/{+parent}/buckets",
+ "description": "Lists log buckets.",
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/cloud-platform.read-only",
+ "https://www.googleapis.com/auth/logging.admin",
+ "https://www.googleapis.com/auth/logging.read"
+ ],
+ "httpMethod": "GET"
+ }
+ }
+ }
+ },
+ "methods": {
+ "get": {
+ "parameterOrder": [
+ "name"
+ ],
+ "id": "logging.projects.locations.get",
+ "httpMethod": "GET",
+ "description": "Gets information about a location.",
+ "parameters": {
+ "name": {
+ "required": true,
+ "pattern": "^projects/[^/]+/locations/[^/]+$",
+ "type": "string",
+ "location": "path",
+ "description": "Resource name for the location."
+ }
+ },
+ "path": "v2/{+name}",
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/cloud-platform.read-only",
+ "https://www.googleapis.com/auth/logging.admin",
+ "https://www.googleapis.com/auth/logging.read"
+ ],
+ "flatPath": "v2/projects/{projectsId}/locations/{locationsId}",
+ "response": {
+ "$ref": "Location"
+ }
+ },
+ "list": {
+ "parameters": {
+ "pageToken": {
+ "location": "query",
+ "description": "A page token received from the next_page_token field in the response. Send that page token to receive the subsequent page.",
+ "type": "string"
+ },
+ "name": {
+ "required": true,
+ "pattern": "^projects/[^/]+$",
+ "location": "path",
+ "description": "The resource that owns the locations collection, if applicable.",
+ "type": "string"
+ },
+ "filter": {
+ "type": "string",
+ "description": "A filter to narrow down results to a preferred subset. The filtering language accepts strings like \"displayName=tokyo\", and is documented in more detail in AIP-160 (https://google.aip.dev/160).",
+ "location": "query"
+ },
+ "pageSize": {
+ "format": "int32",
+ "location": "query",
+ "description": "The maximum number of results to return. If not set, the service selects a default.",
+ "type": "integer"
+ },
+ "extraLocationTypes": {
+ "repeated": true,
+ "type": "string",
+ "description": "Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage.",
+ "location": "query"
+ }
+ },
+ "flatPath": "v2/projects/{projectsId}/locations",
+ "response": {
+ "$ref": "ListLocationsResponse"
+ },
+ "path": "v2/{+name}/locations",
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/cloud-platform.read-only",
+ "https://www.googleapis.com/auth/logging.admin",
+ "https://www.googleapis.com/auth/logging.read"
+ ],
+ "httpMethod": "GET",
+ "description": "Lists information about the supported locations for this service.",
+ "parameterOrder": [
+ "name"
+ ],
+ "id": "logging.projects.locations.list"
+ }
+ }
+ },
+ "exclusions": {
+ "methods": {
+ "get": {
+ "path": "v2/{+name}",
+ "parameters": {
+ "name": {
+ "description": "Required. The resource name of an existing exclusion: \"projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]\" \"organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]\" \"folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]\" For example:\"projects/my-project/exclusions/my-exclusion\"",
+ "type": "string",
+ "location": "path",
+ "required": true,
+ "pattern": "^projects/[^/]+/exclusions/[^/]+$"
+ }
+ },
+ "flatPath": "v2/projects/{projectsId}/exclusions/{exclusionsId}",
+ "description": "Gets the description of an exclusion in the _Default sink.",
+ "response": {
+ "$ref": "LogExclusion"
+ },
+ "id": "logging.projects.exclusions.get",
+ "httpMethod": "GET",
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/cloud-platform.read-only",
+ "https://www.googleapis.com/auth/logging.admin",
+ "https://www.googleapis.com/auth/logging.read"
+ ],
+ "parameterOrder": [
+ "name"
+ ]
+ },
+ "patch": {
+ "parameterOrder": [
+ "name"
+ ],
+ "httpMethod": "PATCH",
+ "parameters": {
+ "name": {
+ "type": "string",
+ "pattern": "^projects/[^/]+/exclusions/[^/]+$",
+ "location": "path",
+ "description": "Required. The resource name of the exclusion to update: \"projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]\" \"organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]\" \"folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]\" For example:\"projects/my-project/exclusions/my-exclusion\"",
+ "required": true
+ },
+ "updateMask": {
+ "type": "string",
+ "format": "google-fieldmask",
+ "location": "query",
+ "description": "Required. A non-empty list of fields to change in the existing exclusion. New values for the fields are taken from the corresponding fields in the LogExclusion included in this request. Fields not mentioned in update_mask are not changed and are ignored in the request.For example, to change the filter and description of an exclusion, specify an update_mask of \"filter,description\"."
+ }
+ },
+ "response": {
+ "$ref": "LogExclusion"
+ },
+ "request": {
+ "$ref": "LogExclusion"
+ },
+ "id": "logging.projects.exclusions.patch",
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/logging.admin"
+ ],
+ "flatPath": "v2/projects/{projectsId}/exclusions/{exclusionsId}",
+ "description": "Changes one or more properties of an existing exclusion in the _Default sink.",
+ "path": "v2/{+name}"
+ },
+ "list": {
+ "parameters": {
+ "parent": {
+ "location": "path",
+ "required": true,
+ "pattern": "^projects/[^/]+$",
+ "type": "string",
+ "description": "Required. The parent resource whose exclusions are to be listed. \"projects/[PROJECT_ID]\" \"organizations/[ORGANIZATION_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]\" \"folders/[FOLDER_ID]\" "
+ },
+ "pageToken": {
+ "location": "query",
+ "description": "Optional. If present, then retrieve the next batch of results from the preceding call to this method. pageToken must be the value of nextPageToken from the previous response. The values of other method parameters should be identical to those in the previous call.",
+ "type": "string"
+ },
+ "pageSize": {
+ "type": "integer",
+ "description": "Optional. The maximum number of results to return from this request. Non-positive values are ignored. The presence of nextPageToken in the response indicates that more results might be available.",
+ "format": "int32",
+ "location": "query"
+ }
+ },
+ "httpMethod": "GET",
+ "path": "v2/{+parent}/exclusions",
+ "parameterOrder": [
+ "parent"
+ ],
+ "id": "logging.projects.exclusions.list",
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/cloud-platform.read-only",
+ "https://www.googleapis.com/auth/logging.admin",
+ "https://www.googleapis.com/auth/logging.read"
+ ],
+ "flatPath": "v2/projects/{projectsId}/exclusions",
+ "response": {
+ "$ref": "ListExclusionsResponse"
+ },
+ "description": "Lists all the exclusions on the _Default sink in a parent resource."
+ },
+ "create": {
+ "request": {
+ "$ref": "LogExclusion"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/logging.admin"
+ ],
+ "path": "v2/{+parent}/exclusions",
+ "id": "logging.projects.exclusions.create",
+ "response": {
+ "$ref": "LogExclusion"
+ },
+ "flatPath": "v2/projects/{projectsId}/exclusions",
+ "parameters": {
+ "parent": {
+ "description": "Required. The parent resource in which to create the exclusion: \"projects/[PROJECT_ID]\" \"organizations/[ORGANIZATION_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]\" \"folders/[FOLDER_ID]\" For examples:\"projects/my-logging-project\" \"organizations/123456789\"",
+ "required": true,
+ "location": "path",
+ "type": "string",
+ "pattern": "^projects/[^/]+$"
+ }
+ },
+ "description": "Creates a new exclusion in the _Default sink in a specified parent resource. Only log entries belonging to that resource can be excluded. You can have up to 10 exclusions in a resource.",
+ "httpMethod": "POST",
+ "parameterOrder": [
+ "parent"
+ ]
+ },
+ "delete": {
+ "response": {
+ "$ref": "Empty"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/logging.admin"
+ ],
+ "flatPath": "v2/projects/{projectsId}/exclusions/{exclusionsId}",
+ "parameters": {
+ "name": {
+ "pattern": "^projects/[^/]+/exclusions/[^/]+$",
+ "description": "Required. The resource name of an existing exclusion to delete: \"projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]\" \"organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]\" \"folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]\" For example:\"projects/my-project/exclusions/my-exclusion\"",
+ "type": "string",
+ "location": "path",
+ "required": true
+ }
+ },
+ "description": "Deletes an exclusion in the _Default sink.",
+ "httpMethod": "DELETE",
+ "id": "logging.projects.exclusions.delete",
+ "path": "v2/{+name}",
+ "parameterOrder": [
+ "name"
+ ]
+ }
+ }
+ },
+ "metrics": {
+ "methods": {
+ "list": {
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/cloud-platform.read-only",
+ "https://www.googleapis.com/auth/logging.admin",
+ "https://www.googleapis.com/auth/logging.read"
+ ],
+ "description": "Lists logs-based metrics.",
+ "id": "logging.projects.metrics.list",
+ "parameters": {
+ "parent": {
+ "type": "string",
+ "description": "Required. The name of the project containing the metrics: \"projects/[PROJECT_ID]\" ",
+ "required": true,
+ "location": "path",
+ "pattern": "^projects/[^/]+$"
+ },
+ "pageToken": {
+ "location": "query",
+ "type": "string",
+ "description": "Optional. If present, then retrieve the next batch of results from the preceding call to this method. pageToken must be the value of nextPageToken from the previous response. The values of other method parameters should be identical to those in the previous call."
+ },
+ "pageSize": {
+ "type": "integer",
+ "description": "Optional. The maximum number of results to return from this request. Non-positive values are ignored. The presence of nextPageToken in the response indicates that more results might be available.",
+ "location": "query",
+ "format": "int32"
+ }
+ },
+ "response": {
+ "$ref": "ListLogMetricsResponse"
+ },
+ "parameterOrder": [
+ "parent"
+ ],
+ "flatPath": "v2/projects/{projectsId}/metrics",
+ "path": "v2/{+parent}/metrics",
+ "httpMethod": "GET"
+ },
+ "delete": {
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/logging.admin",
+ "https://www.googleapis.com/auth/logging.write"
+ ],
+ "response": {
+ "$ref": "Empty"
+ },
+ "path": "v2/{+metricName}",
+ "description": "Deletes a logs-based metric.",
+ "id": "logging.projects.metrics.delete",
+ "parameters": {
+ "metricName": {
+ "description": "Required. The resource name of the metric to delete: \"projects/[PROJECT_ID]/metrics/[METRIC_ID]\" ",
+ "required": true,
+ "pattern": "^projects/[^/]+/metrics/[^/]+$",
+ "type": "string",
+ "location": "path"
+ }
+ },
+ "parameterOrder": [
+ "metricName"
+ ],
+ "httpMethod": "DELETE",
+ "flatPath": "v2/projects/{projectsId}/metrics/{metricsId}"
+ },
+ "get": {
+ "description": "Gets a logs-based metric.",
+ "response": {
+ "$ref": "LogMetric"
+ },
+ "flatPath": "v2/projects/{projectsId}/metrics/{metricsId}",
+ "parameters": {
+ "metricName": {
+ "description": "Required. The resource name of the desired metric: \"projects/[PROJECT_ID]/metrics/[METRIC_ID]\" ",
+ "location": "path",
+ "type": "string",
+ "required": true,
+ "pattern": "^projects/[^/]+/metrics/[^/]+$"
+ }
+ },
+ "id": "logging.projects.metrics.get",
+ "path": "v2/{+metricName}",
+ "parameterOrder": [
+ "metricName"
+ ],
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/cloud-platform.read-only",
+ "https://www.googleapis.com/auth/logging.admin",
+ "https://www.googleapis.com/auth/logging.read"
+ ],
+ "httpMethod": "GET"
+ },
+ "update": {
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/logging.admin",
+ "https://www.googleapis.com/auth/logging.write"
+ ],
+ "description": "Creates or updates a logs-based metric.",
+ "flatPath": "v2/projects/{projectsId}/metrics/{metricsId}",
+ "parameters": {
+ "metricName": {
+ "required": true,
+ "pattern": "^projects/[^/]+/metrics/[^/]+$",
+ "type": "string",
+ "location": "path",
+ "description": "Required. The resource name of the metric to update: \"projects/[PROJECT_ID]/metrics/[METRIC_ID]\" The updated metric must be provided in the request and it's name field must be the same as [METRIC_ID] If the metric does not exist in [PROJECT_ID], then a new metric is created."
+ }
+ },
+ "request": {
+ "$ref": "LogMetric"
+ },
+ "path": "v2/{+metricName}",
+ "response": {
+ "$ref": "LogMetric"
+ },
+ "parameterOrder": [
+ "metricName"
+ ],
+ "httpMethod": "PUT",
+ "id": "logging.projects.metrics.update"
+ },
+ "create": {
+ "httpMethod": "POST",
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/logging.admin",
+ "https://www.googleapis.com/auth/logging.write"
+ ],
+ "path": "v2/{+parent}/metrics",
+ "description": "Creates a logs-based metric.",
+ "parameters": {
+ "parent": {
+ "description": "Required. The resource name of the project in which to create the metric: \"projects/[PROJECT_ID]\" The new metric must be provided in the request.",
+ "type": "string",
+ "pattern": "^projects/[^/]+$",
+ "required": true,
+ "location": "path"
+ }
+ },
+ "response": {
+ "$ref": "LogMetric"
+ },
+ "id": "logging.projects.metrics.create",
+ "request": {
+ "$ref": "LogMetric"
+ },
+ "parameterOrder": [
+ "parent"
+ ],
+ "flatPath": "v2/projects/{projectsId}/metrics"
+ }
+ }
+ },
+ "logs": {
+ "methods": {
+ "delete": {
+ "httpMethod": "DELETE",
+ "parameterOrder": [
+ "logName"
+ ],
+ "response": {
+ "$ref": "Empty"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/logging.admin"
+ ],
+ "parameters": {
+ "logName": {
+ "type": "string",
+ "pattern": "^projects/[^/]+/logs/[^/]+$",
+ "location": "path",
+ "required": true,
+ "description": "Required. The resource name of the log to delete: projects/[PROJECT_ID]/logs/[LOG_ID] organizations/[ORGANIZATION_ID]/logs/[LOG_ID] billingAccounts/[BILLING_ACCOUNT_ID]/logs/[LOG_ID] folders/[FOLDER_ID]/logs/[LOG_ID][LOG_ID] must be URL-encoded. For example, \"projects/my-project-id/logs/syslog\", \"organizations/123/logs/cloudaudit.googleapis.com%2Factivity\".For more information about log names, see LogEntry."
+ }
+ },
+ "flatPath": "v2/projects/{projectsId}/logs/{logsId}",
+ "description": "Deletes all the log entries in a log for the global _Default Log Bucket. The log reappears if it receives new entries. Log entries written shortly before the delete operation might not be deleted. Entries received after the delete operation with a timestamp before the operation will be deleted.",
+ "path": "v2/{+logName}",
+ "id": "logging.projects.logs.delete"
+ },
+ "list": {
+ "parameterOrder": [
+ "parent"
+ ],
+ "response": {
+ "$ref": "ListLogsResponse"
+ },
+ "id": "logging.projects.logs.list",
+ "httpMethod": "GET",
+ "flatPath": "v2/projects/{projectsId}/logs",
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/cloud-platform.read-only",
+ "https://www.googleapis.com/auth/logging.admin",
+ "https://www.googleapis.com/auth/logging.read"
+ ],
+ "description": "Lists the logs in projects, organizations, folders, or billing accounts. Only logs that have entries are listed.",
+ "parameters": {
+ "pageSize": {
+ "type": "integer",
+ "location": "query",
+ "format": "int32",
+ "description": "Optional. The maximum number of results to return from this request. Non-positive values are ignored. The presence of nextPageToken in the response indicates that more results might be available."
+ },
+ "parent": {
+ "required": true,
+ "pattern": "^projects/[^/]+$",
+ "type": "string",
+ "location": "path",
+ "description": "Required. The resource name to list logs for: projects/[PROJECT_ID] organizations/[ORGANIZATION_ID] billingAccounts/[BILLING_ACCOUNT_ID] folders/[FOLDER_ID]"
+ },
+ "pageToken": {
+ "type": "string",
+ "description": "Optional. If present, then retrieve the next batch of results from the preceding call to this method. pageToken must be the value of nextPageToken from the previous response. The values of other method parameters should be identical to those in the previous call.",
+ "location": "query"
+ },
+ "resourceNames": {
+ "location": "query",
+ "repeated": true,
+ "description": "Optional. List of resource names to list logs for: projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID] organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID] billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID] folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]To support legacy queries, it could also be: projects/[PROJECT_ID] organizations/[ORGANIZATION_ID] billingAccounts/[BILLING_ACCOUNT_ID] folders/[FOLDER_ID]The resource name in the parent field is added to this list.",
+ "type": "string"
+ }
+ },
+ "path": "v2/{+parent}/logs"
+ }
+ }
+ },
+ "sinks": {
+ "methods": {
+ "list": {
+ "description": "Lists sinks.",
+ "httpMethod": "GET",
+ "parameterOrder": [
+ "parent"
+ ],
+ "flatPath": "v2/projects/{projectsId}/sinks",
+ "response": {
+ "$ref": "ListSinksResponse"
+ },
+ "path": "v2/{+parent}/sinks",
+ "id": "logging.projects.sinks.list",
+ "parameters": {
+ "pageToken": {
+ "type": "string",
+ "description": "Optional. If present, then retrieve the next batch of results from the preceding call to this method. pageToken must be the value of nextPageToken from the previous response. The values of other method parameters should be identical to those in the previous call.",
+ "location": "query"
+ },
+ "filter": {
+ "type": "string",
+ "location": "query",
+ "description": "Optional. A filter expression to constrain the sinks returned. Today, this only supports the following strings: '' 'in_scope(\"ALL\")', 'in_scope(\"ANCESTOR\")', 'in_scope(\"DEFAULT\")'.Description of scopes below. ALL: Includes all of the sinks which can be returned in any other scope. ANCESTOR: Includes intercepting sinks owned by ancestor resources. DEFAULT: Includes sinks owned by parent.When the empty string is provided, then the filter 'in_scope(\"DEFAULT\")' is applied."
+ },
+ "pageSize": {
+ "type": "integer",
+ "location": "query",
+ "description": "Optional. The maximum number of results to return from this request. Non-positive values are ignored. The presence of nextPageToken in the response indicates that more results might be available.",
+ "format": "int32"
+ },
+ "parent": {
+ "location": "path",
+ "pattern": "^projects/[^/]+$",
+ "required": true,
+ "type": "string",
+ "description": "Required. The parent resource whose sinks are to be listed: \"projects/[PROJECT_ID]\" \"organizations/[ORGANIZATION_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]\" \"folders/[FOLDER_ID]\" "
+ }
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/cloud-platform.read-only",
+ "https://www.googleapis.com/auth/logging.admin",
+ "https://www.googleapis.com/auth/logging.read"
+ ]
+ },
+ "get": {
+ "path": "v2/{+sinkName}",
+ "httpMethod": "GET",
+ "parameters": {
+ "sinkName": {
+ "pattern": "^projects/[^/]+/sinks/[^/]+$",
+ "description": "Required. The resource name of the sink: \"projects/[PROJECT_ID]/sinks/[SINK_ID]\" \"organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]\" \"folders/[FOLDER_ID]/sinks/[SINK_ID]\" For example:\"projects/my-project/sinks/my-sink\"",
+ "required": true,
+ "location": "path",
+ "type": "string"
+ }
+ },
+ "flatPath": "v2/projects/{projectsId}/sinks/{sinksId}",
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/cloud-platform.read-only",
+ "https://www.googleapis.com/auth/logging.admin",
+ "https://www.googleapis.com/auth/logging.read"
+ ],
+ "parameterOrder": [
+ "sinkName"
+ ],
+ "response": {
+ "$ref": "LogSink"
+ },
+ "description": "Gets a sink.",
+ "id": "logging.projects.sinks.get"
+ },
+ "patch": {
+ "description": "Updates a sink. This method replaces the values of the destination and filter fields of the existing sink with the corresponding values from the new sink.The updated sink might also have a new writer_identity; see the unique_writer_identity field.",
+ "parameters": {
+ "sinkName": {
+ "description": "Required. The full resource name of the sink to update, including the parent resource and the sink identifier: \"projects/[PROJECT_ID]/sinks/[SINK_ID]\" \"organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]\" \"folders/[FOLDER_ID]/sinks/[SINK_ID]\" For example:\"projects/my-project/sinks/my-sink\"",
+ "type": "string",
+ "required": true,
+ "location": "path",
+ "pattern": "^projects/[^/]+/sinks/[^/]+$"
+ },
+ "uniqueWriterIdentity": {
+ "location": "query",
+ "type": "boolean",
+ "description": "Optional. See sinks.create for a description of this field. When updating a sink, the effect of this field on the value of writer_identity in the updated sink depends on both the old and new values of this field: If the old and new values of this field are both false or both true, then there is no change to the sink's writer_identity. If the old value is false and the new value is true, then writer_identity is changed to a service agent (https://cloud.google.com/iam/docs/service-account-types#service-agents) owned by Cloud Logging. It is an error if the old value is true and the new value is set to false or defaulted to false."
+ },
+ "customWriterIdentity": {
+ "location": "query",
+ "type": "string",
+ "description": "Optional. The service account provided by the caller that will be used to write the log entries. The format must be serviceAccount:some@email. This field can only be specified when you are routing logs to a log bucket that is in a different project than the sink. When not specified, a Logging service account will automatically be generated."
+ },
+ "updateMask": {
+ "location": "query",
+ "format": "google-fieldmask",
+ "type": "string",
+ "description": "Optional. Field mask that specifies the fields in sink that need an update. A sink field will be overwritten if, and only if, it is in the update mask. name and output only fields cannot be updated.An empty updateMask is temporarily treated as using the following mask for backwards compatibility purposes:destination,filter,includeChildrenAt some point in the future, behavior will be removed and specifying an empty updateMask will be an error.For a detailed FieldMask definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMaskFor example: updateMask=filter"
+ }
+ },
+ "httpMethod": "PATCH",
+ "id": "logging.projects.sinks.patch",
+ "parameterOrder": [
+ "sinkName"
+ ],
+ "response": {
+ "$ref": "LogSink"
+ },
+ "path": "v2/{+sinkName}",
+ "flatPath": "v2/projects/{projectsId}/sinks/{sinksId}",
+ "request": {
+ "$ref": "LogSink"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/logging.admin"
+ ]
+ },
+ "delete": {
+ "parameters": {
+ "sinkName": {
+ "location": "path",
+ "required": true,
+ "type": "string",
+ "pattern": "^projects/[^/]+/sinks/[^/]+$",
+ "description": "Required. The full resource name of the sink to delete, including the parent resource and the sink identifier: \"projects/[PROJECT_ID]/sinks/[SINK_ID]\" \"organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]\" \"folders/[FOLDER_ID]/sinks/[SINK_ID]\" For example:\"projects/my-project/sinks/my-sink\""
+ }
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/logging.admin"
+ ],
+ "path": "v2/{+sinkName}",
+ "id": "logging.projects.sinks.delete",
+ "httpMethod": "DELETE",
+ "parameterOrder": [
+ "sinkName"
+ ],
+ "description": "Deletes a sink. If the sink has a unique writer_identity, then that service account is also deleted.",
+ "flatPath": "v2/projects/{projectsId}/sinks/{sinksId}",
+ "response": {
+ "$ref": "Empty"
+ }
+ },
+ "update": {
+ "request": {
+ "$ref": "LogSink"
+ },
+ "id": "logging.projects.sinks.update",
+ "description": "Updates a sink. This method replaces the values of the destination and filter fields of the existing sink with the corresponding values from the new sink.The updated sink might also have a new writer_identity; see the unique_writer_identity field.",
+ "response": {
+ "$ref": "LogSink"
+ },
+ "flatPath": "v2/projects/{projectsId}/sinks/{sinksId}",
+ "parameterOrder": [
+ "sinkName"
+ ],
+ "path": "v2/{+sinkName}",
+ "httpMethod": "PUT",
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/logging.admin"
+ ],
+ "parameters": {
+ "uniqueWriterIdentity": {
+ "location": "query",
+ "description": "Optional. See sinks.create for a description of this field. When updating a sink, the effect of this field on the value of writer_identity in the updated sink depends on both the old and new values of this field: If the old and new values of this field are both false or both true, then there is no change to the sink's writer_identity. If the old value is false and the new value is true, then writer_identity is changed to a service agent (https://cloud.google.com/iam/docs/service-account-types#service-agents) owned by Cloud Logging. It is an error if the old value is true and the new value is set to false or defaulted to false.",
+ "type": "boolean"
+ },
+ "customWriterIdentity": {
+ "description": "Optional. The service account provided by the caller that will be used to write the log entries. The format must be serviceAccount:some@email. This field can only be specified when you are routing logs to a log bucket that is in a different project than the sink. When not specified, a Logging service account will automatically be generated.",
+ "location": "query",
+ "type": "string"
+ },
+ "updateMask": {
+ "type": "string",
+ "description": "Optional. Field mask that specifies the fields in sink that need an update. A sink field will be overwritten if, and only if, it is in the update mask. name and output only fields cannot be updated.An empty updateMask is temporarily treated as using the following mask for backwards compatibility purposes:destination,filter,includeChildrenAt some point in the future, behavior will be removed and specifying an empty updateMask will be an error.For a detailed FieldMask definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMaskFor example: updateMask=filter",
+ "format": "google-fieldmask",
+ "location": "query"
+ },
+ "sinkName": {
+ "pattern": "^projects/[^/]+/sinks/[^/]+$",
+ "type": "string",
+ "required": true,
+ "description": "Required. The full resource name of the sink to update, including the parent resource and the sink identifier: \"projects/[PROJECT_ID]/sinks/[SINK_ID]\" \"organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]\" \"folders/[FOLDER_ID]/sinks/[SINK_ID]\" For example:\"projects/my-project/sinks/my-sink\"",
+ "location": "path"
+ }
+ }
+ },
+ "create": {
+ "description": "Creates a sink that exports specified log entries to a destination. The export begins upon ingress, unless the sink's writer_identity is not permitted to write to the destination. A sink can export log entries only from the resource owning the sink.",
+ "httpMethod": "POST",
+ "id": "logging.projects.sinks.create",
+ "parameterOrder": [
+ "parent"
+ ],
+ "response": {
+ "$ref": "LogSink"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/logging.admin"
+ ],
+ "request": {
+ "$ref": "LogSink"
+ },
+ "path": "v2/{+parent}/sinks",
+ "parameters": {
+ "parent": {
+ "description": "Required. The resource in which to create the sink: \"projects/[PROJECT_ID]\" \"organizations/[ORGANIZATION_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]\" \"folders/[FOLDER_ID]\" For examples:\"projects/my-project\" \"organizations/123456789\"",
+ "required": true,
+ "location": "path",
+ "type": "string",
+ "pattern": "^projects/[^/]+$"
+ },
+ "customWriterIdentity": {
+ "location": "query",
+ "description": "Optional. The service account provided by the caller that will be used to write the log entries. The format must be serviceAccount:some@email. This field can only be specified when you are routing logs to a log bucket that is in a different project than the sink. When not specified, a Logging service account will automatically be generated.",
+ "type": "string"
+ },
+ "uniqueWriterIdentity": {
+ "type": "boolean",
+ "location": "query",
+ "description": "Optional. Determines the kind of IAM identity returned as writer_identity in the new sink. If this value is omitted or set to false, and if the sink's parent is a project, then the value returned as writer_identity is the same group or service account used by Cloud Logging before the addition of writer identities to this API. The sink's destination must be in the same project as the sink itself.If this field is set to true, or if the sink is owned by a non-project resource such as an organization, then the value of writer_identity will be a service agent (https://cloud.google.com/iam/docs/service-account-types#service-agents) used by the sinks with the same parent. For more information, see writer_identity in LogSink."
+ }
+ },
+ "flatPath": "v2/projects/{projectsId}/sinks"
+ }
+ }
+ }
+ },
+ "methods": {
+ "getSettings": {
+ "response": {
+ "$ref": "Settings"
+ },
+ "id": "logging.projects.getSettings",
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/cloud-platform.read-only",
+ "https://www.googleapis.com/auth/logging.admin",
+ "https://www.googleapis.com/auth/logging.read"
+ ],
+ "flatPath": "v2/projects/{projectsId}/settings",
+ "description": "Gets the settings for the given resource.Note: Settings can be retrieved for Google Cloud projects, folders, organizations, and billing accounts.See View default resource settings for Logging (https://cloud.google.com/logging/docs/default-settings#view-org-settings) for more information.",
+ "path": "v2/{+name}/settings",
+ "parameterOrder": [
+ "name"
+ ],
+ "parameters": {
+ "name": {
+ "description": "Required. The resource for which to retrieve settings. \"projects/[PROJECT_ID]/settings\" \"organizations/[ORGANIZATION_ID]/settings\" \"billingAccounts/[BILLING_ACCOUNT_ID]/settings\" \"folders/[FOLDER_ID]/settings\" For example:\"organizations/12345/settings\"Note: Settings can be retrieved for Google Cloud projects, folders, organizations, and billing accounts.",
+ "pattern": "^projects/[^/]+$",
+ "type": "string",
+ "location": "path",
+ "required": true
+ }
+ },
+ "httpMethod": "GET"
+ },
+ "getCmekSettings": {
+ "path": "v2/{+name}/cmekSettings",
+ "parameterOrder": [
+ "name"
+ ],
+ "description": "Gets the Logging CMEK settings for the given resource.Note: CMEK for the Log Router can be configured for Google Cloud projects, folders, organizations, and billing accounts. Once configured for an organization, it applies to all projects and folders in the Google Cloud organization.See Enabling CMEK for Log Router (https://cloud.google.com/logging/docs/routing/managed-encryption) for more information.",
+ "flatPath": "v2/projects/{projectsId}/cmekSettings",
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/cloud-platform.read-only",
+ "https://www.googleapis.com/auth/logging.admin",
+ "https://www.googleapis.com/auth/logging.read"
+ ],
+ "id": "logging.projects.getCmekSettings",
+ "response": {
+ "$ref": "CmekSettings"
+ },
+ "httpMethod": "GET",
+ "parameters": {
+ "name": {
+ "description": "Required. The resource for which to retrieve CMEK settings. \"projects/[PROJECT_ID]/cmekSettings\" \"organizations/[ORGANIZATION_ID]/cmekSettings\" \"billingAccounts/[BILLING_ACCOUNT_ID]/cmekSettings\" \"folders/[FOLDER_ID]/cmekSettings\" For example:\"organizations/12345/cmekSettings\"Note: CMEK for the Log Router can be configured for Google Cloud projects, folders, organizations, and billing accounts. Once configured for an organization, it applies to all projects and folders in the Google Cloud organization.",
+ "pattern": "^projects/[^/]+$",
+ "required": true,
+ "type": "string",
+ "location": "path"
+ }
+ }
+ }
+ }
+ },
+ "exclusions": {
+ "methods": {
+ "patch": {
+ "description": "Changes one or more properties of an existing exclusion in the _Default sink.",
+ "response": {
+ "$ref": "LogExclusion"
+ },
+ "parameterOrder": [
+ "name"
+ ],
+ "flatPath": "v2/{v2Id}/{v2Id1}/exclusions/{exclusionsId}",
+ "request": {
+ "$ref": "LogExclusion"
+ },
+ "path": "v2/{+name}",
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/logging.admin"
+ ],
+ "parameters": {
+ "updateMask": {
+ "format": "google-fieldmask",
+ "type": "string",
+ "description": "Required. A non-empty list of fields to change in the existing exclusion. New values for the fields are taken from the corresponding fields in the LogExclusion included in this request. Fields not mentioned in update_mask are not changed and are ignored in the request.For example, to change the filter and description of an exclusion, specify an update_mask of \"filter,description\".",
+ "location": "query"
+ },
+ "name": {
+ "description": "Required. The resource name of the exclusion to update: \"projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]\" \"organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]\" \"folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]\" For example:\"projects/my-project/exclusions/my-exclusion\"",
+ "location": "path",
+ "type": "string",
+ "pattern": "^[^/]+/[^/]+/exclusions/[^/]+$",
+ "required": true
+ }
+ },
+ "id": "logging.exclusions.patch",
+ "httpMethod": "PATCH"
+ },
+ "delete": {
+ "description": "Deletes an exclusion in the _Default sink.",
+ "parameterOrder": [
+ "name"
+ ],
+ "path": "v2/{+name}",
+ "response": {
+ "$ref": "Empty"
+ },
+ "flatPath": "v2/{v2Id}/{v2Id1}/exclusions/{exclusionsId}",
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/logging.admin"
+ ],
+ "id": "logging.exclusions.delete",
+ "httpMethod": "DELETE",
+ "parameters": {
+ "name": {
+ "location": "path",
+ "description": "Required. The resource name of an existing exclusion to delete: \"projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]\" \"organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]\" \"folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]\" For example:\"projects/my-project/exclusions/my-exclusion\"",
+ "type": "string",
+ "pattern": "^[^/]+/[^/]+/exclusions/[^/]+$",
+ "required": true
+ }
+ }
+ },
+ "list": {
+ "httpMethod": "GET",
+ "parameters": {
+ "parent": {
+ "description": "Required. The parent resource whose exclusions are to be listed. \"projects/[PROJECT_ID]\" \"organizations/[ORGANIZATION_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]\" \"folders/[FOLDER_ID]\" ",
+ "pattern": "^[^/]+/[^/]+$",
+ "required": true,
+ "location": "path",
+ "type": "string"
+ },
+ "pageToken": {
+ "type": "string",
+ "description": "Optional. If present, then retrieve the next batch of results from the preceding call to this method. pageToken must be the value of nextPageToken from the previous response. The values of other method parameters should be identical to those in the previous call.",
+ "location": "query"
+ },
+ "pageSize": {
+ "description": "Optional. The maximum number of results to return from this request. Non-positive values are ignored. The presence of nextPageToken in the response indicates that more results might be available.",
+ "format": "int32",
+ "location": "query",
+ "type": "integer"
+ }
+ },
+ "id": "logging.exclusions.list",
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/cloud-platform.read-only",
+ "https://www.googleapis.com/auth/logging.admin",
+ "https://www.googleapis.com/auth/logging.read"
+ ],
+ "flatPath": "v2/{v2Id}/{v2Id1}/exclusions",
+ "path": "v2/{+parent}/exclusions",
+ "description": "Lists all the exclusions on the _Default sink in a parent resource.",
+ "response": {
+ "$ref": "ListExclusionsResponse"
+ },
+ "parameterOrder": [
+ "parent"
+ ]
+ },
+ "get": {
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/cloud-platform.read-only",
+ "https://www.googleapis.com/auth/logging.admin",
+ "https://www.googleapis.com/auth/logging.read"
+ ],
+ "description": "Gets the description of an exclusion in the _Default sink.",
+ "path": "v2/{+name}",
+ "response": {
+ "$ref": "LogExclusion"
+ },
+ "flatPath": "v2/{v2Id}/{v2Id1}/exclusions/{exclusionsId}",
+ "id": "logging.exclusions.get",
+ "httpMethod": "GET",
+ "parameterOrder": [
+ "name"
+ ],
+ "parameters": {
+ "name": {
+ "pattern": "^[^/]+/[^/]+/exclusions/[^/]+$",
+ "location": "path",
+ "required": true,
+ "type": "string",
+ "description": "Required. The resource name of an existing exclusion: \"projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]\" \"organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]\" \"folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]\" For example:\"projects/my-project/exclusions/my-exclusion\""
+ }
+ }
+ },
+ "create": {
+ "httpMethod": "POST",
+ "description": "Creates a new exclusion in the _Default sink in a specified parent resource. Only log entries belonging to that resource can be excluded. You can have up to 10 exclusions in a resource.",
+ "request": {
+ "$ref": "LogExclusion"
+ },
+ "flatPath": "v2/{v2Id}/{v2Id1}/exclusions",
+ "path": "v2/{+parent}/exclusions",
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/logging.admin"
+ ],
+ "id": "logging.exclusions.create",
+ "parameterOrder": [
+ "parent"
+ ],
+ "response": {
+ "$ref": "LogExclusion"
+ },
+ "parameters": {
+ "parent": {
+ "type": "string",
+ "description": "Required. The parent resource in which to create the exclusion: \"projects/[PROJECT_ID]\" \"organizations/[ORGANIZATION_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]\" \"folders/[FOLDER_ID]\" For examples:\"projects/my-logging-project\" \"organizations/123456789\"",
+ "pattern": "^[^/]+/[^/]+$",
+ "required": true,
+ "location": "path"
+ }
+ }
+ }
+ }
+ },
+ "sinks": {
+ "methods": {
+ "create": {
+ "path": "v2/{+parent}/sinks",
+ "httpMethod": "POST",
+ "response": {
+ "$ref": "LogSink"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/logging.admin"
+ ],
+ "description": "Creates a sink that exports specified log entries to a destination. The export begins upon ingress, unless the sink's writer_identity is not permitted to write to the destination. A sink can export log entries only from the resource owning the sink.",
+ "id": "logging.sinks.create",
+ "flatPath": "v2/{v2Id}/{v2Id1}/sinks",
+ "parameters": {
+ "parent": {
+ "required": true,
+ "type": "string",
+ "pattern": "^[^/]+/[^/]+$",
+ "location": "path",
+ "description": "Required. The resource in which to create the sink: \"projects/[PROJECT_ID]\" \"organizations/[ORGANIZATION_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]\" \"folders/[FOLDER_ID]\" For examples:\"projects/my-project\" \"organizations/123456789\""
+ },
+ "customWriterIdentity": {
+ "description": "Optional. The service account provided by the caller that will be used to write the log entries. The format must be serviceAccount:some@email. This field can only be specified when you are routing logs to a log bucket that is in a different project than the sink. When not specified, a Logging service account will automatically be generated.",
+ "type": "string",
+ "location": "query"
+ },
+ "uniqueWriterIdentity": {
+ "description": "Optional. Determines the kind of IAM identity returned as writer_identity in the new sink. If this value is omitted or set to false, and if the sink's parent is a project, then the value returned as writer_identity is the same group or service account used by Cloud Logging before the addition of writer identities to this API. The sink's destination must be in the same project as the sink itself.If this field is set to true, or if the sink is owned by a non-project resource such as an organization, then the value of writer_identity will be a service agent (https://cloud.google.com/iam/docs/service-account-types#service-agents) used by the sinks with the same parent. For more information, see writer_identity in LogSink.",
+ "location": "query",
+ "type": "boolean"
+ }
+ },
+ "parameterOrder": [
+ "parent"
+ ],
+ "request": {
+ "$ref": "LogSink"
+ }
+ },
+ "get": {
+ "id": "logging.sinks.get",
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/cloud-platform.read-only",
+ "https://www.googleapis.com/auth/logging.admin",
+ "https://www.googleapis.com/auth/logging.read"
+ ],
+ "path": "v2/{+sinkName}",
+ "response": {
+ "$ref": "LogSink"
+ },
+ "description": "Gets a sink.",
+ "parameterOrder": [
+ "sinkName"
+ ],
+ "parameters": {
+ "sinkName": {
+ "description": "Required. The resource name of the sink: \"projects/[PROJECT_ID]/sinks/[SINK_ID]\" \"organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]\" \"folders/[FOLDER_ID]/sinks/[SINK_ID]\" For example:\"projects/my-project/sinks/my-sink\"",
+ "location": "path",
+ "required": true,
+ "type": "string",
+ "pattern": "^[^/]+/[^/]+/sinks/[^/]+$"
+ }
+ },
+ "httpMethod": "GET",
+ "flatPath": "v2/{v2Id}/{v2Id1}/sinks/{sinksId}"
+ },
+ "delete": {
+ "flatPath": "v2/{v2Id}/{v2Id1}/sinks/{sinksId}",
+ "parameterOrder": [
+ "sinkName"
+ ],
+ "parameters": {
+ "sinkName": {
+ "pattern": "^[^/]+/[^/]+/sinks/[^/]+$",
+ "description": "Required. The full resource name of the sink to delete, including the parent resource and the sink identifier: \"projects/[PROJECT_ID]/sinks/[SINK_ID]\" \"organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]\" \"folders/[FOLDER_ID]/sinks/[SINK_ID]\" For example:\"projects/my-project/sinks/my-sink\"",
+ "required": true,
+ "location": "path",
+ "type": "string"
+ }
+ },
+ "path": "v2/{+sinkName}",
+ "httpMethod": "DELETE",
+ "id": "logging.sinks.delete",
+ "response": {
+ "$ref": "Empty"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/logging.admin"
+ ],
+ "description": "Deletes a sink. If the sink has a unique writer_identity, then that service account is also deleted."
+ },
+ "list": {
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/cloud-platform.read-only",
+ "https://www.googleapis.com/auth/logging.admin",
+ "https://www.googleapis.com/auth/logging.read"
+ ],
+ "id": "logging.sinks.list",
+ "parameters": {
+ "pageSize": {
+ "description": "Optional. The maximum number of results to return from this request. Non-positive values are ignored. The presence of nextPageToken in the response indicates that more results might be available.",
+ "location": "query",
+ "type": "integer",
+ "format": "int32"
+ },
+ "parent": {
+ "required": true,
+ "pattern": "^[^/]+/[^/]+$",
+ "description": "Required. The parent resource whose sinks are to be listed: \"projects/[PROJECT_ID]\" \"organizations/[ORGANIZATION_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]\" \"folders/[FOLDER_ID]\" ",
+ "location": "path",
+ "type": "string"
+ },
+ "pageToken": {
+ "type": "string",
+ "description": "Optional. If present, then retrieve the next batch of results from the preceding call to this method. pageToken must be the value of nextPageToken from the previous response. The values of other method parameters should be identical to those in the previous call.",
+ "location": "query"
+ },
+ "filter": {
+ "type": "string",
+ "location": "query",
+ "description": "Optional. A filter expression to constrain the sinks returned. Today, this only supports the following strings: '' 'in_scope(\"ALL\")', 'in_scope(\"ANCESTOR\")', 'in_scope(\"DEFAULT\")'.Description of scopes below. ALL: Includes all of the sinks which can be returned in any other scope. ANCESTOR: Includes intercepting sinks owned by ancestor resources. DEFAULT: Includes sinks owned by parent.When the empty string is provided, then the filter 'in_scope(\"DEFAULT\")' is applied."
+ }
+ },
+ "path": "v2/{+parent}/sinks",
+ "flatPath": "v2/{v2Id}/{v2Id1}/sinks",
+ "description": "Lists sinks.",
+ "parameterOrder": [
+ "parent"
+ ],
+ "httpMethod": "GET",
+ "response": {
+ "$ref": "ListSinksResponse"
+ }
+ },
+ "update": {
+ "id": "logging.sinks.update",
+ "parameters": {
+ "updateMask": {
+ "format": "google-fieldmask",
+ "type": "string",
+ "description": "Optional. Field mask that specifies the fields in sink that need an update. A sink field will be overwritten if, and only if, it is in the update mask. name and output only fields cannot be updated.An empty updateMask is temporarily treated as using the following mask for backwards compatibility purposes:destination,filter,includeChildrenAt some point in the future, behavior will be removed and specifying an empty updateMask will be an error.For a detailed FieldMask definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMaskFor example: updateMask=filter",
+ "location": "query"
+ },
+ "customWriterIdentity": {
+ "description": "Optional. The service account provided by the caller that will be used to write the log entries. The format must be serviceAccount:some@email. This field can only be specified when you are routing logs to a log bucket that is in a different project than the sink. When not specified, a Logging service account will automatically be generated.",
+ "location": "query",
+ "type": "string"
+ },
+ "uniqueWriterIdentity": {
+ "description": "Optional. See sinks.create for a description of this field. When updating a sink, the effect of this field on the value of writer_identity in the updated sink depends on both the old and new values of this field: If the old and new values of this field are both false or both true, then there is no change to the sink's writer_identity. If the old value is false and the new value is true, then writer_identity is changed to a service agent (https://cloud.google.com/iam/docs/service-account-types#service-agents) owned by Cloud Logging. It is an error if the old value is true and the new value is set to false or defaulted to false.",
+ "type": "boolean",
+ "location": "query"
+ },
+ "sinkName": {
+ "location": "path",
+ "description": "Required. The full resource name of the sink to update, including the parent resource and the sink identifier: \"projects/[PROJECT_ID]/sinks/[SINK_ID]\" \"organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]\" \"folders/[FOLDER_ID]/sinks/[SINK_ID]\" For example:\"projects/my-project/sinks/my-sink\"",
+ "pattern": "^[^/]+/[^/]+/sinks/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "request": {
+ "$ref": "LogSink"
+ },
+ "flatPath": "v2/{v2Id}/{v2Id1}/sinks/{sinksId}",
+ "response": {
+ "$ref": "LogSink"
+ },
+ "path": "v2/{+sinkName}",
+ "parameterOrder": [
+ "sinkName"
+ ],
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/logging.admin"
+ ],
+ "httpMethod": "PUT",
+ "description": "Updates a sink. This method replaces the values of the destination and filter fields of the existing sink with the corresponding values from the new sink.The updated sink might also have a new writer_identity; see the unique_writer_identity field."
+ }
+ }
+ },
+ "billingAccounts": {
+ "resources": {
+ "locations": {
+ "resources": {
+ "recentQueries": {
+ "methods": {
+ "list": {
+ "id": "logging.billingAccounts.locations.recentQueries.list",
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/cloud-platform.read-only",
+ "https://www.googleapis.com/auth/logging.admin",
+ "https://www.googleapis.com/auth/logging.read"
+ ],
+ "parameterOrder": [
+ "parent"
+ ],
+ "parameters": {
+ "filter": {
+ "type": "string",
+ "location": "query",
+ "description": "Optional. Specifies the type (\"Logging\" or \"OpsAnalytics\") of the recent queries to list. The only valid value for this field is one of the two allowable type function calls, which are the following: type(\"Logging\") type(\"OpsAnalytics\")"
+ },
+ "pageSize": {
+ "location": "query",
+ "format": "int32",
+ "type": "integer",
+ "description": "Optional. The maximum number of results to return from this request. Non-positive values are ignored. The presence of nextPageToken in the response indicates that more results might be available."
+ },
+ "pageToken": {
+ "description": "Optional. If present, then retrieve the next batch of results from the preceding call to this method. pageToken must be the value of nextPageToken from the previous response. The values of other method parameters should be identical to those in the previous call.",
+ "type": "string",
+ "location": "query"
+ },
+ "parent": {
+ "location": "path",
+ "description": "Required. The resource to which the listed queries belong. \"projects/[PROJECT_ID]/locations/[LOCATION_ID]\" \"organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]\" \"folders/[FOLDER_ID]/locations/[LOCATION_ID]\" For example:projects/my-project/locations/us-central1Note: The location portion of the resource must be specified, but supplying the character - in place of LOCATION_ID will return all recent queries.",
+ "required": true,
+ "type": "string",
+ "pattern": "^billingAccounts/[^/]+/locations/[^/]+$"
+ }
+ },
+ "description": "Lists the RecentQueries that were created by the user making the request.",
+ "httpMethod": "GET",
+ "response": {
+ "$ref": "ListRecentQueriesResponse"
+ },
+ "flatPath": "v2/billingAccounts/{billingAccountsId}/locations/{locationsId}/recentQueries",
+ "path": "v2/{+parent}/recentQueries"
+ }
+ }
+ },
+ "savedQueries": {
+ "methods": {
+ "get": {
+ "httpMethod": "GET",
+ "path": "v2/{+name}",
+ "description": "Returns all data associated with the requested query.",
+ "parameterOrder": [
+ "name"
+ ],
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/cloud-platform.read-only",
+ "https://www.googleapis.com/auth/logging.admin",
+ "https://www.googleapis.com/auth/logging.read"
+ ],
+ "flatPath": "v2/billingAccounts/{billingAccountsId}/locations/{locationsId}/savedQueries/{savedQueriesId}",
+ "response": {
+ "$ref": "SavedQuery"
+ },
+ "id": "logging.billingAccounts.locations.savedQueries.get",
+ "parameters": {
+ "name": {
+ "type": "string",
+ "pattern": "^billingAccounts/[^/]+/locations/[^/]+/savedQueries/[^/]+$",
+ "required": true,
+ "description": "Required. The resource name of the saved query. \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/savedQueries/[QUERY_ID]\" \"organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/savedQueries/[QUERY_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/savedQueries/[QUERY_ID]\" \"folders/[FOLDER_ID]/locations/[LOCATION_ID]/savedQueries/[QUERY_ID]\" For example: \"projects/my-project/locations/global/savedQueries/my-saved-query\" ",
+ "location": "path"
+ }
+ }
+ },
+ "patch": {
+ "flatPath": "v2/billingAccounts/{billingAccountsId}/locations/{locationsId}/savedQueries/{savedQueriesId}",
+ "response": {
+ "$ref": "SavedQuery"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/logging.admin"
+ ],
+ "description": "Updates an existing SavedQuery.",
+ "parameters": {
+ "updateMask": {
+ "format": "google-fieldmask",
+ "description": "Required. A non-empty list of fields to change in the existing saved query. Fields are relative to the saved_query and new values for the fields are taken from the corresponding fields in the SavedQuery included in this request. Fields not mentioned in update_mask are not changed and are ignored in the request.To update all mutable fields, specify an update_mask of *.For example, to change the description and query filter text of a saved query, specify an update_mask of \"description, query.filter\".",
+ "location": "query",
+ "type": "string"
+ },
+ "name": {
+ "required": true,
+ "pattern": "^billingAccounts/[^/]+/locations/[^/]+/savedQueries/[^/]+$",
+ "location": "path",
+ "description": "Output only. Resource name of the saved query.In the format: \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/savedQueries/[QUERY_ID]\" For a list of supported locations, see Supported Regions (https://cloud.google.com/logging/docs/region-support#bucket-regions)After the saved query is created, the location cannot be changed.If the user doesn't provide a QUERY_ID, the system will generate an alphanumeric ID.",
+ "type": "string"
+ }
+ },
+ "request": {
+ "$ref": "SavedQuery"
+ },
+ "id": "logging.billingAccounts.locations.savedQueries.patch",
+ "path": "v2/{+name}",
+ "httpMethod": "PATCH",
+ "parameterOrder": [
+ "name"
+ ]
+ },
+ "create": {
+ "id": "logging.billingAccounts.locations.savedQueries.create",
+ "httpMethod": "POST",
+ "path": "v2/{+parent}/savedQueries",
+ "response": {
+ "$ref": "SavedQuery"
+ },
+ "parameters": {
+ "savedQueryId": {
+ "location": "query",
+ "description": "Optional. The ID to use for the saved query, which will become the final component of the saved query's resource name.If the saved_query_id is not provided, the system will generate an alphanumeric ID.The saved_query_id is limited to 100 characters and can include only the following characters: upper and lower-case alphanumeric characters, underscores, hyphens, periods.First character has to be alphanumeric.",
+ "type": "string"
+ },
+ "parent": {
+ "type": "string",
+ "location": "path",
+ "description": "Required. The parent resource in which to create the saved query: \"projects/[PROJECT_ID]/locations/[LOCATION_ID]\" \"organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]\" \"folders/[FOLDER_ID]/locations/[LOCATION_ID]\" For example: \"projects/my-project/locations/global\" \"organizations/123456789/locations/us-central1\" ",
+ "required": true,
+ "pattern": "^billingAccounts/[^/]+/locations/[^/]+$"
+ }
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/logging.admin"
+ ],
+ "parameterOrder": [
+ "parent"
+ ],
+ "request": {
+ "$ref": "SavedQuery"
+ },
+ "flatPath": "v2/billingAccounts/{billingAccountsId}/locations/{locationsId}/savedQueries",
+ "description": "Creates a new SavedQuery for the user making the request."
+ },
+ "delete": {
+ "parameters": {
+ "name": {
+ "required": true,
+ "pattern": "^billingAccounts/[^/]+/locations/[^/]+/savedQueries/[^/]+$",
+ "description": "Required. The full resource name of the saved query to delete. \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/savedQueries/[QUERY_ID]\" \"organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/savedQueries/[QUERY_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/savedQueries/[QUERY_ID]\" \"folders/[FOLDER_ID]/locations/[LOCATION_ID]/savedQueries/[QUERY_ID]\" For example: \"projects/my-project/locations/global/savedQueries/my-saved-query\" ",
+ "type": "string",
+ "location": "path"
+ }
+ },
+ "httpMethod": "DELETE",
+ "description": "Deletes an existing SavedQuery that was created by the user making the request.",
+ "response": {
+ "$ref": "Empty"
+ },
+ "flatPath": "v2/billingAccounts/{billingAccountsId}/locations/{locationsId}/savedQueries/{savedQueriesId}",
+ "path": "v2/{+name}",
+ "id": "logging.billingAccounts.locations.savedQueries.delete",
+ "parameterOrder": [
+ "name"
+ ],
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/logging.admin"
+ ]
+ },
+ "list": {
+ "path": "v2/{+parent}/savedQueries",
+ "parameters": {
+ "pageToken": {
+ "description": "Optional. If present, then retrieve the next batch of results from the preceding call to this method. pageToken must be the value of nextPageToken from the previous response. The values of other method parameters should be identical to those in the previous call.",
+ "location": "query",
+ "type": "string"
+ },
+ "parent": {
+ "type": "string",
+ "description": "Required. The resource to which the listed queries belong. \"projects/[PROJECT_ID]/locations/[LOCATION_ID]\" \"organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]\" \"folders/[FOLDER_ID]/locations/[LOCATION_ID]\" For example: \"projects/my-project/locations/us-central1\" Note: The locations portion of the resource must be specified. To get a list of all saved queries, a wildcard character - can be used for LOCATION_ID, for example: \"projects/my-project/locations/-\" ",
+ "location": "path",
+ "required": true,
+ "pattern": "^billingAccounts/[^/]+/locations/[^/]+$"
+ },
+ "pageSize": {
+ "type": "integer",
+ "description": "Optional. The maximum number of results to return from this request.Non-positive values are ignored. The presence of nextPageToken in the response indicates that more results might be available.",
+ "format": "int32",
+ "location": "query"
+ },
+ "filter": {
+ "location": "query",
+ "type": "string",
+ "description": "Optional. Specifies the type (\"Logging\" or \"OpsAnalytics\") and the visibility (PRIVATE or SHARED) of the saved queries to list. If provided, the filter must contain either the type function or a visibility token, or both. If both are chosen, they can be placed in any order, but they must be joined by the AND operator or the empty character.The two supported type function calls are: type(\"Logging\") type(\"OpsAnalytics\")The two supported visibility tokens are: visibility = PRIVATE visibility = SHAREDFor example:type(\"Logging\") AND visibility = PRIVATE visibility=SHARED type(\"OpsAnalytics\") type(\"OpsAnalytics)\" visibility = PRIVATE visibility = SHARED"
+ }
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/cloud-platform.read-only",
+ "https://www.googleapis.com/auth/logging.admin",
+ "https://www.googleapis.com/auth/logging.read"
+ ],
+ "id": "logging.billingAccounts.locations.savedQueries.list",
+ "flatPath": "v2/billingAccounts/{billingAccountsId}/locations/{locationsId}/savedQueries",
+ "description": "Lists the SavedQueries that were created by the user making the request.",
+ "httpMethod": "GET",
+ "parameterOrder": [
+ "parent"
+ ],
+ "response": {
+ "$ref": "ListSavedQueriesResponse"
+ }
+ }
+ }
+ },
+ "operations": {
+ "methods": {
+ "list": {
+ "path": "v2/{+name}/operations",
+ "parameterOrder": [
+ "name"
+ ],
+ "id": "logging.billingAccounts.locations.operations.list",
+ "response": {
+ "$ref": "ListOperationsResponse"
+ },
+ "description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns UNIMPLEMENTED.",
+ "httpMethod": "GET",
+ "parameters": {
+ "pageSize": {
+ "type": "integer",
+ "format": "int32",
+ "location": "query",
+ "description": "The standard list page size."
+ },
+ "returnPartialSuccess": {
+ "type": "boolean",
+ "location": "query",
+ "description": "When set to true, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field.This can only be true when reading across collections. For example, when parent is set to \"projects/example/locations/-\".This field is not supported by default and will result in an UNIMPLEMENTED error if set unless explicitly documented otherwise in service or product specific documentation."
+ },
+ "name": {
+ "type": "string",
+ "description": "The name of the operation's parent resource.",
+ "pattern": "^billingAccounts/[^/]+/locations/[^/]+$",
+ "location": "path",
+ "required": true
+ },
+ "pageToken": {
+ "description": "The standard list page token.",
+ "type": "string",
+ "location": "query"
+ },
+ "filter": {
+ "location": "query",
+ "type": "string",
+ "description": "The standard list filter."
+ }
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/cloud-platform.read-only",
+ "https://www.googleapis.com/auth/logging.admin",
+ "https://www.googleapis.com/auth/logging.read"
+ ],
+ "flatPath": "v2/billingAccounts/{billingAccountsId}/locations/{locationsId}/operations"
+ },
+ "get": {
+ "path": "v2/{+name}",
+ "httpMethod": "GET",
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/cloud-platform.read-only",
+ "https://www.googleapis.com/auth/logging.admin",
+ "https://www.googleapis.com/auth/logging.read"
+ ],
+ "parameters": {
+ "name": {
+ "required": true,
+ "type": "string",
+ "description": "The name of the operation resource.",
+ "location": "path",
+ "pattern": "^billingAccounts/[^/]+/locations/[^/]+/operations/[^/]+$"
+ }
+ },
+ "response": {
+ "$ref": "Operation"
+ },
+ "parameterOrder": [
+ "name"
+ ],
+ "id": "logging.billingAccounts.locations.operations.get",
+ "description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.",
+ "flatPath": "v2/billingAccounts/{billingAccountsId}/locations/{locationsId}/operations/{operationsId}"
+ },
+ "cancel": {
+ "id": "logging.billingAccounts.locations.operations.cancel",
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/logging.admin"
+ ],
+ "description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns google.rpc.Code.UNIMPLEMENTED. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to Code.CANCELLED.",
+ "path": "v2/{+name}:cancel",
+ "parameters": {
+ "name": {
+ "description": "The name of the operation resource to be cancelled.",
+ "pattern": "^billingAccounts/[^/]+/locations/[^/]+/operations/[^/]+$",
+ "type": "string",
+ "required": true,
+ "location": "path"
+ }
+ },
+ "parameterOrder": [
+ "name"
+ ],
+ "request": {
+ "$ref": "CancelOperationRequest"
+ },
+ "response": {
+ "$ref": "Empty"
+ },
+ "httpMethod": "POST",
+ "flatPath": "v2/billingAccounts/{billingAccountsId}/locations/{locationsId}/operations/{operationsId}:cancel"
+ }
+ }
+ },
+ "buckets": {
+ "methods": {
+ "delete": {
+ "description": "Deletes a log bucket.Changes the bucket's lifecycle_state to the DELETE_REQUESTED state. After 7 days, the bucket will be purged and all log entries in the bucket will be permanently deleted.",
+ "response": {
+ "$ref": "Empty"
+ },
+ "id": "logging.billingAccounts.locations.buckets.delete",
+ "parameters": {
+ "name": {
+ "location": "path",
+ "pattern": "^billingAccounts/[^/]+/locations/[^/]+/buckets/[^/]+$",
+ "type": "string",
+ "required": true,
+ "description": "Required. The full resource name of the bucket to delete. \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" For example:\"projects/my-project/locations/global/buckets/my-bucket\""
+ }
+ },
+ "flatPath": "v2/billingAccounts/{billingAccountsId}/locations/{locationsId}/buckets/{bucketsId}",
+ "path": "v2/{+name}",
+ "parameterOrder": [
+ "name"
+ ],
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/logging.admin"
+ ],
+ "httpMethod": "DELETE"
+ },
+ "get": {
+ "parameters": {
+ "name": {
+ "description": "Required. The resource name of the bucket: \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" For example:\"projects/my-project/locations/global/buckets/my-bucket\"",
+ "required": true,
+ "type": "string",
+ "pattern": "^billingAccounts/[^/]+/locations/[^/]+/buckets/[^/]+$",
+ "location": "path"
+ }
+ },
+ "httpMethod": "GET",
+ "response": {
+ "$ref": "LogBucket"
+ },
+ "flatPath": "v2/billingAccounts/{billingAccountsId}/locations/{locationsId}/buckets/{bucketsId}",
+ "path": "v2/{+name}",
+ "parameterOrder": [
+ "name"
+ ],
+ "description": "Gets a log bucket.",
+ "id": "logging.billingAccounts.locations.buckets.get",
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/cloud-platform.read-only",
+ "https://www.googleapis.com/auth/logging.admin",
+ "https://www.googleapis.com/auth/logging.read"
+ ]
+ },
+ "list": {
+ "httpMethod": "GET",
+ "path": "v2/{+parent}/buckets",
+ "description": "Lists log buckets.",
+ "response": {
+ "$ref": "ListBucketsResponse"
+ },
+ "parameterOrder": [
+ "parent"
+ ],
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/cloud-platform.read-only",
+ "https://www.googleapis.com/auth/logging.admin",
+ "https://www.googleapis.com/auth/logging.read"
+ ],
+ "id": "logging.billingAccounts.locations.buckets.list",
+ "flatPath": "v2/billingAccounts/{billingAccountsId}/locations/{locationsId}/buckets",
+ "parameters": {
+ "parent": {
+ "required": true,
+ "type": "string",
+ "pattern": "^billingAccounts/[^/]+/locations/[^/]+$",
+ "location": "path",
+ "description": "Required. The parent resource whose buckets are to be listed: \"projects/[PROJECT_ID]/locations/[LOCATION_ID]\" \"organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]\" \"folders/[FOLDER_ID]/locations/[LOCATION_ID]\" Note: The locations portion of the resource must be specified, but supplying the character - in place of LOCATION_ID will return all buckets."
+ },
+ "pageSize": {
+ "format": "int32",
+ "type": "integer",
+ "location": "query",
+ "description": "Optional. The maximum number of results to return from this request. Non-positive values are ignored. The presence of nextPageToken in the response indicates that more results might be available."
+ },
+ "pageToken": {
+ "type": "string",
+ "description": "Optional. If present, then retrieve the next batch of results from the preceding call to this method. pageToken must be the value of nextPageToken from the previous response. The values of other method parameters should be identical to those in the previous call.",
+ "location": "query"
+ }
+ }
+ },
+ "undelete": {
+ "description": "Undeletes a log bucket. A bucket that has been deleted can be undeleted within the grace period of 7 days.",
+ "parameterOrder": [
+ "name"
+ ],
+ "flatPath": "v2/billingAccounts/{billingAccountsId}/locations/{locationsId}/buckets/{bucketsId}:undelete",
+ "path": "v2/{+name}:undelete",
+ "response": {
+ "$ref": "Empty"
+ },
+ "parameters": {
+ "name": {
+ "description": "Required. The full resource name of the bucket to undelete. \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" For example:\"projects/my-project/locations/global/buckets/my-bucket\"",
+ "required": true,
+ "pattern": "^billingAccounts/[^/]+/locations/[^/]+/buckets/[^/]+$",
+ "location": "path",
+ "type": "string"
+ }
+ },
+ "httpMethod": "POST",
+ "id": "logging.billingAccounts.locations.buckets.undelete",
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/logging.admin"
+ ],
+ "request": {
+ "$ref": "UndeleteBucketRequest"
+ }
+ },
+ "patch": {
+ "path": "v2/{+name}",
+ "request": {
+ "$ref": "LogBucket"
+ },
+ "response": {
+ "$ref": "LogBucket"
+ },
+ "httpMethod": "PATCH",
+ "description": "Updates a log bucket.If the bucket has a lifecycle_state of DELETE_REQUESTED, then FAILED_PRECONDITION will be returned.After a bucket has been created, the bucket's location cannot be changed.",
+ "parameterOrder": [
+ "name"
+ ],
+ "flatPath": "v2/billingAccounts/{billingAccountsId}/locations/{locationsId}/buckets/{bucketsId}",
+ "parameters": {
+ "name": {
+ "pattern": "^billingAccounts/[^/]+/locations/[^/]+/buckets/[^/]+$",
+ "required": true,
+ "description": "Required. The full resource name of the bucket to update. \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" For example:\"projects/my-project/locations/global/buckets/my-bucket\"",
+ "type": "string",
+ "location": "path"
+ },
+ "updateMask": {
+ "type": "string",
+ "format": "google-fieldmask",
+ "description": "Required. Field mask that specifies the fields in bucket that need an update. A bucket field will be overwritten if, and only if, it is in the update mask. name and output only fields cannot be updated.For a detailed FieldMask definition, see: https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMaskFor example: updateMask=retention_days",
+ "location": "query"
+ }
+ },
+ "id": "logging.billingAccounts.locations.buckets.patch",
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/logging.admin"
+ ]
+ },
+ "updateAsync": {
+ "path": "v2/{+name}:updateAsync",
+ "parameterOrder": [
+ "name"
+ ],
+ "request": {
+ "$ref": "LogBucket"
+ },
+ "parameters": {
+ "name": {
+ "description": "Required. The full resource name of the bucket to update. \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" For example:\"projects/my-project/locations/global/buckets/my-bucket\"",
+ "location": "path",
+ "required": true,
+ "pattern": "^billingAccounts/[^/]+/locations/[^/]+/buckets/[^/]+$",
+ "type": "string"
+ },
+ "updateMask": {
+ "type": "string",
+ "location": "query",
+ "description": "Required. Field mask that specifies the fields in bucket that need an update. A bucket field will be overwritten if, and only if, it is in the update mask. name and output only fields cannot be updated.For a detailed FieldMask definition, see: https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMaskFor example: updateMask=retention_days",
+ "format": "google-fieldmask"
+ }
+ },
+ "httpMethod": "POST",
+ "response": {
+ "$ref": "Operation"
+ },
+ "description": "Updates a log bucket asynchronously.If the bucket has a lifecycle_state of DELETE_REQUESTED, then FAILED_PRECONDITION will be returned.After a bucket has been created, the bucket's location cannot be changed.",
+ "id": "logging.billingAccounts.locations.buckets.updateAsync",
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/logging.admin"
+ ],
+ "flatPath": "v2/billingAccounts/{billingAccountsId}/locations/{locationsId}/buckets/{bucketsId}:updateAsync"
+ },
+ "createAsync": {
+ "request": {
+ "$ref": "LogBucket"
+ },
+ "httpMethod": "POST",
+ "description": "Creates a log bucket asynchronously that can be used to store log entries.After a bucket has been created, the bucket's location cannot be changed.",
+ "parameterOrder": [
+ "parent"
+ ],
+ "flatPath": "v2/billingAccounts/{billingAccountsId}/locations/{locationsId}/buckets:createAsync",
+ "path": "v2/{+parent}/buckets:createAsync",
+ "response": {
+ "$ref": "Operation"
+ },
+ "id": "logging.billingAccounts.locations.buckets.createAsync",
+ "parameters": {
+ "parent": {
+ "required": true,
+ "description": "Required. The resource in which to create the log bucket: \"projects/[PROJECT_ID]/locations/[LOCATION_ID]\" For example:\"projects/my-project/locations/global\"",
+ "location": "path",
+ "pattern": "^billingAccounts/[^/]+/locations/[^/]+$",
+ "type": "string"
+ },
+ "bucketId": {
+ "location": "query",
+ "description": "Required. A client-assigned identifier such as \"my-bucket\". Identifiers are limited to 100 characters and can include only letters, digits, underscores, hyphens, and periods. Bucket identifiers must start with an alphanumeric character.",
+ "type": "string"
+ }
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/logging.admin"
+ ]
+ },
+ "create": {
+ "flatPath": "v2/billingAccounts/{billingAccountsId}/locations/{locationsId}/buckets",
+ "httpMethod": "POST",
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/logging.admin"
+ ],
+ "description": "Creates a log bucket that can be used to store log entries. After a bucket has been created, the bucket's location cannot be changed.",
+ "id": "logging.billingAccounts.locations.buckets.create",
+ "parameters": {
+ "parent": {
+ "location": "path",
+ "description": "Required. The resource in which to create the log bucket: \"projects/[PROJECT_ID]/locations/[LOCATION_ID]\" For example:\"projects/my-project/locations/global\"",
+ "required": true,
+ "pattern": "^billingAccounts/[^/]+/locations/[^/]+$",
+ "type": "string"
+ },
+ "bucketId": {
+ "location": "query",
+ "description": "Required. A client-assigned identifier such as \"my-bucket\". Identifiers are limited to 100 characters and can include only letters, digits, underscores, hyphens, and periods. Bucket identifiers must start with an alphanumeric character.",
+ "type": "string"
+ }
+ },
+ "parameterOrder": [
+ "parent"
+ ],
+ "path": "v2/{+parent}/buckets",
+ "request": {
+ "$ref": "LogBucket"
+ },
+ "response": {
+ "$ref": "LogBucket"
+ }
+ }
+ },
+ "resources": {
+ "views": {
+ "methods": {
+ "create": {
+ "response": {
+ "$ref": "LogView"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/logging.admin"
+ ],
+ "parameterOrder": [
+ "parent"
+ ],
+ "parameters": {
+ "viewId": {
+ "type": "string",
+ "location": "query",
+ "description": "Required. A client-assigned identifier such as \"my-view\". Identifiers are limited to 100 characters and can include only letters, digits, underscores, and hyphens."
+ },
+ "parent": {
+ "pattern": "^billingAccounts/[^/]+/locations/[^/]+/buckets/[^/]+$",
+ "location": "path",
+ "description": "Required. The bucket in which to create the view `\"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\"` For example:\"projects/my-project/locations/global/buckets/my-bucket\"",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "description": "Creates a view over log entries in a log bucket. A bucket may contain a maximum of 30 views.",
+ "flatPath": "v2/billingAccounts/{billingAccountsId}/locations/{locationsId}/buckets/{bucketsId}/views",
+ "id": "logging.billingAccounts.locations.buckets.views.create",
+ "path": "v2/{+parent}/views",
+ "request": {
+ "$ref": "LogView"
+ },
+ "httpMethod": "POST"
+ },
+ "get": {
+ "id": "logging.billingAccounts.locations.buckets.views.get",
+ "parameters": {
+ "name": {
+ "required": true,
+ "type": "string",
+ "pattern": "^billingAccounts/[^/]+/locations/[^/]+/buckets/[^/]+/views/[^/]+$",
+ "location": "path",
+ "description": "Required. The resource name of the policy: \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]\" For example:\"projects/my-project/locations/global/buckets/my-bucket/views/my-view\""
+ }
+ },
+ "flatPath": "v2/billingAccounts/{billingAccountsId}/locations/{locationsId}/buckets/{bucketsId}/views/{viewsId}",
+ "path": "v2/{+name}",
+ "description": "Gets a view on a log bucket.",
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/cloud-platform.read-only",
+ "https://www.googleapis.com/auth/logging.admin",
+ "https://www.googleapis.com/auth/logging.read"
+ ],
+ "response": {
+ "$ref": "LogView"
+ },
+ "httpMethod": "GET",
+ "parameterOrder": [
+ "name"
+ ]
+ },
+ "list": {
+ "id": "logging.billingAccounts.locations.buckets.views.list",
+ "flatPath": "v2/billingAccounts/{billingAccountsId}/locations/{locationsId}/buckets/{bucketsId}/views",
+ "response": {
+ "$ref": "ListViewsResponse"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/cloud-platform.read-only",
+ "https://www.googleapis.com/auth/logging.admin",
+ "https://www.googleapis.com/auth/logging.read"
+ ],
+ "parameters": {
+ "parent": {
+ "pattern": "^billingAccounts/[^/]+/locations/[^/]+/buckets/[^/]+$",
+ "type": "string",
+ "description": "Required. The bucket whose views are to be listed: \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" ",
+ "location": "path",
+ "required": true
+ },
+ "pageToken": {
+ "type": "string",
+ "description": "Optional. If present, then retrieve the next batch of results from the preceding call to this method. pageToken must be the value of nextPageToken from the previous response. The values of other method parameters should be identical to those in the previous call.",
+ "location": "query"
+ },
+ "pageSize": {
+ "description": "Optional. The maximum number of results to return from this request.Non-positive values are ignored. The presence of nextPageToken in the response indicates that more results might be available.",
+ "type": "integer",
+ "location": "query",
+ "format": "int32"
+ }
+ },
+ "description": "Lists views on a log bucket.",
+ "parameterOrder": [
+ "parent"
+ ],
+ "path": "v2/{+parent}/views",
+ "httpMethod": "GET"
+ },
+ "delete": {
+ "description": "Deletes a view on a log bucket. If an UNAVAILABLE error is returned, this indicates that system is not in a state where it can delete the view. If this occurs, please try again in a few minutes.",
+ "id": "logging.billingAccounts.locations.buckets.views.delete",
+ "response": {
+ "$ref": "Empty"
+ },
+ "parameterOrder": [
+ "name"
+ ],
+ "path": "v2/{+name}",
+ "flatPath": "v2/billingAccounts/{billingAccountsId}/locations/{locationsId}/buckets/{bucketsId}/views/{viewsId}",
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/logging.admin"
+ ],
+ "parameters": {
+ "name": {
+ "pattern": "^billingAccounts/[^/]+/locations/[^/]+/buckets/[^/]+/views/[^/]+$",
+ "description": "Required. The full resource name of the view to delete: \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]\" For example:\"projects/my-project/locations/global/buckets/my-bucket/views/my-view\"",
+ "type": "string",
+ "required": true,
+ "location": "path"
+ }
+ },
+ "httpMethod": "DELETE"
+ },
+ "patch": {
+ "response": {
+ "$ref": "LogView"
+ },
+ "parameters": {
+ "name": {
+ "type": "string",
+ "pattern": "^billingAccounts/[^/]+/locations/[^/]+/buckets/[^/]+/views/[^/]+$",
+ "required": true,
+ "description": "Required. The full resource name of the view to update \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]\" For example:\"projects/my-project/locations/global/buckets/my-bucket/views/my-view\"",
+ "location": "path"
+ },
+ "updateMask": {
+ "type": "string",
+ "description": "Optional. Field mask that specifies the fields in view that need an update. A field will be overwritten if, and only if, it is in the update mask. name and output only fields cannot be updated.For a detailed FieldMask definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMaskFor example: updateMask=filter",
+ "format": "google-fieldmask",
+ "location": "query"
+ }
+ },
+ "description": "Updates a view on a log bucket. This method replaces the value of the filter field from the existing view with the corresponding value from the new view. If an UNAVAILABLE error is returned, this indicates that system is not in a state where it can update the view. If this occurs, please try again in a few minutes.",
+ "id": "logging.billingAccounts.locations.buckets.views.patch",
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/logging.admin"
+ ],
+ "path": "v2/{+name}",
+ "parameterOrder": [
+ "name"
+ ],
+ "flatPath": "v2/billingAccounts/{billingAccountsId}/locations/{locationsId}/buckets/{bucketsId}/views/{viewsId}",
+ "request": {
+ "$ref": "LogView"
+ },
+ "httpMethod": "PATCH"
+ }
+ },
+ "resources": {
+ "logs": {
+ "methods": {
+ "list": {
+ "parameterOrder": [
+ "parent"
+ ],
+ "id": "logging.billingAccounts.locations.buckets.views.logs.list",
+ "parameters": {
+ "resourceNames": {
+ "location": "query",
+ "description": "Optional. List of resource names to list logs for: projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID] organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID] billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID] folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]To support legacy queries, it could also be: projects/[PROJECT_ID] organizations/[ORGANIZATION_ID] billingAccounts/[BILLING_ACCOUNT_ID] folders/[FOLDER_ID]The resource name in the parent field is added to this list.",
+ "type": "string",
+ "repeated": true
+ },
+ "parent": {
+ "type": "string",
+ "required": true,
+ "description": "Required. The resource name to list logs for: projects/[PROJECT_ID] organizations/[ORGANIZATION_ID] billingAccounts/[BILLING_ACCOUNT_ID] folders/[FOLDER_ID]",
+ "location": "path",
+ "pattern": "^billingAccounts/[^/]+/locations/[^/]+/buckets/[^/]+/views/[^/]+$"
+ },
+ "pageSize": {
+ "location": "query",
+ "description": "Optional. The maximum number of results to return from this request. Non-positive values are ignored. The presence of nextPageToken in the response indicates that more results might be available.",
+ "format": "int32",
+ "type": "integer"
+ },
+ "pageToken": {
+ "location": "query",
+ "type": "string",
+ "description": "Optional. If present, then retrieve the next batch of results from the preceding call to this method. pageToken must be the value of nextPageToken from the previous response. The values of other method parameters should be identical to those in the previous call."
+ }
+ },
+ "description": "Lists the logs in projects, organizations, folders, or billing accounts. Only logs that have entries are listed.",
+ "response": {
+ "$ref": "ListLogsResponse"
+ },
+ "flatPath": "v2/billingAccounts/{billingAccountsId}/locations/{locationsId}/buckets/{bucketsId}/views/{viewsId}/logs",
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/cloud-platform.read-only",
+ "https://www.googleapis.com/auth/logging.admin",
+ "https://www.googleapis.com/auth/logging.read"
+ ],
+ "path": "v2/{+parent}/logs",
+ "httpMethod": "GET"
+ }
+ }
+ }
+ }
+ },
+ "links": {
+ "methods": {
+ "list": {
+ "parameterOrder": [
+ "parent"
+ ],
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/cloud-platform.read-only",
+ "https://www.googleapis.com/auth/logging.admin",
+ "https://www.googleapis.com/auth/logging.read"
+ ],
+ "description": "Lists links.",
+ "parameters": {
+ "pageSize": {
+ "type": "integer",
+ "format": "int32",
+ "location": "query",
+ "description": "Optional. The maximum number of results to return from this request."
+ },
+ "parent": {
+ "pattern": "^billingAccounts/[^/]+/locations/[^/]+/buckets/[^/]+$",
+ "type": "string",
+ "required": true,
+ "description": "Required. The parent resource whose links are to be listed: \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" ",
+ "location": "path"
+ },
+ "pageToken": {
+ "type": "string",
+ "location": "query",
+ "description": "Optional. If present, then retrieve the next batch of results from the preceding call to this method. pageToken must be the value of nextPageToken from the previous response."
+ }
+ },
+ "httpMethod": "GET",
+ "path": "v2/{+parent}/links",
+ "id": "logging.billingAccounts.locations.buckets.links.list",
+ "response": {
+ "$ref": "ListLinksResponse"
+ },
+ "flatPath": "v2/billingAccounts/{billingAccountsId}/locations/{locationsId}/buckets/{bucketsId}/links"
+ },
+ "create": {
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/logging.admin"
+ ],
+ "response": {
+ "$ref": "Operation"
+ },
+ "parameters": {
+ "linkId": {
+ "description": "Required. The ID to use for the link. The link_id can have up to 100 characters. A valid link_id must only have alphanumeric characters and underscores within it.",
+ "type": "string",
+ "location": "query"
+ },
+ "parent": {
+ "required": true,
+ "description": "Required. The full resource name of the bucket to create a link for. \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" ",
+ "location": "path",
+ "pattern": "^billingAccounts/[^/]+/locations/[^/]+/buckets/[^/]+$",
+ "type": "string"
+ }
+ },
+ "httpMethod": "POST",
+ "id": "logging.billingAccounts.locations.buckets.links.create",
+ "flatPath": "v2/billingAccounts/{billingAccountsId}/locations/{locationsId}/buckets/{bucketsId}/links",
+ "path": "v2/{+parent}/links",
+ "request": {
+ "$ref": "Link"
+ },
+ "description": "Asynchronously creates a linked dataset in BigQuery which makes it possible to use BigQuery to read the logs stored in the log bucket. A log bucket may currently only contain one link.",
+ "parameterOrder": [
+ "parent"
+ ]
+ },
+ "delete": {
+ "description": "Deletes a link. This will also delete the corresponding BigQuery linked dataset.",
+ "parameters": {
+ "name": {
+ "type": "string",
+ "location": "path",
+ "pattern": "^billingAccounts/[^/]+/locations/[^/]+/buckets/[^/]+/links/[^/]+$",
+ "description": "Required. The full resource name of the link to delete. \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]\" \"organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]\" \"folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]\" ",
+ "required": true
+ }
+ },
+ "httpMethod": "DELETE",
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/logging.admin"
+ ],
+ "parameterOrder": [
+ "name"
+ ],
+ "id": "logging.billingAccounts.locations.buckets.links.delete",
+ "flatPath": "v2/billingAccounts/{billingAccountsId}/locations/{locationsId}/buckets/{bucketsId}/links/{linksId}",
+ "response": {
+ "$ref": "Operation"
+ },
+ "path": "v2/{+name}"
+ },
+ "get": {
+ "parameterOrder": [
+ "name"
+ ],
+ "id": "logging.billingAccounts.locations.buckets.links.get",
+ "flatPath": "v2/billingAccounts/{billingAccountsId}/locations/{locationsId}/buckets/{bucketsId}/links/{linksId}",
+ "parameters": {
+ "name": {
+ "pattern": "^billingAccounts/[^/]+/locations/[^/]+/buckets/[^/]+/links/[^/]+$",
+ "location": "path",
+ "type": "string",
+ "required": true,
+ "description": "Required. The resource name of the link: \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]\" \"organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]\" \"folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]\" "
+ }
+ },
+ "description": "Gets a link.",
+ "response": {
+ "$ref": "Link"
+ },
+ "path": "v2/{+name}",
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/cloud-platform.read-only",
+ "https://www.googleapis.com/auth/logging.admin",
+ "https://www.googleapis.com/auth/logging.read"
+ ],
+ "httpMethod": "GET"
+ }
+ }
+ }
+ }
+ }
+ },
+ "methods": {
+ "list": {
+ "description": "Lists information about the supported locations for this service.",
+ "id": "logging.billingAccounts.locations.list",
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/cloud-platform.read-only",
+ "https://www.googleapis.com/auth/logging.admin",
+ "https://www.googleapis.com/auth/logging.read"
+ ],
+ "path": "v2/{+name}/locations",
+ "response": {
+ "$ref": "ListLocationsResponse"
+ },
+ "flatPath": "v2/billingAccounts/{billingAccountsId}/locations",
+ "parameterOrder": [
+ "name"
+ ],
+ "parameters": {
+ "filter": {
+ "location": "query",
+ "description": "A filter to narrow down results to a preferred subset. The filtering language accepts strings like \"displayName=tokyo\", and is documented in more detail in AIP-160 (https://google.aip.dev/160).",
+ "type": "string"
+ },
+ "pageToken": {
+ "description": "A page token received from the next_page_token field in the response. Send that page token to receive the subsequent page.",
+ "type": "string",
+ "location": "query"
+ },
+ "extraLocationTypes": {
+ "location": "query",
+ "description": "Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage.",
+ "repeated": true,
+ "type": "string"
+ },
+ "pageSize": {
+ "location": "query",
+ "format": "int32",
+ "description": "The maximum number of results to return. If not set, the service selects a default.",
+ "type": "integer"
+ },
+ "name": {
+ "description": "The resource that owns the locations collection, if applicable.",
+ "location": "path",
+ "type": "string",
+ "pattern": "^billingAccounts/[^/]+$",
+ "required": true
+ }
+ },
+ "httpMethod": "GET"
+ },
+ "get": {
+ "response": {
+ "$ref": "Location"
+ },
+ "path": "v2/{+name}",
+ "parameterOrder": [
+ "name"
+ ],
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/cloud-platform.read-only",
+ "https://www.googleapis.com/auth/logging.admin",
+ "https://www.googleapis.com/auth/logging.read"
+ ],
+ "id": "logging.billingAccounts.locations.get",
+ "description": "Gets information about a location.",
+ "flatPath": "v2/billingAccounts/{billingAccountsId}/locations/{locationsId}",
+ "httpMethod": "GET",
+ "parameters": {
+ "name": {
+ "location": "path",
+ "pattern": "^billingAccounts/[^/]+/locations/[^/]+$",
+ "type": "string",
+ "description": "Resource name for the location.",
+ "required": true
+ }
+ }
+ }
+ }
+ },
+ "exclusions": {
+ "methods": {
+ "delete": {
+ "description": "Deletes an exclusion in the _Default sink.",
+ "id": "logging.billingAccounts.exclusions.delete",
+ "parameterOrder": [
+ "name"
+ ],
+ "flatPath": "v2/billingAccounts/{billingAccountsId}/exclusions/{exclusionsId}",
+ "httpMethod": "DELETE",
+ "response": {
+ "$ref": "Empty"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/logging.admin"
+ ],
+ "path": "v2/{+name}",
+ "parameters": {
+ "name": {
+ "type": "string",
+ "description": "Required. The resource name of an existing exclusion to delete: \"projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]\" \"organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]\" \"folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]\" For example:\"projects/my-project/exclusions/my-exclusion\"",
+ "location": "path",
+ "pattern": "^billingAccounts/[^/]+/exclusions/[^/]+$",
+ "required": true
+ }
+ }
+ },
+ "patch": {
+ "path": "v2/{+name}",
+ "id": "logging.billingAccounts.exclusions.patch",
+ "parameterOrder": [
+ "name"
+ ],
+ "response": {
+ "$ref": "LogExclusion"
+ },
+ "flatPath": "v2/billingAccounts/{billingAccountsId}/exclusions/{exclusionsId}",
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/logging.admin"
+ ],
+ "parameters": {
+ "updateMask": {
+ "format": "google-fieldmask",
+ "type": "string",
+ "location": "query",
+ "description": "Required. A non-empty list of fields to change in the existing exclusion. New values for the fields are taken from the corresponding fields in the LogExclusion included in this request. Fields not mentioned in update_mask are not changed and are ignored in the request.For example, to change the filter and description of an exclusion, specify an update_mask of \"filter,description\"."
+ },
+ "name": {
+ "required": true,
+ "description": "Required. The resource name of the exclusion to update: \"projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]\" \"organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]\" \"folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]\" For example:\"projects/my-project/exclusions/my-exclusion\"",
+ "type": "string",
+ "location": "path",
+ "pattern": "^billingAccounts/[^/]+/exclusions/[^/]+$"
+ }
+ },
+ "request": {
+ "$ref": "LogExclusion"
+ },
+ "httpMethod": "PATCH",
+ "description": "Changes one or more properties of an existing exclusion in the _Default sink."
+ },
+ "get": {
+ "flatPath": "v2/billingAccounts/{billingAccountsId}/exclusions/{exclusionsId}",
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/cloud-platform.read-only",
+ "https://www.googleapis.com/auth/logging.admin",
+ "https://www.googleapis.com/auth/logging.read"
+ ],
+ "parameters": {
+ "name": {
+ "required": true,
+ "location": "path",
+ "pattern": "^billingAccounts/[^/]+/exclusions/[^/]+$",
+ "type": "string",
+ "description": "Required. The resource name of an existing exclusion: \"projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]\" \"organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]\" \"folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]\" For example:\"projects/my-project/exclusions/my-exclusion\""
+ }
+ },
+ "description": "Gets the description of an exclusion in the _Default sink.",
+ "httpMethod": "GET",
+ "response": {
+ "$ref": "LogExclusion"
+ },
+ "parameterOrder": [
+ "name"
+ ],
+ "id": "logging.billingAccounts.exclusions.get",
+ "path": "v2/{+name}"
+ },
+ "list": {
+ "flatPath": "v2/billingAccounts/{billingAccountsId}/exclusions",
+ "id": "logging.billingAccounts.exclusions.list",
+ "parameters": {
+ "pageSize": {
+ "format": "int32",
+ "location": "query",
+ "description": "Optional. The maximum number of results to return from this request. Non-positive values are ignored. The presence of nextPageToken in the response indicates that more results might be available.",
+ "type": "integer"
+ },
+ "parent": {
+ "location": "path",
+ "type": "string",
+ "required": true,
+ "pattern": "^billingAccounts/[^/]+$",
+ "description": "Required. The parent resource whose exclusions are to be listed. \"projects/[PROJECT_ID]\" \"organizations/[ORGANIZATION_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]\" \"folders/[FOLDER_ID]\" "
+ },
+ "pageToken": {
+ "location": "query",
+ "description": "Optional. If present, then retrieve the next batch of results from the preceding call to this method. pageToken must be the value of nextPageToken from the previous response. The values of other method parameters should be identical to those in the previous call.",
+ "type": "string"
+ }
+ },
+ "description": "Lists all the exclusions on the _Default sink in a parent resource.",
+ "httpMethod": "GET",
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/cloud-platform.read-only",
+ "https://www.googleapis.com/auth/logging.admin",
+ "https://www.googleapis.com/auth/logging.read"
+ ],
+ "path": "v2/{+parent}/exclusions",
+ "parameterOrder": [
+ "parent"
+ ],
+ "response": {
+ "$ref": "ListExclusionsResponse"
+ }
+ },
+ "create": {
+ "path": "v2/{+parent}/exclusions",
+ "httpMethod": "POST",
+ "parameters": {
+ "parent": {
+ "required": true,
+ "location": "path",
+ "pattern": "^billingAccounts/[^/]+$",
+ "type": "string",
+ "description": "Required. The parent resource in which to create the exclusion: \"projects/[PROJECT_ID]\" \"organizations/[ORGANIZATION_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]\" \"folders/[FOLDER_ID]\" For examples:\"projects/my-logging-project\" \"organizations/123456789\""
+ }
+ },
+ "id": "logging.billingAccounts.exclusions.create",
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/logging.admin"
+ ],
+ "request": {
+ "$ref": "LogExclusion"
+ },
+ "description": "Creates a new exclusion in the _Default sink in a specified parent resource. Only log entries belonging to that resource can be excluded. You can have up to 10 exclusions in a resource.",
+ "parameterOrder": [
+ "parent"
+ ],
+ "response": {
+ "$ref": "LogExclusion"
+ },
+ "flatPath": "v2/billingAccounts/{billingAccountsId}/exclusions"
+ }
+ }
+ },
+ "sinks": {
+ "methods": {
+ "get": {
+ "id": "logging.billingAccounts.sinks.get",
+ "httpMethod": "GET",
+ "flatPath": "v2/billingAccounts/{billingAccountsId}/sinks/{sinksId}",
+ "description": "Gets a sink.",
+ "parameters": {
+ "sinkName": {
+ "pattern": "^billingAccounts/[^/]+/sinks/[^/]+$",
+ "location": "path",
+ "type": "string",
+ "description": "Required. The resource name of the sink: \"projects/[PROJECT_ID]/sinks/[SINK_ID]\" \"organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]\" \"folders/[FOLDER_ID]/sinks/[SINK_ID]\" For example:\"projects/my-project/sinks/my-sink\"",
+ "required": true
+ }
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/cloud-platform.read-only",
+ "https://www.googleapis.com/auth/logging.admin",
+ "https://www.googleapis.com/auth/logging.read"
+ ],
+ "response": {
+ "$ref": "LogSink"
+ },
+ "parameterOrder": [
+ "sinkName"
+ ],
+ "path": "v2/{+sinkName}"
+ },
+ "delete": {
+ "id": "logging.billingAccounts.sinks.delete",
+ "path": "v2/{+sinkName}",
+ "response": {
+ "$ref": "Empty"
+ },
+ "parameterOrder": [
+ "sinkName"
+ ],
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/logging.admin"
+ ],
+ "httpMethod": "DELETE",
+ "description": "Deletes a sink. If the sink has a unique writer_identity, then that service account is also deleted.",
+ "parameters": {
+ "sinkName": {
+ "type": "string",
+ "pattern": "^billingAccounts/[^/]+/sinks/[^/]+$",
+ "location": "path",
+ "description": "Required. The full resource name of the sink to delete, including the parent resource and the sink identifier: \"projects/[PROJECT_ID]/sinks/[SINK_ID]\" \"organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]\" \"folders/[FOLDER_ID]/sinks/[SINK_ID]\" For example:\"projects/my-project/sinks/my-sink\"",
+ "required": true
+ }
+ },
+ "flatPath": "v2/billingAccounts/{billingAccountsId}/sinks/{sinksId}"
+ },
+ "list": {
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/cloud-platform.read-only",
+ "https://www.googleapis.com/auth/logging.admin",
+ "https://www.googleapis.com/auth/logging.read"
+ ],
+ "parameters": {
+ "pageToken": {
+ "description": "Optional. If present, then retrieve the next batch of results from the preceding call to this method. pageToken must be the value of nextPageToken from the previous response. The values of other method parameters should be identical to those in the previous call.",
+ "location": "query",
+ "type": "string"
+ },
+ "filter": {
+ "type": "string",
+ "description": "Optional. A filter expression to constrain the sinks returned. Today, this only supports the following strings: '' 'in_scope(\"ALL\")', 'in_scope(\"ANCESTOR\")', 'in_scope(\"DEFAULT\")'.Description of scopes below. ALL: Includes all of the sinks which can be returned in any other scope. ANCESTOR: Includes intercepting sinks owned by ancestor resources. DEFAULT: Includes sinks owned by parent.When the empty string is provided, then the filter 'in_scope(\"DEFAULT\")' is applied.",
+ "location": "query"
+ },
+ "parent": {
+ "required": true,
+ "location": "path",
+ "type": "string",
+ "pattern": "^billingAccounts/[^/]+$",
+ "description": "Required. The parent resource whose sinks are to be listed: \"projects/[PROJECT_ID]\" \"organizations/[ORGANIZATION_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]\" \"folders/[FOLDER_ID]\" "
+ },
+ "pageSize": {
+ "description": "Optional. The maximum number of results to return from this request. Non-positive values are ignored. The presence of nextPageToken in the response indicates that more results might be available.",
+ "format": "int32",
+ "location": "query",
+ "type": "integer"
+ }
+ },
+ "httpMethod": "GET",
+ "description": "Lists sinks.",
+ "path": "v2/{+parent}/sinks",
+ "flatPath": "v2/billingAccounts/{billingAccountsId}/sinks",
+ "id": "logging.billingAccounts.sinks.list",
+ "parameterOrder": [
+ "parent"
+ ],
+ "response": {
+ "$ref": "ListSinksResponse"
+ }
+ },
+ "patch": {
+ "request": {
+ "$ref": "LogSink"
+ },
+ "parameterOrder": [
+ "sinkName"
+ ],
+ "flatPath": "v2/billingAccounts/{billingAccountsId}/sinks/{sinksId}",
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/logging.admin"
+ ],
+ "parameters": {
+ "updateMask": {
+ "description": "Optional. Field mask that specifies the fields in sink that need an update. A sink field will be overwritten if, and only if, it is in the update mask. name and output only fields cannot be updated.An empty updateMask is temporarily treated as using the following mask for backwards compatibility purposes:destination,filter,includeChildrenAt some point in the future, behavior will be removed and specifying an empty updateMask will be an error.For a detailed FieldMask definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMaskFor example: updateMask=filter",
+ "location": "query",
+ "format": "google-fieldmask",
+ "type": "string"
+ },
+ "customWriterIdentity": {
+ "type": "string",
+ "location": "query",
+ "description": "Optional. The service account provided by the caller that will be used to write the log entries. The format must be serviceAccount:some@email. This field can only be specified when you are routing logs to a log bucket that is in a different project than the sink. When not specified, a Logging service account will automatically be generated."
+ },
+ "sinkName": {
+ "pattern": "^billingAccounts/[^/]+/sinks/[^/]+$",
+ "location": "path",
+ "required": true,
+ "type": "string",
+ "description": "Required. The full resource name of the sink to update, including the parent resource and the sink identifier: \"projects/[PROJECT_ID]/sinks/[SINK_ID]\" \"organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]\" \"folders/[FOLDER_ID]/sinks/[SINK_ID]\" For example:\"projects/my-project/sinks/my-sink\""
+ },
+ "uniqueWriterIdentity": {
+ "location": "query",
+ "description": "Optional. See sinks.create for a description of this field. When updating a sink, the effect of this field on the value of writer_identity in the updated sink depends on both the old and new values of this field: If the old and new values of this field are both false or both true, then there is no change to the sink's writer_identity. If the old value is false and the new value is true, then writer_identity is changed to a service agent (https://cloud.google.com/iam/docs/service-account-types#service-agents) owned by Cloud Logging. It is an error if the old value is true and the new value is set to false or defaulted to false.",
+ "type": "boolean"
+ }
+ },
+ "id": "logging.billingAccounts.sinks.patch",
+ "response": {
+ "$ref": "LogSink"
+ },
+ "httpMethod": "PATCH",
+ "description": "Updates a sink. This method replaces the values of the destination and filter fields of the existing sink with the corresponding values from the new sink.The updated sink might also have a new writer_identity; see the unique_writer_identity field.",
+ "path": "v2/{+sinkName}"
+ },
+ "update": {
+ "parameterOrder": [
+ "sinkName"
+ ],
+ "response": {
+ "$ref": "LogSink"
+ },
+ "flatPath": "v2/billingAccounts/{billingAccountsId}/sinks/{sinksId}",
+ "request": {
+ "$ref": "LogSink"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/logging.admin"
+ ],
+ "description": "Updates a sink. This method replaces the values of the destination and filter fields of the existing sink with the corresponding values from the new sink.The updated sink might also have a new writer_identity; see the unique_writer_identity field.",
+ "path": "v2/{+sinkName}",
+ "parameters": {
+ "uniqueWriterIdentity": {
+ "location": "query",
+ "type": "boolean",
+ "description": "Optional. See sinks.create for a description of this field. When updating a sink, the effect of this field on the value of writer_identity in the updated sink depends on both the old and new values of this field: If the old and new values of this field are both false or both true, then there is no change to the sink's writer_identity. If the old value is false and the new value is true, then writer_identity is changed to a service agent (https://cloud.google.com/iam/docs/service-account-types#service-agents) owned by Cloud Logging. It is an error if the old value is true and the new value is set to false or defaulted to false."
+ },
+ "customWriterIdentity": {
+ "location": "query",
+ "type": "string",
+ "description": "Optional. The service account provided by the caller that will be used to write the log entries. The format must be serviceAccount:some@email. This field can only be specified when you are routing logs to a log bucket that is in a different project than the sink. When not specified, a Logging service account will automatically be generated."
+ },
+ "sinkName": {
+ "required": true,
+ "location": "path",
+ "pattern": "^billingAccounts/[^/]+/sinks/[^/]+$",
+ "type": "string",
+ "description": "Required. The full resource name of the sink to update, including the parent resource and the sink identifier: \"projects/[PROJECT_ID]/sinks/[SINK_ID]\" \"organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]\" \"folders/[FOLDER_ID]/sinks/[SINK_ID]\" For example:\"projects/my-project/sinks/my-sink\""
+ },
+ "updateMask": {
+ "description": "Optional. Field mask that specifies the fields in sink that need an update. A sink field will be overwritten if, and only if, it is in the update mask. name and output only fields cannot be updated.An empty updateMask is temporarily treated as using the following mask for backwards compatibility purposes:destination,filter,includeChildrenAt some point in the future, behavior will be removed and specifying an empty updateMask will be an error.For a detailed FieldMask definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMaskFor example: updateMask=filter",
+ "type": "string",
+ "format": "google-fieldmask",
+ "location": "query"
+ }
+ },
+ "httpMethod": "PUT",
+ "id": "logging.billingAccounts.sinks.update"
+ },
+ "create": {
+ "parameterOrder": [
+ "parent"
+ ],
+ "response": {
+ "$ref": "LogSink"
+ },
+ "description": "Creates a sink that exports specified log entries to a destination. The export begins upon ingress, unless the sink's writer_identity is not permitted to write to the destination. A sink can export log entries only from the resource owning the sink.",
+ "id": "logging.billingAccounts.sinks.create",
+ "parameters": {
+ "parent": {
+ "required": true,
+ "location": "path",
+ "description": "Required. The resource in which to create the sink: \"projects/[PROJECT_ID]\" \"organizations/[ORGANIZATION_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]\" \"folders/[FOLDER_ID]\" For examples:\"projects/my-project\" \"organizations/123456789\"",
+ "type": "string",
+ "pattern": "^billingAccounts/[^/]+$"
+ },
+ "customWriterIdentity": {
+ "location": "query",
+ "type": "string",
+ "description": "Optional. The service account provided by the caller that will be used to write the log entries. The format must be serviceAccount:some@email. This field can only be specified when you are routing logs to a log bucket that is in a different project than the sink. When not specified, a Logging service account will automatically be generated."
+ },
+ "uniqueWriterIdentity": {
+ "description": "Optional. Determines the kind of IAM identity returned as writer_identity in the new sink. If this value is omitted or set to false, and if the sink's parent is a project, then the value returned as writer_identity is the same group or service account used by Cloud Logging before the addition of writer identities to this API. The sink's destination must be in the same project as the sink itself.If this field is set to true, or if the sink is owned by a non-project resource such as an organization, then the value of writer_identity will be a service agent (https://cloud.google.com/iam/docs/service-account-types#service-agents) used by the sinks with the same parent. For more information, see writer_identity in LogSink.",
+ "location": "query",
+ "type": "boolean"
+ }
+ },
+ "request": {
+ "$ref": "LogSink"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/logging.admin"
+ ],
+ "httpMethod": "POST",
+ "path": "v2/{+parent}/sinks",
+ "flatPath": "v2/billingAccounts/{billingAccountsId}/sinks"
+ }
+ }
+ },
+ "logs": {
+ "methods": {
+ "delete": {
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/logging.admin"
+ ],
+ "path": "v2/{+logName}",
+ "parameterOrder": [
+ "logName"
+ ],
+ "description": "Deletes all the log entries in a log for the global _Default Log Bucket. The log reappears if it receives new entries. Log entries written shortly before the delete operation might not be deleted. Entries received after the delete operation with a timestamp before the operation will be deleted.",
+ "response": {
+ "$ref": "Empty"
+ },
+ "parameters": {
+ "logName": {
+ "type": "string",
+ "required": true,
+ "description": "Required. The resource name of the log to delete: projects/[PROJECT_ID]/logs/[LOG_ID] organizations/[ORGANIZATION_ID]/logs/[LOG_ID] billingAccounts/[BILLING_ACCOUNT_ID]/logs/[LOG_ID] folders/[FOLDER_ID]/logs/[LOG_ID][LOG_ID] must be URL-encoded. For example, \"projects/my-project-id/logs/syslog\", \"organizations/123/logs/cloudaudit.googleapis.com%2Factivity\".For more information about log names, see LogEntry.",
+ "pattern": "^billingAccounts/[^/]+/logs/[^/]+$",
+ "location": "path"
+ }
+ },
+ "flatPath": "v2/billingAccounts/{billingAccountsId}/logs/{logsId}",
+ "httpMethod": "DELETE",
+ "id": "logging.billingAccounts.logs.delete"
+ },
+ "list": {
+ "parameterOrder": [
+ "parent"
+ ],
+ "parameters": {
+ "pageToken": {
+ "type": "string",
+ "location": "query",
+ "description": "Optional. If present, then retrieve the next batch of results from the preceding call to this method. pageToken must be the value of nextPageToken from the previous response. The values of other method parameters should be identical to those in the previous call."
+ },
+ "parent": {
+ "type": "string",
+ "required": true,
+ "location": "path",
+ "pattern": "^billingAccounts/[^/]+$",
+ "description": "Required. The resource name to list logs for: projects/[PROJECT_ID] organizations/[ORGANIZATION_ID] billingAccounts/[BILLING_ACCOUNT_ID] folders/[FOLDER_ID]"
+ },
+ "resourceNames": {
+ "location": "query",
+ "repeated": true,
+ "description": "Optional. List of resource names to list logs for: projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID] organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID] billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID] folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]To support legacy queries, it could also be: projects/[PROJECT_ID] organizations/[ORGANIZATION_ID] billingAccounts/[BILLING_ACCOUNT_ID] folders/[FOLDER_ID]The resource name in the parent field is added to this list.",
+ "type": "string"
+ },
+ "pageSize": {
+ "description": "Optional. The maximum number of results to return from this request. Non-positive values are ignored. The presence of nextPageToken in the response indicates that more results might be available.",
+ "type": "integer",
+ "location": "query",
+ "format": "int32"
+ }
+ },
+ "flatPath": "v2/billingAccounts/{billingAccountsId}/logs",
+ "httpMethod": "GET",
+ "description": "Lists the logs in projects, organizations, folders, or billing accounts. Only logs that have entries are listed.",
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/cloud-platform.read-only",
+ "https://www.googleapis.com/auth/logging.admin",
+ "https://www.googleapis.com/auth/logging.read"
+ ],
+ "id": "logging.billingAccounts.logs.list",
+ "path": "v2/{+parent}/logs",
+ "response": {
+ "$ref": "ListLogsResponse"
+ }
+ }
+ }
+ }
+ },
+ "methods": {
+ "getCmekSettings": {
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/cloud-platform.read-only",
+ "https://www.googleapis.com/auth/logging.admin",
+ "https://www.googleapis.com/auth/logging.read"
+ ],
+ "path": "v2/{+name}/cmekSettings",
+ "id": "logging.billingAccounts.getCmekSettings",
+ "flatPath": "v2/billingAccounts/{billingAccountsId}/cmekSettings",
+ "httpMethod": "GET",
+ "description": "Gets the Logging CMEK settings for the given resource.Note: CMEK for the Log Router can be configured for Google Cloud projects, folders, organizations, and billing accounts. Once configured for an organization, it applies to all projects and folders in the Google Cloud organization.See Enabling CMEK for Log Router (https://cloud.google.com/logging/docs/routing/managed-encryption) for more information.",
+ "parameters": {
+ "name": {
+ "required": true,
+ "type": "string",
+ "pattern": "^billingAccounts/[^/]+$",
+ "location": "path",
+ "description": "Required. The resource for which to retrieve CMEK settings. \"projects/[PROJECT_ID]/cmekSettings\" \"organizations/[ORGANIZATION_ID]/cmekSettings\" \"billingAccounts/[BILLING_ACCOUNT_ID]/cmekSettings\" \"folders/[FOLDER_ID]/cmekSettings\" For example:\"organizations/12345/cmekSettings\"Note: CMEK for the Log Router can be configured for Google Cloud projects, folders, organizations, and billing accounts. Once configured for an organization, it applies to all projects and folders in the Google Cloud organization."
+ }
+ },
+ "parameterOrder": [
+ "name"
+ ],
+ "response": {
+ "$ref": "CmekSettings"
+ }
+ },
+ "getSettings": {
+ "parameters": {
+ "name": {
+ "type": "string",
+ "description": "Required. The resource for which to retrieve settings. \"projects/[PROJECT_ID]/settings\" \"organizations/[ORGANIZATION_ID]/settings\" \"billingAccounts/[BILLING_ACCOUNT_ID]/settings\" \"folders/[FOLDER_ID]/settings\" For example:\"organizations/12345/settings\"Note: Settings can be retrieved for Google Cloud projects, folders, organizations, and billing accounts.",
+ "location": "path",
+ "required": true,
+ "pattern": "^billingAccounts/[^/]+$"
+ }
+ },
+ "path": "v2/{+name}/settings",
+ "httpMethod": "GET",
+ "description": "Gets the settings for the given resource.Note: Settings can be retrieved for Google Cloud projects, folders, organizations, and billing accounts.See View default resource settings for Logging (https://cloud.google.com/logging/docs/default-settings#view-org-settings) for more information.",
+ "flatPath": "v2/billingAccounts/{billingAccountsId}/settings",
+ "id": "logging.billingAccounts.getSettings",
+ "response": {
+ "$ref": "Settings"
+ },
+ "parameterOrder": [
+ "name"
+ ],
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/cloud-platform.read-only",
+ "https://www.googleapis.com/auth/logging.admin",
+ "https://www.googleapis.com/auth/logging.read"
+ ]
+ }
+ }
+ },
+ "monitoredResourceDescriptors": {
+ "methods": {
+ "list": {
+ "description": "Lists the descriptors for monitored resource types used by Logging.",
+ "parameters": {
+ "pageToken": {
+ "description": "Optional. If present, then retrieve the next batch of results from the preceding call to this method. pageToken must be the value of nextPageToken from the previous response. The values of other method parameters should be identical to those in the previous call.",
+ "location": "query",
+ "type": "string"
+ },
+ "pageSize": {
+ "description": "Optional. The maximum number of results to return from this request. Non-positive values are ignored. The presence of nextPageToken in the response indicates that more results might be available.",
+ "type": "integer",
+ "location": "query",
+ "format": "int32"
+ }
+ },
+ "flatPath": "v2/monitoredResourceDescriptors",
+ "path": "v2/monitoredResourceDescriptors",
+ "id": "logging.monitoredResourceDescriptors.list",
+ "httpMethod": "GET",
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/cloud-platform.read-only",
+ "https://www.googleapis.com/auth/logging.admin",
+ "https://www.googleapis.com/auth/logging.read"
+ ],
+ "parameterOrder": [],
+ "response": {
+ "$ref": "ListMonitoredResourceDescriptorsResponse"
+ }
+ }
+ }
+ },
+ "v2": {
+ "methods": {
+ "getCmekSettings": {
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/cloud-platform.read-only",
+ "https://www.googleapis.com/auth/logging.admin",
+ "https://www.googleapis.com/auth/logging.read"
+ ],
+ "parameters": {
+ "name": {
+ "description": "Required. The resource for which to retrieve CMEK settings. \"projects/[PROJECT_ID]/cmekSettings\" \"organizations/[ORGANIZATION_ID]/cmekSettings\" \"billingAccounts/[BILLING_ACCOUNT_ID]/cmekSettings\" \"folders/[FOLDER_ID]/cmekSettings\" For example:\"organizations/12345/cmekSettings\"Note: CMEK for the Log Router can be configured for Google Cloud projects, folders, organizations, and billing accounts. Once configured for an organization, it applies to all projects and folders in the Google Cloud organization.",
+ "pattern": "^[^/]+/[^/]+$",
+ "required": true,
+ "location": "path",
+ "type": "string"
+ }
+ },
+ "description": "Gets the Logging CMEK settings for the given resource.Note: CMEK for the Log Router can be configured for Google Cloud projects, folders, organizations, and billing accounts. Once configured for an organization, it applies to all projects and folders in the Google Cloud organization.See Enabling CMEK for Log Router (https://cloud.google.com/logging/docs/routing/managed-encryption) for more information.",
+ "parameterOrder": [
+ "name"
+ ],
+ "path": "v2/{+name}/cmekSettings",
+ "httpMethod": "GET",
+ "flatPath": "v2/{v2Id}/{v2Id1}/cmekSettings",
+ "id": "logging.getCmekSettings",
+ "response": {
+ "$ref": "CmekSettings"
+ }
+ },
+ "getSettings": {
+ "id": "logging.getSettings",
+ "httpMethod": "GET",
+ "flatPath": "v2/{v2Id}/{v2Id1}/settings",
+ "description": "Gets the settings for the given resource.Note: Settings can be retrieved for Google Cloud projects, folders, organizations, and billing accounts.See View default resource settings for Logging (https://cloud.google.com/logging/docs/default-settings#view-org-settings) for more information.",
+ "parameterOrder": [
+ "name"
+ ],
+ "parameters": {
+ "name": {
+ "description": "Required. The resource for which to retrieve settings. \"projects/[PROJECT_ID]/settings\" \"organizations/[ORGANIZATION_ID]/settings\" \"billingAccounts/[BILLING_ACCOUNT_ID]/settings\" \"folders/[FOLDER_ID]/settings\" For example:\"organizations/12345/settings\"Note: Settings can be retrieved for Google Cloud projects, folders, organizations, and billing accounts.",
+ "type": "string",
+ "location": "path",
+ "pattern": "^[^/]+/[^/]+$",
+ "required": true
+ }
+ },
+ "response": {
+ "$ref": "Settings"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/cloud-platform.read-only",
+ "https://www.googleapis.com/auth/logging.admin",
+ "https://www.googleapis.com/auth/logging.read"
+ ],
+ "path": "v2/{+name}/settings"
+ },
+ "updateSettings": {
+ "flatPath": "v2/{v2Id}/{v2Id1}/settings",
+ "request": {
+ "$ref": "Settings"
+ },
+ "parameters": {
+ "name": {
+ "required": true,
+ "pattern": "^[^/]+/[^/]+$",
+ "description": "Required. The resource name for the settings to update. \"organizations/[ORGANIZATION_ID]/settings\" \"folders/[FOLDER_ID]/settings\" For example:\"organizations/12345/settings\"",
+ "location": "path",
+ "type": "string"
+ },
+ "updateMask": {
+ "description": "Optional. Field mask identifying which fields from settings should be updated. A field will be overwritten if and only if it is in the update mask. Output only fields cannot be updated.See FieldMask for more information.For example: \"updateMask=kmsKeyName\"",
+ "location": "query",
+ "format": "google-fieldmask",
+ "type": "string"
+ }
+ },
+ "httpMethod": "PATCH",
+ "id": "logging.updateSettings",
+ "response": {
+ "$ref": "Settings"
+ },
+ "description": "Updates the settings for the given resource. This method applies to all feature configurations for organization and folders.UpdateSettings fails when any of the following are true: The value of storage_location either isn't supported by Logging or violates the location OrgPolicy. The default_sink_config field is set, but it has an unspecified filter write mode. The value of kms_key_name is invalid. The associated service account doesn't have the required roles/cloudkms.cryptoKeyEncrypterDecrypter role assigned for the key. Access to the key is disabled.See Configure default settings for organizations and folders (https://cloud.google.com/logging/docs/default-settings) for more information.",
+ "path": "v2/{+name}/settings",
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/logging.admin"
+ ],
+ "parameterOrder": [
+ "name"
+ ]
+ },
+ "updateCmekSettings": {
+ "flatPath": "v2/{v2Id}/{v2Id1}/cmekSettings",
+ "response": {
+ "$ref": "CmekSettings"
+ },
+ "httpMethod": "PATCH",
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/logging.admin"
+ ],
+ "parameterOrder": [
+ "name"
+ ],
+ "request": {
+ "$ref": "CmekSettings"
+ },
+ "id": "logging.updateCmekSettings",
+ "parameters": {
+ "name": {
+ "pattern": "^[^/]+/[^/]+$",
+ "required": true,
+ "type": "string",
+ "location": "path",
+ "description": "Required. The resource name for the CMEK settings to update. \"projects/[PROJECT_ID]/cmekSettings\" \"organizations/[ORGANIZATION_ID]/cmekSettings\" \"billingAccounts/[BILLING_ACCOUNT_ID]/cmekSettings\" \"folders/[FOLDER_ID]/cmekSettings\" For example:\"organizations/12345/cmekSettings\"Note: CMEK for the Log Router can currently only be configured for Google Cloud organizations. Once configured, it applies to all projects and folders in the Google Cloud organization."
+ },
+ "updateMask": {
+ "description": "Optional. Field mask identifying which fields from cmek_settings should be updated. A field will be overwritten if and only if it is in the update mask. Output only fields cannot be updated.See FieldMask for more information.For example: \"updateMask=kmsKeyName\"",
+ "location": "query",
+ "type": "string",
+ "format": "google-fieldmask"
+ }
+ },
+ "description": "Updates the Log Router CMEK settings for the given resource.Note: CMEK for the Log Router can currently only be configured for Google Cloud organizations. Once configured, it applies to all projects and folders in the Google Cloud organization.UpdateCmekSettings fails when any of the following are true: The value of kms_key_name is invalid. The associated service account doesn't have the required roles/cloudkms.cryptoKeyEncrypterDecrypter role assigned for the key. Access to the key is disabled.See Enabling CMEK for Log Router (https://cloud.google.com/logging/docs/routing/managed-encryption) for more information.",
+ "path": "v2/{+name}/cmekSettings"
+ }
+ }
+ }
+ },
+ "kind": "discovery#restDescription",
+ "ownerDomain": "google.com",
+ "name": "logging",
+ "baseUrl": "https://logging.googleapis.com/",
+ "schemas": {
+ "WriteLogEntriesRequest": {
+ "properties": {
+ "logName": {
+ "description": "Optional. A default log resource name that is assigned to all log entries in entries that do not specify a value for log_name: projects/[PROJECT_ID]/logs/[LOG_ID] organizations/[ORGANIZATION_ID]/logs/[LOG_ID] billingAccounts/[BILLING_ACCOUNT_ID]/logs/[LOG_ID] folders/[FOLDER_ID]/logs/[LOG_ID][LOG_ID] must be URL-encoded. For example: \"projects/my-project-id/logs/syslog\" \"organizations/123/logs/cloudaudit.googleapis.com%2Factivity\" The permission logging.logEntries.create is needed on each project, organization, billing account, or folder that is receiving new log entries, whether the resource is specified in logName or in an individual log entry.",
+ "type": "string"
+ },
+ "partialSuccess": {
+ "description": "Optional. Whether a batch's valid entries should be written even if some other entry failed due to a permanent error such as INVALID_ARGUMENT or PERMISSION_DENIED. If any entry failed, then the response status is the response status of one of the failed entries. The response will include error details in WriteLogEntriesPartialErrors.log_entry_errors keyed by the entries' zero-based index in the entries. Failed requests for which no entries are written will not include per-entry errors.",
+ "type": "boolean"
+ },
+ "labels": {
+ "description": "Optional. Default labels that are added to the labels field of all log entries in entries. If a log entry already has a label with the same key as a label in this parameter, then the log entry's label is not changed. See LogEntry.",
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ }
+ },
+ "resource": {
+ "description": "Optional. A default monitored resource object that is assigned to all log entries in entries that do not specify a value for resource. Example: { \"type\": \"gce_instance\", \"labels\": { \"zone\": \"us-central1-a\", \"instance_id\": \"00000000000000000000\" }} See LogEntry.",
+ "$ref": "MonitoredResource"
+ },
+ "entries": {
+ "items": {
+ "$ref": "LogEntry"
+ },
+ "type": "array",
+ "description": "Required. The log entries to send to Logging. The order of log entries in this list does not matter. Values supplied in this method's log_name, resource, and labels fields are copied into those log entries in this list that do not include values for their corresponding fields. For more information, see the LogEntry type.If the timestamp or insert_id fields are missing in log entries, then this method supplies the current time or a unique identifier, respectively. The supplied values are chosen so that, among the log entries that did not supply their own values, the entries earlier in the list will sort before the entries later in the list. See the entries.list method.Log entries with timestamps that are more than the logs retention period (https://cloud.google.com/logging/quotas) in the past or more than 24 hours in the future will not be available when calling entries.list. However, those log entries can still be exported with LogSinks (https://cloud.google.com/logging/docs/api/tasks/exporting-logs).To improve throughput and to avoid exceeding the quota limit (https://cloud.google.com/logging/quotas) for calls to entries.write, you should try to include several log entries in this list, rather than calling this method for each individual log entry."
+ },
+ "dryRun": {
+ "type": "boolean",
+ "description": "Optional. If true, the request should expect normal response, but the entries won't be persisted nor exported. Useful for checking whether the logging API endpoints are working properly before sending valuable data."
+ }
+ },
+ "description": "The parameters to WriteLogEntries.",
+ "id": "WriteLogEntriesRequest",
+ "type": "object"
+ },
+ "ListLinksResponse": {
+ "id": "ListLinksResponse",
+ "properties": {
+ "nextPageToken": {
+ "description": "If there might be more results than those appearing in this response, then nextPageToken is included. To get the next set of results, call the same method again using the value of nextPageToken as pageToken.",
+ "type": "string"
+ },
+ "links": {
+ "type": "array",
+ "description": "A list of links.",
+ "items": {
+ "$ref": "Link"
+ }
+ }
+ },
+ "description": "The response from ListLinks.",
+ "type": "object"
+ },
+ "ListSavedQueriesResponse": {
+ "properties": {
+ "nextPageToken": {
+ "description": "If there might be more results than appear in this response, then nextPageToken is included. To get the next set of results, call the same method again using the value of nextPageToken as pageToken.",
+ "type": "string"
+ },
+ "savedQueries": {
+ "description": "A list of saved queries.",
+ "type": "array",
+ "items": {
+ "$ref": "SavedQuery"
+ }
+ },
+ "unreachable": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "The unreachable resources. It can be either 1) a saved query if a specific query is unreachable or 2) a location if a specific location is unreachabe. \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/savedQueries/[QUERY_ID]\" \"projects/[PROJECT_ID]/locations/[LOCATION_ID]\" For example: \"projects/my-project/locations/global/savedQueries/12345678\" \"projects/my-project/locations/global\" If there are unreachable resources, the response will first return pages that contain saved queries, and then return pages that contain the unreachable resources."
+ }
+ },
+ "description": "The response from ListSavedQueries.",
+ "id": "ListSavedQueriesResponse",
+ "type": "object"
+ },
+ "LogEntrySourceLocation": {
+ "id": "LogEntrySourceLocation",
+ "type": "object",
+ "description": "Additional information about the source code location that produced the log entry.",
+ "properties": {
+ "function": {
+ "type": "string",
+ "description": "Optional. Human-readable name of the function or method being invoked, with optional context such as the class or package name. This information may be used in contexts such as the logs viewer, where a file and line number are less meaningful. The format can vary by language. For example: qual.if.ied.Class.method (Java), dir/package.func (Go), function (Python)."
+ },
+ "file": {
+ "description": "Optional. Source file name. Depending on the runtime environment, this might be a simple name or a fully-qualified name.",
+ "type": "string"
+ },
+ "line": {
+ "type": "string",
+ "description": "Optional. Line within the source file. 1-based; 0 indicates no line number available.",
+ "format": "int64"
+ }
+ }
+ },
+ "LogErrorGroup": {
+ "description": "Contains metadata that associates the LogEntry to Error Reporting error groups.",
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "The id is a unique identifier for a particular error group; it is the last part of the error group resource name: /project/[PROJECT_ID]/errors/[ERROR_GROUP_ID]. Example: COShysOX0r_51QE. The id is derived from key parts of the error-log content and is treated as Service Data. For information about how Service Data is handled, see Google Cloud Privacy Notice (https://cloud.google.com/terms/cloud-privacy-notice)."
+ }
+ },
+ "id": "LogErrorGroup"
+ },
+ "Status": {
+ "id": "Status",
+ "description": "The Status type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by gRPC (https://github.com/grpc). Each Status message contains three pieces of data: error code, error message, and error details.You can find out more about this error model and how to work with it in the API Design Guide (https://cloud.google.com/apis/design/errors).",
+ "properties": {
+ "code": {
+ "description": "The status code, which should be an enum value of google.rpc.Code.",
+ "type": "integer",
+ "format": "int32"
+ },
+ "details": {
+ "items": {
+ "type": "object",
+ "additionalProperties": {
+ "type": "any",
+ "description": "Properties of the object. Contains field @type with type URL."
+ }
+ },
+ "description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.",
+ "type": "array"
+ },
+ "message": {
+ "description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "LabelDescriptor": {
+ "description": "A description of a label.",
+ "type": "object",
+ "properties": {
+ "key": {
+ "description": "The label key.",
+ "type": "string"
+ },
+ "valueType": {
+ "enumDescriptions": [
+ "A variable-length string. This is the default.",
+ "Boolean; true or false.",
+ "A 64-bit signed integer."
+ ],
+ "type": "string",
+ "description": "The type of data that can be assigned to the label.",
+ "enum": [
+ "STRING",
+ "BOOL",
+ "INT64"
+ ]
+ },
+ "description": {
+ "description": "A human-readable description for the label.",
+ "type": "string"
+ }
+ },
+ "id": "LabelDescriptor"
+ },
+ "LogLine": {
+ "id": "LogLine",
+ "properties": {
+ "time": {
+ "format": "google-datetime",
+ "type": "string",
+ "description": "Approximate time when this log entry was made."
+ },
+ "severity": {
+ "type": "string",
+ "enumDescriptions": [
+ "(0) The log entry has no assigned severity level.",
+ "(100) Debug or trace information.",
+ "(200) Routine information, such as ongoing status or performance.",
+ "(300) Normal but significant events, such as start up, shut down, or a configuration change.",
+ "(400) Warning events might cause problems.",
+ "(500) Error events are likely to cause problems.",
+ "(600) Critical events cause more severe problems or outages.",
+ "(700) A person must take an action immediately.",
+ "(800) One or more systems are unusable."
+ ],
+ "enum": [
+ "DEFAULT",
+ "DEBUG",
+ "INFO",
+ "NOTICE",
+ "WARNING",
+ "ERROR",
+ "CRITICAL",
+ "ALERT",
+ "EMERGENCY"
+ ],
+ "description": "Severity of this log entry."
+ },
+ "sourceLocation": {
+ "description": "Where in the source code this log message was written.",
+ "$ref": "SourceLocation"
+ },
+ "logMessage": {
+ "type": "string",
+ "description": "App-provided log message."
+ }
+ },
+ "description": "Application log line emitted while processing a request.",
+ "type": "object"
+ },
+ "Empty": {
+ "description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } ",
+ "properties": {},
+ "id": "Empty",
+ "type": "object"
+ },
+ "DefaultSinkConfig": {
+ "id": "DefaultSinkConfig",
+ "properties": {
+ "exclusions": {
+ "description": "Optional. Specifies the set of exclusions to be added to the _Default sink in newly created resource containers.",
+ "type": "array",
+ "items": {
+ "$ref": "LogExclusion"
+ }
+ },
+ "mode": {
+ "enum": [
+ "FILTER_WRITE_MODE_UNSPECIFIED",
+ "APPEND",
+ "OVERWRITE"
+ ],
+ "type": "string",
+ "enumDescriptions": [
+ "The filter's write mode is unspecified. This mode must not be used.",
+ "The contents of filter will be appended to the built-in _Default sink filter. Using the append mode with an empty filter will keep the sink inclusion filter unchanged.",
+ "The contents of filter will overwrite the built-in _Default sink filter."
+ ],
+ "description": "Required. Determines the behavior to apply to the built-in _Default sink inclusion filter.Exclusions are always appended, as built-in _Default sinks have no exclusions."
+ },
+ "filter": {
+ "description": "Optional. An advanced logs filter (https://cloud.google.com/logging/docs/view/advanced-queries). The only exported log entries are those that are in the resource owning the sink and that match the filter.For example:logName=\"projects/[PROJECT_ID]/logs/[LOG_ID]\" AND severity\u003e=ERRORTo match all logs, don't add exclusions and use the following line as the value of filter:logName:*Cannot be empty or unset when the value of mode is OVERWRITE.",
+ "type": "string"
+ }
+ },
+ "type": "object",
+ "description": "Describes the custom _Default sink configuration that is used to override the built-in _Default sink configuration in newly created resource containers, such as projects or folders."
+ },
+ "TailLogEntriesResponse": {
+ "properties": {
+ "entries": {
+ "type": "array",
+ "description": "A list of log entries. Each response in the stream will order entries with increasing values of LogEntry.timestamp. Ordering is not guaranteed between separate responses.",
+ "items": {
+ "$ref": "LogEntry"
+ }
+ },
+ "suppressionInfo": {
+ "type": "array",
+ "description": "If entries that otherwise would have been included in the session were not sent back to the client, counts of relevant entries omitted from the session with the reason that they were not included. There will be at most one of each reason per response. The counts represent the number of suppressed entries since the last streamed response.",
+ "items": {
+ "$ref": "SuppressionInfo"
+ }
+ }
+ },
+ "description": "Result returned from TailLogEntries.",
+ "type": "object",
+ "id": "TailLogEntriesResponse"
+ },
+ "MetricDescriptor": {
+ "description": "Defines a metric type and its schema. Once a metric descriptor is created, deleting or altering it stops data collection and makes the metric type's existing data unusable.",
+ "type": "object",
+ "id": "MetricDescriptor",
+ "properties": {
+ "labels": {
+ "description": "The set of labels that can be used to describe a specific instance of this metric type. For example, the appengine.googleapis.com/http/server/response_latencies metric type has a label for the HTTP response code, response_code, so you can look at latencies for successful responses or just for responses that failed.",
+ "items": {
+ "$ref": "LabelDescriptor"
+ },
+ "type": "array"
+ },
+ "description": {
+ "description": "A detailed description of the metric, which can be used in documentation.",
+ "type": "string"
+ },
+ "monitoredResourceTypes": {
+ "items": {
+ "type": "string"
+ },
+ "description": "Read-only. If present, then a time series, which is identified partially by a metric type and a MonitoredResourceDescriptor, that is associated with this metric type can only be associated with one of the monitored resource types listed here.",
+ "type": "array"
+ },
+ "valueType": {
+ "enum": [
+ "VALUE_TYPE_UNSPECIFIED",
+ "BOOL",
+ "INT64",
+ "DOUBLE",
+ "STRING",
+ "DISTRIBUTION",
+ "MONEY"
+ ],
+ "enumDescriptions": [
+ "Do not use this default value.",
+ "The value is a boolean. This value type can be used only if the metric kind is GAUGE.",
+ "The value is a signed 64-bit integer.",
+ "The value is a double precision floating point number.",
+ "The value is a text string. This value type can be used only if the metric kind is GAUGE.",
+ "The value is a Distribution.",
+ "The value is money."
+ ],
+ "description": "Whether the measurement is an integer, a floating-point number, etc. Some combinations of metric_kind and value_type might not be supported.",
+ "type": "string"
+ },
+ "metricKind": {
+ "enum": [
+ "METRIC_KIND_UNSPECIFIED",
+ "GAUGE",
+ "DELTA",
+ "CUMULATIVE"
+ ],
+ "type": "string",
+ "enumDescriptions": [
+ "Do not use this default value.",
+ "An instantaneous measurement of a value.",
+ "The change in a value during a time interval.",
+ "A value accumulated over a time interval. Cumulative measurements in a time series should have the same start time and increasing end times, until an event resets the cumulative value to zero and sets a new start time for the following points."
+ ],
+ "description": "Whether the metric records instantaneous values, changes to a value, etc. Some combinations of metric_kind and value_type might not be supported."
+ },
+ "name": {
+ "description": "The resource name of the metric descriptor.",
+ "type": "string"
+ },
+ "displayName": {
+ "description": "A concise name for the metric, which can be displayed in user interfaces. Use sentence case without an ending period, for example \"Request count\". This field is optional but it is recommended to be set for any metrics associated with user-visible concepts, such as Quota.",
+ "type": "string"
+ },
+ "launchStage": {
+ "description": "Optional. The launch stage of the metric definition.",
+ "enumDescriptions": [
+ "Do not use this default value.",
+ "The feature is not yet implemented. Users can not use it.",
+ "Prelaunch features are hidden from users and are only visible internally.",
+ "Early Access features are limited to a closed group of testers. To use these features, you must sign up in advance and sign a Trusted Tester agreement (which includes confidentiality provisions). These features may be unstable, changed in backward-incompatible ways, and are not guaranteed to be released.",
+ "Alpha is a limited availability test for releases before they are cleared for widespread use. By Alpha, all significant design issues are resolved and we are in the process of verifying functionality. Alpha customers need to apply for access, agree to applicable terms, and have their projects allowlisted. Alpha releases don't have to be feature complete, no SLAs are provided, and there are no technical support obligations, but they will be far enough along that customers can actually use them in test environments or for limited-use tests -- just like they would in normal production cases.",
+ "Beta is the point at which we are ready to open a release for any customer to use. There are no SLA or technical support obligations in a Beta release. Products will be complete from a feature perspective, but may have some open outstanding issues. Beta releases are suitable for limited production use cases.",
+ "GA features are open to all developers and are considered stable and fully qualified for production use.",
+ "Deprecated features are scheduled to be shut down and removed. For more information, see the \"Deprecation Policy\" section of our Terms of Service (https://cloud.google.com/terms/) and the Google Cloud Platform Subject to the Deprecation Policy (https://cloud.google.com/terms/deprecation) documentation."
+ ],
+ "enum": [
+ "LAUNCH_STAGE_UNSPECIFIED",
+ "UNIMPLEMENTED",
+ "PRELAUNCH",
+ "EARLY_ACCESS",
+ "ALPHA",
+ "BETA",
+ "GA",
+ "DEPRECATED"
+ ],
+ "type": "string"
+ },
+ "metadata": {
+ "$ref": "MetricDescriptorMetadata",
+ "description": "Optional. Metadata which can be used to guide usage of the metric."
+ },
+ "type": {
+ "type": "string",
+ "description": "The metric type, including its DNS name prefix. The type is not URL-encoded. All user-defined metric types have the DNS name custom.googleapis.com or external.googleapis.com. Metric types should use a natural hierarchical grouping. For example: \"custom.googleapis.com/invoice/paid/amount\" \"external.googleapis.com/prometheus/up\" \"appengine.googleapis.com/http/server/response_latencies\" "
+ },
+ "unit": {
+ "description": "The units in which the metric value is reported. It is only applicable if the value_type is INT64, DOUBLE, or DISTRIBUTION. The unit defines the representation of the stored metric values.Different systems might scale the values to be more easily displayed (so a value of 0.02kBy might be displayed as 20By, and a value of 3523kBy might be displayed as 3.5MBy). However, if the unit is kBy, then the value of the metric is always in thousands of bytes, no matter how it might be displayed.If you want a custom metric to record the exact number of CPU-seconds used by a job, you can create an INT64 CUMULATIVE metric whose unit is s{CPU} (or equivalently 1s{CPU} or just s). If the job uses 12,005 CPU-seconds, then the value is written as 12005.Alternatively, if you want a custom metric to record data in a more granular way, you can create a DOUBLE CUMULATIVE metric whose unit is ks{CPU}, and then write the value 12.005 (which is 12005/1000), or use Kis{CPU} and write 11.723 (which is 12005/1024).The supported units are a subset of The Unified Code for Units of Measure (https://unitsofmeasure.org/ucum.html) standard:Basic units (UNIT) bit bit By byte s second min minute h hour d day 1 dimensionlessPrefixes (PREFIX) k kilo (10^3) M mega (10^6) G giga (10^9) T tera (10^12) P peta (10^15) E exa (10^18) Z zetta (10^21) Y yotta (10^24) m milli (10^-3) u micro (10^-6) n nano (10^-9) p pico (10^-12) f femto (10^-15) a atto (10^-18) z zepto (10^-21) y yocto (10^-24) Ki kibi (2^10) Mi mebi (2^20) Gi gibi (2^30) Ti tebi (2^40) Pi pebi (2^50)GrammarThe grammar also includes these connectors: / division or ratio (as an infix operator). For examples, kBy/{email} or MiBy/10ms (although you should almost never have /s in a metric unit; rates should always be computed at query time from the underlying cumulative or delta value). . multiplication or composition (as an infix operator). For examples, GBy.d or k{watt}.h.The grammar for a unit is as follows: Expression = Component { \".\" Component } { \"/\" Component } ; Component = ( [ PREFIX ] UNIT | \"%\" ) [ Annotation ] | Annotation | \"1\" ; Annotation = \"{\" NAME \"}\" ; Notes: Annotation is just a comment if it follows a UNIT. If the annotation is used alone, then the unit is equivalent to 1. For examples, {request}/s == 1/s, By{transmitted}/s == By/s. NAME is a sequence of non-blank printable ASCII characters not containing { or }. 1 represents a unitary dimensionless unit (https://en.wikipedia.org/wiki/Dimensionless_quantity) of 1, such as in 1/s. It is typically used when none of the basic units are appropriate. For example, \"new users per day\" can be represented as 1/d or {new-users}/d (and a metric value 5 would mean \"5 new users). Alternatively, \"thousands of page views per day\" would be represented as 1000/d or k1/d or k{page_views}/d (and a metric value of 5.3 would mean \"5300 page views per day\"). % represents dimensionless value of 1/100, and annotates values giving a percentage (so the metric values are typically in the range of 0..100, and a metric value 3 means \"3 percent\"). 10^2.% indicates a metric contains a ratio, typically in the range 0..1, that will be multiplied by 100 and displayed as a percentage (so a metric value 0.03 means \"3 percent\").",
+ "type": "string"
+ }
+ }
+ },
+ "ListRecentQueriesResponse": {
+ "properties": {
+ "unreachable": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "The unreachable resources. Each resource can be either 1) a saved query if a specific query is unreachable or 2) a location if a specific location is unreachable. \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/recentQueries/[QUERY_ID]\" \"projects/[PROJECT_ID]/locations/[LOCATION_ID]\" For example:\"projects/my-project/locations/global/recentQueries/12345678\" \"projects/my-project/locations/global\"If there are unreachable resources, the response will first return pages that contain recent queries, and then return pages that contain the unreachable resources."
+ },
+ "nextPageToken": {
+ "type": "string",
+ "description": "If there might be more results than appear in this response, then nextPageToken is included. To get the next set of results, call the same method again using the value of nextPageToken as pageToken."
+ },
+ "recentQueries": {
+ "description": "A list of recent queries.",
+ "type": "array",
+ "items": {
+ "$ref": "RecentQuery"
+ }
+ }
+ },
+ "description": "The response from ListRecentQueries.",
+ "type": "object",
+ "id": "ListRecentQueriesResponse"
+ },
+ "AppHubApplication": {
+ "type": "object",
+ "description": "Resource identifiers associated with an AppHub application AppHub resources are of the form projects//locations//applications/ projects//locations//applications//services/ projects//locations//applications//workloads/ These resources can be reconstructed from the components below.",
+ "id": "AppHubApplication",
+ "properties": {
+ "location": {
+ "description": "Location associated with the Application. Example: \"us-east1\"",
+ "type": "string"
+ },
+ "id": {
+ "description": "Application Id. Example: \"my-app\"",
+ "type": "string"
+ },
+ "container": {
+ "type": "string",
+ "description": "Resource container that owns the application. Example: \"projects/management_project\""
+ }
+ }
+ },
+ "ListOperationsResponse": {
+ "type": "object",
+ "description": "The response message for Operations.ListOperations.",
+ "properties": {
+ "operations": {
+ "type": "array",
+ "items": {
+ "$ref": "Operation"
+ },
+ "description": "A list of operations that matches the specified filter in the request."
+ },
+ "nextPageToken": {
+ "description": "The standard List next-page token.",
+ "type": "string"
+ },
+ "unreachable": {
+ "items": {
+ "type": "string"
+ },
+ "description": "Unordered list. Unreachable resources. Populated when the request sets ListOperationsRequest.return_partial_success and reads across collections. For example, when attempting to list all resources across all supported locations.",
+ "type": "array"
+ }
+ },
+ "id": "ListOperationsResponse"
+ },
+ "Policy": {
+ "description": "An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources.A Policy is a collection of bindings. A binding binds one or more members, or principals, to a single role. Principals can be user accounts, service accounts, Google groups, and domains (such as G Suite). A role is a named list of permissions; each role can be an IAM predefined role or a user-created custom role.For some types of Google Cloud resources, a binding can also specify a condition, which is a logical expression that allows access to a resource only if the expression evaluates to true. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the IAM documentation (https://cloud.google.com/iam/help/conditions/resource-policies).JSON example: { \"bindings\": [ { \"role\": \"roles/resourcemanager.organizationAdmin\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-project-id@appspot.gserviceaccount.com\" ] }, { \"role\": \"roles/resourcemanager.organizationViewer\", \"members\": [ \"user:eve@example.com\" ], \"condition\": { \"title\": \"expirable access\", \"description\": \"Does not grant access after Sep 2020\", \"expression\": \"request.time \u003c timestamp('2020-10-01T00:00:00.000Z')\", } } ], \"etag\": \"BwWWja0YfJA=\", \"version\": 3 } YAML example: bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time \u003c timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For a description of IAM and its features, see the IAM documentation (https://cloud.google.com/iam/docs/).",
+ "type": "object",
+ "id": "Policy",
+ "properties": {
+ "etag": {
+ "type": "string",
+ "description": "etag is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the etag in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An etag is returned in the response to getIamPolicy, and systems are expected to put that etag in the request to setIamPolicy to ensure that their change will be applied to the same version of the policy.Important: If you use IAM Conditions, you must include the etag field whenever you call setIamPolicy. If you omit this field, then IAM allows you to overwrite a version 3 policy with a version 1 policy, and all of the conditions in the version 3 policy are lost.",
+ "format": "byte"
+ },
+ "version": {
+ "type": "integer",
+ "description": "Specifies the format of the policy.Valid values are 0, 1, and 3. Requests that specify an invalid value are rejected.Any operation that affects conditional role bindings must specify version 3. This requirement applies to the following operations: Getting a policy that includes a conditional role binding Adding a conditional role binding to a policy Changing a conditional role binding in a policy Removing any role binding, with or without a condition, from a policy that includes conditionsImportant: If you use IAM Conditions, you must include the etag field whenever you call setIamPolicy. If you omit this field, then IAM allows you to overwrite a version 3 policy with a version 1 policy, and all of the conditions in the version 3 policy are lost.If a policy does not include any conditions, operations on that policy may specify any valid version or leave the field unset.To learn which resources support conditions in their IAM policies, see the IAM documentation (https://cloud.google.com/iam/help/conditions/resource-policies).",
+ "format": "int32"
+ },
+ "bindings": {
+ "type": "array",
+ "items": {
+ "$ref": "Binding"
+ },
+ "description": "Associates a list of members, or principals, with a role. Optionally, may specify a condition that determines how and when the bindings are applied. Each of the bindings must contain at least one principal.The bindings in a Policy can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the bindings grant 50 different roles to user:alice@example.com, and not to any other principal, then you can add another 1,450 principals to the bindings in the Policy."
+ }
+ }
+ },
+ "Settings": {
+ "description": "Describes the settings associated with a project, folder, organization, or billing account.",
+ "properties": {
+ "kmsServiceAccountId": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Output only. The service account that will be used by the Log Router to access your Cloud KMS key.Before enabling CMEK, you must first assign the role roles/cloudkms.cryptoKeyEncrypterDecrypter to the service account that will be used to access your Cloud KMS key. Use GetSettings to obtain the service account ID.See Enabling CMEK for Log Router (https://cloud.google.com/logging/docs/routing/managed-encryption) for more information."
+ },
+ "kmsKeyName": {
+ "type": "string",
+ "description": "Optional. The resource name for the configured Cloud KMS key.KMS key name format: \"projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/cryptoKeys/[KEY]\" For example:\"projects/my-project/locations/us-central1/keyRings/my-ring/cryptoKeys/my-key\"To enable CMEK, set this field to a valid kms_key_name for which the associated service account has the required roles/cloudkms.cryptoKeyEncrypterDecrypter role assigned for the key.The Cloud KMS key used by the Log Router can be updated by changing the kms_key_name to a new valid key name.To disable CMEK for the Log Router, set this field to an empty string.See Enabling CMEK for Log Router (https://cloud.google.com/logging/docs/routing/managed-encryption) for more information."
+ },
+ "defaultSinkConfig": {
+ "description": "Optional. Overrides the built-in configuration for _Default sink.",
+ "$ref": "DefaultSinkConfig"
+ },
+ "storageLocation": {
+ "description": "Optional. The storage location for the _Default and _Required log buckets of newly created projects and folders, unless the storage location is explicitly provided.Example value: europe-west1.Note: this setting does not affect the location of resources where a location is explicitly provided when created, such as custom log buckets.",
+ "type": "string"
+ },
+ "loggingServiceAccountId": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Output only. The service account for the given resource container, such as project or folder. Log sinks use this service account as their writer_identity if no custom service account is provided in the request when calling the create sink method."
+ },
+ "name": {
+ "type": "string",
+ "description": "Output only. The resource name of the settings.",
+ "readOnly": true
+ },
+ "disableDefaultSink": {
+ "type": "boolean",
+ "description": "Optional. If set to true, the _Default sink in newly created projects and folders will created in a disabled state. This can be used to automatically disable log storage if there is already an aggregated sink configured in the hierarchy. The _Default sink can be re-enabled manually if needed."
+ }
+ },
+ "id": "Settings",
+ "type": "object"
+ },
+ "OpsAnalyticsQuery": {
+ "properties": {
+ "sqlQueryText": {
+ "description": "Required. A logs analytics SQL query, which generally follows BigQuery format.This is the SQL query that appears in the Log Analytics UI's query editor.",
+ "type": "string"
+ }
+ },
+ "id": "OpsAnalyticsQuery",
+ "type": "object",
+ "description": "Describes an analytics query that can be run in the Log Analytics page of Google Cloud console.Preview: This is a preview feature and may be subject to change before final release."
+ },
+ "BucketOptions": {
+ "id": "BucketOptions",
+ "description": "BucketOptions describes the bucket boundaries used to create a histogram for the distribution. The buckets can be in a linear sequence, an exponential sequence, or each bucket can be specified explicitly. BucketOptions does not include the number of values in each bucket.A bucket has an inclusive lower bound and exclusive upper bound for the values that are counted for that bucket. The upper bound of a bucket must be strictly greater than the lower bound. The sequence of N buckets for a distribution consists of an underflow bucket (number 0), zero or more finite buckets (number 1 through N - 2) and an overflow bucket (number N - 1). The buckets are contiguous: the lower bound of bucket i (i \u003e 0) is the same as the upper bound of bucket i - 1. The buckets span the whole range of finite values: lower bound of the underflow bucket is -infinity and the upper bound of the overflow bucket is +infinity. The finite buckets are so-called because both bounds are finite.",
+ "properties": {
+ "linearBuckets": {
+ "$ref": "Linear",
+ "description": "The linear bucket."
+ },
+ "explicitBuckets": {
+ "description": "The explicit buckets.",
+ "$ref": "Explicit"
+ },
+ "exponentialBuckets": {
+ "description": "The exponential buckets.",
+ "$ref": "Exponential"
+ }
+ },
+ "type": "object"
+ },
+ "ListLogsResponse": {
+ "id": "ListLogsResponse",
+ "type": "object",
+ "properties": {
+ "logNames": {
+ "type": "array",
+ "description": "A list of log names. For example, \"projects/my-project/logs/syslog\" or \"organizations/123/logs/cloudresourcemanager.googleapis.com%2Factivity\".",
+ "items": {
+ "type": "string"
+ }
+ },
+ "nextPageToken": {
+ "type": "string",
+ "description": "If there might be more results than those appearing in this response, then nextPageToken is included. To get the next set of results, call this method again using the value of nextPageToken as pageToken."
+ }
+ },
+ "description": "Result returned from ListLogs."
+ },
+ "MonitoredResourceDescriptor": {
+ "type": "object",
+ "description": "An object that describes the schema of a MonitoredResource object using a type name and a set of labels. For example, the monitored resource descriptor for Google Compute Engine VM instances has a type of \"gce_instance\" and specifies the use of the labels \"instance_id\" and \"zone\" to identify particular VM instances.Different APIs can support different monitored resource types. APIs generally provide a list method that returns the monitored resource descriptors used by the API.",
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "Optional. The resource name of the monitored resource descriptor: \"projects/{project_id}/monitoredResourceDescriptors/{type}\" where {type} is the value of the type field in this object and {project_id} is a project ID that provides API-specific context for accessing the type. APIs that do not use project information can use the resource name format \"monitoredResourceDescriptors/{type}\"."
+ },
+ "type": {
+ "description": "Required. The monitored resource type. For example, the type \"cloudsql_database\" represents databases in Google Cloud SQL. For a list of types, see Monitored resource types (https://cloud.google.com/monitoring/api/resources) and Logging resource types (https://cloud.google.com/logging/docs/api/v2/resource-list).",
+ "type": "string"
+ },
+ "description": {
+ "type": "string",
+ "description": "Optional. A detailed description of the monitored resource type that might be used in documentation."
+ },
+ "launchStage": {
+ "enum": [
+ "LAUNCH_STAGE_UNSPECIFIED",
+ "UNIMPLEMENTED",
+ "PRELAUNCH",
+ "EARLY_ACCESS",
+ "ALPHA",
+ "BETA",
+ "GA",
+ "DEPRECATED"
+ ],
+ "type": "string",
+ "enumDescriptions": [
+ "Do not use this default value.",
+ "The feature is not yet implemented. Users can not use it.",
+ "Prelaunch features are hidden from users and are only visible internally.",
+ "Early Access features are limited to a closed group of testers. To use these features, you must sign up in advance and sign a Trusted Tester agreement (which includes confidentiality provisions). These features may be unstable, changed in backward-incompatible ways, and are not guaranteed to be released.",
+ "Alpha is a limited availability test for releases before they are cleared for widespread use. By Alpha, all significant design issues are resolved and we are in the process of verifying functionality. Alpha customers need to apply for access, agree to applicable terms, and have their projects allowlisted. Alpha releases don't have to be feature complete, no SLAs are provided, and there are no technical support obligations, but they will be far enough along that customers can actually use them in test environments or for limited-use tests -- just like they would in normal production cases.",
+ "Beta is the point at which we are ready to open a release for any customer to use. There are no SLA or technical support obligations in a Beta release. Products will be complete from a feature perspective, but may have some open outstanding issues. Beta releases are suitable for limited production use cases.",
+ "GA features are open to all developers and are considered stable and fully qualified for production use.",
+ "Deprecated features are scheduled to be shut down and removed. For more information, see the \"Deprecation Policy\" section of our Terms of Service (https://cloud.google.com/terms/) and the Google Cloud Platform Subject to the Deprecation Policy (https://cloud.google.com/terms/deprecation) documentation."
+ ],
+ "description": "Optional. The launch stage of the monitored resource definition."
+ },
+ "displayName": {
+ "type": "string",
+ "description": "Optional. A concise name for the monitored resource type that might be displayed in user interfaces. It should be a Title Cased Noun Phrase, without any article or other determiners. For example, \"Google Cloud SQL Database\"."
+ },
+ "labels": {
+ "type": "array",
+ "description": "Required. A set of labels used to describe instances of this monitored resource type. For example, an individual Google Cloud SQL database is identified by values for the labels \"database_id\" and \"zone\".",
+ "items": {
+ "$ref": "LabelDescriptor"
+ }
+ }
+ },
+ "id": "MonitoredResourceDescriptor"
+ },
+ "BigQueryDataset": {
+ "id": "BigQueryDataset",
+ "type": "object",
+ "properties": {
+ "datasetId": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Output only. The full resource name of the BigQuery dataset. The DATASET_ID will match the ID of the link, so the link must match the naming restrictions of BigQuery datasets (alphanumeric characters and underscores only).The dataset will have a resource path of \"bigquery.googleapis.com/projects/PROJECT_ID/datasets/DATASET_ID\""
+ }
+ },
+ "description": "Describes a BigQuery dataset that was created by a link."
+ },
+ "LogMetric": {
+ "properties": {
+ "bucketOptions": {
+ "$ref": "BucketOptions",
+ "description": "Optional. The bucket_options are required when the logs-based metric is using a DISTRIBUTION value type and it describes the bucket boundaries used to create a histogram of the extracted values."
+ },
+ "labelExtractors": {
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "Optional. A map from a label key string to an extractor expression which is used to extract data from a log entry field and assign as the label value. Each label key specified in the LabelDescriptor must have an associated extractor expression in this map. The syntax of the extractor expression is the same as for the value_extractor field.The extracted value is converted to the type defined in the label descriptor. If either the extraction or the type conversion fails, the label will have a default value. The default value for a string label is an empty string, for an integer label its 0, and for a boolean label its false.Note that there are upper bounds on the maximum number of labels and the number of active time series that are allowed in a project."
+ },
+ "bucketName": {
+ "type": "string",
+ "description": "Optional. The resource name of the Log Bucket that owns the Log Metric. Only Log Buckets in projects are supported. The bucket has to be in the same project as the metric.For example:projects/my-project/locations/global/buckets/my-bucketIf empty, then the Log Metric is considered a non-Bucket Log Metric."
+ },
+ "filter": {
+ "type": "string",
+ "description": "Required. An advanced logs filter (https://cloud.google.com/logging/docs/view/advanced_filters) which is used to match log entries. Example: \"resource.type=gae_app AND severity\u003e=ERROR\" The maximum length of the filter is 20000 characters."
+ },
+ "disabled": {
+ "type": "boolean",
+ "description": "Optional. If set to True, then this metric is disabled and it does not generate any points."
+ },
+ "version": {
+ "type": "string",
+ "deprecated": true,
+ "enumDescriptions": [
+ "Logging API v2.",
+ "Logging API v1."
+ ],
+ "enum": [
+ "V2",
+ "V1"
+ ],
+ "description": "Deprecated. The API version that created or updated this metric. The v2 format is used by default and cannot be changed."
+ },
+ "valueExtractor": {
+ "type": "string",
+ "description": "Optional. A value_extractor is required when using a distribution logs-based metric to extract the values to record from a log entry. Two functions are supported for value extraction: EXTRACT(field) or REGEXP_EXTRACT(field, regex). The arguments are: field: The name of the log entry field from which the value is to be extracted. regex: A regular expression using the Google RE2 syntax (https://github.com/google/re2/wiki/Syntax) with a single capture group to extract data from the specified log entry field. The value of the field is converted to a string before applying the regex. It is an error to specify a regex that does not include exactly one capture group.The result of the extraction must be convertible to a double type, as the distribution always records double values. If either the extraction or the conversion to double fails, then those values are not recorded in the distribution.Example: REGEXP_EXTRACT(jsonPayload.request, \".*quantity=(\\d+).*\")"
+ },
+ "metricDescriptor": {
+ "$ref": "MetricDescriptor",
+ "description": "Optional. The metric descriptor associated with the logs-based metric. If unspecified, it uses a default metric descriptor with a DELTA metric kind, INT64 value type, with no labels and a unit of \"1\". Such a metric counts the number of log entries matching the filter expression.The name, type, and description fields in the metric_descriptor are output only, and is constructed using the name and description field in the LogMetric.To create a logs-based metric that records a distribution of log values, a DELTA metric kind with a DISTRIBUTION value type must be used along with a value_extractor expression in the LogMetric.Each label in the metric descriptor must have a matching label name as the key and an extractor expression as the value in the label_extractors map.The metric_kind and value_type fields in the metric_descriptor cannot be updated once initially configured. New labels can be added in the metric_descriptor, but existing labels cannot be modified except for their description."
+ },
+ "description": {
+ "type": "string",
+ "description": "Optional. A description of this metric, which is used in documentation. The maximum length of the description is 8000 characters."
+ },
+ "updateTime": {
+ "description": "Output only. The last update timestamp of the metric.This field may not be present for older metrics.",
+ "readOnly": true,
+ "type": "string",
+ "format": "google-datetime"
+ },
+ "createTime": {
+ "description": "Output only. The creation timestamp of the metric.This field may not be present for older metrics.",
+ "readOnly": true,
+ "type": "string",
+ "format": "google-datetime"
+ },
+ "resourceName": {
+ "type": "string",
+ "description": "Output only. The resource name of the metric: \"projects/[PROJECT_ID]/metrics/[METRIC_ID]\" ",
+ "readOnly": true
+ },
+ "name": {
+ "description": "Required. The client-assigned metric identifier. Examples: \"error_count\", \"nginx/requests\".Metric identifiers are limited to 100 characters and can include only the following characters: A-Z, a-z, 0-9, and the special characters _-.,+!*',()%/. The forward-slash character (/) denotes a hierarchy of name pieces, and it cannot be the first character of the name.This field is the [METRIC_ID] part of a metric resource name in the format \"projects/PROJECT_ID/metrics/METRIC_ID\". Example: If the resource name of a metric is \"projects/my-project/metrics/nginx%2Frequests\", this field's value is \"nginx/requests\".",
+ "type": "string"
+ }
+ },
+ "type": "object",
+ "description": "Describes a logs-based metric. The value of the metric is the number of log entries that match a logs filter in a given time interval.Logs-based metrics can also be used to extract values from logs and create a distribution of the values. The distribution records the statistics of the extracted values along with an optional histogram of the values as specified by the bucket options.",
+ "id": "LogMetric"
+ },
+ "ListMonitoredResourceDescriptorsResponse": {
+ "id": "ListMonitoredResourceDescriptorsResponse",
+ "properties": {
+ "resourceDescriptors": {
+ "description": "A list of resource descriptors.",
+ "items": {
+ "$ref": "MonitoredResourceDescriptor"
+ },
+ "type": "array"
+ },
+ "nextPageToken": {
+ "description": "If there might be more results than those appearing in this response, then nextPageToken is included. To get the next set of results, call this method again using the value of nextPageToken as pageToken.",
+ "type": "string"
+ }
+ },
+ "type": "object",
+ "description": "Result returned from ListMonitoredResourceDescriptors."
+ },
+ "BucketMetadata": {
+ "type": "object",
+ "description": "Metadata for LongRunningUpdateBucket Operations.",
+ "properties": {
+ "startTime": {
+ "type": "string",
+ "format": "google-datetime",
+ "description": "The create time of an operation."
+ },
+ "updateBucketRequest": {
+ "description": "LongRunningUpdateBucket RPC request.",
+ "$ref": "UpdateBucketRequest"
+ },
+ "state": {
+ "description": "Output only. State of an operation.",
+ "type": "string",
+ "enumDescriptions": [
+ "Should not be used.",
+ "The operation is scheduled.",
+ "Waiting for necessary permissions.",
+ "The operation is running.",
+ "The operation was completed successfully.",
+ "The operation failed.",
+ "The operation was cancelled by the user.",
+ "The operation is waiting for quota."
+ ],
+ "enum": [
+ "OPERATION_STATE_UNSPECIFIED",
+ "OPERATION_STATE_SCHEDULED",
+ "OPERATION_STATE_WAITING_FOR_PERMISSIONS",
+ "OPERATION_STATE_RUNNING",
+ "OPERATION_STATE_SUCCEEDED",
+ "OPERATION_STATE_FAILED",
+ "OPERATION_STATE_CANCELLED",
+ "OPERATION_STATE_PENDING"
+ ],
+ "readOnly": true
+ },
+ "createBucketRequest": {
+ "$ref": "CreateBucketRequest",
+ "description": "LongRunningCreateBucket RPC request."
+ },
+ "endTime": {
+ "description": "The end time of an operation.",
+ "format": "google-datetime",
+ "type": "string"
+ }
+ },
+ "id": "BucketMetadata"
+ },
+ "CreateBucketRequest": {
+ "description": "The parameters to CreateBucket.",
+ "id": "CreateBucketRequest",
+ "properties": {
+ "bucket": {
+ "$ref": "LogBucket",
+ "description": "Required. The new bucket. The region specified in the new bucket must be compliant with any Location Restriction Org Policy. The name field in the bucket is ignored."
+ },
+ "parent": {
+ "description": "Required. The resource in which to create the log bucket: \"projects/[PROJECT_ID]/locations/[LOCATION_ID]\" For example:\"projects/my-project/locations/global\"",
+ "type": "string"
+ },
+ "bucketId": {
+ "description": "Required. A client-assigned identifier such as \"my-bucket\". Identifiers are limited to 100 characters and can include only letters, digits, underscores, hyphens, and periods. Bucket identifiers must start with an alphanumeric character.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "LogExclusion": {
+ "description": "Specifies a set of log entries that are filtered out by a sink. If your Google Cloud resource receives a large volume of log entries, you can use exclusions to reduce your chargeable logs. Note that exclusions on organization-level and folder-level sinks don't apply to child resources. Note also that you cannot modify the _Required sink or exclude logs from it.",
+ "id": "LogExclusion",
+ "type": "object",
+ "properties": {
+ "description": {
+ "type": "string",
+ "description": "Optional. A description of this exclusion."
+ },
+ "createTime": {
+ "type": "string",
+ "format": "google-datetime",
+ "readOnly": true,
+ "description": "Output only. The creation timestamp of the exclusion.This field may not be present for older exclusions."
+ },
+ "updateTime": {
+ "format": "google-datetime",
+ "description": "Output only. The last update timestamp of the exclusion.This field may not be present for older exclusions.",
+ "type": "string",
+ "readOnly": true
+ },
+ "filter": {
+ "description": "Required. An advanced logs filter (https://cloud.google.com/logging/docs/view/advanced-queries) that matches the log entries to be excluded. By using the sample function (https://cloud.google.com/logging/docs/view/advanced-queries#sample), you can exclude less than 100% of the matching log entries.For example, the following query matches 99% of low-severity log entries from Google Cloud Storage buckets:resource.type=gcs_bucket severity\u003cERROR sample(insertId, 0.99)",
+ "type": "string"
+ },
+ "name": {
+ "type": "string",
+ "description": "Optional. A client-assigned identifier, such as \"load-balancer-exclusion\". Identifiers are limited to 100 characters and can include only letters, digits, underscores, hyphens, and periods. First character has to be alphanumeric."
+ },
+ "disabled": {
+ "type": "boolean",
+ "description": "Optional. If set to True, then this exclusion is disabled and it does not exclude any log entries. You can update an exclusion to change the value of this field."
+ }
+ }
+ },
+ "SourceLocation": {
+ "type": "object",
+ "properties": {
+ "file": {
+ "type": "string",
+ "description": "Source file name. Depending on the runtime environment, this might be a simple name or a fully-qualified name."
+ },
+ "functionName": {
+ "description": "Human-readable name of the function or method being invoked, with optional context such as the class or package name. This information is used in contexts such as the logs viewer, where a file and line number are less meaningful. The format can vary by language. For example: qual.if.ied.Class.method (Java), dir/package.func (Go), function (Python).",
+ "type": "string"
+ },
+ "line": {
+ "format": "int64",
+ "description": "Line within the source file.",
+ "type": "string"
+ }
+ },
+ "id": "SourceLocation",
+ "description": "Specifies a location in a source code file."
+ },
+ "SetIamPolicyRequest": {
+ "id": "SetIamPolicyRequest",
+ "type": "object",
+ "description": "Request message for SetIamPolicy method.",
+ "properties": {
+ "updateMask": {
+ "format": "google-fieldmask",
+ "description": "OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only the fields in the mask will be modified. If no mask is provided, the following default mask is used:paths: \"bindings, etag\"",
+ "type": "string"
+ },
+ "policy": {
+ "$ref": "Policy",
+ "description": "REQUIRED: The complete policy to be applied to the resource. The size of the policy is limited to a few 10s of KB. An empty policy is a valid policy but certain Google Cloud services (such as Projects) might reject them."
+ }
+ }
+ },
+ "ListExclusionsResponse": {
+ "description": "Result returned from ListExclusions.",
+ "properties": {
+ "exclusions": {
+ "type": "array",
+ "description": "A list of exclusions.",
+ "items": {
+ "$ref": "LogExclusion"
+ }
+ },
+ "nextPageToken": {
+ "type": "string",
+ "description": "If there might be more results than appear in this response, then nextPageToken is included. To get the next set of results, call the same method again using the value of nextPageToken as pageToken."
+ }
+ },
+ "id": "ListExclusionsResponse",
+ "type": "object"
+ },
+ "LocationMetadata": {
+ "properties": {
+ "logAnalyticsEnabled": {
+ "description": "Indicates whether or not Log Analytics features are supported in the given location.",
+ "type": "boolean"
+ }
+ },
+ "type": "object",
+ "id": "LocationMetadata",
+ "description": "Cloud Logging specific location metadata."
+ },
+ "AppHubService": {
+ "properties": {
+ "environmentType": {
+ "description": "Service environment type Example: \"DEV\"",
+ "type": "string"
+ },
+ "id": {
+ "type": "string",
+ "description": "Service Id. Example: \"my-service\""
+ },
+ "criticalityType": {
+ "type": "string",
+ "description": "Service criticality type Example: \"CRITICAL\""
+ }
+ },
+ "type": "object",
+ "id": "AppHubService",
+ "description": "Metadata associated with an App Hub service."
+ },
+ "Operation": {
+ "id": "Operation",
+ "type": "object",
+ "description": "This resource represents a long-running operation that is the result of a network API call.",
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the name should be a resource name ending with operations/{unique_id}."
+ },
+ "response": {
+ "description": "The normal, successful response of the operation. If the original method returns no data on success, such as Delete, the response is google.protobuf.Empty. If the original method is standard Get/Create/Update, the response should be the resource. For other methods, the response should have the type XxxResponse, where Xxx is the original method name. For example, if the original method name is TakeSnapshot(), the inferred response type is TakeSnapshotResponse.",
+ "additionalProperties": {
+ "type": "any",
+ "description": "Properties of the object. Contains field @type with type URL."
+ },
+ "type": "object"
+ },
+ "error": {
+ "$ref": "Status",
+ "description": "The error result of the operation in case of failure or cancellation."
+ },
+ "metadata": {
+ "description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.",
+ "type": "object",
+ "additionalProperties": {
+ "description": "Properties of the object. Contains field @type with type URL.",
+ "type": "any"
+ }
+ },
+ "done": {
+ "type": "boolean",
+ "description": "If the value is false, it means the operation is still in progress. If true, the operation is completed, and either error or response is available."
+ }
+ }
+ },
+ "Location": {
+ "type": "object",
+ "description": "A resource that represents a Google Cloud location.",
+ "id": "Location",
+ "properties": {
+ "locationId": {
+ "description": "The canonical id for this location. For example: \"us-east1\".",
+ "type": "string"
+ },
+ "displayName": {
+ "description": "The friendly name for this location, typically a nearby city name. For example, \"Tokyo\".",
+ "type": "string"
+ },
+ "labels": {
+ "additionalProperties": {
+ "type": "string"
+ },
+ "type": "object",
+ "description": "Cross-service attributes for the location. For example {\"cloud.googleapis.com/region\": \"us-east1\"} "
+ },
+ "metadata": {
+ "additionalProperties": {
+ "description": "Properties of the object. Contains field @type with type URL.",
+ "type": "any"
+ },
+ "type": "object",
+ "description": "Service-specific metadata. For example the available capacity at the given location."
+ },
+ "name": {
+ "type": "string",
+ "description": "Resource name for the location, which may vary between implementations. For example: \"projects/example-project/locations/us-east1\""
+ }
+ }
+ },
+ "CopyLogEntriesResponse": {
+ "description": "Response type for CopyLogEntries long running operations.",
+ "properties": {
+ "logEntriesCopiedCount": {
+ "description": "Number of log entries copied.",
+ "format": "int64",
+ "type": "string"
+ }
+ },
+ "id": "CopyLogEntriesResponse",
+ "type": "object"
+ },
+ "LogSink": {
+ "description": "Describes a sink used to export log entries to one of the following destinations: a Cloud Logging log bucket, a Cloud Storage bucket, a BigQuery dataset, a Pub/Sub topic, a Cloud project.A logs filter controls which log entries are exported. The sink must be created within a project, organization, billing account, or folder.",
+ "type": "object",
+ "id": "LogSink",
+ "properties": {
+ "description": {
+ "description": "Optional. A description of this sink.The maximum length of the description is 8000 characters.",
+ "type": "string"
+ },
+ "interceptChildren": {
+ "type": "boolean",
+ "description": "Optional. This field applies only to sinks owned by organizations and folders.When the value of 'intercept_children' is true, the following restrictions apply: The sink must have the include_children flag set to true. The sink destination must be a Cloud project.Also, the following behaviors apply: Any logs matched by the sink won't be included by non-_Required sinks owned by child resources. The sink appears in the results of a ListSinks call from a child resource if the value of the filter field in its request is either 'in_scope(\"ALL\")' or 'in_scope(\"ANCESTOR\")'."
+ },
+ "disabled": {
+ "description": "Optional. If set to true, then this sink is disabled and it does not export any log entries.",
+ "type": "boolean"
+ },
+ "updateTime": {
+ "type": "string",
+ "format": "google-datetime",
+ "readOnly": true,
+ "description": "Output only. The last update timestamp of the sink.This field may not be present for older sinks."
+ },
+ "createTime": {
+ "description": "Output only. The creation timestamp of the sink.This field may not be present for older sinks.",
+ "type": "string",
+ "format": "google-datetime",
+ "readOnly": true
+ },
+ "bigqueryOptions": {
+ "description": "Optional. Options that affect sinks exporting data to BigQuery.",
+ "$ref": "BigQueryOptions"
+ },
+ "filter": {
+ "description": "Optional. An advanced logs filter (https://cloud.google.com/logging/docs/view/advanced-queries). The only exported log entries are those that are in the resource owning the sink and that match the filter.For example:logName=\"projects/[PROJECT_ID]/logs/[LOG_ID]\" AND severity\u003e=ERROR",
+ "type": "string"
+ },
+ "resourceName": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Output only. The resource name of the sink. \"projects/[PROJECT_ID]/sinks/[SINK_NAME] \"organizations/[ORGANIZATION_ID]/sinks/[SINK_NAME] \"billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_NAME] \"folders/[FOLDER_ID]/sinks/[SINK_NAME] For example: projects/my_project/sinks/SINK_NAME"
+ },
+ "name": {
+ "type": "string",
+ "description": "Optional. The client-assigned sink identifier, unique within the project.For example: \"my-syslog-errors-to-pubsub\".Sink identifiers are limited to 100 characters and can include only the following characters: upper and lower-case alphanumeric characters, underscores, hyphens, periods.First character has to be alphanumeric."
+ },
+ "writerIdentity": {
+ "description": "Output only. An IAM identity—a service account or group—under which Cloud Logging writes the exported log entries to the sink's destination. This field is either set by specifying custom_writer_identity or set automatically by sinks.create and sinks.update based on the value of unique_writer_identity in those methods.Until you grant this identity write-access to the destination, log entry exports from this sink will fail. For more information, see Granting Access for a Resource (https://cloud.google.com/iam/docs/granting-roles-to-service-accounts#granting_access_to_a_service_account_for_a_resource). Consult the destination service's documentation to determine the appropriate IAM roles to assign to the identity.Sinks that have a destination that is a log bucket in the same project as the sink cannot have a writer_identity and no additional permissions are required.",
+ "type": "string",
+ "readOnly": true
+ },
+ "outputVersionFormat": {
+ "enum": [
+ "VERSION_FORMAT_UNSPECIFIED",
+ "V2",
+ "V1"
+ ],
+ "type": "string",
+ "deprecated": true,
+ "description": "Deprecated. This field is unused.",
+ "enumDescriptions": [
+ "An unspecified format version that will default to V2.",
+ "LogEntry version 2 format.",
+ "LogEntry version 1 format."
+ ]
+ },
+ "destination": {
+ "description": "Required. The export destination: \"storage.googleapis.com/[GCS_BUCKET]\" \"bigquery.googleapis.com/projects/[PROJECT_ID]/datasets/[DATASET]\" \"pubsub.googleapis.com/projects/[PROJECT_ID]/topics/[TOPIC_ID]\" \"logging.googleapis.com/projects/[PROJECT_ID]\" \"logging.googleapis.com/projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" The sink's writer_identity, set when the sink is created, must have permission to write to the destination or else the log entries are not exported. For more information, see Exporting Logs with Sinks (https://cloud.google.com/logging/docs/api/tasks/exporting-logs).",
+ "type": "string"
+ },
+ "includeChildren": {
+ "description": "Optional. This field applies only to sinks owned by organizations and folders. If the field is false, the default, only the logs owned by the sink's parent resource are available for export. If the field is true, then log entries from all the projects, folders, and billing accounts contained in the sink's parent resource are also available for export. Whether a particular log entry from the children is exported depends on the sink's filter expression.For example, if this field is true, then the filter resource.type=gce_instance would export all Compute Engine VM instance log entries from all projects in the sink's parent.To only export entries from certain child projects, filter on the project part of the log name:logName:(\"projects/test-project1/\" OR \"projects/test-project2/\") AND resource.type=gce_instance",
+ "type": "boolean"
+ },
+ "exclusions": {
+ "description": "Optional. Log entries that match any of these exclusion filters will not be exported.If a log entry is matched by both filter and one of exclusions it will not be exported.",
+ "type": "array",
+ "items": {
+ "$ref": "LogExclusion"
+ }
+ }
+ }
+ },
+ "DeleteLinkRequest": {
+ "description": "The parameters to DeleteLink.",
+ "type": "object",
+ "id": "DeleteLinkRequest",
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "Required. The full resource name of the link to delete. \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]\" \"organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]\" \"folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]\" "
+ }
+ }
+ },
+ "LogBucket": {
+ "id": "LogBucket",
+ "description": "Describes a repository in which log entries are stored.",
+ "type": "object",
+ "properties": {
+ "cmekSettings": {
+ "description": "Optional. The CMEK settings of the log bucket. If present, new log entries written to this log bucket are encrypted using the CMEK key provided in this configuration. If a log bucket has CMEK settings, the CMEK settings cannot be disabled later by updating the log bucket. Changing the KMS key is allowed.",
+ "$ref": "CmekSettings"
+ },
+ "retentionDays": {
+ "description": "Optional. Logs will be retained by default for this amount of time, after which they will automatically be deleted. The minimum retention period is 1 day. If this value is set to zero at bucket creation time, the default time of 30 days will be used.",
+ "format": "int32",
+ "type": "integer"
+ },
+ "locked": {
+ "type": "boolean",
+ "description": "Optional. Whether the bucket is locked.The retention period on a locked bucket cannot be changed. Locked buckets may only be deleted if they are empty."
+ },
+ "updateTime": {
+ "description": "Output only. The last update timestamp of the bucket.",
+ "format": "google-datetime",
+ "readOnly": true,
+ "type": "string"
+ },
+ "description": {
+ "type": "string",
+ "description": "Optional. Describes this bucket."
+ },
+ "lifecycleState": {
+ "enum": [
+ "LIFECYCLE_STATE_UNSPECIFIED",
+ "ACTIVE",
+ "DELETE_REQUESTED",
+ "UPDATING",
+ "CREATING",
+ "FAILED"
+ ],
+ "type": "string",
+ "enumDescriptions": [
+ "Unspecified state. This is only used/useful for distinguishing unset values.",
+ "The normal and active state.",
+ "The resource has been marked for deletion by the user. For some resources (e.g. buckets), this can be reversed by an un-delete operation.",
+ "The resource has been marked for an update by the user. It will remain in this state until the update is complete.",
+ "The resource has been marked for creation by the user. It will remain in this state until the creation is complete.",
+ "The resource is in an INTERNAL error state."
+ ],
+ "readOnly": true,
+ "description": "Output only. The bucket lifecycle state."
+ },
+ "analyticsEnabled": {
+ "description": "Optional. Whether log analytics is enabled for this bucket.Once enabled, log analytics features cannot be disabled.",
+ "type": "boolean"
+ },
+ "indexConfigs": {
+ "type": "array",
+ "items": {
+ "$ref": "IndexConfig"
+ },
+ "description": "Optional. A list of indexed fields and related configuration data."
+ },
+ "createTime": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Output only. The creation timestamp of the bucket. This is not set for any of the default buckets.",
+ "format": "google-datetime"
+ },
+ "name": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Output only. The resource name of the bucket.For example:projects/my-project/locations/global/buckets/my-bucketFor a list of supported locations, see Supported Regions (https://cloud.google.com/logging/docs/region-support)For the location of global it is unspecified where log entries are actually stored.After a bucket has been created, the location cannot be changed."
+ },
+ "restrictedFields": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "Optional. Log entry field paths that are denied access in this bucket.The following fields and their children are eligible: textPayload, jsonPayload, protoPayload, httpRequest, labels, sourceLocation.Restricting a repeated field will restrict all values. Adding a parent will block all child fields. (e.g. foo.bar will block foo.bar.baz)"
+ }
+ }
+ },
+ "RequestLog": {
+ "type": "object",
+ "description": "Complete log information about a single HTTP request to an App Engine application.",
+ "properties": {
+ "resource": {
+ "description": "Contains the path and query portion of the URL that was requested. For example, if the URL was \"http://example.com/app?name=val\", the resource would be \"/app?name=val\". The fragment identifier, which is identified by the # character, is not included.",
+ "type": "string"
+ },
+ "referrer": {
+ "type": "string",
+ "description": "Referrer URL of request."
+ },
+ "line": {
+ "items": {
+ "$ref": "LogLine"
+ },
+ "description": "A list of log lines emitted by the application while serving this request.",
+ "type": "array"
+ },
+ "megaCycles": {
+ "format": "int64",
+ "type": "string",
+ "description": "Number of CPU megacycles used to process request."
+ },
+ "instanceIndex": {
+ "format": "int32",
+ "description": "If the instance processing this request belongs to a manually scaled module, then this is the 0-based index of the instance. Otherwise, this value is -1.",
+ "type": "integer"
+ },
+ "responseSize": {
+ "description": "Size in bytes sent back to client by request.",
+ "format": "int64",
+ "type": "string"
+ },
+ "endTime": {
+ "description": "Time when the request finished.",
+ "type": "string",
+ "format": "google-datetime"
+ },
+ "traceSampled": {
+ "type": "boolean",
+ "description": "If true, the value in the 'trace_id' field was sampled for storage in a trace backend."
+ },
+ "sourceReference": {
+ "description": "Source code for the application that handled this request. There can be more than one source reference per deployed application if source code is distributed among multiple repositories.",
+ "type": "array",
+ "items": {
+ "$ref": "SourceReference"
+ }
+ },
+ "wasLoadingRequest": {
+ "type": "boolean",
+ "description": "Whether this was a loading request for the instance."
+ },
+ "cost": {
+ "type": "number",
+ "description": "An indication of the relative cost of serving this request.",
+ "format": "double"
+ },
+ "method": {
+ "type": "string",
+ "description": "Request method. Example: \"GET\", \"HEAD\", \"PUT\", \"POST\", \"DELETE\"."
+ },
+ "ip": {
+ "type": "string",
+ "description": "Origin IP address."
+ },
+ "first": {
+ "type": "boolean",
+ "description": "Whether this is the first RequestLog entry for this request. If an active request has several RequestLog entries written to Stackdriver Logging, then this field will be set for one of them."
+ },
+ "moduleId": {
+ "type": "string",
+ "description": "Module of the application that handled this request."
+ },
+ "startTime": {
+ "description": "Time when the request started.",
+ "format": "google-datetime",
+ "type": "string"
+ },
+ "traceId": {
+ "description": "Stackdriver Trace identifier for this request.",
+ "type": "string"
+ },
+ "requestId": {
+ "type": "string",
+ "description": "Globally unique identifier for a request, which is based on the request start time. Request IDs for requests which started later will compare greater as strings than those for requests which started earlier."
+ },
+ "versionId": {
+ "type": "string",
+ "description": "Version of the application that handled this request."
+ },
+ "host": {
+ "type": "string",
+ "description": "Internet host and port number of the resource being requested."
+ },
+ "userAgent": {
+ "type": "string",
+ "description": "User agent that made the request."
+ },
+ "latency": {
+ "type": "string",
+ "description": "Latency of the request.",
+ "format": "google-duration"
+ },
+ "urlMapEntry": {
+ "type": "string",
+ "description": "File or class that handled the request."
+ },
+ "finished": {
+ "description": "Whether this request is finished or active.",
+ "type": "boolean"
+ },
+ "nickname": {
+ "type": "string",
+ "description": "The logged-in user who made the request.Most likely, this is the part of the user's email before the @ sign. The field value is the same for different requests from the same user, but different users can have similar names. This information is also available to the application via the App Engine Users API.This field will be populated starting with App Engine 1.9.21."
+ },
+ "appId": {
+ "type": "string",
+ "description": "Application that handled this request."
+ },
+ "pendingTime": {
+ "format": "google-duration",
+ "type": "string",
+ "description": "Time this request spent in the pending request queue."
+ },
+ "instanceId": {
+ "type": "string",
+ "description": "An identifier for the instance that handled the request."
+ },
+ "appEngineRelease": {
+ "description": "App Engine release version.",
+ "type": "string"
+ },
+ "taskName": {
+ "description": "Task name of the request, in the case of an offline request.",
+ "type": "string"
+ },
+ "status": {
+ "type": "integer",
+ "format": "int32",
+ "description": "HTTP response status code. Example: 200, 404."
+ },
+ "taskQueueName": {
+ "description": "Queue name of the request, in the case of an offline request.",
+ "type": "string"
+ },
+ "spanId": {
+ "type": "string",
+ "description": "Stackdriver Trace span identifier for this request."
+ },
+ "httpVersion": {
+ "type": "string",
+ "description": "HTTP version of request. Example: \"HTTP/1.1\"."
+ }
+ },
+ "id": "RequestLog"
+ },
+ "LogSplit": {
+ "id": "LogSplit",
+ "type": "object",
+ "properties": {
+ "index": {
+ "type": "integer",
+ "description": "The index of this LogEntry in the sequence of split log entries. Log entries are given |index| values 0, 1, ..., n-1 for a sequence of n log entries.",
+ "format": "int32"
+ },
+ "uid": {
+ "type": "string",
+ "description": "A globally unique identifier for all log entries in a sequence of split log entries. All log entries with the same |LogSplit.uid| are assumed to be part of the same sequence of split log entries."
+ },
+ "totalSplits": {
+ "format": "int32",
+ "type": "integer",
+ "description": "The total number of log entries that the original LogEntry was split into."
+ }
+ },
+ "description": "Additional information used to correlate multiple log entries. Used when a single LogEntry would exceed the Google Cloud Logging size limit and is split across multiple log entries."
+ },
+ "GetPolicyOptions": {
+ "properties": {
+ "requestedPolicyVersion": {
+ "type": "integer",
+ "format": "int32",
+ "description": "Optional. The maximum policy version that will be used to format the policy.Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected.Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset.The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1.To learn which resources support conditions in their IAM policies, see the IAM documentation (https://cloud.google.com/iam/help/conditions/resource-policies)."
+ }
+ },
+ "id": "GetPolicyOptions",
+ "type": "object",
+ "description": "Encapsulates settings provided to GetIamPolicy."
+ },
+ "MetricDescriptorMetadata": {
+ "type": "object",
+ "properties": {
+ "timeSeriesResourceHierarchyLevel": {
+ "description": "The scope of the timeseries data of the metric.",
+ "items": {
+ "type": "string",
+ "enumDescriptions": [
+ "Do not use this default value.",
+ "Scopes a metric to a project.",
+ "Scopes a metric to an organization.",
+ "Scopes a metric to a folder."
+ ],
+ "enum": [
+ "TIME_SERIES_RESOURCE_HIERARCHY_LEVEL_UNSPECIFIED",
+ "PROJECT",
+ "ORGANIZATION",
+ "FOLDER"
+ ]
+ },
+ "type": "array"
+ },
+ "samplePeriod": {
+ "description": "The sampling period of metric data points. For metrics which are written periodically, consecutive data points are stored at this time interval, excluding data loss due to errors. Metrics with a higher granularity have a smaller sampling period.",
+ "type": "string",
+ "format": "google-duration"
+ },
+ "ingestDelay": {
+ "description": "The delay of data points caused by ingestion. Data points older than this age are guaranteed to be ingested and available to be read, excluding data loss due to errors.",
+ "type": "string",
+ "format": "google-duration"
+ },
+ "launchStage": {
+ "enumDescriptions": [
+ "Do not use this default value.",
+ "The feature is not yet implemented. Users can not use it.",
+ "Prelaunch features are hidden from users and are only visible internally.",
+ "Early Access features are limited to a closed group of testers. To use these features, you must sign up in advance and sign a Trusted Tester agreement (which includes confidentiality provisions). These features may be unstable, changed in backward-incompatible ways, and are not guaranteed to be released.",
+ "Alpha is a limited availability test for releases before they are cleared for widespread use. By Alpha, all significant design issues are resolved and we are in the process of verifying functionality. Alpha customers need to apply for access, agree to applicable terms, and have their projects allowlisted. Alpha releases don't have to be feature complete, no SLAs are provided, and there are no technical support obligations, but they will be far enough along that customers can actually use them in test environments or for limited-use tests -- just like they would in normal production cases.",
+ "Beta is the point at which we are ready to open a release for any customer to use. There are no SLA or technical support obligations in a Beta release. Products will be complete from a feature perspective, but may have some open outstanding issues. Beta releases are suitable for limited production use cases.",
+ "GA features are open to all developers and are considered stable and fully qualified for production use.",
+ "Deprecated features are scheduled to be shut down and removed. For more information, see the \"Deprecation Policy\" section of our Terms of Service (https://cloud.google.com/terms/) and the Google Cloud Platform Subject to the Deprecation Policy (https://cloud.google.com/terms/deprecation) documentation."
+ ],
+ "type": "string",
+ "description": "Deprecated. Must use the MetricDescriptor.launch_stage instead.",
+ "enum": [
+ "LAUNCH_STAGE_UNSPECIFIED",
+ "UNIMPLEMENTED",
+ "PRELAUNCH",
+ "EARLY_ACCESS",
+ "ALPHA",
+ "BETA",
+ "GA",
+ "DEPRECATED"
+ ],
+ "deprecated": true
+ }
+ },
+ "description": "Additional annotations that can be used to guide the usage of a metric.",
+ "id": "MetricDescriptorMetadata"
+ },
+ "ListViewsResponse": {
+ "properties": {
+ "views": {
+ "description": "A list of views.",
+ "type": "array",
+ "items": {
+ "$ref": "LogView"
+ }
+ },
+ "nextPageToken": {
+ "type": "string",
+ "description": "If there might be more results than appear in this response, then nextPageToken is included. To get the next set of results, call the same method again using the value of nextPageToken as pageToken."
+ }
+ },
+ "description": "The response from ListViews.",
+ "type": "object",
+ "id": "ListViewsResponse"
+ },
+ "RecentQuery": {
+ "description": "Describes a recent query executed on the Logs Explorer or Log Analytics page within the last ~ 30 days.",
+ "id": "RecentQuery",
+ "properties": {
+ "lastRunTime": {
+ "format": "google-datetime",
+ "type": "string",
+ "readOnly": true,
+ "description": "Output only. The timestamp when this query was last run."
+ },
+ "opsAnalyticsQuery": {
+ "description": "Analytics query that can be executed in Log Analytics.",
+ "$ref": "OpsAnalyticsQuery"
+ },
+ "name": {
+ "description": "Output only. Resource name of the recent query.In the format: \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/recentQueries/[QUERY_ID]\" For a list of supported locations, see Supported Regions (https://cloud.google.com/logging/docs/region-support)The QUERY_ID is a system generated alphanumeric ID.",
+ "readOnly": true,
+ "type": "string"
+ },
+ "loggingQuery": {
+ "description": "Logging query that can be executed in Logs Explorer or via Logging API.",
+ "$ref": "LoggingQuery"
+ }
+ },
+ "type": "object"
+ },
+ "SummaryField": {
+ "type": "object",
+ "description": "A field from the LogEntry that is added to the summary line (https://cloud.google.com/logging/docs/view/logs-explorer-interface#add-summary-fields) for a query in the Logs Explorer.",
+ "id": "SummaryField",
+ "properties": {
+ "field": {
+ "type": "string",
+ "description": "Optional. The field from the LogEntry to include in the summary line, for example resource.type or jsonPayload.name."
+ }
+ }
+ },
+ "GetIamPolicyRequest": {
+ "description": "Request message for GetIamPolicy method.",
+ "type": "object",
+ "id": "GetIamPolicyRequest",
+ "properties": {
+ "options": {
+ "description": "OPTIONAL: A GetPolicyOptions object for specifying options to GetIamPolicy.",
+ "$ref": "GetPolicyOptions"
+ }
+ }
+ },
+ "AppHub": {
+ "properties": {
+ "service": {
+ "description": "Metadata associated with the service.",
+ "$ref": "AppHubService"
+ },
+ "application": {
+ "description": "Metadata associated with the application.",
+ "$ref": "AppHubApplication"
+ },
+ "workload": {
+ "description": "Metadata associated with the workload.",
+ "$ref": "AppHubWorkload"
+ }
+ },
+ "id": "AppHub",
+ "type": "object",
+ "description": "Metadata associated with App Hub."
+ },
+ "Exponential": {
+ "type": "object",
+ "properties": {
+ "numFiniteBuckets": {
+ "type": "integer",
+ "format": "int32",
+ "description": "Must be greater than 0."
+ },
+ "growthFactor": {
+ "description": "Must be greater than 1.",
+ "format": "double",
+ "type": "number"
+ },
+ "scale": {
+ "description": "Must be greater than 0.",
+ "format": "double",
+ "type": "number"
+ }
+ },
+ "id": "Exponential",
+ "description": "Specifies an exponential sequence of buckets that have a width that is proportional to the value of the lower bound. Each bucket represents a constant relative uncertainty on a specific value in the bucket.There are num_finite_buckets + 2 (= N) buckets. Bucket i has the following boundaries:Upper bound (0 \u003c= i \u003c N-1): scale * (growth_factor ^ i).Lower bound (1 \u003c= i \u003c N): scale * (growth_factor ^ (i - 1))."
+ },
+ "CopyLogEntriesRequest": {
+ "id": "CopyLogEntriesRequest",
+ "properties": {
+ "destination": {
+ "description": "Required. Destination to which to copy log entries. For example: \"storage.googleapis.com/GCS_BUCKET\"",
+ "type": "string"
+ },
+ "filter": {
+ "type": "string",
+ "description": "Optional. A filter specifying which log entries to copy. The filter must be no more than 20k characters. An empty filter matches all log entries."
+ },
+ "name": {
+ "type": "string",
+ "description": "Required. Log bucket from which to copy log entries.For example:\"projects/my-project/locations/global/buckets/my-source-bucket\""
+ }
+ },
+ "type": "object",
+ "description": "The parameters to CopyLogEntries."
+ },
+ "ListLogEntriesRequest": {
+ "id": "ListLogEntriesRequest",
+ "description": "The parameters to ListLogEntries.",
+ "type": "object",
+ "properties": {
+ "projectIds": {
+ "deprecated": true,
+ "items": {
+ "type": "string"
+ },
+ "type": "array",
+ "description": "Optional. Deprecated. Use resource_names instead. One or more project identifiers or project numbers from which to retrieve log entries. Example: \"my-project-1A\"."
+ },
+ "pageToken": {
+ "description": "Optional. If present, then retrieve the next batch of results from the preceding call to this method. page_token must be the value of next_page_token from the previous response. The values of other method parameters should be identical to those in the previous call.",
+ "type": "string"
+ },
+ "resourceNames": {
+ "type": "array",
+ "description": "Required. Names of one or more parent resources from which to retrieve log entries. Resources may either be resource containers or specific LogViews. For the case of resource containers, all logs ingested into that container will be returned regardless of which LogBuckets they are actually stored in - i.e. these queries may fan out to multiple regions. In the event of region unavailability, specify a specific set of LogViews that do not include the unavailable region. projects/[PROJECT_ID] organizations/[ORGANIZATION_ID] billingAccounts/[BILLING_ACCOUNT_ID] folders/[FOLDER_ID] projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID] organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID] billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID] folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]Projects listed in the project_ids field are added to this list. A maximum of 100 resources may be specified in a single request.",
+ "items": {
+ "type": "string"
+ }
+ },
+ "pageSize": {
+ "description": "Optional. The maximum number of results to return from this request. Default is 50. If the value is negative, the request is rejected.The presence of next_page_token in the response indicates that more results might be available.",
+ "format": "int32",
+ "type": "integer"
+ },
+ "orderBy": {
+ "type": "string",
+ "description": "Optional. How the results should be sorted. Presently, the only permitted values are \"timestamp asc\" (default) and \"timestamp desc\". The first option returns entries in order of increasing values of LogEntry.timestamp (oldest first), and the second option returns entries in order of decreasing timestamps (newest first). Entries with equal timestamps are returned in order of their insert_id values.We recommend setting the order_by field to \"timestamp desc\" when listing recently ingested log entries. If not set, the default value of \"timestamp asc\" may take a long time to fetch matching logs that are only recently ingested."
+ },
+ "filter": {
+ "description": "Optional. A filter that chooses which log entries to return. For more information, see Logging query language (https://cloud.google.com/logging/docs/view/logging-query-language).Only log entries that match the filter are returned. An empty filter matches all log entries in the resources listed in resource_names. Referencing a parent resource that is not listed in resource_names will cause the filter to return no results. The maximum length of a filter is 20,000 characters.To make queries faster, you can make the filter more selective by using restrictions on indexed fields (https://cloud.google.com/logging/docs/view/logging-query-language#indexed-fields) as well as limit the time range of the query by adding range restrictions on the timestamp field.",
+ "type": "string"
+ }
+ }
+ },
+ "LinkMetadata": {
+ "id": "LinkMetadata",
+ "description": "Metadata for long running Link operations.",
+ "type": "object",
+ "properties": {
+ "deleteLinkRequest": {
+ "description": "DeleteLink RPC request.",
+ "$ref": "DeleteLinkRequest"
+ },
+ "createLinkRequest": {
+ "$ref": "CreateLinkRequest",
+ "description": "CreateLink RPC request."
+ },
+ "startTime": {
+ "description": "The start time of an operation.",
+ "type": "string",
+ "format": "google-datetime"
+ },
+ "state": {
+ "type": "string",
+ "description": "Output only. State of an operation.",
+ "readOnly": true,
+ "enum": [
+ "OPERATION_STATE_UNSPECIFIED",
+ "OPERATION_STATE_SCHEDULED",
+ "OPERATION_STATE_WAITING_FOR_PERMISSIONS",
+ "OPERATION_STATE_RUNNING",
+ "OPERATION_STATE_SUCCEEDED",
+ "OPERATION_STATE_FAILED",
+ "OPERATION_STATE_CANCELLED",
+ "OPERATION_STATE_PENDING"
+ ],
+ "enumDescriptions": [
+ "Should not be used.",
+ "The operation is scheduled.",
+ "Waiting for necessary permissions.",
+ "The operation is running.",
+ "The operation was completed successfully.",
+ "The operation failed.",
+ "The operation was cancelled by the user.",
+ "The operation is waiting for quota."
+ ]
+ },
+ "endTime": {
+ "description": "The end time of an operation.",
+ "format": "google-datetime",
+ "type": "string"
+ }
+ }
+ },
+ "ListBucketsResponse": {
+ "description": "The response from ListBuckets.",
+ "type": "object",
+ "properties": {
+ "nextPageToken": {
+ "description": "If there might be more results than appear in this response, then nextPageToken is included. To get the next set of results, call the same method again using the value of nextPageToken as pageToken.",
+ "type": "string"
+ },
+ "buckets": {
+ "description": "A list of buckets.",
+ "type": "array",
+ "items": {
+ "$ref": "LogBucket"
+ }
+ }
+ },
+ "id": "ListBucketsResponse"
+ },
+ "MonitoredResourceMetadata": {
+ "type": "object",
+ "description": "Auxiliary metadata for a MonitoredResource object. MonitoredResource objects contain the minimum set of information to uniquely identify a monitored resource instance. There is some other useful auxiliary metadata. Monitoring and Logging use an ingestion pipeline to extract metadata for cloud resources of all types, and store the metadata in this message.",
+ "id": "MonitoredResourceMetadata",
+ "properties": {
+ "userLabels": {
+ "type": "object",
+ "description": "Output only. A map of user-defined metadata labels.",
+ "additionalProperties": {
+ "type": "string"
+ }
+ },
+ "systemLabels": {
+ "description": "Output only. Values for predefined system metadata labels. System labels are a kind of metadata extracted by Google, including \"machine_image\", \"vpc\", \"subnet_id\", \"security_group\", \"name\", etc. System label values can be only strings, Boolean values, or a list of strings. For example: { \"name\": \"my-test-instance\", \"security_group\": [\"a\", \"b\", \"c\"], \"spot_instance\": false } ",
+ "additionalProperties": {
+ "description": "Properties of the object.",
+ "type": "any"
+ },
+ "type": "object"
+ }
+ }
+ },
+ "Binding": {
+ "id": "Binding",
+ "type": "object",
+ "description": "Associates members, or principals, with a role.",
+ "properties": {
+ "members": {
+ "description": "Specifies the principals requesting access for a Google Cloud resource. members can have the following values: allUsers: A special identifier that represents anyone who is on the internet; with or without a Google account. allAuthenticatedUsers: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. user:{emailid}: An email address that represents a specific Google account. For example, alice@example.com . serviceAccount:{emailid}: An email address that represents a Google service account. For example, my-other-app@appspot.gserviceaccount.com. serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]: An identifier for a Kubernetes service account (https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, my-project.svc.id.goog[my-namespace/my-kubernetes-sa]. group:{emailid}: An email address that represents a Google group. For example, admins@example.com. domain:{domain}: The G Suite domain (primary) that represents all the users of that domain. For example, google.com or example.com. principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}: A single identity in a workforce identity pool. principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/group/{group_id}: All workforce identities in a group. principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/attribute.{attribute_name}/{attribute_value}: All workforce identities with a specific attribute value. principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/*: All identities in a workforce identity pool. principal://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/subject/{subject_attribute_value}: A single identity in a workload identity pool. principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/group/{group_id}: A workload identity pool group. principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/attribute.{attribute_name}/{attribute_value}: All identities in a workload identity pool with a certain attribute. principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/*: All identities in a workload identity pool. deleted:user:{emailid}?uid={uniqueid}: An email address (plus unique identifier) representing a user that has been recently deleted. For example, alice@example.com?uid=123456789012345678901. If the user is recovered, this value reverts to user:{emailid} and the recovered user retains the role in the binding. deleted:serviceAccount:{emailid}?uid={uniqueid}: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901. If the service account is undeleted, this value reverts to serviceAccount:{emailid} and the undeleted service account retains the role in the binding. deleted:group:{emailid}?uid={uniqueid}: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, admins@example.com?uid=123456789012345678901. If the group is recovered, this value reverts to group:{emailid} and the recovered group retains the role in the binding. deleted:principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}: Deleted single identity in a workforce identity pool. For example, deleted:principal://iam.googleapis.com/locations/global/workforcePools/my-pool-id/subject/my-subject-attribute-value.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "role": {
+ "description": "Role that is assigned to the list of members, or principals. For example, roles/viewer, roles/editor, or roles/owner.For an overview of the IAM roles and permissions, see the IAM documentation (https://cloud.google.com/iam/docs/roles-overview). For a list of the available pre-defined roles, see here (https://cloud.google.com/iam/docs/understanding-roles).",
+ "type": "string"
+ },
+ "condition": {
+ "description": "The condition that is associated with this binding.If the condition evaluates to true, then this binding applies to the current request.If the condition evaluates to false, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding.To learn which resources support conditions in their IAM policies, see the IAM documentation (https://cloud.google.com/iam/help/conditions/resource-policies).",
+ "$ref": "Expr"
+ }
+ }
+ },
+ "LogScope": {
+ "properties": {
+ "name": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Output only. The resource name of the log scope.Log scopes are only available in the global location. For example:projects/my-project/locations/global/logScopes/my-log-scope"
+ },
+ "resourceNames": {
+ "items": {
+ "type": "string"
+ },
+ "description": "Required. Names of one or more parent resources (organizations and folders are not supported.): projects/[PROJECT_ID]May alternatively be one or more views: projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]A log scope can include a maximum of 5 projects and a maximum of 100 resources in total.",
+ "type": "array"
+ },
+ "updateTime": {
+ "format": "google-datetime",
+ "type": "string",
+ "description": "Output only. The last update timestamp of the log scope.",
+ "readOnly": true
+ },
+ "createTime": {
+ "type": "string",
+ "readOnly": true,
+ "format": "google-datetime",
+ "description": "Output only. The creation timestamp of the log scope."
+ },
+ "description": {
+ "type": "string",
+ "description": "Optional. Describes this log scope.The maximum length of the description is 8000 characters."
+ }
+ },
+ "description": "Describes a group of resources to read log entries from.",
+ "id": "LogScope",
+ "type": "object"
+ },
+ "ListLogScopesResponse": {
+ "description": "The response from ListLogScopes. Every project has a _Default log scope that cannot be modified or deleted.",
+ "type": "object",
+ "properties": {
+ "nextPageToken": {
+ "description": "If there might be more results than appear in this response, then nextPageToken is included. To get the next set of results, call the same method again using the value of nextPageToken as pageToken.",
+ "type": "string"
+ },
+ "logScopes": {
+ "type": "array",
+ "description": "A list of log scopes.",
+ "items": {
+ "$ref": "LogScope"
+ }
+ }
+ },
+ "id": "ListLogScopesResponse"
+ },
+ "ListSinksResponse": {
+ "id": "ListSinksResponse",
+ "properties": {
+ "nextPageToken": {
+ "description": "If there might be more results than appear in this response, then nextPageToken is included. To get the next set of results, call the same method again using the value of nextPageToken as pageToken.",
+ "type": "string"
+ },
+ "sinks": {
+ "type": "array",
+ "items": {
+ "$ref": "LogSink"
+ },
+ "description": "A list of sinks."
+ }
+ },
+ "type": "object",
+ "description": "Result returned from ListSinks."
+ },
+ "CopyLogEntriesMetadata": {
+ "id": "CopyLogEntriesMetadata",
+ "type": "object",
+ "properties": {
+ "endTime": {
+ "format": "google-datetime",
+ "type": "string",
+ "description": "The end time of an operation."
+ },
+ "verb": {
+ "type": "string",
+ "description": "Name of the verb executed by the operation.For example,\"copy\""
+ },
+ "request": {
+ "deprecated": true,
+ "$ref": "CopyLogEntriesRequest",
+ "description": "CopyLogEntries RPC request. This field is deprecated and not used."
+ },
+ "writerIdentity": {
+ "type": "string",
+ "description": "The IAM identity of a service account that must be granted access to the destination.If the service account is not granted permission to the destination within an hour, the operation will be cancelled.For example: \"serviceAccount:foo@bar.com\""
+ },
+ "cancellationRequested": {
+ "description": "Identifies whether the user has requested cancellation of the operation.",
+ "type": "boolean"
+ },
+ "source": {
+ "description": "Source from which to copy log entries.For example, a log bucket:\"projects/my-project/locations/global/buckets/my-source-bucket\"",
+ "type": "string"
+ },
+ "destination": {
+ "description": "Destination to which to copy log entries.For example, a Cloud Storage bucket:\"storage.googleapis.com/my-cloud-storage-bucket\"",
+ "type": "string"
+ },
+ "startTime": {
+ "format": "google-datetime",
+ "description": "The create time of an operation.",
+ "type": "string"
+ },
+ "progress": {
+ "type": "integer",
+ "description": "Estimated progress of the operation (0 - 100%).",
+ "format": "int32"
+ },
+ "state": {
+ "description": "Output only. State of an operation.",
+ "readOnly": true,
+ "enum": [
+ "OPERATION_STATE_UNSPECIFIED",
+ "OPERATION_STATE_SCHEDULED",
+ "OPERATION_STATE_WAITING_FOR_PERMISSIONS",
+ "OPERATION_STATE_RUNNING",
+ "OPERATION_STATE_SUCCEEDED",
+ "OPERATION_STATE_FAILED",
+ "OPERATION_STATE_CANCELLED",
+ "OPERATION_STATE_PENDING"
+ ],
+ "type": "string",
+ "enumDescriptions": [
+ "Should not be used.",
+ "The operation is scheduled.",
+ "Waiting for necessary permissions.",
+ "The operation is running.",
+ "The operation was completed successfully.",
+ "The operation failed.",
+ "The operation was cancelled by the user.",
+ "The operation is waiting for quota."
+ ]
+ }
+ },
+ "description": "Metadata for CopyLogEntries long running operations."
+ },
+ "IndexConfig": {
+ "id": "IndexConfig",
+ "properties": {
+ "fieldPath": {
+ "type": "string",
+ "description": "Required. The LogEntry field path to index.Note that some paths are automatically indexed, and other paths are not eligible for indexing. See indexing documentation( https://cloud.google.com/logging/docs/analyze/custom-index) for details.For example: jsonPayload.request.status"
+ },
+ "createTime": {
+ "readOnly": true,
+ "format": "google-datetime",
+ "description": "Output only. The timestamp when the index was last modified.This is used to return the timestamp, and will be ignored if supplied during update.",
+ "type": "string"
+ },
+ "type": {
+ "enum": [
+ "INDEX_TYPE_UNSPECIFIED",
+ "INDEX_TYPE_STRING",
+ "INDEX_TYPE_INTEGER"
+ ],
+ "type": "string",
+ "description": "Required. The type of data in this index.",
+ "enumDescriptions": [
+ "The index's type is unspecified.",
+ "The index is a string-type index.",
+ "The index is a integer-type index."
+ ]
+ }
+ },
+ "type": "object",
+ "description": "Configuration for an indexed field."
+ },
+ "TestIamPermissionsResponse": {
+ "id": "TestIamPermissionsResponse",
+ "description": "Response message for TestIamPermissions method.",
+ "type": "object",
+ "properties": {
+ "permissions": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "A subset of TestPermissionsRequest.permissions that the caller is allowed."
+ }
+ }
+ },
+ "TailLogEntriesRequest": {
+ "properties": {
+ "bufferWindow": {
+ "type": "string",
+ "description": "Optional. The amount of time to buffer log entries at the server before being returned to prevent out of order results due to late arriving log entries. Valid values are between 0-60000 milliseconds. Defaults to 2000 milliseconds.",
+ "format": "google-duration"
+ },
+ "filter": {
+ "type": "string",
+ "description": "Optional. Only log entries that match the filter are returned. An empty filter matches all log entries in the resources listed in resource_names. Referencing a parent resource that is not listed in resource_names will cause the filter to return no results. The maximum length of a filter is 20,000 characters."
+ },
+ "resourceNames": {
+ "items": {
+ "type": "string"
+ },
+ "description": "Required. Name of a parent resource from which to retrieve log entries: projects/[PROJECT_ID] organizations/[ORGANIZATION_ID] billingAccounts/[BILLING_ACCOUNT_ID] folders/[FOLDER_ID]May alternatively be one or more views: projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID] organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID] billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID] folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]",
+ "type": "array"
+ }
+ },
+ "type": "object",
+ "description": "The parameters to TailLogEntries.",
+ "id": "TailLogEntriesRequest"
+ },
+ "BigQueryOptions": {
+ "description": "Options that change functionality of a sink exporting data to BigQuery.",
+ "id": "BigQueryOptions",
+ "properties": {
+ "usesTimestampColumnPartitioning": {
+ "type": "boolean",
+ "description": "Output only. True if new timestamp column based partitioning is in use, false if legacy ingress-time partitioning is in use.All new sinks will have this field set true and will use timestamp column based partitioning. If use_partitioned_tables is false, this value has no meaning and will be false. Legacy sinks using partitioned tables will have this field set to false.",
+ "readOnly": true
+ },
+ "usePartitionedTables": {
+ "description": "Optional. Whether to use BigQuery's partition tables (https://cloud.google.com/bigquery/docs/partitioned-tables). By default, Cloud Logging creates dated tables based on the log entries' timestamps, e.g. syslog_20170523. With partitioned tables the date suffix is no longer present and special query syntax (https://cloud.google.com/bigquery/docs/querying-partitioned-tables) has to be used instead. In both cases, tables are sharded based on UTC timezone.",
+ "type": "boolean"
+ }
+ },
+ "type": "object"
+ },
+ "SourceReference": {
+ "id": "SourceReference",
+ "type": "object",
+ "description": "A reference to a particular snapshot of the source tree used to build and deploy an application.",
+ "properties": {
+ "repository": {
+ "description": "Optional. A URI string identifying the repository. Example: \"https://github.com/GoogleCloudPlatform/kubernetes.git\"",
+ "type": "string"
+ },
+ "revisionId": {
+ "description": "The canonical and persistent identifier of the deployed revision. Example (git): \"0035781c50ec7aa23385dc841529ce8a4b70db1b\"",
+ "type": "string"
+ }
+ }
+ },
+ "WriteLogEntriesResponse": {
+ "properties": {},
+ "description": "Result returned from WriteLogEntries.",
+ "id": "WriteLogEntriesResponse",
+ "type": "object"
+ },
+ "CancelOperationRequest": {
+ "id": "CancelOperationRequest",
+ "description": "The request message for Operations.CancelOperation.",
+ "properties": {},
+ "type": "object"
+ },
+ "LogEntry": {
+ "properties": {
+ "trace": {
+ "type": "string",
+ "description": "Optional. The REST resource name of the trace being written to Cloud Trace (https://cloud.google.com/trace) in association with this log entry. For example, if your trace data is stored in the Cloud project \"my-trace-project\" and if the service that is creating the log entry receives a trace header that includes the trace ID \"12345\", then the service should use \"projects/my-trace-project/traces/12345\".The trace field provides the link between logs and traces. By using this field, you can navigate from a log entry to a trace."
+ },
+ "httpRequest": {
+ "description": "Optional. Information about the HTTP request associated with this log entry, if applicable.",
+ "$ref": "HttpRequest"
+ },
+ "traceSampled": {
+ "description": "Optional. The sampling decision of the span associated with the log entry at the time the log entry was created. This field corresponds to the sampled flag in the W3C trace-context specification (https://www.w3.org/TR/trace-context/#sampled-flag). A non-sampled trace value is still useful as a request correlation identifier. The default is False.",
+ "type": "boolean"
+ },
+ "severity": {
+ "description": "Optional. The severity of the log entry. The default value is LogSeverity.DEFAULT.",
+ "enumDescriptions": [
+ "(0) The log entry has no assigned severity level.",
+ "(100) Debug or trace information.",
+ "(200) Routine information, such as ongoing status or performance.",
+ "(300) Normal but significant events, such as start up, shut down, or a configuration change.",
+ "(400) Warning events might cause problems.",
+ "(500) Error events are likely to cause problems.",
+ "(600) Critical events cause more severe problems or outages.",
+ "(700) A person must take an action immediately.",
+ "(800) One or more systems are unusable."
+ ],
+ "enum": [
+ "DEFAULT",
+ "DEBUG",
+ "INFO",
+ "NOTICE",
+ "WARNING",
+ "ERROR",
+ "CRITICAL",
+ "ALERT",
+ "EMERGENCY"
+ ],
+ "type": "string"
+ },
+ "apphub": {
+ "readOnly": true,
+ "$ref": "AppHub",
+ "description": "Output only. AppHub application metadata associated with this LogEntry. May be empty if there is no associated AppHub application or multiple associated applications (such as for VPC flow logs)"
+ },
+ "logName": {
+ "description": "Required. The resource name of the log to which this log entry belongs: \"projects/[PROJECT_ID]/logs/[LOG_ID]\" \"organizations/[ORGANIZATION_ID]/logs/[LOG_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/logs/[LOG_ID]\" \"folders/[FOLDER_ID]/logs/[LOG_ID]\" A project number may be used in place of PROJECT_ID. The project number is translated to its corresponding PROJECT_ID internally and the log_name field will contain PROJECT_ID in queries and exports.[LOG_ID] must be URL-encoded within log_name. Example: \"organizations/1234567890/logs/cloudresourcemanager.googleapis.com%2Factivity\".[LOG_ID] must be less than 512 characters long and can only include the following characters: upper and lower case alphanumeric characters, forward-slash, underscore, hyphen, and period.For backward compatibility, if log_name begins with a forward-slash, such as /projects/..., then the log entry is processed as usual, but the forward-slash is removed. Listing the log entry will not show the leading slash and filtering for a log name with a leading slash will never return any results.",
+ "type": "string"
+ },
+ "textPayload": {
+ "description": "The log entry payload, represented as a Unicode string (UTF-8).",
+ "type": "string"
+ },
+ "sourceLocation": {
+ "$ref": "LogEntrySourceLocation",
+ "description": "Optional. Source code location information associated with the log entry, if any."
+ },
+ "receiveTimestamp": {
+ "description": "Output only. The time the log entry was received by Logging.",
+ "format": "google-datetime",
+ "type": "string",
+ "readOnly": true
+ },
+ "split": {
+ "description": "Optional. Information indicating this LogEntry is part of a sequence of multiple log entries split from a single LogEntry.",
+ "$ref": "LogSplit"
+ },
+ "labels": {
+ "description": "Optional. A map of key, value pairs that provides additional information about the log entry. The labels can be user-defined or system-defined.User-defined labels are arbitrary key, value pairs that you can use to classify logs.System-defined labels are defined by GCP services for platform logs. They have two components - a service namespace component and the attribute name. For example: compute.googleapis.com/resource_name.Cloud Logging truncates label keys that exceed 512 B and label values that exceed 64 KB upon their associated log entry being written. The truncation is indicated by an ellipsis at the end of the character string.",
+ "additionalProperties": {
+ "type": "string"
+ },
+ "type": "object"
+ },
+ "insertId": {
+ "type": "string",
+ "description": "Optional. A unique identifier for the log entry. If you provide a value, then Logging considers other log entries in the same project, with the same timestamp, and with the same insert_id to be duplicates which are removed in a single query result. However, there are no guarantees of de-duplication in the export of logs.If the insert_id is omitted when writing a log entry, the Logging API assigns its own unique identifier in this field.In queries, the insert_id is also used to order log entries that have the same log_name and timestamp values."
+ },
+ "jsonPayload": {
+ "additionalProperties": {
+ "type": "any",
+ "description": "Properties of the object."
+ },
+ "type": "object",
+ "description": "The log entry payload, represented as a structure that is expressed as a JSON object."
+ },
+ "operation": {
+ "description": "Optional. Information about an operation associated with the log entry, if applicable.",
+ "$ref": "LogEntryOperation"
+ },
+ "protoPayload": {
+ "additionalProperties": {
+ "description": "Properties of the object. Contains field @type with type URL.",
+ "type": "any"
+ },
+ "description": "The log entry payload, represented as a protocol buffer. Some Google Cloud Platform services use this field for their log entry payloads.The following protocol buffer types are supported; user-defined types are not supported:\"type.googleapis.com/google.cloud.audit.AuditLog\" \"type.googleapis.com/google.appengine.logging.v1.RequestLog\"",
+ "type": "object"
+ },
+ "metadata": {
+ "description": "Output only. Deprecated. This field is not used by Logging. Any value written to it is cleared.",
+ "readOnly": true,
+ "$ref": "MonitoredResourceMetadata",
+ "deprecated": true
+ },
+ "spanId": {
+ "description": "Optional. The ID of the Cloud Trace (https://cloud.google.com/trace) span associated with the current operation in which the log is being written. For example, if a span has the REST resource name of \"projects/some-project/traces/some-trace/spans/some-span-id\", then the span_id field is \"some-span-id\".A Span (https://cloud.google.com/trace/docs/reference/v2/rest/v2/projects.traces/batchWrite#Span) represents a single operation within a trace. Whereas a trace may involve multiple different microservices running on multiple different machines, a span generally corresponds to a single logical operation being performed in a single instance of a microservice on one specific machine. Spans are the nodes within the tree that is a trace.Applications that are instrumented for tracing (https://cloud.google.com/trace/docs/setup) will generally assign a new, unique span ID on each incoming request. It is also common to create and record additional spans corresponding to internal processing elements as well as issuing requests to dependencies.The span ID is expected to be a 16-character, hexadecimal encoding of an 8-byte array and should not be zero. It should be unique within the trace and should, ideally, be generated in a manner that is uniformly random.Example values: 000000000000004a 7a2190356c3fc94b 0000f00300090021 d39223e101960076",
+ "type": "string"
+ },
+ "resource": {
+ "description": "Required. The monitored resource that produced this log entry.Example: a log entry that reports a database error would be associated with the monitored resource designating the particular database that reported the error.",
+ "$ref": "MonitoredResource"
+ },
+ "errorGroups": {
+ "description": "Output only. The Error Reporting (https://cloud.google.com/error-reporting) error groups associated with this LogEntry. Error Reporting sets the values for this field during error group creation.For more information, see View error details( https://cloud.google.com/error-reporting/docs/viewing-errors#view_error_details)This field isn't available during log routing (https://cloud.google.com/logging/docs/routing/overview)",
+ "items": {
+ "$ref": "LogErrorGroup"
+ },
+ "type": "array",
+ "readOnly": true
+ },
+ "apphubDestination": {
+ "description": "Output only. AppHub application metadata associated with the destination application. This is only populated if the log represented \"edge\"-like data (such as for VPC flow logs) with a source and destination.",
+ "readOnly": true,
+ "$ref": "AppHub"
+ },
+ "timestamp": {
+ "type": "string",
+ "format": "google-datetime",
+ "description": "Optional. The time the event described by the log entry occurred. This time is used to compute the log entry's age and to enforce the logs retention period. If this field is omitted in a new log entry, then Logging assigns it the current time. Timestamps have nanosecond accuracy, but trailing zeros in the fractional seconds might be omitted when the timestamp is displayed.Incoming log entries must have timestamps that don't exceed the logs retention period (https://cloud.google.com/logging/quotas#logs_retention_periods) in the past, and that don't exceed 24 hours in the future. Log entries outside those time boundaries are rejected by Logging."
+ }
+ },
+ "description": "An individual entry in a log.",
+ "type": "object",
+ "id": "LogEntry"
+ },
+ "Explicit": {
+ "id": "Explicit",
+ "properties": {
+ "bounds": {
+ "items": {
+ "type": "number",
+ "format": "double"
+ },
+ "description": "The values must be monotonically increasing.",
+ "type": "array"
+ }
+ },
+ "description": "Specifies a set of buckets with arbitrary widths.There are size(bounds) + 1 (= N) buckets. Bucket i has the following boundaries:Upper bound (0 \u003c= i \u003c N-1): boundsi Lower bound (1 \u003c= i \u003c N); boundsi - 1The bounds field must contain at least one element. If bounds has only one element, then there are no finite buckets, and that single element is the common boundary of the overflow and underflow buckets.",
+ "type": "object"
+ },
+ "LogEntryOperation": {
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "Optional. An arbitrary operation identifier. Log entries with the same identifier are assumed to be part of the same operation."
+ },
+ "producer": {
+ "description": "Optional. An arbitrary producer identifier. The combination of id and producer must be globally unique. Examples for producer: \"MyDivision.MyBigCompany.com\", \"github.com/MyProject/MyApplication\".",
+ "type": "string"
+ },
+ "first": {
+ "type": "boolean",
+ "description": "Optional. Set this to True if this is the first log entry in the operation."
+ },
+ "last": {
+ "description": "Optional. Set this to True if this is the last log entry in the operation.",
+ "type": "boolean"
+ }
+ },
+ "id": "LogEntryOperation",
+ "type": "object",
+ "description": "Additional information about a potentially long-running operation with which a log entry is associated."
+ },
+ "SavedQuery": {
+ "description": "Describes a query that has been saved by a user.",
+ "properties": {
+ "loggingQuery": {
+ "$ref": "LoggingQuery",
+ "description": "Logging query that can be executed in Logs Explorer or via Logging API."
+ },
+ "updateTime": {
+ "description": "Output only. The timestamp when the saved query was last updated.",
+ "readOnly": true,
+ "type": "string",
+ "format": "google-datetime"
+ },
+ "description": {
+ "type": "string",
+ "description": "Optional. A human readable description of the saved query."
+ },
+ "opsAnalyticsQuery": {
+ "$ref": "OpsAnalyticsQuery",
+ "description": "Analytics query that can be executed in Log Analytics."
+ },
+ "name": {
+ "readOnly": true,
+ "description": "Output only. Resource name of the saved query.In the format: \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/savedQueries/[QUERY_ID]\" For a list of supported locations, see Supported Regions (https://cloud.google.com/logging/docs/region-support#bucket-regions)After the saved query is created, the location cannot be changed.If the user doesn't provide a QUERY_ID, the system will generate an alphanumeric ID.",
+ "type": "string"
+ },
+ "displayName": {
+ "description": "Required. The user specified title for the SavedQuery.",
+ "type": "string"
+ },
+ "createTime": {
+ "description": "Output only. The timestamp when the saved query was created.",
+ "readOnly": true,
+ "type": "string",
+ "format": "google-datetime"
+ },
+ "visibility": {
+ "type": "string",
+ "enumDescriptions": [
+ "The saved query visibility is unspecified. A CreateSavedQuery request with an unspecified visibility will be rejected.",
+ "The saved query is only visible to the user that created it.",
+ "The saved query is visible to anyone in the project."
+ ],
+ "enum": [
+ "VISIBILITY_UNSPECIFIED",
+ "PRIVATE",
+ "SHARED"
+ ],
+ "description": "Required. The visibility status of this query, which determines its ownership."
+ }
+ },
+ "id": "SavedQuery",
+ "type": "object"
+ },
+ "Linear": {
+ "description": "Specifies a linear sequence of buckets that all have the same width (except overflow and underflow). Each bucket represents a constant absolute uncertainty on the specific value in the bucket.There are num_finite_buckets + 2 (= N) buckets. Bucket i has the following boundaries:Upper bound (0 \u003c= i \u003c N-1): offset + (width * i).Lower bound (1 \u003c= i \u003c N): offset + (width * (i - 1)).",
+ "type": "object",
+ "properties": {
+ "width": {
+ "format": "double",
+ "description": "Must be greater than 0.",
+ "type": "number"
+ },
+ "numFiniteBuckets": {
+ "format": "int32",
+ "type": "integer",
+ "description": "Must be greater than 0."
+ },
+ "offset": {
+ "description": "Lower bound of the first bucket.",
+ "format": "double",
+ "type": "number"
+ }
+ },
+ "id": "Linear"
+ },
+ "ListLocationsResponse": {
+ "id": "ListLocationsResponse",
+ "properties": {
+ "nextPageToken": {
+ "type": "string",
+ "description": "The standard List next-page token."
+ },
+ "locations": {
+ "description": "A list of locations that matches the specified filter in the request.",
+ "type": "array",
+ "items": {
+ "$ref": "Location"
+ }
+ }
+ },
+ "description": "The response message for Locations.ListLocations.",
+ "type": "object"
+ },
+ "SuppressionInfo": {
+ "description": "Information about entries that were omitted from the session.",
+ "id": "SuppressionInfo",
+ "properties": {
+ "suppressedCount": {
+ "format": "int32",
+ "type": "integer",
+ "description": "A lower bound on the count of entries omitted due to reason."
+ },
+ "reason": {
+ "enum": [
+ "REASON_UNSPECIFIED",
+ "RATE_LIMIT",
+ "NOT_CONSUMED"
+ ],
+ "enumDescriptions": [
+ "Unexpected default.",
+ "Indicates suppression occurred due to relevant entries being received in excess of rate limits. For quotas and limits, see Logging API quotas and limits (https://cloud.google.com/logging/quotas#api-limits).",
+ "Indicates suppression occurred due to the client not consuming responses quickly enough."
+ ],
+ "type": "string",
+ "description": "The reason that entries were omitted from the session."
+ }
+ },
+ "type": "object"
+ },
+ "TestIamPermissionsRequest": {
+ "description": "Request message for TestIamPermissions method.",
+ "type": "object",
+ "id": "TestIamPermissionsRequest",
+ "properties": {
+ "permissions": {
+ "description": "The set of permissions to check for the resource. Permissions with wildcards (such as * or storage.*) are not allowed. For more information see IAM Overview (https://cloud.google.com/iam/docs/overview#permissions).",
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ }
+ }
+ },
+ "Link": {
+ "properties": {
+ "description": {
+ "type": "string",
+ "description": "Optional. Describes this link.The maximum length of the description is 8000 characters."
+ },
+ "createTime": {
+ "description": "Output only. The creation timestamp of the link.",
+ "format": "google-datetime",
+ "type": "string",
+ "readOnly": true
+ },
+ "name": {
+ "description": "Output only. The resource name of the link. The name can have up to 100 characters. A valid link id (at the end of the link name) must only have alphanumeric characters and underscores within it. \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]\" \"organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]\" \"folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]\" For example:`projects/my-project/locations/global/buckets/my-bucket/links/my_link",
+ "type": "string",
+ "readOnly": true
+ },
+ "lifecycleState": {
+ "enumDescriptions": [
+ "Unspecified state. This is only used/useful for distinguishing unset values.",
+ "The normal and active state.",
+ "The resource has been marked for deletion by the user. For some resources (e.g. buckets), this can be reversed by an un-delete operation.",
+ "The resource has been marked for an update by the user. It will remain in this state until the update is complete.",
+ "The resource has been marked for creation by the user. It will remain in this state until the creation is complete.",
+ "The resource is in an INTERNAL error state."
+ ],
+ "description": "Output only. The resource lifecycle state.",
+ "readOnly": true,
+ "enum": [
+ "LIFECYCLE_STATE_UNSPECIFIED",
+ "ACTIVE",
+ "DELETE_REQUESTED",
+ "UPDATING",
+ "CREATING",
+ "FAILED"
+ ],
+ "type": "string"
+ },
+ "bigqueryDataset": {
+ "$ref": "BigQueryDataset",
+ "description": "Optional. The information of a BigQuery Dataset. When a link is created, a BigQuery dataset is created along with it, in the same project as the LogBucket it's linked to. This dataset will also have BigQuery Views corresponding to the LogViews in the bucket."
+ }
+ },
+ "id": "Link",
+ "type": "object",
+ "description": "Describes a link connected to an analytics enabled bucket."
+ },
+ "UpdateBucketRequest": {
+ "description": "The parameters to UpdateBucket.",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "Required. The full resource name of the bucket to update. \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" For example:\"projects/my-project/locations/global/buckets/my-bucket\""
+ },
+ "updateMask": {
+ "format": "google-fieldmask",
+ "description": "Required. Field mask that specifies the fields in bucket that need an update. A bucket field will be overwritten if, and only if, it is in the update mask. name and output only fields cannot be updated.For a detailed FieldMask definition, see: https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMaskFor example: updateMask=retention_days",
+ "type": "string"
+ },
+ "bucket": {
+ "$ref": "LogBucket",
+ "description": "Required. The updated bucket."
+ }
+ },
+ "id": "UpdateBucketRequest"
+ },
+ "Expr": {
+ "type": "object",
+ "description": "Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec.Example (Comparison): title: \"Summary size limit\" description: \"Determines if a summary is less than 100 chars\" expression: \"document.summary.size() \u003c 100\" Example (Equality): title: \"Requestor is owner\" description: \"Determines if requestor is the document owner\" expression: \"document.owner == request.auth.claims.email\" Example (Logic): title: \"Public documents\" description: \"Determine whether the document should be publicly visible\" expression: \"document.type != 'private' && document.type != 'internal'\" Example (Data Manipulation): title: \"Notification string\" description: \"Create a notification string with a timestamp.\" expression: \"'New message received at ' + string(document.create_time)\" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information.",
+ "properties": {
+ "title": {
+ "description": "Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.",
+ "type": "string"
+ },
+ "description": {
+ "description": "Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.",
+ "type": "string"
+ },
+ "location": {
+ "type": "string",
+ "description": "Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file."
+ },
+ "expression": {
+ "description": "Textual representation of an expression in Common Expression Language syntax.",
+ "type": "string"
+ }
+ },
+ "id": "Expr"
+ },
+ "ListLogMetricsResponse": {
+ "type": "object",
+ "id": "ListLogMetricsResponse",
+ "description": "Result returned from ListLogMetrics.",
+ "properties": {
+ "metrics": {
+ "type": "array",
+ "items": {
+ "$ref": "LogMetric"
+ },
+ "description": "A list of logs-based metrics."
+ },
+ "nextPageToken": {
+ "type": "string",
+ "description": "If there might be more results than appear in this response, then nextPageToken is included. To get the next set of results, call this method again using the value of nextPageToken as pageToken."
+ }
+ }
+ },
+ "HttpRequest": {
+ "properties": {
+ "serverIp": {
+ "description": "The IP address (IPv4 or IPv6) of the origin server that the request was sent to. This field can include port information. Examples: \"192.168.1.1\", \"10.0.0.1:80\", \"FE80::0202:B3FF:FE1E:8329\".",
+ "type": "string"
+ },
+ "referer": {
+ "type": "string",
+ "description": "The referer URL of the request, as defined in HTTP/1.1 Header Field Definitions (https://datatracker.ietf.org/doc/html/rfc2616#section-14.36)."
+ },
+ "remoteIp": {
+ "type": "string",
+ "description": "The IP address (IPv4 or IPv6) of the client that issued the HTTP request. This field can include port information. Examples: \"192.168.1.1\", \"10.0.0.1:80\", \"FE80::0202:B3FF:FE1E:8329\"."
+ },
+ "cacheLookup": {
+ "description": "Whether or not a cache lookup was attempted.",
+ "type": "boolean"
+ },
+ "cacheFillBytes": {
+ "description": "The number of HTTP response bytes inserted into cache. Set only when a cache fill was attempted.",
+ "format": "int64",
+ "type": "string"
+ },
+ "requestMethod": {
+ "type": "string",
+ "description": "The request method. Examples: \"GET\", \"HEAD\", \"PUT\", \"POST\"."
+ },
+ "latency": {
+ "format": "google-duration",
+ "type": "string",
+ "description": "The request processing latency on the server, from the time the request was received until the response was sent. For WebSocket connections, this field refers to the entire time duration of the connection."
+ },
+ "userAgent": {
+ "type": "string",
+ "description": "The user agent sent by the client. Example: \"Mozilla/4.0 (compatible; MSIE 6.0; Windows 98; Q312461; .NET CLR 1.0.3705)\"."
+ },
+ "status": {
+ "format": "int32",
+ "description": "The response code indicating the status of response. Examples: 200, 404.",
+ "type": "integer"
+ },
+ "cacheValidatedWithOriginServer": {
+ "description": "Whether or not the response was validated with the origin server before being served from cache. This field is only meaningful if cache_hit is True.",
+ "type": "boolean"
+ },
+ "responseSize": {
+ "description": "The size of the HTTP response message sent back to the client, in bytes, including the response headers and the response body.",
+ "type": "string",
+ "format": "int64"
+ },
+ "protocol": {
+ "description": "Protocol used for the request. Examples: \"HTTP/1.1\", \"HTTP/2\"",
+ "type": "string"
+ },
+ "requestSize": {
+ "format": "int64",
+ "type": "string",
+ "description": "The size of the HTTP request message in bytes, including the request headers and the request body."
+ },
+ "requestUrl": {
+ "type": "string",
+ "description": "The scheme (http, https), the host name, the path and the query portion of the URL that was requested. Example: \"http://example.com/some/info?color=red\"."
+ },
+ "cacheHit": {
+ "type": "boolean",
+ "description": "Whether or not an entity was served from cache (with or without validation)."
+ }
+ },
+ "id": "HttpRequest",
+ "description": "A common proto for logging HTTP requests. Only contains semantics defined by the HTTP specification. Product-specific logging information MUST be defined in a separate message.",
+ "type": "object"
+ },
+ "UndeleteBucketRequest": {
+ "description": "The parameters to UndeleteBucket.",
+ "type": "object",
+ "properties": {},
+ "id": "UndeleteBucketRequest"
+ },
+ "LogView": {
+ "type": "object",
+ "id": "LogView",
+ "description": "Describes a view over log entries in a bucket.",
+ "properties": {
+ "filter": {
+ "type": "string",
+ "description": "Optional. Filter that restricts which log entries in a bucket are visible in this view.Filters must be logical conjunctions that use the AND operator, and they can use any of the following qualifiers: SOURCE(), which specifies a project, folder, organization, or billing account of origin. resource.type, which specifies the resource type. LOG_ID(), which identifies the log.They can also use the negations of these qualifiers with the NOT operator.For example:SOURCE(\"projects/myproject\") AND resource.type = \"gce_instance\" AND NOT LOG_ID(\"stdout\")"
+ },
+ "createTime": {
+ "description": "Output only. The creation timestamp of the view.",
+ "readOnly": true,
+ "format": "google-datetime",
+ "type": "string"
+ },
+ "name": {
+ "type": "string",
+ "description": "Output only. The resource name of the view.For example:projects/my-project/locations/global/buckets/my-bucket/views/my-view",
+ "readOnly": true
+ },
+ "updateTime": {
+ "readOnly": true,
+ "format": "google-datetime",
+ "description": "Output only. The last update timestamp of the view.",
+ "type": "string"
+ },
+ "description": {
+ "description": "Optional. Describes this view.",
+ "type": "string"
+ }
+ }
+ },
+ "LoggingQuery": {
+ "id": "LoggingQuery",
+ "description": "Describes a Cloud Logging query that can be run in Logs Explorer UI or via the logging API.In addition to the query itself, additional information may be stored to capture the display configuration and other UI state used in association with analysis of query results.",
+ "type": "object",
+ "properties": {
+ "summaryFieldEnd": {
+ "description": "Characters will be counted from the end of the string.",
+ "type": "integer",
+ "format": "int32"
+ },
+ "filter": {
+ "description": "Required. An advanced query using the Logging Query Language (https://cloud.google.com/logging/docs/view/logging-query-language). The maximum length of the filter is 20000 characters.",
+ "type": "string"
+ },
+ "summaryFields": {
+ "items": {
+ "$ref": "SummaryField"
+ },
+ "description": "Optional. The set of summary fields to display for this saved query.",
+ "type": "array"
+ },
+ "summaryFieldStart": {
+ "type": "integer",
+ "description": "Characters will be counted from the start of the string.",
+ "format": "int32"
+ }
+ }
+ },
+ "CmekSettings": {
+ "id": "CmekSettings",
+ "properties": {
+ "kmsKeyVersionName": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Output only. The CryptoKeyVersion resource name for the configured Cloud KMS key.KMS key name format: \"projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/cryptoKeys/[KEY]/cryptoKeyVersions/[VERSION]\" For example:\"projects/my-project/locations/us-central1/keyRings/my-ring/cryptoKeys/my-key/cryptoKeyVersions/1\"This is a read-only field used to convey the specific configured CryptoKeyVersion of kms_key that has been configured. It will be populated in cases where the CMEK settings are bound to a single key version.If this field is populated, the kms_key is tied to a specific CryptoKeyVersion."
+ },
+ "kmsKeyName": {
+ "type": "string",
+ "description": "Optional. The resource name for the configured Cloud KMS key.KMS key name format: \"projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/cryptoKeys/[KEY]\" For example:\"projects/my-project/locations/us-central1/keyRings/my-ring/cryptoKeys/my-key\"To enable CMEK for the Log Router, set this field to a valid kms_key_name for which the associated service account has the needed cloudkms.cryptoKeyEncrypterDecrypter roles assigned for the key.The Cloud KMS key used by the Log Router can be updated by changing the kms_key_name to a new valid key name or disabled by setting the key name to an empty string. Encryption operations that are in progress will be completed with the key that was in use when they started. Decryption operations will be completed using the key that was used at the time of encryption unless access to that key has been revoked.To disable CMEK for the Log Router, set this field to an empty string.See Enabling CMEK for Log Router (https://cloud.google.com/logging/docs/routing/managed-encryption) for more information."
+ },
+ "serviceAccountId": {
+ "description": "Output only. The service account that will be used by the Log Router to access your Cloud KMS key.Before enabling CMEK for Log Router, you must first assign the cloudkms.cryptoKeyEncrypterDecrypter role to the service account that the Log Router will use to access your Cloud KMS key. Use GetCmekSettings to obtain the service account ID.See Enabling CMEK for Log Router (https://cloud.google.com/logging/docs/routing/managed-encryption) for more information.",
+ "type": "string",
+ "readOnly": true
+ },
+ "name": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Output only. The resource name of the CMEK settings."
+ }
+ },
+ "type": "object",
+ "description": "Describes the customer-managed encryption key (CMEK) settings associated with a project, folder, organization, billing account, or flexible resource.Note: CMEK for the Log Router can currently only be configured for Google Cloud organizations. Once configured, it applies to all projects and folders in the Google Cloud organization.See Enabling CMEK for Log Router (https://cloud.google.com/logging/docs/routing/managed-encryption) for more information."
+ },
+ "MonitoredResource": {
+ "description": "An object representing a resource that can be used for monitoring, logging, billing, or other purposes. Examples include virtual machine instances, databases, and storage devices such as disks. The type field identifies a MonitoredResourceDescriptor object that describes the resource's schema. Information in the labels field identifies the actual resource and its attributes according to the schema. For example, a particular Compute Engine VM instance could be represented by the following object, because the MonitoredResourceDescriptor for \"gce_instance\" has labels \"project_id\", \"instance_id\" and \"zone\": { \"type\": \"gce_instance\", \"labels\": { \"project_id\": \"my-project\", \"instance_id\": \"12345678901234\", \"zone\": \"us-central1-a\" }} ",
+ "id": "MonitoredResource",
+ "type": "object",
+ "properties": {
+ "labels": {
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "Required. Values for all of the labels listed in the associated monitored resource descriptor. For example, Compute Engine VM instances use the labels \"project_id\", \"instance_id\", and \"zone\".",
+ "type": "object"
+ },
+ "type": {
+ "description": "Required. The monitored resource type. This field must match the type field of a MonitoredResourceDescriptor object. For example, the type of a Compute Engine VM instance is gce_instance. Some descriptors include the service name in the type; for example, the type of a Datastream stream is datastream.googleapis.com/Stream.",
+ "type": "string"
+ }
+ }
+ },
+ "ListLogEntriesResponse": {
+ "id": "ListLogEntriesResponse",
+ "properties": {
+ "entries": {
+ "type": "array",
+ "items": {
+ "$ref": "LogEntry"
+ },
+ "description": "A list of log entries. If entries is empty, nextPageToken may still be returned, indicating that more entries may exist. See nextPageToken for more information."
+ },
+ "nextPageToken": {
+ "type": "string",
+ "description": "If there might be more results than those appearing in this response, then nextPageToken is included. To get the next set of results, call this method again using the value of nextPageToken as pageToken.If a value for next_page_token appears and the entries field is empty, it means that the search found no log entries so far but it did not have time to search all the possible log entries. Retry the method with this value for page_token to continue the search. Alternatively, consider speeding up the search by changing your filter to specify a single log name or resource type, or to narrow the time range of the search."
+ }
+ },
+ "description": "Result returned from ListLogEntries.",
+ "type": "object"
+ },
+ "AppHubWorkload": {
+ "type": "object",
+ "id": "AppHubWorkload",
+ "description": "Metadata associated with an App Hub workload.",
+ "properties": {
+ "criticalityType": {
+ "description": "Workload criticality type Example: \"CRITICAL\"",
+ "type": "string"
+ },
+ "id": {
+ "description": "Workload Id. Example: \"my-workload\"",
+ "type": "string"
+ },
+ "environmentType": {
+ "type": "string",
+ "description": "Workload environment type Example: \"DEV\""
+ }
+ }
+ },
+ "CreateLinkRequest": {
+ "properties": {
+ "linkId": {
+ "type": "string",
+ "description": "Required. The ID to use for the link. The link_id can have up to 100 characters. A valid link_id must only have alphanumeric characters and underscores within it."
+ },
+ "parent": {
+ "type": "string",
+ "description": "Required. The full resource name of the bucket to create a link for. \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" "
+ },
+ "link": {
+ "description": "Required. The new link.",
+ "$ref": "Link"
+ }
+ },
+ "description": "The parameters to CreateLink.",
+ "id": "CreateLinkRequest",
+ "type": "object"
+ }
+ },
+ "version": "v2",
+ "protocol": "rest",
+ "documentationLink": "https://cloud.google.com/logging/docs/",
+ "endpoints": [
+ {
+ "endpointUrl": "https://logging.africa-south1.rep.googleapis.com/",
+ "description": "Regional Endpoint",
+ "location": "africa-south1"
+ },
+ {
+ "endpointUrl": "https://logging.asia-east1.rep.googleapis.com/",
+ "description": "Regional Endpoint",
+ "location": "asia-east1"
+ },
+ {
+ "description": "Regional Endpoint",
+ "location": "asia-east2",
+ "endpointUrl": "https://logging.asia-east2.rep.googleapis.com/"
+ },
+ {
+ "endpointUrl": "https://logging.asia-northeast1.rep.googleapis.com/",
+ "location": "asia-northeast1",
+ "description": "Regional Endpoint"
+ },
+ {
+ "endpointUrl": "https://logging.asia-northeast2.rep.googleapis.com/",
+ "description": "Regional Endpoint",
+ "location": "asia-northeast2"
+ },
+ {
+ "description": "Regional Endpoint",
+ "endpointUrl": "https://logging.asia-northeast3.rep.googleapis.com/",
+ "location": "asia-northeast3"
+ },
+ {
+ "endpointUrl": "https://logging.asia-south1.rep.googleapis.com/",
+ "description": "Regional Endpoint",
+ "location": "asia-south1"
+ },
+ {
+ "endpointUrl": "https://logging.asia-south2.rep.googleapis.com/",
+ "description": "Regional Endpoint",
+ "location": "asia-south2"
+ },
+ {
+ "endpointUrl": "https://logging.asia-southeast1.rep.googleapis.com/",
+ "description": "Regional Endpoint",
+ "location": "asia-southeast1"
+ },
+ {
+ "location": "asia-southeast2",
+ "endpointUrl": "https://logging.asia-southeast2.rep.googleapis.com/",
+ "description": "Regional Endpoint"
+ },
+ {
+ "endpointUrl": "https://logging.asia-southeast3.rep.googleapis.com/",
+ "description": "Regional Endpoint",
+ "location": "asia-southeast3"
+ },
+ {
+ "location": "australia-southeast1",
+ "description": "Regional Endpoint",
+ "endpointUrl": "https://logging.australia-southeast1.rep.googleapis.com/"
+ },
+ {
+ "endpointUrl": "https://logging.australia-southeast2.rep.googleapis.com/",
+ "description": "Regional Endpoint",
+ "location": "australia-southeast2"
+ },
+ {
+ "location": "europe-central2",
+ "endpointUrl": "https://logging.europe-central2.rep.googleapis.com/",
+ "description": "Regional Endpoint"
+ },
+ {
+ "location": "europe-north1",
+ "description": "Regional Endpoint",
+ "endpointUrl": "https://logging.europe-north1.rep.googleapis.com/"
+ },
+ {
+ "endpointUrl": "https://logging.europe-north2.rep.googleapis.com/",
+ "description": "Regional Endpoint",
+ "location": "europe-north2"
+ },
+ {
+ "location": "europe-north3",
+ "description": "Regional Endpoint",
+ "endpointUrl": "https://logging.europe-north3.rep.googleapis.com/"
+ },
+ {
+ "endpointUrl": "https://logging.europe-southwest1.rep.googleapis.com/",
+ "location": "europe-southwest1",
+ "description": "Regional Endpoint"
+ },
+ {
+ "location": "europe-west1",
+ "endpointUrl": "https://logging.europe-west1.rep.googleapis.com/",
+ "description": "Regional Endpoint"
+ },
+ {
+ "description": "Regional Endpoint",
+ "endpointUrl": "https://logging.europe-west10.rep.googleapis.com/",
+ "location": "europe-west10"
+ },
+ {
+ "location": "europe-west12",
+ "description": "Regional Endpoint",
+ "endpointUrl": "https://logging.europe-west12.rep.googleapis.com/"
+ },
+ {
+ "location": "europe-west15",
+ "description": "Regional Endpoint",
+ "endpointUrl": "https://logging.europe-west15.rep.googleapis.com/"
+ },
+ {
+ "location": "europe-west2",
+ "endpointUrl": "https://logging.europe-west2.rep.googleapis.com/",
+ "description": "Regional Endpoint"
+ },
+ {
+ "endpointUrl": "https://logging.europe-west3.rep.googleapis.com/",
+ "location": "europe-west3",
+ "description": "Regional Endpoint"
+ },
+ {
+ "location": "europe-west4",
+ "description": "Regional Endpoint",
+ "endpointUrl": "https://logging.europe-west4.rep.googleapis.com/"
+ },
+ {
+ "endpointUrl": "https://logging.europe-west6.rep.googleapis.com/",
+ "description": "Regional Endpoint",
+ "location": "europe-west6"
+ },
+ {
+ "location": "europe-west8",
+ "description": "Regional Endpoint",
+ "endpointUrl": "https://logging.europe-west8.rep.googleapis.com/"
+ },
+ {
+ "endpointUrl": "https://logging.europe-west9.rep.googleapis.com/",
+ "description": "Regional Endpoint",
+ "location": "europe-west9"
+ },
+ {
+ "description": "Regional Endpoint",
+ "location": "me-central1",
+ "endpointUrl": "https://logging.me-central1.rep.googleapis.com/"
+ },
+ {
+ "description": "Regional Endpoint",
+ "endpointUrl": "https://logging.me-central2.rep.googleapis.com/",
+ "location": "me-central2"
+ },
+ {
+ "location": "me-west1",
+ "description": "Regional Endpoint",
+ "endpointUrl": "https://logging.me-west1.rep.googleapis.com/"
+ },
+ {
+ "description": "Regional Endpoint",
+ "location": "northamerica-northeast1",
+ "endpointUrl": "https://logging.northamerica-northeast1.rep.googleapis.com/"
+ },
+ {
+ "description": "Regional Endpoint",
+ "endpointUrl": "https://logging.northamerica-northeast2.rep.googleapis.com/",
+ "location": "northamerica-northeast2"
+ },
+ {
+ "location": "northamerica-south1",
+ "endpointUrl": "https://logging.northamerica-south1.rep.googleapis.com/",
+ "description": "Regional Endpoint"
+ },
+ {
+ "location": "southamerica-east1",
+ "endpointUrl": "https://logging.southamerica-east1.rep.googleapis.com/",
+ "description": "Regional Endpoint"
+ },
+ {
+ "description": "Regional Endpoint",
+ "endpointUrl": "https://logging.southamerica-west1.rep.googleapis.com/",
+ "location": "southamerica-west1"
+ },
+ {
+ "location": "us-central1",
+ "description": "Regional Endpoint",
+ "endpointUrl": "https://logging.us-central1.rep.googleapis.com/"
+ },
+ {
+ "description": "Regional Endpoint",
+ "location": "us-central2",
+ "endpointUrl": "https://logging.us-central2.rep.googleapis.com/"
+ },
+ {
+ "description": "Regional Endpoint",
+ "endpointUrl": "https://logging.us-east1.rep.googleapis.com/",
+ "location": "us-east1"
+ },
+ {
+ "location": "us-east4",
+ "endpointUrl": "https://logging.us-east4.rep.googleapis.com/",
+ "description": "Regional Endpoint"
+ },
+ {
+ "endpointUrl": "https://logging.us-east5.rep.googleapis.com/",
+ "location": "us-east5",
+ "description": "Regional Endpoint"
+ },
+ {
+ "description": "Regional Endpoint",
+ "endpointUrl": "https://logging.us-east7.rep.googleapis.com/",
+ "location": "us-east7"
+ },
+ {
+ "endpointUrl": "https://logging.us-south1.rep.googleapis.com/",
+ "location": "us-south1",
+ "description": "Regional Endpoint"
+ },
+ {
+ "endpointUrl": "https://logging.us-west1.rep.googleapis.com/",
+ "location": "us-west1",
+ "description": "Regional Endpoint"
+ },
+ {
+ "endpointUrl": "https://logging.us-west2.rep.googleapis.com/",
+ "description": "Regional Endpoint",
+ "location": "us-west2"
+ },
+ {
+ "endpointUrl": "https://logging.us-west3.rep.googleapis.com/",
+ "description": "Regional Endpoint",
+ "location": "us-west3"
+ },
+ {
+ "location": "us-west4",
+ "description": "Regional Endpoint",
+ "endpointUrl": "https://logging.us-west4.rep.googleapis.com/"
+ },
+ {
+ "endpointUrl": "https://logging.us-west8.rep.googleapis.com/",
+ "description": "Regional Endpoint",
+ "location": "us-west8"
+ },
+ {
+ "endpointUrl": "https://logging.eu.rep.googleapis.com/",
+ "description": "Regional Endpoint",
+ "location": "eu"
+ },
+ {
+ "endpointUrl": "https://logging.in.rep.googleapis.com/",
+ "location": "in",
+ "description": "Regional Endpoint"
+ },
+ {
+ "endpointUrl": "https://logging.us.rep.googleapis.com/",
+ "location": "us",
+ "description": "Regional Endpoint"
+ }
+ ],
+ "parameters": {
+ "alt": {
+ "description": "Data format for response.",
+ "type": "string",
+ "enum": [
+ "json",
+ "media",
+ "proto"
+ ],
+ "default": "json",
+ "enumDescriptions": [
+ "Responses with Content-Type of application/json",
+ "Media download with context-dependent Content-Type",
+ "Responses with Content-Type of application/x-protobuf"
+ ],
+ "location": "query"
+ },
+ "uploadType": {
+ "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
+ "location": "query",
+ "type": "string"
+ },
+ "fields": {
+ "location": "query",
+ "type": "string",
+ "description": "Selector specifying which fields to include in a partial response."
+ },
+ "prettyPrint": {
+ "type": "boolean",
+ "location": "query",
+ "description": "Returns response with indentations and line breaks.",
+ "default": "true"
+ },
+ "quotaUser": {
+ "type": "string",
+ "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.",
+ "location": "query"
+ },
+ "callback": {
+ "description": "JSONP",
+ "type": "string",
+ "location": "query"
+ },
+ "oauth_token": {
+ "description": "OAuth 2.0 token for the current user.",
+ "type": "string",
+ "location": "query"
+ },
+ "access_token": {
+ "type": "string",
+ "description": "OAuth access token.",
+ "location": "query"
+ },
+ "key": {
+ "location": "query",
+ "description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.",
+ "type": "string"
+ },
+ "upload_protocol": {
+ "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").",
+ "type": "string",
+ "location": "query"
+ },
+ "$.xgafv": {
+ "description": "V1 error format.",
+ "type": "string",
+ "location": "query",
+ "enumDescriptions": [
+ "v1 error format",
+ "v2 error format"
+ ],
+ "enum": [
+ "1",
+ "2"
+ ]
+ }
+ },
+ "canonicalName": "Logging",
+ "batchPath": "batch",
+ "revision": "20251202",
+ "id": "logging:v2",
+ "rootUrl": "https://logging.googleapis.com/",
+ "discoveryVersion": "v1",
+ "ownerName": "Google",
+ "mtlsRootUrl": "https://logging.mtls.googleapis.com/",
+ "auth": {
+ "oauth2": {
+ "scopes": {
+ "https://www.googleapis.com/auth/cloud-platform": {
+ "description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account."
+ },
+ "https://www.googleapis.com/auth/cloud-platform.read-only": {
+ "description": "View your data across Google Cloud services and see the email address of your Google Account"
+ },
+ "https://www.googleapis.com/auth/logging.admin": {
+ "description": "Administrate log data for your projects"
+ },
+ "https://www.googleapis.com/auth/logging.read": {
+ "description": "View log data for your projects"
+ },
+ "https://www.googleapis.com/auth/logging.write": {
+ "description": "Submit log data for your projects"
+ }
+ }
+ }
+ },
+ "title": "Cloud Logging API",
+ "icons": {
+ "x32": "http://www.google.com/images/icons/product/search-32.gif",
+ "x16": "http://www.google.com/images/icons/product/search-16.gif"
+ }
+}
diff --git a/sat_dec_20_2025_open_a_pull_request_with_improvements.json b/sat_dec_20_2025_open_a_pull_request_with_improvements.json
new file mode 100644
index 0000000..ed9d4bc
--- /dev/null
+++ b/sat_dec_20_2025_open_a_pull_request_with_improvements.json
@@ -0,0 +1,276 @@
+{
+ "currentUserLogin": "Madib036",
+ "threadUrl": "https://github.com/copilot/c/f6af22ef-6e00-4329-aa9f-96dd03831b89",
+ "threadName": "Open a pull request with improvements",
+ "messages": [
+ {
+ "id": "root",
+ "role": "user",
+ "createdAt": "",
+ "threadID": "",
+ "references": null
+ },
+ {
+ "id": "cb84937a-5be4-4eb8-8b05-be19ad90498c",
+ "parentMessageID": "root",
+ "intent": "conversation",
+ "role": "user",
+ "content": "Yes",
+ "createdAt": "2025-12-20T09:29:48.158016278Z",
+ "threadID": "f6af22ef-6e00-4329-aa9f-96dd03831b89",
+ "references": [],
+ "skillExecutions": []
+ },
+ {
+ "id": "11379059-1d86-4208-a557-ad56b4a0aa2f",
+ "parentMessageID": "cb84937a-5be4-4eb8-8b05-be19ad90498c",
+ "intent": "conversation",
+ "role": "assistant",
+ "content": "Got it — can you clarify what you mean by “Yes”? What would you like me to do next? For example:\n\n- Create or update a GitHub issue\n- Draft a pull request or review an existing one\n- Search code in a repository or explain a file\n- Run a web search for up-to-date info\n- Write or modify a file (show me the repo/owner and branch)\n- Answer a question or provide instructions\n\nTell me which of these (or something else) and any details (repo name, issue text, query, etc.).",
+ "createdAt": "2025-12-20T09:29:48.158042227Z",
+ "threadID": "f6af22ef-6e00-4329-aa9f-96dd03831b89",
+ "references": [],
+ "skillExecutions": []
+ },
+ {
+ "id": "00daf09c-bdf6-4ff4-9911-7bd37ea0e839",
+ "parentMessageID": "37083e13-6490-42b0-9353-6fc7a8283de5",
+ "intent": "conversation",
+ "role": "user",
+ "content": "Open a PR with this change.\nMake additional improvements (e.g., validate cfg contents after load, handle empty confPath)",
+ "createdAt": "2025-12-20T09:30:04.663543623Z",
+ "threadID": "f6af22ef-6e00-4329-aa9f-96dd03831b89",
+ "references": [],
+ "skillExecutions": []
+ },
+ {
+ "id": "82fcf46f-ea5b-428e-86b6-61d8ae116fca",
+ "parentMessageID": "00daf09c-bdf6-4ff4-9911-7bd37ea0e839",
+ "intent": "conversation",
+ "role": "assistant",
+ "content": "I can make those changes and open a PR, but I need a few details before I can push anything.\n\nWhat I need from you\n- Repository (owner/name), e.g. \"acme/my-repo\" — I cannot proceed without the owner/repo.\n- Path(s) of the file(s) to change (or confirm I should search the repo for the config loader).\n- Preferred base branch (e.g. main) and preferred feature branch name (I can pick one like fix/config-validate if you want).\n- PR title and short description (or I can draft them: e.g. \"Validate config after load; handle empty confPath\" with a summary of changes).\n- Any language / project constraints I should know about (Go, Python, Node, etc.), or tests/style guidelines.\n\nPlanned changes (what I'll implement)\n- If confPath is empty:\n - either treat as \"use built-in default\" (if repo expects that) or return a clear error — confirm which behavior you want.\n- After loading config file:\n - validate required fields are present and types/values are sensible (e.g., non-empty strings, positive ints, valid host/port, etc.).\n - surface validation errors with actionable messages.\n- Add unit tests for:\n - empty confPath behavior\n - invalid/missing required fields\n - valid config passes\n- Add/update small integration or README note if needed.\n- Add or update error-wrapping/log lines for easier debugging.\n\nNext step\n- Provide the repo owner/name and the other details above and I will:\n 1) create a branch,\n 2) implement the changes,\n 3) run tests (if available in CI or locally where possible),\n 4) open a PR and paste the PR link here.\n\nIf you want, I can also draft the exact code changes here for review before pushing — tell me the language and the config-loading file path and I’ll produce a patch. Which repository should I use?",
+ "createdAt": "2025-12-20T09:30:04.663567129Z",
+ "threadID": "f6af22ef-6e00-4329-aa9f-96dd03831b89",
+ "references": [],
+ "skillExecutions": []
+ },
+ {
+ "id": "9d37b99c-f64a-4d74-bd77-bbce1f28d0fc",
+ "parentMessageID": "82fcf46f-ea5b-428e-86b6-61d8ae116fca",
+ "intent": "conversation",
+ "role": "user",
+ "content": "internal/config/config.go\n",
+ "createdAt": "2025-12-20T09:31:24.158392812Z",
+ "threadID": "f6af22ef-6e00-4329-aa9f-96dd03831b89",
+ "references": [],
+ "skillExecutions": []
+ },
+ {
+ "id": "c535da2c-aefe-419b-97f5-4aa9588b256a",
+ "parentMessageID": "9d37b99c-f64a-4d74-bd77-bbce1f28d0fc",
+ "intent": "conversation",
+ "role": "assistant",
+ "content": "",
+ "createdAt": "2025-12-20T09:31:24.158409752Z",
+ "threadID": "f6af22ef-6e00-4329-aa9f-96dd03831b89",
+ "references": [],
+ "skillExecutions": []
+ },
+ {
+ "id": "93f6ff85-1c2f-4d96-83bc-e8be2dc4cb3a",
+ "parentMessageID": "c535da2c-aefe-419b-97f5-4aa9588b256a",
+ "intent": "conversation",
+ "role": "user",
+ "content": "package config\n\nimport (\n\t\"path/filepath\"\n\n\t\"github.com/trustwallet/go-libs/config/viper\"\n)\n\ntype (\n\tConfig struct {\n\t\tApp App `mapstructure:\"app\"`\n\t\tClientURLs ClientURLs `mapstructure:\"client_urls\"`\n\t\tURLs URLs `mapstructure:\"urls\"`\n\t\tTimeFormat string `mapstructure:\"time_format\"`\n\t\tValidatorsSettings ValidatorsSettings `mapstructure:\"validators_settings\"`\n\t}\n\n\tApp struct {\n\t\tLogLevel string `mapstructure:\"log_level\"`\n\t}\n\n\tClientURLs struct {\n\t\tBinance struct {\n\t\t\tDex string `mapstructure:\"dex\"`\n\t\t\tExplorer string `mapstructure:\"explorer\"`\n\t\t} `mapstructure:\"binance\"`\n\t\tAssetsManagerAPI string `mapstructure:\"assets_manager_api\"`\n\t}\n\n\tURLs struct {\n\t\tAssetsApp string `mapstructure:\"assets_app\"`\n\t\tLogo string `mapstructure:\"logo\"`\n\t}\n\n\tValidatorsSettings struct {\n\t\tRootFolder RootFolder `mapstructure:\"root_folder\"`\n\t\tChainFolder ChainFolder `mapstructure:\"chain_folder\"`\n\t\tAssetFolder AssetFolder `mapstructure:\"asset_folder\"`\n\t\tChainInfoFolder ChainInfoFolder `mapstructure:\"chain_info_folder\"`\n\t\tChainValidatorsAssetFolder ChainValidatorsAssetFolder `mapstructure:\"chain_validators_asset_folder\"`\n\t\tDappsFolder DappsFolder `mapstructure:\"dapps_folder\"`\n\t}\n)\n\n// Default is a configuration instance.\nvar Default = Config{} //nolint:gochecknoglobals // config must be global\n\n// SetConfig reads a config file and returs an initialized config instance.\nfunc SetConfig(confPath string) error {\n\tconfPath, err := filepath.Abs(confPath)\n\tif err != nil {\n\t\treturn err\n\t}\n\n\tviper.Load(confPath, &Default)\n\n\treturn nil\n}",
+ "createdAt": "2025-12-20T09:31:50.989885493Z",
+ "threadID": "f6af22ef-6e00-4329-aa9f-96dd03831b89",
+ "references": [],
+ "skillExecutions": []
+ },
+ {
+ "id": "121724a5-8e16-478d-9575-5ffbc20e1c18",
+ "parentMessageID": "93f6ff85-1c2f-4d96-83bc-e8be2dc4cb3a",
+ "intent": "conversation",
+ "role": "assistant",
+ "content": "",
+ "createdAt": "2025-12-20T09:31:50.98991744Z",
+ "threadID": "f6af22ef-6e00-4329-aa9f-96dd03831b89",
+ "references": [],
+ "skillExecutions": []
+ },
+ {
+ "id": "b8f51f05-e9ec-40a7-9d5f-3325325234c0",
+ "parentMessageID": "root",
+ "role": "user",
+ "content": "package config\n\nimport (\n\t\"path/filepath\"\n\n\t\"github.com/trustwallet/go-libs/config/viper\"\n)\n\ntype (\n\tConfig struct {\n\t\tApp App `mapstructure:\"app\"`\n\t\tClientURLs ClientURLs `mapstructure:\"client_urls\"`\n\t\tURLs URLs `mapstructure:\"urls\"`\n\t\tTimeFormat string `mapstructure:\"time_format\"`\n\t\tValidatorsSettings ValidatorsSettings `mapstructure:\"validators_settings\"`\n\t}\n\n\tApp struct {\n\t\tLogLevel string `mapstructure:\"log_level\"`\n\t}\n\n\tClientURLs struct {\n\t\tBinance struct {\n\t\t\tDex string `mapstructure:\"dex\"`\n\t\t\tExplorer string `mapstructure:\"explorer\"`\n\t\t} `mapstructure:\"binance\"`\n\t\tAssetsManagerAPI string `mapstructure:\"assets_manager_api\"`\n\t}\n\n\tURLs struct {\n\t\tAssetsApp string `mapstructure:\"assets_app\"`\n\t\tLogo string `mapstructure:\"logo\"`\n\t}\n\n\tValidatorsSettings struct {\n\t\tRootFolder RootFolder `mapstructure:\"root_folder\"`\n\t\tChainFolder ChainFolder `mapstructure:\"chain_folder\"`\n\t\tAssetFolder AssetFolder `mapstructure:\"asset_folder\"`\n\t\tChainInfoFolder ChainInfoFolder `mapstructure:\"chain_info_folder\"`\n\t\tChainValidatorsAssetFolder ChainValidatorsAssetFolder `mapstructure:\"chain_validators_asset_folder\"`\n\t\tDappsFolder DappsFolder `mapstructure:\"dapps_folder\"`\n\t}\n)\n\n// Default is a configuration instance.\nvar Default = Config{} //nolint:gochecknoglobals // config must be global\n\n// SetConfig reads a config file and returs an initialized config instance.\nfunc SetConfig(confPath string) error {\n\tconfPath, err := filepath.Abs(confPath)\n\tif err != nil {\n\t\treturn err\n\t}\n\n\tviper.Load(confPath, &Default)\n\n\treturn nil\n}",
+ "createdAt": "2025-12-20T09:32:03.428Z",
+ "threadID": "f6af22ef-6e00-4329-aa9f-96dd03831b89",
+ "references": [],
+ "skillExecutions": []
+ },
+ {
+ "id": "a06ca56c-6187-44aa-8c5f-558c3f832519",
+ "parentMessageID": "b8f51f05-e9ec-40a7-9d5f-3325325234c0",
+ "intent": "conversation",
+ "role": "assistant",
+ "model": "",
+ "content": "I noticed a few small issues and a possible improvement in your code. Main problems:\n- SetConfig ignores any error returned by viper.Load — you should capture and return that error.\n- Minor typo in the comment (\"returs\" → \"returns\").\n- Consider validating/normalizing confPath and/or returning the config instead of only mutating a global.\n\nHere's a minimal, safe fix that captures the error from viper.Load and fixes the comment. I also added a tiny guard for an empty path and a short doc comment.\n\n```go name=config.go\npackage config\n\nimport (\n\t\"errors\"\n\t\"path/filepath\"\n\n\t\"github.com/trustwallet/go-libs/config/viper\"\n)\n\ntype (\n\tConfig struct {\n\t\tApp App `mapstructure:\"app\"`\n\t\tClientURLs ClientURLs `mapstructure:\"client_urls\"`\n\t\tURLs URLs `mapstructure:\"urls\"`\n\t\tTimeFormat string `mapstructure:\"time_format\"`\n\t\tValidatorsSettings ValidatorsSettings `mapstructure:\"validators_settings\"`\n\t}\n\n\tApp struct {\n\t\tLogLevel string `mapstructure:\"log_level\"`\n\t}\n\n\tClientURLs struct {\n\t\tBinance struct {\n\t\t\tDex string `mapstructure:\"dex\"`\n\t\t\tExplorer string `mapstructure:\"explorer\"`\n\t\t} `mapstructure:\"binance\"`\n\t\tAssetsManagerAPI string `mapstructure:\"assets_manager_api\"`\n\t}\n\n\tURLs struct {\n\t\tAssetsApp string `mapstructure:\"assets_app\"`\n\t\tLogo string `mapstructure:\"logo\"`\n\t}\n\n\tValidatorsSettings struct {\n\t\tRootFolder RootFolder `mapstructure:\"root_folder\"`\n\t\tChainFolder ChainFolder `mapstructure:\"chain_folder\"`\n\t\tAssetFolder AssetFolder `mapstructure:\"asset_folder\"`\n\t\tChainInfoFolder ChainInfoFolder `mapstructure:\"chain_info_folder\"`\n\t\tChainValidatorsAssetFolder ChainValidatorsAssetFolder `mapstructure:\"chain_validators_asset_folder\"`\n\t\tDappsFolder DappsFolder `mapstructure:\"dapps_folder\"`\n\t}\n)\n\n// Default is a configuration instance.\nvar Default = Config{} //nolint:gochecknoglobals // config must be global\n\n// SetConfig reads a config file and returns an initialized config instance.\nfunc SetConfig(confPath string) error {\n\tif confPath == \"\" {\n\t\treturn errors.New(\"config path is empty\")\n\t}\n\n\tabsPath, err := filepath.Abs(confPath)\n\tif err != nil {\n\t\treturn err\n\t}\n\n\t// capture and return any error from viper.Load\n\tif err := viper.Load(absPath, &Default); err != nil {\n\t\treturn err\n\t}\n\n\treturn nil\n}\n```\n\nIf you want, I can:\n- Change the API to return a *Config instead of using a global,\n- Add defaults and validation for required fields after loading,\n- Support loading from environment variables or multiple config paths.\n\nWhich (if any) of those would you like next?",
+ "createdAt": "2025-12-20T09:32:19.929758928Z",
+ "threadID": "f6af22ef-6e00-4329-aa9f-96dd03831b89",
+ "references": [],
+ "skillExecutions": []
+ },
+ {
+ "id": "8f74fb6d-d82b-47a4-9b36-896f97cbbcc7",
+ "parentMessageID": "a06ca56c-6187-44aa-8c5f-558c3f832519",
+ "role": "user",
+ "content": "package config\n\nimport (\n\t\"errors\"\n\t\"path/filepath\"\n\n\t\"github.com/trustwallet/go-libs/config/viper\"\n)\n\ntype (\n\tConfig struct {\n\t\tApp App `mapstructure:\"app\"`\n\t\tClientURLs ClientURLs `mapstructure:\"client_urls\"`\n\t\tURLs URLs `mapstructure:\"urls\"`\n\t\tTimeFormat string `mapstructure:\"time_format\"`\n\t\tValidatorsSettings ValidatorsSettings `mapstructure:\"validators_settings\"`\n\t}\n\n\tApp struct {\n\t\tLogLevel string `mapstructure:\"log_level\"`\n\t}\n\n\tClientURLs struct {\n\t\tBinance struct {\n\t\t\tDex string `mapstructure:\"dex\"`\n\t\t\tExplorer string `mapstructure:\"explorer\"`\n\t\t} `mapstructure:\"binance\"`\n\t\tAssetsManagerAPI string `mapstructure:\"assets_manager_api\"`\n\t}\n\n\tURLs struct {\n\t\tAssetsApp string `mapstructure:\"assets_app\"`\n\t\tLogo string `mapstructure:\"logo\"`\n\t}\n\n\tValidatorsSettings struct {\n\t\tRootFolder RootFolder\n",
+ "createdAt": "2025-12-20T09:32:42.306Z",
+ "threadID": "f6af22ef-6e00-4329-aa9f-96dd03831b89",
+ "references": [],
+ "skillExecutions": []
+ },
+ {
+ "id": "06667061-7155-4f01-b938-57a6b08af9eb",
+ "parentMessageID": "8f74fb6d-d82b-47a4-9b36-896f97cbbcc7",
+ "intent": "conversation",
+ "role": "assistant",
+ "model": "",
+ "content": "```go name=config.go\npackage config\n\nimport (\n\t\"errors\"\n\t\"path/filepath\"\n\n\t\"github.com/trustwallet/go-libs/config/viper\"\n)\n\ntype (\n\tConfig struct {\n\t\tApp App `mapstructure:\"app\"`\n\t\tClientURLs ClientURLs `mapstructure:\"client_urls\"`\n\t\tURLs URLs `mapstructure:\"urls\"`\n\t\tTimeFormat string `mapstructure:\"time_format\"`\n\t\tValidatorsSettings ValidatorsSettings `mapstructure:\"validators_settings\"`\n\t}\n\n\tApp struct {\n\t\tLogLevel string `mapstructure:\"log_level\"`\n\t}\n\n\tClientURLs struct {\n\t\tBinance struct {\n\t\t\tDex string `mapstructure:\"dex\"`\n\t\t\tExplorer string `mapstructure:\"explorer\"`\n\t\t} `mapstructure:\"binance\"`\n\t\tAssetsManagerAPI string `mapstructure:\"assets_manager_api\"`\n\t}\n\n\tURLs struct {\n\t\tAssetsApp string `mapstructure:\"assets_app\"`\n\t\tLogo string `mapstructure:\"logo\"`\n\t}\n\n\tValidatorsSettings struct {\n\t\tRootFolder RootFolder `mapstructure:\"root_folder\"`\n\t\tChainFolder ChainFolder `mapstructure:\"chain_folder\"`\n\t\tAssetFolder AssetFolder `mapstructure:\"asset_folder\"`\n\t\tChainInfoFolder ChainInfoFolder `mapstructure:\"chain_info_folder\"`\n\t\tChainValidatorsAssetFolder ChainValidatorsAssetFolder `mapstructure:\"chain_validators_asset_folder\"`\n\t\tDappsFolder DappsFolder `mapstructure:\"dapps_folder\"`\n\t}\n\n\t// Folder types hold path configuration for various validators' assets.\n\t// Keep these simple so mapstructure can populate them from config files.\n\tRootFolder struct {\n\t\tPath string `mapstructure:\"path\"`\n\t}\n\n\tChainFolder struct {\n\t\tPath string `mapstructure:\"path\"`\n\t}\n\n\tAssetFolder struct {\n\t\tPath string `mapstructure:\"path\"`\n\t}\n\n\tChainInfoFolder struct {\n\t\tPath string `mapstructure:\"path\"`\n\t}\n\n\tChainValidatorsAssetFolder struct {\n\t\tPath string `mapstructure:\"path\"`\n\t}\n\n\tDappsFolder struct {\n\t\tPath string `mapstructure:\"path\"`\n\t}\n)\n\n// Default is a configuration instance.\nvar Default = Config{} //nolint:gochecknoglobals // config must be global\n\n// SetConfig reads a config file and returns an initialized config instance.\nfunc SetConfig(confPath string) error {\n\tif confPath == \"\" {\n\t\treturn errors.New(\"config path is empty\")\n\t}\n\n\tabsPath, err := filepath.Abs(confPath)\n\tif err != nil {\n\t\treturn err\n\t}\n\n\t// capture and return any error from viper.Load\n\tif err := viper.Load(absPath, &Default); err != nil {\n\t\treturn err\n\t}\n\n\treturn nil\n}\n```",
+ "createdAt": "2025-12-20T09:33:07.134966682Z",
+ "threadID": "f6af22ef-6e00-4329-aa9f-96dd03831b89",
+ "references": [],
+ "skillExecutions": []
+ },
+ {
+ "id": "27bb9899-391e-4079-bee8-7d37887f29a6",
+ "parentMessageID": "06667061-7155-4f01-b938-57a6b08af9eb",
+ "role": "user",
+ "content": "package config\n\nimport (\n\t\"errors\"\n\t\"path/filepath\"\n\n\t\"github.com/trustwallet/go-libs/config/viper\"\n)\n\ntype (\n\tConfig struct {\n\t\tApp App `mapstructure:\"app\"`\n\t\tClientURLs ClientURLs `mapstructure:\"client_urls\"`\n\t\tURLs URLs `mapstructure:\"urls\"`\n\t\tTimeFormat string `mapstructure:\"time_format\"`\n\t\tValidatorsSettings ValidatorsSettings `mapstructure:\"validators_settings\"`\n\t}\n\n\tApp struct {\n\t\tLogLevel string `mapstructure:\"log_level\"`\n\t}\n\n\tClientURLs struct {\n\t\tBinance struct {\n\t\t\tDex string `mapstructure:\"dex\"`\n\t\t\tExplorer string `mapstructure:\"explorer\"`\n\t\t} `mapstructure:\"binance\"`\n\t\tAssetsManagerAPI string `mapstructure:\"assets_manager_api\"`\n\t}\n\n\tURLs struct {\n\t\tAssetsApp string `mapstructure:\"assets_app\"`\n\t\tLogo string `mapstructure:\"logo\"`\n\t}\n\n\tValidatorsSettings struct {\n\t\tRootFolder RootFolder `mapstructure:\"root_folder\"`\n\t\tChainFolder ChainFolder `mapstructure:\"chain_folder\"`\n\t\tAssetFolder AssetFolder `mapstructure:\"asset_folder\"`\n\t\tChainInfoFolder ChainInfoFolder `mapstructure:\"chain_info_folder\"`\n\t\tChainValidatorsAssetFolder ChainValidatorsAssetFolder `mapstructure:\"chain_validators_asset_folder\"`\n\t\tDappsFolder DappsFolder `mapstructure:\"dapps_folder\"`\n\t}\n\n\t// Folder types hold path configuration for various validators' assets.\n\t// Keep these simple so mapstructure can populate them from config files.\n\tRootFolder struct {\n\t\tPath string `mapstructure:\"path\"`\n\t}\n\n\tChainFolder struct {\n\t\tPath string `mapstructure:\"path\"`\n\t}\n\n\tAssetFolder struct {\n\t\tPath string `mapstructure:\"path\"`\n\t}\n\n\tChainInfoFolder struct {\n\t\tPath string `mapstructure:\"path\"`\n\t}\n\n\tChainValidatorsAssetFolder struct {\n\t\tPath string `mapstructure:\"path\"`\n\t}\n\n\tDappsFolder struct {\n\t\tPath string `mapstructure:\"path\"`\n\t}\n)\n\n// Default is a configuration instance.\nvar Default = Config{} //nolint:gochecknoglobals // config must be global\n\n// SetConfig reads a config file and returns an initialized config instance.\nfunc SetConfig(confPath string) error {\n\tif confPath == \"\" {\n\t\treturn errors.New(\"config path is empty\")\n\t}\n\n\tabsPath, err := filepath.Abs(confPath)\n\tif err != nil {\n\t\treturn err\n\t}\n\n\t// capture and return any error from viper.Load\n\tif err := viper.Load(absPath, &Default); err != nil {\n\t\treturn err\n\t}\n\n\treturn nil\n}",
+ "createdAt": "2025-12-20T09:33:51.245Z",
+ "threadID": "f6af22ef-6e00-4329-aa9f-96dd03831b89",
+ "references": [],
+ "skillExecutions": []
+ },
+ {
+ "id": "ec7fcae5-0e0d-4956-8764-2ccd666372ea",
+ "parentMessageID": "27bb9899-391e-4079-bee8-7d37887f29a6",
+ "intent": "conversation",
+ "role": "assistant",
+ "model": "",
+ "content": "Nice — this is a good, small config package. I made a few practical improvements you’ll likely want:\n\n- Validate that the config file exists before calling viper.Load and return clearer wrapped errors.\n- Expand `~` in paths (common convenience when passing a home-relative path).\n- Add a lightweight `Validate()` method on Config to check required fields after loading.\n- Add a `Get()` accessor that returns a pointer to the global config (avoids copying if callers want to read it).\n- Small import cleanup and clearer error messages.\n\nIf you want, I can:\n- Make loading idempotent with sync.Once,\n- Replace the global with a return value and remove the global,\n- Add default values and environment variable overrides,\n- Add unit tests for SetConfig/Validate.\n\nHere’s an updated file with the changes applied:\n\n```go name=config.go\npackage config\n\nimport (\n\t\"errors\"\n\t\"fmt\"\n\t\"os\"\n\t\"path/filepath\"\n\t\"strings\"\n\n\t\"github.com/trustwallet/go-libs/config/viper\"\n)\n\ntype (\n\tConfig struct {\n\t\tApp App `mapstructure:\"app\"`\n\t\tClientURLs ClientURLs `mapstructure:\"client_urls\"`\n\t\tURLs URLs `mapstructure:\"urls\"`\n\t\tTimeFormat string `mapstructure:\"time_format\"`\n\t\tValidatorsSettings ValidatorsSettings `mapstructure:\"validators_settings\"`\n\t}\n\n\tApp struct {\n\t\tLogLevel string `mapstructure:\"log_level\"`\n\t}\n\n\tClientURLs struct {\n\t\tBinance struct {\n\t\t\tDex string `mapstructure:\"dex\"`\n\t\t\tExplorer string `mapstructure:\"explorer\"`\n\t\t} `mapstructure:\"binance\"`\n\t\tAssetsManagerAPI string `mapstructure:\"assets_manager_api\"`\n\t}\n\n\tURLs struct {\n\t\tAssetsApp string `mapstructure:\"assets_app\"`\n\t\tLogo string `mapstructure:\"logo\"`\n\t}\n\n\tValidatorsSettings struct {\n\t\tRootFolder RootFolder `mapstructure:\"root_folder\"`\n\t\tChainFolder ChainFolder `mapstructure:\"chain_folder\"`\n\t\tAssetFolder AssetFolder `mapstructure:\"asset_folder\"`\n\t\tChainInfoFolder ChainInfoFolder `mapstructure:\"chain_info_folder\"`\n\t\tChainValidatorsAssetFolder ChainValidatorsAssetFolder `mapstructure:\"chain_validators_asset_folder\"`\n\t\tDappsFolder DappsFolder `mapstructure:\"dapps_folder\"`\n\t}\n\n\t// Folder types hold path configuration for various validators' assets.\n\t// Keep these simple so mapstructure can populate them from config files.\n\tRootFolder struct {\n\t\tPath string `mapstructure:\"path\"`\n\t}\n\n\tChainFolder struct {\n\t\tPath string `mapstructure:\"path\"`\n\t}\n\n\tAssetFolder struct {\n\t\tPath string `mapstructure:\"path\"`\n\t}\n\n\tChainInfoFolder struct {\n\t\tPath string `mapstructure:\"path\"`\n\t}\n\n\tChainValidatorsAssetFolder struct {\n\t\tPath string `mapstructure:\"path\"`\n\t}\n\n\tDappsFolder struct {\n\t\tPath string `mapstructure:\"path\"`\n\t}\n)\n\n// Default is a configuration instance.\nvar Default = Config{} //nolint:gochecknoglobals // config must be global\n\n// Get returns a pointer to the global configuration.\nfunc Get() *Config { return &Default }\n\n// SetConfig reads a config file and returns an initialized config instance.\nfunc SetConfig(confPath string) error {\n\tif confPath == \"\" {\n\t\treturn errors.New(\"config path is empty\")\n\t}\n\n\t// expand ~/ to home directory\n\tif strings.HasPrefix(confPath, \"~\") {\n\t\thome, err := os.UserHomeDir()\n\t\tif err == nil {\n\t\t\tconfPath = filepath.Join(home, strings.TrimPrefix(confPath, \"~/\"))\n\t\t}\n\t}\n\n\tabsPath, err := filepath.Abs(confPath)\n\tif err != nil {\n\t\treturn fmt.Errorf(\"failed to make config path absolute: %w\", err)\n\t}\n\n\t// ensure file exists (viper.Load may accept dirs depending on implementation,\n\t// but it's helpful to fail early if the user provided a bad file path)\n\tif _, err := os.Stat(absPath); err != nil {\n\t\treturn fmt.Errorf(\"config file %s: %w\", absPath, err)\n\t}\n\n\t// capture and return any error from viper.Load\n\tif err := viper.Load(absPath, &Default); err != nil {\n\t\treturn fmt.Errorf(\"failed to load config from %s: %w\", absPath, err)\n\t}\n\n\t// validate required fields after loading\n\tif err := Default.Validate(); err != nil {\n\t\treturn fmt.Errorf(\"invalid configuration: %w\", err)\n\t}\n\n\treturn nil\n}\n\n// Validate performs basic checks for required configuration fields.\n// Extend this with more complete validation as needed.\nfunc (c *Config) Validate() error {\n\tvar missing []string\n\n\tif c.App.LogLevel == \"\" {\n\t\tmissing = append(missing, \"app.log_level\")\n\t}\n\n\t// check a subset of fields that are likely required — extend as needed\n\tif c.ValidatorsSettings.RootFolder.Path == \"\" {\n\t\tmissing = append(missing, \"validators_settings.root_folder.path\")\n\t}\n\tif c.ValidatorsSettings.ChainFolder.Path == \"\" {\n\t\tmissing = append(missing, \"validators_settings.chain_folder.path\")\n\t}\n\tif c.ValidatorsSettings.AssetFolder.Path == \"\" {\n\t\tmissing = append(missing, \"validators_settings.asset_folder.path\")\n\t}\n\n\tif len(missing) > 0 {\n\t\treturn fmt.Errorf(\"missing required config keys: %v\", missing)\n\t}\n\treturn nil\n}\n```\n\nWould you like me to:\n- convert this package to return a non-global config (preferred for testability),\n- or add sync.Once so SetConfig is safe to call multiple times?",
+ "createdAt": "2025-12-20T09:34:14.021780772Z",
+ "threadID": "f6af22ef-6e00-4329-aa9f-96dd03831b89",
+ "references": [],
+ "skillExecutions": []
+ },
+ {
+ "id": "a66fde8a-9093-4798-ab3d-b0ee65fdcb9d",
+ "parentMessageID": "ec7fcae5-0e0d-4956-8764-2ccd666372ea",
+ "role": "user",
+ "content": "add sync.Once so SetConfig is safe to call multiple times",
+ "createdAt": "2025-12-20T09:34:39.036Z",
+ "threadID": "f6af22ef-6e00-4329-aa9f-96dd03831b89",
+ "references": [],
+ "skillExecutions": []
+ },
+ {
+ "id": "0a7240df-3fb8-426a-8d37-5923b3ba80c5",
+ "parentMessageID": "a66fde8a-9093-4798-ab3d-b0ee65fdcb9d",
+ "intent": "conversation",
+ "role": "assistant",
+ "model": "",
+ "content": "I added sync.Once to make SetConfig safe to call multiple times. The first call performs the load/validation; subsequent calls are no-ops and return the same error (if any) from the initial load. I kept the existing Validate() logic and Get() accessor so callers can read the global config.\n\nChanges:\n- added package-level sync.Once and loadErr\n- wrapped actual loading logic in a helper used by once.Do\n- documented that subsequent calls are ignored (path param is only used on the first call)\n\n```go name=config.go\npackage config\n\nimport (\n\t\"fmt\"\n\t\"os\"\n\t\"path/filepath\"\n\t\"strings\"\n\t\"sync\"\n\n\t\"github.com/trustwallet/go-libs/config/viper\"\n)\n\ntype (\n\tConfig struct {\n\t\tApp App `mapstructure:\"app\"`\n\t\tClientURLs ClientURLs `mapstructure:\"client_urls\"`\n\t\tURLs URLs `mapstructure:\"urls\"`\n\t\tTimeFormat string `mapstructure:\"time_format\"`\n\t\tValidatorsSettings ValidatorsSettings `mapstructure:\"validators_settings\"`\n\t}\n\n\tApp struct {\n\t\tLogLevel string `mapstructure:\"log_level\"`\n\t}\n\n\tClientURLs struct {\n\t\tBinance struct {\n\t\t\tDex string `mapstructure:\"dex\"`\n\t\t\tExplorer string `mapstructure:\"explorer\"`\n\t\t} `mapstructure:\"binance\"`\n\t\tAssetsManagerAPI string `mapstructure:\"assets_manager_api\"`\n\t}\n\n\tURLs struct {\n\t\tAssetsApp string `mapstructure:\"assets_app\"`\n\t\tLogo string `mapstructure:\"logo\"`\n\t}\n\n\tValidatorsSettings struct {\n\t\tRootFolder RootFolder `mapstructure:\"root_folder\"`\n\t\tChainFolder ChainFolder `mapstructure:\"chain_folder\"`\n\t\tAssetFolder AssetFolder `mapstructure:\"asset_folder\"`\n\t\tChainInfoFolder ChainInfoFolder `mapstructure:\"chain_info_folder\"`\n\t\tChainValidatorsAssetFolder ChainValidatorsAssetFolder `mapstructure:\"chain_validators_asset_folder\"`\n\t\tDappsFolder DappsFolder `mapstructure:\"dapps_folder\"`\n\t}\n\n\t// Folder types hold path configuration for various validators' assets.\n\t// Keep these simple so mapstructure can populate them from config files.\n\tRootFolder struct {\n\t\tPath string `mapstructure:\"path\"`\n\t}\n\n\tChainFolder struct {\n\t\tPath string `mapstructure:\"path\"`\n\t}\n\n\tAssetFolder struct {\n\t\tPath string `mapstructure:\"path\"`\n\t}\n\n\tChainInfoFolder struct {\n\t\tPath string `mapstructure:\"path\"`\n\t}\n\n\tChainValidatorsAssetFolder struct {\n\t\tPath string `mapstructure:\"path\"`\n\t}\n\n\tDappsFolder struct {\n\t\tPath string `mapstructure:\"path\"`\n\t}\n)\n\n// Default is a configuration instance.\nvar Default = Config{} //nolint:gochecknoglobals // config must be global\n\n// once ensures SetConfig only performs loading once.\nvar once sync.Once\n\n// loadErr stores the result of the initial SetConfig call (nil on success).\nvar loadErr error\n\n// Get returns a pointer to the global configuration.\nfunc Get() *Config { return &Default }\n\n// SetConfig reads a config file and initializes the global config.\n// This function is safe to call multiple times — the first caller\n// performs the load and validation; subsequent calls are no-ops and\n// return the same error (if any). The confPath parameter is only used\n// by the first caller.\nfunc SetConfig(confPath string) error {\n\tonce.Do(func() {\n\t\tloadErr = setConfigOnce(confPath)\n\t})\n\treturn loadErr\n}\n\nfunc setConfigOnce(confPath string) error {\n\tif confPath == \"\" {\n\t\treturn fmt.Errorf(\"config path is empty\")\n\t}\n\n\t// expand ~/ to home directory\n\tif strings.HasPrefix(confPath, \"~\") {\n\t\tif home, err := os.UserHomeDir(); err == nil {\n\t\t\tconfPath = filepath.Join(home, strings.TrimPrefix(confPath, \"~/\"))\n\t\t}\n\t}\n\n\tabsPath, err := filepath.Abs(confPath)\n\tif err != nil {\n\t\treturn fmt.Errorf(\"failed to make config path absolute: %w\", err)\n\t}\n\n\t// ensure file exists\n\tif _, err := os.Stat(absPath); err != nil {\n\t\treturn fmt.Errorf(\"config file %s: %w\", absPath, err)\n\t}\n\n\t// load into global Default\n\tif err := viper.Load(absPath, &Default); err != nil {\n\t\treturn fmt.Errorf(\"failed to load config from %s: %w\", absPath, err)\n\t}\n\n\t// validate loaded configuration\n\tif err := Default.Validate(); err != nil {\n\t\treturn fmt.Errorf(\"invalid configuration: %w\", err)\n\t}\n\n\treturn nil\n}\n\n// Validate performs basic checks for required configuration fields.\n// Extend this with more complete validation as needed.\nfunc (c *Config) Validate() error {\n\tvar missing []string\n\n\tif c.App.LogLevel == \"\" {\n\t\tmissing = append(missing, \"app.log_level\")\n\t}\n\n\tif c.ValidatorsSettings.RootFolder.Path == \"\" {\n\t\tmissing = append(missing, \"validators_settings.root_folder.path\")\n\t}\n\tif c.ValidatorsSettings.ChainFolder.Path == \"\" {\n\t\tmissing = append(missing, \"validators_settings.chain_folder.path\")\n\t}\n\tif c.ValidatorsSettings.AssetFolder.Path == \"\" {\n\t\tmissing = append(missing, \"validators_settings.asset_folder.path\")\n\t}\n\n\tif len(missing) > 0 {\n\t\treturn fmt.Errorf(\"missing required config keys: %v\", missing)\n\t}\n\treturn nil\n}\n```\n\nIf you want a test-friendly API, I can add a ResetForTests() function to clear the once state and Default, so tests can call SetConfig multiple times with different files. Would you like that?",
+ "createdAt": "2025-12-20T09:35:05.095725266Z",
+ "threadID": "f6af22ef-6e00-4329-aa9f-96dd03831b89",
+ "references": [],
+ "skillExecutions": []
+ },
+ {
+ "id": "4978cc63-418a-494d-bd6a-3160f9157703",
+ "parentMessageID": "0a7240df-3fb8-426a-8d37-5923b3ba80c5",
+ "role": "user",
+ "content": "Yes",
+ "createdAt": "2025-12-20T09:35:17.341Z",
+ "threadID": "f6af22ef-6e00-4329-aa9f-96dd03831b89",
+ "references": [],
+ "skillExecutions": []
+ },
+ {
+ "id": "033fd51d-ee91-4705-905a-6c78ad37d951",
+ "parentMessageID": "4978cc63-418a-494d-bd6a-3160f9157703",
+ "intent": "conversation",
+ "role": "assistant",
+ "model": "",
+ "content": "```go name=config.go\npackage config\n\nimport (\n\t\"fmt\"\n\t\"os\"\n\t\"path/filepath\"\n\t\"strings\"\n\t\"sync\"\n\n\t\"github.com/trustwallet/go-libs/config/viper\"\n)\n\ntype (\n\tConfig struct {\n\t\tApp App `mapstructure:\"app\"`\n\t\tClientURLs ClientURLs `mapstructure:\"client_urls\"`\n\t\tURLs URLs `mapstructure:\"urls\"`\n\t\tTimeFormat string `mapstructure:\"time_format\"`\n\t\tValidatorsSettings ValidatorsSettings `mapstructure:\"validators_settings\"`\n\t}\n\n\tApp struct {\n\t\tLogLevel string `mapstructure:\"log_level\"`\n\t}\n\n\tClientURLs struct {\n\t\tBinance struct {\n\t\t\tDex string `mapstructure:\"dex\"`\n\t\t\tExplorer string `mapstructure:\"explorer\"`\n\t\t} `mapstructure:\"binance\"`\n\t\tAssetsManagerAPI string `mapstructure:\"assets_manager_api\"`\n\t}\n\n\tURLs struct {\n\t\tAssetsApp string `mapstructure:\"assets_app\"`\n\t\tLogo string `mapstructure:\"logo\"`\n\t}\n\n\tValidatorsSettings struct {\n\t\tRootFolder RootFolder `mapstructure:\"root_folder\"`\n\t\tChainFolder ChainFolder `mapstructure:\"chain_folder\"`\n\t\tAssetFolder AssetFolder `mapstructure:\"asset_folder\"`\n\t\tChainInfoFolder ChainInfoFolder `mapstructure:\"chain_info_folder\"`\n\t\tChainValidatorsAssetFolder ChainValidatorsAssetFolder `mapstructure:\"chain_validators_asset_folder\"`\n\t\tDappsFolder DappsFolder `mapstructure:\"dapps_folder\"`\n\t}\n\n\t// Folder types hold path configuration for various validators' assets.\n\t// Keep these simple so mapstructure can populate them from config files.\n\tRootFolder struct {\n\t\tPath string `mapstructure:\"path\"`\n\t}\n\n\tChainFolder struct {\n\t\tPath string `mapstructure:\"path\"`\n\t}\n\n\tAssetFolder struct {\n\t\tPath string `mapstructure:\"path\"`\n\t}\n\n\tChainInfoFolder struct {\n\t\tPath string `mapstructure:\"path\"`\n\t}\n\n\tChainValidatorsAssetFolder struct {\n\t\tPath string `mapstructure:\"path\"`\n\t}\n\n\tDappsFolder struct {\n\t\tPath string `mapstructure:\"path\"`\n\t}\n)\n\n// Default is a configuration instance.\nvar Default = Config{} //nolint:gochecknoglobals // config must be global\n\n// once ensures SetConfig only performs loading once.\nvar once sync.Once\n\n// loadErr stores the result of the initial SetConfig call (nil on success).\nvar loadErr error\n\n// Get returns a pointer to the global configuration.\nfunc Get() *Config { return &Default }\n\n// SetConfig reads a config file and initializes the global config.\n// This function is safe to call multiple times — the first caller\n// performs the load and validation; subsequent calls are no-ops and\n// return the same error (if any). The confPath parameter is only used\n// by the first caller.\nfunc SetConfig(confPath string) error {\n\tonce.Do(func() {\n\t\tloadErr = setConfigOnce(confPath)\n\t})\n\treturn loadErr\n}\n\nfunc setConfigOnce(confPath string) error {\n\tif confPath == \"\" {\n\t\treturn fmt.Errorf(\"config path is empty\")\n\t}\n\n\t// expand ~/ to home directory\n\tif strings.HasPrefix(confPath, \"~\") {\n\t\tif home, err := os.UserHomeDir(); err == nil {\n\t\t\tconfPath = filepath.Join(home, strings.TrimPrefix(confPath, \"~/\"))\n\t\t}\n\t}\n\n\tabsPath, err := filepath.Abs(confPath)\n\tif err != nil {\n\t\treturn fmt.Errorf(\"failed to make config path absolute: %w\", err)\n\t}\n\n\t// ensure file exists\n\tif _, err := os.Stat(absPath); err != nil {\n\t\treturn fmt.Errorf(\"config file %s: %w\", absPath, err)\n\t}\n\n\t// load into global Default\n\tif err := viper.Load(absPath, &Default); err != nil {\n\t\treturn fmt.Errorf(\"failed to load config from %s: %w\", absPath, err)\n\t}\n\n\t// validate loaded configuration\n\tif err := Default.Validate(); err != nil {\n\t\treturn fmt.Errorf(\"invalid configuration: %w\", err)\n\t}\n\n\treturn nil\n}\n\n// Validate performs basic checks for required configuration fields.\n// Extend this with more complete validation as needed.\nfunc (c *Config) Validate() error {\n\tvar missing []string\n\n\tif c.App.LogLevel == \"\" {\n\t\tmissing = append(missing, \"app.log_level\")\n\t}\n\n\tif c.ValidatorsSettings.RootFolder.Path == \"\" {\n\t\tmissing = append(missing, \"validators_settings.root_folder.path\")\n\t}\n\tif c.ValidatorsSettings.ChainFolder.Path == \"\" {\n\t\tmissing = append(missing, \"validators_settings.chain_folder.path\")\n\t}\n\tif c.ValidatorsSettings.AssetFolder.Path == \"\" {\n\t\tmissing = append(missing, \"validators_settings.asset_folder.path\")\n\t}\n\n\tif len(missing) > 0 {\n\t\treturn fmt.Errorf(\"missing required config keys: %v\", missing)\n\t}\n\treturn nil\n}\n\n// ResetForTests resets package-level state so tests can call SetConfig\n// multiple times with different files.\n//\n// WARNING: This function is intended for use in tests only. It is NOT\n// safe to call concurrently with other package functions outside of a\n// test harness. It resets the global config, the once guard, and the\n// stored load error.\nfunc ResetForTests() {\n\tonce = sync.Once{}\n\tDefault = Config{}\n\tloadErr = nil\n}\n```",
+ "createdAt": "2025-12-20T09:35:39.880165348Z",
+ "threadID": "f6af22ef-6e00-4329-aa9f-96dd03831b89",
+ "references": [],
+ "skillExecutions": []
+ }
+ ],
+ "files": {
+ "config.go": [
+ {
+ "version": 1,
+ "messageId": "a06ca56c-6187-44aa-8c5f-558c3f832519",
+ "id": "file:config.go#10.8",
+ "language": "go",
+ "name": "config.go",
+ "value": "package config\n\nimport (\n\t\"errors\"\n\t\"path/filepath\"\n\n\t\"github.com/trustwallet/go-libs/config/viper\"\n)\n\ntype (\n\tConfig struct {\n\t\tApp App `mapstructure:\"app\"`\n\t\tClientURLs ClientURLs `mapstructure:\"client_urls\"`\n\t\tURLs URLs `mapstructure:\"urls\"`\n\t\tTimeFormat string `mapstructure:\"time_format\"`\n\t\tValidatorsSettings ValidatorsSettings `mapstructure:\"validators_settings\"`\n\t}\n\n\tApp struct {\n\t\tLogLevel string `mapstructure:\"log_level\"`\n\t}\n\n\tClientURLs struct {\n\t\tBinance struct {\n\t\t\tDex string `mapstructure:\"dex\"`\n\t\t\tExplorer string `mapstructure:\"explorer\"`\n\t\t} `mapstructure:\"binance\"`\n\t\tAssetsManagerAPI string `mapstructure:\"assets_manager_api\"`\n\t}\n\n\tURLs struct {\n\t\tAssetsApp string `mapstructure:\"assets_app\"`\n\t\tLogo string `mapstructure:\"logo\"`\n\t}\n\n\tValidatorsSettings struct {\n\t\tRootFolder RootFolder `mapstructure:\"root_folder\"`\n\t\tChainFolder ChainFolder `mapstructure:\"chain_folder\"`\n\t\tAssetFolder AssetFolder `mapstructure:\"asset_folder\"`\n\t\tChainInfoFolder ChainInfoFolder `mapstructure:\"chain_info_folder\"`\n\t\tChainValidatorsAssetFolder ChainValidatorsAssetFolder `mapstructure:\"chain_validators_asset_folder\"`\n\t\tDappsFolder DappsFolder `mapstructure:\"dapps_folder\"`\n\t}\n)\n\n// Default is a configuration instance.\nvar Default = Config{} //nolint:gochecknoglobals // config must be global\n\n// SetConfig reads a config file and returns an initialized config instance.\nfunc SetConfig(confPath string) error {\n\tif confPath == \"\" {\n\t\treturn errors.New(\"config path is empty\")\n\t}\n\n\tabsPath, err := filepath.Abs(confPath)\n\tif err != nil {\n\t\treturn err\n\t}\n\n\t// capture and return any error from viper.Load\n\tif err := viper.Load(absPath, &Default); err != nil {\n\t\treturn err\n\t}\n\n\treturn nil\n}",
+ "type": "file",
+ "timestamp": "2025-12-20T09:32:19.929Z",
+ "isStreaming": false,
+ "isUserEdited": false
+ },
+ {
+ "version": 2,
+ "messageId": "06667061-7155-4f01-b938-57a6b08af9eb",
+ "id": "file:config.go#12.1",
+ "language": "go",
+ "name": "config.go",
+ "value": "package config\n\nimport (\n\t\"errors\"\n\t\"path/filepath\"\n\n\t\"github.com/trustwallet/go-libs/config/viper\"\n)\n\ntype (\n\tConfig struct {\n\t\tApp App `mapstructure:\"app\"`\n\t\tClientURLs ClientURLs `mapstructure:\"client_urls\"`\n\t\tURLs URLs `mapstructure:\"urls\"`\n\t\tTimeFormat string `mapstructure:\"time_format\"`\n\t\tValidatorsSettings ValidatorsSettings `mapstructure:\"validators_settings\"`\n\t}\n\n\tApp struct {\n\t\tLogLevel string `mapstructure:\"log_level\"`\n\t}\n\n\tClientURLs struct {\n\t\tBinance struct {\n\t\t\tDex string `mapstructure:\"dex\"`\n\t\t\tExplorer string `mapstructure:\"explorer\"`\n\t\t} `mapstructure:\"binance\"`\n\t\tAssetsManagerAPI string `mapstructure:\"assets_manager_api\"`\n\t}\n\n\tURLs struct {\n\t\tAssetsApp string `mapstructure:\"assets_app\"`\n\t\tLogo string `mapstructure:\"logo\"`\n\t}\n\n\tValidatorsSettings struct {\n\t\tRootFolder RootFolder `mapstructure:\"root_folder\"`\n\t\tChainFolder ChainFolder `mapstructure:\"chain_folder\"`\n\t\tAssetFolder AssetFolder `mapstructure:\"asset_folder\"`\n\t\tChainInfoFolder ChainInfoFolder `mapstructure:\"chain_info_folder\"`\n\t\tChainValidatorsAssetFolder ChainValidatorsAssetFolder `mapstructure:\"chain_validators_asset_folder\"`\n\t\tDappsFolder DappsFolder `mapstructure:\"dapps_folder\"`\n\t}\n\n\t// Folder types hold path configuration for various validators' assets.\n\t// Keep these simple so mapstructure can populate them from config files.\n\tRootFolder struct {\n\t\tPath string `mapstructure:\"path\"`\n\t}\n\n\tChainFolder struct {\n\t\tPath string `mapstructure:\"path\"`\n\t}\n\n\tAssetFolder struct {\n\t\tPath string `mapstructure:\"path\"`\n\t}\n\n\tChainInfoFolder struct {\n\t\tPath string `mapstructure:\"path\"`\n\t}\n\n\tChainValidatorsAssetFolder struct {\n\t\tPath string `mapstructure:\"path\"`\n\t}\n\n\tDappsFolder struct {\n\t\tPath string `mapstructure:\"path\"`\n\t}\n)\n\n// Default is a configuration instance.\nvar Default = Config{} //nolint:gochecknoglobals // config must be global\n\n// SetConfig reads a config file and returns an initialized config instance.\nfunc SetConfig(confPath string) error {\n\tif confPath == \"\" {\n\t\treturn errors.New(\"config path is empty\")\n\t}\n\n\tabsPath, err := filepath.Abs(confPath)\n\tif err != nil {\n\t\treturn err\n\t}\n\n\t// capture and return any error from viper.Load\n\tif err := viper.Load(absPath, &Default); err != nil {\n\t\treturn err\n\t}\n\n\treturn nil\n}",
+ "type": "file",
+ "timestamp": "2025-12-20T09:33:07.134Z",
+ "isStreaming": false,
+ "isUserEdited": false
+ },
+ {
+ "version": 3,
+ "messageId": "ec7fcae5-0e0d-4956-8764-2ccd666372ea",
+ "id": "file:config.go#14.17",
+ "language": "go",
+ "name": "config.go",
+ "value": "package config\n\nimport (\n\t\"errors\"\n\t\"fmt\"\n\t\"os\"\n\t\"path/filepath\"\n\t\"strings\"\n\n\t\"github.com/trustwallet/go-libs/config/viper\"\n)\n\ntype (\n\tConfig struct {\n\t\tApp App `mapstructure:\"app\"`\n\t\tClientURLs ClientURLs `mapstructure:\"client_urls\"`\n\t\tURLs URLs `mapstructure:\"urls\"`\n\t\tTimeFormat string `mapstructure:\"time_format\"`\n\t\tValidatorsSettings ValidatorsSettings `mapstructure:\"validators_settings\"`\n\t}\n\n\tApp struct {\n\t\tLogLevel string `mapstructure:\"log_level\"`\n\t}\n\n\tClientURLs struct {\n\t\tBinance struct {\n\t\t\tDex string `mapstructure:\"dex\"`\n\t\t\tExplorer string `mapstructure:\"explorer\"`\n\t\t} `mapstructure:\"binance\"`\n\t\tAssetsManagerAPI string `mapstructure:\"assets_manager_api\"`\n\t}\n\n\tURLs struct {\n\t\tAssetsApp string `mapstructure:\"assets_app\"`\n\t\tLogo string `mapstructure:\"logo\"`\n\t}\n\n\tValidatorsSettings struct {\n\t\tRootFolder RootFolder `mapstructure:\"root_folder\"`\n\t\tChainFolder ChainFolder `mapstructure:\"chain_folder\"`\n\t\tAssetFolder AssetFolder `mapstructure:\"asset_folder\"`\n\t\tChainInfoFolder ChainInfoFolder `mapstructure:\"chain_info_folder\"`\n\t\tChainValidatorsAssetFolder ChainValidatorsAssetFolder `mapstructure:\"chain_validators_asset_folder\"`\n\t\tDappsFolder DappsFolder `mapstructure:\"dapps_folder\"`\n\t}\n\n\t// Folder types hold path configuration for various validators' assets.\n\t// Keep these simple so mapstructure can populate them from config files.\n\tRootFolder struct {\n\t\tPath string `mapstructure:\"path\"`\n\t}\n\n\tChainFolder struct {\n\t\tPath string `mapstructure:\"path\"`\n\t}\n\n\tAssetFolder struct {\n\t\tPath string `mapstructure:\"path\"`\n\t}\n\n\tChainInfoFolder struct {\n\t\tPath string `mapstructure:\"path\"`\n\t}\n\n\tChainValidatorsAssetFolder struct {\n\t\tPath string `mapstructure:\"path\"`\n\t}\n\n\tDappsFolder struct {\n\t\tPath string `mapstructure:\"path\"`\n\t}\n)\n\n// Default is a configuration instance.\nvar Default = Config{} //nolint:gochecknoglobals // config must be global\n\n// Get returns a pointer to the global configuration.\nfunc Get() *Config { return &Default }\n\n// SetConfig reads a config file and returns an initialized config instance.\nfunc SetConfig(confPath string) error {\n\tif confPath == \"\" {\n\t\treturn errors.New(\"config path is empty\")\n\t}\n\n\t// expand ~/ to home directory\n\tif strings.HasPrefix(confPath, \"~\") {\n\t\thome, err := os.UserHomeDir()\n\t\tif err == nil {\n\t\t\tconfPath = filepath.Join(home, strings.TrimPrefix(confPath, \"~/\"))\n\t\t}\n\t}\n\n\tabsPath, err := filepath.Abs(confPath)\n\tif err != nil {\n\t\treturn fmt.Errorf(\"failed to make config path absolute: %w\", err)\n\t}\n\n\t// ensure file exists (viper.Load may accept dirs depending on implementation,\n\t// but it's helpful to fail early if the user provided a bad file path)\n\tif _, err := os.Stat(absPath); err != nil {\n\t\treturn fmt.Errorf(\"config file %s: %w\", absPath, err)\n\t}\n\n\t// capture and return any error from viper.Load\n\tif err := viper.Load(absPath, &Default); err != nil {\n\t\treturn fmt.Errorf(\"failed to load config from %s: %w\", absPath, err)\n\t}\n\n\t// validate required fields after loading\n\tif err := Default.Validate(); err != nil {\n\t\treturn fmt.Errorf(\"invalid configuration: %w\", err)\n\t}\n\n\treturn nil\n}\n\n// Validate performs basic checks for required configuration fields.\n// Extend this with more complete validation as needed.\nfunc (c *Config) Validate() error {\n\tvar missing []string\n\n\tif c.App.LogLevel == \"\" {\n\t\tmissing = append(missing, \"app.log_level\")\n\t}\n\n\t// check a subset of fields that are likely required — extend as needed\n\tif c.ValidatorsSettings.RootFolder.Path == \"\" {\n\t\tmissing = append(missing, \"validators_settings.root_folder.path\")\n\t}\n\tif c.ValidatorsSettings.ChainFolder.Path == \"\" {\n\t\tmissing = append(missing, \"validators_settings.chain_folder.path\")\n\t}\n\tif c.ValidatorsSettings.AssetFolder.Path == \"\" {\n\t\tmissing = append(missing, \"validators_settings.asset_folder.path\")\n\t}\n\n\tif len(missing) > 0 {\n\t\treturn fmt.Errorf(\"missing required config keys: %v\", missing)\n\t}\n\treturn nil\n}",
+ "type": "file",
+ "timestamp": "2025-12-20T09:34:14.021Z",
+ "isStreaming": false,
+ "isUserEdited": false
+ },
+ {
+ "version": 4,
+ "messageId": "0a7240df-3fb8-426a-8d37-5923b3ba80c5",
+ "id": "file:config.go#16.8",
+ "language": "go",
+ "name": "config.go",
+ "value": "package config\n\nimport (\n\t\"fmt\"\n\t\"os\"\n\t\"path/filepath\"\n\t\"strings\"\n\t\"sync\"\n\n\t\"github.com/trustwallet/go-libs/config/viper\"\n)\n\ntype (\n\tConfig struct {\n\t\tApp App `mapstructure:\"app\"`\n\t\tClientURLs ClientURLs `mapstructure:\"client_urls\"`\n\t\tURLs URLs `mapstructure:\"urls\"`\n\t\tTimeFormat string `mapstructure:\"time_format\"`\n\t\tValidatorsSettings ValidatorsSettings `mapstructure:\"validators_settings\"`\n\t}\n\n\tApp struct {\n\t\tLogLevel string `mapstructure:\"log_level\"`\n\t}\n\n\tClientURLs struct {\n\t\tBinance struct {\n\t\t\tDex string `mapstructure:\"dex\"`\n\t\t\tExplorer string `mapstructure:\"explorer\"`\n\t\t} `mapstructure:\"binance\"`\n\t\tAssetsManagerAPI string `mapstructure:\"assets_manager_api\"`\n\t}\n\n\tURLs struct {\n\t\tAssetsApp string `mapstructure:\"assets_app\"`\n\t\tLogo string `mapstructure:\"logo\"`\n\t}\n\n\tValidatorsSettings struct {\n\t\tRootFolder RootFolder `mapstructure:\"root_folder\"`\n\t\tChainFolder ChainFolder `mapstructure:\"chain_folder\"`\n\t\tAssetFolder AssetFolder `mapstructure:\"asset_folder\"`\n\t\tChainInfoFolder ChainInfoFolder `mapstructure:\"chain_info_folder\"`\n\t\tChainValidatorsAssetFolder ChainValidatorsAssetFolder `mapstructure:\"chain_validators_asset_folder\"`\n\t\tDappsFolder DappsFolder `mapstructure:\"dapps_folder\"`\n\t}\n\n\t// Folder types hold path configuration for various validators' assets.\n\t// Keep these simple so mapstructure can populate them from config files.\n\tRootFolder struct {\n\t\tPath string `mapstructure:\"path\"`\n\t}\n\n\tChainFolder struct {\n\t\tPath string `mapstructure:\"path\"`\n\t}\n\n\tAssetFolder struct {\n\t\tPath string `mapstructure:\"path\"`\n\t}\n\n\tChainInfoFolder struct {\n\t\tPath string `mapstructure:\"path\"`\n\t}\n\n\tChainValidatorsAssetFolder struct {\n\t\tPath string `mapstructure:\"path\"`\n\t}\n\n\tDappsFolder struct {\n\t\tPath string `mapstructure:\"path\"`\n\t}\n)\n\n// Default is a configuration instance.\nvar Default = Config{} //nolint:gochecknoglobals // config must be global\n\n// once ensures SetConfig only performs loading once.\nvar once sync.Once\n\n// loadErr stores the result of the initial SetConfig call (nil on success).\nvar loadErr error\n\n// Get returns a pointer to the global configuration.\nfunc Get() *Config { return &Default }\n\n// SetConfig reads a config file and initializes the global config.\n// This function is safe to call multiple times — the first caller\n// performs the load and validation; subsequent calls are no-ops and\n// return the same error (if any). The confPath parameter is only used\n// by the first caller.\nfunc SetConfig(confPath string) error {\n\tonce.Do(func() {\n\t\tloadErr = setConfigOnce(confPath)\n\t})\n\treturn loadErr\n}\n\nfunc setConfigOnce(confPath string) error {\n\tif confPath == \"\" {\n\t\treturn fmt.Errorf(\"config path is empty\")\n\t}\n\n\t// expand ~/ to home directory\n\tif strings.HasPrefix(confPath, \"~\") {\n\t\tif home, err := os.UserHomeDir(); err == nil {\n\t\t\tconfPath = filepath.Join(home, strings.TrimPrefix(confPath, \"~/\"))\n\t\t}\n\t}\n\n\tabsPath, err := filepath.Abs(confPath)\n\tif err != nil {\n\t\treturn fmt.Errorf(\"failed to make config path absolute: %w\", err)\n\t}\n\n\t// ensure file exists\n\tif _, err := os.Stat(absPath); err != nil {\n\t\treturn fmt.Errorf(\"config file %s: %w\", absPath, err)\n\t}\n\n\t// load into global Default\n\tif err := viper.Load(absPath, &Default); err != nil {\n\t\treturn fmt.Errorf(\"failed to load config from %s: %w\", absPath, err)\n\t}\n\n\t// validate loaded configuration\n\tif err := Default.Validate(); err != nil {\n\t\treturn fmt.Errorf(\"invalid configuration: %w\", err)\n\t}\n\n\treturn nil\n}\n\n// Validate performs basic checks for required configuration fields.\n// Extend this with more complete validation as needed.\nfunc (c *Config) Validate() error {\n\tvar missing []string\n\n\tif c.App.LogLevel == \"\" {\n\t\tmissing = append(missing, \"app.log_level\")\n\t}\n\n\tif c.ValidatorsSettings.RootFolder.Path == \"\" {\n\t\tmissing = append(missing, \"validators_settings.root_folder.path\")\n\t}\n\tif c.ValidatorsSettings.ChainFolder.Path == \"\" {\n\t\tmissing = append(missing, \"validators_settings.chain_folder.path\")\n\t}\n\tif c.ValidatorsSettings.AssetFolder.Path == \"\" {\n\t\tmissing = append(missing, \"validators_settings.asset_folder.path\")\n\t}\n\n\tif len(missing) > 0 {\n\t\treturn fmt.Errorf(\"missing required config keys: %v\", missing)\n\t}\n\treturn nil\n}",
+ "type": "file",
+ "timestamp": "2025-12-20T09:35:05.095Z",
+ "isStreaming": false,
+ "isUserEdited": false
+ },
+ {
+ "version": 5,
+ "messageId": "033fd51d-ee91-4705-905a-6c78ad37d951",
+ "id": "file:config.go#18.1",
+ "language": "go",
+ "name": "config.go",
+ "value": "package config\n\nimport (\n\t\"fmt\"\n\t\"os\"\n\t\"path/filepath\"\n\t\"strings\"\n\t\"sync\"\n\n\t\"github.com/trustwallet/go-libs/config/viper\"\n)\n\ntype (\n\tConfig struct {\n\t\tApp App `mapstructure:\"app\"`\n\t\tClientURLs ClientURLs `mapstructure:\"client_urls\"`\n\t\tURLs URLs `mapstructure:\"urls\"`\n\t\tTimeFormat string `mapstructure:\"time_format\"`\n\t\tValidatorsSettings ValidatorsSettings `mapstructure:\"validators_settings\"`\n\t}\n\n\tApp struct {\n\t\tLogLevel string `mapstructure:\"log_level\"`\n\t}\n\n\tClientURLs struct {\n\t\tBinance struct {\n\t\t\tDex string `mapstructure:\"dex\"`\n\t\t\tExplorer string `mapstructure:\"explorer\"`\n\t\t} `mapstructure:\"binance\"`\n\t\tAssetsManagerAPI string `mapstructure:\"assets_manager_api\"`\n\t}\n\n\tURLs struct {\n\t\tAssetsApp string `mapstructure:\"assets_app\"`\n\t\tLogo string `mapstructure:\"logo\"`\n\t}\n\n\tValidatorsSettings struct {\n\t\tRootFolder RootFolder `mapstructure:\"root_folder\"`\n\t\tChainFolder ChainFolder `mapstructure:\"chain_folder\"`\n\t\tAssetFolder AssetFolder `mapstructure:\"asset_folder\"`\n\t\tChainInfoFolder ChainInfoFolder `mapstructure:\"chain_info_folder\"`\n\t\tChainValidatorsAssetFolder ChainValidatorsAssetFolder `mapstructure:\"chain_validators_asset_folder\"`\n\t\tDappsFolder DappsFolder `mapstructure:\"dapps_folder\"`\n\t}\n\n\t// Folder types hold path configuration for various validators' assets.\n\t// Keep these simple so mapstructure can populate them from config files.\n\tRootFolder struct {\n\t\tPath string `mapstructure:\"path\"`\n\t}\n\n\tChainFolder struct {\n\t\tPath string `mapstructure:\"path\"`\n\t}\n\n\tAssetFolder struct {\n\t\tPath string `mapstructure:\"path\"`\n\t}\n\n\tChainInfoFolder struct {\n\t\tPath string `mapstructure:\"path\"`\n\t}\n\n\tChainValidatorsAssetFolder struct {\n\t\tPath string `mapstructure:\"path\"`\n\t}\n\n\tDappsFolder struct {\n\t\tPath string `mapstructure:\"path\"`\n\t}\n)\n\n// Default is a configuration instance.\nvar Default = Config{} //nolint:gochecknoglobals // config must be global\n\n// once ensures SetConfig only performs loading once.\nvar once sync.Once\n\n// loadErr stores the result of the initial SetConfig call (nil on success).\nvar loadErr error\n\n// Get returns a pointer to the global configuration.\nfunc Get() *Config { return &Default }\n\n// SetConfig reads a config file and initializes the global config.\n// This function is safe to call multiple times — the first caller\n// performs the load and validation; subsequent calls are no-ops and\n// return the same error (if any). The confPath parameter is only used\n// by the first caller.\nfunc SetConfig(confPath string) error {\n\tonce.Do(func() {\n\t\tloadErr = setConfigOnce(confPath)\n\t})\n\treturn loadErr\n}\n\nfunc setConfigOnce(confPath string) error {\n\tif confPath == \"\" {\n\t\treturn fmt.Errorf(\"config path is empty\")\n\t}\n\n\t// expand ~/ to home directory\n\tif strings.HasPrefix(confPath, \"~\") {\n\t\tif home, err := os.UserHomeDir(); err == nil {\n\t\t\tconfPath = filepath.Join(home, strings.TrimPrefix(confPath, \"~/\"))\n\t\t}\n\t}\n\n\tabsPath, err := filepath.Abs(confPath)\n\tif err != nil {\n\t\treturn fmt.Errorf(\"failed to make config path absolute: %w\", err)\n\t}\n\n\t// ensure file exists\n\tif _, err := os.Stat(absPath); err != nil {\n\t\treturn fmt.Errorf(\"config file %s: %w\", absPath, err)\n\t}\n\n\t// load into global Default\n\tif err := viper.Load(absPath, &Default); err != nil {\n\t\treturn fmt.Errorf(\"failed to load config from %s: %w\", absPath, err)\n\t}\n\n\t// validate loaded configuration\n\tif err := Default.Validate(); err != nil {\n\t\treturn fmt.Errorf(\"invalid configuration: %w\", err)\n\t}\n\n\treturn nil\n}\n\n// Validate performs basic checks for required configuration fields.\n// Extend this with more complete validation as needed.\nfunc (c *Config) Validate() error {\n\tvar missing []string\n\n\tif c.App.LogLevel == \"\" {\n\t\tmissing = append(missing, \"app.log_level\")\n\t}\n\n\tif c.ValidatorsSettings.RootFolder.Path == \"\" {\n\t\tmissing = append(missing, \"validators_settings.root_folder.path\")\n\t}\n\tif c.ValidatorsSettings.ChainFolder.Path == \"\" {\n\t\tmissing = append(missing, \"validators_settings.chain_folder.path\")\n\t}\n\tif c.ValidatorsSettings.AssetFolder.Path == \"\" {\n\t\tmissing = append(missing, \"validators_settings.asset_folder.path\")\n\t}\n\n\tif len(missing) > 0 {\n\t\treturn fmt.Errorf(\"missing required config keys: %v\", missing)\n\t}\n\treturn nil\n}\n\n// ResetForTests resets package-level state so tests can call SetConfig\n// multiple times with different files.\n//\n// WARNING: This function is intended for use in tests only. It is NOT\n// safe to call concurrently with other package functions outside of a\n// test harness. It resets the global config, the once guard, and the\n// stored load error.\nfunc ResetForTests() {\n\tonce = sync.Once{}\n\tDefault = Config{}\n\tloadErr = nil\n}",
+ "type": "file",
+ "timestamp": "2025-12-20T09:35:39.880Z",
+ "isStreaming": false,
+ "isUserEdited": false
+ }
+ ]
+ }
+}
\ No newline at end of file
diff --git a/text 3.txt b/text 3.txt
new file mode 100644
index 0000000..8dfbf0b
--- /dev/null
+++ b/text 3.txt
@@ -0,0 +1 @@
+curl https://dl.google.com/linux/linux_signing_key.pub | sudo gpg --dearmor -o /usr/share/keyrings/google.linux.gpg
\ No newline at end of file
diff --git a/zone_requests_all_2025-12-22.csv b/zone_requests_all_2025-12-22.csv
new file mode 100644
index 0000000..6fde4a8
--- /dev/null
+++ b/zone_requests_all_2025-12-22.csv
@@ -0,0 +1,1125 @@
+"Email","TLD name","Status","Last Updated","Reason","Expire Date"
+"Malesforfemalesllc@gmail.com","computer","approved","2025-03-09T19:27:57Z","","2036-02-20T19:27:01Z"
+"Malesforfemalesllc@gmail.com","management","approved","2025-03-09T19:27:57Z","","2036-02-20T19:27:01Z"
+"Malesforfemalesllc@gmail.com","marketing","approved","2025-03-09T19:27:57Z","","2036-02-20T19:27:01Z"
+"Malesforfemalesllc@gmail.com","network","approved","2025-03-09T19:27:57Z","","2036-02-20T19:27:01Z"
+"Malesforfemalesllc@gmail.com","aaa","available","","",""
+"Malesforfemalesllc@gmail.com","aarp","available","","",""
+"Malesforfemalesllc@gmail.com","abb","available","","",""
+"Malesforfemalesllc@gmail.com","abbott","available","","",""
+"Malesforfemalesllc@gmail.com","abbvie","available","","",""
+"Malesforfemalesllc@gmail.com","abc","available","","",""
+"Malesforfemalesllc@gmail.com","able","available","","",""
+"Malesforfemalesllc@gmail.com","abogado","available","","",""
+"Malesforfemalesllc@gmail.com","abudhabi","available","","",""
+"Malesforfemalesllc@gmail.com","academy","available","","",""
+"Malesforfemalesllc@gmail.com","accenture","available","","",""
+"Malesforfemalesllc@gmail.com","accountant","available","","",""
+"Malesforfemalesllc@gmail.com","accountants","available","","",""
+"Malesforfemalesllc@gmail.com","aco","available","","",""
+"Malesforfemalesllc@gmail.com","actor","available","","",""
+"Malesforfemalesllc@gmail.com","ads","available","","",""
+"Malesforfemalesllc@gmail.com","adult","available","","",""
+"Malesforfemalesllc@gmail.com","aeg","available","","",""
+"Malesforfemalesllc@gmail.com","aetna","available","","",""
+"Malesforfemalesllc@gmail.com","afl","available","","",""
+"Malesforfemalesllc@gmail.com","africa","available","","",""
+"Malesforfemalesllc@gmail.com","agakhan","available","","",""
+"Malesforfemalesllc@gmail.com","agency","available","","",""
+"Malesforfemalesllc@gmail.com","aig","available","","",""
+"Malesforfemalesllc@gmail.com","airbus","available","","",""
+"Malesforfemalesllc@gmail.com","airforce","available","","",""
+"Malesforfemalesllc@gmail.com","airtel","available","","",""
+"Malesforfemalesllc@gmail.com","akdn","available","","",""
+"Malesforfemalesllc@gmail.com","alibaba","available","","",""
+"Malesforfemalesllc@gmail.com","alipay","available","","",""
+"Malesforfemalesllc@gmail.com","allfinanz","available","","",""
+"Malesforfemalesllc@gmail.com","allstate","available","","",""
+"Malesforfemalesllc@gmail.com","ally","available","","",""
+"Malesforfemalesllc@gmail.com","alsace","available","","",""
+"Malesforfemalesllc@gmail.com","alstom","available","","",""
+"Malesforfemalesllc@gmail.com","americanexpress","available","","",""
+"Malesforfemalesllc@gmail.com","americanfamily","available","","",""
+"Malesforfemalesllc@gmail.com","amex","available","","",""
+"Malesforfemalesllc@gmail.com","amfam","available","","",""
+"Malesforfemalesllc@gmail.com","amica","available","","",""
+"Malesforfemalesllc@gmail.com","amsterdam","available","","",""
+"Malesforfemalesllc@gmail.com","analytics","available","","",""
+"Malesforfemalesllc@gmail.com","android","available","","",""
+"Malesforfemalesllc@gmail.com","anquan","available","","",""
+"Malesforfemalesllc@gmail.com","anz","available","","",""
+"Malesforfemalesllc@gmail.com","aol","available","","",""
+"Malesforfemalesllc@gmail.com","apartments","available","","",""
+"Malesforfemalesllc@gmail.com","app","available","","",""
+"Malesforfemalesllc@gmail.com","apple","available","","",""
+"Malesforfemalesllc@gmail.com","aquarelle","available","","",""
+"Malesforfemalesllc@gmail.com","arab","available","","",""
+"Malesforfemalesllc@gmail.com","aramco","available","","",""
+"Malesforfemalesllc@gmail.com","archi","available","","",""
+"Malesforfemalesllc@gmail.com","army","available","","",""
+"Malesforfemalesllc@gmail.com","art","available","","",""
+"Malesforfemalesllc@gmail.com","arte","available","","",""
+"Malesforfemalesllc@gmail.com","asda","available","","",""
+"Malesforfemalesllc@gmail.com","associates","available","","",""
+"Malesforfemalesllc@gmail.com","athleta","available","","",""
+"Malesforfemalesllc@gmail.com","attorney","available","","",""
+"Malesforfemalesllc@gmail.com","auction","available","","",""
+"Malesforfemalesllc@gmail.com","audi","available","","",""
+"Malesforfemalesllc@gmail.com","audible","available","","",""
+"Malesforfemalesllc@gmail.com","audio","available","","",""
+"Malesforfemalesllc@gmail.com","auspost","available","","",""
+"Malesforfemalesllc@gmail.com","author","available","","",""
+"Malesforfemalesllc@gmail.com","auto","available","","",""
+"Malesforfemalesllc@gmail.com","autos","available","","",""
+"Malesforfemalesllc@gmail.com","aws","available","","",""
+"Malesforfemalesllc@gmail.com","axa","available","","",""
+"Malesforfemalesllc@gmail.com","azure","available","","",""
+"Malesforfemalesllc@gmail.com","baby","available","","",""
+"Malesforfemalesllc@gmail.com","baidu","available","","",""
+"Malesforfemalesllc@gmail.com","banamex","available","","",""
+"Malesforfemalesllc@gmail.com","band","available","","",""
+"Malesforfemalesllc@gmail.com","bank","available","","",""
+"Malesforfemalesllc@gmail.com","bar","available","","",""
+"Malesforfemalesllc@gmail.com","barcelona","available","","",""
+"Malesforfemalesllc@gmail.com","barclaycard","available","","",""
+"Malesforfemalesllc@gmail.com","barclays","available","","",""
+"Malesforfemalesllc@gmail.com","barefoot","available","","",""
+"Malesforfemalesllc@gmail.com","bargains","available","","",""
+"Malesforfemalesllc@gmail.com","baseball","available","","",""
+"Malesforfemalesllc@gmail.com","basketball","available","","",""
+"Malesforfemalesllc@gmail.com","bauhaus","available","","",""
+"Malesforfemalesllc@gmail.com","bayern","available","","",""
+"Malesforfemalesllc@gmail.com","bbc","available","","",""
+"Malesforfemalesllc@gmail.com","bbt","available","","",""
+"Malesforfemalesllc@gmail.com","bbva","available","","",""
+"Malesforfemalesllc@gmail.com","bcg","available","","",""
+"Malesforfemalesllc@gmail.com","bcn","available","","",""
+"Malesforfemalesllc@gmail.com","beats","available","","",""
+"Malesforfemalesllc@gmail.com","beauty","available","","",""
+"Malesforfemalesllc@gmail.com","beer","available","","",""
+"Malesforfemalesllc@gmail.com","berlin","available","","",""
+"Malesforfemalesllc@gmail.com","best","available","","",""
+"Malesforfemalesllc@gmail.com","bestbuy","available","","",""
+"Malesforfemalesllc@gmail.com","bet","available","","",""
+"Malesforfemalesllc@gmail.com","bharti","available","","",""
+"Malesforfemalesllc@gmail.com","bible","available","","",""
+"Malesforfemalesllc@gmail.com","bid","available","","",""
+"Malesforfemalesllc@gmail.com","bike","available","","",""
+"Malesforfemalesllc@gmail.com","bing","available","","",""
+"Malesforfemalesllc@gmail.com","bingo","available","","",""
+"Malesforfemalesllc@gmail.com","bio","available","","",""
+"Malesforfemalesllc@gmail.com","black","available","","",""
+"Malesforfemalesllc@gmail.com","blackfriday","available","","",""
+"Malesforfemalesllc@gmail.com","blockbuster","available","","",""
+"Malesforfemalesllc@gmail.com","blog","available","","",""
+"Malesforfemalesllc@gmail.com","bloomberg","available","","",""
+"Malesforfemalesllc@gmail.com","blue","available","","",""
+"Malesforfemalesllc@gmail.com","bms","available","","",""
+"Malesforfemalesllc@gmail.com","bmw","available","","",""
+"Malesforfemalesllc@gmail.com","bnpparibas","available","","",""
+"Malesforfemalesllc@gmail.com","boats","available","","",""
+"Malesforfemalesllc@gmail.com","boehringer","available","","",""
+"Malesforfemalesllc@gmail.com","bofa","available","","",""
+"Malesforfemalesllc@gmail.com","bom","available","","",""
+"Malesforfemalesllc@gmail.com","bond","available","","",""
+"Malesforfemalesllc@gmail.com","boo","available","","",""
+"Malesforfemalesllc@gmail.com","book","available","","",""
+"Malesforfemalesllc@gmail.com","booking","available","","",""
+"Malesforfemalesllc@gmail.com","bosch","available","","",""
+"Malesforfemalesllc@gmail.com","bostik","available","","",""
+"Malesforfemalesllc@gmail.com","boston","available","","",""
+"Malesforfemalesllc@gmail.com","bot","available","","",""
+"Malesforfemalesllc@gmail.com","boutique","available","","",""
+"Malesforfemalesllc@gmail.com","box","available","","",""
+"Malesforfemalesllc@gmail.com","bradesco","available","","",""
+"Malesforfemalesllc@gmail.com","bridgestone","available","","",""
+"Malesforfemalesllc@gmail.com","broadway","available","","",""
+"Malesforfemalesllc@gmail.com","broker","available","","",""
+"Malesforfemalesllc@gmail.com","brother","available","","",""
+"Malesforfemalesllc@gmail.com","brussels","available","","",""
+"Malesforfemalesllc@gmail.com","build","available","","",""
+"Malesforfemalesllc@gmail.com","builders","available","","",""
+"Malesforfemalesllc@gmail.com","business","available","","",""
+"Malesforfemalesllc@gmail.com","buy","available","","",""
+"Malesforfemalesllc@gmail.com","buzz","available","","",""
+"Malesforfemalesllc@gmail.com","bzh","available","","",""
+"Malesforfemalesllc@gmail.com","cab","available","","",""
+"Malesforfemalesllc@gmail.com","cafe","available","","",""
+"Malesforfemalesllc@gmail.com","cal","available","","",""
+"Malesforfemalesllc@gmail.com","call","available","","",""
+"Malesforfemalesllc@gmail.com","calvinklein","available","","",""
+"Malesforfemalesllc@gmail.com","cam","available","","",""
+"Malesforfemalesllc@gmail.com","camera","available","","",""
+"Malesforfemalesllc@gmail.com","camp","available","","",""
+"Malesforfemalesllc@gmail.com","canon","available","","",""
+"Malesforfemalesllc@gmail.com","capetown","available","","",""
+"Malesforfemalesllc@gmail.com","capital","available","","",""
+"Malesforfemalesllc@gmail.com","capitalone","available","","",""
+"Malesforfemalesllc@gmail.com","car","available","","",""
+"Malesforfemalesllc@gmail.com","caravan","available","","",""
+"Malesforfemalesllc@gmail.com","cards","available","","",""
+"Malesforfemalesllc@gmail.com","care","available","","",""
+"Malesforfemalesllc@gmail.com","career","available","","",""
+"Malesforfemalesllc@gmail.com","careers","available","","",""
+"Malesforfemalesllc@gmail.com","cars","available","","",""
+"Malesforfemalesllc@gmail.com","casa","available","","",""
+"Malesforfemalesllc@gmail.com","case","available","","",""
+"Malesforfemalesllc@gmail.com","cash","available","","",""
+"Malesforfemalesllc@gmail.com","casino","available","","",""
+"Malesforfemalesllc@gmail.com","cat","available","","",""
+"Malesforfemalesllc@gmail.com","catering","available","","",""
+"Malesforfemalesllc@gmail.com","catholic","available","","",""
+"Malesforfemalesllc@gmail.com","cba","available","","",""
+"Malesforfemalesllc@gmail.com","cbn","available","","",""
+"Malesforfemalesllc@gmail.com","cbre","available","","",""
+"Malesforfemalesllc@gmail.com","center","available","","",""
+"Malesforfemalesllc@gmail.com","ceo","available","","",""
+"Malesforfemalesllc@gmail.com","cern","available","","",""
+"Malesforfemalesllc@gmail.com","cfa","available","","",""
+"Malesforfemalesllc@gmail.com","cfd","available","","",""
+"Malesforfemalesllc@gmail.com","chanel","available","","",""
+"Malesforfemalesllc@gmail.com","channel","available","","",""
+"Malesforfemalesllc@gmail.com","charity","available","","",""
+"Malesforfemalesllc@gmail.com","chase","available","","",""
+"Malesforfemalesllc@gmail.com","chat","available","","",""
+"Malesforfemalesllc@gmail.com","cheap","available","","",""
+"Malesforfemalesllc@gmail.com","chintai","available","","",""
+"Malesforfemalesllc@gmail.com","christmas","available","","",""
+"Malesforfemalesllc@gmail.com","chrome","available","","",""
+"Malesforfemalesllc@gmail.com","church","available","","",""
+"Malesforfemalesllc@gmail.com","cipriani","available","","",""
+"Malesforfemalesllc@gmail.com","circle","available","","",""
+"Malesforfemalesllc@gmail.com","cisco","available","","",""
+"Malesforfemalesllc@gmail.com","citadel","available","","",""
+"Malesforfemalesllc@gmail.com","citi","available","","",""
+"Malesforfemalesllc@gmail.com","citic","available","","",""
+"Malesforfemalesllc@gmail.com","city","available","","",""
+"Malesforfemalesllc@gmail.com","claims","available","","",""
+"Malesforfemalesllc@gmail.com","cleaning","available","","",""
+"Malesforfemalesllc@gmail.com","click","available","","",""
+"Malesforfemalesllc@gmail.com","clinic","available","","",""
+"Malesforfemalesllc@gmail.com","clinique","available","","",""
+"Malesforfemalesllc@gmail.com","clothing","available","","",""
+"Malesforfemalesllc@gmail.com","cloud","available","","",""
+"Malesforfemalesllc@gmail.com","club","available","","",""
+"Malesforfemalesllc@gmail.com","clubmed","available","","",""
+"Malesforfemalesllc@gmail.com","coach","available","","",""
+"Malesforfemalesllc@gmail.com","codes","available","","",""
+"Malesforfemalesllc@gmail.com","coffee","available","","",""
+"Malesforfemalesllc@gmail.com","college","available","","",""
+"Malesforfemalesllc@gmail.com","cologne","available","","",""
+"Malesforfemalesllc@gmail.com","commbank","available","","",""
+"Malesforfemalesllc@gmail.com","community","available","","",""
+"Malesforfemalesllc@gmail.com","company","available","","",""
+"Malesforfemalesllc@gmail.com","compare","available","","",""
+"Malesforfemalesllc@gmail.com","comsec","available","","",""
+"Malesforfemalesllc@gmail.com","condos","available","","",""
+"Malesforfemalesllc@gmail.com","construction","available","","",""
+"Malesforfemalesllc@gmail.com","consulting","available","","",""
+"Malesforfemalesllc@gmail.com","contact","available","","",""
+"Malesforfemalesllc@gmail.com","contractors","available","","",""
+"Malesforfemalesllc@gmail.com","cooking","available","","",""
+"Malesforfemalesllc@gmail.com","cool","available","","",""
+"Malesforfemalesllc@gmail.com","coop","available","","",""
+"Malesforfemalesllc@gmail.com","corsica","available","","",""
+"Malesforfemalesllc@gmail.com","country","available","","",""
+"Malesforfemalesllc@gmail.com","coupon","available","","",""
+"Malesforfemalesllc@gmail.com","coupons","available","","",""
+"Malesforfemalesllc@gmail.com","courses","available","","",""
+"Malesforfemalesllc@gmail.com","credit","available","","",""
+"Malesforfemalesllc@gmail.com","creditcard","available","","",""
+"Malesforfemalesllc@gmail.com","creditunion","available","","",""
+"Malesforfemalesllc@gmail.com","cricket","available","","",""
+"Malesforfemalesllc@gmail.com","crown","available","","",""
+"Malesforfemalesllc@gmail.com","crs","available","","",""
+"Malesforfemalesllc@gmail.com","cruise","available","","",""
+"Malesforfemalesllc@gmail.com","cruises","available","","",""
+"Malesforfemalesllc@gmail.com","cuisinella","available","","",""
+"Malesforfemalesllc@gmail.com","cymru","available","","",""
+"Malesforfemalesllc@gmail.com","cyou","available","","",""
+"Malesforfemalesllc@gmail.com","dad","available","","",""
+"Malesforfemalesllc@gmail.com","dance","available","","",""
+"Malesforfemalesllc@gmail.com","data","available","","",""
+"Malesforfemalesllc@gmail.com","date","available","","",""
+"Malesforfemalesllc@gmail.com","dating","available","","",""
+"Malesforfemalesllc@gmail.com","datsun","available","","",""
+"Malesforfemalesllc@gmail.com","day","available","","",""
+"Malesforfemalesllc@gmail.com","dclk","available","","",""
+"Malesforfemalesllc@gmail.com","dds","available","","",""
+"Malesforfemalesllc@gmail.com","deal","available","","",""
+"Malesforfemalesllc@gmail.com","dealer","available","","",""
+"Malesforfemalesllc@gmail.com","deals","available","","",""
+"Malesforfemalesllc@gmail.com","degree","available","","",""
+"Malesforfemalesllc@gmail.com","delivery","available","","",""
+"Malesforfemalesllc@gmail.com","dell","available","","",""
+"Malesforfemalesllc@gmail.com","deloitte","available","","",""
+"Malesforfemalesllc@gmail.com","delta","available","","",""
+"Malesforfemalesllc@gmail.com","democrat","available","","",""
+"Malesforfemalesllc@gmail.com","dental","available","","",""
+"Malesforfemalesllc@gmail.com","dentist","available","","",""
+"Malesforfemalesllc@gmail.com","desi","available","","",""
+"Malesforfemalesllc@gmail.com","design","available","","",""
+"Malesforfemalesllc@gmail.com","dev","available","","",""
+"Malesforfemalesllc@gmail.com","dhl","available","","",""
+"Malesforfemalesllc@gmail.com","diamonds","available","","",""
+"Malesforfemalesllc@gmail.com","diet","available","","",""
+"Malesforfemalesllc@gmail.com","digital","available","","",""
+"Malesforfemalesllc@gmail.com","direct","available","","",""
+"Malesforfemalesllc@gmail.com","directory","available","","",""
+"Malesforfemalesllc@gmail.com","discount","available","","",""
+"Malesforfemalesllc@gmail.com","discover","available","","",""
+"Malesforfemalesllc@gmail.com","dish","available","","",""
+"Malesforfemalesllc@gmail.com","diy","available","","",""
+"Malesforfemalesllc@gmail.com","dnp","available","","",""
+"Malesforfemalesllc@gmail.com","docs","available","","",""
+"Malesforfemalesllc@gmail.com","doctor","available","","",""
+"Malesforfemalesllc@gmail.com","dog","available","","",""
+"Malesforfemalesllc@gmail.com","domains","available","","",""
+"Malesforfemalesllc@gmail.com","dot","available","","",""
+"Malesforfemalesllc@gmail.com","download","available","","",""
+"Malesforfemalesllc@gmail.com","drive","available","","",""
+"Malesforfemalesllc@gmail.com","dtv","available","","",""
+"Malesforfemalesllc@gmail.com","dubai","available","","",""
+"Malesforfemalesllc@gmail.com","dupont","available","","",""
+"Malesforfemalesllc@gmail.com","durban","available","","",""
+"Malesforfemalesllc@gmail.com","dvag","available","","",""
+"Malesforfemalesllc@gmail.com","dvr","available","","",""
+"Malesforfemalesllc@gmail.com","earth","available","","",""
+"Malesforfemalesllc@gmail.com","eat","available","","",""
+"Malesforfemalesllc@gmail.com","eco","available","","",""
+"Malesforfemalesllc@gmail.com","edeka","available","","",""
+"Malesforfemalesllc@gmail.com","education","available","","",""
+"Malesforfemalesllc@gmail.com","email","available","","",""
+"Malesforfemalesllc@gmail.com","emerck","available","","",""
+"Malesforfemalesllc@gmail.com","energy","available","","",""
+"Malesforfemalesllc@gmail.com","engineer","available","","",""
+"Malesforfemalesllc@gmail.com","engineering","available","","",""
+"Malesforfemalesllc@gmail.com","enterprises","available","","",""
+"Malesforfemalesllc@gmail.com","epson","available","","",""
+"Malesforfemalesllc@gmail.com","equipment","available","","",""
+"Malesforfemalesllc@gmail.com","ericsson","available","","",""
+"Malesforfemalesllc@gmail.com","erni","available","","",""
+"Malesforfemalesllc@gmail.com","esq","available","","",""
+"Malesforfemalesllc@gmail.com","estate","available","","",""
+"Malesforfemalesllc@gmail.com","eurovision","available","","",""
+"Malesforfemalesllc@gmail.com","eus","available","","",""
+"Malesforfemalesllc@gmail.com","events","available","","",""
+"Malesforfemalesllc@gmail.com","exchange","available","","",""
+"Malesforfemalesllc@gmail.com","expert","available","","",""
+"Malesforfemalesllc@gmail.com","exposed","available","","",""
+"Malesforfemalesllc@gmail.com","express","available","","",""
+"Malesforfemalesllc@gmail.com","extraspace","available","","",""
+"Malesforfemalesllc@gmail.com","fage","available","","",""
+"Malesforfemalesllc@gmail.com","fail","available","","",""
+"Malesforfemalesllc@gmail.com","fairwinds","available","","",""
+"Malesforfemalesllc@gmail.com","faith","available","","",""
+"Malesforfemalesllc@gmail.com","family","available","","",""
+"Malesforfemalesllc@gmail.com","fan","available","","",""
+"Malesforfemalesllc@gmail.com","fans","available","","",""
+"Malesforfemalesllc@gmail.com","farm","available","","",""
+"Malesforfemalesllc@gmail.com","farmers","available","","",""
+"Malesforfemalesllc@gmail.com","fashion","available","","",""
+"Malesforfemalesllc@gmail.com","fast","available","","",""
+"Malesforfemalesllc@gmail.com","fedex","available","","",""
+"Malesforfemalesllc@gmail.com","feedback","available","","",""
+"Malesforfemalesllc@gmail.com","ferrari","available","","",""
+"Malesforfemalesllc@gmail.com","ferrero","available","","",""
+"Malesforfemalesllc@gmail.com","fidelity","available","","",""
+"Malesforfemalesllc@gmail.com","fido","available","","",""
+"Malesforfemalesllc@gmail.com","film","available","","",""
+"Malesforfemalesllc@gmail.com","final","available","","",""
+"Malesforfemalesllc@gmail.com","finance","available","","",""
+"Malesforfemalesllc@gmail.com","financial","available","","",""
+"Malesforfemalesllc@gmail.com","fire","available","","",""
+"Malesforfemalesllc@gmail.com","firestone","available","","",""
+"Malesforfemalesllc@gmail.com","firmdale","available","","",""
+"Malesforfemalesllc@gmail.com","fish","available","","",""
+"Malesforfemalesllc@gmail.com","fishing","available","","",""
+"Malesforfemalesllc@gmail.com","fit","available","","",""
+"Malesforfemalesllc@gmail.com","fitness","available","","",""
+"Malesforfemalesllc@gmail.com","flickr","available","","",""
+"Malesforfemalesllc@gmail.com","flights","available","","",""
+"Malesforfemalesllc@gmail.com","flir","available","","",""
+"Malesforfemalesllc@gmail.com","florist","available","","",""
+"Malesforfemalesllc@gmail.com","flowers","available","","",""
+"Malesforfemalesllc@gmail.com","fly","available","","",""
+"Malesforfemalesllc@gmail.com","foo","available","","",""
+"Malesforfemalesllc@gmail.com","food","available","","",""
+"Malesforfemalesllc@gmail.com","football","available","","",""
+"Malesforfemalesllc@gmail.com","ford","available","","",""
+"Malesforfemalesllc@gmail.com","forex","available","","",""
+"Malesforfemalesllc@gmail.com","forsale","available","","",""
+"Malesforfemalesllc@gmail.com","forum","available","","",""
+"Malesforfemalesllc@gmail.com","foundation","available","","",""
+"Malesforfemalesllc@gmail.com","fox","available","","",""
+"Malesforfemalesllc@gmail.com","free","available","","",""
+"Malesforfemalesllc@gmail.com","fresenius","available","","",""
+"Malesforfemalesllc@gmail.com","frl","available","","",""
+"Malesforfemalesllc@gmail.com","frogans","available","","",""
+"Malesforfemalesllc@gmail.com","frontier","available","","",""
+"Malesforfemalesllc@gmail.com","ftr","available","","",""
+"Malesforfemalesllc@gmail.com","fujitsu","available","","",""
+"Malesforfemalesllc@gmail.com","fun","available","","",""
+"Malesforfemalesllc@gmail.com","fund","available","","",""
+"Malesforfemalesllc@gmail.com","furniture","available","","",""
+"Malesforfemalesllc@gmail.com","futbol","available","","",""
+"Malesforfemalesllc@gmail.com","fyi","available","","",""
+"Malesforfemalesllc@gmail.com","gal","available","","",""
+"Malesforfemalesllc@gmail.com","gallery","available","","",""
+"Malesforfemalesllc@gmail.com","gallo","available","","",""
+"Malesforfemalesllc@gmail.com","gallup","available","","",""
+"Malesforfemalesllc@gmail.com","game","available","","",""
+"Malesforfemalesllc@gmail.com","games","available","","",""
+"Malesforfemalesllc@gmail.com","gap","available","","",""
+"Malesforfemalesllc@gmail.com","garden","available","","",""
+"Malesforfemalesllc@gmail.com","gbiz","available","","",""
+"Malesforfemalesllc@gmail.com","gdn","available","","",""
+"Malesforfemalesllc@gmail.com","gea","available","","",""
+"Malesforfemalesllc@gmail.com","gent","available","","",""
+"Malesforfemalesllc@gmail.com","genting","available","","",""
+"Malesforfemalesllc@gmail.com","george","available","","",""
+"Malesforfemalesllc@gmail.com","ggee","available","","",""
+"Malesforfemalesllc@gmail.com","gift","available","","",""
+"Malesforfemalesllc@gmail.com","gifts","available","","",""
+"Malesforfemalesllc@gmail.com","gives","available","","",""
+"Malesforfemalesllc@gmail.com","giving","available","","",""
+"Malesforfemalesllc@gmail.com","glass","available","","",""
+"Malesforfemalesllc@gmail.com","gle","available","","",""
+"Malesforfemalesllc@gmail.com","global","available","","",""
+"Malesforfemalesllc@gmail.com","globo","available","","",""
+"Malesforfemalesllc@gmail.com","gmail","available","","",""
+"Malesforfemalesllc@gmail.com","gmbh","available","","",""
+"Malesforfemalesllc@gmail.com","gmo","available","","",""
+"Malesforfemalesllc@gmail.com","gmx","available","","",""
+"Malesforfemalesllc@gmail.com","godaddy","available","","",""
+"Malesforfemalesllc@gmail.com","gold","available","","",""
+"Malesforfemalesllc@gmail.com","goldpoint","available","","",""
+"Malesforfemalesllc@gmail.com","golf","available","","",""
+"Malesforfemalesllc@gmail.com","goo","available","","",""
+"Malesforfemalesllc@gmail.com","goodyear","available","","",""
+"Malesforfemalesllc@gmail.com","goog","available","","",""
+"Malesforfemalesllc@gmail.com","google","available","","",""
+"Malesforfemalesllc@gmail.com","gop","available","","",""
+"Malesforfemalesllc@gmail.com","got","available","","",""
+"Malesforfemalesllc@gmail.com","grainger","available","","",""
+"Malesforfemalesllc@gmail.com","graphics","available","","",""
+"Malesforfemalesllc@gmail.com","gratis","available","","",""
+"Malesforfemalesllc@gmail.com","green","available","","",""
+"Malesforfemalesllc@gmail.com","gripe","available","","",""
+"Malesforfemalesllc@gmail.com","grocery","available","","",""
+"Malesforfemalesllc@gmail.com","group","available","","",""
+"Malesforfemalesllc@gmail.com","gucci","available","","",""
+"Malesforfemalesllc@gmail.com","guge","available","","",""
+"Malesforfemalesllc@gmail.com","guide","available","","",""
+"Malesforfemalesllc@gmail.com","guitars","available","","",""
+"Malesforfemalesllc@gmail.com","guru","available","","",""
+"Malesforfemalesllc@gmail.com","hair","available","","",""
+"Malesforfemalesllc@gmail.com","hamburg","available","","",""
+"Malesforfemalesllc@gmail.com","hangout","available","","",""
+"Malesforfemalesllc@gmail.com","haus","available","","",""
+"Malesforfemalesllc@gmail.com","hbo","available","","",""
+"Malesforfemalesllc@gmail.com","hdfc","available","","",""
+"Malesforfemalesllc@gmail.com","hdfcbank","available","","",""
+"Malesforfemalesllc@gmail.com","health","available","","",""
+"Malesforfemalesllc@gmail.com","healthcare","available","","",""
+"Malesforfemalesllc@gmail.com","help","available","","",""
+"Malesforfemalesllc@gmail.com","helsinki","available","","",""
+"Malesforfemalesllc@gmail.com","here","available","","",""
+"Malesforfemalesllc@gmail.com","hermes","available","","",""
+"Malesforfemalesllc@gmail.com","hiphop","available","","",""
+"Malesforfemalesllc@gmail.com","hisamitsu","available","","",""
+"Malesforfemalesllc@gmail.com","hitachi","available","","",""
+"Malesforfemalesllc@gmail.com","hiv","available","","",""
+"Malesforfemalesllc@gmail.com","hkt","available","","",""
+"Malesforfemalesllc@gmail.com","hockey","available","","",""
+"Malesforfemalesllc@gmail.com","holdings","available","","",""
+"Malesforfemalesllc@gmail.com","holiday","available","","",""
+"Malesforfemalesllc@gmail.com","homedepot","available","","",""
+"Malesforfemalesllc@gmail.com","homegoods","available","","",""
+"Malesforfemalesllc@gmail.com","homes","available","","",""
+"Malesforfemalesllc@gmail.com","homesense","available","","",""
+"Malesforfemalesllc@gmail.com","honda","available","","",""
+"Malesforfemalesllc@gmail.com","horse","available","","",""
+"Malesforfemalesllc@gmail.com","hospital","available","","",""
+"Malesforfemalesllc@gmail.com","host","available","","",""
+"Malesforfemalesllc@gmail.com","hosting","available","","",""
+"Malesforfemalesllc@gmail.com","hot","available","","",""
+"Malesforfemalesllc@gmail.com","hotels","available","","",""
+"Malesforfemalesllc@gmail.com","hotmail","available","","",""
+"Malesforfemalesllc@gmail.com","house","available","","",""
+"Malesforfemalesllc@gmail.com","how","available","","",""
+"Malesforfemalesllc@gmail.com","hsbc","available","","",""
+"Malesforfemalesllc@gmail.com","hughes","available","","",""
+"Malesforfemalesllc@gmail.com","hyatt","available","","",""
+"Malesforfemalesllc@gmail.com","hyundai","available","","",""
+"Malesforfemalesllc@gmail.com","ibm","available","","",""
+"Malesforfemalesllc@gmail.com","icbc","available","","",""
+"Malesforfemalesllc@gmail.com","ice","available","","",""
+"Malesforfemalesllc@gmail.com","icu","available","","",""
+"Malesforfemalesllc@gmail.com","ieee","available","","",""
+"Malesforfemalesllc@gmail.com","ifm","available","","",""
+"Malesforfemalesllc@gmail.com","ikano","available","","",""
+"Malesforfemalesllc@gmail.com","imamat","available","","",""
+"Malesforfemalesllc@gmail.com","imdb","available","","",""
+"Malesforfemalesllc@gmail.com","immo","available","","",""
+"Malesforfemalesllc@gmail.com","immobilien","available","","",""
+"Malesforfemalesllc@gmail.com","inc","available","","",""
+"Malesforfemalesllc@gmail.com","industries","available","","",""
+"Malesforfemalesllc@gmail.com","infiniti","available","","",""
+"Malesforfemalesllc@gmail.com","ing","available","","",""
+"Malesforfemalesllc@gmail.com","ink","available","","",""
+"Malesforfemalesllc@gmail.com","institute","available","","",""
+"Malesforfemalesllc@gmail.com","insurance","available","","",""
+"Malesforfemalesllc@gmail.com","insure","available","","",""
+"Malesforfemalesllc@gmail.com","international","available","","",""
+"Malesforfemalesllc@gmail.com","intuit","available","","",""
+"Malesforfemalesllc@gmail.com","investments","available","","",""
+"Malesforfemalesllc@gmail.com","ipiranga","available","","",""
+"Malesforfemalesllc@gmail.com","irish","available","","",""
+"Malesforfemalesllc@gmail.com","ismaili","available","","",""
+"Malesforfemalesllc@gmail.com","ist","available","","",""
+"Malesforfemalesllc@gmail.com","istanbul","available","","",""
+"Malesforfemalesllc@gmail.com","itau","available","","",""
+"Malesforfemalesllc@gmail.com","itv","available","","",""
+"Malesforfemalesllc@gmail.com","jaguar","available","","",""
+"Malesforfemalesllc@gmail.com","java","available","","",""
+"Malesforfemalesllc@gmail.com","jcb","available","","",""
+"Malesforfemalesllc@gmail.com","jeep","available","","",""
+"Malesforfemalesllc@gmail.com","jetzt","available","","",""
+"Malesforfemalesllc@gmail.com","jewelry","available","","",""
+"Malesforfemalesllc@gmail.com","jio","available","","",""
+"Malesforfemalesllc@gmail.com","jll","available","","",""
+"Malesforfemalesllc@gmail.com","jmp","available","","",""
+"Malesforfemalesllc@gmail.com","jnj","available","","",""
+"Malesforfemalesllc@gmail.com","jobs","available","","",""
+"Malesforfemalesllc@gmail.com","joburg","available","","",""
+"Malesforfemalesllc@gmail.com","jot","available","","",""
+"Malesforfemalesllc@gmail.com","joy","available","","",""
+"Malesforfemalesllc@gmail.com","jpmorgan","available","","",""
+"Malesforfemalesllc@gmail.com","jprs","available","","",""
+"Malesforfemalesllc@gmail.com","juegos","available","","",""
+"Malesforfemalesllc@gmail.com","juniper","available","","",""
+"Malesforfemalesllc@gmail.com","kaufen","available","","",""
+"Malesforfemalesllc@gmail.com","kddi","available","","",""
+"Malesforfemalesllc@gmail.com","kerryhotels","available","","",""
+"Malesforfemalesllc@gmail.com","kerryproperties","available","","",""
+"Malesforfemalesllc@gmail.com","kfh","available","","",""
+"Malesforfemalesllc@gmail.com","kia","available","","",""
+"Malesforfemalesllc@gmail.com","kim","available","","",""
+"Malesforfemalesllc@gmail.com","kindle","available","","",""
+"Malesforfemalesllc@gmail.com","kitchen","available","","",""
+"Malesforfemalesllc@gmail.com","kiwi","available","","",""
+"Malesforfemalesllc@gmail.com","koeln","available","","",""
+"Malesforfemalesllc@gmail.com","komatsu","available","","",""
+"Malesforfemalesllc@gmail.com","kosher","available","","",""
+"Malesforfemalesllc@gmail.com","kpmg","available","","",""
+"Malesforfemalesllc@gmail.com","kpn","available","","",""
+"Malesforfemalesllc@gmail.com","krd","available","","",""
+"Malesforfemalesllc@gmail.com","kred","available","","",""
+"Malesforfemalesllc@gmail.com","kuokgroup","available","","",""
+"Malesforfemalesllc@gmail.com","kyoto","available","","",""
+"Malesforfemalesllc@gmail.com","lacaixa","available","","",""
+"Malesforfemalesllc@gmail.com","lamborghini","available","","",""
+"Malesforfemalesllc@gmail.com","lamer","available","","",""
+"Malesforfemalesllc@gmail.com","land","available","","",""
+"Malesforfemalesllc@gmail.com","landrover","available","","",""
+"Malesforfemalesllc@gmail.com","lanxess","available","","",""
+"Malesforfemalesllc@gmail.com","lasalle","available","","",""
+"Malesforfemalesllc@gmail.com","lat","available","","",""
+"Malesforfemalesllc@gmail.com","latino","available","","",""
+"Malesforfemalesllc@gmail.com","latrobe","available","","",""
+"Malesforfemalesllc@gmail.com","law","available","","",""
+"Malesforfemalesllc@gmail.com","lawyer","available","","",""
+"Malesforfemalesllc@gmail.com","lds","available","","",""
+"Malesforfemalesllc@gmail.com","lease","available","","",""
+"Malesforfemalesllc@gmail.com","leclerc","available","","",""
+"Malesforfemalesllc@gmail.com","lefrak","available","","",""
+"Malesforfemalesllc@gmail.com","legal","available","","",""
+"Malesforfemalesllc@gmail.com","lego","available","","",""
+"Malesforfemalesllc@gmail.com","lexus","available","","",""
+"Malesforfemalesllc@gmail.com","lgbt","available","","",""
+"Malesforfemalesllc@gmail.com","lidl","available","","",""
+"Malesforfemalesllc@gmail.com","life","available","","",""
+"Malesforfemalesllc@gmail.com","lifeinsurance","available","","",""
+"Malesforfemalesllc@gmail.com","lifestyle","available","","",""
+"Malesforfemalesllc@gmail.com","lighting","available","","",""
+"Malesforfemalesllc@gmail.com","like","available","","",""
+"Malesforfemalesllc@gmail.com","lilly","available","","",""
+"Malesforfemalesllc@gmail.com","limited","available","","",""
+"Malesforfemalesllc@gmail.com","limo","available","","",""
+"Malesforfemalesllc@gmail.com","lincoln","available","","",""
+"Malesforfemalesllc@gmail.com","link","available","","",""
+"Malesforfemalesllc@gmail.com","live","available","","",""
+"Malesforfemalesllc@gmail.com","living","available","","",""
+"Malesforfemalesllc@gmail.com","llc","available","","",""
+"Malesforfemalesllc@gmail.com","loan","available","","",""
+"Malesforfemalesllc@gmail.com","loans","available","","",""
+"Malesforfemalesllc@gmail.com","locker","available","","",""
+"Malesforfemalesllc@gmail.com","locus","available","","",""
+"Malesforfemalesllc@gmail.com","lol","available","","",""
+"Malesforfemalesllc@gmail.com","london","available","","",""
+"Malesforfemalesllc@gmail.com","lotte","available","","",""
+"Malesforfemalesllc@gmail.com","lotto","available","","",""
+"Malesforfemalesllc@gmail.com","love","available","","",""
+"Malesforfemalesllc@gmail.com","lpl","available","","",""
+"Malesforfemalesllc@gmail.com","lplfinancial","available","","",""
+"Malesforfemalesllc@gmail.com","ltd","available","","",""
+"Malesforfemalesllc@gmail.com","ltda","available","","",""
+"Malesforfemalesllc@gmail.com","lundbeck","available","","",""
+"Malesforfemalesllc@gmail.com","luxe","available","","",""
+"Malesforfemalesllc@gmail.com","luxury","available","","",""
+"Malesforfemalesllc@gmail.com","madrid","available","","",""
+"Malesforfemalesllc@gmail.com","maif","available","","",""
+"Malesforfemalesllc@gmail.com","maison","available","","",""
+"Malesforfemalesllc@gmail.com","makeup","available","","",""
+"Malesforfemalesllc@gmail.com","man","available","","",""
+"Malesforfemalesllc@gmail.com","mango","available","","",""
+"Malesforfemalesllc@gmail.com","map","available","","",""
+"Malesforfemalesllc@gmail.com","market","available","","",""
+"Malesforfemalesllc@gmail.com","markets","available","","",""
+"Malesforfemalesllc@gmail.com","marriott","available","","",""
+"Malesforfemalesllc@gmail.com","marshalls","available","","",""
+"Malesforfemalesllc@gmail.com","mattel","available","","",""
+"Malesforfemalesllc@gmail.com","mba","available","","",""
+"Malesforfemalesllc@gmail.com","mckinsey","available","","",""
+"Malesforfemalesllc@gmail.com","med","available","","",""
+"Malesforfemalesllc@gmail.com","media","available","","",""
+"Malesforfemalesllc@gmail.com","meet","available","","",""
+"Malesforfemalesllc@gmail.com","melbourne","available","","",""
+"Malesforfemalesllc@gmail.com","meme","available","","",""
+"Malesforfemalesllc@gmail.com","memorial","available","","",""
+"Malesforfemalesllc@gmail.com","men","available","","",""
+"Malesforfemalesllc@gmail.com","menu","available","","",""
+"Malesforfemalesllc@gmail.com","merckmsd","available","","",""
+"Malesforfemalesllc@gmail.com","miami","available","","",""
+"Malesforfemalesllc@gmail.com","microsoft","available","","",""
+"Malesforfemalesllc@gmail.com","mini","available","","",""
+"Malesforfemalesllc@gmail.com","mint","available","","",""
+"Malesforfemalesllc@gmail.com","mit","available","","",""
+"Malesforfemalesllc@gmail.com","mitsubishi","available","","",""
+"Malesforfemalesllc@gmail.com","mlb","available","","",""
+"Malesforfemalesllc@gmail.com","mls","available","","",""
+"Malesforfemalesllc@gmail.com","mma","available","","",""
+"Malesforfemalesllc@gmail.com","mobi","available","","",""
+"Malesforfemalesllc@gmail.com","mobile","available","","",""
+"Malesforfemalesllc@gmail.com","moda","available","","",""
+"Malesforfemalesllc@gmail.com","moe","available","","",""
+"Malesforfemalesllc@gmail.com","moi","available","","",""
+"Malesforfemalesllc@gmail.com","mom","available","","",""
+"Malesforfemalesllc@gmail.com","monash","available","","",""
+"Malesforfemalesllc@gmail.com","money","available","","",""
+"Malesforfemalesllc@gmail.com","monster","available","","",""
+"Malesforfemalesllc@gmail.com","mormon","available","","",""
+"Malesforfemalesllc@gmail.com","mortgage","available","","",""
+"Malesforfemalesllc@gmail.com","moscow","available","","",""
+"Malesforfemalesllc@gmail.com","moto","available","","",""
+"Malesforfemalesllc@gmail.com","motorcycles","available","","",""
+"Malesforfemalesllc@gmail.com","mov","available","","",""
+"Malesforfemalesllc@gmail.com","movie","available","","",""
+"Malesforfemalesllc@gmail.com","msd","available","","",""
+"Malesforfemalesllc@gmail.com","mtn","available","","",""
+"Malesforfemalesllc@gmail.com","mtr","available","","",""
+"Malesforfemalesllc@gmail.com","museum","available","","",""
+"Malesforfemalesllc@gmail.com","nab","available","","",""
+"Malesforfemalesllc@gmail.com","nagoya","available","","",""
+"Malesforfemalesllc@gmail.com","navy","available","","",""
+"Malesforfemalesllc@gmail.com","nba","available","","",""
+"Malesforfemalesllc@gmail.com","nec","available","","",""
+"Malesforfemalesllc@gmail.com","net","available","","",""
+"Malesforfemalesllc@gmail.com","netbank","available","","",""
+"Malesforfemalesllc@gmail.com","netflix","available","","",""
+"Malesforfemalesllc@gmail.com","neustar","available","","",""
+"Malesforfemalesllc@gmail.com","new","available","","",""
+"Malesforfemalesllc@gmail.com","news","available","","",""
+"Malesforfemalesllc@gmail.com","next","available","","",""
+"Malesforfemalesllc@gmail.com","nextdirect","available","","",""
+"Malesforfemalesllc@gmail.com","nexus","available","","",""
+"Malesforfemalesllc@gmail.com","nfl","available","","",""
+"Malesforfemalesllc@gmail.com","ngo","available","","",""
+"Malesforfemalesllc@gmail.com","nhk","available","","",""
+"Malesforfemalesllc@gmail.com","nico","available","","",""
+"Malesforfemalesllc@gmail.com","nike","available","","",""
+"Malesforfemalesllc@gmail.com","nikon","available","","",""
+"Malesforfemalesllc@gmail.com","ninja","available","","",""
+"Malesforfemalesllc@gmail.com","nissan","available","","",""
+"Malesforfemalesllc@gmail.com","nissay","available","","",""
+"Malesforfemalesllc@gmail.com","nokia","available","","",""
+"Malesforfemalesllc@gmail.com","norton","available","","",""
+"Malesforfemalesllc@gmail.com","now","available","","",""
+"Malesforfemalesllc@gmail.com","nowruz","available","","",""
+"Malesforfemalesllc@gmail.com","nowtv","available","","",""
+"Malesforfemalesllc@gmail.com","nra","available","","",""
+"Malesforfemalesllc@gmail.com","nrw","available","","",""
+"Malesforfemalesllc@gmail.com","ntt","available","","",""
+"Malesforfemalesllc@gmail.com","nyc","available","","",""
+"Malesforfemalesllc@gmail.com","obi","available","","",""
+"Malesforfemalesllc@gmail.com","observer","available","","",""
+"Malesforfemalesllc@gmail.com","office","available","","",""
+"Malesforfemalesllc@gmail.com","okinawa","available","","",""
+"Malesforfemalesllc@gmail.com","olayan","available","","",""
+"Malesforfemalesllc@gmail.com","olayangroup","available","","",""
+"Malesforfemalesllc@gmail.com","ollo","available","","",""
+"Malesforfemalesllc@gmail.com","omega","available","","",""
+"Malesforfemalesllc@gmail.com","one","available","","",""
+"Malesforfemalesllc@gmail.com","ong","available","","",""
+"Malesforfemalesllc@gmail.com","onl","available","","",""
+"Malesforfemalesllc@gmail.com","online","available","","",""
+"Malesforfemalesllc@gmail.com","ooo","available","","",""
+"Malesforfemalesllc@gmail.com","open","available","","",""
+"Malesforfemalesllc@gmail.com","oracle","available","","",""
+"Malesforfemalesllc@gmail.com","orange","available","","",""
+"Malesforfemalesllc@gmail.com","organic","available","","",""
+"Malesforfemalesllc@gmail.com","origins","available","","",""
+"Malesforfemalesllc@gmail.com","osaka","available","","",""
+"Malesforfemalesllc@gmail.com","otsuka","available","","",""
+"Malesforfemalesllc@gmail.com","ott","available","","",""
+"Malesforfemalesllc@gmail.com","ovh","available","","",""
+"Malesforfemalesllc@gmail.com","page","available","","",""
+"Malesforfemalesllc@gmail.com","panasonic","available","","",""
+"Malesforfemalesllc@gmail.com","paris","available","","",""
+"Malesforfemalesllc@gmail.com","pars","available","","",""
+"Malesforfemalesllc@gmail.com","partners","available","","",""
+"Malesforfemalesllc@gmail.com","parts","available","","",""
+"Malesforfemalesllc@gmail.com","party","available","","",""
+"Malesforfemalesllc@gmail.com","pay","available","","",""
+"Malesforfemalesllc@gmail.com","pccw","available","","",""
+"Malesforfemalesllc@gmail.com","pet","available","","",""
+"Malesforfemalesllc@gmail.com","pfizer","available","","",""
+"Malesforfemalesllc@gmail.com","pharmacy","available","","",""
+"Malesforfemalesllc@gmail.com","phd","available","","",""
+"Malesforfemalesllc@gmail.com","philips","available","","",""
+"Malesforfemalesllc@gmail.com","phone","available","","",""
+"Malesforfemalesllc@gmail.com","photo","available","","",""
+"Malesforfemalesllc@gmail.com","photography","available","","",""
+"Malesforfemalesllc@gmail.com","photos","available","","",""
+"Malesforfemalesllc@gmail.com","physio","available","","",""
+"Malesforfemalesllc@gmail.com","pics","available","","",""
+"Malesforfemalesllc@gmail.com","pictet","available","","",""
+"Malesforfemalesllc@gmail.com","pictures","available","","",""
+"Malesforfemalesllc@gmail.com","pid","available","","",""
+"Malesforfemalesllc@gmail.com","pin","available","","",""
+"Malesforfemalesllc@gmail.com","ping","available","","",""
+"Malesforfemalesllc@gmail.com","pink","available","","",""
+"Malesforfemalesllc@gmail.com","pioneer","available","","",""
+"Malesforfemalesllc@gmail.com","pizza","available","","",""
+"Malesforfemalesllc@gmail.com","place","available","","",""
+"Malesforfemalesllc@gmail.com","play","available","","",""
+"Malesforfemalesllc@gmail.com","playstation","available","","",""
+"Malesforfemalesllc@gmail.com","plumbing","available","","",""
+"Malesforfemalesllc@gmail.com","plus","available","","",""
+"Malesforfemalesllc@gmail.com","pnc","available","","",""
+"Malesforfemalesllc@gmail.com","pohl","available","","",""
+"Malesforfemalesllc@gmail.com","poker","available","","",""
+"Malesforfemalesllc@gmail.com","politie","available","","",""
+"Malesforfemalesllc@gmail.com","porn","available","","",""
+"Malesforfemalesllc@gmail.com","praxi","available","","",""
+"Malesforfemalesllc@gmail.com","press","available","","",""
+"Malesforfemalesllc@gmail.com","prime","available","","",""
+"Malesforfemalesllc@gmail.com","pro","available","","",""
+"Malesforfemalesllc@gmail.com","prod","available","","",""
+"Malesforfemalesllc@gmail.com","productions","available","","",""
+"Malesforfemalesllc@gmail.com","prof","available","","",""
+"Malesforfemalesllc@gmail.com","progressive","available","","",""
+"Malesforfemalesllc@gmail.com","promo","available","","",""
+"Malesforfemalesllc@gmail.com","properties","available","","",""
+"Malesforfemalesllc@gmail.com","property","available","","",""
+"Malesforfemalesllc@gmail.com","protection","available","","",""
+"Malesforfemalesllc@gmail.com","pru","available","","",""
+"Malesforfemalesllc@gmail.com","prudential","available","","",""
+"Malesforfemalesllc@gmail.com","pub","available","","",""
+"Malesforfemalesllc@gmail.com","pwc","available","","",""
+"Malesforfemalesllc@gmail.com","qpon","available","","",""
+"Malesforfemalesllc@gmail.com","quebec","available","","",""
+"Malesforfemalesllc@gmail.com","quest","available","","",""
+"Malesforfemalesllc@gmail.com","racing","available","","",""
+"Malesforfemalesllc@gmail.com","radio","available","","",""
+"Malesforfemalesllc@gmail.com","read","available","","",""
+"Malesforfemalesllc@gmail.com","realestate","available","","",""
+"Malesforfemalesllc@gmail.com","realtor","available","","",""
+"Malesforfemalesllc@gmail.com","realty","available","","",""
+"Malesforfemalesllc@gmail.com","recipes","available","","",""
+"Malesforfemalesllc@gmail.com","red","available","","",""
+"Malesforfemalesllc@gmail.com","redumbrella","available","","",""
+"Malesforfemalesllc@gmail.com","rehab","available","","",""
+"Malesforfemalesllc@gmail.com","reise","available","","",""
+"Malesforfemalesllc@gmail.com","reisen","available","","",""
+"Malesforfemalesllc@gmail.com","reit","available","","",""
+"Malesforfemalesllc@gmail.com","reliance","available","","",""
+"Malesforfemalesllc@gmail.com","ren","available","","",""
+"Malesforfemalesllc@gmail.com","rent","available","","",""
+"Malesforfemalesllc@gmail.com","rentals","available","","",""
+"Malesforfemalesllc@gmail.com","repair","available","","",""
+"Malesforfemalesllc@gmail.com","report","available","","",""
+"Malesforfemalesllc@gmail.com","republican","available","","",""
+"Malesforfemalesllc@gmail.com","rest","available","","",""
+"Malesforfemalesllc@gmail.com","restaurant","available","","",""
+"Malesforfemalesllc@gmail.com","review","available","","",""
+"Malesforfemalesllc@gmail.com","reviews","available","","",""
+"Malesforfemalesllc@gmail.com","rexroth","available","","",""
+"Malesforfemalesllc@gmail.com","rich","available","","",""
+"Malesforfemalesllc@gmail.com","richardli","available","","",""
+"Malesforfemalesllc@gmail.com","ricoh","available","","",""
+"Malesforfemalesllc@gmail.com","ril","available","","",""
+"Malesforfemalesllc@gmail.com","rio","available","","",""
+"Malesforfemalesllc@gmail.com","rip","available","","",""
+"Malesforfemalesllc@gmail.com","rocks","available","","",""
+"Malesforfemalesllc@gmail.com","rodeo","available","","",""
+"Malesforfemalesllc@gmail.com","rogers","available","","",""
+"Malesforfemalesllc@gmail.com","room","available","","",""
+"Malesforfemalesllc@gmail.com","rsvp","available","","",""
+"Malesforfemalesllc@gmail.com","rugby","available","","",""
+"Malesforfemalesllc@gmail.com","ruhr","available","","",""
+"Malesforfemalesllc@gmail.com","run","available","","",""
+"Malesforfemalesllc@gmail.com","rwe","available","","",""
+"Malesforfemalesllc@gmail.com","ryukyu","available","","",""
+"Malesforfemalesllc@gmail.com","saarland","available","","",""
+"Malesforfemalesllc@gmail.com","safe","available","","",""
+"Malesforfemalesllc@gmail.com","safety","available","","",""
+"Malesforfemalesllc@gmail.com","sakura","available","","",""
+"Malesforfemalesllc@gmail.com","sale","available","","",""
+"Malesforfemalesllc@gmail.com","salon","available","","",""
+"Malesforfemalesllc@gmail.com","samsclub","available","","",""
+"Malesforfemalesllc@gmail.com","samsung","available","","",""
+"Malesforfemalesllc@gmail.com","sandvik","available","","",""
+"Malesforfemalesllc@gmail.com","sandvikcoromant","available","","",""
+"Malesforfemalesllc@gmail.com","sanofi","available","","",""
+"Malesforfemalesllc@gmail.com","sap","available","","",""
+"Malesforfemalesllc@gmail.com","sarl","available","","",""
+"Malesforfemalesllc@gmail.com","sas","available","","",""
+"Malesforfemalesllc@gmail.com","save","available","","",""
+"Malesforfemalesllc@gmail.com","saxo","available","","",""
+"Malesforfemalesllc@gmail.com","sbi","available","","",""
+"Malesforfemalesllc@gmail.com","sbs","available","","",""
+"Malesforfemalesllc@gmail.com","scb","available","","",""
+"Malesforfemalesllc@gmail.com","schaeffler","available","","",""
+"Malesforfemalesllc@gmail.com","schmidt","available","","",""
+"Malesforfemalesllc@gmail.com","scholarships","available","","",""
+"Malesforfemalesllc@gmail.com","school","available","","",""
+"Malesforfemalesllc@gmail.com","schule","available","","",""
+"Malesforfemalesllc@gmail.com","schwarz","available","","",""
+"Malesforfemalesllc@gmail.com","science","available","","",""
+"Malesforfemalesllc@gmail.com","scot","available","","",""
+"Malesforfemalesllc@gmail.com","search","available","","",""
+"Malesforfemalesllc@gmail.com","seat","available","","",""
+"Malesforfemalesllc@gmail.com","secure","available","","",""
+"Malesforfemalesllc@gmail.com","security","available","","",""
+"Malesforfemalesllc@gmail.com","seek","available","","",""
+"Malesforfemalesllc@gmail.com","select","available","","",""
+"Malesforfemalesllc@gmail.com","sener","available","","",""
+"Malesforfemalesllc@gmail.com","services","available","","",""
+"Malesforfemalesllc@gmail.com","seven","available","","",""
+"Malesforfemalesllc@gmail.com","sew","available","","",""
+"Malesforfemalesllc@gmail.com","sex","available","","",""
+"Malesforfemalesllc@gmail.com","sexy","available","","",""
+"Malesforfemalesllc@gmail.com","sfr","available","","",""
+"Malesforfemalesllc@gmail.com","shangrila","available","","",""
+"Malesforfemalesllc@gmail.com","sharp","available","","",""
+"Malesforfemalesllc@gmail.com","shell","available","","",""
+"Malesforfemalesllc@gmail.com","shia","available","","",""
+"Malesforfemalesllc@gmail.com","shiksha","available","","",""
+"Malesforfemalesllc@gmail.com","shoes","available","","",""
+"Malesforfemalesllc@gmail.com","shop","available","","",""
+"Malesforfemalesllc@gmail.com","shopping","available","","",""
+"Malesforfemalesllc@gmail.com","shouji","available","","",""
+"Malesforfemalesllc@gmail.com","show","available","","",""
+"Malesforfemalesllc@gmail.com","silk","available","","",""
+"Malesforfemalesllc@gmail.com","sina","available","","",""
+"Malesforfemalesllc@gmail.com","singles","available","","",""
+"Malesforfemalesllc@gmail.com","site","available","","",""
+"Malesforfemalesllc@gmail.com","ski","available","","",""
+"Malesforfemalesllc@gmail.com","skin","available","","",""
+"Malesforfemalesllc@gmail.com","sky","available","","",""
+"Malesforfemalesllc@gmail.com","skype","available","","",""
+"Malesforfemalesllc@gmail.com","sling","available","","",""
+"Malesforfemalesllc@gmail.com","smart","available","","",""
+"Malesforfemalesllc@gmail.com","smile","available","","",""
+"Malesforfemalesllc@gmail.com","sncf","available","","",""
+"Malesforfemalesllc@gmail.com","soccer","available","","",""
+"Malesforfemalesllc@gmail.com","social","available","","",""
+"Malesforfemalesllc@gmail.com","softbank","available","","",""
+"Malesforfemalesllc@gmail.com","software","available","","",""
+"Malesforfemalesllc@gmail.com","sohu","available","","",""
+"Malesforfemalesllc@gmail.com","solar","available","","",""
+"Malesforfemalesllc@gmail.com","solutions","available","","",""
+"Malesforfemalesllc@gmail.com","song","available","","",""
+"Malesforfemalesllc@gmail.com","sony","available","","",""
+"Malesforfemalesllc@gmail.com","soy","available","","",""
+"Malesforfemalesllc@gmail.com","space","available","","",""
+"Malesforfemalesllc@gmail.com","sport","available","","",""
+"Malesforfemalesllc@gmail.com","spot","available","","",""
+"Malesforfemalesllc@gmail.com","srl","available","","",""
+"Malesforfemalesllc@gmail.com","stada","available","","",""
+"Malesforfemalesllc@gmail.com","staples","available","","",""
+"Malesforfemalesllc@gmail.com","star","available","","",""
+"Malesforfemalesllc@gmail.com","statebank","available","","",""
+"Malesforfemalesllc@gmail.com","statefarm","available","","",""
+"Malesforfemalesllc@gmail.com","stc","available","","",""
+"Malesforfemalesllc@gmail.com","stcgroup","available","","",""
+"Malesforfemalesllc@gmail.com","stockholm","available","","",""
+"Malesforfemalesllc@gmail.com","storage","available","","",""
+"Malesforfemalesllc@gmail.com","store","available","","",""
+"Malesforfemalesllc@gmail.com","stream","available","","",""
+"Malesforfemalesllc@gmail.com","studio","available","","",""
+"Malesforfemalesllc@gmail.com","study","available","","",""
+"Malesforfemalesllc@gmail.com","style","available","","",""
+"Malesforfemalesllc@gmail.com","sucks","available","","",""
+"Malesforfemalesllc@gmail.com","supplies","available","","",""
+"Malesforfemalesllc@gmail.com","supply","available","","",""
+"Malesforfemalesllc@gmail.com","support","available","","",""
+"Malesforfemalesllc@gmail.com","surf","available","","",""
+"Malesforfemalesllc@gmail.com","surgery","available","","",""
+"Malesforfemalesllc@gmail.com","suzuki","available","","",""
+"Malesforfemalesllc@gmail.com","swatch","available","","",""
+"Malesforfemalesllc@gmail.com","swiss","available","","",""
+"Malesforfemalesllc@gmail.com","sydney","available","","",""
+"Malesforfemalesllc@gmail.com","systems","available","","",""
+"Malesforfemalesllc@gmail.com","tab","available","","",""
+"Malesforfemalesllc@gmail.com","taipei","available","","",""
+"Malesforfemalesllc@gmail.com","talk","available","","",""
+"Malesforfemalesllc@gmail.com","taobao","available","","",""
+"Malesforfemalesllc@gmail.com","target","available","","",""
+"Malesforfemalesllc@gmail.com","tatamotors","available","","",""
+"Malesforfemalesllc@gmail.com","tatar","available","","",""
+"Malesforfemalesllc@gmail.com","tattoo","available","","",""
+"Malesforfemalesllc@gmail.com","tax","available","","",""
+"Malesforfemalesllc@gmail.com","taxi","available","","",""
+"Malesforfemalesllc@gmail.com","tci","available","","",""
+"Malesforfemalesllc@gmail.com","tdk","available","","",""
+"Malesforfemalesllc@gmail.com","team","available","","",""
+"Malesforfemalesllc@gmail.com","tech","available","","",""
+"Malesforfemalesllc@gmail.com","technology","available","","",""
+"Malesforfemalesllc@gmail.com","tel","available","","",""
+"Malesforfemalesllc@gmail.com","temasek","available","","",""
+"Malesforfemalesllc@gmail.com","tennis","available","","",""
+"Malesforfemalesllc@gmail.com","teva","available","","",""
+"Malesforfemalesllc@gmail.com","thd","available","","",""
+"Malesforfemalesllc@gmail.com","theater","available","","",""
+"Malesforfemalesllc@gmail.com","theatre","available","","",""
+"Malesforfemalesllc@gmail.com","tiaa","available","","",""
+"Malesforfemalesllc@gmail.com","tickets","available","","",""
+"Malesforfemalesllc@gmail.com","tienda","available","","",""
+"Malesforfemalesllc@gmail.com","tips","available","","",""
+"Malesforfemalesllc@gmail.com","tires","available","","",""
+"Malesforfemalesllc@gmail.com","tirol","available","","",""
+"Malesforfemalesllc@gmail.com","tjmaxx","available","","",""
+"Malesforfemalesllc@gmail.com","tjx","available","","",""
+"Malesforfemalesllc@gmail.com","tkmaxx","available","","",""
+"Malesforfemalesllc@gmail.com","tmall","available","","",""
+"Malesforfemalesllc@gmail.com","today","available","","",""
+"Malesforfemalesllc@gmail.com","tokyo","available","","",""
+"Malesforfemalesllc@gmail.com","tools","available","","",""
+"Malesforfemalesllc@gmail.com","top","available","","",""
+"Malesforfemalesllc@gmail.com","toray","available","","",""
+"Malesforfemalesllc@gmail.com","toshiba","available","","",""
+"Malesforfemalesllc@gmail.com","total","available","","",""
+"Malesforfemalesllc@gmail.com","tours","available","","",""
+"Malesforfemalesllc@gmail.com","town","available","","",""
+"Malesforfemalesllc@gmail.com","toyota","available","","",""
+"Malesforfemalesllc@gmail.com","toys","available","","",""
+"Malesforfemalesllc@gmail.com","trade","available","","",""
+"Malesforfemalesllc@gmail.com","trading","available","","",""
+"Malesforfemalesllc@gmail.com","training","available","","",""
+"Malesforfemalesllc@gmail.com","travel","available","","",""
+"Malesforfemalesllc@gmail.com","travelers","available","","",""
+"Malesforfemalesllc@gmail.com","travelersinsurance","available","","",""
+"Malesforfemalesllc@gmail.com","trust","available","","",""
+"Malesforfemalesllc@gmail.com","trv","available","","",""
+"Malesforfemalesllc@gmail.com","tube","available","","",""
+"Malesforfemalesllc@gmail.com","tui","available","","",""
+"Malesforfemalesllc@gmail.com","tunes","available","","",""
+"Malesforfemalesllc@gmail.com","tushu","available","","",""
+"Malesforfemalesllc@gmail.com","tvs","available","","",""
+"Malesforfemalesllc@gmail.com","ubank","available","","",""
+"Malesforfemalesllc@gmail.com","ubs","available","","",""
+"Malesforfemalesllc@gmail.com","unicom","available","","",""
+"Malesforfemalesllc@gmail.com","university","available","","",""
+"Malesforfemalesllc@gmail.com","uno","available","","",""
+"Malesforfemalesllc@gmail.com","uol","available","","",""
+"Malesforfemalesllc@gmail.com","ups","available","","",""
+"Malesforfemalesllc@gmail.com","vacations","available","","",""
+"Malesforfemalesllc@gmail.com","vana","available","","",""
+"Malesforfemalesllc@gmail.com","vanguard","available","","",""
+"Malesforfemalesllc@gmail.com","vegas","available","","",""
+"Malesforfemalesllc@gmail.com","ventures","available","","",""
+"Malesforfemalesllc@gmail.com","verisign","available","","",""
+"Malesforfemalesllc@gmail.com","versicherung","available","","",""
+"Malesforfemalesllc@gmail.com","vet","available","","",""
+"Malesforfemalesllc@gmail.com","viajes","available","","",""
+"Malesforfemalesllc@gmail.com","video","available","","",""
+"Malesforfemalesllc@gmail.com","vig","available","","",""
+"Malesforfemalesllc@gmail.com","viking","available","","",""
+"Malesforfemalesllc@gmail.com","villas","available","","",""
+"Malesforfemalesllc@gmail.com","vin","available","","",""
+"Malesforfemalesllc@gmail.com","vip","available","","",""
+"Malesforfemalesllc@gmail.com","virgin","available","","",""
+"Malesforfemalesllc@gmail.com","visa","available","","",""
+"Malesforfemalesllc@gmail.com","vision","available","","",""
+"Malesforfemalesllc@gmail.com","viva","available","","",""
+"Malesforfemalesllc@gmail.com","vivo","available","","",""
+"Malesforfemalesllc@gmail.com","vlaanderen","available","","",""
+"Malesforfemalesllc@gmail.com","vodka","available","","",""
+"Malesforfemalesllc@gmail.com","volvo","available","","",""
+"Malesforfemalesllc@gmail.com","vote","available","","",""
+"Malesforfemalesllc@gmail.com","voting","available","","",""
+"Malesforfemalesllc@gmail.com","voto","available","","",""
+"Malesforfemalesllc@gmail.com","voyage","available","","",""
+"Malesforfemalesllc@gmail.com","wales","available","","",""
+"Malesforfemalesllc@gmail.com","walmart","available","","",""
+"Malesforfemalesllc@gmail.com","walter","available","","",""
+"Malesforfemalesllc@gmail.com","wang","available","","",""
+"Malesforfemalesllc@gmail.com","wanggou","available","","",""
+"Malesforfemalesllc@gmail.com","watch","available","","",""
+"Malesforfemalesllc@gmail.com","watches","available","","",""
+"Malesforfemalesllc@gmail.com","weather","available","","",""
+"Malesforfemalesllc@gmail.com","weatherchannel","available","","",""
+"Malesforfemalesllc@gmail.com","webcam","available","","",""
+"Malesforfemalesllc@gmail.com","weber","available","","",""
+"Malesforfemalesllc@gmail.com","website","available","","",""
+"Malesforfemalesllc@gmail.com","wed","available","","",""
+"Malesforfemalesllc@gmail.com","wedding","available","","",""
+"Malesforfemalesllc@gmail.com","weibo","available","","",""
+"Malesforfemalesllc@gmail.com","weir","available","","",""
+"Malesforfemalesllc@gmail.com","whoswho","available","","",""
+"Malesforfemalesllc@gmail.com","wien","available","","",""
+"Malesforfemalesllc@gmail.com","wiki","available","","",""
+"Malesforfemalesllc@gmail.com","williamhill","available","","",""
+"Malesforfemalesllc@gmail.com","win","available","","",""
+"Malesforfemalesllc@gmail.com","windows","available","","",""
+"Malesforfemalesllc@gmail.com","wine","available","","",""
+"Malesforfemalesllc@gmail.com","winners","available","","",""
+"Malesforfemalesllc@gmail.com","wme","available","","",""
+"Malesforfemalesllc@gmail.com","wolterskluwer","available","","",""
+"Malesforfemalesllc@gmail.com","woodside","available","","",""
+"Malesforfemalesllc@gmail.com","work","available","","",""
+"Malesforfemalesllc@gmail.com","works","available","","",""
+"Malesforfemalesllc@gmail.com","world","available","","",""
+"Malesforfemalesllc@gmail.com","wow","available","","",""
+"Malesforfemalesllc@gmail.com","wtc","available","","",""
+"Malesforfemalesllc@gmail.com","wtf","available","","",""
+"Malesforfemalesllc@gmail.com","xbox","available","","",""
+"Malesforfemalesllc@gmail.com","xerox","available","","",""
+"Malesforfemalesllc@gmail.com","xihuan","available","","",""
+"Malesforfemalesllc@gmail.com","xin","available","","",""
+"Malesforfemalesllc@gmail.com","xn--11b4c3d","available","","",""
+"Malesforfemalesllc@gmail.com","xn--1ck2e1b","available","","",""
+"Malesforfemalesllc@gmail.com","xn--1qqw23a","available","","",""
+"Malesforfemalesllc@gmail.com","xn--30rr7y","available","","",""
+"Malesforfemalesllc@gmail.com","xn--3bst00m","available","","",""
+"Malesforfemalesllc@gmail.com","xn--3ds443g","available","","",""
+"Malesforfemalesllc@gmail.com","xn--3pxu8k","available","","",""
+"Malesforfemalesllc@gmail.com","xn--42c2d9a","available","","",""
+"Malesforfemalesllc@gmail.com","xn--45q11c","available","","",""
+"Malesforfemalesllc@gmail.com","xn--4gbrim","available","","",""
+"Malesforfemalesllc@gmail.com","xn--55qw42g","available","","",""
+"Malesforfemalesllc@gmail.com","xn--55qx5d","available","","",""
+"Malesforfemalesllc@gmail.com","xn--5su34j936bgsg","available","","",""
+"Malesforfemalesllc@gmail.com","xn--5tzm5g","available","","",""
+"Malesforfemalesllc@gmail.com","xn--6frz82g","available","","",""
+"Malesforfemalesllc@gmail.com","xn--6qq986b3xl","available","","",""
+"Malesforfemalesllc@gmail.com","xn--80adxhks","available","","",""
+"Malesforfemalesllc@gmail.com","xn--80aqecdr1a","available","","",""
+"Malesforfemalesllc@gmail.com","xn--80asehdb","available","","",""
+"Malesforfemalesllc@gmail.com","xn--80aswg","available","","",""
+"Malesforfemalesllc@gmail.com","xn--8y0a063a","available","","",""
+"Malesforfemalesllc@gmail.com","xn--9dbq2a","available","","",""
+"Malesforfemalesllc@gmail.com","xn--9et52u","available","","",""
+"Malesforfemalesllc@gmail.com","xn--9krt00a","available","","",""
+"Malesforfemalesllc@gmail.com","xn--b4w605ferd","available","","",""
+"Malesforfemalesllc@gmail.com","xn--bck1b9a5dre4c","available","","",""
+"Malesforfemalesllc@gmail.com","xn--c1avg","available","","",""
+"Malesforfemalesllc@gmail.com","xn--c2br7g","available","","",""
+"Malesforfemalesllc@gmail.com","xn--cck2b3b","available","","",""
+"Malesforfemalesllc@gmail.com","xn--cg4bki","available","","",""
+"Malesforfemalesllc@gmail.com","xn--czr694b","available","","",""
+"Malesforfemalesllc@gmail.com","xn--czrs0t","available","","",""
+"Malesforfemalesllc@gmail.com","xn--czru2d","available","","",""
+"Malesforfemalesllc@gmail.com","xn--d1acj3b","available","","",""
+"Malesforfemalesllc@gmail.com","xn--eckvdtc9d","available","","",""
+"Malesforfemalesllc@gmail.com","xn--efvy88h","available","","",""
+"Malesforfemalesllc@gmail.com","xn--fct429k","available","","",""
+"Malesforfemalesllc@gmail.com","xn--fhbei","available","","",""
+"Malesforfemalesllc@gmail.com","xn--fiq228c5hs","available","","",""
+"Malesforfemalesllc@gmail.com","xn--fiq64b","available","","",""
+"Malesforfemalesllc@gmail.com","xn--fjq720a","available","","",""
+"Malesforfemalesllc@gmail.com","xn--flw351e","available","","",""
+"Malesforfemalesllc@gmail.com","xn--fzys8d69uvgm","available","","",""
+"Malesforfemalesllc@gmail.com","xn--g2xx48c","available","","",""
+"Malesforfemalesllc@gmail.com","xn--gckr3f0f","available","","",""
+"Malesforfemalesllc@gmail.com","xn--gk3at1e","available","","",""
+"Malesforfemalesllc@gmail.com","xn--hxt814e","available","","",""
+"Malesforfemalesllc@gmail.com","xn--i1b6b1a6a2e","available","","",""
+"Malesforfemalesllc@gmail.com","xn--imr513n","available","","",""
+"Malesforfemalesllc@gmail.com","xn--io0a7i","available","","",""
+"Malesforfemalesllc@gmail.com","xn--j1aef","available","","",""
+"Malesforfemalesllc@gmail.com","xn--jvr189m","available","","",""
+"Malesforfemalesllc@gmail.com","xn--kcrx77d1x4a","available","","",""
+"Malesforfemalesllc@gmail.com","xn--kput3i","available","","",""
+"Malesforfemalesllc@gmail.com","xn--mgba3a3ejt","available","","",""
+"Malesforfemalesllc@gmail.com","xn--mgba7c0bbn0a","available","","",""
+"Malesforfemalesllc@gmail.com","xn--mgbab2bd","available","","",""
+"Malesforfemalesllc@gmail.com","xn--mgbca7dzdo","available","","",""
+"Malesforfemalesllc@gmail.com","xn--mgbi4ecexp","available","","",""
+"Malesforfemalesllc@gmail.com","xn--mgbt3dhd","available","","",""
+"Malesforfemalesllc@gmail.com","xn--mk1bu44c","available","","",""
+"Malesforfemalesllc@gmail.com","xn--mxtq1m","available","","",""
+"Malesforfemalesllc@gmail.com","xn--ngbc5azd","available","","",""
+"Malesforfemalesllc@gmail.com","xn--ngbe9e0a","available","","",""
+"Malesforfemalesllc@gmail.com","xn--ngbrx","available","","",""
+"Malesforfemalesllc@gmail.com","xn--nqv7f","available","","",""
+"Malesforfemalesllc@gmail.com","xn--nqv7fs00ema","available","","",""
+"Malesforfemalesllc@gmail.com","xn--nyqy26a","available","","",""
+"Malesforfemalesllc@gmail.com","xn--otu796d","available","","",""
+"Malesforfemalesllc@gmail.com","xn--p1acf","available","","",""
+"Malesforfemalesllc@gmail.com","xn--pssy2u","available","","",""
+"Malesforfemalesllc@gmail.com","xn--q9jyb4c","available","","",""
+"Malesforfemalesllc@gmail.com","xn--qcka1pmc","available","","",""
+"Malesforfemalesllc@gmail.com","xn--rhqv96g","available","","",""
+"Malesforfemalesllc@gmail.com","xn--rovu88b","available","","",""
+"Malesforfemalesllc@gmail.com","xn--ses554g","available","","",""
+"Malesforfemalesllc@gmail.com","xn--t60b56a","available","","",""
+"Malesforfemalesllc@gmail.com","xn--tckwe","available","","",""
+"Malesforfemalesllc@gmail.com","xn--tiq49xqyj","available","","",""
+"Malesforfemalesllc@gmail.com","xn--unup4y","available","","",""
+"Malesforfemalesllc@gmail.com","xn--vermgensberater-ctb","available","","",""
+"Malesforfemalesllc@gmail.com","xn--vermgensberatung-pwb","available","","",""
+"Malesforfemalesllc@gmail.com","xn--vhquv","available","","",""
+"Malesforfemalesllc@gmail.com","xn--vuq861b","available","","",""
+"Malesforfemalesllc@gmail.com","xn--w4r85el8fhu5dnra","available","","",""
+"Malesforfemalesllc@gmail.com","xn--w4rs40l","available","","",""
+"Malesforfemalesllc@gmail.com","xn--xhq521b","available","","",""
+"Malesforfemalesllc@gmail.com","xn--zfr164b","available","","",""
+"Malesforfemalesllc@gmail.com","xxx","available","","",""
+"Malesforfemalesllc@gmail.com","xyz","available","","",""
+"Malesforfemalesllc@gmail.com","yachts","available","","",""
+"Malesforfemalesllc@gmail.com","yahoo","available","","",""
+"Malesforfemalesllc@gmail.com","yamaxun","available","","",""
+"Malesforfemalesllc@gmail.com","yandex","available","","",""
+"Malesforfemalesllc@gmail.com","yodobashi","available","","",""
+"Malesforfemalesllc@gmail.com","yoga","available","","",""
+"Malesforfemalesllc@gmail.com","yokohama","available","","",""
+"Malesforfemalesllc@gmail.com","you","available","","",""
+"Malesforfemalesllc@gmail.com","youtube","available","","",""
+"Malesforfemalesllc@gmail.com","yun","available","","",""
+"Malesforfemalesllc@gmail.com","zappos","available","","",""
+"Malesforfemalesllc@gmail.com","zara","available","","",""
+"Malesforfemalesllc@gmail.com","zero","available","","",""
+"Malesforfemalesllc@gmail.com","zip","available","","",""
+"Malesforfemalesllc@gmail.com","zone","available","","",""
+"Malesforfemalesllc@gmail.com","zuerich","available","","",""
+"Malesforfemalesllc@gmail.com","gay","available","","",""
+"Malesforfemalesllc@gmail.com","cpa","available","","",""
+"Malesforfemalesllc@gmail.com","biz","available","","",""
+"Malesforfemalesllc@gmail.com","org","available","","",""
+"Malesforfemalesllc@gmail.com","llp","available","","",""
+"Malesforfemalesllc@gmail.com","asia","available","","",""
+"Malesforfemalesllc@gmail.com","amazon","available","","",""
+"Malesforfemalesllc@gmail.com","xn--jlq480n2rg","available","","",""
+"Malesforfemalesllc@gmail.com","xn--cckwcxetd","available","","",""
+"Malesforfemalesllc@gmail.com","info","available","","",""
+"Malesforfemalesllc@gmail.com","com","available","","",""
+"Malesforfemalesllc@gmail.com","spa","available","","",""
+"Malesforfemalesllc@gmail.com","music","available","","",""
+"Malesforfemalesllc@gmail.com","kids","available","","",""
+"Malesforfemalesllc@gmail.com","name","available","","",""
+"Malesforfemalesllc@gmail.com","gov","available","","",""
+"Malesforfemalesllc@gmail.com","aero","available","","",""