Skip to content

Commit

Permalink
chore: update googleapis SHA circa 2024-05-23 (#14277)
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 636368401
  • Loading branch information
dbolduc committed May 23, 2024
1 parent 596628a commit 4399a9c
Show file tree
Hide file tree
Showing 46 changed files with 2,794 additions and 221 deletions.
8 changes: 4 additions & 4 deletions bazel/workspace0.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -121,11 +121,11 @@ def gl_cpp_workspace0(name = None):
http_archive,
name = "com_google_googleapis",
urls = [
"https://storage.googleapis.com/cloud-cpp-community-archive/com_google_googleapis/0d8db1a5197b56c3d4dd5dd058d3e0e041c84f90.tar.gz",
"https://github.com/googleapis/googleapis/archive/0d8db1a5197b56c3d4dd5dd058d3e0e041c84f90.tar.gz",
"https://storage.googleapis.com/cloud-cpp-community-archive/com_google_googleapis/30717c0b0c9966906880703208a4c820411565c4.tar.gz",
"https://github.com/googleapis/googleapis/archive/30717c0b0c9966906880703208a4c820411565c4.tar.gz",
],
sha256 = "ca202626d74259893174bdd47d7a817e177bad0142a50043e0583239bb47fbc5",
strip_prefix = "googleapis-0d8db1a5197b56c3d4dd5dd058d3e0e041c84f90",
sha256 = "bf49dfee4daecfbcd38bd07cd9b0fd9e303452ed7f54dda56171b500c1234e2e",
strip_prefix = "googleapis-30717c0b0c9966906880703208a4c820411565c4",
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
"0d8db1a5197b56c3d4dd5dd058d3e0e041c84f90")
"30717c0b0c9966906880703208a4c820411565c4")
set(_GOOGLE_CLOUD_CPP_GOOGLEAPIS_SHA256
"ca202626d74259893174bdd47d7a817e177bad0142a50043e0583239bb47fbc5")
"bf49dfee4daecfbcd38bd07cd9b0fd9e303452ed7f54dda56171b500c1234e2e")

set(DOXYGEN_ALIASES
"googleapis_link{2}=\"[\\1](https://github.com/googleapis/googleapis/blob/${_GOOGLE_CLOUD_CPP_GOOGLEAPIS_COMMIT_SHA}/\\2)\""
Expand Down
2 changes: 2 additions & 0 deletions external/googleapis/protolists/video.list
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,12 @@
@com_google_googleapis//google/cloud/video/stitcher/v1:cdn_keys.proto
@com_google_googleapis//google/cloud/video/stitcher/v1:companions.proto
@com_google_googleapis//google/cloud/video/stitcher/v1:events.proto
@com_google_googleapis//google/cloud/video/stitcher/v1:fetch_options.proto
@com_google_googleapis//google/cloud/video/stitcher/v1:live_configs.proto
@com_google_googleapis//google/cloud/video/stitcher/v1:sessions.proto
@com_google_googleapis//google/cloud/video/stitcher/v1:slates.proto
@com_google_googleapis//google/cloud/video/stitcher/v1:stitch_details.proto
@com_google_googleapis//google/cloud/video/stitcher/v1:video_stitcher_service.proto
@com_google_googleapis//google/cloud/video/stitcher/v1:vod_configs.proto
@com_google_googleapis//google/cloud/video/transcoder/v1:resources.proto
@com_google_googleapis//google/cloud/video/transcoder/v1:services.proto
56 changes: 28 additions & 28 deletions google/cloud/datastore/v1/datastore_client.h
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ class DatastoreClient {
/// [`StatusOr`]: @ref google::cloud::StatusOr
/// [`Status`]: @ref google::cloud::Status
/// [google.datastore.v1.LookupRequest]: @googleapis_reference_link{google/datastore/v1/datastore.proto#L161}
/// [google.datastore.v1.LookupResponse]: @googleapis_reference_link{google/datastore/v1/datastore.proto#L179}
/// [google.datastore.v1.LookupResponse]: @googleapis_reference_link{google/datastore/v1/datastore.proto#L187}
///
// clang-format on
StatusOr<google::datastore::v1::LookupResponse> Lookup(
Expand Down Expand Up @@ -142,7 +142,7 @@ class DatastoreClient {
/// [`StatusOr`]: @ref google::cloud::StatusOr
/// [`Status`]: @ref google::cloud::Status
/// [google.datastore.v1.LookupRequest]: @googleapis_reference_link{google/datastore/v1/datastore.proto#L161}
/// [google.datastore.v1.LookupResponse]: @googleapis_reference_link{google/datastore/v1/datastore.proto#L179}
/// [google.datastore.v1.LookupResponse]: @googleapis_reference_link{google/datastore/v1/datastore.proto#L187}
///
// clang-format on
StatusOr<google::datastore::v1::LookupResponse> Lookup(
Expand Down Expand Up @@ -171,8 +171,8 @@ class DatastoreClient {
/// [`future`]: @ref google::cloud::future
/// [`StatusOr`]: @ref google::cloud::StatusOr
/// [`Status`]: @ref google::cloud::Status
/// [google.datastore.v1.RunQueryRequest]: @googleapis_reference_link{google/datastore/v1/datastore.proto#L209}
/// [google.datastore.v1.RunQueryResponse]: @googleapis_reference_link{google/datastore/v1/datastore.proto#L244}
/// [google.datastore.v1.RunQueryRequest]: @googleapis_reference_link{google/datastore/v1/datastore.proto#L217}
/// [google.datastore.v1.RunQueryResponse]: @googleapis_reference_link{google/datastore/v1/datastore.proto#L259}
///
// clang-format on
StatusOr<google::datastore::v1::RunQueryResponse> RunQuery(
Expand Down Expand Up @@ -201,8 +201,8 @@ class DatastoreClient {
/// [`future`]: @ref google::cloud::future
/// [`StatusOr`]: @ref google::cloud::StatusOr
/// [`Status`]: @ref google::cloud::Status
/// [google.datastore.v1.RunAggregationQueryRequest]: @googleapis_reference_link{google/datastore/v1/datastore.proto#L268}
/// [google.datastore.v1.RunAggregationQueryResponse]: @googleapis_reference_link{google/datastore/v1/datastore.proto#L303}
/// [google.datastore.v1.RunAggregationQueryRequest]: @googleapis_reference_link{google/datastore/v1/datastore.proto#L283}
/// [google.datastore.v1.RunAggregationQueryResponse]: @googleapis_reference_link{google/datastore/v1/datastore.proto#L318}
///
// clang-format on
StatusOr<google::datastore::v1::RunAggregationQueryResponse>
Expand All @@ -228,8 +228,8 @@ class DatastoreClient {
/// [`future`]: @ref google::cloud::future
/// [`StatusOr`]: @ref google::cloud::StatusOr
/// [`Status`]: @ref google::cloud::Status
/// [google.datastore.v1.BeginTransactionRequest]: @googleapis_reference_link{google/datastore/v1/datastore.proto#L327}
/// [google.datastore.v1.BeginTransactionResponse]: @googleapis_reference_link{google/datastore/v1/datastore.proto#L343}
/// [google.datastore.v1.BeginTransactionRequest]: @googleapis_reference_link{google/datastore/v1/datastore.proto#L342}
/// [google.datastore.v1.BeginTransactionResponse]: @googleapis_reference_link{google/datastore/v1/datastore.proto#L358}
///
// clang-format on
StatusOr<google::datastore::v1::BeginTransactionResponse> BeginTransaction(
Expand Down Expand Up @@ -258,8 +258,8 @@ class DatastoreClient {
/// [`future`]: @ref google::cloud::future
/// [`StatusOr`]: @ref google::cloud::StatusOr
/// [`Status`]: @ref google::cloud::Status
/// [google.datastore.v1.BeginTransactionRequest]: @googleapis_reference_link{google/datastore/v1/datastore.proto#L327}
/// [google.datastore.v1.BeginTransactionResponse]: @googleapis_reference_link{google/datastore/v1/datastore.proto#L343}
/// [google.datastore.v1.BeginTransactionRequest]: @googleapis_reference_link{google/datastore/v1/datastore.proto#L342}
/// [google.datastore.v1.BeginTransactionResponse]: @googleapis_reference_link{google/datastore/v1/datastore.proto#L358}
///
// clang-format on
StatusOr<google::datastore::v1::BeginTransactionResponse> BeginTransaction(
Expand Down Expand Up @@ -302,8 +302,8 @@ class DatastoreClient {
/// [`future`]: @ref google::cloud::future
/// [`StatusOr`]: @ref google::cloud::StatusOr
/// [`Status`]: @ref google::cloud::Status
/// [google.datastore.v1.CommitRequest]: @googleapis_reference_link{google/datastore/v1/datastore.proto#L370}
/// [google.datastore.v1.CommitResponse]: @googleapis_reference_link{google/datastore/v1/datastore.proto#L428}
/// [google.datastore.v1.CommitRequest]: @googleapis_reference_link{google/datastore/v1/datastore.proto#L385}
/// [google.datastore.v1.CommitResponse]: @googleapis_reference_link{google/datastore/v1/datastore.proto#L443}
/// [google.datastore.v1.Datastore.BeginTransaction]: @googleapis_reference_link{google/datastore/v1/datastore.proto#L89}
///
// clang-format on
Expand Down Expand Up @@ -347,8 +347,8 @@ class DatastoreClient {
/// [`future`]: @ref google::cloud::future
/// [`StatusOr`]: @ref google::cloud::StatusOr
/// [`Status`]: @ref google::cloud::Status
/// [google.datastore.v1.CommitRequest]: @googleapis_reference_link{google/datastore/v1/datastore.proto#L370}
/// [google.datastore.v1.CommitResponse]: @googleapis_reference_link{google/datastore/v1/datastore.proto#L428}
/// [google.datastore.v1.CommitRequest]: @googleapis_reference_link{google/datastore/v1/datastore.proto#L385}
/// [google.datastore.v1.CommitResponse]: @googleapis_reference_link{google/datastore/v1/datastore.proto#L443}
///
// clang-format on
StatusOr<google::datastore::v1::CommitResponse> Commit(
Expand Down Expand Up @@ -381,8 +381,8 @@ class DatastoreClient {
/// [`future`]: @ref google::cloud::future
/// [`StatusOr`]: @ref google::cloud::StatusOr
/// [`Status`]: @ref google::cloud::Status
/// [google.datastore.v1.CommitRequest]: @googleapis_reference_link{google/datastore/v1/datastore.proto#L370}
/// [google.datastore.v1.CommitResponse]: @googleapis_reference_link{google/datastore/v1/datastore.proto#L428}
/// [google.datastore.v1.CommitRequest]: @googleapis_reference_link{google/datastore/v1/datastore.proto#L385}
/// [google.datastore.v1.CommitResponse]: @googleapis_reference_link{google/datastore/v1/datastore.proto#L443}
///
// clang-format on
StatusOr<google::datastore::v1::CommitResponse> Commit(
Expand All @@ -409,8 +409,8 @@ class DatastoreClient {
/// [`StatusOr`]: @ref google::cloud::StatusOr
/// [`Status`]: @ref google::cloud::Status
/// [google.datastore.v1.Datastore.BeginTransaction]: @googleapis_reference_link{google/datastore/v1/datastore.proto#L89}
/// [google.datastore.v1.RollbackRequest]: @googleapis_reference_link{google/datastore/v1/datastore.proto#L349}
/// [google.datastore.v1.RollbackResponse]: @googleapis_reference_link{google/datastore/v1/datastore.proto#L367}
/// [google.datastore.v1.RollbackRequest]: @googleapis_reference_link{google/datastore/v1/datastore.proto#L364}
/// [google.datastore.v1.RollbackResponse]: @googleapis_reference_link{google/datastore/v1/datastore.proto#L382}
///
// clang-format on
StatusOr<google::datastore::v1::RollbackResponse> Rollback(
Expand Down Expand Up @@ -440,8 +440,8 @@ class DatastoreClient {
/// [`future`]: @ref google::cloud::future
/// [`StatusOr`]: @ref google::cloud::StatusOr
/// [`Status`]: @ref google::cloud::Status
/// [google.datastore.v1.RollbackRequest]: @googleapis_reference_link{google/datastore/v1/datastore.proto#L349}
/// [google.datastore.v1.RollbackResponse]: @googleapis_reference_link{google/datastore/v1/datastore.proto#L367}
/// [google.datastore.v1.RollbackRequest]: @googleapis_reference_link{google/datastore/v1/datastore.proto#L364}
/// [google.datastore.v1.RollbackResponse]: @googleapis_reference_link{google/datastore/v1/datastore.proto#L382}
///
// clang-format on
StatusOr<google::datastore::v1::RollbackResponse> Rollback(
Expand All @@ -468,8 +468,8 @@ class DatastoreClient {
/// [`future`]: @ref google::cloud::future
/// [`StatusOr`]: @ref google::cloud::StatusOr
/// [`Status`]: @ref google::cloud::Status
/// [google.datastore.v1.AllocateIdsRequest]: @googleapis_reference_link{google/datastore/v1/datastore.proto#L443}
/// [google.datastore.v1.AllocateIdsResponse]: @googleapis_reference_link{google/datastore/v1/datastore.proto#L460}
/// [google.datastore.v1.AllocateIdsRequest]: @googleapis_reference_link{google/datastore/v1/datastore.proto#L458}
/// [google.datastore.v1.AllocateIdsResponse]: @googleapis_reference_link{google/datastore/v1/datastore.proto#L475}
///
// clang-format on
StatusOr<google::datastore::v1::AllocateIdsResponse> AllocateIds(
Expand Down Expand Up @@ -500,8 +500,8 @@ class DatastoreClient {
/// [`future`]: @ref google::cloud::future
/// [`StatusOr`]: @ref google::cloud::StatusOr
/// [`Status`]: @ref google::cloud::Status
/// [google.datastore.v1.AllocateIdsRequest]: @googleapis_reference_link{google/datastore/v1/datastore.proto#L443}
/// [google.datastore.v1.AllocateIdsResponse]: @googleapis_reference_link{google/datastore/v1/datastore.proto#L460}
/// [google.datastore.v1.AllocateIdsRequest]: @googleapis_reference_link{google/datastore/v1/datastore.proto#L458}
/// [google.datastore.v1.AllocateIdsResponse]: @googleapis_reference_link{google/datastore/v1/datastore.proto#L475}
///
// clang-format on
StatusOr<google::datastore::v1::AllocateIdsResponse> AllocateIds(
Expand Down Expand Up @@ -529,8 +529,8 @@ class DatastoreClient {
/// [`future`]: @ref google::cloud::future
/// [`StatusOr`]: @ref google::cloud::StatusOr
/// [`Status`]: @ref google::cloud::Status
/// [google.datastore.v1.ReserveIdsRequest]: @googleapis_reference_link{google/datastore/v1/datastore.proto#L468}
/// [google.datastore.v1.ReserveIdsResponse]: @googleapis_reference_link{google/datastore/v1/datastore.proto#L485}
/// [google.datastore.v1.ReserveIdsRequest]: @googleapis_reference_link{google/datastore/v1/datastore.proto#L483}
/// [google.datastore.v1.ReserveIdsResponse]: @googleapis_reference_link{google/datastore/v1/datastore.proto#L500}
///
// clang-format on
StatusOr<google::datastore::v1::ReserveIdsResponse> ReserveIds(
Expand Down Expand Up @@ -561,8 +561,8 @@ class DatastoreClient {
/// [`future`]: @ref google::cloud::future
/// [`StatusOr`]: @ref google::cloud::StatusOr
/// [`Status`]: @ref google::cloud::Status
/// [google.datastore.v1.ReserveIdsRequest]: @googleapis_reference_link{google/datastore/v1/datastore.proto#L468}
/// [google.datastore.v1.ReserveIdsResponse]: @googleapis_reference_link{google/datastore/v1/datastore.proto#L485}
/// [google.datastore.v1.ReserveIdsRequest]: @googleapis_reference_link{google/datastore/v1/datastore.proto#L483}
/// [google.datastore.v1.ReserveIdsResponse]: @googleapis_reference_link{google/datastore/v1/datastore.proto#L500}
///
// clang-format on
StatusOr<google::datastore::v1::ReserveIdsResponse> ReserveIds(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -246,6 +246,37 @@ SecurityCenterManagementAuth::ValidateEventThreatDetectionCustomModule(
request);
}

StatusOr<google::cloud::securitycentermanagement::v1::SecurityCenterService>
SecurityCenterManagementAuth::GetSecurityCenterService(
grpc::ClientContext& context, Options const& options,
google::cloud::securitycentermanagement::v1::
GetSecurityCenterServiceRequest const& request) {
auto status = auth_->ConfigureContext(context);
if (!status.ok()) return status;
return child_->GetSecurityCenterService(context, options, request);
}

StatusOr<google::cloud::securitycentermanagement::v1::
ListSecurityCenterServicesResponse>
SecurityCenterManagementAuth::ListSecurityCenterServices(
grpc::ClientContext& context, Options const& options,
google::cloud::securitycentermanagement::v1::
ListSecurityCenterServicesRequest const& request) {
auto status = auth_->ConfigureContext(context);
if (!status.ok()) return status;
return child_->ListSecurityCenterServices(context, options, request);
}

StatusOr<google::cloud::securitycentermanagement::v1::SecurityCenterService>
SecurityCenterManagementAuth::UpdateSecurityCenterService(
grpc::ClientContext& context, Options const& options,
google::cloud::securitycentermanagement::v1::
UpdateSecurityCenterServiceRequest const& request) {
auto status = auth_->ConfigureContext(context);
if (!status.ok()) return status;
return child_->UpdateSecurityCenterService(context, options, request);
}

GOOGLE_CLOUD_CPP_INLINE_NAMESPACE_END
} // namespace securitycentermanagement_v1_internal
} // namespace cloud
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,25 @@ class SecurityCenterManagementAuth : public SecurityCenterManagementStub {
ValidateEventThreatDetectionCustomModuleRequest const& request)
override;

StatusOr<google::cloud::securitycentermanagement::v1::SecurityCenterService>
GetSecurityCenterService(
grpc::ClientContext& context, Options const& options,
google::cloud::securitycentermanagement::v1::
GetSecurityCenterServiceRequest const& request) override;

StatusOr<google::cloud::securitycentermanagement::v1::
ListSecurityCenterServicesResponse>
ListSecurityCenterServices(
grpc::ClientContext& context, Options const& options,
google::cloud::securitycentermanagement::v1::
ListSecurityCenterServicesRequest const& request) override;

StatusOr<google::cloud::securitycentermanagement::v1::SecurityCenterService>
UpdateSecurityCenterService(
grpc::ClientContext& context, Options const& options,
google::cloud::securitycentermanagement::v1::
UpdateSecurityCenterServiceRequest const& request) override;

private:
std::shared_ptr<google::cloud::internal::GrpcAuthenticationStrategy> auth_;
std::shared_ptr<SecurityCenterManagementStub> child_;
Expand Down
Loading

0 comments on commit 4399a9c

Please sign in to comment.