Skip to content

Commit 251f8b0

Browse files
thomhurstthomhurst
andauthored
chore: Update gcloud CLI options (#2451)
Co-authored-by: thomhurst <9139608+thomhurst@users.noreply.github.com>
1 parent f30070b commit 251f8b0

241 files changed

Lines changed: 5873 additions & 448 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

src/ModularPipelines.Google/AssemblyInfo.Generated.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@
66
using System.Reflection;
77

88
[assembly: AssemblyMetadata("ModularPipelines.OptionsGenerator.Tool", "gcloud")]
9-
[assembly: AssemblyMetadata("ModularPipelines.OptionsGenerator.GeneratedAt", "2026-03-01T03:41:49.3757856Z")]
9+
[assembly: AssemblyMetadata("ModularPipelines.OptionsGenerator.GeneratedAt", "2026-04-05T03:43:32.8534722Z")]

src/ModularPipelines.Google/Enums/GcloudMode.Generated.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@ public enum GcloudMode
2020
[Description("mode-unspecified")]
2121
ModeUnspecified,
2222

23+
[Description("system-trust-domain")]
24+
SystemTrustDomain,
25+
2326
[Description("trust-domain")]
2427
TrustDomain
2528
}

src/ModularPipelines.Google/Enums/GcloudScimUsage.Generated.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@ public enum GcloudScimUsage
1717
[Description("enabled-for-groups")]
1818
EnabledForGroups,
1919

20+
[Description("enabled-for-users-groups")]
21+
EnabledForUsersGroups,
22+
2023
[Description("scim-usage-unspecified")]
2124
ScimUsageUnspecified
2225
}
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
// <auto-generated>
2+
// This file was generated by ModularPipelines.OptionsGenerator.
3+
// Do not edit this file manually.
4+
// </auto-generated>
5+
6+
using System.CodeDom.Compiler;
7+
using System.ComponentModel;
8+
9+
namespace ModularPipelines.Google.Enums;
10+
11+
/// <summary>
12+
/// Allowed values for --zonalaffinityspilloverratio.
13+
/// </summary>
14+
[GeneratedCode("ModularPipelines.OptionsGenerator", "")]
15+
public enum GcloudZonalAffinitySpilloverRatio
16+
{
17+
[Description("PREPARE")]
18+
Prepare,
19+
20+
[Description("TEST_BY_PERCENTAGE")]
21+
TestByPercentage,
22+
23+
[Description("TEST_ALL_TRAFFIC")]
24+
TestAllTraffic
25+
}

src/ModularPipelines.Google/Extensions/GcloudExtensions.Generated.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ public static IServiceCollection RegisterGcloudContext(this IServiceCollection s
5555
services.TryAddScoped<GcloudBackupdr>();
5656
services.TryAddScoped<GcloudBatch>();
5757
services.TryAddScoped<GcloudBeyondcorp>();
58+
services.TryAddScoped<GcloudBiglake>();
5859
services.TryAddScoped<GcloudBigtable>();
5960
services.TryAddScoped<GcloudBilling>();
6061
services.TryAddScoped<GcloudBms>();
@@ -99,7 +100,6 @@ public static IServiceCollection RegisterGcloudContext(this IServiceCollection s
99100
services.TryAddScoped<GcloudIap>();
100101
services.TryAddScoped<GcloudIdentity>();
101102
services.TryAddScoped<GcloudIds>();
102-
services.TryAddScoped<GcloudImmersivestream>();
103103
services.TryAddScoped<GcloudInframanager>();
104104
services.TryAddScoped<GcloudKms>();
105105
services.TryAddScoped<GcloudLogging>();
@@ -152,6 +152,7 @@ public static IServiceCollection RegisterGcloudContext(this IServiceCollection s
152152
services.TryAddScoped<GcloudTelcoautomation>();
153153
services.TryAddScoped<GcloudTranscoder>();
154154
services.TryAddScoped<GcloudTransfer>();
155+
services.TryAddScoped<GcloudVectorsearch>();
155156
services.TryAddScoped<GcloudVmware>();
156157
services.TryAddScoped<GcloudWorkbench>();
157158
services.TryAddScoped<GcloudWorkflows>();
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
// <auto-generated>
2+
// This file was generated by ModularPipelines.OptionsGenerator.
3+
// Source: https://cloud.google.com/sdk/gcloud/reference/access-context-manager/supported-permissions/describe
4+
// Do not edit this file manually.
5+
// </auto-generated>
6+
7+
using System.CodeDom.Compiler;
8+
using System.Diagnostics.CodeAnalysis;
9+
using ModularPipelines.Attributes;
10+
using ModularPipelines.Google.Options;
11+
12+
namespace ModularPipelines.Google.Options;
13+
14+
/// <summary>
15+
/// describes which permissions in a provided role are supported by VPC Service Controls
16+
/// </summary>
17+
[GeneratedCode("ModularPipelines.OptionsGenerator", "")]
18+
[ExcludeFromCodeCoverage]
19+
[CliSubCommand("access-context-manager", "supported-permissions", "describe")]
20+
public record GcloudAccessContextManagerSupportedPermissionsDescribeOptions(
21+
[property: CliArgument(0, Placement = ArgumentPlacement.BeforeOptions)] string RoleId
22+
) : GcloudOptions
23+
{
24+
}
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
// <auto-generated>
2+
// This file was generated by ModularPipelines.OptionsGenerator.
3+
// Source: https://cloud.google.com/sdk/gcloud/reference/access-context-manager/supported-permissions/list
4+
// Do not edit this file manually.
5+
// </auto-generated>
6+
7+
using System.CodeDom.Compiler;
8+
using System.Diagnostics.CodeAnalysis;
9+
using ModularPipelines.Attributes;
10+
using ModularPipelines.Google.Options;
11+
12+
namespace ModularPipelines.Google.Options;
13+
14+
/// <summary>
15+
/// lists all VPC Service Controls supported permissions
16+
/// </summary>
17+
[GeneratedCode("ModularPipelines.OptionsGenerator", "")]
18+
[ExcludeFromCodeCoverage]
19+
[CliSubCommand("access-context-manager", "supported-permissions", "list")]
20+
public record GcloudAccessContextManagerSupportedPermissionsListOptions : GcloudOptions
21+
{
22+
}
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
// <auto-generated>
2+
// This file was generated by ModularPipelines.OptionsGenerator.
3+
// Source: https://cloud.google.com/sdk/gcloud/reference/access-context-manager/supported-permissions
4+
// Do not edit this file manually.
5+
// </auto-generated>
6+
7+
using System.CodeDom.Compiler;
8+
using System.Diagnostics.CodeAnalysis;
9+
using ModularPipelines.Attributes;
10+
using ModularPipelines.Google.Options;
11+
12+
namespace ModularPipelines.Google.Options;
13+
14+
/// <summary>
15+
/// retrieve VPC Service Controls Supported Permissions
16+
/// </summary>
17+
[GeneratedCode("ModularPipelines.OptionsGenerator", "")]
18+
[ExcludeFromCodeCoverage]
19+
[CliSubCommand("access-context-manager", "supported-permissions")]
20+
public record GcloudAccessContextManagerSupportedPermissionsOptions : GcloudOptions
21+
{
22+
}

src/ModularPipelines.Google/Options/GcloudBackupDrBackupPlansUpdateOptions.Generated.cs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,12 @@ public record GcloudBackupDrBackupPlansUpdateOptions : GcloudOptions
5050
[CliOption("--description", Format = OptionFormat.EqualsSeparated)]
5151
public string? Description { get; set; }
5252

53+
/// <summary>
54+
/// Workload-specific properties for disk backups generated by this plan. guest-flush Indicates whether to perform a guest flush operation before taking a disk backup. When set to true, the system will attempt to ensure application-consistent backups. When set to false, the system will create crash-consistent backups. Default value is false. Example: --disk-properties=guest-flush=true
55+
/// </summary>
56+
[CliOption("--disk-properties", Format = OptionFormat.EqualsSeparated, AllowMultiple = true)]
57+
public KeyValue[]? DiskProperties { get; set; }
58+
5359
/// <summary>
5460
/// Configure the maximum retention period for on-demand backups. The value must be greater than or equal to the minimum enforced retention period set on the backup vault.
5561
/// </summary>

src/ModularPipelines.Google/Options/GcloudBeyondcorpSecurityGatewaysCreateOptions.Generated.cs

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,13 @@ public record GcloudBeyondcorpSecurityGatewaysCreateOptions : GcloudOptions
3838
public IEnumerable<string>? Hubs { get; set; }
3939

4040
/// <summary>
41-
/// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. Settings related to the Service Discovery. If Service Discovery is done through API, defines its settings. This must be specified. API operation descriptor. This must be specified. --resource-override-path=RESOURCE_OVERRIDE_PATH Contains the URI path fragment where HTTP request is sent. The configuration for the proxy.
41+
/// Configuration for Cloud Logging. Shorthand Example: --logging= JSON Example: --logging={} File Example: --logging=path_to_file.(yaml|json)
42+
/// </summary>
43+
[CliOption("--logging", Format = OptionFormat.EqualsSeparated, AllowMultiple = true)]
44+
public IEnumerable<string>? Logging { get; set; }
45+
46+
/// <summary>
47+
/// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. The configuration for the proxy.
4248
/// </summary>
4349
[CliOption("--request-id", Format = OptionFormat.EqualsSeparated)]
4450
public string? RequestId { get; set; }
@@ -86,7 +92,7 @@ public record GcloudBeyondcorpSecurityGatewaysCreateOptions : GcloudOptions
8692
public string? GroupInfoOutputType { get; set; }
8793

8894
/// <summary>
89-
/// The delegated user's information. USER_INFO_OUTPUT_TYPE must be one of: json JSON output type. none Explicitly disable header output. protobuf Protobuf output type.
95+
/// The delegated user's information. USER_INFO_OUTPUT_TYPE must be one of: json JSON output type. none Explicitly disable header output. protobuf Protobuf output type. Set the value of googleCloudBeyondcorpSecuritygatewaysV1SecurityGateway.serviceDiscovery by using flag [service-discovery] or flags []. At most one of these can be specified: Settings related to the Service Discovery. If Service Discovery is done through API, defines its settings. API operation descriptor. --resource-override-path=RESOURCE_OVERRIDE_PATH Contains the URI path fragment where HTTP request is sent. --service-discovery=[apiGateway=APIGATEWAY] Settings related to the Service Discovery. Shorthand Example: --service-discovery=apiGateway={resourceOverride={path=string}} JSON Example: --service-discovery='{"apiGateway": {"resourceOverride": {"path": "string"}}}' File Example: --service-discovery=path_to_file.(yaml|json)
9096
/// </summary>
9197
[CliOption("--user-info-output-type", Format = OptionFormat.EqualsSeparated)]
9298
public string? UserInfoOutputType { get; set; }

0 commit comments

Comments
 (0)