Python: update python target paths and dlp init fields. (#430)
This commit is contained in:
parent
09d3614674
commit
ea8ba443cd
|
|
@ -64,8 +64,8 @@ python:
|
|||
python:
|
||||
location: git@github.com:GoogleCloudPlatform/google-cloud-python.git
|
||||
paths:
|
||||
- src: google/cloud/gapic
|
||||
dest: bigtable/google/cloud/gapic
|
||||
- src: google/cloud/bigtable_v2
|
||||
dest: bigtable/google/cloud/bigtable_v2
|
||||
- src: tests/unit/gapic/v1
|
||||
dest: bigtable/tests/gapic
|
||||
- artifact: grpc
|
||||
|
|
|
|||
|
|
@ -68,8 +68,8 @@ python:
|
|||
python:
|
||||
location: git@github.com:GoogleCloudPlatform/google-cloud-python.git
|
||||
paths:
|
||||
- src: google/cloud/gapic
|
||||
dest: datastore/google/cloud/gapic
|
||||
- src: google/cloud/datastore_v1
|
||||
dest: datastore/google/cloud/datastore_v1
|
||||
- src: tests/unit/gapic/v1
|
||||
dest: datastore/tests/gapic
|
||||
- artifact: grpc
|
||||
|
|
|
|||
|
|
@ -53,10 +53,8 @@ python:
|
|||
python:
|
||||
location: git@github.com:GoogleCloudPlatform/google-cloud-python.git
|
||||
paths:
|
||||
- src: google/cloud/gapic
|
||||
dest: dlp/google/cloud/gapic
|
||||
- src: tests/unit/gapic/v2beta1
|
||||
dest: dlp/tests/gapic
|
||||
- src: .
|
||||
dest: dlp
|
||||
- artifact: grpc
|
||||
src: google/cloud/proto
|
||||
dest: dlp/google/cloud/proto
|
||||
|
|
|
|||
|
|
@ -68,8 +68,8 @@ python:
|
|||
python:
|
||||
location: git@github.com:GoogleCloudPlatform/google-cloud-python.git
|
||||
paths:
|
||||
- src: google/cloud/gapic
|
||||
dest: errorreporting/google/cloud/gapic
|
||||
- src: google/cloud/errorreporting_v1beta1
|
||||
dest: errorreporting/google/cloud/errorreporting_v1beta1
|
||||
- src: tests/unit/gapic/v1beta1
|
||||
dest: errorreporting/tests/gapic
|
||||
- artifact: grpc
|
||||
|
|
|
|||
|
|
@ -71,8 +71,8 @@ python:
|
|||
python:
|
||||
location: git@github.com:GoogleCloudPlatform/google-cloud-python.git
|
||||
paths:
|
||||
- src: google/cloud/gapic
|
||||
dest: language/google/cloud/gapic
|
||||
- src: google/cloud/language_v1
|
||||
dest: language/google/cloud/language_v1
|
||||
- src: tests/unit/gapic/v1
|
||||
dest: language/tests/gapic
|
||||
- artifact: grpc
|
||||
|
|
|
|||
|
|
@ -71,8 +71,8 @@ python:
|
|||
python:
|
||||
location: git@github.com:GoogleCloudPlatform/google-cloud-python.git
|
||||
paths:
|
||||
- src: google/cloud/gapic/language/v1beta2
|
||||
dest: language/google/cloud/gapic/language/v1beta2
|
||||
- src: google/cloud/language_v1beta2
|
||||
dest: language/google/cloud/language_v1beta2
|
||||
- src: tests/unit/gapic/v1beta2
|
||||
dest: language/tests/gapic
|
||||
- artifact: grpc
|
||||
|
|
|
|||
|
|
@ -73,8 +73,8 @@ python:
|
|||
python:
|
||||
location: git@github.com:GoogleCloudPlatform/google-cloud-python.git
|
||||
paths:
|
||||
- src: google/cloud/gapic
|
||||
dest: logging/google/cloud/gapic
|
||||
- src: google/cloud/logging_v2
|
||||
dest: logging/google/cloud/logging_v2
|
||||
- src: tests/unit/gapic/v2
|
||||
dest: logging/tests/gapic
|
||||
- artifact: grpc
|
||||
|
|
|
|||
|
|
@ -71,8 +71,8 @@ python:
|
|||
python:
|
||||
location: git@github.com:GoogleCloudPlatform/google-cloud-python.git
|
||||
paths:
|
||||
- src: google/cloud/gapic
|
||||
dest: monitoring/google/cloud/gapic
|
||||
- src: google/cloud/monitoring_v3
|
||||
dest: monitoring/google/cloud/monitoring_v3
|
||||
- src: tests/unit/gapic/v3
|
||||
dest: monitoring/tests/gapic
|
||||
- artifact: grpc
|
||||
|
|
|
|||
|
|
@ -73,8 +73,8 @@ python:
|
|||
python:
|
||||
location: git@github.com:GoogleCloudPlatform/google-cloud-python.git
|
||||
paths:
|
||||
- src: google/cloud/gapic
|
||||
dest: pubsub/google/cloud/gapic
|
||||
- src: google/cloud/pubsub_v1
|
||||
dest: pubsub/google/cloud/pubsub_v1
|
||||
- src: tests/unit/gapic/v1
|
||||
dest: pubsub/tests/gapic
|
||||
- artifact: grpc
|
||||
|
|
|
|||
|
|
@ -68,8 +68,8 @@ python:
|
|||
python:
|
||||
location: git@github.com:GoogleCloudPlatform/google-cloud-python.git
|
||||
paths:
|
||||
- src: google/cloud/gapic
|
||||
dest: spanner/google/cloud/gapic
|
||||
- src: google/cloud/spanner_v1
|
||||
dest: spanner/google/cloud/spanner_v1
|
||||
- src: tests/unit/gapic/v1
|
||||
dest: spanner/tests/gapic
|
||||
- artifact: grpc
|
||||
|
|
|
|||
|
|
@ -71,8 +71,8 @@ python:
|
|||
python:
|
||||
location: git@github.com:GoogleCloudPlatform/google-cloud-python.git
|
||||
paths:
|
||||
- src: google/cloud/gapic
|
||||
dest: speech/google/cloud/gapic
|
||||
- src: google/cloud/speech_v1
|
||||
dest: speech/google/cloud/speech_v1
|
||||
- src: tests/unit/gapic/v1
|
||||
dest: speech/tests/gapic
|
||||
- artifact: grpc
|
||||
|
|
|
|||
|
|
@ -61,8 +61,8 @@ python:
|
|||
python:
|
||||
location: git@github.com:GoogleCloudPlatform/google-cloud-python.git
|
||||
paths:
|
||||
- src: google/cloud/gapic/speech/v1beta1
|
||||
dest: speech/google/cloud/gapic/speech/v1beta1
|
||||
- src: google/cloud/speech_v1beta1
|
||||
dest: speech/google/cloud/speech_v1beta1
|
||||
- src: tests/unit/gapic/v1beta1
|
||||
dest: speech/tests/gapic
|
||||
- artifact: grpc
|
||||
|
|
|
|||
|
|
@ -67,8 +67,8 @@ python:
|
|||
python:
|
||||
location: git@github.com:GoogleCloudPlatform/google-cloud-python.git
|
||||
paths:
|
||||
- src: google/cloud/gapic
|
||||
dest: trace/google/cloud/gapic
|
||||
- src: google/cloud/trace_v1
|
||||
dest: trace/google/cloud/trace_v1
|
||||
- src: tests/unit/gapic/v1
|
||||
dest: trace/tests/gapic
|
||||
- artifact: grpc
|
||||
|
|
|
|||
|
|
@ -78,10 +78,6 @@ python:
|
|||
python:
|
||||
location: git@github.com:GoogleCloudPlatform/google-cloud-python.git
|
||||
paths:
|
||||
- src: google/cloud/gapic
|
||||
dest: videointelligence/google/cloud/gapic
|
||||
- src: tests/unit/gapic/v1beta1
|
||||
dest: videointelligence/tests/gapic
|
||||
- artifact: grpc
|
||||
src: google/cloud/proto
|
||||
dest: videointelligence/google/cloud/proto
|
||||
|
|
|
|||
|
|
@ -77,8 +77,8 @@ python:
|
|||
python:
|
||||
location: git@github.com:GoogleCloudPlatform/google-cloud-python.git
|
||||
paths:
|
||||
- src: google/cloud/gapic
|
||||
dest: vision/google/cloud/gapic
|
||||
- src: google/cloud/vision_v1
|
||||
dest: vision/google/cloud/vision_v1
|
||||
- src: tests/unit/gapic/v1
|
||||
dest: vision/tests/gapic
|
||||
- artifact: grpc
|
||||
|
|
|
|||
|
|
@ -59,6 +59,10 @@ interfaces:
|
|||
retry_codes_name: non_idempotent
|
||||
retry_params_name: default
|
||||
timeout_millis: 60000
|
||||
sample_code_init_fields:
|
||||
- inspect_config.info_types[0].name="EMAIL_ADDRESS"
|
||||
- items[0].type="text/plain"
|
||||
- items[0].value="My email is example@example.com."
|
||||
- name: RedactContent
|
||||
flattening:
|
||||
groups:
|
||||
|
|
@ -74,6 +78,12 @@ interfaces:
|
|||
retry_codes_name: non_idempotent
|
||||
retry_params_name: default
|
||||
timeout_millis: 60000
|
||||
sample_code_init_fields:
|
||||
- inspect_config.info_types[0].name="EMAIL_ADDRESS"
|
||||
- items[0].type="text/plain"
|
||||
- items[0].value="My email is example@example.com."
|
||||
- replace_configs[0].info_type.name="EMAIL_ADDRESS"
|
||||
- replace_configs[0].replace_with="REDACTED"
|
||||
- name: CreateInspectOperation
|
||||
flattening:
|
||||
groups:
|
||||
|
|
@ -96,6 +106,9 @@ interfaces:
|
|||
retry_codes_name: non_idempotent
|
||||
retry_params_name: default
|
||||
timeout_millis: 60000
|
||||
sample_code_init_fields:
|
||||
- inspect_config.info_types[0].name="EMAIL_ADDRESS"
|
||||
- storage_config.cloud_storage_options.file_set.url="gs://example_bucket/example_file.png"
|
||||
- name: ListInspectFindings
|
||||
flattening:
|
||||
groups:
|
||||
|
|
@ -123,6 +136,9 @@ interfaces:
|
|||
retry_codes_name: idempotent
|
||||
retry_params_name: default
|
||||
timeout_millis: 60000
|
||||
sample_code_init_fields:
|
||||
- category="PII"
|
||||
- language_code="en"
|
||||
- name: ListRootCategories
|
||||
flattening:
|
||||
groups:
|
||||
|
|
@ -134,6 +150,8 @@ interfaces:
|
|||
retry_codes_name: idempotent
|
||||
retry_params_name: default
|
||||
timeout_millis: 60000
|
||||
sample_code_init_fields:
|
||||
- language_code="en"
|
||||
resource_name_generation:
|
||||
- message_name: InspectOperationResult
|
||||
field_entity_map:
|
||||
|
|
|
|||
Loading…
Reference in New Issue