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
2 changes: 1 addition & 1 deletion MODULE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,6 @@ python.toolchain(
)

bazel_dep(name = "grpc", version = "1.83.0")
bazel_dep(name = "googleapis", version = "0.0.0-20260728-b8486a2f")
bazel_dep(name = "googleapis", version = "0.0.0-20260812-f76fc6dc")
bazel_dep(name = "googleapis-cc", version = "1.1.5")
bazel_dep(name = "googleapis-grpc-cc", version = "1.1.5")
6 changes: 3 additions & 3 deletions bazel/workspace0.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -136,10 +136,10 @@ def gl_cpp_workspace0(name = None):
http_archive,
name = "googleapis",
urls = [
"https://github.com/googleapis/googleapis/archive/b8486a2f44f15dc578a9dc1e17b144253079d5c1.tar.gz",
"https://github.com/googleapis/googleapis/archive/f76fc6dcdd744681c9d3e2fc30b0fc813118c295.tar.gz",
],
sha256 = "12411ca5cb6c70d7c873d7058c5182a8d23fa88af8d984b0e73b1c3ad1d83766",
strip_prefix = "googleapis-b8486a2f44f15dc578a9dc1e17b144253079d5c1",
sha256 = "f89a9e70418646337d71fb79d3679e8a3183682bb5fd1e3457e325886c8dad9d",
strip_prefix = "googleapis-f76fc6dcdd744681c9d3e2fc30b0fc813118c295",
build_file = Label("//bazel:googleapis.BUILD"),
# Scaffolding for patching googleapis after download. For example:
patches = [
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
"b8486a2f44f15dc578a9dc1e17b144253079d5c1")
"f76fc6dcdd744681c9d3e2fc30b0fc813118c295")
set(_GOOGLE_CLOUD_CPP_GOOGLEAPIS_SHA256
"12411ca5cb6c70d7c873d7058c5182a8d23fa88af8d984b0e73b1c3ad1d83766")
"f89a9e70418646337d71fb79d3679e8a3183682bb5fd1e3457e325886c8dad9d")

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/iam_v3.list
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
@googleapis//google/iam/v3:access_policies_service.proto
@googleapis//google/iam/v3:access_policy_resources.proto
@googleapis//google/iam/v3:operation_metadata.proto
@googleapis//google/iam/v3:policy_binding_resources.proto
@googleapis//google/iam/v3:policy_bindings_service.proto
Expand Down
1 change: 1 addition & 0 deletions google/cloud/auditmanager/v1/audit_manager_client.cc
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
// If you make any local changes, they will be lost.
// source: google/cloud/auditmanager/v1/auditmanager.proto

#include "google/cloud/internal/disable_deprecation_warnings.inc"
#include "google/cloud/auditmanager/v1/audit_manager_client.h"
#include <memory>
#include <utility>
Expand Down
255 changes: 148 additions & 107 deletions google/cloud/auditmanager/v1/audit_manager_client.h

Large diffs are not rendered by default.

184 changes: 92 additions & 92 deletions google/cloud/bigquery/reservation/v1/reservation_client.h

Large diffs are not rendered by default.

52 changes: 26 additions & 26 deletions google/cloud/bigtable/admin/bigtable_table_admin_client.h

Large diffs are not rendered by default.

116 changes: 58 additions & 58 deletions google/cloud/cloudbuild/v1/cloud_build_client.h

Large diffs are not rendered by default.

266 changes: 133 additions & 133 deletions google/cloud/dataform/v1/dataform_client.h

Large diffs are not rendered by default.

40 changes: 18 additions & 22 deletions google/cloud/iam/v3/policy_bindings_client.h
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ class PolicyBindingsClient {
///
/// Creates a policy binding and returns a long-running operation.
/// Callers will need the IAM permissions on both the policy and target.
/// Once the binding is created, the policy is applied to the target.
/// After the binding is created, the policy is applied to the target.
///
/// @param parent Required. The parent resource where this policy binding will be created.
/// The binding parent is the closest Resource Manager resource (project,
Expand Down Expand Up @@ -132,7 +132,7 @@ class PolicyBindingsClient {
/// [`future`]: @ref google::cloud::future
/// [`StatusOr`]: @ref google::cloud::StatusOr
/// [`Status`]: @ref google::cloud::Status
/// [google.iam.v3.CreatePolicyBindingRequest]: @googleapis_reference_link{google/iam/v3/policy_bindings_service.proto#L170}
/// [google.iam.v3.CreatePolicyBindingRequest]: @googleapis_reference_link{google/iam/v3/policy_bindings_service.proto#L168}
/// [google.iam.v3.PolicyBinding]: @googleapis_reference_link{google/iam/v3/policy_binding_resources.proto#L33}
///
// clang-format on
Expand Down Expand Up @@ -161,7 +161,7 @@ class PolicyBindingsClient {
///
/// Creates a policy binding and returns a long-running operation.
/// Callers will need the IAM permissions on both the policy and target.
/// Once the binding is created, the policy is applied to the target.
/// After the binding is created, the policy is applied to the target.
///
/// @param request Unary RPCs, such as the one wrapped by this
/// function, receive a single `request` proto message which includes all
Expand Down Expand Up @@ -189,7 +189,7 @@ class PolicyBindingsClient {
/// [`future`]: @ref google::cloud::future
/// [`StatusOr`]: @ref google::cloud::StatusOr
/// [`Status`]: @ref google::cloud::Status
/// [google.iam.v3.CreatePolicyBindingRequest]: @googleapis_reference_link{google/iam/v3/policy_bindings_service.proto#L170}
/// [google.iam.v3.CreatePolicyBindingRequest]: @googleapis_reference_link{google/iam/v3/policy_bindings_service.proto#L168}
/// [google.iam.v3.PolicyBinding]: @googleapis_reference_link{google/iam/v3/policy_binding_resources.proto#L33}
///
// clang-format on
Expand Down Expand Up @@ -249,7 +249,7 @@ class PolicyBindingsClient {
/// [`future`]: @ref google::cloud::future
/// [`StatusOr`]: @ref google::cloud::StatusOr
/// [`Status`]: @ref google::cloud::Status
/// [google.iam.v3.GetPolicyBindingRequest]: @googleapis_reference_link{google/iam/v3/policy_bindings_service.proto#L205}
/// [google.iam.v3.GetPolicyBindingRequest]: @googleapis_reference_link{google/iam/v3/policy_bindings_service.proto#L203}
/// [google.iam.v3.PolicyBinding]: @googleapis_reference_link{google/iam/v3/policy_binding_resources.proto#L33}
///
// clang-format on
Expand Down Expand Up @@ -279,7 +279,7 @@ class PolicyBindingsClient {
/// [`future`]: @ref google::cloud::future
/// [`StatusOr`]: @ref google::cloud::StatusOr
/// [`Status`]: @ref google::cloud::Status
/// [google.iam.v3.GetPolicyBindingRequest]: @googleapis_reference_link{google/iam/v3/policy_bindings_service.proto#L205}
/// [google.iam.v3.GetPolicyBindingRequest]: @googleapis_reference_link{google/iam/v3/policy_bindings_service.proto#L203}
/// [google.iam.v3.PolicyBinding]: @googleapis_reference_link{google/iam/v3/policy_binding_resources.proto#L33}
///
// clang-format on
Expand All @@ -291,9 +291,7 @@ class PolicyBindingsClient {
///
/// Updates a policy binding and returns a long-running operation.
/// Callers will need the IAM permissions on the policy and target in the
/// binding to update, and the IAM permission to remove the existing policy
/// from the binding. Target is immutable and cannot be updated. Once the
/// binding is updated, the new policy is applied to the target.
/// binding to update. Target and policy are immutable and cannot be updated.
///
/// @param policy_binding Required. The policy binding to update.
/// @n
Expand Down Expand Up @@ -321,7 +319,7 @@ class PolicyBindingsClient {
/// [`StatusOr`]: @ref google::cloud::StatusOr
/// [`Status`]: @ref google::cloud::Status
/// [google.iam.v3.PolicyBinding]: @googleapis_reference_link{google/iam/v3/policy_binding_resources.proto#L33}
/// [google.iam.v3.UpdatePolicyBindingRequest]: @googleapis_reference_link{google/iam/v3/policy_bindings_service.proto#L223}
/// [google.iam.v3.UpdatePolicyBindingRequest]: @googleapis_reference_link{google/iam/v3/policy_bindings_service.proto#L221}
///
// clang-format on
future<StatusOr<google::iam::v3::PolicyBinding>> UpdatePolicyBinding(
Expand All @@ -347,9 +345,7 @@ class PolicyBindingsClient {
///
/// Updates a policy binding and returns a long-running operation.
/// Callers will need the IAM permissions on the policy and target in the
/// binding to update, and the IAM permission to remove the existing policy
/// from the binding. Target is immutable and cannot be updated. Once the
/// binding is updated, the new policy is applied to the target.
/// binding to update. Target and policy are immutable and cannot be updated.
///
/// @param request Unary RPCs, such as the one wrapped by this
/// function, receive a single `request` proto message which includes all
Expand Down Expand Up @@ -378,7 +374,7 @@ class PolicyBindingsClient {
/// [`StatusOr`]: @ref google::cloud::StatusOr
/// [`Status`]: @ref google::cloud::Status
/// [google.iam.v3.PolicyBinding]: @googleapis_reference_link{google/iam/v3/policy_binding_resources.proto#L33}
/// [google.iam.v3.UpdatePolicyBindingRequest]: @googleapis_reference_link{google/iam/v3/policy_bindings_service.proto#L223}
/// [google.iam.v3.UpdatePolicyBindingRequest]: @googleapis_reference_link{google/iam/v3/policy_bindings_service.proto#L221}
///
// clang-format on
future<StatusOr<google::iam::v3::PolicyBinding>> UpdatePolicyBinding(
Expand Down Expand Up @@ -416,7 +412,7 @@ class PolicyBindingsClient {
///
/// Deletes a policy binding and returns a long-running operation.
/// Callers will need the IAM permissions on both the policy and target.
/// Once the binding is deleted, the policy no longer applies to the target.
/// After the binding is deleted, the policy no longer applies to the target.
///
/// @param name Required. The name of the policy binding to delete.
/// @n
Expand Down Expand Up @@ -446,7 +442,7 @@ class PolicyBindingsClient {
/// [`future`]: @ref google::cloud::future
/// [`StatusOr`]: @ref google::cloud::StatusOr
/// [`Status`]: @ref google::cloud::Status
/// [google.iam.v3.DeletePolicyBindingRequest]: @googleapis_reference_link{google/iam/v3/policy_bindings_service.proto#L240}
/// [google.iam.v3.DeletePolicyBindingRequest]: @googleapis_reference_link{google/iam/v3/policy_bindings_service.proto#L238}
/// [google.iam.v3.OperationMetadata]: @googleapis_reference_link{google/iam/v3/operation_metadata.proto#L30}
///
// clang-format on
Expand All @@ -471,7 +467,7 @@ class PolicyBindingsClient {
///
/// Deletes a policy binding and returns a long-running operation.
/// Callers will need the IAM permissions on both the policy and target.
/// Once the binding is deleted, the policy no longer applies to the target.
/// After the binding is deleted, the policy no longer applies to the target.
///
/// @param request Unary RPCs, such as the one wrapped by this
/// function, receive a single `request` proto message which includes all
Expand Down Expand Up @@ -499,7 +495,7 @@ class PolicyBindingsClient {
/// [`future`]: @ref google::cloud::future
/// [`StatusOr`]: @ref google::cloud::StatusOr
/// [`Status`]: @ref google::cloud::Status
/// [google.iam.v3.DeletePolicyBindingRequest]: @googleapis_reference_link{google/iam/v3/policy_bindings_service.proto#L240}
/// [google.iam.v3.DeletePolicyBindingRequest]: @googleapis_reference_link{google/iam/v3/policy_bindings_service.proto#L238}
/// [google.iam.v3.OperationMetadata]: @googleapis_reference_link{google/iam/v3/operation_metadata.proto#L30}
///
// clang-format on
Expand Down Expand Up @@ -569,7 +565,7 @@ class PolicyBindingsClient {
/// [`future`]: @ref google::cloud::future
/// [`StatusOr`]: @ref google::cloud::StatusOr
/// [`Status`]: @ref google::cloud::Status
/// [google.iam.v3.ListPolicyBindingsRequest]: @googleapis_reference_link{google/iam/v3/policy_bindings_service.proto#L266}
/// [google.iam.v3.ListPolicyBindingsRequest]: @googleapis_reference_link{google/iam/v3/policy_bindings_service.proto#L264}
/// [google.iam.v3.PolicyBinding]: @googleapis_reference_link{google/iam/v3/policy_binding_resources.proto#L33}
///
// clang-format on
Expand Down Expand Up @@ -608,7 +604,7 @@ class PolicyBindingsClient {
/// [`future`]: @ref google::cloud::future
/// [`StatusOr`]: @ref google::cloud::StatusOr
/// [`Status`]: @ref google::cloud::Status
/// [google.iam.v3.ListPolicyBindingsRequest]: @googleapis_reference_link{google/iam/v3/policy_bindings_service.proto#L266}
/// [google.iam.v3.ListPolicyBindingsRequest]: @googleapis_reference_link{google/iam/v3/policy_bindings_service.proto#L264}
/// [google.iam.v3.PolicyBinding]: @googleapis_reference_link{google/iam/v3/policy_binding_resources.proto#L33}
///
// clang-format on
Expand Down Expand Up @@ -663,7 +659,7 @@ class PolicyBindingsClient {
/// [`StatusOr`]: @ref google::cloud::StatusOr
/// [`Status`]: @ref google::cloud::Status
/// [google.iam.v3.PolicyBinding]: @googleapis_reference_link{google/iam/v3/policy_binding_resources.proto#L33}
/// [google.iam.v3.SearchTargetPolicyBindingsRequest]: @googleapis_reference_link{google/iam/v3/policy_bindings_service.proto#L322}
/// [google.iam.v3.SearchTargetPolicyBindingsRequest]: @googleapis_reference_link{google/iam/v3/policy_bindings_service.proto#L320}
///
// clang-format on
StreamRange<google::iam::v3::PolicyBinding> SearchTargetPolicyBindings(
Expand Down Expand Up @@ -703,7 +699,7 @@ class PolicyBindingsClient {
/// [`StatusOr`]: @ref google::cloud::StatusOr
/// [`Status`]: @ref google::cloud::Status
/// [google.iam.v3.PolicyBinding]: @googleapis_reference_link{google/iam/v3/policy_binding_resources.proto#L33}
/// [google.iam.v3.SearchTargetPolicyBindingsRequest]: @googleapis_reference_link{google/iam/v3/policy_bindings_service.proto#L322}
/// [google.iam.v3.SearchTargetPolicyBindingsRequest]: @googleapis_reference_link{google/iam/v3/policy_bindings_service.proto#L320}
///
// clang-format on
StreamRange<google::iam::v3::PolicyBinding> SearchTargetPolicyBindings(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -629,6 +629,48 @@ OracleDatabaseAuth::FailoverAutonomousDatabase(
return child_->FailoverAutonomousDatabase(context, options, request);
}

future<StatusOr<google::longrunning::Operation>>
OracleDatabaseAuth::AsyncRefreshAutonomousDatabase(
google::cloud::CompletionQueue& cq,
std::shared_ptr<grpc::ClientContext> context,
google::cloud::internal::ImmutableOptions options,
google::cloud::oracledatabase::v1::RefreshAutonomousDatabaseRequest const&
request) {
using ReturnType = StatusOr<google::longrunning::Operation>;
return auth_->AsyncConfigureContext(std::move(context))
.then([cq, child = child_, options = std::move(options),
request](future<StatusOr<std::shared_ptr<grpc::ClientContext>>>
f) mutable {
auto context = f.get();
if (!context) {
return make_ready_future(ReturnType(std::move(context).status()));
}
return child->AsyncRefreshAutonomousDatabase(
cq, *std::move(context), std::move(options), request);
});
}

StatusOr<google::longrunning::Operation>
OracleDatabaseAuth::RefreshAutonomousDatabase(
grpc::ClientContext& context, Options options,
google::cloud::oracledatabase::v1::RefreshAutonomousDatabaseRequest const&
request) {
auto status = auth_->ConfigureContext(context);
if (!status.ok()) return status;
return child_->RefreshAutonomousDatabase(context, options, request);
}

StatusOr<google::cloud::oracledatabase::v1::AutonomousDatabaseRefreshableClones>
OracleDatabaseAuth::GetAutonomousDatabaseRefreshableClones(
grpc::ClientContext& context, Options const& options,
google::cloud::oracledatabase::v1::
GetAutonomousDatabaseRefreshableClonesRequest const& request) {
auto status = auth_->ConfigureContext(context);
if (!status.ok()) return status;
return child_->GetAutonomousDatabaseRefreshableClones(context, options,
request);
}

StatusOr<google::cloud::oracledatabase::v1::ListOdbNetworksResponse>
OracleDatabaseAuth::ListOdbNetworks(
grpc::ClientContext& context, Options const& options,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -319,6 +319,27 @@ class OracleDatabaseAuth : public OracleDatabaseStub {
google::cloud::oracledatabase::v1::
FailoverAutonomousDatabaseRequest const& request) override;

future<StatusOr<google::longrunning::Operation>>
AsyncRefreshAutonomousDatabase(
google::cloud::CompletionQueue& cq,
std::shared_ptr<grpc::ClientContext> context,
google::cloud::internal::ImmutableOptions options,
google::cloud::oracledatabase::v1::RefreshAutonomousDatabaseRequest const&
request) override;

StatusOr<google::longrunning::Operation> RefreshAutonomousDatabase(
grpc::ClientContext& context, Options options,
google::cloud::oracledatabase::v1::RefreshAutonomousDatabaseRequest const&
request) override;

StatusOr<
google::cloud::oracledatabase::v1::AutonomousDatabaseRefreshableClones>
GetAutonomousDatabaseRefreshableClones(
grpc::ClientContext& context, Options const& options,
google::cloud::oracledatabase::v1::
GetAutonomousDatabaseRefreshableClonesRequest const& request)
override;

StatusOr<google::cloud::oracledatabase::v1::ListOdbNetworksResponse>
ListOdbNetworks(
grpc::ClientContext& context, Options const& options,
Expand Down
Loading
Loading