[go: nahoru, domu]

Skip to content

Commit

Permalink
feat: add update_mask to UpdateBuildTriggerRequest proto
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 552479161

Source-Link: googleapis/googleapis@f8415bd

Source-Link: googleapis/googleapis-gen@4ac7667
Copy-Tag: eyJwIjoiYXBpcy9Hb29nbGUuQ2xvdWQuQ2xvdWRCdWlsZC5WMS8uT3dsQm90LnlhbWwiLCJoIjoiNGFjNzY2N2M3ZGVhMzg3MzhkOWUyMTc2MzA1YTgwNGRlMjI1OGJlMSJ9
  • Loading branch information
gcf-owl-bot[bot] authored and jskeet committed Jul 31, 2023
1 parent 42ece88 commit 1b10e84
Show file tree
Hide file tree
Showing 5 changed files with 331 additions and 273 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ namespace GoogleCSharpSnippets
{
// [START cloudbuild_v1_generated_CloudBuild_UpdateBuildTrigger_async]
using Google.Cloud.CloudBuild.V1;
using Google.Protobuf.WellKnownTypes;
using System.Threading.Tasks;

public sealed partial class GeneratedCloudBuildClientSnippets
Expand All @@ -40,6 +41,7 @@ public async Task UpdateBuildTriggerRequestObjectAsync()
ProjectId = "",
TriggerId = "",
Trigger = new BuildTrigger(),
UpdateMask = new FieldMask(),
};
// Make the request
BuildTrigger response = await cloudBuildClient.UpdateBuildTriggerAsync(request);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ namespace GoogleCSharpSnippets
{
// [START cloudbuild_v1_generated_CloudBuild_UpdateBuildTrigger_sync]
using Google.Cloud.CloudBuild.V1;
using Google.Protobuf.WellKnownTypes;

public sealed partial class GeneratedCloudBuildClientSnippets
{
Expand All @@ -39,6 +40,7 @@ public void UpdateBuildTriggerRequestObject()
ProjectId = "",
TriggerId = "",
Trigger = new BuildTrigger(),
UpdateMask = new FieldMask(),
};
// Make the request
BuildTrigger response = cloudBuildClient.UpdateBuildTrigger(request);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2070,12 +2070,12 @@
"segments": [
{
"start": 20,
"end": 46,
"end": 48,
"type": "FULL"
},
{
"start": 34,
"end": 44,
"start": 35,
"end": 46,
"type": "SHORT"
}
]
Expand Down Expand Up @@ -2119,12 +2119,12 @@
"segments": [
{
"start": 20,
"end": 47,
"end": 49,
"type": "FULL"
},
{
"start": 35,
"end": 45,
"start": 36,
"end": 47,
"type": "SHORT"
}
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1139,6 +1139,7 @@ public void UpdateBuildTriggerRequestObject()
ProjectId = "",
TriggerId = "",
Trigger = new BuildTrigger(),
UpdateMask = new FieldMask(),
};
// Make the request
BuildTrigger response = cloudBuildClient.UpdateBuildTrigger(request);
Expand All @@ -1158,6 +1159,7 @@ public async Task UpdateBuildTriggerRequestObjectAsync()
ProjectId = "",
TriggerId = "",
Trigger = new BuildTrigger(),
UpdateMask = new FieldMask(),
};
// Make the request
BuildTrigger response = await cloudBuildClient.UpdateBuildTriggerAsync(request);
Expand Down
Loading

0 comments on commit 1b10e84

Please sign in to comment.