diff --git a/proto-google-cloud-billingbudgets-v1beta1/src/main/java/com/google/cloud/billing/budgets/v1beta1/AllUpdatesRule.java b/proto-google-cloud-billingbudgets-v1beta1/src/main/java/com/google/cloud/billing/budgets/v1beta1/AllUpdatesRule.java index 5b3d5059..858e7a9a 100644 --- a/proto-google-cloud-billingbudgets-v1beta1/src/main/java/com/google/cloud/billing/budgets/v1beta1/AllUpdatesRule.java +++ b/proto-google-cloud-billingbudgets-v1beta1/src/main/java/com/google/cloud/billing/budgets/v1beta1/AllUpdatesRule.java @@ -123,14 +123,11 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * *
    * Required. The name of the Cloud Pub/Sub topic where budget related messages will be
-   * published, in the form `projects/{project_id}/topics/{topic_id}`.
-   * Updates are sent at regular intervals to the topic.
-   * When a topic is set for a budget, the `pubsub.topics.publish` IAM
-   * permission must be granted on the topic (or the parent project of the
-   * topic) to `billing-budget-alert@system.gserviceaccount.com`.
-   * If this permission is not present when a topic is provided at the time of
-   * budget creation or updating, the API call will fail with PERMISSION_DENIED.
-   * See https://cloud.google.com/pubsub/docs/access-control for more details on
+   * published, in the form `projects/{project_id}/topics/{topic_id}`. Updates
+   * are sent at regular intervals to the topic. Caller is expected to have
+   * `pubsub.topics.setIamPolicy` permission on the topic when it's set for a
+   * budget, otherwise, the API call will fail with PERMISSION_DENIED. See
+   * https://cloud.google.com/pubsub/docs/access-control for more details on
    * Pub/Sub roles and permissions.
    * 
* @@ -152,14 +149,11 @@ public java.lang.String getPubsubTopic() { * *
    * Required. The name of the Cloud Pub/Sub topic where budget related messages will be
-   * published, in the form `projects/{project_id}/topics/{topic_id}`.
-   * Updates are sent at regular intervals to the topic.
-   * When a topic is set for a budget, the `pubsub.topics.publish` IAM
-   * permission must be granted on the topic (or the parent project of the
-   * topic) to `billing-budget-alert@system.gserviceaccount.com`.
-   * If this permission is not present when a topic is provided at the time of
-   * budget creation or updating, the API call will fail with PERMISSION_DENIED.
-   * See https://cloud.google.com/pubsub/docs/access-control for more details on
+   * published, in the form `projects/{project_id}/topics/{topic_id}`. Updates
+   * are sent at regular intervals to the topic. Caller is expected to have
+   * `pubsub.topics.setIamPolicy` permission on the topic when it's set for a
+   * budget, otherwise, the API call will fail with PERMISSION_DENIED. See
+   * https://cloud.google.com/pubsub/docs/access-control for more details on
    * Pub/Sub roles and permissions.
    * 
* @@ -567,14 +561,11 @@ public Builder mergeFrom( * *
      * Required. The name of the Cloud Pub/Sub topic where budget related messages will be
-     * published, in the form `projects/{project_id}/topics/{topic_id}`.
-     * Updates are sent at regular intervals to the topic.
-     * When a topic is set for a budget, the `pubsub.topics.publish` IAM
-     * permission must be granted on the topic (or the parent project of the
-     * topic) to `billing-budget-alert@system.gserviceaccount.com`.
-     * If this permission is not present when a topic is provided at the time of
-     * budget creation or updating, the API call will fail with PERMISSION_DENIED.
-     * See https://cloud.google.com/pubsub/docs/access-control for more details on
+     * published, in the form `projects/{project_id}/topics/{topic_id}`. Updates
+     * are sent at regular intervals to the topic. Caller is expected to have
+     * `pubsub.topics.setIamPolicy` permission on the topic when it's set for a
+     * budget, otherwise, the API call will fail with PERMISSION_DENIED. See
+     * https://cloud.google.com/pubsub/docs/access-control for more details on
      * Pub/Sub roles and permissions.
      * 
* @@ -596,14 +587,11 @@ public java.lang.String getPubsubTopic() { * *
      * Required. The name of the Cloud Pub/Sub topic where budget related messages will be
-     * published, in the form `projects/{project_id}/topics/{topic_id}`.
-     * Updates are sent at regular intervals to the topic.
-     * When a topic is set for a budget, the `pubsub.topics.publish` IAM
-     * permission must be granted on the topic (or the parent project of the
-     * topic) to `billing-budget-alert@system.gserviceaccount.com`.
-     * If this permission is not present when a topic is provided at the time of
-     * budget creation or updating, the API call will fail with PERMISSION_DENIED.
-     * See https://cloud.google.com/pubsub/docs/access-control for more details on
+     * published, in the form `projects/{project_id}/topics/{topic_id}`. Updates
+     * are sent at regular intervals to the topic. Caller is expected to have
+     * `pubsub.topics.setIamPolicy` permission on the topic when it's set for a
+     * budget, otherwise, the API call will fail with PERMISSION_DENIED. See
+     * https://cloud.google.com/pubsub/docs/access-control for more details on
      * Pub/Sub roles and permissions.
      * 
* @@ -625,14 +613,11 @@ public com.google.protobuf.ByteString getPubsubTopicBytes() { * *
      * Required. The name of the Cloud Pub/Sub topic where budget related messages will be
-     * published, in the form `projects/{project_id}/topics/{topic_id}`.
-     * Updates are sent at regular intervals to the topic.
-     * When a topic is set for a budget, the `pubsub.topics.publish` IAM
-     * permission must be granted on the topic (or the parent project of the
-     * topic) to `billing-budget-alert@system.gserviceaccount.com`.
-     * If this permission is not present when a topic is provided at the time of
-     * budget creation or updating, the API call will fail with PERMISSION_DENIED.
-     * See https://cloud.google.com/pubsub/docs/access-control for more details on
+     * published, in the form `projects/{project_id}/topics/{topic_id}`. Updates
+     * are sent at regular intervals to the topic. Caller is expected to have
+     * `pubsub.topics.setIamPolicy` permission on the topic when it's set for a
+     * budget, otherwise, the API call will fail with PERMISSION_DENIED. See
+     * https://cloud.google.com/pubsub/docs/access-control for more details on
      * Pub/Sub roles and permissions.
      * 
* @@ -652,14 +637,11 @@ public Builder setPubsubTopic(java.lang.String value) { * *
      * Required. The name of the Cloud Pub/Sub topic where budget related messages will be
-     * published, in the form `projects/{project_id}/topics/{topic_id}`.
-     * Updates are sent at regular intervals to the topic.
-     * When a topic is set for a budget, the `pubsub.topics.publish` IAM
-     * permission must be granted on the topic (or the parent project of the
-     * topic) to `billing-budget-alert@system.gserviceaccount.com`.
-     * If this permission is not present when a topic is provided at the time of
-     * budget creation or updating, the API call will fail with PERMISSION_DENIED.
-     * See https://cloud.google.com/pubsub/docs/access-control for more details on
+     * published, in the form `projects/{project_id}/topics/{topic_id}`. Updates
+     * are sent at regular intervals to the topic. Caller is expected to have
+     * `pubsub.topics.setIamPolicy` permission on the topic when it's set for a
+     * budget, otherwise, the API call will fail with PERMISSION_DENIED. See
+     * https://cloud.google.com/pubsub/docs/access-control for more details on
      * Pub/Sub roles and permissions.
      * 
* @@ -676,14 +658,11 @@ public Builder clearPubsubTopic() { * *
      * Required. The name of the Cloud Pub/Sub topic where budget related messages will be
-     * published, in the form `projects/{project_id}/topics/{topic_id}`.
-     * Updates are sent at regular intervals to the topic.
-     * When a topic is set for a budget, the `pubsub.topics.publish` IAM
-     * permission must be granted on the topic (or the parent project of the
-     * topic) to `billing-budget-alert@system.gserviceaccount.com`.
-     * If this permission is not present when a topic is provided at the time of
-     * budget creation or updating, the API call will fail with PERMISSION_DENIED.
-     * See https://cloud.google.com/pubsub/docs/access-control for more details on
+     * published, in the form `projects/{project_id}/topics/{topic_id}`. Updates
+     * are sent at regular intervals to the topic. Caller is expected to have
+     * `pubsub.topics.setIamPolicy` permission on the topic when it's set for a
+     * budget, otherwise, the API call will fail with PERMISSION_DENIED. See
+     * https://cloud.google.com/pubsub/docs/access-control for more details on
      * Pub/Sub roles and permissions.
      * 
* diff --git a/proto-google-cloud-billingbudgets-v1beta1/src/main/java/com/google/cloud/billing/budgets/v1beta1/AllUpdatesRuleOrBuilder.java b/proto-google-cloud-billingbudgets-v1beta1/src/main/java/com/google/cloud/billing/budgets/v1beta1/AllUpdatesRuleOrBuilder.java index bd2dd5a5..f7f5d1bc 100644 --- a/proto-google-cloud-billingbudgets-v1beta1/src/main/java/com/google/cloud/billing/budgets/v1beta1/AllUpdatesRuleOrBuilder.java +++ b/proto-google-cloud-billingbudgets-v1beta1/src/main/java/com/google/cloud/billing/budgets/v1beta1/AllUpdatesRuleOrBuilder.java @@ -28,14 +28,11 @@ public interface AllUpdatesRuleOrBuilder * *
    * Required. The name of the Cloud Pub/Sub topic where budget related messages will be
-   * published, in the form `projects/{project_id}/topics/{topic_id}`.
-   * Updates are sent at regular intervals to the topic.
-   * When a topic is set for a budget, the `pubsub.topics.publish` IAM
-   * permission must be granted on the topic (or the parent project of the
-   * topic) to `billing-budget-alert@system.gserviceaccount.com`.
-   * If this permission is not present when a topic is provided at the time of
-   * budget creation or updating, the API call will fail with PERMISSION_DENIED.
-   * See https://cloud.google.com/pubsub/docs/access-control for more details on
+   * published, in the form `projects/{project_id}/topics/{topic_id}`. Updates
+   * are sent at regular intervals to the topic. Caller is expected to have
+   * `pubsub.topics.setIamPolicy` permission on the topic when it's set for a
+   * budget, otherwise, the API call will fail with PERMISSION_DENIED. See
+   * https://cloud.google.com/pubsub/docs/access-control for more details on
    * Pub/Sub roles and permissions.
    * 
* @@ -47,14 +44,11 @@ public interface AllUpdatesRuleOrBuilder * *
    * Required. The name of the Cloud Pub/Sub topic where budget related messages will be
-   * published, in the form `projects/{project_id}/topics/{topic_id}`.
-   * Updates are sent at regular intervals to the topic.
-   * When a topic is set for a budget, the `pubsub.topics.publish` IAM
-   * permission must be granted on the topic (or the parent project of the
-   * topic) to `billing-budget-alert@system.gserviceaccount.com`.
-   * If this permission is not present when a topic is provided at the time of
-   * budget creation or updating, the API call will fail with PERMISSION_DENIED.
-   * See https://cloud.google.com/pubsub/docs/access-control for more details on
+   * published, in the form `projects/{project_id}/topics/{topic_id}`. Updates
+   * are sent at regular intervals to the topic. Caller is expected to have
+   * `pubsub.topics.setIamPolicy` permission on the topic when it's set for a
+   * budget, otherwise, the API call will fail with PERMISSION_DENIED. See
+   * https://cloud.google.com/pubsub/docs/access-control for more details on
    * Pub/Sub roles and permissions.
    * 
* diff --git a/proto-google-cloud-billingbudgets-v1beta1/src/main/proto/google/cloud/billing/budgets/v1beta1/budget_model.proto b/proto-google-cloud-billingbudgets-v1beta1/src/main/proto/google/cloud/billing/budgets/v1beta1/budget_model.proto index 0a885331..e7d5ca2b 100644 --- a/proto-google-cloud-billingbudgets-v1beta1/src/main/proto/google/cloud/billing/budgets/v1beta1/budget_model.proto +++ b/proto-google-cloud-billingbudgets-v1beta1/src/main/proto/google/cloud/billing/budgets/v1beta1/budget_model.proto @@ -124,14 +124,11 @@ message ThresholdRule { // threshold rules. message AllUpdatesRule { // Required. The name of the Cloud Pub/Sub topic where budget related messages will be - // published, in the form `projects/{project_id}/topics/{topic_id}`. - // Updates are sent at regular intervals to the topic. - // When a topic is set for a budget, the `pubsub.topics.publish` IAM - // permission must be granted on the topic (or the parent project of the - // topic) to `billing-budget-alert@system.gserviceaccount.com`. - // If this permission is not present when a topic is provided at the time of - // budget creation or updating, the API call will fail with PERMISSION_DENIED. - // See https://cloud.google.com/pubsub/docs/access-control for more details on + // published, in the form `projects/{project_id}/topics/{topic_id}`. Updates + // are sent at regular intervals to the topic. Caller is expected to have + // `pubsub.topics.setIamPolicy` permission on the topic when it's set for a + // budget, otherwise, the API call will fail with PERMISSION_DENIED. See + // https://cloud.google.com/pubsub/docs/access-control for more details on // Pub/Sub roles and permissions. string pubsub_topic = 1 [(google.api.field_behavior) = REQUIRED]; diff --git a/synth.metadata b/synth.metadata index da60a1f8..dfd86f48 100644 --- a/synth.metadata +++ b/synth.metadata @@ -1,19 +1,19 @@ { - "updateTime": "2019-10-30T22:42:47.890284Z", + "updateTime": "2019-11-11T21:10:32.302489Z", "sources": [ { "generator": { "name": "artman", - "version": "0.41.0", - "dockerImage": "googleapis/artman@sha256:75b38a3b073a7b243545f2332463096624c802bb1e56b8cb6f22ba1ecd325fa9" + "version": "0.41.1", + "dockerImage": "googleapis/artman@sha256:545c758c76c3f779037aa259023ec3d1ef2d57d2c8cd00a222cb187d63ceac5e" } }, { "git": { "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", - "sha": "4e952e7e2bb0dd2ef389d552d48f44c8dc4b5f8f", - "internalRef": "277595731" + "sha": "f69562be0608904932bdcfbc5ad8b9a22d9dceb8", + "internalRef": "279774957" } }, {