diff --git a/logging/src/main/java/ListLogs.java b/logging/src/main/java/ListLogs.java index db4252bf4e6..4b3fd575d6e 100644 --- a/logging/src/main/java/ListLogs.java +++ b/logging/src/main/java/ListLogs.java @@ -33,7 +33,7 @@ /** * Cloud Logging Java API sample that lists the logs available to a project. - * Uses the v1beta3 Cloud Logging API, version 1.20.0 or later. + * Uses the v1beta3 Stackdriver Logging API, version 1.20.0 or later. * See https://cloud.google.com/logging/docs/api/libraries/. */ public class ListLogs { @@ -44,7 +44,7 @@ public class ListLogs { private static final String APPLICATION_NAME = "ListLogs sample"; /** - * Returns an authorized Cloud Logging API service client that is usable + * Returns an authorized Stackdriver Logging API service client that is usable * on Google App Engine, Google Compute Engine, workstations with the Google Cloud SDK, * and other computers if you install service account private credentials. * See https://cloud.google.com/logging/docs/api/tasks. @@ -65,12 +65,12 @@ public static Logging getLoggingService() throws IOException { /** * Lists the names of the logs visible to a project, which may require fetching multiple - * pages of results from the Cloud Logging API. This method converts log resource names + * pages of results from the Stackdriver Logging API. This method converts log resource names * ("/projects/PROJECTID/logs/SERVICENAME%2FLOGNAME") to simple log names ("SERVICENAME/LOGNAME"). * * @param service The logging service client returned by getLoggingService. * @param projectId The project whose logs are to be listed. - * @throws IOException If the Cloud Logging API fails because, for example, the project ID + * @throws IOException If the Stackdriver Logging API fails because, for example, the project ID * doesn't exist or authorization fails. * See https://cloud.google.com//logging/docs/api/tasks/#java_sample_code. */ @@ -97,9 +97,9 @@ private static void listLogs(Logging service, String projectId) throws IOExcepti // [END listlogs] /** - * Demonstrates the Cloud Logging API by listing the logs in a project. + * Demonstrates the Stackdriver Logging API by listing the logs in a project. * @param args The project ID. - * @throws IOException if a Cloud Logging API call fails because, say, the project ID is wrong + * @throws IOException if a Stackdriver Logging API call fails because, say, the project ID is wrong * or authorization fails. */ public static void main(String[] args) throws IOException { diff --git a/monitoring/v2/src/main/java/CloudMonitoringAuthSample.java b/monitoring/v2/src/main/java/CloudMonitoringAuthSample.java index 537c074ed34..67fe248c6ab 100644 --- a/monitoring/v2/src/main/java/CloudMonitoringAuthSample.java +++ b/monitoring/v2/src/main/java/CloudMonitoringAuthSample.java @@ -27,7 +27,7 @@ /** * Simple command-line program to demonstrate connecting to and retrieving data - * from the Google Cloud Monitoring API using application default credentials. + * from the Stackdriver Monitoring API using application default credentials. * Please see README.md on instructions to run. */ public final class CloudMonitoringAuthSample { @@ -74,7 +74,7 @@ private static CloudMonitoring authenticate() } /** - * Query the Google Cloud Monitoring API using a service account and print the + * Query the Stackdriver Monitoring API using a service account and print the * result to the console. * * @param args The first arg should be the project name you'd like to inspect. diff --git a/monitoring/v3/src/main/java/CreateCustomMetric.java b/monitoring/v3/src/main/java/CreateCustomMetric.java index 76225bec520..54da7abb25b 100644 --- a/monitoring/v3/src/main/java/CreateCustomMetric.java +++ b/monitoring/v3/src/main/java/CreateCustomMetric.java @@ -285,7 +285,7 @@ ListTimeSeriesResponse readTimeseriesValue() throws IOException { } /** - * Use the Google Cloud Monitoring API to create a custom metric. + * Use the Stackdriver Monitoring API to create a custom metric. * * @param args The first arg should be the project name you'd like to inspect. * @throws Exception if something goes wrong. diff --git a/monitoring/v3/src/main/java/ListResources.java b/monitoring/v3/src/main/java/ListResources.java index 859e635f7c9..f1692531675 100644 --- a/monitoring/v3/src/main/java/ListResources.java +++ b/monitoring/v3/src/main/java/ListResources.java @@ -37,7 +37,7 @@ /** * Simple command-line program to demonstrate connecting to and retrieving data - * from the Google Cloud Monitoring API v3 using application default credentials. + * from the Stackdriver Monitoring API v3 using application default credentials. */ public class ListResources { @@ -180,7 +180,7 @@ static Monitoring authenticate() throws GeneralSecurityException, IOException { } /** - * Query the Google Cloud Monitoring API using a service account and print the + * Query the Stackdriver Monitoring API using a service account and print the * result to the console. * * @param args The first arg should be the project name you'd like to inspect.