Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions MODULE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -55,12 +55,12 @@ python.toolchain(
bazel_dep(name = "googleapis", version = "0.0.0", repo_name = "com_google_googleapis")
archive_override(
module_name = "googleapis",
integrity = "sha256-vkHcmQF/L8fMzxFQgZR+NU0zo3lD7en13XBbZovOfyk=",
integrity = "sha256-obIxX36ykOKHaxmDnaHMeRazb5PIiSH5DQ2qtYdVqKM=",
patch_strip = 1,
patches = ["//bazel:googleapis.modules.patch"],
strip_prefix = "googleapis-f01a17a560b4fbc888fd552c978f4e1f8614100b",
strip_prefix = "googleapis-f9d6fe4a6ad9ed89dfc315f284124d2104377940",
urls = [
"https://github.com/googleapis/googleapis/archive/f01a17a560b4fbc888fd552c978f4e1f8614100b.tar.gz",
"https://github.com/googleapis/googleapis/archive/f9d6fe4a6ad9ed89dfc315f284124d2104377940.tar.gz",
],
)

Expand Down
6 changes: 3 additions & 3 deletions bazel/workspace0.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -126,10 +126,10 @@ def gl_cpp_workspace0(name = None):
http_archive,
name = "com_google_googleapis",
urls = [
"https://github.com/googleapis/googleapis/archive/f01a17a560b4fbc888fd552c978f4e1f8614100b.tar.gz",
"https://github.com/googleapis/googleapis/archive/f9d6fe4a6ad9ed89dfc315f284124d2104377940.tar.gz",
],
sha256 = "be41dc99017f2fc7cccf115081947e354d33a37943ede9f5dd705b668bce7f29",
strip_prefix = "googleapis-f01a17a560b4fbc888fd552c978f4e1f8614100b",
sha256 = "a1b2315f7eb290e2876b19839da1cc7916b36f93c88921f90d0daab58755a8a3",
strip_prefix = "googleapis-f9d6fe4a6ad9ed89dfc315f284124d2104377940",
build_file = Label("//bazel:googleapis.BUILD"),
# Scaffolding for patching googleapis after download. For example:
# patches = ["googleapis.patch"]
Expand Down
4 changes: 2 additions & 2 deletions cmake/GoogleapisConfig.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ set(GOOGLE_CLOUD_CPP_GOOGLEAPIS_SHA256
mark_as_advanced(GOOGLE_CLOUD_CPP_GOOGLEAPIS_SHA256)

set(_GOOGLE_CLOUD_CPP_GOOGLEAPIS_COMMIT_SHA
"f01a17a560b4fbc888fd552c978f4e1f8614100b")
"f9d6fe4a6ad9ed89dfc315f284124d2104377940")
set(_GOOGLE_CLOUD_CPP_GOOGLEAPIS_SHA256
"be41dc99017f2fc7cccf115081947e354d33a37943ede9f5dd705b668bce7f29")
"a1b2315f7eb290e2876b19839da1cc7916b36f93c88921f90d0daab58755a8a3")

set(DOXYGEN_ALIASES
"googleapis_link{2}=\"[\\1](https://github.com/googleapis/googleapis/blob/${_GOOGLE_CLOUD_CPP_GOOGLEAPIS_COMMIT_SHA}/\\2)\""
Expand Down
1 change: 1 addition & 0 deletions external/googleapis/protolists/developerconnect.list
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
@com_google_googleapis//google/cloud/developerconnect/v1:developer_connect.proto
@com_google_googleapis//google/cloud/developerconnect/v1:insights_config.proto
1 change: 1 addition & 0 deletions external/googleapis/protolists/networkservices.list
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
@com_google_googleapis//google/cloud/networkservices/v1:common.proto
@com_google_googleapis//google/cloud/networkservices/v1:dep.proto
@com_google_googleapis//google/cloud/networkservices/v1:endpoint_policy.proto
@com_google_googleapis//google/cloud/networkservices/v1:extensibility.proto
@com_google_googleapis//google/cloud/networkservices/v1:gateway.proto
@com_google_googleapis//google/cloud/networkservices/v1:grpc_route.proto
@com_google_googleapis//google/cloud/networkservices/v1:http_route.proto
Expand Down
7 changes: 7 additions & 0 deletions external/googleapis/protolists/securitycenter.list
Original file line number Diff line number Diff line change
Expand Up @@ -52,11 +52,14 @@
@com_google_googleapis//google/cloud/securitycenter/v1:valued_resource.proto
@com_google_googleapis//google/cloud/securitycenter/v1:vulnerability.proto
@com_google_googleapis//google/cloud/securitycenter/v2:access.proto
@com_google_googleapis//google/cloud/securitycenter/v2:affected_resources.proto
@com_google_googleapis//google/cloud/securitycenter/v2:ai_model.proto
@com_google_googleapis//google/cloud/securitycenter/v2:application.proto
@com_google_googleapis//google/cloud/securitycenter/v2:attack_exposure.proto
@com_google_googleapis//google/cloud/securitycenter/v2:attack_path.proto
@com_google_googleapis//google/cloud/securitycenter/v2:backup_disaster_recovery.proto
@com_google_googleapis//google/cloud/securitycenter/v2:bigquery_export.proto
@com_google_googleapis//google/cloud/securitycenter/v2:chokepoint.proto
@com_google_googleapis//google/cloud/securitycenter/v2:cloud_armor.proto
@com_google_googleapis//google/cloud/securitycenter/v2:cloud_dlp_data_profile.proto
@com_google_googleapis//google/cloud/securitycenter/v2:cloud_dlp_inspection.proto
Expand All @@ -77,13 +80,16 @@
@com_google_googleapis//google/cloud/securitycenter/v2:group_membership.proto
@com_google_googleapis//google/cloud/securitycenter/v2:iam_binding.proto
@com_google_googleapis//google/cloud/securitycenter/v2:indicator.proto
@com_google_googleapis//google/cloud/securitycenter/v2:ip_rules.proto
@com_google_googleapis//google/cloud/securitycenter/v2:job.proto
@com_google_googleapis//google/cloud/securitycenter/v2:kernel_rootkit.proto
@com_google_googleapis//google/cloud/securitycenter/v2:kubernetes.proto
@com_google_googleapis//google/cloud/securitycenter/v2:label.proto
@com_google_googleapis//google/cloud/securitycenter/v2:load_balancer.proto
@com_google_googleapis//google/cloud/securitycenter/v2:log_entry.proto
@com_google_googleapis//google/cloud/securitycenter/v2:mitre_attack.proto
@com_google_googleapis//google/cloud/securitycenter/v2:mute_config.proto
@com_google_googleapis//google/cloud/securitycenter/v2:network.proto
@com_google_googleapis//google/cloud/securitycenter/v2:notebook.proto
@com_google_googleapis//google/cloud/securitycenter/v2:notification_config.proto
@com_google_googleapis//google/cloud/securitycenter/v2:notification_message.proto
Expand All @@ -98,4 +104,5 @@
@com_google_googleapis//google/cloud/securitycenter/v2:source.proto
@com_google_googleapis//google/cloud/securitycenter/v2:toxic_combination.proto
@com_google_googleapis//google/cloud/securitycenter/v2:valued_resource.proto
@com_google_googleapis//google/cloud/securitycenter/v2:vertex_ai.proto
@com_google_googleapis//google/cloud/securitycenter/v2:vulnerability.proto
1 change: 1 addition & 0 deletions generator/generator_config.textproto
Original file line number Diff line number Diff line change
Expand Up @@ -3029,6 +3029,7 @@ service {
# Network Services (aka Traffic Director)
service {
service_proto_path: "google/cloud/networkservices/v1/network_services.proto"
additional_proto_files: ["google/cloud/networkservices/v1/extensibility.proto"]
product_path: "google/cloud/networkservices/v1"
initial_copyright_year: "2023"
retryable_status_codes: ["kUnavailable"]
Expand Down
6 changes: 0 additions & 6 deletions generator/internal/descriptor_utils.cc
Original file line number Diff line number Diff line change
Expand Up @@ -223,12 +223,6 @@ auto constexpr kLoggingConfigClientCpp2 =
"folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]")""";

ParameterCommentSubstitution substitutions[] = {
// Unescaped elements in bigtable/admin/v2.
{" projects/<project>/instances/<instance>/"
"tables/<table>/authorizedViews/<authorized_view>",
" `projects/<project>/instances/<instance>/"
"tables/<table>/authorizedViews/<authorized_view>`"},

// There a number of comments (almost all from DialogFlow) that
// - use single code quotes
// - are broken up over multiple lines
Expand Down
12 changes: 6 additions & 6 deletions google/cloud/aiplatform/v1/notebook_client.h
Original file line number Diff line number Diff line change
Expand Up @@ -571,7 +571,7 @@ class NotebookServiceClient {
/// [`StatusOr`]: @ref google::cloud::StatusOr
/// [`Status`]: @ref google::cloud::Status
/// [google.cloud.aiplatform.v1.AssignNotebookRuntimeRequest]: @googleapis_reference_link{google/cloud/aiplatform/v1/notebook_service.proto#L402}
/// [google.cloud.aiplatform.v1.NotebookRuntime]: @googleapis_reference_link{google/cloud/aiplatform/v1/notebook_runtime.proto#L169}
/// [google.cloud.aiplatform.v1.NotebookRuntime]: @googleapis_reference_link{google/cloud/aiplatform/v1/notebook_runtime.proto#L170}
///
// clang-format on
future<StatusOr<google::cloud::aiplatform::v1::NotebookRuntime>>
Expand Down Expand Up @@ -629,7 +629,7 @@ class NotebookServiceClient {
/// [`StatusOr`]: @ref google::cloud::StatusOr
/// [`Status`]: @ref google::cloud::Status
/// [google.cloud.aiplatform.v1.AssignNotebookRuntimeRequest]: @googleapis_reference_link{google/cloud/aiplatform/v1/notebook_service.proto#L402}
/// [google.cloud.aiplatform.v1.NotebookRuntime]: @googleapis_reference_link{google/cloud/aiplatform/v1/notebook_runtime.proto#L169}
/// [google.cloud.aiplatform.v1.NotebookRuntime]: @googleapis_reference_link{google/cloud/aiplatform/v1/notebook_runtime.proto#L170}
///
// clang-format on
future<StatusOr<google::cloud::aiplatform::v1::NotebookRuntime>>
Expand Down Expand Up @@ -690,7 +690,7 @@ class NotebookServiceClient {
/// [`StatusOr`]: @ref google::cloud::StatusOr
/// [`Status`]: @ref google::cloud::Status
/// [google.cloud.aiplatform.v1.GetNotebookRuntimeRequest]: @googleapis_reference_link{google/cloud/aiplatform/v1/notebook_service.proto#L442}
/// [google.cloud.aiplatform.v1.NotebookRuntime]: @googleapis_reference_link{google/cloud/aiplatform/v1/notebook_runtime.proto#L169}
/// [google.cloud.aiplatform.v1.NotebookRuntime]: @googleapis_reference_link{google/cloud/aiplatform/v1/notebook_runtime.proto#L170}
///
// clang-format on
StatusOr<google::cloud::aiplatform::v1::NotebookRuntime> GetNotebookRuntime(
Expand Down Expand Up @@ -720,7 +720,7 @@ class NotebookServiceClient {
/// [`StatusOr`]: @ref google::cloud::StatusOr
/// [`Status`]: @ref google::cloud::Status
/// [google.cloud.aiplatform.v1.GetNotebookRuntimeRequest]: @googleapis_reference_link{google/cloud/aiplatform/v1/notebook_service.proto#L442}
/// [google.cloud.aiplatform.v1.NotebookRuntime]: @googleapis_reference_link{google/cloud/aiplatform/v1/notebook_runtime.proto#L169}
/// [google.cloud.aiplatform.v1.NotebookRuntime]: @googleapis_reference_link{google/cloud/aiplatform/v1/notebook_runtime.proto#L170}
///
// clang-format on
StatusOr<google::cloud::aiplatform::v1::NotebookRuntime> GetNotebookRuntime(
Expand Down Expand Up @@ -757,7 +757,7 @@ class NotebookServiceClient {
/// [`StatusOr`]: @ref google::cloud::StatusOr
/// [`Status`]: @ref google::cloud::Status
/// [google.cloud.aiplatform.v1.ListNotebookRuntimesRequest]: @googleapis_reference_link{google/cloud/aiplatform/v1/notebook_service.proto#L457}
/// [google.cloud.aiplatform.v1.NotebookRuntime]: @googleapis_reference_link{google/cloud/aiplatform/v1/notebook_runtime.proto#L169}
/// [google.cloud.aiplatform.v1.NotebookRuntime]: @googleapis_reference_link{google/cloud/aiplatform/v1/notebook_runtime.proto#L170}
///
// clang-format on
StreamRange<google::cloud::aiplatform::v1::NotebookRuntime>
Expand Down Expand Up @@ -796,7 +796,7 @@ class NotebookServiceClient {
/// [`StatusOr`]: @ref google::cloud::StatusOr
/// [`Status`]: @ref google::cloud::Status
/// [google.cloud.aiplatform.v1.ListNotebookRuntimesRequest]: @googleapis_reference_link{google/cloud/aiplatform/v1/notebook_service.proto#L457}
/// [google.cloud.aiplatform.v1.NotebookRuntime]: @googleapis_reference_link{google/cloud/aiplatform/v1/notebook_runtime.proto#L169}
/// [google.cloud.aiplatform.v1.NotebookRuntime]: @googleapis_reference_link{google/cloud/aiplatform/v1/notebook_runtime.proto#L170}
///
// clang-format on
StreamRange<google::cloud::aiplatform::v1::NotebookRuntime>
Expand Down
145 changes: 145 additions & 0 deletions google/cloud/bigtable/admin/bigtable_table_admin_client.cc
Original file line number Diff line number Diff line change
Expand Up @@ -657,6 +657,151 @@ BigtableTableAdminClient::TestIamPermissions(
return connection_->TestIamPermissions(request);
}

future<StatusOr<google::bigtable::admin::v2::SchemaBundle>>
BigtableTableAdminClient::CreateSchemaBundle(
std::string const& parent, std::string const& schema_bundle_id,
google::bigtable::admin::v2::SchemaBundle const& schema_bundle,
Options opts) {
internal::OptionsSpan span(internal::MergeOptions(std::move(opts), options_));
google::bigtable::admin::v2::CreateSchemaBundleRequest request;
request.set_parent(parent);
request.set_schema_bundle_id(schema_bundle_id);
*request.mutable_schema_bundle() = schema_bundle;
return connection_->CreateSchemaBundle(request);
}

StatusOr<google::longrunning::Operation>
BigtableTableAdminClient::CreateSchemaBundle(
NoAwaitTag, std::string const& parent, std::string const& schema_bundle_id,
google::bigtable::admin::v2::SchemaBundle const& schema_bundle,
Options opts) {
internal::OptionsSpan span(internal::MergeOptions(std::move(opts), options_));
google::bigtable::admin::v2::CreateSchemaBundleRequest request;
request.set_parent(parent);
request.set_schema_bundle_id(schema_bundle_id);
*request.mutable_schema_bundle() = schema_bundle;
return connection_->CreateSchemaBundle(NoAwaitTag{}, request);
}

future<StatusOr<google::bigtable::admin::v2::SchemaBundle>>
BigtableTableAdminClient::CreateSchemaBundle(
google::bigtable::admin::v2::CreateSchemaBundleRequest const& request,
Options opts) {
internal::OptionsSpan span(internal::MergeOptions(std::move(opts), options_));
return connection_->CreateSchemaBundle(request);
}

StatusOr<google::longrunning::Operation>
BigtableTableAdminClient::CreateSchemaBundle(
NoAwaitTag,
google::bigtable::admin::v2::CreateSchemaBundleRequest const& request,
Options opts) {
internal::OptionsSpan span(internal::MergeOptions(std::move(opts), options_));
return connection_->CreateSchemaBundle(NoAwaitTag{}, request);
}

future<StatusOr<google::bigtable::admin::v2::SchemaBundle>>
BigtableTableAdminClient::CreateSchemaBundle(
google::longrunning::Operation const& operation, Options opts) {
internal::OptionsSpan span(internal::MergeOptions(std::move(opts), options_));
return connection_->CreateSchemaBundle(operation);
}

future<StatusOr<google::bigtable::admin::v2::SchemaBundle>>
BigtableTableAdminClient::UpdateSchemaBundle(
google::bigtable::admin::v2::SchemaBundle const& schema_bundle,
google::protobuf::FieldMask const& update_mask, Options opts) {
internal::OptionsSpan span(internal::MergeOptions(std::move(opts), options_));
google::bigtable::admin::v2::UpdateSchemaBundleRequest request;
*request.mutable_schema_bundle() = schema_bundle;
*request.mutable_update_mask() = update_mask;
return connection_->UpdateSchemaBundle(request);
}

StatusOr<google::longrunning::Operation>
BigtableTableAdminClient::UpdateSchemaBundle(
NoAwaitTag, google::bigtable::admin::v2::SchemaBundle const& schema_bundle,
google::protobuf::FieldMask const& update_mask, Options opts) {
internal::OptionsSpan span(internal::MergeOptions(std::move(opts), options_));
google::bigtable::admin::v2::UpdateSchemaBundleRequest request;
*request.mutable_schema_bundle() = schema_bundle;
*request.mutable_update_mask() = update_mask;
return connection_->UpdateSchemaBundle(NoAwaitTag{}, request);
}

future<StatusOr<google::bigtable::admin::v2::SchemaBundle>>
BigtableTableAdminClient::UpdateSchemaBundle(
google::bigtable::admin::v2::UpdateSchemaBundleRequest const& request,
Options opts) {
internal::OptionsSpan span(internal::MergeOptions(std::move(opts), options_));
return connection_->UpdateSchemaBundle(request);
}

StatusOr<google::longrunning::Operation>
BigtableTableAdminClient::UpdateSchemaBundle(
NoAwaitTag,
google::bigtable::admin::v2::UpdateSchemaBundleRequest const& request,
Options opts) {
internal::OptionsSpan span(internal::MergeOptions(std::move(opts), options_));
return connection_->UpdateSchemaBundle(NoAwaitTag{}, request);
}

future<StatusOr<google::bigtable::admin::v2::SchemaBundle>>
BigtableTableAdminClient::UpdateSchemaBundle(
google::longrunning::Operation const& operation, Options opts) {
internal::OptionsSpan span(internal::MergeOptions(std::move(opts), options_));
return connection_->UpdateSchemaBundle(operation);
}

StatusOr<google::bigtable::admin::v2::SchemaBundle>
BigtableTableAdminClient::GetSchemaBundle(std::string const& name,
Options opts) {
internal::OptionsSpan span(internal::MergeOptions(std::move(opts), options_));
google::bigtable::admin::v2::GetSchemaBundleRequest request;
request.set_name(name);
return connection_->GetSchemaBundle(request);
}

StatusOr<google::bigtable::admin::v2::SchemaBundle>
BigtableTableAdminClient::GetSchemaBundle(
google::bigtable::admin::v2::GetSchemaBundleRequest const& request,
Options opts) {
internal::OptionsSpan span(internal::MergeOptions(std::move(opts), options_));
return connection_->GetSchemaBundle(request);
}

StreamRange<google::bigtable::admin::v2::SchemaBundle>
BigtableTableAdminClient::ListSchemaBundles(std::string const& parent,
Options opts) {
internal::OptionsSpan span(internal::MergeOptions(std::move(opts), options_));
google::bigtable::admin::v2::ListSchemaBundlesRequest request;
request.set_parent(parent);
return connection_->ListSchemaBundles(request);
}

StreamRange<google::bigtable::admin::v2::SchemaBundle>
BigtableTableAdminClient::ListSchemaBundles(
google::bigtable::admin::v2::ListSchemaBundlesRequest request,
Options opts) {
internal::OptionsSpan span(internal::MergeOptions(std::move(opts), options_));
return connection_->ListSchemaBundles(std::move(request));
}

Status BigtableTableAdminClient::DeleteSchemaBundle(std::string const& name,
Options opts) {
internal::OptionsSpan span(internal::MergeOptions(std::move(opts), options_));
google::bigtable::admin::v2::DeleteSchemaBundleRequest request;
request.set_name(name);
return connection_->DeleteSchemaBundle(request);
}

Status BigtableTableAdminClient::DeleteSchemaBundle(
google::bigtable::admin::v2::DeleteSchemaBundleRequest const& request,
Options opts) {
internal::OptionsSpan span(internal::MergeOptions(std::move(opts), options_));
return connection_->DeleteSchemaBundle(request);
}

future<StatusOr<google::bigtable::admin::v2::CheckConsistencyResponse>>
BigtableTableAdminClient::AsyncCheckConsistency(
std::string const& name, std::string const& consistency_token,
Expand Down
Loading
Loading