I was wondering if google cloud print can be configured to send to a custom web service. I was thinking about sending documents that need to be OCR'd to my web service to process. Can this be done directly with google cloud print?
Yes. You'll essentially create a Google Cloud Print printer, in software. When the new print job arrives (a PDF with metadata) then you do whatever you want to with it.
The API documentation is very clear
Some example code (Go) can be found in the official Google Cloud Print CUPS Connector
More example code (Python) can be found in the Google Cloudprint Proxy
The GCP Developers mailing list is useful
Related
We are exploring Google Analytics / Reporting APIs and have noticed that it forwards to the screen where we are asked to create/associate a project in google cloud interface and enable APIs.
We are struggling to understand the link between GA and Google Cloud. So there are things below we are trying to determine.
How is the Google project linked to the clients GA account. Do I need to somehow link it in the project screen.
Once in the Google project screen (Google Cloud Platform) how do I set up the API and get the OAuth and token needed to the API Call
In google cloud analytics dashboard what data will I see. Is it only Google Cloud services or actual GA Data.
GA and Google Cloud APIs how will they be connected. How will GA use these Credentials and both will be linked. If support GA is tracking my website usage or access data. What will enablement of these APIs do in that regard. There is no specific example showing that.
Any advice you can provide would really help me.
thanks,
Aakash
Our client does not let information be sent offshore. This isn't a discussion as to whether this is good policy or not.
I am wondering if there's any way to set the server that you send Google Vision's API calls to. In the same way you can select which server you want in Google's Compute.
At this time Google Cloud Vision is a global product and you cannot set a specific region for data processing.
On the following link scroll down to Global Products.
Google Cloud Locations
Vision OCR offers regional support
Vision OCR multiregion support
AutoML Vision is limited to us-central1 only at this time.
Aws let setup lambda#edge function executed after a response is received from the origin(see picture bellow), can I do it with GCP?
UPDATE
This can be done now with the Cloud Functions service in Google Cloud Platform, as stated in the official documentation 1.
"Cloud Functions allows you to trigger your code from Google Cloud, Firebase, and Google Assistant, or call it directly from any web, mobile, or backend application via HTTP."
In this document can find the features comparison of AWS and Azure with matching features in GCP, including the one just mentioned of GCP Cloud Run matching AWS Lambda 2.
Finally, can find documentation on how to write Cloud Functions, the different programming languages used, and examples for the different usages here 3.
Can anyone please tell me how to use Google Cloud DLP API and can I track my local system using these Google Cloud API like track info which is flow from Facebook, Gmail, Skype etc.?
Do you mean you want to track data flowing between those systems? I'm not aware of a way to inject yourself between them.
If you want to track what is being sent out on your local network and are looking for design ideas - one such idea could be to use a local proxy that you have configured to send all traffic through something like https://cloud.google.com/dlp/docs/reference/rpc/google.privacy.dlp.v2#inspectcontentrequest so that you can send up alerts if there is anything surprising.
Gmail also has a version of Cloud DLP built in for gsuite customers to automatically monitor/prevent employees from sending email with specific finding types.
I'm new to google cloud technologies.
If I have a streaming web API online where I want to access JSON data from and write it into Cloud Pub/Sub, Do I need to create a python app engine or something that reads that Web API and writes the data into Cloud Pub/Sub or is there an easier way?
Basically just poling a web API and getting JSON data.
There's multiple ways that this could be achieved:
Cloud Function: With the help of triggers, you could have the cloud function grab the data and write it to pub/sub using its API Service. Cloud functions uses a Nodejs runtime so you will need to use javascript to code the function.
Direct Stream: You can altogether skip the extra work and simply adapt your web service to use the Pub/Sub API service and write the data directly to it.
You can look into the Pub/Sub Client API Documentation which offer sample and guidance on how to properly use the API.
Hope this is helpful.