Deactivate speech to text service - ibm-cloud

I am using IBM's speech-to-text service and it says active. How do I deactivate it so I don't use all of my minutes? I have looked everywhere and cant find a way to deactivate it.

If you don't invoke the API you won't be using any minutes. Provided you have kept your API credentials private, no-one else should be able to consume your minutes.
If you do want to deactivate the service, you can delete your service instance from your resource list. This will, however, also remove any language customisations that you have created.
As an alternative you can delete your API key. That way your customisations remain, but no-one can use the service.

Related

how to automate bots to monitor for successful queues on orchestrator?

I have a project that I have to do that deals with queues being loaded successfully and unsuccessfully whereby I do manually at the moment that can be tedious and also positive negative meaning the orchestrator can state that new queues have been added but when I access the actual job (process) nothing has been added.
I would like to know, is there a way to monitor queue success and unsuccessful rates on orchestrator instead of the using monitoring it manually?
You can access pretty much any information via the Orchestrator API.
You can find the "Orchestrator HTTP Request" activity, which will allow you to access any relevant endpoint.
Note that the provisioned Robot in Orchestrator needs to have the right access permission, so please have a look at what roles are associated to the Robot user.
The API reference can be found here:
https://docs.uipath.com/orchestrator/reference
You will see it mentions swagger, which in turn will give you all the information you need to access the relevant APIs.

Is it possible to restrict access by ip

I've spent the day searching for a way to restrict the google cloud storage json API to only accept calls from our server ip (note, I am using the java client).
I found a really old post that seemed to indicate that it was possible. https://groups.google.com/forum/m/#!searchin/gs-discussion/Whitelist$20/gs-discussion/nTwMuygttbA
But things seem to have changed since then.
I tried looking in the quota section in the console but can't find anything there either.
Is this possible? Where can it be configured?

Creating Actions for Personal use only

My house has an home automation system from the 1960's that I have managed to tap into. I've been able to setup an interface which allows me to write adapters for various technologies such as Node Red, Alexa, and now Google Assistent.
Given that this will only ever work with my house, I see no reason to make public Smart Home Actions. On Alexa's side, I can let these services stay in a Development state indefinitely which has worked great for the last 6 months. On Google's side, however, the FAQ says (https://developers.google.com/actions/smarthome/faq):
Q: How often do I need to run gactions test?
A: gactions test needs be refreshed every 3 days. After 3 days the test agent will disappear from mobile-HomeControl settings. If you run into this, just run gaction test again.
Therefore, I was wondering what they best way is to make a PERSONAL Google Actions service? Of course, the obvious method would be to script and schedule the gactions call to keep testing alive but I would hope there was a better way to support this!
Additional details: I'm using Amazon's OAuth service for sign-in. This way, I can validate the Amazon ClientID, UserID, etc. through the AccesssToken Google passes in for authorization. Therefore, I could theoretically run this publicly without any issues but I would need to figure out how Google could review it for testing purposes! I don't need some Google employee turning on and off my lights while the Google Maps car drive by to verify the change... ;)
I would just use a script to call gaction periodically.
Publishing it would unnecessarily pollute the Actions directory. Also, they'll make you jump through hoops for "brand verification" and other restrictions they have for naming invocation terms.
If you did publish it, you give them a temporary account for verification purposes and disable the account when published. They would be randomly controlling the lights during the verification period though which can be up to a week!

S3 Wait function on direct resource access?

Is there any way to tell S3 to wait for an object before responding? I want to do this directly against the S3 endpoint via an HTTP(S) request.
I understand this function exists in the PHP SDK
http://docs.aws.amazon.com/aws-sdk-php/v2/guide/feature-waiters.html#
But can you apply this wait functionality when downloading a resource directly from the S3 endpoint? (without an SDK)?
The answer is yes, but not really.
Yes, because everything the SDK can do can be done with your own code, because the SDK uses the same documented public APIs to access the services... the SDKs have no privileged interface... but, then again, not really, because the waiter logic is pretty much an illusion, a convenient fiction. It's not waiting for the service in a "tell me when you're ready" sense... it's really just polling the service to check the state of the resource in question. They're just a convenience so you don't have to write your own polling retry logic.
So, sure you can... but to do it, you just have to keep asking until you get the response you expect... which I assume is not the answer you were hoping for.
When you say "wait for an object," though, a new object (not an overwrite) should be available as soon as the PUT returns success. Overwrites and deletions are eventually-consistent, but new object consistency is immediate.
One exception to this is in the us-east-1 region of S3 where immediate consistency is only officially provided if you use the s3-external-1.amazonaws.com or s3.dualstack.us-east-1.amazonaws.com endpoints, not the s3.amazonaws.com endpoint.

Using HTTPS and multiple NSURLProtectionSpace's in iOS

I'm creating a iOS app that requires the user to log in at startup, and then uses those credentials to query 4-5 different services on a server over the course of the session.
The server (xyz) it self doesn't accept the credentials, but if the services that it provides are queried then they get accepted. For example https://xyz/service1 works, https://xyz doesn't.
Now what I'm wondering about is if there is anything that stands in the way of creating 4-5 NSURLProtectionSpace's at log in, one for each service on the server, and then use the corresponding protection space when use each service?
Or is there a better way of implementing something that could work in this situation?
All help would be appreciated.
Turns out that there is nothing that stands in the way of creating multiple NSURLProtectionSpace's since each is created for a separate url.