Skip to content

Commit 414f7e1

Browse files
feat(logging): update the api
#### logging:v2 The following keys were added: - resources.billingAccounts.resources.sinks.methods.create.parameters.customWriterIdentity (Total Keys: 2) - resources.billingAccounts.resources.sinks.methods.patch.parameters.customWriterIdentity (Total Keys: 2) - resources.billingAccounts.resources.sinks.methods.update.parameters.customWriterIdentity (Total Keys: 2) - resources.folders.resources.sinks.methods.create.parameters.customWriterIdentity (Total Keys: 2) - resources.folders.resources.sinks.methods.patch.parameters.customWriterIdentity (Total Keys: 2) - resources.folders.resources.sinks.methods.update.parameters.customWriterIdentity (Total Keys: 2) - resources.organizations.resources.sinks.methods.create.parameters.customWriterIdentity (Total Keys: 2) - resources.organizations.resources.sinks.methods.patch.parameters.customWriterIdentity (Total Keys: 2) - resources.organizations.resources.sinks.methods.update.parameters.customWriterIdentity (Total Keys: 2) - resources.projects.resources.sinks.methods.create.parameters.customWriterIdentity (Total Keys: 2) - resources.projects.resources.sinks.methods.patch.parameters.customWriterIdentity (Total Keys: 2) - resources.projects.resources.sinks.methods.update.parameters.customWriterIdentity (Total Keys: 2) - resources.sinks.methods.create.parameters.customWriterIdentity (Total Keys: 2) - resources.sinks.methods.update.parameters.customWriterIdentity (Total Keys: 2)
1 parent c78ca46 commit 414f7e1

File tree

7 files changed

+154
-70
lines changed

7 files changed

+154
-70
lines changed

docs/dyn/logging_v2.billingAccounts.sinks.html

Lines changed: 17 additions & 14 deletions
Large diffs are not rendered by default.

docs/dyn/logging_v2.entries.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ <h3>Method Details</h3>
150150
The object takes the form of:
151151

152152
{ # The parameters to ListLogEntries.
153-
&quot;filter&quot;: &quot;A String&quot;, # 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.
153+
&quot;filter&quot;: &quot;A String&quot;, # 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.
154154
&quot;orderBy&quot;: &quot;A String&quot;, # Optional. How the results should be sorted. Presently, the only permitted values are &quot;timestamp asc&quot; (default) and &quot;timestamp desc&quot;. 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.
155155
&quot;pageSize&quot;: 42, # Optional. The maximum number of results to return from this request. Default is 50. If the value is negative or exceeds 1000, the request is rejected. The presence of next_page_token in the response indicates that more results might be available.
156156
&quot;pageToken&quot;: &quot;A String&quot;, # 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.

docs/dyn/logging_v2.folders.sinks.html

Lines changed: 17 additions & 14 deletions
Large diffs are not rendered by default.

docs/dyn/logging_v2.organizations.sinks.html

Lines changed: 17 additions & 14 deletions
Large diffs are not rendered by default.

docs/dyn/logging_v2.projects.sinks.html

Lines changed: 17 additions & 14 deletions
Large diffs are not rendered by default.

docs/dyn/logging_v2.sinks.html

Lines changed: 12 additions & 10 deletions
Large diffs are not rendered by default.

googleapiclient/discovery_cache/documents/logging.v2.json

Lines changed: 73 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1221,6 +1221,11 @@
12211221
"parent"
12221222
],
12231223
"parameters": {
1224+
"customWriterIdentity": {
1225+
"description": "Optional. A service account provided by the caller that will be used to write the log entries. Must be of format serviceAccount:some@email. This can only be specified if writing to a destination outside the sink's project. If not specified, a p4 service account will automatically be generated.",
1226+
"location": "query",
1227+
"type": "string"
1228+
},
12241229
"parent": {
12251230
"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\"",
12261231
"location": "path",
@@ -1348,6 +1353,11 @@
13481353
"sinkName"
13491354
],
13501355
"parameters": {
1356+
"customWriterIdentity": {
1357+
"description": "Optional. A service account provided by the caller that will be used to write the log entries. Must be of format serviceAccount:some@email. This can only be specified if writing to a destination outside the sink's project. If not specified, a p4 service account will automatically be generated.",
1358+
"location": "query",
1359+
"type": "string"
1360+
},
13511361
"sinkName": {
13521362
"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\"",
13531363
"location": "path",
@@ -1388,6 +1398,11 @@
13881398
"sinkName"
13891399
],
13901400
"parameters": {
1401+
"customWriterIdentity": {
1402+
"description": "Optional. A service account provided by the caller that will be used to write the log entries. Must be of format serviceAccount:some@email. This can only be specified if writing to a destination outside the sink's project. If not specified, a p4 service account will automatically be generated.",
1403+
"location": "query",
1404+
"type": "string"
1405+
},
13911406
"sinkName": {
13921407
"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\"",
13931408
"location": "path",
@@ -2808,6 +2823,11 @@
28082823
"parent"
28092824
],
28102825
"parameters": {
2826+
"customWriterIdentity": {
2827+
"description": "Optional. A service account provided by the caller that will be used to write the log entries. Must be of format serviceAccount:some@email. This can only be specified if writing to a destination outside the sink's project. If not specified, a p4 service account will automatically be generated.",
2828+
"location": "query",
2829+
"type": "string"
2830+
},
28112831
"parent": {
28122832
"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\"",
28132833
"location": "path",
@@ -2935,6 +2955,11 @@
29352955
"sinkName"
29362956
],
29372957
"parameters": {
2958+
"customWriterIdentity": {
2959+
"description": "Optional. A service account provided by the caller that will be used to write the log entries. Must be of format serviceAccount:some@email. This can only be specified if writing to a destination outside the sink's project. If not specified, a p4 service account will automatically be generated.",
2960+
"location": "query",
2961+
"type": "string"
2962+
},
29382963
"sinkName": {
29392964
"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\"",
29402965
"location": "path",
@@ -2975,6 +3000,11 @@
29753000
"sinkName"
29763001
],
29773002
"parameters": {
3003+
"customWriterIdentity": {
3004+
"description": "Optional. A service account provided by the caller that will be used to write the log entries. Must be of format serviceAccount:some@email. This can only be specified if writing to a destination outside the sink's project. If not specified, a p4 service account will automatically be generated.",
3005+
"location": "query",
3006+
"type": "string"
3007+
},
29783008
"sinkName": {
29793009
"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\"",
29803010
"location": "path",
@@ -5039,6 +5069,11 @@
50395069
"parent"
50405070
],
50415071
"parameters": {
5072+
"customWriterIdentity": {
5073+
"description": "Optional. A service account provided by the caller that will be used to write the log entries. Must be of format serviceAccount:some@email. This can only be specified if writing to a destination outside the sink's project. If not specified, a p4 service account will automatically be generated.",
5074+
"location": "query",
5075+
"type": "string"
5076+
},
50425077
"parent": {
50435078
"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\"",
50445079
"location": "path",
@@ -5166,6 +5201,11 @@
51665201
"sinkName"
51675202
],
51685203
"parameters": {
5204+
"customWriterIdentity": {
5205+
"description": "Optional. A service account provided by the caller that will be used to write the log entries. Must be of format serviceAccount:some@email. This can only be specified if writing to a destination outside the sink's project. If not specified, a p4 service account will automatically be generated.",
5206+
"location": "query",
5207+
"type": "string"
5208+
},
51695209
"sinkName": {
51705210
"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\"",
51715211
"location": "path",
@@ -5206,6 +5246,11 @@
52065246
"sinkName"
52075247
],
52085248
"parameters": {
5249+
"customWriterIdentity": {
5250+
"description": "Optional. A service account provided by the caller that will be used to write the log entries. Must be of format serviceAccount:some@email. This can only be specified if writing to a destination outside the sink's project. If not specified, a p4 service account will automatically be generated.",
5251+
"location": "query",
5252+
"type": "string"
5253+
},
52095254
"sinkName": {
52105255
"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\"",
52115256
"location": "path",
@@ -6503,6 +6548,11 @@
65036548
"parent"
65046549
],
65056550
"parameters": {
6551+
"customWriterIdentity": {
6552+
"description": "Optional. A service account provided by the caller that will be used to write the log entries. Must be of format serviceAccount:some@email. This can only be specified if writing to a destination outside the sink's project. If not specified, a p4 service account will automatically be generated.",
6553+
"location": "query",
6554+
"type": "string"
6555+
},
65066556
"parent": {
65076557
"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\"",
65086558
"location": "path",
@@ -6630,6 +6680,11 @@
66306680
"sinkName"
66316681
],
66326682
"parameters": {
6683+
"customWriterIdentity": {
6684+
"description": "Optional. A service account provided by the caller that will be used to write the log entries. Must be of format serviceAccount:some@email. This can only be specified if writing to a destination outside the sink's project. If not specified, a p4 service account will automatically be generated.",
6685+
"location": "query",
6686+
"type": "string"
6687+
},
66336688
"sinkName": {
66346689
"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\"",
66356690
"location": "path",
@@ -6670,6 +6725,11 @@
66706725
"sinkName"
66716726
],
66726727
"parameters": {
6728+
"customWriterIdentity": {
6729+
"description": "Optional. A service account provided by the caller that will be used to write the log entries. Must be of format serviceAccount:some@email. This can only be specified if writing to a destination outside the sink's project. If not specified, a p4 service account will automatically be generated.",
6730+
"location": "query",
6731+
"type": "string"
6732+
},
66736733
"sinkName": {
66746734
"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\"",
66756735
"location": "path",
@@ -6716,6 +6776,11 @@
67166776
"parent"
67176777
],
67186778
"parameters": {
6779+
"customWriterIdentity": {
6780+
"description": "Optional. A service account provided by the caller that will be used to write the log entries. Must be of format serviceAccount:some@email. This can only be specified if writing to a destination outside the sink's project. If not specified, a p4 service account will automatically be generated.",
6781+
"location": "query",
6782+
"type": "string"
6783+
},
67196784
"parent": {
67206785
"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\"",
67216786
"location": "path",
@@ -6843,6 +6908,11 @@
68436908
"sinkName"
68446909
],
68456910
"parameters": {
6911+
"customWriterIdentity": {
6912+
"description": "Optional. A service account provided by the caller that will be used to write the log entries. Must be of format serviceAccount:some@email. This can only be specified if writing to a destination outside the sink's project. If not specified, a p4 service account will automatically be generated.",
6913+
"location": "query",
6914+
"type": "string"
6915+
},
68466916
"sinkName": {
68476917
"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\"",
68486918
"location": "path",
@@ -7007,7 +7077,7 @@
70077077
}
70087078
}
70097079
},
7010-
"revision": "20230517",
7080+
"revision": "20230531",
70117081
"rootUrl": "https://logging.googleapis.com/",
70127082
"schemas": {
70137083
"BigQueryDataset": {
@@ -7638,7 +7708,7 @@
76387708
"id": "ListLogEntriesRequest",
76397709
"properties": {
76407710
"filter": {
7641-
"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.",
7711+
"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.",
76427712
"type": "string"
76437713
},
76447714
"orderBy": {
@@ -8251,7 +8321,7 @@
82518321
"type": "string"
82528322
},
82538323
"destination": {
8254-
"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]\" 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).",
8324+
"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]\" 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).",
82558325
"type": "string"
82568326
},
82578327
"disabled": {

0 commit comments

Comments
 (0)