Skip to content

Commit 35a2b9a

Browse files
authored
feat: update API sources and regenerate (#9481)
Update API sources and regenerate. ## Debug Info ### System Details - Node.js version: v22.23.2 - npm version: 10.9.8 - pnpm version: 10.0.0 - OS: Linux 7.1.6-1rodete1-amd64 x86_64 - Librarian version: v0.46.0 ### Commands Executed - `go run github.com/googleapis/librarian/cmd/librarian@v0.46.0 update sources.googleapis` - `go run github.com/googleapis/librarian/cmd/librarian@v0.46.0 generate --all` - `git add .` - `git commit -m "feat: update API sources and regenerate"` ### Included googleapis CLs **google/chat/v1** - http://cl/990680923 **google/cloud/aiplatform/v1beta1** - http://cl/990525310 **google/cloud/commerceproducer/v1beta** - http://cl/990614647 **google/cloud/compute/v1** - http://cl/990472754 **google/shopping/merchant/products/v1** - http://cl/990489149
1 parent 5f580f0 commit 35a2b9a

462 files changed

Lines changed: 51720 additions & 17371 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎librarian.yaml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ version: v0.46.0
1616
repo: googleapis/google-cloud-node
1717
sources:
1818
googleapis:
19-
commit: 5d2a5100759be0b6fe5a1d3ce5e025d53d8283f4
20-
sha256: 8b90727f378e5efd1fea9ea5592854dc9c3285e03fc96fcaf3027d97e9094c7d
19+
commit: 93d6085996d0b4ff7e7e86ca9945d5524bb380d1
20+
sha256: 2271ff64a808d6a9089d0f410d28fc9ce4dd35ffe6e1c2cf79dd9a8578ddc871
2121
tools:
2222
pnpm:
2323
- name: gapic-generator-typescript

‎packages/google-chat/protos/google/chat/v1/membership.proto‎

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -170,9 +170,11 @@ message Membership {
170170
// Optional. The Google Chat user or app the membership corresponds to.
171171
// If your Chat app [authenticates as a
172172
// user](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user),
173-
// the output populates the
173+
// the output only populates the
174174
// [user](https://developers.google.com/workspace/chat/api/reference/rest/v1/User)
175-
// `name` and `type`.
175+
// `name` and `type` fields for both internal and external users, unless
176+
// they are members of the space or have a prior affinity, like a direct
177+
// message (DM) conversation, with the calling user.
176178
User member = 3 [(google.api.field_behavior) = OPTIONAL];
177179

178180
// Optional. The Google Group the membership corresponds to.

‎packages/google-chat/protos/google/chat/v1/message.proto‎

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,9 +70,11 @@ message Message {
7070
// Output only. The user who created the message.
7171
// If your Chat app [authenticates as a
7272
// user](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user),
73-
// the output populates the
73+
// the output only populates the
7474
// [user](https://developers.google.com/workspace/chat/api/reference/rest/v1/User)
75-
// `name` and `type`.
75+
// `name` and `type` fields for both internal and external users, unless they
76+
// are members of the space or have a prior affinity, like a direct message
77+
// (DM) conversation, with the calling user.
7678
User sender = 2 [(google.api.field_behavior) = OUTPUT_ONLY];
7779

7880
// Optional. Immutable. For spaces created in Chat, the time at which the

‎packages/google-chat/protos/google/chat/v1/user.proto‎

Lines changed: 37 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,12 @@ option objc_class_prefix = "DYNAPIProto";
2727
option php_namespace = "Google\\Apps\\Chat\\V1";
2828
option ruby_package = "Google::Apps::Chat::V1";
2929

30-
// A user in Google Chat.
31-
// When returned as an output from a request, if your Chat app [authenticates as
32-
// a
30+
// If your Chat app [authenticates as a
3331
// user](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user),
34-
// the output for a `User` resource only populates the user's `name` and `type`.
32+
// the output for a `User` resource (such as in the Messages and Memberships
33+
// APIs) only populates the `name` and `type` fields for both internal and
34+
// external users, unless they are members of the space or have prior affinity
35+
// with the calling user.
3536
message User {
3637
enum Type {
3738
// Default value for the enum. DO NOT USE.
@@ -69,15 +70,46 @@ message User {
6970
string name = 1;
7071

7172
// Output only. The user's display name.
73+
//
74+
// Populated for both app authentication and user authentication.
75+
// This field is always populated for requests made with [app
76+
// authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app).
77+
// When calling the Messages and Memberships APIs with [user
78+
// authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user),
79+
// this field is populated for both internal and external users for the
80+
// `sender` of a message, users within `annotations` (such as user
81+
// mentions), and within `Membership` resources, provided the user is a
82+
// member of the space or has prior affinity with the calling user.
7283
string display_name = 2 [(google.api.field_behavior) = OUTPUT_ONLY];
7384

85+
// Output only. The user's avatar image URL.
86+
//
87+
// When calling the Messages and Memberships APIs with [user
88+
// authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user),
89+
// this field is populated for both internal and external users for the
90+
// `sender` of a message, users within `annotations` (such as user
91+
// mentions), and within `Membership` resources, provided the user is a
92+
// member of the space or has prior affinity with the calling user.
93+
string avatar_url = 3 [(google.api.field_behavior) = OUTPUT_ONLY];
94+
95+
// Output only. The user's email address.
96+
//
97+
// When calling the Messages and Memberships APIs with [user
98+
// authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user),
99+
// this field is populated for both internal and external users for the
100+
// `sender` of a message, users within `annotations` (such as user
101+
// mentions), and within `Membership` resources, provided the user is a
102+
// member of the space or has prior affinity with the calling user.
103+
string email = 4 [(google.api.field_behavior) = OUTPUT_ONLY];
104+
74105
// Unique identifier of the user's Google Workspace domain.
75106
string domain_id = 6;
76107

77108
// User type.
78109
Type type = 5;
79110

80111
// Output only. When `true`, the user is deleted or their profile is not
81-
// visible.
112+
// visible, such as when a user is mentioned in a space without being a member
113+
// and without prior affinity with the calling user.
82114
bool is_anonymous = 7 [(google.api.field_behavior) = OUTPUT_ONLY];
83115
}

‎packages/google-chat/protos/protos.d.ts‎

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14504,6 +14504,12 @@ export namespace google {
1450414504
/** User displayName */
1450514505
displayName?: (string|null);
1450614506

14507+
/** User avatarUrl */
14508+
avatarUrl?: (string|null);
14509+
14510+
/** User email */
14511+
email?: (string|null);
14512+
1450714513
/** User domainId */
1450814514
domainId?: (string|null);
1450914515

@@ -14529,6 +14535,12 @@ export namespace google {
1452914535
/** User displayName. */
1453014536
public displayName: string;
1453114537

14538+
/** User avatarUrl. */
14539+
public avatarUrl: string;
14540+
14541+
/** User email. */
14542+
public email: string;
14543+
1453214544
/** User domainId. */
1453314545
public domainId: string;
1453414546

‎packages/google-chat/protos/protos.js‎

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎packages/google-chat/protos/protos.json‎

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3675,6 +3675,20 @@
36753675
"(google.api.field_behavior)": "OUTPUT_ONLY"
36763676
}
36773677
},
3678+
"avatarUrl": {
3679+
"type": "string",
3680+
"id": 3,
3681+
"options": {
3682+
"(google.api.field_behavior)": "OUTPUT_ONLY"
3683+
}
3684+
},
3685+
"email": {
3686+
"type": "string",
3687+
"id": 4,
3688+
"options": {
3689+
"(google.api.field_behavior)": "OUTPUT_ONLY"
3690+
}
3691+
},
36783692
"domainId": {
36793693
"type": "string",
36803694
"id": 6

0 commit comments

Comments
 (0)