Commit Graph

112 Commits

Author SHA1 Message Date
Google APIs abb30a02aa chore: use gapic-generator-python 0.28.1
Also re-adds the grpc_service_config to all the Python libraries that have been moved to the microgenerator.

PiperOrigin-RevId: 321807443
2020-07-17 10:40:12 -07:00
Google APIs 82f29df2e4 feat: move monitoring/dashboard API to python microgenerator
PiperOrigin-RevId: 321390096
2020-07-15 10:38:16 -07:00
Google APIs 0e56befedb build: removing Artman configuration files
PiperOrigin-RevId: 321273506
2020-07-14 18:01:47 -07:00
Google APIs ca88164f0a fix: migrate monitoring/dashboard/v1 to grpc_service_config
PiperOrigin-RevId: 320447395
2020-07-09 12:16:33 -07:00
Google APIs 7c577e89f1 fix: migrate monitoring/v3 to grpc_service_config
PiperOrigin-RevId: 318542700
2020-06-26 14:20:39 -07:00
Google APIs d13e2da372 build: move gapic-generator-typescript parameters to BUILD.bazel files.
PiperOrigin-RevId: 318386808
2020-06-25 18:07:32 -07:00
Google APIs 3c5166c1db Add support for secondary_aggregation and Monitoring Query Language.
PiperOrigin-RevId: 315496921
2020-06-09 09:18:42 -07:00
Google APIs 51362f378a docs: change relative URLs to absolute URLs to fix broken links.
PiperOrigin-RevId: 314788297
2020-06-04 13:18:13 -07:00
Google APIs ded05197da fix: use grpc_service_config in nodejs_gapic_library
The nodejs_gapic_library targets were migrated to gapic-generator-typescript
which doesn't use gapic_yaml, rendering that attribute unused. Instead it uses
the proto annotations & grpc_service_config, which this change reflects.

PiperOrigin-RevId: 314206960
2020-06-01 14:44:30 -07:00
Google APIs e94ad37652 fix: point artman at gapic v1 for monitoring/v3 API
Committer: @miraleung
PiperOrigin-RevId: 312104480
2020-05-18 10:21:34 -07:00
Google APIs 123873dc7e chore!: enable gapicv2 for monitoring/v3 API
This introduces the following breakages upon code regeneration, which are due to the `TimeSeriesQueryLanguageCondition` type being removed from `alert.proto` in a preceding change.

```
[ERROR] 6011: com.google.monitoring.v3.AlertPolicy$Condition: Field CONDITION_TIME_SERIES_QUERY_LANGUAGE_FIELD_NUMBER has been removed, but it was previously a constant
[ERROR] 7002: com.google.monitoring.v3.AlertPolicy$Condition: Method 'public com.google.monitoring.v3.AlertPolicy$Condition$TimeSeriesQueryLanguageCondition getConditionTimeSeriesQueryLanguage()' has been removed
[ERROR] 7002: com.google.monitoring.v3.AlertPolicy$Condition: Method 'public com.google.monitoring.v3.AlertPolicy$Condition$TimeSeriesQueryLanguageConditionOrBuilder getConditionTimeSeriesQueryLanguageOrBuilder()' has been removed
[ERROR] 7002: com.google.monitoring.v3.AlertPolicy$Condition: Method 'public boolean hasConditionTimeSeriesQueryLanguage()' has been removed
[ERROR] 7002: com.google.monitoring.v3.AlertPolicy$Condition$Builder: Method 'public com.google.monitoring.v3.AlertPolicy$Condition$Builder clearConditionTimeSeriesQueryLanguage()' has been removed
[ERROR] 7002: com.google.monitoring.v3.AlertPolicy$Condition$Builder: Method 'public com.google.monitoring.v3.AlertPolicy$Condition$TimeSeriesQueryLanguageCondition getConditionTimeSeriesQueryLanguage()' has been removed
[ERROR] 7002: com.google.monitoring.v3.AlertPolicy$Condition$Builder: Method 'public com.google.monitoring.v3.AlertPolicy$Condition$TimeSeriesQueryLanguageCondition$Builder getConditionTimeSeriesQueryLanguageBuilder()' has been removed
[ERROR] 7002: com.google.monitoring.v3.AlertPolicy$Condition$Builder: Method 'public com.google.monitoring.v3.AlertPolicy$Condition$TimeSeriesQueryLanguageConditionOrBuilder getConditionTimeSeriesQueryLanguageOrBuilder()' has been removed
[ERROR] 7002: com.google.monitoring.v3.AlertPolicy$Condition$Builder: Method 'public boolean hasConditionTimeSeriesQueryLanguage()' has been removed
[ERROR] 7002: com.google.monitoring.v3.AlertPolicy$Condition$Builder: Method 'public com.google.monitoring.v3.AlertPolicy$Condition$Builder mergeConditionTimeSeriesQueryLanguage(com.google.monitoring.v3.AlertPolicy$Condition$TimeSeriesQueryLanguageCondition)' has been removed
[ERROR] 7002: com.google.monitoring.v3.AlertPolicy$Condition$Builder: Method 'public com.google.monitoring.v3.AlertPolicy$Condition$Builder setConditionTimeSeriesQueryLanguage(com.google.monitoring.v3.AlertPolicy$Condition$TimeSeriesQueryLanguageCondition)' has been removed
[ERROR] 7002: com.google.monitoring.v3.AlertPolicy$Condition$Builder: Method 'public com.google.monitoring.v3.AlertPolicy$Condition$Builder setConditionTimeSeriesQueryLanguage(com.google.monitoring.v3.AlertPolicy$Condition$TimeSeriesQueryLanguageCondition$Builder)' has been removed
[ERROR] 6001: com.google.monitoring.v3.AlertPolicy$Condition$ConditionCase: Removed field CONDITION_TIME_SERIES_QUERY_LANGUAGE
[ERROR] 8001: com.google.monitoring.v3.AlertPolicy$Condition$TimeSeriesQueryLanguageCondition: Class com.google.monitoring.v3.AlertPolicy$Condition$TimeSeriesQueryLanguageCondition removed
[ERROR] 8001: com.google.monitoring.v3.AlertPolicy$Condition$TimeSeriesQueryLanguageCondition$Builder: Class com.google.monitoring.v3.AlertPolicy$Condition$TimeSeriesQueryLanguageCondition$Builder removed
[ERROR] 8001: com.google.monitoring.v3.AlertPolicy$Condition$TimeSeriesQueryLanguageConditionOrBuilder: Class com.google.monitoring.v3.AlertPolicy$Condition$TimeSeriesQueryLanguageConditionOrBuilder removed
[ERROR] 7002: com.google.monitoring.v3.AlertPolicy$ConditionOrBuilder: Method 'public com.google.monitoring.v3.AlertPolicy$Condition$TimeSeriesQueryLanguageCondition getConditionTimeSeriesQueryLanguage()' has been removed
[ERROR] 7002: com.google.monitoring.v3.AlertPolicy$ConditionOrBuilder: Method 'public com.google.monitoring.v3.AlertPolicy$Condition$TimeSeriesQueryLanguageConditionOrBuilder getConditionTimeSeriesQueryLanguageOrBuilder()' has been removed
[ERROR] 7002: com.google.monitoring.v3.AlertPolicy$ConditionOrBuilder: Method 'public boolean hasConditionTimeSeriesQueryLanguage()' has been removed
```

Committer: @miraleung
PiperOrigin-RevId: 311581003
2020-05-14 12:23:33 -07:00
Google APIs a3a0bf0f62 BREAKING_CHANGE: Removing TimeSeriesQueryLanguageCondition as an alert condition type. The condition type is unsupported and unused. It was originally added for the Monitoring Query Language Alpha feature.
refactor!: Drop support for TimeSeriesQueryLanguageCondition as an alert condition type.

PiperOrigin-RevId: 310060413
2020-05-05 18:18:22 -07:00
Google APIs 101d31acd7 Update public client library for Cloud Monitoring to introduce new Uptime check feature.
Uptime HTTP(S) checks can now be GET or POST.

PiperOrigin-RevId: 306855444
2020-04-16 08:56:56 -07:00
Google APIs 160e3187dc Increase the required minimum difference between start time of the next interval
and the end time of the previous one from the one microsecond to one millisecond.
This will enable some resource savings for in-memory storage.

PiperOrigin-RevId: 306560315
2020-04-14 19:11:19 -07:00
Google APIs b21bc9b46e chore: set Ruby namespace in proto options
PiperOrigin-RevId: 305797556
2020-04-09 17:52:27 -07:00
Google APIs 1346f5c11a Refresh public client library for Cloud Monitoring.
Increase default ListTimeSeries deadline to 90s.

PiperOrigin-RevId: 304467075
2020-04-02 13:37:21 -07:00
Google APIs 4a6cfccb4a docs: Fix link in monitoring summary description.
PiperOrigin-RevId: 304438717
2020-04-02 11:25:29 -07:00
Google APIs 71d6c56a14 Refresh monitoring client libraries.
Rename to Cloud Monitoring API.
Added support for TimeSeriesQueryLanguageCondition condition type in alert policies.

PiperOrigin-RevId: 302735422
2020-03-24 13:31:58 -07:00
Google APIs 25a1781c09 bazel: migrate all go_gapic_library targets to microgenerator implementation
* update rules_go and gazelle bazel dependencies
* update gapic-generator bazel dependency (with build file generator changes)

PiperOrigin-RevId: 302730217
2020-03-24 13:05:53 -07:00
Google APIs 34a5450c59 Increases the default timeout from 20s to 30s for MetricService
PiperOrigin-RevId: 300474272
2020-03-11 21:48:10 -07:00
Google APIs ee4dddf805 monitoring v3: Add prefix "https://cloud.google.com/" into the link for global access
cl 295167522, get ride of synth.py hacks

PiperOrigin-RevId: 295238095
2020-02-14 15:17:21 -08:00
Google APIs 56b55aa881 Fix: Resource annotations for CreateTimeSeriesRequest and ListTimeSeriesRequest should refer to valid resources. TimeSeries is not a named resource.
PiperOrigin-RevId: 294931650
2020-02-13 09:25:27 -08:00
Google APIs e7d8a694f4 Depend on the latest gapic-generator and resource names plugin.
This fixes the very old an very annoying bug: https://github.com/googleapis/gapic-generator/pull/3087

PiperOrigin-RevId: 293903652
2020-02-07 15:18:00 -08:00
Google APIs eaff9fa8ed monitoring: v3 publish annotations and client retry config
PiperOrigin-RevId: 292425288
2020-01-30 14:29:49 -08:00
Google APIs d9e328eaf7 Fix bazel build (versions 1.x)
Bump gapic-generator and resource names plugins to the latest version.

PiperOrigin-RevId: 286469287
2019-12-19 14:56:42 -08:00
Google APIs 41fc140373 Annotate the required fields for the Monitoring Dashboards API
PiperOrigin-RevId: 285824386
2019-12-16 12:23:35 -08:00
Google APIs e5c4d3a2b5 Add Artman BUILD.bazel file for the Monitoring Dashboards API
PiperOrigin-RevId: 285445602
2019-12-16 10:53:36 -08:00
Google APIs 2085a0d3c7 Fix path in the artman config for Monitoring Dashboard API.
PiperOrigin-RevId: 285233245
2019-12-12 11:29:37 -08:00
Google APIs 2da72dfe71 Add Artman and GAPIC configs for the Monitoring Dashboards API.
PiperOrigin-RevId: 285211544
2019-12-12 09:55:18 -08:00
Google APIs ee3f02926d Add Monitoring Dashboards API protocol buffers to Google Cloud Monitoring API.
PiperOrigin-RevId: 284982647
2019-12-11 07:39:38 -08:00
Google APIs 79b7f1c5ba Put back C++ targets.
Previous change overrode custom C++ targets made by external teams. This PR puts those targets back.

PiperOrigin-RevId: 282458292
2019-11-25 16:33:43 -08:00
Google APIs 06a840781d Populate BAZEL.build files for around 100 APIs (all APIs we publish) in all 7 langauges.
PiperOrigin-RevId: 282449910
2019-11-25 15:50:18 -08:00
Google APIs 5364a19284 bazel: Fix build
1) Update to latest gapic-generator (has iam resource names fix for java).
2) Fix non-trivial issues with oslogin (resources defined in sibling package to the one they are used from) and monitoring.
3) Fix trivial missing dependencies in proto_library targets for other apis.

This is to prepare the repository to being populated with BUILD.bazel files for all supported apis (101 API) in all 7 languages.

PiperOrigin-RevId: 281618750
2019-11-20 15:52:59 -08:00
Google APIs d8dd7fe8d5 Fix build by adding missing deps.
PiperOrigin-RevId: 281088257
2019-11-18 09:42:52 -08:00
Google APIs bc76ffd873 Use rules_proto bzl files to load proto_library
This makes googleapis forward compatible with Bazel incompatible change https://github.com/bazelbuild/bazel/issues/8922.

This CL was created by adding @rules_proto to the WORKSPACE file and then running:

find . -name BUILD.bazel | \
  while read build; do \
    buildifier --lint=fix --warnings=load $build; \
  done

Since buildifier cannot be told not to reformat the BUILD file, some files are reformatted.

PiperOrigin-RevId: 280356106
2019-11-13 22:28:15 -08:00
Google APIs a667ffab90 Introduced detailed status message for CreateTimeSeries: CreateTimeSeriesSummary replaces CreateTimeSeriesError, which is now deprecated and unused.
PiperOrigin-RevId: 280221707
2019-11-13 10:04:46 -08:00
Google APIs 88bbf96b90 Fix location of monitoring.yaml in Artman config for monitoring v3.
PiperOrigin-RevId: 280134477
2019-11-12 23:18:09 -08:00
Google APIs 989b304c8a Add Service Monitoring (Service and ServiceLevelObjective) protocol buffers to Google Cloud Monitoring API.
PiperOrigin-RevId: 279649144
2019-11-10 17:57:27 -08:00
Google APIs a9589347c8 Synchronize new proto/yaml changes.
PiperOrigin-RevId: 276110444
2019-10-22 11:43:03 -07:00
Google APIs 95c0959449 Synchronize new proto/yaml changes.
PiperOrigin-RevId: 276083452
2019-10-22 09:46:06 -07:00
Google APIs 9cb6aa2bbe Synchronize new proto/yaml changes.
PiperOrigin-RevId: 274227479
2019-10-11 12:40:44 -07:00
Google APIs 192d3d8221 Synchronize new proto/yaml changes.
PiperOrigin-RevId: 274071638
2019-10-10 17:11:13 -07:00
Google APIs 0c0bbaeb69 Synchronize new proto/yaml changes.
PiperOrigin-RevId: 274037944
2019-10-10 14:21:31 -07:00
Google APIs fd0c01b4bf Synchronize new proto/yaml changes.
PiperOrigin-RevId: 272238536
2019-10-01 10:18:05 -07:00
Google APIs 1cb29d0fd4 Synchronize new proto/yaml changes.
PiperOrigin-RevId: 268598527
2019-09-11 20:12:08 -07:00
Google APIs 0b52f3c5ed Synchronize new proto/yaml changes.
PiperOrigin-RevId: 268473446
2019-09-11 09:20:01 -07:00
Google APIs b4b182552f Synchronize new proto/yaml changes.
PiperOrigin-RevId: 268243295
2019-09-10 09:37:37 -07:00
Google APIs db02bc9c10 Synchronize new proto/yaml changes.
PiperOrigin-RevId: 263073419
2019-08-12 22:46:00 -07:00
Google APIs e042bbbeb8 Synchronize new proto/yaml changes.
PiperOrigin-RevId: 260969292
2019-07-31 11:46:25 -07:00
Google APIs c39b7e880e Synchronize new proto/yaml changes.
PiperOrigin-RevId: 249885941
2019-05-24 13:08:26 -07:00