Skip to content

Commit 436a34a

Browse files
Google APIscopybara-github
authored andcommitted
docs:card proto update
feat: material icon in card PiperOrigin-RevId: 624942359
1 parent 113a378 commit 436a34a

3 files changed

Lines changed: 275 additions & 165 deletions

File tree

google/apps/card/v1/BUILD.bazel

Lines changed: 30 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# This file was automatically generated by BuildFileGenerator
22

3+
# buildifier: disable=load-on-top
4+
35
# This is an API workspace, having public visibility by default makes perfect sense.
46
package(default_visibility = ["//visibility:public"])
57

@@ -21,6 +23,7 @@ proto_library(
2123
##############################################################################
2224
# Java
2325
##############################################################################
26+
# buildifier: disable=same-origin-load
2427
load(
2528
"@com_google_googleapis_imports//:imports.bzl",
2629
"java_proto_library",
@@ -44,6 +47,7 @@ java_gapic_assembly_gradle_pkg(
4447
##############################################################################
4548
# Go
4649
##############################################################################
50+
# buildifier: disable=same-origin-load
4751
load(
4852
"@com_google_googleapis_imports//:imports.bzl",
4953
"go_proto_library",
@@ -70,28 +74,45 @@ go_gapic_assembly_pkg(
7074
##############################################################################
7175
# Python
7276
##############################################################################
77+
# buildifier: disable=same-origin-load
7378
load(
7479
"@com_google_googleapis_imports//:imports.bzl",
75-
"py_gapic_assembly_pkg",
76-
"py_gapic_library",
80+
"moved_proto_library",
81+
"py_grpc_library",
7782
"py_proto_library",
83+
"py_gapic_library",
84+
"py_gapic_assembly_pkg",
85+
)
86+
87+
moved_proto_library(
88+
name = "card_moved_proto",
89+
srcs = [":card_proto"],
90+
deps = [
91+
"//google/type:color_proto",
92+
],
7893
)
7994

8095
py_proto_library(
8196
name = "card_py_proto",
82-
deps = [":card_proto"],
97+
deps = [":card_moved_proto"],
98+
)
99+
100+
py_grpc_library(
101+
name = "card_py_grpc",
102+
srcs = [":card_moved_proto"],
103+
deps = [":card_py_proto"],
83104
)
84105

85106
py_gapic_library(
86107
name = "card_py_gapic",
87108
srcs = [":card_proto"],
88109
rest_numeric_enums = False,
89-
transport = "grpc",
110+
transport = "grpc+rest",
90111
)
91112

92113
# Open Source Packages
93114
py_gapic_assembly_pkg(
94-
name = "card-v1-py",
115+
name = "google-apps-card-v1-py",
95116
deps = [
96117
":card_py_gapic",
97118
],
@@ -100,6 +121,7 @@ py_gapic_assembly_pkg(
100121
##############################################################################
101122
# PHP
102123
##############################################################################
124+
# buildifier: disable=same-origin-load
103125
load(
104126
"@com_google_googleapis_imports//:imports.bzl",
105127
"php_gapic_assembly_pkg",
@@ -121,6 +143,7 @@ php_gapic_assembly_pkg(
121143
##############################################################################
122144
# Ruby
123145
##############################################################################
146+
# buildifier: disable=same-origin-load
124147
load(
125148
"@com_google_googleapis_imports//:imports.bzl",
126149
"ruby_grpc_library",
@@ -141,6 +164,7 @@ ruby_grpc_library(
141164
##############################################################################
142165
# C#
143166
##############################################################################
167+
# buildifier: disable=same-origin-load
144168
load(
145169
"@com_google_googleapis_imports//:imports.bzl",
146170
"csharp_proto_library",
@@ -165,6 +189,7 @@ csharp_gapic_assembly_pkg(
165189
##############################################################################
166190
# C++
167191
##############################################################################
192+
# buildifier: disable=same-origin-load
168193
load(
169194
"@com_google_googleapis_imports//:imports.bzl",
170195
"cc_grpc_library",

google/apps/card/v1/README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Card
2+
3+
These protos represent the Card interface displayed in a Google Chat message or Google Workspace Add-on.

0 commit comments

Comments
 (0)