Does google admin sdk have an API that allows you to add resources through CSV import? - google-admin-sdk

I want to call the API of the admin sdk to create a resource function in my system.
Does google admin sdk have an API that allows you to add resources through CSV import?

I there is not an endpoint to do that.
What you can do is to use a Google API Client library (see the official ones) to interface with it, so you can use a library in your preferred language to read the CSV and then use one of that clients to add it to Google servers.

Related

sqladmin vs sql-component.googleapis.com APIs?

What is the difference between these 2 APIs and what do they each allow you to do?
I've tried Googling, searching the GCP docs and running some tests in the console.
The API Library console page does not have very descriptive descriptions [see screenshot].
If I leave both of those APIs disabled, I can still create a SQL instance! Creating a SQL instance only appears to need the Compute Engine API.
If I need to use the Python libraries to query the instance(s) for its attributes, the error message tells me that the SQL Admin API (sqladmin.googleapis.com) needs to be enabled. However, there's a twist. The API only needs to be enabled in the Project that's set in my ADC, not in the (other) Project that I'm actually querying.
Cloud SQL Admin API aka sqladmin.googleapis.com is the correct api to use. You can also look at the documentation page for all the actions this API supports. You can ignore the Cloud SQL aka sql-component.googleapis.com. It is an obsolete api that does nothing.
Admin API is for administering your instances programmatically. The REST API is defined by BackupRuns, Databases, Instances, Flags, Operations, SslCerts, Tiers, and Users resources. You can check the details here. As you have correctly noticed this api is not required for creating Cloud SQL instances but it is required for other features like Flags, Certs BackupRuns etc.

Adding members to google group through google-apis

Trying to find a way to add members to google group through google API but any search result always end up in using admin sdk for this. But for using Admin SDK it requires to sign up on Google workspace. Is there any other way to achieve the same without signing up on workspace through simple api call using OAuth.
You are not a Google Workspace user but a Consumer (gmail) user
You do not have access to the Admin SDK (apart from for publicly available methods)
In this case, you can retrieve Google Groups programmatically is via GroupsApp in Google Apps Script.
However, this only allows you to get group / user information, not to create new users.
Unfortunately the latter is a service that is only available for Google Workspace users.

Is there any way to connect to google cloud project without using Client Library?

Can we connect to google cloud project, without using Client Library?
What is BigQuery API? Is it similar to bq-command line-tool?
If not, is there any way to convert bq-commandline-tool to API for usage in Python?
It is highly recommended to use the Google Cloud client libraries when available, but if you wish to call a Google Cloud Platform REST API from Python without a client library you can use an HTTP library such as Requests.
One thing client libraries handle for you is authentication. To authenticate to a Google API with Python, I highly recommend the google-auth Python library. Without an authentication library, you would have to implement the OAuth2 spec yourself, which is discouraged.

Google Apps Calendar Resource API in PHP

I implemented a php application that creates events in google calendar. But i need also to create resources, and i found the documentation for Google Apps Calendar Resource API
My first question is: where can I download the API files.
And second: i can use this in PHP? Because in the examples that they provide, they use only .NET and Python.
Thank you!
This API uses an older Google APIs technology stack called GData. There is a GData PHP client library built into the Zend framework, but it doesn't support OAuth2 and doesn't include support for this particular API. You're only option is to construct the OAuth2 tokens, XML body, and HTTP requests yourself using the documentation as a guide.

Google API Translation

https://www.googleapis.com/language/translate/v2?key=INSERT-YOUR-KEY&q=hello%20world&source=en&target=de
In this URL, what is INSERT-YOUR-KEY? Any good tutorials on that?
If you are planning on using an API for a project, a highly recommended first step is to read the official documentation through fully:
http://code.google.com/apis/language/translate/v2/getting_started.html
From the introduction:
You need a Google account to use this API. If you already have a Google Account, then you can visit the Google APIs console to set up a new project and get your API key.
You need a Google API key in order to use Google-provided APIs: http://code.google.com/apis/loader/signup.html