Commit graph

97 commits

Author SHA1 Message Date
Google APIs
b3c2e0fa80 chore: migrate securitycenter-settings to the PHP microgenerator
Committer: @miraleung
PiperOrigin-RevId: 375869810
2021-05-25 22:44:48 -07:00
Google APIs
0a992df802 feat: add canonical_name and folder fields
Assets and findings may be created in organizations, folders or projects, however in the current API version the name field for resources will always be prefixed by "organizations/...", for historical reasons. The "canonical_name" field shows the actual location of the resource, and in requests either the name or "canonical name" can be used for the "name" in the request.

The "folder" field contains the folders in the resource's ancestry.

PiperOrigin-RevId: 372965035
2021-05-10 11:04:03 -07:00
Google APIs
1d3573f512 feat: add canonical_name and folder fields
Assets and findings may be created in organizations, folders or projects, however in the current API version the name field for resources will always be prefixed by "organizations/...", for historical reasons. The "canonical_name" field shows the actual location of the resource, and in requests either the name or "canonical name" can be used for the "name" in the request.

The "folder" field contains the folders in the resource's ancestry.

PiperOrigin-RevId: 372964926
2021-05-10 10:52:56 -07:00
Google APIs
f38690d714 chore: migrate securitycenter to the PHP microgenerator
Committer: @miraleung
PiperOrigin-RevId: 370943390
2021-04-28 11:22:41 -07:00
Google APIs
74bb45bfc8 chore: Migrate the Bazel rules for the libraries NOT published to google-cloud-ruby to use gapic-generator-ruby instead of the monolith generator.
PiperOrigin-RevId: 370517814
2021-04-26 12:36:51 -07:00
Google APIs
d9b32e92fa chore: clean up unused gapic.legacy.yaml files
Committer: @miraleung
PiperOrigin-RevId: 359580699
2021-02-25 12:14:41 -08:00
Google APIs
959b0bcea3 feat: Update the ruby_cloud_gapic_library rules for the libraries published to google-cloud-ruby to the form that works with build_gen (separate parameters for ruby_cloud_title and ruby_cloud_description).
chore: Update Bazel-Ruby rules version.
chore: Update build_gen version.

PiperOrigin-RevId: 358357761
2021-02-19 01:21:43 -08:00
Google APIs
61ab0348bd feat: Migrate the Bazel rules for the libraries published to google-cloud-ruby to use the gapic-generator-ruby instead of the monolith generator.
PiperOrigin-RevId: 352069361
2021-01-15 13:09:14 -08:00
Google APIs
3131ab5786 chore: use python microgenerator rules for Cloud APIs
PiperOrigin-RevId: 350604597
2021-01-07 11:33:56 -08:00
Google APIs
6dae98144d chore: Remove unused 'package' attr from java_gapic_library rules
Committer: @miraleung
PiperOrigin-RevId: 347459563
2020-12-14 13:41:43 -08:00
Google APIs
e9135d3cb8 feat: added field severity to findings in v1 API
Clients will now see a new field, severity, on findings. They will also be able to filter and group by severity on ListFinding and GroupFinding API calls.

PiperOrigin-RevId: 347410691
2020-12-14 10:08:55 -08:00
Google APIs
160f80d81d chore: Make microgenerators default for all languages
In particular this applies to Java and Python microgenerators.
With this change `java_gapic_*` and `py_gapic_*` rules mean microgenerator versions. The monolith versions of the rules are named as `java_gapic_*_legacy` and `py_gapic_*_legacy` respectively.

Also change Ads BAZEL template to reflect the change in default rule names.

Also change `DO NOT OVERRIDE` comment warnings meaning (to reflect that now by default microgenerator rules are generated and the generated version must be accepted only if the API is being migrated to the microgenerator).

PiperOrigin-RevId: 346227314
2020-12-07 18:51:08 -08:00
Google APIs
d189e87120 chore: generate GAPIC metadata JSON file
PiperOrigin-RevId: 345596855
2020-12-03 21:01:09 -08:00
Google APIs
e5eef86544 chore: migrate securitycenter to the Java microgenerator
Committer: @miraleung
PiperOrigin-RevId: 345559182
2020-12-03 16:32:44 -08:00
Google APIs
be96744d03 chore: migrate securitycenter-settings to the Java microgenerator
Committer: @miraleung
PiperOrigin-RevId: 345493610
2020-12-03 12:19:38 -08:00
Google APIs
7391e775fd fix: switch all local LRO Go GAPIC deps to remote
PiperOrigin-RevId: 338561467
2020-10-22 15:30:23 -07:00
Google APIs
3738209d5e chore: use python microgenerator rules for securitycenter v1p1beta1
PiperOrigin-RevId: 334908430
2020-10-01 15:22:20 -07:00
Google APIs
8d73f9486f docs: updated description of finding severity field
PiperOrigin-RevId: 332497859
2020-09-18 12:02:36 -07:00
Google APIs
b821f32047 feat: use https://github.com/googleapis/gapic-generator-csharp for generating C# libraries.
PiperOrigin-RevId: 331104099
2020-09-11 01:16:20 -07:00
Google APIs
623a1aa03a docs: Clarified that event_time can also be considered as the "update time" for a Finding. It also captures when a Finding was updated. The previous wording could've been interpreted as only the creation time.
PiperOrigin-RevId: 327292977
2020-08-18 13:18:14 -07:00
Google APIs
5ad09e867a feat: added field severity to findings
Clients will now see a new field, severity, on findings. They will also be able to filter and group by severity on ListFinding and GroupFinding API calls.

PiperOrigin-RevId: 326514554
2020-08-13 13:43:52 -07:00
Google APIs
6a813acf53 chore: migrate securitycenter to python microgenerator
PiperOrigin-RevId: 323472217
2020-07-27 17:04:12 -07:00
Google APIs
599ede9ebd fix!: migrate securitycenter/v1beta1 to gapic v2
BREAKING CHANGE: IAM method flattenings changed to generic resource name class

PiperOrigin-RevId: 323062460
2020-07-24 13:43:37 -07:00
Google APIs
e26e1839a4 fix: add resource config to scc/v1beta1/Asset
chore: update various comments
PiperOrigin-RevId: 322867095
2020-07-23 14:30:40 -07:00
Google APIs
9362f58401 fix: migrate securitycenter/v1 to grpc_service_config
PiperOrigin-RevId: 321179885
2020-07-14 10:16:24 -07:00
Google APIs
afa7f44f57 fix: migrate securitycenter/v1p1beta1 to grpc_service_config
PiperOrigin-RevId: 321179822
2020-07-14 10:04:54 -07:00
Google APIs
3b634f6060 build: drop Artman config
PiperOrigin-RevId: 321028717
2020-07-13 14:02:36 -07:00
Google APIs
240e65bd14 fix: correct securitycenter grpc_service_configs
PiperOrigin-RevId: 320995419
2020-07-13 11:22:33 -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
c1ba5ba3f2 fix: migrate securitycenter/settings/v1beta1 to grpc_service_config
PiperOrigin-RevId: 316715576
2020-06-16 11:13:31 -07:00
Google APIs
714a5f10f2 Specify allowed fields for UpdateNotificationConfig
PiperOrigin-RevId: 316714521
2020-06-16 11:03:11 -07:00
Google APIs
b789f79056 fix!: Fix the version casing in the C# namespace option
BREAKING CHANGE: This would break any C# code already generated, but this file is very new, so is unlikely to break anyone.

PiperOrigin-RevId: 315933871
2020-06-11 10:58:31 -07:00
Google APIs
027e9775e9 feat: Add Resource to the vp1beta1 NotificationMessage, which contains resource-related fields associated to the Finding notification.
feat!: Removed 'having' as a field for the Group and List APIs for both Assets and Findings.

docs: Adjusted wording from Cloud SCC to Security Command Center, and updated filtering docs for List APIs.

BREAKING CHANGE: Removed 'having' as a field in the List and Group Finding and Asset requests.

PiperOrigin-RevId: 315725809
2020-06-10 11:15:37 -07:00
Google APIs
3e7056405a feat: Add Resource to the v1 NotificationMessage, which contains resource-related fields associated to the Finding notification.
docs: Adjusted wording from Cloud SCC to Security Command Center, and updated filtering docs for List APIs.

PiperOrigin-RevId: 315715539
2020-06-10 10:20:59 -07:00
Google APIs
ce56112c35 chore: fix all deps on LRO in go_gapic_library
Removes uses of external dependency on longrunning/autogen:go_default_library
in favor of the local target //google/lonrunning:longrunning_go_gapic.

PiperOrigin-RevId: 314387187
2020-06-02 12:57:24 -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
29aac60f12 docs: fix broken link to policy reference documentation.
PiperOrigin-RevId: 305319540
2020-04-07 12:46:45 -07:00
Google APIs
ff74d47d47 fix: PHP-related fixes in BUILD.bazel and service.yamls
This PR also adds the rules for all 7 langauges in OsLogin and Kms BUILD.bazel files. Those build files were missing rules for 5 langagues, including PHP.

This PR is the prerequisite for migrating PHP synth.py scripts from artman to bazel.

The fixes in service.yaml fix regression made during proto annotation migration. This became visible only during PHP generation, because only PHP depends on the affected sections of the service.yaml config.

PiperOrigin-RevId: 305108224
2020-04-06 13:46:40 -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
5202a9e0d9 Protos for v1beta1 release of Cloud Security Center Settings API
PiperOrigin-RevId: 300580858
2020-03-12 10:55:24 -07:00
Google APIs
c0d171acec Updated to include the Notification v1 API.
PiperOrigin-RevId: 298652775
2020-03-03 11:33:41 -08:00
Google APIs
5dac2da18f Restore retry params in gapic config because securitycenter has non-standard default retry params.
Restore a few retry codes for some idempotent methods.

PiperOrigin-RevId: 297196720
2020-02-25 14:01:12 -08:00
Google APIs
e76149c3d9 Move securitycenter v1 to use generate from annotations.
PiperOrigin-RevId: 296266862
2020-02-20 12:06:03 -08:00
Google APIs
5f311e416e fix: use correct PHP package name in gapic configuration
PiperOrigin-RevId: 295161330
2020-02-14 09:24:23 -08:00
Google APIs
806b2854a9 fix: correct capitalization of Ruby namespaces in SecurityCenter V1p1beta1
PiperOrigin-RevId: 293903613
2020-02-07 15:07:15 -08:00
Google APIs
2f53fd8178 Add v1p1beta1 config file
PiperOrigin-RevId: 293696729
2020-02-06 16:01:12 -08:00
Google APIs
b5cbe4a4ba SecurityCenter v1p1beta1: move file-level option on top to workaround protobuf.js bug.
PiperOrigin-RevId: 292647187
2020-01-31 17:28:16 -08:00
Google APIs
cf3b61102e Fix to protos for v1p1beta1 release of Cloud Security Command Center
PiperOrigin-RevId: 292034635
2020-01-28 16:08:39 -08:00
Google APIs
6cac27dabe Updating default deadline for Cloud Security Command Center's v1 APIs.
PiperOrigin-RevId: 289875412
2020-01-15 09:33:18 -08:00
Google APIs
360a8792ed Protos for v1p1beta1 release of Cloud Security Command Center
PiperOrigin-RevId: 289011995
2020-01-09 18:08:41 -08:00