Example notebook, sample for google cloud pipeline component - google-cloud-platform

I am looking for a sample or a tutorial notebook with specifically the "CustomPythonPackageTrainingJobRunOp" google cloud pipeline component. I have been trying to use this but keep getting into errors.
PS: I have already posted a question about the errors here and also requested a sample, but posting again regarding the sample since I feel that that is a pretty long post and the request is buried with other code details.

I was not able to find any reference documents or sample code for your requirement.
From your other question, I can understand that you’ve resolved the argument error in the “CustomPythonPackageTrainingJobRunOp”.
Feature Request
However if you would still require a documented approach, you can let Google know that this is a workflow that is important and that you would like to request they provide a sample code for it.
Google's Issue Tracker is a place for developers to report issues and make feature requests for their development services. I'd suggest you make a feature request there. The best component to file this under would be the AI & Machine Learning, with the Feature Request template.

Related

Google Cloud APIs usage data by projects

Is there any way to programmatically get data similar to APIs overview of Google CLoud dashboard. Specifically, I'm interested in the list of APIs enabled for the project and their usage/error stats for some predefined timeframe. I belive there's an API for that but I struggle to find it.
There's currently no API that gives you a report similar to the one you can see through the Google Cloud Console.
The Compute API can retrieve some quotas with the get method but it's somewhat limited (only Compute Engine quotas) and, for what I understood from your question, not quite what you're looking for.
However, I've found in Google's Issue Tracker a feature request that's close to what you're asking for.
If you would need something more specific or want to do the feature request yourself, check the "Report feature requests" documentation and create your own. The GCP team will take a look at it to evaluate and consider implementation.

Is there any way to print to stdout, stderr, or log files in google deployment manager?

I would like to write debug information in my DM templates, but I cannot see nor find a way to generate print statements, logs, or anything to aid in debugging when something goes wrong with my template.
How do I add print or logging to deployment manager?
I checked, currently the only way to troubleshoot is to rely on the expanded template from the Deployment Manager Dashboard. You can check it in the following URL for a given deployment, but I guess you were already aware of this possibility:
https://console.cloud.google.com/dm/deployments/details/DEPLOYMENTNAME?project=PROJECTID
However a feature request has been opened and currently the engineering team is working and discussing the best way to provide to the customers this possibility.
https://issuetracker.google.com/80368273
I advise you to star the feature request in order to get updates via email and to place a comment in order to show the interest of the community.
All the official communication regarding that feature will be posted there.
Disclaimer: I work for Google Cloud Platform Support

Newbie contribution to cloud foundry

I am a newbie to cf and want to contribute cloud-foundry. Can somebody point me to a newbie guide? or anything else?
Thanks,
There are a lot of ways that you can contribute.
The easiest is to help answer questions. You can do that here on SO, on the CF mailing lists or on Slack.
Another easy way to help is with documentation. Docs are managed on Github and it's easy to submit fixes and improvements via PRs.
If you want to contribute code then you're going to need to dig in a bit more first. Cloud Foundry is a large project made up of many different pieces, so the first step is picking a component that interests you / where you'd like to contribute. This page in the docs has a good overview of the different components, so it's a good reference.
Once you've narrowed it down to a specific component of CF, then check the Github page for that component and look for instructions on contributing. Most of the teams have details about how to get started hacking on their projects. Here's one example, which is the Loggregator project.
You can also check the Issues page in Github or the team's Tracker project for outstanding issues that might need resolved. That can give you inspiration for ways to pitch in and help with the code.
Hope that helps!

Amazon Alexa: Is the code available for built in skills?

while writing custom skills for Alexa using Lambda functions, I was just wondering if there is code available for built in skill sets.
Does anyone have an idea about it?
As far as I know the code is not available.
Also some of the built in skills seem to be able to do things that not all third party apps can do so you may come up short if you are trying to replicate functionality.
If you are just looking for sample code the best place to check out is the Alexa Github samples. They show you how to do a variety of thing from setting up your Lambda function to interacting with a few different models.

Sample Flow Charts

I need to create a flowchart to show Developer computers, Development server, Development DB,
QA Server, QA DB, Staging Server, Staging DB, Production Server and Production DB as part of creating a process so that developers follow the same during the development to staging to production development cycle.
Could you please direct me to the right URL or resource.
Thanks in advance
If you're looking for inspiration, figure A in this post looks similar to what you're trying to do, albeit simplified slightly: http://blog.sysbliss.com/uncategorized/release-management-with-atlassian-bamboo-and-jira.html
I have used Microsoft Visio in the past for my flowcharts and it meets the basic needs.
Most of the standard components - servers etc are all there and you can usually find and download free stencils from the net for more specific needs
A process flow like you are talking about should be easily manageable using the standard stecils itself.
There seem to be a lot of online sites that provide this kind of service free lately.
You can check out this link. I have not used any of these before so cannot vouch for them though i did try out flowchart.com and it seemed pretty ok
You are looking for a tool to make network diagrams.
These are some candidates I found looking for Network Diagram at Google:
SmartDraw, A friend recommended it to me some time ago
Gliffy looks promising
To make a flowchart from source code is so complicated, but I found an code to flowchart converter software, it can create flowchart from source code automatically, I got this software from http://flowchart-creator.com. It is free to download and free to try.