Subscriptions : numberOfSeats : needed for Vault and Drive storage - google-reseller-api

The API tells us the number of seats for skuId "Google-Apps-For-Business" but for skuIds "Google-Vault" and "Google-Drive-storage-??TB" it's blank.
We need this data to match all licenses with our billing system.

Related

Unable to determine type of account from banno consumer api

When my plugin retrieves data from the banno consumer api, Credit Cards, Mortgages, and Investment accounts are all coming through with an account type and subtype that look like this
type: "Third Party"
subtype: "Other"
My plugin needs to be able to determine the difference between these types of accounts, however the Banno consumer api does not define Credit Card or Mortgage as an account type. Furthermore, the documentation states that the subtype field should not be used.
Does the banno consumer api provide any way to accurately determine the type of Credit Card, Mortgage, Investment, or any of these "Third Party" accounts?
The accountType of "Other" is a result of the way that an account is configured within the underlying core (and there are 4 cores that Jack Henry supports..3 for banks and 1 for credit unions).
There often isn't much information available within the core itself about the account, which is how you end up with an accountType of "Other" and accountSubType of "Third Party".
There are credit cards represented (with accountType of "Line of Credit" and accountSubType of "Credit Card"), depending upon the configuration.
Mortgages generally aren't represented directly via accountType and accountSubType and the best that is known from the core is that the account is some type of "Loan".

Enable Billing on the Google Cloud Project

I want to retrieve address from lat long coords. I have created project in google console. Added Billing information and enabled the geocoding api services. But still when i make this request i am getting the below error
https://maps.googleapis.com/maps/api/geocode/json?latlng=41.89,12.49&key=xxxx
You must enable Billing on the Google Cloud Project at https://console.cloud.google.com/project/_/billing/enable
I was also Facing the same issue, Billing is enabled and is linked to the project but I was getting the same Error.
After Spending enough time on this issue, I understood that the type of my billing account is "Google Cloud Platform", but it should be of type : "Google Maps Platform"
You can see the type of your billing account on the right side of Billing Overview as in the image:
So please check if your Billing type is "Google Maps Platform", if not create a new Billing Account with "Google Maps Platform" as type and link your project to this Billing Account.
Most of us are getting this response/error
{
"error_message" : "You must enable Billing on the Google Cloud Project at <br>https://console.cloud.google.com/project/_/billing/enable Learn more at https://developers.google.com/maps/gmp-get-started",
"predictions" : [],
"status" : "REQUEST_DENIED"
}
If you will read this answer throughly you'll be able to sort out this issue.
As mentioned in this answer.
You'd have to create a separate billing account in order to use Google Map APIs because google map bills in USD currency instead of your native currency.
Solution(3 step)
create a new billing account.
create a new project and associate it with above billing.
enable Map API and create a new API key. that's it.
Step1: create a new billing account, you can use this link https://console.cloud.google.com/billing/create and Choose Google Map Platform from the dropdown.
Step2: create a new project using this link https://console.cloud.google.com/projectcreate and use billing account created above.
Step3: Now you can enable particular API and you're good to go. That's it.
Make sure that the API key you are using to authenticate the request is from a project that has an active billing account. If not, your requests will fail and if you are using Javascript API, your map will get the "Degraded experience".
Below are some of the links we have that could be helpful in your use case.
Managing your billing accounts
Modify a project's billing settings
Viewing your cost trends with billing reports
Once everything is set up, you can always file a support case via https://console.cloud.google.com/google/maps-apis/support in order to open personalized communication channel whenever you are encountering issues with our product.
Thank you and hope this helps!
Go back to the billing account and see if something went wrong with your credit card. Credit cards are validated asynchronously.
Go to the GCP Console and verify that your billing account is assigned to the project.
In the GCP Console check for past due amounts.
After you assign/modify a credit card, wait. The process is not instant in (re)authorizing billing for your account.
I had the same issue. I was doing everything correct.
then I found this link
Gmp india faq
The problem was Google maps billing doesn't support INR Currency.
Please check if your currency compatible with Google Maps billing platform otherwise create new billing account with USD currency.
Thanks!
You may find this link helpful
Modify a project billing settings
I have had similar problem, when I have created a free tire payment account and I was not able to create a Windows VM as thesse are paid.
To fix I have "upgraded" the free tier payment account. It was confusing because the payment account has had enabled a valid payment method and linked to the project but it was not working.
There is a button to upgrade the free tier payment account, on the account dashboard page.
For those of you who enabled their billing account through the link in the error message but still get the error, or can't find "Enabled google service" as someone else suggested, simply just delete your browsers cache and try again.
For anyone still struggling , my case was that i have reached a maximum of projects for the same billing account and for some reason i couldnt create a new one as mentioned above , for that after a lot of reasearch i found that i could disable billing for some project so i can use it in new ones :
1- go to the link https://console.cloud.google.com/billing/projects
2- click on the three dots for the first projects (the billing is enbale for those projects).
3-disable one of them
4- enable the billing for your new project and you are good to go !
however still not sure why i could only enable this for just 3 project , i think it is not a lot !
Use:
gcloud alpha billing accounts list --format json
# ^^ find an active billing account then
ACCOUNT_ID='0XYXYX-XYXYXY-XYXYXY'
gcloud beta billing projects link $PROJECTNAME --billing-account $ACCOUNT_ID
# ensure it says "billingEnabled: true"

Person Accounts and MC

We are connecting Marketing cloud and SF orgs. In Salesforce org we have leads and person accounts. When we connected both environments, We see that we have contacts and accounts as different objects instead of one in MC sync option for Data Sources.
Now my questions is for data extensions which object should i refer to? account or contact?
Our data extensions refer to contacts but this is primarily because our data extensions utilize a contact type field which we use for blasts.
It is worth noting that salesforce documentation does reference that person accounts work with marketing cloud and references a link here to more information:
https://help.salesforce.com/articleView?id=account_person_behavior.htm&type=5

Problems with Google Drive total quota info for users who bought additional storage

For my application I need calculate available storage for each user.
I using About API(https://developers.google.com/drive/v2/reference/about/get) and following formula:
Free storage = (quotaBytesTotal - quotaBytesUsed)
It works well, except users without Extra storage. For such users quotaBytesUsed is more than quotaBytesTotal:
{"kind"=>"drive#user", "displayName"=>"D B", "isAuthenticatedUser"=>true},
"quotaBytesTotal"=>"5368709120",
"quotaBytesUsed"=>"26843545600",
"quotaBytesUsedAggregate"=>"26843545600",
"quotaBytesUsedInTrash"=>"0",
"largestChangeId"=>"363004",
Is this API bug?
How I can calculate free storage for such users?
I found reason of issue.
Our user bought +20GB of extra storage. He had 25GB of quota and almost all 25GB were used.
Last month payment subscription (for extra storage) was cancelled, and quota for this user was reduced to 5GB.
This is why quotaBytesUsed > quotaBytesTotal

Google Group - Clone or back up a group on admin console

We have a large emergency notification list (Google group) consisting of 75000 members. The membership of this group is maintained through a daily sync with enterprise identity management tables using GSuite Admin SDK - Group Settings API. Can anybody suggest an easy way to create a backup group for this list directly on Google Admin console. If the original list lost its membership it took 14 hours to bring the list up via API. Hence the need for a backup group. This backup google group must be ready to send the emergency alert message in case some thing happened to original group membership during daily sync.