-
-
Notifications
You must be signed in to change notification settings - Fork 19
Expand file tree
/
Copy pathGcloudAccessContextManagerLevelsUpdateOptions.Generated.cs
More file actions
37 lines (31 loc) · 2.09 KB
/
GcloudAccessContextManagerLevelsUpdateOptions.Generated.cs
File metadata and controls
37 lines (31 loc) · 2.09 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
// <auto-generated>
// This file was generated by ModularPipelines.OptionsGenerator.
// Source: https://cloud.google.com/sdk/gcloud/reference/access-context-manager/levels/update
// Do not edit this file manually.
// </auto-generated>
#nullable enable
using System.CodeDom.Compiler;
using System.Diagnostics.CodeAnalysis;
using ModularPipelines.Attributes;
using ModularPipelines.Google.Options;
using ModularPipelines.Google.Enums;
namespace ModularPipelines.Google.Options;
/// <summary>
/// update an existing access level
/// </summary>
[GeneratedCode("ModularPipelines.OptionsGenerator", "")]
[ExcludeFromCodeCoverage]
[CliSubCommand("access-context-manager", "levels", "update")]
public record GcloudAccessContextManagerLevelsUpdateOptions : GcloudOptions
{
/// <summary>
/// Long-form description of access level.
/// </summary>
[CliOption("--description", Format = OptionFormat.EqualsSeparated)]
public string? Description { get; set; }
/// <summary>
/// Short human-readable title of the access level. Level specification. At most one of these can be specified: Custom level specification. --custom-level-spec=CUSTOM_LEVEL_SPEC Path to a file representing an expression for an access level. The expression is in the Common Expression Langague (CEL) format.For example: expression: "origin.region_code in ['US', 'CA']" Basic level specification. --basic-level-spec=BASIC_LEVEL_SPEC Path to a file containing a list of basic access level conditions. An access level condition file is a YAML-formatted list of conditions,which are YAML objects representing a Condition as described in the API reference. For example: - ipSubnetworks: - 162.222.181.197/24 - 2001:db8::/48 - members: - user:user@example.com --combine-function=COMBINE_FUNCTION For a basic level, determines how conditions are combined. COMBINE_FUNCTION must be one of: and, or.
/// </summary>
[CliOption("--title", Format = OptionFormat.EqualsSeparated)]
public GcloudTitle? Title { get; set; }
}