Skip to content

Commit 3c2386d

Browse files
authored
chore(deps): update googleapis protos circa 2022-06-22 (#9316)
1 parent a85d425 commit 3c2386d

23 files changed

+1956
-1837
lines changed

bazel/google_cloud_cpp_deps.bzl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -85,10 +85,10 @@ def google_cloud_cpp_deps():
8585
http_archive(
8686
name = "com_google_googleapis",
8787
urls = [
88-
"https://github.com/googleapis/googleapis/archive/fbb5dd93b4b94af776b722928d69dacaa7680d5a.tar.gz",
88+
"https://github.com/googleapis/googleapis/archive/c81bb701eb53991d6faf74b2656eaf539261a122.tar.gz",
8989
],
90-
strip_prefix = "googleapis-fbb5dd93b4b94af776b722928d69dacaa7680d5a",
91-
sha256 = "47d5742af841543a3a3841fa0ebec31c7a8447a15d6b77a88c6a40fbb198704e",
90+
strip_prefix = "googleapis-c81bb701eb53991d6faf74b2656eaf539261a122",
91+
sha256 = "f77d852d538f96a1c10b447a36c807c9ce0f8716d028ba47c3dd5051d84c518b",
9292
build_file = "@com_github_googleapis_google_cloud_cpp//bazel:googleapis.BUILD",
9393
# Scaffolding for patching googleapis after download. For example:
9494
# patches = ["googleapis.patch"]

cmake/GoogleapisConfig.cmake

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@
1717
# Give application developers a hook to configure the version and hash
1818
# downloaded from GitHub.
1919
set(GOOGLE_CLOUD_CPP_GOOGLEAPIS_COMMIT_SHA
20-
"fbb5dd93b4b94af776b722928d69dacaa7680d5a"
20+
"c81bb701eb53991d6faf74b2656eaf539261a122"
2121
CACHE STRING "Configure the commit SHA (or tag) for the googleapis protos.")
2222
mark_as_advanced(GOOGLE_CLOUD_CPP_GOOGLEAPIS_SHA)
2323
set(GOOGLE_CLOUD_CPP_GOOGLEAPIS_SHA256
24-
"47d5742af841543a3a3841fa0ebec31c7a8447a15d6b77a88c6a40fbb198704e"
24+
"f77d852d538f96a1c10b447a36c807c9ce0f8716d028ba47c3dd5051d84c518b"
2525
CACHE STRING "Configure the SHA256 checksum of the googleapis tarball.")
2626
mark_as_advanced(GOOGLE_CLOUD_CPP_GOOGLEAPIS_SHA256)
2727

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,6 @@
11
@com_google_googleapis//google/cloud/baremetalsolution/v2:baremetalsolution.proto
2+
@com_google_googleapis//google/cloud/baremetalsolution/v2:instance.proto
3+
@com_google_googleapis//google/cloud/baremetalsolution/v2:lun.proto
4+
@com_google_googleapis//google/cloud/baremetalsolution/v2:network.proto
5+
@com_google_googleapis//google/cloud/baremetalsolution/v2:nfs_share.proto
6+
@com_google_googleapis//google/cloud/baremetalsolution/v2:volume.proto

external/googleapis/protolists/grafeas.list

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,6 @@
1414
@com_google_googleapis//grafeas/v1:provenance.proto
1515
@com_google_googleapis//grafeas/v1:severity.proto
1616
@com_google_googleapis//grafeas/v1:slsa_provenance.proto
17+
@com_google_googleapis//grafeas/v1:slsa_provenance_zero_two.proto
1718
@com_google_googleapis//grafeas/v1:upgrade.proto
1819
@com_google_googleapis//grafeas/v1:vulnerability.proto

google/cloud/baremetalsolution/bare_metal_solution_client.cc

Lines changed: 160 additions & 175 deletions
Large diffs are not rendered by default.

google/cloud/baremetalsolution/bare_metal_solution_client.h

Lines changed: 388 additions & 373 deletions
Large diffs are not rendered by default.

google/cloud/baremetalsolution/bare_metal_solution_connection.cc

Lines changed: 72 additions & 64 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,14 @@ BareMetalSolutionConnection::GetInstance(
4848
return Status(StatusCode::kUnimplemented, "not implemented");
4949
}
5050

51+
future<StatusOr<google::cloud::baremetalsolution::v2::Instance>>
52+
BareMetalSolutionConnection::UpdateInstance(
53+
google::cloud::baremetalsolution::v2::UpdateInstanceRequest const&) {
54+
return google::cloud::make_ready_future<
55+
StatusOr<google::cloud::baremetalsolution::v2::Instance>>(
56+
Status(StatusCode::kUnimplemented, "not implemented"));
57+
}
58+
5159
future<StatusOr<google::cloud::baremetalsolution::v2::ResetInstanceResponse>>
5260
BareMetalSolutionConnection::ResetInstance(
5361
google::cloud::baremetalsolution::v2::ResetInstanceRequest const&) {
@@ -56,6 +64,30 @@ BareMetalSolutionConnection::ResetInstance(
5664
Status(StatusCode::kUnimplemented, "not implemented"));
5765
}
5866

67+
future<StatusOr<google::cloud::baremetalsolution::v2::StartInstanceResponse>>
68+
BareMetalSolutionConnection::StartInstance(
69+
google::cloud::baremetalsolution::v2::StartInstanceRequest const&) {
70+
return google::cloud::make_ready_future<
71+
StatusOr<google::cloud::baremetalsolution::v2::StartInstanceResponse>>(
72+
Status(StatusCode::kUnimplemented, "not implemented"));
73+
}
74+
75+
future<StatusOr<google::cloud::baremetalsolution::v2::StopInstanceResponse>>
76+
BareMetalSolutionConnection::StopInstance(
77+
google::cloud::baremetalsolution::v2::StopInstanceRequest const&) {
78+
return google::cloud::make_ready_future<
79+
StatusOr<google::cloud::baremetalsolution::v2::StopInstanceResponse>>(
80+
Status(StatusCode::kUnimplemented, "not implemented"));
81+
}
82+
83+
future<StatusOr<google::cloud::baremetalsolution::v2::Instance>>
84+
BareMetalSolutionConnection::DetachLun(
85+
google::cloud::baremetalsolution::v2::DetachLunRequest const&) {
86+
return google::cloud::make_ready_future<
87+
StatusOr<google::cloud::baremetalsolution::v2::Instance>>(
88+
Status(StatusCode::kUnimplemented, "not implemented"));
89+
}
90+
5991
StreamRange<google::cloud::baremetalsolution::v2::Volume>
6092
BareMetalSolutionConnection::ListVolumes(
6193
google::cloud::baremetalsolution::v2::
@@ -78,6 +110,14 @@ BareMetalSolutionConnection::UpdateVolume(
78110
Status(StatusCode::kUnimplemented, "not implemented"));
79111
}
80112

113+
future<StatusOr<google::cloud::baremetalsolution::v2::Volume>>
114+
BareMetalSolutionConnection::ResizeVolume(
115+
google::cloud::baremetalsolution::v2::ResizeVolumeRequest const&) {
116+
return google::cloud::make_ready_future<
117+
StatusOr<google::cloud::baremetalsolution::v2::Volume>>(
118+
Status(StatusCode::kUnimplemented, "not implemented"));
119+
}
120+
81121
StreamRange<google::cloud::baremetalsolution::v2::Network>
82122
BareMetalSolutionConnection::ListNetworks(
83123
google::cloud::baremetalsolution::v2::
@@ -86,80 +126,26 @@ BareMetalSolutionConnection::ListNetworks(
86126
StreamRange<google::cloud::baremetalsolution::v2::Network>>();
87127
}
88128

89-
StatusOr<google::cloud::baremetalsolution::v2::Network>
90-
BareMetalSolutionConnection::GetNetwork(
91-
google::cloud::baremetalsolution::v2::GetNetworkRequest const&) {
92-
return Status(StatusCode::kUnimplemented, "not implemented");
93-
}
94-
95-
StreamRange<google::cloud::baremetalsolution::v2::SnapshotSchedulePolicy>
96-
BareMetalSolutionConnection::ListSnapshotSchedulePolicies(
97-
google::cloud::baremetalsolution::v2::
98-
ListSnapshotSchedulePoliciesRequest) { // NOLINT(performance-unnecessary-value-param)
99-
return google::cloud::internal::MakeUnimplementedPaginationRange<StreamRange<
100-
google::cloud::baremetalsolution::v2::SnapshotSchedulePolicy>>();
101-
}
102-
103-
StatusOr<google::cloud::baremetalsolution::v2::SnapshotSchedulePolicy>
104-
BareMetalSolutionConnection::GetSnapshotSchedulePolicy(
105-
google::cloud::baremetalsolution::v2::
106-
GetSnapshotSchedulePolicyRequest const&) {
107-
return Status(StatusCode::kUnimplemented, "not implemented");
108-
}
109-
110-
StatusOr<google::cloud::baremetalsolution::v2::SnapshotSchedulePolicy>
111-
BareMetalSolutionConnection::CreateSnapshotSchedulePolicy(
112-
google::cloud::baremetalsolution::v2::
113-
CreateSnapshotSchedulePolicyRequest const&) {
129+
StatusOr<google::cloud::baremetalsolution::v2::ListNetworkUsageResponse>
130+
BareMetalSolutionConnection::ListNetworkUsage(
131+
google::cloud::baremetalsolution::v2::ListNetworkUsageRequest const&) {
114132
return Status(StatusCode::kUnimplemented, "not implemented");
115133
}
116134

117-
StatusOr<google::cloud::baremetalsolution::v2::SnapshotSchedulePolicy>
118-
BareMetalSolutionConnection::UpdateSnapshotSchedulePolicy(
119-
google::cloud::baremetalsolution::v2::
120-
UpdateSnapshotSchedulePolicyRequest const&) {
121-
return Status(StatusCode::kUnimplemented, "not implemented");
122-
}
123-
124-
Status BareMetalSolutionConnection::DeleteSnapshotSchedulePolicy(
125-
google::cloud::baremetalsolution::v2::
126-
DeleteSnapshotSchedulePolicyRequest const&) {
127-
return Status(StatusCode::kUnimplemented, "not implemented");
128-
}
129-
130-
StatusOr<google::cloud::baremetalsolution::v2::VolumeSnapshot>
131-
BareMetalSolutionConnection::CreateVolumeSnapshot(
132-
google::cloud::baremetalsolution::v2::CreateVolumeSnapshotRequest const&) {
135+
StatusOr<google::cloud::baremetalsolution::v2::Network>
136+
BareMetalSolutionConnection::GetNetwork(
137+
google::cloud::baremetalsolution::v2::GetNetworkRequest const&) {
133138
return Status(StatusCode::kUnimplemented, "not implemented");
134139
}
135140

136-
future<StatusOr<google::cloud::baremetalsolution::v2::VolumeSnapshot>>
137-
BareMetalSolutionConnection::RestoreVolumeSnapshot(
138-
google::cloud::baremetalsolution::v2::RestoreVolumeSnapshotRequest const&) {
141+
future<StatusOr<google::cloud::baremetalsolution::v2::Network>>
142+
BareMetalSolutionConnection::UpdateNetwork(
143+
google::cloud::baremetalsolution::v2::UpdateNetworkRequest const&) {
139144
return google::cloud::make_ready_future<
140-
StatusOr<google::cloud::baremetalsolution::v2::VolumeSnapshot>>(
145+
StatusOr<google::cloud::baremetalsolution::v2::Network>>(
141146
Status(StatusCode::kUnimplemented, "not implemented"));
142147
}
143148

144-
Status BareMetalSolutionConnection::DeleteVolumeSnapshot(
145-
google::cloud::baremetalsolution::v2::DeleteVolumeSnapshotRequest const&) {
146-
return Status(StatusCode::kUnimplemented, "not implemented");
147-
}
148-
149-
StatusOr<google::cloud::baremetalsolution::v2::VolumeSnapshot>
150-
BareMetalSolutionConnection::GetVolumeSnapshot(
151-
google::cloud::baremetalsolution::v2::GetVolumeSnapshotRequest const&) {
152-
return Status(StatusCode::kUnimplemented, "not implemented");
153-
}
154-
155-
StreamRange<google::cloud::baremetalsolution::v2::VolumeSnapshot>
156-
BareMetalSolutionConnection::ListVolumeSnapshots(
157-
google::cloud::baremetalsolution::v2::
158-
ListVolumeSnapshotsRequest) { // NOLINT(performance-unnecessary-value-param)
159-
return google::cloud::internal::MakeUnimplementedPaginationRange<
160-
StreamRange<google::cloud::baremetalsolution::v2::VolumeSnapshot>>();
161-
}
162-
163149
StatusOr<google::cloud::baremetalsolution::v2::Lun>
164150
BareMetalSolutionConnection::GetLun(
165151
google::cloud::baremetalsolution::v2::GetLunRequest const&) {
@@ -174,6 +160,28 @@ BareMetalSolutionConnection::ListLuns(
174160
StreamRange<google::cloud::baremetalsolution::v2::Lun>>();
175161
}
176162

163+
StatusOr<google::cloud::baremetalsolution::v2::NfsShare>
164+
BareMetalSolutionConnection::GetNfsShare(
165+
google::cloud::baremetalsolution::v2::GetNfsShareRequest const&) {
166+
return Status(StatusCode::kUnimplemented, "not implemented");
167+
}
168+
169+
StreamRange<google::cloud::baremetalsolution::v2::NfsShare>
170+
BareMetalSolutionConnection::ListNfsShares(
171+
google::cloud::baremetalsolution::v2::
172+
ListNfsSharesRequest) { // NOLINT(performance-unnecessary-value-param)
173+
return google::cloud::internal::MakeUnimplementedPaginationRange<
174+
StreamRange<google::cloud::baremetalsolution::v2::NfsShare>>();
175+
}
176+
177+
future<StatusOr<google::cloud::baremetalsolution::v2::NfsShare>>
178+
BareMetalSolutionConnection::UpdateNfsShare(
179+
google::cloud::baremetalsolution::v2::UpdateNfsShareRequest const&) {
180+
return google::cloud::make_ready_future<
181+
StatusOr<google::cloud::baremetalsolution::v2::NfsShare>>(
182+
Status(StatusCode::kUnimplemented, "not implemented"));
183+
}
184+
177185
std::shared_ptr<BareMetalSolutionConnection> MakeBareMetalSolutionConnection(
178186
Options options) {
179187
internal::CheckExpectedOptions<CommonOptionList, GrpcOptionList,

google/cloud/baremetalsolution/bare_metal_solution_connection.h

Lines changed: 45 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -74,12 +74,32 @@ class BareMetalSolutionConnection {
7474
virtual StatusOr<google::cloud::baremetalsolution::v2::Instance> GetInstance(
7575
google::cloud::baremetalsolution::v2::GetInstanceRequest const& request);
7676

77+
virtual future<StatusOr<google::cloud::baremetalsolution::v2::Instance>>
78+
UpdateInstance(
79+
google::cloud::baremetalsolution::v2::UpdateInstanceRequest const&
80+
request);
81+
7782
virtual future<
7883
StatusOr<google::cloud::baremetalsolution::v2::ResetInstanceResponse>>
7984
ResetInstance(
8085
google::cloud::baremetalsolution::v2::ResetInstanceRequest const&
8186
request);
8287

88+
virtual future<
89+
StatusOr<google::cloud::baremetalsolution::v2::StartInstanceResponse>>
90+
StartInstance(
91+
google::cloud::baremetalsolution::v2::StartInstanceRequest const&
92+
request);
93+
94+
virtual future<
95+
StatusOr<google::cloud::baremetalsolution::v2::StopInstanceResponse>>
96+
StopInstance(
97+
google::cloud::baremetalsolution::v2::StopInstanceRequest const& request);
98+
99+
virtual future<StatusOr<google::cloud::baremetalsolution::v2::Instance>>
100+
DetachLun(
101+
google::cloud::baremetalsolution::v2::DetachLunRequest const& request);
102+
83103
virtual StreamRange<google::cloud::baremetalsolution::v2::Volume> ListVolumes(
84104
google::cloud::baremetalsolution::v2::ListVolumesRequest request);
85105

@@ -90,66 +110,45 @@ class BareMetalSolutionConnection {
90110
UpdateVolume(
91111
google::cloud::baremetalsolution::v2::UpdateVolumeRequest const& request);
92112

113+
virtual future<StatusOr<google::cloud::baremetalsolution::v2::Volume>>
114+
ResizeVolume(
115+
google::cloud::baremetalsolution::v2::ResizeVolumeRequest const& request);
116+
93117
virtual StreamRange<google::cloud::baremetalsolution::v2::Network>
94118
ListNetworks(
95119
google::cloud::baremetalsolution::v2::ListNetworksRequest request);
96120

97-
virtual StatusOr<google::cloud::baremetalsolution::v2::Network> GetNetwork(
98-
google::cloud::baremetalsolution::v2::GetNetworkRequest const& request);
99-
100-
virtual StreamRange<
101-
google::cloud::baremetalsolution::v2::SnapshotSchedulePolicy>
102-
ListSnapshotSchedulePolicies(
103-
google::cloud::baremetalsolution::v2::ListSnapshotSchedulePoliciesRequest
121+
virtual StatusOr<
122+
google::cloud::baremetalsolution::v2::ListNetworkUsageResponse>
123+
ListNetworkUsage(
124+
google::cloud::baremetalsolution::v2::ListNetworkUsageRequest const&
104125
request);
105126

106-
virtual StatusOr<google::cloud::baremetalsolution::v2::SnapshotSchedulePolicy>
107-
GetSnapshotSchedulePolicy(
108-
google::cloud::baremetalsolution::v2::
109-
GetSnapshotSchedulePolicyRequest const& request);
110-
111-
virtual StatusOr<google::cloud::baremetalsolution::v2::SnapshotSchedulePolicy>
112-
CreateSnapshotSchedulePolicy(
113-
google::cloud::baremetalsolution::v2::
114-
CreateSnapshotSchedulePolicyRequest const& request);
115-
116-
virtual StatusOr<google::cloud::baremetalsolution::v2::SnapshotSchedulePolicy>
117-
UpdateSnapshotSchedulePolicy(
118-
google::cloud::baremetalsolution::v2::
119-
UpdateSnapshotSchedulePolicyRequest const& request);
120-
121-
virtual Status DeleteSnapshotSchedulePolicy(
122-
google::cloud::baremetalsolution::v2::
123-
DeleteSnapshotSchedulePolicyRequest const& request);
124-
125-
virtual StatusOr<google::cloud::baremetalsolution::v2::VolumeSnapshot>
126-
CreateVolumeSnapshot(
127-
google::cloud::baremetalsolution::v2::CreateVolumeSnapshotRequest const&
128-
request);
129-
130-
virtual future<StatusOr<google::cloud::baremetalsolution::v2::VolumeSnapshot>>
131-
RestoreVolumeSnapshot(
132-
google::cloud::baremetalsolution::v2::RestoreVolumeSnapshotRequest const&
133-
request);
134-
135-
virtual Status DeleteVolumeSnapshot(
136-
google::cloud::baremetalsolution::v2::DeleteVolumeSnapshotRequest const&
137-
request);
127+
virtual StatusOr<google::cloud::baremetalsolution::v2::Network> GetNetwork(
128+
google::cloud::baremetalsolution::v2::GetNetworkRequest const& request);
138129

139-
virtual StatusOr<google::cloud::baremetalsolution::v2::VolumeSnapshot>
140-
GetVolumeSnapshot(
141-
google::cloud::baremetalsolution::v2::GetVolumeSnapshotRequest const&
130+
virtual future<StatusOr<google::cloud::baremetalsolution::v2::Network>>
131+
UpdateNetwork(
132+
google::cloud::baremetalsolution::v2::UpdateNetworkRequest const&
142133
request);
143134

144-
virtual StreamRange<google::cloud::baremetalsolution::v2::VolumeSnapshot>
145-
ListVolumeSnapshots(
146-
google::cloud::baremetalsolution::v2::ListVolumeSnapshotsRequest request);
147-
148135
virtual StatusOr<google::cloud::baremetalsolution::v2::Lun> GetLun(
149136
google::cloud::baremetalsolution::v2::GetLunRequest const& request);
150137

151138
virtual StreamRange<google::cloud::baremetalsolution::v2::Lun> ListLuns(
152139
google::cloud::baremetalsolution::v2::ListLunsRequest request);
140+
141+
virtual StatusOr<google::cloud::baremetalsolution::v2::NfsShare> GetNfsShare(
142+
google::cloud::baremetalsolution::v2::GetNfsShareRequest const& request);
143+
144+
virtual StreamRange<google::cloud::baremetalsolution::v2::NfsShare>
145+
ListNfsShares(
146+
google::cloud::baremetalsolution::v2::ListNfsSharesRequest request);
147+
148+
virtual future<StatusOr<google::cloud::baremetalsolution::v2::NfsShare>>
149+
UpdateNfsShare(
150+
google::cloud::baremetalsolution::v2::UpdateNfsShareRequest const&
151+
request);
153152
};
154153

155154
/**

0 commit comments

Comments
 (0)