File tree Expand file tree Collapse file tree 2 files changed +13
-10
lines changed
Expand file tree Collapse file tree 2 files changed +13
-10
lines changed Original file line number Diff line number Diff line change @@ -135,12 +135,15 @@ def logger_usage(client, to_delete):
135135
136136 # [START logger_log_resource_text]
137137 from google .cloud .logging .resource import Resource
138- res = Resource (type = "generic_node" ,
138+
139+ res = Resource (
140+ type = "generic_node" ,
139141 labels = {
140- 'location' : 'us-central1-a' ,
141- 'namespace' : 'default' ,
142- 'node_id' : '10.10.10.1'
143- })
142+ "location" : "us-central1-a" ,
143+ "namespace" : "default" ,
144+ "node_id" : "10.10.10.1" ,
145+ },
146+ )
144147 logger .log_struct (
145148 {"message" : "My first entry" , "weather" : "partly cloudy" }, resource = res
146149 )
Original file line number Diff line number Diff line change 11{
2- "updateTime": "2019-01-17T13:22:21.430628Z ",
2+ "updateTime": "2019-01-29T13:23:16.990671Z ",
33 "sources": [
44 {
55 "generator": {
66 "name": "artman",
7- "version": "0.16.6 ",
8- "dockerImage": "googleapis/artman@sha256:12722f2ca3fbc3b53cc6aa5f0e569d7d221b46bd876a2136497089dec5e3634e "
7+ "version": "0.16.7 ",
8+ "dockerImage": "googleapis/artman@sha256:d6c8ced606eb49973ca95d2af7c55a681acc042db0f87d135968349e7bf6dd80 "
99 }
1010 },
1111 {
1212 "git": {
1313 "name": "googleapis",
1414 "remote": "https://github.com/googleapis/googleapis.git",
15- "sha": "0ac60e21a1aa86c07c1836865b35308ba8178b05 ",
16- "internalRef": "229626798 "
15+ "sha": "3cdb7227019524e7963071cf80a9624bf055b284 ",
16+ "internalRef": "231246006 "
1717 }
1818 },
1919 {
You can’t perform that action at this time.
0 commit comments