Last active
October 5, 2022 13:56
-
-
Save donbowman/87cfad5c98c4a435124b4f806aa23c93 to your computer and use it in GitHub Desktop.
stackoverflow gcp pubsub bigquery
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"name": "subscription_name", | |
"type": "STRING" | |
}, | |
{ | |
"name": "messageid", | |
"type": "STRING" | |
}, | |
{ | |
"name": "publish_time", | |
"type": "TIMESTAMP" | |
}, | |
{ | |
"name": "attributes", | |
"type": "STRING" | |
}, | |
{ | |
"name": "data", | |
"type": "record", | |
"fields": [ | |
{ | |
"name": "domain", | |
"type": "STRING" | |
}, | |
{ | |
"name": "grade", | |
"type": "STRING" | |
}, | |
{ | |
"name": "host", | |
"type": "STRING" | |
}, | |
{ | |
"name": "likelihood_indicator", | |
"type": "STRING" | |
}, | |
{ | |
"name": "response_headers", | |
"type": "record", | |
"mode": "repeated", | |
"fields": [ | |
{ | |
"name": "header", | |
"type": "STRING" | |
}, | |
{ | |
"name": "value", | |
"type": "STRING" | |
} | |
] | |
} | |
] | |
} | |
] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "data", | |
"type": "record", | |
"fields": [ | |
{ | |
"name": "domain", | |
"type": "string" | |
}, | |
{ | |
"name": "grade", | |
"type": "string" | |
}, | |
{ | |
"name": "host", | |
"type": "string" | |
}, | |
{ | |
"name": "likelihood_indicator", | |
"type": "string" | |
}, | |
{ | |
"name": "response_headers", | |
"type": { | |
"type": "array", | |
"items": [ | |
{ | |
"name": "header_value", | |
"type": "record", | |
"fields": [ | |
{ "name": "header", "type": "string" }, | |
{ "name": "value", "type": "string" } | |
] | |
} | |
] | |
} | |
} | |
] | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ gcloud pubsub topics describe projects/agilicus/topics/check-me.httpobs | |
name: projects/agilicus/topics/check-me.httpobs | |
schemaSettings: | |
encoding: JSON | |
schema: projects/agilicus/schemas/check-me.httpobs | |
$ gcloud pubsub subscriptions list | |
Listed 0 items. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment