diff --git a/gcloud-java-logging/pom.xml b/gcloud-java-logging/pom.xml index c91845a85456..04ab4381c090 100644 --- a/gcloud-java-logging/pom.xml +++ b/gcloud-java-logging/pom.xml @@ -6,7 +6,7 @@ GCloud Java Logging https://github.com/GoogleCloudPlatform/gcloud-java/tree/master/gcloud-java-logging - Java idiomatic client for Google Cloud Logging. + Java idiomatic client for Stackdriver Logging. com.google.cloud diff --git a/gcloud-java-logging/src/main/java/com/google/cloud/logging/LogEntry.java b/gcloud-java-logging/src/main/java/com/google/cloud/logging/LogEntry.java index f3b39737a2ab..583eda649481 100644 --- a/gcloud-java-logging/src/main/java/com/google/cloud/logging/LogEntry.java +++ b/gcloud-java-logging/src/main/java/com/google/cloud/logging/LogEntry.java @@ -32,8 +32,8 @@ import java.util.Objects; /** - * A Google Cloud Logging log entry. All log entries are represented via objects of this class. - * Log entries can have different type of payloads: an UTF-8 string (see + * A Stackdriver Logging log entry. All log entries are represented via objects of this class. Log + * entries can have different type of payloads: an UTF-8 string (see * {@link Payload.StringPayload}), a JSON object (see {@link Payload.JsonPayload}, or a protobuf * object (see {@link Payload.ProtoPayload}). Entries can also store additional information about * the operation or the HTTP request that generated the log (see {@link LogEntry#operation()} and diff --git a/gcloud-java-logging/src/main/java/com/google/cloud/logging/Logging.java b/gcloud-java-logging/src/main/java/com/google/cloud/logging/Logging.java index 392deaa5d726..454590aacd7d 100644 --- a/gcloud-java-logging/src/main/java/com/google/cloud/logging/Logging.java +++ b/gcloud-java-logging/src/main/java/com/google/cloud/logging/Logging.java @@ -282,7 +282,7 @@ public static EntryListOption filter(String filter) { Future deleteLogAsync(String log); /** - * Lists the monitored resource descriptors used by Google Cloud Logging. This method returns a + * Lists the monitored resource descriptors used by Stackdriver Logging. This method returns a * {@link Page} object that can be used to consume paginated results. Use {@link ListOption} to * specify the page size or the page token from which to start listing resource descriptors. * @@ -291,7 +291,7 @@ public static EntryListOption filter(String filter) { Page listMonitoredResourceDescriptors(ListOption... options); /** - * Sends a request for listing monitored resource descriptors used by Google Cloud Logging. This + * Sends a request for listing monitored resource descriptors used by Stackdriver Logging. This * method returns a {@code Future} object to consume the result. {@link Future#get()} returns an * {@link AsyncPage} object that can be used to asynchronously handle paginated results. Use * {@link ListOption} to specify the page size or the page token from which to start listing @@ -376,8 +376,8 @@ Future> listMonitoredResourceDescriptorsA Future deleteMetricAsync(String metric); /** - * Writes log entries to Cloud Logging. Use {@link WriteOption#logName(String)} to provide a log - * name for those entries that do not specify one. Use + * Writes log entries to Stackdriver Logging. Use {@link WriteOption#logName(String)} to provide a + * log name for those entries that do not specify one. Use * {@link WriteOption#resource(MonitoredResource)} to provide a monitored resource for those * entries that do not specify one. Use {@link WriteOption#labels(Map)} to provide some labels * to be added to every entry in {@code logEntries}. @@ -385,8 +385,8 @@ Future> listMonitoredResourceDescriptorsA void write(Iterable logEntries, WriteOption... options); /** - * Sends a request to log entries to Cloud Logging. Use {@link WriteOption#logName(String)} to - * provide a log name for those entries that do not specify one. Use + * Sends a request to log entries to Stackdriver Logging. Use {@link WriteOption#logName(String)} + * to provide a log name for those entries that do not specify one. Use * {@link WriteOption#resource(MonitoredResource)} to provide a monitored resource for those * entries that do not specify one. Use {@link WriteOption#labels(Map)} to provide some labels * to be added to every entry in {@code logEntries}. The method returns a {@code Future} object diff --git a/gcloud-java-logging/src/main/java/com/google/cloud/logging/Metric.java b/gcloud-java-logging/src/main/java/com/google/cloud/logging/Metric.java index d93e09ba80b1..57d6c572de04 100644 --- a/gcloud-java-logging/src/main/java/com/google/cloud/logging/Metric.java +++ b/gcloud-java-logging/src/main/java/com/google/cloud/logging/Metric.java @@ -27,7 +27,7 @@ import java.util.concurrent.Future; /** - * Google Cloud Logging metrics describe logs-based metric. The value of the metric is the number of + * Stackdriver Logging metrics describe logs-based metric. The value of the metric is the number of * log entries that match a logs filter (see {@link #filter()}). * *

{@code Metric} adds a layer of service-related functionality over {@link MetricInfo}. Objects diff --git a/gcloud-java-logging/src/main/java/com/google/cloud/logging/MetricInfo.java b/gcloud-java-logging/src/main/java/com/google/cloud/logging/MetricInfo.java index e4f1e97cfded..cd0cf58f4d6b 100644 --- a/gcloud-java-logging/src/main/java/com/google/cloud/logging/MetricInfo.java +++ b/gcloud-java-logging/src/main/java/com/google/cloud/logging/MetricInfo.java @@ -25,7 +25,7 @@ import java.util.Objects; /** - * Google Cloud Logging metrics describe logs-based metric. The value of the metric is the number of + * Stackdriver Logging metrics describe logs-based metric. The value of the metric is the number of * log entries that match a logs filter (see {@link #filter()}). * * @see Logs-based Metrics diff --git a/gcloud-java-logging/src/main/java/com/google/cloud/logging/Sink.java b/gcloud-java-logging/src/main/java/com/google/cloud/logging/Sink.java index 42f531795b82..782f0d2a56b8 100644 --- a/gcloud-java-logging/src/main/java/com/google/cloud/logging/Sink.java +++ b/gcloud-java-logging/src/main/java/com/google/cloud/logging/Sink.java @@ -27,10 +27,9 @@ import java.util.concurrent.Future; /** - * Google Cloud Logging sinks can be used to control the export of your logs. Each sink specifies - * the export of a set of log entries to a certain destination. A sink consists of a name, unique to - * the project, a filter for choosing the log entries to export and a destination for the log - * entries. + * Stackdriver Logging sinks can be used to control the export of your logs. Each sink specifies the + * export of a set of log entries to a certain destination. A sink consists of a name, unique to the + * project, a filter for choosing the log entries to export and a destination for the log entries. * *

Sink destination can either be a Google Cloud Storage bucket (see * {@link SinkInfo.Destination.BucketDestination}, a Google Cloud BigQuery dataset (see diff --git a/gcloud-java-logging/src/main/java/com/google/cloud/logging/SinkInfo.java b/gcloud-java-logging/src/main/java/com/google/cloud/logging/SinkInfo.java index 669ba9f58c51..c2669ac07bae 100644 --- a/gcloud-java-logging/src/main/java/com/google/cloud/logging/SinkInfo.java +++ b/gcloud-java-logging/src/main/java/com/google/cloud/logging/SinkInfo.java @@ -27,9 +27,9 @@ import java.util.regex.Pattern; /** - * Google Cloud Logging sinks can be used to control the export of your logs. Each sink specifies - * the export of a set of log entries to a certain destination. A sink consists of a name, unique to - * the project, a filter for choosing the log entries to export and a destination for the log + * Stackdriver Logging sinks can be used to control the export of your logs. Each sink specifies the + * export of a set of log entries to a certain destination. A sink consists of a name, unique to the + * project, a filter for choosing the log entries to export and a destination for the log * entries. * *

Sink destination can either be a Google Cloud Storage bucket (see @@ -56,7 +56,7 @@ public abstract static class Destination implements Serializable { private final Type type; /** - * Type of destination for Google Cloud Logging sink. + * Type of destination for Stackdriver Logging sink. */ public enum Type { /** @@ -375,8 +375,8 @@ static T fromPb(String destinationPb) { } /** - * Available log entry formats. Log entries can be written to Cloud Logging in either format and - * can be exported in either format. Version 2 is the preferred format. + * Available log entry formats. Log entries can be written to Stackdriver Logging in either format + * and can be exported in either format. Version 2 is the preferred format. */ public enum VersionFormat { V1(LogSink.VersionFormat.V1), @@ -434,7 +434,7 @@ public abstract static class Builder { * Sets an advanced logs filter. Only log entries matching that filter are exported. The filter * must be consistent with the log entry format specified with * {@link #versionFormat(VersionFormat)}, regardless of the format of the log entry that was - * originally written to Google Cloud Logging. Example (V2 format): + * originally written to Stackdriver Logging. Example (V2 format): * {@code logName=projects/my-projectid/logs/syslog AND severity>=ERROR}. * * @see Advanced Log @@ -538,7 +538,7 @@ public T destination() { /** * Returns an advanced logs filter. Only log entries matching that filter are exported. The filter * must be consistent with the log entry format specified in {@link #versionFormat()}, regardless - * of the format of the log entry that wa originally written to Google Cloud Logging. Example (V2 + * of the format of the log entry that wa originally written to Stackdriver Logging. Example (V2 * format): {@code logName=projects/my-projectid/logs/syslog AND severity>=ERROR}. * * @see Advanced Log diff --git a/gcloud-java-logging/src/main/java/com/google/cloud/logging/spi/LoggingRpc.java b/gcloud-java-logging/src/main/java/com/google/cloud/logging/spi/LoggingRpc.java index d708d502c20a..fa0217177c9c 100644 --- a/gcloud-java-logging/src/main/java/com/google/cloud/logging/spi/LoggingRpc.java +++ b/gcloud-java-logging/src/main/java/com/google/cloud/logging/spi/LoggingRpc.java @@ -96,9 +96,9 @@ public interface LoggingRpc extends AutoCloseable { Future delete(DeleteLogRequest request); /** - * Sends a request to write log entries to Cloud Logging. This method returns a {@code Future} - * object to consume the result. {@link Future#get()} returns a response object for the write - * operation. + * Sends a request to write log entries to Stackdriver Logging. This method returns a + * {@code Future} object to consume the result. {@link Future#get()} returns a response object for + * the write operation. * * @param request the request object containing all of the parameters for the API call */