Simple utility script for generating and managing code samples for GAPIC client libraries.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// [START dlp_inspect_file] | |
// Imports the Google Cloud Data Loss Prevention library | |
using Google.Cloud.Dlp.V2; | |
using Google.Api.Gax.ResourceNames; | |
// Imports other required libraries | |
using System; | |
using System.IO; | |
using System.Collections.Generic; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
type: com.google.api.codegen.ConfigProto | |
config_schema_version: 1.0.0 | |
# The settings of generated code in a specific language. | |
language_settings: | |
java: | |
package_name: com.google.cloud.kms.v1 | |
python: | |
package_name: google.cloud.kms_v1.gapic | |
go: | |
package_name: cloud.google.com/go/kms/apiv1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# escape=` | |
FROM microsoft/iis | |
SHELL ["powershell", "-command"] | |
# Not mine. | |
# Keeping to use later. | |
# Taken from: | |
# https://stackoverflow.com/questions/40099339/dockerize-asp-classic-on-iis |
🎨 • ARTMAN • 👩🏼🎨
- Uninstall Artman (Default: Python 2.7)
- Install Artman (Python 3)
- Install Latest Artman Docker Image
- Run Artman (GAPIC HEAD | googleapis HEAD)
- Edit googleapis (add sample to NL v1 GAPIC config)
- Run Artman (GAPIC HEAD | updated googleapis – generates samples)
- Edit GAPIC (change the sample template)
- Install Dependencies for --local Artman
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$$(".capped-list-label").forEach(el => el.classList.remove("capped-list-label")); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// @sampleFile | |
DynamicLangSampleView { | |
templateFileName = nodejs/standalone_sample.snip, | |
outputPath = src/samples/v1/create_book_sample_request_create_a_book.js, | |
className = CreateBookSampleRequestCreateABook, | |
gapicPackageName = gapic-google-cloud-library-v1 | |
// The following object is available in snips as @apiMethod | |
// @apiMethod = @sampleFile.libraryMethod |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using Google.Cloud.Dialogflow.V2; | |
// To setup, follow instructions: | |
// https://cloud.google.com/dialogflow-enterprise/docs/quickstart-client-libraries | |
namespace GoogleCloudSamples | |
{ | |
public class EntityTypeManagement | |
{ |