Skip to content

Commit 124d107

Browse files
thomhurstthomhurst
andauthored
chore: Update gcloud CLI options (#2429)
Co-authored-by: thomhurst <9139608+thomhurst@users.noreply.github.com>
1 parent c0fb1a4 commit 124d107

File tree

187 files changed

+6315
-27
lines changed

Some content is hidden

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

187 files changed

+6315
-27
lines changed

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-02-15T03:40:50.6965591Z")]
9+
[assembly: AssemblyMetadata("ModularPipelines.OptionsGenerator.GeneratedAt", "2026-03-01T03:41:49.3757856Z")]
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+
// 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 --directvpcegress.
13+
/// </summary>
14+
[GeneratedCode("ModularPipelines.OptionsGenerator", "")]
15+
public enum GcloudDirectVpcEgress
16+
{
17+
[Description("private-ranges-only")]
18+
PrivateRangesOnly,
19+
20+
[Description("all")]
21+
All
22+
}

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ public static IServiceCollection RegisterGcloudContext(this IServiceCollection s
4444
services.TryAddScoped<GcloudAnthos>();
4545
services.TryAddScoped<GcloudApigateway>();
4646
services.TryAddScoped<GcloudApigee>();
47+
services.TryAddScoped<GcloudApihub>();
4748
services.TryAddScoped<GcloudApp>();
4849
services.TryAddScoped<GcloudApphub>();
4950
services.TryAddScoped<GcloudArtifacts>();
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/apihub/addons/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+
/// describe an Addon
16+
/// </summary>
17+
[GeneratedCode("ModularPipelines.OptionsGenerator", "")]
18+
[ExcludeFromCodeCoverage]
19+
[CliSubCommand("apihub", "addons", "describe")]
20+
public record GcloudApihubAddonsDescribeOptions : 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/apihub/addons/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+
/// list Addons
16+
/// </summary>
17+
[GeneratedCode("ModularPipelines.OptionsGenerator", "")]
18+
[ExcludeFromCodeCoverage]
19+
[CliSubCommand("apihub", "addons", "list")]
20+
public record GcloudApihubAddonsListOptions : GcloudOptions
21+
{
22+
}
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
// <auto-generated>
2+
// This file was generated by ModularPipelines.OptionsGenerator.
3+
// Source: https://cloud.google.com/sdk/gcloud/reference/apihub/addons/manage-config
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+
/// manage the Config of an Addon
16+
/// </summary>
17+
[GeneratedCode("ModularPipelines.OptionsGenerator", "")]
18+
[ExcludeFromCodeCoverage]
19+
[CliSubCommand("apihub", "addons", "manage-config")]
20+
public record GcloudApihubAddonsManageConfigOptions : GcloudOptions
21+
{
22+
/// <summary>
23+
/// Return immediately, without waiting for the operation in progress to complete. Arguments for the config. At most one of these can be specified: Configuration for addons which act on all data in the API hub. This is used to specify if the addon is enabled for all data in the API hub. --[no-]all-data-addon-config-enabled If true, the addon is enabled for all data in the API hub. Use --all-data-addon-config-enabled to enable and --no-all-data-addon-config-enabled to disable. Configuration for gateway plugin addons. This is used to specify the list of gateway plugin configs for which the addon is enabled. --gateway-plugin-addon-config-configs=[apigeeEdgeConfig=APIGEEEDGECONFIG],[apigeeOpdkConfig=APIGEEOPDKCONFIG],[apigeeXHybridConfig=APIGEEXHYBRIDCONFIG],[pluginInstance=PLUGININSTANCE] Required, The list of gateway plugin configs for which the addon is enabled. Each gateway plugin config should have a unique plugin instance. apigeeEdgeConfig Configuration for Apigee Edge gateways. environmentFilter The filter to apply on the resources managed by the gateway plugin instance. If provided this filter applies environment specific filtering. allEnvironments Indicates if this filter should match all environments or only a subset of environments. If set to true, all environments are matched. environments If provided, only environments in this list are matched. This field is ignored if all_environments is true. apigeeOpdkConfig Configuration for Apigee OPDK gateways. environmentFilter The filter to apply on the resources managed by the gateway plugin instance. If provided this filter applies environment specific filtering. allEnvironments Indicates if this filter should match all environments or only a subset of environments. If set to true, all environments are matched. environments If provided, only environments in this list are matched. This field is ignored if all_environments is true. apigeeXHybridConfig Configuration for Apigee X and Apigee Hybrid gateways. environmentFilter The filter to apply on the resources managed by the gateway plugin instance. If provided this filter applies environment specific filtering. allEnvironments Indicates if this filter should match all environments or only a subset of environments. If set to true, all environments are matched. environments If provided, only environments in this list are matched. This field is ignored if all_environments is true. pluginInstance The name of the gateway plugin instance for which the config is to be specified. Format: projects/{project}/locations/{location}/plugins/{plugin}/pluginInstances/{plugin_instance}. Shorthand Example: --gateway-plugin-addon-config-configs=apigeeEdgeConfig={environmentFilter={allEnvironments=boolean,environments=[string]}},apigeeOpdkConfig={environmentFilter={allEnvironments=boolean,environments=[string]}},apigeeXHybridConfig={environmentFilter={allEnvironments=boolean,environments=[string]}},pluginInstance=string --gateway-plugin-addon-config-configs=apigeeEdgeConfig={environmentFilter={allEnvironments=boolean,environments=[string]}},apigeeOpdkConfig={environmentFilter={allEnvironments=boolean,environments=[string]}},apigeeXHybridConfig={environmentFilter={allEnvironments=boolean,environments=[string]}},pluginInstance=string JSON Example: --gateway-plugin-addon-config-configs='[{"apigeeEdgeConfig": {"environmentFilter": {"allEnvironments": boolean, "environments": ["string"]}}, "apigeeOpdkConfig": {"environmentFilter": {"allEnvironments": boolean, "environments": ["string"]}}, "apigeeXHybridConfig": {"environmentFilter": {"allEnvironments": boolean, "environments": ["string"]}}, "pluginInstance": "string"}]' File Example: --gateway-plugin-addon-config-configs=path_to_file.(yaml|json)
24+
/// </summary>
25+
[CliFlag("--async")]
26+
public bool? Async { get; set; }
27+
28+
}
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/apihub/addons
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+
/// manage Addon resources
16+
/// </summary>
17+
[GeneratedCode("ModularPipelines.OptionsGenerator", "")]
18+
[ExcludeFromCodeCoverage]
19+
[CliSubCommand("apihub", "addons")]
20+
public record GcloudApihubAddonsOptions : 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/apihub/api-hub-instances/create
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+
/// create an Api Hub Instance
16+
/// </summary>
17+
[GeneratedCode("ModularPipelines.OptionsGenerator", "")]
18+
[ExcludeFromCodeCoverage]
19+
[CliSubCommand("apihub", "api-hub-instances", "create")]
20+
public record GcloudApihubApiHubInstancesCreateOptions : GcloudOptions
21+
{
22+
}
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
// <auto-generated>
2+
// This file was generated by ModularPipelines.OptionsGenerator.
3+
// Source: https://cloud.google.com/sdk/gcloud/reference/apihub/api-hub-instances/delete
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+
/// delete an Api Hub Instance
16+
/// </summary>
17+
[GeneratedCode("ModularPipelines.OptionsGenerator", "")]
18+
[ExcludeFromCodeCoverage]
19+
[CliSubCommand("apihub", "api-hub-instances", "delete")]
20+
public record GcloudApihubApiHubInstancesDeleteOptions : GcloudOptions
21+
{
22+
/// <summary>
23+
/// Return immediately, without waiting for the operation in progress to complete.
24+
/// </summary>
25+
[CliFlag("--async")]
26+
public bool? Async { get; set; }
27+
28+
}
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/apihub/api-hub-instances/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+
/// describe an Api Hub Instance
16+
/// </summary>
17+
[GeneratedCode("ModularPipelines.OptionsGenerator", "")]
18+
[ExcludeFromCodeCoverage]
19+
[CliSubCommand("apihub", "api-hub-instances", "describe")]
20+
public record GcloudApihubApiHubInstancesDescribeOptions : GcloudOptions
21+
{
22+
}

0 commit comments

Comments
 (0)