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 added:
- resources.billingAccounts.resources.sinks.methods.list.parameters.filter (Total Keys: 2)
- resources.folders.resources.sinks.methods.list.parameters.filter (Total Keys: 2)
- resources.organizations.resources.sinks.methods.list.parameters.filter (Total Keys: 2)
- resources.projects.resources.sinks.methods.list.parameters.filter (Total Keys: 2)
- resources.sinks.methods.list.parameters.filter (Total Keys: 2)
- schemas.LogSink.properties.interceptChildren.type (Total Keys: 1)
- schemas.LogSink.properties.resourceName (Total Keys: 2)

The following keys were changed:
- endpoints (Total Keys: 1)
  • Loading branch information
yoshi-automation committed Mar 19, 2024
1 parent 56a1036 commit 4f1084b
Show file tree
Hide file tree
Showing 6 changed files with 131 additions and 16 deletions.
21 changes: 19 additions & 2 deletions docs/dyn/logging_v2.billingAccounts.sinks.html

Large diffs are not rendered by default.

21 changes: 19 additions & 2 deletions docs/dyn/logging_v2.folders.sinks.html

Large diffs are not rendered by default.

21 changes: 19 additions & 2 deletions docs/dyn/logging_v2.organizations.sinks.html

Large diffs are not rendered by default.

21 changes: 19 additions & 2 deletions docs/dyn/logging_v2.projects.sinks.html

Large diffs are not rendered by default.

17 changes: 15 additions & 2 deletions docs/dyn/logging_v2.sinks.html

Large diffs are not rendered by default.

46 changes: 40 additions & 6 deletions googleapiclient/discovery_cache/documents/logging.v2.json
Expand Up @@ -30,6 +30,11 @@
"endpoints": [
{
"description": "Regional Endpoint",
"endpointUrl": "https://logging.me-central2.rep.googleapis.com/",
"location": "me-central2"
},
{
"description": "Regional Endpoint",
"endpointUrl": "https://logging.europe-west3.rep.googleapis.com/",
"location": "europe-west3"
},
Expand All @@ -45,11 +50,6 @@
},
{
"description": "Regional Endpoint",
"endpointUrl": "https://logging.me-central2.rep.googleapis.com/",
"location": "me-central2"
},
{
"description": "Regional Endpoint",
"endpointUrl": "https://logging.us-central1.rep.googleapis.com/",
"location": "us-central1"
},
Expand Down Expand Up @@ -1542,6 +1542,11 @@
"parent"
],
"parameters": {
"filter": {
"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",
"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.",
"format": "int32",
Expand Down Expand Up @@ -3290,6 +3295,11 @@
"parent"
],
"parameters": {
"filter": {
"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",
"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.",
"format": "int32",
Expand Down Expand Up @@ -5682,6 +5692,11 @@
"parent"
],
"parameters": {
"filter": {
"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",
"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.",
"format": "int32",
Expand Down Expand Up @@ -7307,6 +7322,11 @@
"parent"
],
"parameters": {
"filter": {
"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",
"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.",
"format": "int32",
Expand Down Expand Up @@ -7535,6 +7555,11 @@
"parent"
],
"parameters": {
"filter": {
"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",
"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.",
"format": "int32",
Expand Down Expand Up @@ -7743,7 +7768,7 @@
}
}
},
"revision": "20240301",
"revision": "20240311",
"rootUrl": "https://logging.googleapis.com/",
"schemas": {
"BigQueryDataset": {
Expand Down Expand Up @@ -9138,6 +9163,10 @@
"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"
},
"interceptChildren": {
"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\")'.",
"type": "boolean"
},
"name": {
"description": "Output only. 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.",
"readOnly": true,
Expand All @@ -9158,6 +9187,11 @@
],
"type": "string"
},
"resourceName": {
"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",
"readOnly": true,
"type": "string"
},
"updateTime": {
"description": "Output only. The last update timestamp of the sink.This field may not be present for older sinks.",
"format": "google-datetime",
Expand Down

0 comments on commit 4f1084b

Please sign in to comment.