I am trying to get the OS Image Name of a Google Cloud Instance Using REST API provided by Google. Tried lot of API's in Google API Explorer and have no idea how to get the OS Type. My Case is to populate "Windows" if the OS Type of Instance is Windows and so on.
The OS information is listed under "Source image" on the details of your boot disk.
Using the instance-get method of the API and searching for the "disk" parameters you can retrieve this information.
Related
In my google console it says here Cloud Storage pricing
that the price for standard storage is $.026 per gigabyte month, which I think means that 500 gigs stored during one month will cost $13 since 500 * .026 = 13. But this article The Google Drive Price Cut Changes The Game For Personal Cloud Storage says:
Google is making a terabyte of cloud storage available for just $10
I don't see where you upload data to Google drive at Google cloud console.
My second question is that I want to make sure that I can create a virtual instance and connect it to Google drive or Storage and read the data from it and put that data into the RAM of the virtual instance.
Google Drive
is a web application which works as a file store allowing users to store files. Communication with it is normally done though the web application itself however developers can use the Google drive api to interact with google drive programticlly.
You may want to go though the documentation on the Google drive api to understand what its capable of.
Google cloud storage
is designed as a Unified object storage for developers and enterprises Cloud Storage allows world-wide storage and retrieval of any amount of data at any time. You can use Cloud Storage for a range of scenarios including serving website content, storing data for archival and disaster recovery, or distributing large data objects to users via direct download.
Interaction with this is done primarrly though the cloud console and command line tools.
I don't see where you upload data to Google drive at Google cloud console.
You dont cloud console wont help you upload to google drive.
My second question is that I want to make sure that I can create a virtual instance and connect it to Google drive or Storage and read the data from it and put that data into the RAM of the virtual instance.
Google drive is a web application you cant create a virtual instance of that.
You might want to go though a few of the quickstarts to understand how Google cloud console and the command line tool work Quick Starts
I'm new in Codename one. I'm developing an application that connect to Google Drive. I`d want to know if the Drive API Client Library for Java is functional in Codename one. If not, can somebody give me an advice about how to manage gdrive from Codename one?
Thanks!!!
I have read documentation about HTTP requests
Codename One doesn't support the Android API. We have our own API. You can use native interfaces to access native functionality like the drive API. Some API's are already exposed via a cn1lib but the drive API isn't.
I want to use maps engine to show data in a map. The problem is that my data (kmz, csv, Mysql) is in a local server and because of internal politics I can't upload all this data to the cloud. I have seen that the Google Maps Engine API documentation talks about authentification for installed applications (https://developers.google.com/maps-engine/documentation/oauth/installedapplication). But does this mean that I can use Google Maps Engine locally? Can I use my local data in Google Maps Engine without uploading it to the cloud?
Thanks
Google Maps Engine is a cloud based application. You must upload your data to GME in order to make use of it. The link you reference is for oAuth - an authentication mechanism to provide access to GME maps requiring a user account. An installed application is, for example, a Windows app that uses the Maps Engine API.
If you can get over your cloud issue, you could use the Maps Engine API to write a connector from mySQL to Maps Engine relatively easily
In your situation you should probably look at geoserver.
UPDATE: In an effort to give a more clear question. How do I use the Google Console API key with the Google Maps Geocoding Web Service API? At the moment the request comes back as denied, when I specify the key but even though it failed it is logged in the Google Console API site's reports section.
Original Question
I have an existing app that has been modified to start geocoding address at the time they are entered (for use within the app on a Google Map). The volume expected for this is expcted to be within the free offering's limites and does not require a key at this time. However now I have to geocode all of the existing addresses. I have a small windows app (C#) that will loop through them one at a time, request they be geocoded (via https://maps.googleapis.com/maps/api/geocode/json) and store the results in the database. However I keep running into the query limit. To help alleviate this I've setup an account on Google API Console (https://code.google.com/apis/console/) so that I get go over the limit and just be billed for the overages.
The problem is in order to do utilize this billing alternative I have to provide a Console API Key to the request, but every time I do so I get a response back with a status of REQUEST_DENIED.
My URL looks like this
https://maps.googleapis.com/maps/api/geocode/json?address=1600+Amphitheatre+Parkway,+Mountain+View,+CA+94043&sensor=false&key=123abc
If I take off the key it works fine, but with it on it fails. Now, I have seen other questions similar to this when looking around but can find no answer to the issue.
I've tried various alternate domains including maps.google.com, maps.googleapis.com and maps-api-ssl.google.com all seem to have the same problem from what I can tell.
Here's what I've been able to find out so far:
The service is listed in the Google Console API's site as Google Maps API v3, (there is a separate entry for v2) so I don't think it's a problem with keys no longer being mandatory in v3.
I know the requests are getting through and being correctly logged against this API key because with each failed attempt the request count goes up by one on the Reports tab of the Google APIs Console.
*I know it's not a problem with it not being accessed via a web page because the Console API explicitly lets you generates keys intended for Server/Service use and you can restrict access to them via IP address, not URL Referrer.
*I've also verified the parameter syntax as it's outlined on this page, as are other usage
*These seem to be generic to the Console API system but there is no mention of exceptions to these practices when used for the Google Maps API.
I even tried to contact Google but apparently they don't offer support over the phone (I was hoping to be done with this today but that's not looking likely).
It seems the key is not necessary anymore, since it doesn't increase your limit of free geocodings.
It was a legacy of v2, but geocoding API v2 was fully deprecated last March, 8.
If you need to use more than the free limit, I think you must adquire the Enterprise license.
Regards,
Eduardo.
I ran into this same issue and solved it by enabling the Geocoding API on the Google apis dashboard. Even though I'm using the Google Maps JavaScript API v3, it still required me to enable the Geocoding API as well. Make sure you understand the google's quota limits and billing system before enabling any API access. Hope this helps!
Late to this answer, but just in case anyone else has issue. Billing needs to be setup first and like Dylan said you also have to enable Geocoding API(this got me). At least I did for my locations app that shows multiple store location addresses.
is it possible to have an application (web-based) with google map api that works even without internet connection?
Say have to cache or store the map somewhere, so that when there is no internet connection the application still works.
I doubt it. Google Maps is a web service, which you can place into your application via an API key.
Therefore, you'll need to have an internet connection to actually make a call to the Google Maps web service to validate your API key and load it.
I'm assuming you mean a web application running internally within an intranet to access Google maps. This link might give you some clues evn though there seems to have an Android version of this feature. A google search on "offline google maps" returned quite a few Android links