Skip to content

Commit

Permalink
feat(logging): update the api
Browse files Browse the repository at this point in the history
#### logging:v2

The following keys were deleted:
- schemas.Settings.properties.analyticsMode.type (Total Keys: 1)

The following keys were added:
- schemas.CopyLogEntriesMetadata.properties.request.deprecated (Total Keys: 1)
- schemas.SavedQuery.properties.visibility.type (Total Keys: 1)
  • Loading branch information
yoshi-automation committed Mar 5, 2024
1 parent 2b7a7a4 commit ce51440
Show file tree
Hide file tree
Showing 10 changed files with 29 additions and 27 deletions.
1 change: 0 additions & 1 deletion docs/dyn/logging_v2.billingAccounts.html
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,6 @@ <h3>Method Details</h3>
An object of the form:

{ # Describes the settings associated with a project, folder, organization, or billing account.
&quot;analyticsMode&quot;: &quot;A String&quot;, # Optional. The default analytics mode of an org or folder which is inherited by all newly created child project buckets.
&quot;defaultSinkConfig&quot;: { # 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.
&quot;exclusions&quot;: [ # 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&#x27;t apply to child resources. Note also that you cannot modify the _Required sink or exclude logs from it.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@ <h3>Method Details</h3>
&quot;sqlQueryText&quot;: &quot;A String&quot;, # Required. A logs analytics SQL query, which generally follows BigQuery format.This is the SQL query that appears in the Log Analytics UI&#x27;s query editor.
},
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. The timestamp when the saved query was last updated.
&quot;visibility&quot;: &quot;A String&quot;, # Required. The visibility status of this query, which determines its ownership.
}

savedQueryId: string, Optional. The ID to use for the saved query, which will become the final component of the saved query&#x27;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.
Expand Down Expand Up @@ -153,6 +154,7 @@ <h3>Method Details</h3>
&quot;sqlQueryText&quot;: &quot;A String&quot;, # Required. A logs analytics SQL query, which generally follows BigQuery format.This is the SQL query that appears in the Log Analytics UI&#x27;s query editor.
},
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. The timestamp when the saved query was last updated.
&quot;visibility&quot;: &quot;A String&quot;, # Required. The visibility status of this query, which determines its ownership.
}</pre>
</div>

Expand Down Expand Up @@ -212,6 +214,7 @@ <h3>Method Details</h3>
&quot;sqlQueryText&quot;: &quot;A String&quot;, # Required. A logs analytics SQL query, which generally follows BigQuery format.This is the SQL query that appears in the Log Analytics UI&#x27;s query editor.
},
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. The timestamp when the saved query was last updated.
&quot;visibility&quot;: &quot;A String&quot;, # Required. The visibility status of this query, which determines its ownership.
},
],
&quot;unreachable&quot;: [ # 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. &quot;projects/[PROJECT_ID]/locations/[LOCATION_ID]/savedQueries/[QUERY_ID]&quot; &quot;projects/[PROJECT_ID]/locations/[LOCATION_ID]&quot; For example: &quot;projects/my-project/locations/global/savedQueries/12345678&quot; &quot;projects/my-project/locations/global&quot; If there are unreachable resources, the response will first return pages that contain saved queries, and then return pages that contain the unreachable resources.
Expand Down
3 changes: 0 additions & 3 deletions docs/dyn/logging_v2.folders.html
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,6 @@ <h3>Method Details</h3>
An object of the form:

{ # Describes the settings associated with a project, folder, organization, or billing account.
&quot;analyticsMode&quot;: &quot;A String&quot;, # Optional. The default analytics mode of an org or folder which is inherited by all newly created child project buckets.
&quot;defaultSinkConfig&quot;: { # 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.
&quot;exclusions&quot;: [ # 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&#x27;t apply to child resources. Note also that you cannot modify the _Required sink or exclude logs from it.
Expand Down Expand Up @@ -183,7 +182,6 @@ <h3>Method Details</h3>
The object takes the form of:

{ # Describes the settings associated with a project, folder, organization, or billing account.
&quot;analyticsMode&quot;: &quot;A String&quot;, # Optional. The default analytics mode of an org or folder which is inherited by all newly created child project buckets.
&quot;defaultSinkConfig&quot;: { # 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.
&quot;exclusions&quot;: [ # 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&#x27;t apply to child resources. Note also that you cannot modify the _Required sink or exclude logs from it.
Expand Down Expand Up @@ -216,7 +214,6 @@ <h3>Method Details</h3>
An object of the form:

{ # Describes the settings associated with a project, folder, organization, or billing account.
&quot;analyticsMode&quot;: &quot;A String&quot;, # Optional. The default analytics mode of an org or folder which is inherited by all newly created child project buckets.
&quot;defaultSinkConfig&quot;: { # 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.
&quot;exclusions&quot;: [ # 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&#x27;t apply to child resources. Note also that you cannot modify the _Required sink or exclude logs from it.
Expand Down
3 changes: 3 additions & 0 deletions docs/dyn/logging_v2.folders.locations.savedQueries.html
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@ <h3>Method Details</h3>
&quot;sqlQueryText&quot;: &quot;A String&quot;, # Required. A logs analytics SQL query, which generally follows BigQuery format.This is the SQL query that appears in the Log Analytics UI&#x27;s query editor.
},
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. The timestamp when the saved query was last updated.
&quot;visibility&quot;: &quot;A String&quot;, # Required. The visibility status of this query, which determines its ownership.
}

savedQueryId: string, Optional. The ID to use for the saved query, which will become the final component of the saved query&#x27;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.
Expand Down Expand Up @@ -153,6 +154,7 @@ <h3>Method Details</h3>
&quot;sqlQueryText&quot;: &quot;A String&quot;, # Required. A logs analytics SQL query, which generally follows BigQuery format.This is the SQL query that appears in the Log Analytics UI&#x27;s query editor.
},
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. The timestamp when the saved query was last updated.
&quot;visibility&quot;: &quot;A String&quot;, # Required. The visibility status of this query, which determines its ownership.
}</pre>
</div>

Expand Down Expand Up @@ -212,6 +214,7 @@ <h3>Method Details</h3>
&quot;sqlQueryText&quot;: &quot;A String&quot;, # Required. A logs analytics SQL query, which generally follows BigQuery format.This is the SQL query that appears in the Log Analytics UI&#x27;s query editor.
},
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. The timestamp when the saved query was last updated.
&quot;visibility&quot;: &quot;A String&quot;, # Required. The visibility status of this query, which determines its ownership.
},
],
&quot;unreachable&quot;: [ # 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. &quot;projects/[PROJECT_ID]/locations/[LOCATION_ID]/savedQueries/[QUERY_ID]&quot; &quot;projects/[PROJECT_ID]/locations/[LOCATION_ID]&quot; For example: &quot;projects/my-project/locations/global/savedQueries/12345678&quot; &quot;projects/my-project/locations/global&quot; If there are unreachable resources, the response will first return pages that contain saved queries, and then return pages that contain the unreachable resources.
Expand Down
3 changes: 0 additions & 3 deletions docs/dyn/logging_v2.organizations.html
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,6 @@ <h3>Method Details</h3>
An object of the form:

{ # Describes the settings associated with a project, folder, organization, or billing account.
&quot;analyticsMode&quot;: &quot;A String&quot;, # Optional. The default analytics mode of an org or folder which is inherited by all newly created child project buckets.
&quot;defaultSinkConfig&quot;: { # 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.
&quot;exclusions&quot;: [ # 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&#x27;t apply to child resources. Note also that you cannot modify the _Required sink or exclude logs from it.
Expand Down Expand Up @@ -219,7 +218,6 @@ <h3>Method Details</h3>
The object takes the form of:

{ # Describes the settings associated with a project, folder, organization, or billing account.
&quot;analyticsMode&quot;: &quot;A String&quot;, # Optional. The default analytics mode of an org or folder which is inherited by all newly created child project buckets.
&quot;defaultSinkConfig&quot;: { # 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.
&quot;exclusions&quot;: [ # 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&#x27;t apply to child resources. Note also that you cannot modify the _Required sink or exclude logs from it.
Expand Down Expand Up @@ -252,7 +250,6 @@ <h3>Method Details</h3>
An object of the form:

{ # Describes the settings associated with a project, folder, organization, or billing account.
&quot;analyticsMode&quot;: &quot;A String&quot;, # Optional. The default analytics mode of an org or folder which is inherited by all newly created child project buckets.
&quot;defaultSinkConfig&quot;: { # 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.
&quot;exclusions&quot;: [ # 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&#x27;t apply to child resources. Note also that you cannot modify the _Required sink or exclude logs from it.
Expand Down
3 changes: 3 additions & 0 deletions docs/dyn/logging_v2.organizations.locations.savedQueries.html
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@ <h3>Method Details</h3>
&quot;sqlQueryText&quot;: &quot;A String&quot;, # Required. A logs analytics SQL query, which generally follows BigQuery format.This is the SQL query that appears in the Log Analytics UI&#x27;s query editor.
},
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. The timestamp when the saved query was last updated.
&quot;visibility&quot;: &quot;A String&quot;, # Required. The visibility status of this query, which determines its ownership.
}

savedQueryId: string, Optional. The ID to use for the saved query, which will become the final component of the saved query&#x27;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.
Expand Down Expand Up @@ -153,6 +154,7 @@ <h3>Method Details</h3>
&quot;sqlQueryText&quot;: &quot;A String&quot;, # Required. A logs analytics SQL query, which generally follows BigQuery format.This is the SQL query that appears in the Log Analytics UI&#x27;s query editor.
},
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. The timestamp when the saved query was last updated.
&quot;visibility&quot;: &quot;A String&quot;, # Required. The visibility status of this query, which determines its ownership.
}</pre>
</div>

Expand Down Expand Up @@ -212,6 +214,7 @@ <h3>Method Details</h3>
&quot;sqlQueryText&quot;: &quot;A String&quot;, # Required. A logs analytics SQL query, which generally follows BigQuery format.This is the SQL query that appears in the Log Analytics UI&#x27;s query editor.
},
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. The timestamp when the saved query was last updated.
&quot;visibility&quot;: &quot;A String&quot;, # Required. The visibility status of this query, which determines its ownership.
},
],
&quot;unreachable&quot;: [ # 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. &quot;projects/[PROJECT_ID]/locations/[LOCATION_ID]/savedQueries/[QUERY_ID]&quot; &quot;projects/[PROJECT_ID]/locations/[LOCATION_ID]&quot; For example: &quot;projects/my-project/locations/global/savedQueries/12345678&quot; &quot;projects/my-project/locations/global&quot; If there are unreachable resources, the response will first return pages that contain saved queries, and then return pages that contain the unreachable resources.
Expand Down
1 change: 0 additions & 1 deletion docs/dyn/logging_v2.projects.html
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,6 @@ <h3>Method Details</h3>
An object of the form:

{ # Describes the settings associated with a project, folder, organization, or billing account.
&quot;analyticsMode&quot;: &quot;A String&quot;, # Optional. The default analytics mode of an org or folder which is inherited by all newly created child project buckets.
&quot;defaultSinkConfig&quot;: { # 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.
&quot;exclusions&quot;: [ # 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&#x27;t apply to child resources. Note also that you cannot modify the _Required sink or exclude logs from it.
Expand Down
3 changes: 3 additions & 0 deletions docs/dyn/logging_v2.projects.locations.savedQueries.html
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@ <h3>Method Details</h3>
&quot;sqlQueryText&quot;: &quot;A String&quot;, # Required. A logs analytics SQL query, which generally follows BigQuery format.This is the SQL query that appears in the Log Analytics UI&#x27;s query editor.
},
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. The timestamp when the saved query was last updated.
&quot;visibility&quot;: &quot;A String&quot;, # Required. The visibility status of this query, which determines its ownership.
}

savedQueryId: string, Optional. The ID to use for the saved query, which will become the final component of the saved query&#x27;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.
Expand Down Expand Up @@ -153,6 +154,7 @@ <h3>Method Details</h3>
&quot;sqlQueryText&quot;: &quot;A String&quot;, # Required. A logs analytics SQL query, which generally follows BigQuery format.This is the SQL query that appears in the Log Analytics UI&#x27;s query editor.
},
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. The timestamp when the saved query was last updated.
&quot;visibility&quot;: &quot;A String&quot;, # Required. The visibility status of this query, which determines its ownership.
}</pre>
</div>

Expand Down Expand Up @@ -212,6 +214,7 @@ <h3>Method Details</h3>
&quot;sqlQueryText&quot;: &quot;A String&quot;, # Required. A logs analytics SQL query, which generally follows BigQuery format.This is the SQL query that appears in the Log Analytics UI&#x27;s query editor.
},
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. The timestamp when the saved query was last updated.
&quot;visibility&quot;: &quot;A String&quot;, # Required. The visibility status of this query, which determines its ownership.
},
],
&quot;unreachable&quot;: [ # 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. &quot;projects/[PROJECT_ID]/locations/[LOCATION_ID]/savedQueries/[QUERY_ID]&quot; &quot;projects/[PROJECT_ID]/locations/[LOCATION_ID]&quot; For example: &quot;projects/my-project/locations/global/savedQueries/12345678&quot; &quot;projects/my-project/locations/global&quot; If there are unreachable resources, the response will first return pages that contain saved queries, and then return pages that contain the unreachable resources.
Expand Down
Loading

0 comments on commit ce51440

Please sign in to comment.