Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CHANGE ME] Re-generated to pick up changes in the API or client library generator. #66

Merged
merged 3 commits into from Apr 21, 2020
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
13 changes: 6 additions & 7 deletions google/cloud/pubsub_v1/gapic/publisher_client.py
Expand Up @@ -364,10 +364,9 @@ def update_topic(
message :class:`~google.cloud.pubsub_v1.types.Topic`
update_mask (Union[dict, ~google.cloud.pubsub_v1.types.FieldMask]): Required. Indicates which fields in the provided topic to update. Must
be specified and non-empty. Note that if ``update_mask`` contains
"message\_storage\_policy" then the new value will be determined based
on the policy configured at the project or organization level. The
``message_storage_policy`` must not be set in the ``topic`` provided
above.
"message\_storage\_policy" but the ``message_storage_policy`` is not set
in the ``topic`` provided above, then the updated value is determined by
the policy configured at the project or organization level.

If a dict is provided, it must be of the same form as the protobuf
message :class:`~google.cloud.pubsub_v1.types.FieldMask`
Expand Down Expand Up @@ -965,8 +964,8 @@ def set_iam_policy(
Sets the access control policy on the specified resource. Replaces
any existing policy.

Can return Public Errors: NOT_FOUND, INVALID_ARGUMENT and
PERMISSION_DENIED
Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED`
errors.

Example:
>>> from google.cloud import pubsub_v1
Expand Down Expand Up @@ -1130,7 +1129,7 @@ def test_iam_permissions(
"""
Returns permissions that a caller has on the specified resource. If the
resource does not exist, this will return an empty set of
permissions, not a NOT_FOUND error.
permissions, not a `NOT_FOUND` error.

Note: This operation is designed to be used for building
permission-aware UIs and command-line tools, not for authorization
Expand Down
9 changes: 3 additions & 6 deletions google/cloud/pubsub_v1/gapic/subscriber_client.py
Expand Up @@ -360,9 +360,6 @@ def create_subscription(
parent project (i.e.,
service-{project\_number}@gcp-sa-pubsub.iam.gserviceaccount.com) must
have permission to Acknowledge() messages on this subscription.
EXPERIMENTAL: This feature is part of a closed alpha release. This API
might be changed in backward-incompatible ways and is not recommended
for production use. It is not subject to any SLA or deprecation policy.

If a dict is provided, it must be of the same form as the protobuf
message :class:`~google.cloud.pubsub_v1.types.DeadLetterPolicy`
Expand Down Expand Up @@ -1749,8 +1746,8 @@ def set_iam_policy(
Sets the access control policy on the specified resource. Replaces
any existing policy.

Can return Public Errors: NOT_FOUND, INVALID_ARGUMENT and
PERMISSION_DENIED
Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED`
errors.

Example:
>>> from google.cloud import pubsub_v1
Expand Down Expand Up @@ -1914,7 +1911,7 @@ def test_iam_permissions(
"""
Returns permissions that a caller has on the specified resource. If the
resource does not exist, this will return an empty set of
permissions, not a NOT_FOUND error.
permissions, not a `NOT_FOUND` error.

Note: This operation is designed to be used for building
permission-aware UIs and command-line tools, not for authorization
Expand Down
Expand Up @@ -236,8 +236,8 @@ def set_iam_policy(self):
Sets the access control policy on the specified resource. Replaces
any existing policy.

Can return Public Errors: NOT_FOUND, INVALID_ARGUMENT and
PERMISSION_DENIED
Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED`
errors.

Returns:
Callable: A callable which accepts the appropriate
Expand Down Expand Up @@ -266,7 +266,7 @@ def test_iam_permissions(self):

Returns permissions that a caller has on the specified resource. If the
resource does not exist, this will return an empty set of
permissions, not a NOT_FOUND error.
permissions, not a `NOT_FOUND` error.

Note: This operation is designed to be used for building
permission-aware UIs and command-line tools, not for authorization
Expand Down
Expand Up @@ -409,8 +409,8 @@ def set_iam_policy(self):
Sets the access control policy on the specified resource. Replaces
any existing policy.

Can return Public Errors: NOT_FOUND, INVALID_ARGUMENT and
PERMISSION_DENIED
Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED`
errors.

Returns:
Callable: A callable which accepts the appropriate
Expand Down Expand Up @@ -439,7 +439,7 @@ def test_iam_permissions(self):

Returns permissions that a caller has on the specified resource. If the
resource does not exist, this will return an empty set of
permissions, not a NOT_FOUND error.
permissions, not a `NOT_FOUND` error.

Note: This operation is designed to be used for building
permission-aware UIs and command-line tools, not for authorization
Expand Down
11 changes: 4 additions & 7 deletions google/cloud/pubsub_v1/proto/pubsub.proto
Expand Up @@ -222,9 +222,9 @@ message UpdateTopicRequest {

// Required. Indicates which fields in the provided topic to update. Must be
// specified and non-empty. Note that if `update_mask` contains
// "message_storage_policy" then the new value will be determined based on the
// policy configured at the project or organization level. The
// `message_storage_policy` must not be set in the `topic` provided above.
// "message_storage_policy" but the `message_storage_policy` is not set in
// the `topic` provided above, then the updated value is determined by the
// policy configured at the project or organization level.
google.protobuf.FieldMask update_mask = 2
[(google.api.field_behavior) = REQUIRED];
}
Expand Down Expand Up @@ -689,9 +689,6 @@ message Subscription {
// parent project (i.e.,
// service-{project_number}@gcp-sa-pubsub.iam.gserviceaccount.com) must have
// permission to Acknowledge() messages on this subscription.
// <b>EXPERIMENTAL:</b> This feature is part of a closed alpha release. This
// API might be changed in backward-incompatible ways and is not recommended
// for production use. It is not subject to any SLA or deprecation policy.
DeadLetterPolicy dead_letter_policy = 13;

// A policy that specifies how Cloud Pub/Sub retries message delivery for this
Expand Down Expand Up @@ -796,7 +793,7 @@ message PushConfig {
}

// A URL locating the endpoint to which messages should be pushed.
// For example, a Webhook endpoint might use "https://example.com/push".
// For example, a Webhook endpoint might use `https://example.com/push`.
string push_endpoint = 1;

// Endpoint configuration attributes that can be used to control different
Expand Down