Cloud Dataproc API discovery - google-cloud-dataproc

I want to programmatically build against the Cloud Dataproc API but cannot find the discovery service. Where can I find it?

The discovery docs for the API can be found here. The API explorer does not work but the API should be discoverable.

Related

How to list all vpc_access_connector in gcp project using python

Attempting to create, list , delete vpc access connectors in gcp using python
Is there a library for this or do I use the discovery API? Unsure which discovery API to use. Examples would be extremely helpful
As mentioned on the VPC Access API document, there are some client libraries in order to call the service. Nevertheless, I was unable to find you any example for this in the official Github for the python client library.
I hope you find this information useful!

Customizing the Hyperledger Composer Rest Server

I have a test Hyperledger Fabric running in the IBM Cloud, with the IBM Blockchain Application Service. I also have a kubernetes cluster running the Hyperledger Composer REST Server. Everything works great, but how do I extend the REST api with some custom api's?
The documentation mentions being able to use the swagger definition (yaml file) with the IBM API Connect or Strongloop product...but how do I do that, as I don't see any way to export the swagger definition?
I don't have a tutorial, but as I see it you would have to do three tasks minimally:
write your REST APIs (to do what you want to do) - perhaps these
resources on REST APIs will help ? -> Loopback ->
https://developer.ibm.com/code/patterns/create-rest-apis-using-loopback/
and in architectural in general
->https://www.ibm.com/developerworks/library/ws-restful/ and
build the routes for your custom APIs
customise your swagger
definitions to document your REST APIs - this may help you ->
https://www.ibm.com/developerworks/library/wa-use-swagger-to-document-and-define-restful-apis/index.html
and Swagger itself -> http://swagger.io/
If you write custom api and call it as 3rd party api which is mentioned in IBM already it will help you to response but it has very limted scope. I belive you should use swagger to understand its end point are properly configured

Create a REST API from a Web Service Operation with IBM API Connect

I would like to create a REST API from a Web Service Operation with IBM API Connect.
On IBM API Management 4 we can create a REST API and assemble a Web Service Invoke Operation by wsdl.
We can connect, discover, define, configure and review operation into "Assemble" tab in API Manager console.
How can we do same thing with IBM API Connect? I have tried to create a REST API but I can't find the same functionality.
Thank you in advance.
This feature is still available in API manager in APIConnect
https://www.ibm.com/support/knowledgecenter/en/SSMNED_5.0.0/com.ibm.apic.apionprem.doc/tutorial_apionprem_expose_SOAP.html
In the latest release there is now the option to do this in the developer environment too https://www.ibm.com/support/knowledgecenter/en/SSMNED_5.0.0/com.ibm.apic.toolkit.doc/create_api_wsdl.html

Google Cloud Sdk from DataProc Cluster

What is the right way to use/install python google cloud apis such as pub-sub from a google-dataproc cluster? For example if im using zeppelin/pyspark on the cluster and i want to use the pub-sub api, how should i prepare it?
It is unclear to me what is installed and what is not installed during default cluster provisioning and if/how I should try to install python libraries for google cloud apis.
I realise additionally there may be scopes/authentication to setup.
To be clear, I can use the apis locally but I am not sure what is the cleanest way to make the apis accessible from the cluster and I dont want to perform any unnecessary steps.
In general, at the moment, you need to bring your own client libraries for the various Google APIs unless using the Google Cloud Storage connector or BigQuery connector from Java or via RDD methods in PySpark which automatically delegate into the Java implementations.
For authentication, you should simply use --scopes https://www.googleapis.com/auth/pubsub and/or --scopes https://www.googleapis.com/auth/cloud-platform and the service account on the Dataproc cluster's VMs will be able to authenticate to use PubSub via the default installed credentials flow.

Amazon Cloudwatch Rest API available?

I have integrated application with amazon cloudwatch using aws .net sdk and now i would like to use it with rest api if available but could not find anything about rest api available for cloudwatch , can anyone please suggest me some link for that?
Cloud Watch Api Actions GetMetricStatistics