language: update region tags from _file_gcs to _gcs
@@ -15,7 +15,7 @@ import (
// to avoid it being included in the function signature below.
var client *language.Client
-// [START language_entities_file_gcs]
+// [START language_entities_gcs]
func analyzeEntitiesFromGCS(ctx context.Context, gcsURI string) (*languagepb.AnalyzeEntitiesResponse, error) {
return client.AnalyzeEntities(ctx, &languagepb.AnalyzeEntitiesRequest{
@@ -29,9 +29,9 @@ func analyzeEntitiesFromGCS(ctx context.Context, gcsURI string) (*languagepb.Ana
})
}
-// [END language_entities_file_gcs]
+// [END language_entities_gcs]
-// [START language_sentiment_file_gcs]
+// [START language_sentiment_gcs]
func analyzeSentimentFromGCS(ctx context.Context, gcsURI string) (*languagepb.AnalyzeSentimentResponse, error) {
return client.AnalyzeSentiment(ctx, &languagepb.AnalyzeSentimentRequest{
@@ -44,9 +44,9 @@ func analyzeSentimentFromGCS(ctx context.Context, gcsURI string) (*languagepb.An
})
}
-// [END language_sentiment_file_gcs]
+// [END language_sentiment_gcs]
-// [START language_syntax_file_gcs]
+// [START language_syntax_gcs]
func analyzeSyntaxFromGCS(ctx context.Context, gcsURI string) (*languagepb.AnnotateTextResponse, error) {
return client.AnnotateText(ctx, &languagepb.AnnotateTextRequest{
@@ -63,9 +63,9 @@ func analyzeSyntaxFromGCS(ctx context.Context, gcsURI string) (*languagepb.Annot
})
}
-// [END language_syntax_file_gcs]
+// [END language_syntax_gcs]
-// [START language_classify_file_gcs]
+// [START language_classify_gcs]
func classifyTextFromGCS(ctx context.Context, gcsURI string) (*languagepb.ClassifyTextResponse, error) {
return client.ClassifyText(ctx, &languagepb.ClassifyTextRequest{
@@ -78,4 +78,4 @@ func classifyTextFromGCS(ctx context.Context, gcsURI string) (*languagepb.Classi
})
}
-// [END language_classify_file_gcs]
+// [END language_classify_gcs]
