Skip to content

Commit

Permalink
feat: add EdgeCluster as a new membershipEndpoint type
Browse files Browse the repository at this point in the history
feat: add ApplianceCluster as a new membershipEndpoint type
feat: add c++ rules in BUILD file
doc: add API annotations
doc: minor changes on code and doc format

PiperOrigin-RevId: 451205950
  • Loading branch information
Google APIs authored and Copybara-Service committed May 26, 2022
1 parent b0c0dab commit 06f21c4
Show file tree
Hide file tree
Showing 3 changed files with 202 additions and 143 deletions.
25 changes: 24 additions & 1 deletion google/cloud/gkehub/v1beta1/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ proto_library_with_info(
deps = [
":gkehub_proto",
"//google/cloud:common_resources_proto",
"//google/cloud/location:location_proto",
"//google/iam/v1:iam_policy_proto",
],
)

Expand Down Expand Up @@ -75,12 +77,14 @@ java_gapic_library(
test_deps = [
":gkehub_java_grpc",
"//google/cloud/location:location_java_grpc",
"//google/iam/v1:iam_java_grpc",
],
deps = [
":gkehub_java_proto",
"//google/api:api_java_proto",
"//google/cloud/location:location_java_grpc",
"//google/cloud/location:location_java_proto",
"//google/iam/v1:iam_java_proto",
],
)

Expand Down Expand Up @@ -138,6 +142,8 @@ go_gapic_library(
service_yaml = "gkehub_v1beta1.yaml",
deps = [
":gkehub_go_proto",
"//google/cloud/location:location_go_proto",
"//google/iam/v1:iam_go_proto",
"//google/longrunning:longrunning_go_proto",
"@com_google_cloud_go//longrunning:go_default_library",
"@com_google_cloud_go//longrunning/autogen:go_default_library",
Expand Down Expand Up @@ -176,6 +182,7 @@ py_gapic_library(
srcs = [":gkehub_proto"],
grpc_service_config = "membership_grpc_service_config.json",
opt_args = ["warehouse-package-name=google-cloud-gke-hub"],
service_yaml = "gkehub_v1beta1.yaml",
)

# Open Source Packages
Expand Down Expand Up @@ -355,4 +362,20 @@ csharp_gapic_assembly_pkg(
##############################################################################
# C++
##############################################################################
# Put your C++ rules here
load(
"@com_google_googleapis_imports//:imports.bzl",
"cc_grpc_library",
"cc_proto_library",
)

cc_proto_library(
name = "gkehub_cc_proto",
deps = [":gkehub_proto"],
)

cc_grpc_library(
name = "gkehub_cc_grpc",
srcs = [":gkehub_proto"],
grpc_only = True,
deps = [":gkehub_cc_proto"],
)
3 changes: 3 additions & 0 deletions google/cloud/gkehub/v1beta1/gkehub_v1beta1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ title: GKE Hub API

apis:
- name: google.cloud.gkehub.v1beta1.GkeHubMembershipService
- name: google.cloud.location.Locations
- name: google.iam.v1.IAMPolicy
- name: google.longrunning.Operations

types:
- name: google.cloud.gkehub.v1beta1.OperationMetadata
Expand Down

0 comments on commit 06f21c4

Please sign in to comment.