Skip to content
Open
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 src/ModularPipelines.Google/AssemblyInfo.Generated.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
using System.Reflection;

[assembly: AssemblyMetadata("ModularPipelines.OptionsGenerator.Tool", "gcloud")]
[assembly: AssemblyMetadata("ModularPipelines.OptionsGenerator.GeneratedAt", "2026-03-01T03:41:49.3757856Z")]
[assembly: AssemblyMetadata("ModularPipelines.OptionsGenerator.GeneratedAt", "2026-03-22T03:43:29.4393925Z")]
3 changes: 3 additions & 0 deletions src/ModularPipelines.Google/Enums/GcloudMode.Generated.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ public enum GcloudMode
[Description("mode-unspecified")]
ModeUnspecified,

[Description("system-trust-domain")]
SystemTrustDomain,

[Description("trust-domain")]
TrustDomain
}
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ public enum GcloudScimUsage
[Description("enabled-for-groups")]
EnabledForGroups,

[Description("enabled-for-users-groups")]
EnabledForUsersGroups,

[Description("scim-usage-unspecified")]
ScimUsageUnspecified
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
// <auto-generated>
// This file was generated by ModularPipelines.OptionsGenerator.
// Do not edit this file manually.
// </auto-generated>

using System.CodeDom.Compiler;
using System.ComponentModel;

namespace ModularPipelines.Google.Enums;

/// <summary>
/// Allowed values for --zonalaffinityspilloverratio.
/// </summary>
[GeneratedCode("ModularPipelines.OptionsGenerator", "")]
public enum GcloudZonalAffinitySpilloverRatio
{
[Description("PREPARE")]
Prepare,

[Description("TEST_BY_PERCENTAGE")]
TestByPercentage,

[Description("TEST_ALL_TRAFFIC")]
TestAllTraffic
}
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,7 @@ public static IServiceCollection RegisterGcloudContext(this IServiceCollection s
services.TryAddScoped<GcloudTelcoautomation>();
services.TryAddScoped<GcloudTranscoder>();
services.TryAddScoped<GcloudTransfer>();
services.TryAddScoped<GcloudVectorsearch>();
services.TryAddScoped<GcloudVmware>();
services.TryAddScoped<GcloudWorkbench>();
services.TryAddScoped<GcloudWorkflows>();
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
// <auto-generated>
// This file was generated by ModularPipelines.OptionsGenerator.
// Source: https://cloud.google.com/sdk/gcloud/reference/access-context-manager/supported-permissions/describe
// Do not edit this file manually.
// </auto-generated>

using System.CodeDom.Compiler;
using System.Diagnostics.CodeAnalysis;
using ModularPipelines.Attributes;
using ModularPipelines.Google.Options;

namespace ModularPipelines.Google.Options;

/// <summary>
/// describes which permissions in a provided role are supported by VPC Service Controls
/// </summary>
[GeneratedCode("ModularPipelines.OptionsGenerator", "")]
[ExcludeFromCodeCoverage]
[CliSubCommand("access-context-manager", "supported-permissions", "describe")]
public record GcloudAccessContextManagerSupportedPermissionsDescribeOptions(
[property: CliArgument(0, Placement = ArgumentPlacement.BeforeOptions)] string RoleId
) : GcloudOptions
{
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// <auto-generated>
// This file was generated by ModularPipelines.OptionsGenerator.
// Source: https://cloud.google.com/sdk/gcloud/reference/iam/workforce-pools/providers/scim-tenants/tokens/undelete
// Source: https://cloud.google.com/sdk/gcloud/reference/access-context-manager/supported-permissions/list
// Do not edit this file manually.
// </auto-generated>

Expand All @@ -12,11 +12,11 @@
namespace ModularPipelines.Google.Options;

/// <summary>
/// undelete an IAM workforce identity pool provider SCIM tenant token
/// lists all VPC Service Controls supported permissions
/// </summary>
[GeneratedCode("ModularPipelines.OptionsGenerator", "")]
[ExcludeFromCodeCoverage]
[CliSubCommand("iam", "workforce-pools", "providers", "scim-tenants", "tokens", "undelete")]
public record GcloudIamWorkforcePoolsProvidersScimTenantsTokensUndeleteOptions : GcloudOptions
[CliSubCommand("access-context-manager", "supported-permissions", "list")]
public record GcloudAccessContextManagerSupportedPermissionsListOptions : GcloudOptions
{
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
// <auto-generated>
// This file was generated by ModularPipelines.OptionsGenerator.
// Source: https://cloud.google.com/sdk/gcloud/reference/access-context-manager/supported-permissions
// Do not edit this file manually.
// </auto-generated>

using System.CodeDom.Compiler;
using System.Diagnostics.CodeAnalysis;
using ModularPipelines.Attributes;
using ModularPipelines.Google.Options;

namespace ModularPipelines.Google.Options;

/// <summary>
/// retrieve VPC Service Controls Supported Permissions
/// </summary>
[GeneratedCode("ModularPipelines.OptionsGenerator", "")]
[ExcludeFromCodeCoverage]
[CliSubCommand("access-context-manager", "supported-permissions")]
public record GcloudAccessContextManagerSupportedPermissionsOptions : GcloudOptions
{
}
Original file line number Diff line number Diff line change
Expand Up @@ -291,9 +291,21 @@ public record GcloudComputeBackendServicesCreateOptions(
public string? TlsSettings { get; set; }

/// <summary>
/// Specifies the connection key used for connection tracking. The default value is PER_CONNECTION. Applicable only for backend service-based external and internal passthrough Network Load Balancers as part of a connection tracking policy. For details, see: Connection tracking mode for internal passthrough Network Load Balancers balancing (https://cloud.google.com/load-balancing/docs/internal#tracking-mode) and Connection tracking mode for external passthrough Network Load Balancers (https://cloud.google.com/load-balancing/docs/network/networklb-backend-service#tracking-mode). TRACKING_MODE must be one of: PER_CONNECTION, PER_SESSION. At most one of these can be specified: --cache-key-query-string-blacklist=[QUERY_STRING,...] Specifies a comma separated list of query string parameters to exclude in cache keys. All other parameters will be included. Either specify --cache-key-query-string-whitelist or --cache-key-query-string-blacklist, not both. '&amp;' and '=' will be percent encoded and not treated as delimiters. Can only be applied for global resources. --cache-key-query-string-whitelist=QUERY_STRING,[...] Specifies a comma separated list of query string parameters to include in cache keys. All other parameters will be excluded. Either specify --cache-key-query-string-whitelist or --cache-key-query-string-blacklist, not both. '&amp;' and '=' will be percent encoded and not treated as delimiters. Can only be applied for global resources. At most one of these can be specified: --custom-metrics=[CUSTOM_METRICS,...] List of custom metrics that are used for WEIGHTED_ROUND_ROBIN locality load balancing policy. Example: $ gcloud compute backend-services create \ --custom-metrics='name=my-signal,dryRun=true' $ gcloud compute backend-services create \ --custom-metrics='name=my-signal,dryRun=true' \ --custom-metrics='name=my-signal2' $ gcloud compute backend-services create \ --custom-metrics='[{"name" : "my-signal", "dryRun" : true}, {"name" : "my-signal2"}]' Sets custom_metrics value. dryRun Sets dryRun value. name Required, sets name value. Shorthand Example: --custom-metrics=dryRun=boolean,name=string --custom-metrics=dryRun=boolean,name=string JSON Example: --custom-metrics='[{"dryRun": boolean, "name": "string"}]' File Example: --custom-metrics=path_to_file.(yaml|json) --custom-metrics-file=[CUSTOM_METRICS,...] File path to json file with custom metrics that are used for WEIGHTED_ROUND_ROBIN locality load balancing policy. Example: $ gcloud compute backend-services create \ --custom-metrics-file='customMetric.json' Sets custom_metrics_file value. dryRun Sets dryRun value. name Required, sets name value. Shorthand Example: --custom-metrics-file=dryRun=boolean,name=string --custom-metrics-file=dryRun=boolean,name=string JSON Example: --custom-metrics-file='[{"dryRun": boolean, "name": "string"}]' File Example: --custom-metrics-file=path_to_file.(yaml|json) At most one of these can be specified: --global If set, the backend service is global. --region=REGION Region of the backend service to create. Overrides the default compute/region property value for this command invocation. At most one of these can be specified: --global-health-checks If set, the health checks are global. --health-checks-region=HEALTH_CHECKS_REGION Region of the health checks to operate on. If not specified, you might be prompted to select a region (interactive mode only). To avoid prompting when this flag is omitted, you can set the compute/region property: $ gcloud config set compute/region REGION A list of regions can be fetched by running: $ gcloud compute regions list To unset the property, run: $ gcloud config unset compute/region Alternatively, the region can be stored in the environment variable CLOUDSDK_COMPUTE_REGION.
/// Specifies the connection key used for connection tracking. The default value is PER_CONNECTION. Applicable only for backend service-based external and internal passthrough Network Load Balancers as part of a connection tracking policy. For details, see: Connection tracking mode for internal passthrough Network Load Balancers balancing (https://cloud.google.com/load-balancing/docs/internal#tracking-mode) and Connection tracking mode for external passthrough Network Load Balancers (https://cloud.google.com/load-balancing/docs/network/networklb-backend-service#tracking-mode). TRACKING_MODE must be one of: PER_CONNECTION, PER_SESSION.
/// </summary>
[CliOption("--tracking-mode", Format = OptionFormat.EqualsSeparated)]
public GcloudTrackingMode? TrackingMode { get; set; }

/// <summary>
/// Specifies whether zonal affinity is enabled or not. For further details, refer to Zonal affinity options (https://cloud.google.com/load-balancing/docs/internal/zonal-affinity#zonal_affinity_options). Can only be set if load balancing scheme is INTERNAL, The possible values are: ZONAL_AFFINITY_DISABLED Default Value. Zonal Affinity is disabled. The load balancer distributes new connections to all healthy backend VMs across all zones. ZONAL_AFFINITY_STAY_WITHIN_ZONE Zonal Affinity is enabled. The load balancer distributes new connections to all healthy backend VMs in the client VM's zone only. If there are no healthy backend VMs in the client VM's zone, the load balancer distributes new connections to all backend VMs in the client VM's zone. ZONAL_AFFINITY_SPILL_CROSS_ZONE Zonal Affinity is enabled. The load balancer distributes new connections to all healthy backend VMs in the client VM's zone only. If there aren't enough healthy backend VMs in the client VM's zone, the load balancer distributes some new connections to backend VMs in zones other than the client VM's zone. This distribution depends on a configurable spillover ratio that determines when traffic starts spilling over to backend VMs in other zones. ZONAL_AFFINITY_SPILLOVER must be one of: ZONAL_AFFINITY_DISABLED, ZONAL_AFFINITY_STAY_WITHIN_ZONE, ZONAL_AFFINITY_SPILL_CROSS_ZONE.
/// </summary>
[CliOption("--zonal-affinity-spillover", Format = OptionFormat.EqualsSeparated)]
public string? ZonalAffinitySpillover { get; set; }

/// <summary>
/// The value of the field can range from 0.0 to 1.0, inclusive. If not specified, a default value of 0.0 is used. This ratio indicates the threshold value for keeping traffic in the client VM's zone. If the proportion of healthy backend VMs in a zone falls below the configured spillover ratio, some new connections from the client VM are distributed to healthy backend VMs in zones other than the client VM's zone. For further details, refer to How ZONAL_AFFINITY_SPILL_CROSS_ZONE and spillover ratio work (https://cloud.google.com/load-balancing/docs/internal/zonal-affinity#zonal-affinity-spillover-ratio). At most one of these can be specified: --cache-key-query-string-blacklist=[QUERY_STRING,...] Specifies a comma separated list of query string parameters to exclude in cache keys. All other parameters will be included. Either specify --cache-key-query-string-whitelist or --cache-key-query-string-blacklist, not both. '&amp;' and '=' will be percent encoded and not treated as delimiters. Can only be applied for global resources. --cache-key-query-string-whitelist=QUERY_STRING,[...] Specifies a comma separated list of query string parameters to include in cache keys. All other parameters will be excluded. Either specify --cache-key-query-string-whitelist or --cache-key-query-string-blacklist, not both. '&amp;' and '=' will be percent encoded and not treated as delimiters. Can only be applied for global resources. At most one of these can be specified: --custom-metrics=[CUSTOM_METRICS,...] List of custom metrics that are used for WEIGHTED_ROUND_ROBIN locality load balancing policy. Example: $ gcloud compute backend-services create \ --custom-metrics='name=my-signal,dryRun=true' $ gcloud compute backend-services create \ --custom-metrics='name=my-signal,dryRun=true' \ --custom-metrics='name=my-signal2' $ gcloud compute backend-services create \ --custom-metrics='[{"name" : "my-signal", "dryRun" : true}, {"name" : "my-signal2"}]' Sets custom_metrics value. dryRun Sets dryRun value. name Required, sets name value. Shorthand Example: --custom-metrics=dryRun=boolean,name=string --custom-metrics=dryRun=boolean,name=string JSON Example: --custom-metrics='[{"dryRun": boolean, "name": "string"}]' File Example: --custom-metrics=path_to_file.(yaml|json) --custom-metrics-file=[CUSTOM_METRICS,...] File path to json file with custom metrics that are used for WEIGHTED_ROUND_ROBIN locality load balancing policy. Example: $ gcloud compute backend-services create \ --custom-metrics-file='customMetric.json' Sets custom_metrics_file value. dryRun Sets dryRun value. name Required, sets name value. Shorthand Example: --custom-metrics-file=dryRun=boolean,name=string --custom-metrics-file=dryRun=boolean,name=string JSON Example: --custom-metrics-file='[{"dryRun": boolean, "name": "string"}]' File Example: --custom-metrics-file=path_to_file.(yaml|json) At most one of these can be specified: --global If set, the backend service is global. --region=REGION Region of the backend service to create. Overrides the default compute/region property value for this command invocation. At most one of these can be specified: --global-health-checks If set, the health checks are global. --health-checks-region=HEALTH_CHECKS_REGION Region of the health checks to operate on. If not specified, you might be prompted to select a region (interactive mode only). To avoid prompting when this flag is omitted, you can set the compute/region property: $ gcloud config set compute/region REGION A list of regions can be fetched by running: $ gcloud compute regions list To unset the property, run: $ gcloud config unset compute/region Alternatively, the region can be stored in the environment variable CLOUDSDK_COMPUTE_REGION.
/// </summary>
[CliOption("--zonal-affinity-spillover-ratio", Format = OptionFormat.EqualsSeparated)]
public string? ZonalAffinitySpilloverRatio { get; set; }

}

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public record GcloudComputeImagesListOptions : GcloudOptions
public bool? ShowDeprecated { get; set; }

/// <summary>
/// List images from public image projects. The public image projects that are available include the following: cos-cloud, debian-cloud, rocky-linux-cloud, ubuntu-os-cloud, centos-cloud, fedora-coreos-cloud, opensuse-cloud, oracle-linux-cloud, rhel-cloud, rhel-sap-cloud, rocky-linux-accelerator-cloud, suse-cloud, suse-sap-cloud, ubuntu-os-accelerator-images, ubuntu-os-pro-cloud, windows-cloud, windows-sql-cloud. Enabled by default, use --no-standard-images to disable.
/// List images from public image projects. The public image projects that are available include the following: cos-cloud, debian-cloud, rocky-linux-cloud, ubuntu-os-cloud, almalinux-cloud, centos-cloud, fedora-coreos-cloud, opensuse-cloud, oracle-linux-cloud, rhel-cloud, rhel-sap-cloud, rocky-linux-accelerator-cloud, suse-cloud, suse-sap-cloud, ubuntu-os-accelerator-images, ubuntu-os-pro-cloud, windows-cloud, windows-sql-cloud. Enabled by default, use --no-standard-images to disable.
/// </summary>
[CliFlag("--standard-images")]
public bool? StandardImages { get; set; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,12 @@ public record GcloudComputeReservationsUpdateOptions(
[CliOption("--add-share-with", Format = OptionFormat.EqualsSeparated, AllowMultiple = true)]
public IEnumerable<string>? AddShareWith { get; set; }

/// <summary>
/// Enable this feature to receive quarterly updates and new features for your reservation earlier than the standard schedule.. EARLY_ACCESS_MAINTENANCE must be one of: NO_EARLY_ACCESS Standard maintenance schedule. The reservation doesn't have early access maintenance. WAVE1 Provides the earliest available notification and maintenance. WAVE2 Provides notification and maintenance after WAVE1, but before the standard maintenance schedule.
/// </summary>
[CliOption("--early-access-maintenance", Format = OptionFormat.EqualsSeparated)]
public string? EarlyAccessMaintenance { get; set; }

/// <summary>
/// A list of specific projects to remove from the list of projects that this reservation is shared with. List must contain project IDs or project numbers.
/// </summary>
Expand Down
Loading
Loading