From bebe09058db3920e719d20754580f094eecb7995 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Date: Tue, 27 Feb 2024 07:08:34 +0000 Subject: [PATCH] feat(logging): update the api #### logging:v2 The following keys were added: - schemas.Settings.properties.analyticsMode.type (Total Keys: 1) --- docs/dyn/logging_v2.billingAccounts.html | 1 + docs/dyn/logging_v2.folders.html | 3 +++ docs/dyn/logging_v2.organizations.html | 3 +++ docs/dyn/logging_v2.projects.html | 1 + docs/dyn/logging_v2.v2.html | 3 +++ .../discovery_cache/documents/logging.v2.json | 16 +++++++++++++++- 6 files changed, 26 insertions(+), 1 deletion(-) diff --git a/docs/dyn/logging_v2.billingAccounts.html b/docs/dyn/logging_v2.billingAccounts.html index 87017f8e76..93dd456cc2 100644 --- a/docs/dyn/logging_v2.billingAccounts.html +++ b/docs/dyn/logging_v2.billingAccounts.html @@ -146,6 +146,7 @@

Method Details

An object of the form: { # Describes the settings associated with a project, folder, organization, or billing account. + "analyticsMode": "A String", # Optional. The default analytics mode of an org or folder which is inherited by all newly created child project buckets. "defaultSinkConfig": { # 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. # Optional. Overrides the built-in configuration for _Default sink. "exclusions": [ # Optional. Specifies the set of exclusions to be added to the _Default sink in newly created resource containers. { # 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. diff --git a/docs/dyn/logging_v2.folders.html b/docs/dyn/logging_v2.folders.html index 1b66347b40..42c53dc651 100644 --- a/docs/dyn/logging_v2.folders.html +++ b/docs/dyn/logging_v2.folders.html @@ -149,6 +149,7 @@

Method Details

An object of the form: { # Describes the settings associated with a project, folder, organization, or billing account. + "analyticsMode": "A String", # Optional. The default analytics mode of an org or folder which is inherited by all newly created child project buckets. "defaultSinkConfig": { # 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. # Optional. Overrides the built-in configuration for _Default sink. "exclusions": [ # Optional. Specifies the set of exclusions to be added to the _Default sink in newly created resource containers. { # 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. @@ -182,6 +183,7 @@

Method Details

The object takes the form of: { # Describes the settings associated with a project, folder, organization, or billing account. + "analyticsMode": "A String", # Optional. The default analytics mode of an org or folder which is inherited by all newly created child project buckets. "defaultSinkConfig": { # 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. # Optional. Overrides the built-in configuration for _Default sink. "exclusions": [ # Optional. Specifies the set of exclusions to be added to the _Default sink in newly created resource containers. { # 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. @@ -214,6 +216,7 @@

Method Details

An object of the form: { # Describes the settings associated with a project, folder, organization, or billing account. + "analyticsMode": "A String", # Optional. The default analytics mode of an org or folder which is inherited by all newly created child project buckets. "defaultSinkConfig": { # 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. # Optional. Overrides the built-in configuration for _Default sink. "exclusions": [ # Optional. Specifies the set of exclusions to be added to the _Default sink in newly created resource containers. { # 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. diff --git a/docs/dyn/logging_v2.organizations.html b/docs/dyn/logging_v2.organizations.html index 40bf00de09..c84fe7aaff 100644 --- a/docs/dyn/logging_v2.organizations.html +++ b/docs/dyn/logging_v2.organizations.html @@ -152,6 +152,7 @@

Method Details

An object of the form: { # Describes the settings associated with a project, folder, organization, or billing account. + "analyticsMode": "A String", # Optional. The default analytics mode of an org or folder which is inherited by all newly created child project buckets. "defaultSinkConfig": { # 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. # Optional. Overrides the built-in configuration for _Default sink. "exclusions": [ # Optional. Specifies the set of exclusions to be added to the _Default sink in newly created resource containers. { # 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. @@ -218,6 +219,7 @@

Method Details

The object takes the form of: { # Describes the settings associated with a project, folder, organization, or billing account. + "analyticsMode": "A String", # Optional. The default analytics mode of an org or folder which is inherited by all newly created child project buckets. "defaultSinkConfig": { # 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. # Optional. Overrides the built-in configuration for _Default sink. "exclusions": [ # Optional. Specifies the set of exclusions to be added to the _Default sink in newly created resource containers. { # 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. @@ -250,6 +252,7 @@

Method Details

An object of the form: { # Describes the settings associated with a project, folder, organization, or billing account. + "analyticsMode": "A String", # Optional. The default analytics mode of an org or folder which is inherited by all newly created child project buckets. "defaultSinkConfig": { # 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. # Optional. Overrides the built-in configuration for _Default sink. "exclusions": [ # Optional. Specifies the set of exclusions to be added to the _Default sink in newly created resource containers. { # 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. diff --git a/docs/dyn/logging_v2.projects.html b/docs/dyn/logging_v2.projects.html index 72deac33aa..c293b9978d 100644 --- a/docs/dyn/logging_v2.projects.html +++ b/docs/dyn/logging_v2.projects.html @@ -151,6 +151,7 @@

Method Details

An object of the form: { # Describes the settings associated with a project, folder, organization, or billing account. + "analyticsMode": "A String", # Optional. The default analytics mode of an org or folder which is inherited by all newly created child project buckets. "defaultSinkConfig": { # 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. # Optional. Overrides the built-in configuration for _Default sink. "exclusions": [ # Optional. Specifies the set of exclusions to be added to the _Default sink in newly created resource containers. { # 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. diff --git a/docs/dyn/logging_v2.v2.html b/docs/dyn/logging_v2.v2.html index 0e46f8aa47..ddfa30264b 100644 --- a/docs/dyn/logging_v2.v2.html +++ b/docs/dyn/logging_v2.v2.html @@ -132,6 +132,7 @@

Method Details

An object of the form: { # Describes the settings associated with a project, folder, organization, or billing account. + "analyticsMode": "A String", # Optional. The default analytics mode of an org or folder which is inherited by all newly created child project buckets. "defaultSinkConfig": { # 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. # Optional. Overrides the built-in configuration for _Default sink. "exclusions": [ # Optional. Specifies the set of exclusions to be added to the _Default sink in newly created resource containers. { # 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. @@ -198,6 +199,7 @@

Method Details

The object takes the form of: { # Describes the settings associated with a project, folder, organization, or billing account. + "analyticsMode": "A String", # Optional. The default analytics mode of an org or folder which is inherited by all newly created child project buckets. "defaultSinkConfig": { # 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. # Optional. Overrides the built-in configuration for _Default sink. "exclusions": [ # Optional. Specifies the set of exclusions to be added to the _Default sink in newly created resource containers. { # 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. @@ -230,6 +232,7 @@

Method Details

An object of the form: { # Describes the settings associated with a project, folder, organization, or billing account. + "analyticsMode": "A String", # Optional. The default analytics mode of an org or folder which is inherited by all newly created child project buckets. "defaultSinkConfig": { # 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. # Optional. Overrides the built-in configuration for _Default sink. "exclusions": [ # Optional. Specifies the set of exclusions to be added to the _Default sink in newly created resource containers. { # 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. diff --git a/googleapiclient/discovery_cache/documents/logging.v2.json b/googleapiclient/discovery_cache/documents/logging.v2.json index dd1d729658..d9d195fdd2 100644 --- a/googleapiclient/discovery_cache/documents/logging.v2.json +++ b/googleapiclient/discovery_cache/documents/logging.v2.json @@ -7668,7 +7668,7 @@ } } }, -"revision": "20240112", +"revision": "20240207", "rootUrl": "https://logging.googleapis.com/", "schemas": { "BigQueryDataset": { @@ -9694,6 +9694,20 @@ "description": "Describes the settings associated with a project, folder, organization, or billing account.", "id": "Settings", "properties": { +"analyticsMode": { +"description": "Optional. The default analytics mode of an org or folder which is inherited by all newly created child project buckets.", +"enum": [ +"ANALYTICS_MODE_UNSPECIFIED", +"ANALYTICS_ENABLED", +"ANALYTICS_DISABLED" +], +"enumDescriptions": [ +"No default analytics mode defined at this resource level, it will inherit from the closest ancester which has a defined analytics mode. If there is no specified analytics mode across the resource hierarchy, analytics will be disabled by default.", +"By default, analytics will be enabled for all new project-level buckets unless explicitly specified otherwise at bucket creation time.", +"By default, analytics will be disabled for new project-level buckets unless explicitly specified otherwise at bucket creation time." +], +"type": "string" +}, "defaultSinkConfig": { "$ref": "DefaultSinkConfig", "description": "Optional. Overrides the built-in configuration for _Default sink."