投稿時間:2022-04-05 09:36:09 RSSフィード2022-04-05 09:00 分まとめ(44件)

カテゴリー等 サイト名等 記事タイトル・トレンドワード等 リンクURL 頻出ワード・要約等/検索ボリューム 登録日
IT ITmedia 総合記事一覧 [ITmedia News] Fortniteのウクライナ寄付、総額1億4400万ドル(約177億円)に https://www.itmedia.co.jp/news/articles/2204/05/news070.html epicgames 2022-04-05 08:40:00
IT ITmedia 総合記事一覧 [ITmedia ビジネスオンライン] 薬剤師に聞く、仕事の不満トップ3は? https://www.itmedia.co.jp/business/articles/2204/05/news069.html itmedia 2022-04-05 08:30:00
TECH Techable(テッカブル) ゲーム要素で楽しく睡眠習慣を。ENDROLLと集英社開発のアプリ「よひつじの森」 https://techable.jp/archives/176467 endroll 2022-04-04 23:00:48
AWS AWS AWS Security Hub: Ingesting Sensitive Data Findings From Amazon Macie | Amazon Web Services https://www.youtube.com/watch?v=hcbQotKctAE AWS Security Hub Ingesting Sensitive Data Findings From Amazon Macie Amazon Web ServicesAWS Security Hub is a cloud security posture management service that performs security best practice checks aggregates alerts and enables automated remediation Learn about the Security Hub integration with Amazon Macie which enables organizations to automatically ingest sensitive data and policy findings All of Security Hub s findings are automatically normalized using the AWS Security Finding Format ASFF enabling security teams to more easily search correlate and operationalize them Learn more at Subscribe More AWS videos More AWS events videos ABOUT AWSAmazon Web Services AWS is the world s most comprehensive and broadly adopted cloud platform offering over fully featured services from data centers globally Millions of customers ーincluding the fastest growing startups largest enterprises and leading government agencies ーare using AWS to lower costs become more agile and innovate faster AWSSecurityHub SecurityBestPracticeChecks SecurityPostureAlerts AWS AmazonWebServices CloudComputing 2022-04-04 23:19:49
python Pythonタグが付けられた新着投稿 - Qiita 【機械学習】コンペまとめ https://qiita.com/comapi/items/bf3bd5278931795258f0 機械学習 2022-04-05 08:26:54
Linux Ubuntuタグが付けられた新着投稿 - Qiita E: Unable to locate packageの解決方法 on Linux https://qiita.com/taipy/items/1ff164a2562b30bae5a0 EUnabletolocatepackageの解決方法onLinuxはじめに先日、WindowsにてLinuxを使おうと思い、WSLWindowsSubsystemforLinuxをインストールした。 2022-04-05 08:32:28
海外TECH Ars Technica No air currents required: Ballooning spiders rely on electric fields to generate lift https://arstechnica.com/?p=1843641 atmospheric 2022-04-04 23:39:35
海外TECH DEV Community How to add claps to your blog https://dev.to/perkinsjr/how-to-add-claps-to-your-blog-34ii How to add claps to your blogYou may notice that if you scroll to the bottom of any blog post on my site you will see a section that asks you if you like this post and if you do to give it some claps This isn t something you see very often but it is easier than you think Personally I chose to use Lyket a great bit of indie development It supports React HTML and WordPress so perfect for all the cases you might need The SetupFor a React based blog you just need a single package lyket react and you are ready to start adding claps to your website Next you need to signup for your Lyket account which can be found at Once you signed up grab the Public API token from the settings Wrap our app jsNow that we have all the required pieces we can wrap our application in a provider so we can use it with Lyket First you need to import Provider from Lyket but instead of importing as Provider let s use LyketProvider import Provider as LyketProvider from “ lyket react Now we need to wrap our application in this provider and pass in our API token so Lyket can know which account to use Your app js should look similar to the following import styles index css import Provider as LyketProvider from “ lyket react export default function MyApp Component pageProps return lt LyketProvider apiKey YOUR API KEY gt lt Component pageProps gt lt LyketProvider gt Using Lyket on a page Lyket is now available on any page we want Open up the page you want to use Lyket on and add the follow import import ClapButton from lyket react then we can use this component wherever we want For example import ClapButton from lyket react export BlogPost title slug content gt return lt div gt title lt ClapButton id slug namespace blog posts gt content lt div gt That is it now your readers can clap when they love your post Give it a shot below 2022-04-04 23:39:00
海外TECH DEV Community Make a GIF your Cursor in Chrome https://dev.to/chris_hayes/make-a-gif-your-cursor-in-chrome-4odo Make a GIF your Cursor in ChromeUsing AniTuner to create a special ani cursor file and the Chrome extension Animated Cursors Forever One can use a GIF as their cursor inside Chrome LimitationsWindows only software is used in this guide Software for building ani files on other OS s is difficult to find This cursor would only show inside websites not on the Chrome titlebar or outside of Chrome This changes the default cursor When websites change the cursor the animated cursor will be hidden The gif needs to be small The ani file that gets created needs to be less than KB Larger than that and the browser extension won t work Process Split the GIF into individual imagesDownload the GIF choose a small GIF Upload the GIF to EZGif s Splitter tool at Hit Split to Frames and then Download frames as ZIP to get the GIF as individual images Extract those images into a folder Create the ani cursor fileInstall the Window application AniTuner Which some consider the best application for creating ani cursor files In AniTuner hit Create a new animated cursor Then Edit Cursor Frames on the left sideThen Import image s to import the images from that were downloaded from EZGif If the image looks good hit Okay on the popup Might need to select the transparent checkbox If the Resize Image popup shows select the Center image in the frame option and hit Okay Select the blank frame at the top left and hit Remove frame s Hit Test Cursor on the left side to see what the cursor looks like Hit Set Length at the bottom right to change the animation speed Finally hit Save Animated Cursor on the left side when the animation looks good Important check the ani file that was created is under KB Any larger and it won t work with the browser extension If it s too large EZGif can be used to optimize the gif and remove frames In AniTuner you can also try different cursor dimensions Use the ani cursor in ChromeGet the Chrome extension Animated Cursors Forever After clicking on the installed extension hit the Choose File button to upload the ani cursor file If the file isn t too large less than KB then the next time the website refreshes it will use the animated cursor Note that the cursor won t show immediately you need to refresh the page to see the new cursor 2022-04-04 23:33:26
海外TECH DEV Community Listified Tokens, or Somebody's JavaScript Homework https://dev.to/365erik/listified-tokens-or-somebodys-javascript-homework-4heo Listified Tokens or Somebody x s JavaScript HomeworkA friend asked me how I might solve following problem Given a string in the form convert it to a multidimensional array of the form For my first pass I did some fun shenanigans with Array prototype reduce and a couple of regular expressions like this const listified junk eggs match g reduce a c gt a c match g map el gt isNaN el amp amp parseInt el console log listified Demo on Replit While it looks cool and looking cool is my favorite thing about modern JavaScript this approach does have something of a problem for calling loops within loops so here is a more efficient approach that walks a pointer across the string and gathers up the numbers it finds into work sets Convert strings of the form into multidimensional arrays of the form const listifiedTokens str gt let data let ws let x for c of str Taking pains to prevent type coercsion if isNaN c x x x c c Start a new work set and overwrite any existing work set if c ws and terminate a list entry and x must be a number before we parse if includes c amp amp isNaN x ws ws parseInt x Report the work set if c data data ws Whenever c is NaN we flush x because this only happens at the end of a valid list or when the list item contains an unsupported value if isNaN c x undefined return data const str egg bananas console log listifiedTokens str Demo on Replit It s not nearly as cool looking but it s probably better in the long run 2022-04-04 23:31:48
海外TECH DEV Community Estilos de case no mundo do desenvolvimento https://dev.to/jhonywalkeer/estilos-de-case-no-mundo-do-desenvolvimento-2jf5 Estilos de case no mundo do desenvolvimento Vocêque programa ou jáviu um trecho de código seja em memes ou em posts de dicas jádeve ter percebido que existe alguns padrões de escrita ao nomear arquivos criar variáveis funções entre outras coisas Mas e se eu te falar que existe uma padronização onde cada tipo Sim possui mesmo e édisso que vamos falar neste artigo camelCaseÉuma convenção de nomeação na qual a primeira letra de cada palavra em uma palavra composta écolocada em maiúsculo exceto pela primeira palavra Os desenvolvedores de software geralmente usam camelCase para escrever código fonte com isso ele se torna muito útil na programação jáque os nomes dos elementos não podem conter espaços A convenção de nomeação torna os nomes compostos mais legíveis Por exemplo  o myAmazingClass émais fácil de ler do que a myamazingclass PascalCaseCombina palavras colocando a primeira letra de todas as palavras atémesmo a primeira palavra em maiúscuo e removendo o espaço da seguinte forma Normal my amazing classPascalCase MyAmazingClassEsta também éuma maneira muito popular de combinar palavras para formar um único conceito Éfrequentemente usado como uma convenção para declarar classes em muitos idiomas snake caseCombina palavras substituindo cada espaço por um sublinhado e ela possui uma variação que vamos falar posteriormente então ela ficaria da seguinte forma Normal my amazing classsnake case my amazing classSCREAMING SNAKE CASEÉuma variação do snake case onde também combina palavras substituindo cada espaço por um sublinhado mas também éescrita com todas palavras em maiúsculas então ela ficaria da seguinte forma Normal my amazing classSCREAMING SNAKE CASE MY AMAZING CLASS kebab caseA maneira de escrever palavras compostas separadas por hífens em vez de usar o espaços Geralmente tudo éescrito em minúsculas como por exemplo o que e kebab case Este estilo de escrita éamplamente utilizado em SEO Search Engine Optimization ーtécnica usada por desenvolvedores de software para otimizar os mecanismos de busca nocaseTambém éuma maneira de escrever palavras compostas porém sem separação por hífens ou espaços e tudo éescrito utilizando as letras minúsculas Com isso encerramos este artigo émuito legal ver que existe diferentes maneiras de escritas nos códigos e que cada uma possui sua própria nomeclatura Espero que eu tenho ajudado vocêcom mais conhecimento no seu dia a dia e nos vemos por ai Fontes onde pesquisei esse conteúdo 2022-04-04 23:23:01
海外TECH DEV Community Using Javascript to fix Wordpress annoyances in a wordpress-y way https://dev.to/hariseldon27/using-javascript-to-fix-wordpress-annoyances-in-a-wordpress-y-way-4ijl Using Javascript to fix Wordpress annoyances in a wordpress y wayThis post was originally titled Give up on platforms not users or why Javascript gives me hope Photo by Jimmy Jin on Unsplash Wordpress Whoas amp WoesI started my professional journey in the tech world as a content manager for a Wordpress site This gave me lots of opportunities to see how fragile and cumbersome Wordpress can be But way back in in a pre Squarespace world it was a good way for a Liberal Arts kid without a ton of code skills to put together a decent looking website with lots of functionality Ever since I started to learn about Wordpress especially its quirks and frustrations I ve been wanting a more stable solution for myself and my clients But as we all know change takes time As I headed into the final four weeks of the Flatiron School Software Engineering Bootcamp I was contacted by a long time client for some adjustments and additions to her Wordpress site The client is a journalist we update content every few weeks depending on her work load The site is simple based on a commercial theme and rather minimal As such it doesn t allow for multiple authors to be listed on one post and modifying the theme files even child themes always leads to update issues Well back in February she co wrote a Washington Post article which required we place four authors on the by line During my time at Flatiron my minimal amount of client work occurs on weekends preferably Saturday morning over coffee Which means about the last thing I want to do is build a new Wordpress theme feature Annoyance Frustration Desire to tear the beating heart out of the Wordpress core Vanilla Javascript to the rescueI finished my coffee while uploading new stories and it occurred to me I made this site so I can break it I made this site so I can break itIn truth I realized that nothing is sacred and sometimes a job done is better than a job done perfectly With this new found freedom I opted to combine a very Wordpress y solution with a Javscript solution Wordpress Plugins are the worstIn spite of this being true they are still an important part of the Wordpress ecosystem I opted for one that would let me just inject custom Javscript or CSS into the footer Since this client is on a GoDaddy shared hosting I know I know it s a royal pain to edit theme files safely in production Thus a plugin Simple Custom CSS JS is a pretty simple plugin and it offers an easy way to just inject JS into the footer or header Okay so now that we ve got a tiny window into mucking about with the theme how can we add author names instead of just one As simple as append and prependIn order to make our adjustment we needed to first find the place where it should be injected The top matter where the Author attribution in our post looks like this lt aside class post author gt lt em gt by lt em gt lt span itemprop author gt lt a href author bio title Posts by Author gt Author Name lt a gt lt span gt lt aside gt That lt span gt sure looks like a good element for us to target What if we target post author span that should get us to the right spot then we can add in some new elements dynamically So if our Javascript looks like this const authorSpan document querySelector post author span const newspan document createElement span authorSpan prepend newspan That connects us to the element in the HTML and then creates a new span and appends that span next to our author text Now we just need to set the text of the span we created to the text we want const authorSpan document querySelector post author span const newspan document createElement span authorSpan prepend newspan newspan innerText Awesome Author Rad Reader Sweet Signature Stick that into the plugin and boom You are pretty much all set Well except for the fact that it ll do that to every single post Notice that the plugin just injects site wide Hmm if only there was a way for us to target just just that post and just that span Thank goodness for Wordpress permalinksYeah the permalink setup can be a pain at times but it s helpful in this case if window location pathname post name const authorSpan document querySelector post author span const newspan document createElement span authorSpan prepend newspan newspan innerText Awesome Author Rad Reader Sweet Signature Much better a tiny bit of conditional rendering based on the URL Now after GoDaddy finally clears our cache we can see that the site is cleared of extra authors and the post we wanted to touch up is looking smart ConclusionWordpress stinks if you re here you know that But it s been around for a long time and was an entry way for many of us Thankfully even just a little code knowledge can make a huge difference in the development process my code coda Thanks for reading if I got something wrong let me know There are always things to improve what could we do better here 2022-04-04 23:14:51
Apple AppleInsider - Frontpage News M1 iMac prices slashed: save up to $200 on 24-inch models with 16GB RAM https://appleinsider.com/articles/22/04/04/m1-imac-prices-slashed-save-up-to-200-on-24-inch-models-with-16gb-ram?utm_medium=rss M iMac prices slashed save up to on inch models with GB RAMAdditional deals have launched on Apple s inch iMac line with upgraded M models with GB of memory now up to off at B amp H Photo Apple s inch iMac is now up to with limited time dealsB amp H s exclusive iMac deals continue to roll in this April delivering new triple digit discounts on upgraded Apple hardware This week save up to on inch iMac models with Apple s M chip with an core GPU GB of memory and anywhere from GB to TB of storage when used with the activation instructions below Read more 2022-04-04 23:18:34
海外TECH Engadget TikTok owner ByteDance scraped content from Instagram and others to push predecessor app https://www.engadget.com/tik-tok-owner-byte-dance-scraped-content-from-instagram-and-others-to-push-predecessor-app-232135784.html?src=rss TikTok owner ByteDance scraped content from Instagram and others to push predecessor appTo fuel the rise of its app Flipagram TikTok parent company Bytedance scraped profiles videos usernames and other content from Instagram and other social media platforms Buzzfeed reported that the Chinese company scraped “hundreds of thousands of accounts for content without users consent Flipagram which ByteDance acquired back in allowed users to create short slideshow videos set to music ーsort of a simplified version of TikTok and other short form video apps nbsp The app has since been rebranded as Vigo Video The scraping strategy was meant to be a “growth hack for Flipagram allowing it to expand its user base according to former ByteDance employees interviewed by Buzzfeed Flipagram was scraping up to videos per day from high priority countries according to one former employee The three platforms that Flipagram allegedly scraped content from are Instagram Snapchat and Musical ly which is owned by ByteDance and was later absorbed by TikTok One former Bytedance employee disputes that Instagram was involved in the scrape due to the incompatible sizing of their videos at the time The employees also allege that the scraped content from major US social media platforms was then used to build Bytedance s “For You algorithm TikTok has yet to comment on whether Flipagram s stolen data was used to build TikTok s “For You algorithm Scraping publicly available data isn t illegal by itself Many social platforms find quot creative quot ways to boost their audience in their early days like harvesting external content creating fake profiles or mass emailing potential users But companies can also ban unauthorized scraping in their terms and conditions for users which Instagram and Snapchat both do Violating such contracts can often lead to lawsuits nbsp There s an irony to Bytedance in its early days allegedly scraping data from Instagram since Reels was Instagram s attempt to capture TikTok s audience and instead became a receptacle for old TikToks In order to keep Reels from driving more traffic to its rival app Instagram recently announced it would no longer promote TikToks nbsp 2022-04-04 23:21:35
海外科学 NYT > Science ¿Debes recibir otra vacuna de refuerzo contra la covid? https://www.nytimes.com/es/2022/04/04/espanol/segundo-refuerzo-covid.html ¿Debes recibir otra vacuna de refuerzo contra la covid La FDA ha autorizado inyecciones adicionales para los estadounidenses de edad avanzada y los que tienen ciertas inmunodeficiencias Esto es lo que los científicos saben sobre quién necesita las dosis y cuándo 2022-04-04 23:07:56
金融 金融総合:経済レポート一覧 FX Daily(4月1日)~米雇用統計を受け、ドル円は一時123円台を回復 http://www3.keizaireport.com/report.php/RID/490931/?rss fxdaily 2022-04-05 00:00:00
金融 金融総合:経済レポート一覧 一度50bpの利上げをすると、25bpに戻す理由が必要になる:Market Flash http://www3.keizaireport.com/report.php/RID/490948/?rss marketflash 2022-04-05 00:00:00
金融 金融総合:経済レポート一覧 アジア主要通貨・株価の動き(4月1日まで) http://www3.keizaireport.com/report.php/RID/490976/?rss 国際金融情報センター 2022-04-05 00:00:00
金融 金融総合:経済レポート一覧 シンガポールのクロスボーダー資金決済連携への取組み http://www3.keizaireport.com/report.php/RID/490982/?rss 国際金融情報センター 2022-04-05 00:00:00
金融 金融総合:経済レポート一覧 国際金融センターとしての香港の現状~「国家安全法」施行後の 政治・経済動向 http://www3.keizaireport.com/report.php/RID/490983/?rss 国家安全法 2022-04-05 00:00:00
金融 金融総合:経済レポート一覧 米国において暗号資産業界に係るコンプライアンスと統制を徹底させるには http://www3.keizaireport.com/report.php/RID/490994/?rss eyjapan 2022-04-05 00:00:00
金融 金融総合:経済レポート一覧 2つのオフィスの物語:在宅勤務はオフィス不動産への投資をどのように変化させたか?:プロの視点 http://www3.keizaireport.com/report.php/RID/490995/?rss 視点 2022-04-05 00:00:00
金融 金融総合:経済レポート一覧 第5回 くらしと生活設計に関する調査 http://www3.keizaireport.com/report.php/RID/490996/?rss 生活設計 2022-04-05 00:00:00
金融 金融総合:経済レポート一覧 FOMC議事要旨では、QTの詳細に注目 / ユーロ:ウクライナ情勢とインフレの狭間で / カナダドル:利上げ加速観測と景気腰折れ警戒:Weekly FX Market Focus http://www3.keizaireport.com/report.php/RID/491006/?rss weeklyfxmarketfocus 2022-04-05 00:00:00
金融 金融総合:経済レポート一覧 各資産の利回りと為替取引によるプレミアム/コスト http://www3.keizaireport.com/report.php/RID/491007/?rss 三菱ufj 2022-04-05 00:00:00
金融 金融総合:経済レポート一覧 政治・経済スケジュール 2022年4月号 http://www3.keizaireport.com/report.php/RID/491008/?rss 三菱ufj 2022-04-05 00:00:00
金融 金融総合:経済レポート一覧 投資環境ウィークリー 2022年4月4日号【日本、米国、欧州、中国】~市場は落ち着き処を探る展開、ウクライナとロシアの停戦期待が高まるか http://www3.keizaireport.com/report.php/RID/491009/?rss 三菱ufj 2022-04-05 00:00:00
金融 金融総合:経済レポート一覧 【石黒英之のMarket Navi】逆イールドの示現は株安の予兆なのか http://www3.keizaireport.com/report.php/RID/491010/?rss marketnavi 2022-04-05 00:00:00
金融 金融総合:経済レポート一覧 インベストメント・アウトルック(2022年春号)~トピック:サステナブル投資の展望、米国ハイ・イールド債市場、東証の新市場区分がスタート http://www3.keizaireport.com/report.php/RID/491011/?rss 野村アセットマネジメント 2022-04-05 00:00:00
金融 金融総合:経済レポート一覧 ウィークリーレポート 2022年4月4日号~米国株式はまちまちの動き。 http://www3.keizaireport.com/report.php/RID/491012/?rss 三井住友トラスト 2022-04-05 00:00:00
金融 金融総合:経済レポート一覧 マーケットフォーカス(国内市場)2022年4月号~日経平均株価は、27,800円台を回復 http://www3.keizaireport.com/report.php/RID/491013/?rss 三井住友トラスト 2022-04-05 00:00:00
金融 金融総合:経済レポート一覧 ウィークリー・マーケット 2022年4月第1週号 http://www3.keizaireport.com/report.php/RID/491016/?rss 日興アセットマネジメント 2022-04-05 00:00:00
金融 金融総合:経済レポート一覧 先月のマーケットの振り返り(2022年3月)~2022年3月の主要国の株式市場は高安まちまちとなりました。 http://www3.keizaireport.com/report.php/RID/491018/?rss 三井住友 2022-04-05 00:00:00
金融 金融総合:経済レポート一覧 2022年3月の世界の「投信マネー」~新興国株式ファンド、商品ファンドへの流入続く http://www3.keizaireport.com/report.php/RID/491020/?rss 三井住友 2022-04-05 00:00:00
金融 金融総合:経済レポート一覧 投資家と気候科学者のサケ養殖:責任投資 http://www3.keizaireport.com/report.php/RID/491028/?rss 養殖 2022-04-05 00:00:00
金融 金融総合:経済レポート一覧 【注目検索キーワード】サーキュラーエコノミー http://search.keizaireport.com/search.php/-/keyword=サーキュラーエコノミー/?rss 検索キーワード 2022-04-05 00:00:00
金融 金融総合:経済レポート一覧 【お薦め書籍】5秒でチェック、すぐに使える! 2行でわかるサクサク仕事ノート https://www.amazon.co.jp/exec/obidos/ASIN/4046053631/keizaireport-22/ 結集 2022-04-05 00:00:00
金融 日本銀行:RSS 日銀当座預金増減要因(4月見込み) http://www.boj.or.jp/statistics/boj/fm/juqp/juqp2204.xlsx 当座預金 2022-04-05 08:50:00
ビジネス ダイヤモンド・オンライン - 新着記事 マスク氏のツイッターかんしゃく、沈静化が必要 - WSJ発 https://diamond.jp/articles/-/301035 沈静 2022-04-05 08:03:00
北海道 北海道新聞 米韓、北朝鮮に圧力強化で一致 高官会談「安保理で対応」 https://www.hokkaido-np.co.jp/article/665488/ 高官 2022-04-05 08:12:00
北海道 北海道新聞 キーウ、ロシア軍3分の2離脱 補給後に東部ドンバス地域投入か https://www.hokkaido-np.co.jp/article/665487/ 国防総省 2022-04-05 08:04:00
仮想通貨 BITPRESS(ビットプレス) [CoinDesk Japan] マネックス、SBI、楽天、ポイントを暗号資産の入り口にー証券とクリプトの連携強化 https://bitpress.jp/count2/3_9_13151 coindeskjapan 2022-04-05 08:59:19
IT 週刊アスキー 全国の学生に向けた知識ゼロからできる起業を目指す超起業学校スタートアッププログラムが開始 https://weekly.ascii.jp/elem/000/004/088/4088060/ 開始 2022-04-05 08:30:00
GCP Cloud Blog Cloud Support API: Building a "red button" for creating critical cases https://cloud.google.com/blog/topics/developers-practitioners/cloud-support-api-building-red-button-creating-critical-cases/ Cloud Support API Building a quot red button quot for creating critical casesThe Cymbal Group is a happy and fictional GCP premium support customer They enjoy the benefits of being a premium support customer access to a dedicated Technical Account Manager TAM minute response time for P Technical support cases hours a day days a week and now access to the Cloud Support API  Folks at Cymbal realize that when it comes to urgent situations every second counts Previously the Cymbal Group team spent time finding the correct team members that have access to file cases as well as filling out several boilerplate form entries before the support case was created Every extra minute it took to reach out to support Cymbal knew that more and more of their customers would be impacted  To fix this they wanted to create a “red button or “break glass case creation tool in these urgent situations specifically to file top priority support cases This tool would be a form on a simple website helping them to cut out many of the time consuming aspects of filing a support case  Building the red button web pageThe Cymbal Group made a simple drop down menu with preconfigured case components that map to their most commonly used Google Cloud services such as Big Query or Dataproc The form also can require a URL to a Google Meet video conference room that both Cymbal and Google employees could join and further discuss the situation  The Cymbal case creation page is configured to have many optional fields such as project ID because Cymbal automatically creates a case in the Cymbal org not linked to a specific project if the field is empty While many fields are optional Cymbal realizes that the more information it can provide to Google Support initially the better they will be to address the issue quickly and efficiently The Cymbal team created a wireframe mockup of their entry form and confirmation page They then used the set up instructions on the Cloud Support API documentation page to activate the API in a Cymbal GCP project and created a Service Account with the proper roles After reviewing the Cloud Support API documentation Cymbal created a simple Python application using the Case Creation method from scratch Here s a code snippet code block StructValue u code u import googleapiclient discovery r n r nSERVICE NAME cloudsupport r nAPI VERSION vbeta r nORGANIZATION ID example org ID r nORGANIZATION AS PARENT organizations ORGANIZATION ID r nAPI DEFINITION URL discovery rest version API VERSION r n r nsupportApiService googleapiclient discovery build r n serviceName SERVICE NAME r n version API VERSION r n discoveryServiceUrl API DEFINITION URL u language u This code snippet above initializes the Cloud Support client library and defines the Organization ID that the Cybal Group will be using to create a case under Next they pull from the fields from the UI web form and insert them in a JSON request body This will contain the details used for creating a support case such as the description of the case and the component id which denotes which GCP product is affected hardcoded into the drop down menu In this case the case description is a combination of several fields in the form using a custom made function called build description value code block StructValue u code u request body r n display name display name r n description build description value project impact googlemeet link comments r n classification r n id component r n r n time zone r n subscriber email addresses subscribers r n severity S r n u language u Cymbal hard coded the subject of the case and provided a stock description The subject display name is BUSINESS CRITICAL P ISSUE PLEASE JOIN GVC LINK googlemeet link IMMEDIATELY  In the next code snippet the JSON body is passed to the cases create method in order to create a support case code block StructValue u code u create case response supportApiService cases r n create parent ORGANIZATION AS PARENT body request body r n execute u language u When the creation of the case is completed the API returns the case number in the response Cymbal then displays this on a case confirmation page as well as a link to the Cloud Console where they can view the support case and add additional comments throughout the investigation And it s as simple as that The Cymbal Group team members await for the Google Support team to join the Google Meet call to further discuss the critical issue at hand The Cymbal group is happy to have saved time getting help with their critical production issue  If you have ideas for creating your own case creation tool similar to the one described in this blog post you can find more information about the Cloud Support API and its capabilities in our documentation here and here For Cloud Support API examples like the ones mentioned in this blog post please view this GitHub repository Related ArticleCustomer Care portfolio Flexible scalable robust supportThe Google Cloud Customer Care portfolio offers a range of technical support options designed to optimize hybrid work environments Read Article 2022-04-04 23:30:00

コメント

このブログの人気の投稿

投稿時間:2021-06-17 05:05:34 RSSフィード2021-06-17 05:00 分まとめ(1274件)

投稿時間:2021-06-20 02:06:12 RSSフィード2021-06-20 02:00 分まとめ(3871件)

投稿時間:2020-12-01 09:41:49 RSSフィード2020-12-01 09:00 分まとめ(69件)