Enable notifications on CloudSQL scheduled/sudden maintenance - google-cloud-platform

I want to enable slack and email notifications for GCP CloudSQL instances's maintenance.
When i go to each one of CloudSQL instances, I can see notifications are off in maintenance settings.
However when i try to edit maintenance and notification preferences, I am not able to find a way to turn on notifications for maintenance.
Also the docs are a bit misleading IMO.
On this Page https://cloud.google.com/sql/docs/mysql/maintenance#notifications
There is a link for You need to opt in to maintenance notifications. but it goes to a page where I couldn't find anything related to turning notifications on https://cloud.google.com/sql/docs/mysql/set-maintenance-window#opt-in
My Questions :
Can I enable all kind of cloudsql maintenance notifications including planned and sudden migrations.
Is this possible to receive these notifications on slack and email.
There is one other answer on SO which was not much of a help
Is there a way to configure email notification in GCP for Auto Updates on Google Managed Services?
Thank you in advance.

Only email is supported. You can do that by going to that url: https://console.cloud.google.com/user-preferences/cloud-profile
Then click on communication
From here you can activate the email communication by clicking on the slider.
You can select one or several projects in the dropdown list if you want.
EDIT 1
Sadly, you can't put a team email for notifications

Related

Can GKE filter logs by application?

We are GKE managing several applications:
app1
app2
app3
In GCP Error Reporting dashboard, errors are intermixed for all the applications. For example, the errors below are coming from a different app.
However in the Configure Notifications tab, there is no option to setup alerts based on app/conditions.
I'd like to be able to setup different notifcation channels depending on app eg. app1 -> slack, app2 -> email. We have different ops team that handle these apps and having them go to a shared, noisy Slack channel is not ideal. Also, it would be great to setup alerts based on exception details - for example all Java RuntimeExceptions result in different alerts.
What the conventional way to setup fine-grained alerts like these?
In the GCP Logs explorer (if in the legacy explorer, need to click upgrade) you can create an alert using this button, which will let you setup an alert anytime some criteria is met based on a log condition.
It will then create an entry in the monitoring tab under alerting and the rest is straightforward

Google Cloud API Services Oauth with a Testing App

I have a small personal-use only app that logs into a [throw away] gmail account to pull out an auth-token so it can then run a scheduled job (turning on/off my home cameras). Its dead simple and works, except that the app is in GCP TEST mode and it looks like the gmail auth expires in 7 days.
I highly doubt based on the below requirements that I can promote the app, and I dont want to publish it regardless. I tried GCP Support and wound up here. Im sure Im not the only person that has dealt with the 7 day expiration on a personal project. Any ideas?
If you check the documentation for oauth2#expiration
A Google Cloud Platform project with an OAuth consent screen configured for an external user type and a publishing status of "Testing" is issued a refresh token expiring in 7 days.
The key hear is setting your project into production.
What you are showing in that image are requirements for application verification. You shouldn't have to go though verification for a single user app.
Try just setting it to prodcution and then wait a week and see if it still expires. It shouldn't
I highly doubt based on the below requirements
Unfortunately with the new security restrictions. I wouldn't doubt anything these days. They keep changing the rules.

How to contact Google Support for MarketPlace support

Why are there two products of sendgrid on Google Cloud MarketPlace? What are the different?
A few months ago, I signed up for "SendGrid Marketing Campaigns".
Now I could not login to my sendgrid account. I contacted sendgrid support. Here is what they said:
Hello,
Thanks for reaching out to SendGrid Support!
It looks like your account was disabled on the Google Cloud Platform side, which is why you are unable to log into the account. You will need to reach out to GCP support in order to re-enable the account on their side.
I apologize for the inconvenience.
Let me know if you have any other questions. We're more than happy to help!
Best,
I can not find where and how/why GCP disabled my account.
However, I check my gcp project, they are running. I think the sendgrid support person implies that GCP disabled my Sendgrid account.
However, it seems GCP does not.
I am on Bronze plan of GCP support. It seems I can not email or call to GCP to get support.
Anybody get the same problem?
Where can I get GCP support for sendgrid account problem?
Sendgrid offers multiple services, the email API allows you to send individual emails and handles all of the aspects like bounced messages, unsubscribe, etc. The marketing campaign offers many of the same features but also allows you to use templated messages, do A/B testing, schedule message sending, and perform analytics.
My guess is that your free trial expired and you don't have a billing account associated with your account, or if you do it has an expired credit card. If you do still have credits some features require a linked credit card anyway, primarily for features that can quickly generate costs.
Bronze support is allowed to contact GCP Support, but only if they're still on the free trial. After the trial has passed you'll need to register for an active level of support to ask technical questions. Do keep in mind that all billing related questions will get help regardless of your support level. So if you're unsure if the free trial is your problem, contact billing support, and they'll likely be able to give you more info.
I did have the same problem as you, the issue was my Credit card expired, so your issue is billing issue, when you fix it, SendGrid Marketing Campaigns will be enabled again.
As #FridayPush mention.

What is admin-dashboard component in wso2 am such as version 1.10.0?

I came across this admin-dashboard component and am just curious what it is or what it can do.
It is mentioned in WSO2 documentation related to workflow customization. I did not find any related pages dedicated to this component. What is it, and what is designed for, or what it can do?
Any help is appreciated.
Its created for the administrative tasks and few other tasks. You can do the following using the admin dashboard.
There are several activities related to api store which we can configure workflows. For example, if someone wants to sign up to your store, you can submit it for the store owner's approval. Other places where you can configure work flows are application creation and api subscription. Such pending approval appear in the admin dashboard where the admin can approve or reject them.
You can upload customized themese for api store
This also provides a UI for adding and editing throttling tiers.
In the next releases this will get more such functionalities added.

How to cancel google apps subscription through API?

From Google Apps Reseller API: Manage Subscriptions
To immediately cancel a non Google Apps subscription, use the following DELETE HTTP request with a deletionType of 'transfer_to_direct'
So, how to cancel google apps subscription ?
I have filed an internal bug to have the documentation updated and will see that this is corrected promptly. I apologize for the confusion the docs have caused you.
To clarify 'transfer_to_direct' is the best way to immediately cancel a Google Apps subscription and transfer the customer to a direct relationship with Google. Customers are given a short window of 'free' service.
TL;DR: 'transfer_to_direct' can be used for Google Apps subscriptions