Chat API is enabled , but I still can't find configuration tab - google-cloud-platform

I have been following tutorials on how to make a chat bot for Google chat API. Every time, I get stuck at "go to the configuration tab". I've seen from other questions that you need to enable google chat api but i've done that already.
chat api enabled image
then there is no configuration tab
no configuration tab
I went through another tutorial and nothing changed.

Click Manage and you will see configuration.

Related

Attempting to generate & download Google Drive API credentials

I'm currently following a tutorial, and I'm on this step:
Go to https://developers.google.com/drive/api/v3/quickstart/go, click
"Enable the Drive API", select the account with the stash and click
"Download Client Configuration".
I'm assuming Google changed the process for this because these settings aren't here. I also don't see them in the API console. Any suggestions on how I can find this information?
That button used to prompt you a list of existing Google Cloud Platform projects, from which you would have to select one. Then the API would be enabled on the selected project. You can replicate that approach easily by following these steps:
If you need to create a GCP project, adopt this guide. Otherwise you can skip this step.
To enable an API into a GCP project, adhere to those steps.

Unable to set up the sign-in for the Cloud Run instance and unable to roll the changes back, lost the access to my Cloud Run URL

I tried different official tutorials but they all ended up to be misleading.
The last one was this: https://cloud.google.com/iap/docs/cloud-run-sign-in -- it ​says:
Enable external identities, and select the Host a sign-in page for me option during setup.
But there was no such option. No new Cloud Run instance was created and so nothing has happened. Then after a while I've updated the source code of my application, redeployed and the blue login button appeared on the Cloud Run instance URL instead. NO documentation tell that "on this step you'll now see the blue button" so I don't know for sure what it is. When I went through the dialog it said I should add the Cloud Run instance URL to the "allowed origins" in the OAuth app I created a week ago by trying different tutorials I mentioned in the first place. Aha! I add the URL as allowed but this does nothing -- it just loops, the dialog leaves me on the same page with the same blue button instead of my Cloud Run instance response that now I effectively have no access to. I am the GCP Project owner and I want this all to check that it's me to invoke the Cloud Run. How does this specific OAuth app blocks this specific Cloud Run instance at all? I have multiple apps made in months or years and multiple Cloud Run instances but only now this blue button appeared.
Being unable to make it work I decided to roll it all back. I allowed the Unauthenticated calls to my Cloud Run instance, disabled the IAP API, deleted the OAuth app, redeployed several times, but the blue button is still there with dialog saying: "The OAuth client was deleted." And I see nothing like my current problem to be described on https://cloud.google.com/run/docs/troubleshooting
So now not only the whole thing didn't work (the "sign-in page" does not deploy, not even if I disable and enable the IAP API again) but I've lost the access to the Cloud Run instance at all -- it's blocked by the blue button that is nowhere to disable. Even when I deploy new services they are behind this broken thing.
UPD: after a while I've realised that I didn't really lose any access -- the "blue button" was an artifact of the failed tryings to setup the auth, a my own copypasted htm page that didn't work, and I was just visiting the wrong path appended to the service URL. So the question is half-invalid. Though the problem of the "create a sign-in page for me" persists.
Currently, IAP is only supported with App Engine, Compute Engine and HTTPs Load balancers. Cloud Run isn't yet supported. It is planned to be supported in the near future.
As a workaround you can check those two options in order to implement with your application:
1 - A similar stackoverflow post where is stated and answer about how to Google Sign in for Cloud Run
2 - A Cloud Run hosted version of an IAP in Terraform config made by the community
Also you can try to Setup a Load Balancer with Cloud Run and see if that solves the issue you're facing.
Enable external identities, and select the Host a sign-in page for me option during setup.
I believe this is referring to - when you turn on IAP and choose 'use external identities for authorization', there is an option that says - 'Create a sign-in page for me' with a note which says - IAP will create a sign-in page for you using Cloud Run and Firebase UI
2.
I tried following the steps and after checking the option to 'create a sign-in page for me', it showed me a popup window with a message that it was creating a Cloud Run instance for me. After about 3 minutes, it said it was done and showed me url for the Cloud Run instance and a link to the page settings
3.
Regarding access to the Cloud Run instance, I think it's best to just delete it from the UI (Google Cloud Console). Redeploying will then recreate the Cloud Run service and you should no longer have the 'blue button' since you say you have disabled it

Google Cloud app verification step: Your app will be available to any user with a Google Account? What does it mean?

I have created a Youtube API application to enable access to Youtube API for Integromat. All my Youtube API application does it gives access to my Youtube channel videos for Integromat. Integromat grabs the links to videos and uploads the links to my Airtable. So the only user for the Youtube API is going to be myself and my own Integromat workflow.
The Youtube API app is in development. I want to verify the app to get rid of the 1-hour deactivation of the authorization (Integromat connection to Youtube API breaks after 1 hour).
To get verified, I looked the steps here https://support.google.com/cloud/answer/7454865?hl=en. The first step it tells me to do is "Update the OAuth consent screen details" and I go to that screen and shows the publishing status. Do I click to "publish to production"?
When I click that, it tells me:
Your app will be available to any user with a Google Account.
Screenshot showing the step to publish my app
That's sounds scary. What does it mean?
I do not need (nor want) have other users logging to my Youtube API. I am the only user and Integromat is the only app that will access the Youtube API.
I am novice in this and don't have much idea about programming so I don't even know what questions I should be asking here.
Thanks.
Here are more details about what I am trying to do in Integromat:
Youtube API Integromat testing app - connection getting disabled
It means that you will be able to share your app via that link with anyone you please. The whole point of an API is that it's available publicly, at least on a technical level. Whether you're actively soliciting users is an entirely other matter, naturally.

Firebase project not listed in Google Cloud console

I created a project in Firebase, and now want to access additional services in GCP. But the Google Cloud console does not list the Firebase project anywhere I can see.
This page gives instructions for the other direction (importing a GCP project into Firebase). This post makes it sound like it should just happen automatically -- but it's not for me.
(I do see all the other projects I've created directly from the google cloud console.)
This happened to me. I was able to find the new project in the gcp web console as follows:
login to the cloud console
click on the project pulldown in the top left corner.
click the "ALL" tab from the "Select a project" modal dialog: you should see your new project in the list.
You may need to check the organization. Make sure, you are looking in the same organisation where the firebase project is created.

Where To Find Google Cloud Platform API Logs

I am pretty new to GCP, and are working on a project requiring the DialogFlow API.
The purpose of the project is to get an IVR system to connect to the bot and let users interact with it trough their phone.
I have built a test bot that works fine when I test it in the DialogFlow console, or trough Google Assistant.
However, when I try to access the bot trough the telephony system it fails.
Looking at the API Metrics, I can see which methods that fail, however, I am not sure where to find some detailed information about this. I have a screenshot of the methods that fail below:
I have tried to look at the Logs, but nothing shows. I have also tried to enable Audit Logging for the DialogFlow API, but nothing shows.
I am not sure where to look for the error message, so if anyone knows where this can be found, I would be grateful.
EDIT:
Based on the answer from Jones, I want to clearify:
I have enabled Audit Logging, and have used the filter he specified, however it shows nothing. I have also made sure that I have the right permissions to view logs.
If I look under "Audited Resource" instead of "Global", I get some logs, but not the ones I am looking for. Picture below:
Ideally, I would like logs that point to why
google.cloud.dialogflow.v2beta1.ConversationProfiles.ListConversationProfiles
and
google.cloud.dialogflow.v2beta1.Conversations.CreateConversation
Fails.
If you have enabled Audit Logging, you can find the logs in Stackdriver using this filter:
resource.type="global"
logName="projects/YOUR_PROJECT/logs/dialogflow_agent"
You can also just click on Open logs under the Log interaction to Google Cloud button on your Dialogflow agent's setting page.