Skip to content

Commit

Permalink
feat: add service_account_email for export subscriptions (googleapis#…
Browse files Browse the repository at this point in the history
…1927)

* feat: add service_account_email for export subscriptions

PiperOrigin-RevId: 638641437

Source-Link: googleapis/googleapis@a3016a8

Source-Link: https://github.com/googleapis/googleapis-gen/commit/2001c330aee62a9d4e8a9852d8e5bf2662818ad4
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiMjAwMWMzMzBhZWU2MmE5ZDRlOGE5ODUyZDhlNWJmMjY2MjgxOGFkNCJ9

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

---------

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
  • Loading branch information
gcf-owl-bot[bot] and gcf-owl-bot[bot] committed Jun 10, 2024
1 parent f052bae commit c532854
Show file tree
Hide file tree
Showing 4 changed files with 88 additions and 0 deletions.
16 changes: 16 additions & 0 deletions protos/google/pubsub/v1/pubsub.proto
Original file line number Diff line number Diff line change
Expand Up @@ -1141,6 +1141,14 @@ message BigQueryConfig {
// write to in BigQuery. `use_table_schema` and `use_topic_schema` cannot be
// enabled at the same time.
bool use_table_schema = 6 [(google.api.field_behavior) = OPTIONAL];

// Optional. The service account to use to write to BigQuery. The subscription
// creator or updater that specifies this field must have
// `iam.serviceAccounts.actAs` permission on the service account. If not
// specified, the Pub/Sub [service
// agent](https://cloud.google.com/iam/docs/service-agents),
// service-{project_number}@gcp-sa-pubsub.iam.gserviceaccount.com, is used.
string service_account_email = 7 [(google.api.field_behavior) = OPTIONAL];
}

// Configuration for a Cloud Storage subscription.
Expand Down Expand Up @@ -1227,6 +1235,14 @@ message CloudStorageConfig {
// Output only. An output-only field that indicates whether or not the
// subscription can receive messages.
State state = 9 [(google.api.field_behavior) = OUTPUT_ONLY];

// Optional. The service account to use to write to Cloud Storage. The
// subscription creator or updater that specifies this field must have
// `iam.serviceAccounts.actAs` permission on the service account. If not
// specified, the Pub/Sub
// [service agent](https://cloud.google.com/iam/docs/service-agents),
// service-{project_number}@gcp-sa-pubsub.iam.gserviceaccount.com, is used.
string service_account_email = 11 [(google.api.field_behavior) = OPTIONAL];
}

// A message and its corresponding acknowledgment ID.
Expand Down
12 changes: 12 additions & 0 deletions protos/protos.d.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

46 changes: 46 additions & 0 deletions protos/protos.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 14 additions & 0 deletions protos/protos.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit c532854

Please sign in to comment.