Skip to content

Commit

Permalink
docs: Updated comment for method ListCustomers in service `CloudCon…
Browse files Browse the repository at this point in the history
…trolsPartnerCore`

docs: Updated comment for field `location` in message `.google.cloud.cloudcontrolspartner.v1beta.Workload`
docs: Updated a comment for field `partner_project_id` in message `.google.cloud.cloudcontrolspartner.v1beta.Partner`
docs: Updated documentation URL

PiperOrigin-RevId: 609026905
  • Loading branch information
Google APIs authored and Copybara-Service committed Feb 21, 2024
1 parent 4d70a58 commit 9e35c62
Show file tree
Hide file tree
Showing 5 changed files with 45 additions and 13 deletions.
13 changes: 5 additions & 8 deletions google/cloud/cloudcontrolspartner/v1beta/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -104,14 +104,14 @@ java_gapic_test(
# Open Source Packages
java_gapic_assembly_gradle_pkg(
name = "google-cloud-cloudcontrolspartner-v1beta-java",
include_samples = True,
transport = "grpc+rest",
deps = [
":cloudcontrolspartner_java_gapic",
":cloudcontrolspartner_java_grpc",
":cloudcontrolspartner_java_proto",
":cloudcontrolspartner_proto",
],
include_samples = True,
)

##############################################################################
Expand Down Expand Up @@ -155,9 +155,9 @@ go_gapic_assembly_pkg(
name = "gapi-cloud-cloudcontrolspartner-v1beta-go",
deps = [
":cloudcontrolspartner_go_gapic",
":cloudcontrolspartner_go_gapic_srcjar-test.srcjar",
":cloudcontrolspartner_go_gapic_srcjar-metadata.srcjar",
":cloudcontrolspartner_go_gapic_srcjar-snippets.srcjar",
":cloudcontrolspartner_go_gapic_srcjar-test.srcjar",
":cloudcontrolspartner_go_proto",
],
)
Expand Down Expand Up @@ -220,8 +220,8 @@ php_gapic_library(
name = "cloudcontrolspartner_php_gapic",
srcs = [":cloudcontrolspartner_proto_with_info"],
grpc_service_config = "cloudcontrolspartner_v1beta_grpc_service_config.json",
rest_numeric_enums = True,
migration_mode = "NEW_SURFACE_ONLY",
rest_numeric_enums = True,
service_yaml = "cloudcontrolspartner_v1beta.yaml",
transport = "grpc+rest",
deps = [
Expand Down Expand Up @@ -273,8 +273,8 @@ nodejs_gapic_assembly_pkg(
##############################################################################
load(
"@com_google_googleapis_imports//:imports.bzl",
"ruby_gapic_assembly_pkg",
"ruby_cloud_gapic_library",
"ruby_gapic_assembly_pkg",
"ruby_grpc_library",
"ruby_proto_library",
)
Expand All @@ -293,9 +293,7 @@ ruby_grpc_library(
ruby_cloud_gapic_library(
name = "cloudcontrolspartner_ruby_gapic",
srcs = [":cloudcontrolspartner_proto_with_info"],
extra_protoc_parameters = [
"ruby-cloud-gem-name=google-cloud-cloudcontrolspartner-v1beta",
],
extra_protoc_parameters = ["ruby-cloud-gem-name=google-cloud-cloudcontrolspartner-v1beta"],
grpc_service_config = "cloudcontrolspartner_v1beta_grpc_service_config.json",
rest_numeric_enums = True,
service_yaml = "cloudcontrolspartner_v1beta.yaml",
Expand Down Expand Up @@ -329,7 +327,6 @@ load(

csharp_proto_library(
name = "cloudcontrolspartner_csharp_proto",
extra_opts = [],
deps = [":cloudcontrolspartner_proto"],
)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,43 @@ authentication:
publishing:
new_issue_uri: https://issuetracker.google.com/issues/new?component=1504051
documentation_uri: https://cloud.google.com/cloud-controls-partner/docs
documentation_uri: https://cloud.google.com/sovereign-controls-by-partners/docs/sovereign-partners
api_short_name: cloudcontrolspartner
github_label: 'api: cloudcontrolspartner'
doc_tag_prefix: cloudcontrolspartner
organization: CLOUD
library_settings:
- version: google.cloud.cloudcontrolspartner.v1beta
launch_stage: BETA
java_settings:
common:
destinations:
- PACKAGE_MANAGER
cpp_settings:
common:
destinations:
- PACKAGE_MANAGER
php_settings:
common:
destinations:
- PACKAGE_MANAGER
python_settings:
common:
destinations:
- PACKAGE_MANAGER
node_settings:
common:
destinations:
- PACKAGE_MANAGER
dotnet_settings:
common:
destinations:
- PACKAGE_MANAGER
ruby_settings:
common:
destinations:
- PACKAGE_MANAGER
go_settings:
common:
destinations:
- PACKAGE_MANAGER
2 changes: 1 addition & 1 deletion google/cloud/cloudcontrolspartner/v1beta/core.proto
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ service CloudControlsPartnerCore {
option (google.api.method_signature) = "name";
}

// Lists customers of a partner identified by its GCP organization id
// Lists customers of a partner identified by its Google Cloud organization ID
rpc ListCustomers(ListCustomersRequest) returns (ListCustomersResponse) {
option (google.api.http) = {
get: "/v1beta/{parent=organizations/*/locations/*}/customers"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ message Workload {
// The project id of the key management project for the workload
string key_management_project_id = 7;

// The gcp location of the workload
// The Google Cloud location of the workload
string location = 8;

// Partner associated with this workload.
Expand Down
4 changes: 2 additions & 2 deletions google/cloud/cloudcontrolspartner/v1beta/partners.proto
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@ message Partner {
// https://cloud.google.com/compute/docs/regions-zones
repeated string operated_cloud_regions = 5;

// GCP project ID in the partner's GCP organization for receiving enhanced
// Logs for Partners.
// Google Cloud project ID in the partner's Google Cloud organization for
// receiving enhanced Logs for Partners.
string partner_project_id = 7;

// Output only. Time the resource was created
Expand Down

0 comments on commit 9e35c62

Please sign in to comment.