From 19bdd3a67bba2574667785dd1132110defcb9e14 Mon Sep 17 00:00:00 2001 From: Frode Sundby Date: Wed, 18 Mar 2026 10:15:46 +0100 Subject: [PATCH 1/5] feat: add configs (ConfigMap) CLI commands MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add full ConfigMap management support via 'nais configs' command with subcommands: list, get, create, delete, set, unset, and activity. Follows the existing secret implementation pattern but simplified — config values are not sensitive, so no --with-values/--reason flags or RBAC elevation is needed. --- genqlient.yaml | 1 + internal/application/application.go | 2 + internal/config/activity.go | 122 + internal/config/command/activity.go | 70 + internal/config/command/command.go | 128 + internal/config/command/create.go | 46 + internal/config/command/delete.go | 92 + internal/config/command/environment.go | 62 + internal/config/command/flag/flag.go | 129 + internal/config/command/get.go | 141 + internal/config/command/list.go | 106 + internal/config/command/set.go | 88 + internal/config/command/unset.go | 69 + internal/config/config.go | 347 + internal/naisapi/gql/generated.go | 15747 ++++++++++++-------- schema.graphql | 17731 +++++++++++------------ 16 files changed, 19562 insertions(+), 15319 deletions(-) create mode 100644 internal/config/activity.go create mode 100644 internal/config/command/activity.go create mode 100644 internal/config/command/command.go create mode 100644 internal/config/command/create.go create mode 100644 internal/config/command/delete.go create mode 100644 internal/config/command/environment.go create mode 100644 internal/config/command/flag/flag.go create mode 100644 internal/config/command/get.go create mode 100644 internal/config/command/list.go create mode 100644 internal/config/command/set.go create mode 100644 internal/config/command/unset.go create mode 100644 internal/config/config.go diff --git a/genqlient.yaml b/genqlient.yaml index eb9816b4..131ac9bc 100644 --- a/genqlient.yaml +++ b/genqlient.yaml @@ -11,6 +11,7 @@ operations: - internal/job/**/*.go - internal/kafka/**/*.go - internal/postgres/**/*.go + - internal/config/**/*.go - internal/secret/**/*.go - internal/vulnerability/**/*.go bindings: diff --git a/internal/application/application.go b/internal/application/application.go index 1cad9705..4a6ff374 100644 --- a/internal/application/application.go +++ b/internal/application/application.go @@ -12,6 +12,7 @@ import ( alpha "github.com/nais/cli/internal/alpha/command" appCommand "github.com/nais/cli/internal/app/command" "github.com/nais/cli/internal/auth" + configs "github.com/nais/cli/internal/config/command" debug "github.com/nais/cli/internal/debug/command" "github.com/nais/cli/internal/flags" issues "github.com/nais/cli/internal/issues/command" @@ -78,6 +79,7 @@ func New(w io.Writer) (*Application, *flags.GlobalFlags, error) { postgres.Postgres(globalFlags), debug.Debug(globalFlags), kubeconfig.Kubeconfig(globalFlags), + configs.Configs(globalFlags), secrets.Secrets(globalFlags), vulnerabilities.Vulnerabilities(globalFlags), validate.Validate(globalFlags), diff --git a/internal/config/activity.go b/internal/config/activity.go new file mode 100644 index 00000000..ae0c7a9e --- /dev/null +++ b/internal/config/activity.go @@ -0,0 +1,122 @@ +package config + +import ( + "context" + "slices" + "time" + + "github.com/nais/cli/internal/naisapi" + "github.com/nais/cli/internal/naisapi/gql" +) + +type ConfigActivity struct { + CreatedAt time.Time `heading:"Created" json:"created_at"` + Actor string `json:"actor"` + Environment string `json:"environment"` + Message string `json:"message"` +} + +type configActivityEntry struct { + CreatedAt time.Time + Actor string + Message string + EnvironmentName string +} + +type configActivityResource struct { + Name string + DefaultEnvName string + Entries []configActivityEntry +} + +func GetActivity(ctx context.Context, team, name string, environments []string, activityTypes []gql.ActivityLogActivityType, limit int) ([]ConfigActivity, bool, error) { + _ = `# @genqlient + query GetConfigActivity($team: Slug!, $name: String!, $activityTypes: [ActivityLogActivityType!], $first: Int) { + team(slug: $team) { + configs(filter: { name: $name }, first: 1000) { + nodes { + name + teamEnvironment { + environment { + name + } + } + activityLog(first: $first, filter: { activityTypes: $activityTypes }) { + nodes { + actor + createdAt + message + environmentName + } + } + } + } + } + } + ` + + client, err := naisapi.GraphqlClient(ctx) + if err != nil { + return nil, false, err + } + + resp, err := gql.GetConfigActivity(ctx, client, team, name, activityTypes, limit) + if err != nil { + return nil, false, err + } + + resources := make([]configActivityResource, 0, len(resp.Team.Configs.Nodes)) + for _, c := range resp.Team.Configs.Nodes { + entries := make([]configActivityEntry, 0, len(c.ActivityLog.Nodes)) + for _, entry := range c.ActivityLog.Nodes { + entries = append(entries, configActivityEntry{ + CreatedAt: entry.GetCreatedAt(), + Actor: entry.GetActor(), + Message: entry.GetMessage(), + EnvironmentName: entry.GetEnvironmentName(), + }) + } + + resources = append(resources, configActivityResource{ + Name: c.Name, + DefaultEnvName: c.TeamEnvironment.Environment.Name, + Entries: entries, + }) + } + + ret, found := buildConfigActivity(resources, name, environments) + return ret, found, nil +} + +func buildConfigActivity(resources []configActivityResource, name string, environments []string) ([]ConfigActivity, bool) { + found := false + ret := make([]ConfigActivity, 0) + + for _, c := range resources { + if c.Name != name { + continue + } + + defaultEnv := c.DefaultEnvName + if len(environments) > 0 && !slices.Contains(environments, defaultEnv) { + continue + } + + found = true + + for _, entry := range c.Entries { + env := defaultEnv + if entry.EnvironmentName != "" { + env = entry.EnvironmentName + } + ret = append(ret, ConfigActivity{ + CreatedAt: entry.CreatedAt, + Actor: entry.Actor, + Environment: env, + Message: entry.Message, + }) + } + } + + return ret, found +} diff --git a/internal/config/command/activity.go b/internal/config/command/activity.go new file mode 100644 index 00000000..60d9e358 --- /dev/null +++ b/internal/config/command/activity.go @@ -0,0 +1,70 @@ +package command + +import ( + "context" + + activityutil "github.com/nais/cli/internal/activity" + "github.com/nais/cli/internal/config" + "github.com/nais/cli/internal/config/command/flag" + "github.com/nais/naistrix" + "github.com/nais/naistrix/output" +) + +func activity(parentFlags *flag.Config) *naistrix.Command { + f := &flag.Activity{ + Config: parentFlags, + Output: "table", + Limit: 20, + } + + return &naistrix.Command{ + Name: "activity", + Title: "Show activity for a config.", + Args: defaultArgs, + Flags: f, + RunFunc: func(ctx context.Context, args *naistrix.Arguments, out *naistrix.OutputWriter) error { + if err := validateArgs(args); err != nil { + return err + } + + activityTypes, err := activityutil.ParseActivityTypes(f.ActivityType) + if err != nil { + return err + } + + ret, found, err := config.GetActivity(ctx, f.Team, args.Get("name"), f.Environment, activityTypes, f.Limit) + if err != nil { + return err + } + + if !found { + out.Println("Config not found.") + return nil + } + + if len(ret) == 0 { + out.Println("No activity found for config.") + return nil + } + + if f.Output == "json" { + return out.JSON(output.JSONWithPrettyOutput()).Render(ret) + } + + return out.Table().Render(ret) + }, + AutoCompleteFunc: func(ctx context.Context, args *naistrix.Arguments, _ string) ([]string, string) { + if args.Len() == 0 { + if f.Team == "" { + return nil, "Please provide team to auto-complete config names. 'nais config set team ', or '--team ' flag." + } + environments := []string(f.Environment) + if len(environments) == 0 { + environments = environmentValuesFromCLIArgs() + } + return autoCompleteConfigNamesInEnvironments(ctx, f.Team, environments, false) + } + return nil, "" + }, + } +} diff --git a/internal/config/command/command.go b/internal/config/command/command.go new file mode 100644 index 00000000..4f312505 --- /dev/null +++ b/internal/config/command/command.go @@ -0,0 +1,128 @@ +package command + +import ( + "context" + "fmt" + "sort" + "strings" + + "github.com/nais/cli/internal/config" + "github.com/nais/cli/internal/config/command/flag" + "github.com/nais/cli/internal/flags" + "github.com/nais/cli/internal/validation" + "github.com/nais/naistrix" +) + +func Configs(parentFlags *flags.GlobalFlags) *naistrix.Command { + f := &flag.Config{GlobalFlags: parentFlags} + return &naistrix.Command{ + Name: "configs", + Title: "Manage configs for a team.", + StickyFlags: f, + ValidateFunc: func(context.Context, *naistrix.Arguments) error { + return validation.CheckTeam(f.Team) + }, + SubCommands: []*naistrix.Command{ + list(f), + activity(f), + get(f), + create(f), + deleteConfig(f), + set(f), + unset(f), + }, + } +} + +var defaultArgs = []naistrix.Argument{ + {Name: "name"}, +} + +func validateArgs(args *naistrix.Arguments) error { + if args.Len() != 1 { + return fmt.Errorf("expected 1 argument, got %d", args.Len()) + } + if args.Get("name") == "" { + return fmt.Errorf("name cannot be empty") + } + return nil +} + +func metadataFromArgs(args *naistrix.Arguments, team string, environment string) config.Metadata { + return config.Metadata{ + TeamSlug: team, + EnvironmentName: environment, + Name: args.Get("name"), + } +} + +func autoCompleteConfigNames(ctx context.Context, team, environment string, requireEnvironment bool) ([]string, string) { + if countEnvironmentFlagsInCLIArgs() > 1 { + return nil, "Only one --environment/-e flag may be provided." + } + + if environment == "" { + envs := environmentValuesFromCLIArgs() + if len(envs) == 1 { + environment = envs[0] + } + } + + environments := []string{} + if environment != "" { + environments = append(environments, environment) + } + return autoCompleteConfigNamesInEnvironments(ctx, team, environments, requireEnvironment) +} + +func autoCompleteConfigNamesInEnvironments(ctx context.Context, team string, environments []string, requireEnvironment bool) ([]string, string) { + if team == "" { + return nil, "Please provide team to auto-complete config names. 'nais config set team ', or '--team ' flag." + } + if requireEnvironment && len(environments) == 0 { + return nil, "Please provide environment to auto-complete config names. '--environment ' flag." + } + + environmentFilter := make(map[string]struct{}, len(environments)) + for _, env := range environments { + if env == "" { + continue + } + environmentFilter[env] = struct{}{} + } + + configs, err := config.GetAll(ctx, team) + if err != nil { + return nil, fmt.Sprintf("Unable to fetch configs for auto-completion: %v", err) + } + + seen := make(map[string]struct{}) + var names []string + for _, c := range configs { + if len(environmentFilter) > 0 { + if _, ok := environmentFilter[c.TeamEnvironment.Environment.Name]; !ok { + continue + } + } + if _, ok := seen[c.Name]; ok { + continue + } + seen[c.Name] = struct{}{} + names = append(names, c.Name) + } + sort.Strings(names) + + if len(names) == 0 && len(environmentFilter) > 0 { + sortedEnvironments := make([]string, 0, len(environmentFilter)) + for env := range environmentFilter { + sortedEnvironments = append(sortedEnvironments, env) + } + sort.Strings(sortedEnvironments) + if len(sortedEnvironments) == 1 { + return nil, fmt.Sprintf("No configs found in environment %q.", sortedEnvironments[0]) + } + return nil, fmt.Sprintf("No configs found in environments: %s.", strings.Join(sortedEnvironments, ", ")) + } + + return names, "Select a config." +} diff --git a/internal/config/command/create.go b/internal/config/command/create.go new file mode 100644 index 00000000..0734037d --- /dev/null +++ b/internal/config/command/create.go @@ -0,0 +1,46 @@ +package command + +import ( + "context" + "fmt" + + "github.com/nais/cli/internal/config" + "github.com/nais/cli/internal/config/command/flag" + "github.com/nais/cli/internal/validation" + "github.com/nais/naistrix" + "github.com/pterm/pterm" +) + +func create(parentFlags *flag.Config) *naistrix.Command { + f := &flag.Create{Config: parentFlags} + return &naistrix.Command{ + Name: "create", + Title: "Create a new config.", + Description: "This command creates a new empty config in a team environment.", + Flags: f, + Args: defaultArgs, + ValidateFunc: func(_ context.Context, args *naistrix.Arguments) error { + if err := validation.CheckEnvironment(string(f.Environment)); err != nil { + return err + } + return validateArgs(args) + }, + Examples: []naistrix.Example{ + { + Description: "Create a config named my-config in environment dev.", + Command: "my-config --environment dev", + }, + }, + RunFunc: func(ctx context.Context, args *naistrix.Arguments, out *naistrix.OutputWriter) error { + metadata := metadataFromArgs(args, f.Team, string(f.Environment)) + + _, err := config.Create(ctx, metadata) + if err != nil { + return fmt.Errorf("creating config: %w", err) + } + + pterm.Success.Printfln("Created config %q in %q for team %q", metadata.Name, metadata.EnvironmentName, metadata.TeamSlug) + return nil + }, + } +} diff --git a/internal/config/command/delete.go b/internal/config/command/delete.go new file mode 100644 index 00000000..5b3518b5 --- /dev/null +++ b/internal/config/command/delete.go @@ -0,0 +1,92 @@ +package command + +import ( + "context" + "fmt" + + "github.com/nais/cli/internal/config" + "github.com/nais/cli/internal/config/command/flag" + "github.com/nais/cli/internal/validation" + "github.com/nais/naistrix" + "github.com/pterm/pterm" +) + +func deleteConfig(parentFlags *flag.Config) *naistrix.Command { + f := &flag.Delete{Config: parentFlags} + return &naistrix.Command{ + Name: "delete", + Title: "Delete a config.", + Description: "This command deletes a config and all its values.", + Flags: f, + Args: defaultArgs, + ValidateFunc: func(_ context.Context, args *naistrix.Arguments) error { + if err := validateSingleEnvironmentFlagUsage(); err != nil { + return err + } + if err := validation.CheckEnvironment(string(f.Environment)); err != nil { + return err + } + return validateArgs(args) + }, + AutoCompleteFunc: func(ctx context.Context, args *naistrix.Arguments, _ string) ([]string, string) { + if args.Len() == 0 { + return autoCompleteConfigNames(ctx, f.Team, string(f.Environment), true) + } + return nil, "" + }, + Examples: []naistrix.Example{ + { + Description: "Delete a config named my-config in environment dev.", + Command: "my-config --environment dev", + }, + }, + RunFunc: func(ctx context.Context, args *naistrix.Arguments, out *naistrix.OutputWriter) error { + metadata := metadataFromArgs(args, f.Team, string(f.Environment)) + + existing, err := config.Get(ctx, metadata) + if err != nil { + return fmt.Errorf("fetching config: %w", err) + } + + pterm.Warning.Println("You are about to delete a config with the following configuration:") + err = pterm.DefaultTable. + WithHasHeader(). + WithHeaderRowSeparator("-"). + WithData(config.FormatDetails(metadata, existing)). + Render() + if err != nil { + return err + } + + if len(existing.Workloads.Nodes) > 0 { + pterm.Warning.Println("This config is currently in use by the following workloads:") + err = pterm.DefaultTable. + WithHasHeader(). + WithHeaderRowSeparator("-"). + WithData(config.FormatWorkloads(existing)). + Render() + if err != nil { + return err + } + } + + if !f.Yes { + result, _ := pterm.DefaultInteractiveConfirm.Show("Are you sure you want to continue?") + if !result { + return fmt.Errorf("cancelled by user") + } + } + + deleted, err := config.Delete(ctx, metadata) + if err != nil { + return fmt.Errorf("deleting config: %w", err) + } + + if deleted { + pterm.Success.Printfln("Deleted config %q from %q for team %q", metadata.Name, metadata.EnvironmentName, metadata.TeamSlug) + } + + return nil + }, + } +} diff --git a/internal/config/command/environment.go b/internal/config/command/environment.go new file mode 100644 index 00000000..a172465f --- /dev/null +++ b/internal/config/command/environment.go @@ -0,0 +1,62 @@ +package command + +import ( + "context" + "fmt" + "os" + "slices" + "sort" + "strings" + + "github.com/nais/cli/internal/cliflags" + "github.com/nais/cli/internal/config" +) + +func resolveConfigEnvironment(ctx context.Context, team, name, provided string) (string, error) { + envs, err := config.ConfigEnvironments(ctx, team, name) + if err != nil { + return "", fmt.Errorf("fetching environments for config %q: %w", name, err) + } + + return selectConfigEnvironment(team, name, provided, envs) +} + +func selectConfigEnvironment(team, name, provided string, envs []string) (string, error) { + if provided != "" { + if slices.Contains(envs, provided) { + return provided, nil + } + + if len(envs) == 0 { + return "", fmt.Errorf("config %q not found in team %q", name, team) + } + + sort.Strings(envs) + return "", fmt.Errorf("config %q does not exist in environment %q; available environments: %s", name, provided, strings.Join(envs, ", ")) + } + + switch len(envs) { + case 0: + return "", fmt.Errorf("config %q not found in team %q", name, team) + case 1: + return envs[0], nil + default: + sort.Strings(envs) + return "", fmt.Errorf("config %q exists in multiple environments (%s); specify --environment/-e", name, strings.Join(envs, ", ")) + } +} + +func validateSingleEnvironmentFlagUsage() error { + if countEnvironmentFlagsInCLIArgs() > 1 { + return fmt.Errorf("only one --environment/-e flag may be provided") + } + return nil +} + +func countEnvironmentFlagsInCLIArgs() int { + return cliflags.CountFlagOccurrences(os.Args, "-e", "--environment") +} + +func environmentValuesFromCLIArgs() []string { + return cliflags.UniqueFlagValues(os.Args, "-e", "--environment") +} diff --git a/internal/config/command/flag/flag.go b/internal/config/command/flag/flag.go new file mode 100644 index 00000000..b2ccc04c --- /dev/null +++ b/internal/config/command/flag/flag.go @@ -0,0 +1,129 @@ +package flag + +import ( + "context" + "fmt" + + activityutil "github.com/nais/cli/internal/activity" + "github.com/nais/cli/internal/config" + "github.com/nais/cli/internal/flags" + "github.com/nais/cli/internal/naisapi" + "github.com/nais/cli/internal/naisapi/gql" + "github.com/nais/naistrix" +) + +type Config struct { + *flags.GlobalFlags + Environment Env `name:"environment" short:"e" usage:"Filter by environment."` +} + +type Env string + +func (e *Env) AutoComplete(ctx context.Context, _ *naistrix.Arguments, _ string, _ any) ([]string, string) { + return autoCompleteEnvironments(ctx) +} + +// GetEnv is like Env but provides context-aware autocomplete: when a config +// name argument has been provided, only environments where that config exists +// are suggested. +type GetEnv string + +func (e *GetEnv) AutoComplete(ctx context.Context, args *naistrix.Arguments, _ string, flags any) ([]string, string) { + if args.Len() == 0 { + return autoCompleteEnvironments(ctx) + } + + type teamProvider interface { + GetTeam() string + } + + tp, ok := flags.(teamProvider) + if !ok || tp.GetTeam() == "" { + return nil, "Please provide team to auto-complete environments. 'nais config team set ', or '--team ' flag." + } + + envs, err := config.ConfigEnvironments(ctx, tp.GetTeam(), args.Get("name")) + if err != nil { + return nil, fmt.Sprintf("Failed to fetch environments for auto-completion: %v", err) + } + return envs, "Available environments" +} + +func autoCompleteEnvironments(ctx context.Context) ([]string, string) { + envs, err := naisapi.GetAllEnvironments(ctx) + if err != nil { + return nil, fmt.Sprintf("Failed to fetch environments for auto-completion: %v", err) + } + return envs, "Available environments" +} + +type Environments []string + +func (e *Environments) AutoComplete(ctx context.Context, _ *naistrix.Arguments, _ string, _ any) ([]string, string) { + return autoCompleteEnvironments(ctx) +} + +type Output string + +func (o *Output) AutoComplete(context.Context, *naistrix.Arguments, string, any) ([]string, string) { + return []string{"table", "json"}, "Available output formats." +} + +type List struct { + *Config + Environment Environments `name:"environment" short:"e" usage:"Filter by environment."` + Output Output `name:"output" short:"o" usage:"Format output (table|json)."` +} + +type Activity struct { + *Config + Environment Environments `name:"environment" short:"e" usage:"Filter by environment."` + Output Output `name:"output" short:"o" usage:"Format output (table|json)."` + Limit int `name:"limit" short:"l" usage:"Maximum number of activity entries to fetch."` + ActivityType ActivityTypes `name:"activity-type" usage:"Filter by activity type. Can be repeated."` +} + +type ActivityTypes []string + +func (a *ActivityTypes) AutoComplete(context.Context, *naistrix.Arguments, string, any) ([]string, string) { + return activityutil.EnumStrings(gql.AllActivityLogActivityType), "Available activity types" +} + +type Get struct { + *Config + Environment GetEnv `name:"environment" short:"e" usage:"Filter by environment."` + Output Output `name:"output" short:"o" usage:"Format output (table|json)."` +} + +func (g *Get) GetTeam() string { return string(g.Team) } + +type Create struct { + *Config +} + +type Delete struct { + *Config + Environment GetEnv `name:"environment" short:"e" usage:"Filter by environment."` + Yes bool `name:"yes" short:"y" usage:"Automatic yes to prompts; assume 'yes' as answer to all prompts and run non-interactively."` +} + +func (d *Delete) GetTeam() string { return string(d.Team) } + +type Set struct { + *Config + Environment GetEnv `name:"environment" short:"e" usage:"Filter by environment."` + Key string `name:"key" usage:"Name of the key to set."` + Value string `name:"value" usage:"Value to set."` + ValueFromStdin bool `name:"value-from-stdin" usage:"Read value from stdin."` +} + +func (s *Set) GetTeam() string { return string(s.Team) } + +type Unset struct { + *Config + Environment GetEnv `name:"environment" short:"e" usage:"Filter by environment."` + Key string `name:"key" usage:"Name of the key to unset."` + Yes bool `name:"yes" short:"y" usage:"Automatic yes to prompts; assume 'yes' as answer to all prompts and run non-interactively."` +} + +func (u *Unset) GetTeam() string { return string(u.Team) } diff --git a/internal/config/command/get.go b/internal/config/command/get.go new file mode 100644 index 00000000..aecb95e3 --- /dev/null +++ b/internal/config/command/get.go @@ -0,0 +1,141 @@ +package command + +import ( + "context" + "fmt" + + "github.com/nais/cli/internal/config" + "github.com/nais/cli/internal/config/command/flag" + "github.com/nais/cli/internal/validation" + "github.com/nais/naistrix" + "github.com/nais/naistrix/output" + "github.com/pterm/pterm" +) + +// Entry represents a key-value pair in a config. +type Entry struct { + Key string `json:"key"` + Value string `json:"value"` +} + +type ConfigDetail struct { + Name string `json:"name"` + Environment string `json:"environment"` + Data []Entry `json:"data"` + LastModified config.LastModified `json:"lastModified"` + ModifiedBy string `json:"modifiedBy,omitempty"` + Workloads []string `json:"workloads,omitempty"` +} + +func get(parentFlags *flag.Config) *naistrix.Command { + f := &flag.Get{Config: parentFlags} + return &naistrix.Command{ + Name: "get", + Title: "Get details about a config.", + Description: "This command shows details about a config, including its key-value pairs, workloads using it, and last modification info.", + Flags: f, + Args: defaultArgs, + ValidateFunc: func(_ context.Context, args *naistrix.Arguments) error { + if err := validateSingleEnvironmentFlagUsage(); err != nil { + return err + } + if providedEnvironment := string(f.Environment); providedEnvironment != "" { + if err := validation.CheckEnvironment(providedEnvironment); err != nil { + return err + } + } + return validateArgs(args) + }, + AutoCompleteFunc: func(ctx context.Context, args *naistrix.Arguments, _ string) ([]string, string) { + if args.Len() == 0 { + return autoCompleteConfigNames(ctx, f.Team, string(f.Environment), false) + } + return nil, "" + }, + Examples: []naistrix.Example{ + { + Description: "Get details for a config named my-config in environment dev.", + Command: "my-config --environment dev", + }, + }, + RunFunc: func(ctx context.Context, args *naistrix.Arguments, out *naistrix.OutputWriter) error { + if providedEnvironment := string(f.Environment); providedEnvironment != "" { + return runGetCommand(ctx, args, out, f.Team, providedEnvironment, f.Output) + } + + environment, err := resolveConfigEnvironment(ctx, f.Team, args.Get("name"), string(f.Environment)) + if err != nil { + return err + } + + return runGetCommand(ctx, args, out, f.Team, environment, f.Output) + }, + } +} + +func runGetCommand(ctx context.Context, args *naistrix.Arguments, out *naistrix.OutputWriter, team, environment string, outputFormat flag.Output) error { + metadata := metadataFromArgs(args, team, environment) + + existing, err := config.Get(ctx, metadata) + if err != nil { + return fmt.Errorf("fetching config: %w", err) + } + + entries := make([]Entry, len(existing.Values)) + for i, v := range existing.Values { + entries[i] = Entry{Key: v.Name, Value: v.Value} + } + + if outputFormat == "json" { + detail := ConfigDetail{ + Name: existing.Name, + Environment: existing.TeamEnvironment.Environment.Name, + Data: entries, + LastModified: config.LastModified(existing.LastModifiedAt), + } + if existing.LastModifiedBy.Email != "" { + detail.ModifiedBy = existing.LastModifiedBy.Email + } + for _, w := range existing.Workloads.Nodes { + detail.Workloads = append(detail.Workloads, w.GetName()) + } + return out.JSON(output.JSONWithPrettyOutput()).Render(detail) + } + + pterm.DefaultSection.Println("Config details") + err = pterm.DefaultTable. + WithHasHeader(). + WithHeaderRowSeparator("-"). + WithData(config.FormatDetails(metadata, existing)). + Render() + if err != nil { + return fmt.Errorf("rendering table: %w", err) + } + + pterm.DefaultSection.Println("Data") + if len(entries) > 0 { + data := config.FormatData(existing.Values) + err = pterm.DefaultTable. + WithHasHeader(). + WithHeaderRowSeparator("-"). + WithData(data). + Render() + if err != nil { + return fmt.Errorf("rendering data table: %w", err) + } + } else { + pterm.Info.Println("This config has no keys.") + } + + if len(existing.Workloads.Nodes) > 0 { + pterm.DefaultSection.Println("Workloads using this config") + return pterm.DefaultTable. + WithHasHeader(). + WithHeaderRowSeparator("-"). + WithData(config.FormatWorkloads(existing)). + Render() + } + + pterm.Info.Println("No workloads are using this config.") + return nil +} diff --git a/internal/config/command/list.go b/internal/config/command/list.go new file mode 100644 index 00000000..ebd76d29 --- /dev/null +++ b/internal/config/command/list.go @@ -0,0 +1,106 @@ +package command + +import ( + "context" + "fmt" + "slices" + "strings" + + "github.com/nais/cli/internal/config" + "github.com/nais/cli/internal/config/command/flag" + "github.com/nais/naistrix" + "github.com/nais/naistrix/output" +) + +type ConfigSummary struct { + Name string `heading:"Name"` + Environment string `heading:"Environment"` + Keys string `heading:"Keys"` + Workloads string `heading:"Workloads"` + LastModified config.LastModified `heading:"Last Modified"` +} + +const maxListItems = 3 + +func list(parentFlags *flag.Config) *naistrix.Command { + f := &flag.List{Config: parentFlags} + + return &naistrix.Command{ + Name: "list", + Title: "List configs for a team.", + Description: "This command lists all configs for a given team.", + Flags: f, + Examples: []naistrix.Example{ + { + Description: "List all configs for the team.", + }, + { + Description: "List configs in a specific environment.", + Command: "--environment dev", + }, + }, + RunFunc: func(ctx context.Context, _ *naistrix.Arguments, out *naistrix.OutputWriter) error { + configs, err := config.GetAll(ctx, f.Team) + if err != nil { + return fmt.Errorf("fetching configs: %w", err) + } + + if len(configs) == 0 { + out.Infoln("No configs found") + return nil + } + + var summaries []ConfigSummary + for _, c := range configs { + envName := c.TeamEnvironment.Environment.Name + + if len(f.Environment) > 0 && !slices.Contains(f.Environment, envName) { + continue + } + + var keyNames []string + for _, v := range c.Values { + keyNames = append(keyNames, v.Name) + } + + var workloadNames []string + for _, w := range c.Workloads.Nodes { + workloadNames = append(workloadNames, w.GetName()) + } + + summaries = append(summaries, ConfigSummary{ + Name: c.Name, + Environment: envName, + Keys: summarizeList(keyNames), + Workloads: summarizeList(workloadNames), + LastModified: config.LastModified(c.LastModifiedAt), + }) + } + + if len(summaries) == 0 { + out.Infoln("No configs match the given filters") + return nil + } + + if f.Output == "json" { + return out.JSON(output.JSONWithPrettyOutput()).Render(summaries) + } + + return out.Table().Render(summaries) + }, + } +} + +// summarizeList joins items with ", " and truncates if there are more than maxListItems. +// e.g. ["a", "b", "c", "d", "e"] -> "a, b, c, +2 more" +func summarizeList(items []string) string { + if len(items) == 0 { + return "" + } + + if len(items) <= maxListItems { + return strings.Join(items, ", ") + } + + return fmt.Sprintf("%s, +%d more", strings.Join(items[:maxListItems], ", "), len(items)-maxListItems) +} diff --git a/internal/config/command/set.go b/internal/config/command/set.go new file mode 100644 index 00000000..92988245 --- /dev/null +++ b/internal/config/command/set.go @@ -0,0 +1,88 @@ +package command + +import ( + "context" + "fmt" + "io" + "os" + "strings" + + "github.com/nais/cli/internal/config" + "github.com/nais/cli/internal/config/command/flag" + "github.com/nais/cli/internal/validation" + "github.com/nais/naistrix" + "github.com/pterm/pterm" +) + +func set(parentFlags *flag.Config) *naistrix.Command { + f := &flag.Set{Config: parentFlags} + return &naistrix.Command{ + Name: "set", + Title: "Set a key-value pair in a config.", + Description: "Set a key-value pair in a config. If the key already exists, its value is updated. If the key does not exist, it is added. Updating a value will cause a restart of workloads referencing the config.", + Flags: f, + Args: defaultArgs, + ValidateFunc: func(_ context.Context, args *naistrix.Arguments) error { + if err := validateSingleEnvironmentFlagUsage(); err != nil { + return err + } + if err := validation.CheckEnvironment(string(f.Environment)); err != nil { + return err + } + if err := validateArgs(args); err != nil { + return err + } + if f.Key == "" { + return fmt.Errorf("--key is required") + } + if f.Value == "" && !f.ValueFromStdin { + return fmt.Errorf("--value or --value-from-stdin is required") + } + if f.Value != "" && f.ValueFromStdin { + return fmt.Errorf("--value and --value-from-stdin are mutually exclusive") + } + return nil + }, + AutoCompleteFunc: func(ctx context.Context, args *naistrix.Arguments, _ string) ([]string, string) { + if args.Len() == 0 { + return autoCompleteConfigNames(ctx, f.Team, string(f.Environment), true) + } + return nil, "" + }, + Examples: []naistrix.Example{ + { + Description: "Set a key-value pair in a config.", + Command: "my-config --environment dev --key DATABASE_HOST --value db.example.com", + }, + { + Description: "Read value from stdin (useful for multi-line values).", + Command: "my-config --environment dev --key CONFIG_FILE --value-from-stdin < config.yaml", + }, + }, + RunFunc: func(ctx context.Context, args *naistrix.Arguments, out *naistrix.OutputWriter) error { + metadata := metadataFromArgs(args, f.Team, string(f.Environment)) + + value := f.Value + if f.ValueFromStdin { + data, err := io.ReadAll(os.Stdin) + if err != nil { + return fmt.Errorf("reading from stdin: %w", err) + } + value = strings.TrimSuffix(string(data), "\n") + } + + updated, err := config.SetValue(ctx, metadata, f.Key, value) + if err != nil { + return fmt.Errorf("setting config value: %w", err) + } + + if updated { + pterm.Success.Printfln("Updated key %q in config %q in %q", f.Key, metadata.Name, metadata.EnvironmentName) + } else { + pterm.Success.Printfln("Added key %q to config %q in %q", f.Key, metadata.Name, metadata.EnvironmentName) + } + + return nil + }, + } +} diff --git a/internal/config/command/unset.go b/internal/config/command/unset.go new file mode 100644 index 00000000..75b8a2b9 --- /dev/null +++ b/internal/config/command/unset.go @@ -0,0 +1,69 @@ +package command + +import ( + "context" + "fmt" + + "github.com/nais/cli/internal/config" + "github.com/nais/cli/internal/config/command/flag" + "github.com/nais/cli/internal/validation" + "github.com/nais/naistrix" + "github.com/pterm/pterm" +) + +func unset(parentFlags *flag.Config) *naistrix.Command { + f := &flag.Unset{Config: parentFlags} + return &naistrix.Command{ + Name: "unset", + Title: "Unset a key from a config.", + Description: "This command removes a key-value pair from a config.", + Flags: f, + Args: defaultArgs, + ValidateFunc: func(_ context.Context, args *naistrix.Arguments) error { + if err := validateSingleEnvironmentFlagUsage(); err != nil { + return err + } + if err := validation.CheckEnvironment(string(f.Environment)); err != nil { + return err + } + if err := validateArgs(args); err != nil { + return err + } + if f.Key == "" { + return fmt.Errorf("--key is required") + } + return nil + }, + AutoCompleteFunc: func(ctx context.Context, args *naistrix.Arguments, _ string) ([]string, string) { + if args.Len() == 0 { + return autoCompleteConfigNames(ctx, f.Team, string(f.Environment), true) + } + return nil, "" + }, + Examples: []naistrix.Example{ + { + Description: "Unset a key from a config.", + Command: "my-config --environment dev --key OLD_SETTING", + }, + }, + RunFunc: func(ctx context.Context, args *naistrix.Arguments, out *naistrix.OutputWriter) error { + metadata := metadataFromArgs(args, f.Team, string(f.Environment)) + + pterm.Warning.Printfln("You are about to unset key %q from config %q in %q.", f.Key, metadata.Name, metadata.EnvironmentName) + + if !f.Yes { + result, _ := pterm.DefaultInteractiveConfirm.Show("Are you sure you want to continue?") + if !result { + return fmt.Errorf("cancelled by user") + } + } + + if err := config.RemoveValue(ctx, metadata, f.Key); err != nil { + return fmt.Errorf("unsetting config key: %w", err) + } + + pterm.Success.Printfln("Unset key %q from config %q in %q", f.Key, metadata.Name, metadata.EnvironmentName) + return nil + }, + } +} diff --git a/internal/config/config.go b/internal/config/config.go new file mode 100644 index 00000000..1c281b58 --- /dev/null +++ b/internal/config/config.go @@ -0,0 +1,347 @@ +package config + +import ( + "context" + "fmt" + "slices" + "time" + + "github.com/nais/cli/internal/naisapi" + "github.com/nais/cli/internal/naisapi/gql" +) + +// Metadata identifies a specific config in a team environment. +type Metadata struct { + // TeamSlug is the slug of the team that owns the config. + TeamSlug string + // EnvironmentName is the name of the environment where the config exists. + EnvironmentName string + // Name is the name of the config. + Name string +} + +// LastModified is a time.Time that renders as human-readable relative time in +// table output (e.g. "3h", "7d") and as RFC3339 in JSON output. +type LastModified time.Time + +func (t LastModified) String() string { + v := time.Time(t) + if v.IsZero() { + return "" + } + + d := time.Since(v) + if seconds := int(d.Seconds()); seconds < -1 { + return "" + } else if seconds < 0 { + return "0s" + } else if seconds < 60 { + return fmt.Sprintf("%vs", seconds) + } else if minutes := int(d.Minutes()); minutes < 60 { + return fmt.Sprintf("%vm", minutes) + } else if hours := int(d.Hours()); hours < 24 { + return fmt.Sprintf("%vh", hours) + } else if hours < 24*365 { + return fmt.Sprintf("%vd", hours/24) + } + return fmt.Sprintf("%vy", int(d.Hours()/24/365)) +} + +func (t LastModified) MarshalJSON() ([]byte, error) { + v := time.Time(t) + if v.IsZero() { + return []byte(`""`), nil + } + return fmt.Appendf(nil, "%q", v.Format(time.RFC3339)), nil +} + +// ConfigEnvironments returns the environments where a config with the given name exists. +func ConfigEnvironments(ctx context.Context, teamSlug, name string) ([]string, error) { + all, err := GetAll(ctx, teamSlug) + if err != nil { + return nil, err + } + var envs []string + for _, c := range all { + if c.Name == name { + envs = append(envs, c.TeamEnvironment.Environment.Name) + } + } + return envs, nil +} + +// GetAll retrieves all configs for a team. +func GetAll(ctx context.Context, teamSlug string) ([]gql.GetAllConfigsTeamConfigsConfigConnectionNodesConfig, error) { + _ = `# @genqlient + query GetAllConfigs($teamSlug: Slug!) { + team(slug: $teamSlug) { + configs(first: 1000, orderBy: {field: NAME, direction: ASC}) { + nodes { + name + values { + name + value + } + teamEnvironment { + environment { + name + } + } + workloads(first: 1000) { + nodes { + name + __typename + } + } + lastModifiedAt + lastModifiedBy { + email + } + } + } + } + } + ` + + client, err := naisapi.GraphqlClient(ctx) + if err != nil { + return nil, err + } + + resp, err := gql.GetAllConfigs(ctx, client, teamSlug) + if err != nil { + return nil, err + } + + return resp.Team.Configs.Nodes, nil +} + +// Get retrieves a specific config by name in a team environment. +func Get(ctx context.Context, metadata Metadata) (*gql.GetConfigTeamEnvironmentConfig, error) { + _ = `# @genqlient + query GetConfig($name: String!, $environmentName: String!, $teamSlug: Slug!) { + team(slug: $teamSlug) { + environment(name: $environmentName) { + config(name: $name) { + name + values { + name + value + } + teamEnvironment { + environment { + name + } + } + workloads(first: 1000) { + nodes { + name + __typename + } + } + lastModifiedAt + lastModifiedBy { + email + } + } + } + } + } + ` + + client, err := naisapi.GraphqlClient(ctx) + if err != nil { + return nil, err + } + + resp, err := gql.GetConfig(ctx, client, metadata.Name, metadata.EnvironmentName, metadata.TeamSlug) + if err != nil { + return nil, err + } + + return &resp.Team.Environment.Config, nil +} + +// Create creates a new empty config in a team environment. +func Create(ctx context.Context, metadata Metadata) (*gql.CreateConfigCreateConfigCreateConfigPayloadConfig, error) { + _ = `# @genqlient + mutation CreateConfig($name: String!, $environmentName: String!, $teamSlug: Slug!) { + createConfig(input: {name: $name, environmentName: $environmentName, teamSlug: $teamSlug}) { + config { + id + name + } + } + } + ` + + client, err := naisapi.GraphqlClient(ctx) + if err != nil { + return nil, err + } + + resp, err := gql.CreateConfig(ctx, client, metadata.Name, metadata.EnvironmentName, metadata.TeamSlug) + if err != nil { + return nil, err + } + + return &resp.CreateConfig.Config, nil +} + +// Delete deletes a config and all its values. +func Delete(ctx context.Context, metadata Metadata) (bool, error) { + _ = `# @genqlient + mutation DeleteConfig($name: String!, $environmentName: String!, $teamSlug: Slug!) { + deleteConfig(input: {name: $name, environmentName: $environmentName, teamSlug: $teamSlug}) { + configDeleted + } + } + ` + + client, err := naisapi.GraphqlClient(ctx) + if err != nil { + return false, err + } + + resp, err := gql.DeleteConfig(ctx, client, metadata.Name, metadata.EnvironmentName, metadata.TeamSlug) + if err != nil { + return false, err + } + + return resp.DeleteConfig.ConfigDeleted, nil +} + +// SetValue sets a key-value pair in a config. If the key already exists, its value is updated. +// If the key does not exist, it is added. +func SetValue(ctx context.Context, metadata Metadata, key, value string) (updated bool, err error) { + existing, err := Get(ctx, metadata) + if err != nil { + return false, fmt.Errorf("fetching config: %w", err) + } + + keyExists := slices.ContainsFunc(existing.Values, func(v gql.GetConfigTeamEnvironmentConfigValuesConfigValue) bool { + return v.Name == key + }) + + if keyExists { + return true, updateValue(ctx, metadata, key, value) + } + + return false, addValue(ctx, metadata, key, value) +} + +func addValue(ctx context.Context, metadata Metadata, key, value string) error { + _ = `# @genqlient + mutation AddConfigValue($name: String!, $environmentName: String!, $teamSlug: Slug!, $value: ConfigValueInput!) { + addConfigValue(input: {name: $name, environmentName: $environmentName, teamSlug: $teamSlug, value: $value}) { + config { + id + name + } + } + } + ` + + client, err := naisapi.GraphqlClient(ctx) + if err != nil { + return err + } + + _, err = gql.AddConfigValue(ctx, client, metadata.Name, metadata.EnvironmentName, metadata.TeamSlug, gql.ConfigValueInput{ + Name: key, + Value: value, + }) + return err +} + +func updateValue(ctx context.Context, metadata Metadata, key, value string) error { + _ = `# @genqlient + mutation UpdateConfigValue($name: String!, $environmentName: String!, $teamSlug: Slug!, $value: ConfigValueInput!) { + updateConfigValue(input: {name: $name, environmentName: $environmentName, teamSlug: $teamSlug, value: $value}) { + config { + id + name + } + } + } + ` + + client, err := naisapi.GraphqlClient(ctx) + if err != nil { + return err + } + + _, err = gql.UpdateConfigValue(ctx, client, metadata.Name, metadata.EnvironmentName, metadata.TeamSlug, gql.ConfigValueInput{ + Name: key, + Value: value, + }) + return err +} + +// RemoveValue removes a key-value pair from a config. +func RemoveValue(ctx context.Context, metadata Metadata, valueName string) error { + _ = `# @genqlient + mutation RemoveConfigValue($configName: String!, $environmentName: String!, $teamSlug: Slug!, $valueName: String!) { + removeConfigValue(input: {configName: $configName, environmentName: $environmentName, teamSlug: $teamSlug, valueName: $valueName}) { + config { + id + name + } + } + } + ` + + client, err := naisapi.GraphqlClient(ctx) + if err != nil { + return err + } + + _, err = gql.RemoveConfigValue(ctx, client, metadata.Name, metadata.EnvironmentName, metadata.TeamSlug, valueName) + return err +} + +// FormatDetails formats config metadata for pterm table rendering. +func FormatDetails(metadata Metadata, c *gql.GetConfigTeamEnvironmentConfig) [][]string { + data := [][]string{ + {"Field", "Value"}, + {"Team", metadata.TeamSlug}, + {"Environment", metadata.EnvironmentName}, + {"Name", c.Name}, + } + + if !c.LastModifiedAt.IsZero() { + data = append(data, []string{"Last Modified", LastModified(c.LastModifiedAt).String()}) + } + if c.LastModifiedBy.Email != "" { + data = append(data, []string{"Modified By", c.LastModifiedBy.Email}) + } + + return data +} + +// FormatData formats config values as a key-value table for pterm rendering. +func FormatData(values []gql.GetConfigTeamEnvironmentConfigValuesConfigValue) [][]string { + data := [][]string{ + {"Key", "Value"}, + } + for _, v := range values { + data = append(data, []string{v.Name, v.Value}) + } + return data +} + +// FormatWorkloads formats the workloads using a config for pterm table rendering. +func FormatWorkloads(c *gql.GetConfigTeamEnvironmentConfig) [][]string { + workloads := [][]string{ + {"Name", "Type"}, + } + + for _, w := range c.Workloads.Nodes { + workloads = append(workloads, []string{ + w.GetName(), + w.GetTypename(), + }) + } + + return workloads +} diff --git a/internal/naisapi/gql/generated.go b/internal/naisapi/gql/generated.go index 32bd3345..76bf169b 100644 --- a/internal/naisapi/gql/generated.go +++ b/internal/naisapi/gql/generated.go @@ -15,6 +15,8 @@ import ( type ActivityLogActivityType string const ( + // Filter for credential creation events. + ActivityLogActivityTypeCredentialsCreate ActivityLogActivityType = "CREDENTIALS_CREATE" // An application was deleted. ActivityLogActivityTypeApplicationDeleted ActivityLogActivityType = "APPLICATION_DELETED" // An application was restarted. @@ -23,14 +25,18 @@ const ( ActivityLogActivityTypeApplicationScaled ActivityLogActivityType = "APPLICATION_SCALED" // All activity log entries related to direct cluster changes. ActivityLogActivityTypeClusterAudit ActivityLogActivityType = "CLUSTER_AUDIT" + // Config was created. + ActivityLogActivityTypeConfigCreated ActivityLogActivityType = "CONFIG_CREATED" + // Config was updated. + ActivityLogActivityTypeConfigUpdated ActivityLogActivityType = "CONFIG_UPDATED" + // Config was deleted. + ActivityLogActivityTypeConfigDeleted ActivityLogActivityType = "CONFIG_DELETED" // Activity log entry for deployment activity. ActivityLogActivityTypeDeployment ActivityLogActivityType = "DEPLOYMENT" // Activity log entry for team deploy key updates. ActivityLogActivityTypeTeamDeployKeyUpdated ActivityLogActivityType = "TEAM_DEPLOY_KEY_UPDATED" // Activity log entries related to job deletion. ActivityLogActivityTypeJobDeleted ActivityLogActivityType = "JOB_DELETED" - // Activity log entries related to job run deletion. - ActivityLogActivityTypeJobRunDeleted ActivityLogActivityType = "JOB_RUN_DELETED" // Activity log entries related to job triggering. ActivityLogActivityTypeJobTriggered ActivityLogActivityType = "JOB_TRIGGERED" // OpenSearch was created. @@ -113,19 +119,20 @@ const ( ActivityLogActivityTypeValkeyMaintenanceStarted ActivityLogActivityType = "VALKEY_MAINTENANCE_STARTED" // Activity log entry for when a vulnerability is updated. ActivityLogActivityTypeVulnerabilityUpdated ActivityLogActivityType = "VULNERABILITY_UPDATED" - // Filter for credential creation events. - ActivityLogActivityTypeCredentialsCreate ActivityLogActivityType = "CREDENTIALS_CREATE" ) var AllActivityLogActivityType = []ActivityLogActivityType{ + ActivityLogActivityTypeCredentialsCreate, ActivityLogActivityTypeApplicationDeleted, ActivityLogActivityTypeApplicationRestarted, ActivityLogActivityTypeApplicationScaled, ActivityLogActivityTypeClusterAudit, + ActivityLogActivityTypeConfigCreated, + ActivityLogActivityTypeConfigUpdated, + ActivityLogActivityTypeConfigDeleted, ActivityLogActivityTypeDeployment, ActivityLogActivityTypeTeamDeployKeyUpdated, ActivityLogActivityTypeJobDeleted, - ActivityLogActivityTypeJobRunDeleted, ActivityLogActivityTypeJobTriggered, ActivityLogActivityTypeOpensearchCreated, ActivityLogActivityTypeOpensearchUpdated, @@ -167,7 +174,6 @@ var AllActivityLogActivityType = []ActivityLogActivityType{ ActivityLogActivityTypeValkeyDeleted, ActivityLogActivityTypeValkeyMaintenanceStarted, ActivityLogActivityTypeVulnerabilityUpdated, - ActivityLogActivityTypeCredentialsCreate, } // The type of the resource that was affected by the activity. @@ -176,10 +182,14 @@ type ActivityLogEntryResourceType string const ( // Unknown type. ActivityLogEntryResourceTypeUnknown ActivityLogEntryResourceType = "UNKNOWN" + // All activity log entries related to credential creation will use this resource type. + ActivityLogEntryResourceTypeCredentials ActivityLogEntryResourceType = "CREDENTIALS" // All activity log entries related to applications will use this resource type. ActivityLogEntryResourceTypeApp ActivityLogEntryResourceType = "APP" // All activity log entries related to direct cluster changes. ActivityLogEntryResourceTypeClusterAudit ActivityLogEntryResourceType = "CLUSTER_AUDIT" + // All activity log entries related to configs will use this resource type. + ActivityLogEntryResourceTypeConfig ActivityLogEntryResourceType = "CONFIG" // All activity log entries related to deploy keys will use this resource type. ActivityLogEntryResourceTypeDeployKey ActivityLogEntryResourceType = "DEPLOY_KEY" // All activity log entries related to jobs will use this resource type. @@ -203,14 +213,14 @@ const ( ActivityLogEntryResourceTypeValkey ActivityLogEntryResourceType = "VALKEY" // All activity log entries related to vulnerabilities will use this resource type. ActivityLogEntryResourceTypeVulnerability ActivityLogEntryResourceType = "VULNERABILITY" - // All activity log entries related to credential creation will use this resource type. - ActivityLogEntryResourceTypeCredentials ActivityLogEntryResourceType = "CREDENTIALS" ) var AllActivityLogEntryResourceType = []ActivityLogEntryResourceType{ ActivityLogEntryResourceTypeUnknown, + ActivityLogEntryResourceTypeCredentials, ActivityLogEntryResourceTypeApp, ActivityLogEntryResourceTypeClusterAudit, + ActivityLogEntryResourceTypeConfig, ActivityLogEntryResourceTypeDeployKey, ActivityLogEntryResourceTypeJob, ActivityLogEntryResourceTypeOpensearch, @@ -223,7 +233,45 @@ var AllActivityLogEntryResourceType = []ActivityLogEntryResourceType{ ActivityLogEntryResourceTypeUnleash, ActivityLogEntryResourceTypeValkey, ActivityLogEntryResourceTypeVulnerability, - ActivityLogEntryResourceTypeCredentials, +} + +// AddConfigValueAddConfigValueAddConfigValuePayload includes the requested fields of the GraphQL type AddConfigValuePayload. +type AddConfigValueAddConfigValueAddConfigValuePayload struct { + // The updated config. + Config AddConfigValueAddConfigValueAddConfigValuePayloadConfig `json:"config"` +} + +// GetConfig returns AddConfigValueAddConfigValueAddConfigValuePayload.Config, and is useful for accessing the field via an interface. +func (v *AddConfigValueAddConfigValueAddConfigValuePayload) GetConfig() AddConfigValueAddConfigValueAddConfigValuePayloadConfig { + return v.Config +} + +// AddConfigValueAddConfigValueAddConfigValuePayloadConfig includes the requested fields of the GraphQL type Config. +// The GraphQL type's documentation follows. +// +// A config is a collection of key-value pairs. +type AddConfigValueAddConfigValueAddConfigValuePayloadConfig struct { + // The globally unique ID of the config. + Id string `json:"id"` + // The name of the config. + Name string `json:"name"` +} + +// GetId returns AddConfigValueAddConfigValueAddConfigValuePayloadConfig.Id, and is useful for accessing the field via an interface. +func (v *AddConfigValueAddConfigValueAddConfigValuePayloadConfig) GetId() string { return v.Id } + +// GetName returns AddConfigValueAddConfigValueAddConfigValuePayloadConfig.Name, and is useful for accessing the field via an interface. +func (v *AddConfigValueAddConfigValueAddConfigValuePayloadConfig) GetName() string { return v.Name } + +// AddConfigValueResponse is returned by AddConfigValue on success. +type AddConfigValueResponse struct { + // Add a value to a config. + AddConfigValue AddConfigValueAddConfigValueAddConfigValuePayload `json:"addConfigValue"` +} + +// GetAddConfigValue returns AddConfigValueResponse.AddConfigValue, and is useful for accessing the field via an interface. +func (v *AddConfigValueResponse) GetAddConfigValue() AddConfigValueAddConfigValueAddConfigValuePayload { + return v.AddConfigValue } // AddSecretValueAddSecretValueAddSecretValuePayload includes the requested fields of the GraphQL type AddSecretValuePayload. @@ -409,9 +457,9 @@ var AllApplicationInstanceState = []ApplicationInstanceState{ // Ordering options when fetching applications. type ApplicationOrder struct { - // Ordering options when fetching applications. + // The field to order items by. Field ApplicationOrderField `json:"field"` - // Ordering options when fetching applications. + // The direction to order items by. Direction OrderDirection `json:"direction"` } @@ -462,6 +510,58 @@ var AllApplicationState = []ApplicationState{ ApplicationStateUnknown, } +type ConfigValueInput struct { + // The name of the config value. + Name string `json:"name"` + // The value to set. + Value string `json:"value"` +} + +// GetName returns ConfigValueInput.Name, and is useful for accessing the field via an interface. +func (v *ConfigValueInput) GetName() string { return v.Name } + +// GetValue returns ConfigValueInput.Value, and is useful for accessing the field via an interface. +func (v *ConfigValueInput) GetValue() string { return v.Value } + +// CreateConfigCreateConfigCreateConfigPayload includes the requested fields of the GraphQL type CreateConfigPayload. +type CreateConfigCreateConfigCreateConfigPayload struct { + // The created config. + Config CreateConfigCreateConfigCreateConfigPayloadConfig `json:"config"` +} + +// GetConfig returns CreateConfigCreateConfigCreateConfigPayload.Config, and is useful for accessing the field via an interface. +func (v *CreateConfigCreateConfigCreateConfigPayload) GetConfig() CreateConfigCreateConfigCreateConfigPayloadConfig { + return v.Config +} + +// CreateConfigCreateConfigCreateConfigPayloadConfig includes the requested fields of the GraphQL type Config. +// The GraphQL type's documentation follows. +// +// A config is a collection of key-value pairs. +type CreateConfigCreateConfigCreateConfigPayloadConfig struct { + // The globally unique ID of the config. + Id string `json:"id"` + // The name of the config. + Name string `json:"name"` +} + +// GetId returns CreateConfigCreateConfigCreateConfigPayloadConfig.Id, and is useful for accessing the field via an interface. +func (v *CreateConfigCreateConfigCreateConfigPayloadConfig) GetId() string { return v.Id } + +// GetName returns CreateConfigCreateConfigCreateConfigPayloadConfig.Name, and is useful for accessing the field via an interface. +func (v *CreateConfigCreateConfigCreateConfigPayloadConfig) GetName() string { return v.Name } + +// CreateConfigResponse is returned by CreateConfig on success. +type CreateConfigResponse struct { + // Create a new config. + CreateConfig CreateConfigCreateConfigCreateConfigPayload `json:"createConfig"` +} + +// GetCreateConfig returns CreateConfigResponse.CreateConfig, and is useful for accessing the field via an interface. +func (v *CreateConfigResponse) GetCreateConfig() CreateConfigCreateConfigCreateConfigPayload { + return v.CreateConfig +} + // CreateKafkaCredentialsCreateKafkaCredentialsCreateKafkaCredentialsPayload includes the requested fields of the GraphQL type CreateKafkaCredentialsPayload. type CreateKafkaCredentialsCreateKafkaCredentialsCreateKafkaCredentialsPayload struct { // The generated credentials. @@ -780,24 +880,24 @@ var AllCredentialPermission = []CredentialPermission{ CredentialPermissionAdmin, } -// DeleteJobRunDeleteJobRunDeleteJobRunPayload includes the requested fields of the GraphQL type DeleteJobRunPayload. -type DeleteJobRunDeleteJobRunDeleteJobRunPayload struct { - // Whether or not the run was deleted. - Success bool `json:"success"` +// DeleteConfigDeleteConfigDeleteConfigPayload includes the requested fields of the GraphQL type DeleteConfigPayload. +type DeleteConfigDeleteConfigDeleteConfigPayload struct { + // The deleted config. + ConfigDeleted bool `json:"configDeleted"` } -// GetSuccess returns DeleteJobRunDeleteJobRunDeleteJobRunPayload.Success, and is useful for accessing the field via an interface. -func (v *DeleteJobRunDeleteJobRunDeleteJobRunPayload) GetSuccess() bool { return v.Success } +// GetConfigDeleted returns DeleteConfigDeleteConfigDeleteConfigPayload.ConfigDeleted, and is useful for accessing the field via an interface. +func (v *DeleteConfigDeleteConfigDeleteConfigPayload) GetConfigDeleted() bool { return v.ConfigDeleted } -// DeleteJobRunResponse is returned by DeleteJobRun on success. -type DeleteJobRunResponse struct { - // Delete a job run. - DeleteJobRun DeleteJobRunDeleteJobRunDeleteJobRunPayload `json:"deleteJobRun"` +// DeleteConfigResponse is returned by DeleteConfig on success. +type DeleteConfigResponse struct { + // Delete a config, and the values it contains. + DeleteConfig DeleteConfigDeleteConfigDeleteConfigPayload `json:"deleteConfig"` } -// GetDeleteJobRun returns DeleteJobRunResponse.DeleteJobRun, and is useful for accessing the field via an interface. -func (v *DeleteJobRunResponse) GetDeleteJobRun() DeleteJobRunDeleteJobRunDeleteJobRunPayload { - return v.DeleteJobRun +// GetDeleteConfig returns DeleteConfigResponse.DeleteConfig, and is useful for accessing the field via an interface. +func (v *DeleteConfigResponse) GetDeleteConfig() DeleteConfigDeleteConfigDeleteConfigPayload { + return v.DeleteConfig } // DeleteOpenSearchDeleteOpenSearchDeleteOpenSearchPayload includes the requested fields of the GraphQL type DeleteOpenSearchPayload. @@ -1085,17 +1185,17 @@ type FindWorkloadsForCveCveCVEWorkloadsWorkloadWithVulnerabilityConnectionNodesW // GetName returns the interface-field "name" from its implementation. // The GraphQL interface field's documentation follows. // - // Interface for workloads. + // The name of the workload. GetName() string // GetTeam returns the interface-field "team" from its implementation. // The GraphQL interface field's documentation follows. // - // Interface for workloads. + // The team that owns the workload. GetTeam() FindWorkloadsForCveCveCVEWorkloadsWorkloadWithVulnerabilityConnectionNodesWorkloadWithVulnerabilityWorkloadTeam // GetTeamEnvironment returns the interface-field "teamEnvironment" from its implementation. // The GraphQL interface field's documentation follows. // - // Interface for workloads. + // The team environment for the workload. GetTeamEnvironment() FindWorkloadsForCveCveCVEWorkloadsWorkloadWithVulnerabilityConnectionNodesWorkloadWithVulnerabilityWorkloadTeamEnvironment } @@ -1169,11 +1269,11 @@ func __marshalFindWorkloadsForCveCveCVEWorkloadsWorkloadWithVulnerabilityConnect // Learn more about how to create and configure your applications in the [Nais documentation](https://docs.nais.io/workloads/application/). type FindWorkloadsForCveCveCVEWorkloadsWorkloadWithVulnerabilityConnectionNodesWorkloadWithVulnerabilityWorkloadApplication struct { Typename string `json:"__typename"` - // Interface for workloads. + // The name of the workload. Name string `json:"name"` - // Interface for workloads. + // The team that owns the workload. Team FindWorkloadsForCveCveCVEWorkloadsWorkloadWithVulnerabilityConnectionNodesWorkloadWithVulnerabilityWorkloadTeam `json:"team"` - // Interface for workloads. + // The team environment for the workload. TeamEnvironment FindWorkloadsForCveCveCVEWorkloadsWorkloadWithVulnerabilityConnectionNodesWorkloadWithVulnerabilityWorkloadTeamEnvironment `json:"teamEnvironment"` } @@ -1200,11 +1300,11 @@ func (v *FindWorkloadsForCveCveCVEWorkloadsWorkloadWithVulnerabilityConnectionNo // FindWorkloadsForCveCveCVEWorkloadsWorkloadWithVulnerabilityConnectionNodesWorkloadWithVulnerabilityWorkloadJob includes the requested fields of the GraphQL type Job. type FindWorkloadsForCveCveCVEWorkloadsWorkloadWithVulnerabilityConnectionNodesWorkloadWithVulnerabilityWorkloadJob struct { Typename string `json:"__typename"` - // Interface for workloads. + // The name of the workload. Name string `json:"name"` - // Interface for workloads. + // The team that owns the workload. Team FindWorkloadsForCveCveCVEWorkloadsWorkloadWithVulnerabilityConnectionNodesWorkloadWithVulnerabilityWorkloadTeam `json:"team"` - // Interface for workloads. + // The team environment for the workload. TeamEnvironment FindWorkloadsForCveCveCVEWorkloadsWorkloadWithVulnerabilityConnectionNodesWorkloadWithVulnerabilityWorkloadTeamEnvironment `json:"teamEnvironment"` } @@ -1282,16 +1382,16 @@ type FindWorkloadsForCveResponse struct { // GetCve returns FindWorkloadsForCveResponse.Cve, and is useful for accessing the field via an interface. func (v *FindWorkloadsForCveResponse) GetCve() FindWorkloadsForCveCveCVE { return v.Cve } -// GetAllIssuesResponse is returned by GetAllIssues on success. -type GetAllIssuesResponse struct { +// GetAllConfigsResponse is returned by GetAllConfigs on success. +type GetAllConfigsResponse struct { // Get a team by its slug. - Team GetAllIssuesTeam `json:"team"` + Team GetAllConfigsTeam `json:"team"` } -// GetTeam returns GetAllIssuesResponse.Team, and is useful for accessing the field via an interface. -func (v *GetAllIssuesResponse) GetTeam() GetAllIssuesTeam { return v.Team } +// GetTeam returns GetAllConfigsResponse.Team, and is useful for accessing the field via an interface. +func (v *GetAllConfigsResponse) GetTeam() GetAllConfigsTeam { return v.Team } -// GetAllIssuesTeam includes the requested fields of the GraphQL type Team. +// GetAllConfigsTeam includes the requested fields of the GraphQL type Team. // The GraphQL type's documentation follows. // // The team type represents a team on the [Nais platform](https://nais.io/). @@ -1299,37 +1399,157 @@ func (v *GetAllIssuesResponse) GetTeam() GetAllIssuesTeam { return v.Team } // Learn more about what Nais teams are and what they can be used for in the [official Nais documentation](https://docs.nais.io/explanations/team/). // // External resources (e.g. entraIDGroupID, gitHubTeamSlug) are managed by [Nais API reconcilers](https://github.com/nais/api-reconcilers). -type GetAllIssuesTeam struct { - // Issues that affects the team. - Issues GetAllIssuesTeamIssuesIssueConnection `json:"issues"` +type GetAllConfigsTeam struct { + // Configs owned by the team. + Configs GetAllConfigsTeamConfigsConfigConnection `json:"configs"` } -// GetIssues returns GetAllIssuesTeam.Issues, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeam) GetIssues() GetAllIssuesTeamIssuesIssueConnection { return v.Issues } +// GetConfigs returns GetAllConfigsTeam.Configs, and is useful for accessing the field via an interface. +func (v *GetAllConfigsTeam) GetConfigs() GetAllConfigsTeamConfigsConfigConnection { return v.Configs } -// GetAllIssuesTeamIssuesIssueConnection includes the requested fields of the GraphQL type IssueConnection. -type GetAllIssuesTeamIssuesIssueConnection struct { +// GetAllConfigsTeamConfigsConfigConnection includes the requested fields of the GraphQL type ConfigConnection. +type GetAllConfigsTeamConfigsConfigConnection struct { // List of nodes. - Nodes []GetAllIssuesTeamIssuesIssueConnectionNodesIssue `json:"-"` + Nodes []GetAllConfigsTeamConfigsConfigConnectionNodesConfig `json:"nodes"` } -// GetNodes returns GetAllIssuesTeamIssuesIssueConnection.Nodes, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnection) GetNodes() []GetAllIssuesTeamIssuesIssueConnectionNodesIssue { +// GetNodes returns GetAllConfigsTeamConfigsConfigConnection.Nodes, and is useful for accessing the field via an interface. +func (v *GetAllConfigsTeamConfigsConfigConnection) GetNodes() []GetAllConfigsTeamConfigsConfigConnectionNodesConfig { return v.Nodes } -func (v *GetAllIssuesTeamIssuesIssueConnection) UnmarshalJSON(b []byte) error { +// GetAllConfigsTeamConfigsConfigConnectionNodesConfig includes the requested fields of the GraphQL type Config. +// The GraphQL type's documentation follows. +// +// A config is a collection of key-value pairs. +type GetAllConfigsTeamConfigsConfigConnectionNodesConfig struct { + // The name of the config. + Name string `json:"name"` + // The values stored in the config. + Values []GetAllConfigsTeamConfigsConfigConnectionNodesConfigValuesConfigValue `json:"values"` + // The environment the config exists in. + TeamEnvironment GetAllConfigsTeamConfigsConfigConnectionNodesConfigTeamEnvironment `json:"teamEnvironment"` + // Workloads that use the config. + Workloads GetAllConfigsTeamConfigsConfigConnectionNodesConfigWorkloadsWorkloadConnection `json:"workloads"` + // Last time the config was modified. + LastModifiedAt time.Time `json:"lastModifiedAt"` + // User who last modified the config. + LastModifiedBy GetAllConfigsTeamConfigsConfigConnectionNodesConfigLastModifiedByUser `json:"lastModifiedBy"` +} + +// GetName returns GetAllConfigsTeamConfigsConfigConnectionNodesConfig.Name, and is useful for accessing the field via an interface. +func (v *GetAllConfigsTeamConfigsConfigConnectionNodesConfig) GetName() string { return v.Name } + +// GetValues returns GetAllConfigsTeamConfigsConfigConnectionNodesConfig.Values, and is useful for accessing the field via an interface. +func (v *GetAllConfigsTeamConfigsConfigConnectionNodesConfig) GetValues() []GetAllConfigsTeamConfigsConfigConnectionNodesConfigValuesConfigValue { + return v.Values +} + +// GetTeamEnvironment returns GetAllConfigsTeamConfigsConfigConnectionNodesConfig.TeamEnvironment, and is useful for accessing the field via an interface. +func (v *GetAllConfigsTeamConfigsConfigConnectionNodesConfig) GetTeamEnvironment() GetAllConfigsTeamConfigsConfigConnectionNodesConfigTeamEnvironment { + return v.TeamEnvironment +} + +// GetWorkloads returns GetAllConfigsTeamConfigsConfigConnectionNodesConfig.Workloads, and is useful for accessing the field via an interface. +func (v *GetAllConfigsTeamConfigsConfigConnectionNodesConfig) GetWorkloads() GetAllConfigsTeamConfigsConfigConnectionNodesConfigWorkloadsWorkloadConnection { + return v.Workloads +} + +// GetLastModifiedAt returns GetAllConfigsTeamConfigsConfigConnectionNodesConfig.LastModifiedAt, and is useful for accessing the field via an interface. +func (v *GetAllConfigsTeamConfigsConfigConnectionNodesConfig) GetLastModifiedAt() time.Time { + return v.LastModifiedAt +} + +// GetLastModifiedBy returns GetAllConfigsTeamConfigsConfigConnectionNodesConfig.LastModifiedBy, and is useful for accessing the field via an interface. +func (v *GetAllConfigsTeamConfigsConfigConnectionNodesConfig) GetLastModifiedBy() GetAllConfigsTeamConfigsConfigConnectionNodesConfigLastModifiedByUser { + return v.LastModifiedBy +} + +// GetAllConfigsTeamConfigsConfigConnectionNodesConfigLastModifiedByUser includes the requested fields of the GraphQL type User. +// The GraphQL type's documentation follows. +// +// The user type represents a user of the Nais platform and the Nais GraphQL API. +type GetAllConfigsTeamConfigsConfigConnectionNodesConfigLastModifiedByUser struct { + // The email address of the user. + Email string `json:"email"` +} + +// GetEmail returns GetAllConfigsTeamConfigsConfigConnectionNodesConfigLastModifiedByUser.Email, and is useful for accessing the field via an interface. +func (v *GetAllConfigsTeamConfigsConfigConnectionNodesConfigLastModifiedByUser) GetEmail() string { + return v.Email +} + +// GetAllConfigsTeamConfigsConfigConnectionNodesConfigTeamEnvironment includes the requested fields of the GraphQL type TeamEnvironment. +type GetAllConfigsTeamConfigsConfigConnectionNodesConfigTeamEnvironment struct { + // Get the environment. + Environment GetAllConfigsTeamConfigsConfigConnectionNodesConfigTeamEnvironmentEnvironment `json:"environment"` +} + +// GetEnvironment returns GetAllConfigsTeamConfigsConfigConnectionNodesConfigTeamEnvironment.Environment, and is useful for accessing the field via an interface. +func (v *GetAllConfigsTeamConfigsConfigConnectionNodesConfigTeamEnvironment) GetEnvironment() GetAllConfigsTeamConfigsConfigConnectionNodesConfigTeamEnvironmentEnvironment { + return v.Environment +} + +// GetAllConfigsTeamConfigsConfigConnectionNodesConfigTeamEnvironmentEnvironment includes the requested fields of the GraphQL type Environment. +// The GraphQL type's documentation follows. +// +// An environment represents a runtime environment for workloads. +// +// Learn more in the [official Nais documentation](https://docs.nais.io/workloads/explanations/environment/). +type GetAllConfigsTeamConfigsConfigConnectionNodesConfigTeamEnvironmentEnvironment struct { + // Unique name of the environment. + Name string `json:"name"` +} + +// GetName returns GetAllConfigsTeamConfigsConfigConnectionNodesConfigTeamEnvironmentEnvironment.Name, and is useful for accessing the field via an interface. +func (v *GetAllConfigsTeamConfigsConfigConnectionNodesConfigTeamEnvironmentEnvironment) GetName() string { + return v.Name +} + +// GetAllConfigsTeamConfigsConfigConnectionNodesConfigValuesConfigValue includes the requested fields of the GraphQL type ConfigValue. +type GetAllConfigsTeamConfigsConfigConnectionNodesConfigValuesConfigValue struct { + // The name of the config value. + Name string `json:"name"` + // The config value itself. + Value string `json:"value"` +} + +// GetName returns GetAllConfigsTeamConfigsConfigConnectionNodesConfigValuesConfigValue.Name, and is useful for accessing the field via an interface. +func (v *GetAllConfigsTeamConfigsConfigConnectionNodesConfigValuesConfigValue) GetName() string { + return v.Name +} + +// GetValue returns GetAllConfigsTeamConfigsConfigConnectionNodesConfigValuesConfigValue.Value, and is useful for accessing the field via an interface. +func (v *GetAllConfigsTeamConfigsConfigConnectionNodesConfigValuesConfigValue) GetValue() string { + return v.Value +} + +// GetAllConfigsTeamConfigsConfigConnectionNodesConfigWorkloadsWorkloadConnection includes the requested fields of the GraphQL type WorkloadConnection. +// The GraphQL type's documentation follows. +// +// Workload connection. +type GetAllConfigsTeamConfigsConfigConnectionNodesConfigWorkloadsWorkloadConnection struct { + // List of nodes. + Nodes []GetAllConfigsTeamConfigsConfigConnectionNodesConfigWorkloadsWorkloadConnectionNodesWorkload `json:"-"` +} + +// GetNodes returns GetAllConfigsTeamConfigsConfigConnectionNodesConfigWorkloadsWorkloadConnection.Nodes, and is useful for accessing the field via an interface. +func (v *GetAllConfigsTeamConfigsConfigConnectionNodesConfigWorkloadsWorkloadConnection) GetNodes() []GetAllConfigsTeamConfigsConfigConnectionNodesConfigWorkloadsWorkloadConnectionNodesWorkload { + return v.Nodes +} + +func (v *GetAllConfigsTeamConfigsConfigConnectionNodesConfigWorkloadsWorkloadConnection) UnmarshalJSON(b []byte) error { if string(b) == "null" { return nil } var firstPass struct { - *GetAllIssuesTeamIssuesIssueConnection + *GetAllConfigsTeamConfigsConfigConnectionNodesConfigWorkloadsWorkloadConnection Nodes []json.RawMessage `json:"nodes"` graphql.NoUnmarshalJSON } - firstPass.GetAllIssuesTeamIssuesIssueConnection = v + firstPass.GetAllConfigsTeamConfigsConfigConnectionNodesConfigWorkloadsWorkloadConnection = v err := json.Unmarshal(b, &firstPass) if err != nil { @@ -1340,16 +1560,16 @@ func (v *GetAllIssuesTeamIssuesIssueConnection) UnmarshalJSON(b []byte) error { dst := &v.Nodes src := firstPass.Nodes *dst = make( - []GetAllIssuesTeamIssuesIssueConnectionNodesIssue, + []GetAllConfigsTeamConfigsConfigConnectionNodesConfigWorkloadsWorkloadConnectionNodesWorkload, len(src)) for i, src := range src { dst := &(*dst)[i] if len(src) != 0 && string(src) != "null" { - err = __unmarshalGetAllIssuesTeamIssuesIssueConnectionNodesIssue( + err = __unmarshalGetAllConfigsTeamConfigsConfigConnectionNodesConfigWorkloadsWorkloadConnectionNodesWorkload( src, dst) if err != nil { return fmt.Errorf( - "unable to unmarshal GetAllIssuesTeamIssuesIssueConnection.Nodes: %w", err) + "unable to unmarshal GetAllConfigsTeamConfigsConfigConnectionNodesConfigWorkloadsWorkloadConnection.Nodes: %w", err) } } } @@ -1357,11 +1577,11 @@ func (v *GetAllIssuesTeamIssuesIssueConnection) UnmarshalJSON(b []byte) error { return nil } -type __premarshalGetAllIssuesTeamIssuesIssueConnection struct { +type __premarshalGetAllConfigsTeamConfigsConfigConnectionNodesConfigWorkloadsWorkloadConnection struct { Nodes []json.RawMessage `json:"nodes"` } -func (v *GetAllIssuesTeamIssuesIssueConnection) MarshalJSON() ([]byte, error) { +func (v *GetAllConfigsTeamConfigsConfigConnectionNodesConfigWorkloadsWorkloadConnection) MarshalJSON() ([]byte, error) { premarshaled, err := v.__premarshalJSON() if err != nil { return nil, err @@ -1369,8 +1589,8 @@ func (v *GetAllIssuesTeamIssuesIssueConnection) MarshalJSON() ([]byte, error) { return json.Marshal(premarshaled) } -func (v *GetAllIssuesTeamIssuesIssueConnection) __premarshalJSON() (*__premarshalGetAllIssuesTeamIssuesIssueConnection, error) { - var retval __premarshalGetAllIssuesTeamIssuesIssueConnection +func (v *GetAllConfigsTeamConfigsConfigConnectionNodesConfigWorkloadsWorkloadConnection) __premarshalJSON() (*__premarshalGetAllConfigsTeamConfigsConfigConnectionNodesConfigWorkloadsWorkloadConnection, error) { + var retval __premarshalGetAllConfigsTeamConfigsConfigConnectionNodesConfigWorkloadsWorkloadConnection { @@ -1382,369 +1602,185 @@ func (v *GetAllIssuesTeamIssuesIssueConnection) __premarshalJSON() (*__premarsha for i, src := range src { dst := &(*dst)[i] var err error - *dst, err = __marshalGetAllIssuesTeamIssuesIssueConnectionNodesIssue( + *dst, err = __marshalGetAllConfigsTeamConfigsConfigConnectionNodesConfigWorkloadsWorkloadConnectionNodesWorkload( &src) if err != nil { return nil, fmt.Errorf( - "unable to marshal GetAllIssuesTeamIssuesIssueConnection.Nodes: %w", err) + "unable to marshal GetAllConfigsTeamConfigsConfigConnectionNodesConfigWorkloadsWorkloadConnection.Nodes: %w", err) } } } return &retval, nil } -// GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedIngressIssue includes the requested fields of the GraphQL type DeprecatedIngressIssue. -type GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedIngressIssue struct { - Typename string `json:"__typename"` - TeamEnvironment GetAllIssuesTeamIssuesIssueConnectionNodesIssueTeamEnvironment `json:"teamEnvironment"` - Id string `json:"id"` - Severity Severity `json:"severity"` - Message string `json:"message"` - Application GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedIngressIssueApplication `json:"application"` -} - -// GetTypename returns GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedIngressIssue.Typename, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedIngressIssue) GetTypename() string { - return v.Typename -} - -// GetTeamEnvironment returns GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedIngressIssue.TeamEnvironment, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedIngressIssue) GetTeamEnvironment() GetAllIssuesTeamIssuesIssueConnectionNodesIssueTeamEnvironment { - return v.TeamEnvironment -} - -// GetId returns GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedIngressIssue.Id, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedIngressIssue) GetId() string { - return v.Id -} - -// GetSeverity returns GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedIngressIssue.Severity, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedIngressIssue) GetSeverity() Severity { - return v.Severity -} - -// GetMessage returns GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedIngressIssue.Message, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedIngressIssue) GetMessage() string { - return v.Message -} - -// GetApplication returns GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedIngressIssue.Application, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedIngressIssue) GetApplication() GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedIngressIssueApplication { - return v.Application -} - -// GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedIngressIssueApplication includes the requested fields of the GraphQL type Application. +// GetAllConfigsTeamConfigsConfigConnectionNodesConfigWorkloadsWorkloadConnectionNodesApplication includes the requested fields of the GraphQL type Application. // The GraphQL type's documentation follows. // // An application lets you run one or more instances of a container image on the [Nais platform](https://nais.io/). // // Learn more about how to create and configure your applications in the [Nais documentation](https://docs.nais.io/workloads/application/). -type GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedIngressIssueApplication struct { - // The name of the application. +type GetAllConfigsTeamConfigsConfigConnectionNodesConfigWorkloadsWorkloadConnectionNodesApplication struct { + // The name of the workload. Name string `json:"name"` Typename string `json:"__typename"` } -// GetName returns GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedIngressIssueApplication.Name, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedIngressIssueApplication) GetName() string { +// GetName returns GetAllConfigsTeamConfigsConfigConnectionNodesConfigWorkloadsWorkloadConnectionNodesApplication.Name, and is useful for accessing the field via an interface. +func (v *GetAllConfigsTeamConfigsConfigConnectionNodesConfigWorkloadsWorkloadConnectionNodesApplication) GetName() string { return v.Name } -// GetTypename returns GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedIngressIssueApplication.Typename, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedIngressIssueApplication) GetTypename() string { +// GetTypename returns GetAllConfigsTeamConfigsConfigConnectionNodesConfigWorkloadsWorkloadConnectionNodesApplication.Typename, and is useful for accessing the field via an interface. +func (v *GetAllConfigsTeamConfigsConfigConnectionNodesConfigWorkloadsWorkloadConnectionNodesApplication) GetTypename() string { return v.Typename } -// GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssue includes the requested fields of the GraphQL type DeprecatedRegistryIssue. -type GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssue struct { - Typename string `json:"__typename"` - TeamEnvironment GetAllIssuesTeamIssuesIssueConnectionNodesIssueTeamEnvironment `json:"teamEnvironment"` - Id string `json:"id"` - Severity Severity `json:"severity"` - Message string `json:"message"` - Workload GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssueWorkload `json:"-"` -} - -// GetTypename returns GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssue.Typename, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssue) GetTypename() string { - return v.Typename +// GetAllConfigsTeamConfigsConfigConnectionNodesConfigWorkloadsWorkloadConnectionNodesJob includes the requested fields of the GraphQL type Job. +type GetAllConfigsTeamConfigsConfigConnectionNodesConfigWorkloadsWorkloadConnectionNodesJob struct { + // The name of the workload. + Name string `json:"name"` + Typename string `json:"__typename"` } -// GetTeamEnvironment returns GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssue.TeamEnvironment, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssue) GetTeamEnvironment() GetAllIssuesTeamIssuesIssueConnectionNodesIssueTeamEnvironment { - return v.TeamEnvironment +// GetName returns GetAllConfigsTeamConfigsConfigConnectionNodesConfigWorkloadsWorkloadConnectionNodesJob.Name, and is useful for accessing the field via an interface. +func (v *GetAllConfigsTeamConfigsConfigConnectionNodesConfigWorkloadsWorkloadConnectionNodesJob) GetName() string { + return v.Name } -// GetId returns GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssue.Id, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssue) GetId() string { - return v.Id +// GetTypename returns GetAllConfigsTeamConfigsConfigConnectionNodesConfigWorkloadsWorkloadConnectionNodesJob.Typename, and is useful for accessing the field via an interface. +func (v *GetAllConfigsTeamConfigsConfigConnectionNodesConfigWorkloadsWorkloadConnectionNodesJob) GetTypename() string { + return v.Typename } -// GetSeverity returns GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssue.Severity, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssue) GetSeverity() Severity { - return v.Severity +// GetAllConfigsTeamConfigsConfigConnectionNodesConfigWorkloadsWorkloadConnectionNodesWorkload includes the requested fields of the GraphQL interface Workload. +// +// GetAllConfigsTeamConfigsConfigConnectionNodesConfigWorkloadsWorkloadConnectionNodesWorkload is implemented by the following types: +// GetAllConfigsTeamConfigsConfigConnectionNodesConfigWorkloadsWorkloadConnectionNodesApplication +// GetAllConfigsTeamConfigsConfigConnectionNodesConfigWorkloadsWorkloadConnectionNodesJob +// The GraphQL type's documentation follows. +// +// Interface for workloads. +type GetAllConfigsTeamConfigsConfigConnectionNodesConfigWorkloadsWorkloadConnectionNodesWorkload interface { + implementsGraphQLInterfaceGetAllConfigsTeamConfigsConfigConnectionNodesConfigWorkloadsWorkloadConnectionNodesWorkload() + // GetName returns the interface-field "name" from its implementation. + // The GraphQL interface field's documentation follows. + // + // The name of the workload. + GetName() string + // GetTypename returns the receiver's concrete GraphQL type-name (see interface doc for possible values). + GetTypename() string } -// GetMessage returns GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssue.Message, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssue) GetMessage() string { - return v.Message +func (v *GetAllConfigsTeamConfigsConfigConnectionNodesConfigWorkloadsWorkloadConnectionNodesApplication) implementsGraphQLInterfaceGetAllConfigsTeamConfigsConfigConnectionNodesConfigWorkloadsWorkloadConnectionNodesWorkload() { } - -// GetWorkload returns GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssue.Workload, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssue) GetWorkload() GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssueWorkload { - return v.Workload +func (v *GetAllConfigsTeamConfigsConfigConnectionNodesConfigWorkloadsWorkloadConnectionNodesJob) implementsGraphQLInterfaceGetAllConfigsTeamConfigsConfigConnectionNodesConfigWorkloadsWorkloadConnectionNodesWorkload() { } -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssue) UnmarshalJSON(b []byte) error { - +func __unmarshalGetAllConfigsTeamConfigsConfigConnectionNodesConfigWorkloadsWorkloadConnectionNodesWorkload(b []byte, v *GetAllConfigsTeamConfigsConfigConnectionNodesConfigWorkloadsWorkloadConnectionNodesWorkload) error { if string(b) == "null" { return nil } - var firstPass struct { - *GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssue - Workload json.RawMessage `json:"workload"` - graphql.NoUnmarshalJSON + var tn struct { + TypeName string `json:"__typename"` } - firstPass.GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssue = v - - err := json.Unmarshal(b, &firstPass) - if err != nil { - return err - } - - { - dst := &v.Workload - src := firstPass.Workload - if len(src) != 0 && string(src) != "null" { - err = __unmarshalGetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssueWorkload( - src, dst) - if err != nil { - return fmt.Errorf( - "unable to unmarshal GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssue.Workload: %w", err) - } - } - } - return nil -} - -type __premarshalGetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssue struct { - Typename string `json:"__typename"` - - TeamEnvironment GetAllIssuesTeamIssuesIssueConnectionNodesIssueTeamEnvironment `json:"teamEnvironment"` - - Id string `json:"id"` - - Severity Severity `json:"severity"` - - Message string `json:"message"` - - Workload json.RawMessage `json:"workload"` -} - -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssue) MarshalJSON() ([]byte, error) { - premarshaled, err := v.__premarshalJSON() - if err != nil { - return nil, err - } - return json.Marshal(premarshaled) -} - -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssue) __premarshalJSON() (*__premarshalGetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssue, error) { - var retval __premarshalGetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssue - - retval.Typename = v.Typename - retval.TeamEnvironment = v.TeamEnvironment - retval.Id = v.Id - retval.Severity = v.Severity - retval.Message = v.Message - { - - dst := &retval.Workload - src := v.Workload - var err error - *dst, err = __marshalGetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssueWorkload( - &src) - if err != nil { - return nil, fmt.Errorf( - "unable to marshal GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssue.Workload: %w", err) - } - } - return &retval, nil -} - -// GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssueWorkload includes the requested fields of the GraphQL interface Workload. -// -// GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssueWorkload is implemented by the following types: -// GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssueWorkloadApplication -// GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssueWorkloadJob -// The GraphQL type's documentation follows. -// -// Interface for workloads. -type GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssueWorkload interface { - implementsGraphQLInterfaceGetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssueWorkload() - // GetName returns the interface-field "name" from its implementation. - // The GraphQL interface field's documentation follows. - // - // Interface for workloads. - GetName() string - // GetTypename returns the receiver's concrete GraphQL type-name (see interface doc for possible values). - GetTypename() string -} - -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssueWorkloadApplication) implementsGraphQLInterfaceGetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssueWorkload() { -} -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssueWorkloadJob) implementsGraphQLInterfaceGetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssueWorkload() { -} - -func __unmarshalGetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssueWorkload(b []byte, v *GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssueWorkload) error { - if string(b) == "null" { - return nil - } - - var tn struct { - TypeName string `json:"__typename"` - } - err := json.Unmarshal(b, &tn) + err := json.Unmarshal(b, &tn) if err != nil { return err } switch tn.TypeName { case "Application": - *v = new(GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssueWorkloadApplication) + *v = new(GetAllConfigsTeamConfigsConfigConnectionNodesConfigWorkloadsWorkloadConnectionNodesApplication) return json.Unmarshal(b, *v) case "Job": - *v = new(GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssueWorkloadJob) + *v = new(GetAllConfigsTeamConfigsConfigConnectionNodesConfigWorkloadsWorkloadConnectionNodesJob) return json.Unmarshal(b, *v) case "": return fmt.Errorf( "response was missing Workload.__typename") default: return fmt.Errorf( - `unexpected concrete type for GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssueWorkload: "%v"`, tn.TypeName) + `unexpected concrete type for GetAllConfigsTeamConfigsConfigConnectionNodesConfigWorkloadsWorkloadConnectionNodesWorkload: "%v"`, tn.TypeName) } } -func __marshalGetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssueWorkload(v *GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssueWorkload) ([]byte, error) { +func __marshalGetAllConfigsTeamConfigsConfigConnectionNodesConfigWorkloadsWorkloadConnectionNodesWorkload(v *GetAllConfigsTeamConfigsConfigConnectionNodesConfigWorkloadsWorkloadConnectionNodesWorkload) ([]byte, error) { var typename string switch v := (*v).(type) { - case *GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssueWorkloadApplication: + case *GetAllConfigsTeamConfigsConfigConnectionNodesConfigWorkloadsWorkloadConnectionNodesApplication: typename = "Application" result := struct { TypeName string `json:"__typename"` - *GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssueWorkloadApplication + *GetAllConfigsTeamConfigsConfigConnectionNodesConfigWorkloadsWorkloadConnectionNodesApplication }{typename, v} return json.Marshal(result) - case *GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssueWorkloadJob: + case *GetAllConfigsTeamConfigsConfigConnectionNodesConfigWorkloadsWorkloadConnectionNodesJob: typename = "Job" result := struct { TypeName string `json:"__typename"` - *GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssueWorkloadJob + *GetAllConfigsTeamConfigsConfigConnectionNodesConfigWorkloadsWorkloadConnectionNodesJob }{typename, v} return json.Marshal(result) case nil: return []byte("null"), nil default: return nil, fmt.Errorf( - `unexpected concrete type for GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssueWorkload: "%T"`, v) + `unexpected concrete type for GetAllConfigsTeamConfigsConfigConnectionNodesConfigWorkloadsWorkloadConnectionNodesWorkload: "%T"`, v) } } -// GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssueWorkloadApplication includes the requested fields of the GraphQL type Application. -// The GraphQL type's documentation follows. -// -// An application lets you run one or more instances of a container image on the [Nais platform](https://nais.io/). -// -// Learn more about how to create and configure your applications in the [Nais documentation](https://docs.nais.io/workloads/application/). -type GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssueWorkloadApplication struct { - // Interface for workloads. - Name string `json:"name"` - Typename string `json:"__typename"` -} - -// GetName returns GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssueWorkloadApplication.Name, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssueWorkloadApplication) GetName() string { - return v.Name -} - -// GetTypename returns GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssueWorkloadApplication.Typename, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssueWorkloadApplication) GetTypename() string { - return v.Typename -} - -// GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssueWorkloadJob includes the requested fields of the GraphQL type Job. -type GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssueWorkloadJob struct { - // Interface for workloads. - Name string `json:"name"` - Typename string `json:"__typename"` -} - -// GetName returns GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssueWorkloadJob.Name, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssueWorkloadJob) GetName() string { - return v.Name -} - -// GetTypename returns GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssueWorkloadJob.Typename, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssueWorkloadJob) GetTypename() string { - return v.Typename -} - -// GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssue includes the requested fields of the GraphQL type ExternalIngressCriticalVulnerabilityIssue. -type GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssue struct { - Typename string `json:"__typename"` - TeamEnvironment GetAllIssuesTeamIssuesIssueConnectionNodesIssueTeamEnvironment `json:"teamEnvironment"` - Id string `json:"id"` - Severity Severity `json:"severity"` - Message string `json:"message"` - Workload GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssueWorkload `json:"-"` -} - -// GetTypename returns GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssue.Typename, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssue) GetTypename() string { - return v.Typename +// GetAllIssuesResponse is returned by GetAllIssues on success. +type GetAllIssuesResponse struct { + // Get a team by its slug. + Team GetAllIssuesTeam `json:"team"` } -// GetTeamEnvironment returns GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssue.TeamEnvironment, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssue) GetTeamEnvironment() GetAllIssuesTeamIssuesIssueConnectionNodesIssueTeamEnvironment { - return v.TeamEnvironment -} +// GetTeam returns GetAllIssuesResponse.Team, and is useful for accessing the field via an interface. +func (v *GetAllIssuesResponse) GetTeam() GetAllIssuesTeam { return v.Team } -// GetId returns GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssue.Id, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssue) GetId() string { - return v.Id +// GetAllIssuesTeam includes the requested fields of the GraphQL type Team. +// The GraphQL type's documentation follows. +// +// The team type represents a team on the [Nais platform](https://nais.io/). +// +// Learn more about what Nais teams are and what they can be used for in the [official Nais documentation](https://docs.nais.io/explanations/team/). +// +// External resources (e.g. entraIDGroupID, gitHubTeamSlug) are managed by [Nais API reconcilers](https://github.com/nais/api-reconcilers). +type GetAllIssuesTeam struct { + // Issues that affects the team. + Issues GetAllIssuesTeamIssuesIssueConnection `json:"issues"` } -// GetSeverity returns GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssue.Severity, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssue) GetSeverity() Severity { - return v.Severity -} +// GetIssues returns GetAllIssuesTeam.Issues, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeam) GetIssues() GetAllIssuesTeamIssuesIssueConnection { return v.Issues } -// GetMessage returns GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssue.Message, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssue) GetMessage() string { - return v.Message +// GetAllIssuesTeamIssuesIssueConnection includes the requested fields of the GraphQL type IssueConnection. +type GetAllIssuesTeamIssuesIssueConnection struct { + // List of nodes. + Nodes []GetAllIssuesTeamIssuesIssueConnectionNodesIssue `json:"-"` } -// GetWorkload returns GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssue.Workload, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssue) GetWorkload() GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssueWorkload { - return v.Workload +// GetNodes returns GetAllIssuesTeamIssuesIssueConnection.Nodes, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnection) GetNodes() []GetAllIssuesTeamIssuesIssueConnectionNodesIssue { + return v.Nodes } -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssue) UnmarshalJSON(b []byte) error { +func (v *GetAllIssuesTeamIssuesIssueConnection) UnmarshalJSON(b []byte) error { if string(b) == "null" { return nil } var firstPass struct { - *GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssue - Workload json.RawMessage `json:"workload"` + *GetAllIssuesTeamIssuesIssueConnection + Nodes []json.RawMessage `json:"nodes"` graphql.NoUnmarshalJSON } - firstPass.GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssue = v + firstPass.GetAllIssuesTeamIssuesIssueConnection = v err := json.Unmarshal(b, &firstPass) if err != nil { @@ -1752,35 +1788,31 @@ func (v *GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulner } { - dst := &v.Workload - src := firstPass.Workload - if len(src) != 0 && string(src) != "null" { - err = __unmarshalGetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssueWorkload( - src, dst) - if err != nil { - return fmt.Errorf( - "unable to unmarshal GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssue.Workload: %w", err) + dst := &v.Nodes + src := firstPass.Nodes + *dst = make( + []GetAllIssuesTeamIssuesIssueConnectionNodesIssue, + len(src)) + for i, src := range src { + dst := &(*dst)[i] + if len(src) != 0 && string(src) != "null" { + err = __unmarshalGetAllIssuesTeamIssuesIssueConnectionNodesIssue( + src, dst) + if err != nil { + return fmt.Errorf( + "unable to unmarshal GetAllIssuesTeamIssuesIssueConnection.Nodes: %w", err) + } } } } return nil } -type __premarshalGetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssue struct { - Typename string `json:"__typename"` - - TeamEnvironment GetAllIssuesTeamIssuesIssueConnectionNodesIssueTeamEnvironment `json:"teamEnvironment"` - - Id string `json:"id"` - - Severity Severity `json:"severity"` - - Message string `json:"message"` - - Workload json.RawMessage `json:"workload"` +type __premarshalGetAllIssuesTeamIssuesIssueConnection struct { + Nodes []json.RawMessage `json:"nodes"` } -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssue) MarshalJSON() ([]byte, error) { +func (v *GetAllIssuesTeamIssuesIssueConnection) MarshalJSON() ([]byte, error) { premarshaled, err := v.__premarshalJSON() if err != nil { return nil, err @@ -1788,201 +1820,144 @@ func (v *GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulner return json.Marshal(premarshaled) } -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssue) __premarshalJSON() (*__premarshalGetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssue, error) { - var retval __premarshalGetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssue +func (v *GetAllIssuesTeamIssuesIssueConnection) __premarshalJSON() (*__premarshalGetAllIssuesTeamIssuesIssueConnection, error) { + var retval __premarshalGetAllIssuesTeamIssuesIssueConnection - retval.Typename = v.Typename - retval.TeamEnvironment = v.TeamEnvironment - retval.Id = v.Id - retval.Severity = v.Severity - retval.Message = v.Message { - dst := &retval.Workload - src := v.Workload - var err error - *dst, err = __marshalGetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssueWorkload( - &src) - if err != nil { - return nil, fmt.Errorf( - "unable to marshal GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssue.Workload: %w", err) - } - } + dst := &retval.Nodes + src := v.Nodes + *dst = make( + []json.RawMessage, + len(src)) + for i, src := range src { + dst := &(*dst)[i] + var err error + *dst, err = __marshalGetAllIssuesTeamIssuesIssueConnectionNodesIssue( + &src) + if err != nil { + return nil, fmt.Errorf( + "unable to marshal GetAllIssuesTeamIssuesIssueConnection.Nodes: %w", err) + } + } + } return &retval, nil } -// GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssueWorkload includes the requested fields of the GraphQL interface Workload. -// -// GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssueWorkload is implemented by the following types: -// GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssueWorkloadApplication -// GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssueWorkloadJob -// The GraphQL type's documentation follows. -// -// Interface for workloads. -type GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssueWorkload interface { - implementsGraphQLInterfaceGetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssueWorkload() - // GetName returns the interface-field "name" from its implementation. - // The GraphQL interface field's documentation follows. - // - // Interface for workloads. - GetName() string - // GetTypename returns the receiver's concrete GraphQL type-name (see interface doc for possible values). - GetTypename() string +// GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedIngressIssue includes the requested fields of the GraphQL type DeprecatedIngressIssue. +type GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedIngressIssue struct { + Typename string `json:"__typename"` + TeamEnvironment GetAllIssuesTeamIssuesIssueConnectionNodesIssueTeamEnvironment `json:"teamEnvironment"` + Id string `json:"id"` + Severity Severity `json:"severity"` + Message string `json:"message"` + Application GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedIngressIssueApplication `json:"application"` } -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssueWorkloadApplication) implementsGraphQLInterfaceGetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssueWorkload() { -} -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssueWorkloadJob) implementsGraphQLInterfaceGetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssueWorkload() { +// GetTypename returns GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedIngressIssue.Typename, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedIngressIssue) GetTypename() string { + return v.Typename } -func __unmarshalGetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssueWorkload(b []byte, v *GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssueWorkload) error { - if string(b) == "null" { - return nil - } - - var tn struct { - TypeName string `json:"__typename"` - } - err := json.Unmarshal(b, &tn) - if err != nil { - return err - } - - switch tn.TypeName { - case "Application": - *v = new(GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssueWorkloadApplication) - return json.Unmarshal(b, *v) - case "Job": - *v = new(GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssueWorkloadJob) - return json.Unmarshal(b, *v) - case "": - return fmt.Errorf( - "response was missing Workload.__typename") - default: - return fmt.Errorf( - `unexpected concrete type for GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssueWorkload: "%v"`, tn.TypeName) - } +// GetTeamEnvironment returns GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedIngressIssue.TeamEnvironment, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedIngressIssue) GetTeamEnvironment() GetAllIssuesTeamIssuesIssueConnectionNodesIssueTeamEnvironment { + return v.TeamEnvironment } -func __marshalGetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssueWorkload(v *GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssueWorkload) ([]byte, error) { +// GetId returns GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedIngressIssue.Id, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedIngressIssue) GetId() string { + return v.Id +} - var typename string - switch v := (*v).(type) { - case *GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssueWorkloadApplication: - typename = "Application" +// GetSeverity returns GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedIngressIssue.Severity, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedIngressIssue) GetSeverity() Severity { + return v.Severity +} - result := struct { - TypeName string `json:"__typename"` - *GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssueWorkloadApplication - }{typename, v} - return json.Marshal(result) - case *GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssueWorkloadJob: - typename = "Job" +// GetMessage returns GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedIngressIssue.Message, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedIngressIssue) GetMessage() string { + return v.Message +} - result := struct { - TypeName string `json:"__typename"` - *GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssueWorkloadJob - }{typename, v} - return json.Marshal(result) - case nil: - return []byte("null"), nil - default: - return nil, fmt.Errorf( - `unexpected concrete type for GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssueWorkload: "%T"`, v) - } +// GetApplication returns GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedIngressIssue.Application, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedIngressIssue) GetApplication() GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedIngressIssueApplication { + return v.Application } -// GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssueWorkloadApplication includes the requested fields of the GraphQL type Application. +// GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedIngressIssueApplication includes the requested fields of the GraphQL type Application. // The GraphQL type's documentation follows. // // An application lets you run one or more instances of a container image on the [Nais platform](https://nais.io/). // // Learn more about how to create and configure your applications in the [Nais documentation](https://docs.nais.io/workloads/application/). -type GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssueWorkloadApplication struct { - // Interface for workloads. - Name string `json:"name"` - Typename string `json:"__typename"` -} - -// GetName returns GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssueWorkloadApplication.Name, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssueWorkloadApplication) GetName() string { - return v.Name -} - -// GetTypename returns GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssueWorkloadApplication.Typename, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssueWorkloadApplication) GetTypename() string { - return v.Typename -} - -// GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssueWorkloadJob includes the requested fields of the GraphQL type Job. -type GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssueWorkloadJob struct { - // Interface for workloads. +type GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedIngressIssueApplication struct { + // The name of the application. Name string `json:"name"` Typename string `json:"__typename"` } -// GetName returns GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssueWorkloadJob.Name, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssueWorkloadJob) GetName() string { +// GetName returns GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedIngressIssueApplication.Name, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedIngressIssueApplication) GetName() string { return v.Name } -// GetTypename returns GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssueWorkloadJob.Typename, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssueWorkloadJob) GetTypename() string { +// GetTypename returns GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedIngressIssueApplication.Typename, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedIngressIssueApplication) GetTypename() string { return v.Typename } -// GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssue includes the requested fields of the GraphQL type FailedSynchronizationIssue. -type GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssue struct { - Typename string `json:"__typename"` - TeamEnvironment GetAllIssuesTeamIssuesIssueConnectionNodesIssueTeamEnvironment `json:"teamEnvironment"` - Id string `json:"id"` - Severity Severity `json:"severity"` - Message string `json:"message"` - Workload GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssueWorkload `json:"-"` +// GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssue includes the requested fields of the GraphQL type DeprecatedRegistryIssue. +type GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssue struct { + Typename string `json:"__typename"` + TeamEnvironment GetAllIssuesTeamIssuesIssueConnectionNodesIssueTeamEnvironment `json:"teamEnvironment"` + Id string `json:"id"` + Severity Severity `json:"severity"` + Message string `json:"message"` + Workload GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssueWorkload `json:"-"` } -// GetTypename returns GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssue.Typename, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssue) GetTypename() string { +// GetTypename returns GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssue.Typename, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssue) GetTypename() string { return v.Typename } -// GetTeamEnvironment returns GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssue.TeamEnvironment, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssue) GetTeamEnvironment() GetAllIssuesTeamIssuesIssueConnectionNodesIssueTeamEnvironment { +// GetTeamEnvironment returns GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssue.TeamEnvironment, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssue) GetTeamEnvironment() GetAllIssuesTeamIssuesIssueConnectionNodesIssueTeamEnvironment { return v.TeamEnvironment } -// GetId returns GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssue.Id, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssue) GetId() string { +// GetId returns GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssue.Id, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssue) GetId() string { return v.Id } -// GetSeverity returns GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssue.Severity, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssue) GetSeverity() Severity { +// GetSeverity returns GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssue.Severity, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssue) GetSeverity() Severity { return v.Severity } -// GetMessage returns GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssue.Message, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssue) GetMessage() string { +// GetMessage returns GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssue.Message, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssue) GetMessage() string { return v.Message } -// GetWorkload returns GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssue.Workload, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssue) GetWorkload() GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssueWorkload { +// GetWorkload returns GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssue.Workload, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssue) GetWorkload() GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssueWorkload { return v.Workload } -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssue) UnmarshalJSON(b []byte) error { +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssue) UnmarshalJSON(b []byte) error { if string(b) == "null" { return nil } var firstPass struct { - *GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssue + *GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssue Workload json.RawMessage `json:"workload"` graphql.NoUnmarshalJSON } - firstPass.GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssue = v + firstPass.GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssue = v err := json.Unmarshal(b, &firstPass) if err != nil { @@ -1993,18 +1968,18 @@ func (v *GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssue) U dst := &v.Workload src := firstPass.Workload if len(src) != 0 && string(src) != "null" { - err = __unmarshalGetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssueWorkload( + err = __unmarshalGetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssueWorkload( src, dst) if err != nil { return fmt.Errorf( - "unable to unmarshal GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssue.Workload: %w", err) + "unable to unmarshal GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssue.Workload: %w", err) } } } return nil } -type __premarshalGetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssue struct { +type __premarshalGetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssue struct { Typename string `json:"__typename"` TeamEnvironment GetAllIssuesTeamIssuesIssueConnectionNodesIssueTeamEnvironment `json:"teamEnvironment"` @@ -2018,7 +1993,7 @@ type __premarshalGetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronization Workload json.RawMessage `json:"workload"` } -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssue) MarshalJSON() ([]byte, error) { +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssue) MarshalJSON() ([]byte, error) { premarshaled, err := v.__premarshalJSON() if err != nil { return nil, err @@ -2026,8 +2001,8 @@ func (v *GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssue) M return json.Marshal(premarshaled) } -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssue) __premarshalJSON() (*__premarshalGetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssue, error) { - var retval __premarshalGetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssue +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssue) __premarshalJSON() (*__premarshalGetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssue, error) { + var retval __premarshalGetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssue retval.Typename = v.Typename retval.TeamEnvironment = v.TeamEnvironment @@ -2039,41 +2014,41 @@ func (v *GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssue) _ dst := &retval.Workload src := v.Workload var err error - *dst, err = __marshalGetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssueWorkload( + *dst, err = __marshalGetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssueWorkload( &src) if err != nil { return nil, fmt.Errorf( - "unable to marshal GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssue.Workload: %w", err) + "unable to marshal GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssue.Workload: %w", err) } } return &retval, nil } -// GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssueWorkload includes the requested fields of the GraphQL interface Workload. +// GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssueWorkload includes the requested fields of the GraphQL interface Workload. // -// GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssueWorkload is implemented by the following types: -// GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssueWorkloadApplication -// GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssueWorkloadJob +// GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssueWorkload is implemented by the following types: +// GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssueWorkloadApplication +// GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssueWorkloadJob // The GraphQL type's documentation follows. // // Interface for workloads. -type GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssueWorkload interface { - implementsGraphQLInterfaceGetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssueWorkload() +type GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssueWorkload interface { + implementsGraphQLInterfaceGetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssueWorkload() // GetName returns the interface-field "name" from its implementation. // The GraphQL interface field's documentation follows. // - // Interface for workloads. + // The name of the workload. GetName() string // GetTypename returns the receiver's concrete GraphQL type-name (see interface doc for possible values). GetTypename() string } -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssueWorkloadApplication) implementsGraphQLInterfaceGetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssueWorkload() { +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssueWorkloadApplication) implementsGraphQLInterfaceGetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssueWorkload() { } -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssueWorkloadJob) implementsGraphQLInterfaceGetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssueWorkload() { +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssueWorkloadJob) implementsGraphQLInterfaceGetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssueWorkload() { } -func __unmarshalGetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssueWorkload(b []byte, v *GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssueWorkload) error { +func __unmarshalGetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssueWorkload(b []byte, v *GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssueWorkload) error { if string(b) == "null" { return nil } @@ -2088,137 +2063,139 @@ func __unmarshalGetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationI switch tn.TypeName { case "Application": - *v = new(GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssueWorkloadApplication) + *v = new(GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssueWorkloadApplication) return json.Unmarshal(b, *v) case "Job": - *v = new(GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssueWorkloadJob) + *v = new(GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssueWorkloadJob) return json.Unmarshal(b, *v) case "": return fmt.Errorf( "response was missing Workload.__typename") default: return fmt.Errorf( - `unexpected concrete type for GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssueWorkload: "%v"`, tn.TypeName) + `unexpected concrete type for GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssueWorkload: "%v"`, tn.TypeName) } } -func __marshalGetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssueWorkload(v *GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssueWorkload) ([]byte, error) { +func __marshalGetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssueWorkload(v *GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssueWorkload) ([]byte, error) { var typename string switch v := (*v).(type) { - case *GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssueWorkloadApplication: + case *GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssueWorkloadApplication: typename = "Application" result := struct { TypeName string `json:"__typename"` - *GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssueWorkloadApplication + *GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssueWorkloadApplication }{typename, v} return json.Marshal(result) - case *GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssueWorkloadJob: + case *GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssueWorkloadJob: typename = "Job" result := struct { TypeName string `json:"__typename"` - *GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssueWorkloadJob + *GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssueWorkloadJob }{typename, v} return json.Marshal(result) case nil: return []byte("null"), nil default: return nil, fmt.Errorf( - `unexpected concrete type for GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssueWorkload: "%T"`, v) + `unexpected concrete type for GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssueWorkload: "%T"`, v) } } -// GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssueWorkloadApplication includes the requested fields of the GraphQL type Application. +// GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssueWorkloadApplication includes the requested fields of the GraphQL type Application. // The GraphQL type's documentation follows. // // An application lets you run one or more instances of a container image on the [Nais platform](https://nais.io/). // // Learn more about how to create and configure your applications in the [Nais documentation](https://docs.nais.io/workloads/application/). -type GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssueWorkloadApplication struct { - // Interface for workloads. +type GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssueWorkloadApplication struct { + // The name of the workload. Name string `json:"name"` Typename string `json:"__typename"` } -// GetName returns GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssueWorkloadApplication.Name, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssueWorkloadApplication) GetName() string { +// GetName returns GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssueWorkloadApplication.Name, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssueWorkloadApplication) GetName() string { return v.Name } -// GetTypename returns GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssueWorkloadApplication.Typename, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssueWorkloadApplication) GetTypename() string { +// GetTypename returns GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssueWorkloadApplication.Typename, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssueWorkloadApplication) GetTypename() string { return v.Typename } -// GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssueWorkloadJob includes the requested fields of the GraphQL type Job. -type GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssueWorkloadJob struct { - // Interface for workloads. - Name string `json:"name"` +// GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssueWorkloadJob includes the requested fields of the GraphQL type Job. +type GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssueWorkloadJob struct { + // The name of the workload. + Name string `json:"name"` Typename string `json:"__typename"` } -// GetName returns GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssueWorkloadJob.Name, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssueWorkloadJob) GetName() string { +// GetName returns GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssueWorkloadJob.Name, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssueWorkloadJob) GetName() string { return v.Name } -// GetTypename returns GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssueWorkloadJob.Typename, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssueWorkloadJob) GetTypename() string { +// GetTypename returns GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssueWorkloadJob.Typename, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssueWorkloadJob) GetTypename() string { return v.Typename } -// GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssue includes the requested fields of the GraphQL type InvalidSpecIssue. -type GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssue struct { - Typename string `json:"__typename"` - TeamEnvironment GetAllIssuesTeamIssuesIssueConnectionNodesIssueTeamEnvironment `json:"teamEnvironment"` - Id string `json:"id"` - Severity Severity `json:"severity"` - Message string `json:"message"` - Workload GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssueWorkload `json:"-"` +// GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssue includes the requested fields of the GraphQL type ExternalIngressCriticalVulnerabilityIssue. +type GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssue struct { + Typename string `json:"__typename"` + TeamEnvironment GetAllIssuesTeamIssuesIssueConnectionNodesIssueTeamEnvironment `json:"teamEnvironment"` + Id string `json:"id"` + Severity Severity `json:"severity"` + Message string `json:"message"` + Workload GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssueWorkload `json:"-"` } -// GetTypename returns GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssue.Typename, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssue) GetTypename() string { +// GetTypename returns GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssue.Typename, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssue) GetTypename() string { return v.Typename } -// GetTeamEnvironment returns GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssue.TeamEnvironment, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssue) GetTeamEnvironment() GetAllIssuesTeamIssuesIssueConnectionNodesIssueTeamEnvironment { +// GetTeamEnvironment returns GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssue.TeamEnvironment, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssue) GetTeamEnvironment() GetAllIssuesTeamIssuesIssueConnectionNodesIssueTeamEnvironment { return v.TeamEnvironment } -// GetId returns GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssue.Id, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssue) GetId() string { return v.Id } +// GetId returns GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssue.Id, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssue) GetId() string { + return v.Id +} -// GetSeverity returns GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssue.Severity, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssue) GetSeverity() Severity { +// GetSeverity returns GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssue.Severity, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssue) GetSeverity() Severity { return v.Severity } -// GetMessage returns GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssue.Message, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssue) GetMessage() string { +// GetMessage returns GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssue.Message, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssue) GetMessage() string { return v.Message } -// GetWorkload returns GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssue.Workload, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssue) GetWorkload() GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssueWorkload { +// GetWorkload returns GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssue.Workload, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssue) GetWorkload() GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssueWorkload { return v.Workload } -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssue) UnmarshalJSON(b []byte) error { +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssue) UnmarshalJSON(b []byte) error { if string(b) == "null" { return nil } var firstPass struct { - *GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssue + *GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssue Workload json.RawMessage `json:"workload"` graphql.NoUnmarshalJSON } - firstPass.GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssue = v + firstPass.GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssue = v err := json.Unmarshal(b, &firstPass) if err != nil { @@ -2229,18 +2206,18 @@ func (v *GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssue) UnmarshalJS dst := &v.Workload src := firstPass.Workload if len(src) != 0 && string(src) != "null" { - err = __unmarshalGetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssueWorkload( + err = __unmarshalGetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssueWorkload( src, dst) if err != nil { return fmt.Errorf( - "unable to unmarshal GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssue.Workload: %w", err) + "unable to unmarshal GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssue.Workload: %w", err) } } } return nil } -type __premarshalGetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssue struct { +type __premarshalGetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssue struct { Typename string `json:"__typename"` TeamEnvironment GetAllIssuesTeamIssuesIssueConnectionNodesIssueTeamEnvironment `json:"teamEnvironment"` @@ -2254,7 +2231,7 @@ type __premarshalGetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssue stru Workload json.RawMessage `json:"workload"` } -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssue) MarshalJSON() ([]byte, error) { +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssue) MarshalJSON() ([]byte, error) { premarshaled, err := v.__premarshalJSON() if err != nil { return nil, err @@ -2262,8 +2239,8 @@ func (v *GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssue) MarshalJSON return json.Marshal(premarshaled) } -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssue) __premarshalJSON() (*__premarshalGetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssue, error) { - var retval __premarshalGetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssue +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssue) __premarshalJSON() (*__premarshalGetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssue, error) { + var retval __premarshalGetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssue retval.Typename = v.Typename retval.TeamEnvironment = v.TeamEnvironment @@ -2275,41 +2252,41 @@ func (v *GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssue) __premarsha dst := &retval.Workload src := v.Workload var err error - *dst, err = __marshalGetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssueWorkload( + *dst, err = __marshalGetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssueWorkload( &src) if err != nil { return nil, fmt.Errorf( - "unable to marshal GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssue.Workload: %w", err) + "unable to marshal GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssue.Workload: %w", err) } } return &retval, nil } -// GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssueWorkload includes the requested fields of the GraphQL interface Workload. +// GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssueWorkload includes the requested fields of the GraphQL interface Workload. // -// GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssueWorkload is implemented by the following types: -// GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssueWorkloadApplication -// GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssueWorkloadJob +// GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssueWorkload is implemented by the following types: +// GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssueWorkloadApplication +// GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssueWorkloadJob // The GraphQL type's documentation follows. // // Interface for workloads. -type GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssueWorkload interface { - implementsGraphQLInterfaceGetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssueWorkload() +type GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssueWorkload interface { + implementsGraphQLInterfaceGetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssueWorkload() // GetName returns the interface-field "name" from its implementation. // The GraphQL interface field's documentation follows. // - // Interface for workloads. + // The name of the workload. GetName() string // GetTypename returns the receiver's concrete GraphQL type-name (see interface doc for possible values). GetTypename() string } -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssueWorkloadApplication) implementsGraphQLInterfaceGetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssueWorkload() { +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssueWorkloadApplication) implementsGraphQLInterfaceGetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssueWorkload() { } -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssueWorkloadJob) implementsGraphQLInterfaceGetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssueWorkload() { +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssueWorkloadJob) implementsGraphQLInterfaceGetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssueWorkload() { } -func __unmarshalGetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssueWorkload(b []byte, v *GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssueWorkload) error { +func __unmarshalGetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssueWorkload(b []byte, v *GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssueWorkload) error { if string(b) == "null" { return nil } @@ -2324,496 +2301,375 @@ func __unmarshalGetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssueWorklo switch tn.TypeName { case "Application": - *v = new(GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssueWorkloadApplication) + *v = new(GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssueWorkloadApplication) return json.Unmarshal(b, *v) case "Job": - *v = new(GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssueWorkloadJob) + *v = new(GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssueWorkloadJob) return json.Unmarshal(b, *v) case "": return fmt.Errorf( "response was missing Workload.__typename") default: return fmt.Errorf( - `unexpected concrete type for GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssueWorkload: "%v"`, tn.TypeName) + `unexpected concrete type for GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssueWorkload: "%v"`, tn.TypeName) } } -func __marshalGetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssueWorkload(v *GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssueWorkload) ([]byte, error) { +func __marshalGetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssueWorkload(v *GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssueWorkload) ([]byte, error) { var typename string switch v := (*v).(type) { - case *GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssueWorkloadApplication: + case *GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssueWorkloadApplication: typename = "Application" result := struct { TypeName string `json:"__typename"` - *GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssueWorkloadApplication + *GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssueWorkloadApplication }{typename, v} return json.Marshal(result) - case *GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssueWorkloadJob: + case *GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssueWorkloadJob: typename = "Job" result := struct { TypeName string `json:"__typename"` - *GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssueWorkloadJob + *GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssueWorkloadJob }{typename, v} return json.Marshal(result) case nil: return []byte("null"), nil default: return nil, fmt.Errorf( - `unexpected concrete type for GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssueWorkload: "%T"`, v) + `unexpected concrete type for GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssueWorkload: "%T"`, v) } } -// GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssueWorkloadApplication includes the requested fields of the GraphQL type Application. +// GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssueWorkloadApplication includes the requested fields of the GraphQL type Application. // The GraphQL type's documentation follows. // // An application lets you run one or more instances of a container image on the [Nais platform](https://nais.io/). // // Learn more about how to create and configure your applications in the [Nais documentation](https://docs.nais.io/workloads/application/). -type GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssueWorkloadApplication struct { - // Interface for workloads. +type GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssueWorkloadApplication struct { + // The name of the workload. Name string `json:"name"` Typename string `json:"__typename"` } -// GetName returns GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssueWorkloadApplication.Name, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssueWorkloadApplication) GetName() string { +// GetName returns GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssueWorkloadApplication.Name, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssueWorkloadApplication) GetName() string { return v.Name } -// GetTypename returns GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssueWorkloadApplication.Typename, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssueWorkloadApplication) GetTypename() string { +// GetTypename returns GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssueWorkloadApplication.Typename, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssueWorkloadApplication) GetTypename() string { return v.Typename } -// GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssueWorkloadJob includes the requested fields of the GraphQL type Job. -type GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssueWorkloadJob struct { - // Interface for workloads. +// GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssueWorkloadJob includes the requested fields of the GraphQL type Job. +type GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssueWorkloadJob struct { + // The name of the workload. Name string `json:"name"` Typename string `json:"__typename"` } -// GetName returns GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssueWorkloadJob.Name, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssueWorkloadJob) GetName() string { +// GetName returns GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssueWorkloadJob.Name, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssueWorkloadJob) GetName() string { return v.Name } -// GetTypename returns GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssueWorkloadJob.Typename, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssueWorkloadJob) GetTypename() string { +// GetTypename returns GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssueWorkloadJob.Typename, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssueWorkloadJob) GetTypename() string { return v.Typename } -// GetAllIssuesTeamIssuesIssueConnectionNodesIssue includes the requested fields of the GraphQL interface Issue. -// -// GetAllIssuesTeamIssuesIssueConnectionNodesIssue is implemented by the following types: -// GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedIngressIssue -// GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssue -// GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssue -// GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssue -// GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssue -// GetAllIssuesTeamIssuesIssueConnectionNodesLastRunFailedIssue -// GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssue -// GetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssue -// GetAllIssuesTeamIssuesIssueConnectionNodesOpenSearchIssue -// GetAllIssuesTeamIssuesIssueConnectionNodesSqlInstanceStateIssue -// GetAllIssuesTeamIssuesIssueConnectionNodesSqlInstanceVersionIssue -// GetAllIssuesTeamIssuesIssueConnectionNodesUnleashReleaseChannelIssue -// GetAllIssuesTeamIssuesIssueConnectionNodesValkeyIssue -// GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssue -type GetAllIssuesTeamIssuesIssueConnectionNodesIssue interface { - implementsGraphQLInterfaceGetAllIssuesTeamIssuesIssueConnectionNodesIssue() - // GetTypename returns the receiver's concrete GraphQL type-name (see interface doc for possible values). - GetTypename() string - // GetTeamEnvironment returns the interface-field "teamEnvironment" from its implementation. - GetTeamEnvironment() GetAllIssuesTeamIssuesIssueConnectionNodesIssueTeamEnvironment - // GetId returns the interface-field "id" from its implementation. - GetId() string - // GetSeverity returns the interface-field "severity" from its implementation. - GetSeverity() Severity - // GetMessage returns the interface-field "message" from its implementation. - GetMessage() string +// GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssue includes the requested fields of the GraphQL type FailedSynchronizationIssue. +type GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssue struct { + Typename string `json:"__typename"` + TeamEnvironment GetAllIssuesTeamIssuesIssueConnectionNodesIssueTeamEnvironment `json:"teamEnvironment"` + Id string `json:"id"` + Severity Severity `json:"severity"` + Message string `json:"message"` + Workload GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssueWorkload `json:"-"` } -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedIngressIssue) implementsGraphQLInterfaceGetAllIssuesTeamIssuesIssueConnectionNodesIssue() { -} -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssue) implementsGraphQLInterfaceGetAllIssuesTeamIssuesIssueConnectionNodesIssue() { -} -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssue) implementsGraphQLInterfaceGetAllIssuesTeamIssuesIssueConnectionNodesIssue() { -} -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssue) implementsGraphQLInterfaceGetAllIssuesTeamIssuesIssueConnectionNodesIssue() { -} -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssue) implementsGraphQLInterfaceGetAllIssuesTeamIssuesIssueConnectionNodesIssue() { -} -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesLastRunFailedIssue) implementsGraphQLInterfaceGetAllIssuesTeamIssuesIssueConnectionNodesIssue() { -} -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssue) implementsGraphQLInterfaceGetAllIssuesTeamIssuesIssueConnectionNodesIssue() { -} -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssue) implementsGraphQLInterfaceGetAllIssuesTeamIssuesIssueConnectionNodesIssue() { -} -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesOpenSearchIssue) implementsGraphQLInterfaceGetAllIssuesTeamIssuesIssueConnectionNodesIssue() { +// GetTypename returns GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssue.Typename, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssue) GetTypename() string { + return v.Typename } -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesSqlInstanceStateIssue) implementsGraphQLInterfaceGetAllIssuesTeamIssuesIssueConnectionNodesIssue() { + +// GetTeamEnvironment returns GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssue.TeamEnvironment, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssue) GetTeamEnvironment() GetAllIssuesTeamIssuesIssueConnectionNodesIssueTeamEnvironment { + return v.TeamEnvironment } -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesSqlInstanceVersionIssue) implementsGraphQLInterfaceGetAllIssuesTeamIssuesIssueConnectionNodesIssue() { + +// GetId returns GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssue.Id, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssue) GetId() string { + return v.Id } -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesUnleashReleaseChannelIssue) implementsGraphQLInterfaceGetAllIssuesTeamIssuesIssueConnectionNodesIssue() { + +// GetSeverity returns GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssue.Severity, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssue) GetSeverity() Severity { + return v.Severity } -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesValkeyIssue) implementsGraphQLInterfaceGetAllIssuesTeamIssuesIssueConnectionNodesIssue() { + +// GetMessage returns GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssue.Message, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssue) GetMessage() string { + return v.Message } -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssue) implementsGraphQLInterfaceGetAllIssuesTeamIssuesIssueConnectionNodesIssue() { + +// GetWorkload returns GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssue.Workload, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssue) GetWorkload() GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssueWorkload { + return v.Workload } -func __unmarshalGetAllIssuesTeamIssuesIssueConnectionNodesIssue(b []byte, v *GetAllIssuesTeamIssuesIssueConnectionNodesIssue) error { +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssue) UnmarshalJSON(b []byte) error { + if string(b) == "null" { return nil } - var tn struct { - TypeName string `json:"__typename"` + var firstPass struct { + *GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssue + Workload json.RawMessage `json:"workload"` + graphql.NoUnmarshalJSON } - err := json.Unmarshal(b, &tn) + firstPass.GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssue = v + + err := json.Unmarshal(b, &firstPass) if err != nil { return err } - switch tn.TypeName { - case "DeprecatedIngressIssue": - *v = new(GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedIngressIssue) - return json.Unmarshal(b, *v) - case "DeprecatedRegistryIssue": - *v = new(GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssue) - return json.Unmarshal(b, *v) - case "ExternalIngressCriticalVulnerabilityIssue": - *v = new(GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssue) - return json.Unmarshal(b, *v) - case "FailedSynchronizationIssue": - *v = new(GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssue) - return json.Unmarshal(b, *v) - case "InvalidSpecIssue": - *v = new(GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssue) - return json.Unmarshal(b, *v) - case "LastRunFailedIssue": - *v = new(GetAllIssuesTeamIssuesIssueConnectionNodesLastRunFailedIssue) - return json.Unmarshal(b, *v) - case "MissingSbomIssue": - *v = new(GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssue) - return json.Unmarshal(b, *v) - case "NoRunningInstancesIssue": - *v = new(GetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssue) - return json.Unmarshal(b, *v) - case "OpenSearchIssue": - *v = new(GetAllIssuesTeamIssuesIssueConnectionNodesOpenSearchIssue) - return json.Unmarshal(b, *v) - case "SqlInstanceStateIssue": - *v = new(GetAllIssuesTeamIssuesIssueConnectionNodesSqlInstanceStateIssue) - return json.Unmarshal(b, *v) - case "SqlInstanceVersionIssue": - *v = new(GetAllIssuesTeamIssuesIssueConnectionNodesSqlInstanceVersionIssue) - return json.Unmarshal(b, *v) - case "UnleashReleaseChannelIssue": - *v = new(GetAllIssuesTeamIssuesIssueConnectionNodesUnleashReleaseChannelIssue) - return json.Unmarshal(b, *v) - case "ValkeyIssue": - *v = new(GetAllIssuesTeamIssuesIssueConnectionNodesValkeyIssue) - return json.Unmarshal(b, *v) - case "VulnerableImageIssue": - *v = new(GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssue) - return json.Unmarshal(b, *v) - case "": - return fmt.Errorf( - "response was missing Issue.__typename") - default: - return fmt.Errorf( - `unexpected concrete type for GetAllIssuesTeamIssuesIssueConnectionNodesIssue: "%v"`, tn.TypeName) + { + dst := &v.Workload + src := firstPass.Workload + if len(src) != 0 && string(src) != "null" { + err = __unmarshalGetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssueWorkload( + src, dst) + if err != nil { + return fmt.Errorf( + "unable to unmarshal GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssue.Workload: %w", err) + } + } } + return nil } -func __marshalGetAllIssuesTeamIssuesIssueConnectionNodesIssue(v *GetAllIssuesTeamIssuesIssueConnectionNodesIssue) ([]byte, error) { +type __premarshalGetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssue struct { + Typename string `json:"__typename"` - var typename string - switch v := (*v).(type) { - case *GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedIngressIssue: - typename = "DeprecatedIngressIssue" + TeamEnvironment GetAllIssuesTeamIssuesIssueConnectionNodesIssueTeamEnvironment `json:"teamEnvironment"` - result := struct { - TypeName string `json:"__typename"` - *GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedIngressIssue - }{typename, v} - return json.Marshal(result) - case *GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssue: - typename = "DeprecatedRegistryIssue" + Id string `json:"id"` - premarshaled, err := v.__premarshalJSON() - if err != nil { - return nil, err - } - result := struct { - TypeName string `json:"__typename"` - *__premarshalGetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssue - }{typename, premarshaled} - return json.Marshal(result) - case *GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssue: - typename = "ExternalIngressCriticalVulnerabilityIssue" + Severity Severity `json:"severity"` - premarshaled, err := v.__premarshalJSON() - if err != nil { - return nil, err - } - result := struct { - TypeName string `json:"__typename"` - *__premarshalGetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssue - }{typename, premarshaled} - return json.Marshal(result) - case *GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssue: - typename = "FailedSynchronizationIssue" + Message string `json:"message"` - premarshaled, err := v.__premarshalJSON() - if err != nil { - return nil, err - } - result := struct { - TypeName string `json:"__typename"` - *__premarshalGetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssue - }{typename, premarshaled} - return json.Marshal(result) - case *GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssue: - typename = "InvalidSpecIssue" + Workload json.RawMessage `json:"workload"` +} - premarshaled, err := v.__premarshalJSON() - if err != nil { - return nil, err - } - result := struct { - TypeName string `json:"__typename"` - *__premarshalGetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssue - }{typename, premarshaled} - return json.Marshal(result) - case *GetAllIssuesTeamIssuesIssueConnectionNodesLastRunFailedIssue: - typename = "LastRunFailedIssue" +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssue) MarshalJSON() ([]byte, error) { + premarshaled, err := v.__premarshalJSON() + if err != nil { + return nil, err + } + return json.Marshal(premarshaled) +} - result := struct { - TypeName string `json:"__typename"` - *GetAllIssuesTeamIssuesIssueConnectionNodesLastRunFailedIssue - }{typename, v} - return json.Marshal(result) - case *GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssue: - typename = "MissingSbomIssue" +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssue) __premarshalJSON() (*__premarshalGetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssue, error) { + var retval __premarshalGetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssue - premarshaled, err := v.__premarshalJSON() - if err != nil { - return nil, err - } - result := struct { - TypeName string `json:"__typename"` - *__premarshalGetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssue - }{typename, premarshaled} - return json.Marshal(result) - case *GetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssue: - typename = "NoRunningInstancesIssue" + retval.Typename = v.Typename + retval.TeamEnvironment = v.TeamEnvironment + retval.Id = v.Id + retval.Severity = v.Severity + retval.Message = v.Message + { - premarshaled, err := v.__premarshalJSON() + dst := &retval.Workload + src := v.Workload + var err error + *dst, err = __marshalGetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssueWorkload( + &src) if err != nil { - return nil, err + return nil, fmt.Errorf( + "unable to marshal GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssue.Workload: %w", err) } - result := struct { - TypeName string `json:"__typename"` - *__premarshalGetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssue - }{typename, premarshaled} - return json.Marshal(result) - case *GetAllIssuesTeamIssuesIssueConnectionNodesOpenSearchIssue: - typename = "OpenSearchIssue" + } + return &retval, nil +} - result := struct { - TypeName string `json:"__typename"` - *GetAllIssuesTeamIssuesIssueConnectionNodesOpenSearchIssue - }{typename, v} - return json.Marshal(result) - case *GetAllIssuesTeamIssuesIssueConnectionNodesSqlInstanceStateIssue: - typename = "SqlInstanceStateIssue" +// GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssueWorkload includes the requested fields of the GraphQL interface Workload. +// +// GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssueWorkload is implemented by the following types: +// GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssueWorkloadApplication +// GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssueWorkloadJob +// The GraphQL type's documentation follows. +// +// Interface for workloads. +type GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssueWorkload interface { + implementsGraphQLInterfaceGetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssueWorkload() + // GetName returns the interface-field "name" from its implementation. + // The GraphQL interface field's documentation follows. + // + // The name of the workload. + GetName() string + // GetTypename returns the receiver's concrete GraphQL type-name (see interface doc for possible values). + GetTypename() string +} - result := struct { - TypeName string `json:"__typename"` - *GetAllIssuesTeamIssuesIssueConnectionNodesSqlInstanceStateIssue - }{typename, v} - return json.Marshal(result) - case *GetAllIssuesTeamIssuesIssueConnectionNodesSqlInstanceVersionIssue: - typename = "SqlInstanceVersionIssue" +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssueWorkloadApplication) implementsGraphQLInterfaceGetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssueWorkload() { +} +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssueWorkloadJob) implementsGraphQLInterfaceGetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssueWorkload() { +} - result := struct { - TypeName string `json:"__typename"` - *GetAllIssuesTeamIssuesIssueConnectionNodesSqlInstanceVersionIssue - }{typename, v} - return json.Marshal(result) - case *GetAllIssuesTeamIssuesIssueConnectionNodesUnleashReleaseChannelIssue: - typename = "UnleashReleaseChannelIssue" +func __unmarshalGetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssueWorkload(b []byte, v *GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssueWorkload) error { + if string(b) == "null" { + return nil + } - result := struct { - TypeName string `json:"__typename"` - *GetAllIssuesTeamIssuesIssueConnectionNodesUnleashReleaseChannelIssue - }{typename, v} - return json.Marshal(result) - case *GetAllIssuesTeamIssuesIssueConnectionNodesValkeyIssue: - typename = "ValkeyIssue" + var tn struct { + TypeName string `json:"__typename"` + } + err := json.Unmarshal(b, &tn) + if err != nil { + return err + } + + switch tn.TypeName { + case "Application": + *v = new(GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssueWorkloadApplication) + return json.Unmarshal(b, *v) + case "Job": + *v = new(GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssueWorkloadJob) + return json.Unmarshal(b, *v) + case "": + return fmt.Errorf( + "response was missing Workload.__typename") + default: + return fmt.Errorf( + `unexpected concrete type for GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssueWorkload: "%v"`, tn.TypeName) + } +} + +func __marshalGetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssueWorkload(v *GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssueWorkload) ([]byte, error) { + + var typename string + switch v := (*v).(type) { + case *GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssueWorkloadApplication: + typename = "Application" result := struct { TypeName string `json:"__typename"` - *GetAllIssuesTeamIssuesIssueConnectionNodesValkeyIssue + *GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssueWorkloadApplication }{typename, v} return json.Marshal(result) - case *GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssue: - typename = "VulnerableImageIssue" + case *GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssueWorkloadJob: + typename = "Job" - premarshaled, err := v.__premarshalJSON() - if err != nil { - return nil, err - } result := struct { TypeName string `json:"__typename"` - *__premarshalGetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssue - }{typename, premarshaled} + *GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssueWorkloadJob + }{typename, v} return json.Marshal(result) case nil: return []byte("null"), nil default: return nil, fmt.Errorf( - `unexpected concrete type for GetAllIssuesTeamIssuesIssueConnectionNodesIssue: "%T"`, v) + `unexpected concrete type for GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssueWorkload: "%T"`, v) } } -// GetAllIssuesTeamIssuesIssueConnectionNodesIssueTeamEnvironment includes the requested fields of the GraphQL type TeamEnvironment. -type GetAllIssuesTeamIssuesIssueConnectionNodesIssueTeamEnvironment struct { - // Get the environment. - Environment GetAllIssuesTeamIssuesIssueConnectionNodesIssueTeamEnvironmentEnvironment `json:"environment"` -} - -// GetEnvironment returns GetAllIssuesTeamIssuesIssueConnectionNodesIssueTeamEnvironment.Environment, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesIssueTeamEnvironment) GetEnvironment() GetAllIssuesTeamIssuesIssueConnectionNodesIssueTeamEnvironmentEnvironment { - return v.Environment -} - -// GetAllIssuesTeamIssuesIssueConnectionNodesIssueTeamEnvironmentEnvironment includes the requested fields of the GraphQL type Environment. +// GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssueWorkloadApplication includes the requested fields of the GraphQL type Application. // The GraphQL type's documentation follows. // -// An environment represents a runtime environment for workloads. +// An application lets you run one or more instances of a container image on the [Nais platform](https://nais.io/). // -// Learn more in the [official Nais documentation](https://docs.nais.io/workloads/explanations/environment/). -type GetAllIssuesTeamIssuesIssueConnectionNodesIssueTeamEnvironmentEnvironment struct { - // Unique name of the environment. - Name string `json:"name"` +// Learn more about how to create and configure your applications in the [Nais documentation](https://docs.nais.io/workloads/application/). +type GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssueWorkloadApplication struct { + // The name of the workload. + Name string `json:"name"` + Typename string `json:"__typename"` } -// GetName returns GetAllIssuesTeamIssuesIssueConnectionNodesIssueTeamEnvironmentEnvironment.Name, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesIssueTeamEnvironmentEnvironment) GetName() string { +// GetName returns GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssueWorkloadApplication.Name, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssueWorkloadApplication) GetName() string { return v.Name } -// GetAllIssuesTeamIssuesIssueConnectionNodesLastRunFailedIssue includes the requested fields of the GraphQL type LastRunFailedIssue. -type GetAllIssuesTeamIssuesIssueConnectionNodesLastRunFailedIssue struct { - Typename string `json:"__typename"` - TeamEnvironment GetAllIssuesTeamIssuesIssueConnectionNodesIssueTeamEnvironment `json:"teamEnvironment"` - Id string `json:"id"` - Severity Severity `json:"severity"` - Message string `json:"message"` - Job GetAllIssuesTeamIssuesIssueConnectionNodesLastRunFailedIssueJob `json:"job"` -} - -// GetTypename returns GetAllIssuesTeamIssuesIssueConnectionNodesLastRunFailedIssue.Typename, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesLastRunFailedIssue) GetTypename() string { +// GetTypename returns GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssueWorkloadApplication.Typename, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssueWorkloadApplication) GetTypename() string { return v.Typename } -// GetTeamEnvironment returns GetAllIssuesTeamIssuesIssueConnectionNodesLastRunFailedIssue.TeamEnvironment, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesLastRunFailedIssue) GetTeamEnvironment() GetAllIssuesTeamIssuesIssueConnectionNodesIssueTeamEnvironment { - return v.TeamEnvironment -} - -// GetId returns GetAllIssuesTeamIssuesIssueConnectionNodesLastRunFailedIssue.Id, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesLastRunFailedIssue) GetId() string { return v.Id } - -// GetSeverity returns GetAllIssuesTeamIssuesIssueConnectionNodesLastRunFailedIssue.Severity, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesLastRunFailedIssue) GetSeverity() Severity { - return v.Severity -} - -// GetMessage returns GetAllIssuesTeamIssuesIssueConnectionNodesLastRunFailedIssue.Message, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesLastRunFailedIssue) GetMessage() string { - return v.Message -} - -// GetJob returns GetAllIssuesTeamIssuesIssueConnectionNodesLastRunFailedIssue.Job, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesLastRunFailedIssue) GetJob() GetAllIssuesTeamIssuesIssueConnectionNodesLastRunFailedIssueJob { - return v.Job -} - -// GetAllIssuesTeamIssuesIssueConnectionNodesLastRunFailedIssueJob includes the requested fields of the GraphQL type Job. -type GetAllIssuesTeamIssuesIssueConnectionNodesLastRunFailedIssueJob struct { - // The name of the job. +// GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssueWorkloadJob includes the requested fields of the GraphQL type Job. +type GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssueWorkloadJob struct { + // The name of the workload. Name string `json:"name"` Typename string `json:"__typename"` } -// GetName returns GetAllIssuesTeamIssuesIssueConnectionNodesLastRunFailedIssueJob.Name, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesLastRunFailedIssueJob) GetName() string { +// GetName returns GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssueWorkloadJob.Name, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssueWorkloadJob) GetName() string { return v.Name } -// GetTypename returns GetAllIssuesTeamIssuesIssueConnectionNodesLastRunFailedIssueJob.Typename, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesLastRunFailedIssueJob) GetTypename() string { +// GetTypename returns GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssueWorkloadJob.Typename, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssueWorkloadJob) GetTypename() string { return v.Typename } -// GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssue includes the requested fields of the GraphQL type MissingSbomIssue. -type GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssue struct { +// GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssue includes the requested fields of the GraphQL type InvalidSpecIssue. +type GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssue struct { Typename string `json:"__typename"` TeamEnvironment GetAllIssuesTeamIssuesIssueConnectionNodesIssueTeamEnvironment `json:"teamEnvironment"` Id string `json:"id"` Severity Severity `json:"severity"` Message string `json:"message"` - Workload GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssueWorkload `json:"-"` + Workload GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssueWorkload `json:"-"` } -// GetTypename returns GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssue.Typename, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssue) GetTypename() string { +// GetTypename returns GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssue.Typename, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssue) GetTypename() string { return v.Typename } -// GetTeamEnvironment returns GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssue.TeamEnvironment, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssue) GetTeamEnvironment() GetAllIssuesTeamIssuesIssueConnectionNodesIssueTeamEnvironment { +// GetTeamEnvironment returns GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssue.TeamEnvironment, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssue) GetTeamEnvironment() GetAllIssuesTeamIssuesIssueConnectionNodesIssueTeamEnvironment { return v.TeamEnvironment } -// GetId returns GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssue.Id, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssue) GetId() string { return v.Id } +// GetId returns GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssue.Id, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssue) GetId() string { return v.Id } -// GetSeverity returns GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssue.Severity, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssue) GetSeverity() Severity { +// GetSeverity returns GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssue.Severity, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssue) GetSeverity() Severity { return v.Severity } -// GetMessage returns GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssue.Message, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssue) GetMessage() string { +// GetMessage returns GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssue.Message, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssue) GetMessage() string { return v.Message } -// GetWorkload returns GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssue.Workload, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssue) GetWorkload() GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssueWorkload { +// GetWorkload returns GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssue.Workload, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssue) GetWorkload() GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssueWorkload { return v.Workload } -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssue) UnmarshalJSON(b []byte) error { +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssue) UnmarshalJSON(b []byte) error { if string(b) == "null" { return nil } var firstPass struct { - *GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssue + *GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssue Workload json.RawMessage `json:"workload"` graphql.NoUnmarshalJSON } - firstPass.GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssue = v + firstPass.GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssue = v err := json.Unmarshal(b, &firstPass) if err != nil { @@ -2824,18 +2680,18 @@ func (v *GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssue) UnmarshalJS dst := &v.Workload src := firstPass.Workload if len(src) != 0 && string(src) != "null" { - err = __unmarshalGetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssueWorkload( + err = __unmarshalGetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssueWorkload( src, dst) if err != nil { return fmt.Errorf( - "unable to unmarshal GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssue.Workload: %w", err) + "unable to unmarshal GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssue.Workload: %w", err) } } } return nil } -type __premarshalGetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssue struct { +type __premarshalGetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssue struct { Typename string `json:"__typename"` TeamEnvironment GetAllIssuesTeamIssuesIssueConnectionNodesIssueTeamEnvironment `json:"teamEnvironment"` @@ -2849,7 +2705,7 @@ type __premarshalGetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssue stru Workload json.RawMessage `json:"workload"` } -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssue) MarshalJSON() ([]byte, error) { +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssue) MarshalJSON() ([]byte, error) { premarshaled, err := v.__premarshalJSON() if err != nil { return nil, err @@ -2857,8 +2713,8 @@ func (v *GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssue) MarshalJSON return json.Marshal(premarshaled) } -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssue) __premarshalJSON() (*__premarshalGetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssue, error) { - var retval __premarshalGetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssue +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssue) __premarshalJSON() (*__premarshalGetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssue, error) { + var retval __premarshalGetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssue retval.Typename = v.Typename retval.TeamEnvironment = v.TeamEnvironment @@ -2870,41 +2726,41 @@ func (v *GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssue) __premarsha dst := &retval.Workload src := v.Workload var err error - *dst, err = __marshalGetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssueWorkload( + *dst, err = __marshalGetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssueWorkload( &src) if err != nil { return nil, fmt.Errorf( - "unable to marshal GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssue.Workload: %w", err) + "unable to marshal GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssue.Workload: %w", err) } } return &retval, nil } -// GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssueWorkload includes the requested fields of the GraphQL interface Workload. +// GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssueWorkload includes the requested fields of the GraphQL interface Workload. // -// GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssueWorkload is implemented by the following types: -// GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssueWorkloadApplication -// GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssueWorkloadJob +// GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssueWorkload is implemented by the following types: +// GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssueWorkloadApplication +// GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssueWorkloadJob // The GraphQL type's documentation follows. // // Interface for workloads. -type GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssueWorkload interface { - implementsGraphQLInterfaceGetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssueWorkload() +type GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssueWorkload interface { + implementsGraphQLInterfaceGetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssueWorkload() // GetName returns the interface-field "name" from its implementation. // The GraphQL interface field's documentation follows. // - // Interface for workloads. + // The name of the workload. GetName() string // GetTypename returns the receiver's concrete GraphQL type-name (see interface doc for possible values). GetTypename() string } -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssueWorkloadApplication) implementsGraphQLInterfaceGetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssueWorkload() { +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssueWorkloadApplication) implementsGraphQLInterfaceGetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssueWorkload() { } -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssueWorkloadJob) implementsGraphQLInterfaceGetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssueWorkload() { +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssueWorkloadJob) implementsGraphQLInterfaceGetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssueWorkload() { } -func __unmarshalGetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssueWorkload(b []byte, v *GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssueWorkload) error { +func __unmarshalGetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssueWorkload(b []byte, v *GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssueWorkload) error { if string(b) == "null" { return nil } @@ -2919,230 +2775,148 @@ func __unmarshalGetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssueWorklo switch tn.TypeName { case "Application": - *v = new(GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssueWorkloadApplication) + *v = new(GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssueWorkloadApplication) return json.Unmarshal(b, *v) case "Job": - *v = new(GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssueWorkloadJob) + *v = new(GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssueWorkloadJob) return json.Unmarshal(b, *v) case "": return fmt.Errorf( "response was missing Workload.__typename") default: return fmt.Errorf( - `unexpected concrete type for GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssueWorkload: "%v"`, tn.TypeName) + `unexpected concrete type for GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssueWorkload: "%v"`, tn.TypeName) } } -func __marshalGetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssueWorkload(v *GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssueWorkload) ([]byte, error) { +func __marshalGetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssueWorkload(v *GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssueWorkload) ([]byte, error) { var typename string switch v := (*v).(type) { - case *GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssueWorkloadApplication: + case *GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssueWorkloadApplication: typename = "Application" result := struct { TypeName string `json:"__typename"` - *GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssueWorkloadApplication + *GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssueWorkloadApplication }{typename, v} return json.Marshal(result) - case *GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssueWorkloadJob: + case *GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssueWorkloadJob: typename = "Job" result := struct { TypeName string `json:"__typename"` - *GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssueWorkloadJob + *GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssueWorkloadJob }{typename, v} return json.Marshal(result) case nil: return []byte("null"), nil default: return nil, fmt.Errorf( - `unexpected concrete type for GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssueWorkload: "%T"`, v) + `unexpected concrete type for GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssueWorkload: "%T"`, v) } } -// GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssueWorkloadApplication includes the requested fields of the GraphQL type Application. +// GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssueWorkloadApplication includes the requested fields of the GraphQL type Application. // The GraphQL type's documentation follows. // // An application lets you run one or more instances of a container image on the [Nais platform](https://nais.io/). // // Learn more about how to create and configure your applications in the [Nais documentation](https://docs.nais.io/workloads/application/). -type GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssueWorkloadApplication struct { - // Interface for workloads. +type GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssueWorkloadApplication struct { + // The name of the workload. Name string `json:"name"` Typename string `json:"__typename"` } -// GetName returns GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssueWorkloadApplication.Name, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssueWorkloadApplication) GetName() string { +// GetName returns GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssueWorkloadApplication.Name, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssueWorkloadApplication) GetName() string { return v.Name } -// GetTypename returns GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssueWorkloadApplication.Typename, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssueWorkloadApplication) GetTypename() string { +// GetTypename returns GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssueWorkloadApplication.Typename, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssueWorkloadApplication) GetTypename() string { return v.Typename } -// GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssueWorkloadJob includes the requested fields of the GraphQL type Job. -type GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssueWorkloadJob struct { - // Interface for workloads. +// GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssueWorkloadJob includes the requested fields of the GraphQL type Job. +type GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssueWorkloadJob struct { + // The name of the workload. Name string `json:"name"` Typename string `json:"__typename"` } -// GetName returns GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssueWorkloadJob.Name, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssueWorkloadJob) GetName() string { +// GetName returns GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssueWorkloadJob.Name, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssueWorkloadJob) GetName() string { return v.Name } -// GetTypename returns GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssueWorkloadJob.Typename, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssueWorkloadJob) GetTypename() string { +// GetTypename returns GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssueWorkloadJob.Typename, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssueWorkloadJob) GetTypename() string { return v.Typename } -// GetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssue includes the requested fields of the GraphQL type NoRunningInstancesIssue. -type GetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssue struct { - Typename string `json:"__typename"` - TeamEnvironment GetAllIssuesTeamIssuesIssueConnectionNodesIssueTeamEnvironment `json:"teamEnvironment"` - Id string `json:"id"` - Severity Severity `json:"severity"` - Message string `json:"message"` - Workload GetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssueWorkload `json:"-"` +// GetAllIssuesTeamIssuesIssueConnectionNodesIssue includes the requested fields of the GraphQL interface Issue. +// +// GetAllIssuesTeamIssuesIssueConnectionNodesIssue is implemented by the following types: +// GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedIngressIssue +// GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssue +// GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssue +// GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssue +// GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssue +// GetAllIssuesTeamIssuesIssueConnectionNodesLastRunFailedIssue +// GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssue +// GetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssue +// GetAllIssuesTeamIssuesIssueConnectionNodesOpenSearchIssue +// GetAllIssuesTeamIssuesIssueConnectionNodesSqlInstanceStateIssue +// GetAllIssuesTeamIssuesIssueConnectionNodesSqlInstanceVersionIssue +// GetAllIssuesTeamIssuesIssueConnectionNodesUnleashReleaseChannelIssue +// GetAllIssuesTeamIssuesIssueConnectionNodesValkeyIssue +// GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssue +type GetAllIssuesTeamIssuesIssueConnectionNodesIssue interface { + implementsGraphQLInterfaceGetAllIssuesTeamIssuesIssueConnectionNodesIssue() + // GetTypename returns the receiver's concrete GraphQL type-name (see interface doc for possible values). + GetTypename() string + // GetTeamEnvironment returns the interface-field "teamEnvironment" from its implementation. + GetTeamEnvironment() GetAllIssuesTeamIssuesIssueConnectionNodesIssueTeamEnvironment + // GetId returns the interface-field "id" from its implementation. + GetId() string + // GetSeverity returns the interface-field "severity" from its implementation. + GetSeverity() Severity + // GetMessage returns the interface-field "message" from its implementation. + GetMessage() string } -// GetTypename returns GetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssue.Typename, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssue) GetTypename() string { - return v.Typename +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedIngressIssue) implementsGraphQLInterfaceGetAllIssuesTeamIssuesIssueConnectionNodesIssue() { } - -// GetTeamEnvironment returns GetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssue.TeamEnvironment, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssue) GetTeamEnvironment() GetAllIssuesTeamIssuesIssueConnectionNodesIssueTeamEnvironment { - return v.TeamEnvironment +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssue) implementsGraphQLInterfaceGetAllIssuesTeamIssuesIssueConnectionNodesIssue() { } - -// GetId returns GetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssue.Id, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssue) GetId() string { - return v.Id +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssue) implementsGraphQLInterfaceGetAllIssuesTeamIssuesIssueConnectionNodesIssue() { } - -// GetSeverity returns GetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssue.Severity, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssue) GetSeverity() Severity { - return v.Severity +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssue) implementsGraphQLInterfaceGetAllIssuesTeamIssuesIssueConnectionNodesIssue() { } - -// GetMessage returns GetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssue.Message, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssue) GetMessage() string { - return v.Message +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssue) implementsGraphQLInterfaceGetAllIssuesTeamIssuesIssueConnectionNodesIssue() { } - -// GetWorkload returns GetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssue.Workload, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssue) GetWorkload() GetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssueWorkload { - return v.Workload +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesLastRunFailedIssue) implementsGraphQLInterfaceGetAllIssuesTeamIssuesIssueConnectionNodesIssue() { } - -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssue) UnmarshalJSON(b []byte) error { - - if string(b) == "null" { - return nil - } - - var firstPass struct { - *GetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssue - Workload json.RawMessage `json:"workload"` - graphql.NoUnmarshalJSON - } - firstPass.GetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssue = v - - err := json.Unmarshal(b, &firstPass) - if err != nil { - return err - } - - { - dst := &v.Workload - src := firstPass.Workload - if len(src) != 0 && string(src) != "null" { - err = __unmarshalGetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssueWorkload( - src, dst) - if err != nil { - return fmt.Errorf( - "unable to unmarshal GetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssue.Workload: %w", err) - } - } - } - return nil +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssue) implementsGraphQLInterfaceGetAllIssuesTeamIssuesIssueConnectionNodesIssue() { } - -type __premarshalGetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssue struct { - Typename string `json:"__typename"` - - TeamEnvironment GetAllIssuesTeamIssuesIssueConnectionNodesIssueTeamEnvironment `json:"teamEnvironment"` - - Id string `json:"id"` - - Severity Severity `json:"severity"` - - Message string `json:"message"` - - Workload json.RawMessage `json:"workload"` +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssue) implementsGraphQLInterfaceGetAllIssuesTeamIssuesIssueConnectionNodesIssue() { } - -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssue) MarshalJSON() ([]byte, error) { - premarshaled, err := v.__premarshalJSON() - if err != nil { - return nil, err - } - return json.Marshal(premarshaled) +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesOpenSearchIssue) implementsGraphQLInterfaceGetAllIssuesTeamIssuesIssueConnectionNodesIssue() { } - -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssue) __premarshalJSON() (*__premarshalGetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssue, error) { - var retval __premarshalGetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssue - - retval.Typename = v.Typename - retval.TeamEnvironment = v.TeamEnvironment - retval.Id = v.Id - retval.Severity = v.Severity - retval.Message = v.Message - { - - dst := &retval.Workload - src := v.Workload - var err error - *dst, err = __marshalGetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssueWorkload( - &src) - if err != nil { - return nil, fmt.Errorf( - "unable to marshal GetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssue.Workload: %w", err) - } - } - return &retval, nil +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesSqlInstanceStateIssue) implementsGraphQLInterfaceGetAllIssuesTeamIssuesIssueConnectionNodesIssue() { } - -// GetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssueWorkload includes the requested fields of the GraphQL interface Workload. -// -// GetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssueWorkload is implemented by the following types: -// GetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssueWorkloadApplication -// GetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssueWorkloadJob -// The GraphQL type's documentation follows. -// -// Interface for workloads. -type GetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssueWorkload interface { - implementsGraphQLInterfaceGetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssueWorkload() - // GetName returns the interface-field "name" from its implementation. - // The GraphQL interface field's documentation follows. - // - // Interface for workloads. - GetName() string - // GetTypename returns the receiver's concrete GraphQL type-name (see interface doc for possible values). - GetTypename() string +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesSqlInstanceVersionIssue) implementsGraphQLInterfaceGetAllIssuesTeamIssuesIssueConnectionNodesIssue() { } - -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssueWorkloadApplication) implementsGraphQLInterfaceGetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssueWorkload() { +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesUnleashReleaseChannelIssue) implementsGraphQLInterfaceGetAllIssuesTeamIssuesIssueConnectionNodesIssue() { } -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssueWorkloadJob) implementsGraphQLInterfaceGetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssueWorkload() { +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesValkeyIssue) implementsGraphQLInterfaceGetAllIssuesTeamIssuesIssueConnectionNodesIssue() { +} +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssue) implementsGraphQLInterfaceGetAllIssuesTeamIssuesIssueConnectionNodesIssue() { } -func __unmarshalGetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssueWorkload(b []byte, v *GetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssueWorkload) error { +func __unmarshalGetAllIssuesTeamIssuesIssueConnectionNodesIssue(b []byte, v *GetAllIssuesTeamIssuesIssueConnectionNodesIssue) error { if string(b) == "null" { return nil } @@ -3156,430 +2930,363 @@ func __unmarshalGetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssu } switch tn.TypeName { - case "Application": - *v = new(GetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssueWorkloadApplication) + case "DeprecatedIngressIssue": + *v = new(GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedIngressIssue) return json.Unmarshal(b, *v) - case "Job": - *v = new(GetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssueWorkloadJob) + case "DeprecatedRegistryIssue": + *v = new(GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssue) + return json.Unmarshal(b, *v) + case "ExternalIngressCriticalVulnerabilityIssue": + *v = new(GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssue) + return json.Unmarshal(b, *v) + case "FailedSynchronizationIssue": + *v = new(GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssue) + return json.Unmarshal(b, *v) + case "InvalidSpecIssue": + *v = new(GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssue) + return json.Unmarshal(b, *v) + case "LastRunFailedIssue": + *v = new(GetAllIssuesTeamIssuesIssueConnectionNodesLastRunFailedIssue) + return json.Unmarshal(b, *v) + case "MissingSbomIssue": + *v = new(GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssue) + return json.Unmarshal(b, *v) + case "NoRunningInstancesIssue": + *v = new(GetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssue) + return json.Unmarshal(b, *v) + case "OpenSearchIssue": + *v = new(GetAllIssuesTeamIssuesIssueConnectionNodesOpenSearchIssue) + return json.Unmarshal(b, *v) + case "SqlInstanceStateIssue": + *v = new(GetAllIssuesTeamIssuesIssueConnectionNodesSqlInstanceStateIssue) + return json.Unmarshal(b, *v) + case "SqlInstanceVersionIssue": + *v = new(GetAllIssuesTeamIssuesIssueConnectionNodesSqlInstanceVersionIssue) + return json.Unmarshal(b, *v) + case "UnleashReleaseChannelIssue": + *v = new(GetAllIssuesTeamIssuesIssueConnectionNodesUnleashReleaseChannelIssue) + return json.Unmarshal(b, *v) + case "ValkeyIssue": + *v = new(GetAllIssuesTeamIssuesIssueConnectionNodesValkeyIssue) + return json.Unmarshal(b, *v) + case "VulnerableImageIssue": + *v = new(GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssue) return json.Unmarshal(b, *v) case "": return fmt.Errorf( - "response was missing Workload.__typename") + "response was missing Issue.__typename") default: return fmt.Errorf( - `unexpected concrete type for GetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssueWorkload: "%v"`, tn.TypeName) + `unexpected concrete type for GetAllIssuesTeamIssuesIssueConnectionNodesIssue: "%v"`, tn.TypeName) } } -func __marshalGetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssueWorkload(v *GetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssueWorkload) ([]byte, error) { +func __marshalGetAllIssuesTeamIssuesIssueConnectionNodesIssue(v *GetAllIssuesTeamIssuesIssueConnectionNodesIssue) ([]byte, error) { var typename string switch v := (*v).(type) { - case *GetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssueWorkloadApplication: - typename = "Application" + case *GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedIngressIssue: + typename = "DeprecatedIngressIssue" result := struct { TypeName string `json:"__typename"` - *GetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssueWorkloadApplication + *GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedIngressIssue }{typename, v} return json.Marshal(result) - case *GetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssueWorkloadJob: - typename = "Job" + case *GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssue: + typename = "DeprecatedRegistryIssue" + premarshaled, err := v.__premarshalJSON() + if err != nil { + return nil, err + } result := struct { TypeName string `json:"__typename"` - *GetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssueWorkloadJob - }{typename, v} + *__premarshalGetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssue + }{typename, premarshaled} return json.Marshal(result) - case nil: - return []byte("null"), nil - default: - return nil, fmt.Errorf( - `unexpected concrete type for GetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssueWorkload: "%T"`, v) - } -} + case *GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssue: + typename = "ExternalIngressCriticalVulnerabilityIssue" -// GetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssueWorkloadApplication includes the requested fields of the GraphQL type Application. -// The GraphQL type's documentation follows. -// -// An application lets you run one or more instances of a container image on the [Nais platform](https://nais.io/). -// -// Learn more about how to create and configure your applications in the [Nais documentation](https://docs.nais.io/workloads/application/). -type GetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssueWorkloadApplication struct { - // Interface for workloads. - Name string `json:"name"` - Typename string `json:"__typename"` -} + premarshaled, err := v.__premarshalJSON() + if err != nil { + return nil, err + } + result := struct { + TypeName string `json:"__typename"` + *__premarshalGetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssue + }{typename, premarshaled} + return json.Marshal(result) + case *GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssue: + typename = "FailedSynchronizationIssue" -// GetName returns GetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssueWorkloadApplication.Name, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssueWorkloadApplication) GetName() string { - return v.Name -} + premarshaled, err := v.__premarshalJSON() + if err != nil { + return nil, err + } + result := struct { + TypeName string `json:"__typename"` + *__premarshalGetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssue + }{typename, premarshaled} + return json.Marshal(result) + case *GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssue: + typename = "InvalidSpecIssue" -// GetTypename returns GetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssueWorkloadApplication.Typename, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssueWorkloadApplication) GetTypename() string { - return v.Typename -} + premarshaled, err := v.__premarshalJSON() + if err != nil { + return nil, err + } + result := struct { + TypeName string `json:"__typename"` + *__premarshalGetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssue + }{typename, premarshaled} + return json.Marshal(result) + case *GetAllIssuesTeamIssuesIssueConnectionNodesLastRunFailedIssue: + typename = "LastRunFailedIssue" -// GetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssueWorkloadJob includes the requested fields of the GraphQL type Job. -type GetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssueWorkloadJob struct { - // Interface for workloads. - Name string `json:"name"` - Typename string `json:"__typename"` -} + result := struct { + TypeName string `json:"__typename"` + *GetAllIssuesTeamIssuesIssueConnectionNodesLastRunFailedIssue + }{typename, v} + return json.Marshal(result) + case *GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssue: + typename = "MissingSbomIssue" -// GetName returns GetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssueWorkloadJob.Name, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssueWorkloadJob) GetName() string { - return v.Name -} + premarshaled, err := v.__premarshalJSON() + if err != nil { + return nil, err + } + result := struct { + TypeName string `json:"__typename"` + *__premarshalGetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssue + }{typename, premarshaled} + return json.Marshal(result) + case *GetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssue: + typename = "NoRunningInstancesIssue" -// GetTypename returns GetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssueWorkloadJob.Typename, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssueWorkloadJob) GetTypename() string { - return v.Typename -} + premarshaled, err := v.__premarshalJSON() + if err != nil { + return nil, err + } + result := struct { + TypeName string `json:"__typename"` + *__premarshalGetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssue + }{typename, premarshaled} + return json.Marshal(result) + case *GetAllIssuesTeamIssuesIssueConnectionNodesOpenSearchIssue: + typename = "OpenSearchIssue" -// GetAllIssuesTeamIssuesIssueConnectionNodesOpenSearchIssue includes the requested fields of the GraphQL type OpenSearchIssue. -type GetAllIssuesTeamIssuesIssueConnectionNodesOpenSearchIssue struct { - Typename string `json:"__typename"` - TeamEnvironment GetAllIssuesTeamIssuesIssueConnectionNodesIssueTeamEnvironment `json:"teamEnvironment"` - Id string `json:"id"` - Severity Severity `json:"severity"` - Message string `json:"message"` - OpenSearch GetAllIssuesTeamIssuesIssueConnectionNodesOpenSearchIssueOpenSearch `json:"openSearch"` -} + result := struct { + TypeName string `json:"__typename"` + *GetAllIssuesTeamIssuesIssueConnectionNodesOpenSearchIssue + }{typename, v} + return json.Marshal(result) + case *GetAllIssuesTeamIssuesIssueConnectionNodesSqlInstanceStateIssue: + typename = "SqlInstanceStateIssue" -// GetTypename returns GetAllIssuesTeamIssuesIssueConnectionNodesOpenSearchIssue.Typename, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesOpenSearchIssue) GetTypename() string { - return v.Typename -} + result := struct { + TypeName string `json:"__typename"` + *GetAllIssuesTeamIssuesIssueConnectionNodesSqlInstanceStateIssue + }{typename, v} + return json.Marshal(result) + case *GetAllIssuesTeamIssuesIssueConnectionNodesSqlInstanceVersionIssue: + typename = "SqlInstanceVersionIssue" -// GetTeamEnvironment returns GetAllIssuesTeamIssuesIssueConnectionNodesOpenSearchIssue.TeamEnvironment, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesOpenSearchIssue) GetTeamEnvironment() GetAllIssuesTeamIssuesIssueConnectionNodesIssueTeamEnvironment { - return v.TeamEnvironment -} + result := struct { + TypeName string `json:"__typename"` + *GetAllIssuesTeamIssuesIssueConnectionNodesSqlInstanceVersionIssue + }{typename, v} + return json.Marshal(result) + case *GetAllIssuesTeamIssuesIssueConnectionNodesUnleashReleaseChannelIssue: + typename = "UnleashReleaseChannelIssue" -// GetId returns GetAllIssuesTeamIssuesIssueConnectionNodesOpenSearchIssue.Id, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesOpenSearchIssue) GetId() string { return v.Id } + result := struct { + TypeName string `json:"__typename"` + *GetAllIssuesTeamIssuesIssueConnectionNodesUnleashReleaseChannelIssue + }{typename, v} + return json.Marshal(result) + case *GetAllIssuesTeamIssuesIssueConnectionNodesValkeyIssue: + typename = "ValkeyIssue" -// GetSeverity returns GetAllIssuesTeamIssuesIssueConnectionNodesOpenSearchIssue.Severity, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesOpenSearchIssue) GetSeverity() Severity { - return v.Severity -} + result := struct { + TypeName string `json:"__typename"` + *GetAllIssuesTeamIssuesIssueConnectionNodesValkeyIssue + }{typename, v} + return json.Marshal(result) + case *GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssue: + typename = "VulnerableImageIssue" -// GetMessage returns GetAllIssuesTeamIssuesIssueConnectionNodesOpenSearchIssue.Message, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesOpenSearchIssue) GetMessage() string { - return v.Message + premarshaled, err := v.__premarshalJSON() + if err != nil { + return nil, err + } + result := struct { + TypeName string `json:"__typename"` + *__premarshalGetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssue + }{typename, premarshaled} + return json.Marshal(result) + case nil: + return []byte("null"), nil + default: + return nil, fmt.Errorf( + `unexpected concrete type for GetAllIssuesTeamIssuesIssueConnectionNodesIssue: "%T"`, v) + } } -// GetOpenSearch returns GetAllIssuesTeamIssuesIssueConnectionNodesOpenSearchIssue.OpenSearch, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesOpenSearchIssue) GetOpenSearch() GetAllIssuesTeamIssuesIssueConnectionNodesOpenSearchIssueOpenSearch { - return v.OpenSearch +// GetAllIssuesTeamIssuesIssueConnectionNodesIssueTeamEnvironment includes the requested fields of the GraphQL type TeamEnvironment. +type GetAllIssuesTeamIssuesIssueConnectionNodesIssueTeamEnvironment struct { + // Get the environment. + Environment GetAllIssuesTeamIssuesIssueConnectionNodesIssueTeamEnvironmentEnvironment `json:"environment"` } -// GetAllIssuesTeamIssuesIssueConnectionNodesOpenSearchIssueOpenSearch includes the requested fields of the GraphQL type OpenSearch. -type GetAllIssuesTeamIssuesIssueConnectionNodesOpenSearchIssueOpenSearch struct { - Name string `json:"name"` - Typename string `json:"__typename"` +// GetEnvironment returns GetAllIssuesTeamIssuesIssueConnectionNodesIssueTeamEnvironment.Environment, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesIssueTeamEnvironment) GetEnvironment() GetAllIssuesTeamIssuesIssueConnectionNodesIssueTeamEnvironmentEnvironment { + return v.Environment } -// GetName returns GetAllIssuesTeamIssuesIssueConnectionNodesOpenSearchIssueOpenSearch.Name, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesOpenSearchIssueOpenSearch) GetName() string { - return v.Name +// GetAllIssuesTeamIssuesIssueConnectionNodesIssueTeamEnvironmentEnvironment includes the requested fields of the GraphQL type Environment. +// The GraphQL type's documentation follows. +// +// An environment represents a runtime environment for workloads. +// +// Learn more in the [official Nais documentation](https://docs.nais.io/workloads/explanations/environment/). +type GetAllIssuesTeamIssuesIssueConnectionNodesIssueTeamEnvironmentEnvironment struct { + // Unique name of the environment. + Name string `json:"name"` } -// GetTypename returns GetAllIssuesTeamIssuesIssueConnectionNodesOpenSearchIssueOpenSearch.Typename, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesOpenSearchIssueOpenSearch) GetTypename() string { - return v.Typename +// GetName returns GetAllIssuesTeamIssuesIssueConnectionNodesIssueTeamEnvironmentEnvironment.Name, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesIssueTeamEnvironmentEnvironment) GetName() string { + return v.Name } -// GetAllIssuesTeamIssuesIssueConnectionNodesSqlInstanceStateIssue includes the requested fields of the GraphQL type SqlInstanceStateIssue. -type GetAllIssuesTeamIssuesIssueConnectionNodesSqlInstanceStateIssue struct { - Typename string `json:"__typename"` - TeamEnvironment GetAllIssuesTeamIssuesIssueConnectionNodesIssueTeamEnvironment `json:"teamEnvironment"` - Id string `json:"id"` - Severity Severity `json:"severity"` - Message string `json:"message"` - SqlInstance GetAllIssuesTeamIssuesIssueConnectionNodesSqlInstanceStateIssueSqlInstance `json:"sqlInstance"` +// GetAllIssuesTeamIssuesIssueConnectionNodesLastRunFailedIssue includes the requested fields of the GraphQL type LastRunFailedIssue. +type GetAllIssuesTeamIssuesIssueConnectionNodesLastRunFailedIssue struct { + Typename string `json:"__typename"` + TeamEnvironment GetAllIssuesTeamIssuesIssueConnectionNodesIssueTeamEnvironment `json:"teamEnvironment"` + Id string `json:"id"` + Severity Severity `json:"severity"` + Message string `json:"message"` + Job GetAllIssuesTeamIssuesIssueConnectionNodesLastRunFailedIssueJob `json:"job"` } -// GetTypename returns GetAllIssuesTeamIssuesIssueConnectionNodesSqlInstanceStateIssue.Typename, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesSqlInstanceStateIssue) GetTypename() string { +// GetTypename returns GetAllIssuesTeamIssuesIssueConnectionNodesLastRunFailedIssue.Typename, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesLastRunFailedIssue) GetTypename() string { return v.Typename } -// GetTeamEnvironment returns GetAllIssuesTeamIssuesIssueConnectionNodesSqlInstanceStateIssue.TeamEnvironment, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesSqlInstanceStateIssue) GetTeamEnvironment() GetAllIssuesTeamIssuesIssueConnectionNodesIssueTeamEnvironment { +// GetTeamEnvironment returns GetAllIssuesTeamIssuesIssueConnectionNodesLastRunFailedIssue.TeamEnvironment, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesLastRunFailedIssue) GetTeamEnvironment() GetAllIssuesTeamIssuesIssueConnectionNodesIssueTeamEnvironment { return v.TeamEnvironment } -// GetId returns GetAllIssuesTeamIssuesIssueConnectionNodesSqlInstanceStateIssue.Id, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesSqlInstanceStateIssue) GetId() string { return v.Id } +// GetId returns GetAllIssuesTeamIssuesIssueConnectionNodesLastRunFailedIssue.Id, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesLastRunFailedIssue) GetId() string { return v.Id } -// GetSeverity returns GetAllIssuesTeamIssuesIssueConnectionNodesSqlInstanceStateIssue.Severity, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesSqlInstanceStateIssue) GetSeverity() Severity { +// GetSeverity returns GetAllIssuesTeamIssuesIssueConnectionNodesLastRunFailedIssue.Severity, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesLastRunFailedIssue) GetSeverity() Severity { return v.Severity } -// GetMessage returns GetAllIssuesTeamIssuesIssueConnectionNodesSqlInstanceStateIssue.Message, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesSqlInstanceStateIssue) GetMessage() string { +// GetMessage returns GetAllIssuesTeamIssuesIssueConnectionNodesLastRunFailedIssue.Message, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesLastRunFailedIssue) GetMessage() string { return v.Message } -// GetSqlInstance returns GetAllIssuesTeamIssuesIssueConnectionNodesSqlInstanceStateIssue.SqlInstance, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesSqlInstanceStateIssue) GetSqlInstance() GetAllIssuesTeamIssuesIssueConnectionNodesSqlInstanceStateIssueSqlInstance { - return v.SqlInstance +// GetJob returns GetAllIssuesTeamIssuesIssueConnectionNodesLastRunFailedIssue.Job, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesLastRunFailedIssue) GetJob() GetAllIssuesTeamIssuesIssueConnectionNodesLastRunFailedIssueJob { + return v.Job } -// GetAllIssuesTeamIssuesIssueConnectionNodesSqlInstanceStateIssueSqlInstance includes the requested fields of the GraphQL type SqlInstance. -type GetAllIssuesTeamIssuesIssueConnectionNodesSqlInstanceStateIssueSqlInstance struct { +// GetAllIssuesTeamIssuesIssueConnectionNodesLastRunFailedIssueJob includes the requested fields of the GraphQL type Job. +type GetAllIssuesTeamIssuesIssueConnectionNodesLastRunFailedIssueJob struct { + // The name of the job. Name string `json:"name"` Typename string `json:"__typename"` } -// GetName returns GetAllIssuesTeamIssuesIssueConnectionNodesSqlInstanceStateIssueSqlInstance.Name, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesSqlInstanceStateIssueSqlInstance) GetName() string { +// GetName returns GetAllIssuesTeamIssuesIssueConnectionNodesLastRunFailedIssueJob.Name, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesLastRunFailedIssueJob) GetName() string { return v.Name } -// GetTypename returns GetAllIssuesTeamIssuesIssueConnectionNodesSqlInstanceStateIssueSqlInstance.Typename, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesSqlInstanceStateIssueSqlInstance) GetTypename() string { +// GetTypename returns GetAllIssuesTeamIssuesIssueConnectionNodesLastRunFailedIssueJob.Typename, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesLastRunFailedIssueJob) GetTypename() string { return v.Typename } -// GetAllIssuesTeamIssuesIssueConnectionNodesSqlInstanceVersionIssue includes the requested fields of the GraphQL type SqlInstanceVersionIssue. -type GetAllIssuesTeamIssuesIssueConnectionNodesSqlInstanceVersionIssue struct { - Typename string `json:"__typename"` - TeamEnvironment GetAllIssuesTeamIssuesIssueConnectionNodesIssueTeamEnvironment `json:"teamEnvironment"` - Id string `json:"id"` - Severity Severity `json:"severity"` - Message string `json:"message"` - SqlInstance GetAllIssuesTeamIssuesIssueConnectionNodesSqlInstanceVersionIssueSqlInstance `json:"sqlInstance"` +// GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssue includes the requested fields of the GraphQL type MissingSbomIssue. +type GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssue struct { + Typename string `json:"__typename"` + TeamEnvironment GetAllIssuesTeamIssuesIssueConnectionNodesIssueTeamEnvironment `json:"teamEnvironment"` + Id string `json:"id"` + Severity Severity `json:"severity"` + Message string `json:"message"` + Workload GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssueWorkload `json:"-"` } -// GetTypename returns GetAllIssuesTeamIssuesIssueConnectionNodesSqlInstanceVersionIssue.Typename, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesSqlInstanceVersionIssue) GetTypename() string { +// GetTypename returns GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssue.Typename, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssue) GetTypename() string { return v.Typename } -// GetTeamEnvironment returns GetAllIssuesTeamIssuesIssueConnectionNodesSqlInstanceVersionIssue.TeamEnvironment, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesSqlInstanceVersionIssue) GetTeamEnvironment() GetAllIssuesTeamIssuesIssueConnectionNodesIssueTeamEnvironment { +// GetTeamEnvironment returns GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssue.TeamEnvironment, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssue) GetTeamEnvironment() GetAllIssuesTeamIssuesIssueConnectionNodesIssueTeamEnvironment { return v.TeamEnvironment } -// GetId returns GetAllIssuesTeamIssuesIssueConnectionNodesSqlInstanceVersionIssue.Id, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesSqlInstanceVersionIssue) GetId() string { - return v.Id -} +// GetId returns GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssue.Id, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssue) GetId() string { return v.Id } -// GetSeverity returns GetAllIssuesTeamIssuesIssueConnectionNodesSqlInstanceVersionIssue.Severity, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesSqlInstanceVersionIssue) GetSeverity() Severity { +// GetSeverity returns GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssue.Severity, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssue) GetSeverity() Severity { return v.Severity } -// GetMessage returns GetAllIssuesTeamIssuesIssueConnectionNodesSqlInstanceVersionIssue.Message, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesSqlInstanceVersionIssue) GetMessage() string { +// GetMessage returns GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssue.Message, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssue) GetMessage() string { return v.Message } -// GetSqlInstance returns GetAllIssuesTeamIssuesIssueConnectionNodesSqlInstanceVersionIssue.SqlInstance, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesSqlInstanceVersionIssue) GetSqlInstance() GetAllIssuesTeamIssuesIssueConnectionNodesSqlInstanceVersionIssueSqlInstance { - return v.SqlInstance +// GetWorkload returns GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssue.Workload, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssue) GetWorkload() GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssueWorkload { + return v.Workload } -// GetAllIssuesTeamIssuesIssueConnectionNodesSqlInstanceVersionIssueSqlInstance includes the requested fields of the GraphQL type SqlInstance. -type GetAllIssuesTeamIssuesIssueConnectionNodesSqlInstanceVersionIssueSqlInstance struct { - Name string `json:"name"` - Typename string `json:"__typename"` -} +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssue) UnmarshalJSON(b []byte) error { -// GetName returns GetAllIssuesTeamIssuesIssueConnectionNodesSqlInstanceVersionIssueSqlInstance.Name, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesSqlInstanceVersionIssueSqlInstance) GetName() string { - return v.Name -} + if string(b) == "null" { + return nil + } -// GetTypename returns GetAllIssuesTeamIssuesIssueConnectionNodesSqlInstanceVersionIssueSqlInstance.Typename, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesSqlInstanceVersionIssueSqlInstance) GetTypename() string { - return v.Typename -} + var firstPass struct { + *GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssue + Workload json.RawMessage `json:"workload"` + graphql.NoUnmarshalJSON + } + firstPass.GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssue = v -// GetAllIssuesTeamIssuesIssueConnectionNodesUnleashReleaseChannelIssue includes the requested fields of the GraphQL type UnleashReleaseChannelIssue. -type GetAllIssuesTeamIssuesIssueConnectionNodesUnleashReleaseChannelIssue struct { - Typename string `json:"__typename"` - TeamEnvironment GetAllIssuesTeamIssuesIssueConnectionNodesIssueTeamEnvironment `json:"teamEnvironment"` - Id string `json:"id"` - Severity Severity `json:"severity"` - Message string `json:"message"` - Unleash GetAllIssuesTeamIssuesIssueConnectionNodesUnleashReleaseChannelIssueUnleashUnleashInstance `json:"unleash"` -} - -// GetTypename returns GetAllIssuesTeamIssuesIssueConnectionNodesUnleashReleaseChannelIssue.Typename, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesUnleashReleaseChannelIssue) GetTypename() string { - return v.Typename -} - -// GetTeamEnvironment returns GetAllIssuesTeamIssuesIssueConnectionNodesUnleashReleaseChannelIssue.TeamEnvironment, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesUnleashReleaseChannelIssue) GetTeamEnvironment() GetAllIssuesTeamIssuesIssueConnectionNodesIssueTeamEnvironment { - return v.TeamEnvironment -} - -// GetId returns GetAllIssuesTeamIssuesIssueConnectionNodesUnleashReleaseChannelIssue.Id, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesUnleashReleaseChannelIssue) GetId() string { - return v.Id -} - -// GetSeverity returns GetAllIssuesTeamIssuesIssueConnectionNodesUnleashReleaseChannelIssue.Severity, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesUnleashReleaseChannelIssue) GetSeverity() Severity { - return v.Severity -} - -// GetMessage returns GetAllIssuesTeamIssuesIssueConnectionNodesUnleashReleaseChannelIssue.Message, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesUnleashReleaseChannelIssue) GetMessage() string { - return v.Message -} - -// GetUnleash returns GetAllIssuesTeamIssuesIssueConnectionNodesUnleashReleaseChannelIssue.Unleash, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesUnleashReleaseChannelIssue) GetUnleash() GetAllIssuesTeamIssuesIssueConnectionNodesUnleashReleaseChannelIssueUnleashUnleashInstance { - return v.Unleash -} - -// GetAllIssuesTeamIssuesIssueConnectionNodesUnleashReleaseChannelIssueUnleashUnleashInstance includes the requested fields of the GraphQL type UnleashInstance. -type GetAllIssuesTeamIssuesIssueConnectionNodesUnleashReleaseChannelIssueUnleashUnleashInstance struct { - Name string `json:"name"` - Typename string `json:"__typename"` -} - -// GetName returns GetAllIssuesTeamIssuesIssueConnectionNodesUnleashReleaseChannelIssueUnleashUnleashInstance.Name, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesUnleashReleaseChannelIssueUnleashUnleashInstance) GetName() string { - return v.Name -} - -// GetTypename returns GetAllIssuesTeamIssuesIssueConnectionNodesUnleashReleaseChannelIssueUnleashUnleashInstance.Typename, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesUnleashReleaseChannelIssueUnleashUnleashInstance) GetTypename() string { - return v.Typename -} - -// GetAllIssuesTeamIssuesIssueConnectionNodesValkeyIssue includes the requested fields of the GraphQL type ValkeyIssue. -type GetAllIssuesTeamIssuesIssueConnectionNodesValkeyIssue struct { - Typename string `json:"__typename"` - TeamEnvironment GetAllIssuesTeamIssuesIssueConnectionNodesIssueTeamEnvironment `json:"teamEnvironment"` - Id string `json:"id"` - Severity Severity `json:"severity"` - Message string `json:"message"` - Valkey GetAllIssuesTeamIssuesIssueConnectionNodesValkeyIssueValkey `json:"valkey"` -} - -// GetTypename returns GetAllIssuesTeamIssuesIssueConnectionNodesValkeyIssue.Typename, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesValkeyIssue) GetTypename() string { - return v.Typename -} - -// GetTeamEnvironment returns GetAllIssuesTeamIssuesIssueConnectionNodesValkeyIssue.TeamEnvironment, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesValkeyIssue) GetTeamEnvironment() GetAllIssuesTeamIssuesIssueConnectionNodesIssueTeamEnvironment { - return v.TeamEnvironment -} - -// GetId returns GetAllIssuesTeamIssuesIssueConnectionNodesValkeyIssue.Id, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesValkeyIssue) GetId() string { return v.Id } - -// GetSeverity returns GetAllIssuesTeamIssuesIssueConnectionNodesValkeyIssue.Severity, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesValkeyIssue) GetSeverity() Severity { - return v.Severity -} - -// GetMessage returns GetAllIssuesTeamIssuesIssueConnectionNodesValkeyIssue.Message, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesValkeyIssue) GetMessage() string { return v.Message } - -// GetValkey returns GetAllIssuesTeamIssuesIssueConnectionNodesValkeyIssue.Valkey, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesValkeyIssue) GetValkey() GetAllIssuesTeamIssuesIssueConnectionNodesValkeyIssueValkey { - return v.Valkey -} - -// GetAllIssuesTeamIssuesIssueConnectionNodesValkeyIssueValkey includes the requested fields of the GraphQL type Valkey. -type GetAllIssuesTeamIssuesIssueConnectionNodesValkeyIssueValkey struct { - Name string `json:"name"` - Typename string `json:"__typename"` -} - -// GetName returns GetAllIssuesTeamIssuesIssueConnectionNodesValkeyIssueValkey.Name, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesValkeyIssueValkey) GetName() string { return v.Name } - -// GetTypename returns GetAllIssuesTeamIssuesIssueConnectionNodesValkeyIssueValkey.Typename, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesValkeyIssueValkey) GetTypename() string { - return v.Typename -} - -// GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssue includes the requested fields of the GraphQL type VulnerableImageIssue. -type GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssue struct { - Typename string `json:"__typename"` - TeamEnvironment GetAllIssuesTeamIssuesIssueConnectionNodesIssueTeamEnvironment `json:"teamEnvironment"` - Id string `json:"id"` - Severity Severity `json:"severity"` - Message string `json:"message"` - Workload GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssueWorkload `json:"-"` -} - -// GetTypename returns GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssue.Typename, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssue) GetTypename() string { - return v.Typename -} - -// GetTeamEnvironment returns GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssue.TeamEnvironment, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssue) GetTeamEnvironment() GetAllIssuesTeamIssuesIssueConnectionNodesIssueTeamEnvironment { - return v.TeamEnvironment -} - -// GetId returns GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssue.Id, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssue) GetId() string { return v.Id } - -// GetSeverity returns GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssue.Severity, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssue) GetSeverity() Severity { - return v.Severity -} - -// GetMessage returns GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssue.Message, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssue) GetMessage() string { - return v.Message -} - -// GetWorkload returns GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssue.Workload, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssue) GetWorkload() GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssueWorkload { - return v.Workload -} - -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssue) UnmarshalJSON(b []byte) error { - - if string(b) == "null" { - return nil - } - - var firstPass struct { - *GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssue - Workload json.RawMessage `json:"workload"` - graphql.NoUnmarshalJSON - } - firstPass.GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssue = v - - err := json.Unmarshal(b, &firstPass) - if err != nil { - return err - } + err := json.Unmarshal(b, &firstPass) + if err != nil { + return err + } { dst := &v.Workload src := firstPass.Workload if len(src) != 0 && string(src) != "null" { - err = __unmarshalGetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssueWorkload( + err = __unmarshalGetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssueWorkload( src, dst) if err != nil { return fmt.Errorf( - "unable to unmarshal GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssue.Workload: %w", err) + "unable to unmarshal GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssue.Workload: %w", err) } } } return nil } -type __premarshalGetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssue struct { +type __premarshalGetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssue struct { Typename string `json:"__typename"` TeamEnvironment GetAllIssuesTeamIssuesIssueConnectionNodesIssueTeamEnvironment `json:"teamEnvironment"` @@ -3593,7 +3300,7 @@ type __premarshalGetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssue Workload json.RawMessage `json:"workload"` } -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssue) MarshalJSON() ([]byte, error) { +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssue) MarshalJSON() ([]byte, error) { premarshaled, err := v.__premarshalJSON() if err != nil { return nil, err @@ -3601,8 +3308,8 @@ func (v *GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssue) Marshal return json.Marshal(premarshaled) } -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssue) __premarshalJSON() (*__premarshalGetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssue, error) { - var retval __premarshalGetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssue +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssue) __premarshalJSON() (*__premarshalGetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssue, error) { + var retval __premarshalGetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssue retval.Typename = v.Typename retval.TeamEnvironment = v.TeamEnvironment @@ -3614,41 +3321,41 @@ func (v *GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssue) __prema dst := &retval.Workload src := v.Workload var err error - *dst, err = __marshalGetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssueWorkload( + *dst, err = __marshalGetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssueWorkload( &src) if err != nil { return nil, fmt.Errorf( - "unable to marshal GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssue.Workload: %w", err) + "unable to marshal GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssue.Workload: %w", err) } } return &retval, nil } -// GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssueWorkload includes the requested fields of the GraphQL interface Workload. +// GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssueWorkload includes the requested fields of the GraphQL interface Workload. // -// GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssueWorkload is implemented by the following types: -// GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssueWorkloadApplication -// GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssueWorkloadJob +// GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssueWorkload is implemented by the following types: +// GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssueWorkloadApplication +// GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssueWorkloadJob // The GraphQL type's documentation follows. // // Interface for workloads. -type GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssueWorkload interface { - implementsGraphQLInterfaceGetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssueWorkload() +type GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssueWorkload interface { + implementsGraphQLInterfaceGetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssueWorkload() // GetName returns the interface-field "name" from its implementation. // The GraphQL interface field's documentation follows. // - // Interface for workloads. + // The name of the workload. GetName() string // GetTypename returns the receiver's concrete GraphQL type-name (see interface doc for possible values). GetTypename() string } -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssueWorkloadApplication) implementsGraphQLInterfaceGetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssueWorkload() { +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssueWorkloadApplication) implementsGraphQLInterfaceGetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssueWorkload() { } -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssueWorkloadJob) implementsGraphQLInterfaceGetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssueWorkload() { +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssueWorkloadJob) implementsGraphQLInterfaceGetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssueWorkload() { } -func __unmarshalGetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssueWorkload(b []byte, v *GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssueWorkload) error { +func __unmarshalGetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssueWorkload(b []byte, v *GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssueWorkload) error { if string(b) == "null" { return nil } @@ -3663,811 +3370,645 @@ func __unmarshalGetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssueWo switch tn.TypeName { case "Application": - *v = new(GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssueWorkloadApplication) + *v = new(GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssueWorkloadApplication) return json.Unmarshal(b, *v) case "Job": - *v = new(GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssueWorkloadJob) + *v = new(GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssueWorkloadJob) return json.Unmarshal(b, *v) case "": return fmt.Errorf( "response was missing Workload.__typename") default: return fmt.Errorf( - `unexpected concrete type for GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssueWorkload: "%v"`, tn.TypeName) + `unexpected concrete type for GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssueWorkload: "%v"`, tn.TypeName) } } -func __marshalGetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssueWorkload(v *GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssueWorkload) ([]byte, error) { +func __marshalGetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssueWorkload(v *GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssueWorkload) ([]byte, error) { var typename string switch v := (*v).(type) { - case *GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssueWorkloadApplication: + case *GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssueWorkloadApplication: typename = "Application" result := struct { TypeName string `json:"__typename"` - *GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssueWorkloadApplication + *GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssueWorkloadApplication }{typename, v} return json.Marshal(result) - case *GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssueWorkloadJob: + case *GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssueWorkloadJob: typename = "Job" result := struct { TypeName string `json:"__typename"` - *GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssueWorkloadJob + *GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssueWorkloadJob }{typename, v} return json.Marshal(result) case nil: return []byte("null"), nil default: return nil, fmt.Errorf( - `unexpected concrete type for GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssueWorkload: "%T"`, v) + `unexpected concrete type for GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssueWorkload: "%T"`, v) } } -// GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssueWorkloadApplication includes the requested fields of the GraphQL type Application. +// GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssueWorkloadApplication includes the requested fields of the GraphQL type Application. // The GraphQL type's documentation follows. // // An application lets you run one or more instances of a container image on the [Nais platform](https://nais.io/). // // Learn more about how to create and configure your applications in the [Nais documentation](https://docs.nais.io/workloads/application/). -type GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssueWorkloadApplication struct { - // Interface for workloads. +type GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssueWorkloadApplication struct { + // The name of the workload. Name string `json:"name"` Typename string `json:"__typename"` } -// GetName returns GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssueWorkloadApplication.Name, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssueWorkloadApplication) GetName() string { +// GetName returns GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssueWorkloadApplication.Name, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssueWorkloadApplication) GetName() string { return v.Name } -// GetTypename returns GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssueWorkloadApplication.Typename, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssueWorkloadApplication) GetTypename() string { +// GetTypename returns GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssueWorkloadApplication.Typename, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssueWorkloadApplication) GetTypename() string { return v.Typename } -// GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssueWorkloadJob includes the requested fields of the GraphQL type Job. -type GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssueWorkloadJob struct { - // Interface for workloads. +// GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssueWorkloadJob includes the requested fields of the GraphQL type Job. +type GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssueWorkloadJob struct { + // The name of the workload. Name string `json:"name"` Typename string `json:"__typename"` } -// GetName returns GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssueWorkloadJob.Name, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssueWorkloadJob) GetName() string { +// GetName returns GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssueWorkloadJob.Name, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssueWorkloadJob) GetName() string { return v.Name } -// GetTypename returns GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssueWorkloadJob.Typename, and is useful for accessing the field via an interface. -func (v *GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssueWorkloadJob) GetTypename() string { +// GetTypename returns GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssueWorkloadJob.Typename, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssueWorkloadJob) GetTypename() string { return v.Typename } -// GetAllOpenSearchesResponse is returned by GetAllOpenSearches on success. -type GetAllOpenSearchesResponse struct { - // Get a team by its slug. - Team GetAllOpenSearchesTeam `json:"team"` +// GetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssue includes the requested fields of the GraphQL type NoRunningInstancesIssue. +type GetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssue struct { + Typename string `json:"__typename"` + TeamEnvironment GetAllIssuesTeamIssuesIssueConnectionNodesIssueTeamEnvironment `json:"teamEnvironment"` + Id string `json:"id"` + Severity Severity `json:"severity"` + Message string `json:"message"` + Workload GetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssueWorkload `json:"-"` } -// GetTeam returns GetAllOpenSearchesResponse.Team, and is useful for accessing the field via an interface. -func (v *GetAllOpenSearchesResponse) GetTeam() GetAllOpenSearchesTeam { return v.Team } - -// GetAllOpenSearchesTeam includes the requested fields of the GraphQL type Team. -// The GraphQL type's documentation follows. -// -// The team type represents a team on the [Nais platform](https://nais.io/). -// -// Learn more about what Nais teams are and what they can be used for in the [official Nais documentation](https://docs.nais.io/explanations/team/). -// -// External resources (e.g. entraIDGroupID, gitHubTeamSlug) are managed by [Nais API reconcilers](https://github.com/nais/api-reconcilers). -type GetAllOpenSearchesTeam struct { - // OpenSearch instances owned by the team. - OpenSearches GetAllOpenSearchesTeamOpenSearchesOpenSearchConnection `json:"openSearches"` +// GetTypename returns GetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssue.Typename, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssue) GetTypename() string { + return v.Typename } -// GetOpenSearches returns GetAllOpenSearchesTeam.OpenSearches, and is useful for accessing the field via an interface. -func (v *GetAllOpenSearchesTeam) GetOpenSearches() GetAllOpenSearchesTeamOpenSearchesOpenSearchConnection { - return v.OpenSearches +// GetTeamEnvironment returns GetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssue.TeamEnvironment, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssue) GetTeamEnvironment() GetAllIssuesTeamIssuesIssueConnectionNodesIssueTeamEnvironment { + return v.TeamEnvironment } -// GetAllOpenSearchesTeamOpenSearchesOpenSearchConnection includes the requested fields of the GraphQL type OpenSearchConnection. -type GetAllOpenSearchesTeamOpenSearchesOpenSearchConnection struct { - Nodes []GetAllOpenSearchesTeamOpenSearchesOpenSearchConnectionNodesOpenSearch `json:"nodes"` +// GetId returns GetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssue.Id, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssue) GetId() string { + return v.Id } -// GetNodes returns GetAllOpenSearchesTeamOpenSearchesOpenSearchConnection.Nodes, and is useful for accessing the field via an interface. -func (v *GetAllOpenSearchesTeamOpenSearchesOpenSearchConnection) GetNodes() []GetAllOpenSearchesTeamOpenSearchesOpenSearchConnectionNodesOpenSearch { - return v.Nodes +// GetSeverity returns GetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssue.Severity, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssue) GetSeverity() Severity { + return v.Severity } -// GetAllOpenSearchesTeamOpenSearchesOpenSearchConnectionNodesOpenSearch includes the requested fields of the GraphQL type OpenSearch. -type GetAllOpenSearchesTeamOpenSearchesOpenSearchConnectionNodesOpenSearch struct { - Name string `json:"name"` - // Available memory for the OpenSearch instance. - Memory OpenSearchMemory `json:"memory"` - // Availability tier for the OpenSearch instance. - Tier OpenSearchTier `json:"tier"` - // Available storage in GB. - StorageGB int `json:"storageGB"` - // Fetch version for the OpenSearch instance. - Version GetAllOpenSearchesTeamOpenSearchesOpenSearchConnectionNodesOpenSearchVersion `json:"version"` - State OpenSearchState `json:"state"` - TeamEnvironment GetAllOpenSearchesTeamOpenSearchesOpenSearchConnectionNodesOpenSearchTeamEnvironment `json:"teamEnvironment"` - Access GetAllOpenSearchesTeamOpenSearchesOpenSearchConnectionNodesOpenSearchAccessOpenSearchAccessConnection `json:"access"` +// GetMessage returns GetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssue.Message, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssue) GetMessage() string { + return v.Message } -// GetName returns GetAllOpenSearchesTeamOpenSearchesOpenSearchConnectionNodesOpenSearch.Name, and is useful for accessing the field via an interface. -func (v *GetAllOpenSearchesTeamOpenSearchesOpenSearchConnectionNodesOpenSearch) GetName() string { - return v.Name +// GetWorkload returns GetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssue.Workload, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssue) GetWorkload() GetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssueWorkload { + return v.Workload } -// GetMemory returns GetAllOpenSearchesTeamOpenSearchesOpenSearchConnectionNodesOpenSearch.Memory, and is useful for accessing the field via an interface. -func (v *GetAllOpenSearchesTeamOpenSearchesOpenSearchConnectionNodesOpenSearch) GetMemory() OpenSearchMemory { - return v.Memory -} +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssue) UnmarshalJSON(b []byte) error { -// GetTier returns GetAllOpenSearchesTeamOpenSearchesOpenSearchConnectionNodesOpenSearch.Tier, and is useful for accessing the field via an interface. -func (v *GetAllOpenSearchesTeamOpenSearchesOpenSearchConnectionNodesOpenSearch) GetTier() OpenSearchTier { - return v.Tier -} + if string(b) == "null" { + return nil + } -// GetStorageGB returns GetAllOpenSearchesTeamOpenSearchesOpenSearchConnectionNodesOpenSearch.StorageGB, and is useful for accessing the field via an interface. -func (v *GetAllOpenSearchesTeamOpenSearchesOpenSearchConnectionNodesOpenSearch) GetStorageGB() int { - return v.StorageGB -} + var firstPass struct { + *GetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssue + Workload json.RawMessage `json:"workload"` + graphql.NoUnmarshalJSON + } + firstPass.GetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssue = v -// GetVersion returns GetAllOpenSearchesTeamOpenSearchesOpenSearchConnectionNodesOpenSearch.Version, and is useful for accessing the field via an interface. -func (v *GetAllOpenSearchesTeamOpenSearchesOpenSearchConnectionNodesOpenSearch) GetVersion() GetAllOpenSearchesTeamOpenSearchesOpenSearchConnectionNodesOpenSearchVersion { - return v.Version -} + err := json.Unmarshal(b, &firstPass) + if err != nil { + return err + } -// GetState returns GetAllOpenSearchesTeamOpenSearchesOpenSearchConnectionNodesOpenSearch.State, and is useful for accessing the field via an interface. -func (v *GetAllOpenSearchesTeamOpenSearchesOpenSearchConnectionNodesOpenSearch) GetState() OpenSearchState { - return v.State + { + dst := &v.Workload + src := firstPass.Workload + if len(src) != 0 && string(src) != "null" { + err = __unmarshalGetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssueWorkload( + src, dst) + if err != nil { + return fmt.Errorf( + "unable to unmarshal GetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssue.Workload: %w", err) + } + } + } + return nil } -// GetTeamEnvironment returns GetAllOpenSearchesTeamOpenSearchesOpenSearchConnectionNodesOpenSearch.TeamEnvironment, and is useful for accessing the field via an interface. -func (v *GetAllOpenSearchesTeamOpenSearchesOpenSearchConnectionNodesOpenSearch) GetTeamEnvironment() GetAllOpenSearchesTeamOpenSearchesOpenSearchConnectionNodesOpenSearchTeamEnvironment { - return v.TeamEnvironment -} +type __premarshalGetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssue struct { + Typename string `json:"__typename"` -// GetAccess returns GetAllOpenSearchesTeamOpenSearchesOpenSearchConnectionNodesOpenSearch.Access, and is useful for accessing the field via an interface. -func (v *GetAllOpenSearchesTeamOpenSearchesOpenSearchConnectionNodesOpenSearch) GetAccess() GetAllOpenSearchesTeamOpenSearchesOpenSearchConnectionNodesOpenSearchAccessOpenSearchAccessConnection { - return v.Access -} + TeamEnvironment GetAllIssuesTeamIssuesIssueConnectionNodesIssueTeamEnvironment `json:"teamEnvironment"` -// GetAllOpenSearchesTeamOpenSearchesOpenSearchConnectionNodesOpenSearchAccessOpenSearchAccessConnection includes the requested fields of the GraphQL type OpenSearchAccessConnection. -type GetAllOpenSearchesTeamOpenSearchesOpenSearchConnectionNodesOpenSearchAccessOpenSearchAccessConnection struct { - Edges []GetAllOpenSearchesTeamOpenSearchesOpenSearchConnectionNodesOpenSearchAccessOpenSearchAccessConnectionEdgesOpenSearchAccessEdge `json:"edges"` -} + Id string `json:"id"` -// GetEdges returns GetAllOpenSearchesTeamOpenSearchesOpenSearchConnectionNodesOpenSearchAccessOpenSearchAccessConnection.Edges, and is useful for accessing the field via an interface. -func (v *GetAllOpenSearchesTeamOpenSearchesOpenSearchConnectionNodesOpenSearchAccessOpenSearchAccessConnection) GetEdges() []GetAllOpenSearchesTeamOpenSearchesOpenSearchConnectionNodesOpenSearchAccessOpenSearchAccessConnectionEdgesOpenSearchAccessEdge { - return v.Edges -} + Severity Severity `json:"severity"` -// GetAllOpenSearchesTeamOpenSearchesOpenSearchConnectionNodesOpenSearchAccessOpenSearchAccessConnectionEdgesOpenSearchAccessEdge includes the requested fields of the GraphQL type OpenSearchAccessEdge. -type GetAllOpenSearchesTeamOpenSearchesOpenSearchConnectionNodesOpenSearchAccessOpenSearchAccessConnectionEdgesOpenSearchAccessEdge struct { - Node GetAllOpenSearchesTeamOpenSearchesOpenSearchConnectionNodesOpenSearchAccessOpenSearchAccessConnectionEdgesOpenSearchAccessEdgeNodeOpenSearchAccess `json:"node"` -} + Message string `json:"message"` -// GetNode returns GetAllOpenSearchesTeamOpenSearchesOpenSearchConnectionNodesOpenSearchAccessOpenSearchAccessConnectionEdgesOpenSearchAccessEdge.Node, and is useful for accessing the field via an interface. -func (v *GetAllOpenSearchesTeamOpenSearchesOpenSearchConnectionNodesOpenSearchAccessOpenSearchAccessConnectionEdgesOpenSearchAccessEdge) GetNode() GetAllOpenSearchesTeamOpenSearchesOpenSearchConnectionNodesOpenSearchAccessOpenSearchAccessConnectionEdgesOpenSearchAccessEdgeNodeOpenSearchAccess { - return v.Node + Workload json.RawMessage `json:"workload"` } -// GetAllOpenSearchesTeamOpenSearchesOpenSearchConnectionNodesOpenSearchAccessOpenSearchAccessConnectionEdgesOpenSearchAccessEdgeNodeOpenSearchAccess includes the requested fields of the GraphQL type OpenSearchAccess. -type GetAllOpenSearchesTeamOpenSearchesOpenSearchConnectionNodesOpenSearchAccessOpenSearchAccessConnectionEdgesOpenSearchAccessEdgeNodeOpenSearchAccess struct { - Access string `json:"access"` +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssue) MarshalJSON() ([]byte, error) { + premarshaled, err := v.__premarshalJSON() + if err != nil { + return nil, err + } + return json.Marshal(premarshaled) } -// GetAccess returns GetAllOpenSearchesTeamOpenSearchesOpenSearchConnectionNodesOpenSearchAccessOpenSearchAccessConnectionEdgesOpenSearchAccessEdgeNodeOpenSearchAccess.Access, and is useful for accessing the field via an interface. -func (v *GetAllOpenSearchesTeamOpenSearchesOpenSearchConnectionNodesOpenSearchAccessOpenSearchAccessConnectionEdgesOpenSearchAccessEdgeNodeOpenSearchAccess) GetAccess() string { - return v.Access -} +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssue) __premarshalJSON() (*__premarshalGetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssue, error) { + var retval __premarshalGetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssue -// GetAllOpenSearchesTeamOpenSearchesOpenSearchConnectionNodesOpenSearchTeamEnvironment includes the requested fields of the GraphQL type TeamEnvironment. -type GetAllOpenSearchesTeamOpenSearchesOpenSearchConnectionNodesOpenSearchTeamEnvironment struct { - // Get the environment. - Environment GetAllOpenSearchesTeamOpenSearchesOpenSearchConnectionNodesOpenSearchTeamEnvironmentEnvironment `json:"environment"` -} + retval.Typename = v.Typename + retval.TeamEnvironment = v.TeamEnvironment + retval.Id = v.Id + retval.Severity = v.Severity + retval.Message = v.Message + { -// GetEnvironment returns GetAllOpenSearchesTeamOpenSearchesOpenSearchConnectionNodesOpenSearchTeamEnvironment.Environment, and is useful for accessing the field via an interface. -func (v *GetAllOpenSearchesTeamOpenSearchesOpenSearchConnectionNodesOpenSearchTeamEnvironment) GetEnvironment() GetAllOpenSearchesTeamOpenSearchesOpenSearchConnectionNodesOpenSearchTeamEnvironmentEnvironment { - return v.Environment + dst := &retval.Workload + src := v.Workload + var err error + *dst, err = __marshalGetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssueWorkload( + &src) + if err != nil { + return nil, fmt.Errorf( + "unable to marshal GetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssue.Workload: %w", err) + } + } + return &retval, nil } -// GetAllOpenSearchesTeamOpenSearchesOpenSearchConnectionNodesOpenSearchTeamEnvironmentEnvironment includes the requested fields of the GraphQL type Environment. -// The GraphQL type's documentation follows. +// GetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssueWorkload includes the requested fields of the GraphQL interface Workload. // -// An environment represents a runtime environment for workloads. +// GetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssueWorkload is implemented by the following types: +// GetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssueWorkloadApplication +// GetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssueWorkloadJob +// The GraphQL type's documentation follows. // -// Learn more in the [official Nais documentation](https://docs.nais.io/workloads/explanations/environment/). -type GetAllOpenSearchesTeamOpenSearchesOpenSearchConnectionNodesOpenSearchTeamEnvironmentEnvironment struct { - // Unique name of the environment. - Name string `json:"name"` +// Interface for workloads. +type GetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssueWorkload interface { + implementsGraphQLInterfaceGetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssueWorkload() + // GetName returns the interface-field "name" from its implementation. + // The GraphQL interface field's documentation follows. + // + // The name of the workload. + GetName() string + // GetTypename returns the receiver's concrete GraphQL type-name (see interface doc for possible values). + GetTypename() string } -// GetName returns GetAllOpenSearchesTeamOpenSearchesOpenSearchConnectionNodesOpenSearchTeamEnvironmentEnvironment.Name, and is useful for accessing the field via an interface. -func (v *GetAllOpenSearchesTeamOpenSearchesOpenSearchConnectionNodesOpenSearchTeamEnvironmentEnvironment) GetName() string { - return v.Name +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssueWorkloadApplication) implementsGraphQLInterfaceGetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssueWorkload() { } - -// GetAllOpenSearchesTeamOpenSearchesOpenSearchConnectionNodesOpenSearchVersion includes the requested fields of the GraphQL type OpenSearchVersion. -type GetAllOpenSearchesTeamOpenSearchesOpenSearchConnectionNodesOpenSearchVersion struct { - // The full version string of the OpenSearch instance. This will be available after the instance is created. - Actual string `json:"actual"` +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssueWorkloadJob) implementsGraphQLInterfaceGetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssueWorkload() { } -// GetActual returns GetAllOpenSearchesTeamOpenSearchesOpenSearchConnectionNodesOpenSearchVersion.Actual, and is useful for accessing the field via an interface. -func (v *GetAllOpenSearchesTeamOpenSearchesOpenSearchConnectionNodesOpenSearchVersion) GetActual() string { - return v.Actual -} +func __unmarshalGetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssueWorkload(b []byte, v *GetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssueWorkload) error { + if string(b) == "null" { + return nil + } -// GetAllSecretsResponse is returned by GetAllSecrets on success. -type GetAllSecretsResponse struct { - // Get a team by its slug. - Team GetAllSecretsTeam `json:"team"` + var tn struct { + TypeName string `json:"__typename"` + } + err := json.Unmarshal(b, &tn) + if err != nil { + return err + } + + switch tn.TypeName { + case "Application": + *v = new(GetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssueWorkloadApplication) + return json.Unmarshal(b, *v) + case "Job": + *v = new(GetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssueWorkloadJob) + return json.Unmarshal(b, *v) + case "": + return fmt.Errorf( + "response was missing Workload.__typename") + default: + return fmt.Errorf( + `unexpected concrete type for GetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssueWorkload: "%v"`, tn.TypeName) + } } -// GetTeam returns GetAllSecretsResponse.Team, and is useful for accessing the field via an interface. -func (v *GetAllSecretsResponse) GetTeam() GetAllSecretsTeam { return v.Team } +func __marshalGetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssueWorkload(v *GetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssueWorkload) ([]byte, error) { -// GetAllSecretsTeam includes the requested fields of the GraphQL type Team. + var typename string + switch v := (*v).(type) { + case *GetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssueWorkloadApplication: + typename = "Application" + + result := struct { + TypeName string `json:"__typename"` + *GetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssueWorkloadApplication + }{typename, v} + return json.Marshal(result) + case *GetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssueWorkloadJob: + typename = "Job" + + result := struct { + TypeName string `json:"__typename"` + *GetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssueWorkloadJob + }{typename, v} + return json.Marshal(result) + case nil: + return []byte("null"), nil + default: + return nil, fmt.Errorf( + `unexpected concrete type for GetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssueWorkload: "%T"`, v) + } +} + +// GetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssueWorkloadApplication includes the requested fields of the GraphQL type Application. // The GraphQL type's documentation follows. // -// The team type represents a team on the [Nais platform](https://nais.io/). +// An application lets you run one or more instances of a container image on the [Nais platform](https://nais.io/). // -// Learn more about what Nais teams are and what they can be used for in the [official Nais documentation](https://docs.nais.io/explanations/team/). -// -// External resources (e.g. entraIDGroupID, gitHubTeamSlug) are managed by [Nais API reconcilers](https://github.com/nais/api-reconcilers). -type GetAllSecretsTeam struct { - // Secrets owned by the team. - Secrets GetAllSecretsTeamSecretsSecretConnection `json:"secrets"` +// Learn more about how to create and configure your applications in the [Nais documentation](https://docs.nais.io/workloads/application/). +type GetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssueWorkloadApplication struct { + // The name of the workload. + Name string `json:"name"` + Typename string `json:"__typename"` } -// GetSecrets returns GetAllSecretsTeam.Secrets, and is useful for accessing the field via an interface. -func (v *GetAllSecretsTeam) GetSecrets() GetAllSecretsTeamSecretsSecretConnection { return v.Secrets } - -// GetAllSecretsTeamSecretsSecretConnection includes the requested fields of the GraphQL type SecretConnection. -type GetAllSecretsTeamSecretsSecretConnection struct { - // List of nodes. - Nodes []GetAllSecretsTeamSecretsSecretConnectionNodesSecret `json:"nodes"` +// GetName returns GetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssueWorkloadApplication.Name, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssueWorkloadApplication) GetName() string { + return v.Name } -// GetNodes returns GetAllSecretsTeamSecretsSecretConnection.Nodes, and is useful for accessing the field via an interface. -func (v *GetAllSecretsTeamSecretsSecretConnection) GetNodes() []GetAllSecretsTeamSecretsSecretConnectionNodesSecret { - return v.Nodes +// GetTypename returns GetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssueWorkloadApplication.Typename, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssueWorkloadApplication) GetTypename() string { + return v.Typename } -// GetAllSecretsTeamSecretsSecretConnectionNodesSecret includes the requested fields of the GraphQL type Secret. -// The GraphQL type's documentation follows. -// -// A secret is a collection of secret values. -type GetAllSecretsTeamSecretsSecretConnectionNodesSecret struct { - // The name of the secret. - Name string `json:"name"` - // The names of the keys in the secret. This does not require elevation to access. - Keys []string `json:"keys"` - // The environment the secret exists in. - TeamEnvironment GetAllSecretsTeamSecretsSecretConnectionNodesSecretTeamEnvironment `json:"teamEnvironment"` - // Workloads that use the secret. - Workloads GetAllSecretsTeamSecretsSecretConnectionNodesSecretWorkloadsWorkloadConnection `json:"workloads"` - // Last time the secret was modified. - LastModifiedAt time.Time `json:"lastModifiedAt"` - // User who last modified the secret. - LastModifiedBy GetAllSecretsTeamSecretsSecretConnectionNodesSecretLastModifiedByUser `json:"lastModifiedBy"` +// GetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssueWorkloadJob includes the requested fields of the GraphQL type Job. +type GetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssueWorkloadJob struct { + // The name of the workload. + Name string `json:"name"` + Typename string `json:"__typename"` } -// GetName returns GetAllSecretsTeamSecretsSecretConnectionNodesSecret.Name, and is useful for accessing the field via an interface. -func (v *GetAllSecretsTeamSecretsSecretConnectionNodesSecret) GetName() string { return v.Name } - -// GetKeys returns GetAllSecretsTeamSecretsSecretConnectionNodesSecret.Keys, and is useful for accessing the field via an interface. -func (v *GetAllSecretsTeamSecretsSecretConnectionNodesSecret) GetKeys() []string { return v.Keys } - -// GetTeamEnvironment returns GetAllSecretsTeamSecretsSecretConnectionNodesSecret.TeamEnvironment, and is useful for accessing the field via an interface. -func (v *GetAllSecretsTeamSecretsSecretConnectionNodesSecret) GetTeamEnvironment() GetAllSecretsTeamSecretsSecretConnectionNodesSecretTeamEnvironment { - return v.TeamEnvironment +// GetName returns GetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssueWorkloadJob.Name, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssueWorkloadJob) GetName() string { + return v.Name } -// GetWorkloads returns GetAllSecretsTeamSecretsSecretConnectionNodesSecret.Workloads, and is useful for accessing the field via an interface. -func (v *GetAllSecretsTeamSecretsSecretConnectionNodesSecret) GetWorkloads() GetAllSecretsTeamSecretsSecretConnectionNodesSecretWorkloadsWorkloadConnection { - return v.Workloads +// GetTypename returns GetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssueWorkloadJob.Typename, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssueWorkloadJob) GetTypename() string { + return v.Typename } -// GetLastModifiedAt returns GetAllSecretsTeamSecretsSecretConnectionNodesSecret.LastModifiedAt, and is useful for accessing the field via an interface. -func (v *GetAllSecretsTeamSecretsSecretConnectionNodesSecret) GetLastModifiedAt() time.Time { - return v.LastModifiedAt +// GetAllIssuesTeamIssuesIssueConnectionNodesOpenSearchIssue includes the requested fields of the GraphQL type OpenSearchIssue. +type GetAllIssuesTeamIssuesIssueConnectionNodesOpenSearchIssue struct { + Typename string `json:"__typename"` + TeamEnvironment GetAllIssuesTeamIssuesIssueConnectionNodesIssueTeamEnvironment `json:"teamEnvironment"` + Id string `json:"id"` + Severity Severity `json:"severity"` + Message string `json:"message"` + OpenSearch GetAllIssuesTeamIssuesIssueConnectionNodesOpenSearchIssueOpenSearch `json:"openSearch"` } -// GetLastModifiedBy returns GetAllSecretsTeamSecretsSecretConnectionNodesSecret.LastModifiedBy, and is useful for accessing the field via an interface. -func (v *GetAllSecretsTeamSecretsSecretConnectionNodesSecret) GetLastModifiedBy() GetAllSecretsTeamSecretsSecretConnectionNodesSecretLastModifiedByUser { - return v.LastModifiedBy +// GetTypename returns GetAllIssuesTeamIssuesIssueConnectionNodesOpenSearchIssue.Typename, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesOpenSearchIssue) GetTypename() string { + return v.Typename } -// GetAllSecretsTeamSecretsSecretConnectionNodesSecretLastModifiedByUser includes the requested fields of the GraphQL type User. -// The GraphQL type's documentation follows. -// -// The user type represents a user of the Nais platform and the Nais GraphQL API. -type GetAllSecretsTeamSecretsSecretConnectionNodesSecretLastModifiedByUser struct { - // The email address of the user. - Email string `json:"email"` +// GetTeamEnvironment returns GetAllIssuesTeamIssuesIssueConnectionNodesOpenSearchIssue.TeamEnvironment, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesOpenSearchIssue) GetTeamEnvironment() GetAllIssuesTeamIssuesIssueConnectionNodesIssueTeamEnvironment { + return v.TeamEnvironment } -// GetEmail returns GetAllSecretsTeamSecretsSecretConnectionNodesSecretLastModifiedByUser.Email, and is useful for accessing the field via an interface. -func (v *GetAllSecretsTeamSecretsSecretConnectionNodesSecretLastModifiedByUser) GetEmail() string { - return v.Email +// GetId returns GetAllIssuesTeamIssuesIssueConnectionNodesOpenSearchIssue.Id, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesOpenSearchIssue) GetId() string { return v.Id } + +// GetSeverity returns GetAllIssuesTeamIssuesIssueConnectionNodesOpenSearchIssue.Severity, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesOpenSearchIssue) GetSeverity() Severity { + return v.Severity } -// GetAllSecretsTeamSecretsSecretConnectionNodesSecretTeamEnvironment includes the requested fields of the GraphQL type TeamEnvironment. -type GetAllSecretsTeamSecretsSecretConnectionNodesSecretTeamEnvironment struct { - // Get the environment. - Environment GetAllSecretsTeamSecretsSecretConnectionNodesSecretTeamEnvironmentEnvironment `json:"environment"` +// GetMessage returns GetAllIssuesTeamIssuesIssueConnectionNodesOpenSearchIssue.Message, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesOpenSearchIssue) GetMessage() string { + return v.Message } -// GetEnvironment returns GetAllSecretsTeamSecretsSecretConnectionNodesSecretTeamEnvironment.Environment, and is useful for accessing the field via an interface. -func (v *GetAllSecretsTeamSecretsSecretConnectionNodesSecretTeamEnvironment) GetEnvironment() GetAllSecretsTeamSecretsSecretConnectionNodesSecretTeamEnvironmentEnvironment { - return v.Environment +// GetOpenSearch returns GetAllIssuesTeamIssuesIssueConnectionNodesOpenSearchIssue.OpenSearch, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesOpenSearchIssue) GetOpenSearch() GetAllIssuesTeamIssuesIssueConnectionNodesOpenSearchIssueOpenSearch { + return v.OpenSearch } -// GetAllSecretsTeamSecretsSecretConnectionNodesSecretTeamEnvironmentEnvironment includes the requested fields of the GraphQL type Environment. -// The GraphQL type's documentation follows. -// -// An environment represents a runtime environment for workloads. -// -// Learn more in the [official Nais documentation](https://docs.nais.io/workloads/explanations/environment/). -type GetAllSecretsTeamSecretsSecretConnectionNodesSecretTeamEnvironmentEnvironment struct { - // Unique name of the environment. - Name string `json:"name"` +// GetAllIssuesTeamIssuesIssueConnectionNodesOpenSearchIssueOpenSearch includes the requested fields of the GraphQL type OpenSearch. +type GetAllIssuesTeamIssuesIssueConnectionNodesOpenSearchIssueOpenSearch struct { + Name string `json:"name"` + Typename string `json:"__typename"` } -// GetName returns GetAllSecretsTeamSecretsSecretConnectionNodesSecretTeamEnvironmentEnvironment.Name, and is useful for accessing the field via an interface. -func (v *GetAllSecretsTeamSecretsSecretConnectionNodesSecretTeamEnvironmentEnvironment) GetName() string { +// GetName returns GetAllIssuesTeamIssuesIssueConnectionNodesOpenSearchIssueOpenSearch.Name, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesOpenSearchIssueOpenSearch) GetName() string { return v.Name } -// GetAllSecretsTeamSecretsSecretConnectionNodesSecretWorkloadsWorkloadConnection includes the requested fields of the GraphQL type WorkloadConnection. -// The GraphQL type's documentation follows. -// -// Workload connection. -type GetAllSecretsTeamSecretsSecretConnectionNodesSecretWorkloadsWorkloadConnection struct { - // List of nodes. - Nodes []GetAllSecretsTeamSecretsSecretConnectionNodesSecretWorkloadsWorkloadConnectionNodesWorkload `json:"-"` +// GetTypename returns GetAllIssuesTeamIssuesIssueConnectionNodesOpenSearchIssueOpenSearch.Typename, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesOpenSearchIssueOpenSearch) GetTypename() string { + return v.Typename } -// GetNodes returns GetAllSecretsTeamSecretsSecretConnectionNodesSecretWorkloadsWorkloadConnection.Nodes, and is useful for accessing the field via an interface. -func (v *GetAllSecretsTeamSecretsSecretConnectionNodesSecretWorkloadsWorkloadConnection) GetNodes() []GetAllSecretsTeamSecretsSecretConnectionNodesSecretWorkloadsWorkloadConnectionNodesWorkload { - return v.Nodes +// GetAllIssuesTeamIssuesIssueConnectionNodesSqlInstanceStateIssue includes the requested fields of the GraphQL type SqlInstanceStateIssue. +type GetAllIssuesTeamIssuesIssueConnectionNodesSqlInstanceStateIssue struct { + Typename string `json:"__typename"` + TeamEnvironment GetAllIssuesTeamIssuesIssueConnectionNodesIssueTeamEnvironment `json:"teamEnvironment"` + Id string `json:"id"` + Severity Severity `json:"severity"` + Message string `json:"message"` + SqlInstance GetAllIssuesTeamIssuesIssueConnectionNodesSqlInstanceStateIssueSqlInstance `json:"sqlInstance"` } -func (v *GetAllSecretsTeamSecretsSecretConnectionNodesSecretWorkloadsWorkloadConnection) UnmarshalJSON(b []byte) error { - - if string(b) == "null" { - return nil - } - - var firstPass struct { - *GetAllSecretsTeamSecretsSecretConnectionNodesSecretWorkloadsWorkloadConnection - Nodes []json.RawMessage `json:"nodes"` - graphql.NoUnmarshalJSON - } - firstPass.GetAllSecretsTeamSecretsSecretConnectionNodesSecretWorkloadsWorkloadConnection = v - - err := json.Unmarshal(b, &firstPass) - if err != nil { - return err - } - - { - dst := &v.Nodes - src := firstPass.Nodes - *dst = make( - []GetAllSecretsTeamSecretsSecretConnectionNodesSecretWorkloadsWorkloadConnectionNodesWorkload, - len(src)) - for i, src := range src { - dst := &(*dst)[i] - if len(src) != 0 && string(src) != "null" { - err = __unmarshalGetAllSecretsTeamSecretsSecretConnectionNodesSecretWorkloadsWorkloadConnectionNodesWorkload( - src, dst) - if err != nil { - return fmt.Errorf( - "unable to unmarshal GetAllSecretsTeamSecretsSecretConnectionNodesSecretWorkloadsWorkloadConnection.Nodes: %w", err) - } - } - } - } - return nil +// GetTypename returns GetAllIssuesTeamIssuesIssueConnectionNodesSqlInstanceStateIssue.Typename, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesSqlInstanceStateIssue) GetTypename() string { + return v.Typename } -type __premarshalGetAllSecretsTeamSecretsSecretConnectionNodesSecretWorkloadsWorkloadConnection struct { - Nodes []json.RawMessage `json:"nodes"` +// GetTeamEnvironment returns GetAllIssuesTeamIssuesIssueConnectionNodesSqlInstanceStateIssue.TeamEnvironment, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesSqlInstanceStateIssue) GetTeamEnvironment() GetAllIssuesTeamIssuesIssueConnectionNodesIssueTeamEnvironment { + return v.TeamEnvironment } -func (v *GetAllSecretsTeamSecretsSecretConnectionNodesSecretWorkloadsWorkloadConnection) MarshalJSON() ([]byte, error) { - premarshaled, err := v.__premarshalJSON() - if err != nil { - return nil, err - } - return json.Marshal(premarshaled) -} +// GetId returns GetAllIssuesTeamIssuesIssueConnectionNodesSqlInstanceStateIssue.Id, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesSqlInstanceStateIssue) GetId() string { return v.Id } -func (v *GetAllSecretsTeamSecretsSecretConnectionNodesSecretWorkloadsWorkloadConnection) __premarshalJSON() (*__premarshalGetAllSecretsTeamSecretsSecretConnectionNodesSecretWorkloadsWorkloadConnection, error) { - var retval __premarshalGetAllSecretsTeamSecretsSecretConnectionNodesSecretWorkloadsWorkloadConnection +// GetSeverity returns GetAllIssuesTeamIssuesIssueConnectionNodesSqlInstanceStateIssue.Severity, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesSqlInstanceStateIssue) GetSeverity() Severity { + return v.Severity +} - { +// GetMessage returns GetAllIssuesTeamIssuesIssueConnectionNodesSqlInstanceStateIssue.Message, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesSqlInstanceStateIssue) GetMessage() string { + return v.Message +} - dst := &retval.Nodes - src := v.Nodes - *dst = make( - []json.RawMessage, - len(src)) - for i, src := range src { - dst := &(*dst)[i] - var err error - *dst, err = __marshalGetAllSecretsTeamSecretsSecretConnectionNodesSecretWorkloadsWorkloadConnectionNodesWorkload( - &src) - if err != nil { - return nil, fmt.Errorf( - "unable to marshal GetAllSecretsTeamSecretsSecretConnectionNodesSecretWorkloadsWorkloadConnection.Nodes: %w", err) - } - } - } - return &retval, nil +// GetSqlInstance returns GetAllIssuesTeamIssuesIssueConnectionNodesSqlInstanceStateIssue.SqlInstance, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesSqlInstanceStateIssue) GetSqlInstance() GetAllIssuesTeamIssuesIssueConnectionNodesSqlInstanceStateIssueSqlInstance { + return v.SqlInstance } -// GetAllSecretsTeamSecretsSecretConnectionNodesSecretWorkloadsWorkloadConnectionNodesApplication includes the requested fields of the GraphQL type Application. -// The GraphQL type's documentation follows. -// -// An application lets you run one or more instances of a container image on the [Nais platform](https://nais.io/). -// -// Learn more about how to create and configure your applications in the [Nais documentation](https://docs.nais.io/workloads/application/). -type GetAllSecretsTeamSecretsSecretConnectionNodesSecretWorkloadsWorkloadConnectionNodesApplication struct { - // Interface for workloads. +// GetAllIssuesTeamIssuesIssueConnectionNodesSqlInstanceStateIssueSqlInstance includes the requested fields of the GraphQL type SqlInstance. +type GetAllIssuesTeamIssuesIssueConnectionNodesSqlInstanceStateIssueSqlInstance struct { Name string `json:"name"` Typename string `json:"__typename"` } -// GetName returns GetAllSecretsTeamSecretsSecretConnectionNodesSecretWorkloadsWorkloadConnectionNodesApplication.Name, and is useful for accessing the field via an interface. -func (v *GetAllSecretsTeamSecretsSecretConnectionNodesSecretWorkloadsWorkloadConnectionNodesApplication) GetName() string { +// GetName returns GetAllIssuesTeamIssuesIssueConnectionNodesSqlInstanceStateIssueSqlInstance.Name, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesSqlInstanceStateIssueSqlInstance) GetName() string { return v.Name } -// GetTypename returns GetAllSecretsTeamSecretsSecretConnectionNodesSecretWorkloadsWorkloadConnectionNodesApplication.Typename, and is useful for accessing the field via an interface. -func (v *GetAllSecretsTeamSecretsSecretConnectionNodesSecretWorkloadsWorkloadConnectionNodesApplication) GetTypename() string { +// GetTypename returns GetAllIssuesTeamIssuesIssueConnectionNodesSqlInstanceStateIssueSqlInstance.Typename, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesSqlInstanceStateIssueSqlInstance) GetTypename() string { return v.Typename } -// GetAllSecretsTeamSecretsSecretConnectionNodesSecretWorkloadsWorkloadConnectionNodesJob includes the requested fields of the GraphQL type Job. -type GetAllSecretsTeamSecretsSecretConnectionNodesSecretWorkloadsWorkloadConnectionNodesJob struct { - // Interface for workloads. - Name string `json:"name"` - Typename string `json:"__typename"` -} - -// GetName returns GetAllSecretsTeamSecretsSecretConnectionNodesSecretWorkloadsWorkloadConnectionNodesJob.Name, and is useful for accessing the field via an interface. -func (v *GetAllSecretsTeamSecretsSecretConnectionNodesSecretWorkloadsWorkloadConnectionNodesJob) GetName() string { - return v.Name +// GetAllIssuesTeamIssuesIssueConnectionNodesSqlInstanceVersionIssue includes the requested fields of the GraphQL type SqlInstanceVersionIssue. +type GetAllIssuesTeamIssuesIssueConnectionNodesSqlInstanceVersionIssue struct { + Typename string `json:"__typename"` + TeamEnvironment GetAllIssuesTeamIssuesIssueConnectionNodesIssueTeamEnvironment `json:"teamEnvironment"` + Id string `json:"id"` + Severity Severity `json:"severity"` + Message string `json:"message"` + SqlInstance GetAllIssuesTeamIssuesIssueConnectionNodesSqlInstanceVersionIssueSqlInstance `json:"sqlInstance"` } -// GetTypename returns GetAllSecretsTeamSecretsSecretConnectionNodesSecretWorkloadsWorkloadConnectionNodesJob.Typename, and is useful for accessing the field via an interface. -func (v *GetAllSecretsTeamSecretsSecretConnectionNodesSecretWorkloadsWorkloadConnectionNodesJob) GetTypename() string { +// GetTypename returns GetAllIssuesTeamIssuesIssueConnectionNodesSqlInstanceVersionIssue.Typename, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesSqlInstanceVersionIssue) GetTypename() string { return v.Typename } -// GetAllSecretsTeamSecretsSecretConnectionNodesSecretWorkloadsWorkloadConnectionNodesWorkload includes the requested fields of the GraphQL interface Workload. -// -// GetAllSecretsTeamSecretsSecretConnectionNodesSecretWorkloadsWorkloadConnectionNodesWorkload is implemented by the following types: -// GetAllSecretsTeamSecretsSecretConnectionNodesSecretWorkloadsWorkloadConnectionNodesApplication -// GetAllSecretsTeamSecretsSecretConnectionNodesSecretWorkloadsWorkloadConnectionNodesJob -// The GraphQL type's documentation follows. -// -// Interface for workloads. -type GetAllSecretsTeamSecretsSecretConnectionNodesSecretWorkloadsWorkloadConnectionNodesWorkload interface { - implementsGraphQLInterfaceGetAllSecretsTeamSecretsSecretConnectionNodesSecretWorkloadsWorkloadConnectionNodesWorkload() - // GetName returns the interface-field "name" from its implementation. - // The GraphQL interface field's documentation follows. - // - // Interface for workloads. - GetName() string - // GetTypename returns the receiver's concrete GraphQL type-name (see interface doc for possible values). - GetTypename() string +// GetTeamEnvironment returns GetAllIssuesTeamIssuesIssueConnectionNodesSqlInstanceVersionIssue.TeamEnvironment, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesSqlInstanceVersionIssue) GetTeamEnvironment() GetAllIssuesTeamIssuesIssueConnectionNodesIssueTeamEnvironment { + return v.TeamEnvironment } -func (v *GetAllSecretsTeamSecretsSecretConnectionNodesSecretWorkloadsWorkloadConnectionNodesApplication) implementsGraphQLInterfaceGetAllSecretsTeamSecretsSecretConnectionNodesSecretWorkloadsWorkloadConnectionNodesWorkload() { -} -func (v *GetAllSecretsTeamSecretsSecretConnectionNodesSecretWorkloadsWorkloadConnectionNodesJob) implementsGraphQLInterfaceGetAllSecretsTeamSecretsSecretConnectionNodesSecretWorkloadsWorkloadConnectionNodesWorkload() { +// GetId returns GetAllIssuesTeamIssuesIssueConnectionNodesSqlInstanceVersionIssue.Id, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesSqlInstanceVersionIssue) GetId() string { + return v.Id } -func __unmarshalGetAllSecretsTeamSecretsSecretConnectionNodesSecretWorkloadsWorkloadConnectionNodesWorkload(b []byte, v *GetAllSecretsTeamSecretsSecretConnectionNodesSecretWorkloadsWorkloadConnectionNodesWorkload) error { - if string(b) == "null" { - return nil - } - - var tn struct { - TypeName string `json:"__typename"` - } - err := json.Unmarshal(b, &tn) - if err != nil { - return err - } - - switch tn.TypeName { - case "Application": - *v = new(GetAllSecretsTeamSecretsSecretConnectionNodesSecretWorkloadsWorkloadConnectionNodesApplication) - return json.Unmarshal(b, *v) - case "Job": - *v = new(GetAllSecretsTeamSecretsSecretConnectionNodesSecretWorkloadsWorkloadConnectionNodesJob) - return json.Unmarshal(b, *v) - case "": - return fmt.Errorf( - "response was missing Workload.__typename") - default: - return fmt.Errorf( - `unexpected concrete type for GetAllSecretsTeamSecretsSecretConnectionNodesSecretWorkloadsWorkloadConnectionNodesWorkload: "%v"`, tn.TypeName) - } +// GetSeverity returns GetAllIssuesTeamIssuesIssueConnectionNodesSqlInstanceVersionIssue.Severity, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesSqlInstanceVersionIssue) GetSeverity() Severity { + return v.Severity } -func __marshalGetAllSecretsTeamSecretsSecretConnectionNodesSecretWorkloadsWorkloadConnectionNodesWorkload(v *GetAllSecretsTeamSecretsSecretConnectionNodesSecretWorkloadsWorkloadConnectionNodesWorkload) ([]byte, error) { - - var typename string - switch v := (*v).(type) { - case *GetAllSecretsTeamSecretsSecretConnectionNodesSecretWorkloadsWorkloadConnectionNodesApplication: - typename = "Application" - - result := struct { - TypeName string `json:"__typename"` - *GetAllSecretsTeamSecretsSecretConnectionNodesSecretWorkloadsWorkloadConnectionNodesApplication - }{typename, v} - return json.Marshal(result) - case *GetAllSecretsTeamSecretsSecretConnectionNodesSecretWorkloadsWorkloadConnectionNodesJob: - typename = "Job" - - result := struct { - TypeName string `json:"__typename"` - *GetAllSecretsTeamSecretsSecretConnectionNodesSecretWorkloadsWorkloadConnectionNodesJob - }{typename, v} - return json.Marshal(result) - case nil: - return []byte("null"), nil - default: - return nil, fmt.Errorf( - `unexpected concrete type for GetAllSecretsTeamSecretsSecretConnectionNodesSecretWorkloadsWorkloadConnectionNodesWorkload: "%T"`, v) - } +// GetMessage returns GetAllIssuesTeamIssuesIssueConnectionNodesSqlInstanceVersionIssue.Message, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesSqlInstanceVersionIssue) GetMessage() string { + return v.Message } -// GetAllValkeysResponse is returned by GetAllValkeys on success. -type GetAllValkeysResponse struct { - // Get a team by its slug. - Team GetAllValkeysTeam `json:"team"` +// GetSqlInstance returns GetAllIssuesTeamIssuesIssueConnectionNodesSqlInstanceVersionIssue.SqlInstance, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesSqlInstanceVersionIssue) GetSqlInstance() GetAllIssuesTeamIssuesIssueConnectionNodesSqlInstanceVersionIssueSqlInstance { + return v.SqlInstance } -// GetTeam returns GetAllValkeysResponse.Team, and is useful for accessing the field via an interface. -func (v *GetAllValkeysResponse) GetTeam() GetAllValkeysTeam { return v.Team } - -// GetAllValkeysTeam includes the requested fields of the GraphQL type Team. -// The GraphQL type's documentation follows. -// -// The team type represents a team on the [Nais platform](https://nais.io/). -// -// Learn more about what Nais teams are and what they can be used for in the [official Nais documentation](https://docs.nais.io/explanations/team/). -// -// External resources (e.g. entraIDGroupID, gitHubTeamSlug) are managed by [Nais API reconcilers](https://github.com/nais/api-reconcilers). -type GetAllValkeysTeam struct { - // Valkey instances owned by the team. - Valkeys GetAllValkeysTeamValkeysValkeyConnection `json:"valkeys"` +// GetAllIssuesTeamIssuesIssueConnectionNodesSqlInstanceVersionIssueSqlInstance includes the requested fields of the GraphQL type SqlInstance. +type GetAllIssuesTeamIssuesIssueConnectionNodesSqlInstanceVersionIssueSqlInstance struct { + Name string `json:"name"` + Typename string `json:"__typename"` } -// GetValkeys returns GetAllValkeysTeam.Valkeys, and is useful for accessing the field via an interface. -func (v *GetAllValkeysTeam) GetValkeys() GetAllValkeysTeamValkeysValkeyConnection { return v.Valkeys } - -// GetAllValkeysTeamValkeysValkeyConnection includes the requested fields of the GraphQL type ValkeyConnection. -type GetAllValkeysTeamValkeysValkeyConnection struct { - Nodes []GetAllValkeysTeamValkeysValkeyConnectionNodesValkey `json:"nodes"` +// GetName returns GetAllIssuesTeamIssuesIssueConnectionNodesSqlInstanceVersionIssueSqlInstance.Name, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesSqlInstanceVersionIssueSqlInstance) GetName() string { + return v.Name } -// GetNodes returns GetAllValkeysTeamValkeysValkeyConnection.Nodes, and is useful for accessing the field via an interface. -func (v *GetAllValkeysTeamValkeysValkeyConnection) GetNodes() []GetAllValkeysTeamValkeysValkeyConnectionNodesValkey { - return v.Nodes +// GetTypename returns GetAllIssuesTeamIssuesIssueConnectionNodesSqlInstanceVersionIssueSqlInstance.Typename, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesSqlInstanceVersionIssueSqlInstance) GetTypename() string { + return v.Typename } -// GetAllValkeysTeamValkeysValkeyConnectionNodesValkey includes the requested fields of the GraphQL type Valkey. -type GetAllValkeysTeamValkeysValkeyConnectionNodesValkey struct { - Name string `json:"name"` - // Available memory for the Valkey instance. - Memory ValkeyMemory `json:"memory"` - // Availability tier for the Valkey instance. - Tier ValkeyTier `json:"tier"` - // Maximum memory policy for the Valkey instance. - MaxMemoryPolicy ValkeyMaxMemoryPolicy `json:"maxMemoryPolicy"` - State ValkeyState `json:"state"` - TeamEnvironment GetAllValkeysTeamValkeysValkeyConnectionNodesValkeyTeamEnvironment `json:"teamEnvironment"` - Access GetAllValkeysTeamValkeysValkeyConnectionNodesValkeyAccessValkeyAccessConnection `json:"access"` +// GetAllIssuesTeamIssuesIssueConnectionNodesUnleashReleaseChannelIssue includes the requested fields of the GraphQL type UnleashReleaseChannelIssue. +type GetAllIssuesTeamIssuesIssueConnectionNodesUnleashReleaseChannelIssue struct { + Typename string `json:"__typename"` + TeamEnvironment GetAllIssuesTeamIssuesIssueConnectionNodesIssueTeamEnvironment `json:"teamEnvironment"` + Id string `json:"id"` + Severity Severity `json:"severity"` + Message string `json:"message"` + Unleash GetAllIssuesTeamIssuesIssueConnectionNodesUnleashReleaseChannelIssueUnleashUnleashInstance `json:"unleash"` } -// GetName returns GetAllValkeysTeamValkeysValkeyConnectionNodesValkey.Name, and is useful for accessing the field via an interface. -func (v *GetAllValkeysTeamValkeysValkeyConnectionNodesValkey) GetName() string { return v.Name } - -// GetMemory returns GetAllValkeysTeamValkeysValkeyConnectionNodesValkey.Memory, and is useful for accessing the field via an interface. -func (v *GetAllValkeysTeamValkeysValkeyConnectionNodesValkey) GetMemory() ValkeyMemory { - return v.Memory +// GetTypename returns GetAllIssuesTeamIssuesIssueConnectionNodesUnleashReleaseChannelIssue.Typename, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesUnleashReleaseChannelIssue) GetTypename() string { + return v.Typename } -// GetTier returns GetAllValkeysTeamValkeysValkeyConnectionNodesValkey.Tier, and is useful for accessing the field via an interface. -func (v *GetAllValkeysTeamValkeysValkeyConnectionNodesValkey) GetTier() ValkeyTier { return v.Tier } - -// GetMaxMemoryPolicy returns GetAllValkeysTeamValkeysValkeyConnectionNodesValkey.MaxMemoryPolicy, and is useful for accessing the field via an interface. -func (v *GetAllValkeysTeamValkeysValkeyConnectionNodesValkey) GetMaxMemoryPolicy() ValkeyMaxMemoryPolicy { - return v.MaxMemoryPolicy +// GetTeamEnvironment returns GetAllIssuesTeamIssuesIssueConnectionNodesUnleashReleaseChannelIssue.TeamEnvironment, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesUnleashReleaseChannelIssue) GetTeamEnvironment() GetAllIssuesTeamIssuesIssueConnectionNodesIssueTeamEnvironment { + return v.TeamEnvironment } -// GetState returns GetAllValkeysTeamValkeysValkeyConnectionNodesValkey.State, and is useful for accessing the field via an interface. -func (v *GetAllValkeysTeamValkeysValkeyConnectionNodesValkey) GetState() ValkeyState { return v.State } +// GetId returns GetAllIssuesTeamIssuesIssueConnectionNodesUnleashReleaseChannelIssue.Id, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesUnleashReleaseChannelIssue) GetId() string { + return v.Id +} -// GetTeamEnvironment returns GetAllValkeysTeamValkeysValkeyConnectionNodesValkey.TeamEnvironment, and is useful for accessing the field via an interface. -func (v *GetAllValkeysTeamValkeysValkeyConnectionNodesValkey) GetTeamEnvironment() GetAllValkeysTeamValkeysValkeyConnectionNodesValkeyTeamEnvironment { - return v.TeamEnvironment +// GetSeverity returns GetAllIssuesTeamIssuesIssueConnectionNodesUnleashReleaseChannelIssue.Severity, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesUnleashReleaseChannelIssue) GetSeverity() Severity { + return v.Severity } -// GetAccess returns GetAllValkeysTeamValkeysValkeyConnectionNodesValkey.Access, and is useful for accessing the field via an interface. -func (v *GetAllValkeysTeamValkeysValkeyConnectionNodesValkey) GetAccess() GetAllValkeysTeamValkeysValkeyConnectionNodesValkeyAccessValkeyAccessConnection { - return v.Access +// GetMessage returns GetAllIssuesTeamIssuesIssueConnectionNodesUnleashReleaseChannelIssue.Message, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesUnleashReleaseChannelIssue) GetMessage() string { + return v.Message } -// GetAllValkeysTeamValkeysValkeyConnectionNodesValkeyAccessValkeyAccessConnection includes the requested fields of the GraphQL type ValkeyAccessConnection. -type GetAllValkeysTeamValkeysValkeyConnectionNodesValkeyAccessValkeyAccessConnection struct { - Edges []GetAllValkeysTeamValkeysValkeyConnectionNodesValkeyAccessValkeyAccessConnectionEdgesValkeyAccessEdge `json:"edges"` +// GetUnleash returns GetAllIssuesTeamIssuesIssueConnectionNodesUnleashReleaseChannelIssue.Unleash, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesUnleashReleaseChannelIssue) GetUnleash() GetAllIssuesTeamIssuesIssueConnectionNodesUnleashReleaseChannelIssueUnleashUnleashInstance { + return v.Unleash } -// GetEdges returns GetAllValkeysTeamValkeysValkeyConnectionNodesValkeyAccessValkeyAccessConnection.Edges, and is useful for accessing the field via an interface. -func (v *GetAllValkeysTeamValkeysValkeyConnectionNodesValkeyAccessValkeyAccessConnection) GetEdges() []GetAllValkeysTeamValkeysValkeyConnectionNodesValkeyAccessValkeyAccessConnectionEdgesValkeyAccessEdge { - return v.Edges +// GetAllIssuesTeamIssuesIssueConnectionNodesUnleashReleaseChannelIssueUnleashUnleashInstance includes the requested fields of the GraphQL type UnleashInstance. +type GetAllIssuesTeamIssuesIssueConnectionNodesUnleashReleaseChannelIssueUnleashUnleashInstance struct { + Name string `json:"name"` + Typename string `json:"__typename"` } -// GetAllValkeysTeamValkeysValkeyConnectionNodesValkeyAccessValkeyAccessConnectionEdgesValkeyAccessEdge includes the requested fields of the GraphQL type ValkeyAccessEdge. -type GetAllValkeysTeamValkeysValkeyConnectionNodesValkeyAccessValkeyAccessConnectionEdgesValkeyAccessEdge struct { - Node GetAllValkeysTeamValkeysValkeyConnectionNodesValkeyAccessValkeyAccessConnectionEdgesValkeyAccessEdgeNodeValkeyAccess `json:"node"` +// GetName returns GetAllIssuesTeamIssuesIssueConnectionNodesUnleashReleaseChannelIssueUnleashUnleashInstance.Name, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesUnleashReleaseChannelIssueUnleashUnleashInstance) GetName() string { + return v.Name } -// GetNode returns GetAllValkeysTeamValkeysValkeyConnectionNodesValkeyAccessValkeyAccessConnectionEdgesValkeyAccessEdge.Node, and is useful for accessing the field via an interface. -func (v *GetAllValkeysTeamValkeysValkeyConnectionNodesValkeyAccessValkeyAccessConnectionEdgesValkeyAccessEdge) GetNode() GetAllValkeysTeamValkeysValkeyConnectionNodesValkeyAccessValkeyAccessConnectionEdgesValkeyAccessEdgeNodeValkeyAccess { - return v.Node +// GetTypename returns GetAllIssuesTeamIssuesIssueConnectionNodesUnleashReleaseChannelIssueUnleashUnleashInstance.Typename, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesUnleashReleaseChannelIssueUnleashUnleashInstance) GetTypename() string { + return v.Typename } -// GetAllValkeysTeamValkeysValkeyConnectionNodesValkeyAccessValkeyAccessConnectionEdgesValkeyAccessEdgeNodeValkeyAccess includes the requested fields of the GraphQL type ValkeyAccess. -type GetAllValkeysTeamValkeysValkeyConnectionNodesValkeyAccessValkeyAccessConnectionEdgesValkeyAccessEdgeNodeValkeyAccess struct { - Access string `json:"access"` +// GetAllIssuesTeamIssuesIssueConnectionNodesValkeyIssue includes the requested fields of the GraphQL type ValkeyIssue. +type GetAllIssuesTeamIssuesIssueConnectionNodesValkeyIssue struct { + Typename string `json:"__typename"` + TeamEnvironment GetAllIssuesTeamIssuesIssueConnectionNodesIssueTeamEnvironment `json:"teamEnvironment"` + Id string `json:"id"` + Severity Severity `json:"severity"` + Message string `json:"message"` + Valkey GetAllIssuesTeamIssuesIssueConnectionNodesValkeyIssueValkey `json:"valkey"` } -// GetAccess returns GetAllValkeysTeamValkeysValkeyConnectionNodesValkeyAccessValkeyAccessConnectionEdgesValkeyAccessEdgeNodeValkeyAccess.Access, and is useful for accessing the field via an interface. -func (v *GetAllValkeysTeamValkeysValkeyConnectionNodesValkeyAccessValkeyAccessConnectionEdgesValkeyAccessEdgeNodeValkeyAccess) GetAccess() string { - return v.Access +// GetTypename returns GetAllIssuesTeamIssuesIssueConnectionNodesValkeyIssue.Typename, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesValkeyIssue) GetTypename() string { + return v.Typename } -// GetAllValkeysTeamValkeysValkeyConnectionNodesValkeyTeamEnvironment includes the requested fields of the GraphQL type TeamEnvironment. -type GetAllValkeysTeamValkeysValkeyConnectionNodesValkeyTeamEnvironment struct { - // Get the environment. - Environment GetAllValkeysTeamValkeysValkeyConnectionNodesValkeyTeamEnvironmentEnvironment `json:"environment"` +// GetTeamEnvironment returns GetAllIssuesTeamIssuesIssueConnectionNodesValkeyIssue.TeamEnvironment, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesValkeyIssue) GetTeamEnvironment() GetAllIssuesTeamIssuesIssueConnectionNodesIssueTeamEnvironment { + return v.TeamEnvironment } -// GetEnvironment returns GetAllValkeysTeamValkeysValkeyConnectionNodesValkeyTeamEnvironment.Environment, and is useful for accessing the field via an interface. -func (v *GetAllValkeysTeamValkeysValkeyConnectionNodesValkeyTeamEnvironment) GetEnvironment() GetAllValkeysTeamValkeysValkeyConnectionNodesValkeyTeamEnvironmentEnvironment { - return v.Environment +// GetId returns GetAllIssuesTeamIssuesIssueConnectionNodesValkeyIssue.Id, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesValkeyIssue) GetId() string { return v.Id } + +// GetSeverity returns GetAllIssuesTeamIssuesIssueConnectionNodesValkeyIssue.Severity, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesValkeyIssue) GetSeverity() Severity { + return v.Severity } -// GetAllValkeysTeamValkeysValkeyConnectionNodesValkeyTeamEnvironmentEnvironment includes the requested fields of the GraphQL type Environment. -// The GraphQL type's documentation follows. -// -// An environment represents a runtime environment for workloads. -// -// Learn more in the [official Nais documentation](https://docs.nais.io/workloads/explanations/environment/). -type GetAllValkeysTeamValkeysValkeyConnectionNodesValkeyTeamEnvironmentEnvironment struct { - // Unique name of the environment. - Name string `json:"name"` -} - -// GetName returns GetAllValkeysTeamValkeysValkeyConnectionNodesValkeyTeamEnvironmentEnvironment.Name, and is useful for accessing the field via an interface. -func (v *GetAllValkeysTeamValkeysValkeyConnectionNodesValkeyTeamEnvironmentEnvironment) GetName() string { - return v.Name -} - -// GetApplicationActivityResponse is returned by GetApplicationActivity on success. -type GetApplicationActivityResponse struct { - // Get a team by its slug. - Team GetApplicationActivityTeam `json:"team"` -} - -// GetTeam returns GetApplicationActivityResponse.Team, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityResponse) GetTeam() GetApplicationActivityTeam { return v.Team } +// GetMessage returns GetAllIssuesTeamIssuesIssueConnectionNodesValkeyIssue.Message, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesValkeyIssue) GetMessage() string { return v.Message } -// GetApplicationActivityTeam includes the requested fields of the GraphQL type Team. -// The GraphQL type's documentation follows. -// -// The team type represents a team on the [Nais platform](https://nais.io/). -// -// Learn more about what Nais teams are and what they can be used for in the [official Nais documentation](https://docs.nais.io/explanations/team/). -// -// External resources (e.g. entraIDGroupID, gitHubTeamSlug) are managed by [Nais API reconcilers](https://github.com/nais/api-reconcilers). -type GetApplicationActivityTeam struct { - // Nais applications owned by the team. - Applications GetApplicationActivityTeamApplicationsApplicationConnection `json:"applications"` +// GetValkey returns GetAllIssuesTeamIssuesIssueConnectionNodesValkeyIssue.Valkey, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesValkeyIssue) GetValkey() GetAllIssuesTeamIssuesIssueConnectionNodesValkeyIssueValkey { + return v.Valkey } -// GetApplications returns GetApplicationActivityTeam.Applications, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeam) GetApplications() GetApplicationActivityTeamApplicationsApplicationConnection { - return v.Applications +// GetAllIssuesTeamIssuesIssueConnectionNodesValkeyIssueValkey includes the requested fields of the GraphQL type Valkey. +type GetAllIssuesTeamIssuesIssueConnectionNodesValkeyIssueValkey struct { + Name string `json:"name"` + Typename string `json:"__typename"` } -// GetApplicationActivityTeamApplicationsApplicationConnection includes the requested fields of the GraphQL type ApplicationConnection. -// The GraphQL type's documentation follows. -// -// Application connection. -type GetApplicationActivityTeamApplicationsApplicationConnection struct { - // List of nodes. - Nodes []GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplication `json:"nodes"` -} +// GetName returns GetAllIssuesTeamIssuesIssueConnectionNodesValkeyIssueValkey.Name, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesValkeyIssueValkey) GetName() string { return v.Name } -// GetNodes returns GetApplicationActivityTeamApplicationsApplicationConnection.Nodes, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnection) GetNodes() []GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplication { - return v.Nodes +// GetTypename returns GetAllIssuesTeamIssuesIssueConnectionNodesValkeyIssueValkey.Typename, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesValkeyIssueValkey) GetTypename() string { + return v.Typename } -// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplication includes the requested fields of the GraphQL type Application. -// The GraphQL type's documentation follows. -// -// An application lets you run one or more instances of a container image on the [Nais platform](https://nais.io/). -// -// Learn more about how to create and configure your applications in the [Nais documentation](https://docs.nais.io/workloads/application/). -type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplication struct { - // The name of the application. - Name string `json:"name"` - // The team environment for the application. - TeamEnvironment GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationTeamEnvironment `json:"teamEnvironment"` - // Activity log associated with the application. - ActivityLog GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnection `json:"activityLog"` +// GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssue includes the requested fields of the GraphQL type VulnerableImageIssue. +type GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssue struct { + Typename string `json:"__typename"` + TeamEnvironment GetAllIssuesTeamIssuesIssueConnectionNodesIssueTeamEnvironment `json:"teamEnvironment"` + Id string `json:"id"` + Severity Severity `json:"severity"` + Message string `json:"message"` + Workload GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssueWorkload `json:"-"` } -// GetName returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplication.Name, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplication) GetName() string { - return v.Name +// GetTypename returns GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssue.Typename, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssue) GetTypename() string { + return v.Typename } -// GetTeamEnvironment returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplication.TeamEnvironment, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplication) GetTeamEnvironment() GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationTeamEnvironment { +// GetTeamEnvironment returns GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssue.TeamEnvironment, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssue) GetTeamEnvironment() GetAllIssuesTeamIssuesIssueConnectionNodesIssueTeamEnvironment { return v.TeamEnvironment } -// GetActivityLog returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplication.ActivityLog, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplication) GetActivityLog() GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnection { - return v.ActivityLog +// GetId returns GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssue.Id, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssue) GetId() string { return v.Id } + +// GetSeverity returns GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssue.Severity, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssue) GetSeverity() Severity { + return v.Severity } -// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnection includes the requested fields of the GraphQL type ActivityLogEntryConnection. -// The GraphQL type's documentation follows. -// -// Activity log connection. -type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnection struct { - // List of nodes. - Nodes []GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry `json:"-"` +// GetMessage returns GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssue.Message, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssue) GetMessage() string { + return v.Message } -// GetNodes returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnection.Nodes, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnection) GetNodes() []GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry { - return v.Nodes +// GetWorkload returns GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssue.Workload, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssue) GetWorkload() GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssueWorkload { + return v.Workload } -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnection) UnmarshalJSON(b []byte) error { +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssue) UnmarshalJSON(b []byte) error { if string(b) == "null" { return nil } var firstPass struct { - *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnection - Nodes []json.RawMessage `json:"nodes"` + *GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssue + Workload json.RawMessage `json:"workload"` graphql.NoUnmarshalJSON } - firstPass.GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnection = v + firstPass.GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssue = v err := json.Unmarshal(b, &firstPass) if err != nil { @@ -4475,31 +4016,35 @@ func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplica } { - dst := &v.Nodes - src := firstPass.Nodes - *dst = make( - []GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry, - len(src)) - for i, src := range src { - dst := &(*dst)[i] - if len(src) != 0 && string(src) != "null" { - err = __unmarshalGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry( - src, dst) - if err != nil { - return fmt.Errorf( - "unable to unmarshal GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnection.Nodes: %w", err) - } + dst := &v.Workload + src := firstPass.Workload + if len(src) != 0 && string(src) != "null" { + err = __unmarshalGetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssueWorkload( + src, dst) + if err != nil { + return fmt.Errorf( + "unable to unmarshal GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssue.Workload: %w", err) } } } return nil } -type __premarshalGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnection struct { - Nodes []json.RawMessage `json:"nodes"` +type __premarshalGetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssue struct { + Typename string `json:"__typename"` + + TeamEnvironment GetAllIssuesTeamIssuesIssueConnectionNodesIssueTeamEnvironment `json:"teamEnvironment"` + + Id string `json:"id"` + + Severity Severity `json:"severity"` + + Message string `json:"message"` + + Workload json.RawMessage `json:"workload"` } -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnection) MarshalJSON() ([]byte, error) { +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssue) MarshalJSON() ([]byte, error) { premarshaled, err := v.__premarshalJSON() if err != nil { return nil, err @@ -4507,3573 +4052,7825 @@ func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplica return json.Marshal(premarshaled) } -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnection) __premarshalJSON() (*__premarshalGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnection, error) { - var retval __premarshalGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnection +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssue) __premarshalJSON() (*__premarshalGetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssue, error) { + var retval __premarshalGetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssue + retval.Typename = v.Typename + retval.TeamEnvironment = v.TeamEnvironment + retval.Id = v.Id + retval.Severity = v.Severity + retval.Message = v.Message { - dst := &retval.Nodes - src := v.Nodes - *dst = make( - []json.RawMessage, - len(src)) - for i, src := range src { - dst := &(*dst)[i] - var err error - *dst, err = __marshalGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry( - &src) - if err != nil { - return nil, fmt.Errorf( - "unable to marshal GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnection.Nodes: %w", err) - } + dst := &retval.Workload + src := v.Workload + var err error + *dst, err = __marshalGetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssueWorkload( + &src) + if err != nil { + return nil, fmt.Errorf( + "unable to marshal GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssue.Workload: %w", err) } } return &retval, nil } -// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry includes the requested fields of the GraphQL interface ActivityLogEntry. +// GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssueWorkload includes the requested fields of the GraphQL interface Workload. // -// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry is implemented by the following types: -// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesApplicationDeletedActivityLogEntry -// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesApplicationRestartedActivityLogEntry -// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesApplicationScaledActivityLogEntry -// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry -// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesCredentialsActivityLogEntry -// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesDeploymentActivityLogEntry -// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesJobDeletedActivityLogEntry -// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesJobRunDeletedActivityLogEntry -// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesJobTriggeredActivityLogEntry -// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesOpenSearchCreatedActivityLogEntry -// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesOpenSearchDeletedActivityLogEntry -// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesOpenSearchUpdatedActivityLogEntry -// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesPostgresGrantAccessActivityLogEntry -// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesReconcilerConfiguredActivityLogEntry -// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesReconcilerDisabledActivityLogEntry -// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesReconcilerEnabledActivityLogEntry -// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRepositoryAddedActivityLogEntry -// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRepositoryRemovedActivityLogEntry -// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRoleAssignedToServiceAccountActivityLogEntry -// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRoleRevokedFromServiceAccountActivityLogEntry -// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretCreatedActivityLogEntry -// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretDeletedActivityLogEntry -// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValueAddedActivityLogEntry -// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValueRemovedActivityLogEntry -// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValueUpdatedActivityLogEntry -// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValuesViewedActivityLogEntry -// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountCreatedActivityLogEntry -// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountDeletedActivityLogEntry -// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountTokenCreatedActivityLogEntry -// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountTokenDeletedActivityLogEntry -// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountTokenUpdatedActivityLogEntry -// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountUpdatedActivityLogEntry -// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceMaintenanceActivityLogEntry -// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamConfirmDeleteKeyActivityLogEntry -// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamCreateDeleteKeyActivityLogEntry -// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamCreatedActivityLogEntry -// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamDeployKeyUpdatedActivityLogEntry -// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamEnvironmentUpdatedActivityLogEntry -// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamMemberAddedActivityLogEntry -// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamMemberRemovedActivityLogEntry -// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamMemberSetRoleActivityLogEntry -// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamUpdatedActivityLogEntry -// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesUnleashInstanceCreatedActivityLogEntry -// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesUnleashInstanceDeletedActivityLogEntry -// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesUnleashInstanceUpdatedActivityLogEntry -// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesValkeyCreatedActivityLogEntry -// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesValkeyDeletedActivityLogEntry -// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesValkeyUpdatedActivityLogEntry -// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesVulnerabilityUpdatedActivityLogEntry +// GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssueWorkload is implemented by the following types: +// GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssueWorkloadApplication +// GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssueWorkloadJob // The GraphQL type's documentation follows. // -// Interface for activity log entries. -type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry interface { - implementsGraphQLInterfaceGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry() - // GetTypename returns the receiver's concrete GraphQL type-name (see interface doc for possible values). - GetTypename() string - // GetActor returns the interface-field "actor" from its implementation. - // The GraphQL interface field's documentation follows. - // - // Interface for activity log entries. - GetActor() string - // GetCreatedAt returns the interface-field "createdAt" from its implementation. - // The GraphQL interface field's documentation follows. - // - // Interface for activity log entries. - GetCreatedAt() time.Time - // GetMessage returns the interface-field "message" from its implementation. - // The GraphQL interface field's documentation follows. - // - // Interface for activity log entries. - GetMessage() string - // GetEnvironmentName returns the interface-field "environmentName" from its implementation. +// Interface for workloads. +type GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssueWorkload interface { + implementsGraphQLInterfaceGetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssueWorkload() + // GetName returns the interface-field "name" from its implementation. // The GraphQL interface field's documentation follows. // - // Interface for activity log entries. - GetEnvironmentName() string + // The name of the workload. + GetName() string + // GetTypename returns the receiver's concrete GraphQL type-name (see interface doc for possible values). + GetTypename() string } -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesApplicationDeletedActivityLogEntry) implementsGraphQLInterfaceGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { -} -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesApplicationRestartedActivityLogEntry) implementsGraphQLInterfaceGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { -} -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesApplicationScaledActivityLogEntry) implementsGraphQLInterfaceGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssueWorkloadApplication) implementsGraphQLInterfaceGetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssueWorkload() { } -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry) implementsGraphQLInterfaceGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssueWorkloadJob) implementsGraphQLInterfaceGetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssueWorkload() { } -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesCredentialsActivityLogEntry) implementsGraphQLInterfaceGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { + +func __unmarshalGetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssueWorkload(b []byte, v *GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssueWorkload) error { + if string(b) == "null" { + return nil + } + + var tn struct { + TypeName string `json:"__typename"` + } + err := json.Unmarshal(b, &tn) + if err != nil { + return err + } + + switch tn.TypeName { + case "Application": + *v = new(GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssueWorkloadApplication) + return json.Unmarshal(b, *v) + case "Job": + *v = new(GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssueWorkloadJob) + return json.Unmarshal(b, *v) + case "": + return fmt.Errorf( + "response was missing Workload.__typename") + default: + return fmt.Errorf( + `unexpected concrete type for GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssueWorkload: "%v"`, tn.TypeName) + } } -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesDeploymentActivityLogEntry) implementsGraphQLInterfaceGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { + +func __marshalGetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssueWorkload(v *GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssueWorkload) ([]byte, error) { + + var typename string + switch v := (*v).(type) { + case *GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssueWorkloadApplication: + typename = "Application" + + result := struct { + TypeName string `json:"__typename"` + *GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssueWorkloadApplication + }{typename, v} + return json.Marshal(result) + case *GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssueWorkloadJob: + typename = "Job" + + result := struct { + TypeName string `json:"__typename"` + *GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssueWorkloadJob + }{typename, v} + return json.Marshal(result) + case nil: + return []byte("null"), nil + default: + return nil, fmt.Errorf( + `unexpected concrete type for GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssueWorkload: "%T"`, v) + } } -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesJobDeletedActivityLogEntry) implementsGraphQLInterfaceGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { + +// GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssueWorkloadApplication includes the requested fields of the GraphQL type Application. +// The GraphQL type's documentation follows. +// +// An application lets you run one or more instances of a container image on the [Nais platform](https://nais.io/). +// +// Learn more about how to create and configure your applications in the [Nais documentation](https://docs.nais.io/workloads/application/). +type GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssueWorkloadApplication struct { + // The name of the workload. + Name string `json:"name"` + Typename string `json:"__typename"` } -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesJobRunDeletedActivityLogEntry) implementsGraphQLInterfaceGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { + +// GetName returns GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssueWorkloadApplication.Name, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssueWorkloadApplication) GetName() string { + return v.Name } -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesJobTriggeredActivityLogEntry) implementsGraphQLInterfaceGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { + +// GetTypename returns GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssueWorkloadApplication.Typename, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssueWorkloadApplication) GetTypename() string { + return v.Typename } -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesOpenSearchCreatedActivityLogEntry) implementsGraphQLInterfaceGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { + +// GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssueWorkloadJob includes the requested fields of the GraphQL type Job. +type GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssueWorkloadJob struct { + // The name of the workload. + Name string `json:"name"` + Typename string `json:"__typename"` } -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesOpenSearchDeletedActivityLogEntry) implementsGraphQLInterfaceGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { + +// GetName returns GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssueWorkloadJob.Name, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssueWorkloadJob) GetName() string { + return v.Name } -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesOpenSearchUpdatedActivityLogEntry) implementsGraphQLInterfaceGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { + +// GetTypename returns GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssueWorkloadJob.Typename, and is useful for accessing the field via an interface. +func (v *GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssueWorkloadJob) GetTypename() string { + return v.Typename } -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesPostgresGrantAccessActivityLogEntry) implementsGraphQLInterfaceGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { + +// GetAllOpenSearchesResponse is returned by GetAllOpenSearches on success. +type GetAllOpenSearchesResponse struct { + // Get a team by its slug. + Team GetAllOpenSearchesTeam `json:"team"` } -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesReconcilerConfiguredActivityLogEntry) implementsGraphQLInterfaceGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { + +// GetTeam returns GetAllOpenSearchesResponse.Team, and is useful for accessing the field via an interface. +func (v *GetAllOpenSearchesResponse) GetTeam() GetAllOpenSearchesTeam { return v.Team } + +// GetAllOpenSearchesTeam includes the requested fields of the GraphQL type Team. +// The GraphQL type's documentation follows. +// +// The team type represents a team on the [Nais platform](https://nais.io/). +// +// Learn more about what Nais teams are and what they can be used for in the [official Nais documentation](https://docs.nais.io/explanations/team/). +// +// External resources (e.g. entraIDGroupID, gitHubTeamSlug) are managed by [Nais API reconcilers](https://github.com/nais/api-reconcilers). +type GetAllOpenSearchesTeam struct { + // OpenSearch instances owned by the team. + OpenSearches GetAllOpenSearchesTeamOpenSearchesOpenSearchConnection `json:"openSearches"` } -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesReconcilerDisabledActivityLogEntry) implementsGraphQLInterfaceGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { + +// GetOpenSearches returns GetAllOpenSearchesTeam.OpenSearches, and is useful for accessing the field via an interface. +func (v *GetAllOpenSearchesTeam) GetOpenSearches() GetAllOpenSearchesTeamOpenSearchesOpenSearchConnection { + return v.OpenSearches } -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesReconcilerEnabledActivityLogEntry) implementsGraphQLInterfaceGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { + +// GetAllOpenSearchesTeamOpenSearchesOpenSearchConnection includes the requested fields of the GraphQL type OpenSearchConnection. +type GetAllOpenSearchesTeamOpenSearchesOpenSearchConnection struct { + Nodes []GetAllOpenSearchesTeamOpenSearchesOpenSearchConnectionNodesOpenSearch `json:"nodes"` } -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRepositoryAddedActivityLogEntry) implementsGraphQLInterfaceGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { + +// GetNodes returns GetAllOpenSearchesTeamOpenSearchesOpenSearchConnection.Nodes, and is useful for accessing the field via an interface. +func (v *GetAllOpenSearchesTeamOpenSearchesOpenSearchConnection) GetNodes() []GetAllOpenSearchesTeamOpenSearchesOpenSearchConnectionNodesOpenSearch { + return v.Nodes } -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRepositoryRemovedActivityLogEntry) implementsGraphQLInterfaceGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { + +// GetAllOpenSearchesTeamOpenSearchesOpenSearchConnectionNodesOpenSearch includes the requested fields of the GraphQL type OpenSearch. +type GetAllOpenSearchesTeamOpenSearchesOpenSearchConnectionNodesOpenSearch struct { + Name string `json:"name"` + // Available memory for the OpenSearch instance. + Memory OpenSearchMemory `json:"memory"` + // Availability tier for the OpenSearch instance. + Tier OpenSearchTier `json:"tier"` + // Available storage in GB. + StorageGB int `json:"storageGB"` + // Fetch version for the OpenSearch instance. + Version GetAllOpenSearchesTeamOpenSearchesOpenSearchConnectionNodesOpenSearchVersion `json:"version"` + State OpenSearchState `json:"state"` + TeamEnvironment GetAllOpenSearchesTeamOpenSearchesOpenSearchConnectionNodesOpenSearchTeamEnvironment `json:"teamEnvironment"` + Access GetAllOpenSearchesTeamOpenSearchesOpenSearchConnectionNodesOpenSearchAccessOpenSearchAccessConnection `json:"access"` } -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRoleAssignedToServiceAccountActivityLogEntry) implementsGraphQLInterfaceGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { + +// GetName returns GetAllOpenSearchesTeamOpenSearchesOpenSearchConnectionNodesOpenSearch.Name, and is useful for accessing the field via an interface. +func (v *GetAllOpenSearchesTeamOpenSearchesOpenSearchConnectionNodesOpenSearch) GetName() string { + return v.Name } -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRoleRevokedFromServiceAccountActivityLogEntry) implementsGraphQLInterfaceGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { + +// GetMemory returns GetAllOpenSearchesTeamOpenSearchesOpenSearchConnectionNodesOpenSearch.Memory, and is useful for accessing the field via an interface. +func (v *GetAllOpenSearchesTeamOpenSearchesOpenSearchConnectionNodesOpenSearch) GetMemory() OpenSearchMemory { + return v.Memory } -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretCreatedActivityLogEntry) implementsGraphQLInterfaceGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { + +// GetTier returns GetAllOpenSearchesTeamOpenSearchesOpenSearchConnectionNodesOpenSearch.Tier, and is useful for accessing the field via an interface. +func (v *GetAllOpenSearchesTeamOpenSearchesOpenSearchConnectionNodesOpenSearch) GetTier() OpenSearchTier { + return v.Tier } -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretDeletedActivityLogEntry) implementsGraphQLInterfaceGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { + +// GetStorageGB returns GetAllOpenSearchesTeamOpenSearchesOpenSearchConnectionNodesOpenSearch.StorageGB, and is useful for accessing the field via an interface. +func (v *GetAllOpenSearchesTeamOpenSearchesOpenSearchConnectionNodesOpenSearch) GetStorageGB() int { + return v.StorageGB } -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValueAddedActivityLogEntry) implementsGraphQLInterfaceGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { + +// GetVersion returns GetAllOpenSearchesTeamOpenSearchesOpenSearchConnectionNodesOpenSearch.Version, and is useful for accessing the field via an interface. +func (v *GetAllOpenSearchesTeamOpenSearchesOpenSearchConnectionNodesOpenSearch) GetVersion() GetAllOpenSearchesTeamOpenSearchesOpenSearchConnectionNodesOpenSearchVersion { + return v.Version } -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValueRemovedActivityLogEntry) implementsGraphQLInterfaceGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { + +// GetState returns GetAllOpenSearchesTeamOpenSearchesOpenSearchConnectionNodesOpenSearch.State, and is useful for accessing the field via an interface. +func (v *GetAllOpenSearchesTeamOpenSearchesOpenSearchConnectionNodesOpenSearch) GetState() OpenSearchState { + return v.State } -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValueUpdatedActivityLogEntry) implementsGraphQLInterfaceGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { + +// GetTeamEnvironment returns GetAllOpenSearchesTeamOpenSearchesOpenSearchConnectionNodesOpenSearch.TeamEnvironment, and is useful for accessing the field via an interface. +func (v *GetAllOpenSearchesTeamOpenSearchesOpenSearchConnectionNodesOpenSearch) GetTeamEnvironment() GetAllOpenSearchesTeamOpenSearchesOpenSearchConnectionNodesOpenSearchTeamEnvironment { + return v.TeamEnvironment } -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValuesViewedActivityLogEntry) implementsGraphQLInterfaceGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { + +// GetAccess returns GetAllOpenSearchesTeamOpenSearchesOpenSearchConnectionNodesOpenSearch.Access, and is useful for accessing the field via an interface. +func (v *GetAllOpenSearchesTeamOpenSearchesOpenSearchConnectionNodesOpenSearch) GetAccess() GetAllOpenSearchesTeamOpenSearchesOpenSearchConnectionNodesOpenSearchAccessOpenSearchAccessConnection { + return v.Access } -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountCreatedActivityLogEntry) implementsGraphQLInterfaceGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { + +// GetAllOpenSearchesTeamOpenSearchesOpenSearchConnectionNodesOpenSearchAccessOpenSearchAccessConnection includes the requested fields of the GraphQL type OpenSearchAccessConnection. +type GetAllOpenSearchesTeamOpenSearchesOpenSearchConnectionNodesOpenSearchAccessOpenSearchAccessConnection struct { + Edges []GetAllOpenSearchesTeamOpenSearchesOpenSearchConnectionNodesOpenSearchAccessOpenSearchAccessConnectionEdgesOpenSearchAccessEdge `json:"edges"` } -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountDeletedActivityLogEntry) implementsGraphQLInterfaceGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { + +// GetEdges returns GetAllOpenSearchesTeamOpenSearchesOpenSearchConnectionNodesOpenSearchAccessOpenSearchAccessConnection.Edges, and is useful for accessing the field via an interface. +func (v *GetAllOpenSearchesTeamOpenSearchesOpenSearchConnectionNodesOpenSearchAccessOpenSearchAccessConnection) GetEdges() []GetAllOpenSearchesTeamOpenSearchesOpenSearchConnectionNodesOpenSearchAccessOpenSearchAccessConnectionEdgesOpenSearchAccessEdge { + return v.Edges } -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountTokenCreatedActivityLogEntry) implementsGraphQLInterfaceGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { + +// GetAllOpenSearchesTeamOpenSearchesOpenSearchConnectionNodesOpenSearchAccessOpenSearchAccessConnectionEdgesOpenSearchAccessEdge includes the requested fields of the GraphQL type OpenSearchAccessEdge. +type GetAllOpenSearchesTeamOpenSearchesOpenSearchConnectionNodesOpenSearchAccessOpenSearchAccessConnectionEdgesOpenSearchAccessEdge struct { + Node GetAllOpenSearchesTeamOpenSearchesOpenSearchConnectionNodesOpenSearchAccessOpenSearchAccessConnectionEdgesOpenSearchAccessEdgeNodeOpenSearchAccess `json:"node"` } -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountTokenDeletedActivityLogEntry) implementsGraphQLInterfaceGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { + +// GetNode returns GetAllOpenSearchesTeamOpenSearchesOpenSearchConnectionNodesOpenSearchAccessOpenSearchAccessConnectionEdgesOpenSearchAccessEdge.Node, and is useful for accessing the field via an interface. +func (v *GetAllOpenSearchesTeamOpenSearchesOpenSearchConnectionNodesOpenSearchAccessOpenSearchAccessConnectionEdgesOpenSearchAccessEdge) GetNode() GetAllOpenSearchesTeamOpenSearchesOpenSearchConnectionNodesOpenSearchAccessOpenSearchAccessConnectionEdgesOpenSearchAccessEdgeNodeOpenSearchAccess { + return v.Node } -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountTokenUpdatedActivityLogEntry) implementsGraphQLInterfaceGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { + +// GetAllOpenSearchesTeamOpenSearchesOpenSearchConnectionNodesOpenSearchAccessOpenSearchAccessConnectionEdgesOpenSearchAccessEdgeNodeOpenSearchAccess includes the requested fields of the GraphQL type OpenSearchAccess. +type GetAllOpenSearchesTeamOpenSearchesOpenSearchConnectionNodesOpenSearchAccessOpenSearchAccessConnectionEdgesOpenSearchAccessEdgeNodeOpenSearchAccess struct { + Access string `json:"access"` } -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountUpdatedActivityLogEntry) implementsGraphQLInterfaceGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { + +// GetAccess returns GetAllOpenSearchesTeamOpenSearchesOpenSearchConnectionNodesOpenSearchAccessOpenSearchAccessConnectionEdgesOpenSearchAccessEdgeNodeOpenSearchAccess.Access, and is useful for accessing the field via an interface. +func (v *GetAllOpenSearchesTeamOpenSearchesOpenSearchConnectionNodesOpenSearchAccessOpenSearchAccessConnectionEdgesOpenSearchAccessEdgeNodeOpenSearchAccess) GetAccess() string { + return v.Access } -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceMaintenanceActivityLogEntry) implementsGraphQLInterfaceGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { + +// GetAllOpenSearchesTeamOpenSearchesOpenSearchConnectionNodesOpenSearchTeamEnvironment includes the requested fields of the GraphQL type TeamEnvironment. +type GetAllOpenSearchesTeamOpenSearchesOpenSearchConnectionNodesOpenSearchTeamEnvironment struct { + // Get the environment. + Environment GetAllOpenSearchesTeamOpenSearchesOpenSearchConnectionNodesOpenSearchTeamEnvironmentEnvironment `json:"environment"` } -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamConfirmDeleteKeyActivityLogEntry) implementsGraphQLInterfaceGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { + +// GetEnvironment returns GetAllOpenSearchesTeamOpenSearchesOpenSearchConnectionNodesOpenSearchTeamEnvironment.Environment, and is useful for accessing the field via an interface. +func (v *GetAllOpenSearchesTeamOpenSearchesOpenSearchConnectionNodesOpenSearchTeamEnvironment) GetEnvironment() GetAllOpenSearchesTeamOpenSearchesOpenSearchConnectionNodesOpenSearchTeamEnvironmentEnvironment { + return v.Environment } -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamCreateDeleteKeyActivityLogEntry) implementsGraphQLInterfaceGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { + +// GetAllOpenSearchesTeamOpenSearchesOpenSearchConnectionNodesOpenSearchTeamEnvironmentEnvironment includes the requested fields of the GraphQL type Environment. +// The GraphQL type's documentation follows. +// +// An environment represents a runtime environment for workloads. +// +// Learn more in the [official Nais documentation](https://docs.nais.io/workloads/explanations/environment/). +type GetAllOpenSearchesTeamOpenSearchesOpenSearchConnectionNodesOpenSearchTeamEnvironmentEnvironment struct { + // Unique name of the environment. + Name string `json:"name"` } -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamCreatedActivityLogEntry) implementsGraphQLInterfaceGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { + +// GetName returns GetAllOpenSearchesTeamOpenSearchesOpenSearchConnectionNodesOpenSearchTeamEnvironmentEnvironment.Name, and is useful for accessing the field via an interface. +func (v *GetAllOpenSearchesTeamOpenSearchesOpenSearchConnectionNodesOpenSearchTeamEnvironmentEnvironment) GetName() string { + return v.Name } -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamDeployKeyUpdatedActivityLogEntry) implementsGraphQLInterfaceGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { + +// GetAllOpenSearchesTeamOpenSearchesOpenSearchConnectionNodesOpenSearchVersion includes the requested fields of the GraphQL type OpenSearchVersion. +type GetAllOpenSearchesTeamOpenSearchesOpenSearchConnectionNodesOpenSearchVersion struct { + // The full version string of the OpenSearch instance. This will be available after the instance is created. + Actual string `json:"actual"` } -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamEnvironmentUpdatedActivityLogEntry) implementsGraphQLInterfaceGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { + +// GetActual returns GetAllOpenSearchesTeamOpenSearchesOpenSearchConnectionNodesOpenSearchVersion.Actual, and is useful for accessing the field via an interface. +func (v *GetAllOpenSearchesTeamOpenSearchesOpenSearchConnectionNodesOpenSearchVersion) GetActual() string { + return v.Actual } -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamMemberAddedActivityLogEntry) implementsGraphQLInterfaceGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { + +// GetAllSecretsResponse is returned by GetAllSecrets on success. +type GetAllSecretsResponse struct { + // Get a team by its slug. + Team GetAllSecretsTeam `json:"team"` } -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamMemberRemovedActivityLogEntry) implementsGraphQLInterfaceGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { + +// GetTeam returns GetAllSecretsResponse.Team, and is useful for accessing the field via an interface. +func (v *GetAllSecretsResponse) GetTeam() GetAllSecretsTeam { return v.Team } + +// GetAllSecretsTeam includes the requested fields of the GraphQL type Team. +// The GraphQL type's documentation follows. +// +// The team type represents a team on the [Nais platform](https://nais.io/). +// +// Learn more about what Nais teams are and what they can be used for in the [official Nais documentation](https://docs.nais.io/explanations/team/). +// +// External resources (e.g. entraIDGroupID, gitHubTeamSlug) are managed by [Nais API reconcilers](https://github.com/nais/api-reconcilers). +type GetAllSecretsTeam struct { + // Secrets owned by the team. + Secrets GetAllSecretsTeamSecretsSecretConnection `json:"secrets"` } -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamMemberSetRoleActivityLogEntry) implementsGraphQLInterfaceGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { + +// GetSecrets returns GetAllSecretsTeam.Secrets, and is useful for accessing the field via an interface. +func (v *GetAllSecretsTeam) GetSecrets() GetAllSecretsTeamSecretsSecretConnection { return v.Secrets } + +// GetAllSecretsTeamSecretsSecretConnection includes the requested fields of the GraphQL type SecretConnection. +type GetAllSecretsTeamSecretsSecretConnection struct { + // List of nodes. + Nodes []GetAllSecretsTeamSecretsSecretConnectionNodesSecret `json:"nodes"` } -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamUpdatedActivityLogEntry) implementsGraphQLInterfaceGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { + +// GetNodes returns GetAllSecretsTeamSecretsSecretConnection.Nodes, and is useful for accessing the field via an interface. +func (v *GetAllSecretsTeamSecretsSecretConnection) GetNodes() []GetAllSecretsTeamSecretsSecretConnectionNodesSecret { + return v.Nodes } -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesUnleashInstanceCreatedActivityLogEntry) implementsGraphQLInterfaceGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { + +// GetAllSecretsTeamSecretsSecretConnectionNodesSecret includes the requested fields of the GraphQL type Secret. +// The GraphQL type's documentation follows. +// +// A secret is a collection of secret values. +type GetAllSecretsTeamSecretsSecretConnectionNodesSecret struct { + // The name of the secret. + Name string `json:"name"` + // The names of the keys in the secret. This does not require elevation to access. + Keys []string `json:"keys"` + // The environment the secret exists in. + TeamEnvironment GetAllSecretsTeamSecretsSecretConnectionNodesSecretTeamEnvironment `json:"teamEnvironment"` + // Workloads that use the secret. + Workloads GetAllSecretsTeamSecretsSecretConnectionNodesSecretWorkloadsWorkloadConnection `json:"workloads"` + // Last time the secret was modified. + LastModifiedAt time.Time `json:"lastModifiedAt"` + // User who last modified the secret. + LastModifiedBy GetAllSecretsTeamSecretsSecretConnectionNodesSecretLastModifiedByUser `json:"lastModifiedBy"` } -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesUnleashInstanceDeletedActivityLogEntry) implementsGraphQLInterfaceGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { + +// GetName returns GetAllSecretsTeamSecretsSecretConnectionNodesSecret.Name, and is useful for accessing the field via an interface. +func (v *GetAllSecretsTeamSecretsSecretConnectionNodesSecret) GetName() string { return v.Name } + +// GetKeys returns GetAllSecretsTeamSecretsSecretConnectionNodesSecret.Keys, and is useful for accessing the field via an interface. +func (v *GetAllSecretsTeamSecretsSecretConnectionNodesSecret) GetKeys() []string { return v.Keys } + +// GetTeamEnvironment returns GetAllSecretsTeamSecretsSecretConnectionNodesSecret.TeamEnvironment, and is useful for accessing the field via an interface. +func (v *GetAllSecretsTeamSecretsSecretConnectionNodesSecret) GetTeamEnvironment() GetAllSecretsTeamSecretsSecretConnectionNodesSecretTeamEnvironment { + return v.TeamEnvironment } -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesUnleashInstanceUpdatedActivityLogEntry) implementsGraphQLInterfaceGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { + +// GetWorkloads returns GetAllSecretsTeamSecretsSecretConnectionNodesSecret.Workloads, and is useful for accessing the field via an interface. +func (v *GetAllSecretsTeamSecretsSecretConnectionNodesSecret) GetWorkloads() GetAllSecretsTeamSecretsSecretConnectionNodesSecretWorkloadsWorkloadConnection { + return v.Workloads } -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesValkeyCreatedActivityLogEntry) implementsGraphQLInterfaceGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { + +// GetLastModifiedAt returns GetAllSecretsTeamSecretsSecretConnectionNodesSecret.LastModifiedAt, and is useful for accessing the field via an interface. +func (v *GetAllSecretsTeamSecretsSecretConnectionNodesSecret) GetLastModifiedAt() time.Time { + return v.LastModifiedAt } -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesValkeyDeletedActivityLogEntry) implementsGraphQLInterfaceGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { + +// GetLastModifiedBy returns GetAllSecretsTeamSecretsSecretConnectionNodesSecret.LastModifiedBy, and is useful for accessing the field via an interface. +func (v *GetAllSecretsTeamSecretsSecretConnectionNodesSecret) GetLastModifiedBy() GetAllSecretsTeamSecretsSecretConnectionNodesSecretLastModifiedByUser { + return v.LastModifiedBy } -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesValkeyUpdatedActivityLogEntry) implementsGraphQLInterfaceGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { + +// GetAllSecretsTeamSecretsSecretConnectionNodesSecretLastModifiedByUser includes the requested fields of the GraphQL type User. +// The GraphQL type's documentation follows. +// +// The user type represents a user of the Nais platform and the Nais GraphQL API. +type GetAllSecretsTeamSecretsSecretConnectionNodesSecretLastModifiedByUser struct { + // The email address of the user. + Email string `json:"email"` } -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesVulnerabilityUpdatedActivityLogEntry) implementsGraphQLInterfaceGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { + +// GetEmail returns GetAllSecretsTeamSecretsSecretConnectionNodesSecretLastModifiedByUser.Email, and is useful for accessing the field via an interface. +func (v *GetAllSecretsTeamSecretsSecretConnectionNodesSecretLastModifiedByUser) GetEmail() string { + return v.Email } -func __unmarshalGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry(b []byte, v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry) error { +// GetAllSecretsTeamSecretsSecretConnectionNodesSecretTeamEnvironment includes the requested fields of the GraphQL type TeamEnvironment. +type GetAllSecretsTeamSecretsSecretConnectionNodesSecretTeamEnvironment struct { + // Get the environment. + Environment GetAllSecretsTeamSecretsSecretConnectionNodesSecretTeamEnvironmentEnvironment `json:"environment"` +} + +// GetEnvironment returns GetAllSecretsTeamSecretsSecretConnectionNodesSecretTeamEnvironment.Environment, and is useful for accessing the field via an interface. +func (v *GetAllSecretsTeamSecretsSecretConnectionNodesSecretTeamEnvironment) GetEnvironment() GetAllSecretsTeamSecretsSecretConnectionNodesSecretTeamEnvironmentEnvironment { + return v.Environment +} + +// GetAllSecretsTeamSecretsSecretConnectionNodesSecretTeamEnvironmentEnvironment includes the requested fields of the GraphQL type Environment. +// The GraphQL type's documentation follows. +// +// An environment represents a runtime environment for workloads. +// +// Learn more in the [official Nais documentation](https://docs.nais.io/workloads/explanations/environment/). +type GetAllSecretsTeamSecretsSecretConnectionNodesSecretTeamEnvironmentEnvironment struct { + // Unique name of the environment. + Name string `json:"name"` +} + +// GetName returns GetAllSecretsTeamSecretsSecretConnectionNodesSecretTeamEnvironmentEnvironment.Name, and is useful for accessing the field via an interface. +func (v *GetAllSecretsTeamSecretsSecretConnectionNodesSecretTeamEnvironmentEnvironment) GetName() string { + return v.Name +} + +// GetAllSecretsTeamSecretsSecretConnectionNodesSecretWorkloadsWorkloadConnection includes the requested fields of the GraphQL type WorkloadConnection. +// The GraphQL type's documentation follows. +// +// Workload connection. +type GetAllSecretsTeamSecretsSecretConnectionNodesSecretWorkloadsWorkloadConnection struct { + // List of nodes. + Nodes []GetAllSecretsTeamSecretsSecretConnectionNodesSecretWorkloadsWorkloadConnectionNodesWorkload `json:"-"` +} + +// GetNodes returns GetAllSecretsTeamSecretsSecretConnectionNodesSecretWorkloadsWorkloadConnection.Nodes, and is useful for accessing the field via an interface. +func (v *GetAllSecretsTeamSecretsSecretConnectionNodesSecretWorkloadsWorkloadConnection) GetNodes() []GetAllSecretsTeamSecretsSecretConnectionNodesSecretWorkloadsWorkloadConnectionNodesWorkload { + return v.Nodes +} + +func (v *GetAllSecretsTeamSecretsSecretConnectionNodesSecretWorkloadsWorkloadConnection) UnmarshalJSON(b []byte) error { + if string(b) == "null" { return nil } - var tn struct { - TypeName string `json:"__typename"` + var firstPass struct { + *GetAllSecretsTeamSecretsSecretConnectionNodesSecretWorkloadsWorkloadConnection + Nodes []json.RawMessage `json:"nodes"` + graphql.NoUnmarshalJSON } - err := json.Unmarshal(b, &tn) + firstPass.GetAllSecretsTeamSecretsSecretConnectionNodesSecretWorkloadsWorkloadConnection = v + + err := json.Unmarshal(b, &firstPass) if err != nil { return err } - switch tn.TypeName { - case "ApplicationDeletedActivityLogEntry": - *v = new(GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesApplicationDeletedActivityLogEntry) - return json.Unmarshal(b, *v) - case "ApplicationRestartedActivityLogEntry": - *v = new(GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesApplicationRestartedActivityLogEntry) - return json.Unmarshal(b, *v) - case "ApplicationScaledActivityLogEntry": - *v = new(GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesApplicationScaledActivityLogEntry) - return json.Unmarshal(b, *v) - case "ClusterAuditActivityLogEntry": - *v = new(GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry) - return json.Unmarshal(b, *v) - case "CredentialsActivityLogEntry": - *v = new(GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesCredentialsActivityLogEntry) - return json.Unmarshal(b, *v) - case "DeploymentActivityLogEntry": - *v = new(GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesDeploymentActivityLogEntry) - return json.Unmarshal(b, *v) - case "JobDeletedActivityLogEntry": - *v = new(GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesJobDeletedActivityLogEntry) - return json.Unmarshal(b, *v) - case "JobRunDeletedActivityLogEntry": - *v = new(GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesJobRunDeletedActivityLogEntry) - return json.Unmarshal(b, *v) - case "JobTriggeredActivityLogEntry": - *v = new(GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesJobTriggeredActivityLogEntry) - return json.Unmarshal(b, *v) - case "OpenSearchCreatedActivityLogEntry": - *v = new(GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesOpenSearchCreatedActivityLogEntry) - return json.Unmarshal(b, *v) - case "OpenSearchDeletedActivityLogEntry": - *v = new(GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesOpenSearchDeletedActivityLogEntry) - return json.Unmarshal(b, *v) - case "OpenSearchUpdatedActivityLogEntry": - *v = new(GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesOpenSearchUpdatedActivityLogEntry) - return json.Unmarshal(b, *v) - case "PostgresGrantAccessActivityLogEntry": - *v = new(GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesPostgresGrantAccessActivityLogEntry) - return json.Unmarshal(b, *v) - case "ReconcilerConfiguredActivityLogEntry": - *v = new(GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesReconcilerConfiguredActivityLogEntry) - return json.Unmarshal(b, *v) - case "ReconcilerDisabledActivityLogEntry": - *v = new(GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesReconcilerDisabledActivityLogEntry) - return json.Unmarshal(b, *v) - case "ReconcilerEnabledActivityLogEntry": - *v = new(GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesReconcilerEnabledActivityLogEntry) - return json.Unmarshal(b, *v) - case "RepositoryAddedActivityLogEntry": - *v = new(GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRepositoryAddedActivityLogEntry) - return json.Unmarshal(b, *v) - case "RepositoryRemovedActivityLogEntry": - *v = new(GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRepositoryRemovedActivityLogEntry) - return json.Unmarshal(b, *v) - case "RoleAssignedToServiceAccountActivityLogEntry": - *v = new(GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRoleAssignedToServiceAccountActivityLogEntry) - return json.Unmarshal(b, *v) - case "RoleRevokedFromServiceAccountActivityLogEntry": - *v = new(GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRoleRevokedFromServiceAccountActivityLogEntry) - return json.Unmarshal(b, *v) - case "SecretCreatedActivityLogEntry": - *v = new(GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretCreatedActivityLogEntry) - return json.Unmarshal(b, *v) - case "SecretDeletedActivityLogEntry": - *v = new(GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretDeletedActivityLogEntry) - return json.Unmarshal(b, *v) - case "SecretValueAddedActivityLogEntry": - *v = new(GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValueAddedActivityLogEntry) - return json.Unmarshal(b, *v) - case "SecretValueRemovedActivityLogEntry": - *v = new(GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValueRemovedActivityLogEntry) - return json.Unmarshal(b, *v) - case "SecretValueUpdatedActivityLogEntry": - *v = new(GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValueUpdatedActivityLogEntry) - return json.Unmarshal(b, *v) - case "SecretValuesViewedActivityLogEntry": - *v = new(GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValuesViewedActivityLogEntry) - return json.Unmarshal(b, *v) - case "ServiceAccountCreatedActivityLogEntry": - *v = new(GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountCreatedActivityLogEntry) - return json.Unmarshal(b, *v) - case "ServiceAccountDeletedActivityLogEntry": - *v = new(GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountDeletedActivityLogEntry) - return json.Unmarshal(b, *v) - case "ServiceAccountTokenCreatedActivityLogEntry": - *v = new(GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountTokenCreatedActivityLogEntry) - return json.Unmarshal(b, *v) - case "ServiceAccountTokenDeletedActivityLogEntry": - *v = new(GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountTokenDeletedActivityLogEntry) - return json.Unmarshal(b, *v) - case "ServiceAccountTokenUpdatedActivityLogEntry": - *v = new(GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountTokenUpdatedActivityLogEntry) - return json.Unmarshal(b, *v) - case "ServiceAccountUpdatedActivityLogEntry": - *v = new(GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountUpdatedActivityLogEntry) - return json.Unmarshal(b, *v) - case "ServiceMaintenanceActivityLogEntry": - *v = new(GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceMaintenanceActivityLogEntry) - return json.Unmarshal(b, *v) - case "TeamConfirmDeleteKeyActivityLogEntry": - *v = new(GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamConfirmDeleteKeyActivityLogEntry) - return json.Unmarshal(b, *v) - case "TeamCreateDeleteKeyActivityLogEntry": - *v = new(GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamCreateDeleteKeyActivityLogEntry) - return json.Unmarshal(b, *v) - case "TeamCreatedActivityLogEntry": - *v = new(GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamCreatedActivityLogEntry) - return json.Unmarshal(b, *v) - case "TeamDeployKeyUpdatedActivityLogEntry": - *v = new(GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamDeployKeyUpdatedActivityLogEntry) - return json.Unmarshal(b, *v) - case "TeamEnvironmentUpdatedActivityLogEntry": - *v = new(GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamEnvironmentUpdatedActivityLogEntry) - return json.Unmarshal(b, *v) - case "TeamMemberAddedActivityLogEntry": - *v = new(GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamMemberAddedActivityLogEntry) - return json.Unmarshal(b, *v) - case "TeamMemberRemovedActivityLogEntry": - *v = new(GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamMemberRemovedActivityLogEntry) - return json.Unmarshal(b, *v) - case "TeamMemberSetRoleActivityLogEntry": - *v = new(GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamMemberSetRoleActivityLogEntry) - return json.Unmarshal(b, *v) - case "TeamUpdatedActivityLogEntry": - *v = new(GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamUpdatedActivityLogEntry) - return json.Unmarshal(b, *v) - case "UnleashInstanceCreatedActivityLogEntry": - *v = new(GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesUnleashInstanceCreatedActivityLogEntry) - return json.Unmarshal(b, *v) - case "UnleashInstanceDeletedActivityLogEntry": - *v = new(GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesUnleashInstanceDeletedActivityLogEntry) - return json.Unmarshal(b, *v) - case "UnleashInstanceUpdatedActivityLogEntry": - *v = new(GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesUnleashInstanceUpdatedActivityLogEntry) - return json.Unmarshal(b, *v) - case "ValkeyCreatedActivityLogEntry": - *v = new(GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesValkeyCreatedActivityLogEntry) - return json.Unmarshal(b, *v) - case "ValkeyDeletedActivityLogEntry": - *v = new(GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesValkeyDeletedActivityLogEntry) - return json.Unmarshal(b, *v) - case "ValkeyUpdatedActivityLogEntry": - *v = new(GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesValkeyUpdatedActivityLogEntry) + { + dst := &v.Nodes + src := firstPass.Nodes + *dst = make( + []GetAllSecretsTeamSecretsSecretConnectionNodesSecretWorkloadsWorkloadConnectionNodesWorkload, + len(src)) + for i, src := range src { + dst := &(*dst)[i] + if len(src) != 0 && string(src) != "null" { + err = __unmarshalGetAllSecretsTeamSecretsSecretConnectionNodesSecretWorkloadsWorkloadConnectionNodesWorkload( + src, dst) + if err != nil { + return fmt.Errorf( + "unable to unmarshal GetAllSecretsTeamSecretsSecretConnectionNodesSecretWorkloadsWorkloadConnection.Nodes: %w", err) + } + } + } + } + return nil +} + +type __premarshalGetAllSecretsTeamSecretsSecretConnectionNodesSecretWorkloadsWorkloadConnection struct { + Nodes []json.RawMessage `json:"nodes"` +} + +func (v *GetAllSecretsTeamSecretsSecretConnectionNodesSecretWorkloadsWorkloadConnection) MarshalJSON() ([]byte, error) { + premarshaled, err := v.__premarshalJSON() + if err != nil { + return nil, err + } + return json.Marshal(premarshaled) +} + +func (v *GetAllSecretsTeamSecretsSecretConnectionNodesSecretWorkloadsWorkloadConnection) __premarshalJSON() (*__premarshalGetAllSecretsTeamSecretsSecretConnectionNodesSecretWorkloadsWorkloadConnection, error) { + var retval __premarshalGetAllSecretsTeamSecretsSecretConnectionNodesSecretWorkloadsWorkloadConnection + + { + + dst := &retval.Nodes + src := v.Nodes + *dst = make( + []json.RawMessage, + len(src)) + for i, src := range src { + dst := &(*dst)[i] + var err error + *dst, err = __marshalGetAllSecretsTeamSecretsSecretConnectionNodesSecretWorkloadsWorkloadConnectionNodesWorkload( + &src) + if err != nil { + return nil, fmt.Errorf( + "unable to marshal GetAllSecretsTeamSecretsSecretConnectionNodesSecretWorkloadsWorkloadConnection.Nodes: %w", err) + } + } + } + return &retval, nil +} + +// GetAllSecretsTeamSecretsSecretConnectionNodesSecretWorkloadsWorkloadConnectionNodesApplication includes the requested fields of the GraphQL type Application. +// The GraphQL type's documentation follows. +// +// An application lets you run one or more instances of a container image on the [Nais platform](https://nais.io/). +// +// Learn more about how to create and configure your applications in the [Nais documentation](https://docs.nais.io/workloads/application/). +type GetAllSecretsTeamSecretsSecretConnectionNodesSecretWorkloadsWorkloadConnectionNodesApplication struct { + // The name of the workload. + Name string `json:"name"` + Typename string `json:"__typename"` +} + +// GetName returns GetAllSecretsTeamSecretsSecretConnectionNodesSecretWorkloadsWorkloadConnectionNodesApplication.Name, and is useful for accessing the field via an interface. +func (v *GetAllSecretsTeamSecretsSecretConnectionNodesSecretWorkloadsWorkloadConnectionNodesApplication) GetName() string { + return v.Name +} + +// GetTypename returns GetAllSecretsTeamSecretsSecretConnectionNodesSecretWorkloadsWorkloadConnectionNodesApplication.Typename, and is useful for accessing the field via an interface. +func (v *GetAllSecretsTeamSecretsSecretConnectionNodesSecretWorkloadsWorkloadConnectionNodesApplication) GetTypename() string { + return v.Typename +} + +// GetAllSecretsTeamSecretsSecretConnectionNodesSecretWorkloadsWorkloadConnectionNodesJob includes the requested fields of the GraphQL type Job. +type GetAllSecretsTeamSecretsSecretConnectionNodesSecretWorkloadsWorkloadConnectionNodesJob struct { + // The name of the workload. + Name string `json:"name"` + Typename string `json:"__typename"` +} + +// GetName returns GetAllSecretsTeamSecretsSecretConnectionNodesSecretWorkloadsWorkloadConnectionNodesJob.Name, and is useful for accessing the field via an interface. +func (v *GetAllSecretsTeamSecretsSecretConnectionNodesSecretWorkloadsWorkloadConnectionNodesJob) GetName() string { + return v.Name +} + +// GetTypename returns GetAllSecretsTeamSecretsSecretConnectionNodesSecretWorkloadsWorkloadConnectionNodesJob.Typename, and is useful for accessing the field via an interface. +func (v *GetAllSecretsTeamSecretsSecretConnectionNodesSecretWorkloadsWorkloadConnectionNodesJob) GetTypename() string { + return v.Typename +} + +// GetAllSecretsTeamSecretsSecretConnectionNodesSecretWorkloadsWorkloadConnectionNodesWorkload includes the requested fields of the GraphQL interface Workload. +// +// GetAllSecretsTeamSecretsSecretConnectionNodesSecretWorkloadsWorkloadConnectionNodesWorkload is implemented by the following types: +// GetAllSecretsTeamSecretsSecretConnectionNodesSecretWorkloadsWorkloadConnectionNodesApplication +// GetAllSecretsTeamSecretsSecretConnectionNodesSecretWorkloadsWorkloadConnectionNodesJob +// The GraphQL type's documentation follows. +// +// Interface for workloads. +type GetAllSecretsTeamSecretsSecretConnectionNodesSecretWorkloadsWorkloadConnectionNodesWorkload interface { + implementsGraphQLInterfaceGetAllSecretsTeamSecretsSecretConnectionNodesSecretWorkloadsWorkloadConnectionNodesWorkload() + // GetName returns the interface-field "name" from its implementation. + // The GraphQL interface field's documentation follows. + // + // The name of the workload. + GetName() string + // GetTypename returns the receiver's concrete GraphQL type-name (see interface doc for possible values). + GetTypename() string +} + +func (v *GetAllSecretsTeamSecretsSecretConnectionNodesSecretWorkloadsWorkloadConnectionNodesApplication) implementsGraphQLInterfaceGetAllSecretsTeamSecretsSecretConnectionNodesSecretWorkloadsWorkloadConnectionNodesWorkload() { +} +func (v *GetAllSecretsTeamSecretsSecretConnectionNodesSecretWorkloadsWorkloadConnectionNodesJob) implementsGraphQLInterfaceGetAllSecretsTeamSecretsSecretConnectionNodesSecretWorkloadsWorkloadConnectionNodesWorkload() { +} + +func __unmarshalGetAllSecretsTeamSecretsSecretConnectionNodesSecretWorkloadsWorkloadConnectionNodesWorkload(b []byte, v *GetAllSecretsTeamSecretsSecretConnectionNodesSecretWorkloadsWorkloadConnectionNodesWorkload) error { + if string(b) == "null" { + return nil + } + + var tn struct { + TypeName string `json:"__typename"` + } + err := json.Unmarshal(b, &tn) + if err != nil { + return err + } + + switch tn.TypeName { + case "Application": + *v = new(GetAllSecretsTeamSecretsSecretConnectionNodesSecretWorkloadsWorkloadConnectionNodesApplication) return json.Unmarshal(b, *v) - case "VulnerabilityUpdatedActivityLogEntry": - *v = new(GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesVulnerabilityUpdatedActivityLogEntry) + case "Job": + *v = new(GetAllSecretsTeamSecretsSecretConnectionNodesSecretWorkloadsWorkloadConnectionNodesJob) return json.Unmarshal(b, *v) case "": return fmt.Errorf( - "response was missing ActivityLogEntry.__typename") + "response was missing Workload.__typename") default: return fmt.Errorf( - `unexpected concrete type for GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry: "%v"`, tn.TypeName) + `unexpected concrete type for GetAllSecretsTeamSecretsSecretConnectionNodesSecretWorkloadsWorkloadConnectionNodesWorkload: "%v"`, tn.TypeName) } } -func __marshalGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry(v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry) ([]byte, error) { +func __marshalGetAllSecretsTeamSecretsSecretConnectionNodesSecretWorkloadsWorkloadConnectionNodesWorkload(v *GetAllSecretsTeamSecretsSecretConnectionNodesSecretWorkloadsWorkloadConnectionNodesWorkload) ([]byte, error) { var typename string switch v := (*v).(type) { - case *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesApplicationDeletedActivityLogEntry: - typename = "ApplicationDeletedActivityLogEntry" - - result := struct { - TypeName string `json:"__typename"` - *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesApplicationDeletedActivityLogEntry - }{typename, v} - return json.Marshal(result) - case *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesApplicationRestartedActivityLogEntry: - typename = "ApplicationRestartedActivityLogEntry" + case *GetAllSecretsTeamSecretsSecretConnectionNodesSecretWorkloadsWorkloadConnectionNodesApplication: + typename = "Application" result := struct { TypeName string `json:"__typename"` - *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesApplicationRestartedActivityLogEntry + *GetAllSecretsTeamSecretsSecretConnectionNodesSecretWorkloadsWorkloadConnectionNodesApplication }{typename, v} return json.Marshal(result) - case *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesApplicationScaledActivityLogEntry: - typename = "ApplicationScaledActivityLogEntry" + case *GetAllSecretsTeamSecretsSecretConnectionNodesSecretWorkloadsWorkloadConnectionNodesJob: + typename = "Job" result := struct { TypeName string `json:"__typename"` - *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesApplicationScaledActivityLogEntry + *GetAllSecretsTeamSecretsSecretConnectionNodesSecretWorkloadsWorkloadConnectionNodesJob }{typename, v} return json.Marshal(result) - case *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry: - typename = "ClusterAuditActivityLogEntry" + case nil: + return []byte("null"), nil + default: + return nil, fmt.Errorf( + `unexpected concrete type for GetAllSecretsTeamSecretsSecretConnectionNodesSecretWorkloadsWorkloadConnectionNodesWorkload: "%T"`, v) + } +} - result := struct { - TypeName string `json:"__typename"` - *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry - }{typename, v} - return json.Marshal(result) - case *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesCredentialsActivityLogEntry: - typename = "CredentialsActivityLogEntry" +// GetAllValkeysResponse is returned by GetAllValkeys on success. +type GetAllValkeysResponse struct { + // Get a team by its slug. + Team GetAllValkeysTeam `json:"team"` +} - result := struct { - TypeName string `json:"__typename"` - *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesCredentialsActivityLogEntry - }{typename, v} - return json.Marshal(result) - case *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesDeploymentActivityLogEntry: - typename = "DeploymentActivityLogEntry" +// GetTeam returns GetAllValkeysResponse.Team, and is useful for accessing the field via an interface. +func (v *GetAllValkeysResponse) GetTeam() GetAllValkeysTeam { return v.Team } - result := struct { - TypeName string `json:"__typename"` - *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesDeploymentActivityLogEntry - }{typename, v} - return json.Marshal(result) - case *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesJobDeletedActivityLogEntry: - typename = "JobDeletedActivityLogEntry" +// GetAllValkeysTeam includes the requested fields of the GraphQL type Team. +// The GraphQL type's documentation follows. +// +// The team type represents a team on the [Nais platform](https://nais.io/). +// +// Learn more about what Nais teams are and what they can be used for in the [official Nais documentation](https://docs.nais.io/explanations/team/). +// +// External resources (e.g. entraIDGroupID, gitHubTeamSlug) are managed by [Nais API reconcilers](https://github.com/nais/api-reconcilers). +type GetAllValkeysTeam struct { + // Valkey instances owned by the team. + Valkeys GetAllValkeysTeamValkeysValkeyConnection `json:"valkeys"` +} - result := struct { - TypeName string `json:"__typename"` - *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesJobDeletedActivityLogEntry - }{typename, v} - return json.Marshal(result) - case *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesJobRunDeletedActivityLogEntry: - typename = "JobRunDeletedActivityLogEntry" +// GetValkeys returns GetAllValkeysTeam.Valkeys, and is useful for accessing the field via an interface. +func (v *GetAllValkeysTeam) GetValkeys() GetAllValkeysTeamValkeysValkeyConnection { return v.Valkeys } - result := struct { - TypeName string `json:"__typename"` - *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesJobRunDeletedActivityLogEntry - }{typename, v} - return json.Marshal(result) - case *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesJobTriggeredActivityLogEntry: - typename = "JobTriggeredActivityLogEntry" +// GetAllValkeysTeamValkeysValkeyConnection includes the requested fields of the GraphQL type ValkeyConnection. +type GetAllValkeysTeamValkeysValkeyConnection struct { + Nodes []GetAllValkeysTeamValkeysValkeyConnectionNodesValkey `json:"nodes"` +} - result := struct { - TypeName string `json:"__typename"` - *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesJobTriggeredActivityLogEntry - }{typename, v} - return json.Marshal(result) - case *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesOpenSearchCreatedActivityLogEntry: - typename = "OpenSearchCreatedActivityLogEntry" +// GetNodes returns GetAllValkeysTeamValkeysValkeyConnection.Nodes, and is useful for accessing the field via an interface. +func (v *GetAllValkeysTeamValkeysValkeyConnection) GetNodes() []GetAllValkeysTeamValkeysValkeyConnectionNodesValkey { + return v.Nodes +} - result := struct { - TypeName string `json:"__typename"` - *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesOpenSearchCreatedActivityLogEntry - }{typename, v} - return json.Marshal(result) - case *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesOpenSearchDeletedActivityLogEntry: - typename = "OpenSearchDeletedActivityLogEntry" +// GetAllValkeysTeamValkeysValkeyConnectionNodesValkey includes the requested fields of the GraphQL type Valkey. +type GetAllValkeysTeamValkeysValkeyConnectionNodesValkey struct { + Name string `json:"name"` + // Available memory for the Valkey instance. + Memory ValkeyMemory `json:"memory"` + // Availability tier for the Valkey instance. + Tier ValkeyTier `json:"tier"` + // Maximum memory policy for the Valkey instance. + MaxMemoryPolicy ValkeyMaxMemoryPolicy `json:"maxMemoryPolicy"` + State ValkeyState `json:"state"` + TeamEnvironment GetAllValkeysTeamValkeysValkeyConnectionNodesValkeyTeamEnvironment `json:"teamEnvironment"` + Access GetAllValkeysTeamValkeysValkeyConnectionNodesValkeyAccessValkeyAccessConnection `json:"access"` +} - result := struct { - TypeName string `json:"__typename"` - *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesOpenSearchDeletedActivityLogEntry - }{typename, v} - return json.Marshal(result) - case *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesOpenSearchUpdatedActivityLogEntry: - typename = "OpenSearchUpdatedActivityLogEntry" +// GetName returns GetAllValkeysTeamValkeysValkeyConnectionNodesValkey.Name, and is useful for accessing the field via an interface. +func (v *GetAllValkeysTeamValkeysValkeyConnectionNodesValkey) GetName() string { return v.Name } - result := struct { - TypeName string `json:"__typename"` - *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesOpenSearchUpdatedActivityLogEntry - }{typename, v} - return json.Marshal(result) - case *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesPostgresGrantAccessActivityLogEntry: - typename = "PostgresGrantAccessActivityLogEntry" +// GetMemory returns GetAllValkeysTeamValkeysValkeyConnectionNodesValkey.Memory, and is useful for accessing the field via an interface. +func (v *GetAllValkeysTeamValkeysValkeyConnectionNodesValkey) GetMemory() ValkeyMemory { + return v.Memory +} - result := struct { - TypeName string `json:"__typename"` - *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesPostgresGrantAccessActivityLogEntry - }{typename, v} - return json.Marshal(result) - case *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesReconcilerConfiguredActivityLogEntry: - typename = "ReconcilerConfiguredActivityLogEntry" +// GetTier returns GetAllValkeysTeamValkeysValkeyConnectionNodesValkey.Tier, and is useful for accessing the field via an interface. +func (v *GetAllValkeysTeamValkeysValkeyConnectionNodesValkey) GetTier() ValkeyTier { return v.Tier } - result := struct { - TypeName string `json:"__typename"` - *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesReconcilerConfiguredActivityLogEntry - }{typename, v} - return json.Marshal(result) - case *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesReconcilerDisabledActivityLogEntry: - typename = "ReconcilerDisabledActivityLogEntry" +// GetMaxMemoryPolicy returns GetAllValkeysTeamValkeysValkeyConnectionNodesValkey.MaxMemoryPolicy, and is useful for accessing the field via an interface. +func (v *GetAllValkeysTeamValkeysValkeyConnectionNodesValkey) GetMaxMemoryPolicy() ValkeyMaxMemoryPolicy { + return v.MaxMemoryPolicy +} - result := struct { - TypeName string `json:"__typename"` - *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesReconcilerDisabledActivityLogEntry - }{typename, v} - return json.Marshal(result) - case *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesReconcilerEnabledActivityLogEntry: - typename = "ReconcilerEnabledActivityLogEntry" +// GetState returns GetAllValkeysTeamValkeysValkeyConnectionNodesValkey.State, and is useful for accessing the field via an interface. +func (v *GetAllValkeysTeamValkeysValkeyConnectionNodesValkey) GetState() ValkeyState { return v.State } - result := struct { - TypeName string `json:"__typename"` - *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesReconcilerEnabledActivityLogEntry - }{typename, v} - return json.Marshal(result) - case *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRepositoryAddedActivityLogEntry: - typename = "RepositoryAddedActivityLogEntry" +// GetTeamEnvironment returns GetAllValkeysTeamValkeysValkeyConnectionNodesValkey.TeamEnvironment, and is useful for accessing the field via an interface. +func (v *GetAllValkeysTeamValkeysValkeyConnectionNodesValkey) GetTeamEnvironment() GetAllValkeysTeamValkeysValkeyConnectionNodesValkeyTeamEnvironment { + return v.TeamEnvironment +} - result := struct { - TypeName string `json:"__typename"` - *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRepositoryAddedActivityLogEntry - }{typename, v} - return json.Marshal(result) - case *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRepositoryRemovedActivityLogEntry: - typename = "RepositoryRemovedActivityLogEntry" +// GetAccess returns GetAllValkeysTeamValkeysValkeyConnectionNodesValkey.Access, and is useful for accessing the field via an interface. +func (v *GetAllValkeysTeamValkeysValkeyConnectionNodesValkey) GetAccess() GetAllValkeysTeamValkeysValkeyConnectionNodesValkeyAccessValkeyAccessConnection { + return v.Access +} - result := struct { - TypeName string `json:"__typename"` - *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRepositoryRemovedActivityLogEntry - }{typename, v} - return json.Marshal(result) - case *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRoleAssignedToServiceAccountActivityLogEntry: - typename = "RoleAssignedToServiceAccountActivityLogEntry" +// GetAllValkeysTeamValkeysValkeyConnectionNodesValkeyAccessValkeyAccessConnection includes the requested fields of the GraphQL type ValkeyAccessConnection. +type GetAllValkeysTeamValkeysValkeyConnectionNodesValkeyAccessValkeyAccessConnection struct { + Edges []GetAllValkeysTeamValkeysValkeyConnectionNodesValkeyAccessValkeyAccessConnectionEdgesValkeyAccessEdge `json:"edges"` +} - result := struct { - TypeName string `json:"__typename"` - *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRoleAssignedToServiceAccountActivityLogEntry - }{typename, v} - return json.Marshal(result) - case *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRoleRevokedFromServiceAccountActivityLogEntry: - typename = "RoleRevokedFromServiceAccountActivityLogEntry" +// GetEdges returns GetAllValkeysTeamValkeysValkeyConnectionNodesValkeyAccessValkeyAccessConnection.Edges, and is useful for accessing the field via an interface. +func (v *GetAllValkeysTeamValkeysValkeyConnectionNodesValkeyAccessValkeyAccessConnection) GetEdges() []GetAllValkeysTeamValkeysValkeyConnectionNodesValkeyAccessValkeyAccessConnectionEdgesValkeyAccessEdge { + return v.Edges +} - result := struct { - TypeName string `json:"__typename"` - *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRoleRevokedFromServiceAccountActivityLogEntry - }{typename, v} - return json.Marshal(result) - case *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretCreatedActivityLogEntry: - typename = "SecretCreatedActivityLogEntry" +// GetAllValkeysTeamValkeysValkeyConnectionNodesValkeyAccessValkeyAccessConnectionEdgesValkeyAccessEdge includes the requested fields of the GraphQL type ValkeyAccessEdge. +type GetAllValkeysTeamValkeysValkeyConnectionNodesValkeyAccessValkeyAccessConnectionEdgesValkeyAccessEdge struct { + Node GetAllValkeysTeamValkeysValkeyConnectionNodesValkeyAccessValkeyAccessConnectionEdgesValkeyAccessEdgeNodeValkeyAccess `json:"node"` +} - result := struct { - TypeName string `json:"__typename"` - *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretCreatedActivityLogEntry - }{typename, v} - return json.Marshal(result) - case *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretDeletedActivityLogEntry: - typename = "SecretDeletedActivityLogEntry" +// GetNode returns GetAllValkeysTeamValkeysValkeyConnectionNodesValkeyAccessValkeyAccessConnectionEdgesValkeyAccessEdge.Node, and is useful for accessing the field via an interface. +func (v *GetAllValkeysTeamValkeysValkeyConnectionNodesValkeyAccessValkeyAccessConnectionEdgesValkeyAccessEdge) GetNode() GetAllValkeysTeamValkeysValkeyConnectionNodesValkeyAccessValkeyAccessConnectionEdgesValkeyAccessEdgeNodeValkeyAccess { + return v.Node +} - result := struct { - TypeName string `json:"__typename"` - *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretDeletedActivityLogEntry - }{typename, v} - return json.Marshal(result) - case *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValueAddedActivityLogEntry: - typename = "SecretValueAddedActivityLogEntry" +// GetAllValkeysTeamValkeysValkeyConnectionNodesValkeyAccessValkeyAccessConnectionEdgesValkeyAccessEdgeNodeValkeyAccess includes the requested fields of the GraphQL type ValkeyAccess. +type GetAllValkeysTeamValkeysValkeyConnectionNodesValkeyAccessValkeyAccessConnectionEdgesValkeyAccessEdgeNodeValkeyAccess struct { + Access string `json:"access"` +} - result := struct { - TypeName string `json:"__typename"` - *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValueAddedActivityLogEntry - }{typename, v} - return json.Marshal(result) - case *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValueRemovedActivityLogEntry: - typename = "SecretValueRemovedActivityLogEntry" +// GetAccess returns GetAllValkeysTeamValkeysValkeyConnectionNodesValkeyAccessValkeyAccessConnectionEdgesValkeyAccessEdgeNodeValkeyAccess.Access, and is useful for accessing the field via an interface. +func (v *GetAllValkeysTeamValkeysValkeyConnectionNodesValkeyAccessValkeyAccessConnectionEdgesValkeyAccessEdgeNodeValkeyAccess) GetAccess() string { + return v.Access +} - result := struct { - TypeName string `json:"__typename"` - *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValueRemovedActivityLogEntry - }{typename, v} - return json.Marshal(result) - case *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValueUpdatedActivityLogEntry: - typename = "SecretValueUpdatedActivityLogEntry" +// GetAllValkeysTeamValkeysValkeyConnectionNodesValkeyTeamEnvironment includes the requested fields of the GraphQL type TeamEnvironment. +type GetAllValkeysTeamValkeysValkeyConnectionNodesValkeyTeamEnvironment struct { + // Get the environment. + Environment GetAllValkeysTeamValkeysValkeyConnectionNodesValkeyTeamEnvironmentEnvironment `json:"environment"` +} - result := struct { - TypeName string `json:"__typename"` - *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValueUpdatedActivityLogEntry - }{typename, v} - return json.Marshal(result) - case *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValuesViewedActivityLogEntry: - typename = "SecretValuesViewedActivityLogEntry" +// GetEnvironment returns GetAllValkeysTeamValkeysValkeyConnectionNodesValkeyTeamEnvironment.Environment, and is useful for accessing the field via an interface. +func (v *GetAllValkeysTeamValkeysValkeyConnectionNodesValkeyTeamEnvironment) GetEnvironment() GetAllValkeysTeamValkeysValkeyConnectionNodesValkeyTeamEnvironmentEnvironment { + return v.Environment +} - result := struct { - TypeName string `json:"__typename"` - *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValuesViewedActivityLogEntry - }{typename, v} - return json.Marshal(result) - case *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountCreatedActivityLogEntry: - typename = "ServiceAccountCreatedActivityLogEntry" +// GetAllValkeysTeamValkeysValkeyConnectionNodesValkeyTeamEnvironmentEnvironment includes the requested fields of the GraphQL type Environment. +// The GraphQL type's documentation follows. +// +// An environment represents a runtime environment for workloads. +// +// Learn more in the [official Nais documentation](https://docs.nais.io/workloads/explanations/environment/). +type GetAllValkeysTeamValkeysValkeyConnectionNodesValkeyTeamEnvironmentEnvironment struct { + // Unique name of the environment. + Name string `json:"name"` +} - result := struct { - TypeName string `json:"__typename"` - *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountCreatedActivityLogEntry - }{typename, v} - return json.Marshal(result) - case *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountDeletedActivityLogEntry: - typename = "ServiceAccountDeletedActivityLogEntry" +// GetName returns GetAllValkeysTeamValkeysValkeyConnectionNodesValkeyTeamEnvironmentEnvironment.Name, and is useful for accessing the field via an interface. +func (v *GetAllValkeysTeamValkeysValkeyConnectionNodesValkeyTeamEnvironmentEnvironment) GetName() string { + return v.Name +} - result := struct { - TypeName string `json:"__typename"` - *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountDeletedActivityLogEntry +// GetApplicationActivityResponse is returned by GetApplicationActivity on success. +type GetApplicationActivityResponse struct { + // Get a team by its slug. + Team GetApplicationActivityTeam `json:"team"` +} + +// GetTeam returns GetApplicationActivityResponse.Team, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityResponse) GetTeam() GetApplicationActivityTeam { return v.Team } + +// GetApplicationActivityTeam includes the requested fields of the GraphQL type Team. +// The GraphQL type's documentation follows. +// +// The team type represents a team on the [Nais platform](https://nais.io/). +// +// Learn more about what Nais teams are and what they can be used for in the [official Nais documentation](https://docs.nais.io/explanations/team/). +// +// External resources (e.g. entraIDGroupID, gitHubTeamSlug) are managed by [Nais API reconcilers](https://github.com/nais/api-reconcilers). +type GetApplicationActivityTeam struct { + // Nais applications owned by the team. + Applications GetApplicationActivityTeamApplicationsApplicationConnection `json:"applications"` +} + +// GetApplications returns GetApplicationActivityTeam.Applications, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeam) GetApplications() GetApplicationActivityTeamApplicationsApplicationConnection { + return v.Applications +} + +// GetApplicationActivityTeamApplicationsApplicationConnection includes the requested fields of the GraphQL type ApplicationConnection. +// The GraphQL type's documentation follows. +// +// Application connection. +type GetApplicationActivityTeamApplicationsApplicationConnection struct { + // List of nodes. + Nodes []GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplication `json:"nodes"` +} + +// GetNodes returns GetApplicationActivityTeamApplicationsApplicationConnection.Nodes, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnection) GetNodes() []GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplication { + return v.Nodes +} + +// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplication includes the requested fields of the GraphQL type Application. +// The GraphQL type's documentation follows. +// +// An application lets you run one or more instances of a container image on the [Nais platform](https://nais.io/). +// +// Learn more about how to create and configure your applications in the [Nais documentation](https://docs.nais.io/workloads/application/). +type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplication struct { + // The name of the application. + Name string `json:"name"` + // The team environment for the application. + TeamEnvironment GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationTeamEnvironment `json:"teamEnvironment"` + // Activity log associated with the application. + ActivityLog GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnection `json:"activityLog"` +} + +// GetName returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplication.Name, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplication) GetName() string { + return v.Name +} + +// GetTeamEnvironment returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplication.TeamEnvironment, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplication) GetTeamEnvironment() GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationTeamEnvironment { + return v.TeamEnvironment +} + +// GetActivityLog returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplication.ActivityLog, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplication) GetActivityLog() GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnection { + return v.ActivityLog +} + +// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnection includes the requested fields of the GraphQL type ActivityLogEntryConnection. +// The GraphQL type's documentation follows. +// +// Activity log connection. +type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnection struct { + // List of nodes. + Nodes []GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry `json:"-"` +} + +// GetNodes returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnection.Nodes, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnection) GetNodes() []GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry { + return v.Nodes +} + +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnection) UnmarshalJSON(b []byte) error { + + if string(b) == "null" { + return nil + } + + var firstPass struct { + *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnection + Nodes []json.RawMessage `json:"nodes"` + graphql.NoUnmarshalJSON + } + firstPass.GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnection = v + + err := json.Unmarshal(b, &firstPass) + if err != nil { + return err + } + + { + dst := &v.Nodes + src := firstPass.Nodes + *dst = make( + []GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry, + len(src)) + for i, src := range src { + dst := &(*dst)[i] + if len(src) != 0 && string(src) != "null" { + err = __unmarshalGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry( + src, dst) + if err != nil { + return fmt.Errorf( + "unable to unmarshal GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnection.Nodes: %w", err) + } + } + } + } + return nil +} + +type __premarshalGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnection struct { + Nodes []json.RawMessage `json:"nodes"` +} + +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnection) MarshalJSON() ([]byte, error) { + premarshaled, err := v.__premarshalJSON() + if err != nil { + return nil, err + } + return json.Marshal(premarshaled) +} + +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnection) __premarshalJSON() (*__premarshalGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnection, error) { + var retval __premarshalGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnection + + { + + dst := &retval.Nodes + src := v.Nodes + *dst = make( + []json.RawMessage, + len(src)) + for i, src := range src { + dst := &(*dst)[i] + var err error + *dst, err = __marshalGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry( + &src) + if err != nil { + return nil, fmt.Errorf( + "unable to marshal GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnection.Nodes: %w", err) + } + } + } + return &retval, nil +} + +// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry includes the requested fields of the GraphQL interface ActivityLogEntry. +// +// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry is implemented by the following types: +// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesApplicationDeletedActivityLogEntry +// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesApplicationRestartedActivityLogEntry +// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesApplicationScaledActivityLogEntry +// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry +// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesConfigCreatedActivityLogEntry +// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesConfigDeletedActivityLogEntry +// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesConfigUpdatedActivityLogEntry +// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesCredentialsActivityLogEntry +// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesDeploymentActivityLogEntry +// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesJobDeletedActivityLogEntry +// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesJobTriggeredActivityLogEntry +// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesOpenSearchCreatedActivityLogEntry +// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesOpenSearchDeletedActivityLogEntry +// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesOpenSearchUpdatedActivityLogEntry +// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesPostgresGrantAccessActivityLogEntry +// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesReconcilerConfiguredActivityLogEntry +// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesReconcilerDisabledActivityLogEntry +// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesReconcilerEnabledActivityLogEntry +// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRepositoryAddedActivityLogEntry +// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRepositoryRemovedActivityLogEntry +// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRoleAssignedToServiceAccountActivityLogEntry +// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRoleRevokedFromServiceAccountActivityLogEntry +// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretCreatedActivityLogEntry +// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretDeletedActivityLogEntry +// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValueAddedActivityLogEntry +// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValueRemovedActivityLogEntry +// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValueUpdatedActivityLogEntry +// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValuesViewedActivityLogEntry +// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountCreatedActivityLogEntry +// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountDeletedActivityLogEntry +// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountTokenCreatedActivityLogEntry +// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountTokenDeletedActivityLogEntry +// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountTokenUpdatedActivityLogEntry +// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountUpdatedActivityLogEntry +// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceMaintenanceActivityLogEntry +// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamConfirmDeleteKeyActivityLogEntry +// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamCreateDeleteKeyActivityLogEntry +// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamCreatedActivityLogEntry +// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamDeployKeyUpdatedActivityLogEntry +// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamEnvironmentUpdatedActivityLogEntry +// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamMemberAddedActivityLogEntry +// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamMemberRemovedActivityLogEntry +// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamMemberSetRoleActivityLogEntry +// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamUpdatedActivityLogEntry +// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesUnleashInstanceCreatedActivityLogEntry +// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesUnleashInstanceDeletedActivityLogEntry +// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesUnleashInstanceUpdatedActivityLogEntry +// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesValkeyCreatedActivityLogEntry +// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesValkeyDeletedActivityLogEntry +// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesValkeyUpdatedActivityLogEntry +// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesVulnerabilityUpdatedActivityLogEntry +// The GraphQL type's documentation follows. +// +// Interface for activity log entries. +type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry interface { + implementsGraphQLInterfaceGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry() + // GetTypename returns the receiver's concrete GraphQL type-name (see interface doc for possible values). + GetTypename() string + // GetActor returns the interface-field "actor" from its implementation. + // The GraphQL interface field's documentation follows. + // + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + GetActor() string + // GetCreatedAt returns the interface-field "createdAt" from its implementation. + // The GraphQL interface field's documentation follows. + // + // Creation time of the entry. + GetCreatedAt() time.Time + // GetMessage returns the interface-field "message" from its implementation. + // The GraphQL interface field's documentation follows. + // + // Message that summarizes the entry. + GetMessage() string + // GetEnvironmentName returns the interface-field "environmentName" from its implementation. + // The GraphQL interface field's documentation follows. + // + // The environment name that the entry belongs to. + GetEnvironmentName() string +} + +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesApplicationDeletedActivityLogEntry) implementsGraphQLInterfaceGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { +} +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesApplicationRestartedActivityLogEntry) implementsGraphQLInterfaceGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { +} +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesApplicationScaledActivityLogEntry) implementsGraphQLInterfaceGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { +} +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry) implementsGraphQLInterfaceGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { +} +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesConfigCreatedActivityLogEntry) implementsGraphQLInterfaceGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { +} +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesConfigDeletedActivityLogEntry) implementsGraphQLInterfaceGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { +} +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesConfigUpdatedActivityLogEntry) implementsGraphQLInterfaceGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { +} +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesCredentialsActivityLogEntry) implementsGraphQLInterfaceGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { +} +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesDeploymentActivityLogEntry) implementsGraphQLInterfaceGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { +} +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesJobDeletedActivityLogEntry) implementsGraphQLInterfaceGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { +} +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesJobTriggeredActivityLogEntry) implementsGraphQLInterfaceGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { +} +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesOpenSearchCreatedActivityLogEntry) implementsGraphQLInterfaceGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { +} +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesOpenSearchDeletedActivityLogEntry) implementsGraphQLInterfaceGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { +} +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesOpenSearchUpdatedActivityLogEntry) implementsGraphQLInterfaceGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { +} +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesPostgresGrantAccessActivityLogEntry) implementsGraphQLInterfaceGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { +} +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesReconcilerConfiguredActivityLogEntry) implementsGraphQLInterfaceGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { +} +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesReconcilerDisabledActivityLogEntry) implementsGraphQLInterfaceGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { +} +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesReconcilerEnabledActivityLogEntry) implementsGraphQLInterfaceGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { +} +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRepositoryAddedActivityLogEntry) implementsGraphQLInterfaceGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { +} +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRepositoryRemovedActivityLogEntry) implementsGraphQLInterfaceGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { +} +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRoleAssignedToServiceAccountActivityLogEntry) implementsGraphQLInterfaceGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { +} +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRoleRevokedFromServiceAccountActivityLogEntry) implementsGraphQLInterfaceGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { +} +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretCreatedActivityLogEntry) implementsGraphQLInterfaceGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { +} +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretDeletedActivityLogEntry) implementsGraphQLInterfaceGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { +} +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValueAddedActivityLogEntry) implementsGraphQLInterfaceGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { +} +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValueRemovedActivityLogEntry) implementsGraphQLInterfaceGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { +} +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValueUpdatedActivityLogEntry) implementsGraphQLInterfaceGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { +} +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValuesViewedActivityLogEntry) implementsGraphQLInterfaceGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { +} +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountCreatedActivityLogEntry) implementsGraphQLInterfaceGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { +} +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountDeletedActivityLogEntry) implementsGraphQLInterfaceGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { +} +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountTokenCreatedActivityLogEntry) implementsGraphQLInterfaceGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { +} +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountTokenDeletedActivityLogEntry) implementsGraphQLInterfaceGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { +} +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountTokenUpdatedActivityLogEntry) implementsGraphQLInterfaceGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { +} +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountUpdatedActivityLogEntry) implementsGraphQLInterfaceGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { +} +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceMaintenanceActivityLogEntry) implementsGraphQLInterfaceGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { +} +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamConfirmDeleteKeyActivityLogEntry) implementsGraphQLInterfaceGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { +} +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamCreateDeleteKeyActivityLogEntry) implementsGraphQLInterfaceGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { +} +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamCreatedActivityLogEntry) implementsGraphQLInterfaceGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { +} +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamDeployKeyUpdatedActivityLogEntry) implementsGraphQLInterfaceGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { +} +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamEnvironmentUpdatedActivityLogEntry) implementsGraphQLInterfaceGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { +} +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamMemberAddedActivityLogEntry) implementsGraphQLInterfaceGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { +} +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamMemberRemovedActivityLogEntry) implementsGraphQLInterfaceGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { +} +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamMemberSetRoleActivityLogEntry) implementsGraphQLInterfaceGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { +} +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamUpdatedActivityLogEntry) implementsGraphQLInterfaceGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { +} +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesUnleashInstanceCreatedActivityLogEntry) implementsGraphQLInterfaceGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { +} +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesUnleashInstanceDeletedActivityLogEntry) implementsGraphQLInterfaceGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { +} +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesUnleashInstanceUpdatedActivityLogEntry) implementsGraphQLInterfaceGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { +} +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesValkeyCreatedActivityLogEntry) implementsGraphQLInterfaceGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { +} +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesValkeyDeletedActivityLogEntry) implementsGraphQLInterfaceGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { +} +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesValkeyUpdatedActivityLogEntry) implementsGraphQLInterfaceGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { +} +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesVulnerabilityUpdatedActivityLogEntry) implementsGraphQLInterfaceGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { +} + +func __unmarshalGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry(b []byte, v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry) error { + if string(b) == "null" { + return nil + } + + var tn struct { + TypeName string `json:"__typename"` + } + err := json.Unmarshal(b, &tn) + if err != nil { + return err + } + + switch tn.TypeName { + case "ApplicationDeletedActivityLogEntry": + *v = new(GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesApplicationDeletedActivityLogEntry) + return json.Unmarshal(b, *v) + case "ApplicationRestartedActivityLogEntry": + *v = new(GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesApplicationRestartedActivityLogEntry) + return json.Unmarshal(b, *v) + case "ApplicationScaledActivityLogEntry": + *v = new(GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesApplicationScaledActivityLogEntry) + return json.Unmarshal(b, *v) + case "ClusterAuditActivityLogEntry": + *v = new(GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry) + return json.Unmarshal(b, *v) + case "ConfigCreatedActivityLogEntry": + *v = new(GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesConfigCreatedActivityLogEntry) + return json.Unmarshal(b, *v) + case "ConfigDeletedActivityLogEntry": + *v = new(GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesConfigDeletedActivityLogEntry) + return json.Unmarshal(b, *v) + case "ConfigUpdatedActivityLogEntry": + *v = new(GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesConfigUpdatedActivityLogEntry) + return json.Unmarshal(b, *v) + case "CredentialsActivityLogEntry": + *v = new(GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesCredentialsActivityLogEntry) + return json.Unmarshal(b, *v) + case "DeploymentActivityLogEntry": + *v = new(GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesDeploymentActivityLogEntry) + return json.Unmarshal(b, *v) + case "JobDeletedActivityLogEntry": + *v = new(GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesJobDeletedActivityLogEntry) + return json.Unmarshal(b, *v) + case "JobTriggeredActivityLogEntry": + *v = new(GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesJobTriggeredActivityLogEntry) + return json.Unmarshal(b, *v) + case "OpenSearchCreatedActivityLogEntry": + *v = new(GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesOpenSearchCreatedActivityLogEntry) + return json.Unmarshal(b, *v) + case "OpenSearchDeletedActivityLogEntry": + *v = new(GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesOpenSearchDeletedActivityLogEntry) + return json.Unmarshal(b, *v) + case "OpenSearchUpdatedActivityLogEntry": + *v = new(GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesOpenSearchUpdatedActivityLogEntry) + return json.Unmarshal(b, *v) + case "PostgresGrantAccessActivityLogEntry": + *v = new(GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesPostgresGrantAccessActivityLogEntry) + return json.Unmarshal(b, *v) + case "ReconcilerConfiguredActivityLogEntry": + *v = new(GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesReconcilerConfiguredActivityLogEntry) + return json.Unmarshal(b, *v) + case "ReconcilerDisabledActivityLogEntry": + *v = new(GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesReconcilerDisabledActivityLogEntry) + return json.Unmarshal(b, *v) + case "ReconcilerEnabledActivityLogEntry": + *v = new(GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesReconcilerEnabledActivityLogEntry) + return json.Unmarshal(b, *v) + case "RepositoryAddedActivityLogEntry": + *v = new(GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRepositoryAddedActivityLogEntry) + return json.Unmarshal(b, *v) + case "RepositoryRemovedActivityLogEntry": + *v = new(GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRepositoryRemovedActivityLogEntry) + return json.Unmarshal(b, *v) + case "RoleAssignedToServiceAccountActivityLogEntry": + *v = new(GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRoleAssignedToServiceAccountActivityLogEntry) + return json.Unmarshal(b, *v) + case "RoleRevokedFromServiceAccountActivityLogEntry": + *v = new(GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRoleRevokedFromServiceAccountActivityLogEntry) + return json.Unmarshal(b, *v) + case "SecretCreatedActivityLogEntry": + *v = new(GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretCreatedActivityLogEntry) + return json.Unmarshal(b, *v) + case "SecretDeletedActivityLogEntry": + *v = new(GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretDeletedActivityLogEntry) + return json.Unmarshal(b, *v) + case "SecretValueAddedActivityLogEntry": + *v = new(GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValueAddedActivityLogEntry) + return json.Unmarshal(b, *v) + case "SecretValueRemovedActivityLogEntry": + *v = new(GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValueRemovedActivityLogEntry) + return json.Unmarshal(b, *v) + case "SecretValueUpdatedActivityLogEntry": + *v = new(GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValueUpdatedActivityLogEntry) + return json.Unmarshal(b, *v) + case "SecretValuesViewedActivityLogEntry": + *v = new(GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValuesViewedActivityLogEntry) + return json.Unmarshal(b, *v) + case "ServiceAccountCreatedActivityLogEntry": + *v = new(GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountCreatedActivityLogEntry) + return json.Unmarshal(b, *v) + case "ServiceAccountDeletedActivityLogEntry": + *v = new(GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountDeletedActivityLogEntry) + return json.Unmarshal(b, *v) + case "ServiceAccountTokenCreatedActivityLogEntry": + *v = new(GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountTokenCreatedActivityLogEntry) + return json.Unmarshal(b, *v) + case "ServiceAccountTokenDeletedActivityLogEntry": + *v = new(GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountTokenDeletedActivityLogEntry) + return json.Unmarshal(b, *v) + case "ServiceAccountTokenUpdatedActivityLogEntry": + *v = new(GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountTokenUpdatedActivityLogEntry) + return json.Unmarshal(b, *v) + case "ServiceAccountUpdatedActivityLogEntry": + *v = new(GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountUpdatedActivityLogEntry) + return json.Unmarshal(b, *v) + case "ServiceMaintenanceActivityLogEntry": + *v = new(GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceMaintenanceActivityLogEntry) + return json.Unmarshal(b, *v) + case "TeamConfirmDeleteKeyActivityLogEntry": + *v = new(GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamConfirmDeleteKeyActivityLogEntry) + return json.Unmarshal(b, *v) + case "TeamCreateDeleteKeyActivityLogEntry": + *v = new(GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamCreateDeleteKeyActivityLogEntry) + return json.Unmarshal(b, *v) + case "TeamCreatedActivityLogEntry": + *v = new(GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamCreatedActivityLogEntry) + return json.Unmarshal(b, *v) + case "TeamDeployKeyUpdatedActivityLogEntry": + *v = new(GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamDeployKeyUpdatedActivityLogEntry) + return json.Unmarshal(b, *v) + case "TeamEnvironmentUpdatedActivityLogEntry": + *v = new(GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamEnvironmentUpdatedActivityLogEntry) + return json.Unmarshal(b, *v) + case "TeamMemberAddedActivityLogEntry": + *v = new(GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamMemberAddedActivityLogEntry) + return json.Unmarshal(b, *v) + case "TeamMemberRemovedActivityLogEntry": + *v = new(GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamMemberRemovedActivityLogEntry) + return json.Unmarshal(b, *v) + case "TeamMemberSetRoleActivityLogEntry": + *v = new(GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamMemberSetRoleActivityLogEntry) + return json.Unmarshal(b, *v) + case "TeamUpdatedActivityLogEntry": + *v = new(GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamUpdatedActivityLogEntry) + return json.Unmarshal(b, *v) + case "UnleashInstanceCreatedActivityLogEntry": + *v = new(GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesUnleashInstanceCreatedActivityLogEntry) + return json.Unmarshal(b, *v) + case "UnleashInstanceDeletedActivityLogEntry": + *v = new(GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesUnleashInstanceDeletedActivityLogEntry) + return json.Unmarshal(b, *v) + case "UnleashInstanceUpdatedActivityLogEntry": + *v = new(GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesUnleashInstanceUpdatedActivityLogEntry) + return json.Unmarshal(b, *v) + case "ValkeyCreatedActivityLogEntry": + *v = new(GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesValkeyCreatedActivityLogEntry) + return json.Unmarshal(b, *v) + case "ValkeyDeletedActivityLogEntry": + *v = new(GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesValkeyDeletedActivityLogEntry) + return json.Unmarshal(b, *v) + case "ValkeyUpdatedActivityLogEntry": + *v = new(GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesValkeyUpdatedActivityLogEntry) + return json.Unmarshal(b, *v) + case "VulnerabilityUpdatedActivityLogEntry": + *v = new(GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesVulnerabilityUpdatedActivityLogEntry) + return json.Unmarshal(b, *v) + case "": + return fmt.Errorf( + "response was missing ActivityLogEntry.__typename") + default: + return fmt.Errorf( + `unexpected concrete type for GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry: "%v"`, tn.TypeName) + } +} + +func __marshalGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry(v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry) ([]byte, error) { + + var typename string + switch v := (*v).(type) { + case *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesApplicationDeletedActivityLogEntry: + typename = "ApplicationDeletedActivityLogEntry" + + result := struct { + TypeName string `json:"__typename"` + *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesApplicationDeletedActivityLogEntry + }{typename, v} + return json.Marshal(result) + case *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesApplicationRestartedActivityLogEntry: + typename = "ApplicationRestartedActivityLogEntry" + + result := struct { + TypeName string `json:"__typename"` + *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesApplicationRestartedActivityLogEntry + }{typename, v} + return json.Marshal(result) + case *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesApplicationScaledActivityLogEntry: + typename = "ApplicationScaledActivityLogEntry" + + result := struct { + TypeName string `json:"__typename"` + *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesApplicationScaledActivityLogEntry + }{typename, v} + return json.Marshal(result) + case *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry: + typename = "ClusterAuditActivityLogEntry" + + result := struct { + TypeName string `json:"__typename"` + *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry + }{typename, v} + return json.Marshal(result) + case *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesConfigCreatedActivityLogEntry: + typename = "ConfigCreatedActivityLogEntry" + + result := struct { + TypeName string `json:"__typename"` + *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesConfigCreatedActivityLogEntry + }{typename, v} + return json.Marshal(result) + case *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesConfigDeletedActivityLogEntry: + typename = "ConfigDeletedActivityLogEntry" + + result := struct { + TypeName string `json:"__typename"` + *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesConfigDeletedActivityLogEntry + }{typename, v} + return json.Marshal(result) + case *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesConfigUpdatedActivityLogEntry: + typename = "ConfigUpdatedActivityLogEntry" + + result := struct { + TypeName string `json:"__typename"` + *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesConfigUpdatedActivityLogEntry + }{typename, v} + return json.Marshal(result) + case *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesCredentialsActivityLogEntry: + typename = "CredentialsActivityLogEntry" + + result := struct { + TypeName string `json:"__typename"` + *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesCredentialsActivityLogEntry + }{typename, v} + return json.Marshal(result) + case *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesDeploymentActivityLogEntry: + typename = "DeploymentActivityLogEntry" + + result := struct { + TypeName string `json:"__typename"` + *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesDeploymentActivityLogEntry + }{typename, v} + return json.Marshal(result) + case *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesJobDeletedActivityLogEntry: + typename = "JobDeletedActivityLogEntry" + + result := struct { + TypeName string `json:"__typename"` + *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesJobDeletedActivityLogEntry + }{typename, v} + return json.Marshal(result) + case *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesJobTriggeredActivityLogEntry: + typename = "JobTriggeredActivityLogEntry" + + result := struct { + TypeName string `json:"__typename"` + *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesJobTriggeredActivityLogEntry + }{typename, v} + return json.Marshal(result) + case *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesOpenSearchCreatedActivityLogEntry: + typename = "OpenSearchCreatedActivityLogEntry" + + result := struct { + TypeName string `json:"__typename"` + *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesOpenSearchCreatedActivityLogEntry + }{typename, v} + return json.Marshal(result) + case *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesOpenSearchDeletedActivityLogEntry: + typename = "OpenSearchDeletedActivityLogEntry" + + result := struct { + TypeName string `json:"__typename"` + *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesOpenSearchDeletedActivityLogEntry + }{typename, v} + return json.Marshal(result) + case *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesOpenSearchUpdatedActivityLogEntry: + typename = "OpenSearchUpdatedActivityLogEntry" + + result := struct { + TypeName string `json:"__typename"` + *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesOpenSearchUpdatedActivityLogEntry + }{typename, v} + return json.Marshal(result) + case *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesPostgresGrantAccessActivityLogEntry: + typename = "PostgresGrantAccessActivityLogEntry" + + result := struct { + TypeName string `json:"__typename"` + *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesPostgresGrantAccessActivityLogEntry + }{typename, v} + return json.Marshal(result) + case *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesReconcilerConfiguredActivityLogEntry: + typename = "ReconcilerConfiguredActivityLogEntry" + + result := struct { + TypeName string `json:"__typename"` + *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesReconcilerConfiguredActivityLogEntry + }{typename, v} + return json.Marshal(result) + case *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesReconcilerDisabledActivityLogEntry: + typename = "ReconcilerDisabledActivityLogEntry" + + result := struct { + TypeName string `json:"__typename"` + *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesReconcilerDisabledActivityLogEntry + }{typename, v} + return json.Marshal(result) + case *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesReconcilerEnabledActivityLogEntry: + typename = "ReconcilerEnabledActivityLogEntry" + + result := struct { + TypeName string `json:"__typename"` + *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesReconcilerEnabledActivityLogEntry + }{typename, v} + return json.Marshal(result) + case *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRepositoryAddedActivityLogEntry: + typename = "RepositoryAddedActivityLogEntry" + + result := struct { + TypeName string `json:"__typename"` + *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRepositoryAddedActivityLogEntry + }{typename, v} + return json.Marshal(result) + case *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRepositoryRemovedActivityLogEntry: + typename = "RepositoryRemovedActivityLogEntry" + + result := struct { + TypeName string `json:"__typename"` + *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRepositoryRemovedActivityLogEntry + }{typename, v} + return json.Marshal(result) + case *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRoleAssignedToServiceAccountActivityLogEntry: + typename = "RoleAssignedToServiceAccountActivityLogEntry" + + result := struct { + TypeName string `json:"__typename"` + *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRoleAssignedToServiceAccountActivityLogEntry + }{typename, v} + return json.Marshal(result) + case *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRoleRevokedFromServiceAccountActivityLogEntry: + typename = "RoleRevokedFromServiceAccountActivityLogEntry" + + result := struct { + TypeName string `json:"__typename"` + *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRoleRevokedFromServiceAccountActivityLogEntry + }{typename, v} + return json.Marshal(result) + case *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretCreatedActivityLogEntry: + typename = "SecretCreatedActivityLogEntry" + + result := struct { + TypeName string `json:"__typename"` + *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretCreatedActivityLogEntry + }{typename, v} + return json.Marshal(result) + case *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretDeletedActivityLogEntry: + typename = "SecretDeletedActivityLogEntry" + + result := struct { + TypeName string `json:"__typename"` + *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretDeletedActivityLogEntry + }{typename, v} + return json.Marshal(result) + case *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValueAddedActivityLogEntry: + typename = "SecretValueAddedActivityLogEntry" + + result := struct { + TypeName string `json:"__typename"` + *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValueAddedActivityLogEntry + }{typename, v} + return json.Marshal(result) + case *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValueRemovedActivityLogEntry: + typename = "SecretValueRemovedActivityLogEntry" + + result := struct { + TypeName string `json:"__typename"` + *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValueRemovedActivityLogEntry + }{typename, v} + return json.Marshal(result) + case *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValueUpdatedActivityLogEntry: + typename = "SecretValueUpdatedActivityLogEntry" + + result := struct { + TypeName string `json:"__typename"` + *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValueUpdatedActivityLogEntry + }{typename, v} + return json.Marshal(result) + case *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValuesViewedActivityLogEntry: + typename = "SecretValuesViewedActivityLogEntry" + + result := struct { + TypeName string `json:"__typename"` + *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValuesViewedActivityLogEntry + }{typename, v} + return json.Marshal(result) + case *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountCreatedActivityLogEntry: + typename = "ServiceAccountCreatedActivityLogEntry" + + result := struct { + TypeName string `json:"__typename"` + *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountCreatedActivityLogEntry + }{typename, v} + return json.Marshal(result) + case *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountDeletedActivityLogEntry: + typename = "ServiceAccountDeletedActivityLogEntry" + + result := struct { + TypeName string `json:"__typename"` + *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountDeletedActivityLogEntry + }{typename, v} + return json.Marshal(result) + case *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountTokenCreatedActivityLogEntry: + typename = "ServiceAccountTokenCreatedActivityLogEntry" + + result := struct { + TypeName string `json:"__typename"` + *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountTokenCreatedActivityLogEntry + }{typename, v} + return json.Marshal(result) + case *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountTokenDeletedActivityLogEntry: + typename = "ServiceAccountTokenDeletedActivityLogEntry" + + result := struct { + TypeName string `json:"__typename"` + *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountTokenDeletedActivityLogEntry + }{typename, v} + return json.Marshal(result) + case *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountTokenUpdatedActivityLogEntry: + typename = "ServiceAccountTokenUpdatedActivityLogEntry" + + result := struct { + TypeName string `json:"__typename"` + *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountTokenUpdatedActivityLogEntry + }{typename, v} + return json.Marshal(result) + case *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountUpdatedActivityLogEntry: + typename = "ServiceAccountUpdatedActivityLogEntry" + + result := struct { + TypeName string `json:"__typename"` + *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountUpdatedActivityLogEntry + }{typename, v} + return json.Marshal(result) + case *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceMaintenanceActivityLogEntry: + typename = "ServiceMaintenanceActivityLogEntry" + + result := struct { + TypeName string `json:"__typename"` + *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceMaintenanceActivityLogEntry + }{typename, v} + return json.Marshal(result) + case *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamConfirmDeleteKeyActivityLogEntry: + typename = "TeamConfirmDeleteKeyActivityLogEntry" + + result := struct { + TypeName string `json:"__typename"` + *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamConfirmDeleteKeyActivityLogEntry + }{typename, v} + return json.Marshal(result) + case *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamCreateDeleteKeyActivityLogEntry: + typename = "TeamCreateDeleteKeyActivityLogEntry" + + result := struct { + TypeName string `json:"__typename"` + *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamCreateDeleteKeyActivityLogEntry + }{typename, v} + return json.Marshal(result) + case *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamCreatedActivityLogEntry: + typename = "TeamCreatedActivityLogEntry" + + result := struct { + TypeName string `json:"__typename"` + *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamCreatedActivityLogEntry + }{typename, v} + return json.Marshal(result) + case *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamDeployKeyUpdatedActivityLogEntry: + typename = "TeamDeployKeyUpdatedActivityLogEntry" + + result := struct { + TypeName string `json:"__typename"` + *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamDeployKeyUpdatedActivityLogEntry + }{typename, v} + return json.Marshal(result) + case *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamEnvironmentUpdatedActivityLogEntry: + typename = "TeamEnvironmentUpdatedActivityLogEntry" + + result := struct { + TypeName string `json:"__typename"` + *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamEnvironmentUpdatedActivityLogEntry + }{typename, v} + return json.Marshal(result) + case *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamMemberAddedActivityLogEntry: + typename = "TeamMemberAddedActivityLogEntry" + + result := struct { + TypeName string `json:"__typename"` + *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamMemberAddedActivityLogEntry + }{typename, v} + return json.Marshal(result) + case *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamMemberRemovedActivityLogEntry: + typename = "TeamMemberRemovedActivityLogEntry" + + result := struct { + TypeName string `json:"__typename"` + *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamMemberRemovedActivityLogEntry + }{typename, v} + return json.Marshal(result) + case *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamMemberSetRoleActivityLogEntry: + typename = "TeamMemberSetRoleActivityLogEntry" + + result := struct { + TypeName string `json:"__typename"` + *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamMemberSetRoleActivityLogEntry + }{typename, v} + return json.Marshal(result) + case *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamUpdatedActivityLogEntry: + typename = "TeamUpdatedActivityLogEntry" + + result := struct { + TypeName string `json:"__typename"` + *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamUpdatedActivityLogEntry + }{typename, v} + return json.Marshal(result) + case *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesUnleashInstanceCreatedActivityLogEntry: + typename = "UnleashInstanceCreatedActivityLogEntry" + + result := struct { + TypeName string `json:"__typename"` + *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesUnleashInstanceCreatedActivityLogEntry + }{typename, v} + return json.Marshal(result) + case *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesUnleashInstanceDeletedActivityLogEntry: + typename = "UnleashInstanceDeletedActivityLogEntry" + + result := struct { + TypeName string `json:"__typename"` + *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesUnleashInstanceDeletedActivityLogEntry + }{typename, v} + return json.Marshal(result) + case *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesUnleashInstanceUpdatedActivityLogEntry: + typename = "UnleashInstanceUpdatedActivityLogEntry" + + result := struct { + TypeName string `json:"__typename"` + *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesUnleashInstanceUpdatedActivityLogEntry + }{typename, v} + return json.Marshal(result) + case *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesValkeyCreatedActivityLogEntry: + typename = "ValkeyCreatedActivityLogEntry" + + result := struct { + TypeName string `json:"__typename"` + *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesValkeyCreatedActivityLogEntry + }{typename, v} + return json.Marshal(result) + case *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesValkeyDeletedActivityLogEntry: + typename = "ValkeyDeletedActivityLogEntry" + + result := struct { + TypeName string `json:"__typename"` + *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesValkeyDeletedActivityLogEntry + }{typename, v} + return json.Marshal(result) + case *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesValkeyUpdatedActivityLogEntry: + typename = "ValkeyUpdatedActivityLogEntry" + + result := struct { + TypeName string `json:"__typename"` + *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesValkeyUpdatedActivityLogEntry + }{typename, v} + return json.Marshal(result) + case *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesVulnerabilityUpdatedActivityLogEntry: + typename = "VulnerabilityUpdatedActivityLogEntry" + + result := struct { + TypeName string `json:"__typename"` + *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesVulnerabilityUpdatedActivityLogEntry + }{typename, v} + return json.Marshal(result) + case nil: + return []byte("null"), nil + default: + return nil, fmt.Errorf( + `unexpected concrete type for GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry: "%T"`, v) + } +} + +// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesApplicationDeletedActivityLogEntry includes the requested fields of the GraphQL type ApplicationDeletedActivityLogEntry. +type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesApplicationDeletedActivityLogEntry struct { + Typename string `json:"__typename"` + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + Actor string `json:"actor"` + // Creation time of the entry. + CreatedAt time.Time `json:"createdAt"` + // Message that summarizes the entry. + Message string `json:"message"` + // The environment name that the entry belongs to. + EnvironmentName string `json:"environmentName"` +} + +// GetTypename returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesApplicationDeletedActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesApplicationDeletedActivityLogEntry) GetTypename() string { + return v.Typename +} + +// GetActor returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesApplicationDeletedActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesApplicationDeletedActivityLogEntry) GetActor() string { + return v.Actor +} + +// GetCreatedAt returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesApplicationDeletedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesApplicationDeletedActivityLogEntry) GetCreatedAt() time.Time { + return v.CreatedAt +} + +// GetMessage returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesApplicationDeletedActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesApplicationDeletedActivityLogEntry) GetMessage() string { + return v.Message +} + +// GetEnvironmentName returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesApplicationDeletedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesApplicationDeletedActivityLogEntry) GetEnvironmentName() string { + return v.EnvironmentName +} + +// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesApplicationRestartedActivityLogEntry includes the requested fields of the GraphQL type ApplicationRestartedActivityLogEntry. +type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesApplicationRestartedActivityLogEntry struct { + Typename string `json:"__typename"` + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + Actor string `json:"actor"` + // Creation time of the entry. + CreatedAt time.Time `json:"createdAt"` + // Message that summarizes the entry. + Message string `json:"message"` + // The environment name that the entry belongs to. + EnvironmentName string `json:"environmentName"` +} + +// GetTypename returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesApplicationRestartedActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesApplicationRestartedActivityLogEntry) GetTypename() string { + return v.Typename +} + +// GetActor returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesApplicationRestartedActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesApplicationRestartedActivityLogEntry) GetActor() string { + return v.Actor +} + +// GetCreatedAt returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesApplicationRestartedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesApplicationRestartedActivityLogEntry) GetCreatedAt() time.Time { + return v.CreatedAt +} + +// GetMessage returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesApplicationRestartedActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesApplicationRestartedActivityLogEntry) GetMessage() string { + return v.Message +} + +// GetEnvironmentName returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesApplicationRestartedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesApplicationRestartedActivityLogEntry) GetEnvironmentName() string { + return v.EnvironmentName +} + +// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesApplicationScaledActivityLogEntry includes the requested fields of the GraphQL type ApplicationScaledActivityLogEntry. +type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesApplicationScaledActivityLogEntry struct { + Typename string `json:"__typename"` + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + Actor string `json:"actor"` + // Creation time of the entry. + CreatedAt time.Time `json:"createdAt"` + // Message that summarizes the entry. + Message string `json:"message"` + // The environment name that the entry belongs to. + EnvironmentName string `json:"environmentName"` +} + +// GetTypename returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesApplicationScaledActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesApplicationScaledActivityLogEntry) GetTypename() string { + return v.Typename +} + +// GetActor returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesApplicationScaledActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesApplicationScaledActivityLogEntry) GetActor() string { + return v.Actor +} + +// GetCreatedAt returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesApplicationScaledActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesApplicationScaledActivityLogEntry) GetCreatedAt() time.Time { + return v.CreatedAt +} + +// GetMessage returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesApplicationScaledActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesApplicationScaledActivityLogEntry) GetMessage() string { + return v.Message +} + +// GetEnvironmentName returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesApplicationScaledActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesApplicationScaledActivityLogEntry) GetEnvironmentName() string { + return v.EnvironmentName +} + +// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry includes the requested fields of the GraphQL type ClusterAuditActivityLogEntry. +type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry struct { + Typename string `json:"__typename"` + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + Actor string `json:"actor"` + // Creation time of the entry. + CreatedAt time.Time `json:"createdAt"` + // Message that summarizes the entry. + Message string `json:"message"` + // The environment name that the entry belongs to. + EnvironmentName string `json:"environmentName"` +} + +// GetTypename returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry) GetTypename() string { + return v.Typename +} + +// GetActor returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry) GetActor() string { + return v.Actor +} + +// GetCreatedAt returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry) GetCreatedAt() time.Time { + return v.CreatedAt +} + +// GetMessage returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry) GetMessage() string { + return v.Message +} + +// GetEnvironmentName returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry) GetEnvironmentName() string { + return v.EnvironmentName +} + +// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesConfigCreatedActivityLogEntry includes the requested fields of the GraphQL type ConfigCreatedActivityLogEntry. +type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesConfigCreatedActivityLogEntry struct { + Typename string `json:"__typename"` + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + Actor string `json:"actor"` + // Creation time of the entry. + CreatedAt time.Time `json:"createdAt"` + // Message that summarizes the entry. + Message string `json:"message"` + // The environment name that the entry belongs to. + EnvironmentName string `json:"environmentName"` +} + +// GetTypename returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesConfigCreatedActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesConfigCreatedActivityLogEntry) GetTypename() string { + return v.Typename +} + +// GetActor returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesConfigCreatedActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesConfigCreatedActivityLogEntry) GetActor() string { + return v.Actor +} + +// GetCreatedAt returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesConfigCreatedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesConfigCreatedActivityLogEntry) GetCreatedAt() time.Time { + return v.CreatedAt +} + +// GetMessage returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesConfigCreatedActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesConfigCreatedActivityLogEntry) GetMessage() string { + return v.Message +} + +// GetEnvironmentName returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesConfigCreatedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesConfigCreatedActivityLogEntry) GetEnvironmentName() string { + return v.EnvironmentName +} + +// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesConfigDeletedActivityLogEntry includes the requested fields of the GraphQL type ConfigDeletedActivityLogEntry. +type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesConfigDeletedActivityLogEntry struct { + Typename string `json:"__typename"` + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + Actor string `json:"actor"` + // Creation time of the entry. + CreatedAt time.Time `json:"createdAt"` + // Message that summarizes the entry. + Message string `json:"message"` + // The environment name that the entry belongs to. + EnvironmentName string `json:"environmentName"` +} + +// GetTypename returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesConfigDeletedActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesConfigDeletedActivityLogEntry) GetTypename() string { + return v.Typename +} + +// GetActor returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesConfigDeletedActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesConfigDeletedActivityLogEntry) GetActor() string { + return v.Actor +} + +// GetCreatedAt returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesConfigDeletedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesConfigDeletedActivityLogEntry) GetCreatedAt() time.Time { + return v.CreatedAt +} + +// GetMessage returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesConfigDeletedActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesConfigDeletedActivityLogEntry) GetMessage() string { + return v.Message +} + +// GetEnvironmentName returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesConfigDeletedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesConfigDeletedActivityLogEntry) GetEnvironmentName() string { + return v.EnvironmentName +} + +// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesConfigUpdatedActivityLogEntry includes the requested fields of the GraphQL type ConfigUpdatedActivityLogEntry. +type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesConfigUpdatedActivityLogEntry struct { + Typename string `json:"__typename"` + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + Actor string `json:"actor"` + // Creation time of the entry. + CreatedAt time.Time `json:"createdAt"` + // Message that summarizes the entry. + Message string `json:"message"` + // The environment name that the entry belongs to. + EnvironmentName string `json:"environmentName"` +} + +// GetTypename returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesConfigUpdatedActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesConfigUpdatedActivityLogEntry) GetTypename() string { + return v.Typename +} + +// GetActor returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesConfigUpdatedActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesConfigUpdatedActivityLogEntry) GetActor() string { + return v.Actor +} + +// GetCreatedAt returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesConfigUpdatedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesConfigUpdatedActivityLogEntry) GetCreatedAt() time.Time { + return v.CreatedAt +} + +// GetMessage returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesConfigUpdatedActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesConfigUpdatedActivityLogEntry) GetMessage() string { + return v.Message +} + +// GetEnvironmentName returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesConfigUpdatedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesConfigUpdatedActivityLogEntry) GetEnvironmentName() string { + return v.EnvironmentName +} + +// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesCredentialsActivityLogEntry includes the requested fields of the GraphQL type CredentialsActivityLogEntry. +type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesCredentialsActivityLogEntry struct { + Typename string `json:"__typename"` + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + Actor string `json:"actor"` + // Creation time of the entry. + CreatedAt time.Time `json:"createdAt"` + // Message that summarizes the entry. + Message string `json:"message"` + // The environment name that the entry belongs to. + EnvironmentName string `json:"environmentName"` +} + +// GetTypename returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesCredentialsActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesCredentialsActivityLogEntry) GetTypename() string { + return v.Typename +} + +// GetActor returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesCredentialsActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesCredentialsActivityLogEntry) GetActor() string { + return v.Actor +} + +// GetCreatedAt returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesCredentialsActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesCredentialsActivityLogEntry) GetCreatedAt() time.Time { + return v.CreatedAt +} + +// GetMessage returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesCredentialsActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesCredentialsActivityLogEntry) GetMessage() string { + return v.Message +} + +// GetEnvironmentName returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesCredentialsActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesCredentialsActivityLogEntry) GetEnvironmentName() string { + return v.EnvironmentName +} + +// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesDeploymentActivityLogEntry includes the requested fields of the GraphQL type DeploymentActivityLogEntry. +type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesDeploymentActivityLogEntry struct { + Typename string `json:"__typename"` + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + Actor string `json:"actor"` + // Creation time of the entry. + CreatedAt time.Time `json:"createdAt"` + // Message that summarizes the entry. + Message string `json:"message"` + // The environment name that the entry belongs to. + EnvironmentName string `json:"environmentName"` +} + +// GetTypename returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesDeploymentActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesDeploymentActivityLogEntry) GetTypename() string { + return v.Typename +} + +// GetActor returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesDeploymentActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesDeploymentActivityLogEntry) GetActor() string { + return v.Actor +} + +// GetCreatedAt returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesDeploymentActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesDeploymentActivityLogEntry) GetCreatedAt() time.Time { + return v.CreatedAt +} + +// GetMessage returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesDeploymentActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesDeploymentActivityLogEntry) GetMessage() string { + return v.Message +} + +// GetEnvironmentName returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesDeploymentActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesDeploymentActivityLogEntry) GetEnvironmentName() string { + return v.EnvironmentName +} + +// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesJobDeletedActivityLogEntry includes the requested fields of the GraphQL type JobDeletedActivityLogEntry. +type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesJobDeletedActivityLogEntry struct { + Typename string `json:"__typename"` + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + Actor string `json:"actor"` + // Creation time of the entry. + CreatedAt time.Time `json:"createdAt"` + // Message that summarizes the entry. + Message string `json:"message"` + // The environment name that the entry belongs to. + EnvironmentName string `json:"environmentName"` +} + +// GetTypename returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesJobDeletedActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesJobDeletedActivityLogEntry) GetTypename() string { + return v.Typename +} + +// GetActor returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesJobDeletedActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesJobDeletedActivityLogEntry) GetActor() string { + return v.Actor +} + +// GetCreatedAt returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesJobDeletedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesJobDeletedActivityLogEntry) GetCreatedAt() time.Time { + return v.CreatedAt +} + +// GetMessage returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesJobDeletedActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesJobDeletedActivityLogEntry) GetMessage() string { + return v.Message +} + +// GetEnvironmentName returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesJobDeletedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesJobDeletedActivityLogEntry) GetEnvironmentName() string { + return v.EnvironmentName +} + +// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesJobTriggeredActivityLogEntry includes the requested fields of the GraphQL type JobTriggeredActivityLogEntry. +type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesJobTriggeredActivityLogEntry struct { + Typename string `json:"__typename"` + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + Actor string `json:"actor"` + // Creation time of the entry. + CreatedAt time.Time `json:"createdAt"` + // Message that summarizes the entry. + Message string `json:"message"` + // The environment name that the entry belongs to. + EnvironmentName string `json:"environmentName"` +} + +// GetTypename returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesJobTriggeredActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesJobTriggeredActivityLogEntry) GetTypename() string { + return v.Typename +} + +// GetActor returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesJobTriggeredActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesJobTriggeredActivityLogEntry) GetActor() string { + return v.Actor +} + +// GetCreatedAt returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesJobTriggeredActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesJobTriggeredActivityLogEntry) GetCreatedAt() time.Time { + return v.CreatedAt +} + +// GetMessage returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesJobTriggeredActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesJobTriggeredActivityLogEntry) GetMessage() string { + return v.Message +} + +// GetEnvironmentName returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesJobTriggeredActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesJobTriggeredActivityLogEntry) GetEnvironmentName() string { + return v.EnvironmentName +} + +// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesOpenSearchCreatedActivityLogEntry includes the requested fields of the GraphQL type OpenSearchCreatedActivityLogEntry. +type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesOpenSearchCreatedActivityLogEntry struct { + Typename string `json:"__typename"` + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + Actor string `json:"actor"` + // Creation time of the entry. + CreatedAt time.Time `json:"createdAt"` + // Message that summarizes the entry. + Message string `json:"message"` + // The environment name that the entry belongs to. + EnvironmentName string `json:"environmentName"` +} + +// GetTypename returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesOpenSearchCreatedActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesOpenSearchCreatedActivityLogEntry) GetTypename() string { + return v.Typename +} + +// GetActor returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesOpenSearchCreatedActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesOpenSearchCreatedActivityLogEntry) GetActor() string { + return v.Actor +} + +// GetCreatedAt returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesOpenSearchCreatedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesOpenSearchCreatedActivityLogEntry) GetCreatedAt() time.Time { + return v.CreatedAt +} + +// GetMessage returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesOpenSearchCreatedActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesOpenSearchCreatedActivityLogEntry) GetMessage() string { + return v.Message +} + +// GetEnvironmentName returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesOpenSearchCreatedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesOpenSearchCreatedActivityLogEntry) GetEnvironmentName() string { + return v.EnvironmentName +} + +// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesOpenSearchDeletedActivityLogEntry includes the requested fields of the GraphQL type OpenSearchDeletedActivityLogEntry. +type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesOpenSearchDeletedActivityLogEntry struct { + Typename string `json:"__typename"` + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + Actor string `json:"actor"` + // Creation time of the entry. + CreatedAt time.Time `json:"createdAt"` + // Message that summarizes the entry. + Message string `json:"message"` + // The environment name that the entry belongs to. + EnvironmentName string `json:"environmentName"` +} + +// GetTypename returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesOpenSearchDeletedActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesOpenSearchDeletedActivityLogEntry) GetTypename() string { + return v.Typename +} + +// GetActor returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesOpenSearchDeletedActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesOpenSearchDeletedActivityLogEntry) GetActor() string { + return v.Actor +} + +// GetCreatedAt returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesOpenSearchDeletedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesOpenSearchDeletedActivityLogEntry) GetCreatedAt() time.Time { + return v.CreatedAt +} + +// GetMessage returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesOpenSearchDeletedActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesOpenSearchDeletedActivityLogEntry) GetMessage() string { + return v.Message +} + +// GetEnvironmentName returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesOpenSearchDeletedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesOpenSearchDeletedActivityLogEntry) GetEnvironmentName() string { + return v.EnvironmentName +} + +// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesOpenSearchUpdatedActivityLogEntry includes the requested fields of the GraphQL type OpenSearchUpdatedActivityLogEntry. +type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesOpenSearchUpdatedActivityLogEntry struct { + Typename string `json:"__typename"` + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + Actor string `json:"actor"` + // Creation time of the entry. + CreatedAt time.Time `json:"createdAt"` + // Message that summarizes the entry. + Message string `json:"message"` + // The environment name that the entry belongs to. + EnvironmentName string `json:"environmentName"` +} + +// GetTypename returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesOpenSearchUpdatedActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesOpenSearchUpdatedActivityLogEntry) GetTypename() string { + return v.Typename +} + +// GetActor returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesOpenSearchUpdatedActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesOpenSearchUpdatedActivityLogEntry) GetActor() string { + return v.Actor +} + +// GetCreatedAt returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesOpenSearchUpdatedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesOpenSearchUpdatedActivityLogEntry) GetCreatedAt() time.Time { + return v.CreatedAt +} + +// GetMessage returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesOpenSearchUpdatedActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesOpenSearchUpdatedActivityLogEntry) GetMessage() string { + return v.Message +} + +// GetEnvironmentName returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesOpenSearchUpdatedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesOpenSearchUpdatedActivityLogEntry) GetEnvironmentName() string { + return v.EnvironmentName +} + +// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesPostgresGrantAccessActivityLogEntry includes the requested fields of the GraphQL type PostgresGrantAccessActivityLogEntry. +type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesPostgresGrantAccessActivityLogEntry struct { + Typename string `json:"__typename"` + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + Actor string `json:"actor"` + // Creation time of the entry. + CreatedAt time.Time `json:"createdAt"` + // Message that summarizes the entry. + Message string `json:"message"` + // The environment name that the entry belongs to. + EnvironmentName string `json:"environmentName"` +} + +// GetTypename returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesPostgresGrantAccessActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesPostgresGrantAccessActivityLogEntry) GetTypename() string { + return v.Typename +} + +// GetActor returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesPostgresGrantAccessActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesPostgresGrantAccessActivityLogEntry) GetActor() string { + return v.Actor +} + +// GetCreatedAt returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesPostgresGrantAccessActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesPostgresGrantAccessActivityLogEntry) GetCreatedAt() time.Time { + return v.CreatedAt +} + +// GetMessage returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesPostgresGrantAccessActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesPostgresGrantAccessActivityLogEntry) GetMessage() string { + return v.Message +} + +// GetEnvironmentName returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesPostgresGrantAccessActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesPostgresGrantAccessActivityLogEntry) GetEnvironmentName() string { + return v.EnvironmentName +} + +// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesReconcilerConfiguredActivityLogEntry includes the requested fields of the GraphQL type ReconcilerConfiguredActivityLogEntry. +type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesReconcilerConfiguredActivityLogEntry struct { + Typename string `json:"__typename"` + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + Actor string `json:"actor"` + // Creation time of the entry. + CreatedAt time.Time `json:"createdAt"` + // Message that summarizes the entry. + Message string `json:"message"` + // The environment name that the entry belongs to. + EnvironmentName string `json:"environmentName"` +} + +// GetTypename returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesReconcilerConfiguredActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesReconcilerConfiguredActivityLogEntry) GetTypename() string { + return v.Typename +} + +// GetActor returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesReconcilerConfiguredActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesReconcilerConfiguredActivityLogEntry) GetActor() string { + return v.Actor +} + +// GetCreatedAt returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesReconcilerConfiguredActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesReconcilerConfiguredActivityLogEntry) GetCreatedAt() time.Time { + return v.CreatedAt +} + +// GetMessage returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesReconcilerConfiguredActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesReconcilerConfiguredActivityLogEntry) GetMessage() string { + return v.Message +} + +// GetEnvironmentName returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesReconcilerConfiguredActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesReconcilerConfiguredActivityLogEntry) GetEnvironmentName() string { + return v.EnvironmentName +} + +// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesReconcilerDisabledActivityLogEntry includes the requested fields of the GraphQL type ReconcilerDisabledActivityLogEntry. +type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesReconcilerDisabledActivityLogEntry struct { + Typename string `json:"__typename"` + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + Actor string `json:"actor"` + // Creation time of the entry. + CreatedAt time.Time `json:"createdAt"` + // Message that summarizes the entry. + Message string `json:"message"` + // The environment name that the entry belongs to. + EnvironmentName string `json:"environmentName"` +} + +// GetTypename returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesReconcilerDisabledActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesReconcilerDisabledActivityLogEntry) GetTypename() string { + return v.Typename +} + +// GetActor returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesReconcilerDisabledActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesReconcilerDisabledActivityLogEntry) GetActor() string { + return v.Actor +} + +// GetCreatedAt returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesReconcilerDisabledActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesReconcilerDisabledActivityLogEntry) GetCreatedAt() time.Time { + return v.CreatedAt +} + +// GetMessage returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesReconcilerDisabledActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesReconcilerDisabledActivityLogEntry) GetMessage() string { + return v.Message +} + +// GetEnvironmentName returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesReconcilerDisabledActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesReconcilerDisabledActivityLogEntry) GetEnvironmentName() string { + return v.EnvironmentName +} + +// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesReconcilerEnabledActivityLogEntry includes the requested fields of the GraphQL type ReconcilerEnabledActivityLogEntry. +type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesReconcilerEnabledActivityLogEntry struct { + Typename string `json:"__typename"` + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + Actor string `json:"actor"` + // Creation time of the entry. + CreatedAt time.Time `json:"createdAt"` + // Message that summarizes the entry. + Message string `json:"message"` + // The environment name that the entry belongs to. + EnvironmentName string `json:"environmentName"` +} + +// GetTypename returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesReconcilerEnabledActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesReconcilerEnabledActivityLogEntry) GetTypename() string { + return v.Typename +} + +// GetActor returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesReconcilerEnabledActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesReconcilerEnabledActivityLogEntry) GetActor() string { + return v.Actor +} + +// GetCreatedAt returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesReconcilerEnabledActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesReconcilerEnabledActivityLogEntry) GetCreatedAt() time.Time { + return v.CreatedAt +} + +// GetMessage returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesReconcilerEnabledActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesReconcilerEnabledActivityLogEntry) GetMessage() string { + return v.Message +} + +// GetEnvironmentName returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesReconcilerEnabledActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesReconcilerEnabledActivityLogEntry) GetEnvironmentName() string { + return v.EnvironmentName +} + +// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRepositoryAddedActivityLogEntry includes the requested fields of the GraphQL type RepositoryAddedActivityLogEntry. +type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRepositoryAddedActivityLogEntry struct { + Typename string `json:"__typename"` + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + Actor string `json:"actor"` + // Creation time of the entry. + CreatedAt time.Time `json:"createdAt"` + // Message that summarizes the entry. + Message string `json:"message"` + // The environment name that the entry belongs to. + EnvironmentName string `json:"environmentName"` +} + +// GetTypename returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRepositoryAddedActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRepositoryAddedActivityLogEntry) GetTypename() string { + return v.Typename +} + +// GetActor returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRepositoryAddedActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRepositoryAddedActivityLogEntry) GetActor() string { + return v.Actor +} + +// GetCreatedAt returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRepositoryAddedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRepositoryAddedActivityLogEntry) GetCreatedAt() time.Time { + return v.CreatedAt +} + +// GetMessage returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRepositoryAddedActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRepositoryAddedActivityLogEntry) GetMessage() string { + return v.Message +} + +// GetEnvironmentName returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRepositoryAddedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRepositoryAddedActivityLogEntry) GetEnvironmentName() string { + return v.EnvironmentName +} + +// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRepositoryRemovedActivityLogEntry includes the requested fields of the GraphQL type RepositoryRemovedActivityLogEntry. +type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRepositoryRemovedActivityLogEntry struct { + Typename string `json:"__typename"` + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + Actor string `json:"actor"` + // Creation time of the entry. + CreatedAt time.Time `json:"createdAt"` + // Message that summarizes the entry. + Message string `json:"message"` + // The environment name that the entry belongs to. + EnvironmentName string `json:"environmentName"` +} + +// GetTypename returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRepositoryRemovedActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRepositoryRemovedActivityLogEntry) GetTypename() string { + return v.Typename +} + +// GetActor returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRepositoryRemovedActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRepositoryRemovedActivityLogEntry) GetActor() string { + return v.Actor +} + +// GetCreatedAt returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRepositoryRemovedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRepositoryRemovedActivityLogEntry) GetCreatedAt() time.Time { + return v.CreatedAt +} + +// GetMessage returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRepositoryRemovedActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRepositoryRemovedActivityLogEntry) GetMessage() string { + return v.Message +} + +// GetEnvironmentName returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRepositoryRemovedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRepositoryRemovedActivityLogEntry) GetEnvironmentName() string { + return v.EnvironmentName +} + +// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRoleAssignedToServiceAccountActivityLogEntry includes the requested fields of the GraphQL type RoleAssignedToServiceAccountActivityLogEntry. +type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRoleAssignedToServiceAccountActivityLogEntry struct { + Typename string `json:"__typename"` + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + Actor string `json:"actor"` + // Creation time of the entry. + CreatedAt time.Time `json:"createdAt"` + // Message that summarizes the entry. + Message string `json:"message"` + // The environment name that the entry belongs to. + EnvironmentName string `json:"environmentName"` +} + +// GetTypename returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRoleAssignedToServiceAccountActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRoleAssignedToServiceAccountActivityLogEntry) GetTypename() string { + return v.Typename +} + +// GetActor returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRoleAssignedToServiceAccountActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRoleAssignedToServiceAccountActivityLogEntry) GetActor() string { + return v.Actor +} + +// GetCreatedAt returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRoleAssignedToServiceAccountActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRoleAssignedToServiceAccountActivityLogEntry) GetCreatedAt() time.Time { + return v.CreatedAt +} + +// GetMessage returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRoleAssignedToServiceAccountActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRoleAssignedToServiceAccountActivityLogEntry) GetMessage() string { + return v.Message +} + +// GetEnvironmentName returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRoleAssignedToServiceAccountActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRoleAssignedToServiceAccountActivityLogEntry) GetEnvironmentName() string { + return v.EnvironmentName +} + +// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRoleRevokedFromServiceAccountActivityLogEntry includes the requested fields of the GraphQL type RoleRevokedFromServiceAccountActivityLogEntry. +type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRoleRevokedFromServiceAccountActivityLogEntry struct { + Typename string `json:"__typename"` + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + Actor string `json:"actor"` + // Creation time of the entry. + CreatedAt time.Time `json:"createdAt"` + // Message that summarizes the entry. + Message string `json:"message"` + // The environment name that the entry belongs to. + EnvironmentName string `json:"environmentName"` +} + +// GetTypename returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRoleRevokedFromServiceAccountActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRoleRevokedFromServiceAccountActivityLogEntry) GetTypename() string { + return v.Typename +} + +// GetActor returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRoleRevokedFromServiceAccountActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRoleRevokedFromServiceAccountActivityLogEntry) GetActor() string { + return v.Actor +} + +// GetCreatedAt returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRoleRevokedFromServiceAccountActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRoleRevokedFromServiceAccountActivityLogEntry) GetCreatedAt() time.Time { + return v.CreatedAt +} + +// GetMessage returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRoleRevokedFromServiceAccountActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRoleRevokedFromServiceAccountActivityLogEntry) GetMessage() string { + return v.Message +} + +// GetEnvironmentName returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRoleRevokedFromServiceAccountActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRoleRevokedFromServiceAccountActivityLogEntry) GetEnvironmentName() string { + return v.EnvironmentName +} + +// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretCreatedActivityLogEntry includes the requested fields of the GraphQL type SecretCreatedActivityLogEntry. +type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretCreatedActivityLogEntry struct { + Typename string `json:"__typename"` + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + Actor string `json:"actor"` + // Creation time of the entry. + CreatedAt time.Time `json:"createdAt"` + // Message that summarizes the entry. + Message string `json:"message"` + // The environment name that the entry belongs to. + EnvironmentName string `json:"environmentName"` +} + +// GetTypename returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretCreatedActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretCreatedActivityLogEntry) GetTypename() string { + return v.Typename +} + +// GetActor returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretCreatedActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretCreatedActivityLogEntry) GetActor() string { + return v.Actor +} + +// GetCreatedAt returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretCreatedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretCreatedActivityLogEntry) GetCreatedAt() time.Time { + return v.CreatedAt +} + +// GetMessage returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretCreatedActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretCreatedActivityLogEntry) GetMessage() string { + return v.Message +} + +// GetEnvironmentName returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretCreatedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretCreatedActivityLogEntry) GetEnvironmentName() string { + return v.EnvironmentName +} + +// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretDeletedActivityLogEntry includes the requested fields of the GraphQL type SecretDeletedActivityLogEntry. +type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretDeletedActivityLogEntry struct { + Typename string `json:"__typename"` + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + Actor string `json:"actor"` + // Creation time of the entry. + CreatedAt time.Time `json:"createdAt"` + // Message that summarizes the entry. + Message string `json:"message"` + // The environment name that the entry belongs to. + EnvironmentName string `json:"environmentName"` +} + +// GetTypename returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretDeletedActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretDeletedActivityLogEntry) GetTypename() string { + return v.Typename +} + +// GetActor returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretDeletedActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretDeletedActivityLogEntry) GetActor() string { + return v.Actor +} + +// GetCreatedAt returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretDeletedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretDeletedActivityLogEntry) GetCreatedAt() time.Time { + return v.CreatedAt +} + +// GetMessage returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretDeletedActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretDeletedActivityLogEntry) GetMessage() string { + return v.Message +} + +// GetEnvironmentName returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretDeletedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretDeletedActivityLogEntry) GetEnvironmentName() string { + return v.EnvironmentName +} + +// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValueAddedActivityLogEntry includes the requested fields of the GraphQL type SecretValueAddedActivityLogEntry. +type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValueAddedActivityLogEntry struct { + Typename string `json:"__typename"` + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + Actor string `json:"actor"` + // Creation time of the entry. + CreatedAt time.Time `json:"createdAt"` + // Message that summarizes the entry. + Message string `json:"message"` + // The environment name that the entry belongs to. + EnvironmentName string `json:"environmentName"` +} + +// GetTypename returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValueAddedActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValueAddedActivityLogEntry) GetTypename() string { + return v.Typename +} + +// GetActor returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValueAddedActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValueAddedActivityLogEntry) GetActor() string { + return v.Actor +} + +// GetCreatedAt returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValueAddedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValueAddedActivityLogEntry) GetCreatedAt() time.Time { + return v.CreatedAt +} + +// GetMessage returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValueAddedActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValueAddedActivityLogEntry) GetMessage() string { + return v.Message +} + +// GetEnvironmentName returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValueAddedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValueAddedActivityLogEntry) GetEnvironmentName() string { + return v.EnvironmentName +} + +// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValueRemovedActivityLogEntry includes the requested fields of the GraphQL type SecretValueRemovedActivityLogEntry. +type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValueRemovedActivityLogEntry struct { + Typename string `json:"__typename"` + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + Actor string `json:"actor"` + // Creation time of the entry. + CreatedAt time.Time `json:"createdAt"` + // Message that summarizes the entry. + Message string `json:"message"` + // The environment name that the entry belongs to. + EnvironmentName string `json:"environmentName"` +} + +// GetTypename returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValueRemovedActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValueRemovedActivityLogEntry) GetTypename() string { + return v.Typename +} + +// GetActor returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValueRemovedActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValueRemovedActivityLogEntry) GetActor() string { + return v.Actor +} + +// GetCreatedAt returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValueRemovedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValueRemovedActivityLogEntry) GetCreatedAt() time.Time { + return v.CreatedAt +} + +// GetMessage returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValueRemovedActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValueRemovedActivityLogEntry) GetMessage() string { + return v.Message +} + +// GetEnvironmentName returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValueRemovedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValueRemovedActivityLogEntry) GetEnvironmentName() string { + return v.EnvironmentName +} + +// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValueUpdatedActivityLogEntry includes the requested fields of the GraphQL type SecretValueUpdatedActivityLogEntry. +type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValueUpdatedActivityLogEntry struct { + Typename string `json:"__typename"` + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + Actor string `json:"actor"` + // Creation time of the entry. + CreatedAt time.Time `json:"createdAt"` + // Message that summarizes the entry. + Message string `json:"message"` + // The environment name that the entry belongs to. + EnvironmentName string `json:"environmentName"` +} + +// GetTypename returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValueUpdatedActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValueUpdatedActivityLogEntry) GetTypename() string { + return v.Typename +} + +// GetActor returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValueUpdatedActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValueUpdatedActivityLogEntry) GetActor() string { + return v.Actor +} + +// GetCreatedAt returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValueUpdatedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValueUpdatedActivityLogEntry) GetCreatedAt() time.Time { + return v.CreatedAt +} + +// GetMessage returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValueUpdatedActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValueUpdatedActivityLogEntry) GetMessage() string { + return v.Message +} + +// GetEnvironmentName returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValueUpdatedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValueUpdatedActivityLogEntry) GetEnvironmentName() string { + return v.EnvironmentName +} + +// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValuesViewedActivityLogEntry includes the requested fields of the GraphQL type SecretValuesViewedActivityLogEntry. +// The GraphQL type's documentation follows. +// +// Activity log entry for viewing secret values. +type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValuesViewedActivityLogEntry struct { + Typename string `json:"__typename"` + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + Actor string `json:"actor"` + // Creation time of the entry. + CreatedAt time.Time `json:"createdAt"` + // Message that summarizes the entry. + Message string `json:"message"` + // The environment name that the entry belongs to. + EnvironmentName string `json:"environmentName"` +} + +// GetTypename returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValuesViewedActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValuesViewedActivityLogEntry) GetTypename() string { + return v.Typename +} + +// GetActor returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValuesViewedActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValuesViewedActivityLogEntry) GetActor() string { + return v.Actor +} + +// GetCreatedAt returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValuesViewedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValuesViewedActivityLogEntry) GetCreatedAt() time.Time { + return v.CreatedAt +} + +// GetMessage returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValuesViewedActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValuesViewedActivityLogEntry) GetMessage() string { + return v.Message +} + +// GetEnvironmentName returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValuesViewedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValuesViewedActivityLogEntry) GetEnvironmentName() string { + return v.EnvironmentName +} + +// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountCreatedActivityLogEntry includes the requested fields of the GraphQL type ServiceAccountCreatedActivityLogEntry. +type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountCreatedActivityLogEntry struct { + Typename string `json:"__typename"` + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + Actor string `json:"actor"` + // Creation time of the entry. + CreatedAt time.Time `json:"createdAt"` + // Message that summarizes the entry. + Message string `json:"message"` + // The environment name that the entry belongs to. + EnvironmentName string `json:"environmentName"` +} + +// GetTypename returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountCreatedActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountCreatedActivityLogEntry) GetTypename() string { + return v.Typename +} + +// GetActor returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountCreatedActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountCreatedActivityLogEntry) GetActor() string { + return v.Actor +} + +// GetCreatedAt returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountCreatedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountCreatedActivityLogEntry) GetCreatedAt() time.Time { + return v.CreatedAt +} + +// GetMessage returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountCreatedActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountCreatedActivityLogEntry) GetMessage() string { + return v.Message +} + +// GetEnvironmentName returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountCreatedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountCreatedActivityLogEntry) GetEnvironmentName() string { + return v.EnvironmentName +} + +// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountDeletedActivityLogEntry includes the requested fields of the GraphQL type ServiceAccountDeletedActivityLogEntry. +type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountDeletedActivityLogEntry struct { + Typename string `json:"__typename"` + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + Actor string `json:"actor"` + // Creation time of the entry. + CreatedAt time.Time `json:"createdAt"` + // Message that summarizes the entry. + Message string `json:"message"` + // The environment name that the entry belongs to. + EnvironmentName string `json:"environmentName"` +} + +// GetTypename returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountDeletedActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountDeletedActivityLogEntry) GetTypename() string { + return v.Typename +} + +// GetActor returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountDeletedActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountDeletedActivityLogEntry) GetActor() string { + return v.Actor +} + +// GetCreatedAt returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountDeletedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountDeletedActivityLogEntry) GetCreatedAt() time.Time { + return v.CreatedAt +} + +// GetMessage returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountDeletedActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountDeletedActivityLogEntry) GetMessage() string { + return v.Message +} + +// GetEnvironmentName returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountDeletedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountDeletedActivityLogEntry) GetEnvironmentName() string { + return v.EnvironmentName +} + +// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountTokenCreatedActivityLogEntry includes the requested fields of the GraphQL type ServiceAccountTokenCreatedActivityLogEntry. +type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountTokenCreatedActivityLogEntry struct { + Typename string `json:"__typename"` + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + Actor string `json:"actor"` + // Creation time of the entry. + CreatedAt time.Time `json:"createdAt"` + // Message that summarizes the entry. + Message string `json:"message"` + // The environment name that the entry belongs to. + EnvironmentName string `json:"environmentName"` +} + +// GetTypename returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountTokenCreatedActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountTokenCreatedActivityLogEntry) GetTypename() string { + return v.Typename +} + +// GetActor returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountTokenCreatedActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountTokenCreatedActivityLogEntry) GetActor() string { + return v.Actor +} + +// GetCreatedAt returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountTokenCreatedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountTokenCreatedActivityLogEntry) GetCreatedAt() time.Time { + return v.CreatedAt +} + +// GetMessage returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountTokenCreatedActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountTokenCreatedActivityLogEntry) GetMessage() string { + return v.Message +} + +// GetEnvironmentName returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountTokenCreatedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountTokenCreatedActivityLogEntry) GetEnvironmentName() string { + return v.EnvironmentName +} + +// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountTokenDeletedActivityLogEntry includes the requested fields of the GraphQL type ServiceAccountTokenDeletedActivityLogEntry. +type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountTokenDeletedActivityLogEntry struct { + Typename string `json:"__typename"` + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + Actor string `json:"actor"` + // Creation time of the entry. + CreatedAt time.Time `json:"createdAt"` + // Message that summarizes the entry. + Message string `json:"message"` + // The environment name that the entry belongs to. + EnvironmentName string `json:"environmentName"` +} + +// GetTypename returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountTokenDeletedActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountTokenDeletedActivityLogEntry) GetTypename() string { + return v.Typename +} + +// GetActor returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountTokenDeletedActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountTokenDeletedActivityLogEntry) GetActor() string { + return v.Actor +} + +// GetCreatedAt returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountTokenDeletedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountTokenDeletedActivityLogEntry) GetCreatedAt() time.Time { + return v.CreatedAt +} + +// GetMessage returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountTokenDeletedActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountTokenDeletedActivityLogEntry) GetMessage() string { + return v.Message +} + +// GetEnvironmentName returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountTokenDeletedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountTokenDeletedActivityLogEntry) GetEnvironmentName() string { + return v.EnvironmentName +} + +// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountTokenUpdatedActivityLogEntry includes the requested fields of the GraphQL type ServiceAccountTokenUpdatedActivityLogEntry. +type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountTokenUpdatedActivityLogEntry struct { + Typename string `json:"__typename"` + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + Actor string `json:"actor"` + // Creation time of the entry. + CreatedAt time.Time `json:"createdAt"` + // Message that summarizes the entry. + Message string `json:"message"` + // The environment name that the entry belongs to. + EnvironmentName string `json:"environmentName"` +} + +// GetTypename returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountTokenUpdatedActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountTokenUpdatedActivityLogEntry) GetTypename() string { + return v.Typename +} + +// GetActor returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountTokenUpdatedActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountTokenUpdatedActivityLogEntry) GetActor() string { + return v.Actor +} + +// GetCreatedAt returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountTokenUpdatedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountTokenUpdatedActivityLogEntry) GetCreatedAt() time.Time { + return v.CreatedAt +} + +// GetMessage returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountTokenUpdatedActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountTokenUpdatedActivityLogEntry) GetMessage() string { + return v.Message +} + +// GetEnvironmentName returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountTokenUpdatedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountTokenUpdatedActivityLogEntry) GetEnvironmentName() string { + return v.EnvironmentName +} + +// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountUpdatedActivityLogEntry includes the requested fields of the GraphQL type ServiceAccountUpdatedActivityLogEntry. +type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountUpdatedActivityLogEntry struct { + Typename string `json:"__typename"` + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + Actor string `json:"actor"` + // Creation time of the entry. + CreatedAt time.Time `json:"createdAt"` + // Message that summarizes the entry. + Message string `json:"message"` + // The environment name that the entry belongs to. + EnvironmentName string `json:"environmentName"` +} + +// GetTypename returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountUpdatedActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountUpdatedActivityLogEntry) GetTypename() string { + return v.Typename +} + +// GetActor returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountUpdatedActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountUpdatedActivityLogEntry) GetActor() string { + return v.Actor +} + +// GetCreatedAt returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountUpdatedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountUpdatedActivityLogEntry) GetCreatedAt() time.Time { + return v.CreatedAt +} + +// GetMessage returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountUpdatedActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountUpdatedActivityLogEntry) GetMessage() string { + return v.Message +} + +// GetEnvironmentName returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountUpdatedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountUpdatedActivityLogEntry) GetEnvironmentName() string { + return v.EnvironmentName +} + +// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceMaintenanceActivityLogEntry includes the requested fields of the GraphQL type ServiceMaintenanceActivityLogEntry. +type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceMaintenanceActivityLogEntry struct { + Typename string `json:"__typename"` + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + Actor string `json:"actor"` + // Creation time of the entry. + CreatedAt time.Time `json:"createdAt"` + // Message that summarizes the entry. + Message string `json:"message"` + // The environment name that the entry belongs to. + EnvironmentName string `json:"environmentName"` +} + +// GetTypename returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceMaintenanceActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceMaintenanceActivityLogEntry) GetTypename() string { + return v.Typename +} + +// GetActor returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceMaintenanceActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceMaintenanceActivityLogEntry) GetActor() string { + return v.Actor +} + +// GetCreatedAt returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceMaintenanceActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceMaintenanceActivityLogEntry) GetCreatedAt() time.Time { + return v.CreatedAt +} + +// GetMessage returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceMaintenanceActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceMaintenanceActivityLogEntry) GetMessage() string { + return v.Message +} + +// GetEnvironmentName returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceMaintenanceActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceMaintenanceActivityLogEntry) GetEnvironmentName() string { + return v.EnvironmentName +} + +// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamConfirmDeleteKeyActivityLogEntry includes the requested fields of the GraphQL type TeamConfirmDeleteKeyActivityLogEntry. +type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamConfirmDeleteKeyActivityLogEntry struct { + Typename string `json:"__typename"` + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + Actor string `json:"actor"` + // Creation time of the entry. + CreatedAt time.Time `json:"createdAt"` + // Message that summarizes the entry. + Message string `json:"message"` + // The environment name that the entry belongs to. + EnvironmentName string `json:"environmentName"` +} + +// GetTypename returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamConfirmDeleteKeyActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamConfirmDeleteKeyActivityLogEntry) GetTypename() string { + return v.Typename +} + +// GetActor returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamConfirmDeleteKeyActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamConfirmDeleteKeyActivityLogEntry) GetActor() string { + return v.Actor +} + +// GetCreatedAt returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamConfirmDeleteKeyActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamConfirmDeleteKeyActivityLogEntry) GetCreatedAt() time.Time { + return v.CreatedAt +} + +// GetMessage returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamConfirmDeleteKeyActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamConfirmDeleteKeyActivityLogEntry) GetMessage() string { + return v.Message +} + +// GetEnvironmentName returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamConfirmDeleteKeyActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamConfirmDeleteKeyActivityLogEntry) GetEnvironmentName() string { + return v.EnvironmentName +} + +// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamCreateDeleteKeyActivityLogEntry includes the requested fields of the GraphQL type TeamCreateDeleteKeyActivityLogEntry. +type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamCreateDeleteKeyActivityLogEntry struct { + Typename string `json:"__typename"` + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + Actor string `json:"actor"` + // Creation time of the entry. + CreatedAt time.Time `json:"createdAt"` + // Message that summarizes the entry. + Message string `json:"message"` + // The environment name that the entry belongs to. + EnvironmentName string `json:"environmentName"` +} + +// GetTypename returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamCreateDeleteKeyActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamCreateDeleteKeyActivityLogEntry) GetTypename() string { + return v.Typename +} + +// GetActor returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamCreateDeleteKeyActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamCreateDeleteKeyActivityLogEntry) GetActor() string { + return v.Actor +} + +// GetCreatedAt returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamCreateDeleteKeyActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamCreateDeleteKeyActivityLogEntry) GetCreatedAt() time.Time { + return v.CreatedAt +} + +// GetMessage returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamCreateDeleteKeyActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamCreateDeleteKeyActivityLogEntry) GetMessage() string { + return v.Message +} + +// GetEnvironmentName returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamCreateDeleteKeyActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamCreateDeleteKeyActivityLogEntry) GetEnvironmentName() string { + return v.EnvironmentName +} + +// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamCreatedActivityLogEntry includes the requested fields of the GraphQL type TeamCreatedActivityLogEntry. +type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamCreatedActivityLogEntry struct { + Typename string `json:"__typename"` + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + Actor string `json:"actor"` + // Creation time of the entry. + CreatedAt time.Time `json:"createdAt"` + // Message that summarizes the entry. + Message string `json:"message"` + // The environment name that the entry belongs to. + EnvironmentName string `json:"environmentName"` +} + +// GetTypename returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamCreatedActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamCreatedActivityLogEntry) GetTypename() string { + return v.Typename +} + +// GetActor returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamCreatedActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamCreatedActivityLogEntry) GetActor() string { + return v.Actor +} + +// GetCreatedAt returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamCreatedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamCreatedActivityLogEntry) GetCreatedAt() time.Time { + return v.CreatedAt +} + +// GetMessage returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamCreatedActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamCreatedActivityLogEntry) GetMessage() string { + return v.Message +} + +// GetEnvironmentName returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamCreatedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamCreatedActivityLogEntry) GetEnvironmentName() string { + return v.EnvironmentName +} + +// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamDeployKeyUpdatedActivityLogEntry includes the requested fields of the GraphQL type TeamDeployKeyUpdatedActivityLogEntry. +type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamDeployKeyUpdatedActivityLogEntry struct { + Typename string `json:"__typename"` + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + Actor string `json:"actor"` + // Creation time of the entry. + CreatedAt time.Time `json:"createdAt"` + // Message that summarizes the entry. + Message string `json:"message"` + // The environment name that the entry belongs to. + EnvironmentName string `json:"environmentName"` +} + +// GetTypename returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamDeployKeyUpdatedActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamDeployKeyUpdatedActivityLogEntry) GetTypename() string { + return v.Typename +} + +// GetActor returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamDeployKeyUpdatedActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamDeployKeyUpdatedActivityLogEntry) GetActor() string { + return v.Actor +} + +// GetCreatedAt returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamDeployKeyUpdatedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamDeployKeyUpdatedActivityLogEntry) GetCreatedAt() time.Time { + return v.CreatedAt +} + +// GetMessage returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamDeployKeyUpdatedActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamDeployKeyUpdatedActivityLogEntry) GetMessage() string { + return v.Message +} + +// GetEnvironmentName returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamDeployKeyUpdatedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamDeployKeyUpdatedActivityLogEntry) GetEnvironmentName() string { + return v.EnvironmentName +} + +// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamEnvironmentUpdatedActivityLogEntry includes the requested fields of the GraphQL type TeamEnvironmentUpdatedActivityLogEntry. +type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamEnvironmentUpdatedActivityLogEntry struct { + Typename string `json:"__typename"` + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + Actor string `json:"actor"` + // Creation time of the entry. + CreatedAt time.Time `json:"createdAt"` + // Message that summarizes the entry. + Message string `json:"message"` + // The environment name that the entry belongs to. + EnvironmentName string `json:"environmentName"` +} + +// GetTypename returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamEnvironmentUpdatedActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamEnvironmentUpdatedActivityLogEntry) GetTypename() string { + return v.Typename +} + +// GetActor returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamEnvironmentUpdatedActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamEnvironmentUpdatedActivityLogEntry) GetActor() string { + return v.Actor +} + +// GetCreatedAt returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamEnvironmentUpdatedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamEnvironmentUpdatedActivityLogEntry) GetCreatedAt() time.Time { + return v.CreatedAt +} + +// GetMessage returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamEnvironmentUpdatedActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamEnvironmentUpdatedActivityLogEntry) GetMessage() string { + return v.Message +} + +// GetEnvironmentName returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamEnvironmentUpdatedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamEnvironmentUpdatedActivityLogEntry) GetEnvironmentName() string { + return v.EnvironmentName +} + +// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamMemberAddedActivityLogEntry includes the requested fields of the GraphQL type TeamMemberAddedActivityLogEntry. +type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamMemberAddedActivityLogEntry struct { + Typename string `json:"__typename"` + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + Actor string `json:"actor"` + // Creation time of the entry. + CreatedAt time.Time `json:"createdAt"` + // Message that summarizes the entry. + Message string `json:"message"` + // The environment name that the entry belongs to. + EnvironmentName string `json:"environmentName"` +} + +// GetTypename returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamMemberAddedActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamMemberAddedActivityLogEntry) GetTypename() string { + return v.Typename +} + +// GetActor returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamMemberAddedActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamMemberAddedActivityLogEntry) GetActor() string { + return v.Actor +} + +// GetCreatedAt returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamMemberAddedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamMemberAddedActivityLogEntry) GetCreatedAt() time.Time { + return v.CreatedAt +} + +// GetMessage returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamMemberAddedActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamMemberAddedActivityLogEntry) GetMessage() string { + return v.Message +} + +// GetEnvironmentName returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamMemberAddedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamMemberAddedActivityLogEntry) GetEnvironmentName() string { + return v.EnvironmentName +} + +// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamMemberRemovedActivityLogEntry includes the requested fields of the GraphQL type TeamMemberRemovedActivityLogEntry. +type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamMemberRemovedActivityLogEntry struct { + Typename string `json:"__typename"` + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + Actor string `json:"actor"` + // Creation time of the entry. + CreatedAt time.Time `json:"createdAt"` + // Message that summarizes the entry. + Message string `json:"message"` + // The environment name that the entry belongs to. + EnvironmentName string `json:"environmentName"` +} + +// GetTypename returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamMemberRemovedActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamMemberRemovedActivityLogEntry) GetTypename() string { + return v.Typename +} + +// GetActor returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamMemberRemovedActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamMemberRemovedActivityLogEntry) GetActor() string { + return v.Actor +} + +// GetCreatedAt returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamMemberRemovedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamMemberRemovedActivityLogEntry) GetCreatedAt() time.Time { + return v.CreatedAt +} + +// GetMessage returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamMemberRemovedActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamMemberRemovedActivityLogEntry) GetMessage() string { + return v.Message +} + +// GetEnvironmentName returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamMemberRemovedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamMemberRemovedActivityLogEntry) GetEnvironmentName() string { + return v.EnvironmentName +} + +// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamMemberSetRoleActivityLogEntry includes the requested fields of the GraphQL type TeamMemberSetRoleActivityLogEntry. +type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamMemberSetRoleActivityLogEntry struct { + Typename string `json:"__typename"` + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + Actor string `json:"actor"` + // Creation time of the entry. + CreatedAt time.Time `json:"createdAt"` + // Message that summarizes the entry. + Message string `json:"message"` + // The environment name that the entry belongs to. + EnvironmentName string `json:"environmentName"` +} + +// GetTypename returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamMemberSetRoleActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamMemberSetRoleActivityLogEntry) GetTypename() string { + return v.Typename +} + +// GetActor returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamMemberSetRoleActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamMemberSetRoleActivityLogEntry) GetActor() string { + return v.Actor +} + +// GetCreatedAt returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamMemberSetRoleActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamMemberSetRoleActivityLogEntry) GetCreatedAt() time.Time { + return v.CreatedAt +} + +// GetMessage returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamMemberSetRoleActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamMemberSetRoleActivityLogEntry) GetMessage() string { + return v.Message +} + +// GetEnvironmentName returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamMemberSetRoleActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamMemberSetRoleActivityLogEntry) GetEnvironmentName() string { + return v.EnvironmentName +} + +// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamUpdatedActivityLogEntry includes the requested fields of the GraphQL type TeamUpdatedActivityLogEntry. +type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamUpdatedActivityLogEntry struct { + Typename string `json:"__typename"` + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + Actor string `json:"actor"` + // Creation time of the entry. + CreatedAt time.Time `json:"createdAt"` + // Message that summarizes the entry. + Message string `json:"message"` + // The environment name that the entry belongs to. + EnvironmentName string `json:"environmentName"` +} + +// GetTypename returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamUpdatedActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamUpdatedActivityLogEntry) GetTypename() string { + return v.Typename +} + +// GetActor returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamUpdatedActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamUpdatedActivityLogEntry) GetActor() string { + return v.Actor +} + +// GetCreatedAt returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamUpdatedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamUpdatedActivityLogEntry) GetCreatedAt() time.Time { + return v.CreatedAt +} + +// GetMessage returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamUpdatedActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamUpdatedActivityLogEntry) GetMessage() string { + return v.Message +} + +// GetEnvironmentName returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamUpdatedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamUpdatedActivityLogEntry) GetEnvironmentName() string { + return v.EnvironmentName +} + +// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesUnleashInstanceCreatedActivityLogEntry includes the requested fields of the GraphQL type UnleashInstanceCreatedActivityLogEntry. +type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesUnleashInstanceCreatedActivityLogEntry struct { + Typename string `json:"__typename"` + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + Actor string `json:"actor"` + // Creation time of the entry. + CreatedAt time.Time `json:"createdAt"` + // Message that summarizes the entry. + Message string `json:"message"` + // The environment name that the entry belongs to. + EnvironmentName string `json:"environmentName"` +} + +// GetTypename returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesUnleashInstanceCreatedActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesUnleashInstanceCreatedActivityLogEntry) GetTypename() string { + return v.Typename +} + +// GetActor returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesUnleashInstanceCreatedActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesUnleashInstanceCreatedActivityLogEntry) GetActor() string { + return v.Actor +} + +// GetCreatedAt returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesUnleashInstanceCreatedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesUnleashInstanceCreatedActivityLogEntry) GetCreatedAt() time.Time { + return v.CreatedAt +} + +// GetMessage returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesUnleashInstanceCreatedActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesUnleashInstanceCreatedActivityLogEntry) GetMessage() string { + return v.Message +} + +// GetEnvironmentName returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesUnleashInstanceCreatedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesUnleashInstanceCreatedActivityLogEntry) GetEnvironmentName() string { + return v.EnvironmentName +} + +// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesUnleashInstanceDeletedActivityLogEntry includes the requested fields of the GraphQL type UnleashInstanceDeletedActivityLogEntry. +type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesUnleashInstanceDeletedActivityLogEntry struct { + Typename string `json:"__typename"` + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + Actor string `json:"actor"` + // Creation time of the entry. + CreatedAt time.Time `json:"createdAt"` + // Message that summarizes the entry. + Message string `json:"message"` + // The environment name that the entry belongs to. + EnvironmentName string `json:"environmentName"` +} + +// GetTypename returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesUnleashInstanceDeletedActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesUnleashInstanceDeletedActivityLogEntry) GetTypename() string { + return v.Typename +} + +// GetActor returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesUnleashInstanceDeletedActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesUnleashInstanceDeletedActivityLogEntry) GetActor() string { + return v.Actor +} + +// GetCreatedAt returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesUnleashInstanceDeletedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesUnleashInstanceDeletedActivityLogEntry) GetCreatedAt() time.Time { + return v.CreatedAt +} + +// GetMessage returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesUnleashInstanceDeletedActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesUnleashInstanceDeletedActivityLogEntry) GetMessage() string { + return v.Message +} + +// GetEnvironmentName returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesUnleashInstanceDeletedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesUnleashInstanceDeletedActivityLogEntry) GetEnvironmentName() string { + return v.EnvironmentName +} + +// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesUnleashInstanceUpdatedActivityLogEntry includes the requested fields of the GraphQL type UnleashInstanceUpdatedActivityLogEntry. +type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesUnleashInstanceUpdatedActivityLogEntry struct { + Typename string `json:"__typename"` + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + Actor string `json:"actor"` + // Creation time of the entry. + CreatedAt time.Time `json:"createdAt"` + // Message that summarizes the entry. + Message string `json:"message"` + // The environment name that the entry belongs to. + EnvironmentName string `json:"environmentName"` +} + +// GetTypename returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesUnleashInstanceUpdatedActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesUnleashInstanceUpdatedActivityLogEntry) GetTypename() string { + return v.Typename +} + +// GetActor returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesUnleashInstanceUpdatedActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesUnleashInstanceUpdatedActivityLogEntry) GetActor() string { + return v.Actor +} + +// GetCreatedAt returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesUnleashInstanceUpdatedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesUnleashInstanceUpdatedActivityLogEntry) GetCreatedAt() time.Time { + return v.CreatedAt +} + +// GetMessage returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesUnleashInstanceUpdatedActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesUnleashInstanceUpdatedActivityLogEntry) GetMessage() string { + return v.Message +} + +// GetEnvironmentName returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesUnleashInstanceUpdatedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesUnleashInstanceUpdatedActivityLogEntry) GetEnvironmentName() string { + return v.EnvironmentName +} + +// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesValkeyCreatedActivityLogEntry includes the requested fields of the GraphQL type ValkeyCreatedActivityLogEntry. +type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesValkeyCreatedActivityLogEntry struct { + Typename string `json:"__typename"` + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + Actor string `json:"actor"` + // Creation time of the entry. + CreatedAt time.Time `json:"createdAt"` + // Message that summarizes the entry. + Message string `json:"message"` + // The environment name that the entry belongs to. + EnvironmentName string `json:"environmentName"` +} + +// GetTypename returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesValkeyCreatedActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesValkeyCreatedActivityLogEntry) GetTypename() string { + return v.Typename +} + +// GetActor returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesValkeyCreatedActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesValkeyCreatedActivityLogEntry) GetActor() string { + return v.Actor +} + +// GetCreatedAt returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesValkeyCreatedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesValkeyCreatedActivityLogEntry) GetCreatedAt() time.Time { + return v.CreatedAt +} + +// GetMessage returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesValkeyCreatedActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesValkeyCreatedActivityLogEntry) GetMessage() string { + return v.Message +} + +// GetEnvironmentName returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesValkeyCreatedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesValkeyCreatedActivityLogEntry) GetEnvironmentName() string { + return v.EnvironmentName +} + +// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesValkeyDeletedActivityLogEntry includes the requested fields of the GraphQL type ValkeyDeletedActivityLogEntry. +type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesValkeyDeletedActivityLogEntry struct { + Typename string `json:"__typename"` + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + Actor string `json:"actor"` + // Creation time of the entry. + CreatedAt time.Time `json:"createdAt"` + // Message that summarizes the entry. + Message string `json:"message"` + // The environment name that the entry belongs to. + EnvironmentName string `json:"environmentName"` +} + +// GetTypename returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesValkeyDeletedActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesValkeyDeletedActivityLogEntry) GetTypename() string { + return v.Typename +} + +// GetActor returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesValkeyDeletedActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesValkeyDeletedActivityLogEntry) GetActor() string { + return v.Actor +} + +// GetCreatedAt returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesValkeyDeletedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesValkeyDeletedActivityLogEntry) GetCreatedAt() time.Time { + return v.CreatedAt +} + +// GetMessage returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesValkeyDeletedActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesValkeyDeletedActivityLogEntry) GetMessage() string { + return v.Message +} + +// GetEnvironmentName returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesValkeyDeletedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesValkeyDeletedActivityLogEntry) GetEnvironmentName() string { + return v.EnvironmentName +} + +// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesValkeyUpdatedActivityLogEntry includes the requested fields of the GraphQL type ValkeyUpdatedActivityLogEntry. +type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesValkeyUpdatedActivityLogEntry struct { + Typename string `json:"__typename"` + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + Actor string `json:"actor"` + // Creation time of the entry. + CreatedAt time.Time `json:"createdAt"` + // Message that summarizes the entry. + Message string `json:"message"` + // The environment name that the entry belongs to. + EnvironmentName string `json:"environmentName"` +} + +// GetTypename returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesValkeyUpdatedActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesValkeyUpdatedActivityLogEntry) GetTypename() string { + return v.Typename +} + +// GetActor returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesValkeyUpdatedActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesValkeyUpdatedActivityLogEntry) GetActor() string { + return v.Actor +} + +// GetCreatedAt returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesValkeyUpdatedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesValkeyUpdatedActivityLogEntry) GetCreatedAt() time.Time { + return v.CreatedAt +} + +// GetMessage returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesValkeyUpdatedActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesValkeyUpdatedActivityLogEntry) GetMessage() string { + return v.Message +} + +// GetEnvironmentName returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesValkeyUpdatedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesValkeyUpdatedActivityLogEntry) GetEnvironmentName() string { + return v.EnvironmentName +} + +// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesVulnerabilityUpdatedActivityLogEntry includes the requested fields of the GraphQL type VulnerabilityUpdatedActivityLogEntry. +type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesVulnerabilityUpdatedActivityLogEntry struct { + Typename string `json:"__typename"` + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + Actor string `json:"actor"` + // Creation time of the entry. + CreatedAt time.Time `json:"createdAt"` + // Message that summarizes the entry. + Message string `json:"message"` + // The environment name that the entry belongs to. + EnvironmentName string `json:"environmentName"` +} + +// GetTypename returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesVulnerabilityUpdatedActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesVulnerabilityUpdatedActivityLogEntry) GetTypename() string { + return v.Typename +} + +// GetActor returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesVulnerabilityUpdatedActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesVulnerabilityUpdatedActivityLogEntry) GetActor() string { + return v.Actor +} + +// GetCreatedAt returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesVulnerabilityUpdatedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesVulnerabilityUpdatedActivityLogEntry) GetCreatedAt() time.Time { + return v.CreatedAt +} + +// GetMessage returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesVulnerabilityUpdatedActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesVulnerabilityUpdatedActivityLogEntry) GetMessage() string { + return v.Message +} + +// GetEnvironmentName returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesVulnerabilityUpdatedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesVulnerabilityUpdatedActivityLogEntry) GetEnvironmentName() string { + return v.EnvironmentName +} + +// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationTeamEnvironment includes the requested fields of the GraphQL type TeamEnvironment. +type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationTeamEnvironment struct { + // Get the environment. + Environment GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationTeamEnvironmentEnvironment `json:"environment"` +} + +// GetEnvironment returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationTeamEnvironment.Environment, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationTeamEnvironment) GetEnvironment() GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationTeamEnvironmentEnvironment { + return v.Environment +} + +// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationTeamEnvironmentEnvironment includes the requested fields of the GraphQL type Environment. +// The GraphQL type's documentation follows. +// +// An environment represents a runtime environment for workloads. +// +// Learn more in the [official Nais documentation](https://docs.nais.io/workloads/explanations/environment/). +type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationTeamEnvironmentEnvironment struct { + // Unique name of the environment. + Name string `json:"name"` +} + +// GetName returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationTeamEnvironmentEnvironment.Name, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationTeamEnvironmentEnvironment) GetName() string { + return v.Name +} + +// GetApplicationInstancesResponse is returned by GetApplicationInstances on success. +type GetApplicationInstancesResponse struct { + // Get a team by its slug. + Team GetApplicationInstancesTeam `json:"team"` +} + +// GetTeam returns GetApplicationInstancesResponse.Team, and is useful for accessing the field via an interface. +func (v *GetApplicationInstancesResponse) GetTeam() GetApplicationInstancesTeam { return v.Team } + +// GetApplicationInstancesTeam includes the requested fields of the GraphQL type Team. +// The GraphQL type's documentation follows. +// +// The team type represents a team on the [Nais platform](https://nais.io/). +// +// Learn more about what Nais teams are and what they can be used for in the [official Nais documentation](https://docs.nais.io/explanations/team/). +// +// External resources (e.g. entraIDGroupID, gitHubTeamSlug) are managed by [Nais API reconcilers](https://github.com/nais/api-reconcilers). +type GetApplicationInstancesTeam struct { + // Nais applications owned by the team. + Applications GetApplicationInstancesTeamApplicationsApplicationConnection `json:"applications"` +} + +// GetApplications returns GetApplicationInstancesTeam.Applications, and is useful for accessing the field via an interface. +func (v *GetApplicationInstancesTeam) GetApplications() GetApplicationInstancesTeamApplicationsApplicationConnection { + return v.Applications +} + +// GetApplicationInstancesTeamApplicationsApplicationConnection includes the requested fields of the GraphQL type ApplicationConnection. +// The GraphQL type's documentation follows. +// +// Application connection. +type GetApplicationInstancesTeamApplicationsApplicationConnection struct { + // List of nodes. + Nodes []GetApplicationInstancesTeamApplicationsApplicationConnectionNodesApplication `json:"nodes"` +} + +// GetNodes returns GetApplicationInstancesTeamApplicationsApplicationConnection.Nodes, and is useful for accessing the field via an interface. +func (v *GetApplicationInstancesTeamApplicationsApplicationConnection) GetNodes() []GetApplicationInstancesTeamApplicationsApplicationConnectionNodesApplication { + return v.Nodes +} + +// GetApplicationInstancesTeamApplicationsApplicationConnectionNodesApplication includes the requested fields of the GraphQL type Application. +// The GraphQL type's documentation follows. +// +// An application lets you run one or more instances of a container image on the [Nais platform](https://nais.io/). +// +// Learn more about how to create and configure your applications in the [Nais documentation](https://docs.nais.io/workloads/application/). +type GetApplicationInstancesTeamApplicationsApplicationConnectionNodesApplication struct { + // The application instances. + Instances GetApplicationInstancesTeamApplicationsApplicationConnectionNodesApplicationInstancesApplicationInstanceConnection `json:"instances"` +} + +// GetInstances returns GetApplicationInstancesTeamApplicationsApplicationConnectionNodesApplication.Instances, and is useful for accessing the field via an interface. +func (v *GetApplicationInstancesTeamApplicationsApplicationConnectionNodesApplication) GetInstances() GetApplicationInstancesTeamApplicationsApplicationConnectionNodesApplicationInstancesApplicationInstanceConnection { + return v.Instances +} + +// GetApplicationInstancesTeamApplicationsApplicationConnectionNodesApplicationInstancesApplicationInstanceConnection includes the requested fields of the GraphQL type ApplicationInstanceConnection. +type GetApplicationInstancesTeamApplicationsApplicationConnectionNodesApplicationInstancesApplicationInstanceConnection struct { + // List of nodes. + Nodes []GetApplicationInstancesTeamApplicationsApplicationConnectionNodesApplicationInstancesApplicationInstanceConnectionNodesApplicationInstance `json:"nodes"` +} + +// GetNodes returns GetApplicationInstancesTeamApplicationsApplicationConnectionNodesApplicationInstancesApplicationInstanceConnection.Nodes, and is useful for accessing the field via an interface. +func (v *GetApplicationInstancesTeamApplicationsApplicationConnectionNodesApplicationInstancesApplicationInstanceConnection) GetNodes() []GetApplicationInstancesTeamApplicationsApplicationConnectionNodesApplicationInstancesApplicationInstanceConnectionNodesApplicationInstance { + return v.Nodes +} + +// GetApplicationInstancesTeamApplicationsApplicationConnectionNodesApplicationInstancesApplicationInstanceConnectionNodesApplicationInstance includes the requested fields of the GraphQL type ApplicationInstance. +type GetApplicationInstancesTeamApplicationsApplicationConnectionNodesApplicationInstancesApplicationInstanceConnectionNodesApplicationInstance struct { + Name string `json:"name"` +} + +// GetName returns GetApplicationInstancesTeamApplicationsApplicationConnectionNodesApplicationInstancesApplicationInstanceConnectionNodesApplicationInstance.Name, and is useful for accessing the field via an interface. +func (v *GetApplicationInstancesTeamApplicationsApplicationConnectionNodesApplicationInstancesApplicationInstanceConnectionNodesApplicationInstance) GetName() string { + return v.Name +} + +// GetApplicationIssuesResponse is returned by GetApplicationIssues on success. +type GetApplicationIssuesResponse struct { + // Get a team by its slug. + Team GetApplicationIssuesTeam `json:"team"` +} + +// GetTeam returns GetApplicationIssuesResponse.Team, and is useful for accessing the field via an interface. +func (v *GetApplicationIssuesResponse) GetTeam() GetApplicationIssuesTeam { return v.Team } + +// GetApplicationIssuesTeam includes the requested fields of the GraphQL type Team. +// The GraphQL type's documentation follows. +// +// The team type represents a team on the [Nais platform](https://nais.io/). +// +// Learn more about what Nais teams are and what they can be used for in the [official Nais documentation](https://docs.nais.io/explanations/team/). +// +// External resources (e.g. entraIDGroupID, gitHubTeamSlug) are managed by [Nais API reconcilers](https://github.com/nais/api-reconcilers). +type GetApplicationIssuesTeam struct { + // Nais applications owned by the team. + Applications GetApplicationIssuesTeamApplicationsApplicationConnection `json:"applications"` +} + +// GetApplications returns GetApplicationIssuesTeam.Applications, and is useful for accessing the field via an interface. +func (v *GetApplicationIssuesTeam) GetApplications() GetApplicationIssuesTeamApplicationsApplicationConnection { + return v.Applications +} + +// GetApplicationIssuesTeamApplicationsApplicationConnection includes the requested fields of the GraphQL type ApplicationConnection. +// The GraphQL type's documentation follows. +// +// Application connection. +type GetApplicationIssuesTeamApplicationsApplicationConnection struct { + // List of nodes. + Nodes []GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplication `json:"nodes"` +} + +// GetNodes returns GetApplicationIssuesTeamApplicationsApplicationConnection.Nodes, and is useful for accessing the field via an interface. +func (v *GetApplicationIssuesTeamApplicationsApplicationConnection) GetNodes() []GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplication { + return v.Nodes +} + +// GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplication includes the requested fields of the GraphQL type Application. +// The GraphQL type's documentation follows. +// +// An application lets you run one or more instances of a container image on the [Nais platform](https://nais.io/). +// +// Learn more about how to create and configure your applications in the [Nais documentation](https://docs.nais.io/workloads/application/). +type GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplication struct { + // The team environment for the application. + TeamEnvironment GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationTeamEnvironment `json:"teamEnvironment"` + // Issues that affect the application. + Issues GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnection `json:"issues"` +} + +// GetTeamEnvironment returns GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplication.TeamEnvironment, and is useful for accessing the field via an interface. +func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplication) GetTeamEnvironment() GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationTeamEnvironment { + return v.TeamEnvironment +} + +// GetIssues returns GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplication.Issues, and is useful for accessing the field via an interface. +func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplication) GetIssues() GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnection { + return v.Issues +} + +// GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnection includes the requested fields of the GraphQL type IssueConnection. +type GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnection struct { + // List of nodes. + Nodes []GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesIssue `json:"-"` +} + +// GetNodes returns GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnection.Nodes, and is useful for accessing the field via an interface. +func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnection) GetNodes() []GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesIssue { + return v.Nodes +} + +func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnection) UnmarshalJSON(b []byte) error { + + if string(b) == "null" { + return nil + } + + var firstPass struct { + *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnection + Nodes []json.RawMessage `json:"nodes"` + graphql.NoUnmarshalJSON + } + firstPass.GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnection = v + + err := json.Unmarshal(b, &firstPass) + if err != nil { + return err + } + + { + dst := &v.Nodes + src := firstPass.Nodes + *dst = make( + []GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesIssue, + len(src)) + for i, src := range src { + dst := &(*dst)[i] + if len(src) != 0 && string(src) != "null" { + err = __unmarshalGetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesIssue( + src, dst) + if err != nil { + return fmt.Errorf( + "unable to unmarshal GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnection.Nodes: %w", err) + } + } + } + } + return nil +} + +type __premarshalGetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnection struct { + Nodes []json.RawMessage `json:"nodes"` +} + +func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnection) MarshalJSON() ([]byte, error) { + premarshaled, err := v.__premarshalJSON() + if err != nil { + return nil, err + } + return json.Marshal(premarshaled) +} + +func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnection) __premarshalJSON() (*__premarshalGetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnection, error) { + var retval __premarshalGetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnection + + { + + dst := &retval.Nodes + src := v.Nodes + *dst = make( + []json.RawMessage, + len(src)) + for i, src := range src { + dst := &(*dst)[i] + var err error + *dst, err = __marshalGetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesIssue( + &src) + if err != nil { + return nil, fmt.Errorf( + "unable to marshal GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnection.Nodes: %w", err) + } + } + } + return &retval, nil +} + +// GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesDeprecatedIngressIssue includes the requested fields of the GraphQL type DeprecatedIngressIssue. +type GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesDeprecatedIngressIssue struct { + Typename string `json:"__typename"` + Severity Severity `json:"severity"` + Message string `json:"message"` +} + +// GetTypename returns GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesDeprecatedIngressIssue.Typename, and is useful for accessing the field via an interface. +func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesDeprecatedIngressIssue) GetTypename() string { + return v.Typename +} + +// GetSeverity returns GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesDeprecatedIngressIssue.Severity, and is useful for accessing the field via an interface. +func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesDeprecatedIngressIssue) GetSeverity() Severity { + return v.Severity +} + +// GetMessage returns GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesDeprecatedIngressIssue.Message, and is useful for accessing the field via an interface. +func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesDeprecatedIngressIssue) GetMessage() string { + return v.Message +} + +// GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesDeprecatedRegistryIssue includes the requested fields of the GraphQL type DeprecatedRegistryIssue. +type GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesDeprecatedRegistryIssue struct { + Typename string `json:"__typename"` + Severity Severity `json:"severity"` + Message string `json:"message"` +} + +// GetTypename returns GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesDeprecatedRegistryIssue.Typename, and is useful for accessing the field via an interface. +func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesDeprecatedRegistryIssue) GetTypename() string { + return v.Typename +} + +// GetSeverity returns GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesDeprecatedRegistryIssue.Severity, and is useful for accessing the field via an interface. +func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesDeprecatedRegistryIssue) GetSeverity() Severity { + return v.Severity +} + +// GetMessage returns GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesDeprecatedRegistryIssue.Message, and is useful for accessing the field via an interface. +func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesDeprecatedRegistryIssue) GetMessage() string { + return v.Message +} + +// GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssue includes the requested fields of the GraphQL type ExternalIngressCriticalVulnerabilityIssue. +type GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssue struct { + Typename string `json:"__typename"` + Severity Severity `json:"severity"` + Message string `json:"message"` +} + +// GetTypename returns GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssue.Typename, and is useful for accessing the field via an interface. +func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssue) GetTypename() string { + return v.Typename +} + +// GetSeverity returns GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssue.Severity, and is useful for accessing the field via an interface. +func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssue) GetSeverity() Severity { + return v.Severity +} + +// GetMessage returns GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssue.Message, and is useful for accessing the field via an interface. +func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssue) GetMessage() string { + return v.Message +} + +// GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesFailedSynchronizationIssue includes the requested fields of the GraphQL type FailedSynchronizationIssue. +type GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesFailedSynchronizationIssue struct { + Typename string `json:"__typename"` + Severity Severity `json:"severity"` + Message string `json:"message"` +} + +// GetTypename returns GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesFailedSynchronizationIssue.Typename, and is useful for accessing the field via an interface. +func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesFailedSynchronizationIssue) GetTypename() string { + return v.Typename +} + +// GetSeverity returns GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesFailedSynchronizationIssue.Severity, and is useful for accessing the field via an interface. +func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesFailedSynchronizationIssue) GetSeverity() Severity { + return v.Severity +} + +// GetMessage returns GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesFailedSynchronizationIssue.Message, and is useful for accessing the field via an interface. +func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesFailedSynchronizationIssue) GetMessage() string { + return v.Message +} + +// GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesInvalidSpecIssue includes the requested fields of the GraphQL type InvalidSpecIssue. +type GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesInvalidSpecIssue struct { + Typename string `json:"__typename"` + Severity Severity `json:"severity"` + Message string `json:"message"` +} + +// GetTypename returns GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesInvalidSpecIssue.Typename, and is useful for accessing the field via an interface. +func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesInvalidSpecIssue) GetTypename() string { + return v.Typename +} + +// GetSeverity returns GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesInvalidSpecIssue.Severity, and is useful for accessing the field via an interface. +func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesInvalidSpecIssue) GetSeverity() Severity { + return v.Severity +} + +// GetMessage returns GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesInvalidSpecIssue.Message, and is useful for accessing the field via an interface. +func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesInvalidSpecIssue) GetMessage() string { + return v.Message +} + +// GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesIssue includes the requested fields of the GraphQL interface Issue. +// +// GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesIssue is implemented by the following types: +// GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesDeprecatedIngressIssue +// GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesDeprecatedRegistryIssue +// GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssue +// GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesFailedSynchronizationIssue +// GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesInvalidSpecIssue +// GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesLastRunFailedIssue +// GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesMissingSbomIssue +// GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesNoRunningInstancesIssue +// GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesOpenSearchIssue +// GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesSqlInstanceStateIssue +// GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesSqlInstanceVersionIssue +// GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesUnleashReleaseChannelIssue +// GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesValkeyIssue +// GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesVulnerableImageIssue +type GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesIssue interface { + implementsGraphQLInterfaceGetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesIssue() + // GetTypename returns the receiver's concrete GraphQL type-name (see interface doc for possible values). + GetTypename() string + // GetSeverity returns the interface-field "severity" from its implementation. + GetSeverity() Severity + // GetMessage returns the interface-field "message" from its implementation. + GetMessage() string +} + +func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesDeprecatedIngressIssue) implementsGraphQLInterfaceGetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesIssue() { +} +func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesDeprecatedRegistryIssue) implementsGraphQLInterfaceGetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesIssue() { +} +func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssue) implementsGraphQLInterfaceGetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesIssue() { +} +func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesFailedSynchronizationIssue) implementsGraphQLInterfaceGetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesIssue() { +} +func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesInvalidSpecIssue) implementsGraphQLInterfaceGetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesIssue() { +} +func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesLastRunFailedIssue) implementsGraphQLInterfaceGetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesIssue() { +} +func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesMissingSbomIssue) implementsGraphQLInterfaceGetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesIssue() { +} +func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesNoRunningInstancesIssue) implementsGraphQLInterfaceGetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesIssue() { +} +func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesOpenSearchIssue) implementsGraphQLInterfaceGetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesIssue() { +} +func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesSqlInstanceStateIssue) implementsGraphQLInterfaceGetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesIssue() { +} +func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesSqlInstanceVersionIssue) implementsGraphQLInterfaceGetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesIssue() { +} +func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesUnleashReleaseChannelIssue) implementsGraphQLInterfaceGetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesIssue() { +} +func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesValkeyIssue) implementsGraphQLInterfaceGetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesIssue() { +} +func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesVulnerableImageIssue) implementsGraphQLInterfaceGetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesIssue() { +} + +func __unmarshalGetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesIssue(b []byte, v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesIssue) error { + if string(b) == "null" { + return nil + } + + var tn struct { + TypeName string `json:"__typename"` + } + err := json.Unmarshal(b, &tn) + if err != nil { + return err + } + + switch tn.TypeName { + case "DeprecatedIngressIssue": + *v = new(GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesDeprecatedIngressIssue) + return json.Unmarshal(b, *v) + case "DeprecatedRegistryIssue": + *v = new(GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesDeprecatedRegistryIssue) + return json.Unmarshal(b, *v) + case "ExternalIngressCriticalVulnerabilityIssue": + *v = new(GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssue) + return json.Unmarshal(b, *v) + case "FailedSynchronizationIssue": + *v = new(GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesFailedSynchronizationIssue) + return json.Unmarshal(b, *v) + case "InvalidSpecIssue": + *v = new(GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesInvalidSpecIssue) + return json.Unmarshal(b, *v) + case "LastRunFailedIssue": + *v = new(GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesLastRunFailedIssue) + return json.Unmarshal(b, *v) + case "MissingSbomIssue": + *v = new(GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesMissingSbomIssue) + return json.Unmarshal(b, *v) + case "NoRunningInstancesIssue": + *v = new(GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesNoRunningInstancesIssue) + return json.Unmarshal(b, *v) + case "OpenSearchIssue": + *v = new(GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesOpenSearchIssue) + return json.Unmarshal(b, *v) + case "SqlInstanceStateIssue": + *v = new(GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesSqlInstanceStateIssue) + return json.Unmarshal(b, *v) + case "SqlInstanceVersionIssue": + *v = new(GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesSqlInstanceVersionIssue) + return json.Unmarshal(b, *v) + case "UnleashReleaseChannelIssue": + *v = new(GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesUnleashReleaseChannelIssue) + return json.Unmarshal(b, *v) + case "ValkeyIssue": + *v = new(GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesValkeyIssue) + return json.Unmarshal(b, *v) + case "VulnerableImageIssue": + *v = new(GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesVulnerableImageIssue) + return json.Unmarshal(b, *v) + case "": + return fmt.Errorf( + "response was missing Issue.__typename") + default: + return fmt.Errorf( + `unexpected concrete type for GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesIssue: "%v"`, tn.TypeName) + } +} + +func __marshalGetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesIssue(v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesIssue) ([]byte, error) { + + var typename string + switch v := (*v).(type) { + case *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesDeprecatedIngressIssue: + typename = "DeprecatedIngressIssue" + + result := struct { + TypeName string `json:"__typename"` + *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesDeprecatedIngressIssue }{typename, v} return json.Marshal(result) - case *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountTokenCreatedActivityLogEntry: - typename = "ServiceAccountTokenCreatedActivityLogEntry" + case *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesDeprecatedRegistryIssue: + typename = "DeprecatedRegistryIssue" + + result := struct { + TypeName string `json:"__typename"` + *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesDeprecatedRegistryIssue + }{typename, v} + return json.Marshal(result) + case *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssue: + typename = "ExternalIngressCriticalVulnerabilityIssue" + + result := struct { + TypeName string `json:"__typename"` + *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssue + }{typename, v} + return json.Marshal(result) + case *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesFailedSynchronizationIssue: + typename = "FailedSynchronizationIssue" + + result := struct { + TypeName string `json:"__typename"` + *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesFailedSynchronizationIssue + }{typename, v} + return json.Marshal(result) + case *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesInvalidSpecIssue: + typename = "InvalidSpecIssue" + + result := struct { + TypeName string `json:"__typename"` + *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesInvalidSpecIssue + }{typename, v} + return json.Marshal(result) + case *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesLastRunFailedIssue: + typename = "LastRunFailedIssue" + + result := struct { + TypeName string `json:"__typename"` + *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesLastRunFailedIssue + }{typename, v} + return json.Marshal(result) + case *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesMissingSbomIssue: + typename = "MissingSbomIssue" + + result := struct { + TypeName string `json:"__typename"` + *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesMissingSbomIssue + }{typename, v} + return json.Marshal(result) + case *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesNoRunningInstancesIssue: + typename = "NoRunningInstancesIssue" + + result := struct { + TypeName string `json:"__typename"` + *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesNoRunningInstancesIssue + }{typename, v} + return json.Marshal(result) + case *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesOpenSearchIssue: + typename = "OpenSearchIssue" + + result := struct { + TypeName string `json:"__typename"` + *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesOpenSearchIssue + }{typename, v} + return json.Marshal(result) + case *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesSqlInstanceStateIssue: + typename = "SqlInstanceStateIssue" + + result := struct { + TypeName string `json:"__typename"` + *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesSqlInstanceStateIssue + }{typename, v} + return json.Marshal(result) + case *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesSqlInstanceVersionIssue: + typename = "SqlInstanceVersionIssue" + + result := struct { + TypeName string `json:"__typename"` + *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesSqlInstanceVersionIssue + }{typename, v} + return json.Marshal(result) + case *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesUnleashReleaseChannelIssue: + typename = "UnleashReleaseChannelIssue" + + result := struct { + TypeName string `json:"__typename"` + *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesUnleashReleaseChannelIssue + }{typename, v} + return json.Marshal(result) + case *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesValkeyIssue: + typename = "ValkeyIssue" + + result := struct { + TypeName string `json:"__typename"` + *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesValkeyIssue + }{typename, v} + return json.Marshal(result) + case *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesVulnerableImageIssue: + typename = "VulnerableImageIssue" + + result := struct { + TypeName string `json:"__typename"` + *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesVulnerableImageIssue + }{typename, v} + return json.Marshal(result) + case nil: + return []byte("null"), nil + default: + return nil, fmt.Errorf( + `unexpected concrete type for GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesIssue: "%T"`, v) + } +} + +// GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesLastRunFailedIssue includes the requested fields of the GraphQL type LastRunFailedIssue. +type GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesLastRunFailedIssue struct { + Typename string `json:"__typename"` + Severity Severity `json:"severity"` + Message string `json:"message"` +} + +// GetTypename returns GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesLastRunFailedIssue.Typename, and is useful for accessing the field via an interface. +func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesLastRunFailedIssue) GetTypename() string { + return v.Typename +} + +// GetSeverity returns GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesLastRunFailedIssue.Severity, and is useful for accessing the field via an interface. +func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesLastRunFailedIssue) GetSeverity() Severity { + return v.Severity +} + +// GetMessage returns GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesLastRunFailedIssue.Message, and is useful for accessing the field via an interface. +func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesLastRunFailedIssue) GetMessage() string { + return v.Message +} + +// GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesMissingSbomIssue includes the requested fields of the GraphQL type MissingSbomIssue. +type GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesMissingSbomIssue struct { + Typename string `json:"__typename"` + Severity Severity `json:"severity"` + Message string `json:"message"` +} + +// GetTypename returns GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesMissingSbomIssue.Typename, and is useful for accessing the field via an interface. +func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesMissingSbomIssue) GetTypename() string { + return v.Typename +} + +// GetSeverity returns GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesMissingSbomIssue.Severity, and is useful for accessing the field via an interface. +func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesMissingSbomIssue) GetSeverity() Severity { + return v.Severity +} + +// GetMessage returns GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesMissingSbomIssue.Message, and is useful for accessing the field via an interface. +func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesMissingSbomIssue) GetMessage() string { + return v.Message +} + +// GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesNoRunningInstancesIssue includes the requested fields of the GraphQL type NoRunningInstancesIssue. +type GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesNoRunningInstancesIssue struct { + Typename string `json:"__typename"` + Severity Severity `json:"severity"` + Message string `json:"message"` +} + +// GetTypename returns GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesNoRunningInstancesIssue.Typename, and is useful for accessing the field via an interface. +func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesNoRunningInstancesIssue) GetTypename() string { + return v.Typename +} + +// GetSeverity returns GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesNoRunningInstancesIssue.Severity, and is useful for accessing the field via an interface. +func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesNoRunningInstancesIssue) GetSeverity() Severity { + return v.Severity +} + +// GetMessage returns GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesNoRunningInstancesIssue.Message, and is useful for accessing the field via an interface. +func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesNoRunningInstancesIssue) GetMessage() string { + return v.Message +} + +// GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesOpenSearchIssue includes the requested fields of the GraphQL type OpenSearchIssue. +type GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesOpenSearchIssue struct { + Typename string `json:"__typename"` + Severity Severity `json:"severity"` + Message string `json:"message"` +} + +// GetTypename returns GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesOpenSearchIssue.Typename, and is useful for accessing the field via an interface. +func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesOpenSearchIssue) GetTypename() string { + return v.Typename +} + +// GetSeverity returns GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesOpenSearchIssue.Severity, and is useful for accessing the field via an interface. +func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesOpenSearchIssue) GetSeverity() Severity { + return v.Severity +} + +// GetMessage returns GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesOpenSearchIssue.Message, and is useful for accessing the field via an interface. +func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesOpenSearchIssue) GetMessage() string { + return v.Message +} + +// GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesSqlInstanceStateIssue includes the requested fields of the GraphQL type SqlInstanceStateIssue. +type GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesSqlInstanceStateIssue struct { + Typename string `json:"__typename"` + Severity Severity `json:"severity"` + Message string `json:"message"` +} + +// GetTypename returns GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesSqlInstanceStateIssue.Typename, and is useful for accessing the field via an interface. +func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesSqlInstanceStateIssue) GetTypename() string { + return v.Typename +} - result := struct { - TypeName string `json:"__typename"` - *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountTokenCreatedActivityLogEntry - }{typename, v} - return json.Marshal(result) - case *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountTokenDeletedActivityLogEntry: - typename = "ServiceAccountTokenDeletedActivityLogEntry" +// GetSeverity returns GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesSqlInstanceStateIssue.Severity, and is useful for accessing the field via an interface. +func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesSqlInstanceStateIssue) GetSeverity() Severity { + return v.Severity +} - result := struct { - TypeName string `json:"__typename"` - *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountTokenDeletedActivityLogEntry - }{typename, v} - return json.Marshal(result) - case *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountTokenUpdatedActivityLogEntry: - typename = "ServiceAccountTokenUpdatedActivityLogEntry" +// GetMessage returns GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesSqlInstanceStateIssue.Message, and is useful for accessing the field via an interface. +func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesSqlInstanceStateIssue) GetMessage() string { + return v.Message +} - result := struct { - TypeName string `json:"__typename"` - *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountTokenUpdatedActivityLogEntry - }{typename, v} - return json.Marshal(result) - case *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountUpdatedActivityLogEntry: - typename = "ServiceAccountUpdatedActivityLogEntry" +// GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesSqlInstanceVersionIssue includes the requested fields of the GraphQL type SqlInstanceVersionIssue. +type GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesSqlInstanceVersionIssue struct { + Typename string `json:"__typename"` + Severity Severity `json:"severity"` + Message string `json:"message"` +} - result := struct { - TypeName string `json:"__typename"` - *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountUpdatedActivityLogEntry - }{typename, v} - return json.Marshal(result) - case *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceMaintenanceActivityLogEntry: - typename = "ServiceMaintenanceActivityLogEntry" +// GetTypename returns GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesSqlInstanceVersionIssue.Typename, and is useful for accessing the field via an interface. +func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesSqlInstanceVersionIssue) GetTypename() string { + return v.Typename +} - result := struct { - TypeName string `json:"__typename"` - *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceMaintenanceActivityLogEntry - }{typename, v} - return json.Marshal(result) - case *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamConfirmDeleteKeyActivityLogEntry: - typename = "TeamConfirmDeleteKeyActivityLogEntry" +// GetSeverity returns GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesSqlInstanceVersionIssue.Severity, and is useful for accessing the field via an interface. +func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesSqlInstanceVersionIssue) GetSeverity() Severity { + return v.Severity +} - result := struct { - TypeName string `json:"__typename"` - *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamConfirmDeleteKeyActivityLogEntry - }{typename, v} - return json.Marshal(result) - case *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamCreateDeleteKeyActivityLogEntry: - typename = "TeamCreateDeleteKeyActivityLogEntry" +// GetMessage returns GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesSqlInstanceVersionIssue.Message, and is useful for accessing the field via an interface. +func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesSqlInstanceVersionIssue) GetMessage() string { + return v.Message +} - result := struct { - TypeName string `json:"__typename"` - *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamCreateDeleteKeyActivityLogEntry - }{typename, v} - return json.Marshal(result) - case *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamCreatedActivityLogEntry: - typename = "TeamCreatedActivityLogEntry" +// GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesUnleashReleaseChannelIssue includes the requested fields of the GraphQL type UnleashReleaseChannelIssue. +type GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesUnleashReleaseChannelIssue struct { + Typename string `json:"__typename"` + Severity Severity `json:"severity"` + Message string `json:"message"` +} - result := struct { - TypeName string `json:"__typename"` - *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamCreatedActivityLogEntry - }{typename, v} - return json.Marshal(result) - case *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamDeployKeyUpdatedActivityLogEntry: - typename = "TeamDeployKeyUpdatedActivityLogEntry" +// GetTypename returns GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesUnleashReleaseChannelIssue.Typename, and is useful for accessing the field via an interface. +func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesUnleashReleaseChannelIssue) GetTypename() string { + return v.Typename +} - result := struct { - TypeName string `json:"__typename"` - *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamDeployKeyUpdatedActivityLogEntry - }{typename, v} - return json.Marshal(result) - case *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamEnvironmentUpdatedActivityLogEntry: - typename = "TeamEnvironmentUpdatedActivityLogEntry" +// GetSeverity returns GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesUnleashReleaseChannelIssue.Severity, and is useful for accessing the field via an interface. +func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesUnleashReleaseChannelIssue) GetSeverity() Severity { + return v.Severity +} - result := struct { - TypeName string `json:"__typename"` - *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamEnvironmentUpdatedActivityLogEntry - }{typename, v} - return json.Marshal(result) - case *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamMemberAddedActivityLogEntry: - typename = "TeamMemberAddedActivityLogEntry" +// GetMessage returns GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesUnleashReleaseChannelIssue.Message, and is useful for accessing the field via an interface. +func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesUnleashReleaseChannelIssue) GetMessage() string { + return v.Message +} - result := struct { - TypeName string `json:"__typename"` - *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamMemberAddedActivityLogEntry - }{typename, v} - return json.Marshal(result) - case *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamMemberRemovedActivityLogEntry: - typename = "TeamMemberRemovedActivityLogEntry" +// GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesValkeyIssue includes the requested fields of the GraphQL type ValkeyIssue. +type GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesValkeyIssue struct { + Typename string `json:"__typename"` + Severity Severity `json:"severity"` + Message string `json:"message"` +} - result := struct { - TypeName string `json:"__typename"` - *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamMemberRemovedActivityLogEntry - }{typename, v} - return json.Marshal(result) - case *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamMemberSetRoleActivityLogEntry: - typename = "TeamMemberSetRoleActivityLogEntry" +// GetTypename returns GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesValkeyIssue.Typename, and is useful for accessing the field via an interface. +func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesValkeyIssue) GetTypename() string { + return v.Typename +} - result := struct { - TypeName string `json:"__typename"` - *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamMemberSetRoleActivityLogEntry - }{typename, v} - return json.Marshal(result) - case *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamUpdatedActivityLogEntry: - typename = "TeamUpdatedActivityLogEntry" +// GetSeverity returns GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesValkeyIssue.Severity, and is useful for accessing the field via an interface. +func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesValkeyIssue) GetSeverity() Severity { + return v.Severity +} - result := struct { - TypeName string `json:"__typename"` - *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamUpdatedActivityLogEntry - }{typename, v} - return json.Marshal(result) - case *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesUnleashInstanceCreatedActivityLogEntry: - typename = "UnleashInstanceCreatedActivityLogEntry" +// GetMessage returns GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesValkeyIssue.Message, and is useful for accessing the field via an interface. +func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesValkeyIssue) GetMessage() string { + return v.Message +} - result := struct { - TypeName string `json:"__typename"` - *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesUnleashInstanceCreatedActivityLogEntry - }{typename, v} - return json.Marshal(result) - case *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesUnleashInstanceDeletedActivityLogEntry: - typename = "UnleashInstanceDeletedActivityLogEntry" +// GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesVulnerableImageIssue includes the requested fields of the GraphQL type VulnerableImageIssue. +type GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesVulnerableImageIssue struct { + Typename string `json:"__typename"` + Severity Severity `json:"severity"` + Message string `json:"message"` +} - result := struct { - TypeName string `json:"__typename"` - *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesUnleashInstanceDeletedActivityLogEntry - }{typename, v} - return json.Marshal(result) - case *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesUnleashInstanceUpdatedActivityLogEntry: - typename = "UnleashInstanceUpdatedActivityLogEntry" +// GetTypename returns GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesVulnerableImageIssue.Typename, and is useful for accessing the field via an interface. +func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesVulnerableImageIssue) GetTypename() string { + return v.Typename +} - result := struct { - TypeName string `json:"__typename"` - *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesUnleashInstanceUpdatedActivityLogEntry - }{typename, v} - return json.Marshal(result) - case *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesValkeyCreatedActivityLogEntry: - typename = "ValkeyCreatedActivityLogEntry" +// GetSeverity returns GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesVulnerableImageIssue.Severity, and is useful for accessing the field via an interface. +func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesVulnerableImageIssue) GetSeverity() Severity { + return v.Severity +} - result := struct { - TypeName string `json:"__typename"` - *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesValkeyCreatedActivityLogEntry - }{typename, v} - return json.Marshal(result) - case *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesValkeyDeletedActivityLogEntry: - typename = "ValkeyDeletedActivityLogEntry" +// GetMessage returns GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesVulnerableImageIssue.Message, and is useful for accessing the field via an interface. +func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesVulnerableImageIssue) GetMessage() string { + return v.Message +} + +// GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationTeamEnvironment includes the requested fields of the GraphQL type TeamEnvironment. +type GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationTeamEnvironment struct { + // Get the environment. + Environment GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationTeamEnvironmentEnvironment `json:"environment"` +} + +// GetEnvironment returns GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationTeamEnvironment.Environment, and is useful for accessing the field via an interface. +func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationTeamEnvironment) GetEnvironment() GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationTeamEnvironmentEnvironment { + return v.Environment +} + +// GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationTeamEnvironmentEnvironment includes the requested fields of the GraphQL type Environment. +// The GraphQL type's documentation follows. +// +// An environment represents a runtime environment for workloads. +// +// Learn more in the [official Nais documentation](https://docs.nais.io/workloads/explanations/environment/). +type GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationTeamEnvironmentEnvironment struct { + // Unique name of the environment. + Name string `json:"name"` +} + +// GetName returns GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationTeamEnvironmentEnvironment.Name, and is useful for accessing the field via an interface. +func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationTeamEnvironmentEnvironment) GetName() string { + return v.Name +} + +// GetApplicationNamesResponse is returned by GetApplicationNames on success. +type GetApplicationNamesResponse struct { + // Get a team by its slug. + Team GetApplicationNamesTeam `json:"team"` +} + +// GetTeam returns GetApplicationNamesResponse.Team, and is useful for accessing the field via an interface. +func (v *GetApplicationNamesResponse) GetTeam() GetApplicationNamesTeam { return v.Team } + +// GetApplicationNamesTeam includes the requested fields of the GraphQL type Team. +// The GraphQL type's documentation follows. +// +// The team type represents a team on the [Nais platform](https://nais.io/). +// +// Learn more about what Nais teams are and what they can be used for in the [official Nais documentation](https://docs.nais.io/explanations/team/). +// +// External resources (e.g. entraIDGroupID, gitHubTeamSlug) are managed by [Nais API reconcilers](https://github.com/nais/api-reconcilers). +type GetApplicationNamesTeam struct { + // Nais applications owned by the team. + Applications GetApplicationNamesTeamApplicationsApplicationConnection `json:"applications"` +} - result := struct { - TypeName string `json:"__typename"` - *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesValkeyDeletedActivityLogEntry - }{typename, v} - return json.Marshal(result) - case *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesValkeyUpdatedActivityLogEntry: - typename = "ValkeyUpdatedActivityLogEntry" +// GetApplications returns GetApplicationNamesTeam.Applications, and is useful for accessing the field via an interface. +func (v *GetApplicationNamesTeam) GetApplications() GetApplicationNamesTeamApplicationsApplicationConnection { + return v.Applications +} - result := struct { - TypeName string `json:"__typename"` - *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesValkeyUpdatedActivityLogEntry - }{typename, v} - return json.Marshal(result) - case *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesVulnerabilityUpdatedActivityLogEntry: - typename = "VulnerabilityUpdatedActivityLogEntry" +// GetApplicationNamesTeamApplicationsApplicationConnection includes the requested fields of the GraphQL type ApplicationConnection. +// The GraphQL type's documentation follows. +// +// Application connection. +type GetApplicationNamesTeamApplicationsApplicationConnection struct { + // List of nodes. + Nodes []GetApplicationNamesTeamApplicationsApplicationConnectionNodesApplication `json:"nodes"` +} - result := struct { - TypeName string `json:"__typename"` - *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesVulnerabilityUpdatedActivityLogEntry - }{typename, v} - return json.Marshal(result) - case nil: - return []byte("null"), nil - default: - return nil, fmt.Errorf( - `unexpected concrete type for GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry: "%T"`, v) - } +// GetNodes returns GetApplicationNamesTeamApplicationsApplicationConnection.Nodes, and is useful for accessing the field via an interface. +func (v *GetApplicationNamesTeamApplicationsApplicationConnection) GetNodes() []GetApplicationNamesTeamApplicationsApplicationConnectionNodesApplication { + return v.Nodes } -// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesApplicationDeletedActivityLogEntry includes the requested fields of the GraphQL type ApplicationDeletedActivityLogEntry. -type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesApplicationDeletedActivityLogEntry struct { - Typename string `json:"__typename"` - // Interface for activity log entries. - Actor string `json:"actor"` - // Interface for activity log entries. - CreatedAt time.Time `json:"createdAt"` - // Interface for activity log entries. - Message string `json:"message"` - // Interface for activity log entries. - EnvironmentName string `json:"environmentName"` +// GetApplicationNamesTeamApplicationsApplicationConnectionNodesApplication includes the requested fields of the GraphQL type Application. +// The GraphQL type's documentation follows. +// +// An application lets you run one or more instances of a container image on the [Nais platform](https://nais.io/). +// +// Learn more about how to create and configure your applications in the [Nais documentation](https://docs.nais.io/workloads/application/). +type GetApplicationNamesTeamApplicationsApplicationConnectionNodesApplication struct { + // The name of the application. + Name string `json:"name"` + // The team environment for the application. + TeamEnvironment GetApplicationNamesTeamApplicationsApplicationConnectionNodesApplicationTeamEnvironment `json:"teamEnvironment"` } -// GetTypename returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesApplicationDeletedActivityLogEntry.Typename, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesApplicationDeletedActivityLogEntry) GetTypename() string { - return v.Typename +// GetName returns GetApplicationNamesTeamApplicationsApplicationConnectionNodesApplication.Name, and is useful for accessing the field via an interface. +func (v *GetApplicationNamesTeamApplicationsApplicationConnectionNodesApplication) GetName() string { + return v.Name } -// GetActor returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesApplicationDeletedActivityLogEntry.Actor, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesApplicationDeletedActivityLogEntry) GetActor() string { - return v.Actor +// GetTeamEnvironment returns GetApplicationNamesTeamApplicationsApplicationConnectionNodesApplication.TeamEnvironment, and is useful for accessing the field via an interface. +func (v *GetApplicationNamesTeamApplicationsApplicationConnectionNodesApplication) GetTeamEnvironment() GetApplicationNamesTeamApplicationsApplicationConnectionNodesApplicationTeamEnvironment { + return v.TeamEnvironment } -// GetCreatedAt returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesApplicationDeletedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesApplicationDeletedActivityLogEntry) GetCreatedAt() time.Time { - return v.CreatedAt +// GetApplicationNamesTeamApplicationsApplicationConnectionNodesApplicationTeamEnvironment includes the requested fields of the GraphQL type TeamEnvironment. +type GetApplicationNamesTeamApplicationsApplicationConnectionNodesApplicationTeamEnvironment struct { + // Get the environment. + Environment GetApplicationNamesTeamApplicationsApplicationConnectionNodesApplicationTeamEnvironmentEnvironment `json:"environment"` } -// GetMessage returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesApplicationDeletedActivityLogEntry.Message, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesApplicationDeletedActivityLogEntry) GetMessage() string { - return v.Message +// GetEnvironment returns GetApplicationNamesTeamApplicationsApplicationConnectionNodesApplicationTeamEnvironment.Environment, and is useful for accessing the field via an interface. +func (v *GetApplicationNamesTeamApplicationsApplicationConnectionNodesApplicationTeamEnvironment) GetEnvironment() GetApplicationNamesTeamApplicationsApplicationConnectionNodesApplicationTeamEnvironmentEnvironment { + return v.Environment } -// GetEnvironmentName returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesApplicationDeletedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesApplicationDeletedActivityLogEntry) GetEnvironmentName() string { - return v.EnvironmentName +// GetApplicationNamesTeamApplicationsApplicationConnectionNodesApplicationTeamEnvironmentEnvironment includes the requested fields of the GraphQL type Environment. +// The GraphQL type's documentation follows. +// +// An environment represents a runtime environment for workloads. +// +// Learn more in the [official Nais documentation](https://docs.nais.io/workloads/explanations/environment/). +type GetApplicationNamesTeamApplicationsApplicationConnectionNodesApplicationTeamEnvironmentEnvironment struct { + // Unique name of the environment. + Name string `json:"name"` } -// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesApplicationRestartedActivityLogEntry includes the requested fields of the GraphQL type ApplicationRestartedActivityLogEntry. -type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesApplicationRestartedActivityLogEntry struct { - Typename string `json:"__typename"` - // Interface for activity log entries. - Actor string `json:"actor"` - // Interface for activity log entries. - CreatedAt time.Time `json:"createdAt"` - // Interface for activity log entries. - Message string `json:"message"` - // Interface for activity log entries. - EnvironmentName string `json:"environmentName"` +// GetName returns GetApplicationNamesTeamApplicationsApplicationConnectionNodesApplicationTeamEnvironmentEnvironment.Name, and is useful for accessing the field via an interface. +func (v *GetApplicationNamesTeamApplicationsApplicationConnectionNodesApplicationTeamEnvironmentEnvironment) GetName() string { + return v.Name } -// GetTypename returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesApplicationRestartedActivityLogEntry.Typename, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesApplicationRestartedActivityLogEntry) GetTypename() string { - return v.Typename +// GetConfigActivityResponse is returned by GetConfigActivity on success. +type GetConfigActivityResponse struct { + // Get a team by its slug. + Team GetConfigActivityTeam `json:"team"` } -// GetActor returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesApplicationRestartedActivityLogEntry.Actor, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesApplicationRestartedActivityLogEntry) GetActor() string { - return v.Actor +// GetTeam returns GetConfigActivityResponse.Team, and is useful for accessing the field via an interface. +func (v *GetConfigActivityResponse) GetTeam() GetConfigActivityTeam { return v.Team } + +// GetConfigActivityTeam includes the requested fields of the GraphQL type Team. +// The GraphQL type's documentation follows. +// +// The team type represents a team on the [Nais platform](https://nais.io/). +// +// Learn more about what Nais teams are and what they can be used for in the [official Nais documentation](https://docs.nais.io/explanations/team/). +// +// External resources (e.g. entraIDGroupID, gitHubTeamSlug) are managed by [Nais API reconcilers](https://github.com/nais/api-reconcilers). +type GetConfigActivityTeam struct { + // Configs owned by the team. + Configs GetConfigActivityTeamConfigsConfigConnection `json:"configs"` } -// GetCreatedAt returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesApplicationRestartedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesApplicationRestartedActivityLogEntry) GetCreatedAt() time.Time { - return v.CreatedAt +// GetConfigs returns GetConfigActivityTeam.Configs, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeam) GetConfigs() GetConfigActivityTeamConfigsConfigConnection { + return v.Configs } -// GetMessage returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesApplicationRestartedActivityLogEntry.Message, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesApplicationRestartedActivityLogEntry) GetMessage() string { - return v.Message +// GetConfigActivityTeamConfigsConfigConnection includes the requested fields of the GraphQL type ConfigConnection. +type GetConfigActivityTeamConfigsConfigConnection struct { + // List of nodes. + Nodes []GetConfigActivityTeamConfigsConfigConnectionNodesConfig `json:"nodes"` } -// GetEnvironmentName returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesApplicationRestartedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesApplicationRestartedActivityLogEntry) GetEnvironmentName() string { - return v.EnvironmentName +// GetNodes returns GetConfigActivityTeamConfigsConfigConnection.Nodes, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnection) GetNodes() []GetConfigActivityTeamConfigsConfigConnectionNodesConfig { + return v.Nodes } -// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesApplicationScaledActivityLogEntry includes the requested fields of the GraphQL type ApplicationScaledActivityLogEntry. -type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesApplicationScaledActivityLogEntry struct { - Typename string `json:"__typename"` - // Interface for activity log entries. - Actor string `json:"actor"` - // Interface for activity log entries. - CreatedAt time.Time `json:"createdAt"` - // Interface for activity log entries. - Message string `json:"message"` - // Interface for activity log entries. - EnvironmentName string `json:"environmentName"` +// GetConfigActivityTeamConfigsConfigConnectionNodesConfig includes the requested fields of the GraphQL type Config. +// The GraphQL type's documentation follows. +// +// A config is a collection of key-value pairs. +type GetConfigActivityTeamConfigsConfigConnectionNodesConfig struct { + // The name of the config. + Name string `json:"name"` + // The environment the config exists in. + TeamEnvironment GetConfigActivityTeamConfigsConfigConnectionNodesConfigTeamEnvironment `json:"teamEnvironment"` + // Activity log associated with the config. + ActivityLog GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnection `json:"activityLog"` } -// GetTypename returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesApplicationScaledActivityLogEntry.Typename, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesApplicationScaledActivityLogEntry) GetTypename() string { - return v.Typename +// GetName returns GetConfigActivityTeamConfigsConfigConnectionNodesConfig.Name, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfig) GetName() string { return v.Name } + +// GetTeamEnvironment returns GetConfigActivityTeamConfigsConfigConnectionNodesConfig.TeamEnvironment, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfig) GetTeamEnvironment() GetConfigActivityTeamConfigsConfigConnectionNodesConfigTeamEnvironment { + return v.TeamEnvironment } -// GetActor returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesApplicationScaledActivityLogEntry.Actor, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesApplicationScaledActivityLogEntry) GetActor() string { - return v.Actor +// GetActivityLog returns GetConfigActivityTeamConfigsConfigConnectionNodesConfig.ActivityLog, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfig) GetActivityLog() GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnection { + return v.ActivityLog } -// GetCreatedAt returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesApplicationScaledActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesApplicationScaledActivityLogEntry) GetCreatedAt() time.Time { - return v.CreatedAt +// GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnection includes the requested fields of the GraphQL type ActivityLogEntryConnection. +// The GraphQL type's documentation follows. +// +// Activity log connection. +type GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnection struct { + // List of nodes. + Nodes []GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesActivityLogEntry `json:"-"` } -// GetMessage returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesApplicationScaledActivityLogEntry.Message, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesApplicationScaledActivityLogEntry) GetMessage() string { - return v.Message +// GetNodes returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnection.Nodes, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnection) GetNodes() []GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesActivityLogEntry { + return v.Nodes } -// GetEnvironmentName returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesApplicationScaledActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesApplicationScaledActivityLogEntry) GetEnvironmentName() string { - return v.EnvironmentName +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnection) UnmarshalJSON(b []byte) error { + + if string(b) == "null" { + return nil + } + + var firstPass struct { + *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnection + Nodes []json.RawMessage `json:"nodes"` + graphql.NoUnmarshalJSON + } + firstPass.GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnection = v + + err := json.Unmarshal(b, &firstPass) + if err != nil { + return err + } + + { + dst := &v.Nodes + src := firstPass.Nodes + *dst = make( + []GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesActivityLogEntry, + len(src)) + for i, src := range src { + dst := &(*dst)[i] + if len(src) != 0 && string(src) != "null" { + err = __unmarshalGetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesActivityLogEntry( + src, dst) + if err != nil { + return fmt.Errorf( + "unable to unmarshal GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnection.Nodes: %w", err) + } + } + } + } + return nil } -// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry includes the requested fields of the GraphQL type ClusterAuditActivityLogEntry. -type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry struct { - Typename string `json:"__typename"` - // Interface for activity log entries. - Actor string `json:"actor"` - // Interface for activity log entries. - CreatedAt time.Time `json:"createdAt"` - // Interface for activity log entries. - Message string `json:"message"` - // Interface for activity log entries. - EnvironmentName string `json:"environmentName"` +type __premarshalGetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnection struct { + Nodes []json.RawMessage `json:"nodes"` } -// GetTypename returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry.Typename, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry) GetTypename() string { - return v.Typename +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnection) MarshalJSON() ([]byte, error) { + premarshaled, err := v.__premarshalJSON() + if err != nil { + return nil, err + } + return json.Marshal(premarshaled) } -// GetActor returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry.Actor, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry) GetActor() string { - return v.Actor +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnection) __premarshalJSON() (*__premarshalGetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnection, error) { + var retval __premarshalGetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnection + + { + + dst := &retval.Nodes + src := v.Nodes + *dst = make( + []json.RawMessage, + len(src)) + for i, src := range src { + dst := &(*dst)[i] + var err error + *dst, err = __marshalGetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesActivityLogEntry( + &src) + if err != nil { + return nil, fmt.Errorf( + "unable to marshal GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnection.Nodes: %w", err) + } + } + } + return &retval, nil } -// GetCreatedAt returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry) GetCreatedAt() time.Time { - return v.CreatedAt +// GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesActivityLogEntry includes the requested fields of the GraphQL interface ActivityLogEntry. +// +// GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesActivityLogEntry is implemented by the following types: +// GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesApplicationDeletedActivityLogEntry +// GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesApplicationRestartedActivityLogEntry +// GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesApplicationScaledActivityLogEntry +// GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry +// GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesConfigCreatedActivityLogEntry +// GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesConfigDeletedActivityLogEntry +// GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesConfigUpdatedActivityLogEntry +// GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesCredentialsActivityLogEntry +// GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesDeploymentActivityLogEntry +// GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesJobDeletedActivityLogEntry +// GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesJobTriggeredActivityLogEntry +// GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesOpenSearchCreatedActivityLogEntry +// GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesOpenSearchDeletedActivityLogEntry +// GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesOpenSearchUpdatedActivityLogEntry +// GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesPostgresGrantAccessActivityLogEntry +// GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesReconcilerConfiguredActivityLogEntry +// GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesReconcilerDisabledActivityLogEntry +// GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesReconcilerEnabledActivityLogEntry +// GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesRepositoryAddedActivityLogEntry +// GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesRepositoryRemovedActivityLogEntry +// GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesRoleAssignedToServiceAccountActivityLogEntry +// GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesRoleRevokedFromServiceAccountActivityLogEntry +// GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesSecretCreatedActivityLogEntry +// GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesSecretDeletedActivityLogEntry +// GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesSecretValueAddedActivityLogEntry +// GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesSecretValueRemovedActivityLogEntry +// GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesSecretValueUpdatedActivityLogEntry +// GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesSecretValuesViewedActivityLogEntry +// GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceAccountCreatedActivityLogEntry +// GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceAccountDeletedActivityLogEntry +// GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceAccountTokenCreatedActivityLogEntry +// GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceAccountTokenDeletedActivityLogEntry +// GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceAccountTokenUpdatedActivityLogEntry +// GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceAccountUpdatedActivityLogEntry +// GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceMaintenanceActivityLogEntry +// GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamConfirmDeleteKeyActivityLogEntry +// GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamCreateDeleteKeyActivityLogEntry +// GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamCreatedActivityLogEntry +// GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamDeployKeyUpdatedActivityLogEntry +// GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamEnvironmentUpdatedActivityLogEntry +// GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamMemberAddedActivityLogEntry +// GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamMemberRemovedActivityLogEntry +// GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamMemberSetRoleActivityLogEntry +// GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamUpdatedActivityLogEntry +// GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesUnleashInstanceCreatedActivityLogEntry +// GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesUnleashInstanceDeletedActivityLogEntry +// GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesUnleashInstanceUpdatedActivityLogEntry +// GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesValkeyCreatedActivityLogEntry +// GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesValkeyDeletedActivityLogEntry +// GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesValkeyUpdatedActivityLogEntry +// GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesVulnerabilityUpdatedActivityLogEntry +// The GraphQL type's documentation follows. +// +// Interface for activity log entries. +type GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesActivityLogEntry interface { + implementsGraphQLInterfaceGetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesActivityLogEntry() + // GetTypename returns the receiver's concrete GraphQL type-name (see interface doc for possible values). + GetTypename() string + // GetActor returns the interface-field "actor" from its implementation. + // The GraphQL interface field's documentation follows. + // + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + GetActor() string + // GetCreatedAt returns the interface-field "createdAt" from its implementation. + // The GraphQL interface field's documentation follows. + // + // Creation time of the entry. + GetCreatedAt() time.Time + // GetMessage returns the interface-field "message" from its implementation. + // The GraphQL interface field's documentation follows. + // + // Message that summarizes the entry. + GetMessage() string + // GetEnvironmentName returns the interface-field "environmentName" from its implementation. + // The GraphQL interface field's documentation follows. + // + // The environment name that the entry belongs to. + GetEnvironmentName() string } -// GetMessage returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry.Message, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry) GetMessage() string { - return v.Message +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesApplicationDeletedActivityLogEntry) implementsGraphQLInterfaceGetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { } - -// GetEnvironmentName returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry) GetEnvironmentName() string { - return v.EnvironmentName +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesApplicationRestartedActivityLogEntry) implementsGraphQLInterfaceGetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { } - -// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesCredentialsActivityLogEntry includes the requested fields of the GraphQL type CredentialsActivityLogEntry. -type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesCredentialsActivityLogEntry struct { - Typename string `json:"__typename"` - // Interface for activity log entries. - Actor string `json:"actor"` - // Interface for activity log entries. - CreatedAt time.Time `json:"createdAt"` - // Interface for activity log entries. - Message string `json:"message"` - // Interface for activity log entries. - EnvironmentName string `json:"environmentName"` +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesApplicationScaledActivityLogEntry) implementsGraphQLInterfaceGetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { } - -// GetTypename returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesCredentialsActivityLogEntry.Typename, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesCredentialsActivityLogEntry) GetTypename() string { - return v.Typename +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry) implementsGraphQLInterfaceGetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { } - -// GetActor returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesCredentialsActivityLogEntry.Actor, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesCredentialsActivityLogEntry) GetActor() string { - return v.Actor +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesConfigCreatedActivityLogEntry) implementsGraphQLInterfaceGetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { } - -// GetCreatedAt returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesCredentialsActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesCredentialsActivityLogEntry) GetCreatedAt() time.Time { - return v.CreatedAt +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesConfigDeletedActivityLogEntry) implementsGraphQLInterfaceGetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { } - -// GetMessage returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesCredentialsActivityLogEntry.Message, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesCredentialsActivityLogEntry) GetMessage() string { - return v.Message +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesConfigUpdatedActivityLogEntry) implementsGraphQLInterfaceGetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { } - -// GetEnvironmentName returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesCredentialsActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesCredentialsActivityLogEntry) GetEnvironmentName() string { - return v.EnvironmentName +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesCredentialsActivityLogEntry) implementsGraphQLInterfaceGetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { } - -// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesDeploymentActivityLogEntry includes the requested fields of the GraphQL type DeploymentActivityLogEntry. -type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesDeploymentActivityLogEntry struct { - Typename string `json:"__typename"` - // Interface for activity log entries. - Actor string `json:"actor"` - // Interface for activity log entries. - CreatedAt time.Time `json:"createdAt"` - // Interface for activity log entries. - Message string `json:"message"` - // Interface for activity log entries. - EnvironmentName string `json:"environmentName"` +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesDeploymentActivityLogEntry) implementsGraphQLInterfaceGetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { } - -// GetTypename returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesDeploymentActivityLogEntry.Typename, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesDeploymentActivityLogEntry) GetTypename() string { - return v.Typename +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesJobDeletedActivityLogEntry) implementsGraphQLInterfaceGetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { } - -// GetActor returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesDeploymentActivityLogEntry.Actor, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesDeploymentActivityLogEntry) GetActor() string { - return v.Actor +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesJobTriggeredActivityLogEntry) implementsGraphQLInterfaceGetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { } - -// GetCreatedAt returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesDeploymentActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesDeploymentActivityLogEntry) GetCreatedAt() time.Time { - return v.CreatedAt +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesOpenSearchCreatedActivityLogEntry) implementsGraphQLInterfaceGetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { } - -// GetMessage returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesDeploymentActivityLogEntry.Message, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesDeploymentActivityLogEntry) GetMessage() string { - return v.Message +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesOpenSearchDeletedActivityLogEntry) implementsGraphQLInterfaceGetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { } - -// GetEnvironmentName returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesDeploymentActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesDeploymentActivityLogEntry) GetEnvironmentName() string { - return v.EnvironmentName +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesOpenSearchUpdatedActivityLogEntry) implementsGraphQLInterfaceGetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { } - -// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesJobDeletedActivityLogEntry includes the requested fields of the GraphQL type JobDeletedActivityLogEntry. -type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesJobDeletedActivityLogEntry struct { - Typename string `json:"__typename"` - // Interface for activity log entries. - Actor string `json:"actor"` - // Interface for activity log entries. - CreatedAt time.Time `json:"createdAt"` - // Interface for activity log entries. - Message string `json:"message"` - // Interface for activity log entries. - EnvironmentName string `json:"environmentName"` +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesPostgresGrantAccessActivityLogEntry) implementsGraphQLInterfaceGetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { } - -// GetTypename returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesJobDeletedActivityLogEntry.Typename, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesJobDeletedActivityLogEntry) GetTypename() string { - return v.Typename +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesReconcilerConfiguredActivityLogEntry) implementsGraphQLInterfaceGetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { } - -// GetActor returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesJobDeletedActivityLogEntry.Actor, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesJobDeletedActivityLogEntry) GetActor() string { - return v.Actor +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesReconcilerDisabledActivityLogEntry) implementsGraphQLInterfaceGetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { } - -// GetCreatedAt returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesJobDeletedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesJobDeletedActivityLogEntry) GetCreatedAt() time.Time { - return v.CreatedAt +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesReconcilerEnabledActivityLogEntry) implementsGraphQLInterfaceGetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { } - -// GetMessage returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesJobDeletedActivityLogEntry.Message, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesJobDeletedActivityLogEntry) GetMessage() string { - return v.Message +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesRepositoryAddedActivityLogEntry) implementsGraphQLInterfaceGetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { } - -// GetEnvironmentName returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesJobDeletedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesJobDeletedActivityLogEntry) GetEnvironmentName() string { - return v.EnvironmentName +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesRepositoryRemovedActivityLogEntry) implementsGraphQLInterfaceGetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { } - -// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesJobRunDeletedActivityLogEntry includes the requested fields of the GraphQL type JobRunDeletedActivityLogEntry. -type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesJobRunDeletedActivityLogEntry struct { - Typename string `json:"__typename"` - // Interface for activity log entries. - Actor string `json:"actor"` - // Interface for activity log entries. - CreatedAt time.Time `json:"createdAt"` - // Interface for activity log entries. - Message string `json:"message"` - // Interface for activity log entries. - EnvironmentName string `json:"environmentName"` +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesRoleAssignedToServiceAccountActivityLogEntry) implementsGraphQLInterfaceGetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { } - -// GetTypename returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesJobRunDeletedActivityLogEntry.Typename, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesJobRunDeletedActivityLogEntry) GetTypename() string { - return v.Typename +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesRoleRevokedFromServiceAccountActivityLogEntry) implementsGraphQLInterfaceGetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { } - -// GetActor returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesJobRunDeletedActivityLogEntry.Actor, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesJobRunDeletedActivityLogEntry) GetActor() string { - return v.Actor +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesSecretCreatedActivityLogEntry) implementsGraphQLInterfaceGetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { } - -// GetCreatedAt returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesJobRunDeletedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesJobRunDeletedActivityLogEntry) GetCreatedAt() time.Time { - return v.CreatedAt +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesSecretDeletedActivityLogEntry) implementsGraphQLInterfaceGetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { } - -// GetMessage returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesJobRunDeletedActivityLogEntry.Message, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesJobRunDeletedActivityLogEntry) GetMessage() string { - return v.Message +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesSecretValueAddedActivityLogEntry) implementsGraphQLInterfaceGetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { } - -// GetEnvironmentName returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesJobRunDeletedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesJobRunDeletedActivityLogEntry) GetEnvironmentName() string { - return v.EnvironmentName +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesSecretValueRemovedActivityLogEntry) implementsGraphQLInterfaceGetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { } - -// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesJobTriggeredActivityLogEntry includes the requested fields of the GraphQL type JobTriggeredActivityLogEntry. -type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesJobTriggeredActivityLogEntry struct { - Typename string `json:"__typename"` - // Interface for activity log entries. - Actor string `json:"actor"` - // Interface for activity log entries. - CreatedAt time.Time `json:"createdAt"` - // Interface for activity log entries. - Message string `json:"message"` - // Interface for activity log entries. - EnvironmentName string `json:"environmentName"` +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesSecretValueUpdatedActivityLogEntry) implementsGraphQLInterfaceGetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { } - -// GetTypename returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesJobTriggeredActivityLogEntry.Typename, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesJobTriggeredActivityLogEntry) GetTypename() string { - return v.Typename +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesSecretValuesViewedActivityLogEntry) implementsGraphQLInterfaceGetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { } - -// GetActor returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesJobTriggeredActivityLogEntry.Actor, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesJobTriggeredActivityLogEntry) GetActor() string { - return v.Actor +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceAccountCreatedActivityLogEntry) implementsGraphQLInterfaceGetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { } - -// GetCreatedAt returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesJobTriggeredActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesJobTriggeredActivityLogEntry) GetCreatedAt() time.Time { - return v.CreatedAt +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceAccountDeletedActivityLogEntry) implementsGraphQLInterfaceGetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { } - -// GetMessage returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesJobTriggeredActivityLogEntry.Message, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesJobTriggeredActivityLogEntry) GetMessage() string { - return v.Message +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceAccountTokenCreatedActivityLogEntry) implementsGraphQLInterfaceGetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { } - -// GetEnvironmentName returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesJobTriggeredActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesJobTriggeredActivityLogEntry) GetEnvironmentName() string { - return v.EnvironmentName +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceAccountTokenDeletedActivityLogEntry) implementsGraphQLInterfaceGetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { } - -// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesOpenSearchCreatedActivityLogEntry includes the requested fields of the GraphQL type OpenSearchCreatedActivityLogEntry. -type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesOpenSearchCreatedActivityLogEntry struct { - Typename string `json:"__typename"` - // Interface for activity log entries. - Actor string `json:"actor"` - // Interface for activity log entries. - CreatedAt time.Time `json:"createdAt"` - // Interface for activity log entries. - Message string `json:"message"` - // Interface for activity log entries. - EnvironmentName string `json:"environmentName"` +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceAccountTokenUpdatedActivityLogEntry) implementsGraphQLInterfaceGetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { } - -// GetTypename returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesOpenSearchCreatedActivityLogEntry.Typename, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesOpenSearchCreatedActivityLogEntry) GetTypename() string { - return v.Typename +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceAccountUpdatedActivityLogEntry) implementsGraphQLInterfaceGetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { } - -// GetActor returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesOpenSearchCreatedActivityLogEntry.Actor, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesOpenSearchCreatedActivityLogEntry) GetActor() string { - return v.Actor +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceMaintenanceActivityLogEntry) implementsGraphQLInterfaceGetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { } - -// GetCreatedAt returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesOpenSearchCreatedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesOpenSearchCreatedActivityLogEntry) GetCreatedAt() time.Time { - return v.CreatedAt +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamConfirmDeleteKeyActivityLogEntry) implementsGraphQLInterfaceGetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { } - -// GetMessage returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesOpenSearchCreatedActivityLogEntry.Message, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesOpenSearchCreatedActivityLogEntry) GetMessage() string { - return v.Message +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamCreateDeleteKeyActivityLogEntry) implementsGraphQLInterfaceGetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { } - -// GetEnvironmentName returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesOpenSearchCreatedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesOpenSearchCreatedActivityLogEntry) GetEnvironmentName() string { - return v.EnvironmentName +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamCreatedActivityLogEntry) implementsGraphQLInterfaceGetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { } - -// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesOpenSearchDeletedActivityLogEntry includes the requested fields of the GraphQL type OpenSearchDeletedActivityLogEntry. -type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesOpenSearchDeletedActivityLogEntry struct { - Typename string `json:"__typename"` - // Interface for activity log entries. - Actor string `json:"actor"` - // Interface for activity log entries. - CreatedAt time.Time `json:"createdAt"` - // Interface for activity log entries. - Message string `json:"message"` - // Interface for activity log entries. - EnvironmentName string `json:"environmentName"` +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamDeployKeyUpdatedActivityLogEntry) implementsGraphQLInterfaceGetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { } - -// GetTypename returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesOpenSearchDeletedActivityLogEntry.Typename, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesOpenSearchDeletedActivityLogEntry) GetTypename() string { - return v.Typename +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamEnvironmentUpdatedActivityLogEntry) implementsGraphQLInterfaceGetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { } - -// GetActor returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesOpenSearchDeletedActivityLogEntry.Actor, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesOpenSearchDeletedActivityLogEntry) GetActor() string { - return v.Actor +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamMemberAddedActivityLogEntry) implementsGraphQLInterfaceGetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { } - -// GetCreatedAt returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesOpenSearchDeletedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesOpenSearchDeletedActivityLogEntry) GetCreatedAt() time.Time { - return v.CreatedAt +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamMemberRemovedActivityLogEntry) implementsGraphQLInterfaceGetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { } - -// GetMessage returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesOpenSearchDeletedActivityLogEntry.Message, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesOpenSearchDeletedActivityLogEntry) GetMessage() string { - return v.Message +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamMemberSetRoleActivityLogEntry) implementsGraphQLInterfaceGetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { } - -// GetEnvironmentName returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesOpenSearchDeletedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesOpenSearchDeletedActivityLogEntry) GetEnvironmentName() string { - return v.EnvironmentName +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamUpdatedActivityLogEntry) implementsGraphQLInterfaceGetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { } - -// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesOpenSearchUpdatedActivityLogEntry includes the requested fields of the GraphQL type OpenSearchUpdatedActivityLogEntry. -type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesOpenSearchUpdatedActivityLogEntry struct { - Typename string `json:"__typename"` - // Interface for activity log entries. - Actor string `json:"actor"` - // Interface for activity log entries. - CreatedAt time.Time `json:"createdAt"` - // Interface for activity log entries. - Message string `json:"message"` - // Interface for activity log entries. - EnvironmentName string `json:"environmentName"` +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesUnleashInstanceCreatedActivityLogEntry) implementsGraphQLInterfaceGetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { } - -// GetTypename returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesOpenSearchUpdatedActivityLogEntry.Typename, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesOpenSearchUpdatedActivityLogEntry) GetTypename() string { - return v.Typename +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesUnleashInstanceDeletedActivityLogEntry) implementsGraphQLInterfaceGetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { +} +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesUnleashInstanceUpdatedActivityLogEntry) implementsGraphQLInterfaceGetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { +} +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesValkeyCreatedActivityLogEntry) implementsGraphQLInterfaceGetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { +} +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesValkeyDeletedActivityLogEntry) implementsGraphQLInterfaceGetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { +} +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesValkeyUpdatedActivityLogEntry) implementsGraphQLInterfaceGetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { +} +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesVulnerabilityUpdatedActivityLogEntry) implementsGraphQLInterfaceGetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { } -// GetActor returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesOpenSearchUpdatedActivityLogEntry.Actor, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesOpenSearchUpdatedActivityLogEntry) GetActor() string { - return v.Actor +func __unmarshalGetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesActivityLogEntry(b []byte, v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesActivityLogEntry) error { + if string(b) == "null" { + return nil + } + + var tn struct { + TypeName string `json:"__typename"` + } + err := json.Unmarshal(b, &tn) + if err != nil { + return err + } + + switch tn.TypeName { + case "ApplicationDeletedActivityLogEntry": + *v = new(GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesApplicationDeletedActivityLogEntry) + return json.Unmarshal(b, *v) + case "ApplicationRestartedActivityLogEntry": + *v = new(GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesApplicationRestartedActivityLogEntry) + return json.Unmarshal(b, *v) + case "ApplicationScaledActivityLogEntry": + *v = new(GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesApplicationScaledActivityLogEntry) + return json.Unmarshal(b, *v) + case "ClusterAuditActivityLogEntry": + *v = new(GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry) + return json.Unmarshal(b, *v) + case "ConfigCreatedActivityLogEntry": + *v = new(GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesConfigCreatedActivityLogEntry) + return json.Unmarshal(b, *v) + case "ConfigDeletedActivityLogEntry": + *v = new(GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesConfigDeletedActivityLogEntry) + return json.Unmarshal(b, *v) + case "ConfigUpdatedActivityLogEntry": + *v = new(GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesConfigUpdatedActivityLogEntry) + return json.Unmarshal(b, *v) + case "CredentialsActivityLogEntry": + *v = new(GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesCredentialsActivityLogEntry) + return json.Unmarshal(b, *v) + case "DeploymentActivityLogEntry": + *v = new(GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesDeploymentActivityLogEntry) + return json.Unmarshal(b, *v) + case "JobDeletedActivityLogEntry": + *v = new(GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesJobDeletedActivityLogEntry) + return json.Unmarshal(b, *v) + case "JobTriggeredActivityLogEntry": + *v = new(GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesJobTriggeredActivityLogEntry) + return json.Unmarshal(b, *v) + case "OpenSearchCreatedActivityLogEntry": + *v = new(GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesOpenSearchCreatedActivityLogEntry) + return json.Unmarshal(b, *v) + case "OpenSearchDeletedActivityLogEntry": + *v = new(GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesOpenSearchDeletedActivityLogEntry) + return json.Unmarshal(b, *v) + case "OpenSearchUpdatedActivityLogEntry": + *v = new(GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesOpenSearchUpdatedActivityLogEntry) + return json.Unmarshal(b, *v) + case "PostgresGrantAccessActivityLogEntry": + *v = new(GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesPostgresGrantAccessActivityLogEntry) + return json.Unmarshal(b, *v) + case "ReconcilerConfiguredActivityLogEntry": + *v = new(GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesReconcilerConfiguredActivityLogEntry) + return json.Unmarshal(b, *v) + case "ReconcilerDisabledActivityLogEntry": + *v = new(GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesReconcilerDisabledActivityLogEntry) + return json.Unmarshal(b, *v) + case "ReconcilerEnabledActivityLogEntry": + *v = new(GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesReconcilerEnabledActivityLogEntry) + return json.Unmarshal(b, *v) + case "RepositoryAddedActivityLogEntry": + *v = new(GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesRepositoryAddedActivityLogEntry) + return json.Unmarshal(b, *v) + case "RepositoryRemovedActivityLogEntry": + *v = new(GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesRepositoryRemovedActivityLogEntry) + return json.Unmarshal(b, *v) + case "RoleAssignedToServiceAccountActivityLogEntry": + *v = new(GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesRoleAssignedToServiceAccountActivityLogEntry) + return json.Unmarshal(b, *v) + case "RoleRevokedFromServiceAccountActivityLogEntry": + *v = new(GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesRoleRevokedFromServiceAccountActivityLogEntry) + return json.Unmarshal(b, *v) + case "SecretCreatedActivityLogEntry": + *v = new(GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesSecretCreatedActivityLogEntry) + return json.Unmarshal(b, *v) + case "SecretDeletedActivityLogEntry": + *v = new(GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesSecretDeletedActivityLogEntry) + return json.Unmarshal(b, *v) + case "SecretValueAddedActivityLogEntry": + *v = new(GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesSecretValueAddedActivityLogEntry) + return json.Unmarshal(b, *v) + case "SecretValueRemovedActivityLogEntry": + *v = new(GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesSecretValueRemovedActivityLogEntry) + return json.Unmarshal(b, *v) + case "SecretValueUpdatedActivityLogEntry": + *v = new(GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesSecretValueUpdatedActivityLogEntry) + return json.Unmarshal(b, *v) + case "SecretValuesViewedActivityLogEntry": + *v = new(GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesSecretValuesViewedActivityLogEntry) + return json.Unmarshal(b, *v) + case "ServiceAccountCreatedActivityLogEntry": + *v = new(GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceAccountCreatedActivityLogEntry) + return json.Unmarshal(b, *v) + case "ServiceAccountDeletedActivityLogEntry": + *v = new(GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceAccountDeletedActivityLogEntry) + return json.Unmarshal(b, *v) + case "ServiceAccountTokenCreatedActivityLogEntry": + *v = new(GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceAccountTokenCreatedActivityLogEntry) + return json.Unmarshal(b, *v) + case "ServiceAccountTokenDeletedActivityLogEntry": + *v = new(GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceAccountTokenDeletedActivityLogEntry) + return json.Unmarshal(b, *v) + case "ServiceAccountTokenUpdatedActivityLogEntry": + *v = new(GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceAccountTokenUpdatedActivityLogEntry) + return json.Unmarshal(b, *v) + case "ServiceAccountUpdatedActivityLogEntry": + *v = new(GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceAccountUpdatedActivityLogEntry) + return json.Unmarshal(b, *v) + case "ServiceMaintenanceActivityLogEntry": + *v = new(GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceMaintenanceActivityLogEntry) + return json.Unmarshal(b, *v) + case "TeamConfirmDeleteKeyActivityLogEntry": + *v = new(GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamConfirmDeleteKeyActivityLogEntry) + return json.Unmarshal(b, *v) + case "TeamCreateDeleteKeyActivityLogEntry": + *v = new(GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamCreateDeleteKeyActivityLogEntry) + return json.Unmarshal(b, *v) + case "TeamCreatedActivityLogEntry": + *v = new(GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamCreatedActivityLogEntry) + return json.Unmarshal(b, *v) + case "TeamDeployKeyUpdatedActivityLogEntry": + *v = new(GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamDeployKeyUpdatedActivityLogEntry) + return json.Unmarshal(b, *v) + case "TeamEnvironmentUpdatedActivityLogEntry": + *v = new(GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamEnvironmentUpdatedActivityLogEntry) + return json.Unmarshal(b, *v) + case "TeamMemberAddedActivityLogEntry": + *v = new(GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamMemberAddedActivityLogEntry) + return json.Unmarshal(b, *v) + case "TeamMemberRemovedActivityLogEntry": + *v = new(GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamMemberRemovedActivityLogEntry) + return json.Unmarshal(b, *v) + case "TeamMemberSetRoleActivityLogEntry": + *v = new(GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamMemberSetRoleActivityLogEntry) + return json.Unmarshal(b, *v) + case "TeamUpdatedActivityLogEntry": + *v = new(GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamUpdatedActivityLogEntry) + return json.Unmarshal(b, *v) + case "UnleashInstanceCreatedActivityLogEntry": + *v = new(GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesUnleashInstanceCreatedActivityLogEntry) + return json.Unmarshal(b, *v) + case "UnleashInstanceDeletedActivityLogEntry": + *v = new(GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesUnleashInstanceDeletedActivityLogEntry) + return json.Unmarshal(b, *v) + case "UnleashInstanceUpdatedActivityLogEntry": + *v = new(GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesUnleashInstanceUpdatedActivityLogEntry) + return json.Unmarshal(b, *v) + case "ValkeyCreatedActivityLogEntry": + *v = new(GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesValkeyCreatedActivityLogEntry) + return json.Unmarshal(b, *v) + case "ValkeyDeletedActivityLogEntry": + *v = new(GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesValkeyDeletedActivityLogEntry) + return json.Unmarshal(b, *v) + case "ValkeyUpdatedActivityLogEntry": + *v = new(GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesValkeyUpdatedActivityLogEntry) + return json.Unmarshal(b, *v) + case "VulnerabilityUpdatedActivityLogEntry": + *v = new(GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesVulnerabilityUpdatedActivityLogEntry) + return json.Unmarshal(b, *v) + case "": + return fmt.Errorf( + "response was missing ActivityLogEntry.__typename") + default: + return fmt.Errorf( + `unexpected concrete type for GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesActivityLogEntry: "%v"`, tn.TypeName) + } } -// GetCreatedAt returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesOpenSearchUpdatedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesOpenSearchUpdatedActivityLogEntry) GetCreatedAt() time.Time { - return v.CreatedAt -} +func __marshalGetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesActivityLogEntry(v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesActivityLogEntry) ([]byte, error) { -// GetMessage returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesOpenSearchUpdatedActivityLogEntry.Message, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesOpenSearchUpdatedActivityLogEntry) GetMessage() string { - return v.Message -} + var typename string + switch v := (*v).(type) { + case *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesApplicationDeletedActivityLogEntry: + typename = "ApplicationDeletedActivityLogEntry" -// GetEnvironmentName returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesOpenSearchUpdatedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesOpenSearchUpdatedActivityLogEntry) GetEnvironmentName() string { - return v.EnvironmentName -} + result := struct { + TypeName string `json:"__typename"` + *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesApplicationDeletedActivityLogEntry + }{typename, v} + return json.Marshal(result) + case *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesApplicationRestartedActivityLogEntry: + typename = "ApplicationRestartedActivityLogEntry" -// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesPostgresGrantAccessActivityLogEntry includes the requested fields of the GraphQL type PostgresGrantAccessActivityLogEntry. -type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesPostgresGrantAccessActivityLogEntry struct { - Typename string `json:"__typename"` - // Interface for activity log entries. - Actor string `json:"actor"` - // Interface for activity log entries. - CreatedAt time.Time `json:"createdAt"` - // Interface for activity log entries. - Message string `json:"message"` - // Interface for activity log entries. - EnvironmentName string `json:"environmentName"` -} + result := struct { + TypeName string `json:"__typename"` + *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesApplicationRestartedActivityLogEntry + }{typename, v} + return json.Marshal(result) + case *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesApplicationScaledActivityLogEntry: + typename = "ApplicationScaledActivityLogEntry" -// GetTypename returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesPostgresGrantAccessActivityLogEntry.Typename, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesPostgresGrantAccessActivityLogEntry) GetTypename() string { - return v.Typename -} + result := struct { + TypeName string `json:"__typename"` + *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesApplicationScaledActivityLogEntry + }{typename, v} + return json.Marshal(result) + case *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry: + typename = "ClusterAuditActivityLogEntry" -// GetActor returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesPostgresGrantAccessActivityLogEntry.Actor, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesPostgresGrantAccessActivityLogEntry) GetActor() string { - return v.Actor -} + result := struct { + TypeName string `json:"__typename"` + *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry + }{typename, v} + return json.Marshal(result) + case *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesConfigCreatedActivityLogEntry: + typename = "ConfigCreatedActivityLogEntry" -// GetCreatedAt returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesPostgresGrantAccessActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesPostgresGrantAccessActivityLogEntry) GetCreatedAt() time.Time { - return v.CreatedAt -} + result := struct { + TypeName string `json:"__typename"` + *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesConfigCreatedActivityLogEntry + }{typename, v} + return json.Marshal(result) + case *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesConfigDeletedActivityLogEntry: + typename = "ConfigDeletedActivityLogEntry" -// GetMessage returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesPostgresGrantAccessActivityLogEntry.Message, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesPostgresGrantAccessActivityLogEntry) GetMessage() string { - return v.Message -} + result := struct { + TypeName string `json:"__typename"` + *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesConfigDeletedActivityLogEntry + }{typename, v} + return json.Marshal(result) + case *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesConfigUpdatedActivityLogEntry: + typename = "ConfigUpdatedActivityLogEntry" -// GetEnvironmentName returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesPostgresGrantAccessActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesPostgresGrantAccessActivityLogEntry) GetEnvironmentName() string { - return v.EnvironmentName -} + result := struct { + TypeName string `json:"__typename"` + *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesConfigUpdatedActivityLogEntry + }{typename, v} + return json.Marshal(result) + case *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesCredentialsActivityLogEntry: + typename = "CredentialsActivityLogEntry" -// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesReconcilerConfiguredActivityLogEntry includes the requested fields of the GraphQL type ReconcilerConfiguredActivityLogEntry. -type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesReconcilerConfiguredActivityLogEntry struct { - Typename string `json:"__typename"` - // Interface for activity log entries. - Actor string `json:"actor"` - // Interface for activity log entries. - CreatedAt time.Time `json:"createdAt"` - // Interface for activity log entries. - Message string `json:"message"` - // Interface for activity log entries. - EnvironmentName string `json:"environmentName"` -} + result := struct { + TypeName string `json:"__typename"` + *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesCredentialsActivityLogEntry + }{typename, v} + return json.Marshal(result) + case *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesDeploymentActivityLogEntry: + typename = "DeploymentActivityLogEntry" -// GetTypename returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesReconcilerConfiguredActivityLogEntry.Typename, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesReconcilerConfiguredActivityLogEntry) GetTypename() string { - return v.Typename -} + result := struct { + TypeName string `json:"__typename"` + *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesDeploymentActivityLogEntry + }{typename, v} + return json.Marshal(result) + case *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesJobDeletedActivityLogEntry: + typename = "JobDeletedActivityLogEntry" -// GetActor returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesReconcilerConfiguredActivityLogEntry.Actor, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesReconcilerConfiguredActivityLogEntry) GetActor() string { - return v.Actor -} + result := struct { + TypeName string `json:"__typename"` + *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesJobDeletedActivityLogEntry + }{typename, v} + return json.Marshal(result) + case *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesJobTriggeredActivityLogEntry: + typename = "JobTriggeredActivityLogEntry" -// GetCreatedAt returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesReconcilerConfiguredActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesReconcilerConfiguredActivityLogEntry) GetCreatedAt() time.Time { - return v.CreatedAt -} + result := struct { + TypeName string `json:"__typename"` + *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesJobTriggeredActivityLogEntry + }{typename, v} + return json.Marshal(result) + case *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesOpenSearchCreatedActivityLogEntry: + typename = "OpenSearchCreatedActivityLogEntry" -// GetMessage returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesReconcilerConfiguredActivityLogEntry.Message, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesReconcilerConfiguredActivityLogEntry) GetMessage() string { - return v.Message -} + result := struct { + TypeName string `json:"__typename"` + *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesOpenSearchCreatedActivityLogEntry + }{typename, v} + return json.Marshal(result) + case *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesOpenSearchDeletedActivityLogEntry: + typename = "OpenSearchDeletedActivityLogEntry" -// GetEnvironmentName returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesReconcilerConfiguredActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesReconcilerConfiguredActivityLogEntry) GetEnvironmentName() string { - return v.EnvironmentName -} + result := struct { + TypeName string `json:"__typename"` + *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesOpenSearchDeletedActivityLogEntry + }{typename, v} + return json.Marshal(result) + case *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesOpenSearchUpdatedActivityLogEntry: + typename = "OpenSearchUpdatedActivityLogEntry" -// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesReconcilerDisabledActivityLogEntry includes the requested fields of the GraphQL type ReconcilerDisabledActivityLogEntry. -type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesReconcilerDisabledActivityLogEntry struct { - Typename string `json:"__typename"` - // Interface for activity log entries. - Actor string `json:"actor"` - // Interface for activity log entries. - CreatedAt time.Time `json:"createdAt"` - // Interface for activity log entries. - Message string `json:"message"` - // Interface for activity log entries. - EnvironmentName string `json:"environmentName"` -} + result := struct { + TypeName string `json:"__typename"` + *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesOpenSearchUpdatedActivityLogEntry + }{typename, v} + return json.Marshal(result) + case *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesPostgresGrantAccessActivityLogEntry: + typename = "PostgresGrantAccessActivityLogEntry" -// GetTypename returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesReconcilerDisabledActivityLogEntry.Typename, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesReconcilerDisabledActivityLogEntry) GetTypename() string { - return v.Typename -} + result := struct { + TypeName string `json:"__typename"` + *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesPostgresGrantAccessActivityLogEntry + }{typename, v} + return json.Marshal(result) + case *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesReconcilerConfiguredActivityLogEntry: + typename = "ReconcilerConfiguredActivityLogEntry" -// GetActor returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesReconcilerDisabledActivityLogEntry.Actor, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesReconcilerDisabledActivityLogEntry) GetActor() string { - return v.Actor -} + result := struct { + TypeName string `json:"__typename"` + *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesReconcilerConfiguredActivityLogEntry + }{typename, v} + return json.Marshal(result) + case *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesReconcilerDisabledActivityLogEntry: + typename = "ReconcilerDisabledActivityLogEntry" -// GetCreatedAt returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesReconcilerDisabledActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesReconcilerDisabledActivityLogEntry) GetCreatedAt() time.Time { - return v.CreatedAt -} + result := struct { + TypeName string `json:"__typename"` + *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesReconcilerDisabledActivityLogEntry + }{typename, v} + return json.Marshal(result) + case *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesReconcilerEnabledActivityLogEntry: + typename = "ReconcilerEnabledActivityLogEntry" -// GetMessage returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesReconcilerDisabledActivityLogEntry.Message, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesReconcilerDisabledActivityLogEntry) GetMessage() string { - return v.Message -} + result := struct { + TypeName string `json:"__typename"` + *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesReconcilerEnabledActivityLogEntry + }{typename, v} + return json.Marshal(result) + case *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesRepositoryAddedActivityLogEntry: + typename = "RepositoryAddedActivityLogEntry" -// GetEnvironmentName returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesReconcilerDisabledActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesReconcilerDisabledActivityLogEntry) GetEnvironmentName() string { - return v.EnvironmentName -} + result := struct { + TypeName string `json:"__typename"` + *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesRepositoryAddedActivityLogEntry + }{typename, v} + return json.Marshal(result) + case *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesRepositoryRemovedActivityLogEntry: + typename = "RepositoryRemovedActivityLogEntry" -// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesReconcilerEnabledActivityLogEntry includes the requested fields of the GraphQL type ReconcilerEnabledActivityLogEntry. -type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesReconcilerEnabledActivityLogEntry struct { - Typename string `json:"__typename"` - // Interface for activity log entries. - Actor string `json:"actor"` - // Interface for activity log entries. - CreatedAt time.Time `json:"createdAt"` - // Interface for activity log entries. - Message string `json:"message"` - // Interface for activity log entries. - EnvironmentName string `json:"environmentName"` -} + result := struct { + TypeName string `json:"__typename"` + *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesRepositoryRemovedActivityLogEntry + }{typename, v} + return json.Marshal(result) + case *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesRoleAssignedToServiceAccountActivityLogEntry: + typename = "RoleAssignedToServiceAccountActivityLogEntry" -// GetTypename returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesReconcilerEnabledActivityLogEntry.Typename, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesReconcilerEnabledActivityLogEntry) GetTypename() string { - return v.Typename -} + result := struct { + TypeName string `json:"__typename"` + *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesRoleAssignedToServiceAccountActivityLogEntry + }{typename, v} + return json.Marshal(result) + case *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesRoleRevokedFromServiceAccountActivityLogEntry: + typename = "RoleRevokedFromServiceAccountActivityLogEntry" -// GetActor returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesReconcilerEnabledActivityLogEntry.Actor, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesReconcilerEnabledActivityLogEntry) GetActor() string { - return v.Actor -} + result := struct { + TypeName string `json:"__typename"` + *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesRoleRevokedFromServiceAccountActivityLogEntry + }{typename, v} + return json.Marshal(result) + case *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesSecretCreatedActivityLogEntry: + typename = "SecretCreatedActivityLogEntry" -// GetCreatedAt returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesReconcilerEnabledActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesReconcilerEnabledActivityLogEntry) GetCreatedAt() time.Time { - return v.CreatedAt -} + result := struct { + TypeName string `json:"__typename"` + *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesSecretCreatedActivityLogEntry + }{typename, v} + return json.Marshal(result) + case *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesSecretDeletedActivityLogEntry: + typename = "SecretDeletedActivityLogEntry" -// GetMessage returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesReconcilerEnabledActivityLogEntry.Message, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesReconcilerEnabledActivityLogEntry) GetMessage() string { - return v.Message -} + result := struct { + TypeName string `json:"__typename"` + *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesSecretDeletedActivityLogEntry + }{typename, v} + return json.Marshal(result) + case *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesSecretValueAddedActivityLogEntry: + typename = "SecretValueAddedActivityLogEntry" -// GetEnvironmentName returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesReconcilerEnabledActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesReconcilerEnabledActivityLogEntry) GetEnvironmentName() string { - return v.EnvironmentName -} + result := struct { + TypeName string `json:"__typename"` + *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesSecretValueAddedActivityLogEntry + }{typename, v} + return json.Marshal(result) + case *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesSecretValueRemovedActivityLogEntry: + typename = "SecretValueRemovedActivityLogEntry" -// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRepositoryAddedActivityLogEntry includes the requested fields of the GraphQL type RepositoryAddedActivityLogEntry. -type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRepositoryAddedActivityLogEntry struct { - Typename string `json:"__typename"` - // Interface for activity log entries. - Actor string `json:"actor"` - // Interface for activity log entries. - CreatedAt time.Time `json:"createdAt"` - // Interface for activity log entries. - Message string `json:"message"` - // Interface for activity log entries. - EnvironmentName string `json:"environmentName"` -} + result := struct { + TypeName string `json:"__typename"` + *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesSecretValueRemovedActivityLogEntry + }{typename, v} + return json.Marshal(result) + case *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesSecretValueUpdatedActivityLogEntry: + typename = "SecretValueUpdatedActivityLogEntry" -// GetTypename returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRepositoryAddedActivityLogEntry.Typename, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRepositoryAddedActivityLogEntry) GetTypename() string { - return v.Typename -} + result := struct { + TypeName string `json:"__typename"` + *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesSecretValueUpdatedActivityLogEntry + }{typename, v} + return json.Marshal(result) + case *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesSecretValuesViewedActivityLogEntry: + typename = "SecretValuesViewedActivityLogEntry" -// GetActor returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRepositoryAddedActivityLogEntry.Actor, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRepositoryAddedActivityLogEntry) GetActor() string { - return v.Actor -} + result := struct { + TypeName string `json:"__typename"` + *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesSecretValuesViewedActivityLogEntry + }{typename, v} + return json.Marshal(result) + case *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceAccountCreatedActivityLogEntry: + typename = "ServiceAccountCreatedActivityLogEntry" -// GetCreatedAt returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRepositoryAddedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRepositoryAddedActivityLogEntry) GetCreatedAt() time.Time { - return v.CreatedAt -} + result := struct { + TypeName string `json:"__typename"` + *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceAccountCreatedActivityLogEntry + }{typename, v} + return json.Marshal(result) + case *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceAccountDeletedActivityLogEntry: + typename = "ServiceAccountDeletedActivityLogEntry" -// GetMessage returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRepositoryAddedActivityLogEntry.Message, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRepositoryAddedActivityLogEntry) GetMessage() string { - return v.Message -} + result := struct { + TypeName string `json:"__typename"` + *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceAccountDeletedActivityLogEntry + }{typename, v} + return json.Marshal(result) + case *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceAccountTokenCreatedActivityLogEntry: + typename = "ServiceAccountTokenCreatedActivityLogEntry" -// GetEnvironmentName returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRepositoryAddedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRepositoryAddedActivityLogEntry) GetEnvironmentName() string { - return v.EnvironmentName -} + result := struct { + TypeName string `json:"__typename"` + *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceAccountTokenCreatedActivityLogEntry + }{typename, v} + return json.Marshal(result) + case *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceAccountTokenDeletedActivityLogEntry: + typename = "ServiceAccountTokenDeletedActivityLogEntry" -// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRepositoryRemovedActivityLogEntry includes the requested fields of the GraphQL type RepositoryRemovedActivityLogEntry. -type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRepositoryRemovedActivityLogEntry struct { - Typename string `json:"__typename"` - // Interface for activity log entries. - Actor string `json:"actor"` - // Interface for activity log entries. - CreatedAt time.Time `json:"createdAt"` - // Interface for activity log entries. - Message string `json:"message"` - // Interface for activity log entries. - EnvironmentName string `json:"environmentName"` -} + result := struct { + TypeName string `json:"__typename"` + *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceAccountTokenDeletedActivityLogEntry + }{typename, v} + return json.Marshal(result) + case *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceAccountTokenUpdatedActivityLogEntry: + typename = "ServiceAccountTokenUpdatedActivityLogEntry" -// GetTypename returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRepositoryRemovedActivityLogEntry.Typename, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRepositoryRemovedActivityLogEntry) GetTypename() string { - return v.Typename -} + result := struct { + TypeName string `json:"__typename"` + *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceAccountTokenUpdatedActivityLogEntry + }{typename, v} + return json.Marshal(result) + case *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceAccountUpdatedActivityLogEntry: + typename = "ServiceAccountUpdatedActivityLogEntry" -// GetActor returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRepositoryRemovedActivityLogEntry.Actor, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRepositoryRemovedActivityLogEntry) GetActor() string { - return v.Actor -} + result := struct { + TypeName string `json:"__typename"` + *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceAccountUpdatedActivityLogEntry + }{typename, v} + return json.Marshal(result) + case *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceMaintenanceActivityLogEntry: + typename = "ServiceMaintenanceActivityLogEntry" -// GetCreatedAt returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRepositoryRemovedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRepositoryRemovedActivityLogEntry) GetCreatedAt() time.Time { - return v.CreatedAt -} + result := struct { + TypeName string `json:"__typename"` + *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceMaintenanceActivityLogEntry + }{typename, v} + return json.Marshal(result) + case *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamConfirmDeleteKeyActivityLogEntry: + typename = "TeamConfirmDeleteKeyActivityLogEntry" -// GetMessage returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRepositoryRemovedActivityLogEntry.Message, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRepositoryRemovedActivityLogEntry) GetMessage() string { - return v.Message -} + result := struct { + TypeName string `json:"__typename"` + *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamConfirmDeleteKeyActivityLogEntry + }{typename, v} + return json.Marshal(result) + case *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamCreateDeleteKeyActivityLogEntry: + typename = "TeamCreateDeleteKeyActivityLogEntry" -// GetEnvironmentName returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRepositoryRemovedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRepositoryRemovedActivityLogEntry) GetEnvironmentName() string { - return v.EnvironmentName -} + result := struct { + TypeName string `json:"__typename"` + *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamCreateDeleteKeyActivityLogEntry + }{typename, v} + return json.Marshal(result) + case *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamCreatedActivityLogEntry: + typename = "TeamCreatedActivityLogEntry" -// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRoleAssignedToServiceAccountActivityLogEntry includes the requested fields of the GraphQL type RoleAssignedToServiceAccountActivityLogEntry. -type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRoleAssignedToServiceAccountActivityLogEntry struct { - Typename string `json:"__typename"` - // Interface for activity log entries. - Actor string `json:"actor"` - // Interface for activity log entries. - CreatedAt time.Time `json:"createdAt"` - // Interface for activity log entries. - Message string `json:"message"` - // Interface for activity log entries. - EnvironmentName string `json:"environmentName"` -} + result := struct { + TypeName string `json:"__typename"` + *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamCreatedActivityLogEntry + }{typename, v} + return json.Marshal(result) + case *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamDeployKeyUpdatedActivityLogEntry: + typename = "TeamDeployKeyUpdatedActivityLogEntry" -// GetTypename returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRoleAssignedToServiceAccountActivityLogEntry.Typename, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRoleAssignedToServiceAccountActivityLogEntry) GetTypename() string { - return v.Typename -} + result := struct { + TypeName string `json:"__typename"` + *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamDeployKeyUpdatedActivityLogEntry + }{typename, v} + return json.Marshal(result) + case *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamEnvironmentUpdatedActivityLogEntry: + typename = "TeamEnvironmentUpdatedActivityLogEntry" -// GetActor returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRoleAssignedToServiceAccountActivityLogEntry.Actor, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRoleAssignedToServiceAccountActivityLogEntry) GetActor() string { - return v.Actor -} + result := struct { + TypeName string `json:"__typename"` + *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamEnvironmentUpdatedActivityLogEntry + }{typename, v} + return json.Marshal(result) + case *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamMemberAddedActivityLogEntry: + typename = "TeamMemberAddedActivityLogEntry" -// GetCreatedAt returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRoleAssignedToServiceAccountActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRoleAssignedToServiceAccountActivityLogEntry) GetCreatedAt() time.Time { - return v.CreatedAt -} + result := struct { + TypeName string `json:"__typename"` + *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamMemberAddedActivityLogEntry + }{typename, v} + return json.Marshal(result) + case *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamMemberRemovedActivityLogEntry: + typename = "TeamMemberRemovedActivityLogEntry" -// GetMessage returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRoleAssignedToServiceAccountActivityLogEntry.Message, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRoleAssignedToServiceAccountActivityLogEntry) GetMessage() string { - return v.Message -} + result := struct { + TypeName string `json:"__typename"` + *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamMemberRemovedActivityLogEntry + }{typename, v} + return json.Marshal(result) + case *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamMemberSetRoleActivityLogEntry: + typename = "TeamMemberSetRoleActivityLogEntry" -// GetEnvironmentName returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRoleAssignedToServiceAccountActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRoleAssignedToServiceAccountActivityLogEntry) GetEnvironmentName() string { - return v.EnvironmentName -} + result := struct { + TypeName string `json:"__typename"` + *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamMemberSetRoleActivityLogEntry + }{typename, v} + return json.Marshal(result) + case *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamUpdatedActivityLogEntry: + typename = "TeamUpdatedActivityLogEntry" -// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRoleRevokedFromServiceAccountActivityLogEntry includes the requested fields of the GraphQL type RoleRevokedFromServiceAccountActivityLogEntry. -type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRoleRevokedFromServiceAccountActivityLogEntry struct { - Typename string `json:"__typename"` - // Interface for activity log entries. - Actor string `json:"actor"` - // Interface for activity log entries. - CreatedAt time.Time `json:"createdAt"` - // Interface for activity log entries. - Message string `json:"message"` - // Interface for activity log entries. - EnvironmentName string `json:"environmentName"` -} + result := struct { + TypeName string `json:"__typename"` + *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamUpdatedActivityLogEntry + }{typename, v} + return json.Marshal(result) + case *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesUnleashInstanceCreatedActivityLogEntry: + typename = "UnleashInstanceCreatedActivityLogEntry" + + result := struct { + TypeName string `json:"__typename"` + *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesUnleashInstanceCreatedActivityLogEntry + }{typename, v} + return json.Marshal(result) + case *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesUnleashInstanceDeletedActivityLogEntry: + typename = "UnleashInstanceDeletedActivityLogEntry" -// GetTypename returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRoleRevokedFromServiceAccountActivityLogEntry.Typename, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRoleRevokedFromServiceAccountActivityLogEntry) GetTypename() string { - return v.Typename -} + result := struct { + TypeName string `json:"__typename"` + *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesUnleashInstanceDeletedActivityLogEntry + }{typename, v} + return json.Marshal(result) + case *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesUnleashInstanceUpdatedActivityLogEntry: + typename = "UnleashInstanceUpdatedActivityLogEntry" -// GetActor returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRoleRevokedFromServiceAccountActivityLogEntry.Actor, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRoleRevokedFromServiceAccountActivityLogEntry) GetActor() string { - return v.Actor -} + result := struct { + TypeName string `json:"__typename"` + *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesUnleashInstanceUpdatedActivityLogEntry + }{typename, v} + return json.Marshal(result) + case *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesValkeyCreatedActivityLogEntry: + typename = "ValkeyCreatedActivityLogEntry" -// GetCreatedAt returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRoleRevokedFromServiceAccountActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRoleRevokedFromServiceAccountActivityLogEntry) GetCreatedAt() time.Time { - return v.CreatedAt -} + result := struct { + TypeName string `json:"__typename"` + *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesValkeyCreatedActivityLogEntry + }{typename, v} + return json.Marshal(result) + case *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesValkeyDeletedActivityLogEntry: + typename = "ValkeyDeletedActivityLogEntry" -// GetMessage returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRoleRevokedFromServiceAccountActivityLogEntry.Message, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRoleRevokedFromServiceAccountActivityLogEntry) GetMessage() string { - return v.Message -} + result := struct { + TypeName string `json:"__typename"` + *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesValkeyDeletedActivityLogEntry + }{typename, v} + return json.Marshal(result) + case *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesValkeyUpdatedActivityLogEntry: + typename = "ValkeyUpdatedActivityLogEntry" -// GetEnvironmentName returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRoleRevokedFromServiceAccountActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRoleRevokedFromServiceAccountActivityLogEntry) GetEnvironmentName() string { - return v.EnvironmentName + result := struct { + TypeName string `json:"__typename"` + *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesValkeyUpdatedActivityLogEntry + }{typename, v} + return json.Marshal(result) + case *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesVulnerabilityUpdatedActivityLogEntry: + typename = "VulnerabilityUpdatedActivityLogEntry" + + result := struct { + TypeName string `json:"__typename"` + *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesVulnerabilityUpdatedActivityLogEntry + }{typename, v} + return json.Marshal(result) + case nil: + return []byte("null"), nil + default: + return nil, fmt.Errorf( + `unexpected concrete type for GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesActivityLogEntry: "%T"`, v) + } } -// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretCreatedActivityLogEntry includes the requested fields of the GraphQL type SecretCreatedActivityLogEntry. -type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretCreatedActivityLogEntry struct { +// GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesApplicationDeletedActivityLogEntry includes the requested fields of the GraphQL type ApplicationDeletedActivityLogEntry. +type GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesApplicationDeletedActivityLogEntry struct { Typename string `json:"__typename"` - // Interface for activity log entries. + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. Actor string `json:"actor"` - // Interface for activity log entries. + // Creation time of the entry. CreatedAt time.Time `json:"createdAt"` - // Interface for activity log entries. + // Message that summarizes the entry. Message string `json:"message"` - // Interface for activity log entries. + // The environment name that the entry belongs to. EnvironmentName string `json:"environmentName"` } -// GetTypename returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretCreatedActivityLogEntry.Typename, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretCreatedActivityLogEntry) GetTypename() string { +// GetTypename returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesApplicationDeletedActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesApplicationDeletedActivityLogEntry) GetTypename() string { return v.Typename } -// GetActor returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretCreatedActivityLogEntry.Actor, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretCreatedActivityLogEntry) GetActor() string { +// GetActor returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesApplicationDeletedActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesApplicationDeletedActivityLogEntry) GetActor() string { return v.Actor } -// GetCreatedAt returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretCreatedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretCreatedActivityLogEntry) GetCreatedAt() time.Time { +// GetCreatedAt returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesApplicationDeletedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesApplicationDeletedActivityLogEntry) GetCreatedAt() time.Time { return v.CreatedAt } -// GetMessage returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretCreatedActivityLogEntry.Message, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretCreatedActivityLogEntry) GetMessage() string { +// GetMessage returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesApplicationDeletedActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesApplicationDeletedActivityLogEntry) GetMessage() string { return v.Message } -// GetEnvironmentName returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretCreatedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretCreatedActivityLogEntry) GetEnvironmentName() string { +// GetEnvironmentName returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesApplicationDeletedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesApplicationDeletedActivityLogEntry) GetEnvironmentName() string { return v.EnvironmentName } -// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretDeletedActivityLogEntry includes the requested fields of the GraphQL type SecretDeletedActivityLogEntry. -type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretDeletedActivityLogEntry struct { +// GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesApplicationRestartedActivityLogEntry includes the requested fields of the GraphQL type ApplicationRestartedActivityLogEntry. +type GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesApplicationRestartedActivityLogEntry struct { Typename string `json:"__typename"` - // Interface for activity log entries. + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. Actor string `json:"actor"` - // Interface for activity log entries. + // Creation time of the entry. CreatedAt time.Time `json:"createdAt"` - // Interface for activity log entries. + // Message that summarizes the entry. Message string `json:"message"` - // Interface for activity log entries. + // The environment name that the entry belongs to. EnvironmentName string `json:"environmentName"` } -// GetTypename returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretDeletedActivityLogEntry.Typename, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretDeletedActivityLogEntry) GetTypename() string { +// GetTypename returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesApplicationRestartedActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesApplicationRestartedActivityLogEntry) GetTypename() string { return v.Typename } -// GetActor returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretDeletedActivityLogEntry.Actor, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretDeletedActivityLogEntry) GetActor() string { +// GetActor returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesApplicationRestartedActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesApplicationRestartedActivityLogEntry) GetActor() string { return v.Actor } -// GetCreatedAt returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretDeletedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretDeletedActivityLogEntry) GetCreatedAt() time.Time { +// GetCreatedAt returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesApplicationRestartedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesApplicationRestartedActivityLogEntry) GetCreatedAt() time.Time { return v.CreatedAt } -// GetMessage returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretDeletedActivityLogEntry.Message, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretDeletedActivityLogEntry) GetMessage() string { +// GetMessage returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesApplicationRestartedActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesApplicationRestartedActivityLogEntry) GetMessage() string { return v.Message } -// GetEnvironmentName returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretDeletedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretDeletedActivityLogEntry) GetEnvironmentName() string { +// GetEnvironmentName returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesApplicationRestartedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesApplicationRestartedActivityLogEntry) GetEnvironmentName() string { return v.EnvironmentName } -// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValueAddedActivityLogEntry includes the requested fields of the GraphQL type SecretValueAddedActivityLogEntry. -type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValueAddedActivityLogEntry struct { +// GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesApplicationScaledActivityLogEntry includes the requested fields of the GraphQL type ApplicationScaledActivityLogEntry. +type GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesApplicationScaledActivityLogEntry struct { Typename string `json:"__typename"` - // Interface for activity log entries. + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. Actor string `json:"actor"` - // Interface for activity log entries. + // Creation time of the entry. CreatedAt time.Time `json:"createdAt"` - // Interface for activity log entries. + // Message that summarizes the entry. Message string `json:"message"` - // Interface for activity log entries. + // The environment name that the entry belongs to. EnvironmentName string `json:"environmentName"` } -// GetTypename returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValueAddedActivityLogEntry.Typename, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValueAddedActivityLogEntry) GetTypename() string { +// GetTypename returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesApplicationScaledActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesApplicationScaledActivityLogEntry) GetTypename() string { return v.Typename } -// GetActor returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValueAddedActivityLogEntry.Actor, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValueAddedActivityLogEntry) GetActor() string { +// GetActor returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesApplicationScaledActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesApplicationScaledActivityLogEntry) GetActor() string { return v.Actor } -// GetCreatedAt returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValueAddedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValueAddedActivityLogEntry) GetCreatedAt() time.Time { +// GetCreatedAt returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesApplicationScaledActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesApplicationScaledActivityLogEntry) GetCreatedAt() time.Time { return v.CreatedAt } -// GetMessage returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValueAddedActivityLogEntry.Message, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValueAddedActivityLogEntry) GetMessage() string { +// GetMessage returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesApplicationScaledActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesApplicationScaledActivityLogEntry) GetMessage() string { return v.Message } -// GetEnvironmentName returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValueAddedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValueAddedActivityLogEntry) GetEnvironmentName() string { +// GetEnvironmentName returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesApplicationScaledActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesApplicationScaledActivityLogEntry) GetEnvironmentName() string { return v.EnvironmentName } -// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValueRemovedActivityLogEntry includes the requested fields of the GraphQL type SecretValueRemovedActivityLogEntry. -type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValueRemovedActivityLogEntry struct { +// GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry includes the requested fields of the GraphQL type ClusterAuditActivityLogEntry. +type GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry struct { Typename string `json:"__typename"` - // Interface for activity log entries. + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. Actor string `json:"actor"` - // Interface for activity log entries. + // Creation time of the entry. CreatedAt time.Time `json:"createdAt"` - // Interface for activity log entries. + // Message that summarizes the entry. Message string `json:"message"` - // Interface for activity log entries. + // The environment name that the entry belongs to. EnvironmentName string `json:"environmentName"` } -// GetTypename returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValueRemovedActivityLogEntry.Typename, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValueRemovedActivityLogEntry) GetTypename() string { +// GetTypename returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry) GetTypename() string { return v.Typename } -// GetActor returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValueRemovedActivityLogEntry.Actor, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValueRemovedActivityLogEntry) GetActor() string { +// GetActor returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry) GetActor() string { return v.Actor } -// GetCreatedAt returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValueRemovedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValueRemovedActivityLogEntry) GetCreatedAt() time.Time { +// GetCreatedAt returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry) GetCreatedAt() time.Time { return v.CreatedAt } -// GetMessage returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValueRemovedActivityLogEntry.Message, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValueRemovedActivityLogEntry) GetMessage() string { +// GetMessage returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry) GetMessage() string { return v.Message } -// GetEnvironmentName returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValueRemovedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValueRemovedActivityLogEntry) GetEnvironmentName() string { +// GetEnvironmentName returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry) GetEnvironmentName() string { return v.EnvironmentName } -// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValueUpdatedActivityLogEntry includes the requested fields of the GraphQL type SecretValueUpdatedActivityLogEntry. -type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValueUpdatedActivityLogEntry struct { +// GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesConfigCreatedActivityLogEntry includes the requested fields of the GraphQL type ConfigCreatedActivityLogEntry. +type GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesConfigCreatedActivityLogEntry struct { Typename string `json:"__typename"` - // Interface for activity log entries. + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. Actor string `json:"actor"` - // Interface for activity log entries. + // Creation time of the entry. CreatedAt time.Time `json:"createdAt"` - // Interface for activity log entries. + // Message that summarizes the entry. Message string `json:"message"` - // Interface for activity log entries. + // The environment name that the entry belongs to. EnvironmentName string `json:"environmentName"` } -// GetTypename returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValueUpdatedActivityLogEntry.Typename, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValueUpdatedActivityLogEntry) GetTypename() string { +// GetTypename returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesConfigCreatedActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesConfigCreatedActivityLogEntry) GetTypename() string { return v.Typename } -// GetActor returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValueUpdatedActivityLogEntry.Actor, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValueUpdatedActivityLogEntry) GetActor() string { +// GetActor returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesConfigCreatedActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesConfigCreatedActivityLogEntry) GetActor() string { return v.Actor } -// GetCreatedAt returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValueUpdatedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValueUpdatedActivityLogEntry) GetCreatedAt() time.Time { +// GetCreatedAt returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesConfigCreatedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesConfigCreatedActivityLogEntry) GetCreatedAt() time.Time { return v.CreatedAt } -// GetMessage returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValueUpdatedActivityLogEntry.Message, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValueUpdatedActivityLogEntry) GetMessage() string { +// GetMessage returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesConfigCreatedActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesConfigCreatedActivityLogEntry) GetMessage() string { return v.Message } -// GetEnvironmentName returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValueUpdatedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValueUpdatedActivityLogEntry) GetEnvironmentName() string { +// GetEnvironmentName returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesConfigCreatedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesConfigCreatedActivityLogEntry) GetEnvironmentName() string { return v.EnvironmentName } -// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValuesViewedActivityLogEntry includes the requested fields of the GraphQL type SecretValuesViewedActivityLogEntry. -// The GraphQL type's documentation follows. -// -// Activity log entry for viewing secret values. -type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValuesViewedActivityLogEntry struct { +// GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesConfigDeletedActivityLogEntry includes the requested fields of the GraphQL type ConfigDeletedActivityLogEntry. +type GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesConfigDeletedActivityLogEntry struct { Typename string `json:"__typename"` - // Interface for activity log entries. + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. Actor string `json:"actor"` - // Interface for activity log entries. + // Creation time of the entry. CreatedAt time.Time `json:"createdAt"` - // Interface for activity log entries. + // Message that summarizes the entry. Message string `json:"message"` - // Interface for activity log entries. + // The environment name that the entry belongs to. EnvironmentName string `json:"environmentName"` } -// GetTypename returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValuesViewedActivityLogEntry.Typename, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValuesViewedActivityLogEntry) GetTypename() string { +// GetTypename returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesConfigDeletedActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesConfigDeletedActivityLogEntry) GetTypename() string { return v.Typename } -// GetActor returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValuesViewedActivityLogEntry.Actor, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValuesViewedActivityLogEntry) GetActor() string { +// GetActor returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesConfigDeletedActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesConfigDeletedActivityLogEntry) GetActor() string { return v.Actor } -// GetCreatedAt returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValuesViewedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValuesViewedActivityLogEntry) GetCreatedAt() time.Time { +// GetCreatedAt returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesConfigDeletedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesConfigDeletedActivityLogEntry) GetCreatedAt() time.Time { return v.CreatedAt } -// GetMessage returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValuesViewedActivityLogEntry.Message, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValuesViewedActivityLogEntry) GetMessage() string { +// GetMessage returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesConfigDeletedActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesConfigDeletedActivityLogEntry) GetMessage() string { return v.Message } -// GetEnvironmentName returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValuesViewedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValuesViewedActivityLogEntry) GetEnvironmentName() string { +// GetEnvironmentName returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesConfigDeletedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesConfigDeletedActivityLogEntry) GetEnvironmentName() string { return v.EnvironmentName } -// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountCreatedActivityLogEntry includes the requested fields of the GraphQL type ServiceAccountCreatedActivityLogEntry. -type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountCreatedActivityLogEntry struct { +// GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesConfigUpdatedActivityLogEntry includes the requested fields of the GraphQL type ConfigUpdatedActivityLogEntry. +type GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesConfigUpdatedActivityLogEntry struct { Typename string `json:"__typename"` - // Interface for activity log entries. + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. Actor string `json:"actor"` - // Interface for activity log entries. + // Creation time of the entry. CreatedAt time.Time `json:"createdAt"` - // Interface for activity log entries. + // Message that summarizes the entry. Message string `json:"message"` - // Interface for activity log entries. + // The environment name that the entry belongs to. EnvironmentName string `json:"environmentName"` } -// GetTypename returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountCreatedActivityLogEntry.Typename, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountCreatedActivityLogEntry) GetTypename() string { +// GetTypename returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesConfigUpdatedActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesConfigUpdatedActivityLogEntry) GetTypename() string { return v.Typename } -// GetActor returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountCreatedActivityLogEntry.Actor, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountCreatedActivityLogEntry) GetActor() string { +// GetActor returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesConfigUpdatedActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesConfigUpdatedActivityLogEntry) GetActor() string { return v.Actor } -// GetCreatedAt returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountCreatedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountCreatedActivityLogEntry) GetCreatedAt() time.Time { +// GetCreatedAt returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesConfigUpdatedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesConfigUpdatedActivityLogEntry) GetCreatedAt() time.Time { return v.CreatedAt } -// GetMessage returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountCreatedActivityLogEntry.Message, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountCreatedActivityLogEntry) GetMessage() string { +// GetMessage returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesConfigUpdatedActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesConfigUpdatedActivityLogEntry) GetMessage() string { return v.Message } -// GetEnvironmentName returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountCreatedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountCreatedActivityLogEntry) GetEnvironmentName() string { +// GetEnvironmentName returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesConfigUpdatedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesConfigUpdatedActivityLogEntry) GetEnvironmentName() string { return v.EnvironmentName } -// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountDeletedActivityLogEntry includes the requested fields of the GraphQL type ServiceAccountDeletedActivityLogEntry. -type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountDeletedActivityLogEntry struct { +// GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesCredentialsActivityLogEntry includes the requested fields of the GraphQL type CredentialsActivityLogEntry. +type GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesCredentialsActivityLogEntry struct { Typename string `json:"__typename"` - // Interface for activity log entries. + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. Actor string `json:"actor"` - // Interface for activity log entries. + // Creation time of the entry. CreatedAt time.Time `json:"createdAt"` - // Interface for activity log entries. + // Message that summarizes the entry. Message string `json:"message"` - // Interface for activity log entries. + // The environment name that the entry belongs to. EnvironmentName string `json:"environmentName"` } -// GetTypename returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountDeletedActivityLogEntry.Typename, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountDeletedActivityLogEntry) GetTypename() string { +// GetTypename returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesCredentialsActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesCredentialsActivityLogEntry) GetTypename() string { return v.Typename } -// GetActor returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountDeletedActivityLogEntry.Actor, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountDeletedActivityLogEntry) GetActor() string { +// GetActor returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesCredentialsActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesCredentialsActivityLogEntry) GetActor() string { return v.Actor } -// GetCreatedAt returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountDeletedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountDeletedActivityLogEntry) GetCreatedAt() time.Time { +// GetCreatedAt returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesCredentialsActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesCredentialsActivityLogEntry) GetCreatedAt() time.Time { return v.CreatedAt } -// GetMessage returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountDeletedActivityLogEntry.Message, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountDeletedActivityLogEntry) GetMessage() string { +// GetMessage returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesCredentialsActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesCredentialsActivityLogEntry) GetMessage() string { return v.Message } -// GetEnvironmentName returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountDeletedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountDeletedActivityLogEntry) GetEnvironmentName() string { +// GetEnvironmentName returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesCredentialsActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesCredentialsActivityLogEntry) GetEnvironmentName() string { return v.EnvironmentName } -// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountTokenCreatedActivityLogEntry includes the requested fields of the GraphQL type ServiceAccountTokenCreatedActivityLogEntry. -type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountTokenCreatedActivityLogEntry struct { +// GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesDeploymentActivityLogEntry includes the requested fields of the GraphQL type DeploymentActivityLogEntry. +type GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesDeploymentActivityLogEntry struct { Typename string `json:"__typename"` - // Interface for activity log entries. + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. Actor string `json:"actor"` - // Interface for activity log entries. + // Creation time of the entry. CreatedAt time.Time `json:"createdAt"` - // Interface for activity log entries. + // Message that summarizes the entry. Message string `json:"message"` - // Interface for activity log entries. + // The environment name that the entry belongs to. EnvironmentName string `json:"environmentName"` } -// GetTypename returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountTokenCreatedActivityLogEntry.Typename, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountTokenCreatedActivityLogEntry) GetTypename() string { +// GetTypename returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesDeploymentActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesDeploymentActivityLogEntry) GetTypename() string { return v.Typename } -// GetActor returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountTokenCreatedActivityLogEntry.Actor, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountTokenCreatedActivityLogEntry) GetActor() string { +// GetActor returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesDeploymentActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesDeploymentActivityLogEntry) GetActor() string { return v.Actor } -// GetCreatedAt returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountTokenCreatedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountTokenCreatedActivityLogEntry) GetCreatedAt() time.Time { +// GetCreatedAt returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesDeploymentActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesDeploymentActivityLogEntry) GetCreatedAt() time.Time { return v.CreatedAt } -// GetMessage returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountTokenCreatedActivityLogEntry.Message, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountTokenCreatedActivityLogEntry) GetMessage() string { +// GetMessage returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesDeploymentActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesDeploymentActivityLogEntry) GetMessage() string { return v.Message } -// GetEnvironmentName returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountTokenCreatedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountTokenCreatedActivityLogEntry) GetEnvironmentName() string { +// GetEnvironmentName returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesDeploymentActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesDeploymentActivityLogEntry) GetEnvironmentName() string { return v.EnvironmentName } -// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountTokenDeletedActivityLogEntry includes the requested fields of the GraphQL type ServiceAccountTokenDeletedActivityLogEntry. -type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountTokenDeletedActivityLogEntry struct { +// GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesJobDeletedActivityLogEntry includes the requested fields of the GraphQL type JobDeletedActivityLogEntry. +type GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesJobDeletedActivityLogEntry struct { Typename string `json:"__typename"` - // Interface for activity log entries. + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. Actor string `json:"actor"` - // Interface for activity log entries. + // Creation time of the entry. CreatedAt time.Time `json:"createdAt"` - // Interface for activity log entries. + // Message that summarizes the entry. Message string `json:"message"` - // Interface for activity log entries. + // The environment name that the entry belongs to. EnvironmentName string `json:"environmentName"` } -// GetTypename returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountTokenDeletedActivityLogEntry.Typename, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountTokenDeletedActivityLogEntry) GetTypename() string { +// GetTypename returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesJobDeletedActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesJobDeletedActivityLogEntry) GetTypename() string { return v.Typename } -// GetActor returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountTokenDeletedActivityLogEntry.Actor, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountTokenDeletedActivityLogEntry) GetActor() string { +// GetActor returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesJobDeletedActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesJobDeletedActivityLogEntry) GetActor() string { return v.Actor } -// GetCreatedAt returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountTokenDeletedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountTokenDeletedActivityLogEntry) GetCreatedAt() time.Time { +// GetCreatedAt returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesJobDeletedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesJobDeletedActivityLogEntry) GetCreatedAt() time.Time { return v.CreatedAt } -// GetMessage returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountTokenDeletedActivityLogEntry.Message, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountTokenDeletedActivityLogEntry) GetMessage() string { +// GetMessage returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesJobDeletedActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesJobDeletedActivityLogEntry) GetMessage() string { return v.Message } -// GetEnvironmentName returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountTokenDeletedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountTokenDeletedActivityLogEntry) GetEnvironmentName() string { +// GetEnvironmentName returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesJobDeletedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesJobDeletedActivityLogEntry) GetEnvironmentName() string { return v.EnvironmentName } -// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountTokenUpdatedActivityLogEntry includes the requested fields of the GraphQL type ServiceAccountTokenUpdatedActivityLogEntry. -type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountTokenUpdatedActivityLogEntry struct { +// GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesJobTriggeredActivityLogEntry includes the requested fields of the GraphQL type JobTriggeredActivityLogEntry. +type GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesJobTriggeredActivityLogEntry struct { Typename string `json:"__typename"` - // Interface for activity log entries. + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. Actor string `json:"actor"` - // Interface for activity log entries. + // Creation time of the entry. CreatedAt time.Time `json:"createdAt"` - // Interface for activity log entries. + // Message that summarizes the entry. Message string `json:"message"` - // Interface for activity log entries. + // The environment name that the entry belongs to. EnvironmentName string `json:"environmentName"` } -// GetTypename returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountTokenUpdatedActivityLogEntry.Typename, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountTokenUpdatedActivityLogEntry) GetTypename() string { +// GetTypename returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesJobTriggeredActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesJobTriggeredActivityLogEntry) GetTypename() string { return v.Typename } -// GetActor returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountTokenUpdatedActivityLogEntry.Actor, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountTokenUpdatedActivityLogEntry) GetActor() string { +// GetActor returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesJobTriggeredActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesJobTriggeredActivityLogEntry) GetActor() string { return v.Actor } -// GetCreatedAt returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountTokenUpdatedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountTokenUpdatedActivityLogEntry) GetCreatedAt() time.Time { +// GetCreatedAt returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesJobTriggeredActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesJobTriggeredActivityLogEntry) GetCreatedAt() time.Time { return v.CreatedAt } -// GetMessage returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountTokenUpdatedActivityLogEntry.Message, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountTokenUpdatedActivityLogEntry) GetMessage() string { +// GetMessage returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesJobTriggeredActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesJobTriggeredActivityLogEntry) GetMessage() string { return v.Message } -// GetEnvironmentName returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountTokenUpdatedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountTokenUpdatedActivityLogEntry) GetEnvironmentName() string { +// GetEnvironmentName returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesJobTriggeredActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesJobTriggeredActivityLogEntry) GetEnvironmentName() string { return v.EnvironmentName } -// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountUpdatedActivityLogEntry includes the requested fields of the GraphQL type ServiceAccountUpdatedActivityLogEntry. -type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountUpdatedActivityLogEntry struct { +// GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesOpenSearchCreatedActivityLogEntry includes the requested fields of the GraphQL type OpenSearchCreatedActivityLogEntry. +type GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesOpenSearchCreatedActivityLogEntry struct { Typename string `json:"__typename"` - // Interface for activity log entries. + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. Actor string `json:"actor"` - // Interface for activity log entries. + // Creation time of the entry. CreatedAt time.Time `json:"createdAt"` - // Interface for activity log entries. + // Message that summarizes the entry. Message string `json:"message"` - // Interface for activity log entries. + // The environment name that the entry belongs to. EnvironmentName string `json:"environmentName"` } -// GetTypename returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountUpdatedActivityLogEntry.Typename, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountUpdatedActivityLogEntry) GetTypename() string { +// GetTypename returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesOpenSearchCreatedActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesOpenSearchCreatedActivityLogEntry) GetTypename() string { return v.Typename } -// GetActor returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountUpdatedActivityLogEntry.Actor, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountUpdatedActivityLogEntry) GetActor() string { +// GetActor returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesOpenSearchCreatedActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesOpenSearchCreatedActivityLogEntry) GetActor() string { return v.Actor } -// GetCreatedAt returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountUpdatedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountUpdatedActivityLogEntry) GetCreatedAt() time.Time { +// GetCreatedAt returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesOpenSearchCreatedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesOpenSearchCreatedActivityLogEntry) GetCreatedAt() time.Time { return v.CreatedAt } -// GetMessage returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountUpdatedActivityLogEntry.Message, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountUpdatedActivityLogEntry) GetMessage() string { +// GetMessage returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesOpenSearchCreatedActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesOpenSearchCreatedActivityLogEntry) GetMessage() string { return v.Message } -// GetEnvironmentName returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountUpdatedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountUpdatedActivityLogEntry) GetEnvironmentName() string { +// GetEnvironmentName returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesOpenSearchCreatedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesOpenSearchCreatedActivityLogEntry) GetEnvironmentName() string { return v.EnvironmentName } -// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceMaintenanceActivityLogEntry includes the requested fields of the GraphQL type ServiceMaintenanceActivityLogEntry. -type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceMaintenanceActivityLogEntry struct { +// GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesOpenSearchDeletedActivityLogEntry includes the requested fields of the GraphQL type OpenSearchDeletedActivityLogEntry. +type GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesOpenSearchDeletedActivityLogEntry struct { Typename string `json:"__typename"` - // Interface for activity log entries. + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. Actor string `json:"actor"` - // Interface for activity log entries. + // Creation time of the entry. CreatedAt time.Time `json:"createdAt"` - // Interface for activity log entries. + // Message that summarizes the entry. Message string `json:"message"` - // Interface for activity log entries. + // The environment name that the entry belongs to. EnvironmentName string `json:"environmentName"` } -// GetTypename returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceMaintenanceActivityLogEntry.Typename, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceMaintenanceActivityLogEntry) GetTypename() string { +// GetTypename returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesOpenSearchDeletedActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesOpenSearchDeletedActivityLogEntry) GetTypename() string { return v.Typename } -// GetActor returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceMaintenanceActivityLogEntry.Actor, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceMaintenanceActivityLogEntry) GetActor() string { +// GetActor returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesOpenSearchDeletedActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesOpenSearchDeletedActivityLogEntry) GetActor() string { return v.Actor } -// GetCreatedAt returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceMaintenanceActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceMaintenanceActivityLogEntry) GetCreatedAt() time.Time { +// GetCreatedAt returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesOpenSearchDeletedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesOpenSearchDeletedActivityLogEntry) GetCreatedAt() time.Time { return v.CreatedAt } -// GetMessage returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceMaintenanceActivityLogEntry.Message, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceMaintenanceActivityLogEntry) GetMessage() string { +// GetMessage returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesOpenSearchDeletedActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesOpenSearchDeletedActivityLogEntry) GetMessage() string { return v.Message } -// GetEnvironmentName returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceMaintenanceActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceMaintenanceActivityLogEntry) GetEnvironmentName() string { +// GetEnvironmentName returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesOpenSearchDeletedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesOpenSearchDeletedActivityLogEntry) GetEnvironmentName() string { return v.EnvironmentName } -// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamConfirmDeleteKeyActivityLogEntry includes the requested fields of the GraphQL type TeamConfirmDeleteKeyActivityLogEntry. -type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamConfirmDeleteKeyActivityLogEntry struct { +// GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesOpenSearchUpdatedActivityLogEntry includes the requested fields of the GraphQL type OpenSearchUpdatedActivityLogEntry. +type GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesOpenSearchUpdatedActivityLogEntry struct { Typename string `json:"__typename"` - // Interface for activity log entries. + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. Actor string `json:"actor"` - // Interface for activity log entries. + // Creation time of the entry. CreatedAt time.Time `json:"createdAt"` - // Interface for activity log entries. + // Message that summarizes the entry. Message string `json:"message"` - // Interface for activity log entries. + // The environment name that the entry belongs to. EnvironmentName string `json:"environmentName"` } -// GetTypename returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamConfirmDeleteKeyActivityLogEntry.Typename, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamConfirmDeleteKeyActivityLogEntry) GetTypename() string { +// GetTypename returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesOpenSearchUpdatedActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesOpenSearchUpdatedActivityLogEntry) GetTypename() string { return v.Typename } -// GetActor returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamConfirmDeleteKeyActivityLogEntry.Actor, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamConfirmDeleteKeyActivityLogEntry) GetActor() string { +// GetActor returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesOpenSearchUpdatedActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesOpenSearchUpdatedActivityLogEntry) GetActor() string { return v.Actor } -// GetCreatedAt returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamConfirmDeleteKeyActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamConfirmDeleteKeyActivityLogEntry) GetCreatedAt() time.Time { +// GetCreatedAt returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesOpenSearchUpdatedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesOpenSearchUpdatedActivityLogEntry) GetCreatedAt() time.Time { return v.CreatedAt } -// GetMessage returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamConfirmDeleteKeyActivityLogEntry.Message, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamConfirmDeleteKeyActivityLogEntry) GetMessage() string { +// GetMessage returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesOpenSearchUpdatedActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesOpenSearchUpdatedActivityLogEntry) GetMessage() string { return v.Message } -// GetEnvironmentName returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamConfirmDeleteKeyActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamConfirmDeleteKeyActivityLogEntry) GetEnvironmentName() string { +// GetEnvironmentName returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesOpenSearchUpdatedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesOpenSearchUpdatedActivityLogEntry) GetEnvironmentName() string { return v.EnvironmentName } -// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamCreateDeleteKeyActivityLogEntry includes the requested fields of the GraphQL type TeamCreateDeleteKeyActivityLogEntry. -type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamCreateDeleteKeyActivityLogEntry struct { +// GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesPostgresGrantAccessActivityLogEntry includes the requested fields of the GraphQL type PostgresGrantAccessActivityLogEntry. +type GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesPostgresGrantAccessActivityLogEntry struct { Typename string `json:"__typename"` - // Interface for activity log entries. + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. Actor string `json:"actor"` - // Interface for activity log entries. + // Creation time of the entry. CreatedAt time.Time `json:"createdAt"` - // Interface for activity log entries. + // Message that summarizes the entry. Message string `json:"message"` - // Interface for activity log entries. + // The environment name that the entry belongs to. EnvironmentName string `json:"environmentName"` } -// GetTypename returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamCreateDeleteKeyActivityLogEntry.Typename, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamCreateDeleteKeyActivityLogEntry) GetTypename() string { +// GetTypename returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesPostgresGrantAccessActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesPostgresGrantAccessActivityLogEntry) GetTypename() string { return v.Typename } -// GetActor returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamCreateDeleteKeyActivityLogEntry.Actor, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamCreateDeleteKeyActivityLogEntry) GetActor() string { +// GetActor returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesPostgresGrantAccessActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesPostgresGrantAccessActivityLogEntry) GetActor() string { return v.Actor } -// GetCreatedAt returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamCreateDeleteKeyActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamCreateDeleteKeyActivityLogEntry) GetCreatedAt() time.Time { +// GetCreatedAt returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesPostgresGrantAccessActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesPostgresGrantAccessActivityLogEntry) GetCreatedAt() time.Time { return v.CreatedAt } -// GetMessage returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamCreateDeleteKeyActivityLogEntry.Message, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamCreateDeleteKeyActivityLogEntry) GetMessage() string { +// GetMessage returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesPostgresGrantAccessActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesPostgresGrantAccessActivityLogEntry) GetMessage() string { return v.Message } -// GetEnvironmentName returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamCreateDeleteKeyActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamCreateDeleteKeyActivityLogEntry) GetEnvironmentName() string { +// GetEnvironmentName returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesPostgresGrantAccessActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesPostgresGrantAccessActivityLogEntry) GetEnvironmentName() string { return v.EnvironmentName } -// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamCreatedActivityLogEntry includes the requested fields of the GraphQL type TeamCreatedActivityLogEntry. -type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamCreatedActivityLogEntry struct { +// GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesReconcilerConfiguredActivityLogEntry includes the requested fields of the GraphQL type ReconcilerConfiguredActivityLogEntry. +type GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesReconcilerConfiguredActivityLogEntry struct { Typename string `json:"__typename"` - // Interface for activity log entries. + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. Actor string `json:"actor"` - // Interface for activity log entries. + // Creation time of the entry. CreatedAt time.Time `json:"createdAt"` - // Interface for activity log entries. + // Message that summarizes the entry. Message string `json:"message"` - // Interface for activity log entries. + // The environment name that the entry belongs to. EnvironmentName string `json:"environmentName"` } -// GetTypename returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamCreatedActivityLogEntry.Typename, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamCreatedActivityLogEntry) GetTypename() string { +// GetTypename returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesReconcilerConfiguredActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesReconcilerConfiguredActivityLogEntry) GetTypename() string { return v.Typename } -// GetActor returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamCreatedActivityLogEntry.Actor, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamCreatedActivityLogEntry) GetActor() string { +// GetActor returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesReconcilerConfiguredActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesReconcilerConfiguredActivityLogEntry) GetActor() string { return v.Actor } -// GetCreatedAt returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamCreatedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamCreatedActivityLogEntry) GetCreatedAt() time.Time { +// GetCreatedAt returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesReconcilerConfiguredActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesReconcilerConfiguredActivityLogEntry) GetCreatedAt() time.Time { return v.CreatedAt } -// GetMessage returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamCreatedActivityLogEntry.Message, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamCreatedActivityLogEntry) GetMessage() string { +// GetMessage returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesReconcilerConfiguredActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesReconcilerConfiguredActivityLogEntry) GetMessage() string { return v.Message } -// GetEnvironmentName returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamCreatedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamCreatedActivityLogEntry) GetEnvironmentName() string { +// GetEnvironmentName returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesReconcilerConfiguredActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesReconcilerConfiguredActivityLogEntry) GetEnvironmentName() string { return v.EnvironmentName } - -// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamDeployKeyUpdatedActivityLogEntry includes the requested fields of the GraphQL type TeamDeployKeyUpdatedActivityLogEntry. -type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamDeployKeyUpdatedActivityLogEntry struct { + +// GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesReconcilerDisabledActivityLogEntry includes the requested fields of the GraphQL type ReconcilerDisabledActivityLogEntry. +type GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesReconcilerDisabledActivityLogEntry struct { Typename string `json:"__typename"` - // Interface for activity log entries. + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. Actor string `json:"actor"` - // Interface for activity log entries. + // Creation time of the entry. CreatedAt time.Time `json:"createdAt"` - // Interface for activity log entries. + // Message that summarizes the entry. Message string `json:"message"` - // Interface for activity log entries. + // The environment name that the entry belongs to. EnvironmentName string `json:"environmentName"` } -// GetTypename returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamDeployKeyUpdatedActivityLogEntry.Typename, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamDeployKeyUpdatedActivityLogEntry) GetTypename() string { +// GetTypename returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesReconcilerDisabledActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesReconcilerDisabledActivityLogEntry) GetTypename() string { return v.Typename } -// GetActor returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamDeployKeyUpdatedActivityLogEntry.Actor, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamDeployKeyUpdatedActivityLogEntry) GetActor() string { +// GetActor returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesReconcilerDisabledActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesReconcilerDisabledActivityLogEntry) GetActor() string { return v.Actor } -// GetCreatedAt returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamDeployKeyUpdatedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamDeployKeyUpdatedActivityLogEntry) GetCreatedAt() time.Time { +// GetCreatedAt returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesReconcilerDisabledActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesReconcilerDisabledActivityLogEntry) GetCreatedAt() time.Time { return v.CreatedAt } -// GetMessage returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamDeployKeyUpdatedActivityLogEntry.Message, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamDeployKeyUpdatedActivityLogEntry) GetMessage() string { +// GetMessage returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesReconcilerDisabledActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesReconcilerDisabledActivityLogEntry) GetMessage() string { return v.Message } -// GetEnvironmentName returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamDeployKeyUpdatedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamDeployKeyUpdatedActivityLogEntry) GetEnvironmentName() string { +// GetEnvironmentName returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesReconcilerDisabledActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesReconcilerDisabledActivityLogEntry) GetEnvironmentName() string { return v.EnvironmentName } -// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamEnvironmentUpdatedActivityLogEntry includes the requested fields of the GraphQL type TeamEnvironmentUpdatedActivityLogEntry. -type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamEnvironmentUpdatedActivityLogEntry struct { +// GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesReconcilerEnabledActivityLogEntry includes the requested fields of the GraphQL type ReconcilerEnabledActivityLogEntry. +type GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesReconcilerEnabledActivityLogEntry struct { Typename string `json:"__typename"` - // Interface for activity log entries. + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. Actor string `json:"actor"` - // Interface for activity log entries. + // Creation time of the entry. CreatedAt time.Time `json:"createdAt"` - // Interface for activity log entries. + // Message that summarizes the entry. Message string `json:"message"` - // Interface for activity log entries. + // The environment name that the entry belongs to. EnvironmentName string `json:"environmentName"` } -// GetTypename returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamEnvironmentUpdatedActivityLogEntry.Typename, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamEnvironmentUpdatedActivityLogEntry) GetTypename() string { +// GetTypename returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesReconcilerEnabledActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesReconcilerEnabledActivityLogEntry) GetTypename() string { return v.Typename } -// GetActor returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamEnvironmentUpdatedActivityLogEntry.Actor, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamEnvironmentUpdatedActivityLogEntry) GetActor() string { +// GetActor returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesReconcilerEnabledActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesReconcilerEnabledActivityLogEntry) GetActor() string { return v.Actor } -// GetCreatedAt returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamEnvironmentUpdatedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamEnvironmentUpdatedActivityLogEntry) GetCreatedAt() time.Time { +// GetCreatedAt returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesReconcilerEnabledActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesReconcilerEnabledActivityLogEntry) GetCreatedAt() time.Time { return v.CreatedAt } -// GetMessage returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamEnvironmentUpdatedActivityLogEntry.Message, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamEnvironmentUpdatedActivityLogEntry) GetMessage() string { +// GetMessage returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesReconcilerEnabledActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesReconcilerEnabledActivityLogEntry) GetMessage() string { return v.Message } -// GetEnvironmentName returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamEnvironmentUpdatedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamEnvironmentUpdatedActivityLogEntry) GetEnvironmentName() string { +// GetEnvironmentName returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesReconcilerEnabledActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesReconcilerEnabledActivityLogEntry) GetEnvironmentName() string { return v.EnvironmentName } -// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamMemberAddedActivityLogEntry includes the requested fields of the GraphQL type TeamMemberAddedActivityLogEntry. -type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamMemberAddedActivityLogEntry struct { +// GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesRepositoryAddedActivityLogEntry includes the requested fields of the GraphQL type RepositoryAddedActivityLogEntry. +type GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesRepositoryAddedActivityLogEntry struct { Typename string `json:"__typename"` - // Interface for activity log entries. + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. Actor string `json:"actor"` - // Interface for activity log entries. + // Creation time of the entry. CreatedAt time.Time `json:"createdAt"` - // Interface for activity log entries. + // Message that summarizes the entry. Message string `json:"message"` - // Interface for activity log entries. + // The environment name that the entry belongs to. EnvironmentName string `json:"environmentName"` } -// GetTypename returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamMemberAddedActivityLogEntry.Typename, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamMemberAddedActivityLogEntry) GetTypename() string { +// GetTypename returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesRepositoryAddedActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesRepositoryAddedActivityLogEntry) GetTypename() string { return v.Typename } -// GetActor returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamMemberAddedActivityLogEntry.Actor, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamMemberAddedActivityLogEntry) GetActor() string { +// GetActor returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesRepositoryAddedActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesRepositoryAddedActivityLogEntry) GetActor() string { return v.Actor } -// GetCreatedAt returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamMemberAddedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamMemberAddedActivityLogEntry) GetCreatedAt() time.Time { +// GetCreatedAt returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesRepositoryAddedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesRepositoryAddedActivityLogEntry) GetCreatedAt() time.Time { return v.CreatedAt } -// GetMessage returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamMemberAddedActivityLogEntry.Message, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamMemberAddedActivityLogEntry) GetMessage() string { +// GetMessage returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesRepositoryAddedActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesRepositoryAddedActivityLogEntry) GetMessage() string { return v.Message } -// GetEnvironmentName returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamMemberAddedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamMemberAddedActivityLogEntry) GetEnvironmentName() string { +// GetEnvironmentName returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesRepositoryAddedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesRepositoryAddedActivityLogEntry) GetEnvironmentName() string { return v.EnvironmentName } -// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamMemberRemovedActivityLogEntry includes the requested fields of the GraphQL type TeamMemberRemovedActivityLogEntry. -type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamMemberRemovedActivityLogEntry struct { +// GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesRepositoryRemovedActivityLogEntry includes the requested fields of the GraphQL type RepositoryRemovedActivityLogEntry. +type GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesRepositoryRemovedActivityLogEntry struct { Typename string `json:"__typename"` - // Interface for activity log entries. + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. Actor string `json:"actor"` - // Interface for activity log entries. + // Creation time of the entry. CreatedAt time.Time `json:"createdAt"` - // Interface for activity log entries. + // Message that summarizes the entry. Message string `json:"message"` - // Interface for activity log entries. + // The environment name that the entry belongs to. EnvironmentName string `json:"environmentName"` } -// GetTypename returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamMemberRemovedActivityLogEntry.Typename, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamMemberRemovedActivityLogEntry) GetTypename() string { +// GetTypename returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesRepositoryRemovedActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesRepositoryRemovedActivityLogEntry) GetTypename() string { return v.Typename } -// GetActor returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamMemberRemovedActivityLogEntry.Actor, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamMemberRemovedActivityLogEntry) GetActor() string { +// GetActor returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesRepositoryRemovedActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesRepositoryRemovedActivityLogEntry) GetActor() string { return v.Actor } -// GetCreatedAt returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamMemberRemovedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamMemberRemovedActivityLogEntry) GetCreatedAt() time.Time { +// GetCreatedAt returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesRepositoryRemovedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesRepositoryRemovedActivityLogEntry) GetCreatedAt() time.Time { return v.CreatedAt } -// GetMessage returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamMemberRemovedActivityLogEntry.Message, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamMemberRemovedActivityLogEntry) GetMessage() string { +// GetMessage returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesRepositoryRemovedActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesRepositoryRemovedActivityLogEntry) GetMessage() string { return v.Message } -// GetEnvironmentName returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamMemberRemovedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamMemberRemovedActivityLogEntry) GetEnvironmentName() string { +// GetEnvironmentName returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesRepositoryRemovedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesRepositoryRemovedActivityLogEntry) GetEnvironmentName() string { return v.EnvironmentName } -// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamMemberSetRoleActivityLogEntry includes the requested fields of the GraphQL type TeamMemberSetRoleActivityLogEntry. -type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamMemberSetRoleActivityLogEntry struct { +// GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesRoleAssignedToServiceAccountActivityLogEntry includes the requested fields of the GraphQL type RoleAssignedToServiceAccountActivityLogEntry. +type GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesRoleAssignedToServiceAccountActivityLogEntry struct { Typename string `json:"__typename"` - // Interface for activity log entries. + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. Actor string `json:"actor"` - // Interface for activity log entries. + // Creation time of the entry. CreatedAt time.Time `json:"createdAt"` - // Interface for activity log entries. + // Message that summarizes the entry. Message string `json:"message"` - // Interface for activity log entries. + // The environment name that the entry belongs to. EnvironmentName string `json:"environmentName"` } -// GetTypename returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamMemberSetRoleActivityLogEntry.Typename, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamMemberSetRoleActivityLogEntry) GetTypename() string { +// GetTypename returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesRoleAssignedToServiceAccountActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesRoleAssignedToServiceAccountActivityLogEntry) GetTypename() string { return v.Typename } -// GetActor returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamMemberSetRoleActivityLogEntry.Actor, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamMemberSetRoleActivityLogEntry) GetActor() string { +// GetActor returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesRoleAssignedToServiceAccountActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesRoleAssignedToServiceAccountActivityLogEntry) GetActor() string { return v.Actor } -// GetCreatedAt returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamMemberSetRoleActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamMemberSetRoleActivityLogEntry) GetCreatedAt() time.Time { +// GetCreatedAt returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesRoleAssignedToServiceAccountActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesRoleAssignedToServiceAccountActivityLogEntry) GetCreatedAt() time.Time { return v.CreatedAt } -// GetMessage returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamMemberSetRoleActivityLogEntry.Message, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamMemberSetRoleActivityLogEntry) GetMessage() string { +// GetMessage returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesRoleAssignedToServiceAccountActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesRoleAssignedToServiceAccountActivityLogEntry) GetMessage() string { return v.Message } -// GetEnvironmentName returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamMemberSetRoleActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamMemberSetRoleActivityLogEntry) GetEnvironmentName() string { +// GetEnvironmentName returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesRoleAssignedToServiceAccountActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesRoleAssignedToServiceAccountActivityLogEntry) GetEnvironmentName() string { return v.EnvironmentName } -// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamUpdatedActivityLogEntry includes the requested fields of the GraphQL type TeamUpdatedActivityLogEntry. -type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamUpdatedActivityLogEntry struct { +// GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesRoleRevokedFromServiceAccountActivityLogEntry includes the requested fields of the GraphQL type RoleRevokedFromServiceAccountActivityLogEntry. +type GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesRoleRevokedFromServiceAccountActivityLogEntry struct { Typename string `json:"__typename"` - // Interface for activity log entries. + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. Actor string `json:"actor"` - // Interface for activity log entries. + // Creation time of the entry. CreatedAt time.Time `json:"createdAt"` - // Interface for activity log entries. + // Message that summarizes the entry. Message string `json:"message"` - // Interface for activity log entries. + // The environment name that the entry belongs to. EnvironmentName string `json:"environmentName"` } -// GetTypename returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamUpdatedActivityLogEntry.Typename, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamUpdatedActivityLogEntry) GetTypename() string { +// GetTypename returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesRoleRevokedFromServiceAccountActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesRoleRevokedFromServiceAccountActivityLogEntry) GetTypename() string { return v.Typename } -// GetActor returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamUpdatedActivityLogEntry.Actor, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamUpdatedActivityLogEntry) GetActor() string { +// GetActor returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesRoleRevokedFromServiceAccountActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesRoleRevokedFromServiceAccountActivityLogEntry) GetActor() string { return v.Actor } -// GetCreatedAt returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamUpdatedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamUpdatedActivityLogEntry) GetCreatedAt() time.Time { +// GetCreatedAt returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesRoleRevokedFromServiceAccountActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesRoleRevokedFromServiceAccountActivityLogEntry) GetCreatedAt() time.Time { return v.CreatedAt } -// GetMessage returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamUpdatedActivityLogEntry.Message, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamUpdatedActivityLogEntry) GetMessage() string { +// GetMessage returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesRoleRevokedFromServiceAccountActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesRoleRevokedFromServiceAccountActivityLogEntry) GetMessage() string { return v.Message } -// GetEnvironmentName returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamUpdatedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamUpdatedActivityLogEntry) GetEnvironmentName() string { +// GetEnvironmentName returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesRoleRevokedFromServiceAccountActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesRoleRevokedFromServiceAccountActivityLogEntry) GetEnvironmentName() string { return v.EnvironmentName } -// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesUnleashInstanceCreatedActivityLogEntry includes the requested fields of the GraphQL type UnleashInstanceCreatedActivityLogEntry. -type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesUnleashInstanceCreatedActivityLogEntry struct { +// GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesSecretCreatedActivityLogEntry includes the requested fields of the GraphQL type SecretCreatedActivityLogEntry. +type GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesSecretCreatedActivityLogEntry struct { Typename string `json:"__typename"` - // Interface for activity log entries. + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. Actor string `json:"actor"` - // Interface for activity log entries. + // Creation time of the entry. CreatedAt time.Time `json:"createdAt"` - // Interface for activity log entries. + // Message that summarizes the entry. Message string `json:"message"` - // Interface for activity log entries. + // The environment name that the entry belongs to. EnvironmentName string `json:"environmentName"` } -// GetTypename returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesUnleashInstanceCreatedActivityLogEntry.Typename, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesUnleashInstanceCreatedActivityLogEntry) GetTypename() string { +// GetTypename returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesSecretCreatedActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesSecretCreatedActivityLogEntry) GetTypename() string { return v.Typename } -// GetActor returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesUnleashInstanceCreatedActivityLogEntry.Actor, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesUnleashInstanceCreatedActivityLogEntry) GetActor() string { +// GetActor returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesSecretCreatedActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesSecretCreatedActivityLogEntry) GetActor() string { return v.Actor } -// GetCreatedAt returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesUnleashInstanceCreatedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesUnleashInstanceCreatedActivityLogEntry) GetCreatedAt() time.Time { +// GetCreatedAt returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesSecretCreatedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesSecretCreatedActivityLogEntry) GetCreatedAt() time.Time { return v.CreatedAt } -// GetMessage returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesUnleashInstanceCreatedActivityLogEntry.Message, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesUnleashInstanceCreatedActivityLogEntry) GetMessage() string { +// GetMessage returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesSecretCreatedActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesSecretCreatedActivityLogEntry) GetMessage() string { return v.Message } -// GetEnvironmentName returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesUnleashInstanceCreatedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesUnleashInstanceCreatedActivityLogEntry) GetEnvironmentName() string { +// GetEnvironmentName returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesSecretCreatedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesSecretCreatedActivityLogEntry) GetEnvironmentName() string { return v.EnvironmentName } -// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesUnleashInstanceDeletedActivityLogEntry includes the requested fields of the GraphQL type UnleashInstanceDeletedActivityLogEntry. -type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesUnleashInstanceDeletedActivityLogEntry struct { +// GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesSecretDeletedActivityLogEntry includes the requested fields of the GraphQL type SecretDeletedActivityLogEntry. +type GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesSecretDeletedActivityLogEntry struct { Typename string `json:"__typename"` - // Interface for activity log entries. + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. Actor string `json:"actor"` - // Interface for activity log entries. + // Creation time of the entry. CreatedAt time.Time `json:"createdAt"` - // Interface for activity log entries. + // Message that summarizes the entry. Message string `json:"message"` - // Interface for activity log entries. + // The environment name that the entry belongs to. EnvironmentName string `json:"environmentName"` } -// GetTypename returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesUnleashInstanceDeletedActivityLogEntry.Typename, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesUnleashInstanceDeletedActivityLogEntry) GetTypename() string { +// GetTypename returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesSecretDeletedActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesSecretDeletedActivityLogEntry) GetTypename() string { return v.Typename } -// GetActor returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesUnleashInstanceDeletedActivityLogEntry.Actor, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesUnleashInstanceDeletedActivityLogEntry) GetActor() string { +// GetActor returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesSecretDeletedActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesSecretDeletedActivityLogEntry) GetActor() string { return v.Actor } -// GetCreatedAt returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesUnleashInstanceDeletedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesUnleashInstanceDeletedActivityLogEntry) GetCreatedAt() time.Time { +// GetCreatedAt returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesSecretDeletedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesSecretDeletedActivityLogEntry) GetCreatedAt() time.Time { return v.CreatedAt } -// GetMessage returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesUnleashInstanceDeletedActivityLogEntry.Message, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesUnleashInstanceDeletedActivityLogEntry) GetMessage() string { +// GetMessage returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesSecretDeletedActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesSecretDeletedActivityLogEntry) GetMessage() string { return v.Message } -// GetEnvironmentName returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesUnleashInstanceDeletedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesUnleashInstanceDeletedActivityLogEntry) GetEnvironmentName() string { +// GetEnvironmentName returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesSecretDeletedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesSecretDeletedActivityLogEntry) GetEnvironmentName() string { return v.EnvironmentName } -// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesUnleashInstanceUpdatedActivityLogEntry includes the requested fields of the GraphQL type UnleashInstanceUpdatedActivityLogEntry. -type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesUnleashInstanceUpdatedActivityLogEntry struct { +// GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesSecretValueAddedActivityLogEntry includes the requested fields of the GraphQL type SecretValueAddedActivityLogEntry. +type GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesSecretValueAddedActivityLogEntry struct { Typename string `json:"__typename"` - // Interface for activity log entries. + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. Actor string `json:"actor"` - // Interface for activity log entries. + // Creation time of the entry. CreatedAt time.Time `json:"createdAt"` - // Interface for activity log entries. + // Message that summarizes the entry. Message string `json:"message"` - // Interface for activity log entries. + // The environment name that the entry belongs to. EnvironmentName string `json:"environmentName"` } -// GetTypename returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesUnleashInstanceUpdatedActivityLogEntry.Typename, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesUnleashInstanceUpdatedActivityLogEntry) GetTypename() string { +// GetTypename returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesSecretValueAddedActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesSecretValueAddedActivityLogEntry) GetTypename() string { return v.Typename } -// GetActor returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesUnleashInstanceUpdatedActivityLogEntry.Actor, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesUnleashInstanceUpdatedActivityLogEntry) GetActor() string { +// GetActor returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesSecretValueAddedActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesSecretValueAddedActivityLogEntry) GetActor() string { return v.Actor } -// GetCreatedAt returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesUnleashInstanceUpdatedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesUnleashInstanceUpdatedActivityLogEntry) GetCreatedAt() time.Time { +// GetCreatedAt returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesSecretValueAddedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesSecretValueAddedActivityLogEntry) GetCreatedAt() time.Time { return v.CreatedAt } -// GetMessage returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesUnleashInstanceUpdatedActivityLogEntry.Message, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesUnleashInstanceUpdatedActivityLogEntry) GetMessage() string { +// GetMessage returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesSecretValueAddedActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesSecretValueAddedActivityLogEntry) GetMessage() string { return v.Message } -// GetEnvironmentName returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesUnleashInstanceUpdatedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesUnleashInstanceUpdatedActivityLogEntry) GetEnvironmentName() string { +// GetEnvironmentName returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesSecretValueAddedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesSecretValueAddedActivityLogEntry) GetEnvironmentName() string { return v.EnvironmentName } -// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesValkeyCreatedActivityLogEntry includes the requested fields of the GraphQL type ValkeyCreatedActivityLogEntry. -type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesValkeyCreatedActivityLogEntry struct { +// GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesSecretValueRemovedActivityLogEntry includes the requested fields of the GraphQL type SecretValueRemovedActivityLogEntry. +type GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesSecretValueRemovedActivityLogEntry struct { Typename string `json:"__typename"` - // Interface for activity log entries. + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. Actor string `json:"actor"` - // Interface for activity log entries. + // Creation time of the entry. CreatedAt time.Time `json:"createdAt"` - // Interface for activity log entries. + // Message that summarizes the entry. Message string `json:"message"` - // Interface for activity log entries. + // The environment name that the entry belongs to. EnvironmentName string `json:"environmentName"` } -// GetTypename returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesValkeyCreatedActivityLogEntry.Typename, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesValkeyCreatedActivityLogEntry) GetTypename() string { +// GetTypename returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesSecretValueRemovedActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesSecretValueRemovedActivityLogEntry) GetTypename() string { return v.Typename } -// GetActor returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesValkeyCreatedActivityLogEntry.Actor, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesValkeyCreatedActivityLogEntry) GetActor() string { +// GetActor returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesSecretValueRemovedActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesSecretValueRemovedActivityLogEntry) GetActor() string { return v.Actor } -// GetCreatedAt returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesValkeyCreatedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesValkeyCreatedActivityLogEntry) GetCreatedAt() time.Time { +// GetCreatedAt returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesSecretValueRemovedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesSecretValueRemovedActivityLogEntry) GetCreatedAt() time.Time { return v.CreatedAt } -// GetMessage returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesValkeyCreatedActivityLogEntry.Message, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesValkeyCreatedActivityLogEntry) GetMessage() string { +// GetMessage returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesSecretValueRemovedActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesSecretValueRemovedActivityLogEntry) GetMessage() string { return v.Message } -// GetEnvironmentName returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesValkeyCreatedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesValkeyCreatedActivityLogEntry) GetEnvironmentName() string { +// GetEnvironmentName returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesSecretValueRemovedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesSecretValueRemovedActivityLogEntry) GetEnvironmentName() string { return v.EnvironmentName } -// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesValkeyDeletedActivityLogEntry includes the requested fields of the GraphQL type ValkeyDeletedActivityLogEntry. -type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesValkeyDeletedActivityLogEntry struct { +// GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesSecretValueUpdatedActivityLogEntry includes the requested fields of the GraphQL type SecretValueUpdatedActivityLogEntry. +type GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesSecretValueUpdatedActivityLogEntry struct { Typename string `json:"__typename"` - // Interface for activity log entries. + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. Actor string `json:"actor"` - // Interface for activity log entries. + // Creation time of the entry. CreatedAt time.Time `json:"createdAt"` - // Interface for activity log entries. + // Message that summarizes the entry. Message string `json:"message"` - // Interface for activity log entries. + // The environment name that the entry belongs to. EnvironmentName string `json:"environmentName"` } -// GetTypename returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesValkeyDeletedActivityLogEntry.Typename, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesValkeyDeletedActivityLogEntry) GetTypename() string { +// GetTypename returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesSecretValueUpdatedActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesSecretValueUpdatedActivityLogEntry) GetTypename() string { return v.Typename } -// GetActor returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesValkeyDeletedActivityLogEntry.Actor, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesValkeyDeletedActivityLogEntry) GetActor() string { +// GetActor returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesSecretValueUpdatedActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesSecretValueUpdatedActivityLogEntry) GetActor() string { return v.Actor } -// GetCreatedAt returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesValkeyDeletedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesValkeyDeletedActivityLogEntry) GetCreatedAt() time.Time { +// GetCreatedAt returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesSecretValueUpdatedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesSecretValueUpdatedActivityLogEntry) GetCreatedAt() time.Time { return v.CreatedAt } -// GetMessage returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesValkeyDeletedActivityLogEntry.Message, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesValkeyDeletedActivityLogEntry) GetMessage() string { +// GetMessage returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesSecretValueUpdatedActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesSecretValueUpdatedActivityLogEntry) GetMessage() string { return v.Message } -// GetEnvironmentName returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesValkeyDeletedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesValkeyDeletedActivityLogEntry) GetEnvironmentName() string { +// GetEnvironmentName returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesSecretValueUpdatedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesSecretValueUpdatedActivityLogEntry) GetEnvironmentName() string { return v.EnvironmentName } -// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesValkeyUpdatedActivityLogEntry includes the requested fields of the GraphQL type ValkeyUpdatedActivityLogEntry. -type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesValkeyUpdatedActivityLogEntry struct { +// GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesSecretValuesViewedActivityLogEntry includes the requested fields of the GraphQL type SecretValuesViewedActivityLogEntry. +// The GraphQL type's documentation follows. +// +// Activity log entry for viewing secret values. +type GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesSecretValuesViewedActivityLogEntry struct { Typename string `json:"__typename"` - // Interface for activity log entries. + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. Actor string `json:"actor"` - // Interface for activity log entries. + // Creation time of the entry. CreatedAt time.Time `json:"createdAt"` - // Interface for activity log entries. + // Message that summarizes the entry. Message string `json:"message"` - // Interface for activity log entries. + // The environment name that the entry belongs to. EnvironmentName string `json:"environmentName"` } -// GetTypename returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesValkeyUpdatedActivityLogEntry.Typename, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesValkeyUpdatedActivityLogEntry) GetTypename() string { +// GetTypename returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesSecretValuesViewedActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesSecretValuesViewedActivityLogEntry) GetTypename() string { return v.Typename } -// GetActor returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesValkeyUpdatedActivityLogEntry.Actor, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesValkeyUpdatedActivityLogEntry) GetActor() string { +// GetActor returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesSecretValuesViewedActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesSecretValuesViewedActivityLogEntry) GetActor() string { return v.Actor } -// GetCreatedAt returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesValkeyUpdatedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesValkeyUpdatedActivityLogEntry) GetCreatedAt() time.Time { +// GetCreatedAt returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesSecretValuesViewedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesSecretValuesViewedActivityLogEntry) GetCreatedAt() time.Time { return v.CreatedAt } -// GetMessage returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesValkeyUpdatedActivityLogEntry.Message, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesValkeyUpdatedActivityLogEntry) GetMessage() string { +// GetMessage returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesSecretValuesViewedActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesSecretValuesViewedActivityLogEntry) GetMessage() string { return v.Message } -// GetEnvironmentName returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesValkeyUpdatedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesValkeyUpdatedActivityLogEntry) GetEnvironmentName() string { +// GetEnvironmentName returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesSecretValuesViewedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesSecretValuesViewedActivityLogEntry) GetEnvironmentName() string { return v.EnvironmentName } -// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesVulnerabilityUpdatedActivityLogEntry includes the requested fields of the GraphQL type VulnerabilityUpdatedActivityLogEntry. -type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesVulnerabilityUpdatedActivityLogEntry struct { +// GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceAccountCreatedActivityLogEntry includes the requested fields of the GraphQL type ServiceAccountCreatedActivityLogEntry. +type GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceAccountCreatedActivityLogEntry struct { Typename string `json:"__typename"` - // Interface for activity log entries. + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. Actor string `json:"actor"` - // Interface for activity log entries. + // Creation time of the entry. CreatedAt time.Time `json:"createdAt"` - // Interface for activity log entries. + // Message that summarizes the entry. Message string `json:"message"` - // Interface for activity log entries. + // The environment name that the entry belongs to. EnvironmentName string `json:"environmentName"` } -// GetTypename returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesVulnerabilityUpdatedActivityLogEntry.Typename, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesVulnerabilityUpdatedActivityLogEntry) GetTypename() string { +// GetTypename returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceAccountCreatedActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceAccountCreatedActivityLogEntry) GetTypename() string { return v.Typename } -// GetActor returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesVulnerabilityUpdatedActivityLogEntry.Actor, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesVulnerabilityUpdatedActivityLogEntry) GetActor() string { +// GetActor returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceAccountCreatedActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceAccountCreatedActivityLogEntry) GetActor() string { return v.Actor } -// GetCreatedAt returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesVulnerabilityUpdatedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesVulnerabilityUpdatedActivityLogEntry) GetCreatedAt() time.Time { +// GetCreatedAt returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceAccountCreatedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceAccountCreatedActivityLogEntry) GetCreatedAt() time.Time { return v.CreatedAt } -// GetMessage returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesVulnerabilityUpdatedActivityLogEntry.Message, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesVulnerabilityUpdatedActivityLogEntry) GetMessage() string { +// GetMessage returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceAccountCreatedActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceAccountCreatedActivityLogEntry) GetMessage() string { return v.Message } -// GetEnvironmentName returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesVulnerabilityUpdatedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesVulnerabilityUpdatedActivityLogEntry) GetEnvironmentName() string { +// GetEnvironmentName returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceAccountCreatedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceAccountCreatedActivityLogEntry) GetEnvironmentName() string { return v.EnvironmentName } -// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationTeamEnvironment includes the requested fields of the GraphQL type TeamEnvironment. -type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationTeamEnvironment struct { - // Get the environment. - Environment GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationTeamEnvironmentEnvironment `json:"environment"` +// GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceAccountDeletedActivityLogEntry includes the requested fields of the GraphQL type ServiceAccountDeletedActivityLogEntry. +type GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceAccountDeletedActivityLogEntry struct { + Typename string `json:"__typename"` + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + Actor string `json:"actor"` + // Creation time of the entry. + CreatedAt time.Time `json:"createdAt"` + // Message that summarizes the entry. + Message string `json:"message"` + // The environment name that the entry belongs to. + EnvironmentName string `json:"environmentName"` } -// GetEnvironment returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationTeamEnvironment.Environment, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationTeamEnvironment) GetEnvironment() GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationTeamEnvironmentEnvironment { - return v.Environment +// GetTypename returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceAccountDeletedActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceAccountDeletedActivityLogEntry) GetTypename() string { + return v.Typename } -// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationTeamEnvironmentEnvironment includes the requested fields of the GraphQL type Environment. -// The GraphQL type's documentation follows. -// -// An environment represents a runtime environment for workloads. -// -// Learn more in the [official Nais documentation](https://docs.nais.io/workloads/explanations/environment/). -type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationTeamEnvironmentEnvironment struct { - // Unique name of the environment. - Name string `json:"name"` +// GetActor returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceAccountDeletedActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceAccountDeletedActivityLogEntry) GetActor() string { + return v.Actor } -// GetName returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationTeamEnvironmentEnvironment.Name, and is useful for accessing the field via an interface. -func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationTeamEnvironmentEnvironment) GetName() string { - return v.Name +// GetCreatedAt returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceAccountDeletedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceAccountDeletedActivityLogEntry) GetCreatedAt() time.Time { + return v.CreatedAt } -// GetApplicationInstancesResponse is returned by GetApplicationInstances on success. -type GetApplicationInstancesResponse struct { - // Get a team by its slug. - Team GetApplicationInstancesTeam `json:"team"` +// GetMessage returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceAccountDeletedActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceAccountDeletedActivityLogEntry) GetMessage() string { + return v.Message } -// GetTeam returns GetApplicationInstancesResponse.Team, and is useful for accessing the field via an interface. -func (v *GetApplicationInstancesResponse) GetTeam() GetApplicationInstancesTeam { return v.Team } - -// GetApplicationInstancesTeam includes the requested fields of the GraphQL type Team. -// The GraphQL type's documentation follows. -// -// The team type represents a team on the [Nais platform](https://nais.io/). -// -// Learn more about what Nais teams are and what they can be used for in the [official Nais documentation](https://docs.nais.io/explanations/team/). -// -// External resources (e.g. entraIDGroupID, gitHubTeamSlug) are managed by [Nais API reconcilers](https://github.com/nais/api-reconcilers). -type GetApplicationInstancesTeam struct { - // Nais applications owned by the team. - Applications GetApplicationInstancesTeamApplicationsApplicationConnection `json:"applications"` +// GetEnvironmentName returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceAccountDeletedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceAccountDeletedActivityLogEntry) GetEnvironmentName() string { + return v.EnvironmentName } -// GetApplications returns GetApplicationInstancesTeam.Applications, and is useful for accessing the field via an interface. -func (v *GetApplicationInstancesTeam) GetApplications() GetApplicationInstancesTeamApplicationsApplicationConnection { - return v.Applications +// GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceAccountTokenCreatedActivityLogEntry includes the requested fields of the GraphQL type ServiceAccountTokenCreatedActivityLogEntry. +type GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceAccountTokenCreatedActivityLogEntry struct { + Typename string `json:"__typename"` + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + Actor string `json:"actor"` + // Creation time of the entry. + CreatedAt time.Time `json:"createdAt"` + // Message that summarizes the entry. + Message string `json:"message"` + // The environment name that the entry belongs to. + EnvironmentName string `json:"environmentName"` } -// GetApplicationInstancesTeamApplicationsApplicationConnection includes the requested fields of the GraphQL type ApplicationConnection. -// The GraphQL type's documentation follows. -// -// Application connection. -type GetApplicationInstancesTeamApplicationsApplicationConnection struct { - // List of nodes. - Nodes []GetApplicationInstancesTeamApplicationsApplicationConnectionNodesApplication `json:"nodes"` +// GetTypename returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceAccountTokenCreatedActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceAccountTokenCreatedActivityLogEntry) GetTypename() string { + return v.Typename } -// GetNodes returns GetApplicationInstancesTeamApplicationsApplicationConnection.Nodes, and is useful for accessing the field via an interface. -func (v *GetApplicationInstancesTeamApplicationsApplicationConnection) GetNodes() []GetApplicationInstancesTeamApplicationsApplicationConnectionNodesApplication { - return v.Nodes +// GetActor returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceAccountTokenCreatedActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceAccountTokenCreatedActivityLogEntry) GetActor() string { + return v.Actor } -// GetApplicationInstancesTeamApplicationsApplicationConnectionNodesApplication includes the requested fields of the GraphQL type Application. -// The GraphQL type's documentation follows. -// -// An application lets you run one or more instances of a container image on the [Nais platform](https://nais.io/). -// -// Learn more about how to create and configure your applications in the [Nais documentation](https://docs.nais.io/workloads/application/). -type GetApplicationInstancesTeamApplicationsApplicationConnectionNodesApplication struct { - // The application instances. - Instances GetApplicationInstancesTeamApplicationsApplicationConnectionNodesApplicationInstancesApplicationInstanceConnection `json:"instances"` +// GetCreatedAt returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceAccountTokenCreatedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceAccountTokenCreatedActivityLogEntry) GetCreatedAt() time.Time { + return v.CreatedAt } -// GetInstances returns GetApplicationInstancesTeamApplicationsApplicationConnectionNodesApplication.Instances, and is useful for accessing the field via an interface. -func (v *GetApplicationInstancesTeamApplicationsApplicationConnectionNodesApplication) GetInstances() GetApplicationInstancesTeamApplicationsApplicationConnectionNodesApplicationInstancesApplicationInstanceConnection { - return v.Instances +// GetMessage returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceAccountTokenCreatedActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceAccountTokenCreatedActivityLogEntry) GetMessage() string { + return v.Message } -// GetApplicationInstancesTeamApplicationsApplicationConnectionNodesApplicationInstancesApplicationInstanceConnection includes the requested fields of the GraphQL type ApplicationInstanceConnection. -type GetApplicationInstancesTeamApplicationsApplicationConnectionNodesApplicationInstancesApplicationInstanceConnection struct { - // List of nodes. - Nodes []GetApplicationInstancesTeamApplicationsApplicationConnectionNodesApplicationInstancesApplicationInstanceConnectionNodesApplicationInstance `json:"nodes"` +// GetEnvironmentName returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceAccountTokenCreatedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceAccountTokenCreatedActivityLogEntry) GetEnvironmentName() string { + return v.EnvironmentName } -// GetNodes returns GetApplicationInstancesTeamApplicationsApplicationConnectionNodesApplicationInstancesApplicationInstanceConnection.Nodes, and is useful for accessing the field via an interface. -func (v *GetApplicationInstancesTeamApplicationsApplicationConnectionNodesApplicationInstancesApplicationInstanceConnection) GetNodes() []GetApplicationInstancesTeamApplicationsApplicationConnectionNodesApplicationInstancesApplicationInstanceConnectionNodesApplicationInstance { - return v.Nodes +// GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceAccountTokenDeletedActivityLogEntry includes the requested fields of the GraphQL type ServiceAccountTokenDeletedActivityLogEntry. +type GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceAccountTokenDeletedActivityLogEntry struct { + Typename string `json:"__typename"` + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + Actor string `json:"actor"` + // Creation time of the entry. + CreatedAt time.Time `json:"createdAt"` + // Message that summarizes the entry. + Message string `json:"message"` + // The environment name that the entry belongs to. + EnvironmentName string `json:"environmentName"` } -// GetApplicationInstancesTeamApplicationsApplicationConnectionNodesApplicationInstancesApplicationInstanceConnectionNodesApplicationInstance includes the requested fields of the GraphQL type ApplicationInstance. -type GetApplicationInstancesTeamApplicationsApplicationConnectionNodesApplicationInstancesApplicationInstanceConnectionNodesApplicationInstance struct { - Name string `json:"name"` +// GetTypename returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceAccountTokenDeletedActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceAccountTokenDeletedActivityLogEntry) GetTypename() string { + return v.Typename } -// GetName returns GetApplicationInstancesTeamApplicationsApplicationConnectionNodesApplicationInstancesApplicationInstanceConnectionNodesApplicationInstance.Name, and is useful for accessing the field via an interface. -func (v *GetApplicationInstancesTeamApplicationsApplicationConnectionNodesApplicationInstancesApplicationInstanceConnectionNodesApplicationInstance) GetName() string { - return v.Name +// GetActor returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceAccountTokenDeletedActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceAccountTokenDeletedActivityLogEntry) GetActor() string { + return v.Actor } -// GetApplicationIssuesResponse is returned by GetApplicationIssues on success. -type GetApplicationIssuesResponse struct { - // Get a team by its slug. - Team GetApplicationIssuesTeam `json:"team"` +// GetCreatedAt returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceAccountTokenDeletedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceAccountTokenDeletedActivityLogEntry) GetCreatedAt() time.Time { + return v.CreatedAt } -// GetTeam returns GetApplicationIssuesResponse.Team, and is useful for accessing the field via an interface. -func (v *GetApplicationIssuesResponse) GetTeam() GetApplicationIssuesTeam { return v.Team } +// GetMessage returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceAccountTokenDeletedActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceAccountTokenDeletedActivityLogEntry) GetMessage() string { + return v.Message +} -// GetApplicationIssuesTeam includes the requested fields of the GraphQL type Team. -// The GraphQL type's documentation follows. -// -// The team type represents a team on the [Nais platform](https://nais.io/). -// -// Learn more about what Nais teams are and what they can be used for in the [official Nais documentation](https://docs.nais.io/explanations/team/). -// -// External resources (e.g. entraIDGroupID, gitHubTeamSlug) are managed by [Nais API reconcilers](https://github.com/nais/api-reconcilers). -type GetApplicationIssuesTeam struct { - // Nais applications owned by the team. - Applications GetApplicationIssuesTeamApplicationsApplicationConnection `json:"applications"` +// GetEnvironmentName returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceAccountTokenDeletedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceAccountTokenDeletedActivityLogEntry) GetEnvironmentName() string { + return v.EnvironmentName } -// GetApplications returns GetApplicationIssuesTeam.Applications, and is useful for accessing the field via an interface. -func (v *GetApplicationIssuesTeam) GetApplications() GetApplicationIssuesTeamApplicationsApplicationConnection { - return v.Applications +// GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceAccountTokenUpdatedActivityLogEntry includes the requested fields of the GraphQL type ServiceAccountTokenUpdatedActivityLogEntry. +type GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceAccountTokenUpdatedActivityLogEntry struct { + Typename string `json:"__typename"` + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + Actor string `json:"actor"` + // Creation time of the entry. + CreatedAt time.Time `json:"createdAt"` + // Message that summarizes the entry. + Message string `json:"message"` + // The environment name that the entry belongs to. + EnvironmentName string `json:"environmentName"` } -// GetApplicationIssuesTeamApplicationsApplicationConnection includes the requested fields of the GraphQL type ApplicationConnection. -// The GraphQL type's documentation follows. -// -// Application connection. -type GetApplicationIssuesTeamApplicationsApplicationConnection struct { - // List of nodes. - Nodes []GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplication `json:"nodes"` +// GetTypename returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceAccountTokenUpdatedActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceAccountTokenUpdatedActivityLogEntry) GetTypename() string { + return v.Typename } -// GetNodes returns GetApplicationIssuesTeamApplicationsApplicationConnection.Nodes, and is useful for accessing the field via an interface. -func (v *GetApplicationIssuesTeamApplicationsApplicationConnection) GetNodes() []GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplication { - return v.Nodes +// GetActor returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceAccountTokenUpdatedActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceAccountTokenUpdatedActivityLogEntry) GetActor() string { + return v.Actor } -// GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplication includes the requested fields of the GraphQL type Application. -// The GraphQL type's documentation follows. -// -// An application lets you run one or more instances of a container image on the [Nais platform](https://nais.io/). -// -// Learn more about how to create and configure your applications in the [Nais documentation](https://docs.nais.io/workloads/application/). -type GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplication struct { - // The team environment for the application. - TeamEnvironment GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationTeamEnvironment `json:"teamEnvironment"` - // Issues that affect the application. - Issues GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnection `json:"issues"` +// GetCreatedAt returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceAccountTokenUpdatedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceAccountTokenUpdatedActivityLogEntry) GetCreatedAt() time.Time { + return v.CreatedAt } -// GetTeamEnvironment returns GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplication.TeamEnvironment, and is useful for accessing the field via an interface. -func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplication) GetTeamEnvironment() GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationTeamEnvironment { - return v.TeamEnvironment +// GetMessage returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceAccountTokenUpdatedActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceAccountTokenUpdatedActivityLogEntry) GetMessage() string { + return v.Message } -// GetIssues returns GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplication.Issues, and is useful for accessing the field via an interface. -func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplication) GetIssues() GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnection { - return v.Issues +// GetEnvironmentName returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceAccountTokenUpdatedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceAccountTokenUpdatedActivityLogEntry) GetEnvironmentName() string { + return v.EnvironmentName } -// GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnection includes the requested fields of the GraphQL type IssueConnection. -type GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnection struct { - // List of nodes. - Nodes []GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesIssue `json:"-"` +// GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceAccountUpdatedActivityLogEntry includes the requested fields of the GraphQL type ServiceAccountUpdatedActivityLogEntry. +type GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceAccountUpdatedActivityLogEntry struct { + Typename string `json:"__typename"` + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + Actor string `json:"actor"` + // Creation time of the entry. + CreatedAt time.Time `json:"createdAt"` + // Message that summarizes the entry. + Message string `json:"message"` + // The environment name that the entry belongs to. + EnvironmentName string `json:"environmentName"` } -// GetNodes returns GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnection.Nodes, and is useful for accessing the field via an interface. -func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnection) GetNodes() []GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesIssue { - return v.Nodes +// GetTypename returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceAccountUpdatedActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceAccountUpdatedActivityLogEntry) GetTypename() string { + return v.Typename } -func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnection) UnmarshalJSON(b []byte) error { +// GetActor returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceAccountUpdatedActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceAccountUpdatedActivityLogEntry) GetActor() string { + return v.Actor +} - if string(b) == "null" { - return nil - } +// GetCreatedAt returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceAccountUpdatedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceAccountUpdatedActivityLogEntry) GetCreatedAt() time.Time { + return v.CreatedAt +} - var firstPass struct { - *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnection - Nodes []json.RawMessage `json:"nodes"` - graphql.NoUnmarshalJSON - } - firstPass.GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnection = v +// GetMessage returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceAccountUpdatedActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceAccountUpdatedActivityLogEntry) GetMessage() string { + return v.Message +} - err := json.Unmarshal(b, &firstPass) - if err != nil { - return err - } +// GetEnvironmentName returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceAccountUpdatedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceAccountUpdatedActivityLogEntry) GetEnvironmentName() string { + return v.EnvironmentName +} - { - dst := &v.Nodes - src := firstPass.Nodes - *dst = make( - []GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesIssue, - len(src)) - for i, src := range src { - dst := &(*dst)[i] - if len(src) != 0 && string(src) != "null" { - err = __unmarshalGetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesIssue( - src, dst) - if err != nil { - return fmt.Errorf( - "unable to unmarshal GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnection.Nodes: %w", err) - } - } - } - } - return nil +// GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceMaintenanceActivityLogEntry includes the requested fields of the GraphQL type ServiceMaintenanceActivityLogEntry. +type GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceMaintenanceActivityLogEntry struct { + Typename string `json:"__typename"` + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + Actor string `json:"actor"` + // Creation time of the entry. + CreatedAt time.Time `json:"createdAt"` + // Message that summarizes the entry. + Message string `json:"message"` + // The environment name that the entry belongs to. + EnvironmentName string `json:"environmentName"` } -type __premarshalGetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnection struct { - Nodes []json.RawMessage `json:"nodes"` +// GetTypename returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceMaintenanceActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceMaintenanceActivityLogEntry) GetTypename() string { + return v.Typename } -func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnection) MarshalJSON() ([]byte, error) { - premarshaled, err := v.__premarshalJSON() - if err != nil { - return nil, err - } - return json.Marshal(premarshaled) +// GetActor returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceMaintenanceActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceMaintenanceActivityLogEntry) GetActor() string { + return v.Actor } -func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnection) __premarshalJSON() (*__premarshalGetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnection, error) { - var retval __premarshalGetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnection +// GetCreatedAt returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceMaintenanceActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceMaintenanceActivityLogEntry) GetCreatedAt() time.Time { + return v.CreatedAt +} - { +// GetMessage returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceMaintenanceActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceMaintenanceActivityLogEntry) GetMessage() string { + return v.Message +} - dst := &retval.Nodes - src := v.Nodes - *dst = make( - []json.RawMessage, - len(src)) - for i, src := range src { - dst := &(*dst)[i] - var err error - *dst, err = __marshalGetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesIssue( - &src) - if err != nil { - return nil, fmt.Errorf( - "unable to marshal GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnection.Nodes: %w", err) - } - } - } - return &retval, nil +// GetEnvironmentName returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceMaintenanceActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceMaintenanceActivityLogEntry) GetEnvironmentName() string { + return v.EnvironmentName } -// GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesDeprecatedIngressIssue includes the requested fields of the GraphQL type DeprecatedIngressIssue. -type GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesDeprecatedIngressIssue struct { - Typename string `json:"__typename"` - Severity Severity `json:"severity"` - Message string `json:"message"` +// GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamConfirmDeleteKeyActivityLogEntry includes the requested fields of the GraphQL type TeamConfirmDeleteKeyActivityLogEntry. +type GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamConfirmDeleteKeyActivityLogEntry struct { + Typename string `json:"__typename"` + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + Actor string `json:"actor"` + // Creation time of the entry. + CreatedAt time.Time `json:"createdAt"` + // Message that summarizes the entry. + Message string `json:"message"` + // The environment name that the entry belongs to. + EnvironmentName string `json:"environmentName"` } -// GetTypename returns GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesDeprecatedIngressIssue.Typename, and is useful for accessing the field via an interface. -func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesDeprecatedIngressIssue) GetTypename() string { +// GetTypename returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamConfirmDeleteKeyActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamConfirmDeleteKeyActivityLogEntry) GetTypename() string { return v.Typename } -// GetSeverity returns GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesDeprecatedIngressIssue.Severity, and is useful for accessing the field via an interface. -func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesDeprecatedIngressIssue) GetSeverity() Severity { - return v.Severity +// GetActor returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamConfirmDeleteKeyActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamConfirmDeleteKeyActivityLogEntry) GetActor() string { + return v.Actor } -// GetMessage returns GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesDeprecatedIngressIssue.Message, and is useful for accessing the field via an interface. -func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesDeprecatedIngressIssue) GetMessage() string { - return v.Message +// GetCreatedAt returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamConfirmDeleteKeyActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamConfirmDeleteKeyActivityLogEntry) GetCreatedAt() time.Time { + return v.CreatedAt } -// GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesDeprecatedRegistryIssue includes the requested fields of the GraphQL type DeprecatedRegistryIssue. -type GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesDeprecatedRegistryIssue struct { - Typename string `json:"__typename"` - Severity Severity `json:"severity"` - Message string `json:"message"` +// GetMessage returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamConfirmDeleteKeyActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamConfirmDeleteKeyActivityLogEntry) GetMessage() string { + return v.Message } -// GetTypename returns GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesDeprecatedRegistryIssue.Typename, and is useful for accessing the field via an interface. -func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesDeprecatedRegistryIssue) GetTypename() string { - return v.Typename +// GetEnvironmentName returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamConfirmDeleteKeyActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamConfirmDeleteKeyActivityLogEntry) GetEnvironmentName() string { + return v.EnvironmentName } -// GetSeverity returns GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesDeprecatedRegistryIssue.Severity, and is useful for accessing the field via an interface. -func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesDeprecatedRegistryIssue) GetSeverity() Severity { - return v.Severity +// GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamCreateDeleteKeyActivityLogEntry includes the requested fields of the GraphQL type TeamCreateDeleteKeyActivityLogEntry. +type GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamCreateDeleteKeyActivityLogEntry struct { + Typename string `json:"__typename"` + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + Actor string `json:"actor"` + // Creation time of the entry. + CreatedAt time.Time `json:"createdAt"` + // Message that summarizes the entry. + Message string `json:"message"` + // The environment name that the entry belongs to. + EnvironmentName string `json:"environmentName"` } -// GetMessage returns GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesDeprecatedRegistryIssue.Message, and is useful for accessing the field via an interface. -func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesDeprecatedRegistryIssue) GetMessage() string { - return v.Message +// GetTypename returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamCreateDeleteKeyActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamCreateDeleteKeyActivityLogEntry) GetTypename() string { + return v.Typename } -// GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssue includes the requested fields of the GraphQL type ExternalIngressCriticalVulnerabilityIssue. -type GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssue struct { - Typename string `json:"__typename"` - Severity Severity `json:"severity"` - Message string `json:"message"` +// GetActor returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamCreateDeleteKeyActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamCreateDeleteKeyActivityLogEntry) GetActor() string { + return v.Actor } -// GetTypename returns GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssue.Typename, and is useful for accessing the field via an interface. -func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssue) GetTypename() string { - return v.Typename +// GetCreatedAt returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamCreateDeleteKeyActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamCreateDeleteKeyActivityLogEntry) GetCreatedAt() time.Time { + return v.CreatedAt } -// GetSeverity returns GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssue.Severity, and is useful for accessing the field via an interface. -func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssue) GetSeverity() Severity { - return v.Severity +// GetMessage returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamCreateDeleteKeyActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamCreateDeleteKeyActivityLogEntry) GetMessage() string { + return v.Message } -// GetMessage returns GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssue.Message, and is useful for accessing the field via an interface. -func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssue) GetMessage() string { - return v.Message +// GetEnvironmentName returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamCreateDeleteKeyActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamCreateDeleteKeyActivityLogEntry) GetEnvironmentName() string { + return v.EnvironmentName } -// GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesFailedSynchronizationIssue includes the requested fields of the GraphQL type FailedSynchronizationIssue. -type GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesFailedSynchronizationIssue struct { - Typename string `json:"__typename"` - Severity Severity `json:"severity"` - Message string `json:"message"` +// GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamCreatedActivityLogEntry includes the requested fields of the GraphQL type TeamCreatedActivityLogEntry. +type GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamCreatedActivityLogEntry struct { + Typename string `json:"__typename"` + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + Actor string `json:"actor"` + // Creation time of the entry. + CreatedAt time.Time `json:"createdAt"` + // Message that summarizes the entry. + Message string `json:"message"` + // The environment name that the entry belongs to. + EnvironmentName string `json:"environmentName"` } -// GetTypename returns GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesFailedSynchronizationIssue.Typename, and is useful for accessing the field via an interface. -func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesFailedSynchronizationIssue) GetTypename() string { +// GetTypename returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamCreatedActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamCreatedActivityLogEntry) GetTypename() string { return v.Typename } -// GetSeverity returns GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesFailedSynchronizationIssue.Severity, and is useful for accessing the field via an interface. -func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesFailedSynchronizationIssue) GetSeverity() Severity { - return v.Severity +// GetActor returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamCreatedActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamCreatedActivityLogEntry) GetActor() string { + return v.Actor } -// GetMessage returns GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesFailedSynchronizationIssue.Message, and is useful for accessing the field via an interface. -func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesFailedSynchronizationIssue) GetMessage() string { - return v.Message +// GetCreatedAt returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamCreatedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamCreatedActivityLogEntry) GetCreatedAt() time.Time { + return v.CreatedAt } -// GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesInvalidSpecIssue includes the requested fields of the GraphQL type InvalidSpecIssue. -type GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesInvalidSpecIssue struct { - Typename string `json:"__typename"` - Severity Severity `json:"severity"` - Message string `json:"message"` +// GetMessage returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamCreatedActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamCreatedActivityLogEntry) GetMessage() string { + return v.Message } -// GetTypename returns GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesInvalidSpecIssue.Typename, and is useful for accessing the field via an interface. -func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesInvalidSpecIssue) GetTypename() string { - return v.Typename +// GetEnvironmentName returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamCreatedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamCreatedActivityLogEntry) GetEnvironmentName() string { + return v.EnvironmentName } -// GetSeverity returns GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesInvalidSpecIssue.Severity, and is useful for accessing the field via an interface. -func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesInvalidSpecIssue) GetSeverity() Severity { - return v.Severity +// GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamDeployKeyUpdatedActivityLogEntry includes the requested fields of the GraphQL type TeamDeployKeyUpdatedActivityLogEntry. +type GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamDeployKeyUpdatedActivityLogEntry struct { + Typename string `json:"__typename"` + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + Actor string `json:"actor"` + // Creation time of the entry. + CreatedAt time.Time `json:"createdAt"` + // Message that summarizes the entry. + Message string `json:"message"` + // The environment name that the entry belongs to. + EnvironmentName string `json:"environmentName"` } -// GetMessage returns GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesInvalidSpecIssue.Message, and is useful for accessing the field via an interface. -func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesInvalidSpecIssue) GetMessage() string { - return v.Message +// GetTypename returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamDeployKeyUpdatedActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamDeployKeyUpdatedActivityLogEntry) GetTypename() string { + return v.Typename } -// GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesIssue includes the requested fields of the GraphQL interface Issue. -// -// GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesIssue is implemented by the following types: -// GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesDeprecatedIngressIssue -// GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesDeprecatedRegistryIssue -// GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssue -// GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesFailedSynchronizationIssue -// GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesInvalidSpecIssue -// GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesLastRunFailedIssue -// GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesMissingSbomIssue -// GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesNoRunningInstancesIssue -// GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesOpenSearchIssue -// GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesSqlInstanceStateIssue -// GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesSqlInstanceVersionIssue -// GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesUnleashReleaseChannelIssue -// GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesValkeyIssue -// GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesVulnerableImageIssue -type GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesIssue interface { - implementsGraphQLInterfaceGetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesIssue() - // GetTypename returns the receiver's concrete GraphQL type-name (see interface doc for possible values). - GetTypename() string - // GetSeverity returns the interface-field "severity" from its implementation. - GetSeverity() Severity - // GetMessage returns the interface-field "message" from its implementation. - GetMessage() string +// GetActor returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamDeployKeyUpdatedActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamDeployKeyUpdatedActivityLogEntry) GetActor() string { + return v.Actor } -func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesDeprecatedIngressIssue) implementsGraphQLInterfaceGetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesIssue() { -} -func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesDeprecatedRegistryIssue) implementsGraphQLInterfaceGetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesIssue() { +// GetCreatedAt returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamDeployKeyUpdatedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamDeployKeyUpdatedActivityLogEntry) GetCreatedAt() time.Time { + return v.CreatedAt } -func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssue) implementsGraphQLInterfaceGetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesIssue() { + +// GetMessage returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamDeployKeyUpdatedActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamDeployKeyUpdatedActivityLogEntry) GetMessage() string { + return v.Message } -func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesFailedSynchronizationIssue) implementsGraphQLInterfaceGetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesIssue() { + +// GetEnvironmentName returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamDeployKeyUpdatedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamDeployKeyUpdatedActivityLogEntry) GetEnvironmentName() string { + return v.EnvironmentName } -func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesInvalidSpecIssue) implementsGraphQLInterfaceGetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesIssue() { + +// GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamEnvironmentUpdatedActivityLogEntry includes the requested fields of the GraphQL type TeamEnvironmentUpdatedActivityLogEntry. +type GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamEnvironmentUpdatedActivityLogEntry struct { + Typename string `json:"__typename"` + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + Actor string `json:"actor"` + // Creation time of the entry. + CreatedAt time.Time `json:"createdAt"` + // Message that summarizes the entry. + Message string `json:"message"` + // The environment name that the entry belongs to. + EnvironmentName string `json:"environmentName"` } -func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesLastRunFailedIssue) implementsGraphQLInterfaceGetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesIssue() { + +// GetTypename returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamEnvironmentUpdatedActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamEnvironmentUpdatedActivityLogEntry) GetTypename() string { + return v.Typename } -func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesMissingSbomIssue) implementsGraphQLInterfaceGetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesIssue() { + +// GetActor returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamEnvironmentUpdatedActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamEnvironmentUpdatedActivityLogEntry) GetActor() string { + return v.Actor } -func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesNoRunningInstancesIssue) implementsGraphQLInterfaceGetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesIssue() { + +// GetCreatedAt returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamEnvironmentUpdatedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamEnvironmentUpdatedActivityLogEntry) GetCreatedAt() time.Time { + return v.CreatedAt } -func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesOpenSearchIssue) implementsGraphQLInterfaceGetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesIssue() { + +// GetMessage returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamEnvironmentUpdatedActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamEnvironmentUpdatedActivityLogEntry) GetMessage() string { + return v.Message } -func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesSqlInstanceStateIssue) implementsGraphQLInterfaceGetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesIssue() { + +// GetEnvironmentName returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamEnvironmentUpdatedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamEnvironmentUpdatedActivityLogEntry) GetEnvironmentName() string { + return v.EnvironmentName } -func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesSqlInstanceVersionIssue) implementsGraphQLInterfaceGetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesIssue() { + +// GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamMemberAddedActivityLogEntry includes the requested fields of the GraphQL type TeamMemberAddedActivityLogEntry. +type GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamMemberAddedActivityLogEntry struct { + Typename string `json:"__typename"` + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + Actor string `json:"actor"` + // Creation time of the entry. + CreatedAt time.Time `json:"createdAt"` + // Message that summarizes the entry. + Message string `json:"message"` + // The environment name that the entry belongs to. + EnvironmentName string `json:"environmentName"` } -func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesUnleashReleaseChannelIssue) implementsGraphQLInterfaceGetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesIssue() { + +// GetTypename returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamMemberAddedActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamMemberAddedActivityLogEntry) GetTypename() string { + return v.Typename } -func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesValkeyIssue) implementsGraphQLInterfaceGetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesIssue() { + +// GetActor returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamMemberAddedActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamMemberAddedActivityLogEntry) GetActor() string { + return v.Actor } -func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesVulnerableImageIssue) implementsGraphQLInterfaceGetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesIssue() { + +// GetCreatedAt returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamMemberAddedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamMemberAddedActivityLogEntry) GetCreatedAt() time.Time { + return v.CreatedAt } -func __unmarshalGetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesIssue(b []byte, v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesIssue) error { - if string(b) == "null" { - return nil - } +// GetMessage returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamMemberAddedActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamMemberAddedActivityLogEntry) GetMessage() string { + return v.Message +} - var tn struct { - TypeName string `json:"__typename"` - } - err := json.Unmarshal(b, &tn) - if err != nil { - return err - } +// GetEnvironmentName returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamMemberAddedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamMemberAddedActivityLogEntry) GetEnvironmentName() string { + return v.EnvironmentName +} - switch tn.TypeName { - case "DeprecatedIngressIssue": - *v = new(GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesDeprecatedIngressIssue) - return json.Unmarshal(b, *v) - case "DeprecatedRegistryIssue": - *v = new(GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesDeprecatedRegistryIssue) - return json.Unmarshal(b, *v) - case "ExternalIngressCriticalVulnerabilityIssue": - *v = new(GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssue) - return json.Unmarshal(b, *v) - case "FailedSynchronizationIssue": - *v = new(GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesFailedSynchronizationIssue) - return json.Unmarshal(b, *v) - case "InvalidSpecIssue": - *v = new(GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesInvalidSpecIssue) - return json.Unmarshal(b, *v) - case "LastRunFailedIssue": - *v = new(GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesLastRunFailedIssue) - return json.Unmarshal(b, *v) - case "MissingSbomIssue": - *v = new(GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesMissingSbomIssue) - return json.Unmarshal(b, *v) - case "NoRunningInstancesIssue": - *v = new(GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesNoRunningInstancesIssue) - return json.Unmarshal(b, *v) - case "OpenSearchIssue": - *v = new(GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesOpenSearchIssue) - return json.Unmarshal(b, *v) - case "SqlInstanceStateIssue": - *v = new(GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesSqlInstanceStateIssue) - return json.Unmarshal(b, *v) - case "SqlInstanceVersionIssue": - *v = new(GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesSqlInstanceVersionIssue) - return json.Unmarshal(b, *v) - case "UnleashReleaseChannelIssue": - *v = new(GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesUnleashReleaseChannelIssue) - return json.Unmarshal(b, *v) - case "ValkeyIssue": - *v = new(GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesValkeyIssue) - return json.Unmarshal(b, *v) - case "VulnerableImageIssue": - *v = new(GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesVulnerableImageIssue) - return json.Unmarshal(b, *v) - case "": - return fmt.Errorf( - "response was missing Issue.__typename") - default: - return fmt.Errorf( - `unexpected concrete type for GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesIssue: "%v"`, tn.TypeName) - } +// GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamMemberRemovedActivityLogEntry includes the requested fields of the GraphQL type TeamMemberRemovedActivityLogEntry. +type GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamMemberRemovedActivityLogEntry struct { + Typename string `json:"__typename"` + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + Actor string `json:"actor"` + // Creation time of the entry. + CreatedAt time.Time `json:"createdAt"` + // Message that summarizes the entry. + Message string `json:"message"` + // The environment name that the entry belongs to. + EnvironmentName string `json:"environmentName"` } -func __marshalGetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesIssue(v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesIssue) ([]byte, error) { +// GetTypename returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamMemberRemovedActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamMemberRemovedActivityLogEntry) GetTypename() string { + return v.Typename +} - var typename string - switch v := (*v).(type) { - case *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesDeprecatedIngressIssue: - typename = "DeprecatedIngressIssue" +// GetActor returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamMemberRemovedActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamMemberRemovedActivityLogEntry) GetActor() string { + return v.Actor +} - result := struct { - TypeName string `json:"__typename"` - *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesDeprecatedIngressIssue - }{typename, v} - return json.Marshal(result) - case *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesDeprecatedRegistryIssue: - typename = "DeprecatedRegistryIssue" +// GetCreatedAt returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamMemberRemovedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamMemberRemovedActivityLogEntry) GetCreatedAt() time.Time { + return v.CreatedAt +} - result := struct { - TypeName string `json:"__typename"` - *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesDeprecatedRegistryIssue - }{typename, v} - return json.Marshal(result) - case *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssue: - typename = "ExternalIngressCriticalVulnerabilityIssue" +// GetMessage returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamMemberRemovedActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamMemberRemovedActivityLogEntry) GetMessage() string { + return v.Message +} - result := struct { - TypeName string `json:"__typename"` - *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssue - }{typename, v} - return json.Marshal(result) - case *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesFailedSynchronizationIssue: - typename = "FailedSynchronizationIssue" +// GetEnvironmentName returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamMemberRemovedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamMemberRemovedActivityLogEntry) GetEnvironmentName() string { + return v.EnvironmentName +} - result := struct { - TypeName string `json:"__typename"` - *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesFailedSynchronizationIssue - }{typename, v} - return json.Marshal(result) - case *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesInvalidSpecIssue: - typename = "InvalidSpecIssue" +// GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamMemberSetRoleActivityLogEntry includes the requested fields of the GraphQL type TeamMemberSetRoleActivityLogEntry. +type GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamMemberSetRoleActivityLogEntry struct { + Typename string `json:"__typename"` + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + Actor string `json:"actor"` + // Creation time of the entry. + CreatedAt time.Time `json:"createdAt"` + // Message that summarizes the entry. + Message string `json:"message"` + // The environment name that the entry belongs to. + EnvironmentName string `json:"environmentName"` +} - result := struct { - TypeName string `json:"__typename"` - *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesInvalidSpecIssue - }{typename, v} - return json.Marshal(result) - case *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesLastRunFailedIssue: - typename = "LastRunFailedIssue" +// GetTypename returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamMemberSetRoleActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamMemberSetRoleActivityLogEntry) GetTypename() string { + return v.Typename +} - result := struct { - TypeName string `json:"__typename"` - *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesLastRunFailedIssue - }{typename, v} - return json.Marshal(result) - case *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesMissingSbomIssue: - typename = "MissingSbomIssue" +// GetActor returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamMemberSetRoleActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamMemberSetRoleActivityLogEntry) GetActor() string { + return v.Actor +} - result := struct { - TypeName string `json:"__typename"` - *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesMissingSbomIssue - }{typename, v} - return json.Marshal(result) - case *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesNoRunningInstancesIssue: - typename = "NoRunningInstancesIssue" +// GetCreatedAt returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamMemberSetRoleActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamMemberSetRoleActivityLogEntry) GetCreatedAt() time.Time { + return v.CreatedAt +} - result := struct { - TypeName string `json:"__typename"` - *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesNoRunningInstancesIssue - }{typename, v} - return json.Marshal(result) - case *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesOpenSearchIssue: - typename = "OpenSearchIssue" +// GetMessage returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamMemberSetRoleActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamMemberSetRoleActivityLogEntry) GetMessage() string { + return v.Message +} - result := struct { - TypeName string `json:"__typename"` - *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesOpenSearchIssue - }{typename, v} - return json.Marshal(result) - case *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesSqlInstanceStateIssue: - typename = "SqlInstanceStateIssue" +// GetEnvironmentName returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamMemberSetRoleActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamMemberSetRoleActivityLogEntry) GetEnvironmentName() string { + return v.EnvironmentName +} - result := struct { - TypeName string `json:"__typename"` - *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesSqlInstanceStateIssue - }{typename, v} - return json.Marshal(result) - case *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesSqlInstanceVersionIssue: - typename = "SqlInstanceVersionIssue" +// GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamUpdatedActivityLogEntry includes the requested fields of the GraphQL type TeamUpdatedActivityLogEntry. +type GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamUpdatedActivityLogEntry struct { + Typename string `json:"__typename"` + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + Actor string `json:"actor"` + // Creation time of the entry. + CreatedAt time.Time `json:"createdAt"` + // Message that summarizes the entry. + Message string `json:"message"` + // The environment name that the entry belongs to. + EnvironmentName string `json:"environmentName"` +} - result := struct { - TypeName string `json:"__typename"` - *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesSqlInstanceVersionIssue - }{typename, v} - return json.Marshal(result) - case *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesUnleashReleaseChannelIssue: - typename = "UnleashReleaseChannelIssue" +// GetTypename returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamUpdatedActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamUpdatedActivityLogEntry) GetTypename() string { + return v.Typename +} - result := struct { - TypeName string `json:"__typename"` - *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesUnleashReleaseChannelIssue - }{typename, v} - return json.Marshal(result) - case *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesValkeyIssue: - typename = "ValkeyIssue" +// GetActor returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamUpdatedActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamUpdatedActivityLogEntry) GetActor() string { + return v.Actor +} - result := struct { - TypeName string `json:"__typename"` - *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesValkeyIssue - }{typename, v} - return json.Marshal(result) - case *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesVulnerableImageIssue: - typename = "VulnerableImageIssue" +// GetCreatedAt returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamUpdatedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamUpdatedActivityLogEntry) GetCreatedAt() time.Time { + return v.CreatedAt +} - result := struct { - TypeName string `json:"__typename"` - *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesVulnerableImageIssue - }{typename, v} - return json.Marshal(result) - case nil: - return []byte("null"), nil - default: - return nil, fmt.Errorf( - `unexpected concrete type for GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesIssue: "%T"`, v) - } +// GetMessage returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamUpdatedActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamUpdatedActivityLogEntry) GetMessage() string { + return v.Message } -// GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesLastRunFailedIssue includes the requested fields of the GraphQL type LastRunFailedIssue. -type GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesLastRunFailedIssue struct { - Typename string `json:"__typename"` - Severity Severity `json:"severity"` - Message string `json:"message"` +// GetEnvironmentName returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamUpdatedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamUpdatedActivityLogEntry) GetEnvironmentName() string { + return v.EnvironmentName } -// GetTypename returns GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesLastRunFailedIssue.Typename, and is useful for accessing the field via an interface. -func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesLastRunFailedIssue) GetTypename() string { +// GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesUnleashInstanceCreatedActivityLogEntry includes the requested fields of the GraphQL type UnleashInstanceCreatedActivityLogEntry. +type GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesUnleashInstanceCreatedActivityLogEntry struct { + Typename string `json:"__typename"` + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + Actor string `json:"actor"` + // Creation time of the entry. + CreatedAt time.Time `json:"createdAt"` + // Message that summarizes the entry. + Message string `json:"message"` + // The environment name that the entry belongs to. + EnvironmentName string `json:"environmentName"` +} + +// GetTypename returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesUnleashInstanceCreatedActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesUnleashInstanceCreatedActivityLogEntry) GetTypename() string { return v.Typename } -// GetSeverity returns GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesLastRunFailedIssue.Severity, and is useful for accessing the field via an interface. -func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesLastRunFailedIssue) GetSeverity() Severity { - return v.Severity +// GetActor returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesUnleashInstanceCreatedActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesUnleashInstanceCreatedActivityLogEntry) GetActor() string { + return v.Actor } -// GetMessage returns GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesLastRunFailedIssue.Message, and is useful for accessing the field via an interface. -func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesLastRunFailedIssue) GetMessage() string { +// GetCreatedAt returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesUnleashInstanceCreatedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesUnleashInstanceCreatedActivityLogEntry) GetCreatedAt() time.Time { + return v.CreatedAt +} + +// GetMessage returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesUnleashInstanceCreatedActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesUnleashInstanceCreatedActivityLogEntry) GetMessage() string { return v.Message } -// GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesMissingSbomIssue includes the requested fields of the GraphQL type MissingSbomIssue. -type GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesMissingSbomIssue struct { - Typename string `json:"__typename"` - Severity Severity `json:"severity"` - Message string `json:"message"` +// GetEnvironmentName returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesUnleashInstanceCreatedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesUnleashInstanceCreatedActivityLogEntry) GetEnvironmentName() string { + return v.EnvironmentName } -// GetTypename returns GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesMissingSbomIssue.Typename, and is useful for accessing the field via an interface. -func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesMissingSbomIssue) GetTypename() string { +// GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesUnleashInstanceDeletedActivityLogEntry includes the requested fields of the GraphQL type UnleashInstanceDeletedActivityLogEntry. +type GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesUnleashInstanceDeletedActivityLogEntry struct { + Typename string `json:"__typename"` + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + Actor string `json:"actor"` + // Creation time of the entry. + CreatedAt time.Time `json:"createdAt"` + // Message that summarizes the entry. + Message string `json:"message"` + // The environment name that the entry belongs to. + EnvironmentName string `json:"environmentName"` +} + +// GetTypename returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesUnleashInstanceDeletedActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesUnleashInstanceDeletedActivityLogEntry) GetTypename() string { return v.Typename } -// GetSeverity returns GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesMissingSbomIssue.Severity, and is useful for accessing the field via an interface. -func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesMissingSbomIssue) GetSeverity() Severity { - return v.Severity +// GetActor returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesUnleashInstanceDeletedActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesUnleashInstanceDeletedActivityLogEntry) GetActor() string { + return v.Actor } -// GetMessage returns GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesMissingSbomIssue.Message, and is useful for accessing the field via an interface. -func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesMissingSbomIssue) GetMessage() string { +// GetCreatedAt returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesUnleashInstanceDeletedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesUnleashInstanceDeletedActivityLogEntry) GetCreatedAt() time.Time { + return v.CreatedAt +} + +// GetMessage returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesUnleashInstanceDeletedActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesUnleashInstanceDeletedActivityLogEntry) GetMessage() string { return v.Message } -// GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesNoRunningInstancesIssue includes the requested fields of the GraphQL type NoRunningInstancesIssue. -type GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesNoRunningInstancesIssue struct { - Typename string `json:"__typename"` - Severity Severity `json:"severity"` - Message string `json:"message"` +// GetEnvironmentName returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesUnleashInstanceDeletedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesUnleashInstanceDeletedActivityLogEntry) GetEnvironmentName() string { + return v.EnvironmentName } -// GetTypename returns GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesNoRunningInstancesIssue.Typename, and is useful for accessing the field via an interface. -func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesNoRunningInstancesIssue) GetTypename() string { +// GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesUnleashInstanceUpdatedActivityLogEntry includes the requested fields of the GraphQL type UnleashInstanceUpdatedActivityLogEntry. +type GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesUnleashInstanceUpdatedActivityLogEntry struct { + Typename string `json:"__typename"` + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + Actor string `json:"actor"` + // Creation time of the entry. + CreatedAt time.Time `json:"createdAt"` + // Message that summarizes the entry. + Message string `json:"message"` + // The environment name that the entry belongs to. + EnvironmentName string `json:"environmentName"` +} + +// GetTypename returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesUnleashInstanceUpdatedActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesUnleashInstanceUpdatedActivityLogEntry) GetTypename() string { return v.Typename } -// GetSeverity returns GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesNoRunningInstancesIssue.Severity, and is useful for accessing the field via an interface. -func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesNoRunningInstancesIssue) GetSeverity() Severity { - return v.Severity +// GetActor returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesUnleashInstanceUpdatedActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesUnleashInstanceUpdatedActivityLogEntry) GetActor() string { + return v.Actor } -// GetMessage returns GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesNoRunningInstancesIssue.Message, and is useful for accessing the field via an interface. -func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesNoRunningInstancesIssue) GetMessage() string { +// GetCreatedAt returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesUnleashInstanceUpdatedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesUnleashInstanceUpdatedActivityLogEntry) GetCreatedAt() time.Time { + return v.CreatedAt +} + +// GetMessage returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesUnleashInstanceUpdatedActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesUnleashInstanceUpdatedActivityLogEntry) GetMessage() string { return v.Message } -// GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesOpenSearchIssue includes the requested fields of the GraphQL type OpenSearchIssue. -type GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesOpenSearchIssue struct { - Typename string `json:"__typename"` - Severity Severity `json:"severity"` - Message string `json:"message"` +// GetEnvironmentName returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesUnleashInstanceUpdatedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesUnleashInstanceUpdatedActivityLogEntry) GetEnvironmentName() string { + return v.EnvironmentName } -// GetTypename returns GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesOpenSearchIssue.Typename, and is useful for accessing the field via an interface. -func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesOpenSearchIssue) GetTypename() string { +// GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesValkeyCreatedActivityLogEntry includes the requested fields of the GraphQL type ValkeyCreatedActivityLogEntry. +type GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesValkeyCreatedActivityLogEntry struct { + Typename string `json:"__typename"` + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + Actor string `json:"actor"` + // Creation time of the entry. + CreatedAt time.Time `json:"createdAt"` + // Message that summarizes the entry. + Message string `json:"message"` + // The environment name that the entry belongs to. + EnvironmentName string `json:"environmentName"` +} + +// GetTypename returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesValkeyCreatedActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesValkeyCreatedActivityLogEntry) GetTypename() string { return v.Typename } -// GetSeverity returns GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesOpenSearchIssue.Severity, and is useful for accessing the field via an interface. -func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesOpenSearchIssue) GetSeverity() Severity { - return v.Severity +// GetActor returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesValkeyCreatedActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesValkeyCreatedActivityLogEntry) GetActor() string { + return v.Actor } -// GetMessage returns GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesOpenSearchIssue.Message, and is useful for accessing the field via an interface. -func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesOpenSearchIssue) GetMessage() string { +// GetCreatedAt returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesValkeyCreatedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesValkeyCreatedActivityLogEntry) GetCreatedAt() time.Time { + return v.CreatedAt +} + +// GetMessage returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesValkeyCreatedActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesValkeyCreatedActivityLogEntry) GetMessage() string { return v.Message } -// GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesSqlInstanceStateIssue includes the requested fields of the GraphQL type SqlInstanceStateIssue. -type GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesSqlInstanceStateIssue struct { - Typename string `json:"__typename"` - Severity Severity `json:"severity"` - Message string `json:"message"` +// GetEnvironmentName returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesValkeyCreatedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesValkeyCreatedActivityLogEntry) GetEnvironmentName() string { + return v.EnvironmentName } -// GetTypename returns GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesSqlInstanceStateIssue.Typename, and is useful for accessing the field via an interface. -func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesSqlInstanceStateIssue) GetTypename() string { +// GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesValkeyDeletedActivityLogEntry includes the requested fields of the GraphQL type ValkeyDeletedActivityLogEntry. +type GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesValkeyDeletedActivityLogEntry struct { + Typename string `json:"__typename"` + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + Actor string `json:"actor"` + // Creation time of the entry. + CreatedAt time.Time `json:"createdAt"` + // Message that summarizes the entry. + Message string `json:"message"` + // The environment name that the entry belongs to. + EnvironmentName string `json:"environmentName"` +} + +// GetTypename returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesValkeyDeletedActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesValkeyDeletedActivityLogEntry) GetTypename() string { return v.Typename } -// GetSeverity returns GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesSqlInstanceStateIssue.Severity, and is useful for accessing the field via an interface. -func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesSqlInstanceStateIssue) GetSeverity() Severity { - return v.Severity +// GetActor returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesValkeyDeletedActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesValkeyDeletedActivityLogEntry) GetActor() string { + return v.Actor } -// GetMessage returns GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesSqlInstanceStateIssue.Message, and is useful for accessing the field via an interface. -func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesSqlInstanceStateIssue) GetMessage() string { +// GetCreatedAt returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesValkeyDeletedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesValkeyDeletedActivityLogEntry) GetCreatedAt() time.Time { + return v.CreatedAt +} + +// GetMessage returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesValkeyDeletedActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesValkeyDeletedActivityLogEntry) GetMessage() string { return v.Message } -// GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesSqlInstanceVersionIssue includes the requested fields of the GraphQL type SqlInstanceVersionIssue. -type GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesSqlInstanceVersionIssue struct { - Typename string `json:"__typename"` - Severity Severity `json:"severity"` - Message string `json:"message"` +// GetEnvironmentName returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesValkeyDeletedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesValkeyDeletedActivityLogEntry) GetEnvironmentName() string { + return v.EnvironmentName } -// GetTypename returns GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesSqlInstanceVersionIssue.Typename, and is useful for accessing the field via an interface. -func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesSqlInstanceVersionIssue) GetTypename() string { +// GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesValkeyUpdatedActivityLogEntry includes the requested fields of the GraphQL type ValkeyUpdatedActivityLogEntry. +type GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesValkeyUpdatedActivityLogEntry struct { + Typename string `json:"__typename"` + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + Actor string `json:"actor"` + // Creation time of the entry. + CreatedAt time.Time `json:"createdAt"` + // Message that summarizes the entry. + Message string `json:"message"` + // The environment name that the entry belongs to. + EnvironmentName string `json:"environmentName"` +} + +// GetTypename returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesValkeyUpdatedActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesValkeyUpdatedActivityLogEntry) GetTypename() string { return v.Typename } -// GetSeverity returns GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesSqlInstanceVersionIssue.Severity, and is useful for accessing the field via an interface. -func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesSqlInstanceVersionIssue) GetSeverity() Severity { - return v.Severity +// GetActor returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesValkeyUpdatedActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesValkeyUpdatedActivityLogEntry) GetActor() string { + return v.Actor } -// GetMessage returns GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesSqlInstanceVersionIssue.Message, and is useful for accessing the field via an interface. -func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesSqlInstanceVersionIssue) GetMessage() string { +// GetCreatedAt returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesValkeyUpdatedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesValkeyUpdatedActivityLogEntry) GetCreatedAt() time.Time { + return v.CreatedAt +} + +// GetMessage returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesValkeyUpdatedActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesValkeyUpdatedActivityLogEntry) GetMessage() string { return v.Message } -// GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesUnleashReleaseChannelIssue includes the requested fields of the GraphQL type UnleashReleaseChannelIssue. -type GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesUnleashReleaseChannelIssue struct { - Typename string `json:"__typename"` - Severity Severity `json:"severity"` - Message string `json:"message"` +// GetEnvironmentName returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesValkeyUpdatedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesValkeyUpdatedActivityLogEntry) GetEnvironmentName() string { + return v.EnvironmentName } -// GetTypename returns GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesUnleashReleaseChannelIssue.Typename, and is useful for accessing the field via an interface. -func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesUnleashReleaseChannelIssue) GetTypename() string { +// GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesVulnerabilityUpdatedActivityLogEntry includes the requested fields of the GraphQL type VulnerabilityUpdatedActivityLogEntry. +type GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesVulnerabilityUpdatedActivityLogEntry struct { + Typename string `json:"__typename"` + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + Actor string `json:"actor"` + // Creation time of the entry. + CreatedAt time.Time `json:"createdAt"` + // Message that summarizes the entry. + Message string `json:"message"` + // The environment name that the entry belongs to. + EnvironmentName string `json:"environmentName"` +} + +// GetTypename returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesVulnerabilityUpdatedActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesVulnerabilityUpdatedActivityLogEntry) GetTypename() string { return v.Typename } -// GetSeverity returns GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesUnleashReleaseChannelIssue.Severity, and is useful for accessing the field via an interface. -func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesUnleashReleaseChannelIssue) GetSeverity() Severity { - return v.Severity +// GetActor returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesVulnerabilityUpdatedActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesVulnerabilityUpdatedActivityLogEntry) GetActor() string { + return v.Actor } -// GetMessage returns GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesUnleashReleaseChannelIssue.Message, and is useful for accessing the field via an interface. -func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesUnleashReleaseChannelIssue) GetMessage() string { +// GetCreatedAt returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesVulnerabilityUpdatedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesVulnerabilityUpdatedActivityLogEntry) GetCreatedAt() time.Time { + return v.CreatedAt +} + +// GetMessage returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesVulnerabilityUpdatedActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesVulnerabilityUpdatedActivityLogEntry) GetMessage() string { return v.Message } -// GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesValkeyIssue includes the requested fields of the GraphQL type ValkeyIssue. -type GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesValkeyIssue struct { - Typename string `json:"__typename"` - Severity Severity `json:"severity"` - Message string `json:"message"` +// GetEnvironmentName returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesVulnerabilityUpdatedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesVulnerabilityUpdatedActivityLogEntry) GetEnvironmentName() string { + return v.EnvironmentName } -// GetTypename returns GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesValkeyIssue.Typename, and is useful for accessing the field via an interface. -func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesValkeyIssue) GetTypename() string { - return v.Typename +// GetConfigActivityTeamConfigsConfigConnectionNodesConfigTeamEnvironment includes the requested fields of the GraphQL type TeamEnvironment. +type GetConfigActivityTeamConfigsConfigConnectionNodesConfigTeamEnvironment struct { + // Get the environment. + Environment GetConfigActivityTeamConfigsConfigConnectionNodesConfigTeamEnvironmentEnvironment `json:"environment"` +} + +// GetEnvironment returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigTeamEnvironment.Environment, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigTeamEnvironment) GetEnvironment() GetConfigActivityTeamConfigsConfigConnectionNodesConfigTeamEnvironmentEnvironment { + return v.Environment +} + +// GetConfigActivityTeamConfigsConfigConnectionNodesConfigTeamEnvironmentEnvironment includes the requested fields of the GraphQL type Environment. +// The GraphQL type's documentation follows. +// +// An environment represents a runtime environment for workloads. +// +// Learn more in the [official Nais documentation](https://docs.nais.io/workloads/explanations/environment/). +type GetConfigActivityTeamConfigsConfigConnectionNodesConfigTeamEnvironmentEnvironment struct { + // Unique name of the environment. + Name string `json:"name"` +} + +// GetName returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigTeamEnvironmentEnvironment.Name, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigTeamEnvironmentEnvironment) GetName() string { + return v.Name +} + +// GetConfigResponse is returned by GetConfig on success. +type GetConfigResponse struct { + // Get a team by its slug. + Team GetConfigTeam `json:"team"` +} + +// GetTeam returns GetConfigResponse.Team, and is useful for accessing the field via an interface. +func (v *GetConfigResponse) GetTeam() GetConfigTeam { return v.Team } + +// GetConfigTeam includes the requested fields of the GraphQL type Team. +// The GraphQL type's documentation follows. +// +// The team type represents a team on the [Nais platform](https://nais.io/). +// +// Learn more about what Nais teams are and what they can be used for in the [official Nais documentation](https://docs.nais.io/explanations/team/). +// +// External resources (e.g. entraIDGroupID, gitHubTeamSlug) are managed by [Nais API reconcilers](https://github.com/nais/api-reconcilers). +type GetConfigTeam struct { + // Get a specific environment for the team. + Environment GetConfigTeamEnvironment `json:"environment"` +} + +// GetEnvironment returns GetConfigTeam.Environment, and is useful for accessing the field via an interface. +func (v *GetConfigTeam) GetEnvironment() GetConfigTeamEnvironment { return v.Environment } + +// GetConfigTeamEnvironment includes the requested fields of the GraphQL type TeamEnvironment. +type GetConfigTeamEnvironment struct { + // Get a config by name. + Config GetConfigTeamEnvironmentConfig `json:"config"` +} + +// GetConfig returns GetConfigTeamEnvironment.Config, and is useful for accessing the field via an interface. +func (v *GetConfigTeamEnvironment) GetConfig() GetConfigTeamEnvironmentConfig { return v.Config } + +// GetConfigTeamEnvironmentConfig includes the requested fields of the GraphQL type Config. +// The GraphQL type's documentation follows. +// +// A config is a collection of key-value pairs. +type GetConfigTeamEnvironmentConfig struct { + // The name of the config. + Name string `json:"name"` + // The values stored in the config. + Values []GetConfigTeamEnvironmentConfigValuesConfigValue `json:"values"` + // The environment the config exists in. + TeamEnvironment GetConfigTeamEnvironmentConfigTeamEnvironment `json:"teamEnvironment"` + // Workloads that use the config. + Workloads GetConfigTeamEnvironmentConfigWorkloadsWorkloadConnection `json:"workloads"` + // Last time the config was modified. + LastModifiedAt time.Time `json:"lastModifiedAt"` + // User who last modified the config. + LastModifiedBy GetConfigTeamEnvironmentConfigLastModifiedByUser `json:"lastModifiedBy"` } -// GetSeverity returns GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesValkeyIssue.Severity, and is useful for accessing the field via an interface. -func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesValkeyIssue) GetSeverity() Severity { - return v.Severity -} +// GetName returns GetConfigTeamEnvironmentConfig.Name, and is useful for accessing the field via an interface. +func (v *GetConfigTeamEnvironmentConfig) GetName() string { return v.Name } -// GetMessage returns GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesValkeyIssue.Message, and is useful for accessing the field via an interface. -func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesValkeyIssue) GetMessage() string { - return v.Message +// GetValues returns GetConfigTeamEnvironmentConfig.Values, and is useful for accessing the field via an interface. +func (v *GetConfigTeamEnvironmentConfig) GetValues() []GetConfigTeamEnvironmentConfigValuesConfigValue { + return v.Values } -// GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesVulnerableImageIssue includes the requested fields of the GraphQL type VulnerableImageIssue. -type GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesVulnerableImageIssue struct { - Typename string `json:"__typename"` - Severity Severity `json:"severity"` - Message string `json:"message"` +// GetTeamEnvironment returns GetConfigTeamEnvironmentConfig.TeamEnvironment, and is useful for accessing the field via an interface. +func (v *GetConfigTeamEnvironmentConfig) GetTeamEnvironment() GetConfigTeamEnvironmentConfigTeamEnvironment { + return v.TeamEnvironment } -// GetTypename returns GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesVulnerableImageIssue.Typename, and is useful for accessing the field via an interface. -func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesVulnerableImageIssue) GetTypename() string { - return v.Typename +// GetWorkloads returns GetConfigTeamEnvironmentConfig.Workloads, and is useful for accessing the field via an interface. +func (v *GetConfigTeamEnvironmentConfig) GetWorkloads() GetConfigTeamEnvironmentConfigWorkloadsWorkloadConnection { + return v.Workloads } -// GetSeverity returns GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesVulnerableImageIssue.Severity, and is useful for accessing the field via an interface. -func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesVulnerableImageIssue) GetSeverity() Severity { - return v.Severity +// GetLastModifiedAt returns GetConfigTeamEnvironmentConfig.LastModifiedAt, and is useful for accessing the field via an interface. +func (v *GetConfigTeamEnvironmentConfig) GetLastModifiedAt() time.Time { return v.LastModifiedAt } + +// GetLastModifiedBy returns GetConfigTeamEnvironmentConfig.LastModifiedBy, and is useful for accessing the field via an interface. +func (v *GetConfigTeamEnvironmentConfig) GetLastModifiedBy() GetConfigTeamEnvironmentConfigLastModifiedByUser { + return v.LastModifiedBy } -// GetMessage returns GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesVulnerableImageIssue.Message, and is useful for accessing the field via an interface. -func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationIssuesIssueConnectionNodesVulnerableImageIssue) GetMessage() string { - return v.Message +// GetConfigTeamEnvironmentConfigLastModifiedByUser includes the requested fields of the GraphQL type User. +// The GraphQL type's documentation follows. +// +// The user type represents a user of the Nais platform and the Nais GraphQL API. +type GetConfigTeamEnvironmentConfigLastModifiedByUser struct { + // The email address of the user. + Email string `json:"email"` } -// GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationTeamEnvironment includes the requested fields of the GraphQL type TeamEnvironment. -type GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationTeamEnvironment struct { +// GetEmail returns GetConfigTeamEnvironmentConfigLastModifiedByUser.Email, and is useful for accessing the field via an interface. +func (v *GetConfigTeamEnvironmentConfigLastModifiedByUser) GetEmail() string { return v.Email } + +// GetConfigTeamEnvironmentConfigTeamEnvironment includes the requested fields of the GraphQL type TeamEnvironment. +type GetConfigTeamEnvironmentConfigTeamEnvironment struct { // Get the environment. - Environment GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationTeamEnvironmentEnvironment `json:"environment"` + Environment GetConfigTeamEnvironmentConfigTeamEnvironmentEnvironment `json:"environment"` } -// GetEnvironment returns GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationTeamEnvironment.Environment, and is useful for accessing the field via an interface. -func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationTeamEnvironment) GetEnvironment() GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationTeamEnvironmentEnvironment { +// GetEnvironment returns GetConfigTeamEnvironmentConfigTeamEnvironment.Environment, and is useful for accessing the field via an interface. +func (v *GetConfigTeamEnvironmentConfigTeamEnvironment) GetEnvironment() GetConfigTeamEnvironmentConfigTeamEnvironmentEnvironment { return v.Environment } -// GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationTeamEnvironmentEnvironment includes the requested fields of the GraphQL type Environment. +// GetConfigTeamEnvironmentConfigTeamEnvironmentEnvironment includes the requested fields of the GraphQL type Environment. // The GraphQL type's documentation follows. // // An environment represents a runtime environment for workloads. // // Learn more in the [official Nais documentation](https://docs.nais.io/workloads/explanations/environment/). -type GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationTeamEnvironmentEnvironment struct { +type GetConfigTeamEnvironmentConfigTeamEnvironmentEnvironment struct { // Unique name of the environment. Name string `json:"name"` } -// GetName returns GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationTeamEnvironmentEnvironment.Name, and is useful for accessing the field via an interface. -func (v *GetApplicationIssuesTeamApplicationsApplicationConnectionNodesApplicationTeamEnvironmentEnvironment) GetName() string { - return v.Name -} +// GetName returns GetConfigTeamEnvironmentConfigTeamEnvironmentEnvironment.Name, and is useful for accessing the field via an interface. +func (v *GetConfigTeamEnvironmentConfigTeamEnvironmentEnvironment) GetName() string { return v.Name } -// GetApplicationNamesResponse is returned by GetApplicationNames on success. -type GetApplicationNamesResponse struct { - // Get a team by its slug. - Team GetApplicationNamesTeam `json:"team"` +// GetConfigTeamEnvironmentConfigValuesConfigValue includes the requested fields of the GraphQL type ConfigValue. +type GetConfigTeamEnvironmentConfigValuesConfigValue struct { + // The name of the config value. + Name string `json:"name"` + // The config value itself. + Value string `json:"value"` } -// GetTeam returns GetApplicationNamesResponse.Team, and is useful for accessing the field via an interface. -func (v *GetApplicationNamesResponse) GetTeam() GetApplicationNamesTeam { return v.Team } +// GetName returns GetConfigTeamEnvironmentConfigValuesConfigValue.Name, and is useful for accessing the field via an interface. +func (v *GetConfigTeamEnvironmentConfigValuesConfigValue) GetName() string { return v.Name } -// GetApplicationNamesTeam includes the requested fields of the GraphQL type Team. +// GetValue returns GetConfigTeamEnvironmentConfigValuesConfigValue.Value, and is useful for accessing the field via an interface. +func (v *GetConfigTeamEnvironmentConfigValuesConfigValue) GetValue() string { return v.Value } + +// GetConfigTeamEnvironmentConfigWorkloadsWorkloadConnection includes the requested fields of the GraphQL type WorkloadConnection. // The GraphQL type's documentation follows. // -// The team type represents a team on the [Nais platform](https://nais.io/). -// -// Learn more about what Nais teams are and what they can be used for in the [official Nais documentation](https://docs.nais.io/explanations/team/). -// -// External resources (e.g. entraIDGroupID, gitHubTeamSlug) are managed by [Nais API reconcilers](https://github.com/nais/api-reconcilers). -type GetApplicationNamesTeam struct { - // Nais applications owned by the team. - Applications GetApplicationNamesTeamApplicationsApplicationConnection `json:"applications"` +// Workload connection. +type GetConfigTeamEnvironmentConfigWorkloadsWorkloadConnection struct { + // List of nodes. + Nodes []GetConfigTeamEnvironmentConfigWorkloadsWorkloadConnectionNodesWorkload `json:"-"` } -// GetApplications returns GetApplicationNamesTeam.Applications, and is useful for accessing the field via an interface. -func (v *GetApplicationNamesTeam) GetApplications() GetApplicationNamesTeamApplicationsApplicationConnection { - return v.Applications +// GetNodes returns GetConfigTeamEnvironmentConfigWorkloadsWorkloadConnection.Nodes, and is useful for accessing the field via an interface. +func (v *GetConfigTeamEnvironmentConfigWorkloadsWorkloadConnection) GetNodes() []GetConfigTeamEnvironmentConfigWorkloadsWorkloadConnectionNodesWorkload { + return v.Nodes } -// GetApplicationNamesTeamApplicationsApplicationConnection includes the requested fields of the GraphQL type ApplicationConnection. -// The GraphQL type's documentation follows. -// -// Application connection. -type GetApplicationNamesTeamApplicationsApplicationConnection struct { - // List of nodes. - Nodes []GetApplicationNamesTeamApplicationsApplicationConnectionNodesApplication `json:"nodes"` +func (v *GetConfigTeamEnvironmentConfigWorkloadsWorkloadConnection) UnmarshalJSON(b []byte) error { + + if string(b) == "null" { + return nil + } + + var firstPass struct { + *GetConfigTeamEnvironmentConfigWorkloadsWorkloadConnection + Nodes []json.RawMessage `json:"nodes"` + graphql.NoUnmarshalJSON + } + firstPass.GetConfigTeamEnvironmentConfigWorkloadsWorkloadConnection = v + + err := json.Unmarshal(b, &firstPass) + if err != nil { + return err + } + + { + dst := &v.Nodes + src := firstPass.Nodes + *dst = make( + []GetConfigTeamEnvironmentConfigWorkloadsWorkloadConnectionNodesWorkload, + len(src)) + for i, src := range src { + dst := &(*dst)[i] + if len(src) != 0 && string(src) != "null" { + err = __unmarshalGetConfigTeamEnvironmentConfigWorkloadsWorkloadConnectionNodesWorkload( + src, dst) + if err != nil { + return fmt.Errorf( + "unable to unmarshal GetConfigTeamEnvironmentConfigWorkloadsWorkloadConnection.Nodes: %w", err) + } + } + } + } + return nil } -// GetNodes returns GetApplicationNamesTeamApplicationsApplicationConnection.Nodes, and is useful for accessing the field via an interface. -func (v *GetApplicationNamesTeamApplicationsApplicationConnection) GetNodes() []GetApplicationNamesTeamApplicationsApplicationConnectionNodesApplication { - return v.Nodes +type __premarshalGetConfigTeamEnvironmentConfigWorkloadsWorkloadConnection struct { + Nodes []json.RawMessage `json:"nodes"` } -// GetApplicationNamesTeamApplicationsApplicationConnectionNodesApplication includes the requested fields of the GraphQL type Application. +func (v *GetConfigTeamEnvironmentConfigWorkloadsWorkloadConnection) MarshalJSON() ([]byte, error) { + premarshaled, err := v.__premarshalJSON() + if err != nil { + return nil, err + } + return json.Marshal(premarshaled) +} + +func (v *GetConfigTeamEnvironmentConfigWorkloadsWorkloadConnection) __premarshalJSON() (*__premarshalGetConfigTeamEnvironmentConfigWorkloadsWorkloadConnection, error) { + var retval __premarshalGetConfigTeamEnvironmentConfigWorkloadsWorkloadConnection + + { + + dst := &retval.Nodes + src := v.Nodes + *dst = make( + []json.RawMessage, + len(src)) + for i, src := range src { + dst := &(*dst)[i] + var err error + *dst, err = __marshalGetConfigTeamEnvironmentConfigWorkloadsWorkloadConnectionNodesWorkload( + &src) + if err != nil { + return nil, fmt.Errorf( + "unable to marshal GetConfigTeamEnvironmentConfigWorkloadsWorkloadConnection.Nodes: %w", err) + } + } + } + return &retval, nil +} + +// GetConfigTeamEnvironmentConfigWorkloadsWorkloadConnectionNodesApplication includes the requested fields of the GraphQL type Application. // The GraphQL type's documentation follows. // // An application lets you run one or more instances of a container image on the [Nais platform](https://nais.io/). // // Learn more about how to create and configure your applications in the [Nais documentation](https://docs.nais.io/workloads/application/). -type GetApplicationNamesTeamApplicationsApplicationConnectionNodesApplication struct { - // The name of the application. - Name string `json:"name"` - // The team environment for the application. - TeamEnvironment GetApplicationNamesTeamApplicationsApplicationConnectionNodesApplicationTeamEnvironment `json:"teamEnvironment"` +type GetConfigTeamEnvironmentConfigWorkloadsWorkloadConnectionNodesApplication struct { + // The name of the workload. + Name string `json:"name"` + Typename string `json:"__typename"` } -// GetName returns GetApplicationNamesTeamApplicationsApplicationConnectionNodesApplication.Name, and is useful for accessing the field via an interface. -func (v *GetApplicationNamesTeamApplicationsApplicationConnectionNodesApplication) GetName() string { +// GetName returns GetConfigTeamEnvironmentConfigWorkloadsWorkloadConnectionNodesApplication.Name, and is useful for accessing the field via an interface. +func (v *GetConfigTeamEnvironmentConfigWorkloadsWorkloadConnectionNodesApplication) GetName() string { return v.Name } -// GetTeamEnvironment returns GetApplicationNamesTeamApplicationsApplicationConnectionNodesApplication.TeamEnvironment, and is useful for accessing the field via an interface. -func (v *GetApplicationNamesTeamApplicationsApplicationConnectionNodesApplication) GetTeamEnvironment() GetApplicationNamesTeamApplicationsApplicationConnectionNodesApplicationTeamEnvironment { - return v.TeamEnvironment +// GetTypename returns GetConfigTeamEnvironmentConfigWorkloadsWorkloadConnectionNodesApplication.Typename, and is useful for accessing the field via an interface. +func (v *GetConfigTeamEnvironmentConfigWorkloadsWorkloadConnectionNodesApplication) GetTypename() string { + return v.Typename } -// GetApplicationNamesTeamApplicationsApplicationConnectionNodesApplicationTeamEnvironment includes the requested fields of the GraphQL type TeamEnvironment. -type GetApplicationNamesTeamApplicationsApplicationConnectionNodesApplicationTeamEnvironment struct { - // Get the environment. - Environment GetApplicationNamesTeamApplicationsApplicationConnectionNodesApplicationTeamEnvironmentEnvironment `json:"environment"` +// GetConfigTeamEnvironmentConfigWorkloadsWorkloadConnectionNodesJob includes the requested fields of the GraphQL type Job. +type GetConfigTeamEnvironmentConfigWorkloadsWorkloadConnectionNodesJob struct { + // The name of the workload. + Name string `json:"name"` + Typename string `json:"__typename"` } -// GetEnvironment returns GetApplicationNamesTeamApplicationsApplicationConnectionNodesApplicationTeamEnvironment.Environment, and is useful for accessing the field via an interface. -func (v *GetApplicationNamesTeamApplicationsApplicationConnectionNodesApplicationTeamEnvironment) GetEnvironment() GetApplicationNamesTeamApplicationsApplicationConnectionNodesApplicationTeamEnvironmentEnvironment { - return v.Environment +// GetName returns GetConfigTeamEnvironmentConfigWorkloadsWorkloadConnectionNodesJob.Name, and is useful for accessing the field via an interface. +func (v *GetConfigTeamEnvironmentConfigWorkloadsWorkloadConnectionNodesJob) GetName() string { + return v.Name } -// GetApplicationNamesTeamApplicationsApplicationConnectionNodesApplicationTeamEnvironmentEnvironment includes the requested fields of the GraphQL type Environment. -// The GraphQL type's documentation follows. +// GetTypename returns GetConfigTeamEnvironmentConfigWorkloadsWorkloadConnectionNodesJob.Typename, and is useful for accessing the field via an interface. +func (v *GetConfigTeamEnvironmentConfigWorkloadsWorkloadConnectionNodesJob) GetTypename() string { + return v.Typename +} + +// GetConfigTeamEnvironmentConfigWorkloadsWorkloadConnectionNodesWorkload includes the requested fields of the GraphQL interface Workload. // -// An environment represents a runtime environment for workloads. +// GetConfigTeamEnvironmentConfigWorkloadsWorkloadConnectionNodesWorkload is implemented by the following types: +// GetConfigTeamEnvironmentConfigWorkloadsWorkloadConnectionNodesApplication +// GetConfigTeamEnvironmentConfigWorkloadsWorkloadConnectionNodesJob +// The GraphQL type's documentation follows. // -// Learn more in the [official Nais documentation](https://docs.nais.io/workloads/explanations/environment/). -type GetApplicationNamesTeamApplicationsApplicationConnectionNodesApplicationTeamEnvironmentEnvironment struct { - // Unique name of the environment. - Name string `json:"name"` +// Interface for workloads. +type GetConfigTeamEnvironmentConfigWorkloadsWorkloadConnectionNodesWorkload interface { + implementsGraphQLInterfaceGetConfigTeamEnvironmentConfigWorkloadsWorkloadConnectionNodesWorkload() + // GetName returns the interface-field "name" from its implementation. + // The GraphQL interface field's documentation follows. + // + // The name of the workload. + GetName() string + // GetTypename returns the receiver's concrete GraphQL type-name (see interface doc for possible values). + GetTypename() string } -// GetName returns GetApplicationNamesTeamApplicationsApplicationConnectionNodesApplicationTeamEnvironmentEnvironment.Name, and is useful for accessing the field via an interface. -func (v *GetApplicationNamesTeamApplicationsApplicationConnectionNodesApplicationTeamEnvironmentEnvironment) GetName() string { - return v.Name +func (v *GetConfigTeamEnvironmentConfigWorkloadsWorkloadConnectionNodesApplication) implementsGraphQLInterfaceGetConfigTeamEnvironmentConfigWorkloadsWorkloadConnectionNodesWorkload() { +} +func (v *GetConfigTeamEnvironmentConfigWorkloadsWorkloadConnectionNodesJob) implementsGraphQLInterfaceGetConfigTeamEnvironmentConfigWorkloadsWorkloadConnectionNodesWorkload() { +} + +func __unmarshalGetConfigTeamEnvironmentConfigWorkloadsWorkloadConnectionNodesWorkload(b []byte, v *GetConfigTeamEnvironmentConfigWorkloadsWorkloadConnectionNodesWorkload) error { + if string(b) == "null" { + return nil + } + + var tn struct { + TypeName string `json:"__typename"` + } + err := json.Unmarshal(b, &tn) + if err != nil { + return err + } + + switch tn.TypeName { + case "Application": + *v = new(GetConfigTeamEnvironmentConfigWorkloadsWorkloadConnectionNodesApplication) + return json.Unmarshal(b, *v) + case "Job": + *v = new(GetConfigTeamEnvironmentConfigWorkloadsWorkloadConnectionNodesJob) + return json.Unmarshal(b, *v) + case "": + return fmt.Errorf( + "response was missing Workload.__typename") + default: + return fmt.Errorf( + `unexpected concrete type for GetConfigTeamEnvironmentConfigWorkloadsWorkloadConnectionNodesWorkload: "%v"`, tn.TypeName) + } +} + +func __marshalGetConfigTeamEnvironmentConfigWorkloadsWorkloadConnectionNodesWorkload(v *GetConfigTeamEnvironmentConfigWorkloadsWorkloadConnectionNodesWorkload) ([]byte, error) { + + var typename string + switch v := (*v).(type) { + case *GetConfigTeamEnvironmentConfigWorkloadsWorkloadConnectionNodesApplication: + typename = "Application" + + result := struct { + TypeName string `json:"__typename"` + *GetConfigTeamEnvironmentConfigWorkloadsWorkloadConnectionNodesApplication + }{typename, v} + return json.Marshal(result) + case *GetConfigTeamEnvironmentConfigWorkloadsWorkloadConnectionNodesJob: + typename = "Job" + + result := struct { + TypeName string `json:"__typename"` + *GetConfigTeamEnvironmentConfigWorkloadsWorkloadConnectionNodesJob + }{typename, v} + return json.Marshal(result) + case nil: + return []byte("null"), nil + default: + return nil, fmt.Errorf( + `unexpected concrete type for GetConfigTeamEnvironmentConfigWorkloadsWorkloadConnectionNodesWorkload: "%T"`, v) + } } // GetJobActivityResponse is returned by GetJobActivity on success. @@ -8226,10 +12023,12 @@ func (v *GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryC // GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesApplicationRestartedActivityLogEntry // GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesApplicationScaledActivityLogEntry // GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry +// GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesConfigCreatedActivityLogEntry +// GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesConfigDeletedActivityLogEntry +// GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesConfigUpdatedActivityLogEntry // GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesCredentialsActivityLogEntry // GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesDeploymentActivityLogEntry // GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesJobDeletedActivityLogEntry -// GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesJobRunDeletedActivityLogEntry // GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesJobTriggeredActivityLogEntry // GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesOpenSearchCreatedActivityLogEntry // GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesOpenSearchDeletedActivityLogEntry @@ -8281,22 +12080,22 @@ type GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConne // GetActor returns the interface-field "actor" from its implementation. // The GraphQL interface field's documentation follows. // - // Interface for activity log entries. + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. GetActor() string // GetCreatedAt returns the interface-field "createdAt" from its implementation. // The GraphQL interface field's documentation follows. // - // Interface for activity log entries. + // Creation time of the entry. GetCreatedAt() time.Time // GetMessage returns the interface-field "message" from its implementation. // The GraphQL interface field's documentation follows. // - // Interface for activity log entries. + // Message that summarizes the entry. GetMessage() string // GetEnvironmentName returns the interface-field "environmentName" from its implementation. // The GraphQL interface field's documentation follows. // - // Interface for activity log entries. + // The environment name that the entry belongs to. GetEnvironmentName() string } @@ -8308,14 +12107,18 @@ func (v *GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryC } func (v *GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry) implementsGraphQLInterfaceGetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { } +func (v *GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesConfigCreatedActivityLogEntry) implementsGraphQLInterfaceGetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { +} +func (v *GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesConfigDeletedActivityLogEntry) implementsGraphQLInterfaceGetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { +} +func (v *GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesConfigUpdatedActivityLogEntry) implementsGraphQLInterfaceGetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { +} func (v *GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesCredentialsActivityLogEntry) implementsGraphQLInterfaceGetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { } func (v *GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesDeploymentActivityLogEntry) implementsGraphQLInterfaceGetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { } func (v *GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesJobDeletedActivityLogEntry) implementsGraphQLInterfaceGetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { } -func (v *GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesJobRunDeletedActivityLogEntry) implementsGraphQLInterfaceGetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { -} func (v *GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesJobTriggeredActivityLogEntry) implementsGraphQLInterfaceGetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { } func (v *GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesOpenSearchCreatedActivityLogEntry) implementsGraphQLInterfaceGetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { @@ -8425,6 +12228,15 @@ func __unmarshalGetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLo case "ClusterAuditActivityLogEntry": *v = new(GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry) return json.Unmarshal(b, *v) + case "ConfigCreatedActivityLogEntry": + *v = new(GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesConfigCreatedActivityLogEntry) + return json.Unmarshal(b, *v) + case "ConfigDeletedActivityLogEntry": + *v = new(GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesConfigDeletedActivityLogEntry) + return json.Unmarshal(b, *v) + case "ConfigUpdatedActivityLogEntry": + *v = new(GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesConfigUpdatedActivityLogEntry) + return json.Unmarshal(b, *v) case "CredentialsActivityLogEntry": *v = new(GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesCredentialsActivityLogEntry) return json.Unmarshal(b, *v) @@ -8434,9 +12246,6 @@ func __unmarshalGetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLo case "JobDeletedActivityLogEntry": *v = new(GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesJobDeletedActivityLogEntry) return json.Unmarshal(b, *v) - case "JobRunDeletedActivityLogEntry": - *v = new(GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesJobRunDeletedActivityLogEntry) - return json.Unmarshal(b, *v) case "JobTriggeredActivityLogEntry": *v = new(GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesJobTriggeredActivityLogEntry) return json.Unmarshal(b, *v) @@ -8594,15 +12403,39 @@ func __marshalGetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogE result := struct { TypeName string `json:"__typename"` - *GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesApplicationScaledActivityLogEntry + *GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesApplicationScaledActivityLogEntry + }{typename, v} + return json.Marshal(result) + case *GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry: + typename = "ClusterAuditActivityLogEntry" + + result := struct { + TypeName string `json:"__typename"` + *GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry + }{typename, v} + return json.Marshal(result) + case *GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesConfigCreatedActivityLogEntry: + typename = "ConfigCreatedActivityLogEntry" + + result := struct { + TypeName string `json:"__typename"` + *GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesConfigCreatedActivityLogEntry + }{typename, v} + return json.Marshal(result) + case *GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesConfigDeletedActivityLogEntry: + typename = "ConfigDeletedActivityLogEntry" + + result := struct { + TypeName string `json:"__typename"` + *GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesConfigDeletedActivityLogEntry }{typename, v} return json.Marshal(result) - case *GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry: - typename = "ClusterAuditActivityLogEntry" + case *GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesConfigUpdatedActivityLogEntry: + typename = "ConfigUpdatedActivityLogEntry" result := struct { TypeName string `json:"__typename"` - *GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry + *GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesConfigUpdatedActivityLogEntry }{typename, v} return json.Marshal(result) case *GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesCredentialsActivityLogEntry: @@ -8629,14 +12462,6 @@ func __marshalGetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogE *GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesJobDeletedActivityLogEntry }{typename, v} return json.Marshal(result) - case *GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesJobRunDeletedActivityLogEntry: - typename = "JobRunDeletedActivityLogEntry" - - result := struct { - TypeName string `json:"__typename"` - *GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesJobRunDeletedActivityLogEntry - }{typename, v} - return json.Marshal(result) case *GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesJobTriggeredActivityLogEntry: typename = "JobTriggeredActivityLogEntry" @@ -8976,13 +12801,13 @@ func __marshalGetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogE // GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesApplicationDeletedActivityLogEntry includes the requested fields of the GraphQL type ApplicationDeletedActivityLogEntry. type GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesApplicationDeletedActivityLogEntry struct { Typename string `json:"__typename"` - // Interface for activity log entries. + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. Actor string `json:"actor"` - // Interface for activity log entries. + // Creation time of the entry. CreatedAt time.Time `json:"createdAt"` - // Interface for activity log entries. + // Message that summarizes the entry. Message string `json:"message"` - // Interface for activity log entries. + // The environment name that the entry belongs to. EnvironmentName string `json:"environmentName"` } @@ -9014,13 +12839,13 @@ func (v *GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryC // GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesApplicationRestartedActivityLogEntry includes the requested fields of the GraphQL type ApplicationRestartedActivityLogEntry. type GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesApplicationRestartedActivityLogEntry struct { Typename string `json:"__typename"` - // Interface for activity log entries. + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. Actor string `json:"actor"` - // Interface for activity log entries. + // Creation time of the entry. CreatedAt time.Time `json:"createdAt"` - // Interface for activity log entries. + // Message that summarizes the entry. Message string `json:"message"` - // Interface for activity log entries. + // The environment name that the entry belongs to. EnvironmentName string `json:"environmentName"` } @@ -9052,13 +12877,13 @@ func (v *GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryC // GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesApplicationScaledActivityLogEntry includes the requested fields of the GraphQL type ApplicationScaledActivityLogEntry. type GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesApplicationScaledActivityLogEntry struct { Typename string `json:"__typename"` - // Interface for activity log entries. + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. Actor string `json:"actor"` - // Interface for activity log entries. + // Creation time of the entry. CreatedAt time.Time `json:"createdAt"` - // Interface for activity log entries. + // Message that summarizes the entry. Message string `json:"message"` - // Interface for activity log entries. + // The environment name that the entry belongs to. EnvironmentName string `json:"environmentName"` } @@ -9090,13 +12915,13 @@ func (v *GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryC // GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry includes the requested fields of the GraphQL type ClusterAuditActivityLogEntry. type GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry struct { Typename string `json:"__typename"` - // Interface for activity log entries. + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. Actor string `json:"actor"` - // Interface for activity log entries. + // Creation time of the entry. CreatedAt time.Time `json:"createdAt"` - // Interface for activity log entries. + // Message that summarizes the entry. Message string `json:"message"` - // Interface for activity log entries. + // The environment name that the entry belongs to. EnvironmentName string `json:"environmentName"` } @@ -9125,16 +12950,130 @@ func (v *GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryC return v.EnvironmentName } +// GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesConfigCreatedActivityLogEntry includes the requested fields of the GraphQL type ConfigCreatedActivityLogEntry. +type GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesConfigCreatedActivityLogEntry struct { + Typename string `json:"__typename"` + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + Actor string `json:"actor"` + // Creation time of the entry. + CreatedAt time.Time `json:"createdAt"` + // Message that summarizes the entry. + Message string `json:"message"` + // The environment name that the entry belongs to. + EnvironmentName string `json:"environmentName"` +} + +// GetTypename returns GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesConfigCreatedActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesConfigCreatedActivityLogEntry) GetTypename() string { + return v.Typename +} + +// GetActor returns GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesConfigCreatedActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesConfigCreatedActivityLogEntry) GetActor() string { + return v.Actor +} + +// GetCreatedAt returns GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesConfigCreatedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesConfigCreatedActivityLogEntry) GetCreatedAt() time.Time { + return v.CreatedAt +} + +// GetMessage returns GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesConfigCreatedActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesConfigCreatedActivityLogEntry) GetMessage() string { + return v.Message +} + +// GetEnvironmentName returns GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesConfigCreatedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesConfigCreatedActivityLogEntry) GetEnvironmentName() string { + return v.EnvironmentName +} + +// GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesConfigDeletedActivityLogEntry includes the requested fields of the GraphQL type ConfigDeletedActivityLogEntry. +type GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesConfigDeletedActivityLogEntry struct { + Typename string `json:"__typename"` + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + Actor string `json:"actor"` + // Creation time of the entry. + CreatedAt time.Time `json:"createdAt"` + // Message that summarizes the entry. + Message string `json:"message"` + // The environment name that the entry belongs to. + EnvironmentName string `json:"environmentName"` +} + +// GetTypename returns GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesConfigDeletedActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesConfigDeletedActivityLogEntry) GetTypename() string { + return v.Typename +} + +// GetActor returns GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesConfigDeletedActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesConfigDeletedActivityLogEntry) GetActor() string { + return v.Actor +} + +// GetCreatedAt returns GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesConfigDeletedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesConfigDeletedActivityLogEntry) GetCreatedAt() time.Time { + return v.CreatedAt +} + +// GetMessage returns GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesConfigDeletedActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesConfigDeletedActivityLogEntry) GetMessage() string { + return v.Message +} + +// GetEnvironmentName returns GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesConfigDeletedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesConfigDeletedActivityLogEntry) GetEnvironmentName() string { + return v.EnvironmentName +} + +// GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesConfigUpdatedActivityLogEntry includes the requested fields of the GraphQL type ConfigUpdatedActivityLogEntry. +type GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesConfigUpdatedActivityLogEntry struct { + Typename string `json:"__typename"` + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + Actor string `json:"actor"` + // Creation time of the entry. + CreatedAt time.Time `json:"createdAt"` + // Message that summarizes the entry. + Message string `json:"message"` + // The environment name that the entry belongs to. + EnvironmentName string `json:"environmentName"` +} + +// GetTypename returns GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesConfigUpdatedActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesConfigUpdatedActivityLogEntry) GetTypename() string { + return v.Typename +} + +// GetActor returns GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesConfigUpdatedActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesConfigUpdatedActivityLogEntry) GetActor() string { + return v.Actor +} + +// GetCreatedAt returns GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesConfigUpdatedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesConfigUpdatedActivityLogEntry) GetCreatedAt() time.Time { + return v.CreatedAt +} + +// GetMessage returns GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesConfigUpdatedActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesConfigUpdatedActivityLogEntry) GetMessage() string { + return v.Message +} + +// GetEnvironmentName returns GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesConfigUpdatedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesConfigUpdatedActivityLogEntry) GetEnvironmentName() string { + return v.EnvironmentName +} + // GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesCredentialsActivityLogEntry includes the requested fields of the GraphQL type CredentialsActivityLogEntry. type GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesCredentialsActivityLogEntry struct { Typename string `json:"__typename"` - // Interface for activity log entries. + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. Actor string `json:"actor"` - // Interface for activity log entries. + // Creation time of the entry. CreatedAt time.Time `json:"createdAt"` - // Interface for activity log entries. + // Message that summarizes the entry. Message string `json:"message"` - // Interface for activity log entries. + // The environment name that the entry belongs to. EnvironmentName string `json:"environmentName"` } @@ -9166,13 +13105,13 @@ func (v *GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryC // GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesDeploymentActivityLogEntry includes the requested fields of the GraphQL type DeploymentActivityLogEntry. type GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesDeploymentActivityLogEntry struct { Typename string `json:"__typename"` - // Interface for activity log entries. + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. Actor string `json:"actor"` - // Interface for activity log entries. + // Creation time of the entry. CreatedAt time.Time `json:"createdAt"` - // Interface for activity log entries. + // Message that summarizes the entry. Message string `json:"message"` - // Interface for activity log entries. + // The environment name that the entry belongs to. EnvironmentName string `json:"environmentName"` } @@ -9204,13 +13143,13 @@ func (v *GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryC // GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesJobDeletedActivityLogEntry includes the requested fields of the GraphQL type JobDeletedActivityLogEntry. type GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesJobDeletedActivityLogEntry struct { Typename string `json:"__typename"` - // Interface for activity log entries. + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. Actor string `json:"actor"` - // Interface for activity log entries. + // Creation time of the entry. CreatedAt time.Time `json:"createdAt"` - // Interface for activity log entries. + // Message that summarizes the entry. Message string `json:"message"` - // Interface for activity log entries. + // The environment name that the entry belongs to. EnvironmentName string `json:"environmentName"` } @@ -9239,54 +13178,16 @@ func (v *GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryC return v.EnvironmentName } -// GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesJobRunDeletedActivityLogEntry includes the requested fields of the GraphQL type JobRunDeletedActivityLogEntry. -type GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesJobRunDeletedActivityLogEntry struct { - Typename string `json:"__typename"` - // Interface for activity log entries. - Actor string `json:"actor"` - // Interface for activity log entries. - CreatedAt time.Time `json:"createdAt"` - // Interface for activity log entries. - Message string `json:"message"` - // Interface for activity log entries. - EnvironmentName string `json:"environmentName"` -} - -// GetTypename returns GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesJobRunDeletedActivityLogEntry.Typename, and is useful for accessing the field via an interface. -func (v *GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesJobRunDeletedActivityLogEntry) GetTypename() string { - return v.Typename -} - -// GetActor returns GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesJobRunDeletedActivityLogEntry.Actor, and is useful for accessing the field via an interface. -func (v *GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesJobRunDeletedActivityLogEntry) GetActor() string { - return v.Actor -} - -// GetCreatedAt returns GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesJobRunDeletedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. -func (v *GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesJobRunDeletedActivityLogEntry) GetCreatedAt() time.Time { - return v.CreatedAt -} - -// GetMessage returns GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesJobRunDeletedActivityLogEntry.Message, and is useful for accessing the field via an interface. -func (v *GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesJobRunDeletedActivityLogEntry) GetMessage() string { - return v.Message -} - -// GetEnvironmentName returns GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesJobRunDeletedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. -func (v *GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesJobRunDeletedActivityLogEntry) GetEnvironmentName() string { - return v.EnvironmentName -} - // GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesJobTriggeredActivityLogEntry includes the requested fields of the GraphQL type JobTriggeredActivityLogEntry. type GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesJobTriggeredActivityLogEntry struct { Typename string `json:"__typename"` - // Interface for activity log entries. + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. Actor string `json:"actor"` - // Interface for activity log entries. + // Creation time of the entry. CreatedAt time.Time `json:"createdAt"` - // Interface for activity log entries. + // Message that summarizes the entry. Message string `json:"message"` - // Interface for activity log entries. + // The environment name that the entry belongs to. EnvironmentName string `json:"environmentName"` } @@ -9318,13 +13219,13 @@ func (v *GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryC // GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesOpenSearchCreatedActivityLogEntry includes the requested fields of the GraphQL type OpenSearchCreatedActivityLogEntry. type GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesOpenSearchCreatedActivityLogEntry struct { Typename string `json:"__typename"` - // Interface for activity log entries. + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. Actor string `json:"actor"` - // Interface for activity log entries. + // Creation time of the entry. CreatedAt time.Time `json:"createdAt"` - // Interface for activity log entries. + // Message that summarizes the entry. Message string `json:"message"` - // Interface for activity log entries. + // The environment name that the entry belongs to. EnvironmentName string `json:"environmentName"` } @@ -9356,13 +13257,13 @@ func (v *GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryC // GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesOpenSearchDeletedActivityLogEntry includes the requested fields of the GraphQL type OpenSearchDeletedActivityLogEntry. type GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesOpenSearchDeletedActivityLogEntry struct { Typename string `json:"__typename"` - // Interface for activity log entries. + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. Actor string `json:"actor"` - // Interface for activity log entries. + // Creation time of the entry. CreatedAt time.Time `json:"createdAt"` - // Interface for activity log entries. + // Message that summarizes the entry. Message string `json:"message"` - // Interface for activity log entries. + // The environment name that the entry belongs to. EnvironmentName string `json:"environmentName"` } @@ -9394,13 +13295,13 @@ func (v *GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryC // GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesOpenSearchUpdatedActivityLogEntry includes the requested fields of the GraphQL type OpenSearchUpdatedActivityLogEntry. type GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesOpenSearchUpdatedActivityLogEntry struct { Typename string `json:"__typename"` - // Interface for activity log entries. + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. Actor string `json:"actor"` - // Interface for activity log entries. + // Creation time of the entry. CreatedAt time.Time `json:"createdAt"` - // Interface for activity log entries. + // Message that summarizes the entry. Message string `json:"message"` - // Interface for activity log entries. + // The environment name that the entry belongs to. EnvironmentName string `json:"environmentName"` } @@ -9432,13 +13333,13 @@ func (v *GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryC // GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesPostgresGrantAccessActivityLogEntry includes the requested fields of the GraphQL type PostgresGrantAccessActivityLogEntry. type GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesPostgresGrantAccessActivityLogEntry struct { Typename string `json:"__typename"` - // Interface for activity log entries. + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. Actor string `json:"actor"` - // Interface for activity log entries. + // Creation time of the entry. CreatedAt time.Time `json:"createdAt"` - // Interface for activity log entries. + // Message that summarizes the entry. Message string `json:"message"` - // Interface for activity log entries. + // The environment name that the entry belongs to. EnvironmentName string `json:"environmentName"` } @@ -9470,13 +13371,13 @@ func (v *GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryC // GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesReconcilerConfiguredActivityLogEntry includes the requested fields of the GraphQL type ReconcilerConfiguredActivityLogEntry. type GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesReconcilerConfiguredActivityLogEntry struct { Typename string `json:"__typename"` - // Interface for activity log entries. + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. Actor string `json:"actor"` - // Interface for activity log entries. + // Creation time of the entry. CreatedAt time.Time `json:"createdAt"` - // Interface for activity log entries. + // Message that summarizes the entry. Message string `json:"message"` - // Interface for activity log entries. + // The environment name that the entry belongs to. EnvironmentName string `json:"environmentName"` } @@ -9508,13 +13409,13 @@ func (v *GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryC // GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesReconcilerDisabledActivityLogEntry includes the requested fields of the GraphQL type ReconcilerDisabledActivityLogEntry. type GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesReconcilerDisabledActivityLogEntry struct { Typename string `json:"__typename"` - // Interface for activity log entries. + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. Actor string `json:"actor"` - // Interface for activity log entries. + // Creation time of the entry. CreatedAt time.Time `json:"createdAt"` - // Interface for activity log entries. + // Message that summarizes the entry. Message string `json:"message"` - // Interface for activity log entries. + // The environment name that the entry belongs to. EnvironmentName string `json:"environmentName"` } @@ -9546,13 +13447,13 @@ func (v *GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryC // GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesReconcilerEnabledActivityLogEntry includes the requested fields of the GraphQL type ReconcilerEnabledActivityLogEntry. type GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesReconcilerEnabledActivityLogEntry struct { Typename string `json:"__typename"` - // Interface for activity log entries. + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. Actor string `json:"actor"` - // Interface for activity log entries. + // Creation time of the entry. CreatedAt time.Time `json:"createdAt"` - // Interface for activity log entries. + // Message that summarizes the entry. Message string `json:"message"` - // Interface for activity log entries. + // The environment name that the entry belongs to. EnvironmentName string `json:"environmentName"` } @@ -9584,13 +13485,13 @@ func (v *GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryC // GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesRepositoryAddedActivityLogEntry includes the requested fields of the GraphQL type RepositoryAddedActivityLogEntry. type GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesRepositoryAddedActivityLogEntry struct { Typename string `json:"__typename"` - // Interface for activity log entries. + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. Actor string `json:"actor"` - // Interface for activity log entries. + // Creation time of the entry. CreatedAt time.Time `json:"createdAt"` - // Interface for activity log entries. + // Message that summarizes the entry. Message string `json:"message"` - // Interface for activity log entries. + // The environment name that the entry belongs to. EnvironmentName string `json:"environmentName"` } @@ -9622,13 +13523,13 @@ func (v *GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryC // GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesRepositoryRemovedActivityLogEntry includes the requested fields of the GraphQL type RepositoryRemovedActivityLogEntry. type GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesRepositoryRemovedActivityLogEntry struct { Typename string `json:"__typename"` - // Interface for activity log entries. + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. Actor string `json:"actor"` - // Interface for activity log entries. + // Creation time of the entry. CreatedAt time.Time `json:"createdAt"` - // Interface for activity log entries. + // Message that summarizes the entry. Message string `json:"message"` - // Interface for activity log entries. + // The environment name that the entry belongs to. EnvironmentName string `json:"environmentName"` } @@ -9660,13 +13561,13 @@ func (v *GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryC // GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesRoleAssignedToServiceAccountActivityLogEntry includes the requested fields of the GraphQL type RoleAssignedToServiceAccountActivityLogEntry. type GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesRoleAssignedToServiceAccountActivityLogEntry struct { Typename string `json:"__typename"` - // Interface for activity log entries. + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. Actor string `json:"actor"` - // Interface for activity log entries. + // Creation time of the entry. CreatedAt time.Time `json:"createdAt"` - // Interface for activity log entries. + // Message that summarizes the entry. Message string `json:"message"` - // Interface for activity log entries. + // The environment name that the entry belongs to. EnvironmentName string `json:"environmentName"` } @@ -9698,13 +13599,13 @@ func (v *GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryC // GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesRoleRevokedFromServiceAccountActivityLogEntry includes the requested fields of the GraphQL type RoleRevokedFromServiceAccountActivityLogEntry. type GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesRoleRevokedFromServiceAccountActivityLogEntry struct { Typename string `json:"__typename"` - // Interface for activity log entries. + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. Actor string `json:"actor"` - // Interface for activity log entries. + // Creation time of the entry. CreatedAt time.Time `json:"createdAt"` - // Interface for activity log entries. + // Message that summarizes the entry. Message string `json:"message"` - // Interface for activity log entries. + // The environment name that the entry belongs to. EnvironmentName string `json:"environmentName"` } @@ -9736,13 +13637,13 @@ func (v *GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryC // GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesSecretCreatedActivityLogEntry includes the requested fields of the GraphQL type SecretCreatedActivityLogEntry. type GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesSecretCreatedActivityLogEntry struct { Typename string `json:"__typename"` - // Interface for activity log entries. + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. Actor string `json:"actor"` - // Interface for activity log entries. + // Creation time of the entry. CreatedAt time.Time `json:"createdAt"` - // Interface for activity log entries. + // Message that summarizes the entry. Message string `json:"message"` - // Interface for activity log entries. + // The environment name that the entry belongs to. EnvironmentName string `json:"environmentName"` } @@ -9774,13 +13675,13 @@ func (v *GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryC // GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesSecretDeletedActivityLogEntry includes the requested fields of the GraphQL type SecretDeletedActivityLogEntry. type GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesSecretDeletedActivityLogEntry struct { Typename string `json:"__typename"` - // Interface for activity log entries. + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. Actor string `json:"actor"` - // Interface for activity log entries. + // Creation time of the entry. CreatedAt time.Time `json:"createdAt"` - // Interface for activity log entries. + // Message that summarizes the entry. Message string `json:"message"` - // Interface for activity log entries. + // The environment name that the entry belongs to. EnvironmentName string `json:"environmentName"` } @@ -9812,13 +13713,13 @@ func (v *GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryC // GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesSecretValueAddedActivityLogEntry includes the requested fields of the GraphQL type SecretValueAddedActivityLogEntry. type GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesSecretValueAddedActivityLogEntry struct { Typename string `json:"__typename"` - // Interface for activity log entries. + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. Actor string `json:"actor"` - // Interface for activity log entries. + // Creation time of the entry. CreatedAt time.Time `json:"createdAt"` - // Interface for activity log entries. + // Message that summarizes the entry. Message string `json:"message"` - // Interface for activity log entries. + // The environment name that the entry belongs to. EnvironmentName string `json:"environmentName"` } @@ -9850,13 +13751,13 @@ func (v *GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryC // GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesSecretValueRemovedActivityLogEntry includes the requested fields of the GraphQL type SecretValueRemovedActivityLogEntry. type GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesSecretValueRemovedActivityLogEntry struct { Typename string `json:"__typename"` - // Interface for activity log entries. + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. Actor string `json:"actor"` - // Interface for activity log entries. + // Creation time of the entry. CreatedAt time.Time `json:"createdAt"` - // Interface for activity log entries. + // Message that summarizes the entry. Message string `json:"message"` - // Interface for activity log entries. + // The environment name that the entry belongs to. EnvironmentName string `json:"environmentName"` } @@ -9888,13 +13789,13 @@ func (v *GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryC // GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesSecretValueUpdatedActivityLogEntry includes the requested fields of the GraphQL type SecretValueUpdatedActivityLogEntry. type GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesSecretValueUpdatedActivityLogEntry struct { Typename string `json:"__typename"` - // Interface for activity log entries. + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. Actor string `json:"actor"` - // Interface for activity log entries. + // Creation time of the entry. CreatedAt time.Time `json:"createdAt"` - // Interface for activity log entries. + // Message that summarizes the entry. Message string `json:"message"` - // Interface for activity log entries. + // The environment name that the entry belongs to. EnvironmentName string `json:"environmentName"` } @@ -9929,13 +13830,13 @@ func (v *GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryC // Activity log entry for viewing secret values. type GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesSecretValuesViewedActivityLogEntry struct { Typename string `json:"__typename"` - // Interface for activity log entries. + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. Actor string `json:"actor"` - // Interface for activity log entries. + // Creation time of the entry. CreatedAt time.Time `json:"createdAt"` - // Interface for activity log entries. + // Message that summarizes the entry. Message string `json:"message"` - // Interface for activity log entries. + // The environment name that the entry belongs to. EnvironmentName string `json:"environmentName"` } @@ -9967,13 +13868,13 @@ func (v *GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryC // GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesServiceAccountCreatedActivityLogEntry includes the requested fields of the GraphQL type ServiceAccountCreatedActivityLogEntry. type GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesServiceAccountCreatedActivityLogEntry struct { Typename string `json:"__typename"` - // Interface for activity log entries. + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. Actor string `json:"actor"` - // Interface for activity log entries. + // Creation time of the entry. CreatedAt time.Time `json:"createdAt"` - // Interface for activity log entries. + // Message that summarizes the entry. Message string `json:"message"` - // Interface for activity log entries. + // The environment name that the entry belongs to. EnvironmentName string `json:"environmentName"` } @@ -10005,13 +13906,13 @@ func (v *GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryC // GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesServiceAccountDeletedActivityLogEntry includes the requested fields of the GraphQL type ServiceAccountDeletedActivityLogEntry. type GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesServiceAccountDeletedActivityLogEntry struct { Typename string `json:"__typename"` - // Interface for activity log entries. + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. Actor string `json:"actor"` - // Interface for activity log entries. + // Creation time of the entry. CreatedAt time.Time `json:"createdAt"` - // Interface for activity log entries. + // Message that summarizes the entry. Message string `json:"message"` - // Interface for activity log entries. + // The environment name that the entry belongs to. EnvironmentName string `json:"environmentName"` } @@ -10043,13 +13944,13 @@ func (v *GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryC // GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesServiceAccountTokenCreatedActivityLogEntry includes the requested fields of the GraphQL type ServiceAccountTokenCreatedActivityLogEntry. type GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesServiceAccountTokenCreatedActivityLogEntry struct { Typename string `json:"__typename"` - // Interface for activity log entries. + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. Actor string `json:"actor"` - // Interface for activity log entries. + // Creation time of the entry. CreatedAt time.Time `json:"createdAt"` - // Interface for activity log entries. + // Message that summarizes the entry. Message string `json:"message"` - // Interface for activity log entries. + // The environment name that the entry belongs to. EnvironmentName string `json:"environmentName"` } @@ -10081,13 +13982,13 @@ func (v *GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryC // GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesServiceAccountTokenDeletedActivityLogEntry includes the requested fields of the GraphQL type ServiceAccountTokenDeletedActivityLogEntry. type GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesServiceAccountTokenDeletedActivityLogEntry struct { Typename string `json:"__typename"` - // Interface for activity log entries. + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. Actor string `json:"actor"` - // Interface for activity log entries. + // Creation time of the entry. CreatedAt time.Time `json:"createdAt"` - // Interface for activity log entries. + // Message that summarizes the entry. Message string `json:"message"` - // Interface for activity log entries. + // The environment name that the entry belongs to. EnvironmentName string `json:"environmentName"` } @@ -10119,13 +14020,13 @@ func (v *GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryC // GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesServiceAccountTokenUpdatedActivityLogEntry includes the requested fields of the GraphQL type ServiceAccountTokenUpdatedActivityLogEntry. type GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesServiceAccountTokenUpdatedActivityLogEntry struct { Typename string `json:"__typename"` - // Interface for activity log entries. + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. Actor string `json:"actor"` - // Interface for activity log entries. + // Creation time of the entry. CreatedAt time.Time `json:"createdAt"` - // Interface for activity log entries. + // Message that summarizes the entry. Message string `json:"message"` - // Interface for activity log entries. + // The environment name that the entry belongs to. EnvironmentName string `json:"environmentName"` } @@ -10157,13 +14058,13 @@ func (v *GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryC // GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesServiceAccountUpdatedActivityLogEntry includes the requested fields of the GraphQL type ServiceAccountUpdatedActivityLogEntry. type GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesServiceAccountUpdatedActivityLogEntry struct { Typename string `json:"__typename"` - // Interface for activity log entries. + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. Actor string `json:"actor"` - // Interface for activity log entries. + // Creation time of the entry. CreatedAt time.Time `json:"createdAt"` - // Interface for activity log entries. + // Message that summarizes the entry. Message string `json:"message"` - // Interface for activity log entries. + // The environment name that the entry belongs to. EnvironmentName string `json:"environmentName"` } @@ -10195,13 +14096,13 @@ func (v *GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryC // GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesServiceMaintenanceActivityLogEntry includes the requested fields of the GraphQL type ServiceMaintenanceActivityLogEntry. type GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesServiceMaintenanceActivityLogEntry struct { Typename string `json:"__typename"` - // Interface for activity log entries. + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. Actor string `json:"actor"` - // Interface for activity log entries. + // Creation time of the entry. CreatedAt time.Time `json:"createdAt"` - // Interface for activity log entries. + // Message that summarizes the entry. Message string `json:"message"` - // Interface for activity log entries. + // The environment name that the entry belongs to. EnvironmentName string `json:"environmentName"` } @@ -10233,13 +14134,13 @@ func (v *GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryC // GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesTeamConfirmDeleteKeyActivityLogEntry includes the requested fields of the GraphQL type TeamConfirmDeleteKeyActivityLogEntry. type GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesTeamConfirmDeleteKeyActivityLogEntry struct { Typename string `json:"__typename"` - // Interface for activity log entries. + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. Actor string `json:"actor"` - // Interface for activity log entries. + // Creation time of the entry. CreatedAt time.Time `json:"createdAt"` - // Interface for activity log entries. + // Message that summarizes the entry. Message string `json:"message"` - // Interface for activity log entries. + // The environment name that the entry belongs to. EnvironmentName string `json:"environmentName"` } @@ -10271,13 +14172,13 @@ func (v *GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryC // GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesTeamCreateDeleteKeyActivityLogEntry includes the requested fields of the GraphQL type TeamCreateDeleteKeyActivityLogEntry. type GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesTeamCreateDeleteKeyActivityLogEntry struct { Typename string `json:"__typename"` - // Interface for activity log entries. + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. Actor string `json:"actor"` - // Interface for activity log entries. + // Creation time of the entry. CreatedAt time.Time `json:"createdAt"` - // Interface for activity log entries. + // Message that summarizes the entry. Message string `json:"message"` - // Interface for activity log entries. + // The environment name that the entry belongs to. EnvironmentName string `json:"environmentName"` } @@ -10309,13 +14210,13 @@ func (v *GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryC // GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesTeamCreatedActivityLogEntry includes the requested fields of the GraphQL type TeamCreatedActivityLogEntry. type GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesTeamCreatedActivityLogEntry struct { Typename string `json:"__typename"` - // Interface for activity log entries. + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. Actor string `json:"actor"` - // Interface for activity log entries. + // Creation time of the entry. CreatedAt time.Time `json:"createdAt"` - // Interface for activity log entries. + // Message that summarizes the entry. Message string `json:"message"` - // Interface for activity log entries. + // The environment name that the entry belongs to. EnvironmentName string `json:"environmentName"` } @@ -10347,13 +14248,13 @@ func (v *GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryC // GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesTeamDeployKeyUpdatedActivityLogEntry includes the requested fields of the GraphQL type TeamDeployKeyUpdatedActivityLogEntry. type GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesTeamDeployKeyUpdatedActivityLogEntry struct { Typename string `json:"__typename"` - // Interface for activity log entries. + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. Actor string `json:"actor"` - // Interface for activity log entries. + // Creation time of the entry. CreatedAt time.Time `json:"createdAt"` - // Interface for activity log entries. + // Message that summarizes the entry. Message string `json:"message"` - // Interface for activity log entries. + // The environment name that the entry belongs to. EnvironmentName string `json:"environmentName"` } @@ -10385,13 +14286,13 @@ func (v *GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryC // GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesTeamEnvironmentUpdatedActivityLogEntry includes the requested fields of the GraphQL type TeamEnvironmentUpdatedActivityLogEntry. type GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesTeamEnvironmentUpdatedActivityLogEntry struct { Typename string `json:"__typename"` - // Interface for activity log entries. + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. Actor string `json:"actor"` - // Interface for activity log entries. + // Creation time of the entry. CreatedAt time.Time `json:"createdAt"` - // Interface for activity log entries. + // Message that summarizes the entry. Message string `json:"message"` - // Interface for activity log entries. + // The environment name that the entry belongs to. EnvironmentName string `json:"environmentName"` } @@ -10423,13 +14324,13 @@ func (v *GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryC // GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesTeamMemberAddedActivityLogEntry includes the requested fields of the GraphQL type TeamMemberAddedActivityLogEntry. type GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesTeamMemberAddedActivityLogEntry struct { Typename string `json:"__typename"` - // Interface for activity log entries. + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. Actor string `json:"actor"` - // Interface for activity log entries. + // Creation time of the entry. CreatedAt time.Time `json:"createdAt"` - // Interface for activity log entries. + // Message that summarizes the entry. Message string `json:"message"` - // Interface for activity log entries. + // The environment name that the entry belongs to. EnvironmentName string `json:"environmentName"` } @@ -10461,13 +14362,13 @@ func (v *GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryC // GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesTeamMemberRemovedActivityLogEntry includes the requested fields of the GraphQL type TeamMemberRemovedActivityLogEntry. type GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesTeamMemberRemovedActivityLogEntry struct { Typename string `json:"__typename"` - // Interface for activity log entries. + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. Actor string `json:"actor"` - // Interface for activity log entries. + // Creation time of the entry. CreatedAt time.Time `json:"createdAt"` - // Interface for activity log entries. + // Message that summarizes the entry. Message string `json:"message"` - // Interface for activity log entries. + // The environment name that the entry belongs to. EnvironmentName string `json:"environmentName"` } @@ -10499,13 +14400,13 @@ func (v *GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryC // GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesTeamMemberSetRoleActivityLogEntry includes the requested fields of the GraphQL type TeamMemberSetRoleActivityLogEntry. type GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesTeamMemberSetRoleActivityLogEntry struct { Typename string `json:"__typename"` - // Interface for activity log entries. + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. Actor string `json:"actor"` - // Interface for activity log entries. + // Creation time of the entry. CreatedAt time.Time `json:"createdAt"` - // Interface for activity log entries. + // Message that summarizes the entry. Message string `json:"message"` - // Interface for activity log entries. + // The environment name that the entry belongs to. EnvironmentName string `json:"environmentName"` } @@ -10537,13 +14438,13 @@ func (v *GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryC // GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesTeamUpdatedActivityLogEntry includes the requested fields of the GraphQL type TeamUpdatedActivityLogEntry. type GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesTeamUpdatedActivityLogEntry struct { Typename string `json:"__typename"` - // Interface for activity log entries. + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. Actor string `json:"actor"` - // Interface for activity log entries. + // Creation time of the entry. CreatedAt time.Time `json:"createdAt"` - // Interface for activity log entries. + // Message that summarizes the entry. Message string `json:"message"` - // Interface for activity log entries. + // The environment name that the entry belongs to. EnvironmentName string `json:"environmentName"` } @@ -10575,13 +14476,13 @@ func (v *GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryC // GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesUnleashInstanceCreatedActivityLogEntry includes the requested fields of the GraphQL type UnleashInstanceCreatedActivityLogEntry. type GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesUnleashInstanceCreatedActivityLogEntry struct { Typename string `json:"__typename"` - // Interface for activity log entries. + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. Actor string `json:"actor"` - // Interface for activity log entries. + // Creation time of the entry. CreatedAt time.Time `json:"createdAt"` - // Interface for activity log entries. + // Message that summarizes the entry. Message string `json:"message"` - // Interface for activity log entries. + // The environment name that the entry belongs to. EnvironmentName string `json:"environmentName"` } @@ -10613,13 +14514,13 @@ func (v *GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryC // GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesUnleashInstanceDeletedActivityLogEntry includes the requested fields of the GraphQL type UnleashInstanceDeletedActivityLogEntry. type GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesUnleashInstanceDeletedActivityLogEntry struct { Typename string `json:"__typename"` - // Interface for activity log entries. + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. Actor string `json:"actor"` - // Interface for activity log entries. + // Creation time of the entry. CreatedAt time.Time `json:"createdAt"` - // Interface for activity log entries. + // Message that summarizes the entry. Message string `json:"message"` - // Interface for activity log entries. + // The environment name that the entry belongs to. EnvironmentName string `json:"environmentName"` } @@ -10651,13 +14552,13 @@ func (v *GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryC // GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesUnleashInstanceUpdatedActivityLogEntry includes the requested fields of the GraphQL type UnleashInstanceUpdatedActivityLogEntry. type GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesUnleashInstanceUpdatedActivityLogEntry struct { Typename string `json:"__typename"` - // Interface for activity log entries. + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. Actor string `json:"actor"` - // Interface for activity log entries. + // Creation time of the entry. CreatedAt time.Time `json:"createdAt"` - // Interface for activity log entries. + // Message that summarizes the entry. Message string `json:"message"` - // Interface for activity log entries. + // The environment name that the entry belongs to. EnvironmentName string `json:"environmentName"` } @@ -10689,13 +14590,13 @@ func (v *GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryC // GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesValkeyCreatedActivityLogEntry includes the requested fields of the GraphQL type ValkeyCreatedActivityLogEntry. type GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesValkeyCreatedActivityLogEntry struct { Typename string `json:"__typename"` - // Interface for activity log entries. + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. Actor string `json:"actor"` - // Interface for activity log entries. + // Creation time of the entry. CreatedAt time.Time `json:"createdAt"` - // Interface for activity log entries. + // Message that summarizes the entry. Message string `json:"message"` - // Interface for activity log entries. + // The environment name that the entry belongs to. EnvironmentName string `json:"environmentName"` } @@ -10727,13 +14628,13 @@ func (v *GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryC // GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesValkeyDeletedActivityLogEntry includes the requested fields of the GraphQL type ValkeyDeletedActivityLogEntry. type GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesValkeyDeletedActivityLogEntry struct { Typename string `json:"__typename"` - // Interface for activity log entries. + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. Actor string `json:"actor"` - // Interface for activity log entries. + // Creation time of the entry. CreatedAt time.Time `json:"createdAt"` - // Interface for activity log entries. + // Message that summarizes the entry. Message string `json:"message"` - // Interface for activity log entries. + // The environment name that the entry belongs to. EnvironmentName string `json:"environmentName"` } @@ -10765,13 +14666,13 @@ func (v *GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryC // GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesValkeyUpdatedActivityLogEntry includes the requested fields of the GraphQL type ValkeyUpdatedActivityLogEntry. type GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesValkeyUpdatedActivityLogEntry struct { Typename string `json:"__typename"` - // Interface for activity log entries. + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. Actor string `json:"actor"` - // Interface for activity log entries. + // Creation time of the entry. CreatedAt time.Time `json:"createdAt"` - // Interface for activity log entries. + // Message that summarizes the entry. Message string `json:"message"` - // Interface for activity log entries. + // The environment name that the entry belongs to. EnvironmentName string `json:"environmentName"` } @@ -10803,13 +14704,13 @@ func (v *GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryC // GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesVulnerabilityUpdatedActivityLogEntry includes the requested fields of the GraphQL type VulnerabilityUpdatedActivityLogEntry. type GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesVulnerabilityUpdatedActivityLogEntry struct { Typename string `json:"__typename"` - // Interface for activity log entries. + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. Actor string `json:"actor"` - // Interface for activity log entries. + // Creation time of the entry. CreatedAt time.Time `json:"createdAt"` - // Interface for activity log entries. + // Message that summarizes the entry. Message string `json:"message"` - // Interface for activity log entries. + // The environment name that the entry belongs to. EnvironmentName string `json:"environmentName"` } @@ -11664,234 +15565,6 @@ func (v *GetJobNamesTeamJobsJobConnectionNodesJobTeamEnvironmentEnvironment) Get return v.Name } -// GetJobRunNamesResponse is returned by GetJobRunNames on success. -type GetJobRunNamesResponse struct { - // Get a team by its slug. - Team GetJobRunNamesTeam `json:"team"` -} - -// GetTeam returns GetJobRunNamesResponse.Team, and is useful for accessing the field via an interface. -func (v *GetJobRunNamesResponse) GetTeam() GetJobRunNamesTeam { return v.Team } - -// GetJobRunNamesTeam includes the requested fields of the GraphQL type Team. -// The GraphQL type's documentation follows. -// -// The team type represents a team on the [Nais platform](https://nais.io/). -// -// Learn more about what Nais teams are and what they can be used for in the [official Nais documentation](https://docs.nais.io/explanations/team/). -// -// External resources (e.g. entraIDGroupID, gitHubTeamSlug) are managed by [Nais API reconcilers](https://github.com/nais/api-reconcilers). -type GetJobRunNamesTeam struct { - // Nais jobs owned by the team. - Jobs GetJobRunNamesTeamJobsJobConnection `json:"jobs"` -} - -// GetJobs returns GetJobRunNamesTeam.Jobs, and is useful for accessing the field via an interface. -func (v *GetJobRunNamesTeam) GetJobs() GetJobRunNamesTeamJobsJobConnection { return v.Jobs } - -// GetJobRunNamesTeamJobsJobConnection includes the requested fields of the GraphQL type JobConnection. -type GetJobRunNamesTeamJobsJobConnection struct { - // List of nodes. - Nodes []GetJobRunNamesTeamJobsJobConnectionNodesJob `json:"nodes"` -} - -// GetNodes returns GetJobRunNamesTeamJobsJobConnection.Nodes, and is useful for accessing the field via an interface. -func (v *GetJobRunNamesTeamJobsJobConnection) GetNodes() []GetJobRunNamesTeamJobsJobConnectionNodesJob { - return v.Nodes -} - -// GetJobRunNamesTeamJobsJobConnectionNodesJob includes the requested fields of the GraphQL type Job. -type GetJobRunNamesTeamJobsJobConnectionNodesJob struct { - // The team environment for the job. - TeamEnvironment GetJobRunNamesTeamJobsJobConnectionNodesJobTeamEnvironment `json:"teamEnvironment"` - // The job runs. - Runs GetJobRunNamesTeamJobsJobConnectionNodesJobRunsJobRunConnection `json:"runs"` -} - -// GetTeamEnvironment returns GetJobRunNamesTeamJobsJobConnectionNodesJob.TeamEnvironment, and is useful for accessing the field via an interface. -func (v *GetJobRunNamesTeamJobsJobConnectionNodesJob) GetTeamEnvironment() GetJobRunNamesTeamJobsJobConnectionNodesJobTeamEnvironment { - return v.TeamEnvironment -} - -// GetRuns returns GetJobRunNamesTeamJobsJobConnectionNodesJob.Runs, and is useful for accessing the field via an interface. -func (v *GetJobRunNamesTeamJobsJobConnectionNodesJob) GetRuns() GetJobRunNamesTeamJobsJobConnectionNodesJobRunsJobRunConnection { - return v.Runs -} - -// GetJobRunNamesTeamJobsJobConnectionNodesJobRunsJobRunConnection includes the requested fields of the GraphQL type JobRunConnection. -type GetJobRunNamesTeamJobsJobConnectionNodesJobRunsJobRunConnection struct { - // List of nodes. - Nodes []GetJobRunNamesTeamJobsJobConnectionNodesJobRunsJobRunConnectionNodesJobRun `json:"nodes"` -} - -// GetNodes returns GetJobRunNamesTeamJobsJobConnectionNodesJobRunsJobRunConnection.Nodes, and is useful for accessing the field via an interface. -func (v *GetJobRunNamesTeamJobsJobConnectionNodesJobRunsJobRunConnection) GetNodes() []GetJobRunNamesTeamJobsJobConnectionNodesJobRunsJobRunConnectionNodesJobRun { - return v.Nodes -} - -// GetJobRunNamesTeamJobsJobConnectionNodesJobRunsJobRunConnectionNodesJobRun includes the requested fields of the GraphQL type JobRun. -type GetJobRunNamesTeamJobsJobConnectionNodesJobRunsJobRunConnectionNodesJobRun struct { - // The name of the job run. - Name string `json:"name"` -} - -// GetName returns GetJobRunNamesTeamJobsJobConnectionNodesJobRunsJobRunConnectionNodesJobRun.Name, and is useful for accessing the field via an interface. -func (v *GetJobRunNamesTeamJobsJobConnectionNodesJobRunsJobRunConnectionNodesJobRun) GetName() string { - return v.Name -} - -// GetJobRunNamesTeamJobsJobConnectionNodesJobTeamEnvironment includes the requested fields of the GraphQL type TeamEnvironment. -type GetJobRunNamesTeamJobsJobConnectionNodesJobTeamEnvironment struct { - // Get the environment. - Environment GetJobRunNamesTeamJobsJobConnectionNodesJobTeamEnvironmentEnvironment `json:"environment"` -} - -// GetEnvironment returns GetJobRunNamesTeamJobsJobConnectionNodesJobTeamEnvironment.Environment, and is useful for accessing the field via an interface. -func (v *GetJobRunNamesTeamJobsJobConnectionNodesJobTeamEnvironment) GetEnvironment() GetJobRunNamesTeamJobsJobConnectionNodesJobTeamEnvironmentEnvironment { - return v.Environment -} - -// GetJobRunNamesTeamJobsJobConnectionNodesJobTeamEnvironmentEnvironment includes the requested fields of the GraphQL type Environment. -// The GraphQL type's documentation follows. -// -// An environment represents a runtime environment for workloads. -// -// Learn more in the [official Nais documentation](https://docs.nais.io/workloads/explanations/environment/). -type GetJobRunNamesTeamJobsJobConnectionNodesJobTeamEnvironmentEnvironment struct { - // Unique name of the environment. - Name string `json:"name"` -} - -// GetName returns GetJobRunNamesTeamJobsJobConnectionNodesJobTeamEnvironmentEnvironment.Name, and is useful for accessing the field via an interface. -func (v *GetJobRunNamesTeamJobsJobConnectionNodesJobTeamEnvironmentEnvironment) GetName() string { - return v.Name -} - -// GetJobRunsResponse is returned by GetJobRuns on success. -type GetJobRunsResponse struct { - // Get a team by its slug. - Team GetJobRunsTeam `json:"team"` -} - -// GetTeam returns GetJobRunsResponse.Team, and is useful for accessing the field via an interface. -func (v *GetJobRunsResponse) GetTeam() GetJobRunsTeam { return v.Team } - -// GetJobRunsTeam includes the requested fields of the GraphQL type Team. -// The GraphQL type's documentation follows. -// -// The team type represents a team on the [Nais platform](https://nais.io/). -// -// Learn more about what Nais teams are and what they can be used for in the [official Nais documentation](https://docs.nais.io/explanations/team/). -// -// External resources (e.g. entraIDGroupID, gitHubTeamSlug) are managed by [Nais API reconcilers](https://github.com/nais/api-reconcilers). -type GetJobRunsTeam struct { - // Nais jobs owned by the team. - Jobs GetJobRunsTeamJobsJobConnection `json:"jobs"` -} - -// GetJobs returns GetJobRunsTeam.Jobs, and is useful for accessing the field via an interface. -func (v *GetJobRunsTeam) GetJobs() GetJobRunsTeamJobsJobConnection { return v.Jobs } - -// GetJobRunsTeamJobsJobConnection includes the requested fields of the GraphQL type JobConnection. -type GetJobRunsTeamJobsJobConnection struct { - // List of nodes. - Nodes []GetJobRunsTeamJobsJobConnectionNodesJob `json:"nodes"` -} - -// GetNodes returns GetJobRunsTeamJobsJobConnection.Nodes, and is useful for accessing the field via an interface. -func (v *GetJobRunsTeamJobsJobConnection) GetNodes() []GetJobRunsTeamJobsJobConnectionNodesJob { - return v.Nodes -} - -// GetJobRunsTeamJobsJobConnectionNodesJob includes the requested fields of the GraphQL type Job. -type GetJobRunsTeamJobsJobConnectionNodesJob struct { - // The job runs. - Runs GetJobRunsTeamJobsJobConnectionNodesJobRunsJobRunConnection `json:"runs"` -} - -// GetRuns returns GetJobRunsTeamJobsJobConnectionNodesJob.Runs, and is useful for accessing the field via an interface. -func (v *GetJobRunsTeamJobsJobConnectionNodesJob) GetRuns() GetJobRunsTeamJobsJobConnectionNodesJobRunsJobRunConnection { - return v.Runs -} - -// GetJobRunsTeamJobsJobConnectionNodesJobRunsJobRunConnection includes the requested fields of the GraphQL type JobRunConnection. -type GetJobRunsTeamJobsJobConnectionNodesJobRunsJobRunConnection struct { - // List of nodes. - Nodes []GetJobRunsTeamJobsJobConnectionNodesJobRunsJobRunConnectionNodesJobRun `json:"nodes"` -} - -// GetNodes returns GetJobRunsTeamJobsJobConnectionNodesJobRunsJobRunConnection.Nodes, and is useful for accessing the field via an interface. -func (v *GetJobRunsTeamJobsJobConnectionNodesJobRunsJobRunConnection) GetNodes() []GetJobRunsTeamJobsJobConnectionNodesJobRunsJobRunConnectionNodesJobRun { - return v.Nodes -} - -// GetJobRunsTeamJobsJobConnectionNodesJobRunsJobRunConnectionNodesJobRun includes the requested fields of the GraphQL type JobRun. -type GetJobRunsTeamJobsJobConnectionNodesJobRunsJobRunConnectionNodesJobRun struct { - // The name of the job run. - Name string `json:"name"` - // The start time of the job. - StartTime time.Time `json:"startTime"` - // Duration of the job in seconds. - Duration int `json:"duration"` - // The status of the job run. - Status GetJobRunsTeamJobsJobConnectionNodesJobRunsJobRunConnectionNodesJobRunStatus `json:"status"` - Trigger GetJobRunsTeamJobsJobConnectionNodesJobRunsJobRunConnectionNodesJobRunTrigger `json:"trigger"` -} - -// GetName returns GetJobRunsTeamJobsJobConnectionNodesJobRunsJobRunConnectionNodesJobRun.Name, and is useful for accessing the field via an interface. -func (v *GetJobRunsTeamJobsJobConnectionNodesJobRunsJobRunConnectionNodesJobRun) GetName() string { - return v.Name -} - -// GetStartTime returns GetJobRunsTeamJobsJobConnectionNodesJobRunsJobRunConnectionNodesJobRun.StartTime, and is useful for accessing the field via an interface. -func (v *GetJobRunsTeamJobsJobConnectionNodesJobRunsJobRunConnectionNodesJobRun) GetStartTime() time.Time { - return v.StartTime -} - -// GetDuration returns GetJobRunsTeamJobsJobConnectionNodesJobRunsJobRunConnectionNodesJobRun.Duration, and is useful for accessing the field via an interface. -func (v *GetJobRunsTeamJobsJobConnectionNodesJobRunsJobRunConnectionNodesJobRun) GetDuration() int { - return v.Duration -} - -// GetStatus returns GetJobRunsTeamJobsJobConnectionNodesJobRunsJobRunConnectionNodesJobRun.Status, and is useful for accessing the field via an interface. -func (v *GetJobRunsTeamJobsJobConnectionNodesJobRunsJobRunConnectionNodesJobRun) GetStatus() GetJobRunsTeamJobsJobConnectionNodesJobRunsJobRunConnectionNodesJobRunStatus { - return v.Status -} - -// GetTrigger returns GetJobRunsTeamJobsJobConnectionNodesJobRunsJobRunConnectionNodesJobRun.Trigger, and is useful for accessing the field via an interface. -func (v *GetJobRunsTeamJobsJobConnectionNodesJobRunsJobRunConnectionNodesJobRun) GetTrigger() GetJobRunsTeamJobsJobConnectionNodesJobRunsJobRunConnectionNodesJobRunTrigger { - return v.Trigger -} - -// GetJobRunsTeamJobsJobConnectionNodesJobRunsJobRunConnectionNodesJobRunStatus includes the requested fields of the GraphQL type JobRunStatus. -type GetJobRunsTeamJobsJobConnectionNodesJobRunsJobRunConnectionNodesJobRunStatus struct { - // The state of the job run. - State JobRunState `json:"state"` -} - -// GetState returns GetJobRunsTeamJobsJobConnectionNodesJobRunsJobRunConnectionNodesJobRunStatus.State, and is useful for accessing the field via an interface. -func (v *GetJobRunsTeamJobsJobConnectionNodesJobRunsJobRunConnectionNodesJobRunStatus) GetState() JobRunState { - return v.State -} - -// GetJobRunsTeamJobsJobConnectionNodesJobRunsJobRunConnectionNodesJobRunTrigger includes the requested fields of the GraphQL type JobRunTrigger. -type GetJobRunsTeamJobsJobConnectionNodesJobRunsJobRunConnectionNodesJobRunTrigger struct { - // The type of trigger that started the job. - Type JobRunTriggerType `json:"type"` - // The actor/user who triggered the job run manually, if applicable. - Actor string `json:"actor"` -} - -// GetType returns GetJobRunsTeamJobsJobConnectionNodesJobRunsJobRunConnectionNodesJobRunTrigger.Type, and is useful for accessing the field via an interface. -func (v *GetJobRunsTeamJobsJobConnectionNodesJobRunsJobRunConnectionNodesJobRunTrigger) GetType() JobRunTriggerType { - return v.Type -} - -// GetActor returns GetJobRunsTeamJobsJobConnectionNodesJobRunsJobRunConnectionNodesJobRunTrigger.Actor, and is useful for accessing the field via an interface. -func (v *GetJobRunsTeamJobsJobConnectionNodesJobRunsJobRunConnectionNodesJobRunTrigger) GetActor() string { - return v.Actor -} - // GetLatestJobRunStateResponse is returned by GetLatestJobRunState on success. type GetLatestJobRunStateResponse struct { // Get a team by its slug. @@ -12163,19 +15836,19 @@ type GetOpenSearchTeamEnvironmentOpenSearchAccessOpenSearchAccessConnectionEdges // GetId returns the interface-field "id" from its implementation. // The GraphQL interface field's documentation follows. // - // Interface for workloads. + // The globally unique ID of the workload. GetId() string // GetName returns the interface-field "name" from its implementation. // The GraphQL interface field's documentation follows. // - // Interface for workloads. + // The name of the workload. GetName() string // GetTypename returns the receiver's concrete GraphQL type-name (see interface doc for possible values). GetTypename() string // GetTeam returns the interface-field "team" from its implementation. // The GraphQL interface field's documentation follows. // - // Interface for workloads. + // The team that owns the workload. GetTeam() GetOpenSearchTeamEnvironmentOpenSearchAccessOpenSearchAccessConnectionEdgesOpenSearchAccessEdgeNodeOpenSearchAccessWorkloadTeam } @@ -12248,12 +15921,12 @@ func __marshalGetOpenSearchTeamEnvironmentOpenSearchAccessOpenSearchAccessConnec // // Learn more about how to create and configure your applications in the [Nais documentation](https://docs.nais.io/workloads/application/). type GetOpenSearchTeamEnvironmentOpenSearchAccessOpenSearchAccessConnectionEdgesOpenSearchAccessEdgeNodeOpenSearchAccessWorkloadApplication struct { - // Interface for workloads. + // The globally unique ID of the workload. Id string `json:"id"` - // Interface for workloads. + // The name of the workload. Name string `json:"name"` Typename string `json:"__typename"` - // Interface for workloads. + // The team that owns the workload. Team GetOpenSearchTeamEnvironmentOpenSearchAccessOpenSearchAccessConnectionEdgesOpenSearchAccessEdgeNodeOpenSearchAccessWorkloadTeam `json:"team"` } @@ -12279,12 +15952,12 @@ func (v *GetOpenSearchTeamEnvironmentOpenSearchAccessOpenSearchAccessConnectionE // GetOpenSearchTeamEnvironmentOpenSearchAccessOpenSearchAccessConnectionEdgesOpenSearchAccessEdgeNodeOpenSearchAccessWorkloadJob includes the requested fields of the GraphQL type Job. type GetOpenSearchTeamEnvironmentOpenSearchAccessOpenSearchAccessConnectionEdgesOpenSearchAccessEdgeNodeOpenSearchAccessWorkloadJob struct { - // Interface for workloads. + // The globally unique ID of the workload. Id string `json:"id"` - // Interface for workloads. + // The name of the workload. Name string `json:"name"` Typename string `json:"__typename"` - // Interface for workloads. + // The team that owns the workload. Team GetOpenSearchTeamEnvironmentOpenSearchAccessOpenSearchAccessConnectionEdgesOpenSearchAccessEdgeNodeOpenSearchAccessWorkloadTeam `json:"team"` } @@ -12502,10 +16175,12 @@ func (v *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActiv // GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesApplicationRestartedActivityLogEntry // GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesApplicationScaledActivityLogEntry // GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry +// GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesConfigCreatedActivityLogEntry +// GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesConfigDeletedActivityLogEntry +// GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesConfigUpdatedActivityLogEntry // GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesCredentialsActivityLogEntry // GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesDeploymentActivityLogEntry // GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesJobDeletedActivityLogEntry -// GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesJobRunDeletedActivityLogEntry // GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesJobTriggeredActivityLogEntry // GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesOpenSearchCreatedActivityLogEntry // GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesOpenSearchDeletedActivityLogEntry @@ -12557,22 +16232,22 @@ type GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityL // GetActor returns the interface-field "actor" from its implementation. // The GraphQL interface field's documentation follows. // - // Interface for activity log entries. + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. GetActor() string // GetCreatedAt returns the interface-field "createdAt" from its implementation. // The GraphQL interface field's documentation follows. // - // Interface for activity log entries. + // Creation time of the entry. GetCreatedAt() time.Time // GetMessage returns the interface-field "message" from its implementation. // The GraphQL interface field's documentation follows. // - // Interface for activity log entries. + // Message that summarizes the entry. GetMessage() string // GetEnvironmentName returns the interface-field "environmentName" from its implementation. // The GraphQL interface field's documentation follows. // - // Interface for activity log entries. + // The environment name that the entry belongs to. GetEnvironmentName() string } @@ -12584,14 +16259,18 @@ func (v *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActiv } func (v *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry) implementsGraphQLInterfaceGetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { } +func (v *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesConfigCreatedActivityLogEntry) implementsGraphQLInterfaceGetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { +} +func (v *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesConfigDeletedActivityLogEntry) implementsGraphQLInterfaceGetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { +} +func (v *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesConfigUpdatedActivityLogEntry) implementsGraphQLInterfaceGetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { +} func (v *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesCredentialsActivityLogEntry) implementsGraphQLInterfaceGetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { } func (v *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesDeploymentActivityLogEntry) implementsGraphQLInterfaceGetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { } func (v *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesJobDeletedActivityLogEntry) implementsGraphQLInterfaceGetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { } -func (v *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesJobRunDeletedActivityLogEntry) implementsGraphQLInterfaceGetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { -} func (v *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesJobTriggeredActivityLogEntry) implementsGraphQLInterfaceGetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { } func (v *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesOpenSearchCreatedActivityLogEntry) implementsGraphQLInterfaceGetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { @@ -12701,6 +16380,15 @@ func __unmarshalGetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityL case "ClusterAuditActivityLogEntry": *v = new(GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry) return json.Unmarshal(b, *v) + case "ConfigCreatedActivityLogEntry": + *v = new(GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesConfigCreatedActivityLogEntry) + return json.Unmarshal(b, *v) + case "ConfigDeletedActivityLogEntry": + *v = new(GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesConfigDeletedActivityLogEntry) + return json.Unmarshal(b, *v) + case "ConfigUpdatedActivityLogEntry": + *v = new(GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesConfigUpdatedActivityLogEntry) + return json.Unmarshal(b, *v) case "CredentialsActivityLogEntry": *v = new(GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesCredentialsActivityLogEntry) return json.Unmarshal(b, *v) @@ -12710,9 +16398,6 @@ func __unmarshalGetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityL case "JobDeletedActivityLogEntry": *v = new(GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesJobDeletedActivityLogEntry) return json.Unmarshal(b, *v) - case "JobRunDeletedActivityLogEntry": - *v = new(GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesJobRunDeletedActivityLogEntry) - return json.Unmarshal(b, *v) case "JobTriggeredActivityLogEntry": *v = new(GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesJobTriggeredActivityLogEntry) return json.Unmarshal(b, *v) @@ -12854,31 +16539,55 @@ func __marshalGetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLog result := struct { TypeName string `json:"__typename"` - *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesApplicationDeletedActivityLogEntry + *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesApplicationDeletedActivityLogEntry + }{typename, v} + return json.Marshal(result) + case *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesApplicationRestartedActivityLogEntry: + typename = "ApplicationRestartedActivityLogEntry" + + result := struct { + TypeName string `json:"__typename"` + *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesApplicationRestartedActivityLogEntry + }{typename, v} + return json.Marshal(result) + case *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesApplicationScaledActivityLogEntry: + typename = "ApplicationScaledActivityLogEntry" + + result := struct { + TypeName string `json:"__typename"` + *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesApplicationScaledActivityLogEntry + }{typename, v} + return json.Marshal(result) + case *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry: + typename = "ClusterAuditActivityLogEntry" + + result := struct { + TypeName string `json:"__typename"` + *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry }{typename, v} return json.Marshal(result) - case *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesApplicationRestartedActivityLogEntry: - typename = "ApplicationRestartedActivityLogEntry" + case *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesConfigCreatedActivityLogEntry: + typename = "ConfigCreatedActivityLogEntry" result := struct { TypeName string `json:"__typename"` - *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesApplicationRestartedActivityLogEntry + *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesConfigCreatedActivityLogEntry }{typename, v} return json.Marshal(result) - case *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesApplicationScaledActivityLogEntry: - typename = "ApplicationScaledActivityLogEntry" + case *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesConfigDeletedActivityLogEntry: + typename = "ConfigDeletedActivityLogEntry" result := struct { TypeName string `json:"__typename"` - *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesApplicationScaledActivityLogEntry + *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesConfigDeletedActivityLogEntry }{typename, v} return json.Marshal(result) - case *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry: - typename = "ClusterAuditActivityLogEntry" + case *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesConfigUpdatedActivityLogEntry: + typename = "ConfigUpdatedActivityLogEntry" result := struct { TypeName string `json:"__typename"` - *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry + *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesConfigUpdatedActivityLogEntry }{typename, v} return json.Marshal(result) case *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesCredentialsActivityLogEntry: @@ -12905,14 +16614,6 @@ func __marshalGetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLog *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesJobDeletedActivityLogEntry }{typename, v} return json.Marshal(result) - case *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesJobRunDeletedActivityLogEntry: - typename = "JobRunDeletedActivityLogEntry" - - result := struct { - TypeName string `json:"__typename"` - *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesJobRunDeletedActivityLogEntry - }{typename, v} - return json.Marshal(result) case *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesJobTriggeredActivityLogEntry: typename = "JobTriggeredActivityLogEntry" @@ -13252,13 +16953,13 @@ func __marshalGetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLog // GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesApplicationDeletedActivityLogEntry includes the requested fields of the GraphQL type ApplicationDeletedActivityLogEntry. type GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesApplicationDeletedActivityLogEntry struct { Typename string `json:"__typename"` - // Interface for activity log entries. + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. Actor string `json:"actor"` - // Interface for activity log entries. + // Creation time of the entry. CreatedAt time.Time `json:"createdAt"` - // Interface for activity log entries. + // Message that summarizes the entry. Message string `json:"message"` - // Interface for activity log entries. + // The environment name that the entry belongs to. EnvironmentName string `json:"environmentName"` } @@ -13290,13 +16991,13 @@ func (v *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActiv // GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesApplicationRestartedActivityLogEntry includes the requested fields of the GraphQL type ApplicationRestartedActivityLogEntry. type GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesApplicationRestartedActivityLogEntry struct { Typename string `json:"__typename"` - // Interface for activity log entries. + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. Actor string `json:"actor"` - // Interface for activity log entries. + // Creation time of the entry. CreatedAt time.Time `json:"createdAt"` - // Interface for activity log entries. + // Message that summarizes the entry. Message string `json:"message"` - // Interface for activity log entries. + // The environment name that the entry belongs to. EnvironmentName string `json:"environmentName"` } @@ -13328,13 +17029,13 @@ func (v *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActiv // GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesApplicationScaledActivityLogEntry includes the requested fields of the GraphQL type ApplicationScaledActivityLogEntry. type GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesApplicationScaledActivityLogEntry struct { Typename string `json:"__typename"` - // Interface for activity log entries. + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. Actor string `json:"actor"` - // Interface for activity log entries. + // Creation time of the entry. CreatedAt time.Time `json:"createdAt"` - // Interface for activity log entries. + // Message that summarizes the entry. Message string `json:"message"` - // Interface for activity log entries. + // The environment name that the entry belongs to. EnvironmentName string `json:"environmentName"` } @@ -13366,13 +17067,13 @@ func (v *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActiv // GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry includes the requested fields of the GraphQL type ClusterAuditActivityLogEntry. type GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry struct { Typename string `json:"__typename"` - // Interface for activity log entries. + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. Actor string `json:"actor"` - // Interface for activity log entries. + // Creation time of the entry. CreatedAt time.Time `json:"createdAt"` - // Interface for activity log entries. + // Message that summarizes the entry. Message string `json:"message"` - // Interface for activity log entries. + // The environment name that the entry belongs to. EnvironmentName string `json:"environmentName"` } @@ -13401,16 +17102,130 @@ func (v *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActiv return v.EnvironmentName } +// GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesConfigCreatedActivityLogEntry includes the requested fields of the GraphQL type ConfigCreatedActivityLogEntry. +type GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesConfigCreatedActivityLogEntry struct { + Typename string `json:"__typename"` + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + Actor string `json:"actor"` + // Creation time of the entry. + CreatedAt time.Time `json:"createdAt"` + // Message that summarizes the entry. + Message string `json:"message"` + // The environment name that the entry belongs to. + EnvironmentName string `json:"environmentName"` +} + +// GetTypename returns GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesConfigCreatedActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesConfigCreatedActivityLogEntry) GetTypename() string { + return v.Typename +} + +// GetActor returns GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesConfigCreatedActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesConfigCreatedActivityLogEntry) GetActor() string { + return v.Actor +} + +// GetCreatedAt returns GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesConfigCreatedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesConfigCreatedActivityLogEntry) GetCreatedAt() time.Time { + return v.CreatedAt +} + +// GetMessage returns GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesConfigCreatedActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesConfigCreatedActivityLogEntry) GetMessage() string { + return v.Message +} + +// GetEnvironmentName returns GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesConfigCreatedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesConfigCreatedActivityLogEntry) GetEnvironmentName() string { + return v.EnvironmentName +} + +// GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesConfigDeletedActivityLogEntry includes the requested fields of the GraphQL type ConfigDeletedActivityLogEntry. +type GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesConfigDeletedActivityLogEntry struct { + Typename string `json:"__typename"` + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + Actor string `json:"actor"` + // Creation time of the entry. + CreatedAt time.Time `json:"createdAt"` + // Message that summarizes the entry. + Message string `json:"message"` + // The environment name that the entry belongs to. + EnvironmentName string `json:"environmentName"` +} + +// GetTypename returns GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesConfigDeletedActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesConfigDeletedActivityLogEntry) GetTypename() string { + return v.Typename +} + +// GetActor returns GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesConfigDeletedActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesConfigDeletedActivityLogEntry) GetActor() string { + return v.Actor +} + +// GetCreatedAt returns GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesConfigDeletedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesConfigDeletedActivityLogEntry) GetCreatedAt() time.Time { + return v.CreatedAt +} + +// GetMessage returns GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesConfigDeletedActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesConfigDeletedActivityLogEntry) GetMessage() string { + return v.Message +} + +// GetEnvironmentName returns GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesConfigDeletedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesConfigDeletedActivityLogEntry) GetEnvironmentName() string { + return v.EnvironmentName +} + +// GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesConfigUpdatedActivityLogEntry includes the requested fields of the GraphQL type ConfigUpdatedActivityLogEntry. +type GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesConfigUpdatedActivityLogEntry struct { + Typename string `json:"__typename"` + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + Actor string `json:"actor"` + // Creation time of the entry. + CreatedAt time.Time `json:"createdAt"` + // Message that summarizes the entry. + Message string `json:"message"` + // The environment name that the entry belongs to. + EnvironmentName string `json:"environmentName"` +} + +// GetTypename returns GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesConfigUpdatedActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesConfigUpdatedActivityLogEntry) GetTypename() string { + return v.Typename +} + +// GetActor returns GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesConfigUpdatedActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesConfigUpdatedActivityLogEntry) GetActor() string { + return v.Actor +} + +// GetCreatedAt returns GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesConfigUpdatedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesConfigUpdatedActivityLogEntry) GetCreatedAt() time.Time { + return v.CreatedAt +} + +// GetMessage returns GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesConfigUpdatedActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesConfigUpdatedActivityLogEntry) GetMessage() string { + return v.Message +} + +// GetEnvironmentName returns GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesConfigUpdatedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesConfigUpdatedActivityLogEntry) GetEnvironmentName() string { + return v.EnvironmentName +} + // GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesCredentialsActivityLogEntry includes the requested fields of the GraphQL type CredentialsActivityLogEntry. type GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesCredentialsActivityLogEntry struct { Typename string `json:"__typename"` - // Interface for activity log entries. + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. Actor string `json:"actor"` - // Interface for activity log entries. + // Creation time of the entry. CreatedAt time.Time `json:"createdAt"` - // Interface for activity log entries. + // Message that summarizes the entry. Message string `json:"message"` - // Interface for activity log entries. + // The environment name that the entry belongs to. EnvironmentName string `json:"environmentName"` } @@ -13442,13 +17257,13 @@ func (v *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActiv // GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesDeploymentActivityLogEntry includes the requested fields of the GraphQL type DeploymentActivityLogEntry. type GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesDeploymentActivityLogEntry struct { Typename string `json:"__typename"` - // Interface for activity log entries. + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. Actor string `json:"actor"` - // Interface for activity log entries. + // Creation time of the entry. CreatedAt time.Time `json:"createdAt"` - // Interface for activity log entries. + // Message that summarizes the entry. Message string `json:"message"` - // Interface for activity log entries. + // The environment name that the entry belongs to. EnvironmentName string `json:"environmentName"` } @@ -13480,13 +17295,13 @@ func (v *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActiv // GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesJobDeletedActivityLogEntry includes the requested fields of the GraphQL type JobDeletedActivityLogEntry. type GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesJobDeletedActivityLogEntry struct { Typename string `json:"__typename"` - // Interface for activity log entries. + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. Actor string `json:"actor"` - // Interface for activity log entries. + // Creation time of the entry. CreatedAt time.Time `json:"createdAt"` - // Interface for activity log entries. + // Message that summarizes the entry. Message string `json:"message"` - // Interface for activity log entries. + // The environment name that the entry belongs to. EnvironmentName string `json:"environmentName"` } @@ -13515,54 +17330,16 @@ func (v *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActiv return v.EnvironmentName } -// GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesJobRunDeletedActivityLogEntry includes the requested fields of the GraphQL type JobRunDeletedActivityLogEntry. -type GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesJobRunDeletedActivityLogEntry struct { - Typename string `json:"__typename"` - // Interface for activity log entries. - Actor string `json:"actor"` - // Interface for activity log entries. - CreatedAt time.Time `json:"createdAt"` - // Interface for activity log entries. - Message string `json:"message"` - // Interface for activity log entries. - EnvironmentName string `json:"environmentName"` -} - -// GetTypename returns GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesJobRunDeletedActivityLogEntry.Typename, and is useful for accessing the field via an interface. -func (v *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesJobRunDeletedActivityLogEntry) GetTypename() string { - return v.Typename -} - -// GetActor returns GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesJobRunDeletedActivityLogEntry.Actor, and is useful for accessing the field via an interface. -func (v *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesJobRunDeletedActivityLogEntry) GetActor() string { - return v.Actor -} - -// GetCreatedAt returns GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesJobRunDeletedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. -func (v *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesJobRunDeletedActivityLogEntry) GetCreatedAt() time.Time { - return v.CreatedAt -} - -// GetMessage returns GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesJobRunDeletedActivityLogEntry.Message, and is useful for accessing the field via an interface. -func (v *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesJobRunDeletedActivityLogEntry) GetMessage() string { - return v.Message -} - -// GetEnvironmentName returns GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesJobRunDeletedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. -func (v *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesJobRunDeletedActivityLogEntry) GetEnvironmentName() string { - return v.EnvironmentName -} - // GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesJobTriggeredActivityLogEntry includes the requested fields of the GraphQL type JobTriggeredActivityLogEntry. type GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesJobTriggeredActivityLogEntry struct { Typename string `json:"__typename"` - // Interface for activity log entries. + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. Actor string `json:"actor"` - // Interface for activity log entries. + // Creation time of the entry. CreatedAt time.Time `json:"createdAt"` - // Interface for activity log entries. + // Message that summarizes the entry. Message string `json:"message"` - // Interface for activity log entries. + // The environment name that the entry belongs to. EnvironmentName string `json:"environmentName"` } @@ -13594,13 +17371,13 @@ func (v *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActiv // GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesOpenSearchCreatedActivityLogEntry includes the requested fields of the GraphQL type OpenSearchCreatedActivityLogEntry. type GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesOpenSearchCreatedActivityLogEntry struct { Typename string `json:"__typename"` - // Interface for activity log entries. + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. Actor string `json:"actor"` - // Interface for activity log entries. + // Creation time of the entry. CreatedAt time.Time `json:"createdAt"` - // Interface for activity log entries. + // Message that summarizes the entry. Message string `json:"message"` - // Interface for activity log entries. + // The environment name that the entry belongs to. EnvironmentName string `json:"environmentName"` } @@ -13632,13 +17409,13 @@ func (v *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActiv // GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesOpenSearchDeletedActivityLogEntry includes the requested fields of the GraphQL type OpenSearchDeletedActivityLogEntry. type GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesOpenSearchDeletedActivityLogEntry struct { Typename string `json:"__typename"` - // Interface for activity log entries. + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. Actor string `json:"actor"` - // Interface for activity log entries. + // Creation time of the entry. CreatedAt time.Time `json:"createdAt"` - // Interface for activity log entries. + // Message that summarizes the entry. Message string `json:"message"` - // Interface for activity log entries. + // The environment name that the entry belongs to. EnvironmentName string `json:"environmentName"` } @@ -13670,13 +17447,13 @@ func (v *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActiv // GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesOpenSearchUpdatedActivityLogEntry includes the requested fields of the GraphQL type OpenSearchUpdatedActivityLogEntry. type GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesOpenSearchUpdatedActivityLogEntry struct { Typename string `json:"__typename"` - // Interface for activity log entries. + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. Actor string `json:"actor"` - // Interface for activity log entries. + // Creation time of the entry. CreatedAt time.Time `json:"createdAt"` - // Interface for activity log entries. + // Message that summarizes the entry. Message string `json:"message"` - // Interface for activity log entries. + // The environment name that the entry belongs to. EnvironmentName string `json:"environmentName"` } @@ -13708,13 +17485,13 @@ func (v *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActiv // GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesPostgresGrantAccessActivityLogEntry includes the requested fields of the GraphQL type PostgresGrantAccessActivityLogEntry. type GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesPostgresGrantAccessActivityLogEntry struct { Typename string `json:"__typename"` - // Interface for activity log entries. + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. Actor string `json:"actor"` - // Interface for activity log entries. + // Creation time of the entry. CreatedAt time.Time `json:"createdAt"` - // Interface for activity log entries. + // Message that summarizes the entry. Message string `json:"message"` - // Interface for activity log entries. + // The environment name that the entry belongs to. EnvironmentName string `json:"environmentName"` } @@ -13746,13 +17523,13 @@ func (v *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActiv // GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesReconcilerConfiguredActivityLogEntry includes the requested fields of the GraphQL type ReconcilerConfiguredActivityLogEntry. type GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesReconcilerConfiguredActivityLogEntry struct { Typename string `json:"__typename"` - // Interface for activity log entries. + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. Actor string `json:"actor"` - // Interface for activity log entries. + // Creation time of the entry. CreatedAt time.Time `json:"createdAt"` - // Interface for activity log entries. + // Message that summarizes the entry. Message string `json:"message"` - // Interface for activity log entries. + // The environment name that the entry belongs to. EnvironmentName string `json:"environmentName"` } @@ -13784,13 +17561,13 @@ func (v *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActiv // GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesReconcilerDisabledActivityLogEntry includes the requested fields of the GraphQL type ReconcilerDisabledActivityLogEntry. type GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesReconcilerDisabledActivityLogEntry struct { Typename string `json:"__typename"` - // Interface for activity log entries. + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. Actor string `json:"actor"` - // Interface for activity log entries. + // Creation time of the entry. CreatedAt time.Time `json:"createdAt"` - // Interface for activity log entries. + // Message that summarizes the entry. Message string `json:"message"` - // Interface for activity log entries. + // The environment name that the entry belongs to. EnvironmentName string `json:"environmentName"` } @@ -13822,13 +17599,13 @@ func (v *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActiv // GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesReconcilerEnabledActivityLogEntry includes the requested fields of the GraphQL type ReconcilerEnabledActivityLogEntry. type GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesReconcilerEnabledActivityLogEntry struct { Typename string `json:"__typename"` - // Interface for activity log entries. + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. Actor string `json:"actor"` - // Interface for activity log entries. + // Creation time of the entry. CreatedAt time.Time `json:"createdAt"` - // Interface for activity log entries. + // Message that summarizes the entry. Message string `json:"message"` - // Interface for activity log entries. + // The environment name that the entry belongs to. EnvironmentName string `json:"environmentName"` } @@ -13860,13 +17637,13 @@ func (v *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActiv // GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesRepositoryAddedActivityLogEntry includes the requested fields of the GraphQL type RepositoryAddedActivityLogEntry. type GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesRepositoryAddedActivityLogEntry struct { Typename string `json:"__typename"` - // Interface for activity log entries. + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. Actor string `json:"actor"` - // Interface for activity log entries. + // Creation time of the entry. CreatedAt time.Time `json:"createdAt"` - // Interface for activity log entries. + // Message that summarizes the entry. Message string `json:"message"` - // Interface for activity log entries. + // The environment name that the entry belongs to. EnvironmentName string `json:"environmentName"` } @@ -13898,13 +17675,13 @@ func (v *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActiv // GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesRepositoryRemovedActivityLogEntry includes the requested fields of the GraphQL type RepositoryRemovedActivityLogEntry. type GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesRepositoryRemovedActivityLogEntry struct { Typename string `json:"__typename"` - // Interface for activity log entries. + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. Actor string `json:"actor"` - // Interface for activity log entries. + // Creation time of the entry. CreatedAt time.Time `json:"createdAt"` - // Interface for activity log entries. + // Message that summarizes the entry. Message string `json:"message"` - // Interface for activity log entries. + // The environment name that the entry belongs to. EnvironmentName string `json:"environmentName"` } @@ -13936,13 +17713,13 @@ func (v *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActiv // GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesRoleAssignedToServiceAccountActivityLogEntry includes the requested fields of the GraphQL type RoleAssignedToServiceAccountActivityLogEntry. type GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesRoleAssignedToServiceAccountActivityLogEntry struct { Typename string `json:"__typename"` - // Interface for activity log entries. + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. Actor string `json:"actor"` - // Interface for activity log entries. + // Creation time of the entry. CreatedAt time.Time `json:"createdAt"` - // Interface for activity log entries. + // Message that summarizes the entry. Message string `json:"message"` - // Interface for activity log entries. + // The environment name that the entry belongs to. EnvironmentName string `json:"environmentName"` } @@ -13974,13 +17751,13 @@ func (v *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActiv // GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesRoleRevokedFromServiceAccountActivityLogEntry includes the requested fields of the GraphQL type RoleRevokedFromServiceAccountActivityLogEntry. type GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesRoleRevokedFromServiceAccountActivityLogEntry struct { Typename string `json:"__typename"` - // Interface for activity log entries. + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. Actor string `json:"actor"` - // Interface for activity log entries. + // Creation time of the entry. CreatedAt time.Time `json:"createdAt"` - // Interface for activity log entries. + // Message that summarizes the entry. Message string `json:"message"` - // Interface for activity log entries. + // The environment name that the entry belongs to. EnvironmentName string `json:"environmentName"` } @@ -14012,13 +17789,13 @@ func (v *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActiv // GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesSecretCreatedActivityLogEntry includes the requested fields of the GraphQL type SecretCreatedActivityLogEntry. type GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesSecretCreatedActivityLogEntry struct { Typename string `json:"__typename"` - // Interface for activity log entries. + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. Actor string `json:"actor"` - // Interface for activity log entries. + // Creation time of the entry. CreatedAt time.Time `json:"createdAt"` - // Interface for activity log entries. + // Message that summarizes the entry. Message string `json:"message"` - // Interface for activity log entries. + // The environment name that the entry belongs to. EnvironmentName string `json:"environmentName"` } @@ -14050,13 +17827,13 @@ func (v *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActiv // GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesSecretDeletedActivityLogEntry includes the requested fields of the GraphQL type SecretDeletedActivityLogEntry. type GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesSecretDeletedActivityLogEntry struct { Typename string `json:"__typename"` - // Interface for activity log entries. + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. Actor string `json:"actor"` - // Interface for activity log entries. + // Creation time of the entry. CreatedAt time.Time `json:"createdAt"` - // Interface for activity log entries. + // Message that summarizes the entry. Message string `json:"message"` - // Interface for activity log entries. + // The environment name that the entry belongs to. EnvironmentName string `json:"environmentName"` } @@ -14088,13 +17865,13 @@ func (v *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActiv // GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesSecretValueAddedActivityLogEntry includes the requested fields of the GraphQL type SecretValueAddedActivityLogEntry. type GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesSecretValueAddedActivityLogEntry struct { Typename string `json:"__typename"` - // Interface for activity log entries. + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. Actor string `json:"actor"` - // Interface for activity log entries. + // Creation time of the entry. CreatedAt time.Time `json:"createdAt"` - // Interface for activity log entries. + // Message that summarizes the entry. Message string `json:"message"` - // Interface for activity log entries. + // The environment name that the entry belongs to. EnvironmentName string `json:"environmentName"` } @@ -14126,13 +17903,13 @@ func (v *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActiv // GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesSecretValueRemovedActivityLogEntry includes the requested fields of the GraphQL type SecretValueRemovedActivityLogEntry. type GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesSecretValueRemovedActivityLogEntry struct { Typename string `json:"__typename"` - // Interface for activity log entries. + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. Actor string `json:"actor"` - // Interface for activity log entries. + // Creation time of the entry. CreatedAt time.Time `json:"createdAt"` - // Interface for activity log entries. + // Message that summarizes the entry. Message string `json:"message"` - // Interface for activity log entries. + // The environment name that the entry belongs to. EnvironmentName string `json:"environmentName"` } @@ -14164,13 +17941,13 @@ func (v *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActiv // GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesSecretValueUpdatedActivityLogEntry includes the requested fields of the GraphQL type SecretValueUpdatedActivityLogEntry. type GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesSecretValueUpdatedActivityLogEntry struct { Typename string `json:"__typename"` - // Interface for activity log entries. + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. Actor string `json:"actor"` - // Interface for activity log entries. + // Creation time of the entry. CreatedAt time.Time `json:"createdAt"` - // Interface for activity log entries. + // Message that summarizes the entry. Message string `json:"message"` - // Interface for activity log entries. + // The environment name that the entry belongs to. EnvironmentName string `json:"environmentName"` } @@ -14205,13 +17982,13 @@ func (v *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActiv // Activity log entry for viewing secret values. type GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesSecretValuesViewedActivityLogEntry struct { Typename string `json:"__typename"` - // Interface for activity log entries. + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. Actor string `json:"actor"` - // Interface for activity log entries. + // Creation time of the entry. CreatedAt time.Time `json:"createdAt"` - // Interface for activity log entries. + // Message that summarizes the entry. Message string `json:"message"` - // Interface for activity log entries. + // The environment name that the entry belongs to. EnvironmentName string `json:"environmentName"` } @@ -14243,13 +18020,13 @@ func (v *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActiv // GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesServiceAccountCreatedActivityLogEntry includes the requested fields of the GraphQL type ServiceAccountCreatedActivityLogEntry. type GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesServiceAccountCreatedActivityLogEntry struct { Typename string `json:"__typename"` - // Interface for activity log entries. + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. Actor string `json:"actor"` - // Interface for activity log entries. + // Creation time of the entry. CreatedAt time.Time `json:"createdAt"` - // Interface for activity log entries. + // Message that summarizes the entry. Message string `json:"message"` - // Interface for activity log entries. + // The environment name that the entry belongs to. EnvironmentName string `json:"environmentName"` } @@ -14281,13 +18058,13 @@ func (v *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActiv // GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesServiceAccountDeletedActivityLogEntry includes the requested fields of the GraphQL type ServiceAccountDeletedActivityLogEntry. type GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesServiceAccountDeletedActivityLogEntry struct { Typename string `json:"__typename"` - // Interface for activity log entries. + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. Actor string `json:"actor"` - // Interface for activity log entries. + // Creation time of the entry. CreatedAt time.Time `json:"createdAt"` - // Interface for activity log entries. + // Message that summarizes the entry. Message string `json:"message"` - // Interface for activity log entries. + // The environment name that the entry belongs to. EnvironmentName string `json:"environmentName"` } @@ -14319,13 +18096,13 @@ func (v *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActiv // GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesServiceAccountTokenCreatedActivityLogEntry includes the requested fields of the GraphQL type ServiceAccountTokenCreatedActivityLogEntry. type GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesServiceAccountTokenCreatedActivityLogEntry struct { Typename string `json:"__typename"` - // Interface for activity log entries. + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. Actor string `json:"actor"` - // Interface for activity log entries. + // Creation time of the entry. CreatedAt time.Time `json:"createdAt"` - // Interface for activity log entries. + // Message that summarizes the entry. Message string `json:"message"` - // Interface for activity log entries. + // The environment name that the entry belongs to. EnvironmentName string `json:"environmentName"` } @@ -14357,13 +18134,13 @@ func (v *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActiv // GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesServiceAccountTokenDeletedActivityLogEntry includes the requested fields of the GraphQL type ServiceAccountTokenDeletedActivityLogEntry. type GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesServiceAccountTokenDeletedActivityLogEntry struct { Typename string `json:"__typename"` - // Interface for activity log entries. + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. Actor string `json:"actor"` - // Interface for activity log entries. + // Creation time of the entry. CreatedAt time.Time `json:"createdAt"` - // Interface for activity log entries. + // Message that summarizes the entry. Message string `json:"message"` - // Interface for activity log entries. + // The environment name that the entry belongs to. EnvironmentName string `json:"environmentName"` } @@ -14395,13 +18172,13 @@ func (v *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActiv // GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesServiceAccountTokenUpdatedActivityLogEntry includes the requested fields of the GraphQL type ServiceAccountTokenUpdatedActivityLogEntry. type GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesServiceAccountTokenUpdatedActivityLogEntry struct { Typename string `json:"__typename"` - // Interface for activity log entries. + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. Actor string `json:"actor"` - // Interface for activity log entries. + // Creation time of the entry. CreatedAt time.Time `json:"createdAt"` - // Interface for activity log entries. + // Message that summarizes the entry. Message string `json:"message"` - // Interface for activity log entries. + // The environment name that the entry belongs to. EnvironmentName string `json:"environmentName"` } @@ -14433,13 +18210,13 @@ func (v *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActiv // GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesServiceAccountUpdatedActivityLogEntry includes the requested fields of the GraphQL type ServiceAccountUpdatedActivityLogEntry. type GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesServiceAccountUpdatedActivityLogEntry struct { Typename string `json:"__typename"` - // Interface for activity log entries. + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. Actor string `json:"actor"` - // Interface for activity log entries. + // Creation time of the entry. CreatedAt time.Time `json:"createdAt"` - // Interface for activity log entries. + // Message that summarizes the entry. Message string `json:"message"` - // Interface for activity log entries. + // The environment name that the entry belongs to. EnvironmentName string `json:"environmentName"` } @@ -14471,13 +18248,13 @@ func (v *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActiv // GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesServiceMaintenanceActivityLogEntry includes the requested fields of the GraphQL type ServiceMaintenanceActivityLogEntry. type GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesServiceMaintenanceActivityLogEntry struct { Typename string `json:"__typename"` - // Interface for activity log entries. + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. Actor string `json:"actor"` - // Interface for activity log entries. + // Creation time of the entry. CreatedAt time.Time `json:"createdAt"` - // Interface for activity log entries. + // Message that summarizes the entry. Message string `json:"message"` - // Interface for activity log entries. + // The environment name that the entry belongs to. EnvironmentName string `json:"environmentName"` } @@ -14509,13 +18286,13 @@ func (v *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActiv // GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesTeamConfirmDeleteKeyActivityLogEntry includes the requested fields of the GraphQL type TeamConfirmDeleteKeyActivityLogEntry. type GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesTeamConfirmDeleteKeyActivityLogEntry struct { Typename string `json:"__typename"` - // Interface for activity log entries. + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. Actor string `json:"actor"` - // Interface for activity log entries. + // Creation time of the entry. CreatedAt time.Time `json:"createdAt"` - // Interface for activity log entries. + // Message that summarizes the entry. Message string `json:"message"` - // Interface for activity log entries. + // The environment name that the entry belongs to. EnvironmentName string `json:"environmentName"` } @@ -14547,13 +18324,13 @@ func (v *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActiv // GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesTeamCreateDeleteKeyActivityLogEntry includes the requested fields of the GraphQL type TeamCreateDeleteKeyActivityLogEntry. type GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesTeamCreateDeleteKeyActivityLogEntry struct { Typename string `json:"__typename"` - // Interface for activity log entries. + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. Actor string `json:"actor"` - // Interface for activity log entries. + // Creation time of the entry. CreatedAt time.Time `json:"createdAt"` - // Interface for activity log entries. + // Message that summarizes the entry. Message string `json:"message"` - // Interface for activity log entries. + // The environment name that the entry belongs to. EnvironmentName string `json:"environmentName"` } @@ -14585,13 +18362,13 @@ func (v *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActiv // GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesTeamCreatedActivityLogEntry includes the requested fields of the GraphQL type TeamCreatedActivityLogEntry. type GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesTeamCreatedActivityLogEntry struct { Typename string `json:"__typename"` - // Interface for activity log entries. + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. Actor string `json:"actor"` - // Interface for activity log entries. + // Creation time of the entry. CreatedAt time.Time `json:"createdAt"` - // Interface for activity log entries. + // Message that summarizes the entry. Message string `json:"message"` - // Interface for activity log entries. + // The environment name that the entry belongs to. EnvironmentName string `json:"environmentName"` } @@ -14623,13 +18400,13 @@ func (v *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActiv // GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesTeamDeployKeyUpdatedActivityLogEntry includes the requested fields of the GraphQL type TeamDeployKeyUpdatedActivityLogEntry. type GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesTeamDeployKeyUpdatedActivityLogEntry struct { Typename string `json:"__typename"` - // Interface for activity log entries. + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. Actor string `json:"actor"` - // Interface for activity log entries. + // Creation time of the entry. CreatedAt time.Time `json:"createdAt"` - // Interface for activity log entries. + // Message that summarizes the entry. Message string `json:"message"` - // Interface for activity log entries. + // The environment name that the entry belongs to. EnvironmentName string `json:"environmentName"` } @@ -14661,13 +18438,13 @@ func (v *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActiv // GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesTeamEnvironmentUpdatedActivityLogEntry includes the requested fields of the GraphQL type TeamEnvironmentUpdatedActivityLogEntry. type GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesTeamEnvironmentUpdatedActivityLogEntry struct { Typename string `json:"__typename"` - // Interface for activity log entries. + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. Actor string `json:"actor"` - // Interface for activity log entries. + // Creation time of the entry. CreatedAt time.Time `json:"createdAt"` - // Interface for activity log entries. + // Message that summarizes the entry. Message string `json:"message"` - // Interface for activity log entries. + // The environment name that the entry belongs to. EnvironmentName string `json:"environmentName"` } @@ -14699,13 +18476,13 @@ func (v *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActiv // GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesTeamMemberAddedActivityLogEntry includes the requested fields of the GraphQL type TeamMemberAddedActivityLogEntry. type GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesTeamMemberAddedActivityLogEntry struct { Typename string `json:"__typename"` - // Interface for activity log entries. + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. Actor string `json:"actor"` - // Interface for activity log entries. + // Creation time of the entry. CreatedAt time.Time `json:"createdAt"` - // Interface for activity log entries. + // Message that summarizes the entry. Message string `json:"message"` - // Interface for activity log entries. + // The environment name that the entry belongs to. EnvironmentName string `json:"environmentName"` } @@ -14737,13 +18514,13 @@ func (v *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActiv // GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesTeamMemberRemovedActivityLogEntry includes the requested fields of the GraphQL type TeamMemberRemovedActivityLogEntry. type GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesTeamMemberRemovedActivityLogEntry struct { Typename string `json:"__typename"` - // Interface for activity log entries. + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. Actor string `json:"actor"` - // Interface for activity log entries. + // Creation time of the entry. CreatedAt time.Time `json:"createdAt"` - // Interface for activity log entries. + // Message that summarizes the entry. Message string `json:"message"` - // Interface for activity log entries. + // The environment name that the entry belongs to. EnvironmentName string `json:"environmentName"` } @@ -14775,13 +18552,13 @@ func (v *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActiv // GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesTeamMemberSetRoleActivityLogEntry includes the requested fields of the GraphQL type TeamMemberSetRoleActivityLogEntry. type GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesTeamMemberSetRoleActivityLogEntry struct { Typename string `json:"__typename"` - // Interface for activity log entries. + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. Actor string `json:"actor"` - // Interface for activity log entries. + // Creation time of the entry. CreatedAt time.Time `json:"createdAt"` - // Interface for activity log entries. + // Message that summarizes the entry. Message string `json:"message"` - // Interface for activity log entries. + // The environment name that the entry belongs to. EnvironmentName string `json:"environmentName"` } @@ -14813,13 +18590,13 @@ func (v *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActiv // GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesTeamUpdatedActivityLogEntry includes the requested fields of the GraphQL type TeamUpdatedActivityLogEntry. type GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesTeamUpdatedActivityLogEntry struct { Typename string `json:"__typename"` - // Interface for activity log entries. + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. Actor string `json:"actor"` - // Interface for activity log entries. + // Creation time of the entry. CreatedAt time.Time `json:"createdAt"` - // Interface for activity log entries. + // Message that summarizes the entry. Message string `json:"message"` - // Interface for activity log entries. + // The environment name that the entry belongs to. EnvironmentName string `json:"environmentName"` } @@ -14851,13 +18628,13 @@ func (v *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActiv // GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesUnleashInstanceCreatedActivityLogEntry includes the requested fields of the GraphQL type UnleashInstanceCreatedActivityLogEntry. type GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesUnleashInstanceCreatedActivityLogEntry struct { Typename string `json:"__typename"` - // Interface for activity log entries. + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. Actor string `json:"actor"` - // Interface for activity log entries. + // Creation time of the entry. CreatedAt time.Time `json:"createdAt"` - // Interface for activity log entries. + // Message that summarizes the entry. Message string `json:"message"` - // Interface for activity log entries. + // The environment name that the entry belongs to. EnvironmentName string `json:"environmentName"` } @@ -14889,13 +18666,13 @@ func (v *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActiv // GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesUnleashInstanceDeletedActivityLogEntry includes the requested fields of the GraphQL type UnleashInstanceDeletedActivityLogEntry. type GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesUnleashInstanceDeletedActivityLogEntry struct { Typename string `json:"__typename"` - // Interface for activity log entries. + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. Actor string `json:"actor"` - // Interface for activity log entries. + // Creation time of the entry. CreatedAt time.Time `json:"createdAt"` - // Interface for activity log entries. + // Message that summarizes the entry. Message string `json:"message"` - // Interface for activity log entries. + // The environment name that the entry belongs to. EnvironmentName string `json:"environmentName"` } @@ -14927,13 +18704,13 @@ func (v *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActiv // GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesUnleashInstanceUpdatedActivityLogEntry includes the requested fields of the GraphQL type UnleashInstanceUpdatedActivityLogEntry. type GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesUnleashInstanceUpdatedActivityLogEntry struct { Typename string `json:"__typename"` - // Interface for activity log entries. + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. Actor string `json:"actor"` - // Interface for activity log entries. + // Creation time of the entry. CreatedAt time.Time `json:"createdAt"` - // Interface for activity log entries. + // Message that summarizes the entry. Message string `json:"message"` - // Interface for activity log entries. + // The environment name that the entry belongs to. EnvironmentName string `json:"environmentName"` } @@ -14965,13 +18742,13 @@ func (v *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActiv // GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesValkeyCreatedActivityLogEntry includes the requested fields of the GraphQL type ValkeyCreatedActivityLogEntry. type GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesValkeyCreatedActivityLogEntry struct { Typename string `json:"__typename"` - // Interface for activity log entries. + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. Actor string `json:"actor"` - // Interface for activity log entries. + // Creation time of the entry. CreatedAt time.Time `json:"createdAt"` - // Interface for activity log entries. + // Message that summarizes the entry. Message string `json:"message"` - // Interface for activity log entries. + // The environment name that the entry belongs to. EnvironmentName string `json:"environmentName"` } @@ -15003,13 +18780,13 @@ func (v *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActiv // GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesValkeyDeletedActivityLogEntry includes the requested fields of the GraphQL type ValkeyDeletedActivityLogEntry. type GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesValkeyDeletedActivityLogEntry struct { Typename string `json:"__typename"` - // Interface for activity log entries. + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. Actor string `json:"actor"` - // Interface for activity log entries. + // Creation time of the entry. CreatedAt time.Time `json:"createdAt"` - // Interface for activity log entries. + // Message that summarizes the entry. Message string `json:"message"` - // Interface for activity log entries. + // The environment name that the entry belongs to. EnvironmentName string `json:"environmentName"` } @@ -15041,13 +18818,13 @@ func (v *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActiv // GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesValkeyUpdatedActivityLogEntry includes the requested fields of the GraphQL type ValkeyUpdatedActivityLogEntry. type GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesValkeyUpdatedActivityLogEntry struct { Typename string `json:"__typename"` - // Interface for activity log entries. + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. Actor string `json:"actor"` - // Interface for activity log entries. + // Creation time of the entry. CreatedAt time.Time `json:"createdAt"` - // Interface for activity log entries. + // Message that summarizes the entry. Message string `json:"message"` - // Interface for activity log entries. + // The environment name that the entry belongs to. EnvironmentName string `json:"environmentName"` } @@ -15079,13 +18856,13 @@ func (v *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActiv // GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesVulnerabilityUpdatedActivityLogEntry includes the requested fields of the GraphQL type VulnerabilityUpdatedActivityLogEntry. type GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesVulnerabilityUpdatedActivityLogEntry struct { Typename string `json:"__typename"` - // Interface for activity log entries. + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. Actor string `json:"actor"` - // Interface for activity log entries. + // Creation time of the entry. CreatedAt time.Time `json:"createdAt"` - // Interface for activity log entries. + // Message that summarizes the entry. Message string `json:"message"` - // Interface for activity log entries. + // The environment name that the entry belongs to. EnvironmentName string `json:"environmentName"` } @@ -15351,7 +19128,7 @@ func (v *GetSecretTeamEnvironmentSecretWorkloadsWorkloadConnection) __premarshal // // Learn more about how to create and configure your applications in the [Nais documentation](https://docs.nais.io/workloads/application/). type GetSecretTeamEnvironmentSecretWorkloadsWorkloadConnectionNodesApplication struct { - // Interface for workloads. + // The name of the workload. Name string `json:"name"` Typename string `json:"__typename"` } @@ -15368,7 +19145,7 @@ func (v *GetSecretTeamEnvironmentSecretWorkloadsWorkloadConnectionNodesApplicati // GetSecretTeamEnvironmentSecretWorkloadsWorkloadConnectionNodesJob includes the requested fields of the GraphQL type Job. type GetSecretTeamEnvironmentSecretWorkloadsWorkloadConnectionNodesJob struct { - // Interface for workloads. + // The name of the workload. Name string `json:"name"` Typename string `json:"__typename"` } @@ -15396,7 +19173,7 @@ type GetSecretTeamEnvironmentSecretWorkloadsWorkloadConnectionNodesWorkload inte // GetName returns the interface-field "name" from its implementation. // The GraphQL interface field's documentation follows. // - // Interface for workloads. + // The name of the workload. GetName() string // GetTypename returns the receiver's concrete GraphQL type-name (see interface doc for possible values). GetTypename() string @@ -15587,10 +19364,12 @@ func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnection) __premarshalJ // GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesApplicationRestartedActivityLogEntry // GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesApplicationScaledActivityLogEntry // GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry +// GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesConfigCreatedActivityLogEntry +// GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesConfigDeletedActivityLogEntry +// GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesConfigUpdatedActivityLogEntry // GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesCredentialsActivityLogEntry // GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesDeploymentActivityLogEntry // GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesJobDeletedActivityLogEntry -// GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesJobRunDeletedActivityLogEntry // GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesJobTriggeredActivityLogEntry // GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesOpenSearchCreatedActivityLogEntry // GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesOpenSearchDeletedActivityLogEntry @@ -15642,32 +19421,32 @@ type GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesActivityLogEnt // GetActor returns the interface-field "actor" from its implementation. // The GraphQL interface field's documentation follows. // - // Interface for activity log entries. + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. GetActor() string // GetCreatedAt returns the interface-field "createdAt" from its implementation. // The GraphQL interface field's documentation follows. // - // Interface for activity log entries. + // Creation time of the entry. GetCreatedAt() time.Time // GetMessage returns the interface-field "message" from its implementation. // The GraphQL interface field's documentation follows. // - // Interface for activity log entries. + // Message that summarizes the entry. GetMessage() string // GetEnvironmentName returns the interface-field "environmentName" from its implementation. // The GraphQL interface field's documentation follows. // - // Interface for activity log entries. + // The environment name that the entry belongs to. GetEnvironmentName() string // GetResourceType returns the interface-field "resourceType" from its implementation. // The GraphQL interface field's documentation follows. // - // Interface for activity log entries. + // Type of the resource that was affected by the action. GetResourceType() ActivityLogEntryResourceType // GetResourceName returns the interface-field "resourceName" from its implementation. // The GraphQL interface field's documentation follows. // - // Interface for activity log entries. + // Name of the resource that was affected by the action. GetResourceName() string } @@ -15679,14 +19458,18 @@ func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesApplicatio } func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry) implementsGraphQLInterfaceGetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { } +func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesConfigCreatedActivityLogEntry) implementsGraphQLInterfaceGetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { +} +func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesConfigDeletedActivityLogEntry) implementsGraphQLInterfaceGetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { +} +func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesConfigUpdatedActivityLogEntry) implementsGraphQLInterfaceGetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { +} func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesCredentialsActivityLogEntry) implementsGraphQLInterfaceGetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { } func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesDeploymentActivityLogEntry) implementsGraphQLInterfaceGetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { } func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesJobDeletedActivityLogEntry) implementsGraphQLInterfaceGetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { } -func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesJobRunDeletedActivityLogEntry) implementsGraphQLInterfaceGetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { -} func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesJobTriggeredActivityLogEntry) implementsGraphQLInterfaceGetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { } func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesOpenSearchCreatedActivityLogEntry) implementsGraphQLInterfaceGetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { @@ -15796,6 +19579,15 @@ func __unmarshalGetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesAct case "ClusterAuditActivityLogEntry": *v = new(GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry) return json.Unmarshal(b, *v) + case "ConfigCreatedActivityLogEntry": + *v = new(GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesConfigCreatedActivityLogEntry) + return json.Unmarshal(b, *v) + case "ConfigDeletedActivityLogEntry": + *v = new(GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesConfigDeletedActivityLogEntry) + return json.Unmarshal(b, *v) + case "ConfigUpdatedActivityLogEntry": + *v = new(GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesConfigUpdatedActivityLogEntry) + return json.Unmarshal(b, *v) case "CredentialsActivityLogEntry": *v = new(GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesCredentialsActivityLogEntry) return json.Unmarshal(b, *v) @@ -15805,9 +19597,6 @@ func __unmarshalGetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesAct case "JobDeletedActivityLogEntry": *v = new(GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesJobDeletedActivityLogEntry) return json.Unmarshal(b, *v) - case "JobRunDeletedActivityLogEntry": - *v = new(GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesJobRunDeletedActivityLogEntry) - return json.Unmarshal(b, *v) case "JobTriggeredActivityLogEntry": *v = new(GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesJobTriggeredActivityLogEntry) return json.Unmarshal(b, *v) @@ -15976,6 +19765,30 @@ func __marshalGetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesActiv *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry }{typename, v} return json.Marshal(result) + case *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesConfigCreatedActivityLogEntry: + typename = "ConfigCreatedActivityLogEntry" + + result := struct { + TypeName string `json:"__typename"` + *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesConfigCreatedActivityLogEntry + }{typename, v} + return json.Marshal(result) + case *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesConfigDeletedActivityLogEntry: + typename = "ConfigDeletedActivityLogEntry" + + result := struct { + TypeName string `json:"__typename"` + *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesConfigDeletedActivityLogEntry + }{typename, v} + return json.Marshal(result) + case *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesConfigUpdatedActivityLogEntry: + typename = "ConfigUpdatedActivityLogEntry" + + result := struct { + TypeName string `json:"__typename"` + *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesConfigUpdatedActivityLogEntry + }{typename, v} + return json.Marshal(result) case *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesCredentialsActivityLogEntry: typename = "CredentialsActivityLogEntry" @@ -16000,14 +19813,6 @@ func __marshalGetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesActiv *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesJobDeletedActivityLogEntry }{typename, v} return json.Marshal(result) - case *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesJobRunDeletedActivityLogEntry: - typename = "JobRunDeletedActivityLogEntry" - - result := struct { - TypeName string `json:"__typename"` - *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesJobRunDeletedActivityLogEntry - }{typename, v} - return json.Marshal(result) case *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesJobTriggeredActivityLogEntry: typename = "JobTriggeredActivityLogEntry" @@ -16347,17 +20152,17 @@ func __marshalGetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesActiv // GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesApplicationDeletedActivityLogEntry includes the requested fields of the GraphQL type ApplicationDeletedActivityLogEntry. type GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesApplicationDeletedActivityLogEntry struct { Typename string `json:"__typename"` - // Interface for activity log entries. + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. Actor string `json:"actor"` - // Interface for activity log entries. + // Creation time of the entry. CreatedAt time.Time `json:"createdAt"` - // Interface for activity log entries. + // Message that summarizes the entry. Message string `json:"message"` - // Interface for activity log entries. + // The environment name that the entry belongs to. EnvironmentName string `json:"environmentName"` - // Interface for activity log entries. + // Type of the resource that was affected by the action. ResourceType ActivityLogEntryResourceType `json:"resourceType"` - // Interface for activity log entries. + // Name of the resource that was affected by the action. ResourceName string `json:"resourceName"` } @@ -16399,17 +20204,17 @@ func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesApplicatio // GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesApplicationRestartedActivityLogEntry includes the requested fields of the GraphQL type ApplicationRestartedActivityLogEntry. type GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesApplicationRestartedActivityLogEntry struct { Typename string `json:"__typename"` - // Interface for activity log entries. + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. Actor string `json:"actor"` - // Interface for activity log entries. + // Creation time of the entry. CreatedAt time.Time `json:"createdAt"` - // Interface for activity log entries. + // Message that summarizes the entry. Message string `json:"message"` - // Interface for activity log entries. + // The environment name that the entry belongs to. EnvironmentName string `json:"environmentName"` - // Interface for activity log entries. + // Type of the resource that was affected by the action. ResourceType ActivityLogEntryResourceType `json:"resourceType"` - // Interface for activity log entries. + // Name of the resource that was affected by the action. ResourceName string `json:"resourceName"` } @@ -16443,129 +20248,285 @@ func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesApplicatio return v.ResourceType } -// GetResourceName returns GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesApplicationRestartedActivityLogEntry.ResourceName, and is useful for accessing the field via an interface. -func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesApplicationRestartedActivityLogEntry) GetResourceName() string { +// GetResourceName returns GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesApplicationRestartedActivityLogEntry.ResourceName, and is useful for accessing the field via an interface. +func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesApplicationRestartedActivityLogEntry) GetResourceName() string { + return v.ResourceName +} + +// GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesApplicationScaledActivityLogEntry includes the requested fields of the GraphQL type ApplicationScaledActivityLogEntry. +type GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesApplicationScaledActivityLogEntry struct { + Typename string `json:"__typename"` + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + Actor string `json:"actor"` + // Creation time of the entry. + CreatedAt time.Time `json:"createdAt"` + // Message that summarizes the entry. + Message string `json:"message"` + // The environment name that the entry belongs to. + EnvironmentName string `json:"environmentName"` + // Type of the resource that was affected by the action. + ResourceType ActivityLogEntryResourceType `json:"resourceType"` + // Name of the resource that was affected by the action. + ResourceName string `json:"resourceName"` +} + +// GetTypename returns GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesApplicationScaledActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesApplicationScaledActivityLogEntry) GetTypename() string { + return v.Typename +} + +// GetActor returns GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesApplicationScaledActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesApplicationScaledActivityLogEntry) GetActor() string { + return v.Actor +} + +// GetCreatedAt returns GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesApplicationScaledActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesApplicationScaledActivityLogEntry) GetCreatedAt() time.Time { + return v.CreatedAt +} + +// GetMessage returns GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesApplicationScaledActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesApplicationScaledActivityLogEntry) GetMessage() string { + return v.Message +} + +// GetEnvironmentName returns GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesApplicationScaledActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesApplicationScaledActivityLogEntry) GetEnvironmentName() string { + return v.EnvironmentName +} + +// GetResourceType returns GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesApplicationScaledActivityLogEntry.ResourceType, and is useful for accessing the field via an interface. +func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesApplicationScaledActivityLogEntry) GetResourceType() ActivityLogEntryResourceType { + return v.ResourceType +} + +// GetResourceName returns GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesApplicationScaledActivityLogEntry.ResourceName, and is useful for accessing the field via an interface. +func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesApplicationScaledActivityLogEntry) GetResourceName() string { + return v.ResourceName +} + +// GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry includes the requested fields of the GraphQL type ClusterAuditActivityLogEntry. +type GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry struct { + Typename string `json:"__typename"` + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + Actor string `json:"actor"` + // Creation time of the entry. + CreatedAt time.Time `json:"createdAt"` + // Message that summarizes the entry. + Message string `json:"message"` + // The environment name that the entry belongs to. + EnvironmentName string `json:"environmentName"` + // Type of the resource that was affected by the action. + ResourceType ActivityLogEntryResourceType `json:"resourceType"` + // Name of the resource that was affected by the action. + ResourceName string `json:"resourceName"` +} + +// GetTypename returns GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry) GetTypename() string { + return v.Typename +} + +// GetActor returns GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry) GetActor() string { + return v.Actor +} + +// GetCreatedAt returns GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry) GetCreatedAt() time.Time { + return v.CreatedAt +} + +// GetMessage returns GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry) GetMessage() string { + return v.Message +} + +// GetEnvironmentName returns GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry) GetEnvironmentName() string { + return v.EnvironmentName +} + +// GetResourceType returns GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry.ResourceType, and is useful for accessing the field via an interface. +func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry) GetResourceType() ActivityLogEntryResourceType { + return v.ResourceType +} + +// GetResourceName returns GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry.ResourceName, and is useful for accessing the field via an interface. +func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry) GetResourceName() string { + return v.ResourceName +} + +// GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesConfigCreatedActivityLogEntry includes the requested fields of the GraphQL type ConfigCreatedActivityLogEntry. +type GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesConfigCreatedActivityLogEntry struct { + Typename string `json:"__typename"` + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + Actor string `json:"actor"` + // Creation time of the entry. + CreatedAt time.Time `json:"createdAt"` + // Message that summarizes the entry. + Message string `json:"message"` + // The environment name that the entry belongs to. + EnvironmentName string `json:"environmentName"` + // Type of the resource that was affected by the action. + ResourceType ActivityLogEntryResourceType `json:"resourceType"` + // Name of the resource that was affected by the action. + ResourceName string `json:"resourceName"` +} + +// GetTypename returns GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesConfigCreatedActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesConfigCreatedActivityLogEntry) GetTypename() string { + return v.Typename +} + +// GetActor returns GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesConfigCreatedActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesConfigCreatedActivityLogEntry) GetActor() string { + return v.Actor +} + +// GetCreatedAt returns GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesConfigCreatedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesConfigCreatedActivityLogEntry) GetCreatedAt() time.Time { + return v.CreatedAt +} + +// GetMessage returns GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesConfigCreatedActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesConfigCreatedActivityLogEntry) GetMessage() string { + return v.Message +} + +// GetEnvironmentName returns GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesConfigCreatedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesConfigCreatedActivityLogEntry) GetEnvironmentName() string { + return v.EnvironmentName +} + +// GetResourceType returns GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesConfigCreatedActivityLogEntry.ResourceType, and is useful for accessing the field via an interface. +func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesConfigCreatedActivityLogEntry) GetResourceType() ActivityLogEntryResourceType { + return v.ResourceType +} + +// GetResourceName returns GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesConfigCreatedActivityLogEntry.ResourceName, and is useful for accessing the field via an interface. +func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesConfigCreatedActivityLogEntry) GetResourceName() string { return v.ResourceName } -// GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesApplicationScaledActivityLogEntry includes the requested fields of the GraphQL type ApplicationScaledActivityLogEntry. -type GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesApplicationScaledActivityLogEntry struct { +// GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesConfigDeletedActivityLogEntry includes the requested fields of the GraphQL type ConfigDeletedActivityLogEntry. +type GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesConfigDeletedActivityLogEntry struct { Typename string `json:"__typename"` - // Interface for activity log entries. + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. Actor string `json:"actor"` - // Interface for activity log entries. + // Creation time of the entry. CreatedAt time.Time `json:"createdAt"` - // Interface for activity log entries. + // Message that summarizes the entry. Message string `json:"message"` - // Interface for activity log entries. + // The environment name that the entry belongs to. EnvironmentName string `json:"environmentName"` - // Interface for activity log entries. + // Type of the resource that was affected by the action. ResourceType ActivityLogEntryResourceType `json:"resourceType"` - // Interface for activity log entries. + // Name of the resource that was affected by the action. ResourceName string `json:"resourceName"` } -// GetTypename returns GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesApplicationScaledActivityLogEntry.Typename, and is useful for accessing the field via an interface. -func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesApplicationScaledActivityLogEntry) GetTypename() string { +// GetTypename returns GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesConfigDeletedActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesConfigDeletedActivityLogEntry) GetTypename() string { return v.Typename } -// GetActor returns GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesApplicationScaledActivityLogEntry.Actor, and is useful for accessing the field via an interface. -func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesApplicationScaledActivityLogEntry) GetActor() string { +// GetActor returns GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesConfigDeletedActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesConfigDeletedActivityLogEntry) GetActor() string { return v.Actor } -// GetCreatedAt returns GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesApplicationScaledActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. -func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesApplicationScaledActivityLogEntry) GetCreatedAt() time.Time { +// GetCreatedAt returns GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesConfigDeletedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesConfigDeletedActivityLogEntry) GetCreatedAt() time.Time { return v.CreatedAt } -// GetMessage returns GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesApplicationScaledActivityLogEntry.Message, and is useful for accessing the field via an interface. -func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesApplicationScaledActivityLogEntry) GetMessage() string { +// GetMessage returns GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesConfigDeletedActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesConfigDeletedActivityLogEntry) GetMessage() string { return v.Message } -// GetEnvironmentName returns GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesApplicationScaledActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. -func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesApplicationScaledActivityLogEntry) GetEnvironmentName() string { +// GetEnvironmentName returns GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesConfigDeletedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesConfigDeletedActivityLogEntry) GetEnvironmentName() string { return v.EnvironmentName } -// GetResourceType returns GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesApplicationScaledActivityLogEntry.ResourceType, and is useful for accessing the field via an interface. -func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesApplicationScaledActivityLogEntry) GetResourceType() ActivityLogEntryResourceType { +// GetResourceType returns GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesConfigDeletedActivityLogEntry.ResourceType, and is useful for accessing the field via an interface. +func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesConfigDeletedActivityLogEntry) GetResourceType() ActivityLogEntryResourceType { return v.ResourceType } -// GetResourceName returns GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesApplicationScaledActivityLogEntry.ResourceName, and is useful for accessing the field via an interface. -func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesApplicationScaledActivityLogEntry) GetResourceName() string { +// GetResourceName returns GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesConfigDeletedActivityLogEntry.ResourceName, and is useful for accessing the field via an interface. +func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesConfigDeletedActivityLogEntry) GetResourceName() string { return v.ResourceName } -// GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry includes the requested fields of the GraphQL type ClusterAuditActivityLogEntry. -type GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry struct { +// GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesConfigUpdatedActivityLogEntry includes the requested fields of the GraphQL type ConfigUpdatedActivityLogEntry. +type GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesConfigUpdatedActivityLogEntry struct { Typename string `json:"__typename"` - // Interface for activity log entries. + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. Actor string `json:"actor"` - // Interface for activity log entries. + // Creation time of the entry. CreatedAt time.Time `json:"createdAt"` - // Interface for activity log entries. + // Message that summarizes the entry. Message string `json:"message"` - // Interface for activity log entries. + // The environment name that the entry belongs to. EnvironmentName string `json:"environmentName"` - // Interface for activity log entries. + // Type of the resource that was affected by the action. ResourceType ActivityLogEntryResourceType `json:"resourceType"` - // Interface for activity log entries. + // Name of the resource that was affected by the action. ResourceName string `json:"resourceName"` } -// GetTypename returns GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry.Typename, and is useful for accessing the field via an interface. -func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry) GetTypename() string { +// GetTypename returns GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesConfigUpdatedActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesConfigUpdatedActivityLogEntry) GetTypename() string { return v.Typename } -// GetActor returns GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry.Actor, and is useful for accessing the field via an interface. -func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry) GetActor() string { +// GetActor returns GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesConfigUpdatedActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesConfigUpdatedActivityLogEntry) GetActor() string { return v.Actor } -// GetCreatedAt returns GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. -func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry) GetCreatedAt() time.Time { +// GetCreatedAt returns GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesConfigUpdatedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesConfigUpdatedActivityLogEntry) GetCreatedAt() time.Time { return v.CreatedAt } -// GetMessage returns GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry.Message, and is useful for accessing the field via an interface. -func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry) GetMessage() string { +// GetMessage returns GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesConfigUpdatedActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesConfigUpdatedActivityLogEntry) GetMessage() string { return v.Message } -// GetEnvironmentName returns GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. -func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry) GetEnvironmentName() string { +// GetEnvironmentName returns GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesConfigUpdatedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesConfigUpdatedActivityLogEntry) GetEnvironmentName() string { return v.EnvironmentName } -// GetResourceType returns GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry.ResourceType, and is useful for accessing the field via an interface. -func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry) GetResourceType() ActivityLogEntryResourceType { +// GetResourceType returns GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesConfigUpdatedActivityLogEntry.ResourceType, and is useful for accessing the field via an interface. +func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesConfigUpdatedActivityLogEntry) GetResourceType() ActivityLogEntryResourceType { return v.ResourceType } -// GetResourceName returns GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry.ResourceName, and is useful for accessing the field via an interface. -func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry) GetResourceName() string { +// GetResourceName returns GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesConfigUpdatedActivityLogEntry.ResourceName, and is useful for accessing the field via an interface. +func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesConfigUpdatedActivityLogEntry) GetResourceName() string { return v.ResourceName } // GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesCredentialsActivityLogEntry includes the requested fields of the GraphQL type CredentialsActivityLogEntry. type GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesCredentialsActivityLogEntry struct { Typename string `json:"__typename"` - // Interface for activity log entries. + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. Actor string `json:"actor"` - // Interface for activity log entries. + // Creation time of the entry. CreatedAt time.Time `json:"createdAt"` - // Interface for activity log entries. + // Message that summarizes the entry. Message string `json:"message"` - // Interface for activity log entries. + // The environment name that the entry belongs to. EnvironmentName string `json:"environmentName"` - // Interface for activity log entries. + // Type of the resource that was affected by the action. ResourceType ActivityLogEntryResourceType `json:"resourceType"` - // Interface for activity log entries. + // Name of the resource that was affected by the action. ResourceName string `json:"resourceName"` } @@ -16607,17 +20568,17 @@ func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesCredential // GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesDeploymentActivityLogEntry includes the requested fields of the GraphQL type DeploymentActivityLogEntry. type GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesDeploymentActivityLogEntry struct { Typename string `json:"__typename"` - // Interface for activity log entries. + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. Actor string `json:"actor"` - // Interface for activity log entries. + // Creation time of the entry. CreatedAt time.Time `json:"createdAt"` - // Interface for activity log entries. + // Message that summarizes the entry. Message string `json:"message"` - // Interface for activity log entries. + // The environment name that the entry belongs to. EnvironmentName string `json:"environmentName"` - // Interface for activity log entries. + // Type of the resource that was affected by the action. ResourceType ActivityLogEntryResourceType `json:"resourceType"` - // Interface for activity log entries. + // Name of the resource that was affected by the action. ResourceName string `json:"resourceName"` } @@ -16659,17 +20620,17 @@ func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesDeployment // GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesJobDeletedActivityLogEntry includes the requested fields of the GraphQL type JobDeletedActivityLogEntry. type GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesJobDeletedActivityLogEntry struct { Typename string `json:"__typename"` - // Interface for activity log entries. + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. Actor string `json:"actor"` - // Interface for activity log entries. + // Creation time of the entry. CreatedAt time.Time `json:"createdAt"` - // Interface for activity log entries. + // Message that summarizes the entry. Message string `json:"message"` - // Interface for activity log entries. + // The environment name that the entry belongs to. EnvironmentName string `json:"environmentName"` - // Interface for activity log entries. + // Type of the resource that was affected by the action. ResourceType ActivityLogEntryResourceType `json:"resourceType"` - // Interface for activity log entries. + // Name of the resource that was affected by the action. ResourceName string `json:"resourceName"` } @@ -16708,72 +20669,20 @@ func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesJobDeleted return v.ResourceName } -// GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesJobRunDeletedActivityLogEntry includes the requested fields of the GraphQL type JobRunDeletedActivityLogEntry. -type GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesJobRunDeletedActivityLogEntry struct { - Typename string `json:"__typename"` - // Interface for activity log entries. - Actor string `json:"actor"` - // Interface for activity log entries. - CreatedAt time.Time `json:"createdAt"` - // Interface for activity log entries. - Message string `json:"message"` - // Interface for activity log entries. - EnvironmentName string `json:"environmentName"` - // Interface for activity log entries. - ResourceType ActivityLogEntryResourceType `json:"resourceType"` - // Interface for activity log entries. - ResourceName string `json:"resourceName"` -} - -// GetTypename returns GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesJobRunDeletedActivityLogEntry.Typename, and is useful for accessing the field via an interface. -func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesJobRunDeletedActivityLogEntry) GetTypename() string { - return v.Typename -} - -// GetActor returns GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesJobRunDeletedActivityLogEntry.Actor, and is useful for accessing the field via an interface. -func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesJobRunDeletedActivityLogEntry) GetActor() string { - return v.Actor -} - -// GetCreatedAt returns GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesJobRunDeletedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. -func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesJobRunDeletedActivityLogEntry) GetCreatedAt() time.Time { - return v.CreatedAt -} - -// GetMessage returns GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesJobRunDeletedActivityLogEntry.Message, and is useful for accessing the field via an interface. -func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesJobRunDeletedActivityLogEntry) GetMessage() string { - return v.Message -} - -// GetEnvironmentName returns GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesJobRunDeletedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. -func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesJobRunDeletedActivityLogEntry) GetEnvironmentName() string { - return v.EnvironmentName -} - -// GetResourceType returns GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesJobRunDeletedActivityLogEntry.ResourceType, and is useful for accessing the field via an interface. -func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesJobRunDeletedActivityLogEntry) GetResourceType() ActivityLogEntryResourceType { - return v.ResourceType -} - -// GetResourceName returns GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesJobRunDeletedActivityLogEntry.ResourceName, and is useful for accessing the field via an interface. -func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesJobRunDeletedActivityLogEntry) GetResourceName() string { - return v.ResourceName -} - // GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesJobTriggeredActivityLogEntry includes the requested fields of the GraphQL type JobTriggeredActivityLogEntry. type GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesJobTriggeredActivityLogEntry struct { Typename string `json:"__typename"` - // Interface for activity log entries. + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. Actor string `json:"actor"` - // Interface for activity log entries. + // Creation time of the entry. CreatedAt time.Time `json:"createdAt"` - // Interface for activity log entries. + // Message that summarizes the entry. Message string `json:"message"` - // Interface for activity log entries. + // The environment name that the entry belongs to. EnvironmentName string `json:"environmentName"` - // Interface for activity log entries. + // Type of the resource that was affected by the action. ResourceType ActivityLogEntryResourceType `json:"resourceType"` - // Interface for activity log entries. + // Name of the resource that was affected by the action. ResourceName string `json:"resourceName"` } @@ -16815,17 +20724,17 @@ func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesJobTrigger // GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesOpenSearchCreatedActivityLogEntry includes the requested fields of the GraphQL type OpenSearchCreatedActivityLogEntry. type GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesOpenSearchCreatedActivityLogEntry struct { Typename string `json:"__typename"` - // Interface for activity log entries. + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. Actor string `json:"actor"` - // Interface for activity log entries. + // Creation time of the entry. CreatedAt time.Time `json:"createdAt"` - // Interface for activity log entries. + // Message that summarizes the entry. Message string `json:"message"` - // Interface for activity log entries. + // The environment name that the entry belongs to. EnvironmentName string `json:"environmentName"` - // Interface for activity log entries. + // Type of the resource that was affected by the action. ResourceType ActivityLogEntryResourceType `json:"resourceType"` - // Interface for activity log entries. + // Name of the resource that was affected by the action. ResourceName string `json:"resourceName"` } @@ -16867,17 +20776,17 @@ func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesOpenSearch // GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesOpenSearchDeletedActivityLogEntry includes the requested fields of the GraphQL type OpenSearchDeletedActivityLogEntry. type GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesOpenSearchDeletedActivityLogEntry struct { Typename string `json:"__typename"` - // Interface for activity log entries. + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. Actor string `json:"actor"` - // Interface for activity log entries. + // Creation time of the entry. CreatedAt time.Time `json:"createdAt"` - // Interface for activity log entries. + // Message that summarizes the entry. Message string `json:"message"` - // Interface for activity log entries. + // The environment name that the entry belongs to. EnvironmentName string `json:"environmentName"` - // Interface for activity log entries. + // Type of the resource that was affected by the action. ResourceType ActivityLogEntryResourceType `json:"resourceType"` - // Interface for activity log entries. + // Name of the resource that was affected by the action. ResourceName string `json:"resourceName"` } @@ -16919,17 +20828,17 @@ func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesOpenSearch // GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesOpenSearchUpdatedActivityLogEntry includes the requested fields of the GraphQL type OpenSearchUpdatedActivityLogEntry. type GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesOpenSearchUpdatedActivityLogEntry struct { Typename string `json:"__typename"` - // Interface for activity log entries. + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. Actor string `json:"actor"` - // Interface for activity log entries. + // Creation time of the entry. CreatedAt time.Time `json:"createdAt"` - // Interface for activity log entries. + // Message that summarizes the entry. Message string `json:"message"` - // Interface for activity log entries. + // The environment name that the entry belongs to. EnvironmentName string `json:"environmentName"` - // Interface for activity log entries. + // Type of the resource that was affected by the action. ResourceType ActivityLogEntryResourceType `json:"resourceType"` - // Interface for activity log entries. + // Name of the resource that was affected by the action. ResourceName string `json:"resourceName"` } @@ -16971,17 +20880,17 @@ func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesOpenSearch // GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesPostgresGrantAccessActivityLogEntry includes the requested fields of the GraphQL type PostgresGrantAccessActivityLogEntry. type GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesPostgresGrantAccessActivityLogEntry struct { Typename string `json:"__typename"` - // Interface for activity log entries. + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. Actor string `json:"actor"` - // Interface for activity log entries. + // Creation time of the entry. CreatedAt time.Time `json:"createdAt"` - // Interface for activity log entries. + // Message that summarizes the entry. Message string `json:"message"` - // Interface for activity log entries. + // The environment name that the entry belongs to. EnvironmentName string `json:"environmentName"` - // Interface for activity log entries. + // Type of the resource that was affected by the action. ResourceType ActivityLogEntryResourceType `json:"resourceType"` - // Interface for activity log entries. + // Name of the resource that was affected by the action. ResourceName string `json:"resourceName"` } @@ -17023,17 +20932,17 @@ func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesPostgresGr // GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesReconcilerConfiguredActivityLogEntry includes the requested fields of the GraphQL type ReconcilerConfiguredActivityLogEntry. type GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesReconcilerConfiguredActivityLogEntry struct { Typename string `json:"__typename"` - // Interface for activity log entries. + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. Actor string `json:"actor"` - // Interface for activity log entries. + // Creation time of the entry. CreatedAt time.Time `json:"createdAt"` - // Interface for activity log entries. + // Message that summarizes the entry. Message string `json:"message"` - // Interface for activity log entries. + // The environment name that the entry belongs to. EnvironmentName string `json:"environmentName"` - // Interface for activity log entries. + // Type of the resource that was affected by the action. ResourceType ActivityLogEntryResourceType `json:"resourceType"` - // Interface for activity log entries. + // Name of the resource that was affected by the action. ResourceName string `json:"resourceName"` } @@ -17075,17 +20984,17 @@ func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesReconciler // GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesReconcilerDisabledActivityLogEntry includes the requested fields of the GraphQL type ReconcilerDisabledActivityLogEntry. type GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesReconcilerDisabledActivityLogEntry struct { Typename string `json:"__typename"` - // Interface for activity log entries. + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. Actor string `json:"actor"` - // Interface for activity log entries. + // Creation time of the entry. CreatedAt time.Time `json:"createdAt"` - // Interface for activity log entries. + // Message that summarizes the entry. Message string `json:"message"` - // Interface for activity log entries. + // The environment name that the entry belongs to. EnvironmentName string `json:"environmentName"` - // Interface for activity log entries. + // Type of the resource that was affected by the action. ResourceType ActivityLogEntryResourceType `json:"resourceType"` - // Interface for activity log entries. + // Name of the resource that was affected by the action. ResourceName string `json:"resourceName"` } @@ -17127,17 +21036,17 @@ func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesReconciler // GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesReconcilerEnabledActivityLogEntry includes the requested fields of the GraphQL type ReconcilerEnabledActivityLogEntry. type GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesReconcilerEnabledActivityLogEntry struct { Typename string `json:"__typename"` - // Interface for activity log entries. + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. Actor string `json:"actor"` - // Interface for activity log entries. + // Creation time of the entry. CreatedAt time.Time `json:"createdAt"` - // Interface for activity log entries. + // Message that summarizes the entry. Message string `json:"message"` - // Interface for activity log entries. + // The environment name that the entry belongs to. EnvironmentName string `json:"environmentName"` - // Interface for activity log entries. + // Type of the resource that was affected by the action. ResourceType ActivityLogEntryResourceType `json:"resourceType"` - // Interface for activity log entries. + // Name of the resource that was affected by the action. ResourceName string `json:"resourceName"` } @@ -17179,17 +21088,17 @@ func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesReconciler // GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesRepositoryAddedActivityLogEntry includes the requested fields of the GraphQL type RepositoryAddedActivityLogEntry. type GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesRepositoryAddedActivityLogEntry struct { Typename string `json:"__typename"` - // Interface for activity log entries. + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. Actor string `json:"actor"` - // Interface for activity log entries. + // Creation time of the entry. CreatedAt time.Time `json:"createdAt"` - // Interface for activity log entries. + // Message that summarizes the entry. Message string `json:"message"` - // Interface for activity log entries. + // The environment name that the entry belongs to. EnvironmentName string `json:"environmentName"` - // Interface for activity log entries. + // Type of the resource that was affected by the action. ResourceType ActivityLogEntryResourceType `json:"resourceType"` - // Interface for activity log entries. + // Name of the resource that was affected by the action. ResourceName string `json:"resourceName"` } @@ -17231,17 +21140,17 @@ func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesRepository // GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesRepositoryRemovedActivityLogEntry includes the requested fields of the GraphQL type RepositoryRemovedActivityLogEntry. type GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesRepositoryRemovedActivityLogEntry struct { Typename string `json:"__typename"` - // Interface for activity log entries. + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. Actor string `json:"actor"` - // Interface for activity log entries. + // Creation time of the entry. CreatedAt time.Time `json:"createdAt"` - // Interface for activity log entries. + // Message that summarizes the entry. Message string `json:"message"` - // Interface for activity log entries. + // The environment name that the entry belongs to. EnvironmentName string `json:"environmentName"` - // Interface for activity log entries. + // Type of the resource that was affected by the action. ResourceType ActivityLogEntryResourceType `json:"resourceType"` - // Interface for activity log entries. + // Name of the resource that was affected by the action. ResourceName string `json:"resourceName"` } @@ -17283,17 +21192,17 @@ func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesRepository // GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesRoleAssignedToServiceAccountActivityLogEntry includes the requested fields of the GraphQL type RoleAssignedToServiceAccountActivityLogEntry. type GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesRoleAssignedToServiceAccountActivityLogEntry struct { Typename string `json:"__typename"` - // Interface for activity log entries. + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. Actor string `json:"actor"` - // Interface for activity log entries. + // Creation time of the entry. CreatedAt time.Time `json:"createdAt"` - // Interface for activity log entries. + // Message that summarizes the entry. Message string `json:"message"` - // Interface for activity log entries. + // The environment name that the entry belongs to. EnvironmentName string `json:"environmentName"` - // Interface for activity log entries. + // Type of the resource that was affected by the action. ResourceType ActivityLogEntryResourceType `json:"resourceType"` - // Interface for activity log entries. + // Name of the resource that was affected by the action. ResourceName string `json:"resourceName"` } @@ -17335,17 +21244,17 @@ func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesRoleAssign // GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesRoleRevokedFromServiceAccountActivityLogEntry includes the requested fields of the GraphQL type RoleRevokedFromServiceAccountActivityLogEntry. type GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesRoleRevokedFromServiceAccountActivityLogEntry struct { Typename string `json:"__typename"` - // Interface for activity log entries. + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. Actor string `json:"actor"` - // Interface for activity log entries. + // Creation time of the entry. CreatedAt time.Time `json:"createdAt"` - // Interface for activity log entries. + // Message that summarizes the entry. Message string `json:"message"` - // Interface for activity log entries. + // The environment name that the entry belongs to. EnvironmentName string `json:"environmentName"` - // Interface for activity log entries. + // Type of the resource that was affected by the action. ResourceType ActivityLogEntryResourceType `json:"resourceType"` - // Interface for activity log entries. + // Name of the resource that was affected by the action. ResourceName string `json:"resourceName"` } @@ -17387,17 +21296,17 @@ func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesRoleRevoke // GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesSecretCreatedActivityLogEntry includes the requested fields of the GraphQL type SecretCreatedActivityLogEntry. type GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesSecretCreatedActivityLogEntry struct { Typename string `json:"__typename"` - // Interface for activity log entries. + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. Actor string `json:"actor"` - // Interface for activity log entries. + // Creation time of the entry. CreatedAt time.Time `json:"createdAt"` - // Interface for activity log entries. + // Message that summarizes the entry. Message string `json:"message"` - // Interface for activity log entries. + // The environment name that the entry belongs to. EnvironmentName string `json:"environmentName"` - // Interface for activity log entries. + // Type of the resource that was affected by the action. ResourceType ActivityLogEntryResourceType `json:"resourceType"` - // Interface for activity log entries. + // Name of the resource that was affected by the action. ResourceName string `json:"resourceName"` } @@ -17439,17 +21348,17 @@ func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesSecretCrea // GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesSecretDeletedActivityLogEntry includes the requested fields of the GraphQL type SecretDeletedActivityLogEntry. type GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesSecretDeletedActivityLogEntry struct { Typename string `json:"__typename"` - // Interface for activity log entries. + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. Actor string `json:"actor"` - // Interface for activity log entries. + // Creation time of the entry. CreatedAt time.Time `json:"createdAt"` - // Interface for activity log entries. + // Message that summarizes the entry. Message string `json:"message"` - // Interface for activity log entries. + // The environment name that the entry belongs to. EnvironmentName string `json:"environmentName"` - // Interface for activity log entries. + // Type of the resource that was affected by the action. ResourceType ActivityLogEntryResourceType `json:"resourceType"` - // Interface for activity log entries. + // Name of the resource that was affected by the action. ResourceName string `json:"resourceName"` } @@ -17491,17 +21400,17 @@ func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesSecretDele // GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesSecretValueAddedActivityLogEntry includes the requested fields of the GraphQL type SecretValueAddedActivityLogEntry. type GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesSecretValueAddedActivityLogEntry struct { Typename string `json:"__typename"` - // Interface for activity log entries. + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. Actor string `json:"actor"` - // Interface for activity log entries. + // Creation time of the entry. CreatedAt time.Time `json:"createdAt"` - // Interface for activity log entries. + // Message that summarizes the entry. Message string `json:"message"` - // Interface for activity log entries. + // The environment name that the entry belongs to. EnvironmentName string `json:"environmentName"` - // Interface for activity log entries. + // Type of the resource that was affected by the action. ResourceType ActivityLogEntryResourceType `json:"resourceType"` - // Interface for activity log entries. + // Name of the resource that was affected by the action. ResourceName string `json:"resourceName"` } @@ -17543,17 +21452,17 @@ func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesSecretValu // GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesSecretValueRemovedActivityLogEntry includes the requested fields of the GraphQL type SecretValueRemovedActivityLogEntry. type GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesSecretValueRemovedActivityLogEntry struct { Typename string `json:"__typename"` - // Interface for activity log entries. + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. Actor string `json:"actor"` - // Interface for activity log entries. + // Creation time of the entry. CreatedAt time.Time `json:"createdAt"` - // Interface for activity log entries. + // Message that summarizes the entry. Message string `json:"message"` - // Interface for activity log entries. + // The environment name that the entry belongs to. EnvironmentName string `json:"environmentName"` - // Interface for activity log entries. + // Type of the resource that was affected by the action. ResourceType ActivityLogEntryResourceType `json:"resourceType"` - // Interface for activity log entries. + // Name of the resource that was affected by the action. ResourceName string `json:"resourceName"` } @@ -17595,17 +21504,17 @@ func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesSecretValu // GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesSecretValueUpdatedActivityLogEntry includes the requested fields of the GraphQL type SecretValueUpdatedActivityLogEntry. type GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesSecretValueUpdatedActivityLogEntry struct { Typename string `json:"__typename"` - // Interface for activity log entries. + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. Actor string `json:"actor"` - // Interface for activity log entries. + // Creation time of the entry. CreatedAt time.Time `json:"createdAt"` - // Interface for activity log entries. + // Message that summarizes the entry. Message string `json:"message"` - // Interface for activity log entries. + // The environment name that the entry belongs to. EnvironmentName string `json:"environmentName"` - // Interface for activity log entries. + // Type of the resource that was affected by the action. ResourceType ActivityLogEntryResourceType `json:"resourceType"` - // Interface for activity log entries. + // Name of the resource that was affected by the action. ResourceName string `json:"resourceName"` } @@ -17650,17 +21559,17 @@ func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesSecretValu // Activity log entry for viewing secret values. type GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesSecretValuesViewedActivityLogEntry struct { Typename string `json:"__typename"` - // Interface for activity log entries. + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. Actor string `json:"actor"` - // Interface for activity log entries. + // Creation time of the entry. CreatedAt time.Time `json:"createdAt"` - // Interface for activity log entries. + // Message that summarizes the entry. Message string `json:"message"` - // Interface for activity log entries. + // The environment name that the entry belongs to. EnvironmentName string `json:"environmentName"` - // Interface for activity log entries. + // Type of the resource that was affected by the action. ResourceType ActivityLogEntryResourceType `json:"resourceType"` - // Interface for activity log entries. + // Name of the resource that was affected by the action. ResourceName string `json:"resourceName"` } @@ -17702,17 +21611,17 @@ func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesSecretValu // GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesServiceAccountCreatedActivityLogEntry includes the requested fields of the GraphQL type ServiceAccountCreatedActivityLogEntry. type GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesServiceAccountCreatedActivityLogEntry struct { Typename string `json:"__typename"` - // Interface for activity log entries. + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. Actor string `json:"actor"` - // Interface for activity log entries. + // Creation time of the entry. CreatedAt time.Time `json:"createdAt"` - // Interface for activity log entries. + // Message that summarizes the entry. Message string `json:"message"` - // Interface for activity log entries. + // The environment name that the entry belongs to. EnvironmentName string `json:"environmentName"` - // Interface for activity log entries. + // Type of the resource that was affected by the action. ResourceType ActivityLogEntryResourceType `json:"resourceType"` - // Interface for activity log entries. + // Name of the resource that was affected by the action. ResourceName string `json:"resourceName"` } @@ -17754,17 +21663,17 @@ func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesServiceAcc // GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesServiceAccountDeletedActivityLogEntry includes the requested fields of the GraphQL type ServiceAccountDeletedActivityLogEntry. type GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesServiceAccountDeletedActivityLogEntry struct { Typename string `json:"__typename"` - // Interface for activity log entries. + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. Actor string `json:"actor"` - // Interface for activity log entries. + // Creation time of the entry. CreatedAt time.Time `json:"createdAt"` - // Interface for activity log entries. + // Message that summarizes the entry. Message string `json:"message"` - // Interface for activity log entries. + // The environment name that the entry belongs to. EnvironmentName string `json:"environmentName"` - // Interface for activity log entries. + // Type of the resource that was affected by the action. ResourceType ActivityLogEntryResourceType `json:"resourceType"` - // Interface for activity log entries. + // Name of the resource that was affected by the action. ResourceName string `json:"resourceName"` } @@ -17806,17 +21715,17 @@ func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesServiceAcc // GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesServiceAccountTokenCreatedActivityLogEntry includes the requested fields of the GraphQL type ServiceAccountTokenCreatedActivityLogEntry. type GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesServiceAccountTokenCreatedActivityLogEntry struct { Typename string `json:"__typename"` - // Interface for activity log entries. + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. Actor string `json:"actor"` - // Interface for activity log entries. + // Creation time of the entry. CreatedAt time.Time `json:"createdAt"` - // Interface for activity log entries. + // Message that summarizes the entry. Message string `json:"message"` - // Interface for activity log entries. + // The environment name that the entry belongs to. EnvironmentName string `json:"environmentName"` - // Interface for activity log entries. + // Type of the resource that was affected by the action. ResourceType ActivityLogEntryResourceType `json:"resourceType"` - // Interface for activity log entries. + // Name of the resource that was affected by the action. ResourceName string `json:"resourceName"` } @@ -17858,17 +21767,17 @@ func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesServiceAcc // GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesServiceAccountTokenDeletedActivityLogEntry includes the requested fields of the GraphQL type ServiceAccountTokenDeletedActivityLogEntry. type GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesServiceAccountTokenDeletedActivityLogEntry struct { Typename string `json:"__typename"` - // Interface for activity log entries. + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. Actor string `json:"actor"` - // Interface for activity log entries. + // Creation time of the entry. CreatedAt time.Time `json:"createdAt"` - // Interface for activity log entries. + // Message that summarizes the entry. Message string `json:"message"` - // Interface for activity log entries. + // The environment name that the entry belongs to. EnvironmentName string `json:"environmentName"` - // Interface for activity log entries. + // Type of the resource that was affected by the action. ResourceType ActivityLogEntryResourceType `json:"resourceType"` - // Interface for activity log entries. + // Name of the resource that was affected by the action. ResourceName string `json:"resourceName"` } @@ -17910,17 +21819,17 @@ func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesServiceAcc // GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesServiceAccountTokenUpdatedActivityLogEntry includes the requested fields of the GraphQL type ServiceAccountTokenUpdatedActivityLogEntry. type GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesServiceAccountTokenUpdatedActivityLogEntry struct { Typename string `json:"__typename"` - // Interface for activity log entries. + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. Actor string `json:"actor"` - // Interface for activity log entries. + // Creation time of the entry. CreatedAt time.Time `json:"createdAt"` - // Interface for activity log entries. + // Message that summarizes the entry. Message string `json:"message"` - // Interface for activity log entries. + // The environment name that the entry belongs to. EnvironmentName string `json:"environmentName"` - // Interface for activity log entries. + // Type of the resource that was affected by the action. ResourceType ActivityLogEntryResourceType `json:"resourceType"` - // Interface for activity log entries. + // Name of the resource that was affected by the action. ResourceName string `json:"resourceName"` } @@ -17962,17 +21871,17 @@ func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesServiceAcc // GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesServiceAccountUpdatedActivityLogEntry includes the requested fields of the GraphQL type ServiceAccountUpdatedActivityLogEntry. type GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesServiceAccountUpdatedActivityLogEntry struct { Typename string `json:"__typename"` - // Interface for activity log entries. + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. Actor string `json:"actor"` - // Interface for activity log entries. + // Creation time of the entry. CreatedAt time.Time `json:"createdAt"` - // Interface for activity log entries. + // Message that summarizes the entry. Message string `json:"message"` - // Interface for activity log entries. + // The environment name that the entry belongs to. EnvironmentName string `json:"environmentName"` - // Interface for activity log entries. + // Type of the resource that was affected by the action. ResourceType ActivityLogEntryResourceType `json:"resourceType"` - // Interface for activity log entries. + // Name of the resource that was affected by the action. ResourceName string `json:"resourceName"` } @@ -18014,17 +21923,17 @@ func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesServiceAcc // GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesServiceMaintenanceActivityLogEntry includes the requested fields of the GraphQL type ServiceMaintenanceActivityLogEntry. type GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesServiceMaintenanceActivityLogEntry struct { Typename string `json:"__typename"` - // Interface for activity log entries. + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. Actor string `json:"actor"` - // Interface for activity log entries. + // Creation time of the entry. CreatedAt time.Time `json:"createdAt"` - // Interface for activity log entries. + // Message that summarizes the entry. Message string `json:"message"` - // Interface for activity log entries. + // The environment name that the entry belongs to. EnvironmentName string `json:"environmentName"` - // Interface for activity log entries. + // Type of the resource that was affected by the action. ResourceType ActivityLogEntryResourceType `json:"resourceType"` - // Interface for activity log entries. + // Name of the resource that was affected by the action. ResourceName string `json:"resourceName"` } @@ -18066,17 +21975,17 @@ func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesServiceMai // GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesTeamConfirmDeleteKeyActivityLogEntry includes the requested fields of the GraphQL type TeamConfirmDeleteKeyActivityLogEntry. type GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesTeamConfirmDeleteKeyActivityLogEntry struct { Typename string `json:"__typename"` - // Interface for activity log entries. + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. Actor string `json:"actor"` - // Interface for activity log entries. + // Creation time of the entry. CreatedAt time.Time `json:"createdAt"` - // Interface for activity log entries. + // Message that summarizes the entry. Message string `json:"message"` - // Interface for activity log entries. + // The environment name that the entry belongs to. EnvironmentName string `json:"environmentName"` - // Interface for activity log entries. + // Type of the resource that was affected by the action. ResourceType ActivityLogEntryResourceType `json:"resourceType"` - // Interface for activity log entries. + // Name of the resource that was affected by the action. ResourceName string `json:"resourceName"` } @@ -18118,17 +22027,17 @@ func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesTeamConfir // GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesTeamCreateDeleteKeyActivityLogEntry includes the requested fields of the GraphQL type TeamCreateDeleteKeyActivityLogEntry. type GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesTeamCreateDeleteKeyActivityLogEntry struct { Typename string `json:"__typename"` - // Interface for activity log entries. + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. Actor string `json:"actor"` - // Interface for activity log entries. + // Creation time of the entry. CreatedAt time.Time `json:"createdAt"` - // Interface for activity log entries. + // Message that summarizes the entry. Message string `json:"message"` - // Interface for activity log entries. + // The environment name that the entry belongs to. EnvironmentName string `json:"environmentName"` - // Interface for activity log entries. + // Type of the resource that was affected by the action. ResourceType ActivityLogEntryResourceType `json:"resourceType"` - // Interface for activity log entries. + // Name of the resource that was affected by the action. ResourceName string `json:"resourceName"` } @@ -18170,17 +22079,17 @@ func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesTeamCreate // GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesTeamCreatedActivityLogEntry includes the requested fields of the GraphQL type TeamCreatedActivityLogEntry. type GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesTeamCreatedActivityLogEntry struct { Typename string `json:"__typename"` - // Interface for activity log entries. + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. Actor string `json:"actor"` - // Interface for activity log entries. + // Creation time of the entry. CreatedAt time.Time `json:"createdAt"` - // Interface for activity log entries. + // Message that summarizes the entry. Message string `json:"message"` - // Interface for activity log entries. + // The environment name that the entry belongs to. EnvironmentName string `json:"environmentName"` - // Interface for activity log entries. + // Type of the resource that was affected by the action. ResourceType ActivityLogEntryResourceType `json:"resourceType"` - // Interface for activity log entries. + // Name of the resource that was affected by the action. ResourceName string `json:"resourceName"` } @@ -18222,17 +22131,17 @@ func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesTeamCreate // GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesTeamDeployKeyUpdatedActivityLogEntry includes the requested fields of the GraphQL type TeamDeployKeyUpdatedActivityLogEntry. type GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesTeamDeployKeyUpdatedActivityLogEntry struct { Typename string `json:"__typename"` - // Interface for activity log entries. + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. Actor string `json:"actor"` - // Interface for activity log entries. + // Creation time of the entry. CreatedAt time.Time `json:"createdAt"` - // Interface for activity log entries. + // Message that summarizes the entry. Message string `json:"message"` - // Interface for activity log entries. + // The environment name that the entry belongs to. EnvironmentName string `json:"environmentName"` - // Interface for activity log entries. + // Type of the resource that was affected by the action. ResourceType ActivityLogEntryResourceType `json:"resourceType"` - // Interface for activity log entries. + // Name of the resource that was affected by the action. ResourceName string `json:"resourceName"` } @@ -18274,17 +22183,17 @@ func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesTeamDeploy // GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesTeamEnvironmentUpdatedActivityLogEntry includes the requested fields of the GraphQL type TeamEnvironmentUpdatedActivityLogEntry. type GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesTeamEnvironmentUpdatedActivityLogEntry struct { Typename string `json:"__typename"` - // Interface for activity log entries. + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. Actor string `json:"actor"` - // Interface for activity log entries. + // Creation time of the entry. CreatedAt time.Time `json:"createdAt"` - // Interface for activity log entries. + // Message that summarizes the entry. Message string `json:"message"` - // Interface for activity log entries. + // The environment name that the entry belongs to. EnvironmentName string `json:"environmentName"` - // Interface for activity log entries. + // Type of the resource that was affected by the action. ResourceType ActivityLogEntryResourceType `json:"resourceType"` - // Interface for activity log entries. + // Name of the resource that was affected by the action. ResourceName string `json:"resourceName"` } @@ -18326,17 +22235,17 @@ func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesTeamEnviro // GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesTeamMemberAddedActivityLogEntry includes the requested fields of the GraphQL type TeamMemberAddedActivityLogEntry. type GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesTeamMemberAddedActivityLogEntry struct { Typename string `json:"__typename"` - // Interface for activity log entries. + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. Actor string `json:"actor"` - // Interface for activity log entries. + // Creation time of the entry. CreatedAt time.Time `json:"createdAt"` - // Interface for activity log entries. + // Message that summarizes the entry. Message string `json:"message"` - // Interface for activity log entries. + // The environment name that the entry belongs to. EnvironmentName string `json:"environmentName"` - // Interface for activity log entries. + // Type of the resource that was affected by the action. ResourceType ActivityLogEntryResourceType `json:"resourceType"` - // Interface for activity log entries. + // Name of the resource that was affected by the action. ResourceName string `json:"resourceName"` } @@ -18378,17 +22287,17 @@ func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesTeamMember // GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesTeamMemberRemovedActivityLogEntry includes the requested fields of the GraphQL type TeamMemberRemovedActivityLogEntry. type GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesTeamMemberRemovedActivityLogEntry struct { Typename string `json:"__typename"` - // Interface for activity log entries. + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. Actor string `json:"actor"` - // Interface for activity log entries. + // Creation time of the entry. CreatedAt time.Time `json:"createdAt"` - // Interface for activity log entries. + // Message that summarizes the entry. Message string `json:"message"` - // Interface for activity log entries. + // The environment name that the entry belongs to. EnvironmentName string `json:"environmentName"` - // Interface for activity log entries. + // Type of the resource that was affected by the action. ResourceType ActivityLogEntryResourceType `json:"resourceType"` - // Interface for activity log entries. + // Name of the resource that was affected by the action. ResourceName string `json:"resourceName"` } @@ -18430,17 +22339,17 @@ func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesTeamMember // GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesTeamMemberSetRoleActivityLogEntry includes the requested fields of the GraphQL type TeamMemberSetRoleActivityLogEntry. type GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesTeamMemberSetRoleActivityLogEntry struct { Typename string `json:"__typename"` - // Interface for activity log entries. + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. Actor string `json:"actor"` - // Interface for activity log entries. + // Creation time of the entry. CreatedAt time.Time `json:"createdAt"` - // Interface for activity log entries. + // Message that summarizes the entry. Message string `json:"message"` - // Interface for activity log entries. + // The environment name that the entry belongs to. EnvironmentName string `json:"environmentName"` - // Interface for activity log entries. + // Type of the resource that was affected by the action. ResourceType ActivityLogEntryResourceType `json:"resourceType"` - // Interface for activity log entries. + // Name of the resource that was affected by the action. ResourceName string `json:"resourceName"` } @@ -18482,17 +22391,17 @@ func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesTeamMember // GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesTeamUpdatedActivityLogEntry includes the requested fields of the GraphQL type TeamUpdatedActivityLogEntry. type GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesTeamUpdatedActivityLogEntry struct { Typename string `json:"__typename"` - // Interface for activity log entries. + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. Actor string `json:"actor"` - // Interface for activity log entries. + // Creation time of the entry. CreatedAt time.Time `json:"createdAt"` - // Interface for activity log entries. + // Message that summarizes the entry. Message string `json:"message"` - // Interface for activity log entries. + // The environment name that the entry belongs to. EnvironmentName string `json:"environmentName"` - // Interface for activity log entries. + // Type of the resource that was affected by the action. ResourceType ActivityLogEntryResourceType `json:"resourceType"` - // Interface for activity log entries. + // Name of the resource that was affected by the action. ResourceName string `json:"resourceName"` } @@ -18534,17 +22443,17 @@ func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesTeamUpdate // GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesUnleashInstanceCreatedActivityLogEntry includes the requested fields of the GraphQL type UnleashInstanceCreatedActivityLogEntry. type GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesUnleashInstanceCreatedActivityLogEntry struct { Typename string `json:"__typename"` - // Interface for activity log entries. + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. Actor string `json:"actor"` - // Interface for activity log entries. + // Creation time of the entry. CreatedAt time.Time `json:"createdAt"` - // Interface for activity log entries. + // Message that summarizes the entry. Message string `json:"message"` - // Interface for activity log entries. + // The environment name that the entry belongs to. EnvironmentName string `json:"environmentName"` - // Interface for activity log entries. + // Type of the resource that was affected by the action. ResourceType ActivityLogEntryResourceType `json:"resourceType"` - // Interface for activity log entries. + // Name of the resource that was affected by the action. ResourceName string `json:"resourceName"` } @@ -18586,17 +22495,17 @@ func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesUnleashIns // GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesUnleashInstanceDeletedActivityLogEntry includes the requested fields of the GraphQL type UnleashInstanceDeletedActivityLogEntry. type GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesUnleashInstanceDeletedActivityLogEntry struct { Typename string `json:"__typename"` - // Interface for activity log entries. + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. Actor string `json:"actor"` - // Interface for activity log entries. + // Creation time of the entry. CreatedAt time.Time `json:"createdAt"` - // Interface for activity log entries. + // Message that summarizes the entry. Message string `json:"message"` - // Interface for activity log entries. + // The environment name that the entry belongs to. EnvironmentName string `json:"environmentName"` - // Interface for activity log entries. + // Type of the resource that was affected by the action. ResourceType ActivityLogEntryResourceType `json:"resourceType"` - // Interface for activity log entries. + // Name of the resource that was affected by the action. ResourceName string `json:"resourceName"` } @@ -18638,17 +22547,17 @@ func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesUnleashIns // GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesUnleashInstanceUpdatedActivityLogEntry includes the requested fields of the GraphQL type UnleashInstanceUpdatedActivityLogEntry. type GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesUnleashInstanceUpdatedActivityLogEntry struct { Typename string `json:"__typename"` - // Interface for activity log entries. + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. Actor string `json:"actor"` - // Interface for activity log entries. + // Creation time of the entry. CreatedAt time.Time `json:"createdAt"` - // Interface for activity log entries. + // Message that summarizes the entry. Message string `json:"message"` - // Interface for activity log entries. + // The environment name that the entry belongs to. EnvironmentName string `json:"environmentName"` - // Interface for activity log entries. + // Type of the resource that was affected by the action. ResourceType ActivityLogEntryResourceType `json:"resourceType"` - // Interface for activity log entries. + // Name of the resource that was affected by the action. ResourceName string `json:"resourceName"` } @@ -18690,17 +22599,17 @@ func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesUnleashIns // GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesValkeyCreatedActivityLogEntry includes the requested fields of the GraphQL type ValkeyCreatedActivityLogEntry. type GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesValkeyCreatedActivityLogEntry struct { Typename string `json:"__typename"` - // Interface for activity log entries. + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. Actor string `json:"actor"` - // Interface for activity log entries. + // Creation time of the entry. CreatedAt time.Time `json:"createdAt"` - // Interface for activity log entries. + // Message that summarizes the entry. Message string `json:"message"` - // Interface for activity log entries. + // The environment name that the entry belongs to. EnvironmentName string `json:"environmentName"` - // Interface for activity log entries. + // Type of the resource that was affected by the action. ResourceType ActivityLogEntryResourceType `json:"resourceType"` - // Interface for activity log entries. + // Name of the resource that was affected by the action. ResourceName string `json:"resourceName"` } @@ -18742,17 +22651,17 @@ func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesValkeyCrea // GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesValkeyDeletedActivityLogEntry includes the requested fields of the GraphQL type ValkeyDeletedActivityLogEntry. type GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesValkeyDeletedActivityLogEntry struct { Typename string `json:"__typename"` - // Interface for activity log entries. + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. Actor string `json:"actor"` - // Interface for activity log entries. + // Creation time of the entry. CreatedAt time.Time `json:"createdAt"` - // Interface for activity log entries. + // Message that summarizes the entry. Message string `json:"message"` - // Interface for activity log entries. + // The environment name that the entry belongs to. EnvironmentName string `json:"environmentName"` - // Interface for activity log entries. + // Type of the resource that was affected by the action. ResourceType ActivityLogEntryResourceType `json:"resourceType"` - // Interface for activity log entries. + // Name of the resource that was affected by the action. ResourceName string `json:"resourceName"` } @@ -18794,17 +22703,17 @@ func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesValkeyDele // GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesValkeyUpdatedActivityLogEntry includes the requested fields of the GraphQL type ValkeyUpdatedActivityLogEntry. type GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesValkeyUpdatedActivityLogEntry struct { Typename string `json:"__typename"` - // Interface for activity log entries. + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. Actor string `json:"actor"` - // Interface for activity log entries. + // Creation time of the entry. CreatedAt time.Time `json:"createdAt"` - // Interface for activity log entries. + // Message that summarizes the entry. Message string `json:"message"` - // Interface for activity log entries. + // The environment name that the entry belongs to. EnvironmentName string `json:"environmentName"` - // Interface for activity log entries. + // Type of the resource that was affected by the action. ResourceType ActivityLogEntryResourceType `json:"resourceType"` - // Interface for activity log entries. + // Name of the resource that was affected by the action. ResourceName string `json:"resourceName"` } @@ -18846,17 +22755,17 @@ func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesValkeyUpda // GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesVulnerabilityUpdatedActivityLogEntry includes the requested fields of the GraphQL type VulnerabilityUpdatedActivityLogEntry. type GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesVulnerabilityUpdatedActivityLogEntry struct { Typename string `json:"__typename"` - // Interface for activity log entries. + // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. Actor string `json:"actor"` - // Interface for activity log entries. + // Creation time of the entry. CreatedAt time.Time `json:"createdAt"` - // Interface for activity log entries. + // Message that summarizes the entry. Message string `json:"message"` - // Interface for activity log entries. + // The environment name that the entry belongs to. EnvironmentName string `json:"environmentName"` - // Interface for activity log entries. + // Type of the resource that was affected by the action. ResourceType ActivityLogEntryResourceType `json:"resourceType"` - // Interface for activity log entries. + // Name of the resource that was affected by the action. ResourceName string `json:"resourceName"` } @@ -20308,15 +24217,15 @@ func (v *GetTeamWorkloadsTeamWorkloadsWorkloadConnection) __premarshalJSON() (*_ // Learn more about how to create and configure your applications in the [Nais documentation](https://docs.nais.io/workloads/application/). type GetTeamWorkloadsTeamWorkloadsWorkloadConnectionNodesApplication struct { Typename string `json:"__typename"` - // Interface for workloads. + // The name of the workload. Name string `json:"name"` // The application state. ApplicationState ApplicationState `json:"applicationState"` - // Interface for workloads. + // Issues that affect the workload. TotalIssues GetTeamWorkloadsTeamWorkloadsWorkloadConnectionNodesWorkloadTotalIssuesIssueConnection `json:"totalIssues"` - // Interface for workloads. + // The container image of the workload. Image GetTeamWorkloadsTeamWorkloadsWorkloadConnectionNodesWorkloadImageContainerImage `json:"image"` - // Interface for workloads. + // The team environment for the workload. TeamEnvironment GetTeamWorkloadsTeamWorkloadsWorkloadConnectionNodesWorkloadTeamEnvironment `json:"teamEnvironment"` } @@ -20353,15 +24262,15 @@ func (v *GetTeamWorkloadsTeamWorkloadsWorkloadConnectionNodesApplication) GetTea // GetTeamWorkloadsTeamWorkloadsWorkloadConnectionNodesJob includes the requested fields of the GraphQL type Job. type GetTeamWorkloadsTeamWorkloadsWorkloadConnectionNodesJob struct { Typename string `json:"__typename"` - // Interface for workloads. + // The name of the workload. Name string `json:"name"` // The state of the Job JobState JobState `json:"jobState"` - // Interface for workloads. + // Issues that affect the workload. TotalIssues GetTeamWorkloadsTeamWorkloadsWorkloadConnectionNodesWorkloadTotalIssuesIssueConnection `json:"totalIssues"` - // Interface for workloads. + // The container image of the workload. Image GetTeamWorkloadsTeamWorkloadsWorkloadConnectionNodesWorkloadImageContainerImage `json:"image"` - // Interface for workloads. + // The team environment for the workload. TeamEnvironment GetTeamWorkloadsTeamWorkloadsWorkloadConnectionNodesWorkloadTeamEnvironment `json:"teamEnvironment"` } @@ -20408,22 +24317,22 @@ type GetTeamWorkloadsTeamWorkloadsWorkloadConnectionNodesWorkload interface { // GetName returns the interface-field "name" from its implementation. // The GraphQL interface field's documentation follows. // - // Interface for workloads. + // The name of the workload. GetName() string // GetTotalIssues returns the interface-field "issues" from its implementation. // The GraphQL interface field's documentation follows. // - // Interface for workloads. + // Issues that affect the workload. GetTotalIssues() GetTeamWorkloadsTeamWorkloadsWorkloadConnectionNodesWorkloadTotalIssuesIssueConnection // GetImage returns the interface-field "image" from its implementation. // The GraphQL interface field's documentation follows. // - // Interface for workloads. + // The container image of the workload. GetImage() GetTeamWorkloadsTeamWorkloadsWorkloadConnectionNodesWorkloadImageContainerImage // GetTeamEnvironment returns the interface-field "teamEnvironment" from its implementation. // The GraphQL interface field's documentation follows. // - // Interface for workloads. + // The team environment for the workload. GetTeamEnvironment() GetTeamWorkloadsTeamWorkloadsWorkloadConnectionNodesWorkloadTeamEnvironment } @@ -20752,19 +24661,19 @@ type GetValkeyTeamEnvironmentValkeyAccessValkeyAccessConnectionEdgesValkeyAccess // GetId returns the interface-field "id" from its implementation. // The GraphQL interface field's documentation follows. // - // Interface for workloads. + // The globally unique ID of the workload. GetId() string // GetName returns the interface-field "name" from its implementation. // The GraphQL interface field's documentation follows. // - // Interface for workloads. + // The name of the workload. GetName() string // GetTypename returns the receiver's concrete GraphQL type-name (see interface doc for possible values). GetTypename() string // GetTeam returns the interface-field "team" from its implementation. // The GraphQL interface field's documentation follows. // - // Interface for workloads. + // The team that owns the workload. GetTeam() GetValkeyTeamEnvironmentValkeyAccessValkeyAccessConnectionEdgesValkeyAccessEdgeNodeValkeyAccessWorkloadTeam } @@ -20837,12 +24746,12 @@ func __marshalGetValkeyTeamEnvironmentValkeyAccessValkeyAccessConnectionEdgesVal // // Learn more about how to create and configure your applications in the [Nais documentation](https://docs.nais.io/workloads/application/). type GetValkeyTeamEnvironmentValkeyAccessValkeyAccessConnectionEdgesValkeyAccessEdgeNodeValkeyAccessWorkloadApplication struct { - // Interface for workloads. + // The globally unique ID of the workload. Id string `json:"id"` - // Interface for workloads. + // The name of the workload. Name string `json:"name"` Typename string `json:"__typename"` - // Interface for workloads. + // The team that owns the workload. Team GetValkeyTeamEnvironmentValkeyAccessValkeyAccessConnectionEdgesValkeyAccessEdgeNodeValkeyAccessWorkloadTeam `json:"team"` } @@ -20868,12 +24777,12 @@ func (v *GetValkeyTeamEnvironmentValkeyAccessValkeyAccessConnectionEdgesValkeyAc // GetValkeyTeamEnvironmentValkeyAccessValkeyAccessConnectionEdgesValkeyAccessEdgeNodeValkeyAccessWorkloadJob includes the requested fields of the GraphQL type Job. type GetValkeyTeamEnvironmentValkeyAccessValkeyAccessConnectionEdgesValkeyAccessEdgeNodeValkeyAccessWorkloadJob struct { - // Interface for workloads. + // The globally unique ID of the workload. Id string `json:"id"` - // Interface for workloads. + // The name of the workload. Name string `json:"name"` Typename string `json:"__typename"` - // Interface for workloads. + // The team that owns the workload. Team GetValkeyTeamEnvironmentValkeyAccessValkeyAccessConnectionEdgesValkeyAccessEdgeNodeValkeyAccessWorkloadTeam `json:"team"` } @@ -20930,7 +24839,8 @@ type GrantPostgresAccessInput struct { TeamSlug string `json:"teamSlug"` EnvironmentName string `json:"environmentName"` Grantee string `json:"grantee"` - Duration string `json:"duration"` + // Duration of the access grant (maximum 4 hours). + Duration string `json:"duration"` } // GetClusterName returns GrantPostgresAccessInput.ClusterName, and is useful for accessing the field via an interface. @@ -21175,11 +25085,16 @@ func (v *IsAdminResponse) __premarshalJSON() (*__premarshalIsAdminResponse, erro } type IssueFilter struct { - ResourceName string `json:"resourceName,omitempty"` + // Filter by resource name. + ResourceName string `json:"resourceName,omitempty"` + // Filter by resource type. ResourceType ResourceType `json:"resourceType,omitempty"` - Environments []string `json:"environments,omitempty"` - Severity Severity `json:"severity,omitempty"` - IssueType IssueType `json:"issueType,omitempty"` + // Filter by environment. + Environments []string `json:"environments,omitempty"` + // Filter by severity. + Severity Severity `json:"severity,omitempty"` + // Filter by issue type. + IssueType IssueType `json:"issueType,omitempty"` } // GetResourceName returns IssueFilter.ResourceName, and is useful for accessing the field via an interface. @@ -21234,7 +25149,9 @@ var AllIssueType = []IssueType{ } type JobOrder struct { - Field JobOrderField `json:"field"` + // The field to order items by. + Field JobOrderField `json:"field"` + // The direction to order items by. Direction OrderDirection `json:"direction"` } @@ -21290,18 +25207,6 @@ var AllJobRunState = []JobRunState{ JobRunStateUnknown, } -type JobRunTriggerType string - -const ( - JobRunTriggerTypeAutomatic JobRunTriggerType = "AUTOMATIC" - JobRunTriggerTypeManual JobRunTriggerType = "MANUAL" -) - -var AllJobRunTriggerType = []JobRunTriggerType{ - JobRunTriggerTypeAutomatic, - JobRunTriggerTypeManual, -} - type JobState string const ( @@ -21440,11 +25345,11 @@ func (v *ListCVEsTeamWorkloadsWorkloadConnection) __premarshalJSON() (*__premars // Learn more about how to create and configure your applications in the [Nais documentation](https://docs.nais.io/workloads/application/). type ListCVEsTeamWorkloadsWorkloadConnectionNodesApplication struct { Typename string `json:"__typename"` - // Interface for workloads. + // The name of the workload. Name string `json:"name"` - // Interface for workloads. + // The team environment for the workload. TeamEnvironment ListCVEsTeamWorkloadsWorkloadConnectionNodesWorkloadTeamEnvironment `json:"teamEnvironment"` - // Interface for workloads. + // The container image of the workload. Image ListCVEsTeamWorkloadsWorkloadConnectionNodesWorkloadImageContainerImage `json:"image"` } @@ -21469,11 +25374,11 @@ func (v *ListCVEsTeamWorkloadsWorkloadConnectionNodesApplication) GetImage() Lis // ListCVEsTeamWorkloadsWorkloadConnectionNodesJob includes the requested fields of the GraphQL type Job. type ListCVEsTeamWorkloadsWorkloadConnectionNodesJob struct { Typename string `json:"__typename"` - // Interface for workloads. + // The name of the workload. Name string `json:"name"` - // Interface for workloads. + // The team environment for the workload. TeamEnvironment ListCVEsTeamWorkloadsWorkloadConnectionNodesWorkloadTeamEnvironment `json:"teamEnvironment"` - // Interface for workloads. + // The container image of the workload. Image ListCVEsTeamWorkloadsWorkloadConnectionNodesWorkloadImageContainerImage `json:"image"` } @@ -21508,17 +25413,17 @@ type ListCVEsTeamWorkloadsWorkloadConnectionNodesWorkload interface { // GetName returns the interface-field "name" from its implementation. // The GraphQL interface field's documentation follows. // - // Interface for workloads. + // The name of the workload. GetName() string // GetTeamEnvironment returns the interface-field "teamEnvironment" from its implementation. // The GraphQL interface field's documentation follows. // - // Interface for workloads. + // The team environment for the workload. GetTeamEnvironment() ListCVEsTeamWorkloadsWorkloadConnectionNodesWorkloadTeamEnvironment // GetImage returns the interface-field "image" from its implementation. // The GraphQL interface field's documentation follows. // - // Interface for workloads. + // The container image of the workload. GetImage() ListCVEsTeamWorkloadsWorkloadConnectionNodesWorkloadImageContainerImage } @@ -21901,12 +25806,12 @@ type ListWorkloadVulnerabilitySummariesTeamVulnerabilitySummariesWorkloadVulnera // GetName returns the interface-field "name" from its implementation. // The GraphQL interface field's documentation follows. // - // Interface for workloads. + // The name of the workload. GetName() string // GetTeamEnvironment returns the interface-field "teamEnvironment" from its implementation. // The GraphQL interface field's documentation follows. // - // Interface for workloads. + // The team environment for the workload. GetTeamEnvironment() ListWorkloadVulnerabilitySummariesTeamVulnerabilitySummariesWorkloadVulnerabilitySummaryConnectionNodesWorkloadVulnerabilitySummaryWorkloadTeamEnvironment } @@ -21980,9 +25885,9 @@ func __marshalListWorkloadVulnerabilitySummariesTeamVulnerabilitySummariesWorklo // Learn more about how to create and configure your applications in the [Nais documentation](https://docs.nais.io/workloads/application/). type ListWorkloadVulnerabilitySummariesTeamVulnerabilitySummariesWorkloadVulnerabilitySummaryConnectionNodesWorkloadVulnerabilitySummaryWorkloadApplication struct { Typename string `json:"__typename"` - // Interface for workloads. + // The name of the workload. Name string `json:"name"` - // Interface for workloads. + // The team environment for the workload. TeamEnvironment ListWorkloadVulnerabilitySummariesTeamVulnerabilitySummariesWorkloadVulnerabilitySummaryConnectionNodesWorkloadVulnerabilitySummaryWorkloadTeamEnvironment `json:"teamEnvironment"` } @@ -22004,9 +25909,9 @@ func (v *ListWorkloadVulnerabilitySummariesTeamVulnerabilitySummariesWorkloadVul // ListWorkloadVulnerabilitySummariesTeamVulnerabilitySummariesWorkloadVulnerabilitySummaryConnectionNodesWorkloadVulnerabilitySummaryWorkloadJob includes the requested fields of the GraphQL type Job. type ListWorkloadVulnerabilitySummariesTeamVulnerabilitySummariesWorkloadVulnerabilitySummaryConnectionNodesWorkloadVulnerabilitySummaryWorkloadJob struct { Typename string `json:"__typename"` - // Interface for workloads. + // The name of the workload. Name string `json:"name"` - // Interface for workloads. + // The team environment for the workload. TeamEnvironment ListWorkloadVulnerabilitySummariesTeamVulnerabilitySummariesWorkloadVulnerabilitySummaryConnectionNodesWorkloadVulnerabilitySummaryWorkloadTeamEnvironment `json:"teamEnvironment"` } @@ -22151,6 +26056,49 @@ var AllPostgresInstanceState = []PostgresInstanceState{ PostgresInstanceStateDegraded, } +// RemoveConfigValueRemoveConfigValueRemoveConfigValuePayload includes the requested fields of the GraphQL type RemoveConfigValuePayload. +type RemoveConfigValueRemoveConfigValueRemoveConfigValuePayload struct { + // The updated config. + Config RemoveConfigValueRemoveConfigValueRemoveConfigValuePayloadConfig `json:"config"` +} + +// GetConfig returns RemoveConfigValueRemoveConfigValueRemoveConfigValuePayload.Config, and is useful for accessing the field via an interface. +func (v *RemoveConfigValueRemoveConfigValueRemoveConfigValuePayload) GetConfig() RemoveConfigValueRemoveConfigValueRemoveConfigValuePayloadConfig { + return v.Config +} + +// RemoveConfigValueRemoveConfigValueRemoveConfigValuePayloadConfig includes the requested fields of the GraphQL type Config. +// The GraphQL type's documentation follows. +// +// A config is a collection of key-value pairs. +type RemoveConfigValueRemoveConfigValueRemoveConfigValuePayloadConfig struct { + // The globally unique ID of the config. + Id string `json:"id"` + // The name of the config. + Name string `json:"name"` +} + +// GetId returns RemoveConfigValueRemoveConfigValueRemoveConfigValuePayloadConfig.Id, and is useful for accessing the field via an interface. +func (v *RemoveConfigValueRemoveConfigValueRemoveConfigValuePayloadConfig) GetId() string { + return v.Id +} + +// GetName returns RemoveConfigValueRemoveConfigValueRemoveConfigValuePayloadConfig.Name, and is useful for accessing the field via an interface. +func (v *RemoveConfigValueRemoveConfigValueRemoveConfigValuePayloadConfig) GetName() string { + return v.Name +} + +// RemoveConfigValueResponse is returned by RemoveConfigValue on success. +type RemoveConfigValueResponse struct { + // Remove a value from a config. + RemoveConfigValue RemoveConfigValueRemoveConfigValueRemoveConfigValuePayload `json:"removeConfigValue"` +} + +// GetRemoveConfigValue returns RemoveConfigValueResponse.RemoveConfigValue, and is useful for accessing the field via an interface. +func (v *RemoveConfigValueResponse) GetRemoveConfigValue() RemoveConfigValueRemoveConfigValueRemoveConfigValuePayload { + return v.RemoveConfigValue +} + // RemoveSecretValueRemoveSecretValueRemoveSecretValuePayload includes the requested fields of the GraphQL type RemoveSecretValuePayload. type RemoveSecretValueRemoveSecretValueRemoveSecretValuePayload struct { // The updated secret. @@ -22293,7 +26241,9 @@ func (v *RestartAppRestartApplicationRestartApplicationPayloadApplication) GetNa } type SecretValueInput struct { - Name string `json:"name"` + // The name of the secret value. + Name string `json:"name"` + // The secret value to set. Value string `json:"value"` } @@ -22443,9 +26393,9 @@ func (v *TailLogResponse) GetLog() TailLogLogLogLine { return v.Log } // Input for filtering the applications of a team. type TeamApplicationsFilter struct { - // Input for filtering the applications of a team. + // Filter by the name of the application. Name string `json:"name"` - // Input for filtering the applications of a team. + // Filter by the name of the environment. Environments []string `json:"environments"` } @@ -22804,11 +26754,11 @@ func (v *TeamStatusMeUserTeamsTeamMemberConnectionNodesTeamMemberTeamWorkloadsWo // Learn more about how to create and configure your applications in the [Nais documentation](https://docs.nais.io/workloads/application/). type TeamStatusMeUserTeamsTeamMemberConnectionNodesTeamMemberTeamWorkloadsWorkloadConnectionNodesApplication struct { Typename string `json:"__typename"` - // Interface for workloads. + // The name of the workload. Name string `json:"name"` - // Interface for workloads. + // The team environment for the workload. TeamEnvironment TeamStatusMeUserTeamsTeamMemberConnectionNodesTeamMemberTeamWorkloadsWorkloadConnectionNodesWorkloadTeamEnvironment `json:"teamEnvironment"` - // Interface for workloads. + // Issues that affect the workload. Issues TeamStatusMeUserTeamsTeamMemberConnectionNodesTeamMemberTeamWorkloadsWorkloadConnectionNodesWorkloadIssuesIssueConnection `json:"issues"` } @@ -22835,11 +26785,11 @@ func (v *TeamStatusMeUserTeamsTeamMemberConnectionNodesTeamMemberTeamWorkloadsWo // TeamStatusMeUserTeamsTeamMemberConnectionNodesTeamMemberTeamWorkloadsWorkloadConnectionNodesJob includes the requested fields of the GraphQL type Job. type TeamStatusMeUserTeamsTeamMemberConnectionNodesTeamMemberTeamWorkloadsWorkloadConnectionNodesJob struct { Typename string `json:"__typename"` - // Interface for workloads. + // The name of the workload. Name string `json:"name"` - // Interface for workloads. + // The team environment for the workload. TeamEnvironment TeamStatusMeUserTeamsTeamMemberConnectionNodesTeamMemberTeamWorkloadsWorkloadConnectionNodesWorkloadTeamEnvironment `json:"teamEnvironment"` - // Interface for workloads. + // Issues that affect the workload. Issues TeamStatusMeUserTeamsTeamMemberConnectionNodesTeamMemberTeamWorkloadsWorkloadConnectionNodesWorkloadIssuesIssueConnection `json:"issues"` } @@ -22878,17 +26828,17 @@ type TeamStatusMeUserTeamsTeamMemberConnectionNodesTeamMemberTeamWorkloadsWorklo // GetName returns the interface-field "name" from its implementation. // The GraphQL interface field's documentation follows. // - // Interface for workloads. + // The name of the workload. GetName() string // GetTeamEnvironment returns the interface-field "teamEnvironment" from its implementation. // The GraphQL interface field's documentation follows. // - // Interface for workloads. + // The team environment for the workload. GetTeamEnvironment() TeamStatusMeUserTeamsTeamMemberConnectionNodesTeamMemberTeamWorkloadsWorkloadConnectionNodesWorkloadTeamEnvironment // GetIssues returns the interface-field "issues" from its implementation. // The GraphQL interface field's documentation follows. // - // Interface for workloads. + // Issues that affect the workload. GetIssues() TeamStatusMeUserTeamsTeamMemberConnectionNodesTeamMemberTeamWorkloadsWorkloadConnectionNodesWorkloadIssuesIssueConnection } @@ -23579,18 +27529,24 @@ var AllTeamVulnerabilityRiskScoreTrend = []TeamVulnerabilityRiskScoreTrend{ TeamVulnerabilityRiskScoreTrendFlat, } -// Input for filtering team workloads. +// Input for filtering team vulnerability summaries. type TeamVulnerabilitySummaryFilter struct { - // Input for filtering team workloads. + // Only return vulnerability summaries for the given environment. + EnvironmentName string `json:"environmentName"` + // Deprecated: use environmentName instead. + // Only one environment is supported if this list is used. Environments []string `json:"environments"` } +// GetEnvironmentName returns TeamVulnerabilitySummaryFilter.EnvironmentName, and is useful for accessing the field via an interface. +func (v *TeamVulnerabilitySummaryFilter) GetEnvironmentName() string { return v.EnvironmentName } + // GetEnvironments returns TeamVulnerabilitySummaryFilter.Environments, and is useful for accessing the field via an interface. func (v *TeamVulnerabilitySummaryFilter) GetEnvironments() []string { return v.Environments } // Input for filtering team workloads. type TeamWorkloadsFilter struct { - // Input for filtering team workloads. + // Only return workloads from the given named environments. Environments []string `json:"environments"` } @@ -23683,6 +27639,49 @@ type TriggerJobTriggerJobTriggerJobPayloadJobRun struct { // GetName returns TriggerJobTriggerJobTriggerJobPayloadJobRun.Name, and is useful for accessing the field via an interface. func (v *TriggerJobTriggerJobTriggerJobPayloadJobRun) GetName() string { return v.Name } +// UpdateConfigValueResponse is returned by UpdateConfigValue on success. +type UpdateConfigValueResponse struct { + // Update a value within a config. + UpdateConfigValue UpdateConfigValueUpdateConfigValueUpdateConfigValuePayload `json:"updateConfigValue"` +} + +// GetUpdateConfigValue returns UpdateConfigValueResponse.UpdateConfigValue, and is useful for accessing the field via an interface. +func (v *UpdateConfigValueResponse) GetUpdateConfigValue() UpdateConfigValueUpdateConfigValueUpdateConfigValuePayload { + return v.UpdateConfigValue +} + +// UpdateConfigValueUpdateConfigValueUpdateConfigValuePayload includes the requested fields of the GraphQL type UpdateConfigValuePayload. +type UpdateConfigValueUpdateConfigValueUpdateConfigValuePayload struct { + // The updated config. + Config UpdateConfigValueUpdateConfigValueUpdateConfigValuePayloadConfig `json:"config"` +} + +// GetConfig returns UpdateConfigValueUpdateConfigValueUpdateConfigValuePayload.Config, and is useful for accessing the field via an interface. +func (v *UpdateConfigValueUpdateConfigValueUpdateConfigValuePayload) GetConfig() UpdateConfigValueUpdateConfigValueUpdateConfigValuePayloadConfig { + return v.Config +} + +// UpdateConfigValueUpdateConfigValueUpdateConfigValuePayloadConfig includes the requested fields of the GraphQL type Config. +// The GraphQL type's documentation follows. +// +// A config is a collection of key-value pairs. +type UpdateConfigValueUpdateConfigValueUpdateConfigValuePayloadConfig struct { + // The globally unique ID of the config. + Id string `json:"id"` + // The name of the config. + Name string `json:"name"` +} + +// GetId returns UpdateConfigValueUpdateConfigValueUpdateConfigValuePayloadConfig.Id, and is useful for accessing the field via an interface. +func (v *UpdateConfigValueUpdateConfigValueUpdateConfigValuePayloadConfig) GetId() string { + return v.Id +} + +// GetName returns UpdateConfigValueUpdateConfigValueUpdateConfigValuePayloadConfig.Name, and is useful for accessing the field via an interface. +func (v *UpdateConfigValueUpdateConfigValueUpdateConfigValuePayloadConfig) GetName() string { + return v.Name +} + // UpdateOpenSearchResponse is returned by UpdateOpenSearch on success. type UpdateOpenSearchResponse struct { // Update an existing OpenSearch instance. @@ -24153,13 +28152,13 @@ var AllValkeyTier = []ValkeyTier{ // Input for viewing secret values. type ViewSecretValuesInput struct { - // Input for viewing secret values. + // The name of the secret. Name string `json:"name"` - // Input for viewing secret values. + // The environment the secret exists in. Environment string `json:"environment"` - // Input for viewing secret values. + // The team that owns the secret. Team string `json:"team"` - // Input for viewing secret values. + // Reason for viewing the secret values. Must be at least 10 characters. Reason string `json:"reason"` } @@ -24219,6 +28218,26 @@ func (v *ViewSecretValuesViewSecretValuesViewSecretValuesPayloadValuesSecretValu return v.Value } +// __AddConfigValueInput is used internally by genqlient +type __AddConfigValueInput struct { + Name string `json:"name"` + EnvironmentName string `json:"environmentName"` + TeamSlug string `json:"teamSlug"` + Value ConfigValueInput `json:"value"` +} + +// GetName returns __AddConfigValueInput.Name, and is useful for accessing the field via an interface. +func (v *__AddConfigValueInput) GetName() string { return v.Name } + +// GetEnvironmentName returns __AddConfigValueInput.EnvironmentName, and is useful for accessing the field via an interface. +func (v *__AddConfigValueInput) GetEnvironmentName() string { return v.EnvironmentName } + +// GetTeamSlug returns __AddConfigValueInput.TeamSlug, and is useful for accessing the field via an interface. +func (v *__AddConfigValueInput) GetTeamSlug() string { return v.TeamSlug } + +// GetValue returns __AddConfigValueInput.Value, and is useful for accessing the field via an interface. +func (v *__AddConfigValueInput) GetValue() ConfigValueInput { return v.Value } + // __AddSecretValueInput is used internally by genqlient type __AddSecretValueInput struct { Name string `json:"name"` @@ -24267,6 +28286,22 @@ func (v *__ApplicationEnvironmentsInput) GetTeam() string { return v.Team } // GetFilter returns __ApplicationEnvironmentsInput.Filter, and is useful for accessing the field via an interface. func (v *__ApplicationEnvironmentsInput) GetFilter() TeamApplicationsFilter { return v.Filter } +// __CreateConfigInput is used internally by genqlient +type __CreateConfigInput struct { + Name string `json:"name"` + EnvironmentName string `json:"environmentName"` + TeamSlug string `json:"teamSlug"` +} + +// GetName returns __CreateConfigInput.Name, and is useful for accessing the field via an interface. +func (v *__CreateConfigInput) GetName() string { return v.Name } + +// GetEnvironmentName returns __CreateConfigInput.EnvironmentName, and is useful for accessing the field via an interface. +func (v *__CreateConfigInput) GetEnvironmentName() string { return v.EnvironmentName } + +// GetTeamSlug returns __CreateConfigInput.TeamSlug, and is useful for accessing the field via an interface. +func (v *__CreateConfigInput) GetTeamSlug() string { return v.TeamSlug } + // __CreateKafkaCredentialsInput is used internally by genqlient type __CreateKafkaCredentialsInput struct { TeamSlug string `json:"teamSlug"` @@ -24409,21 +28444,21 @@ func (v *__CreateValkeyInput) GetTier() ValkeyTier { return v.Tier } // GetMaxMemoryPolicy returns __CreateValkeyInput.MaxMemoryPolicy, and is useful for accessing the field via an interface. func (v *__CreateValkeyInput) GetMaxMemoryPolicy() ValkeyMaxMemoryPolicy { return v.MaxMemoryPolicy } -// __DeleteJobRunInput is used internally by genqlient -type __DeleteJobRunInput struct { - Team string `json:"team"` - Env string `json:"env"` - RunName string `json:"runName"` +// __DeleteConfigInput is used internally by genqlient +type __DeleteConfigInput struct { + Name string `json:"name"` + EnvironmentName string `json:"environmentName"` + TeamSlug string `json:"teamSlug"` } -// GetTeam returns __DeleteJobRunInput.Team, and is useful for accessing the field via an interface. -func (v *__DeleteJobRunInput) GetTeam() string { return v.Team } +// GetName returns __DeleteConfigInput.Name, and is useful for accessing the field via an interface. +func (v *__DeleteConfigInput) GetName() string { return v.Name } -// GetEnv returns __DeleteJobRunInput.Env, and is useful for accessing the field via an interface. -func (v *__DeleteJobRunInput) GetEnv() string { return v.Env } +// GetEnvironmentName returns __DeleteConfigInput.EnvironmentName, and is useful for accessing the field via an interface. +func (v *__DeleteConfigInput) GetEnvironmentName() string { return v.EnvironmentName } -// GetRunName returns __DeleteJobRunInput.RunName, and is useful for accessing the field via an interface. -func (v *__DeleteJobRunInput) GetRunName() string { return v.RunName } +// GetTeamSlug returns __DeleteConfigInput.TeamSlug, and is useful for accessing the field via an interface. +func (v *__DeleteConfigInput) GetTeamSlug() string { return v.TeamSlug } // __DeleteOpenSearchInput is used internally by genqlient type __DeleteOpenSearchInput struct { @@ -24481,6 +28516,14 @@ type __FindWorkloadsForCveInput struct { // GetIdentifier returns __FindWorkloadsForCveInput.Identifier, and is useful for accessing the field via an interface. func (v *__FindWorkloadsForCveInput) GetIdentifier() string { return v.Identifier } +// __GetAllConfigsInput is used internally by genqlient +type __GetAllConfigsInput struct { + TeamSlug string `json:"teamSlug"` +} + +// GetTeamSlug returns __GetAllConfigsInput.TeamSlug, and is useful for accessing the field via an interface. +func (v *__GetAllConfigsInput) GetTeamSlug() string { return v.TeamSlug } + // __GetAllIssuesInput is used internally by genqlient type __GetAllIssuesInput struct { TeamSlug string `json:"teamSlug"` @@ -24583,6 +28626,44 @@ type __GetApplicationNamesInput struct { // GetTeam returns __GetApplicationNamesInput.Team, and is useful for accessing the field via an interface. func (v *__GetApplicationNamesInput) GetTeam() string { return v.Team } +// __GetConfigActivityInput is used internally by genqlient +type __GetConfigActivityInput struct { + Team string `json:"team"` + Name string `json:"name"` + ActivityTypes []ActivityLogActivityType `json:"activityTypes"` + First int `json:"first"` +} + +// GetTeam returns __GetConfigActivityInput.Team, and is useful for accessing the field via an interface. +func (v *__GetConfigActivityInput) GetTeam() string { return v.Team } + +// GetName returns __GetConfigActivityInput.Name, and is useful for accessing the field via an interface. +func (v *__GetConfigActivityInput) GetName() string { return v.Name } + +// GetActivityTypes returns __GetConfigActivityInput.ActivityTypes, and is useful for accessing the field via an interface. +func (v *__GetConfigActivityInput) GetActivityTypes() []ActivityLogActivityType { + return v.ActivityTypes +} + +// GetFirst returns __GetConfigActivityInput.First, and is useful for accessing the field via an interface. +func (v *__GetConfigActivityInput) GetFirst() int { return v.First } + +// __GetConfigInput is used internally by genqlient +type __GetConfigInput struct { + Name string `json:"name"` + EnvironmentName string `json:"environmentName"` + TeamSlug string `json:"teamSlug"` +} + +// GetName returns __GetConfigInput.Name, and is useful for accessing the field via an interface. +func (v *__GetConfigInput) GetName() string { return v.Name } + +// GetEnvironmentName returns __GetConfigInput.EnvironmentName, and is useful for accessing the field via an interface. +func (v *__GetConfigInput) GetEnvironmentName() string { return v.EnvironmentName } + +// GetTeamSlug returns __GetConfigInput.TeamSlug, and is useful for accessing the field via an interface. +func (v *__GetConfigInput) GetTeamSlug() string { return v.TeamSlug } + // __GetJobActivityInput is used internally by genqlient type __GetJobActivityInput struct { Team string `json:"team"` @@ -24627,30 +28708,6 @@ type __GetJobNamesInput struct { // GetTeam returns __GetJobNamesInput.Team, and is useful for accessing the field via an interface. func (v *__GetJobNamesInput) GetTeam() string { return v.Team } -// __GetJobRunNamesInput is used internally by genqlient -type __GetJobRunNamesInput struct { - Team string `json:"team"` -} - -// GetTeam returns __GetJobRunNamesInput.Team, and is useful for accessing the field via an interface. -func (v *__GetJobRunNamesInput) GetTeam() string { return v.Team } - -// __GetJobRunsInput is used internally by genqlient -type __GetJobRunsInput struct { - Team string `json:"team"` - Name string `json:"name"` - Env []string `json:"env"` -} - -// GetTeam returns __GetJobRunsInput.Team, and is useful for accessing the field via an interface. -func (v *__GetJobRunsInput) GetTeam() string { return v.Team } - -// GetName returns __GetJobRunsInput.Name, and is useful for accessing the field via an interface. -func (v *__GetJobRunsInput) GetName() string { return v.Name } - -// GetEnv returns __GetJobRunsInput.Env, and is useful for accessing the field via an interface. -func (v *__GetJobRunsInput) GetEnv() []string { return v.Env } - // __GetLatestJobRunStateInput is used internally by genqlient type __GetLatestJobRunStateInput struct { Team string `json:"team"` @@ -24853,6 +28910,26 @@ func (v *__ListWorkloadVulnerabilitySummariesInput) GetFilter() TeamVulnerabilit return v.Filter } +// __RemoveConfigValueInput is used internally by genqlient +type __RemoveConfigValueInput struct { + ConfigName string `json:"configName"` + EnvironmentName string `json:"environmentName"` + TeamSlug string `json:"teamSlug"` + ValueName string `json:"valueName"` +} + +// GetConfigName returns __RemoveConfigValueInput.ConfigName, and is useful for accessing the field via an interface. +func (v *__RemoveConfigValueInput) GetConfigName() string { return v.ConfigName } + +// GetEnvironmentName returns __RemoveConfigValueInput.EnvironmentName, and is useful for accessing the field via an interface. +func (v *__RemoveConfigValueInput) GetEnvironmentName() string { return v.EnvironmentName } + +// GetTeamSlug returns __RemoveConfigValueInput.TeamSlug, and is useful for accessing the field via an interface. +func (v *__RemoveConfigValueInput) GetTeamSlug() string { return v.TeamSlug } + +// GetValueName returns __RemoveConfigValueInput.ValueName, and is useful for accessing the field via an interface. +func (v *__RemoveConfigValueInput) GetValueName() string { return v.ValueName } + // __RemoveSecretValueInput is used internally by genqlient type __RemoveSecretValueInput struct { SecretName string `json:"secretName"` @@ -24965,6 +29042,26 @@ func (v *__TriggerJobInput) GetEnv() string { return v.Env } // GetRunName returns __TriggerJobInput.RunName, and is useful for accessing the field via an interface. func (v *__TriggerJobInput) GetRunName() string { return v.RunName } +// __UpdateConfigValueInput is used internally by genqlient +type __UpdateConfigValueInput struct { + Name string `json:"name"` + EnvironmentName string `json:"environmentName"` + TeamSlug string `json:"teamSlug"` + Value ConfigValueInput `json:"value"` +} + +// GetName returns __UpdateConfigValueInput.Name, and is useful for accessing the field via an interface. +func (v *__UpdateConfigValueInput) GetName() string { return v.Name } + +// GetEnvironmentName returns __UpdateConfigValueInput.EnvironmentName, and is useful for accessing the field via an interface. +func (v *__UpdateConfigValueInput) GetEnvironmentName() string { return v.EnvironmentName } + +// GetTeamSlug returns __UpdateConfigValueInput.TeamSlug, and is useful for accessing the field via an interface. +func (v *__UpdateConfigValueInput) GetTeamSlug() string { return v.TeamSlug } + +// GetValue returns __UpdateConfigValueInput.Value, and is useful for accessing the field via an interface. +func (v *__UpdateConfigValueInput) GetValue() ConfigValueInput { return v.Value } + // __UpdateOpenSearchInput is used internally by genqlient type __UpdateOpenSearchInput struct { Name string `json:"name,omitempty"` @@ -25053,6 +29150,49 @@ type __ViewSecretValuesInput struct { // GetInput returns __ViewSecretValuesInput.Input, and is useful for accessing the field via an interface. func (v *__ViewSecretValuesInput) GetInput() ViewSecretValuesInput { return v.Input } +// The mutation executed by AddConfigValue. +const AddConfigValue_Operation = ` +mutation AddConfigValue ($name: String!, $environmentName: String!, $teamSlug: Slug!, $value: ConfigValueInput!) { + addConfigValue(input: {name:$name,environmentName:$environmentName,teamSlug:$teamSlug,value:$value}) { + config { + id + name + } + } +} +` + +func AddConfigValue( + ctx_ context.Context, + client_ graphql.Client, + name string, + environmentName string, + teamSlug string, + value ConfigValueInput, +) (data_ *AddConfigValueResponse, err_ error) { + req_ := &graphql.Request{ + OpName: "AddConfigValue", + Query: AddConfigValue_Operation, + Variables: &__AddConfigValueInput{ + Name: name, + EnvironmentName: environmentName, + TeamSlug: teamSlug, + Value: value, + }, + } + + data_ = &AddConfigValueResponse{} + resp_ := &graphql.Response{Data: data_} + + err_ = client_.MakeRequest( + ctx_, + req_, + resp_, + ) + + return data_, err_ +} + // The mutation executed by AddSecretValue. const AddSecretValue_Operation = ` mutation AddSecretValue ($name: String!, $environment: String!, $team: Slug!, $value: SecretValueInput!) { @@ -25181,6 +29321,47 @@ func ApplicationEnvironments( return data_, err_ } +// The mutation executed by CreateConfig. +const CreateConfig_Operation = ` +mutation CreateConfig ($name: String!, $environmentName: String!, $teamSlug: Slug!) { + createConfig(input: {name:$name,environmentName:$environmentName,teamSlug:$teamSlug}) { + config { + id + name + } + } +} +` + +func CreateConfig( + ctx_ context.Context, + client_ graphql.Client, + name string, + environmentName string, + teamSlug string, +) (data_ *CreateConfigResponse, err_ error) { + req_ := &graphql.Request{ + OpName: "CreateConfig", + Query: CreateConfig_Operation, + Variables: &__CreateConfigInput{ + Name: name, + EnvironmentName: environmentName, + TeamSlug: teamSlug, + }, + } + + data_ = &CreateConfigResponse{} + resp_ := &graphql.Response{Data: data_} + + err_ = client_.MakeRequest( + ctx_, + req_, + resp_, + ) + + return data_, err_ +} + // The mutation executed by CreateKafkaCredentials. const CreateKafkaCredentials_Operation = ` mutation CreateKafkaCredentials ($teamSlug: Slug!, $environmentName: String!, $ttl: String!) { @@ -25459,33 +29640,33 @@ func CreateValkeyCredentials( return data_, err_ } -// The mutation executed by DeleteJobRun. -const DeleteJobRun_Operation = ` -mutation DeleteJobRun ($team: Slug!, $env: String!, $runName: String!) { - deleteJobRun(input: {teamSlug:$team,environmentName:$env,runName:$runName}) { - success +// The mutation executed by DeleteConfig. +const DeleteConfig_Operation = ` +mutation DeleteConfig ($name: String!, $environmentName: String!, $teamSlug: Slug!) { + deleteConfig(input: {name:$name,environmentName:$environmentName,teamSlug:$teamSlug}) { + configDeleted } } ` -func DeleteJobRun( +func DeleteConfig( ctx_ context.Context, client_ graphql.Client, - team string, - env string, - runName string, -) (data_ *DeleteJobRunResponse, err_ error) { - req_ := &graphql.Request{ - OpName: "DeleteJobRun", - Query: DeleteJobRun_Operation, - Variables: &__DeleteJobRunInput{ - Team: team, - Env: env, - RunName: runName, + name string, + environmentName string, + teamSlug string, +) (data_ *DeleteConfigResponse, err_ error) { + req_ := &graphql.Request{ + OpName: "DeleteConfig", + Query: DeleteConfig_Operation, + Variables: &__DeleteConfigInput{ + Name: name, + EnvironmentName: environmentName, + TeamSlug: teamSlug, }, } - data_ = &DeleteJobRunResponse{} + data_ = &DeleteConfigResponse{} resp_ := &graphql.Response{Data: data_} err_ = client_.MakeRequest( @@ -25705,6 +29886,63 @@ func FindWorkloadsForCve( return data_, err_ } +// The query executed by GetAllConfigs. +const GetAllConfigs_Operation = ` +query GetAllConfigs ($teamSlug: Slug!) { + team(slug: $teamSlug) { + configs(first: 1000, orderBy: {field:NAME,direction:ASC}) { + nodes { + name + values { + name + value + } + teamEnvironment { + environment { + name + } + } + workloads(first: 1000) { + nodes { + name + __typename + } + } + lastModifiedAt + lastModifiedBy { + email + } + } + } + } +} +` + +func GetAllConfigs( + ctx_ context.Context, + client_ graphql.Client, + teamSlug string, +) (data_ *GetAllConfigsResponse, err_ error) { + req_ := &graphql.Request{ + OpName: "GetAllConfigs", + Query: GetAllConfigs_Operation, + Variables: &__GetAllConfigsInput{ + TeamSlug: teamSlug, + }, + } + + data_ = &GetAllConfigsResponse{} + resp_ := &graphql.Response{Data: data_} + + err_ = client_.MakeRequest( + ctx_, + req_, + resp_, + ) + + return data_, err_ +} + // The query executed by GetAllIssues. const GetAllIssues_Operation = ` query GetAllIssues ($teamSlug: Slug!, $filter: IssueFilter) { @@ -26204,52 +30442,56 @@ func GetApplicationNames( return data_, err_ } -// The query executed by GetJobActivity. -const GetJobActivity_Operation = ` -query GetJobActivity ($team: Slug!, $name: String!, $env: [String!], $first: Int) { - team(slug: $team) { - jobs(filter: {name:$name,environments:$env}) { - nodes { +// The query executed by GetConfig. +const GetConfig_Operation = ` +query GetConfig ($name: String!, $environmentName: String!, $teamSlug: Slug!) { + team(slug: $teamSlug) { + environment(name: $environmentName) { + config(name: $name) { + name + values { + name + value + } teamEnvironment { environment { name } } - activityLog(first: $first) { + workloads(first: 1000) { nodes { + name __typename - actor - createdAt - message - environmentName } } + lastModifiedAt + lastModifiedBy { + email + } } } } } ` -func GetJobActivity( +func GetConfig( ctx_ context.Context, client_ graphql.Client, - team string, name string, - env []string, - first int, -) (data_ *GetJobActivityResponse, err_ error) { + environmentName string, + teamSlug string, +) (data_ *GetConfigResponse, err_ error) { req_ := &graphql.Request{ - OpName: "GetJobActivity", - Query: GetJobActivity_Operation, - Variables: &__GetJobActivityInput{ - Team: team, - Name: name, - Env: env, - First: first, + OpName: "GetConfig", + Query: GetConfig_Operation, + Variables: &__GetConfigInput{ + Name: name, + EnvironmentName: environmentName, + TeamSlug: teamSlug, }, } - data_ = &GetJobActivityResponse{} + data_ = &GetConfigResponse{} resp_ := &graphql.Response{Data: data_} err_ = client_.MakeRequest( @@ -26261,22 +30503,25 @@ func GetJobActivity( return data_, err_ } -// The query executed by GetJobIssues. -const GetJobIssues_Operation = ` -query GetJobIssues ($team: Slug!, $name: String!, $env: [String!]) { +// The query executed by GetConfigActivity. +const GetConfigActivity_Operation = ` +query GetConfigActivity ($team: Slug!, $name: String!, $activityTypes: [ActivityLogActivityType!], $first: Int) { team(slug: $team) { - jobs(filter: {name:$name,environments:$env}) { + configs(filter: {name:$name}, first: 1000) { nodes { + name teamEnvironment { environment { name } } - issues(first: 500) { + activityLog(first: $first, filter: {activityTypes:$activityTypes}) { nodes { __typename - severity + actor + createdAt message + environmentName } } } @@ -26285,24 +30530,26 @@ query GetJobIssues ($team: Slug!, $name: String!, $env: [String!]) { } ` -func GetJobIssues( +func GetConfigActivity( ctx_ context.Context, client_ graphql.Client, team string, name string, - env []string, -) (data_ *GetJobIssuesResponse, err_ error) { + activityTypes []ActivityLogActivityType, + first int, +) (data_ *GetConfigActivityResponse, err_ error) { req_ := &graphql.Request{ - OpName: "GetJobIssues", - Query: GetJobIssues_Operation, - Variables: &__GetJobIssuesInput{ - Team: team, - Name: name, - Env: env, + OpName: "GetConfigActivity", + Query: GetConfigActivity_Operation, + Variables: &__GetConfigActivityInput{ + Team: team, + Name: name, + ActivityTypes: activityTypes, + First: first, }, } - data_ = &GetJobIssuesResponse{} + data_ = &GetConfigActivityResponse{} resp_ := &graphql.Response{Data: data_} err_ = client_.MakeRequest( @@ -26314,38 +30561,52 @@ func GetJobIssues( return data_, err_ } -// The query executed by GetJobNames. -const GetJobNames_Operation = ` -query GetJobNames ($team: Slug!) { +// The query executed by GetJobActivity. +const GetJobActivity_Operation = ` +query GetJobActivity ($team: Slug!, $name: String!, $env: [String!], $first: Int) { team(slug: $team) { - jobs(first: 1000) { + jobs(filter: {name:$name,environments:$env}) { nodes { - name teamEnvironment { environment { name } } + activityLog(first: $first) { + nodes { + __typename + actor + createdAt + message + environmentName + } + } } } } } ` -func GetJobNames( +func GetJobActivity( ctx_ context.Context, client_ graphql.Client, team string, -) (data_ *GetJobNamesResponse, err_ error) { + name string, + env []string, + first int, +) (data_ *GetJobActivityResponse, err_ error) { req_ := &graphql.Request{ - OpName: "GetJobNames", - Query: GetJobNames_Operation, - Variables: &__GetJobNamesInput{ - Team: team, + OpName: "GetJobActivity", + Query: GetJobActivity_Operation, + Variables: &__GetJobActivityInput{ + Team: team, + Name: name, + Env: env, + First: first, }, } - data_ = &GetJobNamesResponse{} + data_ = &GetJobActivityResponse{} resp_ := &graphql.Response{Data: data_} err_ = client_.MakeRequest( @@ -26357,20 +30618,22 @@ func GetJobNames( return data_, err_ } -// The query executed by GetJobRunNames. -const GetJobRunNames_Operation = ` -query GetJobRunNames ($team: Slug!) { +// The query executed by GetJobIssues. +const GetJobIssues_Operation = ` +query GetJobIssues ($team: Slug!, $name: String!, $env: [String!]) { team(slug: $team) { - jobs(first: 1000) { + jobs(filter: {name:$name,environments:$env}) { nodes { teamEnvironment { environment { name } } - runs(first: 100) { + issues(first: 500) { nodes { - name + __typename + severity + message } } } @@ -26379,20 +30642,24 @@ query GetJobRunNames ($team: Slug!) { } ` -func GetJobRunNames( +func GetJobIssues( ctx_ context.Context, client_ graphql.Client, team string, -) (data_ *GetJobRunNamesResponse, err_ error) { + name string, + env []string, +) (data_ *GetJobIssuesResponse, err_ error) { req_ := &graphql.Request{ - OpName: "GetJobRunNames", - Query: GetJobRunNames_Operation, - Variables: &__GetJobRunNamesInput{ + OpName: "GetJobIssues", + Query: GetJobIssues_Operation, + Variables: &__GetJobIssuesInput{ Team: team, + Name: name, + Env: env, }, } - data_ = &GetJobRunNamesResponse{} + data_ = &GetJobIssuesResponse{} resp_ := &graphql.Response{Data: data_} err_ = client_.MakeRequest( @@ -26404,24 +30671,16 @@ func GetJobRunNames( return data_, err_ } -// The query executed by GetJobRuns. -const GetJobRuns_Operation = ` -query GetJobRuns ($team: Slug!, $name: String!, $env: [String!]) { +// The query executed by GetJobNames. +const GetJobNames_Operation = ` +query GetJobNames ($team: Slug!) { team(slug: $team) { - jobs(filter: {name:$name,environments:$env}, first: 1) { + jobs(first: 1000) { nodes { - runs(first: 100) { - nodes { + name + teamEnvironment { + environment { name - startTime - duration - status { - state - } - trigger { - type - actor - } } } } @@ -26430,24 +30689,20 @@ query GetJobRuns ($team: Slug!, $name: String!, $env: [String!]) { } ` -func GetJobRuns( +func GetJobNames( ctx_ context.Context, client_ graphql.Client, team string, - name string, - env []string, -) (data_ *GetJobRunsResponse, err_ error) { +) (data_ *GetJobNamesResponse, err_ error) { req_ := &graphql.Request{ - OpName: "GetJobRuns", - Query: GetJobRuns_Operation, - Variables: &__GetJobRunsInput{ + OpName: "GetJobNames", + Query: GetJobNames_Operation, + Variables: &__GetJobNamesInput{ Team: team, - Name: name, - Env: env, }, } - data_ = &GetJobRunsResponse{} + data_ = &GetJobNamesResponse{} resp_ := &graphql.Response{Data: data_} err_ = client_.MakeRequest( @@ -27325,6 +31580,49 @@ func ListWorkloadVulnerabilitySummaries( return data_, err_ } +// The mutation executed by RemoveConfigValue. +const RemoveConfigValue_Operation = ` +mutation RemoveConfigValue ($configName: String!, $environmentName: String!, $teamSlug: Slug!, $valueName: String!) { + removeConfigValue(input: {configName:$configName,environmentName:$environmentName,teamSlug:$teamSlug,valueName:$valueName}) { + config { + id + name + } + } +} +` + +func RemoveConfigValue( + ctx_ context.Context, + client_ graphql.Client, + configName string, + environmentName string, + teamSlug string, + valueName string, +) (data_ *RemoveConfigValueResponse, err_ error) { + req_ := &graphql.Request{ + OpName: "RemoveConfigValue", + Query: RemoveConfigValue_Operation, + Variables: &__RemoveConfigValueInput{ + ConfigName: configName, + EnvironmentName: environmentName, + TeamSlug: teamSlug, + ValueName: valueName, + }, + } + + data_ = &RemoveConfigValueResponse{} + resp_ := &graphql.Response{Data: data_} + + err_ = client_.MakeRequest( + ctx_, + req_, + resp_, + ) + + return data_, err_ +} + // The mutation executed by RemoveSecretValue. const RemoveSecretValue_Operation = ` mutation RemoveSecretValue ($secretName: String!, $environment: String!, $team: Slug!, $valueName: String!) { @@ -27735,6 +32033,49 @@ func TriggerJob( return data_, err_ } +// The mutation executed by UpdateConfigValue. +const UpdateConfigValue_Operation = ` +mutation UpdateConfigValue ($name: String!, $environmentName: String!, $teamSlug: Slug!, $value: ConfigValueInput!) { + updateConfigValue(input: {name:$name,environmentName:$environmentName,teamSlug:$teamSlug,value:$value}) { + config { + id + name + } + } +} +` + +func UpdateConfigValue( + ctx_ context.Context, + client_ graphql.Client, + name string, + environmentName string, + teamSlug string, + value ConfigValueInput, +) (data_ *UpdateConfigValueResponse, err_ error) { + req_ := &graphql.Request{ + OpName: "UpdateConfigValue", + Query: UpdateConfigValue_Operation, + Variables: &__UpdateConfigValueInput{ + Name: name, + EnvironmentName: environmentName, + TeamSlug: teamSlug, + Value: value, + }, + } + + data_ = &UpdateConfigValueResponse{} + resp_ := &graphql.Response{Data: data_} + + err_ = client_.MakeRequest( + ctx_, + req_, + resp_, + ) + + return data_, err_ +} + // The mutation executed by UpdateOpenSearch. const UpdateOpenSearch_Operation = ` mutation UpdateOpenSearch ($name: String!, $environmentName: String!, $teamSlug: Slug!, $memory: OpenSearchMemory!, $tier: OpenSearchTier!, $version: OpenSearchMajorVersion!, $storageGB: Int!) { diff --git a/schema.graphql b/schema.graphql index 786d2612..717bf30c 100644 --- a/schema.graphql +++ b/schema.graphql @@ -2,574 +2,478 @@ Directs the executor to defer this fragment when the `if` argument is true or undefined. """ directive @defer( -""" -Deferred when true or undefined. -""" - if: Boolean -""" -Unique name -""" - label: String + """Deferred when true or undefined.""" + if: Boolean = true + + """Unique name""" + label: String ) on FRAGMENT_SPREAD | INLINE_FRAGMENT -""" -Marks an element of a GraphQL schema as no longer supported. -""" -directive @deprecated( -""" -Explains why this element was deprecated, usually also including a suggestion for how to access supported similar data. Formatted using the Markdown syntax, as specified by [CommonMark](https://commonmark.org/). -""" - reason: String -) on FIELD_DEFINITION | ARGUMENT_DEFINITION | INPUT_FIELD_DEFINITION | ENUM_VALUE +enum ActivityLogActivityType { + """Filter for credential creation events.""" + CREDENTIALS_CREATE -""" -Directs the executor to include this field or fragment only when the `if` argument is true. -""" -directive @include( -""" -Included when true. -""" - if: Boolean! -) on FIELD | FRAGMENT_SPREAD | INLINE_FRAGMENT + """An application was deleted.""" + APPLICATION_DELETED -""" -Indicates exactly one field must be supplied and this field must not be `null`. -""" -directive @oneOf on INPUT_OBJECT + """An application was restarted.""" + APPLICATION_RESTARTED -""" -Directs the executor to skip this field or fragment when the `if` argument is true. -""" -directive @skip( -""" -Skipped when true. -""" - if: Boolean! -) on FIELD | FRAGMENT_SPREAD | INLINE_FRAGMENT + """An application was scaled.""" + APPLICATION_SCALED -""" -Exposes a URL that specifies the behavior of this scalar. -""" -directive @specifiedBy( -""" -The URL that specifies the behavior of this scalar. -""" - url: String! -) on SCALAR + """All activity log entries related to direct cluster changes.""" + CLUSTER_AUDIT -enum ActivityLogActivityType { -""" -An application was deleted. -""" - APPLICATION_DELETED -""" -An application was restarted. -""" - APPLICATION_RESTARTED -""" -An application was scaled. -""" - APPLICATION_SCALED -""" -All activity log entries related to direct cluster changes. -""" - CLUSTER_AUDIT -""" -Activity log entry for deployment activity. -""" - DEPLOYMENT -""" -Activity log entry for team deploy key updates. -""" - TEAM_DEPLOY_KEY_UPDATED -""" -Activity log entries related to job deletion. -""" - JOB_DELETED -""" -Activity log entries related to job run deletion. -""" - JOB_RUN_DELETED -""" -Activity log entries related to job triggering. -""" - JOB_TRIGGERED -""" -OpenSearch was created. -""" - OPENSEARCH_CREATED -""" -OpenSearch was updated. -""" - OPENSEARCH_UPDATED -""" -OpenSearch was deleted. -""" - OPENSEARCH_DELETED -""" -Started service maintenance on OpenSearch instance. -""" - OPENSEARCH_MAINTENANCE_STARTED -""" -A user was granted access to a Postgres cluster -""" - POSTGRES_GRANT_ACCESS -""" -Reconciler enabled activity log entry. -""" - RECONCILER_ENABLED -""" -Reconciler disabled activity log entry. -""" - RECONCILER_DISABLED -""" -Reconciler configured activity log entry. -""" - RECONCILER_CONFIGURED -""" -Repository was added to a team. -""" - REPOSITORY_ADDED -""" -Repository was removed from a team. -""" - REPOSITORY_REMOVED -""" -Secret was created. -""" - SECRET_CREATED -""" -Secret value was added. -""" - SECRET_VALUE_ADDED -""" -Secret value was updated. -""" - SECRET_VALUE_UPDATED -""" -Secret value was removed. -""" - SECRET_VALUE_REMOVED -""" -Secret was deleted. -""" - SECRET_DELETED -""" -Secret values were viewed. -""" - SECRET_VALUES_VIEWED -""" -Service account was created. -""" - SERVICE_ACCOUNT_CREATED -""" -Service account was updated. -""" - SERVICE_ACCOUNT_UPDATED -""" -Service account was deleted. -""" - SERVICE_ACCOUNT_DELETED -""" -Role was assigned to a service account. -""" - SERVICE_ACCOUNT_ROLE_ASSIGNED -""" -Role was revoked from a service account. -""" - SERVICE_ACCOUNT_ROLE_REVOKED -""" -Service account token was created. -""" - SERVICE_ACCOUNT_TOKEN_CREATED -""" -Service account token was updated. -""" - SERVICE_ACCOUNT_TOKEN_UPDATED -""" -Service account token was deleted. -""" - SERVICE_ACCOUNT_TOKEN_DELETED -""" -Team was created. -""" - TEAM_CREATED -""" -Team was updated. -""" - TEAM_UPDATED -""" -Team delete key was created. -""" - TEAM_CREATE_DELETE_KEY -""" -Team delete key was confirmed. -""" - TEAM_CONFIRM_DELETE_KEY -""" -Team member was added. -""" - TEAM_MEMBER_ADDED -""" -Team member was removed. -""" - TEAM_MEMBER_REMOVED -""" -Team member role was set. -""" - TEAM_MEMBER_SET_ROLE -""" -Team environment was updated. -""" - TEAM_ENVIRONMENT_UPDATED -""" -Unleash instance was created. -""" - UNLEASH_INSTANCE_CREATED -""" -Unleash instance was updated. -""" - UNLEASH_INSTANCE_UPDATED -""" -Unleash instance was deleted. -""" - UNLEASH_INSTANCE_DELETED -""" -Valkey was created. -""" - VALKEY_CREATED -""" -Valkey was updated. -""" - VALKEY_UPDATED -""" -Valkey was deleted. -""" - VALKEY_DELETED -""" -Started service maintenance on Valkey instance. -""" - VALKEY_MAINTENANCE_STARTED -""" -Activity log entry for when a vulnerability is updated. -""" - VULNERABILITY_UPDATED -""" -Filter for credential creation events. -""" - CREDENTIALS_CREATE + """Config was created.""" + CONFIG_CREATED + + """Config was updated.""" + CONFIG_UPDATED + + """Config was deleted.""" + CONFIG_DELETED + + """Activity log entry for deployment activity.""" + DEPLOYMENT + + """Activity log entry for team deploy key updates.""" + TEAM_DEPLOY_KEY_UPDATED + + """Activity log entries related to job deletion.""" + JOB_DELETED + + """Activity log entries related to job triggering.""" + JOB_TRIGGERED + + """OpenSearch was created.""" + OPENSEARCH_CREATED + + """OpenSearch was updated.""" + OPENSEARCH_UPDATED + + """OpenSearch was deleted.""" + OPENSEARCH_DELETED + + """Started service maintenance on OpenSearch instance.""" + OPENSEARCH_MAINTENANCE_STARTED + + """A user was granted access to a Postgres cluster""" + POSTGRES_GRANT_ACCESS + + """Reconciler enabled activity log entry.""" + RECONCILER_ENABLED + + """Reconciler disabled activity log entry.""" + RECONCILER_DISABLED + + """Reconciler configured activity log entry.""" + RECONCILER_CONFIGURED + + """Repository was added to a team.""" + REPOSITORY_ADDED + + """Repository was removed from a team.""" + REPOSITORY_REMOVED + + """Secret was created.""" + SECRET_CREATED + + """Secret value was added.""" + SECRET_VALUE_ADDED + + """Secret value was updated.""" + SECRET_VALUE_UPDATED + + """Secret value was removed.""" + SECRET_VALUE_REMOVED + + """Secret was deleted.""" + SECRET_DELETED + + """Secret values were viewed.""" + SECRET_VALUES_VIEWED + + """Service account was created.""" + SERVICE_ACCOUNT_CREATED + + """Service account was updated.""" + SERVICE_ACCOUNT_UPDATED + + """Service account was deleted.""" + SERVICE_ACCOUNT_DELETED + + """Role was assigned to a service account.""" + SERVICE_ACCOUNT_ROLE_ASSIGNED + + """Role was revoked from a service account.""" + SERVICE_ACCOUNT_ROLE_REVOKED + + """Service account token was created.""" + SERVICE_ACCOUNT_TOKEN_CREATED + + """Service account token was updated.""" + SERVICE_ACCOUNT_TOKEN_UPDATED + + """Service account token was deleted.""" + SERVICE_ACCOUNT_TOKEN_DELETED + + """Team was created.""" + TEAM_CREATED + + """Team was updated.""" + TEAM_UPDATED + + """Team delete key was created.""" + TEAM_CREATE_DELETE_KEY + + """Team delete key was confirmed.""" + TEAM_CONFIRM_DELETE_KEY + + """Team member was added.""" + TEAM_MEMBER_ADDED + + """Team member was removed.""" + TEAM_MEMBER_REMOVED + + """Team member role was set.""" + TEAM_MEMBER_SET_ROLE + + """Team environment was updated.""" + TEAM_ENVIRONMENT_UPDATED + + """Unleash instance was created.""" + UNLEASH_INSTANCE_CREATED + + """Unleash instance was updated.""" + UNLEASH_INSTANCE_UPDATED + + """Unleash instance was deleted.""" + UNLEASH_INSTANCE_DELETED + + """Valkey was created.""" + VALKEY_CREATED + + """Valkey was updated.""" + VALKEY_UPDATED + + """Valkey was deleted.""" + VALKEY_DELETED + + """Started service maintenance on Valkey instance.""" + VALKEY_MAINTENANCE_STARTED + + """Activity log entry for when a vulnerability is updated.""" + VULNERABILITY_UPDATED } -""" -Interface for activity log entries. -""" +"""Interface for activity log entries.""" interface ActivityLogEntry { -""" -Interface for activity log entries. -""" - id: ID! -""" -Interface for activity log entries. -""" - actor: String! -""" -Interface for activity log entries. -""" - createdAt: Time! -""" -Interface for activity log entries. -""" - message: String! -""" -Interface for activity log entries. -""" - resourceType: ActivityLogEntryResourceType! -""" -Interface for activity log entries. -""" - resourceName: String! -""" -Interface for activity log entries. -""" - teamSlug: Slug -""" -Interface for activity log entries. -""" - environmentName: String + """ID of the entry.""" + id: ID! + + """ + The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + """ + actor: String! + + """Creation time of the entry.""" + createdAt: Time! + + """Message that summarizes the entry.""" + message: String! + + """Type of the resource that was affected by the action.""" + resourceType: ActivityLogEntryResourceType! + + """Name of the resource that was affected by the action.""" + resourceName: String! + + """The team slug that the entry belongs to.""" + teamSlug: Slug + + """The environment name that the entry belongs to.""" + environmentName: String } -""" -Activity log connection. -""" +"""Activity log connection.""" type ActivityLogEntryConnection { -""" -Pagination information. -""" - pageInfo: PageInfo! -""" -List of nodes. -""" - nodes: [ActivityLogEntry!]! -""" -List of edges. -""" - edges: [ActivityLogEntryEdge!]! + """Pagination information.""" + pageInfo: PageInfo! + + """List of nodes.""" + nodes: [ActivityLogEntry!]! + + """List of edges.""" + edges: [ActivityLogEntryEdge!]! } -""" -Activity log edge. -""" +"""Activity log edge.""" type ActivityLogEntryEdge { -""" -Cursor for this edge that can be used for pagination. -""" - cursor: Cursor! -""" -The log entry. -""" - node: ActivityLogEntry! + """Cursor for this edge that can be used for pagination.""" + cursor: Cursor! + + """The log entry.""" + node: ActivityLogEntry! } -""" -The type of the resource that was affected by the activity. -""" +"""The type of the resource that was affected by the activity.""" enum ActivityLogEntryResourceType { -""" -Unknown type. -""" - UNKNOWN -""" -All activity log entries related to applications will use this resource type. -""" - APP -""" -All activity log entries related to direct cluster changes. -""" - CLUSTER_AUDIT -""" -All activity log entries related to deploy keys will use this resource type. -""" - DEPLOY_KEY -""" -All activity log entries related to jobs will use this resource type. -""" - JOB -""" -All activity log entries related to OpenSearches will use this resource type. -""" - OPENSEARCH -""" -All activity log entries related to Postgres clusters will use this resource type. -""" - POSTGRES -""" -All activity log entries related to reconcilers will use this resource type. -""" - RECONCILER -""" -All activity log entries related to repositories will use this resource type. -""" - REPOSITORY -""" -All activity log entries related to secrets will use this resource type. -""" - SECRET - SERVICE_ACCOUNT -""" -All activity log entries related to teams will use this resource type. -""" - TEAM -""" -All activity log entries related to unleash will use this resource type. -""" - UNLEASH -""" -All activity log entries related to Valkeys will use this resource type. -""" - VALKEY -""" -All activity log entries related to vulnerabilities will use this resource type. -""" - VULNERABILITY -""" -All activity log entries related to credential creation will use this resource type. -""" - CREDENTIALS + """Unknown type.""" + UNKNOWN + + """ + All activity log entries related to credential creation will use this resource type. + """ + CREDENTIALS + + """ + All activity log entries related to applications will use this resource type. + """ + APP + + """All activity log entries related to direct cluster changes.""" + CLUSTER_AUDIT + + """ + All activity log entries related to configs will use this resource type. + """ + CONFIG + + """ + All activity log entries related to deploy keys will use this resource type. + """ + DEPLOY_KEY + + """All activity log entries related to jobs will use this resource type.""" + JOB + + """ + All activity log entries related to OpenSearches will use this resource type. + """ + OPENSEARCH + + """ + All activity log entries related to Postgres clusters will use this resource type. + """ + POSTGRES + + """ + All activity log entries related to reconcilers will use this resource type. + """ + RECONCILER + + """ + All activity log entries related to repositories will use this resource type. + """ + REPOSITORY + + """ + All activity log entries related to secrets will use this resource type. + """ + SECRET + SERVICE_ACCOUNT + + """All activity log entries related to teams will use this resource type.""" + TEAM + + """ + All activity log entries related to unleash will use this resource type. + """ + UNLEASH + + """ + All activity log entries related to Valkeys will use this resource type. + """ + VALKEY + + """ + All activity log entries related to vulnerabilities will use this resource type. + """ + VULNERABILITY } input ActivityLogFilter { - activityTypes: [ActivityLogActivityType!] + activityTypes: [ActivityLogActivityType!] } interface ActivityLogger { - activityLog( - first: Int - after: Cursor - last: Int - before: Cursor - filter: ActivityLogFilter - ): ActivityLogEntryConnection! + """Activity log associated with the type.""" + activityLog( + """ + Get the first n items in the connection. This can be used in combination with the after parameter. + """ + first: Int + + """Get items after this cursor.""" + after: Cursor + + """ + Get the last n items in the connection. This can be used in combination with the before parameter. + """ + last: Int + + """Get items before this cursor.""" + before: Cursor + + """Filter items.""" + filter: ActivityLogFilter + ): ActivityLogEntryConnection! } -input AddRepositoryToTeamInput { - teamSlug: Slug! - repositoryName: String! +input AddConfigValueInput { + """The name of the config.""" + name: String! + + """The environment the config exists in.""" + environmentName: String! + + """The team that owns the config.""" + teamSlug: Slug! + + """The config value to add.""" + value: ConfigValueInput! } -type AddRepositoryToTeamPayload { -""" -Repository that was added to the team. -""" - repository: Repository +type AddConfigValuePayload { + """The updated config.""" + config: Config +} + +input AddRepositoryToTeamInput { + """Slug of the team to add the repository to.""" + teamSlug: Slug! + + """Name of the repository, with the org prefix, for instance 'org/repo'.""" + repositoryName: String! +} + +type AddRepositoryToTeamPayload { + """Repository that was added to the team.""" + repository: Repository } input AddSecretValueInput { - name: String! - environment: String! - team: Slug! - value: SecretValueInput! + """The name of the secret.""" + name: String! + + """The environment the secret exists in.""" + environment: String! + + """The team that owns the secret.""" + team: Slug! + + """The secret value to set.""" + value: SecretValueInput! } type AddSecretValuePayload { -""" -The updated secret. -""" - secret: Secret + """The updated secret.""" + secret: Secret } input AddTeamMemberInput { - teamSlug: Slug! - userEmail: String! - role: TeamMemberRole! + """Slug of the team that should receive a new member.""" + teamSlug: Slug! + + """The email address of the user to add to the team.""" + userEmail: String! + + """The role that the user will have in the team.""" + role: TeamMemberRole! } type AddTeamMemberPayload { -""" -The added team member. -""" - member: TeamMember + """The added team member.""" + member: TeamMember } -""" -Alert interface. -""" +"""Alert interface.""" interface Alert { -""" -Alert interface. -""" - id: ID! -""" -Alert interface. -""" - name: String! -""" -Alert interface. -""" - team: Team! -""" -Alert interface. -""" - teamEnvironment: TeamEnvironment! -""" -Alert interface. -""" - state: AlertState! -""" -Alert interface. -""" - query: String! -""" -Alert interface. -""" - duration: Float! + """The unique identifier of the alert.""" + id: ID! + + """The name of the alert.""" + name: String! + + """The team responsible for the alert.""" + team: Team! + + """The team environment associated with the alert.""" + teamEnvironment: TeamEnvironment! + + """The current state of the alert (e.g. FIRING, PENDING, INACTIVE).""" + state: AlertState! + + """The query or expression evaluated for the alert.""" + query: String! + + """ + The time in seconds the alert condition must be met before it activates. + """ + duration: Float! } -""" -AlertConnection connection. -""" +"""AlertConnection connection.""" type AlertConnection { -""" -Pagination information. -""" - pageInfo: PageInfo! -""" -List of nodes. -""" - nodes: [Alert!]! -""" -List of edges. -""" - edges: [AlertEdge!]! + """Pagination information.""" + pageInfo: PageInfo! + + """List of nodes.""" + nodes: [Alert!]! + + """List of edges.""" + edges: [AlertEdge!]! } -""" -Alert edge. -""" +"""Alert edge.""" type AlertEdge { -""" -Cursor for this edge that can be used for pagination. -""" - cursor: Cursor! -""" -The Alert. -""" - node: Alert! + """Cursor for this edge that can be used for pagination.""" + cursor: Cursor! + + """The Alert.""" + node: Alert! } -""" -Ordering options when fetching alerts. -""" +"""Ordering options when fetching alerts.""" input AlertOrder { -""" -Ordering options when fetching alerts. -""" - field: AlertOrderField! -""" -Ordering options when fetching alerts. -""" - direction: OrderDirection! + """The field to order items by.""" + field: AlertOrderField! + + """The direction to order items by.""" + direction: OrderDirection! } -""" -Fields to order alerts in an environment by. -""" +"""Fields to order alerts in an environment by.""" enum AlertOrderField { -""" -Order by name. -""" - NAME -""" -Order by state. -""" - STATE -""" -ENVIRONMENT -""" - ENVIRONMENT + """Order by name.""" + NAME + + """Order by state.""" + STATE + + """ENVIRONMENT""" + ENVIRONMENT } enum AlertState { -""" -Only return alerts that are firing. -""" - FIRING -""" -Only return alerts that are inactive. -""" - INACTIVE -""" -Only return alerts that are pending. -""" - PENDING + """Only return alerts that are firing.""" + FIRING + + """Only return alerts that are inactive.""" + INACTIVE + + """Only return alerts that are pending.""" + PENDING } input AllowTeamAccessToUnleashInput { - teamSlug: Slug! - allowedTeamSlug: Slug! + teamSlug: Slug! + allowedTeamSlug: Slug! } type AllowTeamAccessToUnleashPayload { - unleash: UnleashInstance + unleash: UnleashInstance } """ @@ -577,583 +481,482 @@ An application lets you run one or more instances of a container image on the [N Learn more about how to create and configure your applications in the [Nais documentation](https://docs.nais.io/workloads/application/). """ -type Application implements Node & Workload & ActivityLogger{ -""" -The globally unique ID of the application. -""" - id: ID! -""" -The name of the application. -""" - name: String! -""" -The team that owns the application. -""" - team: Team! -""" -The environment the application is deployed in. -""" - environment: TeamEnvironment! @deprecated(reason: "Use the `teamEnvironment` field instead.") -""" -The team environment for the application. -""" - teamEnvironment: TeamEnvironment! -""" -The container image of the application. -""" - image: ContainerImage! -""" -Resources for the application. -""" - resources: ApplicationResources! -""" -List of ingresses for the application. -""" - ingresses: [Ingress!]! -""" -List of authentication and authorization for the application. -""" - authIntegrations: [ApplicationAuthIntegrations!]! -""" -The application manifest. -""" - manifest: ApplicationManifest! -""" -The application instances. -""" - instances( -""" -Get the first n items in the connection. This can be used in combination with the after parameter. -""" - first: Int -""" -Get items after this cursor. -""" - after: Cursor -""" -Get the last n items in the connection. This can be used in combination with the before parameter. -""" - last: Int -""" -Get items before this cursor. -""" - before: Cursor - ): ApplicationInstanceConnection! -""" -If set, when the application was marked for deletion. -""" - deletionStartedAt: Time -""" -Activity log associated with the application. -""" - activityLog( -""" -Get the first n items in the connection. This can be used in combination with the after parameter. -""" - first: Int -""" -Get items after this cursor. -""" - after: Cursor -""" -Get the last n items in the connection. This can be used in combination with the before parameter. -""" - last: Int -""" -Get items before this cursor. -""" - before: Cursor -""" -Filter items. -""" - filter: ActivityLogFilter - ): ActivityLogEntryConnection! -""" -The application state. -""" - state: ApplicationState! -""" -Issues that affect the application. -""" - issues( -""" -Get the first n items in the connection. This can be used in combination with the after parameter. -""" - first: Int -""" -Get items after this cursor. -""" - after: Cursor -""" -Get the last n items in the connection. This can be used in combination with the before parameter. -""" - last: Int -""" -Get items before this cursor. -""" - before: Cursor -""" -Ordering options for items returned from the connection. -""" - orderBy: IssueOrder -""" -Filtering options for items returned from the connection. -""" - filter: ResourceIssueFilter - ): IssueConnection! -""" -BigQuery datasets referenced by the application. This does not currently support pagination, but will return all available datasets. -""" - bigQueryDatasets( -""" -Ordering options for items returned from the connection. -""" - orderBy: BigQueryDatasetOrder - ): BigQueryDatasetConnection! -""" -Google Cloud Storage referenced by the application. This does not currently support pagination, but will return all available buckets. -""" - buckets( -""" -Ordering options for items returned from the connection. -""" - orderBy: BucketOrder - ): BucketConnection! -""" -The cost for the application. -""" - cost: WorkloadCost! -""" -List of deployments for the application. -""" - deployments( -""" -Get the first n items in the connection. This can be used in combination with the after parameter. -""" - first: Int -""" -Get items after this cursor. -""" - after: Cursor -""" -Get the last n items in the connection. This can be used in combination with the before parameter. -""" - last: Int -""" -Get items before this cursor. -""" - before: Cursor - ): DeploymentConnection! -""" -Kafka topics the application has access to. This does not currently support pagination, but will return all available Kafka topics. -""" - kafkaTopicAcls( -""" -Ordering options for items returned from the connection. -""" - orderBy: KafkaTopicAclOrder - ): KafkaTopicAclConnection! -""" -List of log destinations for the application. -""" - logDestinations: [LogDestination!]! -""" -Network policies for the application. -""" - networkPolicy: NetworkPolicy! -""" -OpenSearch instance referenced by the workload. -""" - openSearch: OpenSearch -""" -Postgres instances referenced by the application. This does not currently support pagination, but will return all available Postgres instances. -""" - postgresInstances( -""" -Ordering options for items returned from the connection. -""" - orderBy: PostgresInstanceOrder - ): PostgresInstanceConnection! -""" -Secrets used by the application. -""" - secrets( -""" -Get the first n items in the connection. This can be used in combination with the after parameter. -""" - first: Int -""" -Get items after this cursor. -""" - after: Cursor -""" -Get the last n items in the connection. This can be used in combination with the before parameter. -""" - last: Int -""" -Get items before this cursor. -""" - before: Cursor - ): SecretConnection! -""" -SQL instances referenced by the application. This does not currently support pagination, but will return all available SQL instances. -""" - sqlInstances( -""" -Ordering options for items returned from the connection. -""" - orderBy: SqlInstanceOrder - ): SqlInstanceConnection! - utilization: WorkloadUtilization! -""" -Valkey instances referenced by the application. This does not currently support pagination, but will return all available Valkey instances. -""" - valkeys( -""" -Ordering options for items returned from the connection. -""" - orderBy: ValkeyOrder - ): ValkeyConnection! -""" -Get the vulnerability summary history for application. -""" - imageVulnerabilityHistory( -""" -Get vulnerability summary from given date until today. -""" - from: Date! - ): ImageVulnerabilityHistory! -""" -Get the mean time to fix history for an application. -""" - vulnerabilityFixHistory( - from: Date! - ): VulnerabilityFixHistory! -} +type Application implements Node & Workload & ActivityLogger { + """The globally unique ID of the application.""" + id: ID! -""" -Authentication integrations for the application. -""" -union ApplicationAuthIntegrations =EntraIDAuthIntegration | IDPortenAuthIntegration | MaskinportenAuthIntegration | TokenXAuthIntegration + """The name of the application.""" + name: String! -""" -Application connection. -""" + """The team that owns the application.""" + team: Team! + + """The environment the application is deployed in.""" + environment: TeamEnvironment! @deprecated(reason: "Use the `teamEnvironment` field instead.") + + """The team environment for the application.""" + teamEnvironment: TeamEnvironment! + + """The container image of the application.""" + image: ContainerImage! + + """Resources for the application.""" + resources: ApplicationResources! + + """List of ingresses for the application.""" + ingresses: [Ingress!]! + + """List of authentication and authorization for the application.""" + authIntegrations: [ApplicationAuthIntegrations!]! + + """The application manifest.""" + manifest: ApplicationManifest! + + """The application instances.""" + instances( + """ + Get the first n items in the connection. This can be used in combination with the after parameter. + """ + first: Int + + """Get items after this cursor.""" + after: Cursor + + """ + Get the last n items in the connection. This can be used in combination with the before parameter. + """ + last: Int + + """Get items before this cursor.""" + before: Cursor + ): ApplicationInstanceConnection! + + """If set, when the application was marked for deletion.""" + deletionStartedAt: Time + + """Activity log associated with the application.""" + activityLog( + """ + Get the first n items in the connection. This can be used in combination with the after parameter. + """ + first: Int + + """Get items after this cursor.""" + after: Cursor + + """ + Get the last n items in the connection. This can be used in combination with the before parameter. + """ + last: Int + + """Get items before this cursor.""" + before: Cursor + + """Filter items.""" + filter: ActivityLogFilter + ): ActivityLogEntryConnection! + + """The application state.""" + state: ApplicationState! + + """Issues that affect the application.""" + issues( + """ + Get the first n items in the connection. This can be used in combination with the after parameter. + """ + first: Int + + """Get items after this cursor.""" + after: Cursor + + """ + Get the last n items in the connection. This can be used in combination with the before parameter. + """ + last: Int + + """Get items before this cursor.""" + before: Cursor + + """Ordering options for items returned from the connection.""" + orderBy: IssueOrder + + """Filtering options for items returned from the connection.""" + filter: ResourceIssueFilter + ): IssueConnection! + + """ + BigQuery datasets referenced by the application. This does not currently support pagination, but will return all available datasets. + """ + bigQueryDatasets( + """Ordering options for items returned from the connection.""" + orderBy: BigQueryDatasetOrder + ): BigQueryDatasetConnection! + + """ + Google Cloud Storage referenced by the application. This does not currently support pagination, but will return all available buckets. + """ + buckets( + """Ordering options for items returned from the connection.""" + orderBy: BucketOrder + ): BucketConnection! + + """Configs used by the application.""" + configs( + """ + Get the first n items in the connection. This can be used in combination with the after parameter. + """ + first: Int + + """Get items after this cursor.""" + after: Cursor + + """ + Get the last n items in the connection. This can be used in combination with the before parameter. + """ + last: Int + + """Get items before this cursor.""" + before: Cursor + ): ConfigConnection! + + """The cost for the application.""" + cost: WorkloadCost! + + """List of deployments for the application.""" + deployments( + """ + Get the first n items in the connection. This can be used in combination with the after parameter. + """ + first: Int + + """Get items after this cursor.""" + after: Cursor + + """ + Get the last n items in the connection. This can be used in combination with the before parameter. + """ + last: Int + + """Get items before this cursor.""" + before: Cursor + ): DeploymentConnection! + + """ + Kafka topics the application has access to. This does not currently support pagination, but will return all available Kafka topics. + """ + kafkaTopicAcls( + """Ordering options for items returned from the connection.""" + orderBy: KafkaTopicAclOrder + ): KafkaTopicAclConnection! + + """List of log destinations for the application.""" + logDestinations: [LogDestination!]! + + """Network policies for the application.""" + networkPolicy: NetworkPolicy! + + """OpenSearch instance referenced by the workload.""" + openSearch: OpenSearch + + """ + Postgres instances referenced by the application. This does not currently support pagination, but will return all available Postgres instances. + """ + postgresInstances( + """Ordering options for items returned from the connection.""" + orderBy: PostgresInstanceOrder + ): PostgresInstanceConnection! + + """Secrets used by the application.""" + secrets( + """ + Get the first n items in the connection. This can be used in combination with the after parameter. + """ + first: Int + + """Get items after this cursor.""" + after: Cursor + + """ + Get the last n items in the connection. This can be used in combination with the before parameter. + """ + last: Int + + """Get items before this cursor.""" + before: Cursor + ): SecretConnection! + + """ + SQL instances referenced by the application. This does not currently support pagination, but will return all available SQL instances. + """ + sqlInstances( + """Ordering options for items returned from the connection.""" + orderBy: SqlInstanceOrder + ): SqlInstanceConnection! + utilization: WorkloadUtilization! + + """ + Valkey instances referenced by the application. This does not currently support pagination, but will return all available Valkey instances. + """ + valkeys( + """Ordering options for items returned from the connection.""" + orderBy: ValkeyOrder + ): ValkeyConnection! + + """Get the vulnerability summary history for application.""" + imageVulnerabilityHistory( + """Get vulnerability summary from given date until today.""" + from: Date! + ): ImageVulnerabilityHistory! + + """Get the mean time to fix history for an application.""" + vulnerabilityFixHistory(from: Date!): VulnerabilityFixHistory! +} + +"""Authentication integrations for the application.""" +union ApplicationAuthIntegrations = EntraIDAuthIntegration | IDPortenAuthIntegration | MaskinportenAuthIntegration | TokenXAuthIntegration + +"""Application connection.""" type ApplicationConnection { -""" -Pagination information. -""" - pageInfo: PageInfo! -""" -List of nodes. -""" - nodes: [Application!]! -""" -List of edges. -""" - edges: [ApplicationEdge!]! + """Pagination information.""" + pageInfo: PageInfo! + + """List of nodes.""" + nodes: [Application!]! + + """List of edges.""" + edges: [ApplicationEdge!]! } -type ApplicationDeletedActivityLogEntry implements ActivityLogEntry & Node{ -""" -ID of the entry. -""" - id: ID! -""" -The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. -""" - actor: String! -""" -Creation time of the entry. -""" - createdAt: Time! -""" -Message that summarizes the entry. -""" - message: String! -""" -Type of the resource that was affected by the action. -""" - resourceType: ActivityLogEntryResourceType! -""" -Name of the resource that was affected by the action. -""" - resourceName: String! -""" -The team slug that the entry belongs to. -""" - teamSlug: Slug! -""" -The environment name that the entry belongs to. -""" - environmentName: String +type ApplicationDeletedActivityLogEntry implements ActivityLogEntry & Node { + """ID of the entry.""" + id: ID! + + """ + The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + """ + actor: String! + + """Creation time of the entry.""" + createdAt: Time! + + """Message that summarizes the entry.""" + message: String! + + """Type of the resource that was affected by the action.""" + resourceType: ActivityLogEntryResourceType! + + """Name of the resource that was affected by the action.""" + resourceName: String! + + """The team slug that the entry belongs to.""" + teamSlug: Slug! + + """The environment name that the entry belongs to.""" + environmentName: String } -""" -Application edge. -""" +"""Application edge.""" type ApplicationEdge { -""" -Cursor for this edge that can be used for pagination. -""" - cursor: Cursor! -""" -The application. -""" - node: Application! + """Cursor for this edge that can be used for pagination.""" + cursor: Cursor! + + """The application.""" + node: Application! } -type ApplicationInstance implements Node{ - id: ID! - name: String! - image: ContainerImage! - restarts: Int! - created: Time! - status: ApplicationInstanceStatus! - instanceUtilization( - resourceType: UtilizationResourceType! - ): ApplicationInstanceUtilization! +type ApplicationInstance implements Node { + id: ID! + name: String! + image: ContainerImage! + restarts: Int! + created: Time! + status: ApplicationInstanceStatus! + instanceUtilization(resourceType: UtilizationResourceType!): ApplicationInstanceUtilization! } type ApplicationInstanceConnection { -""" -Pagination information. -""" - pageInfo: PageInfo! -""" -List of nodes. -""" - nodes: [ApplicationInstance!]! -""" -List of edges. -""" - edges: [ApplicationInstanceEdge!]! + """Pagination information.""" + pageInfo: PageInfo! + + """List of nodes.""" + nodes: [ApplicationInstance!]! + + """List of edges.""" + edges: [ApplicationInstanceEdge!]! } type ApplicationInstanceEdge { -""" -Cursor for this edge that can be used for pagination. -""" - cursor: Cursor! -""" -The instance. -""" - node: ApplicationInstance! + """Cursor for this edge that can be used for pagination.""" + cursor: Cursor! + + """The instance.""" + node: ApplicationInstance! } enum ApplicationInstanceState { - RUNNING - STARTING - FAILING - UNKNOWN + RUNNING + STARTING + FAILING + UNKNOWN } type ApplicationInstanceStatus { - state: ApplicationInstanceState! - message: String! + state: ApplicationInstanceState! + message: String! } type ApplicationInstanceUtilization { -""" -Get the current usage for the requested resource type. -""" - current: Float! + """Get the current usage for the requested resource type.""" + current: Float! } -""" -The manifest that describes the application. -""" -type ApplicationManifest implements WorkloadManifest{ -""" -The manifest content, serialized as a YAML document. -""" - content: String! +"""The manifest that describes the application.""" +type ApplicationManifest implements WorkloadManifest { + """The manifest content, serialized as a YAML document.""" + content: String! } -""" -Ordering options when fetching applications. -""" +"""Ordering options when fetching applications.""" input ApplicationOrder { -""" -Ordering options when fetching applications. -""" - field: ApplicationOrderField! -""" -Ordering options when fetching applications. -""" - direction: OrderDirection! + """The field to order items by.""" + field: ApplicationOrderField! + + """The direction to order items by.""" + direction: OrderDirection! } -""" -Fields to order applications by. -""" +"""Fields to order applications by.""" enum ApplicationOrderField { -""" -Order applications by name. -""" - NAME -""" -Order applications by the name of the environment. -""" - ENVIRONMENT -""" -Order applications by state. -""" - STATE -""" -Order applications by the deployment time. -""" - DEPLOYMENT_TIME -""" -Order applications by issue severity -""" - ISSUES + """Order applications by name.""" + NAME + + """Order applications by the name of the environment.""" + ENVIRONMENT + + """Order applications by state.""" + STATE + + """Order applications by the deployment time.""" + DEPLOYMENT_TIME + + """Order applications by issue severity""" + ISSUES } -type ApplicationResources implements WorkloadResources{ -""" -Instances using resources above this threshold will be killed. -""" - limits: WorkloadResourceQuantity! -""" -How many resources are allocated to each instance. -""" - requests: WorkloadResourceQuantity! -""" -Scaling strategies for the application. -""" - scaling: ApplicationScaling! +type ApplicationResources implements WorkloadResources { + """Instances using resources above this threshold will be killed.""" + limits: WorkloadResourceQuantity! + + """How many resources are allocated to each instance.""" + requests: WorkloadResourceQuantity! + + """Scaling strategies for the application.""" + scaling: ApplicationScaling! } -type ApplicationRestartedActivityLogEntry implements ActivityLogEntry & Node{ -""" -ID of the entry. -""" - id: ID! -""" -The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. -""" - actor: String! -""" -Creation time of the entry. -""" - createdAt: Time! -""" -Message that summarizes the entry. -""" - message: String! -""" -Type of the resource that was affected by the action. -""" - resourceType: ActivityLogEntryResourceType! -""" -Name of the resource that was affected by the action. -""" - resourceName: String! -""" -The team slug that the entry belongs to. -""" - teamSlug: Slug! -""" -The environment name that the entry belongs to. -""" - environmentName: String +type ApplicationRestartedActivityLogEntry implements ActivityLogEntry & Node { + """ID of the entry.""" + id: ID! + + """ + The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + """ + actor: String! + + """Creation time of the entry.""" + createdAt: Time! + + """Message that summarizes the entry.""" + message: String! + + """Type of the resource that was affected by the action.""" + resourceType: ActivityLogEntryResourceType! + + """Name of the resource that was affected by the action.""" + resourceName: String! + + """The team slug that the entry belongs to.""" + teamSlug: Slug! + + """The environment name that the entry belongs to.""" + environmentName: String } -type ApplicationScaledActivityLogEntry implements ActivityLogEntry & Node{ -""" -ID of the entry. -""" - id: ID! -""" -The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. -""" - actor: String! -""" -Creation time of the entry. -""" - createdAt: Time! -""" -Message that summarizes the entry. -""" - message: String! -""" -Type of the resource that was affected by the action. -""" - resourceType: ActivityLogEntryResourceType! -""" -Name of the resource that was affected by the action. -""" - resourceName: String! -""" -The team slug that the entry belongs to. -""" - teamSlug: Slug! -""" -The environment name that the entry belongs to. -""" - environmentName: String -""" -Data associated with the update. -""" - data: ApplicationScaledActivityLogEntryData! +type ApplicationScaledActivityLogEntry implements ActivityLogEntry & Node { + """ID of the entry.""" + id: ID! + + """ + The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + """ + actor: String! + + """Creation time of the entry.""" + createdAt: Time! + + """Message that summarizes the entry.""" + message: String! + + """Type of the resource that was affected by the action.""" + resourceType: ActivityLogEntryResourceType! + + """Name of the resource that was affected by the action.""" + resourceName: String! + + """The team slug that the entry belongs to.""" + teamSlug: Slug! + + """The environment name that the entry belongs to.""" + environmentName: String + + """Data associated with the update.""" + data: ApplicationScaledActivityLogEntryData! } type ApplicationScaledActivityLogEntryData { - newSize: Int! - direction: ScalingDirection! + newSize: Int! + direction: ScalingDirection! } -""" -The scaling configuration of an application. -""" +"""The scaling configuration of an application.""" type ApplicationScaling { -""" -The minimum number of application instances. -""" - minInstances: Int! -""" -The maximum number of application instances. -""" - maxInstances: Int! -""" -Scaling strategies for the application. -""" - strategies: [ScalingStrategy!]! + """The minimum number of application instances.""" + minInstances: Int! + + """The maximum number of application instances.""" + maxInstances: Int! + + """Scaling strategies for the application.""" + strategies: [ScalingStrategy!]! } enum ApplicationState { -""" -The application is running. -""" - RUNNING -""" -The application is not running. -""" - NOT_RUNNING -""" -The application state is unknown. -""" - UNKNOWN + """The application is running.""" + RUNNING + + """The application is not running.""" + NOT_RUNNING + + """The application state is unknown.""" + UNKNOWN } input AssignRoleToServiceAccountInput { - serviceAccountID: ID! - roleName: String! + """The ID of the service account to assign the role to.""" + serviceAccountID: ID! + + """The name of the role to assign.""" + roleName: String! } type AssignRoleToServiceAccountPayload { -""" -The service account that had a role assigned. -""" - serviceAccount: ServiceAccount + """The service account that had a role assigned.""" + serviceAccount: ServiceAccount } type AuditLog { -""" -Link to the audit log for this SQL instance. -""" - logUrl: String! + """Link to the audit log for this SQL instance.""" + logUrl: String! } """ @@ -1162,131 +965,114 @@ Interface for authentication and authorization integrations. Read more about this topic in the [Nais documentation](https://docs.nais.io/auth/). """ interface AuthIntegration { -""" -Interface for authentication and authorization integrations. - -Read more about this topic in the [Nais documentation](https://docs.nais.io/auth/). -""" - name: String! + """The name of the integration.""" + name: String! } -""" -Authenticated user type. -""" -union AuthenticatedUser =User | ServiceAccount - -type BigQueryDataset implements Persistence & Node{ - id: ID! - name: String! - team: Team! - environment: TeamEnvironment! @deprecated(reason: "Use the `teamEnvironment` field instead.") - teamEnvironment: TeamEnvironment! - cascadingDelete: Boolean! - description: String - access( - first: Int - after: Cursor - last: Int - before: Cursor - orderBy: BigQueryDatasetAccessOrder - ): BigQueryDatasetAccessConnection! - status: BigQueryDatasetStatus! - workload: Workload - cost: BigQueryDatasetCost! +"""Authenticated user type.""" +union AuthenticatedUser = User | ServiceAccount + +type BigQueryDataset implements Persistence & Node { + id: ID! + name: String! + team: Team! + environment: TeamEnvironment! @deprecated(reason: "Use the `teamEnvironment` field instead.") + teamEnvironment: TeamEnvironment! + cascadingDelete: Boolean! + description: String + access(first: Int, after: Cursor, last: Int, before: Cursor, orderBy: BigQueryDatasetAccessOrder): BigQueryDatasetAccessConnection! + status: BigQueryDatasetStatus! + workload: Workload + cost: BigQueryDatasetCost! } type BigQueryDatasetAccess { - role: String! - email: String! + role: String! + email: String! } type BigQueryDatasetAccessConnection { - pageInfo: PageInfo! - nodes: [BigQueryDatasetAccess!]! - edges: [BigQueryDatasetAccessEdge!]! + pageInfo: PageInfo! + nodes: [BigQueryDatasetAccess!]! + edges: [BigQueryDatasetAccessEdge!]! } type BigQueryDatasetAccessEdge { - cursor: Cursor! - node: BigQueryDatasetAccess! + cursor: Cursor! + node: BigQueryDatasetAccess! } input BigQueryDatasetAccessOrder { - field: BigQueryDatasetAccessOrderField! - direction: OrderDirection! + field: BigQueryDatasetAccessOrderField! + direction: OrderDirection! } enum BigQueryDatasetAccessOrderField { - ROLE - EMAIL + ROLE + EMAIL } type BigQueryDatasetConnection { - pageInfo: PageInfo! - nodes: [BigQueryDataset!]! - edges: [BigQueryDatasetEdge!]! + pageInfo: PageInfo! + nodes: [BigQueryDataset!]! + edges: [BigQueryDatasetEdge!]! } type BigQueryDatasetCost { - sum: Float! + sum: Float! } type BigQueryDatasetEdge { - cursor: Cursor! - node: BigQueryDataset! + cursor: Cursor! + node: BigQueryDataset! } input BigQueryDatasetOrder { - field: BigQueryDatasetOrderField! - direction: OrderDirection! + field: BigQueryDatasetOrderField! + direction: OrderDirection! } enum BigQueryDatasetOrderField { - NAME - ENVIRONMENT + NAME + ENVIRONMENT } type BigQueryDatasetStatus { - creationTime: Time! - lastModifiedTime: Time + creationTime: Time! + lastModifiedTime: Time } -""" -The `Boolean` scalar type represents `true` or `false`. -""" -scalar Boolean - -type Bucket implements Persistence & Node{ - id: ID! - name: String! - team: Team! - environment: TeamEnvironment! @deprecated(reason: "Use the `teamEnvironment` field instead.") - teamEnvironment: TeamEnvironment! - cascadingDelete: Boolean! - publicAccessPrevention: String! - uniformBucketLevelAccess: Boolean! - workload: Workload +type Bucket implements Persistence & Node { + id: ID! + name: String! + team: Team! + environment: TeamEnvironment! @deprecated(reason: "Use the `teamEnvironment` field instead.") + teamEnvironment: TeamEnvironment! + cascadingDelete: Boolean! + publicAccessPrevention: String! + uniformBucketLevelAccess: Boolean! + workload: Workload } type BucketConnection { - pageInfo: PageInfo! - nodes: [Bucket!]! - edges: [BucketEdge!]! + pageInfo: PageInfo! + nodes: [Bucket!]! + edges: [BucketEdge!]! } type BucketEdge { - cursor: Cursor! - node: Bucket! + cursor: Cursor! + node: Bucket! } input BucketOrder { - field: BucketOrderField! - direction: OrderDirection! + field: BucketOrderField! + direction: OrderDirection! } enum BucketOrderField { - NAME - ENVIRONMENT + NAME + ENVIRONMENT } """ @@ -1295,914 +1081,1254 @@ A scaling strategy based on CPU usage Read more: https://docs.nais.io/workloads/application/reference/automatic-scaling/#cpu-based-scaling """ type CPUScalingStrategy { -""" -The threshold that must be met for the scaling to trigger. -""" - threshold: Int! + """The threshold that must be met for the scaling to trigger.""" + threshold: Int! } -type CVE implements Node{ -""" -The globally unique ID of the CVE. -""" - id: ID! -""" -The unique identifier of the CVE. E.g. CVE-****-****. -""" - identifier: String! -""" -Severity of the CVE. -""" - severity: ImageVulnerabilitySeverity! -""" -Title of the CVE -""" - title: String! -""" -Description of the CVE. -""" - description: String! -""" -Link to the CVE details. -""" - detailsLink: String! -""" -CVSS score of the CVE. -""" - cvssScore: Float -""" -Affected workloads -""" - workloads( -""" -Get the first n items in the connection. This can be used in combination with the after parameter. -""" - first: Int -""" -Get items after this cursor. -""" - after: Cursor -""" -Get the last n items in the connection. This can be used in combination with the before parameter. -""" - last: Int -""" -Get items before this cursor. -""" - before: Cursor - ): WorkloadWithVulnerabilityConnection! +type CVE implements Node { + """The globally unique ID of the CVE.""" + id: ID! + + """The unique identifier of the CVE. E.g. CVE-****-****.""" + identifier: String! + + """Severity of the CVE.""" + severity: ImageVulnerabilitySeverity! + + """Title of the CVE""" + title: String! + + """Description of the CVE.""" + description: String! + + """Link to the CVE details.""" + detailsLink: String! + + """CVSS score of the CVE.""" + cvssScore: Float + + """Affected workloads""" + workloads( + """ + Get the first n items in the connection. This can be used in combination with the after parameter. + """ + first: Int + + """Get items after this cursor.""" + after: Cursor + + """ + Get the last n items in the connection. This can be used in combination with the before parameter. + """ + last: Int + + """Get items before this cursor.""" + before: Cursor + ): WorkloadWithVulnerabilityConnection! } type CVEConnection { -""" -Information to aid in pagination. -""" - pageInfo: PageInfo! -""" -List of edges. -""" - edges: [CVEEdge!]! -""" -List of nodes. -""" - nodes: [CVE!]! + """Information to aid in pagination.""" + pageInfo: PageInfo! + + """List of edges.""" + edges: [CVEEdge!]! + + """List of nodes.""" + nodes: [CVE!]! } type CVEEdge { -""" -A cursor for use in pagination. -""" - cursor: Cursor! -""" -The CVE. -""" - node: CVE! + """A cursor for use in pagination.""" + cursor: Cursor! + + """The CVE.""" + node: CVE! } -""" -Ordering options when fetching CVEs. -""" +"""Ordering options when fetching CVEs.""" input CVEOrder { -""" -Ordering options when fetching CVEs. -""" - field: CVEOrderField! -""" -Ordering options when fetching CVEs. -""" - direction: OrderDirection! + """The field to order items by.""" + field: CVEOrderField! + + """The direction to order items by.""" + direction: OrderDirection! } enum CVEOrderField { - IDENTIFIER - SEVERITY - CVSS_SCORE - AFFECTED_WORKLOADS_COUNT + IDENTIFIER + SEVERITY + CVSS_SCORE + AFFECTED_WORKLOADS_COUNT } input ChangeDeploymentKeyInput { - teamSlug: Slug! + """The name of the team to update the deploy key for.""" + teamSlug: Slug! } type ChangeDeploymentKeyPayload { -""" -The updated deploy key. -""" - deploymentKey: DeploymentKey + """The updated deploy key.""" + deploymentKey: DeploymentKey } -type ClusterAuditActivityLogEntry implements ActivityLogEntry & Node{ -""" -ID of the entry. -""" - id: ID! -""" -The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. -""" - actor: String! -""" -Creation time of the entry. -""" - createdAt: Time! -""" -Message that summarizes the entry. -""" - message: String! -""" -Type of the resource that was affected by the action. -""" - resourceType: ActivityLogEntryResourceType! -""" -Name of the resource that was affected by the action. -""" - resourceName: String! -""" -The team slug that the entry belongs to. -""" - teamSlug: Slug! -""" -The environment name that the entry belongs to. -""" - environmentName: String -""" -Data associated with the entry. -""" - data: ClusterAuditActivityLogEntryData! +type ClusterAuditActivityLogEntry implements ActivityLogEntry & Node { + """ID of the entry.""" + id: ID! + + """ + The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + """ + actor: String! + + """Creation time of the entry.""" + createdAt: Time! + + """Message that summarizes the entry.""" + message: String! + + """Type of the resource that was affected by the action.""" + resourceType: ActivityLogEntryResourceType! + + """Name of the resource that was affected by the action.""" + resourceName: String! + + """The team slug that the entry belongs to.""" + teamSlug: Slug! + + """The environment name that the entry belongs to.""" + environmentName: String + + """Data associated with the entry.""" + data: ClusterAuditActivityLogEntryData! } type ClusterAuditActivityLogEntryData { -""" -The action that was performed. -""" - action: String! -""" -The kind of resource that was affected by the action. -""" - resourceKind: String! + """The action that was performed.""" + action: String! + + """The kind of resource that was affected by the action.""" + resourceKind: String! } -input ConfigureReconcilerInput { - name: String! - config: [ReconcilerConfigInput!]! +"""A config is a collection of key-value pairs.""" +type Config implements Node & ActivityLogger { + """The globally unique ID of the config.""" + id: ID! + + """The name of the config.""" + name: String! + + """The environment the config exists in.""" + teamEnvironment: TeamEnvironment! + + """The team that owns the config.""" + team: Team! + + """The values stored in the config.""" + values: [ConfigValue!]! + + """Applications that use the config.""" + applications( + """ + Get the first n items in the connection. This can be used in combination with the after parameter. + """ + first: Int + + """Get items after this cursor.""" + after: Cursor + + """ + Get the last n items in the connection. This can be used in combination with the before parameter. + """ + last: Int + + """Get items before this cursor.""" + before: Cursor + ): ApplicationConnection! + + """Jobs that use the config.""" + jobs( + """ + Get the first n items in the connection. This can be used in combination with the after parameter. + """ + first: Int + + """Get items after this cursor.""" + after: Cursor + + """ + Get the last n items in the connection. This can be used in combination with the before parameter. + """ + last: Int + + """Get items before this cursor.""" + before: Cursor + ): JobConnection! + + """Workloads that use the config.""" + workloads( + """ + Get the first n items in the connection. This can be used in combination with the after parameter. + """ + first: Int + + """Get items after this cursor.""" + after: Cursor + + """ + Get the last n items in the connection. This can be used in combination with the before parameter. + """ + last: Int + + """Get items before this cursor.""" + before: Cursor + ): WorkloadConnection! + + """Last time the config was modified.""" + lastModifiedAt: Time + + """User who last modified the config.""" + lastModifiedBy: User + + """Activity log associated with the config.""" + activityLog( + """ + Get the first n items in the connection. This can be used in combination with the after parameter. + """ + first: Int + + """Get items after this cursor.""" + after: Cursor + + """ + Get the last n items in the connection. This can be used in combination with the before parameter. + """ + last: Int + + """Get items before this cursor.""" + before: Cursor + + """Filter items.""" + filter: ActivityLogFilter + ): ActivityLogEntryConnection! } -input ConfirmTeamDeletionInput { - slug: Slug! - key: String! +type ConfigConnection { + """Pagination information.""" + pageInfo: PageInfo! + + """List of nodes.""" + nodes: [Config!]! + + """List of edges.""" + edges: [ConfigEdge!]! } -type ConfirmTeamDeletionPayload { -""" -Whether or not the asynchronous deletion process was started. -""" - deletionStarted: Boolean +type ConfigCreatedActivityLogEntry implements ActivityLogEntry & Node { + """ID of the entry.""" + id: ID! + + """ + The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + """ + actor: String! + + """Creation time of the entry.""" + createdAt: Time! + + """Message that summarizes the entry.""" + message: String! + + """Type of the resource that was affected by the action.""" + resourceType: ActivityLogEntryResourceType! + + """Name of the resource that was affected by the action.""" + resourceName: String! + + """The team slug that the entry belongs to.""" + teamSlug: Slug! + + """The environment name that the entry belongs to.""" + environmentName: String } -""" -Container image. -""" -type ContainerImage implements Node & ActivityLogger{ -""" -The globally unique ID of the container image node. -""" - id: ID! -""" -Name of the container image. -""" - name: String! -""" -Tag of the container image. -""" - tag: String! -""" -Activity log associated with the container image. -""" - activityLog( -""" -Get the first n items in the connection. This can be used in combination with the after parameter. -""" - first: Int -""" -Get items after this cursor. -""" - after: Cursor -""" -Get the last n items in the connection. This can be used in combination with the before parameter. -""" - last: Int -""" -Get items before this cursor. -""" - before: Cursor -""" -Filter items. -""" - filter: ActivityLogFilter - ): ActivityLogEntryConnection! -""" -Whether the image has a software bill of materials (SBOM) attached to it. -""" - hasSBOM: Boolean! -""" -Get the vulnerabilities of the image. -""" - vulnerabilities( -""" -Get the first n items in the connection. This can be used in combination with the after parameter. -""" - first: Int -""" -Get items after this cursor. -""" - after: Cursor -""" -Get the last n items in the connection. This can be used in combination with the before parameter. -""" - last: Int -""" -Get items before this cursor. -""" - before: Cursor -""" -Filter the vulnerabilities. -""" - filter: ImageVulnerabilityFilter -""" -Ordering options for items returned from the connection. -""" - orderBy: ImageVulnerabilityOrder - ): ImageVulnerabilityConnection! -""" -Get the summary of the vulnerabilities of the image. -""" - vulnerabilitySummary: ImageVulnerabilitySummary -""" -Workloads using this container image. -""" - workloadReferences( -""" -Get the first n items in the connection. This can be used in combination with the after parameter. -""" - first: Int -""" -Get items after this cursor. -""" - after: Cursor -""" -Get the last n items in the connection. This can be used in combination with the before parameter. -""" - last: Int -""" -Get items before this cursor. -""" - before: Cursor - ): ContainerImageWorkloadReferenceConnection! +type ConfigDeletedActivityLogEntry implements ActivityLogEntry & Node { + """ID of the entry.""" + id: ID! + + """ + The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + """ + actor: String! + + """Creation time of the entry.""" + createdAt: Time! + + """Message that summarizes the entry.""" + message: String! + + """Type of the resource that was affected by the action.""" + resourceType: ActivityLogEntryResourceType! + + """Name of the resource that was affected by the action.""" + resourceName: String! + + """The team slug that the entry belongs to.""" + teamSlug: Slug! + + """The environment name that the entry belongs to.""" + environmentName: String } -type ContainerImageWorkloadReference { -""" -The workload using the container image. -""" - workload: Workload! +type ConfigEdge { + """Cursor for this edge that can be used for pagination.""" + cursor: Cursor! + + """The Config.""" + node: Config! } -type ContainerImageWorkloadReferenceConnection { -""" -Information to aid in pagination. -""" - pageInfo: PageInfo! -""" -List of edges. -""" - edges: [ContainerImageWorkloadReferenceEdge!]! -""" -List of nodes. -""" - nodes: [ContainerImageWorkloadReference!]! +"""Input for filtering the configs of a team.""" +input ConfigFilter { + """Filter by the name of the config.""" + name: String + + """Filter by usage of the config.""" + inUse: Boolean } -type ContainerImageWorkloadReferenceEdge { -""" -A cursor for use in pagination. -""" - cursor: Cursor! -""" -The workload reference. -""" - node: ContainerImageWorkloadReference! +input ConfigOrder { + """The field to order items by.""" + field: ConfigOrderField! + + """The direction to order items by.""" + direction: OrderDirection! } -type CostMonthlySummary { -""" -The cost series. -""" - series: [ServiceCostSeries!]! +enum ConfigOrderField { + """Order configs by name.""" + NAME + + """Order configs by the name of the environment.""" + ENVIRONMENT + + """Order configs by the last time it was modified.""" + LAST_MODIFIED_AT } -input CreateOpenSearchInput { - name: String! - environmentName: String! - teamSlug: Slug! - tier: OpenSearchTier! - memory: OpenSearchMemory! - version: OpenSearchMajorVersion! - storageGB: Int! +type ConfigUpdatedActivityLogEntry implements ActivityLogEntry & Node { + """ID of the entry.""" + id: ID! + + """ + The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + """ + actor: String! + + """Creation time of the entry.""" + createdAt: Time! + + """Message that summarizes the entry.""" + message: String! + + """Type of the resource that was affected by the action.""" + resourceType: ActivityLogEntryResourceType! + + """Name of the resource that was affected by the action.""" + resourceName: String! + + """The team slug that the entry belongs to.""" + teamSlug: Slug! + + """The environment name that the entry belongs to.""" + environmentName: String + + """Data associated with the entry.""" + data: ConfigUpdatedActivityLogEntryData! } -type CreateOpenSearchPayload { -""" -OpenSearch instance that was created. -""" - openSearch: OpenSearch! +type ConfigUpdatedActivityLogEntryData { + """The fields that were updated.""" + updatedFields: [ConfigUpdatedActivityLogEntryDataUpdatedField!]! } -input CreateSecretInput { - name: String! - environment: String! - team: Slug! +type ConfigUpdatedActivityLogEntryDataUpdatedField { + """The name of the field that was updated.""" + field: String! + + """The old value of the field.""" + oldValue: String + + """The new value of the field.""" + newValue: String } -type CreateSecretPayload { -""" -The created secret. -""" - secret: Secret +type ConfigValue { + """The name of the config value.""" + name: String! + + """The config value itself.""" + value: String! } -input CreateServiceAccountInput { - name: String! - description: String! - teamSlug: Slug +input ConfigValueInput { + """The name of the config value.""" + name: String! + + """The value to set.""" + value: String! } -type CreateServiceAccountPayload { -""" -The created service account. -""" - serviceAccount: ServiceAccount +input ConfigureReconcilerInput { + """The name of the reconciler to configure.""" + name: String! + + """List of reconciler config inputs.""" + config: [ReconcilerConfigInput!]! } -input CreateServiceAccountTokenInput { - serviceAccountID: ID! - name: String! - description: String! - expiresAt: Date +input ConfirmTeamDeletionInput { + """Slug of the team to confirm deletion for.""" + slug: Slug! + + """Deletion key, acquired using the requestTeamDeletion mutation.""" + key: String! } -type CreateServiceAccountTokenPayload { -""" -The service account that the token belongs to. -""" - serviceAccount: ServiceAccount -""" -The created service account token. -""" - serviceAccountToken: ServiceAccountToken -""" -The secret of the service account token. +type ConfirmTeamDeletionPayload { + """Whether or not the asynchronous deletion process was started.""" + deletionStarted: Boolean +} -This value is only returned once, and can not be retrieved at a later stage. If the secret is lost, a new token must be created. +"""Container image.""" +type ContainerImage implements Node & ActivityLogger { + """The globally unique ID of the container image node.""" + id: ID! -Once obtained, the secret can be used to authenticate as the service account using the HTTP `Authorization` request header: + """Name of the container image.""" + name: String! -``` -Authorization: Bearer -``` -""" - secret: String + """Tag of the container image.""" + tag: String! + + """Activity log associated with the container image.""" + activityLog( + """ + Get the first n items in the connection. This can be used in combination with the after parameter. + """ + first: Int + + """Get items after this cursor.""" + after: Cursor + + """ + Get the last n items in the connection. This can be used in combination with the before parameter. + """ + last: Int + + """Get items before this cursor.""" + before: Cursor + + """Filter items.""" + filter: ActivityLogFilter + ): ActivityLogEntryConnection! + + """ + Whether the image has a software bill of materials (SBOM) attached to it. + """ + hasSBOM: Boolean! + + """Get the vulnerabilities of the image.""" + vulnerabilities( + """ + Get the first n items in the connection. This can be used in combination with the after parameter. + """ + first: Int + + """Get items after this cursor.""" + after: Cursor + + """ + Get the last n items in the connection. This can be used in combination with the before parameter. + """ + last: Int + + """Get items before this cursor.""" + before: Cursor + + """Filter the vulnerabilities.""" + filter: ImageVulnerabilityFilter + + """Ordering options for items returned from the connection.""" + orderBy: ImageVulnerabilityOrder + ): ImageVulnerabilityConnection! + + """Get the summary of the vulnerabilities of the image.""" + vulnerabilitySummary: ImageVulnerabilitySummary + + """Workloads using this container image.""" + workloadReferences( + """ + Get the first n items in the connection. This can be used in combination with the after parameter. + """ + first: Int + + """Get items after this cursor.""" + after: Cursor + + """ + Get the last n items in the connection. This can be used in combination with the before parameter. + """ + last: Int + + """Get items before this cursor.""" + before: Cursor + ): ContainerImageWorkloadReferenceConnection! } -input CreateTeamInput { - slug: Slug! - purpose: String! - slackChannel: String! +type ContainerImageWorkloadReference { + """The workload using the container image.""" + workload: Workload! } -type CreateTeamPayload { -""" -The newly created team. -""" - team: Team +type ContainerImageWorkloadReferenceConnection { + """Information to aid in pagination.""" + pageInfo: PageInfo! + + """List of edges.""" + edges: [ContainerImageWorkloadReferenceEdge!]! + + """List of nodes.""" + nodes: [ContainerImageWorkloadReference!]! } -input CreateUnleashForTeamInput { - teamSlug: Slug! - releaseChannel: String +type ContainerImageWorkloadReferenceEdge { + """A cursor for use in pagination.""" + cursor: Cursor! + + """The workload reference.""" + node: ContainerImageWorkloadReference! } -type CreateUnleashForTeamPayload { - unleash: UnleashInstance +type CostMonthlySummary { + """The cost series.""" + series: [ServiceCostSeries!]! } -input CreateValkeyInput { - name: String! - environmentName: String! - teamSlug: Slug! - tier: ValkeyTier! - memory: ValkeyMemory! - maxMemoryPolicy: ValkeyMaxMemoryPolicy - notifyKeyspaceEvents: String +input CreateConfigInput { + """The name of the config.""" + name: String! + + """The environment the config exists in.""" + environmentName: String! + + """The team that owns the config.""" + teamSlug: Slug! } -type CreateValkeyPayload { -""" -Valkey instance that was created. -""" - valkey: Valkey! +type CreateConfigPayload { + """The created config.""" + config: Config } -""" -Get current unit prices. -""" -type CurrentUnitPrices { -""" -Current price for one CPU hour. -""" - cpu: Price! -""" -Current price for one GB hour of memory. -""" - memory: Price! +input CreateKafkaCredentialsInput { + """The team that owns the Kafka topic.""" + teamSlug: Slug! + + """The environment name that the Kafka topic belongs to.""" + environmentName: String! + + """Time-to-live for the credentials (e.g. '1d', '7d'). Maximum 30 days.""" + ttl: String! } -""" -A cursor for use in pagination +type CreateKafkaCredentialsPayload { + """The generated credentials.""" + credentials: KafkaCredentials! +} -Cursors are opaque strings that are returned by the server for paginated results, and used when performing backwards / forwards pagination. -""" -scalar Cursor +input CreateOpenSearchCredentialsInput { + """The team that owns the OpenSearch instance.""" + teamSlug: Slug! -""" -Date type in YYYY-MM-DD format. -""" -scalar Date + """The environment name that the OpenSearch instance belongs to.""" + environmentName: String! -input DeleteApplicationInput { - name: String! - teamSlug: Slug! - environmentName: String! + """Name of the OpenSearch instance.""" + instanceName: String! + + """Permission level for the credentials.""" + permission: CredentialPermission! + + """Time-to-live for the credentials (e.g. '1d', '7d'). Maximum 30 days.""" + ttl: String! } -type DeleteApplicationPayload { -""" -The team that owned the deleted application. -""" - team: Team -""" -Whether or not the application was deleted. -""" - success: Boolean +type CreateOpenSearchCredentialsPayload { + """The generated credentials.""" + credentials: OpenSearchCredentials! } -input DeleteJobInput { - name: String! - teamSlug: Slug! - environmentName: String! +input CreateOpenSearchInput { + """Name of the OpenSearch instance.""" + name: String! + + """The environment name that the OpenSearch instance belongs to.""" + environmentName: String! + + """The team that owns the OpenSearch instance.""" + teamSlug: Slug! + + """Tier of the OpenSearch instance.""" + tier: OpenSearchTier! + + """Available memory for the OpenSearch instance.""" + memory: OpenSearchMemory! + + """Major version of the OpenSearch instance.""" + version: OpenSearchMajorVersion! + + """Available storage in GB.""" + storageGB: Int! } -type DeleteJobPayload { -""" -The team that owned the deleted job. -""" - team: Team -""" -Whether or not the job was deleted. -""" - success: Boolean +type CreateOpenSearchPayload { + """OpenSearch instance that was created.""" + openSearch: OpenSearch! } -input DeleteJobRunInput { - teamSlug: Slug! - environmentName: String! - runName: String! +input CreateSecretInput { + """The name of the secret.""" + name: String! + + """The environment the secret exists in.""" + environment: String! + + """The team that owns the secret.""" + team: Slug! } -type DeleteJobRunPayload { -""" -The job that the run belonged to. -""" - job: Job -""" -Whether or not the run was deleted. -""" - success: Boolean +type CreateSecretPayload { + """The created secret.""" + secret: Secret } -input DeleteOpenSearchInput { - name: String! - environmentName: String! - teamSlug: Slug! +input CreateServiceAccountInput { + """The name of the service account.""" + name: String! + + """A description of the service account.""" + description: String! + + """The team slug that the service account belongs to.""" + teamSlug: Slug } -type DeleteOpenSearchPayload { -""" -Whether or not the OpenSearch instance was deleted. -""" - openSearchDeleted: Boolean +type CreateServiceAccountPayload { + """The created service account.""" + serviceAccount: ServiceAccount } -input DeleteSecretInput { - name: String! - environment: String! - team: Slug! +input CreateServiceAccountTokenInput { + """The ID of the service account to create the token for.""" + serviceAccountID: ID! + + """The name of the service account token.""" + name: String! + + """The description of the service account token.""" + description: String! + + """ + Optional expiry date of the token. + + If not specified, the token will never expire. + """ + expiresAt: Date } -type DeleteSecretPayload { -""" -The deleted secret. -""" - secretDeleted: Boolean +type CreateServiceAccountTokenPayload { + """The service account that the token belongs to.""" + serviceAccount: ServiceAccount + + """The created service account token.""" + serviceAccountToken: ServiceAccountToken + + """ + The secret of the service account token. + + This value is only returned once, and can not be retrieved at a later stage. If the secret is lost, a new token must be created. + + Once obtained, the secret can be used to authenticate as the service account using the HTTP `Authorization` request header: + + ``` + Authorization: Bearer + ``` + """ + secret: String } -input DeleteServiceAccountInput { - serviceAccountID: ID! +input CreateTeamInput { + """ + Unique team slug. + + After creation, this value can not be changed. Also, after a potential deletion of the team, the slug can not be + reused, so please choose wisely. + """ + slug: Slug! + + """ + The purpose / description of the team. + + What is the team for? What is the team working on? This value is meant for human consumption, and should be enough + to give a newcomer an idea of what the team is about. + """ + purpose: String! + + """ + The main Slack channel for the team. + + Where does the team communicate? This value is used to link to the team's main Slack channel. + """ + slackChannel: String! } -type DeleteServiceAccountPayload { -""" -Whether or not the service account was deleted. -""" - serviceAccountDeleted: Boolean +type CreateTeamPayload { + """The newly created team.""" + team: Team } -input DeleteServiceAccountTokenInput { - serviceAccountTokenID: ID! +input CreateUnleashForTeamInput { + """The team that will own this Unleash instance.""" + teamSlug: Slug! + + """ + Subscribe the instance to a release channel for automatic version updates. + If not specified, the default version will be used. + Use the unleashReleaseChannels query to see available channels. + """ + releaseChannel: String } -type DeleteServiceAccountTokenPayload { -""" -The service account that the token belonged to. -""" - serviceAccount: ServiceAccount -""" -Whether or not the service account token was deleted. -""" - serviceAccountTokenDeleted: Boolean +type CreateUnleashForTeamPayload { + unleash: UnleashInstance } -input DeleteUnleashInstanceInput { - teamSlug: Slug! +input CreateValkeyCredentialsInput { + """The team that owns the Valkey instance.""" + teamSlug: Slug! + + """The environment name that the Valkey instance belongs to.""" + environmentName: String! + + """Name of the Valkey instance.""" + instanceName: String! + + """Permission level for the credentials.""" + permission: CredentialPermission! + + """Time-to-live for the credentials (e.g. '1d', '7d'). Maximum 30 days.""" + ttl: String! } -type DeleteUnleashInstancePayload { -""" -Whether the Unleash instance was successfully deleted. -""" - unleashDeleted: Boolean +type CreateValkeyCredentialsPayload { + """The generated credentials.""" + credentials: ValkeyCredentials! } -input DeleteValkeyInput { - name: String! - environmentName: String! - teamSlug: Slug! +input CreateValkeyInput { + """Name of the Valkey instance.""" + name: String! + + """The environment name that the entry belongs to.""" + environmentName: String! + + """The team that owns the Valkey instance.""" + teamSlug: Slug! + + """Tier of the Valkey instance.""" + tier: ValkeyTier! + + """Available memory for the Valkey instance.""" + memory: ValkeyMemory! + + """Maximum memory policy for the Valkey instance.""" + maxMemoryPolicy: ValkeyMaxMemoryPolicy + + """ + Configure keyspace notifications for the Valkey instance. See https://valkey.io/topics/notifications/ for details. + """ + notifyKeyspaceEvents: String } -type DeleteValkeyPayload { -""" -Whether or not the job was deleted. -""" - valkeyDeleted: Boolean +type CreateValkeyPayload { + """Valkey instance that was created.""" + valkey: Valkey! } -""" -Description of a deployment. -""" -type Deployment implements Node{ -""" -ID of the deployment. -""" - id: ID! -""" -Creation timestamp of the deployment. -""" - createdAt: Time! -""" -Team slug that the deployment belongs to. -""" - teamSlug: Slug! -""" -Name of the environment that the deployment belongs to. -""" - environmentName: String! -""" -The repository that triggered the deployment. -""" - repository: String -""" -Username of the actor who initiated the deployment. -""" - deployerUsername: String -""" -The git commit SHA that was deployed. -""" - commitSha: String -""" -The URL of the workflow that triggered the deployment. -""" - triggerUrl: String -""" -Resources that were deployed. -""" - resources( -""" -Get the first n items in the connection. This can be used in combination with the after parameter. -""" - first: Int -""" -Get items after this cursor. -""" - after: Cursor -""" -Get the last n items in the connection. This can be used in combination with the before parameter. -""" - last: Int -""" -Get items before this cursor. -""" - before: Cursor - ): DeploymentResourceConnection! -""" -Statuses of the deployment. -""" - statuses( -""" -Get the first n items in the connection. This can be used in combination with the after parameter. -""" - first: Int -""" -Get items after this cursor. -""" - after: Cursor -""" -Get the last n items in the connection. This can be used in combination with the before parameter. -""" - last: Int -""" -Get items before this cursor. -""" - before: Cursor - ): DeploymentStatusConnection! +"""Permission level for OpenSearch and Valkey credentials.""" +enum CredentialPermission { + READ + WRITE + READWRITE + ADMIN +} + +type CredentialsActivityLogEntry implements ActivityLogEntry & Node { + """ID of the entry.""" + id: ID! + + """The identity of the actor who performed the action.""" + actor: String! + + """Creation time of the entry.""" + createdAt: Time! + + """Message that summarizes the entry.""" + message: String! + + """Type of the resource that was affected by the action.""" + resourceType: ActivityLogEntryResourceType! + + """Name of the resource that was affected by the action.""" + resourceName: String! + + """The team slug that the entry belongs to.""" + teamSlug: Slug! + + """The environment name that the entry belongs to.""" + environmentName: String + + """Data associated with the credential creation.""" + data: CredentialsActivityLogEntryData! +} + +type CredentialsActivityLogEntryData { + """The service type (OPENSEARCH, VALKEY, KAFKA).""" + serviceType: String! + + """The instance name, if applicable.""" + instanceName: String + + """The permission level, if applicable.""" + permission: String + + """The TTL that was requested for the credentials.""" + ttl: String! +} + +"""Get current unit prices.""" +type CurrentUnitPrices { + """Current price for one CPU hour.""" + cpu: Price! + + """Current price for one GB hour of memory.""" + memory: Price! } -type DeploymentActivityLogEntry implements ActivityLogEntry & Node{ -""" -ID of the entry. -""" - id: ID! -""" -The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. -""" - actor: String! -""" -Creation time of the entry. -""" - createdAt: Time! -""" -Message that summarizes the entry. -""" - message: String! -""" -Type of the resource that was affected by the action. -""" - resourceType: ActivityLogEntryResourceType! -""" -Name of the resource that was affected by the action. -""" - resourceName: String! -""" -The team slug that the entry belongs to. -""" - teamSlug: Slug! -""" -The environment name that the entry belongs to. -""" - environmentName: String """ -Data associated with the update. +A cursor for use in pagination + +Cursors are opaque strings that are returned by the server for paginated results, and used when performing backwards / forwards pagination. """ - data: DeploymentActivityLogEntryData! +scalar Cursor + +"""Date type in YYYY-MM-DD format.""" +scalar Date + +input DeleteApplicationInput { + """Name of the application.""" + name: String! + + """Slug of the team that owns the application.""" + teamSlug: Slug! + + """Name of the environment where the application runs.""" + environmentName: String! +} + +type DeleteApplicationPayload { + """The team that owned the deleted application.""" + team: Team + + """Whether or not the application was deleted.""" + success: Boolean +} + +input DeleteConfigInput { + """The name of the config.""" + name: String! + + """The environment the config exists in.""" + environmentName: String! + + """The team that owns the config.""" + teamSlug: Slug! +} + +type DeleteConfigPayload { + """The deleted config.""" + configDeleted: Boolean +} + +input DeleteJobInput { + """Name of the job.""" + name: String! + + """Slug of the team that owns the job.""" + teamSlug: Slug! + + """Name of the environment where the job runs.""" + environmentName: String! +} + +type DeleteJobPayload { + """The team that owned the deleted job.""" + team: Team + + """Whether or not the job was deleted.""" + success: Boolean +} + +input DeleteOpenSearchInput { + """Name of the OpenSearch instance.""" + name: String! + + """The environment name that the OpenSearch instance belongs to.""" + environmentName: String! + + """The team that owns the OpenSearch instance.""" + teamSlug: Slug! +} + +type DeleteOpenSearchPayload { + """Whether or not the OpenSearch instance was deleted.""" + openSearchDeleted: Boolean +} + +input DeleteSecretInput { + """The name of the secret.""" + name: String! + + """The environment the secret exists in.""" + environment: String! + + """The team that owns the secret.""" + team: Slug! +} + +type DeleteSecretPayload { + """The deleted secret.""" + secretDeleted: Boolean +} + +input DeleteServiceAccountInput { + """The ID of the service account to delete.""" + serviceAccountID: ID! +} + +type DeleteServiceAccountPayload { + """Whether or not the service account was deleted.""" + serviceAccountDeleted: Boolean +} + +input DeleteServiceAccountTokenInput { + """The ID of the service account token to delete.""" + serviceAccountTokenID: ID! +} + +type DeleteServiceAccountTokenPayload { + """The service account that the token belonged to.""" + serviceAccount: ServiceAccount + + """Whether or not the service account token was deleted.""" + serviceAccountTokenDeleted: Boolean +} + +input DeleteUnleashInstanceInput { + """The team that owns the Unleash instance to delete.""" + teamSlug: Slug! +} + +type DeleteUnleashInstancePayload { + """Whether the Unleash instance was successfully deleted.""" + unleashDeleted: Boolean +} + +input DeleteValkeyInput { + """Name of the Valkey instance.""" + name: String! + + """The environment name that the entry belongs to.""" + environmentName: String! + + """The team that owns the Valkey instance.""" + teamSlug: Slug! +} + +type DeleteValkeyPayload { + """Whether or not the job was deleted.""" + valkeyDeleted: Boolean +} + +"""Description of a deployment.""" +type Deployment implements Node { + """ID of the deployment.""" + id: ID! + + """Creation timestamp of the deployment.""" + createdAt: Time! + + """Team slug that the deployment belongs to.""" + teamSlug: Slug! + + """Name of the environment that the deployment belongs to.""" + environmentName: String! + + """The repository that triggered the deployment.""" + repository: String + + """Username of the actor who initiated the deployment.""" + deployerUsername: String + + """The git commit SHA that was deployed.""" + commitSha: String + + """The URL of the workflow that triggered the deployment.""" + triggerUrl: String + + """Resources that were deployed.""" + resources( + """ + Get the first n items in the connection. This can be used in combination with the after parameter. + """ + first: Int + + """Get items after this cursor.""" + after: Cursor + + """ + Get the last n items in the connection. This can be used in combination with the before parameter. + """ + last: Int + + """Get items before this cursor.""" + before: Cursor + ): DeploymentResourceConnection! + + """Statuses of the deployment.""" + statuses( + """ + Get the first n items in the connection. This can be used in combination with the after parameter. + """ + first: Int + + """Get items after this cursor.""" + after: Cursor + + """ + Get the last n items in the connection. This can be used in combination with the before parameter. + """ + last: Int + + """Get items before this cursor.""" + before: Cursor + ): DeploymentStatusConnection! +} + +type DeploymentActivityLogEntry implements ActivityLogEntry & Node { + """ID of the entry.""" + id: ID! + + """ + The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + """ + actor: String! + + """Creation time of the entry.""" + createdAt: Time! + + """Message that summarizes the entry.""" + message: String! + + """Type of the resource that was affected by the action.""" + resourceType: ActivityLogEntryResourceType! + + """Name of the resource that was affected by the action.""" + resourceName: String! + + """The team slug that the entry belongs to.""" + teamSlug: Slug! + + """The environment name that the entry belongs to.""" + environmentName: String + + """Data associated with the update.""" + data: DeploymentActivityLogEntryData! } type DeploymentActivityLogEntryData { - triggerURL: String + triggerURL: String } type DeploymentConnection { -""" -Pagination information. -""" - pageInfo: PageInfo! -""" -List of nodes. -""" - nodes: [Deployment!]! -""" -List of edges. -""" - edges: [DeploymentEdge!]! + """Pagination information.""" + pageInfo: PageInfo! + + """List of nodes.""" + nodes: [Deployment!]! + + """List of edges.""" + edges: [DeploymentEdge!]! } type DeploymentEdge { -""" -Cursor for this edge that can be used for pagination. -""" - cursor: Cursor! -""" -The deployment. -""" - node: Deployment! + """Cursor for this edge that can be used for pagination.""" + cursor: Cursor! + + """The deployment.""" + node: Deployment! } input DeploymentFilter { - from: Time - environments: [String!] + """Get deployments from a given date until today.""" + from: Time + + """Filter deployments by environments.""" + environments: [String!] } -""" -Deployment key type. -""" -type DeploymentKey implements Node{ -""" -The unique identifier of the deployment key. -""" - id: ID! -""" -The actual key. -""" - key: String! -""" -The date the deployment key was created. -""" - created: Time! -""" -The date the deployment key expires. -""" - expires: Time! +"""Deployment key type.""" +type DeploymentKey implements Node { + """The unique identifier of the deployment key.""" + id: ID! + + """The actual key.""" + key: String! + + """The date the deployment key was created.""" + created: Time! + + """The date the deployment key expires.""" + expires: Time! } input DeploymentOrder { - field: DeploymentOrderField! - direction: OrderDirection! + """The field to order items by.""" + field: DeploymentOrderField! + + """The direction to order items by.""" + direction: OrderDirection! } -""" -Possible fields to order deployments by. -""" +"""Possible fields to order deployments by.""" enum DeploymentOrderField { -""" -The time the deployment was created at. -""" - CREATED_AT + """The time the deployment was created at.""" + CREATED_AT } -""" -Resource connected to a deployment. -""" -type DeploymentResource implements Node{ -""" -Globally unique ID of the deployment resource. -""" - id: ID! -""" -Deployment resource kind. -""" - kind: String! -""" -The name of the resource. -""" - name: String! +"""Resource connected to a deployment.""" +type DeploymentResource implements Node { + """Globally unique ID of the deployment resource.""" + id: ID! + + """Deployment resource kind.""" + kind: String! + + """The name of the resource.""" + name: String! } type DeploymentResourceConnection { -""" -Pagination information. -""" - pageInfo: PageInfo! -""" -List of nodes. -""" - nodes: [DeploymentResource!]! -""" -List of edges. -""" - edges: [DeploymentResourceEdge!]! + """Pagination information.""" + pageInfo: PageInfo! + + """List of nodes.""" + nodes: [DeploymentResource!]! + + """List of edges.""" + edges: [DeploymentResourceEdge!]! } type DeploymentResourceEdge { -""" -Cursor for this edge that can be used for pagination. -""" - cursor: Cursor! -""" -The deployment resource. -""" - node: DeploymentResource! + """Cursor for this edge that can be used for pagination.""" + cursor: Cursor! + + """The deployment resource.""" + node: DeploymentResource! } -""" -Resource connected to a deployment. -""" -type DeploymentStatus implements Node{ -""" -Globally unique ID of the deployment resource. -""" - id: ID! -""" -Creation timestamp of the deployment status. -""" - createdAt: Time! -""" -State of the deployment. -""" - state: DeploymentStatusState! -""" -Message describing the deployment status. -""" - message: String! +"""Resource connected to a deployment.""" +type DeploymentStatus implements Node { + """Globally unique ID of the deployment resource.""" + id: ID! + + """Creation timestamp of the deployment status.""" + createdAt: Time! + + """State of the deployment.""" + state: DeploymentStatusState! + + """Message describing the deployment status.""" + message: String! } type DeploymentStatusConnection { -""" -Pagination information. -""" - pageInfo: PageInfo! -""" -List of nodes. -""" - nodes: [DeploymentStatus!]! -""" -List of edges. -""" - edges: [DeploymentStatusEdge!]! + """Pagination information.""" + pageInfo: PageInfo! + + """List of nodes.""" + nodes: [DeploymentStatus!]! + + """List of edges.""" + edges: [DeploymentStatusEdge!]! } type DeploymentStatusEdge { -""" -Cursor for this edge that can be used for pagination. -""" - cursor: Cursor! -""" -The deployment status. -""" - node: DeploymentStatus! + """Cursor for this edge that can be used for pagination.""" + cursor: Cursor! + + """The deployment status.""" + node: DeploymentStatus! } -""" -Possible states of a deployment status. -""" +"""Possible states of a deployment status.""" enum DeploymentStatusState { - SUCCESS - ERROR - FAILURE - INACTIVE - IN_PROGRESS - QUEUED - PENDING + SUCCESS + ERROR + FAILURE + INACTIVE + IN_PROGRESS + QUEUED + PENDING } -type DeprecatedIngressIssue implements Issue & Node{ - id: ID! - teamEnvironment: TeamEnvironment! - severity: Severity! - message: String! - ingresses: [String!]! - application: Application! +type DeprecatedIngressIssue implements Issue & Node { + id: ID! + teamEnvironment: TeamEnvironment! + severity: Severity! + message: String! + ingresses: [String!]! + application: Application! } -type DeprecatedRegistryIssue implements Issue & Node{ - id: ID! - teamEnvironment: TeamEnvironment! - severity: Severity! - message: String! - workload: Workload! +type DeprecatedRegistryIssue implements Issue & Node { + id: ID! + teamEnvironment: TeamEnvironment! + severity: Severity! + message: String! + workload: Workload! } input DisableReconcilerInput { - name: String! + """The name of the reconciler to disable.""" + name: String! } input EnableReconcilerInput { - name: String! + """The name of the reconciler to enable.""" + name: String! } """ @@ -2210,11 +2336,9 @@ Entra ID (f.k.a. Azure AD) authentication. Read more: https://docs.nais.io/auth/entra-id/ """ -type EntraIDAuthIntegration implements AuthIntegration{ -""" -The name of the integration. -""" - name: String! +type EntraIDAuthIntegration implements AuthIntegration { + """The name of the integration.""" + name: String! } """ @@ -2222,1438 +2346,1179 @@ An environment represents a runtime environment for workloads. Learn more in the [official Nais documentation](https://docs.nais.io/workloads/explanations/environment/). """ -type Environment implements Node{ -""" -The globally unique ID of the team. -""" - id: ID! -""" -Unique name of the environment. -""" - name: String! -""" -Query Prometheus metrics directly using PromQL for this environment. -This allows for flexible metric queries within the specific environment. -Supports both instant queries and range queries. -""" - metrics( - input: MetricsQueryInput! - ): MetricsQueryResult! -""" -Nais workloads in the environment. -""" - workloads( -""" -Get the first n items in the connection. This can be used in combination with the after parameter. -""" - first: Int -""" -Get items after this cursor. -""" - after: Cursor -""" -Get the last n items in the connection. This can be used in combination with the before parameter. -""" - last: Int -""" -Get items before this cursor. -""" - before: Cursor -""" -Ordering options for items returned from the connection. -""" - orderBy: EnvironmentWorkloadOrder - ): WorkloadConnection! +type Environment implements Node { + """The globally unique ID of the team.""" + id: ID! + + """Unique name of the environment.""" + name: String! + + """ + Query Prometheus metrics directly using PromQL for this environment. + This allows for flexible metric queries within the specific environment. + Supports both instant queries and range queries. + """ + metrics(input: MetricsQueryInput!): MetricsQueryResult! + + """Nais workloads in the environment.""" + workloads( + """ + Get the first n items in the connection. This can be used in combination with the after parameter. + """ + first: Int + + """Get items after this cursor.""" + after: Cursor + + """ + Get the last n items in the connection. This can be used in combination with the before parameter. + """ + last: Int + + """Get items before this cursor.""" + before: Cursor + + """Ordering options for items returned from the connection.""" + orderBy: EnvironmentWorkloadOrder + ): WorkloadConnection! } -""" -Environment connection. -""" +"""Environment connection.""" type EnvironmentConnection { -""" -Pagination information. -""" - pageInfo: PageInfo! -""" -List of nodes. -""" - nodes: [Environment!]! -""" -List of edges. -""" - edges: [EnvironmentEdge!]! + """Pagination information.""" + pageInfo: PageInfo! + + """List of nodes.""" + nodes: [Environment!]! + + """List of edges.""" + edges: [EnvironmentEdge!]! } -""" -Environment edge. -""" +"""Environment edge.""" type EnvironmentEdge { -""" -Cursor for this edge that can be used for pagination. -""" - cursor: Cursor! -""" -The Environment. -""" - node: Environment! + """Cursor for this edge that can be used for pagination.""" + cursor: Cursor! + + """The Environment.""" + node: Environment! } -""" -Ordering options when fetching environments. -""" +"""Ordering options when fetching environments.""" input EnvironmentOrder { -""" -Ordering options when fetching environments. -""" - field: EnvironmentOrderField! -""" -Ordering options when fetching environments. -""" - direction: OrderDirection! + """The field to order by.""" + field: EnvironmentOrderField! + + """The direction to order in.""" + direction: OrderDirection! } -""" -Fields to order environments by. -""" +"""Fields to order environments by.""" enum EnvironmentOrderField { -""" -Order by name. -""" - NAME + """Order by name.""" + NAME } -""" -Ordering options when fetching workloads in an environment. -""" +"""Ordering options when fetching workloads in an environment.""" input EnvironmentWorkloadOrder { -""" -Ordering options when fetching workloads in an environment. -""" - field: EnvironmentWorkloadOrderField! -""" -Ordering options when fetching workloads in an environment. -""" - direction: OrderDirection! + """The field to order items by.""" + field: EnvironmentWorkloadOrderField! + + """The direction to order items by.""" + direction: OrderDirection! } -""" -Fields to order workloads in an environment by. -""" +"""Fields to order workloads in an environment by.""" enum EnvironmentWorkloadOrderField { -""" -Order by name. -""" - NAME -""" -Order by team slug. -""" - TEAM_SLUG -""" -Order by the deployment time. -""" - DEPLOYMENT_TIME + """Order by name.""" + NAME + + """Order by team slug.""" + TEAM_SLUG + + """Order by the deployment time.""" + DEPLOYMENT_TIME } -type ExternalIngressCriticalVulnerabilityIssue implements Issue & Node{ - id: ID! - teamEnvironment: TeamEnvironment! - severity: Severity! - message: String! - workload: Workload! - cvssScore: Float! - ingresses: [String!]! +type ExternalIngressCriticalVulnerabilityIssue implements Issue & Node { + id: ID! + teamEnvironment: TeamEnvironment! + severity: Severity! + message: String! + workload: Workload! + cvssScore: Float! + ingresses: [String!]! } -type ExternalNetworkPolicyHost implements ExternalNetworkPolicyTarget{ - target: String! - ports: [Int!]! +type ExternalNetworkPolicyHost implements ExternalNetworkPolicyTarget { + target: String! + ports: [Int!]! } -type ExternalNetworkPolicyIpv4 implements ExternalNetworkPolicyTarget{ - target: String! - ports: [Int!]! +type ExternalNetworkPolicyIpv4 implements ExternalNetworkPolicyTarget { + target: String! + ports: [Int!]! } interface ExternalNetworkPolicyTarget { - target: String! - ports: [Int!]! + target: String! + ports: [Int!]! } -type FailedSynchronizationIssue implements Issue & Node{ - id: ID! - teamEnvironment: TeamEnvironment! - severity: Severity! - message: String! - workload: Workload! +type FailedSynchronizationIssue implements Issue & Node { + id: ID! + teamEnvironment: TeamEnvironment! + severity: Severity! + message: String! + workload: Workload! } -type FeatureKafka implements Node{ -""" -Unique identifier for the feature. -""" - id: ID! -""" -Wether Kafka is enabled or not. -""" - enabled: Boolean! -} +type FeatureKafka implements Node { + """Unique identifier for the feature.""" + id: ID! -type FeatureOpenSearch implements Node{ -""" -Unique identifier for the feature. -""" - id: ID! -""" -Wether OpenSearch is enabled or not. -""" - enabled: Boolean! + """Wether Kafka is enabled or not.""" + enabled: Boolean! } -type FeatureUnleash implements Node{ -""" -Unique identifier for the feature. -""" - id: ID! -""" -Wether Unleash is enabled or not. -""" - enabled: Boolean! +type FeatureOpenSearch implements Node { + """Unique identifier for the feature.""" + id: ID! + + """Wether OpenSearch is enabled or not.""" + enabled: Boolean! } -type FeatureValkey implements Node{ -""" -Unique identifier for the feature. -""" - id: ID! -""" -Wether Valkey is enabled or not. -""" - enabled: Boolean! +type FeatureUnleash implements Node { + """Unique identifier for the feature.""" + id: ID! + + """Wether Unleash is enabled or not.""" + enabled: Boolean! } -type Features implements Node{ -""" -Unique identifier for the feature container. -""" - id: ID! -""" -Information about Unleash feature. -""" - unleash: FeatureUnleash! -""" -Information about Valkey feature. -""" - valkey: FeatureValkey! -""" -Information about Kafka feature. -""" - kafka: FeatureKafka! -""" -Information about OpenSearch feature. -""" - openSearch: FeatureOpenSearch! +type FeatureValkey implements Node { + """Unique identifier for the feature.""" + id: ID! + + """Wether Valkey is enabled or not.""" + enabled: Boolean! } -""" -The `Float` scalar type represents signed double-precision fractional values as specified by [IEEE 754](http://en.wikipedia.org/wiki/IEEE_floating_point). -""" -scalar Float +type Features implements Node { + """Unique identifier for the feature container.""" + id: ID! + + """Information about Unleash feature.""" + unleash: FeatureUnleash! + + """Information about Valkey feature.""" + valkey: FeatureValkey! + + """Information about Kafka feature.""" + kafka: FeatureKafka! + + """Information about OpenSearch feature.""" + openSearch: FeatureOpenSearch! +} input GrantPostgresAccessInput { - clusterName: String! - teamSlug: Slug! - environmentName: String! - grantee: String! - duration: String! + clusterName: String! + teamSlug: Slug! + environmentName: String! + grantee: String! + + """Duration of the access grant (maximum 4 hours).""" + duration: String! } type GrantPostgresAccessPayload { - error: String + error: String } -""" -The `ID` scalar type represents a unique identifier, often used to refetch an object or as key for a cache. The ID type appears in a JSON response as a String; however, it is not intended to be human-readable. When expected as an input type, any string (such as "4") or integer (such as 4) input value will be accepted as an ID. -""" -scalar ID - """ ID-porten authentication. Read more: https://docs.nais.io/auth/idporten/ """ -type IDPortenAuthIntegration implements AuthIntegration{ -""" -The name of the integration. -""" - name: String! +type IDPortenAuthIntegration implements AuthIntegration { + """The name of the integration.""" + name: String! } -type ImageVulnerability implements Node{ -""" -The globally unique ID of the image vulnerability node. -""" - id: ID! -""" -The unique identifier of the vulnerability. E.g. CVE-****-****. -""" - identifier: String! -""" -Severity of the vulnerability. -""" - severity: ImageVulnerabilitySeverity! -""" -Description of the vulnerability. -""" - description: String! -""" -Package name of the vulnerability. -""" - package: String! - suppression: ImageVulnerabilitySuppression -""" -Timestamp of when the vulnerability got its current severity. -""" - severitySince: Time -""" -Link to the vulnerability details. -""" - vulnerabilityDetailsLink: String! -""" -CVSS score of the vulnerability. -""" - cvssScore: Float +type ImageVulnerability implements Node { + """The globally unique ID of the image vulnerability node.""" + id: ID! + + """The unique identifier of the vulnerability. E.g. CVE-****-****.""" + identifier: String! + + """Severity of the vulnerability.""" + severity: ImageVulnerabilitySeverity! + + """Description of the vulnerability.""" + description: String! + + """Package name of the vulnerability.""" + package: String! + suppression: ImageVulnerabilitySuppression + + """Timestamp of when the vulnerability got its current severity.""" + severitySince: Time + + """Link to the vulnerability details.""" + vulnerabilityDetailsLink: String! + + """CVSS score of the vulnerability.""" + cvssScore: Float } type ImageVulnerabilityConnection { -""" -Information to aid in pagination. -""" - pageInfo: PageInfo! -""" -List of edges. -""" - edges: [ImageVulnerabilityEdge!]! -""" -List of nodes. -""" - nodes: [ImageVulnerability!]! + """Information to aid in pagination.""" + pageInfo: PageInfo! + + """List of edges.""" + edges: [ImageVulnerabilityEdge!]! + + """List of nodes.""" + nodes: [ImageVulnerability!]! } type ImageVulnerabilityEdge { -""" -A cursor for use in pagination. -""" - cursor: Cursor! -""" -The image vulnerability. -""" - node: ImageVulnerability! + """A cursor for use in pagination.""" + cursor: Cursor! + + """The image vulnerability.""" + node: ImageVulnerability! } -""" -Input for filtering image vulnerabilities. -""" +"""Input for filtering image vulnerabilities.""" input ImageVulnerabilityFilter { -""" -Input for filtering image vulnerabilities. -""" - severity: ImageVulnerabilitySeverity -""" -Input for filtering image vulnerabilities. -""" - severitySince: Time + """Only return vulnerabilities with the given severity.""" + severity: ImageVulnerabilitySeverity + severitySince: Time } type ImageVulnerabilityHistory { -""" -Vulnerability summary samples. -""" - samples: [ImageVulnerabilitySample!]! + """Vulnerability summary samples.""" + samples: [ImageVulnerabilitySample!]! } -""" -Ordering options when fetching teams. -""" +"""Ordering options when fetching teams.""" input ImageVulnerabilityOrder { -""" -Ordering options when fetching teams. -""" - field: ImageVulnerabilityOrderField! -""" -Ordering options when fetching teams. -""" - direction: OrderDirection! + """The field to order items by.""" + field: ImageVulnerabilityOrderField! + + """The direction to order items by.""" + direction: OrderDirection! } enum ImageVulnerabilityOrderField { - IDENTIFIER - SEVERITY - SEVERITY_SINCE - PACKAGE - STATE - SUPPRESSED + IDENTIFIER + SEVERITY + SEVERITY_SINCE + PACKAGE + STATE + SUPPRESSED } type ImageVulnerabilitySample { -""" -The historic image vulnerability summary -""" - summary: ImageVulnerabilitySummary! -""" -Timestamp of the vulnerability summary. -""" - date: Time! + """The historic image vulnerability summary""" + summary: ImageVulnerabilitySummary! + + """Timestamp of the vulnerability summary.""" + date: Time! } enum ImageVulnerabilitySeverity { - LOW - MEDIUM - HIGH - CRITICAL - UNASSIGNED + LOW + MEDIUM + HIGH + CRITICAL + UNASSIGNED } type ImageVulnerabilitySummary { -""" -Total number of vulnerabilities. -""" - total: Int! -""" -Risk score of the image. -""" - riskScore: Int! -""" -Number of vulnerabilities with severity LOW. -""" - low: Int! -""" -Number of vulnerabilities with severity MEDIUM. -""" - medium: Int! -""" -Number of vulnerabilities with severity HIGH. -""" - high: Int! -""" -Number of vulnerabilities with severity CRITICAL. -""" - critical: Int! -""" -Number of vulnerabilities with severity UNASSIGNED. -""" - unassigned: Int! -""" -Timestamp of the last update of the vulnerability summary. -""" - lastUpdated: Time + """Total number of vulnerabilities.""" + total: Int! + + """Risk score of the image.""" + riskScore: Int! + + """Number of vulnerabilities with severity LOW.""" + low: Int! + + """Number of vulnerabilities with severity MEDIUM.""" + medium: Int! + + """Number of vulnerabilities with severity HIGH.""" + high: Int! + + """Number of vulnerabilities with severity CRITICAL.""" + critical: Int! + + """Number of vulnerabilities with severity UNASSIGNED.""" + unassigned: Int! + + """Timestamp of the last update of the vulnerability summary.""" + lastUpdated: Time } type ImageVulnerabilitySuppression { -""" -Suppression state of the vulnerability. -""" - state: ImageVulnerabilitySuppressionState! -""" -The reason for the suppression of the vulnerability. -""" - reason: String! + """Suppression state of the vulnerability.""" + state: ImageVulnerabilitySuppressionState! + + """The reason for the suppression of the vulnerability.""" + reason: String! } enum ImageVulnerabilitySuppressionState { -""" -Vulnerability is in triage. -""" - IN_TRIAGE -""" -Vulnerability is resolved. -""" - RESOLVED -""" -Vulnerability is marked as false positive. -""" - FALSE_POSITIVE -""" -Vulnerability is marked as not affected. -""" - NOT_AFFECTED + """Vulnerability is in triage.""" + IN_TRIAGE + + """Vulnerability is resolved.""" + RESOLVED + + """Vulnerability is marked as false positive.""" + FALSE_POSITIVE + + """Vulnerability is marked as not affected.""" + NOT_AFFECTED } type InboundNetworkPolicy { - rules: [NetworkPolicyRule!]! + rules: [NetworkPolicyRule!]! } type Ingress { -""" -URL for the ingress. -""" - url: String! -""" -Type of ingress. -""" - type: IngressType! -""" -Metrics for the ingress. -""" - metrics: IngressMetrics! + """URL for the ingress.""" + url: String! + + """Type of ingress.""" + type: IngressType! + + """Metrics for the ingress.""" + metrics: IngressMetrics! } -""" -Ingress metric type. -""" +"""Ingress metric type.""" type IngressMetricSample { -""" -Timestamp of the value. -""" - timestamp: Time! -""" -Value of the IngressMetricsType at the given timestamp. -""" - value: Float! + """Timestamp of the value.""" + timestamp: Time! + + """Value of the IngressMetricsType at the given timestamp.""" + value: Float! } type IngressMetrics { -""" -Number of requests to the ingress per second. -""" - requestsPerSecond: Float! -""" -Number of errors in the ingress per second. -""" - errorsPerSecond: Float! -""" -Ingress metrics between start and end with step size. -""" - series( - input: IngressMetricsInput! - ): [IngressMetricSample!]! + """Number of requests to the ingress per second.""" + requestsPerSecond: Float! + + """Number of errors in the ingress per second.""" + errorsPerSecond: Float! + + """Ingress metrics between start and end with step size.""" + series(input: IngressMetricsInput!): [IngressMetricSample!]! } input IngressMetricsInput { - start: Time! - end: Time! - type: IngressMetricsType! + """Fetch metrics from this timestamp.""" + start: Time! + + """Fetch metrics until this timestamp.""" + end: Time! + + """Type of metric to fetch.""" + type: IngressMetricsType! } -""" -Type of ingress metrics to fetch. -""" +"""Type of ingress metrics to fetch.""" enum IngressMetricsType { -""" -Number of requests to the ingress per second. -""" - REQUESTS_PER_SECOND -""" -Number of errors in the ingress per second. -""" - ERRORS_PER_SECOND + """Number of requests to the ingress per second.""" + REQUESTS_PER_SECOND + + """Number of errors in the ingress per second.""" + ERRORS_PER_SECOND } enum IngressType { - UNKNOWN - EXTERNAL - INTERNAL - AUTHENTICATED + UNKNOWN + EXTERNAL + INTERNAL + AUTHENTICATED } -""" -The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1. -""" -scalar Int - -type InvalidSpecIssue implements Issue & Node{ - id: ID! - teamEnvironment: TeamEnvironment! - severity: Severity! - message: String! - workload: Workload! +type InvalidSpecIssue implements Issue & Node { + id: ID! + teamEnvironment: TeamEnvironment! + severity: Severity! + message: String! + workload: Workload! } interface Issue { - id: ID! - teamEnvironment: TeamEnvironment! - severity: Severity! - message: String! + id: ID! + teamEnvironment: TeamEnvironment! + severity: Severity! + message: String! } type IssueConnection { -""" -Pagination information. -""" - pageInfo: PageInfo! -""" -List of nodes. -""" - nodes: [Issue!]! -""" -List of edges. -""" - edges: [IssueEdge!]! + """Pagination information.""" + pageInfo: PageInfo! + + """List of nodes.""" + nodes: [Issue!]! + + """List of edges.""" + edges: [IssueEdge!]! } type IssueEdge { -""" -Cursor for this edge that can be used for pagination. -""" - cursor: Cursor! -""" -The Issue. -""" - node: Issue! + """Cursor for this edge that can be used for pagination.""" + cursor: Cursor! + + """The Issue.""" + node: Issue! } input IssueFilter { - resourceName: String - resourceType: ResourceType - environments: [String!] - severity: Severity - issueType: IssueType + """Filter by resource name.""" + resourceName: String + + """Filter by resource type.""" + resourceType: ResourceType + + """Filter by environment.""" + environments: [String!] + + """Filter by severity.""" + severity: Severity + + """Filter by issue type.""" + issueType: IssueType } input IssueOrder { - field: IssueOrderField! - direction: OrderDirection! + """Order by this field.""" + field: IssueOrderField! + + """Order direction.""" + direction: OrderDirection! } enum IssueOrderField { -""" -Order by resource name. -""" - RESOURCE_NAME -""" -Order by severity. -""" - SEVERITY -""" -Order by environment. -""" - ENVIRONMENT -""" -Order by resource type. -""" - RESOURCE_TYPE -""" -Order by issue type. -""" - ISSUE_TYPE + """Order by resource name.""" + RESOURCE_NAME + + """Order by severity.""" + SEVERITY + + """Order by environment.""" + ENVIRONMENT + + """Order by resource type.""" + RESOURCE_TYPE + + """Order by issue type.""" + ISSUE_TYPE } enum IssueType { - OPENSEARCH - VALKEY - SQLINSTANCE_STATE - SQLINSTANCE_VERSION - DEPRECATED_INGRESS - DEPRECATED_REGISTRY - NO_RUNNING_INSTANCES - LAST_RUN_FAILED - FAILED_SYNCHRONIZATION - INVALID_SPEC - MISSING_SBOM - VULNERABLE_IMAGE - EXTERNAL_INGRESS_CRITICAL_VULNERABILITY - UNLEASH_RELEASE_CHANNEL -} - -type Job implements Node & Workload & ActivityLogger{ -""" -The globally unique ID of the job. -""" - id: ID! -""" -The name of the job. -""" - name: String! -""" -The team that owns the job. -""" - team: Team! -""" -The environment the job is deployed in. -""" - environment: TeamEnvironment! @deprecated(reason: "Use the `teamEnvironment` field instead.") -""" -The team environment for the job. -""" - teamEnvironment: TeamEnvironment! -""" -The container image of the job. -""" - image: ContainerImage! -""" -Resources for the job. -""" - resources: JobResources! -""" -List of authentication and authorization for the job. -""" - authIntegrations: [JobAuthIntegrations!]! -""" -Optional schedule for the job. Jobs with no schedule are run once. -""" - schedule: JobSchedule -""" -The job runs. -""" - runs( -""" -Get the first n items in the connection. This can be used in combination with the after parameter. -""" - first: Int -""" -Get items after this cursor. -""" - after: Cursor -""" -Get the last n items in the connection. This can be used in combination with the before parameter. -""" - last: Int -""" -Get items before this cursor. -""" - before: Cursor - ): JobRunConnection! -""" -The job manifest. -""" - manifest: JobManifest! -""" -If set, when the job was marked for deletion. -""" - deletionStartedAt: Time -""" -Activity log associated with the job. -""" - activityLog( -""" -Get the first n items in the connection. This can be used in combination with the after parameter. -""" - first: Int -""" -Get items after this cursor. -""" - after: Cursor -""" -Get the last n items in the connection. This can be used in combination with the before parameter. -""" - last: Int -""" -Get items before this cursor. -""" - before: Cursor -""" -Filter items. -""" - filter: ActivityLogFilter - ): ActivityLogEntryConnection! -""" -The state of the Job -""" - state: JobState! -""" -Issues that affect the job. -""" - issues( -""" -Get the first n items in the connection. This can be used in combination with the after parameter. -""" - first: Int -""" -Get items after this cursor. -""" - after: Cursor -""" -Get the last n items in the connection. This can be used in combination with the before parameter. -""" - last: Int -""" -Get items before this cursor. -""" - before: Cursor -""" -Ordering options for items returned from the connection. -""" - orderBy: IssueOrder -""" -Filtering options for items returned from the connection. -""" - filter: ResourceIssueFilter - ): IssueConnection! -""" -BigQuery datasets referenced by the job. This does not currently support pagination, but will return all available datasets. -""" - bigQueryDatasets( -""" -Ordering options for items returned from the connection. -""" - orderBy: BigQueryDatasetOrder - ): BigQueryDatasetConnection! -""" -Google Cloud Storage referenced by the job. This does not currently support pagination, but will return all available buckets. -""" - buckets( -""" -Ordering options for items returned from the connection. -""" - orderBy: BucketOrder - ): BucketConnection! -""" -The cost for the job. -""" - cost: WorkloadCost! -""" -List of deployments for the job. -""" - deployments( -""" -Get the first n items in the connection. This can be used in combination with the after parameter. -""" - first: Int -""" -Get items after this cursor. -""" - after: Cursor -""" -Get the last n items in the connection. This can be used in combination with the before parameter. -""" - last: Int -""" -Get items before this cursor. -""" - before: Cursor - ): DeploymentConnection! -""" -Kafka topics the job has access to. This does not currently support pagination, but will return all available Kafka topics. -""" - kafkaTopicAcls( -""" -Ordering options for items returned from the connection. -""" - orderBy: KafkaTopicAclOrder - ): KafkaTopicAclConnection! -""" -List of log destinations for the job. -""" - logDestinations: [LogDestination!]! -""" -Network policies for the job. -""" - networkPolicy: NetworkPolicy! -""" -OpenSearch instance referenced by the workload. -""" - openSearch: OpenSearch -""" -Postgres instances referenced by the job. This does not currently support pagination, but will return all available Postgres instances. -""" - postgresInstances( -""" -Ordering options for items returned from the connection. -""" - orderBy: PostgresInstanceOrder - ): PostgresInstanceConnection! -""" -Secrets used by the job. -""" - secrets( -""" -Get the first n items in the connection. This can be used in combination with the after parameter. -""" - first: Int -""" -Get items after this cursor. -""" - after: Cursor -""" -Get the last n items in the connection. This can be used in combination with the before parameter. -""" - last: Int -""" -Get items before this cursor. -""" - before: Cursor - ): SecretConnection! -""" -SQL instances referenced by the job. This does not currently support pagination, but will return all available SQL instances. -""" - sqlInstances( -""" -Ordering options for items returned from the connection. -""" - orderBy: SqlInstanceOrder - ): SqlInstanceConnection! -""" -Valkey instances referenced by the job. This does not currently support pagination, but will return all available Valkey instances. -""" - valkeys( -""" -Ordering options for items returned from the connection. -""" - orderBy: ValkeyOrder - ): ValkeyConnection! -""" -Get the vulnerability summary history for job. -""" - imageVulnerabilityHistory( -""" -Get vulnerability summary from given date until today. -""" - from: Date! - ): ImageVulnerabilityHistory! -""" -Get the mean time to fix history for a job. -""" - vulnerabilityFixHistory( - from: Date! - ): VulnerabilityFixHistory! + OPENSEARCH + VALKEY + SQLINSTANCE_STATE + SQLINSTANCE_VERSION + DEPRECATED_INGRESS + DEPRECATED_REGISTRY + NO_RUNNING_INSTANCES + LAST_RUN_FAILED + FAILED_SYNCHRONIZATION + INVALID_SPEC + MISSING_SBOM + VULNERABLE_IMAGE + EXTERNAL_INGRESS_CRITICAL_VULNERABILITY + UNLEASH_RELEASE_CHANNEL } - -union JobAuthIntegrations =EntraIDAuthIntegration | MaskinportenAuthIntegration + +type Job implements Node & Workload & ActivityLogger { + """The globally unique ID of the job.""" + id: ID! + + """The name of the job.""" + name: String! + + """The team that owns the job.""" + team: Team! + + """The environment the job is deployed in.""" + environment: TeamEnvironment! @deprecated(reason: "Use the `teamEnvironment` field instead.") + + """The team environment for the job.""" + teamEnvironment: TeamEnvironment! + + """The container image of the job.""" + image: ContainerImage! + + """Resources for the job.""" + resources: JobResources! + + """List of authentication and authorization for the job.""" + authIntegrations: [JobAuthIntegrations!]! + + """Optional schedule for the job. Jobs with no schedule are run once.""" + schedule: JobSchedule + + """The job runs.""" + runs( + """ + Get the first n items in the connection. This can be used in combination with the after parameter. + """ + first: Int + + """Get items after this cursor.""" + after: Cursor + + """ + Get the last n items in the connection. This can be used in combination with the before parameter. + """ + last: Int + + """Get items before this cursor.""" + before: Cursor + ): JobRunConnection! + + """The job manifest.""" + manifest: JobManifest! + + """If set, when the job was marked for deletion.""" + deletionStartedAt: Time + + """Activity log associated with the job.""" + activityLog( + """ + Get the first n items in the connection. This can be used in combination with the after parameter. + """ + first: Int + + """Get items after this cursor.""" + after: Cursor + + """ + Get the last n items in the connection. This can be used in combination with the before parameter. + """ + last: Int + + """Get items before this cursor.""" + before: Cursor + + """Filter items.""" + filter: ActivityLogFilter + ): ActivityLogEntryConnection! + + """The state of the Job""" + state: JobState! + + """Issues that affect the job.""" + issues( + """ + Get the first n items in the connection. This can be used in combination with the after parameter. + """ + first: Int + + """Get items after this cursor.""" + after: Cursor + + """ + Get the last n items in the connection. This can be used in combination with the before parameter. + """ + last: Int + + """Get items before this cursor.""" + before: Cursor + + """Ordering options for items returned from the connection.""" + orderBy: IssueOrder + + """Filtering options for items returned from the connection.""" + filter: ResourceIssueFilter + ): IssueConnection! + + """ + BigQuery datasets referenced by the job. This does not currently support pagination, but will return all available datasets. + """ + bigQueryDatasets( + """Ordering options for items returned from the connection.""" + orderBy: BigQueryDatasetOrder + ): BigQueryDatasetConnection! + + """ + Google Cloud Storage referenced by the job. This does not currently support pagination, but will return all available buckets. + """ + buckets( + """Ordering options for items returned from the connection.""" + orderBy: BucketOrder + ): BucketConnection! + + """Configs used by the job.""" + configs( + """ + Get the first n items in the connection. This can be used in combination with the after parameter. + """ + first: Int + + """Get items after this cursor.""" + after: Cursor + + """ + Get the last n items in the connection. This can be used in combination with the before parameter. + """ + last: Int + + """Get items before this cursor.""" + before: Cursor + ): ConfigConnection! + + """The cost for the job.""" + cost: WorkloadCost! + + """List of deployments for the job.""" + deployments( + """ + Get the first n items in the connection. This can be used in combination with the after parameter. + """ + first: Int + + """Get items after this cursor.""" + after: Cursor + + """ + Get the last n items in the connection. This can be used in combination with the before parameter. + """ + last: Int + + """Get items before this cursor.""" + before: Cursor + ): DeploymentConnection! + + """ + Kafka topics the job has access to. This does not currently support pagination, but will return all available Kafka topics. + """ + kafkaTopicAcls( + """Ordering options for items returned from the connection.""" + orderBy: KafkaTopicAclOrder + ): KafkaTopicAclConnection! + + """List of log destinations for the job.""" + logDestinations: [LogDestination!]! + + """Network policies for the job.""" + networkPolicy: NetworkPolicy! + + """OpenSearch instance referenced by the workload.""" + openSearch: OpenSearch + + """ + Postgres instances referenced by the job. This does not currently support pagination, but will return all available Postgres instances. + """ + postgresInstances( + """Ordering options for items returned from the connection.""" + orderBy: PostgresInstanceOrder + ): PostgresInstanceConnection! + + """Secrets used by the job.""" + secrets( + """ + Get the first n items in the connection. This can be used in combination with the after parameter. + """ + first: Int + + """Get items after this cursor.""" + after: Cursor + + """ + Get the last n items in the connection. This can be used in combination with the before parameter. + """ + last: Int + + """Get items before this cursor.""" + before: Cursor + ): SecretConnection! + + """ + SQL instances referenced by the job. This does not currently support pagination, but will return all available SQL instances. + """ + sqlInstances( + """Ordering options for items returned from the connection.""" + orderBy: SqlInstanceOrder + ): SqlInstanceConnection! + + """ + Valkey instances referenced by the job. This does not currently support pagination, but will return all available Valkey instances. + """ + valkeys( + """Ordering options for items returned from the connection.""" + orderBy: ValkeyOrder + ): ValkeyConnection! + + """Get the vulnerability summary history for job.""" + imageVulnerabilityHistory( + """Get vulnerability summary from given date until today.""" + from: Date! + ): ImageVulnerabilityHistory! + + """Get the mean time to fix history for a job.""" + vulnerabilityFixHistory(from: Date!): VulnerabilityFixHistory! +} + +union JobAuthIntegrations = EntraIDAuthIntegration | MaskinportenAuthIntegration type JobConnection { -""" -Pagination information. -""" - pageInfo: PageInfo! -""" -List of nodes. -""" - nodes: [Job!]! -""" -List of edges. -""" - edges: [JobEdge!]! -} + """Pagination information.""" + pageInfo: PageInfo! -type JobDeletedActivityLogEntry implements ActivityLogEntry & Node{ -""" -ID of the entry. -""" - id: ID! -""" -The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. -""" - actor: String! -""" -Creation time of the entry. -""" - createdAt: Time! -""" -Message that summarizes the entry. -""" - message: String! -""" -Type of the resource that was affected by the action. -""" - resourceType: ActivityLogEntryResourceType! -""" -Name of the resource that was affected by the action. -""" - resourceName: String! -""" -The team slug that the entry belongs to. -""" - teamSlug: Slug! -""" -The environment name that the entry belongs to. -""" - environmentName: String + """List of nodes.""" + nodes: [Job!]! + + """List of edges.""" + edges: [JobEdge!]! } -type JobRunDeletedActivityLogEntry implements ActivityLogEntry & Node{ -""" -ID of the entry. -""" - id: ID! -""" -The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. -""" - actor: String! -""" -Creation time of the entry. -""" - createdAt: Time! -""" -Message that summarizes the entry. -""" - message: String! -""" -Type of the resource that was affected by the action. -""" - resourceType: ActivityLogEntryResourceType! -""" -Name of the resource that was affected by the action. -""" - resourceName: String! -""" -The team slug that the entry belongs to. -""" - teamSlug: Slug! -""" -The environment name that the entry belongs to. -""" - environmentName: String +type JobDeletedActivityLogEntry implements ActivityLogEntry & Node { + """ID of the entry.""" + id: ID! + + """ + The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + """ + actor: String! + + """Creation time of the entry.""" + createdAt: Time! + + """Message that summarizes the entry.""" + message: String! + + """Type of the resource that was affected by the action.""" + resourceType: ActivityLogEntryResourceType! + + """Name of the resource that was affected by the action.""" + resourceName: String! + + """The team slug that the entry belongs to.""" + teamSlug: Slug! + + """The environment name that the entry belongs to.""" + environmentName: String } type JobEdge { -""" -Cursor for this edge that can be used for pagination. -""" - cursor: Cursor! -""" -The job. -""" - node: Job! + """Cursor for this edge that can be used for pagination.""" + cursor: Cursor! + + """The job.""" + node: Job! } -type JobManifest implements WorkloadManifest{ -""" -The manifest content, serialized as a YAML document. -""" - content: String! +type JobManifest implements WorkloadManifest { + """The manifest content, serialized as a YAML document.""" + content: String! } input JobOrder { - field: JobOrderField! - direction: OrderDirection! + """The field to order items by.""" + field: JobOrderField! + + """The direction to order items by.""" + direction: OrderDirection! } enum JobOrderField { -""" -Order jobs by name. -""" - NAME -""" -Order jobs by the name of the environment. -""" - ENVIRONMENT -""" -Order by state. -""" - STATE -""" -Order jobs by the deployment time. -""" - DEPLOYMENT_TIME -""" -Order jobs by issue severity -""" - ISSUES + """Order jobs by name.""" + NAME + + """Order jobs by the name of the environment.""" + ENVIRONMENT + + """Order by state.""" + STATE + + """Order jobs by the deployment time.""" + DEPLOYMENT_TIME + + """Order jobs by issue severity""" + ISSUES } -type JobResources implements WorkloadResources{ - limits: WorkloadResourceQuantity! - requests: WorkloadResourceQuantity! +type JobResources implements WorkloadResources { + limits: WorkloadResourceQuantity! + requests: WorkloadResourceQuantity! } -type JobRun implements Node{ -""" -The globally unique ID of the job run. -""" - id: ID! -""" -The name of the job run. -""" - name: String! -""" -The start time of the job. -""" - startTime: Time -""" -The completion time of the job. -""" - completionTime: Time -""" -The status of the job run. -""" - status: JobRunStatus! -""" -The container image of the job run. -""" - image: ContainerImage! -""" -Duration of the job in seconds. -""" - duration: Int! -""" -Job run instances. -""" - instances( -""" -Get the first n items in the connection. This can be used in combination with the after parameter. -""" - first: Int -""" -Get items after this cursor. -""" - after: Cursor -""" -Get the last n items in the connection. This can be used in combination with the before parameter. -""" - last: Int -""" -Get items before this cursor. -""" - before: Cursor - ): JobRunInstanceConnection! - trigger: JobRunTrigger! +type JobRun implements Node { + """The globally unique ID of the job run.""" + id: ID! + + """The name of the job run.""" + name: String! + + """The start time of the job.""" + startTime: Time + + """The completion time of the job.""" + completionTime: Time + + """The status of the job run.""" + status: JobRunStatus! + + """The container image of the job run.""" + image: ContainerImage! + + """Duration of the job in seconds.""" + duration: Int! + + """Job run instances.""" + instances( + """ + Get the first n items in the connection. This can be used in combination with the after parameter. + """ + first: Int + + """Get items after this cursor.""" + after: Cursor + + """ + Get the last n items in the connection. This can be used in combination with the before parameter. + """ + last: Int + + """Get items before this cursor.""" + before: Cursor + ): JobRunInstanceConnection! + trigger: JobRunTrigger! } type JobRunConnection { -""" -Pagination information. -""" - pageInfo: PageInfo! -""" -List of nodes. -""" - nodes: [JobRun!]! -""" -List of edges. -""" - edges: [JobRunEdge!]! + """Pagination information.""" + pageInfo: PageInfo! + + """List of nodes.""" + nodes: [JobRun!]! + + """List of edges.""" + edges: [JobRunEdge!]! } type JobRunEdge { -""" -Cursor for this edge that can be used for pagination. -""" - cursor: Cursor! -""" -The job run. -""" - node: JobRun! + """Cursor for this edge that can be used for pagination.""" + cursor: Cursor! + + """The job run.""" + node: JobRun! } -type JobRunInstance implements Node{ -""" -The globally unique ID of the job run instance. -""" - id: ID! -""" -The name of the job run instance. -""" - name: String! +type JobRunInstance implements Node { + """The globally unique ID of the job run instance.""" + id: ID! + + """The name of the job run instance.""" + name: String! } type JobRunInstanceConnection { -""" -Pagination information. -""" - pageInfo: PageInfo! -""" -List of nodes. -""" - nodes: [JobRunInstance!]! -""" -List of edges. -""" - edges: [JobRunInstanceEdge!]! + """Pagination information.""" + pageInfo: PageInfo! + + """List of nodes.""" + nodes: [JobRunInstance!]! + + """List of edges.""" + edges: [JobRunInstanceEdge!]! } type JobRunInstanceEdge { -""" -Cursor for this edge that can be used for pagination. -""" - cursor: Cursor! -""" -The instance. -""" - node: JobRunInstance! + """Cursor for this edge that can be used for pagination.""" + cursor: Cursor! + + """The instance.""" + node: JobRunInstance! } enum JobRunState { -""" -Job run is pending. -""" - PENDING -""" -Job run is running. -""" - RUNNING -""" -Job run is succeeded. -""" - SUCCEEDED -""" -Job run is failed. -""" - FAILED -""" -Job run is unknown. -""" - UNKNOWN + """Job run is pending.""" + PENDING + + """Job run is running.""" + RUNNING + + """Job run is succeeded.""" + SUCCEEDED + + """Job run is failed.""" + FAILED + + """Job run is unknown.""" + UNKNOWN } type JobRunStatus { -""" -The state of the job run. -""" - state: JobRunState! -""" -Human readable job run status. -""" - message: String! + """The state of the job run.""" + state: JobRunState! + + """Human readable job run status.""" + message: String! } type JobRunTrigger { -""" -The type of trigger that started the job. -""" - type: JobRunTriggerType! -""" -The actor/user who triggered the job run manually, if applicable. -""" - actor: String + """The type of trigger that started the job.""" + type: JobRunTriggerType! + + """The actor/user who triggered the job run manually, if applicable.""" + actor: String } enum JobRunTriggerType { - AUTOMATIC - MANUAL + AUTOMATIC + MANUAL } type JobSchedule { -""" -The cron expression for the job. -""" - expression: String! -""" -The time zone for the job. Defaults to UTC. -""" - timeZone: String! + """The cron expression for the job.""" + expression: String! + + """The time zone for the job. Defaults to UTC.""" + timeZone: String! } enum JobState { - COMPLETED - RUNNING - FAILED - UNKNOWN + COMPLETED + RUNNING + FAILED + UNKNOWN } -type JobTriggeredActivityLogEntry implements ActivityLogEntry & Node{ -""" -ID of the entry. -""" - id: ID! -""" -The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. -""" - actor: String! -""" -Creation time of the entry. -""" - createdAt: Time! -""" -Message that summarizes the entry. -""" - message: String! -""" -Type of the resource that was affected by the action. -""" - resourceType: ActivityLogEntryResourceType! -""" -Name of the resource that was affected by the action. -""" - resourceName: String! -""" -The team slug that the entry belongs to. -""" - teamSlug: Slug! -""" -The environment name that the entry belongs to. -""" - environmentName: String +type JobTriggeredActivityLogEntry implements ActivityLogEntry & Node { + """ID of the entry.""" + id: ID! + + """ + The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + """ + actor: String! + + """Creation time of the entry.""" + createdAt: Time! + + """Message that summarizes the entry.""" + message: String! + + """Type of the resource that was affected by the action.""" + resourceType: ActivityLogEntryResourceType! + + """Name of the resource that was affected by the action.""" + resourceName: String! + + """The team slug that the entry belongs to.""" + teamSlug: Slug! + + """The environment name that the entry belongs to.""" + environmentName: String +} + +type KafkaCredentials { + """Username for the Kafka broker.""" + username: String! + + """Client certificate in PEM format.""" + accessCert: String! + + """Client private key in PEM format.""" + accessKey: String! + + """CA certificate in PEM format.""" + caCert: String! + + """Comma-separated list of broker addresses.""" + brokers: String! + + """Schema registry URL.""" + schemaRegistry: String! } type KafkaLagScalingStrategy { -""" -The threshold that must be met for the scaling to trigger. -""" - threshold: Int! -""" -The consumer group of the topic. -""" - consumerGroup: String! -""" -The name of the Kafka topic. -""" - topicName: String! -} - -type KafkaTopic implements Persistence & Node{ - id: ID! - name: String! - team: Team! - environment: TeamEnvironment! @deprecated(reason: "Use the `teamEnvironment` field instead.") - teamEnvironment: TeamEnvironment! - acl( - first: Int - after: Cursor - last: Int - before: Cursor - filter: KafkaTopicAclFilter - orderBy: KafkaTopicAclOrder - ): KafkaTopicAclConnection! - configuration: KafkaTopicConfiguration - pool: String! + """The threshold that must be met for the scaling to trigger.""" + threshold: Int! + + """The consumer group of the topic.""" + consumerGroup: String! + + """The name of the Kafka topic.""" + topicName: String! +} + +type KafkaTopic implements Persistence & Node { + id: ID! + name: String! + team: Team! + environment: TeamEnvironment! @deprecated(reason: "Use the `teamEnvironment` field instead.") + teamEnvironment: TeamEnvironment! + acl(first: Int, after: Cursor, last: Int, before: Cursor, filter: KafkaTopicAclFilter, orderBy: KafkaTopicAclOrder): KafkaTopicAclConnection! + configuration: KafkaTopicConfiguration + pool: String! } type KafkaTopicAcl { - access: String! - workloadName: String! - teamName: String! - team: Team - workload: Workload - topic: KafkaTopic! + access: String! + workloadName: String! + teamName: String! + team: Team + workload: Workload + topic: KafkaTopic! } type KafkaTopicAclConnection { - pageInfo: PageInfo! - nodes: [KafkaTopicAcl!]! - edges: [KafkaTopicAclEdge!]! + pageInfo: PageInfo! + nodes: [KafkaTopicAcl!]! + edges: [KafkaTopicAclEdge!]! } type KafkaTopicAclEdge { - cursor: Cursor! - node: KafkaTopicAcl! + cursor: Cursor! + node: KafkaTopicAcl! } input KafkaTopicAclFilter { - team: Slug - workload: String - validWorkloads: Boolean + team: Slug + workload: String + validWorkloads: Boolean } input KafkaTopicAclOrder { - field: KafkaTopicAclOrderField! - direction: OrderDirection! + field: KafkaTopicAclOrderField! + direction: OrderDirection! } enum KafkaTopicAclOrderField { - TOPIC_NAME - TEAM_SLUG - CONSUMER - ACCESS + TOPIC_NAME + TEAM_SLUG + CONSUMER + ACCESS } type KafkaTopicConfiguration { - cleanupPolicy: String - maxMessageBytes: Int - minimumInSyncReplicas: Int - partitions: Int - replication: Int - retentionBytes: Int - retentionHours: Int - segmentHours: Int + cleanupPolicy: String + maxMessageBytes: Int + minimumInSyncReplicas: Int + partitions: Int + replication: Int + retentionBytes: Int + retentionHours: Int + segmentHours: Int } type KafkaTopicConnection { - pageInfo: PageInfo! - nodes: [KafkaTopic!]! - edges: [KafkaTopicEdge!]! + pageInfo: PageInfo! + nodes: [KafkaTopic!]! + edges: [KafkaTopicEdge!]! } type KafkaTopicEdge { - cursor: Cursor! - node: KafkaTopic! + cursor: Cursor! + node: KafkaTopic! } input KafkaTopicOrder { - field: KafkaTopicOrderField! - direction: OrderDirection! + field: KafkaTopicOrderField! + direction: OrderDirection! } enum KafkaTopicOrderField { - NAME - ENVIRONMENT + NAME + ENVIRONMENT } -type LastRunFailedIssue implements Issue & Node{ - id: ID! - teamEnvironment: TeamEnvironment! - severity: Severity! - message: String! - job: Job! +type LastRunFailedIssue implements Issue & Node { + id: ID! + teamEnvironment: TeamEnvironment! + severity: Severity! + message: String! + job: Job! } interface LogDestination { - id: ID! + """The globally unique ID of the log destination.""" + id: ID! } -type LogDestinationGeneric implements LogDestination & Node{ -""" -The globally unique ID of the log destination. -""" - id: ID! -""" -Name defined in the manifest -""" - name: String! +type LogDestinationGeneric implements LogDestination & Node { + """The globally unique ID of the log destination.""" + id: ID! + + """Name defined in the manifest""" + name: String! } -type LogDestinationLoki implements LogDestination & Node{ -""" -The globally unique ID of the log destination. -""" - id: ID! -""" -Grafana URL to view the logs. -""" - grafanaURL: String! +type LogDestinationLoki implements LogDestination & Node { + """The globally unique ID of the log destination.""" + id: ID! + + """Grafana URL to view the logs.""" + grafanaURL: String! } -type LogDestinationSecureLogs implements LogDestination & Node{ -""" -The globally unique ID of the log destination. -""" - id: ID! +type LogDestinationSecureLogs implements LogDestination & Node { + """The globally unique ID of the log destination.""" + id: ID! } type LogLine { -""" -Timestamp of the log line. -""" - time: Time! -""" -The log line message. -""" - message: String! -""" -Labels attached to the log line. -""" - labels: [LogLineLabel!]! + """Timestamp of the log line.""" + time: Time! + + """The log line message.""" + message: String! + + """Labels attached to the log line.""" + labels: [LogLineLabel!]! } type LogLineLabel { -""" -The key of the label. -""" - key: String! -""" -The value of the label. -""" - value: String! + """The key of the label.""" + key: String! + + """The value of the label.""" + value: String! } input LogSubscriptionFilter { - environmentName: String! - query: String! - initialBatch: LogSubscriptionInitialBatch + """Specify the environment to stream log lines from.""" + environmentName: String! + + """Filter log lines by specifying a query.""" + query: String! + + """ + Specify an initial batch of log lines to be sent when the subscription starts. + """ + initialBatch: LogSubscriptionInitialBatch = {limit: 100} } input LogSubscriptionInitialBatch { - start: Time - limit: Int + """ + Specifies the start timestamp of the initial batch. Defaults to one hour ago. + """ + start: Time + + """Initial batch of past log lines before streaming starts.""" + limit: Int = 100 } type MaintenanceWindow { -""" -Day of the week when the maintenance is scheduled. -""" - dayOfWeek: Weekday! -""" -Time of day when the maintenance is scheduled. -""" - timeOfDay: TimeOfDay! + """Day of the week when the maintenance is scheduled.""" + dayOfWeek: Weekday! + + """Time of day when the maintenance is scheduled.""" + timeOfDay: TimeOfDay! } """ @@ -3661,89 +3526,81 @@ Maskinporten authentication. Read more: https://docs.nais.io/auth/maskinporten/ """ -type MaskinportenAuthIntegration implements AuthIntegration{ -""" -The name of the integration. -""" - name: String! +type MaskinportenAuthIntegration implements AuthIntegration { + """The name of the integration.""" + name: String! } -""" -A key-value pair representing a Prometheus label. -""" +"""A key-value pair representing a Prometheus label.""" type MetricLabel { -""" -The label name. -""" - name: String! -""" -The label value. -""" - value: String! + """The label name.""" + name: String! + + """The label value.""" + value: String! } -""" -A time series with its labels and data points. -""" +"""A time series with its labels and data points.""" type MetricSeries { -""" -The metric labels as key-value pairs. -""" - labels: [MetricLabel!]! -""" -The data points for this time series. -Instant queries will have a single value. -Range queries will have multiple values over time. -""" - values: [MetricValue!]! + """The metric labels as key-value pairs.""" + labels: [MetricLabel!]! + + """ + The data points for this time series. + Instant queries will have a single value. + Range queries will have multiple values over time. + """ + values: [MetricValue!]! } -""" -A single data point in a time series. -""" +"""A single data point in a time series.""" type MetricValue { -""" -The timestamp of the data point. -""" - timestamp: Time! -""" -The value at the given timestamp. -""" - value: Float! -} + """The timestamp of the data point.""" + timestamp: Time! -""" -Input for querying Prometheus metrics. -""" -input MetricsQueryInput { -""" -Input for querying Prometheus metrics. -""" - query: String! -""" -Input for querying Prometheus metrics. -""" - time: Time -""" -Input for querying Prometheus metrics. -""" - range: MetricsRangeInput + """The value at the given timestamp.""" + value: Float! } -""" -Result from a Prometheus metrics query. -""" +"""Input for querying Prometheus metrics.""" +input MetricsQueryInput { + """ + The PromQL query to execute. + Example: "rate(http_requests_total[5m])" + """ + query: String! + + """ + Optional timestamp for instant queries. + Specifies the exact point in time to evaluate the query. + If not provided, defaults to current time minus 5 minutes. + This parameter is ignored when range is provided. + """ + time: Time + + """ + Optional range query parameters. + If provided, executes a range query instead of an instant query. + + Limits to prevent excessive memory usage: + - Minimum step: 10 seconds + - Maximum time range: 30 days + - Maximum data points: 11,000 + """ + range: MetricsRangeInput +} + +"""Result from a Prometheus metrics query.""" type MetricsQueryResult { -""" -Time series data from the query. -For instant queries, each series contains a single value. -For range queries, each series contains multiple values over time. -""" - series: [MetricSeries!]! -""" -Warnings returned by Prometheus, if any. -""" - warnings: [String!]! + """ + Time series data from the query. + For instant queries, each series contains a single value. + For range queries, each series contains multiple values over time. + """ + series: [MetricSeries!]! + + """Warnings returned by Prometheus, if any.""" + warnings: [String!]! } """ @@ -3755,873 +3612,699 @@ To prevent excessive memory usage, queries are subject to limits: - Total data points cannot exceed 11,000 """ input MetricsRangeInput { -""" -Input for Prometheus range queries. - -To prevent excessive memory usage, queries are subject to limits: -- Step must be at least 10 seconds -- Time range (end - start) cannot exceed 30 days -- Total data points cannot exceed 11,000 -""" - start: Time! -""" -Input for Prometheus range queries. + """Start timestamp for the range query.""" + start: Time! -To prevent excessive memory usage, queries are subject to limits: -- Step must be at least 10 seconds -- Time range (end - start) cannot exceed 30 days -- Total data points cannot exceed 11,000 -""" - end: Time! -""" -Input for Prometheus range queries. + """ + End timestamp for the range query. + Must be after start time. + """ + end: Time! -To prevent excessive memory usage, queries are subject to limits: -- Step must be at least 10 seconds -- Time range (end - start) cannot exceed 30 days -- Total data points cannot exceed 11,000 -""" - step: Int! + """ + Query resolution step width in seconds. + Must be at least 10 seconds. + Example: 60 for 1-minute intervals + """ + step: Int! } -type MissingSbomIssue implements Issue & Node{ - id: ID! - teamEnvironment: TeamEnvironment! - severity: Severity! - message: String! - workload: Workload! +type MissingSbomIssue implements Issue & Node { + id: ID! + teamEnvironment: TeamEnvironment! + severity: Severity! + message: String! + workload: Workload! } -""" -The mutation root for the Nais GraphQL API. -""" +"""The mutation root for the Nais GraphQL API.""" type Mutation { -""" -Delete an application. -""" - deleteApplication( -""" -Input for deleting an application. -""" - input: DeleteApplicationInput! - ): DeleteApplicationPayload! -""" -Restart an application. -""" - restartApplication( -""" -Input for restarting an application. -""" - input: RestartApplicationInput! - ): RestartApplicationPayload! -""" -Update the deploy key of a team. Returns the updated deploy key. -""" - changeDeploymentKey( - input: ChangeDeploymentKeyInput! - ): ChangeDeploymentKeyPayload! -""" -Delete a job. -""" - deleteJob( - input: DeleteJobInput! - ): DeleteJobPayload! -""" -Delete a job run. -""" - deleteJobRun( - input: DeleteJobRunInput! - ): DeleteJobRunPayload! -""" -Trigger a job -""" - triggerJob( - input: TriggerJobInput! - ): TriggerJobPayload! -""" -Create a new OpenSearch instance. -""" - createOpenSearch( - input: CreateOpenSearchInput! - ): CreateOpenSearchPayload! -""" -Update an existing OpenSearch instance. -""" - updateOpenSearch( - input: UpdateOpenSearchInput! - ): UpdateOpenSearchPayload! -""" -Delete an existing OpenSearch instance. -""" - deleteOpenSearch( - input: DeleteOpenSearchInput! - ): DeleteOpenSearchPayload! -""" -Grant temporary access to a Postgres cluster. -""" - grantPostgresAccess( - input: GrantPostgresAccessInput! - ): GrantPostgresAccessPayload! -""" -Enable a reconciler + """Create temporary credentials for an OpenSearch instance.""" + createOpenSearchCredentials(input: CreateOpenSearchCredentialsInput!): CreateOpenSearchCredentialsPayload! -A reconciler must be fully configured before it can be enabled. -""" - enableReconciler( - input: EnableReconcilerInput! - ): Reconciler! -""" -Disable a reconciler + """Create temporary credentials for a Valkey instance.""" + createValkeyCredentials(input: CreateValkeyCredentialsInput!): CreateValkeyCredentialsPayload! -The reconciler configuration will be left intact. -""" - disableReconciler( - input: DisableReconcilerInput! - ): Reconciler! -""" -Configure a reconciler. -""" - configureReconciler( - input: ConfigureReconcilerInput! - ): Reconciler! -""" -Add a team repository. -""" - addRepositoryToTeam( - input: AddRepositoryToTeamInput! - ): AddRepositoryToTeamPayload! -""" -Remove a team repository. -""" - removeRepositoryFromTeam( - input: RemoveRepositoryFromTeamInput! - ): RemoveRepositoryFromTeamPayload! -""" -Create a new secret. -""" - createSecret( - input: CreateSecretInput! - ): CreateSecretPayload! -""" -Add a secret value to a secret. -""" - addSecretValue( - input: AddSecretValueInput! - ): AddSecretValuePayload! -""" -Update a secret value within a secret. -""" - updateSecretValue( - input: UpdateSecretValueInput! - ): UpdateSecretValuePayload! -""" -Remove a secret value from a secret. -""" - removeSecretValue( - input: RemoveSecretValueInput! - ): RemoveSecretValuePayload! -""" -Delete a secret, and the values it contains. -""" - deleteSecret( - input: DeleteSecretInput! - ): DeleteSecretPayload! -""" -View the values of a secret. Requires team membership and a reason for access. -This creates a temporary elevation and logs the access for auditing purposes. -""" - viewSecretValues( - input: ViewSecretValuesInput! - ): ViewSecretValuesPayload! -""" -Create a service account. -""" - createServiceAccount( - input: CreateServiceAccountInput! - ): CreateServiceAccountPayload! -""" -Update a service account. -""" - updateServiceAccount( - input: UpdateServiceAccountInput! - ): UpdateServiceAccountPayload! -""" -Delete a service account. -""" - deleteServiceAccount( - input: DeleteServiceAccountInput! - ): DeleteServiceAccountPayload! -""" -Assign a role to a service account. -""" - assignRoleToServiceAccount( - input: AssignRoleToServiceAccountInput! - ): AssignRoleToServiceAccountPayload! -""" -Revoke a role from a service account. -""" - revokeRoleFromServiceAccount( - input: RevokeRoleFromServiceAccountInput! - ): RevokeRoleFromServiceAccountPayload! -""" -Create a service account token. + """Create temporary credentials for Kafka.""" + createKafkaCredentials(input: CreateKafkaCredentialsInput!): CreateKafkaCredentialsPayload! -The secret is automatically generated, and is returned as a part of the payload for this mutation. The secret can -not be retrieved at a later stage. + """Delete an application.""" + deleteApplication( + """Input for deleting an application.""" + input: DeleteApplicationInput! + ): DeleteApplicationPayload! -A service account can have multiple active tokens at the same time. -""" - createServiceAccountToken( - input: CreateServiceAccountTokenInput! - ): CreateServiceAccountTokenPayload! -""" -Update a service account token. + """Restart an application.""" + restartApplication( + """Input for restarting an application.""" + input: RestartApplicationInput! + ): RestartApplicationPayload! -Note that the secret itself can not be updated, only the metadata. -""" - updateServiceAccountToken( - input: UpdateServiceAccountTokenInput! - ): UpdateServiceAccountTokenPayload! -""" -Delete a service account token. -""" - deleteServiceAccountToken( - input: DeleteServiceAccountTokenInput! - ): DeleteServiceAccountTokenPayload! -""" -Start maintenance updates for a Valkey instance. -""" - startValkeyMaintenance( - input: StartValkeyMaintenanceInput! - ): StartValkeyMaintenancePayload -""" -Start maintenance updates for an OpenSearch instance. -""" - startOpenSearchMaintenance( - input: StartOpenSearchMaintenanceInput! - ): StartOpenSearchMaintenancePayload -""" -Create a new Nais team + """Create a new config.""" + createConfig(input: CreateConfigInput!): CreateConfigPayload! -The user creating the team will be granted team ownership, unless the user is a service account, in which case the -team will not get an initial owner. To add one or more owners to the team, refer to the `addTeamOwners` mutation. + """Add a value to a config.""" + addConfigValue(input: AddConfigValueInput!): AddConfigValuePayload! -Creation of a team will also create external resources for the team, which will be managed by the Nais API -reconcilers. This will be done asynchronously. + """Update a value within a config.""" + updateConfigValue(input: UpdateConfigValueInput!): UpdateConfigValuePayload! -Refer to the [official Nais documentation](https://docs.nais.io/explanations/team/) for more information regarding -Nais teams. -""" - createTeam( - input: CreateTeamInput! - ): CreateTeamPayload! -""" -Update an existing Nais team + """Remove a value from a config.""" + removeConfigValue(input: RemoveConfigValueInput!): RemoveConfigValuePayload! -This mutation can be used to update the team purpose and the main Slack channel. It is not possible to update the -team slug. -""" - updateTeam( - input: UpdateTeamInput! - ): UpdateTeamPayload! -""" -Update an environment for a team -""" - updateTeamEnvironment( - input: UpdateTeamEnvironmentInput! - ): UpdateTeamEnvironmentPayload! -""" -Request a key that can be used to trigger a team deletion process - -Deleting a team is a two step process. First an owner of the team (or an admin) must request a team deletion key, -and then a second owner of the team (or an admin) must confirm the deletion using the confirmTeamDeletion mutation. - -The returned delete key is valid for an hour, and can only be used once. - -Note: Service accounts are not allowed to request team delete keys. -""" - requestTeamDeletion( - input: RequestTeamDeletionInput! - ): RequestTeamDeletionPayload! -""" -Confirm a team deletion - -This will start the actual team deletion process, which will be done in an asynchronous manner. All external -entities controlled by Nais will also be deleted. - -WARNING: There is no going back after starting this process. + """Delete a config, and the values it contains.""" + deleteConfig(input: DeleteConfigInput!): DeleteConfigPayload! -Note: Service accounts are not allowed to confirm a team deletion. -""" - confirmTeamDeletion( - input: ConfirmTeamDeletionInput! - ): ConfirmTeamDeletionPayload! -""" -Add a team member + """Update the deploy key of a team. Returns the updated deploy key.""" + changeDeploymentKey(input: ChangeDeploymentKeyInput!): ChangeDeploymentKeyPayload! -If the user is already a member or an owner of the team, the mutation will result in an error. -""" - addTeamMember( - input: AddTeamMemberInput! - ): AddTeamMemberPayload! -""" -Remove a team member + """Delete a job.""" + deleteJob(input: DeleteJobInput!): DeleteJobPayload! -If the user is not already a member or an owner of the team, the mutation will result in an error. -""" - removeTeamMember( - input: RemoveTeamMemberInput! - ): RemoveTeamMemberPayload! -""" -Assign a role to a team member + """Trigger a job""" + triggerJob(input: TriggerJobInput!): TriggerJobPayload! -The user must already be a member of the team for this mutation to succeed. -""" - setTeamMemberRole( - input: SetTeamMemberRoleInput! - ): SetTeamMemberRolePayload! -""" -Create a new Unleash instance. + """Create a new OpenSearch instance.""" + createOpenSearch(input: CreateOpenSearchInput!): CreateOpenSearchPayload! -This mutation will create a new Unleash instance for the given team. The team -will be set as owner of the Unleash instance and will be able to manage it. + """Update an existing OpenSearch instance.""" + updateOpenSearch(input: UpdateOpenSearchInput!): UpdateOpenSearchPayload! -By default, instances are created with the default version. -Optionally specify a releaseChannel to subscribe to automatic version updates. -""" - createUnleashForTeam( - input: CreateUnleashForTeamInput! - ): CreateUnleashForTeamPayload! -""" -Update an Unleash instance's release channel. + """Delete an existing OpenSearch instance.""" + deleteOpenSearch(input: DeleteOpenSearchInput!): DeleteOpenSearchPayload! -Use this mutation to change to a different release channel. -""" - updateUnleashInstance( - input: UpdateUnleashInstanceInput! - ): UpdateUnleashInstancePayload! -""" -Add team to the list of teams that can access the Unleash instance. -""" - allowTeamAccessToUnleash( - input: AllowTeamAccessToUnleashInput! - ): AllowTeamAccessToUnleashPayload! -""" -Remove team from the list of teams that can access the Unleash instance. -""" - revokeTeamAccessToUnleash( - input: RevokeTeamAccessToUnleashInput! - ): RevokeTeamAccessToUnleashPayload! -""" -Delete an Unleash instance. + """Grant temporary access to a Postgres cluster.""" + grantPostgresAccess(input: GrantPostgresAccessInput!): GrantPostgresAccessPayload! -The Unleash instance can only be deleted if no other teams have access to it. -Revoke access for all other teams before deleting the instance. -""" - deleteUnleashInstance( - input: DeleteUnleashInstanceInput! - ): DeleteUnleashInstancePayload! -""" -Create a new Valkey instance. -""" - createValkey( - input: CreateValkeyInput! - ): CreateValkeyPayload! -""" -Update an existing Valkey instance. -""" - updateValkey( - input: UpdateValkeyInput! - ): UpdateValkeyPayload! -""" -Delete an existing Valkey instance. -""" - deleteValkey( - input: DeleteValkeyInput! - ): DeleteValkeyPayload! -""" -Updates a vulnerability -This mutation is currently unstable and may change in the future. -""" - updateImageVulnerability( - input: UpdateImageVulnerabilityInput! - ): UpdateImageVulnerabilityPayload! -""" -Create temporary credentials for an OpenSearch instance. -""" - createOpenSearchCredentials( - input: CreateOpenSearchCredentialsInput! - ): CreateOpenSearchCredentialsPayload! -""" -Create temporary credentials for a Valkey instance. -""" - createValkeyCredentials( - input: CreateValkeyCredentialsInput! - ): CreateValkeyCredentialsPayload! -""" -Create temporary credentials for Kafka. -""" - createKafkaCredentials( - input: CreateKafkaCredentialsInput! - ): CreateKafkaCredentialsPayload! + """ + Enable a reconciler + + A reconciler must be fully configured before it can be enabled. + """ + enableReconciler(input: EnableReconcilerInput!): Reconciler! + + """ + Disable a reconciler + + The reconciler configuration will be left intact. + """ + disableReconciler(input: DisableReconcilerInput!): Reconciler! + + """Configure a reconciler.""" + configureReconciler(input: ConfigureReconcilerInput!): Reconciler! + + """Add a team repository.""" + addRepositoryToTeam(input: AddRepositoryToTeamInput!): AddRepositoryToTeamPayload! + + """Remove a team repository.""" + removeRepositoryFromTeam(input: RemoveRepositoryFromTeamInput!): RemoveRepositoryFromTeamPayload! + + """Create a new secret.""" + createSecret(input: CreateSecretInput!): CreateSecretPayload! + + """Add a secret value to a secret.""" + addSecretValue(input: AddSecretValueInput!): AddSecretValuePayload! + + """Update a secret value within a secret.""" + updateSecretValue(input: UpdateSecretValueInput!): UpdateSecretValuePayload! + + """Remove a secret value from a secret.""" + removeSecretValue(input: RemoveSecretValueInput!): RemoveSecretValuePayload! + + """Delete a secret, and the values it contains.""" + deleteSecret(input: DeleteSecretInput!): DeleteSecretPayload! + + """ + View the values of a secret. Requires team membership and a reason for access. + This creates a temporary elevation and logs the access for auditing purposes. + """ + viewSecretValues(input: ViewSecretValuesInput!): ViewSecretValuesPayload! + + """Create a service account.""" + createServiceAccount(input: CreateServiceAccountInput!): CreateServiceAccountPayload! + + """Update a service account.""" + updateServiceAccount(input: UpdateServiceAccountInput!): UpdateServiceAccountPayload! + + """Delete a service account.""" + deleteServiceAccount(input: DeleteServiceAccountInput!): DeleteServiceAccountPayload! + + """Assign a role to a service account.""" + assignRoleToServiceAccount(input: AssignRoleToServiceAccountInput!): AssignRoleToServiceAccountPayload! + + """Revoke a role from a service account.""" + revokeRoleFromServiceAccount(input: RevokeRoleFromServiceAccountInput!): RevokeRoleFromServiceAccountPayload! + + """ + Create a service account token. + + The secret is automatically generated, and is returned as a part of the payload for this mutation. The secret can + not be retrieved at a later stage. + + A service account can have multiple active tokens at the same time. + """ + createServiceAccountToken(input: CreateServiceAccountTokenInput!): CreateServiceAccountTokenPayload! + + """ + Update a service account token. + + Note that the secret itself can not be updated, only the metadata. + """ + updateServiceAccountToken(input: UpdateServiceAccountTokenInput!): UpdateServiceAccountTokenPayload! + + """Delete a service account token.""" + deleteServiceAccountToken(input: DeleteServiceAccountTokenInput!): DeleteServiceAccountTokenPayload! + + """Start maintenance updates for a Valkey instance.""" + startValkeyMaintenance(input: StartValkeyMaintenanceInput!): StartValkeyMaintenancePayload + + """Start maintenance updates for an OpenSearch instance.""" + startOpenSearchMaintenance(input: StartOpenSearchMaintenanceInput!): StartOpenSearchMaintenancePayload + + """ + Create a new Nais team + + The user creating the team will be granted team ownership, unless the user is a service account, in which case the + team will not get an initial owner. To add one or more owners to the team, refer to the `addTeamOwners` mutation. + + Creation of a team will also create external resources for the team, which will be managed by the Nais API + reconcilers. This will be done asynchronously. + + Refer to the [official Nais documentation](https://docs.nais.io/explanations/team/) for more information regarding + Nais teams. + """ + createTeam(input: CreateTeamInput!): CreateTeamPayload! + + """ + Update an existing Nais team + + This mutation can be used to update the team purpose and the main Slack channel. It is not possible to update the + team slug. + """ + updateTeam(input: UpdateTeamInput!): UpdateTeamPayload! + + """Update an environment for a team""" + updateTeamEnvironment(input: UpdateTeamEnvironmentInput!): UpdateTeamEnvironmentPayload! + + """ + Request a key that can be used to trigger a team deletion process + + Deleting a team is a two step process. First an owner of the team (or an admin) must request a team deletion key, + and then a second owner of the team (or an admin) must confirm the deletion using the confirmTeamDeletion mutation. + + The returned delete key is valid for an hour, and can only be used once. + + Note: Service accounts are not allowed to request team delete keys. + """ + requestTeamDeletion(input: RequestTeamDeletionInput!): RequestTeamDeletionPayload! + + """ + Confirm a team deletion + + This will start the actual team deletion process, which will be done in an asynchronous manner. All external + entities controlled by Nais will also be deleted. + + WARNING: There is no going back after starting this process. + + Note: Service accounts are not allowed to confirm a team deletion. + """ + confirmTeamDeletion(input: ConfirmTeamDeletionInput!): ConfirmTeamDeletionPayload! + + """ + Add a team member + + If the user is already a member or an owner of the team, the mutation will result in an error. + """ + addTeamMember(input: AddTeamMemberInput!): AddTeamMemberPayload! + + """ + Remove a team member + + If the user is not already a member or an owner of the team, the mutation will result in an error. + """ + removeTeamMember(input: RemoveTeamMemberInput!): RemoveTeamMemberPayload! + + """ + Assign a role to a team member + + The user must already be a member of the team for this mutation to succeed. + """ + setTeamMemberRole(input: SetTeamMemberRoleInput!): SetTeamMemberRolePayload! + + """ + Create a new Unleash instance. + + This mutation will create a new Unleash instance for the given team. The team + will be set as owner of the Unleash instance and will be able to manage it. + + By default, instances are created with the default version. + Optionally specify a releaseChannel to subscribe to automatic version updates. + """ + createUnleashForTeam(input: CreateUnleashForTeamInput!): CreateUnleashForTeamPayload! + + """ + Update an Unleash instance's release channel. + + Use this mutation to change to a different release channel. + """ + updateUnleashInstance(input: UpdateUnleashInstanceInput!): UpdateUnleashInstancePayload! + + """Add team to the list of teams that can access the Unleash instance.""" + allowTeamAccessToUnleash(input: AllowTeamAccessToUnleashInput!): AllowTeamAccessToUnleashPayload! + + """ + Remove team from the list of teams that can access the Unleash instance. + """ + revokeTeamAccessToUnleash(input: RevokeTeamAccessToUnleashInput!): RevokeTeamAccessToUnleashPayload! + + """ + Delete an Unleash instance. + + The Unleash instance can only be deleted if no other teams have access to it. + Revoke access for all other teams before deleting the instance. + """ + deleteUnleashInstance(input: DeleteUnleashInstanceInput!): DeleteUnleashInstancePayload! + + """Create a new Valkey instance.""" + createValkey(input: CreateValkeyInput!): CreateValkeyPayload! + + """Update an existing Valkey instance.""" + updateValkey(input: UpdateValkeyInput!): UpdateValkeyPayload! + + """Delete an existing Valkey instance.""" + deleteValkey(input: DeleteValkeyInput!): DeleteValkeyPayload! + + """ + Updates a vulnerability + This mutation is currently unstable and may change in the future. + """ + updateImageVulnerability(input: UpdateImageVulnerabilityInput!): UpdateImageVulnerabilityPayload! } type NetworkPolicy { - inbound: InboundNetworkPolicy! - outbound: OutboundNetworkPolicy! + inbound: InboundNetworkPolicy! + outbound: OutboundNetworkPolicy! } type NetworkPolicyRule { - targetWorkloadName: String! - targetWorkload: Workload - targetTeamSlug: Slug! - targetTeam: Team - mutual: Boolean! + targetWorkloadName: String! + targetWorkload: Workload + targetTeamSlug: Slug! + targetTeam: Team + mutual: Boolean! } -type NoRunningInstancesIssue implements Issue & Node{ - id: ID! - teamEnvironment: TeamEnvironment! - severity: Severity! - message: String! - workload: Workload! +type NoRunningInstancesIssue implements Issue & Node { + id: ID! + teamEnvironment: TeamEnvironment! + severity: Severity! + message: String! + workload: Workload! } """ This interface is implemented by types that supports the [Global Object Identification specification](https://graphql.org/learn/global-object-identification/). """ interface Node { -""" -This interface is implemented by types that supports the [Global Object Identification specification](https://graphql.org/learn/global-object-identification/). -""" - id: ID! -} - -type OpenSearch implements Persistence & Node & ActivityLogger{ - id: ID! - name: String! - team: Team! - environment: TeamEnvironment! @deprecated(reason: "Use the `teamEnvironment` field instead.") - teamEnvironment: TeamEnvironment! - terminationProtection: Boolean! - state: OpenSearchState! - workload: Workload @deprecated(reason: "OpenSearch does not have a owner, so this field will always be null.") - access( - first: Int - after: Cursor - last: Int - before: Cursor - orderBy: OpenSearchAccessOrder - ): OpenSearchAccessConnection! -""" -Fetch version for the OpenSearch instance. -""" - version: OpenSearchVersion! -""" -Availability tier for the OpenSearch instance. -""" - tier: OpenSearchTier! -""" -Available memory for the OpenSearch instance. -""" - memory: OpenSearchMemory! -""" -Available storage in GB. -""" - storageGB: Int! -""" -Issues that affects the instance. -""" - issues( -""" -Get the first n items in the connection. This can be used in combination with the after parameter. -""" - first: Int -""" -Get items after this cursor. -""" - after: Cursor -""" -Get the last n items in the connection. This can be used in combination with the before parameter. -""" - last: Int -""" -Get items before this cursor. -""" - before: Cursor -""" -Ordering options for items returned from the connection. -""" - orderBy: IssueOrder -""" -Filtering options for items returned from the connection. -""" - filter: ResourceIssueFilter - ): IssueConnection! -""" -Activity log associated with the reconciler. -""" - activityLog( -""" -Get the first n items in the connection. This can be used in combination with the after parameter. -""" - first: Int -""" -Get items after this cursor. -""" - after: Cursor -""" -Get the last n items in the connection. This can be used in combination with the before parameter. -""" - last: Int -""" -Get items before this cursor. -""" - before: Cursor -""" -Filter items. -""" - filter: ActivityLogFilter - ): ActivityLogEntryConnection! - cost: OpenSearchCost! -""" -Fetch maintenances updates for the OpenSearch instance. -""" - maintenance: OpenSearchMaintenance! + """Globally unique ID of the object.""" + id: ID! +} + +type OpenSearch implements Persistence & Node & ActivityLogger { + id: ID! + name: String! + team: Team! + environment: TeamEnvironment! @deprecated(reason: "Use the `teamEnvironment` field instead.") + teamEnvironment: TeamEnvironment! + terminationProtection: Boolean! + state: OpenSearchState! + workload: Workload @deprecated(reason: "OpenSearch does not have a owner, so this field will always be null.") + access(first: Int, after: Cursor, last: Int, before: Cursor, orderBy: OpenSearchAccessOrder): OpenSearchAccessConnection! + + """Fetch version for the OpenSearch instance.""" + version: OpenSearchVersion! + + """Availability tier for the OpenSearch instance.""" + tier: OpenSearchTier! + + """Available memory for the OpenSearch instance.""" + memory: OpenSearchMemory! + + """Available storage in GB.""" + storageGB: Int! + + """Issues that affects the instance.""" + issues( + """ + Get the first n items in the connection. This can be used in combination with the after parameter. + """ + first: Int + + """Get items after this cursor.""" + after: Cursor + + """ + Get the last n items in the connection. This can be used in combination with the before parameter. + """ + last: Int + + """Get items before this cursor.""" + before: Cursor + + """Ordering options for items returned from the connection.""" + orderBy: IssueOrder + + """Filtering options for items returned from the connection.""" + filter: ResourceIssueFilter + ): IssueConnection! + + """Activity log associated with the reconciler.""" + activityLog( + """ + Get the first n items in the connection. This can be used in combination with the after parameter. + """ + first: Int + + """Get items after this cursor.""" + after: Cursor + + """ + Get the last n items in the connection. This can be used in combination with the before parameter. + """ + last: Int + + """Get items before this cursor.""" + before: Cursor + + """Filter items.""" + filter: ActivityLogFilter + ): ActivityLogEntryConnection! + cost: OpenSearchCost! + + """Fetch maintenances updates for the OpenSearch instance.""" + maintenance: OpenSearchMaintenance! } type OpenSearchAccess { - workload: Workload! - access: String! + workload: Workload! + access: String! } type OpenSearchAccessConnection { - pageInfo: PageInfo! - nodes: [OpenSearchAccess!]! - edges: [OpenSearchAccessEdge!]! + pageInfo: PageInfo! + nodes: [OpenSearchAccess!]! + edges: [OpenSearchAccessEdge!]! } type OpenSearchAccessEdge { - cursor: Cursor! - node: OpenSearchAccess! + cursor: Cursor! + node: OpenSearchAccess! } input OpenSearchAccessOrder { - field: OpenSearchAccessOrderField! - direction: OrderDirection! + field: OpenSearchAccessOrderField! + direction: OrderDirection! } enum OpenSearchAccessOrderField { - ACCESS - WORKLOAD + ACCESS + WORKLOAD } type OpenSearchConnection { - pageInfo: PageInfo! - nodes: [OpenSearch!]! - edges: [OpenSearchEdge!]! + pageInfo: PageInfo! + nodes: [OpenSearch!]! + edges: [OpenSearchEdge!]! } type OpenSearchCost { - sum: Float! + sum: Float! } -type OpenSearchCreatedActivityLogEntry implements ActivityLogEntry & Node{ -""" -ID of the entry. -""" - id: ID! -""" -The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. -""" - actor: String! -""" -Creation time of the entry. -""" - createdAt: Time! -""" -Message that summarizes the entry. -""" - message: String! -""" -Type of the resource that was affected by the action. -""" - resourceType: ActivityLogEntryResourceType! -""" -Name of the resource that was affected by the action. -""" - resourceName: String! -""" -The team slug that the entry belongs to. -""" - teamSlug: Slug! -""" -The environment name that the entry belongs to. -""" - environmentName: String +type OpenSearchCreatedActivityLogEntry implements ActivityLogEntry & Node { + """ID of the entry.""" + id: ID! + + """ + The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + """ + actor: String! + + """Creation time of the entry.""" + createdAt: Time! + + """Message that summarizes the entry.""" + message: String! + + """Type of the resource that was affected by the action.""" + resourceType: ActivityLogEntryResourceType! + + """Name of the resource that was affected by the action.""" + resourceName: String! + + """The team slug that the entry belongs to.""" + teamSlug: Slug! + + """The environment name that the entry belongs to.""" + environmentName: String } -type OpenSearchDeletedActivityLogEntry implements ActivityLogEntry & Node{ -""" -ID of the entry. -""" - id: ID! -""" -The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. -""" - actor: String! -""" -Creation time of the entry. -""" - createdAt: Time! -""" -Message that summarizes the entry. -""" - message: String! -""" -Type of the resource that was affected by the action. -""" - resourceType: ActivityLogEntryResourceType! -""" -Name of the resource that was affected by the action. -""" - resourceName: String! -""" -The team slug that the entry belongs to. -""" - teamSlug: Slug! -""" -The environment name that the entry belongs to. -""" - environmentName: String +type OpenSearchCredentials { + """Username for the OpenSearch instance.""" + username: String! + + """Password for the OpenSearch instance.""" + password: String! + + """Hostname of the OpenSearch instance.""" + host: String! + + """Port of the OpenSearch instance.""" + port: Int! + + """Full connection URI for the OpenSearch instance.""" + uri: String! +} + +type OpenSearchDeletedActivityLogEntry implements ActivityLogEntry & Node { + """ID of the entry.""" + id: ID! + + """ + The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + """ + actor: String! + + """Creation time of the entry.""" + createdAt: Time! + + """Message that summarizes the entry.""" + message: String! + + """Type of the resource that was affected by the action.""" + resourceType: ActivityLogEntryResourceType! + + """Name of the resource that was affected by the action.""" + resourceName: String! + + """The team slug that the entry belongs to.""" + teamSlug: Slug! + + """The environment name that the entry belongs to.""" + environmentName: String } type OpenSearchEdge { - cursor: Cursor! - node: OpenSearch! + cursor: Cursor! + node: OpenSearch! } -type OpenSearchIssue implements Issue & Node{ - id: ID! - teamEnvironment: TeamEnvironment! - severity: Severity! - message: String! - openSearch: OpenSearch! - event: String! +type OpenSearchIssue implements Issue & Node { + id: ID! + teamEnvironment: TeamEnvironment! + severity: Severity! + message: String! + openSearch: OpenSearch! + event: String! } type OpenSearchMaintenance { -""" -The day and time of the week when the maintenance will be scheduled. -""" - window: MaintenanceWindow - updates( -""" -Get the first n items in the connection. This can be used in combination with the after parameter. -""" - first: Int -""" -Get items after this cursor. -""" - after: Cursor -""" -Get the last n items in the connection. This can be used in combination with the before parameter. -""" - last: Int -""" -Get items before this cursor. -""" - before: Cursor - ): OpenSearchMaintenanceUpdateConnection! + """The day and time of the week when the maintenance will be scheduled.""" + window: MaintenanceWindow + updates( + """ + Get the first n items in the connection. This can be used in combination with the after parameter. + """ + first: Int + + """Get items after this cursor.""" + after: Cursor + + """ + Get the last n items in the connection. This can be used in combination with the before parameter. + """ + last: Int + + """Get items before this cursor.""" + before: Cursor + ): OpenSearchMaintenanceUpdateConnection! } -type OpenSearchMaintenanceUpdate implements ServiceMaintenanceUpdate{ -""" -Title of the maintenance. -""" - title: String! -""" -Description of the maintenance. -""" - description: String! -""" -Deadline for installing the maintenance. If set, maintenance is mandatory and will be forcibly applied. -""" - deadline: Time -""" -The time when the update will be automatically applied. If set, maintenance is mandatory and will be forcibly applied. -""" - startAt: Time +type OpenSearchMaintenanceUpdate implements ServiceMaintenanceUpdate { + """Title of the maintenance.""" + title: String! + + """Description of the maintenance.""" + description: String! + + """ + Deadline for installing the maintenance. If set, maintenance is mandatory and will be forcibly applied. + """ + deadline: Time + + """ + The time when the update will be automatically applied. If set, maintenance is mandatory and will be forcibly applied. + """ + startAt: Time } type OpenSearchMaintenanceUpdateConnection { -""" -Pagination information. -""" - pageInfo: PageInfo! -""" -List of nodes. -""" - nodes: [OpenSearchMaintenanceUpdate!]! -""" -List of edges. -""" - edges: [OpenSearchMaintenanceUpdateEdge!]! + """Pagination information.""" + pageInfo: PageInfo! + + """List of nodes.""" + nodes: [OpenSearchMaintenanceUpdate!]! + + """List of edges.""" + edges: [OpenSearchMaintenanceUpdateEdge!]! } type OpenSearchMaintenanceUpdateEdge { -""" -Cursor for this edge that can be used for pagination. -""" - cursor: Cursor! -""" -The OpenSearchMaintenanceUpdate. -""" - node: OpenSearchMaintenanceUpdate! + """Cursor for this edge that can be used for pagination.""" + cursor: Cursor! + + """The OpenSearchMaintenanceUpdate.""" + node: OpenSearchMaintenanceUpdate! } enum OpenSearchMajorVersion { -""" -OpenSearch Version 3.3.x -""" - V3_3 -""" -OpenSearch Version 2.19.x -""" - V2_19 -""" -OpenSearch Version 2.17.x -""" - V2 -""" -OpenSearch Version 1.3.x -""" - V1 + """OpenSearch Version 3.3.x""" + V3_3 + + """OpenSearch Version 2.19.x""" + V2_19 + + """OpenSearch Version 2.17.x""" + V2 + + """OpenSearch Version 1.3.x""" + V1 } enum OpenSearchMemory { - GB_2 - GB_4 - GB_8 - GB_16 - GB_32 - GB_64 + GB_2 + GB_4 + GB_8 + GB_16 + GB_32 + GB_64 } input OpenSearchOrder { - field: OpenSearchOrderField! - direction: OrderDirection! + field: OpenSearchOrderField! + direction: OrderDirection! } enum OpenSearchOrderField { - NAME - ENVIRONMENT - STATE -""" -Order OpenSearches by issue severity -""" - ISSUES + NAME + ENVIRONMENT + STATE + + """Order OpenSearches by issue severity""" + ISSUES } enum OpenSearchState { - POWEROFF - REBALANCING - REBUILDING - RUNNING - UNKNOWN + POWEROFF + REBALANCING + REBUILDING + RUNNING + UNKNOWN } enum OpenSearchTier { - SINGLE_NODE - HIGH_AVAILABILITY + SINGLE_NODE + HIGH_AVAILABILITY } -type OpenSearchUpdatedActivityLogEntry implements ActivityLogEntry & Node{ -""" -ID of the entry. -""" - id: ID! -""" -The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. -""" - actor: String! -""" -Creation time of the entry. -""" - createdAt: Time! -""" -Message that summarizes the entry. -""" - message: String! -""" -Type of the resource that was affected by the action. -""" - resourceType: ActivityLogEntryResourceType! -""" -Name of the resource that was affected by the action. -""" - resourceName: String! -""" -The team slug that the entry belongs to. -""" - teamSlug: Slug! -""" -The environment name that the entry belongs to. -""" - environmentName: String -""" -Data associated with the entry. -""" - data: OpenSearchUpdatedActivityLogEntryData! +type OpenSearchUpdatedActivityLogEntry implements ActivityLogEntry & Node { + """ID of the entry.""" + id: ID! + + """ + The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + """ + actor: String! + + """Creation time of the entry.""" + createdAt: Time! + + """Message that summarizes the entry.""" + message: String! + + """Type of the resource that was affected by the action.""" + resourceType: ActivityLogEntryResourceType! + + """Name of the resource that was affected by the action.""" + resourceName: String! + + """The team slug that the entry belongs to.""" + teamSlug: Slug! + + """The environment name that the entry belongs to.""" + environmentName: String + + """Data associated with the entry.""" + data: OpenSearchUpdatedActivityLogEntryData! } type OpenSearchUpdatedActivityLogEntryData { - updatedFields: [OpenSearchUpdatedActivityLogEntryDataUpdatedField!]! + updatedFields: [OpenSearchUpdatedActivityLogEntryDataUpdatedField!]! } type OpenSearchUpdatedActivityLogEntryDataUpdatedField { -""" -The name of the field. -""" - field: String! -""" -The old value of the field. -""" - oldValue: String -""" -The new value of the field. -""" - newValue: String + """The name of the field.""" + field: String! + + """The old value of the field.""" + oldValue: String + + """The new value of the field.""" + newValue: String } type OpenSearchVersion { -""" -The full version string of the OpenSearch instance. This will be available after the instance is created. -""" - actual: String -""" -The desired major version of the OpenSearch instance. -""" - desiredMajor: OpenSearchMajorVersion! + """ + The full version string of the OpenSearch instance. This will be available after the instance is created. + """ + actual: String + + """The desired major version of the OpenSearch instance.""" + desiredMajor: OpenSearchMajorVersion! } -""" -Possible directions in which to order a list of items. -""" +"""Possible directions in which to order a list of items.""" enum OrderDirection { -""" -Ascending sort order. -""" - ASC -""" -Descending sort order. -""" - DESC + """Ascending sort order.""" + ASC + + """Descending sort order.""" + DESC } type OutboundNetworkPolicy { - rules: [NetworkPolicyRule!]! - external: [ExternalNetworkPolicyTarget!]! + rules: [NetworkPolicyRule!]! + external: [ExternalNetworkPolicyTarget!]! } """ @@ -4630,1891 +4313,1557 @@ This type is used for paginating the connection Learn more about how we have implemented pagination in the [GraphQL Best Practices documentation](https://graphql.org/learn/pagination/). """ type PageInfo { -""" -Whether or not there exists a next page in the connection. -""" - hasNextPage: Boolean! -""" -The cursor for the last item in the edges. This cursor is used when paginating forwards. -""" - endCursor: Cursor -""" -Whether or not there exists a previous page in the connection. -""" - hasPreviousPage: Boolean! -""" -The cursor for the first item in the edges. This cursor is used when paginating backwards. -""" - startCursor: Cursor -""" -The total amount of items in the connection. -""" - totalCount: Int! -""" -The offset of the first item in the connection. -""" - pageStart: Int! -""" -The offset of the last item in the connection. -""" - pageEnd: Int! + """Whether or not there exists a next page in the connection.""" + hasNextPage: Boolean! + + """ + The cursor for the last item in the edges. This cursor is used when paginating forwards. + """ + endCursor: Cursor + + """Whether or not there exists a previous page in the connection.""" + hasPreviousPage: Boolean! + + """ + The cursor for the first item in the edges. This cursor is used when paginating backwards. + """ + startCursor: Cursor + + """The total amount of items in the connection.""" + totalCount: Int! + + """The offset of the first item in the connection.""" + pageStart: Int! + + """The offset of the last item in the connection.""" + pageEnd: Int! } interface Persistence { - id: ID! - name: String! - team: Team! - environment: TeamEnvironment! - teamEnvironment: TeamEnvironment! + id: ID! + name: String! + team: Team! + environment: TeamEnvironment! @deprecated(reason: "Use the `teamEnvironment` field instead.") + teamEnvironment: TeamEnvironment! } -type PostgresGrantAccessActivityLogEntry implements ActivityLogEntry & Node{ -""" -ID of the entry. -""" - id: ID! -""" -The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. -""" - actor: String! -""" -Creation time of the entry. -""" - createdAt: Time! -""" -Message that summarizes the entry. -""" - message: String! -""" -Type of the resource that was affected by the action. -""" - resourceType: ActivityLogEntryResourceType! -""" -Name of the resource that was affected by the action. -""" - resourceName: String! -""" -The team slug that the entry belongs to. -""" - teamSlug: Slug! -""" -The environment name that the entry belongs to. -""" - environmentName: String -""" -Data associated with the update. -""" - data: PostgresGrantAccessActivityLogEntryData! +type PostgresGrantAccessActivityLogEntry implements ActivityLogEntry & Node { + """ID of the entry.""" + id: ID! + + """ + The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + """ + actor: String! + + """Creation time of the entry.""" + createdAt: Time! + + """Message that summarizes the entry.""" + message: String! + + """Type of the resource that was affected by the action.""" + resourceType: ActivityLogEntryResourceType! + + """Name of the resource that was affected by the action.""" + resourceName: String! + + """The team slug that the entry belongs to.""" + teamSlug: Slug! + + """The environment name that the entry belongs to.""" + environmentName: String + + """Data associated with the update.""" + data: PostgresGrantAccessActivityLogEntryData! } type PostgresGrantAccessActivityLogEntryData { - grantee: String! - until: Time! + grantee: String! + until: Time! } -type PostgresInstance implements Persistence & Node{ - id: ID! - name: String! - team: Team! - environment: TeamEnvironment! @deprecated(reason: "Use the `teamEnvironment` field instead.") - teamEnvironment: TeamEnvironment! -""" -Workloads that reference the Postgres instance. -""" - workloads( -""" -Get the first n items in the connection. This can be used in combination with the after parameter. -""" - first: Int -""" -Get items after this cursor. -""" - after: Cursor -""" -Get the last n items in the connection. This can be used in combination with the before parameter. -""" - last: Int -""" -Get items before this cursor. -""" - before: Cursor - ): WorkloadConnection! -""" -Resource allocation for the Postgres cluster. -""" - resources: PostgresInstanceResources! -""" -Major version of PostgreSQL. -""" - majorVersion: String! -""" -Audit logging configuration for the Postgres cluster. -""" - audit: PostgresInstanceAudit! -""" -Indicates whether the Postgres cluster is configured for high availability. -""" - highAvailability: Boolean! -""" -Current state of the Postgres cluster. -""" - state: PostgresInstanceState! -""" -Maintenance window for the Postgres cluster, if configured. -""" - maintenanceWindow: PostgresInstanceMaintenanceWindow +type PostgresInstance implements Persistence & Node { + id: ID! + name: String! + team: Team! + environment: TeamEnvironment! @deprecated(reason: "Use the `teamEnvironment` field instead.") + teamEnvironment: TeamEnvironment! + + """Workloads that reference the Postgres instance.""" + workloads( + """ + Get the first n items in the connection. This can be used in combination with the after parameter. + """ + first: Int + + """Get items after this cursor.""" + after: Cursor + + """ + Get the last n items in the connection. This can be used in combination with the before parameter. + """ + last: Int + + """Get items before this cursor.""" + before: Cursor + ): WorkloadConnection! + + """Resource allocation for the Postgres cluster.""" + resources: PostgresInstanceResources! + + """Major version of PostgreSQL.""" + majorVersion: String! + + """Audit logging configuration for the Postgres cluster.""" + audit: PostgresInstanceAudit! + + """ + Indicates whether the Postgres cluster is configured for high availability. + """ + highAvailability: Boolean! + + """Current state of the Postgres cluster.""" + state: PostgresInstanceState! + + """Maintenance window for the Postgres cluster, if configured.""" + maintenanceWindow: PostgresInstanceMaintenanceWindow } type PostgresInstanceAudit { -""" -Indicates whether audit logging is enabled for the Postgres cluster. -""" - enabled: Boolean! -""" -URL for accessing the audit logs. -""" - url: String -""" -List of statement classes that are being logged, such as `ddl`, `dml`, and `read`. -""" - statementClasses: [String!] + """Indicates whether audit logging is enabled for the Postgres cluster.""" + enabled: Boolean! + + """URL for accessing the audit logs.""" + url: String + + """ + List of statement classes that are being logged, such as `ddl`, `dml`, and `read`. + """ + statementClasses: [String!] } type PostgresInstanceConnection { - pageInfo: PageInfo! - nodes: [PostgresInstance!]! - edges: [PostgresInstanceEdge!]! + pageInfo: PageInfo! + nodes: [PostgresInstance!]! + edges: [PostgresInstanceEdge!]! } type PostgresInstanceEdge { - cursor: Cursor! - node: PostgresInstance! + cursor: Cursor! + node: PostgresInstance! } type PostgresInstanceMaintenanceWindow { - day: Int! - hour: Int! + day: Int! + hour: Int! } input PostgresInstanceOrder { - field: PostgresInstanceOrderField! - direction: OrderDirection! + field: PostgresInstanceOrderField! + direction: OrderDirection! } enum PostgresInstanceOrderField { - NAME - ENVIRONMENT + NAME + ENVIRONMENT } type PostgresInstanceResources { - cpu: String! - memory: String! - diskSize: String! + cpu: String! + memory: String! + diskSize: String! } enum PostgresInstanceState { - AVAILABLE - PROGRESSING - DEGRADED + AVAILABLE + PROGRESSING + DEGRADED } type Price { - value: Float! + value: Float! } type PrometheusAlarm { -""" -The action to take when the alert fires. -""" - action: String! -""" -The consequence of the alert firing. -""" - consequence: String! -""" -A summary of the alert. -""" - summary: String! -""" -The state of the alert. -""" - state: AlertState! -""" -The current value of the metric that triggered the alert. -""" - value: Float! -""" -The time when the alert started firing. -""" - since: Time! + """The action to take when the alert fires.""" + action: String! + + """The consequence of the alert firing.""" + consequence: String! + + """A summary of the alert.""" + summary: String! + + """The state of the alert.""" + state: AlertState! + + """The current value of the metric that triggered the alert.""" + value: Float! + + """The time when the alert started firing.""" + since: Time! } -""" -PrometheusAlert type -""" -type PrometheusAlert implements Node & Alert{ -""" -The unique identifier for the alert. -""" - id: ID! -""" -The name of the alert. -""" - name: String! -""" -The team that owns the alert. -""" - team: Team! -""" -The team environment for the alert. -""" - teamEnvironment: TeamEnvironment! -""" -The state of the alert. -""" - state: AlertState! -""" -The query for the alert. -""" - query: String! -""" -The duration for the alert. -""" - duration: Float! -""" -The prometheus rule group for the alert. -""" - ruleGroup: String! -""" -The alarms of the alert available if state is firing. -""" - alarms: [PrometheusAlarm!]! +"""PrometheusAlert type""" +type PrometheusAlert implements Node & Alert { + """The unique identifier for the alert.""" + id: ID! + + """The name of the alert.""" + name: String! + + """The team that owns the alert.""" + team: Team! + + """The team environment for the alert.""" + teamEnvironment: TeamEnvironment! + + """The state of the alert.""" + state: AlertState! + + """The query for the alert.""" + query: String! + + """The duration for the alert.""" + duration: Float! + + """The prometheus rule group for the alert.""" + ruleGroup: String! + + """The alarms of the alert available if state is firing.""" + alarms: [PrometheusAlarm!]! } -""" -The query root for the Nais GraphQL API. -""" +"""The query root for the Nais GraphQL API.""" type Query { -""" -Fetch an object using its globally unique ID. -""" - node( -""" -The ID of the object to fetch. -""" - id: ID! - ): Node - roles( -""" -Get the first n items in the connection. This can be used in combination with the after parameter. -""" - first: Int -""" -Get items after this cursor. -""" - after: Cursor -""" -Get the last n items in the connection. This can be used in combination with the before parameter. -""" - last: Int -""" -Get items before this cursor. -""" - before: Cursor - ): RoleConnection! -""" -Get the monthly cost summary for a tenant. -""" - costMonthlySummary( -""" -Start month of the period, inclusive. -""" - from: Date! -""" -End month of the period, inclusive. -""" - to: Date! - ): CostMonthlySummary! -""" -Get a list of deployments. -""" - deployments( -""" -Get the first n items in the connection. This can be used in combination with the after parameter. -""" - first: Int -""" -Get items after this cursor. -""" - after: Cursor -""" -Get the last n items in the connection. This can be used in combination with the before parameter. -""" - last: Int -""" -Get items before this cursor. -""" - before: Cursor -""" -Ordering options for items returned from the connection. -""" - orderBy: DeploymentOrder -""" -Filter options for the deployments returned from the connection. -""" - filter: DeploymentFilter - ): DeploymentConnection! -""" -Get a list of environments. -""" - environments( -""" -Ordering options for environments. -""" - orderBy: EnvironmentOrder - ): EnvironmentConnection! -""" -Get a single environment. -""" - environment( -""" -The name of the environment to get. -""" - name: String! - ): Environment! -""" -Feature flags. -""" - features: Features! -""" -Get current prices for resources. -""" - currentUnitPrices: CurrentUnitPrices! -""" -Get a collection of reconcilers. -""" - reconcilers( -""" -Get the first n items in the connection. This can be used in combination with the after parameter. -""" - first: Int -""" -Get items after this cursor. -""" - after: Cursor -""" -Get the last n items in the connection. This can be used in combination with the before parameter. -""" - last: Int -""" -Get items before this cursor. -""" - before: Cursor - ): ReconcilerConnection! -""" -Search for entities. -""" - search( -""" -Get the first n items in the connection. This can be used in combination with the after parameter. -""" - first: Int -""" -Get items after this cursor. -""" - after: Cursor -""" -Get the last n items in the connection. This can be used in combination with the before parameter. -""" - last: Int -""" -Get items before this cursor. -""" - before: Cursor -""" -Filter the search results. -""" - filter: SearchFilter! - ): SearchNodeConnection! -""" -Get a list of service accounts. -""" - serviceAccounts( -""" -Get the first n items in the connection. This can be used in combination with the after parameter. -""" - first: Int -""" -Get items after this cursor. -""" - after: Cursor -""" -Get the last n items in the connection. This can be used in combination with the before parameter. -""" - last: Int -""" -Get items before this cursor. -""" - before: Cursor - ): ServiceAccountConnection! -""" -Returns a service account by its ID. -""" - serviceAccount( -""" -ID of the service account. -""" - id: ID! - ): ServiceAccount! -""" -Get a list of teams. -""" - teams( -""" -Get the first n items in the connection. This can be used in combination with the after parameter. -""" - first: Int -""" -Get items after this cursor. -""" - after: Cursor -""" -Get the last n items in the connection. This can be used in combination with the before parameter. -""" - last: Int -""" -Get items before this cursor. -""" - before: Cursor -""" -Ordering options for items returned from the connection. -""" - orderBy: TeamOrder -""" -Filter options for the teams returned from the connection. -""" - filter: TeamFilter - ): TeamConnection! -""" -Get a team by its slug. -""" - team( - slug: Slug! - ): Team! -""" -Get a list of available release channels for Unleash instances. -Release channels provide automatic version updates based on the channel's update policy. -""" - unleashReleaseChannels: [UnleashReleaseChannel!]! -""" -Get a list of users. -""" - users( -""" -Get the first n items in the connection. This can be used in combination with the after parameter. -""" - first: Int -""" -Get items after this cursor. -""" - after: Cursor -""" -Get the last n items in the connection. This can be used in combination with the before parameter. -""" - last: Int -""" -Get items before this cursor. -""" - before: Cursor -""" -Ordering options for items returned from the connection. -""" - orderBy: UserOrder - ): UserConnection! -""" -Get a user by an identifier. -""" - user( - email: String - ): User! -""" -The currently authenticated user. -""" - me: AuthenticatedUser! -""" -Log entries from the user sync process. -""" - userSyncLog( -""" -Get the first n items in the connection. This can be used in combination with the after parameter. -""" - first: Int -""" -Get items after this cursor. -""" - after: Cursor -""" -Get the last n items in the connection. This can be used in combination with the before parameter. -""" - last: Int -""" -Get items before this cursor. -""" - before: Cursor - ): UserSyncLogEntryConnection! - teamsUtilization( - resourceType: UtilizationResourceType! - ): [TeamUtilizationData!]! -""" -Get the vulnerability summary history for all teams. -""" - imageVulnerabilityHistory( -""" -Get vulnerability summary from given date until today. -""" - from: Date! - ): ImageVulnerabilityHistory! -""" -Get the vulnerability summary for the tenant. -""" - vulnerabilitySummary: TenantVulnerabilitySummary! -""" -Get the mean time to fix history for all teams. -""" - vulnerabilityFixHistory( - from: Date! - ): VulnerabilityFixHistory! -""" -Get a specific CVE by its identifier. -""" - cve( - identifier: String! - ): CVE! -""" -List active CVEs for workloads in all environments. -""" - cves( -""" -Get the first n items in the connection. This can be used in combination with the after parameter. -""" - first: Int -""" -Get items after this cursor. -""" - after: Cursor -""" -Get the last n items in the connection. This can be used in combination with the before parameter. -""" - last: Int -""" -Get items before this cursor. -""" - before: Cursor -""" -Ordering options for items returned from the connection. -""" - orderBy: CVEOrder - ): CVEConnection! + """Fetch an object using its globally unique ID.""" + node( + """The ID of the object to fetch.""" + id: ID! + ): Node + roles( + """ + Get the first n items in the connection. This can be used in combination with the after parameter. + """ + first: Int + + """Get items after this cursor.""" + after: Cursor + + """ + Get the last n items in the connection. This can be used in combination with the before parameter. + """ + last: Int + + """Get items before this cursor.""" + before: Cursor + ): RoleConnection! + + """Get the monthly cost summary for a tenant.""" + costMonthlySummary( + """Start month of the period, inclusive.""" + from: Date! + + """End month of the period, inclusive.""" + to: Date! + ): CostMonthlySummary! + + """Get a list of deployments.""" + deployments( + """ + Get the first n items in the connection. This can be used in combination with the after parameter. + """ + first: Int + + """Get items after this cursor.""" + after: Cursor + + """ + Get the last n items in the connection. This can be used in combination with the before parameter. + """ + last: Int + + """Get items before this cursor.""" + before: Cursor + + """Ordering options for items returned from the connection.""" + orderBy: DeploymentOrder + + """Filter options for the deployments returned from the connection.""" + filter: DeploymentFilter + ): DeploymentConnection! + + """Get a list of environments.""" + environments( + """Ordering options for environments.""" + orderBy: EnvironmentOrder + ): EnvironmentConnection! + + """Get a single environment.""" + environment( + """The name of the environment to get.""" + name: String! + ): Environment! + + """Feature flags.""" + features: Features! + + """Get current prices for resources.""" + currentUnitPrices: CurrentUnitPrices! + + """Get a collection of reconcilers.""" + reconcilers( + """ + Get the first n items in the connection. This can be used in combination with the after parameter. + """ + first: Int + + """Get items after this cursor.""" + after: Cursor + + """ + Get the last n items in the connection. This can be used in combination with the before parameter. + """ + last: Int + + """Get items before this cursor.""" + before: Cursor + ): ReconcilerConnection! + + """Search for entities.""" + search( + """ + Get the first n items in the connection. This can be used in combination with the after parameter. + """ + first: Int + + """Get items after this cursor.""" + after: Cursor + + """ + Get the last n items in the connection. This can be used in combination with the before parameter. + """ + last: Int + + """Get items before this cursor.""" + before: Cursor + + """Filter the search results.""" + filter: SearchFilter! + ): SearchNodeConnection! + + """Get a list of service accounts.""" + serviceAccounts( + """ + Get the first n items in the connection. This can be used in combination with the after parameter. + """ + first: Int + + """Get items after this cursor.""" + after: Cursor + + """ + Get the last n items in the connection. This can be used in combination with the before parameter. + """ + last: Int + + """Get items before this cursor.""" + before: Cursor + ): ServiceAccountConnection! + + """Returns a service account by its ID.""" + serviceAccount( + """ID of the service account.""" + id: ID! + ): ServiceAccount! + + """Get a list of teams.""" + teams( + """ + Get the first n items in the connection. This can be used in combination with the after parameter. + """ + first: Int + + """Get items after this cursor.""" + after: Cursor + + """ + Get the last n items in the connection. This can be used in combination with the before parameter. + """ + last: Int + + """Get items before this cursor.""" + before: Cursor + + """Ordering options for items returned from the connection.""" + orderBy: TeamOrder + + """Filter options for the teams returned from the connection.""" + filter: TeamFilter + ): TeamConnection! + + """Get a team by its slug.""" + team(slug: Slug!): Team! + + """ + Get a list of available release channels for Unleash instances. + Release channels provide automatic version updates based on the channel's update policy. + """ + unleashReleaseChannels: [UnleashReleaseChannel!]! + + """Get a list of users.""" + users( + """ + Get the first n items in the connection. This can be used in combination with the after parameter. + """ + first: Int + + """Get items after this cursor.""" + after: Cursor + + """ + Get the last n items in the connection. This can be used in combination with the before parameter. + """ + last: Int + + """Get items before this cursor.""" + before: Cursor + + """Ordering options for items returned from the connection.""" + orderBy: UserOrder + ): UserConnection! + + """Get a user by an identifier.""" + user(email: String): User! + + """The currently authenticated user.""" + me: AuthenticatedUser! + + """Log entries from the user sync process.""" + userSyncLog( + """ + Get the first n items in the connection. This can be used in combination with the after parameter. + """ + first: Int + + """Get items after this cursor.""" + after: Cursor + + """ + Get the last n items in the connection. This can be used in combination with the before parameter. + """ + last: Int + + """Get items before this cursor.""" + before: Cursor + ): UserSyncLogEntryConnection! + teamsUtilization(resourceType: UtilizationResourceType!): [TeamUtilizationData!]! + + """Get the vulnerability summary history for all teams.""" + imageVulnerabilityHistory( + """Get vulnerability summary from given date until today.""" + from: Date! + ): ImageVulnerabilityHistory! + + """Get the vulnerability summary for the tenant.""" + vulnerabilitySummary: TenantVulnerabilitySummary! + + """Get the mean time to fix history for all teams.""" + vulnerabilityFixHistory(from: Date!): VulnerabilityFixHistory! + + """Get a specific CVE by its identifier.""" + cve(identifier: String!): CVE! + + """List active CVEs for workloads in all environments.""" + cves( + """ + Get the first n items in the connection. This can be used in combination with the after parameter. + """ + first: Int + + """Get items after this cursor.""" + after: Cursor + + """ + Get the last n items in the connection. This can be used in combination with the before parameter. + """ + last: Int + + """Get items before this cursor.""" + before: Cursor + + """Ordering options for items returned from the connection.""" + orderBy: CVEOrder + ): CVEConnection! } -""" -Reconciler type. -""" -type Reconciler implements Node & ActivityLogger{ -""" -Unique identifier for the reconciler. -""" - id: ID! -""" -The name of the reconciler. -""" - name: String! -""" -The human-friendly name of the reconciler. -""" - displayName: String! -""" -Description of what the reconciler is responsible for. -""" - description: String! -""" -Whether or not the reconciler is enabled. -""" - enabled: Boolean! -""" -Reconciler configuration keys and descriptions. -""" - config: [ReconcilerConfig!]! -""" -Whether or not the reconciler is fully configured and ready to be enabled. -""" - configured: Boolean! -""" -Potential errors that have occurred during the reconciler's operation. -""" - errors( -""" -Get the first n items in the connection. This can be used in combination with the after parameter. -""" - first: Int -""" -Get items after this cursor. -""" - after: Cursor -""" -Get the last n items in the connection. This can be used in combination with the before parameter. -""" - last: Int -""" -Get items before this cursor. -""" - before: Cursor - ): ReconcilerErrorConnection! -""" -Activity log associated with the reconciler. -""" - activityLog( -""" -Get the first n items in the connection. This can be used in combination with the after parameter. -""" - first: Int -""" -Get items after this cursor. -""" - after: Cursor -""" -Get the last n items in the connection. This can be used in combination with the before parameter. -""" - last: Int -""" -Get items before this cursor. -""" - before: Cursor -""" -Filter items. -""" - filter: ActivityLogFilter - ): ActivityLogEntryConnection! +"""Reconciler type.""" +type Reconciler implements Node & ActivityLogger { + """Unique identifier for the reconciler.""" + id: ID! + + """The name of the reconciler.""" + name: String! + + """The human-friendly name of the reconciler.""" + displayName: String! + + """Description of what the reconciler is responsible for.""" + description: String! + + """Whether or not the reconciler is enabled.""" + enabled: Boolean! + + """Reconciler configuration keys and descriptions.""" + config: [ReconcilerConfig!]! + + """ + Whether or not the reconciler is fully configured and ready to be enabled. + """ + configured: Boolean! + + """Potential errors that have occurred during the reconciler's operation.""" + errors( + """ + Get the first n items in the connection. This can be used in combination with the after parameter. + """ + first: Int + + """Get items after this cursor.""" + after: Cursor + + """ + Get the last n items in the connection. This can be used in combination with the before parameter. + """ + last: Int + + """Get items before this cursor.""" + before: Cursor + ): ReconcilerErrorConnection! + + """Activity log associated with the reconciler.""" + activityLog( + """ + Get the first n items in the connection. This can be used in combination with the after parameter. + """ + first: Int + + """Get items after this cursor.""" + after: Cursor + + """ + Get the last n items in the connection. This can be used in combination with the before parameter. + """ + last: Int + + """Get items before this cursor.""" + before: Cursor + + """Filter items.""" + filter: ActivityLogFilter + ): ActivityLogEntryConnection! } -""" -Reconciler configuration type. -""" +"""Reconciler configuration type.""" type ReconcilerConfig { -""" -Configuration key. -""" - key: String! -""" -The human-friendly name of the configuration key. -""" - displayName: String! -""" -Configuration description. -""" - description: String! -""" -Whether or not the configuration key has a value. -""" - configured: Boolean! -""" -Whether or not the configuration value is considered a secret. Secret values will not be exposed through the API. -""" - secret: Boolean! -""" -Configuration value. This will be set to null if the value is considered a secret. -""" - value: String + """Configuration key.""" + key: String! + + """The human-friendly name of the configuration key.""" + displayName: String! + + """Configuration description.""" + description: String! + + """Whether or not the configuration key has a value.""" + configured: Boolean! + + """ + Whether or not the configuration value is considered a secret. Secret values will not be exposed through the API. + """ + secret: Boolean! + + """ + Configuration value. This will be set to null if the value is considered a secret. + """ + value: String } -""" -Reconciler configuration input. -""" +"""Reconciler configuration input.""" input ReconcilerConfigInput { -""" -Reconciler configuration input. -""" - key: String! -""" -Reconciler configuration input. -""" - value: String! + """Configuration key.""" + key: String! + + """Configuration value.""" + value: String! } -type ReconcilerConfiguredActivityLogEntry implements ActivityLogEntry & Node{ -""" -ID of the entry. -""" - id: ID! -""" -The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. -""" - actor: String! -""" -Creation time of the entry. -""" - createdAt: Time! -""" -Message that summarizes the entry. -""" - message: String! -""" -Type of the resource that was affected by the action. -""" - resourceType: ActivityLogEntryResourceType! -""" -Name of the resource that was affected by the action. -""" - resourceName: String! -""" -The team slug that the entry belongs to. -""" - teamSlug: Slug! -""" -The environment name that the entry belongs to. -""" - environmentName: String -""" -Data associated with the update. -""" - data: ReconcilerConfiguredActivityLogEntryData! +type ReconcilerConfiguredActivityLogEntry implements ActivityLogEntry & Node { + """ID of the entry.""" + id: ID! + + """ + The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + """ + actor: String! + + """Creation time of the entry.""" + createdAt: Time! + + """Message that summarizes the entry.""" + message: String! + + """Type of the resource that was affected by the action.""" + resourceType: ActivityLogEntryResourceType! + + """Name of the resource that was affected by the action.""" + resourceName: String! + + """The team slug that the entry belongs to.""" + teamSlug: Slug! + + """The environment name that the entry belongs to.""" + environmentName: String + + """Data associated with the update.""" + data: ReconcilerConfiguredActivityLogEntryData! } type ReconcilerConfiguredActivityLogEntryData { -""" -Keys that were updated. -""" - updatedKeys: [String!]! + """Keys that were updated.""" + updatedKeys: [String!]! } type ReconcilerConnection { -""" -Pagination information. -""" - pageInfo: PageInfo! -""" -List of nodes. -""" - nodes: [Reconciler!]! -""" -List of edges. -""" - edges: [ReconcilerEdge!]! + """Pagination information.""" + pageInfo: PageInfo! + + """List of nodes.""" + nodes: [Reconciler!]! + + """List of edges.""" + edges: [ReconcilerEdge!]! } -type ReconcilerDisabledActivityLogEntry implements ActivityLogEntry & Node{ -""" -ID of the entry. -""" - id: ID! -""" -The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. -""" - actor: String! -""" -Creation time of the entry. -""" - createdAt: Time! -""" -Message that summarizes the entry. -""" - message: String! -""" -Type of the resource that was affected by the action. -""" - resourceType: ActivityLogEntryResourceType! -""" -Name of the resource that was affected by the action. -""" - resourceName: String! -""" -The team slug that the entry belongs to. -""" - teamSlug: Slug! -""" -The environment name that the entry belongs to. -""" - environmentName: String +type ReconcilerDisabledActivityLogEntry implements ActivityLogEntry & Node { + """ID of the entry.""" + id: ID! + + """ + The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + """ + actor: String! + + """Creation time of the entry.""" + createdAt: Time! + + """Message that summarizes the entry.""" + message: String! + + """Type of the resource that was affected by the action.""" + resourceType: ActivityLogEntryResourceType! + + """Name of the resource that was affected by the action.""" + resourceName: String! + + """The team slug that the entry belongs to.""" + teamSlug: Slug! + + """The environment name that the entry belongs to.""" + environmentName: String } type ReconcilerEdge { -""" -Cursor for this edge that can be used for pagination. -""" - cursor: Cursor! -""" -The reconciler. -""" - node: Reconciler! + """Cursor for this edge that can be used for pagination.""" + cursor: Cursor! + + """The reconciler.""" + node: Reconciler! } -type ReconcilerEnabledActivityLogEntry implements ActivityLogEntry & Node{ -""" -ID of the entry. -""" - id: ID! -""" -The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. -""" - actor: String! -""" -Creation time of the entry. -""" - createdAt: Time! -""" -Message that summarizes the entry. -""" - message: String! -""" -Type of the resource that was affected by the action. -""" - resourceType: ActivityLogEntryResourceType! -""" -Name of the resource that was affected by the action. -""" - resourceName: String! -""" -The team slug that the entry belongs to. -""" - teamSlug: Slug! -""" -The environment name that the entry belongs to. -""" - environmentName: String +type ReconcilerEnabledActivityLogEntry implements ActivityLogEntry & Node { + """ID of the entry.""" + id: ID! + + """ + The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + """ + actor: String! + + """Creation time of the entry.""" + createdAt: Time! + + """Message that summarizes the entry.""" + message: String! + + """Type of the resource that was affected by the action.""" + resourceType: ActivityLogEntryResourceType! + + """Name of the resource that was affected by the action.""" + resourceName: String! + + """The team slug that the entry belongs to.""" + teamSlug: Slug! + + """The environment name that the entry belongs to.""" + environmentName: String } -type ReconcilerError implements Node{ -""" -Unique identifier for the reconciler error. -""" - id: ID! -""" -The correlation ID for the reconciler error. -""" - correlationID: String! -""" -Creation timestamp of the reconciler error. -""" - createdAt: Time! -""" -The error message itself. -""" - message: String! -""" -The team that the error belongs to. -""" - team: Team! +type ReconcilerError implements Node { + """Unique identifier for the reconciler error.""" + id: ID! + + """The correlation ID for the reconciler error.""" + correlationID: String! + + """Creation timestamp of the reconciler error.""" + createdAt: Time! + + """The error message itself.""" + message: String! + + """The team that the error belongs to.""" + team: Team! } type ReconcilerErrorConnection { -""" -Pagination information. -""" - pageInfo: PageInfo! -""" -List of nodes. -""" - nodes: [ReconcilerError!]! -""" -List of edges. -""" - edges: [ReconcilerErrorEdge!]! + """Pagination information.""" + pageInfo: PageInfo! + + """List of nodes.""" + nodes: [ReconcilerError!]! + + """List of edges.""" + edges: [ReconcilerErrorEdge!]! } type ReconcilerErrorEdge { -""" -Cursor for this edge that can be used for pagination. -""" - cursor: Cursor! -""" -The reconcilerError. -""" - node: ReconcilerError! + """Cursor for this edge that can be used for pagination.""" + cursor: Cursor! + + """The reconcilerError.""" + node: ReconcilerError! +} + +input RemoveConfigValueInput { + """The name of the config.""" + configName: String! + + """The environment the config exists in.""" + environmentName: String! + + """The team that owns the config.""" + teamSlug: Slug! + + """The config value to remove.""" + valueName: String! +} + +type RemoveConfigValuePayload { + """The updated config.""" + config: Config } input RemoveRepositoryFromTeamInput { - teamSlug: Slug! - repositoryName: String! + """Slug of the team to remove the repository from.""" + teamSlug: Slug! + + """Name of the repository, with the org prefix, for instance 'org/repo'.""" + repositoryName: String! } type RemoveRepositoryFromTeamPayload { -""" -Whether or not the repository was removed from the team. -""" - success: Boolean + """Whether or not the repository was removed from the team.""" + success: Boolean } input RemoveSecretValueInput { - secretName: String! - environment: String! - team: Slug! - valueName: String! + """The name of the secret.""" + secretName: String! + + """The environment the secret exists in.""" + environment: String! + + """The team that owns the secret.""" + team: Slug! + + """The secret value to remove.""" + valueName: String! } type RemoveSecretValuePayload { -""" -The updated secret. -""" - secret: Secret + """The updated secret.""" + secret: Secret } input RemoveTeamMemberInput { - teamSlug: Slug! - userEmail: String! + """Slug of the team that the member should be removed from.""" + teamSlug: Slug! + + """The email address of the user to remove from the team.""" + userEmail: String! } type RemoveTeamMemberPayload { -""" -The user that was removed from the team. -""" - user: User -""" -The team that the member was removed from. -""" - team: Team -} + """The user that was removed from the team.""" + user: User -type Repository implements Node{ -""" -ID of the repository. -""" - id: ID! -""" -Name of the repository, with the organization prefix. -""" - name: String! -""" -Team this repository is connected to. -""" - team: Team! + """The team that the member was removed from.""" + team: Team } -type RepositoryAddedActivityLogEntry implements ActivityLogEntry & Node{ -""" -ID of the entry. -""" - id: ID! -""" -The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. -""" - actor: String! -""" -Creation time of the entry. -""" - createdAt: Time! -""" -Message that summarizes the entry. -""" - message: String! -""" -Type of the resource that was affected by the action. -""" - resourceType: ActivityLogEntryResourceType! -""" -Name of the resource that was affected by the action. -""" - resourceName: String! -""" -The team slug that the entry belongs to. -""" - teamSlug: Slug! -""" -The environment name that the entry belongs to. -""" - environmentName: String -} +type Repository implements Node { + """ID of the repository.""" + id: ID! + + """Name of the repository, with the organization prefix.""" + name: String! + + """Team this repository is connected to.""" + team: Team! +} + +type RepositoryAddedActivityLogEntry implements ActivityLogEntry & Node { + """ID of the entry.""" + id: ID! + + """ + The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + """ + actor: String! + + """Creation time of the entry.""" + createdAt: Time! + + """Message that summarizes the entry.""" + message: String! + + """Type of the resource that was affected by the action.""" + resourceType: ActivityLogEntryResourceType! + + """Name of the resource that was affected by the action.""" + resourceName: String! + + """The team slug that the entry belongs to.""" + teamSlug: Slug! + + """The environment name that the entry belongs to.""" + environmentName: String +} type RepositoryConnection { -""" -Pagination information. -""" - pageInfo: PageInfo! -""" -List of nodes. -""" - nodes: [Repository!]! -""" -List of edges. -""" - edges: [RepositoryEdge!]! + """Pagination information.""" + pageInfo: PageInfo! + + """List of nodes.""" + nodes: [Repository!]! + + """List of edges.""" + edges: [RepositoryEdge!]! } type RepositoryEdge { -""" -Cursor for this edge that can be used for pagination. -""" - cursor: Cursor! -""" -The GitHub repository. -""" - node: Repository! + """Cursor for this edge that can be used for pagination.""" + cursor: Cursor! + + """The GitHub repository.""" + node: Repository! } -""" -Ordering options when fetching repositories. -""" +"""Ordering options when fetching repositories.""" input RepositoryOrder { -""" -Ordering options when fetching repositories. -""" - field: RepositoryOrderField! -""" -Ordering options when fetching repositories. -""" - direction: OrderDirection! + """The field to order items by.""" + field: RepositoryOrderField! + + """The direction to order items by.""" + direction: OrderDirection! } enum RepositoryOrderField { -""" -Order repositories by name. -""" - NAME + """Order repositories by name.""" + NAME } -type RepositoryRemovedActivityLogEntry implements ActivityLogEntry & Node{ -""" -ID of the entry. -""" - id: ID! -""" -The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. -""" - actor: String! -""" -Creation time of the entry. -""" - createdAt: Time! -""" -Message that summarizes the entry. -""" - message: String! -""" -Type of the resource that was affected by the action. -""" - resourceType: ActivityLogEntryResourceType! -""" -Name of the resource that was affected by the action. -""" - resourceName: String! -""" -The team slug that the entry belongs to. -""" - teamSlug: Slug! -""" -The environment name that the entry belongs to. -""" - environmentName: String +type RepositoryRemovedActivityLogEntry implements ActivityLogEntry & Node { + """ID of the entry.""" + id: ID! + + """ + The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + """ + actor: String! + + """Creation time of the entry.""" + createdAt: Time! + + """Message that summarizes the entry.""" + message: String! + + """Type of the resource that was affected by the action.""" + resourceType: ActivityLogEntryResourceType! + + """Name of the resource that was affected by the action.""" + resourceName: String! + + """The team slug that the entry belongs to.""" + teamSlug: Slug! + + """The environment name that the entry belongs to.""" + environmentName: String } input RequestTeamDeletionInput { - slug: Slug! + """Slug of the team to request a team deletion key for.""" + slug: Slug! } type RequestTeamDeletionPayload { -""" -The delete key for the team. This can be used to confirm the deletion of the team. -""" - key: TeamDeleteKey + """ + The delete key for the team. This can be used to confirm the deletion of the team. + """ + key: TeamDeleteKey } input ResourceIssueFilter { - severity: Severity - issueType: IssueType + """Filter by severity.""" + severity: Severity + + """Filter by issue type.""" + issueType: IssueType } enum ResourceType { - OPENSEARCH - VALKEY - SQLINSTANCE - APPLICATION - JOB - UNLEASH + OPENSEARCH + VALKEY + SQLINSTANCE + APPLICATION + JOB + UNLEASH } input RestartApplicationInput { - name: String! - teamSlug: Slug! - environmentName: String! + """Name of the application.""" + name: String! + + """Slug of the team that owns the application.""" + teamSlug: Slug! + + """Name of the environment where the application runs.""" + environmentName: String! } type RestartApplicationPayload { -""" -The application that was restarted. -""" - application: Application + """The application that was restarted.""" + application: Application } input RevokeRoleFromServiceAccountInput { - serviceAccountID: ID! - roleName: String! + """The ID of the service account to revoke the role from.""" + serviceAccountID: ID! + + """The name of the role to revoke.""" + roleName: String! } type RevokeRoleFromServiceAccountPayload { -""" -The service account that had a role revoked. -""" - serviceAccount: ServiceAccount + """The service account that had a role revoked.""" + serviceAccount: ServiceAccount } input RevokeTeamAccessToUnleashInput { - teamSlug: Slug! - revokedTeamSlug: Slug! + teamSlug: Slug! + revokedTeamSlug: Slug! } type RevokeTeamAccessToUnleashPayload { - unleash: UnleashInstance + unleash: UnleashInstance } -type Role implements Node{ -""" -The globally unique ID of the role. -""" - id: ID! -""" -Name of the role. -""" - name: String! -""" -Description of the role. -""" - description: String! +type Role implements Node { + """The globally unique ID of the role.""" + id: ID! + + """Name of the role.""" + name: String! + + """Description of the role.""" + description: String! } -type RoleAssignedToServiceAccountActivityLogEntry implements ActivityLogEntry & Node{ -""" -ID of the entry. -""" - id: ID! -""" -The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. -""" - actor: String! -""" -Creation time of the entry. -""" - createdAt: Time! -""" -Message that summarizes the entry. -""" - message: String! -""" -Type of the resource that was affected by the action. -""" - resourceType: ActivityLogEntryResourceType! -""" -Name of the resource that was affected by the action. -""" - resourceName: String! -""" -The team slug that the entry belongs to. -""" - teamSlug: Slug -""" -The environment name that the entry belongs to. -""" - environmentName: String -""" -Data associated with the entry. -""" - data: RoleAssignedToServiceAccountActivityLogEntryData! +type RoleAssignedToServiceAccountActivityLogEntry implements ActivityLogEntry & Node { + """ID of the entry.""" + id: ID! + + """ + The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + """ + actor: String! + + """Creation time of the entry.""" + createdAt: Time! + + """Message that summarizes the entry.""" + message: String! + + """Type of the resource that was affected by the action.""" + resourceType: ActivityLogEntryResourceType! + + """Name of the resource that was affected by the action.""" + resourceName: String! + + """The team slug that the entry belongs to.""" + teamSlug: Slug + + """The environment name that the entry belongs to.""" + environmentName: String + + """Data associated with the entry.""" + data: RoleAssignedToServiceAccountActivityLogEntryData! } type RoleAssignedToServiceAccountActivityLogEntryData { -""" -The added role. -""" - roleName: String! + """The added role.""" + roleName: String! } -""" -Assigned role to user log entry. -""" -type RoleAssignedUserSyncLogEntry implements UserSyncLogEntry & Node{ -""" -ID of the entry. -""" - id: ID! -""" -Creation time of the entry. -""" - createdAt: Time! -""" -Message that summarizes the log entry. -""" - message: String! -""" -The ID of the user that was assigned a role. -""" - userID: ID! -""" -The name of the user that was assigned a role. -""" - userName: String! -""" -The email address of the user that was assigned a role. -""" - userEmail: String! -""" -The name of the assigned role. -""" - roleName: String! +"""Assigned role to user log entry.""" +type RoleAssignedUserSyncLogEntry implements UserSyncLogEntry & Node { + """ID of the entry.""" + id: ID! + + """Creation time of the entry.""" + createdAt: Time! + + """Message that summarizes the log entry.""" + message: String! + + """The ID of the user that was assigned a role.""" + userID: ID! + + """The name of the user that was assigned a role.""" + userName: String! + + """The email address of the user that was assigned a role.""" + userEmail: String! + + """The name of the assigned role.""" + roleName: String! } type RoleConnection { -""" -A list of roles. -""" - nodes: [Role!]! -""" -A list of role edges. -""" - edges: [RoleEdge!]! -""" -Information to aid in pagination. -""" - pageInfo: PageInfo! + """A list of roles.""" + nodes: [Role!]! + + """A list of role edges.""" + edges: [RoleEdge!]! + + """Information to aid in pagination.""" + pageInfo: PageInfo! } type RoleEdge { -""" -The role. -""" - node: Role! -""" -A cursor for use in pagination. -""" - cursor: Cursor! + """The role.""" + node: Role! + + """A cursor for use in pagination.""" + cursor: Cursor! } -type RoleRevokedFromServiceAccountActivityLogEntry implements ActivityLogEntry & Node{ -""" -ID of the entry. -""" - id: ID! -""" -The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. -""" - actor: String! -""" -Creation time of the entry. -""" - createdAt: Time! -""" -Message that summarizes the entry. -""" - message: String! -""" -Type of the resource that was affected by the action. -""" - resourceType: ActivityLogEntryResourceType! -""" -Name of the resource that was affected by the action. -""" - resourceName: String! -""" -The team slug that the entry belongs to. -""" - teamSlug: Slug -""" -The environment name that the entry belongs to. -""" - environmentName: String -""" -Data associated with the entry. -""" - data: RoleRevokedFromServiceAccountActivityLogEntryData! +type RoleRevokedFromServiceAccountActivityLogEntry implements ActivityLogEntry & Node { + """ID of the entry.""" + id: ID! + + """ + The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + """ + actor: String! + + """Creation time of the entry.""" + createdAt: Time! + + """Message that summarizes the entry.""" + message: String! + + """Type of the resource that was affected by the action.""" + resourceType: ActivityLogEntryResourceType! + + """Name of the resource that was affected by the action.""" + resourceName: String! + + """The team slug that the entry belongs to.""" + teamSlug: Slug + + """The environment name that the entry belongs to.""" + environmentName: String + + """Data associated with the entry.""" + data: RoleRevokedFromServiceAccountActivityLogEntryData! } type RoleRevokedFromServiceAccountActivityLogEntryData { -""" -The removed role. -""" - roleName: String! + """The removed role.""" + roleName: String! } -""" -Revoked role from user log entry. -""" -type RoleRevokedUserSyncLogEntry implements UserSyncLogEntry & Node{ -""" -ID of the entry. -""" - id: ID! -""" -Creation time of the entry. -""" - createdAt: Time! -""" -Message that summarizes the log entry. -""" - message: String! -""" -The ID of the user that got a role revoked. -""" - userID: ID! -""" -The name of the user that got a role revoked. -""" - userName: String! -""" -The email address of the user that got a role revoked. -""" - userEmail: String! -""" -The name of the revoked role. -""" - roleName: String! +"""Revoked role from user log entry.""" +type RoleRevokedUserSyncLogEntry implements UserSyncLogEntry & Node { + """ID of the entry.""" + id: ID! + + """Creation time of the entry.""" + createdAt: Time! + + """Message that summarizes the log entry.""" + message: String! + + """The ID of the user that got a role revoked.""" + userID: ID! + + """The name of the user that got a role revoked.""" + userName: String! + + """The email address of the user that got a role revoked.""" + userEmail: String! + + """The name of the revoked role.""" + roleName: String! } enum ScalingDirection { -""" -The scaling direction is up. -""" - UP -""" -The scaling direction is down. -""" - DOWN + """The scaling direction is up.""" + UP + + """The scaling direction is down.""" + DOWN } -""" -Types of scaling strategies. -""" -union ScalingStrategy =CPUScalingStrategy | KafkaLagScalingStrategy +"""Types of scaling strategies.""" +union ScalingStrategy = CPUScalingStrategy | KafkaLagScalingStrategy -""" -Search filter for filtering search results. -""" +"""Search filter for filtering search results.""" input SearchFilter { -""" -Search filter for filtering search results. -""" - query: String! -""" -Search filter for filtering search results. -""" - type: SearchType + """The query string.""" + query: String! + + """ + The type of entities to search for. If not specified, all types will be searched. + """ + type: SearchType } -""" -Types that can be searched for. -""" -union SearchNode =Team | Application | BigQueryDataset | Bucket | Job | KafkaTopic | OpenSearch | PostgresInstance | SqlInstance | Valkey +"""Types that can be searched for.""" +union SearchNode = Team | Application | BigQueryDataset | Bucket | Job | KafkaTopic | OpenSearch | PostgresInstance | SqlInstance | Valkey -""" -Search node connection. -""" +"""Search node connection.""" type SearchNodeConnection { -""" -Pagination information. -""" - pageInfo: PageInfo! -""" -List of nodes. -""" - nodes: [SearchNode!]! -""" -List of edges. -""" - edges: [SearchNodeEdge!]! + """Pagination information.""" + pageInfo: PageInfo! + + """List of nodes.""" + nodes: [SearchNode!]! + + """List of edges.""" + edges: [SearchNodeEdge!]! } -""" -Search node edge. -""" +"""Search node edge.""" type SearchNodeEdge { -""" -Cursor for this edge that can be used for pagination. -""" - cursor: Cursor! -""" -The SearchNode. -""" - node: SearchNode! + """Cursor for this edge that can be used for pagination.""" + cursor: Cursor! + + """The SearchNode.""" + node: SearchNode! } -""" -A list of possible search types. -""" +"""A list of possible search types.""" enum SearchType { -""" -Search for teams. -""" - TEAM -""" -Search for applications. -""" - APPLICATION - BIGQUERY_DATASET - BUCKET - JOB - KAFKA_TOPIC - OPENSEARCH - POSTGRES - SQL_INSTANCE - VALKEY -} - -""" -A secret is a collection of secret values. -""" -type Secret implements Node & ActivityLogger{ -""" -The globally unique ID of the secret. -""" - id: ID! -""" -The name of the secret. -""" - name: String! -""" -The environment the secret exists in. -""" - environment: TeamEnvironment! @deprecated(reason: "Use the `teamEnvironment` field instead.") -""" -The environment the secret exists in. -""" - teamEnvironment: TeamEnvironment! -""" -The team that owns the secret. -""" - team: Team! -""" -The names of the keys in the secret. This does not require elevation to access. -""" - keys: [String!]! -""" -Applications that use the secret. -""" - applications( -""" -Get the first n items in the connection. This can be used in combination with the after parameter. -""" - first: Int -""" -Get items after this cursor. -""" - after: Cursor -""" -Get the last n items in the connection. This can be used in combination with the before parameter. -""" - last: Int -""" -Get items before this cursor. -""" - before: Cursor - ): ApplicationConnection! -""" -Jobs that use the secret. -""" - jobs( -""" -Get the first n items in the connection. This can be used in combination with the after parameter. -""" - first: Int -""" -Get items after this cursor. -""" - after: Cursor -""" -Get the last n items in the connection. This can be used in combination with the before parameter. -""" - last: Int -""" -Get items before this cursor. -""" - before: Cursor - ): JobConnection! -""" -Workloads that use the secret. -""" - workloads( -""" -Get the first n items in the connection. This can be used in combination with the after parameter. -""" - first: Int -""" -Get items after this cursor. -""" - after: Cursor -""" -Get the last n items in the connection. This can be used in combination with the before parameter. -""" - last: Int -""" -Get items before this cursor. -""" - before: Cursor - ): WorkloadConnection! -""" -Last time the secret was modified. -""" - lastModifiedAt: Time -""" -User who last modified the secret. -""" - lastModifiedBy: User -""" -Activity log associated with the secret. -""" - activityLog( -""" -Get the first n items in the connection. This can be used in combination with the after parameter. -""" - first: Int -""" -Get items after this cursor. -""" - after: Cursor -""" -Get the last n items in the connection. This can be used in combination with the before parameter. -""" - last: Int -""" -Get items before this cursor. -""" - before: Cursor -""" -Filter items. -""" - filter: ActivityLogFilter - ): ActivityLogEntryConnection! + """Search for teams.""" + TEAM + + """Search for applications.""" + APPLICATION + BIGQUERY_DATASET + BUCKET + JOB + KAFKA_TOPIC + OPENSEARCH + POSTGRES + SQL_INSTANCE + VALKEY +} + +"""A secret is a collection of secret values.""" +type Secret implements Node & ActivityLogger { + """The globally unique ID of the secret.""" + id: ID! + + """The name of the secret.""" + name: String! + + """The environment the secret exists in.""" + environment: TeamEnvironment! @deprecated(reason: "Use the `teamEnvironment` field instead.") + + """The environment the secret exists in.""" + teamEnvironment: TeamEnvironment! + + """The team that owns the secret.""" + team: Team! + + """ + The names of the keys in the secret. This does not require elevation to access. + """ + keys: [String!]! + + """Applications that use the secret.""" + applications( + """ + Get the first n items in the connection. This can be used in combination with the after parameter. + """ + first: Int + + """Get items after this cursor.""" + after: Cursor + + """ + Get the last n items in the connection. This can be used in combination with the before parameter. + """ + last: Int + + """Get items before this cursor.""" + before: Cursor + ): ApplicationConnection! + + """Jobs that use the secret.""" + jobs( + """ + Get the first n items in the connection. This can be used in combination with the after parameter. + """ + first: Int + + """Get items after this cursor.""" + after: Cursor + + """ + Get the last n items in the connection. This can be used in combination with the before parameter. + """ + last: Int + + """Get items before this cursor.""" + before: Cursor + ): JobConnection! + + """Workloads that use the secret.""" + workloads( + """ + Get the first n items in the connection. This can be used in combination with the after parameter. + """ + first: Int + + """Get items after this cursor.""" + after: Cursor + + """ + Get the last n items in the connection. This can be used in combination with the before parameter. + """ + last: Int + + """Get items before this cursor.""" + before: Cursor + ): WorkloadConnection! + + """Last time the secret was modified.""" + lastModifiedAt: Time + + """User who last modified the secret.""" + lastModifiedBy: User + + """Activity log associated with the secret.""" + activityLog( + """ + Get the first n items in the connection. This can be used in combination with the after parameter. + """ + first: Int + + """Get items after this cursor.""" + after: Cursor + + """ + Get the last n items in the connection. This can be used in combination with the before parameter. + """ + last: Int + + """Get items before this cursor.""" + before: Cursor + + """Filter items.""" + filter: ActivityLogFilter + ): ActivityLogEntryConnection! } type SecretConnection { -""" -Pagination information. -""" - pageInfo: PageInfo! -""" -List of nodes. -""" - nodes: [Secret!]! -""" -List of edges. -""" - edges: [SecretEdge!]! + """Pagination information.""" + pageInfo: PageInfo! + + """List of nodes.""" + nodes: [Secret!]! + + """List of edges.""" + edges: [SecretEdge!]! } -type SecretCreatedActivityLogEntry implements ActivityLogEntry & Node{ -""" -ID of the entry. -""" - id: ID! -""" -The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. -""" - actor: String! -""" -Creation time of the entry. -""" - createdAt: Time! -""" -Message that summarizes the entry. -""" - message: String! -""" -Type of the resource that was affected by the action. -""" - resourceType: ActivityLogEntryResourceType! -""" -Name of the resource that was affected by the action. -""" - resourceName: String! -""" -The team slug that the entry belongs to. -""" - teamSlug: Slug! -""" -The environment name that the entry belongs to. -""" - environmentName: String +type SecretCreatedActivityLogEntry implements ActivityLogEntry & Node { + """ID of the entry.""" + id: ID! + + """ + The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + """ + actor: String! + + """Creation time of the entry.""" + createdAt: Time! + + """Message that summarizes the entry.""" + message: String! + + """Type of the resource that was affected by the action.""" + resourceType: ActivityLogEntryResourceType! + + """Name of the resource that was affected by the action.""" + resourceName: String! + + """The team slug that the entry belongs to.""" + teamSlug: Slug! + + """The environment name that the entry belongs to.""" + environmentName: String } -type SecretDeletedActivityLogEntry implements ActivityLogEntry & Node{ -""" -ID of the entry. -""" - id: ID! -""" -The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. -""" - actor: String! -""" -Creation time of the entry. -""" - createdAt: Time! -""" -Message that summarizes the entry. -""" - message: String! -""" -Type of the resource that was affected by the action. -""" - resourceType: ActivityLogEntryResourceType! -""" -Name of the resource that was affected by the action. -""" - resourceName: String! -""" -The team slug that the entry belongs to. -""" - teamSlug: Slug! -""" -The environment name that the entry belongs to. -""" - environmentName: String +type SecretDeletedActivityLogEntry implements ActivityLogEntry & Node { + """ID of the entry.""" + id: ID! + + """ + The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + """ + actor: String! + + """Creation time of the entry.""" + createdAt: Time! + + """Message that summarizes the entry.""" + message: String! + + """Type of the resource that was affected by the action.""" + resourceType: ActivityLogEntryResourceType! + + """Name of the resource that was affected by the action.""" + resourceName: String! + + """The team slug that the entry belongs to.""" + teamSlug: Slug! + + """The environment name that the entry belongs to.""" + environmentName: String } type SecretEdge { -""" -Cursor for this edge that can be used for pagination. -""" - cursor: Cursor! -""" -The Secret. -""" - node: Secret! + """Cursor for this edge that can be used for pagination.""" + cursor: Cursor! + + """The Secret.""" + node: Secret! } -""" -Input for filtering the secrets of a team. -""" +"""Input for filtering the secrets of a team.""" input SecretFilter { -""" -Input for filtering the secrets of a team. -""" - name: String -""" -Input for filtering the secrets of a team. -""" - inUse: Boolean + """Filter by the name of the secret.""" + name: String + + """Filter by usage of the secret.""" + inUse: Boolean } input SecretOrder { - field: SecretOrderField! - direction: OrderDirection! + """The field to order items by.""" + field: SecretOrderField! + + """The direction to order items by.""" + direction: OrderDirection! } enum SecretOrderField { -""" -Order secrets by name. -""" - NAME -""" -Order secrets by the name of the environment. -""" - ENVIRONMENT -""" -Order secrets by the last time it was modified. -""" - LAST_MODIFIED_AT + """Order secrets by name.""" + NAME + + """Order secrets by the name of the environment.""" + ENVIRONMENT + + """Order secrets by the last time it was modified.""" + LAST_MODIFIED_AT } type SecretValue { -""" -The name of the secret value. -""" - name: String! -""" -The secret value itself. -""" - value: String! + """The name of the secret value.""" + name: String! + + """The secret value itself.""" + value: String! } -type SecretValueAddedActivityLogEntry implements ActivityLogEntry & Node{ -""" -ID of the entry. -""" - id: ID! -""" -The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. -""" - actor: String! -""" -Creation time of the entry. -""" - createdAt: Time! -""" -Message that summarizes the entry. -""" - message: String! -""" -Type of the resource that was affected by the action. -""" - resourceType: ActivityLogEntryResourceType! -""" -Name of the resource that was affected by the action. -""" - resourceName: String! -""" -The team slug that the entry belongs to. -""" - teamSlug: Slug! -""" -The environment name that the entry belongs to. -""" - environmentName: String -""" -Data associated with the entry. -""" - data: SecretValueAddedActivityLogEntryData! +type SecretValueAddedActivityLogEntry implements ActivityLogEntry & Node { + """ID of the entry.""" + id: ID! + + """ + The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + """ + actor: String! + + """Creation time of the entry.""" + createdAt: Time! + + """Message that summarizes the entry.""" + message: String! + + """Type of the resource that was affected by the action.""" + resourceType: ActivityLogEntryResourceType! + + """Name of the resource that was affected by the action.""" + resourceName: String! + + """The team slug that the entry belongs to.""" + teamSlug: Slug! + + """The environment name that the entry belongs to.""" + environmentName: String + + """Data associated with the entry.""" + data: SecretValueAddedActivityLogEntryData! } type SecretValueAddedActivityLogEntryData { -""" -The name of the added value. -""" - valueName: String! + """The name of the added value.""" + valueName: String! } input SecretValueInput { - name: String! - value: String! + """The name of the secret value.""" + name: String! + + """The secret value to set.""" + value: String! } -type SecretValueRemovedActivityLogEntry implements ActivityLogEntry & Node{ -""" -ID of the entry. -""" - id: ID! -""" -The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. -""" - actor: String! -""" -Creation time of the entry. -""" - createdAt: Time! -""" -Message that summarizes the entry. -""" - message: String! -""" -Type of the resource that was affected by the action. -""" - resourceType: ActivityLogEntryResourceType! -""" -Name of the resource that was affected by the action. -""" - resourceName: String! -""" -The team slug that the entry belongs to. -""" - teamSlug: Slug! -""" -The environment name that the entry belongs to. -""" - environmentName: String -""" -Data associated with the entry. -""" - data: SecretValueRemovedActivityLogEntryData! +type SecretValueRemovedActivityLogEntry implements ActivityLogEntry & Node { + """ID of the entry.""" + id: ID! + + """ + The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + """ + actor: String! + + """Creation time of the entry.""" + createdAt: Time! + + """Message that summarizes the entry.""" + message: String! + + """Type of the resource that was affected by the action.""" + resourceType: ActivityLogEntryResourceType! + + """Name of the resource that was affected by the action.""" + resourceName: String! + + """The team slug that the entry belongs to.""" + teamSlug: Slug! + + """The environment name that the entry belongs to.""" + environmentName: String + + """Data associated with the entry.""" + data: SecretValueRemovedActivityLogEntryData! } type SecretValueRemovedActivityLogEntryData { -""" -The name of the removed value. -""" - valueName: String! + """The name of the removed value.""" + valueName: String! } -type SecretValueUpdatedActivityLogEntry implements ActivityLogEntry & Node{ -""" -ID of the entry. -""" - id: ID! -""" -The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. -""" - actor: String! -""" -Creation time of the entry. -""" - createdAt: Time! -""" -Message that summarizes the entry. -""" - message: String! -""" -Type of the resource that was affected by the action. -""" - resourceType: ActivityLogEntryResourceType! -""" -Name of the resource that was affected by the action. -""" - resourceName: String! -""" -The team slug that the entry belongs to. -""" - teamSlug: Slug! -""" -The environment name that the entry belongs to. -""" - environmentName: String -""" -Data associated with the entry. -""" - data: SecretValueUpdatedActivityLogEntryData! +type SecretValueUpdatedActivityLogEntry implements ActivityLogEntry & Node { + """ID of the entry.""" + id: ID! + + """ + The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + """ + actor: String! + + """Creation time of the entry.""" + createdAt: Time! + + """Message that summarizes the entry.""" + message: String! + + """Type of the resource that was affected by the action.""" + resourceType: ActivityLogEntryResourceType! + + """Name of the resource that was affected by the action.""" + resourceName: String! + + """The team slug that the entry belongs to.""" + teamSlug: Slug! + + """The environment name that the entry belongs to.""" + environmentName: String + + """Data associated with the entry.""" + data: SecretValueUpdatedActivityLogEntryData! } type SecretValueUpdatedActivityLogEntryData { -""" -The name of the updated value. -""" - valueName: String! + """The name of the updated value.""" + valueName: String! } -""" -Activity log entry for viewing secret values. -""" -type SecretValuesViewedActivityLogEntry implements ActivityLogEntry & Node{ -""" -ID of the entry. -""" - id: ID! -""" -The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. -""" - actor: String! -""" -Creation time of the entry. -""" - createdAt: Time! -""" -Message that summarizes the entry. -""" - message: String! -""" -Type of the resource that was affected by the action. -""" - resourceType: ActivityLogEntryResourceType! -""" -Name of the resource that was affected by the action. -""" - resourceName: String! -""" -The team slug that the entry belongs to. -""" - teamSlug: Slug! -""" -The environment name that the entry belongs to. -""" - environmentName: String -""" -Data associated with the entry. -""" - data: SecretValuesViewedActivityLogEntryData! +"""Activity log entry for viewing secret values.""" +type SecretValuesViewedActivityLogEntry implements ActivityLogEntry & Node { + """ID of the entry.""" + id: ID! + + """ + The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + """ + actor: String! + + """Creation time of the entry.""" + createdAt: Time! + + """Message that summarizes the entry.""" + message: String! + + """Type of the resource that was affected by the action.""" + resourceType: ActivityLogEntryResourceType! + + """Name of the resource that was affected by the action.""" + resourceName: String! + + """The team slug that the entry belongs to.""" + teamSlug: Slug! + + """The environment name that the entry belongs to.""" + environmentName: String + + """Data associated with the entry.""" + data: SecretValuesViewedActivityLogEntryData! } -""" -Data associated with a secret values viewed activity log entry. -""" +"""Data associated with a secret values viewed activity log entry.""" type SecretValuesViewedActivityLogEntryData { -""" -The reason provided for viewing the secret values. -""" - reason: String! + """The reason provided for viewing the secret values.""" + reason: String! } """ @@ -6524,2587 +5873,2117 @@ These types of users can be used to automate certain parts of the API, for insta Service accounts are created using the `createServiceAccount` mutation, and authenticate using tokens generated by the `createServiceAccountToken` mutation. """ -type ServiceAccount implements Node{ -""" -The globally unique ID of the service account. -""" - id: ID! -""" -The name of the service account. -""" - name: String! -""" -The description of the service account. -""" - description: String! -""" -Creation time of the service account. -""" - createdAt: Time! -""" -When the service account was last updated. -""" - updatedAt: Time! -""" -When the service account was last used for authentication. -""" - lastUsedAt: Time -""" -The team that the service account belongs to. -""" - team: Team -""" -The roles that are assigned to the service account. -""" - roles( -""" -Get the first n items in the connection. This can be used in combination with the after parameter. -""" - first: Int -""" -Get items after this cursor. -""" - after: Cursor -""" -Get the last n items in the connection. This can be used in combination with the before parameter. -""" - last: Int -""" -Get items before this cursor. -""" - before: Cursor - ): RoleConnection! -""" -The service account tokens. -""" - tokens( -""" -Get the first n items in the connection. This can be used in combination with the after parameter. -""" - first: Int -""" -Get items after this cursor. -""" - after: Cursor -""" -Get the last n items in the connection. This can be used in combination with the before parameter. -""" - last: Int -""" -Get items before this cursor. -""" - before: Cursor - ): ServiceAccountTokenConnection! +type ServiceAccount implements Node { + """The globally unique ID of the service account.""" + id: ID! + + """The name of the service account.""" + name: String! + + """The description of the service account.""" + description: String! + + """Creation time of the service account.""" + createdAt: Time! + + """When the service account was last updated.""" + updatedAt: Time! + + """When the service account was last used for authentication.""" + lastUsedAt: Time + + """The team that the service account belongs to.""" + team: Team + + """The roles that are assigned to the service account.""" + roles( + """ + Get the first n items in the connection. This can be used in combination with the after parameter. + """ + first: Int + + """Get items after this cursor.""" + after: Cursor + + """ + Get the last n items in the connection. This can be used in combination with the before parameter. + """ + last: Int + + """Get items before this cursor.""" + before: Cursor + ): RoleConnection! + + """The service account tokens.""" + tokens( + """ + Get the first n items in the connection. This can be used in combination with the after parameter. + """ + first: Int + + """Get items after this cursor.""" + after: Cursor + + """ + Get the last n items in the connection. This can be used in combination with the before parameter. + """ + last: Int + + """Get items before this cursor.""" + before: Cursor + ): ServiceAccountTokenConnection! } type ServiceAccountConnection { -""" -A list of service accounts. -""" - nodes: [ServiceAccount!]! -""" -A list of edges. -""" - edges: [ServiceAccountEdge!]! -""" -Information to aid in pagination. -""" - pageInfo: PageInfo! + """A list of service accounts.""" + nodes: [ServiceAccount!]! + + """A list of edges.""" + edges: [ServiceAccountEdge!]! + + """Information to aid in pagination.""" + pageInfo: PageInfo! } -type ServiceAccountCreatedActivityLogEntry implements ActivityLogEntry & Node{ -""" -ID of the entry. -""" - id: ID! -""" -The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. -""" - actor: String! -""" -Creation time of the entry. -""" - createdAt: Time! -""" -Message that summarizes the entry. -""" - message: String! -""" -Type of the resource that was affected by the action. -""" - resourceType: ActivityLogEntryResourceType! -""" -Name of the resource that was affected by the action. -""" - resourceName: String! -""" -The team slug that the entry belongs to. -""" - teamSlug: Slug -""" -The environment name that the entry belongs to. -""" - environmentName: String +type ServiceAccountCreatedActivityLogEntry implements ActivityLogEntry & Node { + """ID of the entry.""" + id: ID! + + """ + The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + """ + actor: String! + + """Creation time of the entry.""" + createdAt: Time! + + """Message that summarizes the entry.""" + message: String! + + """Type of the resource that was affected by the action.""" + resourceType: ActivityLogEntryResourceType! + + """Name of the resource that was affected by the action.""" + resourceName: String! + + """The team slug that the entry belongs to.""" + teamSlug: Slug + + """The environment name that the entry belongs to.""" + environmentName: String } -type ServiceAccountDeletedActivityLogEntry implements ActivityLogEntry & Node{ -""" -ID of the entry. -""" - id: ID! -""" -The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. -""" - actor: String! -""" -Creation time of the entry. -""" - createdAt: Time! -""" -Message that summarizes the entry. -""" - message: String! -""" -Type of the resource that was affected by the action. -""" - resourceType: ActivityLogEntryResourceType! -""" -Name of the resource that was affected by the action. -""" - resourceName: String! -""" -The team slug that the entry belongs to. -""" - teamSlug: Slug -""" -The environment name that the entry belongs to. -""" - environmentName: String +type ServiceAccountDeletedActivityLogEntry implements ActivityLogEntry & Node { + """ID of the entry.""" + id: ID! + + """ + The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + """ + actor: String! + + """Creation time of the entry.""" + createdAt: Time! + + """Message that summarizes the entry.""" + message: String! + + """Type of the resource that was affected by the action.""" + resourceType: ActivityLogEntryResourceType! + + """Name of the resource that was affected by the action.""" + resourceName: String! + + """The team slug that the entry belongs to.""" + teamSlug: Slug + + """The environment name that the entry belongs to.""" + environmentName: String } type ServiceAccountEdge { -""" -The service account. -""" - node: ServiceAccount! -""" -A cursor for use in pagination. -""" - cursor: Cursor! + """The service account.""" + node: ServiceAccount! + + """A cursor for use in pagination.""" + cursor: Cursor! } -type ServiceAccountToken implements Node{ -""" -The globally unique ID of the service account token. -""" - id: ID! -""" -The name of the service account token. -""" - name: String! -""" -The description of the service account token. -""" - description: String! -""" -When the service account token was created. -""" - createdAt: Time! -""" -When the service account token was last updated. -""" - updatedAt: Time! -""" -When the service account token was last used for authentication. -""" - lastUsedAt: Time -""" -Expiry date of the token. If this value is empty the token never expires. -""" - expiresAt: Date +type ServiceAccountToken implements Node { + """The globally unique ID of the service account token.""" + id: ID! + + """The name of the service account token.""" + name: String! + + """The description of the service account token.""" + description: String! + + """When the service account token was created.""" + createdAt: Time! + + """When the service account token was last updated.""" + updatedAt: Time! + + """When the service account token was last used for authentication.""" + lastUsedAt: Time + + """ + Expiry date of the token. If this value is empty the token never expires. + """ + expiresAt: Date } type ServiceAccountTokenConnection { -""" -A list of service accounts tokens. -""" - nodes: [ServiceAccountToken!]! -""" -A list of edges. -""" - edges: [ServiceAccountTokenEdge!]! -""" -Information to aid in pagination. -""" - pageInfo: PageInfo! + """A list of service accounts tokens.""" + nodes: [ServiceAccountToken!]! + + """A list of edges.""" + edges: [ServiceAccountTokenEdge!]! + + """Information to aid in pagination.""" + pageInfo: PageInfo! } -type ServiceAccountTokenCreatedActivityLogEntry implements ActivityLogEntry & Node{ -""" -ID of the entry. -""" - id: ID! -""" -The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. -""" - actor: String! -""" -Creation time of the entry. -""" - createdAt: Time! -""" -Message that summarizes the entry. -""" - message: String! -""" -Type of the resource that was affected by the action. -""" - resourceType: ActivityLogEntryResourceType! -""" -Name of the resource that was affected by the action. -""" - resourceName: String! -""" -The team slug that the entry belongs to. -""" - teamSlug: Slug -""" -The environment name that the entry belongs to. -""" - environmentName: String -""" -Data associated with the entry. -""" - data: ServiceAccountTokenCreatedActivityLogEntryData! +type ServiceAccountTokenCreatedActivityLogEntry implements ActivityLogEntry & Node { + """ID of the entry.""" + id: ID! + + """ + The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + """ + actor: String! + + """Creation time of the entry.""" + createdAt: Time! + + """Message that summarizes the entry.""" + message: String! + + """Type of the resource that was affected by the action.""" + resourceType: ActivityLogEntryResourceType! + + """Name of the resource that was affected by the action.""" + resourceName: String! + + """The team slug that the entry belongs to.""" + teamSlug: Slug + + """The environment name that the entry belongs to.""" + environmentName: String + + """Data associated with the entry.""" + data: ServiceAccountTokenCreatedActivityLogEntryData! } type ServiceAccountTokenCreatedActivityLogEntryData { -""" -The name of the service account token. -""" - tokenName: String! + """The name of the service account token.""" + tokenName: String! } -type ServiceAccountTokenDeletedActivityLogEntry implements ActivityLogEntry & Node{ -""" -ID of the entry. -""" - id: ID! -""" -The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. -""" - actor: String! -""" -Creation time of the entry. -""" - createdAt: Time! -""" -Message that summarizes the entry. -""" - message: String! -""" -Type of the resource that was affected by the action. -""" - resourceType: ActivityLogEntryResourceType! -""" -Name of the resource that was affected by the action. -""" - resourceName: String! -""" -The team slug that the entry belongs to. -""" - teamSlug: Slug -""" -The environment name that the entry belongs to. -""" - environmentName: String -""" -Data associated with the entry. -""" - data: ServiceAccountTokenDeletedActivityLogEntryData! +type ServiceAccountTokenDeletedActivityLogEntry implements ActivityLogEntry & Node { + """ID of the entry.""" + id: ID! + + """ + The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + """ + actor: String! + + """Creation time of the entry.""" + createdAt: Time! + + """Message that summarizes the entry.""" + message: String! + + """Type of the resource that was affected by the action.""" + resourceType: ActivityLogEntryResourceType! + + """Name of the resource that was affected by the action.""" + resourceName: String! + + """The team slug that the entry belongs to.""" + teamSlug: Slug + + """The environment name that the entry belongs to.""" + environmentName: String + + """Data associated with the entry.""" + data: ServiceAccountTokenDeletedActivityLogEntryData! } type ServiceAccountTokenDeletedActivityLogEntryData { -""" -The name of the service account token. -""" - tokenName: String! + """The name of the service account token.""" + tokenName: String! } type ServiceAccountTokenEdge { -""" -The service account token. -""" - node: ServiceAccountToken! -""" -A cursor for use in pagination. -""" - cursor: Cursor! + """The service account token.""" + node: ServiceAccountToken! + + """A cursor for use in pagination.""" + cursor: Cursor! } -type ServiceAccountTokenUpdatedActivityLogEntry implements ActivityLogEntry & Node{ -""" -ID of the entry. -""" - id: ID! -""" -The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. -""" - actor: String! -""" -Creation time of the entry. -""" - createdAt: Time! -""" -Message that summarizes the entry. -""" - message: String! -""" -Type of the resource that was affected by the action. -""" - resourceType: ActivityLogEntryResourceType! -""" -Name of the resource that was affected by the action. -""" - resourceName: String! -""" -The team slug that the entry belongs to. -""" - teamSlug: Slug -""" -The environment name that the entry belongs to. -""" - environmentName: String -""" -Data associated with the entry. -""" - data: ServiceAccountTokenUpdatedActivityLogEntryData! +type ServiceAccountTokenUpdatedActivityLogEntry implements ActivityLogEntry & Node { + """ID of the entry.""" + id: ID! + + """ + The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + """ + actor: String! + + """Creation time of the entry.""" + createdAt: Time! + + """Message that summarizes the entry.""" + message: String! + + """Type of the resource that was affected by the action.""" + resourceType: ActivityLogEntryResourceType! + + """Name of the resource that was affected by the action.""" + resourceName: String! + + """The team slug that the entry belongs to.""" + teamSlug: Slug + + """The environment name that the entry belongs to.""" + environmentName: String + + """Data associated with the entry.""" + data: ServiceAccountTokenUpdatedActivityLogEntryData! } type ServiceAccountTokenUpdatedActivityLogEntryData { -""" -Fields that were updated. -""" - updatedFields: [ServiceAccountTokenUpdatedActivityLogEntryDataUpdatedField!]! + """Fields that were updated.""" + updatedFields: [ServiceAccountTokenUpdatedActivityLogEntryDataUpdatedField!]! } type ServiceAccountTokenUpdatedActivityLogEntryDataUpdatedField { -""" -The name of the field. -""" - field: String! -""" -The old value of the field. -""" - oldValue: String -""" -The new value of the field. -""" - newValue: String + """The name of the field.""" + field: String! + + """The old value of the field.""" + oldValue: String + + """The new value of the field.""" + newValue: String } -type ServiceAccountUpdatedActivityLogEntry implements ActivityLogEntry & Node{ -""" -ID of the entry. -""" - id: ID! -""" -The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. -""" - actor: String! -""" -Creation time of the entry. -""" - createdAt: Time! -""" -Message that summarizes the entry. -""" - message: String! -""" -Type of the resource that was affected by the action. -""" - resourceType: ActivityLogEntryResourceType! -""" -Name of the resource that was affected by the action. -""" - resourceName: String! -""" -The team slug that the entry belongs to. -""" - teamSlug: Slug -""" -The environment name that the entry belongs to. -""" - environmentName: String -""" -Data associated with the entry. -""" - data: ServiceAccountUpdatedActivityLogEntryData! +type ServiceAccountUpdatedActivityLogEntry implements ActivityLogEntry & Node { + """ID of the entry.""" + id: ID! + + """ + The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + """ + actor: String! + + """Creation time of the entry.""" + createdAt: Time! + + """Message that summarizes the entry.""" + message: String! + + """Type of the resource that was affected by the action.""" + resourceType: ActivityLogEntryResourceType! + + """Name of the resource that was affected by the action.""" + resourceName: String! + + """The team slug that the entry belongs to.""" + teamSlug: Slug + + """The environment name that the entry belongs to.""" + environmentName: String + + """Data associated with the entry.""" + data: ServiceAccountUpdatedActivityLogEntryData! } type ServiceAccountUpdatedActivityLogEntryData { -""" -Fields that were updated. -""" - updatedFields: [ServiceAccountUpdatedActivityLogEntryDataUpdatedField!]! + """Fields that were updated.""" + updatedFields: [ServiceAccountUpdatedActivityLogEntryDataUpdatedField!]! } type ServiceAccountUpdatedActivityLogEntryDataUpdatedField { -""" -The name of the field. -""" - field: String! -""" -The old value of the field. -""" - oldValue: String -""" -The new value of the field. -""" - newValue: String + """The name of the field.""" + field: String! + + """The old value of the field.""" + oldValue: String + + """The new value of the field.""" + newValue: String } type ServiceCostSample { -""" -The name of the service. -""" - service: String! -""" -The cost in euros. -""" - cost: Float! + """The name of the service.""" + service: String! + + """The cost in euros.""" + cost: Float! } type ServiceCostSeries { -""" -The date for the cost. When calculating the cost for a monthly period, the date will be the last day of the month that has cost data. -""" - date: Date! -""" -The sum of the cost across all services. -""" - sum: Float! -""" -The cost for the services used by the workload. -""" - services: [ServiceCostSample!]! -} - -type ServiceMaintenanceActivityLogEntry implements ActivityLogEntry & Node{ -""" -ID of the entry. -""" - id: ID! -""" -The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. -""" - actor: String! -""" -Creation time of the entry. -""" - createdAt: Time! -""" -Message that summarizes the entry. -""" - message: String! -""" -Type of the resource that was affected by the action. -""" - resourceType: ActivityLogEntryResourceType! -""" -Name of the resource that was affected by the action. -""" - resourceName: String! -""" -The team slug that the entry belongs to. -""" - teamSlug: Slug! -""" -The environment name that the entry belongs to. -""" - environmentName: String -} - -interface ServiceMaintenanceUpdate { - title: String! - description: String -} - -input SetTeamMemberRoleInput { - teamSlug: Slug! - userEmail: String! - role: TeamMemberRole! -} - -type SetTeamMemberRolePayload { -""" -The updated team member. -""" - member: TeamMember -} - -enum Severity { - CRITICAL - WARNING - TODO -} - -""" -The slug must: - -- contain only lowercase alphanumeric characters or hyphens -- contain at least 3 characters and at most 30 characters -- start with an alphabetic character -- end with an alphanumeric character -- not contain two hyphens in a row - -Examples of valid slugs: - -- `some-value` -- `someothervalue` -- `my-team-123` -""" -scalar Slug - -type SqlDatabase implements Persistence & Node{ - id: ID! - name: String! - team: Team! - environment: TeamEnvironment! @deprecated(reason: "Use the `teamEnvironment` field instead.") - teamEnvironment: TeamEnvironment! - charset: String - collation: String - deletionPolicy: String - healthy: Boolean! -} - -type SqlInstance implements Persistence & Node{ - id: ID! - name: String! - team: Team! - environment: TeamEnvironment! @deprecated(reason: "Use the `teamEnvironment` field instead.") - teamEnvironment: TeamEnvironment! - workload: Workload - cascadingDelete: Boolean! - connectionName: String - diskAutoresize: Boolean - diskAutoresizeLimit: Int - highAvailability: Boolean! - healthy: Boolean! - maintenanceVersion: String - maintenanceWindow: SqlInstanceMaintenanceWindow - backupConfiguration: SqlInstanceBackupConfiguration - projectID: String! - tier: String! - version: String - status: SqlInstanceStatus! - database: SqlDatabase - flags( - first: Int - after: Cursor - last: Int - before: Cursor - ): SqlInstanceFlagConnection! - users( - first: Int - after: Cursor - last: Int - before: Cursor - orderBy: SqlInstanceUserOrder - ): SqlInstanceUserConnection! - metrics: SqlInstanceMetrics! - state: SqlInstanceState! -""" -Issues that affects the instance. -""" - issues( -""" -Get the first n items in the connection. This can be used in combination with the after parameter. -""" - first: Int -""" -Get items after this cursor. -""" - after: Cursor -""" -Get the last n items in the connection. This can be used in combination with the before parameter. -""" - last: Int -""" -Get items before this cursor. -""" - before: Cursor -""" -Ordering options for items returned from the connection. -""" - orderBy: IssueOrder -""" -Filtering options for items returned from the connection. -""" - filter: ResourceIssueFilter - ): IssueConnection! -""" -Indicates whether audit logging is enabled for this SQL instance and provides a link to the logs if set. -""" - auditLog: AuditLog - cost: SqlInstanceCost! -} - -type SqlInstanceBackupConfiguration { - enabled: Boolean - startTime: String - retainedBackups: Int - pointInTimeRecovery: Boolean - transactionLogRetentionDays: Int -} - -type SqlInstanceConnection { - pageInfo: PageInfo! - nodes: [SqlInstance!]! - edges: [SqlInstanceEdge!]! -} - -type SqlInstanceCost { - sum: Float! -} - -type SqlInstanceCpu { - cores: Float! - utilization: Float! -} - -type SqlInstanceDisk { - quotaBytes: Int! - utilization: Float! -} - -type SqlInstanceEdge { - cursor: Cursor! - node: SqlInstance! -} - -type SqlInstanceFlag { - name: String! - value: String! -} - -type SqlInstanceFlagConnection { - pageInfo: PageInfo! - nodes: [SqlInstanceFlag!]! - edges: [SqlInstanceFlagEdge!]! -} - -type SqlInstanceFlagEdge { - cursor: Cursor! - node: SqlInstanceFlag! -} - -type SqlInstanceMaintenanceWindow { - day: Int! - hour: Int! -} - -type SqlInstanceMemory { - quotaBytes: Int! - utilization: Float! -} - -type SqlInstanceMetrics { - cpu: SqlInstanceCpu! - memory: SqlInstanceMemory! - disk: SqlInstanceDisk! -} - -input SqlInstanceOrder { - field: SqlInstanceOrderField! - direction: OrderDirection! -} + """ + The date for the cost. When calculating the cost for a monthly period, the date will be the last day of the month that has cost data. + """ + date: Date! -enum SqlInstanceOrderField { - NAME - VERSION - ENVIRONMENT - COST - CPU_UTILIZATION - MEMORY_UTILIZATION - DISK_UTILIZATION - STATE -""" -Order SqlInstances by issue severity -""" - ISSUES -} - -enum SqlInstanceState { - UNSPECIFIED - STOPPED - RUNNABLE - SUSPENDED - PENDING_DELETE - PENDING_CREATE - MAINTENANCE - FAILED -} - -type SqlInstanceStateIssue implements Issue & Node{ - id: ID! - teamEnvironment: TeamEnvironment! - severity: Severity! - message: String! - state: SqlInstanceState! - sqlInstance: SqlInstance! -} + """The sum of the cost across all services.""" + sum: Float! -type SqlInstanceStatus { - publicIpAddress: String - privateIpAddress: String + """The cost for the services used by the workload.""" + services: [ServiceCostSample!]! } -type SqlInstanceUser { - name: String! - authentication: String! -} +type ServiceMaintenanceActivityLogEntry implements ActivityLogEntry & Node { + """ID of the entry.""" + id: ID! -type SqlInstanceUserConnection { - pageInfo: PageInfo! - nodes: [SqlInstanceUser!]! - edges: [SqlInstanceUserEdge!]! -} + """ + The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + """ + actor: String! -type SqlInstanceUserEdge { - cursor: Cursor! - node: SqlInstanceUser! -} + """Creation time of the entry.""" + createdAt: Time! -input SqlInstanceUserOrder { - field: SqlInstanceUserOrderField! - direction: OrderDirection! -} + """Message that summarizes the entry.""" + message: String! -enum SqlInstanceUserOrderField { - NAME - AUTHENTICATION -} + """Type of the resource that was affected by the action.""" + resourceType: ActivityLogEntryResourceType! -type SqlInstanceVersionIssue implements Issue & Node{ - id: ID! - teamEnvironment: TeamEnvironment! - severity: Severity! - message: String! - sqlInstance: SqlInstance! -} + """Name of the resource that was affected by the action.""" + resourceName: String! -input StartOpenSearchMaintenanceInput { - serviceName: String! - teamSlug: Slug! - environmentName: String! -} + """The team slug that the entry belongs to.""" + teamSlug: Slug! -type StartOpenSearchMaintenancePayload { - error: String + """The environment name that the entry belongs to.""" + environmentName: String } -input StartValkeyMaintenanceInput { - serviceName: String! - teamSlug: Slug! - environmentName: String! -} +interface ServiceMaintenanceUpdate { + """Title of the maintenance.""" + title: String! -type StartValkeyMaintenancePayload { - error: String + """Description of the maintenance.""" + description: String } -""" -The `String`scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text. -""" -scalar String - -""" -The subscription root for the Nais GraphQL API. -""" -type Subscription { -""" -Subscribe to log lines +input SetTeamMemberRoleInput { + """The slug of the team.""" + teamSlug: Slug! -This subscription is used to stream log lines. -""" - log( - filter: LogSubscriptionFilter! - ): LogLine! -""" -Subscribe to workload logs + """The email address of the user.""" + userEmail: String! -This subscription is used to stream logs from a specific workload. When filtering logs you must either specify an -application or a job owned by a team that is running in a specific environment. You can also filter logs on instance -name(s). -""" - workloadLog( - filter: WorkloadLogSubscriptionFilter! - ): WorkloadLogLine! + """The role to assign.""" + role: TeamMemberRole! +} + +type SetTeamMemberRolePayload { + """The updated team member.""" + member: TeamMember +} + +enum Severity { + CRITICAL + WARNING + TODO } """ -The team type represents a team on the [Nais platform](https://nais.io/). - -Learn more about what Nais teams are and what they can be used for in the [official Nais documentation](https://docs.nais.io/explanations/team/). - -External resources (e.g. entraIDGroupID, gitHubTeamSlug) are managed by [Nais API reconcilers](https://github.com/nais/api-reconcilers). -""" -type Team implements Node & ActivityLogger{ -""" -The globally unique ID of the team. -""" - id: ID! -""" -Unique slug of the team. -""" - slug: Slug! -""" -Main Slack channel for the team. -""" - slackChannel: String! -""" -Purpose of the team. -""" - purpose: String! -""" -External resources for the team. -""" - externalResources: TeamExternalResources! -""" -Get a specific member of the team. -""" - member( - email: String! - ): TeamMember! -""" -Team members. -""" - members( -""" -Get the first n items in the connection. This can be used in combination with the after parameter. -""" - first: Int -""" -Get items after this cursor. -""" - after: Cursor -""" -Get the last n items in the connection. This can be used in combination with the before parameter. -""" - last: Int -""" -Get items before this cursor. -""" - before: Cursor -""" -Ordering options for items returned from the connection. -""" - orderBy: TeamMemberOrder - ): TeamMemberConnection! -""" -Timestamp of the last successful synchronization of the team. -""" - lastSuccessfulSync: Time -""" -Whether or not the team is currently being deleted. -""" - deletionInProgress: Boolean! -""" -Whether or not the viewer is an owner of the team. -""" - viewerIsOwner: Boolean! -""" -Whether or not the viewer is a member of the team. -""" - viewerIsMember: Boolean! -""" -Environments for the team. -""" - environments: [TeamEnvironment!]! -""" -Get a specific environment for the team. -""" - environment( - name: String! - ): TeamEnvironment! -""" -Get a delete key for the team. -""" - deleteKey( - key: String! - ): TeamDeleteKey! -""" -Overall inventory of resources for the team. -""" - inventoryCounts: TeamInventoryCounts! -""" -Activity log associated with the team. -""" - activityLog( -""" -Get the first n items in the connection. This can be used in combination with the after parameter. -""" - first: Int -""" -Get items after this cursor. -""" - after: Cursor -""" -Get the last n items in the connection. This can be used in combination with the before parameter. -""" - last: Int -""" -Get items before this cursor. -""" - before: Cursor -""" -Filter items. -""" - filter: ActivityLogFilter - ): ActivityLogEntryConnection! -""" -EXPERIMENTAL: DO NOT USE -""" - alerts( -""" -Get the first n items in the connection. This can be used in combination with the after parameter. -""" - first: Int -""" -Get items after this cursor. -""" - after: Cursor -""" -Get the last n items in the connection. This can be used in combination with the before parameter. -""" - last: Int -""" -Get items before this cursor. -""" - before: Cursor -""" -Ordering options for items returned from the connection. -""" - orderBy: AlertOrder -""" -Filter the returned objects -""" - filter: TeamAlertsFilter - ): AlertConnection! -""" -Nais applications owned by the team. -""" - applications( -""" -Get the first n items in the connection. This can be used in combination with the after parameter. -""" - first: Int -""" -Get items after this cursor. -""" - after: Cursor -""" -Get the last n items in the connection. This can be used in combination with the before parameter. -""" - last: Int -""" -Get items before this cursor. -""" - before: Cursor -""" -Ordering options for items returned from the connection. -""" - orderBy: ApplicationOrder -""" -Filtering options for items returned from the connection. -""" - filter: TeamApplicationsFilter - ): ApplicationConnection! -""" -BigQuery datasets owned by the team. -""" - bigQueryDatasets( -""" -Get the first n items in the connection. This can be used in combination with the after parameter. -""" - first: Int -""" -Get items after this cursor. -""" - after: Cursor -""" -Get the last n items in the connection. This can be used in combination with the before parameter. -""" - last: Int -""" -Get items before this cursor. -""" - before: Cursor -""" -Ordering options for items returned from the connection. -""" - orderBy: BigQueryDatasetOrder - ): BigQueryDatasetConnection! -""" -Google Cloud Storage buckets owned by the team. -""" - buckets( -""" -Get the first n items in the connection. This can be used in combination with the after parameter. -""" - first: Int -""" -Get items after this cursor. -""" - after: Cursor -""" -Get the last n items in the connection. This can be used in combination with the before parameter. -""" - last: Int -""" -Get items before this cursor. -""" - before: Cursor -""" -Ordering options for items returned from the connection. -""" - orderBy: BucketOrder - ): BucketConnection! -""" -The cost for the team. -""" - cost: TeamCost! -""" -Deployment key for the team. -""" - deploymentKey: DeploymentKey -""" -List deployments for a team. -""" - deployments( -""" -Get the first n items in the connection. This can be used in combination with the after parameter. -""" - first: Int -""" -Get items after this cursor. -""" - after: Cursor -""" -Get the last n items in the connection. This can be used in combination with the before parameter. -""" - last: Int -""" -Get items before this cursor. -""" - before: Cursor - ): DeploymentConnection! -""" -Issues that affects the team. -""" - issues( -""" -Get the first n items in the connection. This can be used in combination with the after parameter. -""" - first: Int -""" -Get items after this cursor. -""" - after: Cursor -""" -Get the last n items in the connection. This can be used in combination with the before parameter. -""" - last: Int -""" -Get items before this cursor. -""" - before: Cursor - orderBy: IssueOrder - filter: IssueFilter - ): IssueConnection! -""" -Nais jobs owned by the team. -""" - jobs( -""" -Get the first n items in the connection. This can be used in combination with the after parameter. -""" - first: Int -""" -Get items after this cursor. -""" - after: Cursor -""" -Get the last n items in the connection. This can be used in combination with the before parameter. -""" - last: Int -""" -Get items before this cursor. -""" - before: Cursor -""" -Ordering options for items returned from the connection. -""" - orderBy: JobOrder -""" -Filtering options for items returned from the connection. -""" - filter: TeamJobsFilter - ): JobConnection! -""" -Kafka topics owned by the team. -""" - kafkaTopics( -""" -Get the first n items in the connection. This can be used in combination with the after parameter. -""" - first: Int -""" -Get items after this cursor. -""" - after: Cursor -""" -Get the last n items in the connection. This can be used in combination with the before parameter. -""" - last: Int -""" -Get items before this cursor. -""" - before: Cursor -""" -Ordering options for items returned from the connection. -""" - orderBy: KafkaTopicOrder - ): KafkaTopicConnection! -""" -OpenSearch instances owned by the team. -""" - openSearches( -""" -Get the first n items in the connection. This can be used in combination with the after parameter. -""" - first: Int -""" -Get items after this cursor. -""" - after: Cursor -""" -Get the last n items in the connection. This can be used in combination with the before parameter. -""" - last: Int -""" -Get items before this cursor. -""" - before: Cursor -""" -Ordering options for items returned from the connection. -""" - orderBy: OpenSearchOrder - ): OpenSearchConnection! -""" -Postgres instances owned by the team. -""" - postgresInstances( -""" -Get the first n items in the connection. This can be used in combination with the after parameter. -""" - first: Int -""" -Get items after this cursor. -""" - after: Cursor -""" -Get the last n items in the connection. This can be used in combination with the before parameter. -""" - last: Int -""" -Get items before this cursor. -""" - before: Cursor -""" -Ordering options for items returned from the connection. -""" - orderBy: PostgresInstanceOrder - ): PostgresInstanceConnection! - repositories( -""" -Get the first n items in the connection. This can be used in combination with the after parameter. -""" - first: Int -""" -Get items after this cursor. -""" - after: Cursor -""" -Get the last n items in the connection. This can be used in combination with the before parameter. -""" - last: Int -""" -Get items before this cursor. -""" - before: Cursor -""" -Ordering options for items returned from the connection. -""" - orderBy: RepositoryOrder - filter: TeamRepositoryFilter - ): RepositoryConnection! -""" -Secrets owned by the team. -""" - secrets( -""" -Get the first n items in the connection. This can be used in combination with the after parameter. -""" - first: Int -""" -Get items after this cursor. -""" - after: Cursor -""" -Get the last n items in the connection. This can be used in combination with the before parameter. -""" - last: Int -""" -Get items before this cursor. -""" - before: Cursor -""" -Ordering options for items returned from the connection. -""" - orderBy: SecretOrder -""" -Filtering options for items returned from the connection. -""" - filter: SecretFilter - ): SecretConnection! -""" -SQL instances owned by the team. -""" - sqlInstances( -""" -Get the first n items in the connection. This can be used in combination with the after parameter. -""" - first: Int -""" -Get items after this cursor. -""" - after: Cursor -""" -Get the last n items in the connection. This can be used in combination with the before parameter. -""" - last: Int -""" -Get items before this cursor. -""" - before: Cursor -""" -Ordering options for items returned from the connection. -""" - orderBy: SqlInstanceOrder - ): SqlInstanceConnection! - unleash: UnleashInstance - workloadUtilization( - resourceType: UtilizationResourceType! - ): [WorkloadUtilizationData]! - serviceUtilization: TeamServiceUtilization! -""" -Valkey instances owned by the team. -""" - valkeys( -""" -Get the first n items in the connection. This can be used in combination with the after parameter. -""" - first: Int -""" -Get items after this cursor. -""" - after: Cursor -""" -Get the last n items in the connection. This can be used in combination with the before parameter. -""" - last: Int -""" -Get items before this cursor. -""" - before: Cursor -""" -Ordering options for items returned from the connection. -""" - orderBy: ValkeyOrder - ): ValkeyConnection! -""" -Get the vulnerability summary history for team. -""" - imageVulnerabilityHistory( -""" -Get vulnerability summary from given date until today. -""" - from: Date! - ): ImageVulnerabilityHistory! -""" -Get the mean time to fix history for a team. -""" - vulnerabilityFixHistory( - from: Date! - ): VulnerabilityFixHistory! - vulnerabilitySummary( - filter: TeamVulnerabilitySummaryFilter - ): TeamVulnerabilitySummary! -""" -Fetch vulnerability summaries for workloads in the team. -""" - vulnerabilitySummaries( -""" -Filter the workloads by named environments. -""" - filter: TeamVulnerabilitySummaryFilter -""" -Get the first n items in the connection. This can be used in combination with the after parameter. -""" - first: Int -""" -Get items after this cursor. -""" - after: Cursor -""" -Get the last n items in the connection. This can be used in combination with the before parameter. -""" - last: Int -""" -Get items before this cursor. -""" - before: Cursor -""" -Ordering options for items returned from the connection. -""" - orderBy: VulnerabilitySummaryOrder - ): WorkloadVulnerabilitySummaryConnection! -""" -Nais workloads owned by the team. -""" - workloads( -""" -Get the first n items in the connection. This can be used in combination with the after parameter. -""" - first: Int -""" -Get items after this cursor. -""" - after: Cursor -""" -Get the last n items in the connection. This can be used in combination with the before parameter. -""" - last: Int -""" -Get items before this cursor. -""" - before: Cursor -""" -Ordering options for items returned from the connection. -""" - orderBy: WorkloadOrder -""" -Filter the returned objects +The slug must: + +- contain only lowercase alphanumeric characters or hyphens +- contain at least 3 characters and at most 30 characters +- start with an alphabetic character +- end with an alphanumeric character +- not contain two hyphens in a row + +Examples of valid slugs: + +- `some-value` +- `someothervalue` +- `my-team-123` """ - filter: TeamWorkloadsFilter - ): WorkloadConnection! +scalar Slug + +type SqlDatabase implements Persistence & Node { + id: ID! + name: String! + team: Team! + environment: TeamEnvironment! @deprecated(reason: "Use the `teamEnvironment` field instead.") + teamEnvironment: TeamEnvironment! + charset: String + collation: String + deletionPolicy: String + healthy: Boolean! +} + +type SqlInstance implements Persistence & Node { + id: ID! + name: String! + team: Team! + environment: TeamEnvironment! @deprecated(reason: "Use the `teamEnvironment` field instead.") + teamEnvironment: TeamEnvironment! + workload: Workload + cascadingDelete: Boolean! + connectionName: String + diskAutoresize: Boolean + diskAutoresizeLimit: Int + highAvailability: Boolean! + healthy: Boolean! + maintenanceVersion: String + maintenanceWindow: SqlInstanceMaintenanceWindow + backupConfiguration: SqlInstanceBackupConfiguration + projectID: String! + tier: String! + version: String + status: SqlInstanceStatus! + database: SqlDatabase + flags(first: Int, after: Cursor, last: Int, before: Cursor): SqlInstanceFlagConnection! + users(first: Int, after: Cursor, last: Int, before: Cursor, orderBy: SqlInstanceUserOrder): SqlInstanceUserConnection! + metrics: SqlInstanceMetrics! + state: SqlInstanceState! + + """Issues that affects the instance.""" + issues( + """ + Get the first n items in the connection. This can be used in combination with the after parameter. + """ + first: Int + + """Get items after this cursor.""" + after: Cursor + + """ + Get the last n items in the connection. This can be used in combination with the before parameter. + """ + last: Int + + """Get items before this cursor.""" + before: Cursor + + """Ordering options for items returned from the connection.""" + orderBy: IssueOrder + + """Filtering options for items returned from the connection.""" + filter: ResourceIssueFilter + ): IssueConnection! + + """ + Indicates whether audit logging is enabled for this SQL instance and provides a link to the logs if set. + """ + auditLog: AuditLog + cost: SqlInstanceCost! +} + +type SqlInstanceBackupConfiguration { + enabled: Boolean + startTime: String + retainedBackups: Int + pointInTimeRecovery: Boolean + transactionLogRetentionDays: Int +} + +type SqlInstanceConnection { + pageInfo: PageInfo! + nodes: [SqlInstance!]! + edges: [SqlInstanceEdge!]! +} + +type SqlInstanceCost { + sum: Float! +} + +type SqlInstanceCpu { + cores: Float! + utilization: Float! +} + +type SqlInstanceDisk { + quotaBytes: Int! + utilization: Float! +} + +type SqlInstanceEdge { + cursor: Cursor! + node: SqlInstance! +} + +type SqlInstanceFlag { + name: String! + value: String! +} + +type SqlInstanceFlagConnection { + pageInfo: PageInfo! + nodes: [SqlInstanceFlag!]! + edges: [SqlInstanceFlagEdge!]! +} + +type SqlInstanceFlagEdge { + cursor: Cursor! + node: SqlInstanceFlag! +} + +type SqlInstanceMaintenanceWindow { + day: Int! + hour: Int! +} + +type SqlInstanceMemory { + quotaBytes: Int! + utilization: Float! +} + +type SqlInstanceMetrics { + cpu: SqlInstanceCpu! + memory: SqlInstanceMemory! + disk: SqlInstanceDisk! +} + +input SqlInstanceOrder { + field: SqlInstanceOrderField! + direction: OrderDirection! +} + +enum SqlInstanceOrderField { + NAME + VERSION + ENVIRONMENT + COST + CPU_UTILIZATION + MEMORY_UTILIZATION + DISK_UTILIZATION + STATE + + """Order SqlInstances by issue severity""" + ISSUES +} + +enum SqlInstanceState { + UNSPECIFIED + STOPPED + RUNNABLE + SUSPENDED + PENDING_DELETE + PENDING_CREATE + MAINTENANCE + FAILED +} + +type SqlInstanceStateIssue implements Issue & Node { + id: ID! + teamEnvironment: TeamEnvironment! + severity: Severity! + message: String! + state: SqlInstanceState! + sqlInstance: SqlInstance! +} + +type SqlInstanceStatus { + publicIpAddress: String + privateIpAddress: String +} + +type SqlInstanceUser { + name: String! + authentication: String! +} + +type SqlInstanceUserConnection { + pageInfo: PageInfo! + nodes: [SqlInstanceUser!]! + edges: [SqlInstanceUserEdge!]! +} + +type SqlInstanceUserEdge { + cursor: Cursor! + node: SqlInstanceUser! +} + +input SqlInstanceUserOrder { + field: SqlInstanceUserOrderField! + direction: OrderDirection! +} + +enum SqlInstanceUserOrderField { + NAME + AUTHENTICATION +} + +type SqlInstanceVersionIssue implements Issue & Node { + id: ID! + teamEnvironment: TeamEnvironment! + severity: Severity! + message: String! + sqlInstance: SqlInstance! +} + +input StartOpenSearchMaintenanceInput { + serviceName: String! + teamSlug: Slug! + environmentName: String! +} + +type StartOpenSearchMaintenancePayload { + error: String +} + +input StartValkeyMaintenanceInput { + serviceName: String! + teamSlug: Slug! + environmentName: String! +} + +type StartValkeyMaintenancePayload { + error: String +} + +"""The subscription root for the Nais GraphQL API.""" +type Subscription { + """ + Subscribe to log lines + + This subscription is used to stream log lines. + """ + log(filter: LogSubscriptionFilter!): LogLine! + + """ + Subscribe to workload logs + + This subscription is used to stream logs from a specific workload. When filtering logs you must either specify an + application or a job owned by a team that is running in a specific environment. You can also filter logs on instance + name(s). + """ + workloadLog(filter: WorkloadLogSubscriptionFilter!): WorkloadLogLine! } """ -Input for filtering alerts. +The team type represents a team on the [Nais platform](https://nais.io/). + +Learn more about what Nais teams are and what they can be used for in the [official Nais documentation](https://docs.nais.io/explanations/team/). + +External resources (e.g. entraIDGroupID, gitHubTeamSlug) are managed by [Nais API reconcilers](https://github.com/nais/api-reconcilers). """ +type Team implements Node & ActivityLogger { + """The globally unique ID of the team.""" + id: ID! + + """Unique slug of the team.""" + slug: Slug! + + """Main Slack channel for the team.""" + slackChannel: String! + + """Purpose of the team.""" + purpose: String! + + """External resources for the team.""" + externalResources: TeamExternalResources! + + """Get a specific member of the team.""" + member(email: String!): TeamMember! + + """Team members.""" + members( + """ + Get the first n items in the connection. This can be used in combination with the after parameter. + """ + first: Int + + """Get items after this cursor.""" + after: Cursor + + """ + Get the last n items in the connection. This can be used in combination with the before parameter. + """ + last: Int + + """Get items before this cursor.""" + before: Cursor + + """Ordering options for items returned from the connection.""" + orderBy: TeamMemberOrder + ): TeamMemberConnection! + + """Timestamp of the last successful synchronization of the team.""" + lastSuccessfulSync: Time + + """Whether or not the team is currently being deleted.""" + deletionInProgress: Boolean! + + """Whether or not the viewer is an owner of the team.""" + viewerIsOwner: Boolean! + + """Whether or not the viewer is a member of the team.""" + viewerIsMember: Boolean! + + """Environments for the team.""" + environments: [TeamEnvironment!]! + + """Get a specific environment for the team.""" + environment(name: String!): TeamEnvironment! + + """Get a delete key for the team.""" + deleteKey(key: String!): TeamDeleteKey! + + """Overall inventory of resources for the team.""" + inventoryCounts: TeamInventoryCounts! + + """Activity log associated with the team.""" + activityLog( + """ + Get the first n items in the connection. This can be used in combination with the after parameter. + """ + first: Int + + """Get items after this cursor.""" + after: Cursor + + """ + Get the last n items in the connection. This can be used in combination with the before parameter. + """ + last: Int + + """Get items before this cursor.""" + before: Cursor + + """Filter items.""" + filter: ActivityLogFilter + ): ActivityLogEntryConnection! + + """EXPERIMENTAL: DO NOT USE""" + alerts( + """ + Get the first n items in the connection. This can be used in combination with the after parameter. + """ + first: Int + + """Get items after this cursor.""" + after: Cursor + + """ + Get the last n items in the connection. This can be used in combination with the before parameter. + """ + last: Int + + """Get items before this cursor.""" + before: Cursor + + """Ordering options for items returned from the connection.""" + orderBy: AlertOrder + + """Filter the returned objects""" + filter: TeamAlertsFilter + ): AlertConnection! + + """Nais applications owned by the team.""" + applications( + """ + Get the first n items in the connection. This can be used in combination with the after parameter. + """ + first: Int + + """Get items after this cursor.""" + after: Cursor + + """ + Get the last n items in the connection. This can be used in combination with the before parameter. + """ + last: Int + + """Get items before this cursor.""" + before: Cursor + + """Ordering options for items returned from the connection.""" + orderBy: ApplicationOrder + + """Filtering options for items returned from the connection.""" + filter: TeamApplicationsFilter + ): ApplicationConnection! + + """BigQuery datasets owned by the team.""" + bigQueryDatasets( + """ + Get the first n items in the connection. This can be used in combination with the after parameter. + """ + first: Int + + """Get items after this cursor.""" + after: Cursor + + """ + Get the last n items in the connection. This can be used in combination with the before parameter. + """ + last: Int + + """Get items before this cursor.""" + before: Cursor + + """Ordering options for items returned from the connection.""" + orderBy: BigQueryDatasetOrder + ): BigQueryDatasetConnection! + + """Google Cloud Storage buckets owned by the team.""" + buckets( + """ + Get the first n items in the connection. This can be used in combination with the after parameter. + """ + first: Int + + """Get items after this cursor.""" + after: Cursor + + """ + Get the last n items in the connection. This can be used in combination with the before parameter. + """ + last: Int + + """Get items before this cursor.""" + before: Cursor + + """Ordering options for items returned from the connection.""" + orderBy: BucketOrder + ): BucketConnection! + + """Configs owned by the team.""" + configs( + """ + Get the first n items in the connection. This can be used in combination with the after parameter. + """ + first: Int + + """Get items after this cursor.""" + after: Cursor + + """ + Get the last n items in the connection. This can be used in combination with the before parameter. + """ + last: Int + + """Get items before this cursor.""" + before: Cursor + + """Ordering options for items returned from the connection.""" + orderBy: ConfigOrder + + """Filtering options for items returned from the connection.""" + filter: ConfigFilter + ): ConfigConnection! + + """The cost for the team.""" + cost: TeamCost! + + """Deployment key for the team.""" + deploymentKey: DeploymentKey + + """List deployments for a team.""" + deployments( + """ + Get the first n items in the connection. This can be used in combination with the after parameter. + """ + first: Int + + """Get items after this cursor.""" + after: Cursor + + """ + Get the last n items in the connection. This can be used in combination with the before parameter. + """ + last: Int + + """Get items before this cursor.""" + before: Cursor + ): DeploymentConnection! + + """Issues that affects the team.""" + issues( + """ + Get the first n items in the connection. This can be used in combination with the after parameter. + """ + first: Int + + """Get items after this cursor.""" + after: Cursor + + """ + Get the last n items in the connection. This can be used in combination with the before parameter. + """ + last: Int + + """Get items before this cursor.""" + before: Cursor + orderBy: IssueOrder + filter: IssueFilter + ): IssueConnection! + + """Nais jobs owned by the team.""" + jobs( + """ + Get the first n items in the connection. This can be used in combination with the after parameter. + """ + first: Int + + """Get items after this cursor.""" + after: Cursor + + """ + Get the last n items in the connection. This can be used in combination with the before parameter. + """ + last: Int + + """Get items before this cursor.""" + before: Cursor + + """Ordering options for items returned from the connection.""" + orderBy: JobOrder + + """Filtering options for items returned from the connection.""" + filter: TeamJobsFilter + ): JobConnection! + + """Kafka topics owned by the team.""" + kafkaTopics( + """ + Get the first n items in the connection. This can be used in combination with the after parameter. + """ + first: Int + + """Get items after this cursor.""" + after: Cursor + + """ + Get the last n items in the connection. This can be used in combination with the before parameter. + """ + last: Int + + """Get items before this cursor.""" + before: Cursor + + """Ordering options for items returned from the connection.""" + orderBy: KafkaTopicOrder + ): KafkaTopicConnection! + + """OpenSearch instances owned by the team.""" + openSearches( + """ + Get the first n items in the connection. This can be used in combination with the after parameter. + """ + first: Int + + """Get items after this cursor.""" + after: Cursor + + """ + Get the last n items in the connection. This can be used in combination with the before parameter. + """ + last: Int + + """Get items before this cursor.""" + before: Cursor + + """Ordering options for items returned from the connection.""" + orderBy: OpenSearchOrder + ): OpenSearchConnection! + + """Postgres instances owned by the team.""" + postgresInstances( + """ + Get the first n items in the connection. This can be used in combination with the after parameter. + """ + first: Int + + """Get items after this cursor.""" + after: Cursor + + """ + Get the last n items in the connection. This can be used in combination with the before parameter. + """ + last: Int + + """Get items before this cursor.""" + before: Cursor + + """Ordering options for items returned from the connection.""" + orderBy: PostgresInstanceOrder + ): PostgresInstanceConnection! + repositories( + """ + Get the first n items in the connection. This can be used in combination with the after parameter. + """ + first: Int + + """Get items after this cursor.""" + after: Cursor + + """ + Get the last n items in the connection. This can be used in combination with the before parameter. + """ + last: Int + + """Get items before this cursor.""" + before: Cursor + + """Ordering options for items returned from the connection.""" + orderBy: RepositoryOrder + filter: TeamRepositoryFilter + ): RepositoryConnection! + + """Secrets owned by the team.""" + secrets( + """ + Get the first n items in the connection. This can be used in combination with the after parameter. + """ + first: Int + + """Get items after this cursor.""" + after: Cursor + + """ + Get the last n items in the connection. This can be used in combination with the before parameter. + """ + last: Int + + """Get items before this cursor.""" + before: Cursor + + """Ordering options for items returned from the connection.""" + orderBy: SecretOrder + + """Filtering options for items returned from the connection.""" + filter: SecretFilter + ): SecretConnection! + + """SQL instances owned by the team.""" + sqlInstances( + """ + Get the first n items in the connection. This can be used in combination with the after parameter. + """ + first: Int + + """Get items after this cursor.""" + after: Cursor + + """ + Get the last n items in the connection. This can be used in combination with the before parameter. + """ + last: Int + + """Get items before this cursor.""" + before: Cursor + + """Ordering options for items returned from the connection.""" + orderBy: SqlInstanceOrder + ): SqlInstanceConnection! + unleash: UnleashInstance + workloadUtilization(resourceType: UtilizationResourceType!): [WorkloadUtilizationData]! + serviceUtilization: TeamServiceUtilization! + + """Valkey instances owned by the team.""" + valkeys( + """ + Get the first n items in the connection. This can be used in combination with the after parameter. + """ + first: Int + + """Get items after this cursor.""" + after: Cursor + + """ + Get the last n items in the connection. This can be used in combination with the before parameter. + """ + last: Int + + """Get items before this cursor.""" + before: Cursor + + """Ordering options for items returned from the connection.""" + orderBy: ValkeyOrder + ): ValkeyConnection! + + """Get the vulnerability summary history for team.""" + imageVulnerabilityHistory( + """Get vulnerability summary from given date until today.""" + from: Date! + ): ImageVulnerabilityHistory! + + """Get the mean time to fix history for a team.""" + vulnerabilityFixHistory(from: Date!): VulnerabilityFixHistory! + vulnerabilitySummary(filter: TeamVulnerabilitySummaryFilter): TeamVulnerabilitySummary! + + """Fetch vulnerability summaries for workloads in the team.""" + vulnerabilitySummaries( + """Filter vulnerability summaries by environment.""" + filter: TeamVulnerabilitySummaryFilter + + """ + Get the first n items in the connection. This can be used in combination with the after parameter. + """ + first: Int + + """Get items after this cursor.""" + after: Cursor + + """ + Get the last n items in the connection. This can be used in combination with the before parameter. + """ + last: Int + + """Get items before this cursor.""" + before: Cursor + + """Ordering options for items returned from the connection.""" + orderBy: VulnerabilitySummaryOrder + ): WorkloadVulnerabilitySummaryConnection! + + """Nais workloads owned by the team.""" + workloads( + """ + Get the first n items in the connection. This can be used in combination with the after parameter. + """ + first: Int + + """Get items after this cursor.""" + after: Cursor + + """ + Get the last n items in the connection. This can be used in combination with the before parameter. + """ + last: Int + + """Get items before this cursor.""" + before: Cursor + + """Ordering options for items returned from the connection.""" + orderBy: WorkloadOrder + + """Filter the returned objects""" + filter: TeamWorkloadsFilter + ): WorkloadConnection! +} + +"""Input for filtering alerts.""" input TeamAlertsFilter { -""" -Input for filtering alerts. -""" - name: String -""" -Input for filtering alerts. -""" - environments: [String!] -""" -Input for filtering alerts. -""" - states: [AlertState!] + """Filter by the name of the application.""" + name: String + + """Filter by the name of the environment.""" + environments: [String!] + + """Only return alerts from the given named states.""" + states: [AlertState!] } -""" -Input for filtering the applications of a team. -""" +"""Input for filtering the applications of a team.""" input TeamApplicationsFilter { -""" -Input for filtering the applications of a team. -""" - name: String -""" -Input for filtering the applications of a team. -""" - environments: [String!] + """Filter by the name of the application.""" + name: String + + """Filter by the name of the environment.""" + environments: [String!] } type TeamCDN { -""" -The CDN bucket for the team. -""" - bucket: String! + """The CDN bucket for the team.""" + bucket: String! } -type TeamConfirmDeleteKeyActivityLogEntry implements ActivityLogEntry & Node{ -""" -ID of the entry. -""" - id: ID! -""" -The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. -""" - actor: String! -""" -Creation time of the entry. -""" - createdAt: Time! -""" -Message that summarizes the entry. -""" - message: String! -""" -Type of the resource that was affected by the action. -""" - resourceType: ActivityLogEntryResourceType! -""" -Name of the resource that was affected by the action. -""" - resourceName: String! -""" -The team slug that the entry belongs to. -""" - teamSlug: Slug! -""" -The environment name that the entry belongs to. -""" - environmentName: String +type TeamConfirmDeleteKeyActivityLogEntry implements ActivityLogEntry & Node { + """ID of the entry.""" + id: ID! + + """ + The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + """ + actor: String! + + """Creation time of the entry.""" + createdAt: Time! + + """Message that summarizes the entry.""" + message: String! + + """Type of the resource that was affected by the action.""" + resourceType: ActivityLogEntryResourceType! + + """Name of the resource that was affected by the action.""" + resourceName: String! + + """The team slug that the entry belongs to.""" + teamSlug: Slug! + + """The environment name that the entry belongs to.""" + environmentName: String } type TeamConnection { -""" -Pagination information. -""" - pageInfo: PageInfo! -""" -List of nodes. -""" - nodes: [Team!]! -""" -List of edges. -""" - edges: [TeamEdge!]! + """Pagination information.""" + pageInfo: PageInfo! + + """List of nodes.""" + nodes: [Team!]! + + """List of edges.""" + edges: [TeamEdge!]! } type TeamCost { - daily( -""" -Start date of the period, inclusive. -""" - from: Date! -""" -End date of the period, inclusive. -""" - to: Date! -""" -Filter the results. -""" - filter: TeamCostDailyFilter - ): TeamCostPeriod! - monthlySummary: TeamCostMonthlySummary! + daily( + """Start date of the period, inclusive.""" + from: Date! + + """End date of the period, inclusive.""" + to: Date! + + """Filter the results.""" + filter: TeamCostDailyFilter + ): TeamCostPeriod! + monthlySummary: TeamCostMonthlySummary! } input TeamCostDailyFilter { - services: [String!] + """Services to include in the summary.""" + services: [String!] } type TeamCostMonthlySample { -""" -The last date with cost data in the month. -""" - date: Date! -""" -The total cost for the month. -""" - cost: Float! + """The last date with cost data in the month.""" + date: Date! + + """The total cost for the month.""" + cost: Float! } type TeamCostMonthlySummary { -""" -The total cost for the last 12 months. -""" - sum: Float! -""" -The cost series. -""" - series: [TeamCostMonthlySample!]! + """The total cost for the last 12 months.""" + sum: Float! + + """The cost series.""" + series: [TeamCostMonthlySample!]! } type TeamCostPeriod { -""" -The total cost for the period. -""" - sum: Float! -""" -The cost series. -""" - series: [ServiceCostSeries!]! + """The total cost for the period.""" + sum: Float! + + """The cost series.""" + series: [ServiceCostSeries!]! } -type TeamCreateDeleteKeyActivityLogEntry implements ActivityLogEntry & Node{ -""" -ID of the entry. -""" - id: ID! -""" -The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. -""" - actor: String! -""" -Creation time of the entry. -""" - createdAt: Time! -""" -Message that summarizes the entry. -""" - message: String! -""" -Type of the resource that was affected by the action. -""" - resourceType: ActivityLogEntryResourceType! -""" -Name of the resource that was affected by the action. -""" - resourceName: String! -""" -The team slug that the entry belongs to. -""" - teamSlug: Slug! -""" -The environment name that the entry belongs to. -""" - environmentName: String +type TeamCreateDeleteKeyActivityLogEntry implements ActivityLogEntry & Node { + """ID of the entry.""" + id: ID! + + """ + The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + """ + actor: String! + + """Creation time of the entry.""" + createdAt: Time! + + """Message that summarizes the entry.""" + message: String! + + """Type of the resource that was affected by the action.""" + resourceType: ActivityLogEntryResourceType! + + """Name of the resource that was affected by the action.""" + resourceName: String! + + """The team slug that the entry belongs to.""" + teamSlug: Slug! + + """The environment name that the entry belongs to.""" + environmentName: String } -type TeamCreatedActivityLogEntry implements ActivityLogEntry & Node{ -""" -ID of the entry. -""" - id: ID! -""" -The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. -""" - actor: String! -""" -Creation time of the entry. -""" - createdAt: Time! -""" -Message that summarizes the entry. -""" - message: String! -""" -Type of the resource that was affected by the action. -""" - resourceType: ActivityLogEntryResourceType! -""" -Name of the resource that was affected by the action. -""" - resourceName: String! -""" -The team slug that the entry belongs to. -""" - teamSlug: Slug! -""" -The environment name that the entry belongs to. -""" - environmentName: String +type TeamCreatedActivityLogEntry implements ActivityLogEntry & Node { + """ID of the entry.""" + id: ID! + + """ + The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + """ + actor: String! + + """Creation time of the entry.""" + createdAt: Time! + + """Message that summarizes the entry.""" + message: String! + + """Type of the resource that was affected by the action.""" + resourceType: ActivityLogEntryResourceType! + + """Name of the resource that was affected by the action.""" + resourceName: String! + + """The team slug that the entry belongs to.""" + teamSlug: Slug! + + """The environment name that the entry belongs to.""" + environmentName: String } type TeamDeleteKey { -""" -The unique key used to confirm the deletion of a team. -""" - key: String! -""" -The creation timestamp of the key. -""" - createdAt: Time! -""" -Expiration timestamp of the key. -""" - expires: Time! -""" -The user who created the key. -""" - createdBy: User! -""" -The team the delete key is for. -""" - team: Team! + """The unique key used to confirm the deletion of a team.""" + key: String! + + """The creation timestamp of the key.""" + createdAt: Time! + + """Expiration timestamp of the key.""" + expires: Time! + + """The user who created the key.""" + createdBy: User! + + """The team the delete key is for.""" + team: Team! } -type TeamDeployKeyUpdatedActivityLogEntry implements ActivityLogEntry & Node{ -""" -ID of the entry. -""" - id: ID! -""" -The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. -""" - actor: String! -""" -Creation time of the entry. -""" - createdAt: Time! -""" -Message that summarizes the entry. -""" - message: String! -""" -Type of the resource that was affected by the action. -""" - resourceType: ActivityLogEntryResourceType! -""" -Name of the resource that was affected by the action. -""" - resourceName: String! -""" -The team slug that the entry belongs to. -""" - teamSlug: Slug! -""" -The environment name that the entry belongs to. -""" - environmentName: String +type TeamDeployKeyUpdatedActivityLogEntry implements ActivityLogEntry & Node { + """ID of the entry.""" + id: ID! + + """ + The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + """ + actor: String! + + """Creation time of the entry.""" + createdAt: Time! + + """Message that summarizes the entry.""" + message: String! + + """Type of the resource that was affected by the action.""" + resourceType: ActivityLogEntryResourceType! + + """Name of the resource that was affected by the action.""" + resourceName: String! + + """The team slug that the entry belongs to.""" + teamSlug: Slug! + + """The environment name that the entry belongs to.""" + environmentName: String } type TeamEdge { -""" -Cursor for this edge that can be used for pagination. -""" - cursor: Cursor! -""" -The team. -""" - node: Team! + """Cursor for this edge that can be used for pagination.""" + cursor: Cursor! + + """The team.""" + node: Team! } type TeamEntraIDGroup { -""" -The ID of the Entra ID (f.k.a. Azure AD) group for the team. -""" - groupID: String! + """The ID of the Entra ID (f.k.a. Azure AD) group for the team.""" + groupID: String! } -type TeamEnvironment implements Node{ -""" -The globally unique ID of the team environment. -""" - id: ID! -""" -Name of the team environment. -""" - name: String! @deprecated(reason: "Use the `environment` field to get the environment name.") -""" -The GCP project ID for the team environment. -""" - gcpProjectID: String -""" -The Slack alerts channel for the team environment. -""" - slackAlertsChannel: String! -""" -The connected team. -""" - team: Team! -""" -EXPERIMENTAL: DO NOT USE -""" - alerts( -""" -Get the first n items in the connection. This can be used in combination with the after parameter. -""" - first: Int -""" -Get items after this cursor. -""" - after: Cursor -""" -Get the last n items in the connection. This can be used in combination with the before parameter. -""" - last: Int -""" -Get items before this cursor. -""" - before: Cursor -""" -Ordering options for items returned from the connection. -""" - orderBy: AlertOrder -""" -Filter the returned objects -""" - filter: TeamAlertsFilter - ): AlertConnection! -""" -Nais application in the team environment. -""" - application( -""" -The name of the application. -""" - name: String! - ): Application! -""" -BigQuery datasets in the team environment. -""" - bigQueryDataset( - name: String! - ): BigQueryDataset! -""" -Storage bucket in the team environment. -""" - bucket( - name: String! - ): Bucket! -""" -The cost for the team environment. -""" - cost: TeamEnvironmentCost! -""" -Get the environment. -""" - environment: Environment! -""" -Nais job in the team environment. -""" - job( - name: String! - ): Job! -""" -Kafka topic in the team environment. -""" - kafkaTopic( - name: String! - ): KafkaTopic! -""" -OpenSearch instance in the team environment. -""" - openSearch( - name: String! - ): OpenSearch! -""" -Postgres instance in the team environment. -""" - postgresInstance( - name: String! - ): PostgresInstance! -""" -Get a secret by name. -""" - secret( - name: String! - ): Secret! -""" -SQL instance in the team environment. -""" - sqlInstance( - name: String! - ): SqlInstance! -""" -Valkey instance in the team environment. -""" - valkey( - name: String! - ): Valkey! -""" -Workload in the team environment. -""" - workload( -""" -The name of the workload to get. -""" - name: String! - ): Workload! +type TeamEnvironment implements Node { + """The globally unique ID of the team environment.""" + id: ID! + + """Name of the team environment.""" + name: String! @deprecated(reason: "Use the `environment` field to get the environment name.") + + """The GCP project ID for the team environment.""" + gcpProjectID: String + + """The Slack alerts channel for the team environment.""" + slackAlertsChannel: String! + + """The connected team.""" + team: Team! + + """EXPERIMENTAL: DO NOT USE""" + alerts( + """ + Get the first n items in the connection. This can be used in combination with the after parameter. + """ + first: Int + + """Get items after this cursor.""" + after: Cursor + + """ + Get the last n items in the connection. This can be used in combination with the before parameter. + """ + last: Int + + """Get items before this cursor.""" + before: Cursor + + """Ordering options for items returned from the connection.""" + orderBy: AlertOrder + + """Filter the returned objects""" + filter: TeamAlertsFilter + ): AlertConnection! + + """Nais application in the team environment.""" + application( + """The name of the application.""" + name: String! + ): Application! + + """BigQuery datasets in the team environment.""" + bigQueryDataset(name: String!): BigQueryDataset! + + """Storage bucket in the team environment.""" + bucket(name: String!): Bucket! + + """Get a config by name.""" + config(name: String!): Config! + + """The cost for the team environment.""" + cost: TeamEnvironmentCost! + + """Get the environment.""" + environment: Environment! + + """Nais job in the team environment.""" + job(name: String!): Job! + + """Kafka topic in the team environment.""" + kafkaTopic(name: String!): KafkaTopic! + + """OpenSearch instance in the team environment.""" + openSearch(name: String!): OpenSearch! + + """Postgres instance in the team environment.""" + postgresInstance(name: String!): PostgresInstance! + + """Get a secret by name.""" + secret(name: String!): Secret! + + """SQL instance in the team environment.""" + sqlInstance(name: String!): SqlInstance! + + """Valkey instance in the team environment.""" + valkey(name: String!): Valkey! + + """Workload in the team environment.""" + workload( + """The name of the workload to get.""" + name: String! + ): Workload! } type TeamEnvironmentCost { - daily( -""" -Start date of the period, inclusive. -""" - from: Date! -""" -End date of the period, inclusive. -""" - to: Date! - ): TeamEnvironmentCostPeriod! + daily( + """Start date of the period, inclusive.""" + from: Date! + + """End date of the period, inclusive.""" + to: Date! + ): TeamEnvironmentCostPeriod! } type TeamEnvironmentCostPeriod { -""" -The total cost for the period. -""" - sum: Float! -""" -The cost series. -""" - series: [WorkloadCostSeries!]! + """The total cost for the period.""" + sum: Float! + + """The cost series.""" + series: [WorkloadCostSeries!]! } -type TeamEnvironmentUpdatedActivityLogEntry implements ActivityLogEntry & Node{ -""" -ID of the entry. -""" - id: ID! -""" -The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. -""" - actor: String! -""" -Creation time of the entry. -""" - createdAt: Time! -""" -Message that summarizes the entry. -""" - message: String! -""" -Type of the resource that was affected by the action. -""" - resourceType: ActivityLogEntryResourceType! -""" -Name of the resource that was affected by the action. -""" - resourceName: String! -""" -The team slug that the entry belongs to. -""" - teamSlug: Slug! -""" -The environment name that the entry belongs to. -""" - environmentName: String -""" -Data associated with the action. -""" - data: TeamEnvironmentUpdatedActivityLogEntryData! +type TeamEnvironmentUpdatedActivityLogEntry implements ActivityLogEntry & Node { + """ID of the entry.""" + id: ID! + + """ + The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + """ + actor: String! + + """Creation time of the entry.""" + createdAt: Time! + + """Message that summarizes the entry.""" + message: String! + + """Type of the resource that was affected by the action.""" + resourceType: ActivityLogEntryResourceType! + + """Name of the resource that was affected by the action.""" + resourceName: String! + + """The team slug that the entry belongs to.""" + teamSlug: Slug! + + """The environment name that the entry belongs to.""" + environmentName: String + + """Data associated with the action.""" + data: TeamEnvironmentUpdatedActivityLogEntryData! } type TeamEnvironmentUpdatedActivityLogEntryData { -""" -Fields that were updated. -""" - updatedFields: [TeamEnvironmentUpdatedActivityLogEntryDataUpdatedField!]! + """Fields that were updated.""" + updatedFields: [TeamEnvironmentUpdatedActivityLogEntryDataUpdatedField!]! } type TeamEnvironmentUpdatedActivityLogEntryDataUpdatedField { -""" -The name of the field. -""" - field: String! -""" -The old value of the field. -""" - oldValue: String -""" -The new value of the field. -""" - newValue: String + """The name of the field.""" + field: String! + + """The old value of the field.""" + oldValue: String + + """The new value of the field.""" + newValue: String } type TeamExternalResources { -""" -The Entra ID (f.k.a. Azure AD) group for the team. -""" - entraIDGroup: TeamEntraIDGroup -""" -The teams GitHub team. -""" - gitHubTeam: TeamGitHubTeam -""" -The Google group for the team. -""" - googleGroup: TeamGoogleGroup -""" -Google Artifact Registry. -""" - googleArtifactRegistry: TeamGoogleArtifactRegistry -""" -CDN bucket. -""" - cdn: TeamCDN + """The Entra ID (f.k.a. Azure AD) group for the team.""" + entraIDGroup: TeamEntraIDGroup + + """The teams GitHub team.""" + gitHubTeam: TeamGitHubTeam + + """The Google group for the team.""" + googleGroup: TeamGoogleGroup + + """Google Artifact Registry.""" + googleArtifactRegistry: TeamGoogleArtifactRegistry + + """CDN bucket.""" + cdn: TeamCDN } -""" -Input for filtering teams. -""" +"""Input for filtering teams.""" input TeamFilter { -""" -Input for filtering teams. -""" - hasWorkloads: Boolean + """Filter teams by the existence of workloads.""" + hasWorkloads: Boolean } type TeamGitHubTeam { -""" -The slug of the GitHub team. -""" - slug: String! + """The slug of the GitHub team.""" + slug: String! } type TeamGoogleArtifactRegistry { -""" -The Google Artifact Registry for the team. -""" - repository: String! + """The Google Artifact Registry for the team.""" + repository: String! } type TeamGoogleGroup { -""" -The email address of the Google Workspace group for the team. -""" - email: String! + """The email address of the Google Workspace group for the team.""" + email: String! } -""" -Application inventory count for a team. -""" +"""Application inventory count for a team.""" type TeamInventoryCountApplications { -""" -Total number of applications. -""" - total: Int! + """Total number of applications.""" + total: Int! } type TeamInventoryCountBigQueryDatasets { -""" -Total number of BigQuery datasets. -""" - total: Int! + """Total number of BigQuery datasets.""" + total: Int! } type TeamInventoryCountBuckets { -""" -Total number of Google Cloud Storage buckets. -""" - total: Int! + """Total number of Google Cloud Storage buckets.""" + total: Int! +} + +"""Config inventory count for a team.""" +type TeamInventoryCountConfigs { + """Total number of configs.""" + total: Int! } type TeamInventoryCountJobs { -""" -Total number of jobs. -""" - total: Int! + """Total number of jobs.""" + total: Int! } type TeamInventoryCountKafkaTopics { -""" -Total number of Kafka topics. -""" - total: Int! + """Total number of Kafka topics.""" + total: Int! } type TeamInventoryCountOpenSearches { -""" -Total number of OpenSearch instances. -""" - total: Int! + """Total number of OpenSearch instances.""" + total: Int! } type TeamInventoryCountPostgresInstances { -""" -Total number of Postgres instances. -""" - total: Int! + """Total number of Postgres instances.""" + total: Int! } -""" -Secret inventory count for a team. -""" +"""Secret inventory count for a team.""" type TeamInventoryCountSecrets { -""" -Total number of secrets. -""" - total: Int! + """Total number of secrets.""" + total: Int! } type TeamInventoryCountSqlInstances { -""" -Total number of SQL instances. -""" - total: Int! + """Total number of SQL instances.""" + total: Int! } type TeamInventoryCountValkeys { -""" -Total number of Valkey instances. -""" - total: Int! + """Total number of Valkey instances.""" + total: Int! } type TeamInventoryCounts { -""" -Application inventory count for a team. -""" - applications: TeamInventoryCountApplications! - bigQueryDatasets: TeamInventoryCountBigQueryDatasets! - buckets: TeamInventoryCountBuckets! - jobs: TeamInventoryCountJobs! - kafkaTopics: TeamInventoryCountKafkaTopics! - openSearches: TeamInventoryCountOpenSearches! - postgresInstances: TeamInventoryCountPostgresInstances! -""" -Secret inventory count for a team. -""" - secrets: TeamInventoryCountSecrets! - sqlInstances: TeamInventoryCountSqlInstances! - valkeys: TeamInventoryCountValkeys! -} + """Application inventory count for a team.""" + applications: TeamInventoryCountApplications! + bigQueryDatasets: TeamInventoryCountBigQueryDatasets! + buckets: TeamInventoryCountBuckets! -input TeamJobsFilter { - name: String! - environments: [String!] -} + """Config inventory count for a team.""" + configs: TeamInventoryCountConfigs! + jobs: TeamInventoryCountJobs! + kafkaTopics: TeamInventoryCountKafkaTopics! + openSearches: TeamInventoryCountOpenSearches! + postgresInstances: TeamInventoryCountPostgresInstances! -type TeamMember { -""" -Team instance. -""" - team: Team! -""" -User instance. -""" - user: User! -""" -The role that the user has in the team. -""" - role: TeamMemberRole! + """Secret inventory count for a team.""" + secrets: TeamInventoryCountSecrets! + sqlInstances: TeamInventoryCountSqlInstances! + valkeys: TeamInventoryCountValkeys! } -type TeamMemberAddedActivityLogEntry implements ActivityLogEntry & Node{ -""" -ID of the entry. -""" - id: ID! -""" -The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. -""" - actor: String! -""" -Creation time of the entry. -""" - createdAt: Time! -""" -Message that summarizes the entry. -""" - message: String! -""" -Type of the resource that was affected by the action. -""" - resourceType: ActivityLogEntryResourceType! -""" -Name of the resource that was affected by the action. -""" - resourceName: String! -""" -The team slug that the entry belongs to. -""" - teamSlug: Slug! -""" -The environment name that the entry belongs to. -""" - environmentName: String -""" -Data associated with the action. -""" - data: TeamMemberAddedActivityLogEntryData! +input TeamJobsFilter { + """Filter by the name of the job.""" + name: String! + + """Filter by the name of the environment.""" + environments: [String!] +} + +type TeamMember { + """Team instance.""" + team: Team! + + """User instance.""" + user: User! + + """The role that the user has in the team.""" + role: TeamMemberRole! +} + +type TeamMemberAddedActivityLogEntry implements ActivityLogEntry & Node { + """ID of the entry.""" + id: ID! + + """ + The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + """ + actor: String! + + """Creation time of the entry.""" + createdAt: Time! + + """Message that summarizes the entry.""" + message: String! + + """Type of the resource that was affected by the action.""" + resourceType: ActivityLogEntryResourceType! + + """Name of the resource that was affected by the action.""" + resourceName: String! + + """The team slug that the entry belongs to.""" + teamSlug: Slug! + + """The environment name that the entry belongs to.""" + environmentName: String + + """Data associated with the action.""" + data: TeamMemberAddedActivityLogEntryData! } type TeamMemberAddedActivityLogEntryData { -""" -The role that the user was added with. -""" - role: TeamMemberRole! -""" -The ID of the user that was added. -""" - userID: ID! -""" -The email address of the user that was added. -""" - userEmail: String! + """The role that the user was added with.""" + role: TeamMemberRole! + + """The ID of the user that was added.""" + userID: ID! + + """The email address of the user that was added.""" + userEmail: String! } type TeamMemberConnection { -""" -Pagination information. -""" - pageInfo: PageInfo! -""" -List of nodes. -""" - nodes: [TeamMember!]! -""" -List of edges. -""" - edges: [TeamMemberEdge!]! + """Pagination information.""" + pageInfo: PageInfo! + + """List of nodes.""" + nodes: [TeamMember!]! + + """List of edges.""" + edges: [TeamMemberEdge!]! } type TeamMemberEdge { -""" -Cursor for this edge that can be used for pagination. -""" - cursor: Cursor! -""" -The team member. -""" - node: TeamMember! + """Cursor for this edge that can be used for pagination.""" + cursor: Cursor! + + """The team member.""" + node: TeamMember! } -""" -Ordering options for team members. -""" +"""Ordering options for team members.""" input TeamMemberOrder { -""" -Ordering options for team members. -""" - field: TeamMemberOrderField! -""" -Ordering options for team members. -""" - direction: OrderDirection! + """The field to order items by.""" + field: TeamMemberOrderField! + + """The direction to order items by.""" + direction: OrderDirection! } -""" -Possible fields to order team members by. -""" +"""Possible fields to order team members by.""" enum TeamMemberOrderField { -""" -The name of user. -""" - NAME -""" -The email address of the user. -""" - EMAIL -""" -The role the user has in the team. -""" - ROLE + """The name of user.""" + NAME + + """The email address of the user.""" + EMAIL + + """The role the user has in the team.""" + ROLE } -type TeamMemberRemovedActivityLogEntry implements ActivityLogEntry & Node{ -""" -ID of the entry. -""" - id: ID! -""" -The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. -""" - actor: String! -""" -Creation time of the entry. -""" - createdAt: Time! -""" -Message that summarizes the entry. -""" - message: String! -""" -Type of the resource that was affected by the action. -""" - resourceType: ActivityLogEntryResourceType! -""" -Name of the resource that was affected by the action. -""" - resourceName: String! -""" -The team slug that the entry belongs to. -""" - teamSlug: Slug! -""" -The environment name that the entry belongs to. -""" - environmentName: String -""" -Data associated with the action. -""" - data: TeamMemberRemovedActivityLogEntryData! +type TeamMemberRemovedActivityLogEntry implements ActivityLogEntry & Node { + """ID of the entry.""" + id: ID! + + """ + The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + """ + actor: String! + + """Creation time of the entry.""" + createdAt: Time! + + """Message that summarizes the entry.""" + message: String! + + """Type of the resource that was affected by the action.""" + resourceType: ActivityLogEntryResourceType! + + """Name of the resource that was affected by the action.""" + resourceName: String! + + """The team slug that the entry belongs to.""" + teamSlug: Slug! + + """The environment name that the entry belongs to.""" + environmentName: String + + """Data associated with the action.""" + data: TeamMemberRemovedActivityLogEntryData! } type TeamMemberRemovedActivityLogEntryData { -""" -The ID of the user that was removed. -""" - userID: ID! -""" -The email address of the user that was removed. -""" - userEmail: String! + """The ID of the user that was removed.""" + userID: ID! + + """The email address of the user that was removed.""" + userEmail: String! } -""" -Team member roles. -""" +"""Team member roles.""" enum TeamMemberRole { -""" -Member, full access including elevation. -""" - MEMBER -""" -Team owner, full access to the team including member management. -""" - OWNER + """Member, full access including elevation.""" + MEMBER + + """Team owner, full access to the team including member management.""" + OWNER } -type TeamMemberSetRoleActivityLogEntry implements ActivityLogEntry & Node{ -""" -ID of the entry. -""" - id: ID! -""" -The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. -""" - actor: String! -""" -Creation time of the entry. -""" - createdAt: Time! -""" -Message that summarizes the entry. -""" - message: String! -""" -Type of the resource that was affected by the action. -""" - resourceType: ActivityLogEntryResourceType! -""" -Name of the resource that was affected by the action. -""" - resourceName: String! -""" -The team slug that the entry belongs to. -""" - teamSlug: Slug! -""" -The environment name that the entry belongs to. -""" - environmentName: String -""" -Data associated with the action. -""" - data: TeamMemberSetRoleActivityLogEntryData! +type TeamMemberSetRoleActivityLogEntry implements ActivityLogEntry & Node { + """ID of the entry.""" + id: ID! + + """ + The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + """ + actor: String! + + """Creation time of the entry.""" + createdAt: Time! + + """Message that summarizes the entry.""" + message: String! + + """Type of the resource that was affected by the action.""" + resourceType: ActivityLogEntryResourceType! + + """Name of the resource that was affected by the action.""" + resourceName: String! + + """The team slug that the entry belongs to.""" + teamSlug: Slug! + + """The environment name that the entry belongs to.""" + environmentName: String + + """Data associated with the action.""" + data: TeamMemberSetRoleActivityLogEntryData! } type TeamMemberSetRoleActivityLogEntryData { -""" -The role that the user was assigned. -""" - role: TeamMemberRole! -""" -The ID of the user that was added. -""" - userID: ID! -""" -The email address of the user that was added. -""" - userEmail: String! + """The role that the user was assigned.""" + role: TeamMemberRole! + + """The ID of the user that was added.""" + userID: ID! + + """The email address of the user that was added.""" + userEmail: String! } -""" -Ordering options when fetching teams. -""" +"""Ordering options when fetching teams.""" input TeamOrder { -""" -Ordering options when fetching teams. -""" - field: TeamOrderField! -""" -Ordering options when fetching teams. -""" - direction: OrderDirection! + """The field to order items by.""" + field: TeamOrderField! + + """The direction to order items by.""" + direction: OrderDirection! } -""" -Possible fields to order teams by. -""" +"""Possible fields to order teams by.""" enum TeamOrderField { -""" -The unique slug of the team. -""" - SLUG -""" -The team's accumulated cost over the last 12 months -""" - ACCUMULATED_COST -""" -The accumulated risk score of the teams workloads. -""" - RISK_SCORE -""" -The accumulated number of critical vulnerabilities of the teams workloads. -""" - CRITICAL_VULNERABILITIES -""" -The accumulated number of high vulnerabilities of the teams workloads. -""" - HIGH_VULNERABILITIES -""" -The accumulated number of medium vulnerabilities of the teams workloads. -""" - MEDIUM_VULNERABILITIES -""" -The accumulated number of low vulnerabilities of the teams workloads. -""" - LOW_VULNERABILITIES -""" -The accumulated number of unassigned vulnerabilities of the teams workloads. -""" - UNASSIGNED_VULNERABILITIES -""" -The team's software bill of materials (SBOM) coverage. -""" - SBOM_COVERAGE + """The unique slug of the team.""" + SLUG + + """The team's accumulated cost over the last 12 months""" + ACCUMULATED_COST + + """The accumulated risk score of the teams workloads.""" + RISK_SCORE + + """ + The accumulated number of critical vulnerabilities of the teams workloads. + """ + CRITICAL_VULNERABILITIES + + """The accumulated number of high vulnerabilities of the teams workloads.""" + HIGH_VULNERABILITIES + + """ + The accumulated number of medium vulnerabilities of the teams workloads. + """ + MEDIUM_VULNERABILITIES + + """The accumulated number of low vulnerabilities of the teams workloads.""" + LOW_VULNERABILITIES + + """ + The accumulated number of unassigned vulnerabilities of the teams workloads. + """ + UNASSIGNED_VULNERABILITIES + + """The team's software bill of materials (SBOM) coverage.""" + SBOM_COVERAGE } input TeamRepositoryFilter { - name: String + """Filter by repository name containing the phrase.""" + name: String } type TeamServiceUtilization { - sqlInstances: TeamServiceUtilizationSqlInstances! + sqlInstances: TeamServiceUtilizationSqlInstances! } type TeamServiceUtilizationSqlInstances { - cpu: TeamServiceUtilizationSqlInstancesCPU! - memory: TeamServiceUtilizationSqlInstancesMemory! - disk: TeamServiceUtilizationSqlInstancesDisk! + cpu: TeamServiceUtilizationSqlInstancesCPU! + memory: TeamServiceUtilizationSqlInstancesMemory! + disk: TeamServiceUtilizationSqlInstancesDisk! } type TeamServiceUtilizationSqlInstancesCPU { - used: Float! - requested: Float! - utilization: Float! + used: Float! + requested: Float! + utilization: Float! } type TeamServiceUtilizationSqlInstancesDisk { - used: Int! - requested: Int! - utilization: Float! + used: Int! + requested: Int! + utilization: Float! } type TeamServiceUtilizationSqlInstancesMemory { - used: Int! - requested: Int! - utilization: Float! + used: Int! + requested: Int! + utilization: Float! } -type TeamUpdatedActivityLogEntry implements ActivityLogEntry & Node{ -""" -ID of the entry. -""" - id: ID! -""" -The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. -""" - actor: String! -""" -Creation time of the entry. -""" - createdAt: Time! -""" -Message that summarizes the entry. -""" - message: String! -""" -Type of the resource that was affected by the action. -""" - resourceType: ActivityLogEntryResourceType! -""" -Name of the resource that was affected by the action. -""" - resourceName: String! -""" -The team slug that the entry belongs to. -""" - teamSlug: Slug! -""" -The environment name that the entry belongs to. -""" - environmentName: String -""" -Data associated with the update. -""" - data: TeamUpdatedActivityLogEntryData! +type TeamUpdatedActivityLogEntry implements ActivityLogEntry & Node { + """ID of the entry.""" + id: ID! + + """ + The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + """ + actor: String! + + """Creation time of the entry.""" + createdAt: Time! + + """Message that summarizes the entry.""" + message: String! + + """Type of the resource that was affected by the action.""" + resourceType: ActivityLogEntryResourceType! + + """Name of the resource that was affected by the action.""" + resourceName: String! + + """The team slug that the entry belongs to.""" + teamSlug: Slug! + + """The environment name that the entry belongs to.""" + environmentName: String + + """Data associated with the update.""" + data: TeamUpdatedActivityLogEntryData! } type TeamUpdatedActivityLogEntryData { -""" -Fields that were updated. -""" - updatedFields: [TeamUpdatedActivityLogEntryDataUpdatedField!]! + """Fields that were updated.""" + updatedFields: [TeamUpdatedActivityLogEntryDataUpdatedField!]! } type TeamUpdatedActivityLogEntryDataUpdatedField { -""" -The name of the field. -""" - field: String! -""" -The old value of the field. -""" - oldValue: String -""" -The new value of the field. -""" - newValue: String + """The name of the field.""" + field: String! + + """The old value of the field.""" + oldValue: String + + """The new value of the field.""" + newValue: String } type TeamUtilizationData { -""" -The team. -""" - team: Team! -""" -The requested amount of resources -""" - requested: Float! -""" -The current resource usage. -""" - used: Float! -""" -The environment for the utilization data. -""" - environment: TeamEnvironment! @deprecated(reason: "Use the `teamEnvironment` field instead.") -""" -The environment for the utilization data. -""" - teamEnvironment: TeamEnvironment! + """The team.""" + team: Team! + + """The requested amount of resources""" + requested: Float! + + """The current resource usage.""" + used: Float! + + """The environment for the utilization data.""" + environment: TeamEnvironment! @deprecated(reason: "Use the `teamEnvironment` field instead.") + + """The environment for the utilization data.""" + teamEnvironment: TeamEnvironment! } enum TeamVulnerabilityRiskScoreTrend { -""" -Risk score is increasing. -""" - UP -""" -Risk score is decreasing. -""" - DOWN -""" -Risk score is not changing. -""" - FLAT + """Risk score is increasing.""" + UP + + """Risk score is decreasing.""" + DOWN + + """Risk score is not changing.""" + FLAT } type TeamVulnerabilitySummary { -""" -Risk score of the team. -""" - riskScore: Int! -""" -Number of vulnerabilities with severity CRITICAL. -""" - critical: Int! -""" -Number of vulnerabilities with severity HIGH. -""" - high: Int! -""" -Number of vulnerabilities with severity MEDIUM. -""" - medium: Int! -""" -Number of vulnerabilities with severity LOW. -""" - low: Int! -""" -Number of vulnerabilities with severity UNASSIGNED. -""" - unassigned: Int! -""" -Number of workloads with a software bill of materials (SBOM) attached. -""" - sbomCount: Int! -""" -Coverage of the team. -""" - coverage: Float! -""" -Timestamp of the last update of the vulnerability summary. -""" - lastUpdated: Time -""" -Trend of vulnerability status for the team. -""" - riskScoreTrend: TeamVulnerabilityRiskScoreTrend! + """Risk score of the team.""" + riskScore: Int! + + """Number of vulnerabilities with severity CRITICAL.""" + critical: Int! + + """Number of vulnerabilities with severity HIGH.""" + high: Int! + + """Number of vulnerabilities with severity MEDIUM.""" + medium: Int! + + """Number of vulnerabilities with severity LOW.""" + low: Int! + + """Number of vulnerabilities with severity UNASSIGNED.""" + unassigned: Int! + + """Number of workloads with a software bill of materials (SBOM) attached.""" + sbomCount: Int! + + """Coverage of the team.""" + coverage: Float! + + """Timestamp of the last update of the vulnerability summary.""" + lastUpdated: Time + + """Trend of vulnerability status for the team.""" + riskScoreTrend: TeamVulnerabilityRiskScoreTrend! } -""" -Input for filtering team workloads. -""" +"""Input for filtering team vulnerability summaries.""" input TeamVulnerabilitySummaryFilter { -""" -Input for filtering team workloads. -""" - environments: [String!] -} + """Only return vulnerability summaries for the given environment.""" + environmentName: String -""" -Input for filtering team workloads. -""" + """ + Deprecated: use environmentName instead. + Only one environment is supported if this list is used. + """ + environments: [String!] +} + +"""Input for filtering team workloads.""" input TeamWorkloadsFilter { -""" -Input for filtering team workloads. -""" - environments: [String!] + """Only return workloads from the given named environments.""" + environments: [String!] } type TenantVulnerabilitySummary { -""" -Risk score of the tenant. -""" - riskScore: Int! -""" -Number of vulnerabilities with severity CRITICAL. -""" - critical: Int! -""" -Number of vulnerabilities with severity HIGH. -""" - high: Int! -""" -Number of vulnerabilities with severity MEDIUM. -""" - medium: Int! -""" -Number of vulnerabilities with severity LOW. -""" - low: Int! -""" -Number of vulnerabilities with severity UNASSIGNED. -""" - unassigned: Int! -""" -Number of workloads with a software bill of materials (SBOM) attached. -""" - sbomCount: Int! -""" -SBOM Coverage of the tenant. -""" - coverage: Float! -""" -Timestamp of the last update of the vulnerability summary. -""" - lastUpdated: Time + """Risk score of the tenant.""" + riskScore: Int! + + """Number of vulnerabilities with severity CRITICAL.""" + critical: Int! + + """Number of vulnerabilities with severity HIGH.""" + high: Int! + + """Number of vulnerabilities with severity MEDIUM.""" + medium: Int! + + """Number of vulnerabilities with severity LOW.""" + low: Int! + + """Number of vulnerabilities with severity UNASSIGNED.""" + unassigned: Int! + + """Number of workloads with a software bill of materials (SBOM) attached.""" + sbomCount: Int! + + """SBOM Coverage of the tenant.""" + coverage: Float! + + """Timestamp of the last update of the vulnerability summary.""" + lastUpdated: Time } """ @@ -9122,199 +8001,174 @@ TokenX authentication. Read more: https://docs.nais.io/auth/tokenx/ """ -type TokenXAuthIntegration implements AuthIntegration{ -""" -The name of the integration. -""" - name: String! +type TokenXAuthIntegration implements AuthIntegration { + """The name of the integration.""" + name: String! } input TriggerJobInput { - name: String! - teamSlug: Slug! - environmentName: String! - runName: String! + """Name of the job.""" + name: String! + + """Slug of the team that owns the job.""" + teamSlug: Slug! + + """Name of the environment where the job runs.""" + environmentName: String! + + """Name of the new run. Must be unique within the team.""" + runName: String! } type TriggerJobPayload { -""" -The job that was triggered. -""" - job: Job -""" -The new job run. -""" - jobRun: JobRun + """The job that was triggered.""" + job: Job + + """The new job run.""" + jobRun: JobRun } -type UnleashInstance implements Node{ - id: ID! - name: String! - version: String! - allowedTeams( -""" -Get the first n items in the connection. This can be used in combination with the after parameter. -""" - first: Int -""" -Get items after this cursor. -""" - after: Cursor -""" -Get the last n items in the connection. This can be used in combination with the before parameter. -""" - last: Int -""" -Get items before this cursor. -""" - before: Cursor - ): TeamConnection! - webIngress: String! - apiIngress: String! - metrics: UnleashInstanceMetrics! - ready: Boolean! -""" -Release channel name for automatic version updates. -""" - releaseChannelName: String! -""" -Release channel details. -Returns the full release channel object with current version and update policy. -""" - releaseChannel: UnleashReleaseChannel +type UnleashInstance implements Node { + id: ID! + name: String! + version: String! + allowedTeams( + """ + Get the first n items in the connection. This can be used in combination with the after parameter. + """ + first: Int + + """Get items after this cursor.""" + after: Cursor + + """ + Get the last n items in the connection. This can be used in combination with the before parameter. + """ + last: Int + + """Get items before this cursor.""" + before: Cursor + ): TeamConnection! + webIngress: String! + apiIngress: String! + metrics: UnleashInstanceMetrics! + ready: Boolean! + + """Release channel name for automatic version updates.""" + releaseChannelName: String! + + """ + Release channel details. + Returns the full release channel object with current version and update policy. + """ + releaseChannel: UnleashReleaseChannel } -type UnleashInstanceCreatedActivityLogEntry implements ActivityLogEntry & Node{ -""" -ID of the entry. -""" - id: ID! -""" -The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. -""" - actor: String! -""" -Creation time of the entry. -""" - createdAt: Time! -""" -Message that summarizes the entry. -""" - message: String! -""" -Type of the resource that was affected by the action. -""" - resourceType: ActivityLogEntryResourceType! -""" -Name of the resource that was affected by the action. -""" - resourceName: String! -""" -The team slug that the entry belongs to. -""" - teamSlug: Slug! -""" -The environment name that the entry belongs to. -""" - environmentName: String +type UnleashInstanceCreatedActivityLogEntry implements ActivityLogEntry & Node { + """ID of the entry.""" + id: ID! + + """ + The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + """ + actor: String! + + """Creation time of the entry.""" + createdAt: Time! + + """Message that summarizes the entry.""" + message: String! + + """Type of the resource that was affected by the action.""" + resourceType: ActivityLogEntryResourceType! + + """Name of the resource that was affected by the action.""" + resourceName: String! + + """The team slug that the entry belongs to.""" + teamSlug: Slug! + + """The environment name that the entry belongs to.""" + environmentName: String } -type UnleashInstanceDeletedActivityLogEntry implements ActivityLogEntry & Node{ -""" -ID of the entry. -""" - id: ID! -""" -The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. -""" - actor: String! -""" -Creation time of the entry. -""" - createdAt: Time! -""" -Message that summarizes the entry. -""" - message: String! -""" -Type of the resource that was affected by the action. -""" - resourceType: ActivityLogEntryResourceType! -""" -Name of the resource that was affected by the action. -""" - resourceName: String! -""" -The team slug that the entry belongs to. -""" - teamSlug: Slug! -""" -The environment name that the entry belongs to. -""" - environmentName: String +type UnleashInstanceDeletedActivityLogEntry implements ActivityLogEntry & Node { + """ID of the entry.""" + id: ID! + + """ + The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + """ + actor: String! + + """Creation time of the entry.""" + createdAt: Time! + + """Message that summarizes the entry.""" + message: String! + + """Type of the resource that was affected by the action.""" + resourceType: ActivityLogEntryResourceType! + + """Name of the resource that was affected by the action.""" + resourceName: String! + + """The team slug that the entry belongs to.""" + teamSlug: Slug! + + """The environment name that the entry belongs to.""" + environmentName: String } type UnleashInstanceMetrics { - toggles: Int! - apiTokens: Int! - cpuUtilization: Float! - cpuRequests: Float! - memoryUtilization: Float! - memoryRequests: Float! + toggles: Int! + apiTokens: Int! + cpuUtilization: Float! + cpuRequests: Float! + memoryUtilization: Float! + memoryRequests: Float! } -type UnleashInstanceUpdatedActivityLogEntry implements ActivityLogEntry & Node{ -""" -ID of the entry. -""" - id: ID! -""" -The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. -""" - actor: String! -""" -Creation time of the entry. -""" - createdAt: Time! -""" -Message that summarizes the entry. -""" - message: String! -""" -Type of the resource that was affected by the action. -""" - resourceType: ActivityLogEntryResourceType! -""" -Name of the resource that was affected by the action. -""" - resourceName: String! -""" -The team slug that the entry belongs to. -""" - teamSlug: Slug! -""" -The environment name that the entry belongs to. -""" - environmentName: String -""" -Data associated with the update. -""" - data: UnleashInstanceUpdatedActivityLogEntryData! +type UnleashInstanceUpdatedActivityLogEntry implements ActivityLogEntry & Node { + """ID of the entry.""" + id: ID! + + """ + The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + """ + actor: String! + + """Creation time of the entry.""" + createdAt: Time! + + """Message that summarizes the entry.""" + message: String! + + """Type of the resource that was affected by the action.""" + resourceType: ActivityLogEntryResourceType! + + """Name of the resource that was affected by the action.""" + resourceName: String! + + """The team slug that the entry belongs to.""" + teamSlug: Slug! + + """The environment name that the entry belongs to.""" + environmentName: String + + """Data associated with the update.""" + data: UnleashInstanceUpdatedActivityLogEntryData! } type UnleashInstanceUpdatedActivityLogEntryData { -""" -Revoked team slug. -""" - revokedTeamSlug: Slug -""" -Allowed team slug. -""" - allowedTeamSlug: Slug -""" -Updated release channel. -""" - updatedReleaseChannel: String + """Revoked team slug.""" + revokedTeamSlug: Slug + + """Allowed team slug.""" + allowedTeamSlug: Slug + + """Updated release channel.""" + updatedReleaseChannel: String } """ @@ -9322,1877 +8176,1522 @@ UnleashReleaseChannel represents an available release channel for Unleash instan Release channels provide automatic version updates based on the channel's update policy. """ type UnleashReleaseChannel { -""" -Unique name of the release channel (e.g., 'stable', 'rapid', 'regular'). -""" - name: String! -""" -Current Unleash version on this channel. -""" - currentVersion: String! -""" -Rollout strategy type for version updates: -- 'sequential': Updates instances one-by-one in order -- 'canary': Gradual rollout with canary deployment -- 'parallel': Updates multiple instances simultaneously -""" - type: String! -""" -When the channel version was last updated. -""" - lastUpdated: Time + """ + Unique name of the release channel (e.g., 'stable', 'rapid', 'regular'). + """ + name: String! + + """Current Unleash version on this channel.""" + currentVersion: String! + + """ + Rollout strategy type for version updates: + - 'sequential': Updates instances one-by-one in order + - 'canary': Gradual rollout with canary deployment + - 'parallel': Updates multiple instances simultaneously + """ + type: String! + + """When the channel version was last updated.""" + lastUpdated: Time } -type UnleashReleaseChannelIssue implements Issue & Node{ - id: ID! - teamEnvironment: TeamEnvironment! - severity: Severity! - message: String! - unleash: UnleashInstance! -""" -The name of the release channel the instance is on. -""" - channelName: String! -""" -The major version of Unleash the instance is running. -""" - majorVersion: Int! -""" -The current major version of Unleash available. -""" - currentMajorVersion: Int! +type UnleashReleaseChannelIssue implements Issue & Node { + id: ID! + teamEnvironment: TeamEnvironment! + severity: Severity! + message: String! + unleash: UnleashInstance! + + """The name of the release channel the instance is on.""" + channelName: String! + + """The major version of Unleash the instance is running.""" + majorVersion: Int! + + """The current major version of Unleash available.""" + currentMajorVersion: Int! +} + +input UpdateConfigValueInput { + """The name of the config.""" + name: String! + + """The environment the config exists in.""" + environmentName: String! + + """The team that owns the config.""" + teamSlug: Slug! + + """The config value to update.""" + value: ConfigValueInput! +} + +type UpdateConfigValuePayload { + """The updated config.""" + config: Config } input UpdateImageVulnerabilityInput { - vulnerabilityID: ID! - reason: String! - suppress: Boolean! - state: ImageVulnerabilitySuppressionState + """The id of the vulnerability to suppress.""" + vulnerabilityID: ID! + + """The reason for suppressing the vulnerability.""" + reason: String! + + """Should the vulnerability be suppressed.""" + suppress: Boolean! + + """New state of the vulnerability.""" + state: ImageVulnerabilitySuppressionState } type UpdateImageVulnerabilityPayload { -""" -The vulnerability updated. -""" - vulnerability: ImageVulnerability + """The vulnerability updated.""" + vulnerability: ImageVulnerability } input UpdateOpenSearchInput { - name: String! - environmentName: String! - teamSlug: Slug! - tier: OpenSearchTier! - memory: OpenSearchMemory! - version: OpenSearchMajorVersion! - storageGB: Int! + """Name of the OpenSearch instance.""" + name: String! + + """The environment name that the OpenSearch instance belongs to.""" + environmentName: String! + + """The team that owns the OpenSearch instance.""" + teamSlug: Slug! + + """Tier of the OpenSearch instance.""" + tier: OpenSearchTier! + + """Available memory for the OpenSearch instance.""" + memory: OpenSearchMemory! + + """Major version of the OpenSearch instance.""" + version: OpenSearchMajorVersion! + + """Available storage in GB.""" + storageGB: Int! } type UpdateOpenSearchPayload { -""" -OpenSearch instance that was updated. -""" - openSearch: OpenSearch! + """OpenSearch instance that was updated.""" + openSearch: OpenSearch! } input UpdateSecretValueInput { - name: String! - environment: String! - team: Slug! - value: SecretValueInput! + """The name of the secret.""" + name: String! + + """The environment the secret exists in.""" + environment: String! + + """The team that owns the secret.""" + team: Slug! + + """The secret value to set.""" + value: SecretValueInput! } type UpdateSecretValuePayload { -""" -The updated secret. -""" - secret: Secret + """The updated secret.""" + secret: Secret } input UpdateServiceAccountInput { - serviceAccountID: ID! - description: String + """The ID of the service account to update.""" + serviceAccountID: ID! + + """ + The new description of the service account. + + If not specified, the description will remain unchanged. + """ + description: String } type UpdateServiceAccountPayload { -""" -The updated service account. -""" - serviceAccount: ServiceAccount + """The updated service account.""" + serviceAccount: ServiceAccount } input UpdateServiceAccountTokenInput { - serviceAccountTokenID: ID! - name: String - description: String + """The ID of the service account token to update.""" + serviceAccountTokenID: ID! + + """ + The new name of the service account token. + + If not specified, the name will remain unchanged. + """ + name: String + + """ + The new description of the service account token. + + If not specified, the description will remain unchanged. + """ + description: String } type UpdateServiceAccountTokenPayload { -""" -The service account that the token belongs to. -""" - serviceAccount: ServiceAccount -""" -The updated service account token. -""" - serviceAccountToken: ServiceAccountToken + """The service account that the token belongs to.""" + serviceAccount: ServiceAccount + + """The updated service account token.""" + serviceAccountToken: ServiceAccountToken } input UpdateTeamEnvironmentInput { - slug: Slug! - environmentName: String! - slackAlertsChannel: String + """Slug of the team to update.""" + slug: Slug! + + """Name of the environment to update.""" + environmentName: String! + + """ + Slack alerts channel for the environment. Set to an empty string to remove the existing value. + """ + slackAlertsChannel: String } type UpdateTeamEnvironmentPayload { -""" -The updated team environment. -""" - environment: TeamEnvironment @deprecated(reason: "Use the `teamEnvironment` field instead.") -""" -The updated team environment. -""" - teamEnvironment: TeamEnvironment + """The updated team environment.""" + environment: TeamEnvironment @deprecated(reason: "Use the `teamEnvironment` field instead.") + + """The updated team environment.""" + teamEnvironment: TeamEnvironment } input UpdateTeamInput { - slug: Slug! - purpose: String - slackChannel: String + """Slug of the team to update.""" + slug: Slug! + + """ + An optional new purpose / description of the team. + + When omitted the existing value will not be updated. + """ + purpose: String + + """ + An optional new Slack channel for the team. + + When omitted the existing value will not be updated. + """ + slackChannel: String } type UpdateTeamPayload { -""" -The updated team. -""" - team: Team + """The updated team.""" + team: Team } input UpdateUnleashInstanceInput { - teamSlug: Slug! - releaseChannel: String + """The team that owns the Unleash instance to update.""" + teamSlug: Slug! + + """ + Subscribe the instance to a release channel for automatic version updates. + If not specified, the release channel will not be changed. + """ + releaseChannel: String } type UpdateUnleashInstancePayload { - unleash: UnleashInstance + unleash: UnleashInstance } input UpdateValkeyInput { - name: String! - environmentName: String! - teamSlug: Slug! - tier: ValkeyTier! - memory: ValkeyMemory! - maxMemoryPolicy: ValkeyMaxMemoryPolicy - notifyKeyspaceEvents: String + """Name of the Valkey instance.""" + name: String! + + """The environment name that the entry belongs to.""" + environmentName: String! + + """The team that owns the Valkey instance.""" + teamSlug: Slug! + + """Tier of the Valkey instance.""" + tier: ValkeyTier! + + """Available memory for the Valkey instance.""" + memory: ValkeyMemory! + + """Maximum memory policy for the Valkey instance.""" + maxMemoryPolicy: ValkeyMaxMemoryPolicy + + """ + Configure keyspace notifications for the Valkey instance. See https://valkey.io/topics/notifications/ for details. + """ + notifyKeyspaceEvents: String } type UpdateValkeyPayload { -""" -Valkey instance that was updated. -""" - valkey: Valkey! + """Valkey instance that was updated.""" + valkey: Valkey! } """ The user type represents a user of the Nais platform and the Nais GraphQL API. """ -type User implements Node{ -""" -The globally unique ID of the user. -""" - id: ID! -""" -The email address of the user. -""" - email: String! -""" -The full name of the user. -""" - name: String! -""" -The external ID of the user. This value is managed by the Nais API user synchronization. -""" - externalID: String! -""" -List of teams the user is connected to. -""" - teams( -""" -Get the first n items in the connection. This can be used in combination with the after parameter. -""" - first: Int -""" -Get items after this cursor. -""" - after: Cursor -""" -Get the last n items in the connection. This can be used in combination with the before parameter. -""" - last: Int -""" -Get items before this cursor. -""" - before: Cursor -""" -Ordering options for items returned from the connection. -""" - orderBy: UserTeamOrder - ): TeamMemberConnection! -""" -True if the user is global admin. -""" - isAdmin: Boolean! +type User implements Node { + """The globally unique ID of the user.""" + id: ID! + + """The email address of the user.""" + email: String! + + """The full name of the user.""" + name: String! + + """ + The external ID of the user. This value is managed by the Nais API user synchronization. + """ + externalID: String! + + """List of teams the user is connected to.""" + teams( + """ + Get the first n items in the connection. This can be used in combination with the after parameter. + """ + first: Int + + """Get items after this cursor.""" + after: Cursor + + """ + Get the last n items in the connection. This can be used in combination with the before parameter. + """ + last: Int + + """Get items before this cursor.""" + before: Cursor + + """Ordering options for items returned from the connection.""" + orderBy: UserTeamOrder + ): TeamMemberConnection! + + """True if the user is global admin.""" + isAdmin: Boolean! } -""" -User connection. -""" +"""User connection.""" type UserConnection { -""" -Pagination information. -""" - pageInfo: PageInfo! -""" -List of nodes. -""" - nodes: [User!]! -""" -List of edges. -""" - edges: [UserEdge!]! + """Pagination information.""" + pageInfo: PageInfo! + + """List of nodes.""" + nodes: [User!]! + + """List of edges.""" + edges: [UserEdge!]! } -""" -User created log entry. -""" -type UserCreatedUserSyncLogEntry implements UserSyncLogEntry & Node{ -""" -ID of the entry. -""" - id: ID! -""" -Creation time of the entry. -""" - createdAt: Time! -""" -Message that summarizes the log entry. -""" - message: String! -""" -The ID of the created user. -""" - userID: ID! -""" -The name of the created user. -""" - userName: String! -""" -The email address of the created user. -""" - userEmail: String! +"""User created log entry.""" +type UserCreatedUserSyncLogEntry implements UserSyncLogEntry & Node { + """ID of the entry.""" + id: ID! + + """Creation time of the entry.""" + createdAt: Time! + + """Message that summarizes the log entry.""" + message: String! + + """The ID of the created user.""" + userID: ID! + + """The name of the created user.""" + userName: String! + + """The email address of the created user.""" + userEmail: String! } -""" -User deleted log entry. -""" -type UserDeletedUserSyncLogEntry implements UserSyncLogEntry & Node{ -""" -ID of the entry. -""" - id: ID! -""" -Creation time of the entry. -""" - createdAt: Time! -""" -Message that summarizes the log entry. -""" - message: String! -""" -The ID of the deleted user. -""" - userID: ID! -""" -The name of the deleted user. -""" - userName: String! -""" -The email address of the deleted user. -""" - userEmail: String! +"""User deleted log entry.""" +type UserDeletedUserSyncLogEntry implements UserSyncLogEntry & Node { + """ID of the entry.""" + id: ID! + + """Creation time of the entry.""" + createdAt: Time! + + """Message that summarizes the log entry.""" + message: String! + + """The ID of the deleted user.""" + userID: ID! + + """The name of the deleted user.""" + userName: String! + + """The email address of the deleted user.""" + userEmail: String! } -""" -User edge. -""" +"""User edge.""" type UserEdge { -""" -Cursor for this edge that can be used for pagination. -""" - cursor: Cursor! -""" -The user. -""" - node: User! + """Cursor for this edge that can be used for pagination.""" + cursor: Cursor! + + """The user.""" + node: User! } -""" -Ordering options when fetching users. -""" +"""Ordering options when fetching users.""" input UserOrder { -""" -Ordering options when fetching users. -""" - field: UserOrderField! -""" -Ordering options when fetching users. -""" - direction: OrderDirection! + """The field to order items by.""" + field: UserOrderField! + + """The direction to order items by.""" + direction: OrderDirection! } -""" -Possible fields to order users by. -""" +"""Possible fields to order users by.""" enum UserOrderField { -""" -The name of the user. -""" - NAME -""" -The email address of the user. -""" - EMAIL + """The name of the user.""" + NAME + + """The email address of the user.""" + EMAIL } -""" -Interface for user sync log entries. -""" +"""Interface for user sync log entries.""" interface UserSyncLogEntry { -""" -Interface for user sync log entries. -""" - id: ID! -""" -Interface for user sync log entries. -""" - createdAt: Time! -""" -Interface for user sync log entries. -""" - message: String! -""" -Interface for user sync log entries. -""" - userID: ID! -""" -Interface for user sync log entries. -""" - userName: String! -""" -Interface for user sync log entries. -""" - userEmail: String! + """ID of the entry.""" + id: ID! + + """Creation time of the entry.""" + createdAt: Time! + + """Message that summarizes the log entry.""" + message: String! + + """The ID of the affected user.""" + userID: ID! + + """The name of the affected user.""" + userName: String! + + """The email address of the affected user.""" + userEmail: String! } -""" -User sync log entry connection. -""" +"""User sync log entry connection.""" type UserSyncLogEntryConnection { -""" -Pagination information. -""" - pageInfo: PageInfo! -""" -List of nodes. -""" - nodes: [UserSyncLogEntry!]! -""" -List of edges. -""" - edges: [UserSyncLogEntryEdge!]! + """Pagination information.""" + pageInfo: PageInfo! + + """List of nodes.""" + nodes: [UserSyncLogEntry!]! + + """List of edges.""" + edges: [UserSyncLogEntryEdge!]! } -""" -User sync log edge. -""" +"""User sync log edge.""" type UserSyncLogEntryEdge { -""" -Cursor for this edge that can be used for pagination. -""" - cursor: Cursor! -""" -The log entry. -""" - node: UserSyncLogEntry! + """Cursor for this edge that can be used for pagination.""" + cursor: Cursor! + + """The log entry.""" + node: UserSyncLogEntry! } -""" -Ordering options when fetching the teams a user is connected to. -""" +"""Ordering options when fetching the teams a user is connected to.""" input UserTeamOrder { -""" -Ordering options when fetching the teams a user is connected to. -""" - field: UserTeamOrderField! -""" -Ordering options when fetching the teams a user is connected to. -""" - direction: OrderDirection! + """The field to order items by.""" + field: UserTeamOrderField! + + """The direction to order items by.""" + direction: OrderDirection! } -""" -Possible fields to order user teams by. -""" +"""Possible fields to order user teams by.""" enum UserTeamOrderField { -""" -The unique slug of the team. -""" - TEAM_SLUG + """The unique slug of the team.""" + TEAM_SLUG } -""" -User updated log entry. -""" -type UserUpdatedUserSyncLogEntry implements UserSyncLogEntry & Node{ -""" -ID of the entry. -""" - id: ID! -""" -Creation time of the entry. -""" - createdAt: Time! -""" -Message that summarizes the log entry. -""" - message: String! -""" -The ID of the updated user. -""" - userID: ID! -""" -The name of the updated user. -""" - userName: String! -""" -The email address of the updated user. -""" - userEmail: String! -""" -The old name of the user. -""" - oldUserName: String! -""" -The old email address of the user. -""" - oldUserEmail: String! +"""User updated log entry.""" +type UserUpdatedUserSyncLogEntry implements UserSyncLogEntry & Node { + """ID of the entry.""" + id: ID! + + """Creation time of the entry.""" + createdAt: Time! + + """Message that summarizes the log entry.""" + message: String! + + """The ID of the updated user.""" + userID: ID! + + """The name of the updated user.""" + userName: String! + + """The email address of the updated user.""" + userEmail: String! + + """The old name of the user.""" + oldUserName: String! + + """The old email address of the user.""" + oldUserEmail: String! } -""" -Resource type. -""" +"""Resource type.""" enum UtilizationResourceType { - CPU - MEMORY + CPU + MEMORY } -""" -Resource utilization type. -""" +"""Resource utilization type.""" type UtilizationSample { -""" -Timestamp of the value. -""" - timestamp: Time! -""" -Value of the used resource at the given timestamp. -""" - value: Float! -""" -The instance for the utilization data. -""" - instance: String! -} - -type Valkey implements Persistence & Node & ActivityLogger{ - id: ID! - name: String! - terminationProtection: Boolean! - team: Team! - environment: TeamEnvironment! @deprecated(reason: "Use the `teamEnvironment` field instead.") - teamEnvironment: TeamEnvironment! - access( - first: Int - after: Cursor - last: Int - before: Cursor - orderBy: ValkeyAccessOrder - ): ValkeyAccessConnection! - workload: Workload @deprecated(reason: "Owners of valkeys have been removed, so this will always be null.") - state: ValkeyState! -""" -Availability tier for the Valkey instance. -""" - tier: ValkeyTier! -""" -Available memory for the Valkey instance. -""" - memory: ValkeyMemory! -""" -Maximum memory policy for the Valkey instance. -""" - maxMemoryPolicy: ValkeyMaxMemoryPolicy -""" -Keyspace notifications for the Valkey instance. See https://valkey.io/topics/notifications/ for details. -""" - notifyKeyspaceEvents: String -""" -Issues that affects the instance. -""" - issues( -""" -Get the first n items in the connection. This can be used in combination with the after parameter. -""" - first: Int -""" -Get items after this cursor. -""" - after: Cursor -""" -Get the last n items in the connection. This can be used in combination with the before parameter. -""" - last: Int -""" -Get items before this cursor. -""" - before: Cursor -""" -Ordering options for items returned from the connection. -""" - orderBy: IssueOrder -""" -Filtering options for items returned from the connection. -""" - filter: ResourceIssueFilter - ): IssueConnection! -""" -Activity log associated with the reconciler. -""" - activityLog( -""" -Get the first n items in the connection. This can be used in combination with the after parameter. -""" - first: Int -""" -Get items after this cursor. -""" - after: Cursor -""" -Get the last n items in the connection. This can be used in combination with the before parameter. -""" - last: Int -""" -Get items before this cursor. -""" - before: Cursor -""" -Filter items. -""" - filter: ActivityLogFilter - ): ActivityLogEntryConnection! - cost: ValkeyCost! -""" -Fetch maintenances updates for the Valkey instance. -""" - maintenance: ValkeyMaintenance! + """Timestamp of the value.""" + timestamp: Time! + + """Value of the used resource at the given timestamp.""" + value: Float! + + """The instance for the utilization data.""" + instance: String! +} + +type Valkey implements Persistence & Node & ActivityLogger { + id: ID! + name: String! + terminationProtection: Boolean! + team: Team! + environment: TeamEnvironment! @deprecated(reason: "Use the `teamEnvironment` field instead.") + teamEnvironment: TeamEnvironment! + access(first: Int, after: Cursor, last: Int, before: Cursor, orderBy: ValkeyAccessOrder): ValkeyAccessConnection! + workload: Workload @deprecated(reason: "Owners of valkeys have been removed, so this will always be null.") + state: ValkeyState! + + """Availability tier for the Valkey instance.""" + tier: ValkeyTier! + + """Available memory for the Valkey instance.""" + memory: ValkeyMemory! + + """Maximum memory policy for the Valkey instance.""" + maxMemoryPolicy: ValkeyMaxMemoryPolicy + + """ + Keyspace notifications for the Valkey instance. See https://valkey.io/topics/notifications/ for details. + """ + notifyKeyspaceEvents: String + + """Issues that affects the instance.""" + issues( + """ + Get the first n items in the connection. This can be used in combination with the after parameter. + """ + first: Int + + """Get items after this cursor.""" + after: Cursor + + """ + Get the last n items in the connection. This can be used in combination with the before parameter. + """ + last: Int + + """Get items before this cursor.""" + before: Cursor + + """Ordering options for items returned from the connection.""" + orderBy: IssueOrder + + """Filtering options for items returned from the connection.""" + filter: ResourceIssueFilter + ): IssueConnection! + + """Activity log associated with the reconciler.""" + activityLog( + """ + Get the first n items in the connection. This can be used in combination with the after parameter. + """ + first: Int + + """Get items after this cursor.""" + after: Cursor + + """ + Get the last n items in the connection. This can be used in combination with the before parameter. + """ + last: Int + + """Get items before this cursor.""" + before: Cursor + + """Filter items.""" + filter: ActivityLogFilter + ): ActivityLogEntryConnection! + cost: ValkeyCost! + + """Fetch maintenances updates for the Valkey instance.""" + maintenance: ValkeyMaintenance! } type ValkeyAccess { - workload: Workload! - access: String! + workload: Workload! + access: String! } type ValkeyAccessConnection { - pageInfo: PageInfo! - nodes: [ValkeyAccess!]! - edges: [ValkeyAccessEdge!]! + pageInfo: PageInfo! + nodes: [ValkeyAccess!]! + edges: [ValkeyAccessEdge!]! } type ValkeyAccessEdge { - cursor: Cursor! - node: ValkeyAccess! + cursor: Cursor! + node: ValkeyAccess! } input ValkeyAccessOrder { - field: ValkeyAccessOrderField! - direction: OrderDirection! + field: ValkeyAccessOrderField! + direction: OrderDirection! } enum ValkeyAccessOrderField { - ACCESS - WORKLOAD + ACCESS + WORKLOAD } type ValkeyConnection { - pageInfo: PageInfo! - nodes: [Valkey!]! - edges: [ValkeyEdge!]! + pageInfo: PageInfo! + nodes: [Valkey!]! + edges: [ValkeyEdge!]! } type ValkeyCost { - sum: Float! + sum: Float! } -type ValkeyCreatedActivityLogEntry implements ActivityLogEntry & Node{ -""" -ID of the entry. -""" - id: ID! -""" -The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. -""" - actor: String! -""" -Creation time of the entry. -""" - createdAt: Time! -""" -Message that summarizes the entry. -""" - message: String! -""" -Type of the resource that was affected by the action. -""" - resourceType: ActivityLogEntryResourceType! -""" -Name of the resource that was affected by the action. -""" - resourceName: String! -""" -The team slug that the entry belongs to. -""" - teamSlug: Slug! -""" -The environment name that the entry belongs to. -""" - environmentName: String +type ValkeyCreatedActivityLogEntry implements ActivityLogEntry & Node { + """ID of the entry.""" + id: ID! + + """ + The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + """ + actor: String! + + """Creation time of the entry.""" + createdAt: Time! + + """Message that summarizes the entry.""" + message: String! + + """Type of the resource that was affected by the action.""" + resourceType: ActivityLogEntryResourceType! + + """Name of the resource that was affected by the action.""" + resourceName: String! + + """The team slug that the entry belongs to.""" + teamSlug: Slug! + + """The environment name that the entry belongs to.""" + environmentName: String } -type ValkeyDeletedActivityLogEntry implements ActivityLogEntry & Node{ -""" -ID of the entry. -""" - id: ID! -""" -The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. -""" - actor: String! -""" -Creation time of the entry. -""" - createdAt: Time! -""" -Message that summarizes the entry. -""" - message: String! -""" -Type of the resource that was affected by the action. -""" - resourceType: ActivityLogEntryResourceType! -""" -Name of the resource that was affected by the action. -""" - resourceName: String! -""" -The team slug that the entry belongs to. -""" - teamSlug: Slug! -""" -The environment name that the entry belongs to. -""" - environmentName: String +type ValkeyCredentials { + """Username for the Valkey instance.""" + username: String! + + """Password for the Valkey instance.""" + password: String! + + """Hostname of the Valkey instance.""" + host: String! + + """Port of the Valkey instance.""" + port: Int! + + """Full connection URI for the Valkey instance.""" + uri: String! +} + +type ValkeyDeletedActivityLogEntry implements ActivityLogEntry & Node { + """ID of the entry.""" + id: ID! + + """ + The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + """ + actor: String! + + """Creation time of the entry.""" + createdAt: Time! + + """Message that summarizes the entry.""" + message: String! + + """Type of the resource that was affected by the action.""" + resourceType: ActivityLogEntryResourceType! + + """Name of the resource that was affected by the action.""" + resourceName: String! + + """The team slug that the entry belongs to.""" + teamSlug: Slug! + + """The environment name that the entry belongs to.""" + environmentName: String } type ValkeyEdge { - cursor: Cursor! - node: Valkey! + cursor: Cursor! + node: Valkey! } -type ValkeyIssue implements Issue & Node{ - id: ID! - teamEnvironment: TeamEnvironment! - severity: Severity! - message: String! - valkey: Valkey! - event: String! +type ValkeyIssue implements Issue & Node { + id: ID! + teamEnvironment: TeamEnvironment! + severity: Severity! + message: String! + valkey: Valkey! + event: String! } type ValkeyMaintenance { -""" -The day and time of the week when the maintenance will be scheduled. -""" - window: MaintenanceWindow - updates( -""" -Get the first n items in the connection. This can be used in combination with the after parameter. -""" - first: Int -""" -Get items after this cursor. -""" - after: Cursor -""" -Get the last n items in the connection. This can be used in combination with the before parameter. -""" - last: Int -""" -Get items before this cursor. -""" - before: Cursor - ): ValkeyMaintenanceUpdateConnection! + """The day and time of the week when the maintenance will be scheduled.""" + window: MaintenanceWindow + updates( + """ + Get the first n items in the connection. This can be used in combination with the after parameter. + """ + first: Int + + """Get items after this cursor.""" + after: Cursor + + """ + Get the last n items in the connection. This can be used in combination with the before parameter. + """ + last: Int + + """Get items before this cursor.""" + before: Cursor + ): ValkeyMaintenanceUpdateConnection! } -type ValkeyMaintenanceUpdate implements ServiceMaintenanceUpdate{ -""" -Title of the maintenance. -""" - title: String! -""" -Description of the maintenance. -""" - description: String! -""" -Deadline for installing the maintenance. If set, maintenance is mandatory and will be forcibly applied. -""" - deadline: Time -""" -The time when the update will be automatically applied. If set, maintenance is mandatory and will be forcibly applied. -""" - startAt: Time +type ValkeyMaintenanceUpdate implements ServiceMaintenanceUpdate { + """Title of the maintenance.""" + title: String! + + """Description of the maintenance.""" + description: String! + + """ + Deadline for installing the maintenance. If set, maintenance is mandatory and will be forcibly applied. + """ + deadline: Time + + """ + The time when the update will be automatically applied. If set, maintenance is mandatory and will be forcibly applied. + """ + startAt: Time } type ValkeyMaintenanceUpdateConnection { -""" -Pagination information. -""" - pageInfo: PageInfo! -""" -List of nodes. -""" - nodes: [ValkeyMaintenanceUpdate!]! -""" -List of edges. -""" - edges: [ValkeyMaintenanceUpdateEdge!]! + """Pagination information.""" + pageInfo: PageInfo! + + """List of nodes.""" + nodes: [ValkeyMaintenanceUpdate!]! + + """List of edges.""" + edges: [ValkeyMaintenanceUpdateEdge!]! } type ValkeyMaintenanceUpdateEdge { -""" -Cursor for this edge that can be used for pagination. -""" - cursor: Cursor! -""" -The ValkeyMaintenanceUpdate. -""" - node: ValkeyMaintenanceUpdate! + """Cursor for this edge that can be used for pagination.""" + cursor: Cursor! + + """The ValkeyMaintenanceUpdate.""" + node: ValkeyMaintenanceUpdate! } enum ValkeyMaxMemoryPolicy { -""" -Keeps frequently used keys; removes least frequently used (LFU) keys -""" - ALLKEYS_LFU -""" -Keeps most recently used keys; removes least recently used (LRU) keys -""" - ALLKEYS_LRU -""" -Randomly removes keys to make space for the new data added. -""" - ALLKEYS_RANDOM -""" -New values aren't saved when memory limit is reached. When a database uses replication, this applies to the primary database. -""" - NO_EVICTION -""" -Removes least frequently used keys with a TTL set. -""" - VOLATILE_LFU -""" -Removes least recently used keys with a time-to-live (TTL) set. -""" - VOLATILE_LRU -""" -Randomly removes keys with a TTL set. -""" - VOLATILE_RANDOM -""" -Removes keys with a TTL set, the keys with the shortest remaining time-to-live value first. -""" - VOLATILE_TTL + """Keeps frequently used keys; removes least frequently used (LFU) keys""" + ALLKEYS_LFU + + """Keeps most recently used keys; removes least recently used (LRU) keys""" + ALLKEYS_LRU + + """Randomly removes keys to make space for the new data added.""" + ALLKEYS_RANDOM + + """ + New values aren't saved when memory limit is reached. When a database uses replication, this applies to the primary database. + """ + NO_EVICTION + + """Removes least frequently used keys with a TTL set.""" + VOLATILE_LFU + + """Removes least recently used keys with a time-to-live (TTL) set.""" + VOLATILE_LRU + + """Randomly removes keys with a TTL set.""" + VOLATILE_RANDOM + + """ + Removes keys with a TTL set, the keys with the shortest remaining time-to-live value first. + """ + VOLATILE_TTL } enum ValkeyMemory { - GB_1 - GB_4 - GB_8 - GB_14 - GB_28 - GB_56 - GB_112 - GB_200 + GB_1 + GB_4 + GB_8 + GB_14 + GB_28 + GB_56 + GB_112 + GB_200 } input ValkeyOrder { - field: ValkeyOrderField! - direction: OrderDirection! + field: ValkeyOrderField! + direction: OrderDirection! } enum ValkeyOrderField { - NAME - ENVIRONMENT - STATE -""" -Order Valkeys by issue severity -""" - ISSUES + NAME + ENVIRONMENT + STATE + + """Order Valkeys by issue severity""" + ISSUES } enum ValkeyState { - POWEROFF - REBALANCING - REBUILDING - RUNNING - UNKNOWN + POWEROFF + REBALANCING + REBUILDING + RUNNING + UNKNOWN } enum ValkeyTier { - SINGLE_NODE - HIGH_AVAILABILITY + SINGLE_NODE + HIGH_AVAILABILITY } -type ValkeyUpdatedActivityLogEntry implements ActivityLogEntry & Node{ -""" -ID of the entry. -""" - id: ID! -""" -The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. -""" - actor: String! -""" -Creation time of the entry. -""" - createdAt: Time! -""" -Message that summarizes the entry. -""" - message: String! -""" -Type of the resource that was affected by the action. -""" - resourceType: ActivityLogEntryResourceType! -""" -Name of the resource that was affected by the action. -""" - resourceName: String! -""" -The team slug that the entry belongs to. -""" - teamSlug: Slug! -""" -The environment name that the entry belongs to. -""" - environmentName: String -""" -Data associated with the entry. -""" - data: ValkeyUpdatedActivityLogEntryData! +type ValkeyUpdatedActivityLogEntry implements ActivityLogEntry & Node { + """ID of the entry.""" + id: ID! + + """ + The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + """ + actor: String! + + """Creation time of the entry.""" + createdAt: Time! + + """Message that summarizes the entry.""" + message: String! + + """Type of the resource that was affected by the action.""" + resourceType: ActivityLogEntryResourceType! + + """Name of the resource that was affected by the action.""" + resourceName: String! + + """The team slug that the entry belongs to.""" + teamSlug: Slug! + + """The environment name that the entry belongs to.""" + environmentName: String + + """Data associated with the entry.""" + data: ValkeyUpdatedActivityLogEntryData! } type ValkeyUpdatedActivityLogEntryData { - updatedFields: [ValkeyUpdatedActivityLogEntryDataUpdatedField!]! + updatedFields: [ValkeyUpdatedActivityLogEntryDataUpdatedField!]! } type ValkeyUpdatedActivityLogEntryDataUpdatedField { -""" -The name of the field. -""" - field: String! -""" -The old value of the field. -""" - oldValue: String -""" -The new value of the field. -""" - newValue: String + """The name of the field.""" + field: String! + + """The old value of the field.""" + oldValue: String + + """The new value of the field.""" + newValue: String } -""" -Input for viewing secret values. -""" +"""Input for viewing secret values.""" input ViewSecretValuesInput { -""" -Input for viewing secret values. -""" - name: String! -""" -Input for viewing secret values. -""" - environment: String! -""" -Input for viewing secret values. -""" - team: Slug! -""" -Input for viewing secret values. -""" - reason: String! + """The name of the secret.""" + name: String! + + """The environment the secret exists in.""" + environment: String! + + """The team that owns the secret.""" + team: Slug! + + """Reason for viewing the secret values. Must be at least 10 characters.""" + reason: String! } -""" -Payload returned when viewing secret values. -""" +"""Payload returned when viewing secret values.""" type ViewSecretValuesPayload { -""" -The secret values. -""" - values: [SecretValue!]! + """The secret values.""" + values: [SecretValue!]! } type VulnerabilityActivityLogEntryData { -""" -The unique identifier of the vulnerability. E.g. CVE-****-****. -""" - identifier: String! -""" -The severity of the vulnerability. -""" - severity: ImageVulnerabilitySeverity! -""" -The package affected by the vulnerability. -""" - package: String! -""" -The previous suppression state of the vulnerability. -""" - previousSuppression: ImageVulnerabilitySuppression -""" -The new suppression state of the vulnerability. -""" - newSuppression: ImageVulnerabilitySuppression -} + """The unique identifier of the vulnerability. E.g. CVE-****-****.""" + identifier: String! -""" -Trend of mean time to fix vulnerabilities grouped by severity. -""" -type VulnerabilityFixHistory { -""" -Mean time to fix samples. -""" - samples: [VulnerabilityFixSample!]! -} + """The severity of the vulnerability.""" + severity: ImageVulnerabilitySeverity! -""" -One MTTR sample for a severity at a point in time. -""" -type VulnerabilityFixSample { -""" -Severity of vulnerabilities in this sample. -""" - severity: ImageVulnerabilitySeverity! -""" -Snapshot date of the sample. -""" - date: Time! -""" -Mean time to fix in days. -""" - days: Int! -""" -Number of vulnerabilities fixed in this sample. -""" - fixedCount: Int! -""" -Earliest time a vulnerability was fixed in this sample. -""" - firstFixedAt: Time -""" -Latest time a vulnerability was fixed in this sample. -""" - lastFixedAt: Time -""" -Total number of workloads with this severity of vulnerabilities. -""" - totalWorkloads: Int! -} + """The package affected by the vulnerability.""" + package: String! -""" -Ordering options when fetching vulnerability summaries for workloads. -""" -input VulnerabilitySummaryOrder { -""" -Ordering options when fetching vulnerability summaries for workloads. -""" - field: VulnerabilitySummaryOrderByField! -""" -Ordering options when fetching vulnerability summaries for workloads. -""" - direction: OrderDirection! -} + """The previous suppression state of the vulnerability.""" + previousSuppression: ImageVulnerabilitySuppression -enum VulnerabilitySummaryOrderByField { -""" -Order by name. -""" - NAME -""" -Order by the name of the environment the workload is deployed in. -""" - ENVIRONMENT -""" -Order by risk score" -""" - VULNERABILITY_RISK_SCORE -""" -Order by vulnerability severity critical" -""" - VULNERABILITY_SEVERITY_CRITICAL -""" -Order by vulnerability severity high" -""" - VULNERABILITY_SEVERITY_HIGH -""" -Order by vulnerability severity medium" -""" - VULNERABILITY_SEVERITY_MEDIUM -""" -Order by vulnerability severity low" -""" - VULNERABILITY_SEVERITY_LOW -""" -Order by vulnerability severity unassigned" -""" - VULNERABILITY_SEVERITY_UNASSIGNED + """The new suppression state of the vulnerability.""" + newSuppression: ImageVulnerabilitySuppression } -type VulnerabilityUpdatedActivityLogEntry implements ActivityLogEntry & Node{ -""" -ID of the entry. -""" - id: ID! -""" -The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. -""" - actor: String! -""" -Creation time of the entry. -""" - createdAt: Time! -""" -Message that summarizes the entry. -""" - message: String! -""" -Type of the resource that was affected by the action. -""" - resourceType: ActivityLogEntryResourceType! -""" -Name of the resource that was affected by the action. -""" - resourceName: String! -""" -The team slug that the entry belongs to. -""" - teamSlug: Slug -""" -The environment name that the entry belongs to. -""" - environmentName: String -""" -Data associated with the update. -""" - data: VulnerabilityActivityLogEntryData! +"""Trend of mean time to fix vulnerabilities grouped by severity.""" +type VulnerabilityFixHistory { + """Mean time to fix samples.""" + samples: [VulnerabilityFixSample!]! } -type VulnerableImageIssue implements Issue & Node{ - id: ID! - teamEnvironment: TeamEnvironment! - severity: Severity! - message: String! - workload: Workload! - riskScore: Int! - critical: Int! -} +"""One MTTR sample for a severity at a point in time.""" +type VulnerabilityFixSample { + """Severity of vulnerabilities in this sample.""" + severity: ImageVulnerabilitySeverity! -""" -The days of the week. -""" -enum Weekday { -""" -Monday -""" - MONDAY -""" -Tuesday -""" - TUESDAY -""" -Wednesday -""" - WEDNESDAY -""" -Thursday -""" - THURSDAY -""" -Friday -""" - FRIDAY -""" -Saturday -""" - SATURDAY -""" -Sunday -""" - SUNDAY -} + """Snapshot date of the sample.""" + date: Time! -""" -Interface for workloads. -""" -interface Workload { -""" -Interface for workloads. -""" - id: ID! -""" -Interface for workloads. -""" - name: String! -""" -Interface for workloads. -""" - team: Team! -""" -Interface for workloads. -""" - environment: TeamEnvironment! -""" -Interface for workloads. -""" - teamEnvironment: TeamEnvironment! -""" -Interface for workloads. -""" - image: ContainerImage! -""" -Interface for workloads. -""" - resources: WorkloadResources! -""" -Interface for workloads. -""" - manifest: WorkloadManifest! -""" -Interface for workloads. -""" - deletionStartedAt: Time -""" -Interface for workloads. -""" - activityLog( - first: Int - after: Cursor - last: Int - before: Cursor - filter: ActivityLogFilter - ): ActivityLogEntryConnection! -""" -Interface for workloads. -""" - issues( - first: Int - after: Cursor - last: Int - before: Cursor - orderBy: IssueOrder - filter: ResourceIssueFilter - ): IssueConnection! -""" -Interface for workloads. -""" - bigQueryDatasets( - orderBy: BigQueryDatasetOrder - ): BigQueryDatasetConnection! -""" -Interface for workloads. -""" - buckets( - orderBy: BucketOrder - ): BucketConnection! -""" -Interface for workloads. -""" - cost: WorkloadCost! -""" -Interface for workloads. -""" - deployments( - first: Int - after: Cursor - last: Int - before: Cursor - ): DeploymentConnection! -""" -Interface for workloads. -""" - kafkaTopicAcls( - orderBy: KafkaTopicAclOrder - ): KafkaTopicAclConnection! -""" -Interface for workloads. -""" - logDestinations: [LogDestination!]! -""" -Interface for workloads. -""" - networkPolicy: NetworkPolicy! -""" -Interface for workloads. -""" - openSearch: OpenSearch -""" -Interface for workloads. -""" - postgresInstances( - orderBy: PostgresInstanceOrder - ): PostgresInstanceConnection! -""" -Interface for workloads. -""" - secrets( - first: Int - after: Cursor - last: Int - before: Cursor - ): SecretConnection! -""" -Interface for workloads. -""" - sqlInstances( - orderBy: SqlInstanceOrder - ): SqlInstanceConnection! -""" -Interface for workloads. -""" - valkeys( - orderBy: ValkeyOrder - ): ValkeyConnection! -""" -Interface for workloads. -""" - imageVulnerabilityHistory( - from: Date! - ): ImageVulnerabilityHistory! -""" -Interface for workloads. -""" - vulnerabilityFixHistory( - from: Date! - ): VulnerabilityFixHistory! + """Mean time to fix in days.""" + days: Int! + + """Number of vulnerabilities fixed in this sample.""" + fixedCount: Int! + + """Earliest time a vulnerability was fixed in this sample.""" + firstFixedAt: Time + + """Latest time a vulnerability was fixed in this sample.""" + lastFixedAt: Time + + """Total number of workloads with this severity of vulnerabilities.""" + totalWorkloads: Int! } -""" -Workload connection. -""" +"""Ordering options when fetching vulnerability summaries for workloads.""" +input VulnerabilitySummaryOrder { + """The field to order items by.""" + field: VulnerabilitySummaryOrderByField! + + """The direction to order items by.""" + direction: OrderDirection! +} + +enum VulnerabilitySummaryOrderByField { + """Order by name.""" + NAME + + """Order by the name of the environment the workload is deployed in.""" + ENVIRONMENT + + """ + Order by risk score" + """ + VULNERABILITY_RISK_SCORE + + """ + Order by vulnerability severity critical" + """ + VULNERABILITY_SEVERITY_CRITICAL + + """ + Order by vulnerability severity high" + """ + VULNERABILITY_SEVERITY_HIGH + + """ + Order by vulnerability severity medium" + """ + VULNERABILITY_SEVERITY_MEDIUM + + """ + Order by vulnerability severity low" + """ + VULNERABILITY_SEVERITY_LOW + + """ + Order by vulnerability severity unassigned" + """ + VULNERABILITY_SEVERITY_UNASSIGNED +} + +type VulnerabilityUpdatedActivityLogEntry implements ActivityLogEntry & Node { + """ID of the entry.""" + id: ID! + + """ + The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + """ + actor: String! + + """Creation time of the entry.""" + createdAt: Time! + + """Message that summarizes the entry.""" + message: String! + + """Type of the resource that was affected by the action.""" + resourceType: ActivityLogEntryResourceType! + + """Name of the resource that was affected by the action.""" + resourceName: String! + + """The team slug that the entry belongs to.""" + teamSlug: Slug + + """The environment name that the entry belongs to.""" + environmentName: String + + """Data associated with the update.""" + data: VulnerabilityActivityLogEntryData! +} + +type VulnerableImageIssue implements Issue & Node { + id: ID! + teamEnvironment: TeamEnvironment! + severity: Severity! + message: String! + workload: Workload! + riskScore: Int! + critical: Int! +} + +"""The days of the week.""" +enum Weekday { + """Monday""" + MONDAY + + """Tuesday""" + TUESDAY + + """Wednesday""" + WEDNESDAY + + """Thursday""" + THURSDAY + + """Friday""" + FRIDAY + + """Saturday""" + SATURDAY + + """Sunday""" + SUNDAY +} + +"""Interface for workloads.""" +interface Workload { + """The globally unique ID of the workload.""" + id: ID! + + """The name of the workload.""" + name: String! + + """The team that owns the workload.""" + team: Team! + + """The environment the workload is deployed in.""" + environment: TeamEnvironment! @deprecated(reason: "Use the `teamEnvironment` field instead.") + + """The team environment for the workload.""" + teamEnvironment: TeamEnvironment! + + """The container image of the workload.""" + image: ContainerImage! + + """The resources allocated to the workload.""" + resources: WorkloadResources! + + """The workload manifest.""" + manifest: WorkloadManifest! + + """If set, when the workload was marked for deletion.""" + deletionStartedAt: Time + + """Activity log associated with the workload.""" + activityLog( + """ + Get the first n items in the connection. This can be used in combination with the after parameter. + """ + first: Int + + """Get items after this cursor.""" + after: Cursor + + """ + Get the last n items in the connection. This can be used in combination with the before parameter. + """ + last: Int + + """Get items before this cursor.""" + before: Cursor + + """Filter items.""" + filter: ActivityLogFilter + ): ActivityLogEntryConnection! + + """Issues that affect the workload.""" + issues( + """ + Get the first n items in the connection. This can be used in combination with the after parameter. + """ + first: Int + + """Get items after this cursor.""" + after: Cursor + + """ + Get the last n items in the connection. This can be used in combination with the before parameter. + """ + last: Int + + """Get items before this cursor.""" + before: Cursor + + """Ordering options for items returned from the connection.""" + orderBy: IssueOrder + + """Filtering options for items returned from the connection.""" + filter: ResourceIssueFilter + ): IssueConnection! + + """ + BigQuery datasets referenced by the workload. This does not currently support pagination, but will return all available datasets. + """ + bigQueryDatasets( + """Ordering options for items returned from the connection.""" + orderBy: BigQueryDatasetOrder + ): BigQueryDatasetConnection! + + """ + Google Cloud Storage referenced by the workload. This does not currently support pagination, but will return all available buckets. + """ + buckets( + """Ordering options for items returned from the connection.""" + orderBy: BucketOrder + ): BucketConnection! + + """Configs used by the workload.""" + configs( + """ + Get the first n items in the connection. This can be used in combination with the after parameter. + """ + first: Int + + """Get items after this cursor.""" + after: Cursor + + """ + Get the last n items in the connection. This can be used in combination with the before parameter. + """ + last: Int + + """Get items before this cursor.""" + before: Cursor + ): ConfigConnection! + + """The cost for a workload.""" + cost: WorkloadCost! + + """List of deployments for the workload.""" + deployments( + """ + Get the first n items in the connection. This can be used in combination with the after parameter. + """ + first: Int + + """Get items after this cursor.""" + after: Cursor + + """ + Get the last n items in the connection. This can be used in combination with the before parameter. + """ + last: Int + + """Get items before this cursor.""" + before: Cursor + ): DeploymentConnection! + + """ + Kafka topics the workload has access to. This does not currently support pagination, but will return all available Kafka topics. + """ + kafkaTopicAcls( + """Ordering options for items returned from the connection.""" + orderBy: KafkaTopicAclOrder + ): KafkaTopicAclConnection! + + """List of log destinations for the workload.""" + logDestinations: [LogDestination!]! + + """Network policies for the workload.""" + networkPolicy: NetworkPolicy! + + """OpenSearch instance referenced by the workload.""" + openSearch: OpenSearch + + """ + Postgres instances referenced by the workload. This does not currently support pagination, but will return all available Postgres instances. + """ + postgresInstances( + """Ordering options for items returned from the connection.""" + orderBy: PostgresInstanceOrder + ): PostgresInstanceConnection! + + """Secrets used by the workload.""" + secrets( + """ + Get the first n items in the connection. This can be used in combination with the after parameter. + """ + first: Int + + """Get items after this cursor.""" + after: Cursor + + """ + Get the last n items in the connection. This can be used in combination with the before parameter. + """ + last: Int + + """Get items before this cursor.""" + before: Cursor + ): SecretConnection! + + """ + SQL instances referenced by the workload. This does not currently support pagination, but will return all available SQL instances. + """ + sqlInstances( + """Ordering options for items returned from the connection.""" + orderBy: SqlInstanceOrder + ): SqlInstanceConnection! + + """ + Valkey instances referenced by the workload. This does not currently support pagination, but will return all available Valkey instances. + """ + valkeys( + """Ordering options for items returned from the connection.""" + orderBy: ValkeyOrder + ): ValkeyConnection! + + """Get the vulnerability summary history for workload.""" + imageVulnerabilityHistory( + """Get vulnerability summary from given date until today.""" + from: Date! + ): ImageVulnerabilityHistory! + + """Get the mean time to fix history for a workload.""" + vulnerabilityFixHistory(from: Date!): VulnerabilityFixHistory! +} + +"""Workload connection.""" type WorkloadConnection { -""" -Pagination information. -""" - pageInfo: PageInfo! -""" -List of nodes. -""" - nodes: [Workload!]! -""" -List of edges. -""" - edges: [WorkloadEdge!]! + """Pagination information.""" + pageInfo: PageInfo! + + """List of nodes.""" + nodes: [Workload!]! + + """List of edges.""" + edges: [WorkloadEdge!]! } type WorkloadCost { -""" -Get the cost for a workload within a time period. -""" - daily( -""" -Start date of the period, inclusive. -""" - from: Date! -""" -End date of the period, inclusive. -""" - to: Date! - ): WorkloadCostPeriod! -""" -The cost for the last 12 months. -""" - monthly: WorkloadCostPeriod! + """Get the cost for a workload within a time period.""" + daily( + """Start date of the period, inclusive.""" + from: Date! + + """End date of the period, inclusive.""" + to: Date! + ): WorkloadCostPeriod! + + """The cost for the last 12 months.""" + monthly: WorkloadCostPeriod! } type WorkloadCostPeriod { -""" -The total cost for the period. -""" - sum: Float! -""" -The cost series. -""" - series: [ServiceCostSeries!]! + """The total cost for the period.""" + sum: Float! + + """The cost series.""" + series: [ServiceCostSeries!]! } type WorkloadCostSample { -""" -The workload. -""" - workload: Workload -""" -The name of the workload. -""" - workloadName: String! -""" -The cost in euros. -""" - cost: Float! + """The workload.""" + workload: Workload + + """The name of the workload.""" + workloadName: String! + + """The cost in euros.""" + cost: Float! } type WorkloadCostSeries { -""" -The date for the cost. When calculating the cost for a monthly period, the date will be the last day of the month that has cost data. -""" - date: Date! -""" -The sum of the cost across all workloads. -""" - sum: Float! -""" -The cost for the workloads in the environment. -""" - workloads: [WorkloadCostSample!]! + """ + The date for the cost. When calculating the cost for a monthly period, the date will be the last day of the month that has cost data. + """ + date: Date! + + """The sum of the cost across all workloads.""" + sum: Float! + + """The cost for the workloads in the environment.""" + workloads: [WorkloadCostSample!]! } -""" -Workload edge. -""" +"""Workload edge.""" type WorkloadEdge { -""" -Cursor for this edge that can be used for pagination. -""" - cursor: Cursor! -""" -The Workload. -""" - node: Workload! + """Cursor for this edge that can be used for pagination.""" + cursor: Cursor! + + """The Workload.""" + node: Workload! } type WorkloadLogLine { -""" -The timestamp of the log line. -""" - time: Time! -""" -The log message. -""" - message: String! -""" -The name of the instance that generated the log line. -""" - instance: String! + """The timestamp of the log line.""" + time: Time! + + """The log message.""" + message: String! + + """The name of the instance that generated the log line.""" + instance: String! } input WorkloadLogSubscriptionFilter { - team: Slug! - environment: String! - application: String - job: String - instances: [String!] + """Filter logs to a specific team.""" + team: Slug! + + """Filter logs to a specific environment.""" + environment: String! + + """Filter logs to a specific application.""" + application: String + + """Filter logs to a specific job.""" + job: String + + """Filter logs to a set of specific instance names.""" + instances: [String!] } -""" -Interface for workload manifests. -""" +"""Interface for workload manifests.""" interface WorkloadManifest { -""" -Interface for workload manifests. -""" - content: String! + """The manifest content, serialized as a YAML document.""" + content: String! } -""" -Ordering options when fetching workloads. -""" +"""Ordering options when fetching workloads.""" input WorkloadOrder { -""" -Ordering options when fetching workloads. -""" - field: WorkloadOrderField! -""" -Ordering options when fetching workloads. -""" - direction: OrderDirection! + """The field to order items by.""" + field: WorkloadOrderField! + + """The direction to order items by.""" + direction: OrderDirection! } -""" -Fields to order workloads by. -""" +"""Fields to order workloads by.""" enum WorkloadOrderField { -""" -Order by name. -""" - NAME -""" -Order by the name of the environment the workload is deployed in. -""" - ENVIRONMENT -""" -Order by the deployment time. -""" - DEPLOYMENT_TIME -""" -Order workloads by issue severity -""" - ISSUES -""" -Order by risk score -""" - VULNERABILITY_RISK_SCORE -""" -Order apps by vulnerability severity critical -""" - VULNERABILITY_SEVERITY_CRITICAL -""" -Order apps by vulnerability severity high -""" - VULNERABILITY_SEVERITY_HIGH -""" -Order apps by vulnerability severity medium -""" - VULNERABILITY_SEVERITY_MEDIUM -""" -Order apps by vulnerability severity low -""" - VULNERABILITY_SEVERITY_LOW -""" -Order apps by vulnerability severity unassigned -""" - VULNERABILITY_SEVERITY_UNASSIGNED -""" -Order by whether the workload has a software bill of materials (SBOM) -""" - HAS_SBOM -""" -Order by the last time the vulnerabilities were scanned. -""" - VULNERABILITY_LAST_SCANNED + """Order by name.""" + NAME + + """Order by the name of the environment the workload is deployed in.""" + ENVIRONMENT + + """Order by the deployment time.""" + DEPLOYMENT_TIME + + """Order workloads by issue severity""" + ISSUES + + """Order by risk score""" + VULNERABILITY_RISK_SCORE + + """Order apps by vulnerability severity critical""" + VULNERABILITY_SEVERITY_CRITICAL + + """Order apps by vulnerability severity high""" + VULNERABILITY_SEVERITY_HIGH + + """Order apps by vulnerability severity medium""" + VULNERABILITY_SEVERITY_MEDIUM + + """Order apps by vulnerability severity low""" + VULNERABILITY_SEVERITY_LOW + + """Order apps by vulnerability severity unassigned""" + VULNERABILITY_SEVERITY_UNASSIGNED + + """Order by whether the workload has a software bill of materials (SBOM)""" + HAS_SBOM + + """Order by the last time the vulnerabilities were scanned.""" + VULNERABILITY_LAST_SCANNED } -""" -Resource quantities for a workload. -""" +"""Resource quantities for a workload.""" type WorkloadResourceQuantity { -""" -The number of CPU cores. -""" - cpu: Float -""" -The amount of memory in bytes. -""" - memory: Int + """The number of CPU cores.""" + cpu: Float + + """The amount of memory in bytes.""" + memory: Int } -""" -Interface for resources allocated to workloads. -""" +"""Interface for resources allocated to workloads.""" interface WorkloadResources { -""" -Interface for resources allocated to workloads. -""" - limits: WorkloadResourceQuantity! -""" -Interface for resources allocated to workloads. -""" - requests: WorkloadResourceQuantity! + """Instances using resources above this threshold will be killed.""" + limits: WorkloadResourceQuantity! + + """Resources requested by the workload.""" + requests: WorkloadResourceQuantity! } type WorkloadUtilization { -""" -Get the current usage for the requested resource type. -""" - current( - resourceType: UtilizationResourceType! - ): Float! -""" -Gets the requested amount of resources for the requested resource type. -""" - requested( - resourceType: UtilizationResourceType! - ): Float! -""" -Gets the requested amount of resources between start and end with step size for given resource type. -""" - requestedSeries( - input: WorkloadUtilizationSeriesInput! - ): [UtilizationSample!]! -""" -Gets the limit of the resources for the requested resource type. -""" - limit( - resourceType: UtilizationResourceType! - ): Float -""" -Gets the limit of the resources between start and end with step size for given resource type. -""" - limitSeries( - input: WorkloadUtilizationSeriesInput! - ): [UtilizationSample!]! -""" -Usage between start and end with step size for given resource type. -""" - series( - input: WorkloadUtilizationSeriesInput! - ): [UtilizationSample!]! -""" -Gets the recommended amount of resources for the workload. -""" - recommendations: WorkloadUtilizationRecommendations! + """Get the current usage for the requested resource type.""" + current(resourceType: UtilizationResourceType!): Float! + + """ + Gets the requested amount of resources for the requested resource type. + """ + requested(resourceType: UtilizationResourceType!): Float! + + """ + Gets the requested amount of resources between start and end with step size for given resource type. + """ + requestedSeries(input: WorkloadUtilizationSeriesInput!): [UtilizationSample!]! + + """Gets the limit of the resources for the requested resource type.""" + limit(resourceType: UtilizationResourceType!): Float + + """ + Gets the limit of the resources between start and end with step size for given resource type. + """ + limitSeries(input: WorkloadUtilizationSeriesInput!): [UtilizationSample!]! + + """Usage between start and end with step size for given resource type.""" + series(input: WorkloadUtilizationSeriesInput!): [UtilizationSample!]! + + """Gets the recommended amount of resources for the workload.""" + recommendations: WorkloadUtilizationRecommendations! } type WorkloadUtilizationData { -""" -The workload. -""" - workload: Workload! -""" -The requested amount of resources -""" - requested: Float! -""" -The current resource usage. -""" - used: Float! + """The workload.""" + workload: Workload! + + """The requested amount of resources""" + requested: Float! + + """The current resource usage.""" + used: Float! } type WorkloadUtilizationRecommendations { - cpuRequestCores: Float! - memoryRequestBytes: Int! - memoryLimitBytes: Int! + cpuRequestCores: Float! + memoryRequestBytes: Int! + memoryLimitBytes: Int! } input WorkloadUtilizationSeriesInput { - start: Time! - end: Time! - resourceType: UtilizationResourceType! -} - -type WorkloadVulnerabilitySummary implements Node{ -""" -The globally unique ID of the workload vulnerability summary node. -""" - id: ID! -""" -The workload -""" - workload: Workload! -""" -True if the workload has a software bill of materials (SBOM) attached. -""" - hasSBOM: Boolean! -""" -The vulnerability summary for the workload. -""" - summary: ImageVulnerabilitySummary! -} + """Fetch resource usage from this timestamp.""" + start: Time! -type WorkloadVulnerabilitySummaryConnection { -""" -Information to aid in pagination. -""" - pageInfo: PageInfo! -""" -List of edges. -""" - edges: [WorkloadVulnerabilitySummaryEdge!]! -""" -List of nodes. -""" - nodes: [WorkloadVulnerabilitySummary!]! -} + """Fetch resource usage until this timestamp.""" + end: Time! -type WorkloadVulnerabilitySummaryEdge { -""" -A cursor for use in pagination. -""" - cursor: Cursor! -""" -The workload vulnerability summary. -""" - node: WorkloadVulnerabilitySummary! + """Resource type.""" + resourceType: UtilizationResourceType! } -type WorkloadWithVulnerability { - vulnerability: ImageVulnerability! - workload: Workload! -} +type WorkloadVulnerabilitySummary implements Node { + """The globally unique ID of the workload vulnerability summary node.""" + id: ID! -type WorkloadWithVulnerabilityConnection { -""" -Information to aid in pagination. -""" - pageInfo: PageInfo! -""" -List of edges. -""" - edges: [WorkloadWithVulnerabilityEdge!]! -""" -List of nodes. -""" - nodes: [WorkloadWithVulnerability!]! -} + """The workload""" + workload: Workload! -type WorkloadWithVulnerabilityEdge { -""" -A cursor for use in pagination. -""" - cursor: Cursor! -""" -The vulnerability. -""" - node: WorkloadWithVulnerability! -} + """True if the workload has a software bill of materials (SBOM) attached.""" + hasSBOM: Boolean! -""" -Permission level for OpenSearch and Valkey credentials. -""" -enum CredentialPermission { - READ - WRITE - READWRITE - ADMIN + """The vulnerability summary for the workload.""" + summary: ImageVulnerabilitySummary! } -input CreateOpenSearchCredentialsInput { - """ - The team that owns the OpenSearch instance. - """ - teamSlug: Slug! - """ - The environment name that the OpenSearch instance belongs to. - """ - environmentName: String! - """ - Name of the OpenSearch instance. - """ - instanceName: String! - """ - Permission level for the credentials. - """ - permission: CredentialPermission! - """ - Time-to-live for the credentials (e.g. '1d', '7d'). Maximum 30 days. - """ - ttl: String! -} +type WorkloadVulnerabilitySummaryConnection { + """Information to aid in pagination.""" + pageInfo: PageInfo! -type OpenSearchCredentials { - """ - Username for the OpenSearch instance. - """ - username: String! - """ - Password for the OpenSearch instance. - """ - password: String! - """ - Hostname of the OpenSearch instance. - """ - host: String! - """ - Port of the OpenSearch instance. - """ - port: Int! - """ - Full connection URI for the OpenSearch instance. - """ - uri: String! -} + """List of edges.""" + edges: [WorkloadVulnerabilitySummaryEdge!]! -type CreateOpenSearchCredentialsPayload { - """ - The generated credentials. - """ - credentials: OpenSearchCredentials! + """List of nodes.""" + nodes: [WorkloadVulnerabilitySummary!]! } -input CreateValkeyCredentialsInput { - """ - The team that owns the Valkey instance. - """ - teamSlug: Slug! - """ - The environment name that the Valkey instance belongs to. - """ - environmentName: String! - """ - Name of the Valkey instance. - """ - instanceName: String! - """ - Permission level for the credentials. - """ - permission: CredentialPermission! - """ - Time-to-live for the credentials (e.g. '1d', '7d'). Maximum 30 days. - """ - ttl: String! -} +type WorkloadVulnerabilitySummaryEdge { + """A cursor for use in pagination.""" + cursor: Cursor! -type ValkeyCredentials { - """ - Username for the Valkey instance. - """ - username: String! - """ - Password for the Valkey instance. - """ - password: String! - """ - Hostname of the Valkey instance. - """ - host: String! - """ - Port of the Valkey instance. - """ - port: Int! - """ - Full connection URI for the Valkey instance. - """ - uri: String! + """The workload vulnerability summary.""" + node: WorkloadVulnerabilitySummary! } -type CreateValkeyCredentialsPayload { - """ - The generated credentials. - """ - credentials: ValkeyCredentials! +type WorkloadWithVulnerability { + vulnerability: ImageVulnerability! + workload: Workload! } -input CreateKafkaCredentialsInput { - """ - The team that owns the Kafka topic. - """ - teamSlug: Slug! - """ - The environment name that the Kafka topic belongs to. - """ - environmentName: String! - """ - Time-to-live for the credentials (e.g. '1d', '7d'). Maximum 30 days. - """ - ttl: String! -} +type WorkloadWithVulnerabilityConnection { + """Information to aid in pagination.""" + pageInfo: PageInfo! -type KafkaCredentials { - """ - Username for the Kafka broker. - """ - username: String! - """ - Client certificate in PEM format. - """ - accessCert: String! - """ - Client private key in PEM format. - """ - accessKey: String! - """ - CA certificate in PEM format. - """ - caCert: String! - """ - Comma-separated list of broker addresses. - """ - brokers: String! - """ - Schema registry URL. - """ - schemaRegistry: String! -} + """List of edges.""" + edges: [WorkloadWithVulnerabilityEdge!]! -type CreateKafkaCredentialsPayload { - """ - The generated credentials. - """ - credentials: KafkaCredentials! + """List of nodes.""" + nodes: [WorkloadWithVulnerability!]! } -type CredentialsActivityLogEntry implements ActivityLogEntry & Node { - """ - ID of the entry. - """ - id: ID! - """ - The identity of the actor who performed the action. - """ - actor: String! - """ - Creation time of the entry. - """ - createdAt: Time! - """ - Message that summarizes the entry. - """ - message: String! - """ - Type of the resource that was affected by the action. - """ - resourceType: ActivityLogEntryResourceType! - """ - Name of the resource that was affected by the action. - """ - resourceName: String! - """ - The team slug that the entry belongs to. - """ - teamSlug: Slug - """ - The environment name that the entry belongs to. - """ - environmentName: String - """ - Data associated with the credential creation. - """ - data: CredentialsActivityLogEntryData! -} +type WorkloadWithVulnerabilityEdge { + """A cursor for use in pagination.""" + cursor: Cursor! -type CredentialsActivityLogEntryData { - """ - The service type (OPENSEARCH, VALKEY, KAFKA). - """ - serviceType: String! - """ - The instance name, if applicable. - """ - instanceName: String - """ - The permission level, if applicable. - """ - permission: String - """ - The TTL that was requested for the credentials. - """ - ttl: String! + """The vulnerability.""" + node: WorkloadWithVulnerability! } - From ed282031c3a764c808cf332fdfd250f95f533610 Mon Sep 17 00:00:00 2001 From: Frode Sundby Date: Wed, 18 Mar 2026 13:10:24 +0100 Subject: [PATCH 2/5] test: add unit tests for config package --- internal/config/activity_test.go | 131 ++++++++++ internal/config/command/environment_test.go | 87 +++++++ internal/config/command/list_test.go | 54 ++++ internal/config/config_test.go | 266 ++++++++++++++++++++ 4 files changed, 538 insertions(+) create mode 100644 internal/config/activity_test.go create mode 100644 internal/config/command/environment_test.go create mode 100644 internal/config/command/list_test.go create mode 100644 internal/config/config_test.go diff --git a/internal/config/activity_test.go b/internal/config/activity_test.go new file mode 100644 index 00000000..8b8b44d2 --- /dev/null +++ b/internal/config/activity_test.go @@ -0,0 +1,131 @@ +package config + +import ( + "reflect" + "testing" + "time" +) + +func TestBuildConfigActivity(t *testing.T) { + t.Parallel() + + now := time.Now().UTC() + + tests := []struct { + name string + resources []configActivityResource + configName string + environments []string + wantFound bool + want []ConfigActivity + }{ + { + name: "exact name match with fallback environment", + configName: "app-settings", + resources: []configActivityResource{ + { + Name: "app-settings", + DefaultEnvName: "dev-gcp", + Entries: []configActivityEntry{ + {CreatedAt: now, Actor: "alice@example.com", Message: "Updated config value", EnvironmentName: ""}, + }, + }, + }, + wantFound: true, + want: []ConfigActivity{ + {CreatedAt: now, Actor: "alice@example.com", Environment: "dev-gcp", Message: "Updated config value"}, + }, + }, + { + name: "entry with explicit environment overrides default", + configName: "app-settings", + resources: []configActivityResource{ + { + Name: "app-settings", + DefaultEnvName: "dev-gcp", + Entries: []configActivityEntry{ + {CreatedAt: now, Actor: "bob@example.com", Message: "Created config", EnvironmentName: "prod-gcp"}, + }, + }, + }, + wantFound: true, + want: []ConfigActivity{ + {CreatedAt: now, Actor: "bob@example.com", Environment: "prod-gcp", Message: "Created config"}, + }, + }, + { + name: "not found in requested environment", + configName: "app-settings", + resources: []configActivityResource{ + { + Name: "app-settings", + DefaultEnvName: "dev-gcp", + Entries: []configActivityEntry{ + {CreatedAt: now, Actor: "alice@example.com", Message: "Updated config value", EnvironmentName: ""}, + }, + }, + }, + environments: []string{"prod-gcp"}, + wantFound: false, + want: []ConfigActivity{}, + }, + { + name: "not found when only partial name exists", + configName: "app", + resources: []configActivityResource{ + { + Name: "app-settings", + DefaultEnvName: "dev-gcp", + }, + }, + wantFound: false, + want: []ConfigActivity{}, + }, + { + name: "multiple resources same name different envs", + configName: "db-config", + resources: []configActivityResource{ + { + Name: "db-config", + DefaultEnvName: "dev-gcp", + Entries: []configActivityEntry{ + {CreatedAt: now, Actor: "alice@example.com", Message: "Added key", EnvironmentName: ""}, + }, + }, + { + Name: "db-config", + DefaultEnvName: "prod-gcp", + Entries: []configActivityEntry{ + {CreatedAt: now, Actor: "bob@example.com", Message: "Updated key", EnvironmentName: ""}, + }, + }, + }, + environments: []string{"prod-gcp"}, + wantFound: true, + want: []ConfigActivity{ + {CreatedAt: now, Actor: "bob@example.com", Environment: "prod-gcp", Message: "Updated key"}, + }, + }, + { + name: "empty resources", + configName: "anything", + resources: nil, + wantFound: false, + want: []ConfigActivity{}, + }, + } + + for _, tt := range tests { + t.Run(tt.name, func(t *testing.T) { + t.Parallel() + + got, found := buildConfigActivity(tt.resources, tt.configName, tt.environments) + if found != tt.wantFound { + t.Fatalf("buildConfigActivity() found = %v, want %v", found, tt.wantFound) + } + if !reflect.DeepEqual(got, tt.want) { + t.Fatalf("buildConfigActivity() = %#v, want %#v", got, tt.want) + } + }) + } +} diff --git a/internal/config/command/environment_test.go b/internal/config/command/environment_test.go new file mode 100644 index 00000000..1af8e353 --- /dev/null +++ b/internal/config/command/environment_test.go @@ -0,0 +1,87 @@ +package command + +import "testing" + +func TestSelectConfigEnvironment(t *testing.T) { + t.Parallel() + + tests := []struct { + name string + team string + config string + provided string + envs []string + wantEnv string + wantError string + }{ + { + name: "provided environment exists", + team: "nais", + config: "my-config", + provided: "dev-gcp", + envs: []string{"dev-gcp", "prod-gcp"}, + wantEnv: "dev-gcp", + }, + { + name: "provided environment missing with alternatives", + team: "nais", + config: "my-config", + provided: "staging-gcp", + envs: []string{"prod-gcp", "dev-gcp"}, + wantError: "config \"my-config\" does not exist in environment \"staging-gcp\"; available environments: dev-gcp, prod-gcp", + }, + { + name: "provided environment missing and config absent", + team: "nais", + config: "my-config", + provided: "dev-gcp", + envs: nil, + wantError: "config \"my-config\" not found in team \"nais\"", + }, + { + name: "no provided and no environments", + team: "nais", + config: "my-config", + envs: nil, + wantError: "config \"my-config\" not found in team \"nais\"", + }, + { + name: "no provided and one environment", + team: "nais", + config: "my-config", + envs: []string{"dev-gcp"}, + wantEnv: "dev-gcp", + }, + { + name: "no provided and multiple environments", + team: "nais", + config: "my-config", + envs: []string{"prod-gcp", "dev-gcp"}, + wantError: "config \"my-config\" exists in multiple environments (dev-gcp, prod-gcp); specify --environment/-e", + }, + } + + for _, tt := range tests { + t.Run(tt.name, func(t *testing.T) { + t.Parallel() + + gotEnv, err := selectConfigEnvironment(tt.team, tt.config, tt.provided, tt.envs) + if tt.wantError != "" { + if err == nil { + t.Fatalf("expected error %q, got nil", tt.wantError) + } + if err.Error() != tt.wantError { + t.Fatalf("error = %q, want %q", err.Error(), tt.wantError) + } + return + } + + if err != nil { + t.Fatalf("unexpected error: %v", err) + } + if gotEnv != tt.wantEnv { + t.Fatalf("env = %q, want %q", gotEnv, tt.wantEnv) + } + }) + } +} diff --git a/internal/config/command/list_test.go b/internal/config/command/list_test.go new file mode 100644 index 00000000..82f8d695 --- /dev/null +++ b/internal/config/command/list_test.go @@ -0,0 +1,54 @@ +package command + +import "testing" + +func TestSummarizeList(t *testing.T) { + t.Parallel() + + tests := []struct { + name string + items []string + want string + }{ + { + name: "empty", + items: nil, + want: "", + }, + { + name: "single item", + items: []string{"a"}, + want: "a", + }, + { + name: "two items", + items: []string{"a", "b"}, + want: "a, b", + }, + { + name: "exactly max items", + items: []string{"a", "b", "c"}, + want: "a, b, c", + }, + { + name: "one over max", + items: []string{"a", "b", "c", "d"}, + want: "a, b, c, +1 more", + }, + { + name: "many over max", + items: []string{"a", "b", "c", "d", "e", "f"}, + want: "a, b, c, +3 more", + }, + } + + for _, tt := range tests { + t.Run(tt.name, func(t *testing.T) { + t.Parallel() + got := summarizeList(tt.items) + if got != tt.want { + t.Errorf("summarizeList(%v) = %q, want %q", tt.items, got, tt.want) + } + }) + } +} diff --git a/internal/config/config_test.go b/internal/config/config_test.go new file mode 100644 index 00000000..c394d68e --- /dev/null +++ b/internal/config/config_test.go @@ -0,0 +1,266 @@ +package config + +import ( + "encoding/json" + "reflect" + "testing" + "time" + + "github.com/nais/cli/internal/naisapi/gql" +) + +func TestFormatDetails(t *testing.T) { + t.Parallel() + + recentTime := time.Now().Add(-2 * time.Hour) + recentExpected := LastModified(recentTime).String() + + tests := []struct { + name string + metadata Metadata + config *gql.GetConfigTeamEnvironmentConfig + want [][]string + }{ + { + name: "all fields present", + metadata: Metadata{ + TeamSlug: "my-team", + EnvironmentName: "dev", + Name: "my-config", + }, + config: &gql.GetConfigTeamEnvironmentConfig{ + Name: "my-config", + TeamEnvironment: gql.GetConfigTeamEnvironmentConfigTeamEnvironment{ + Environment: gql.GetConfigTeamEnvironmentConfigTeamEnvironmentEnvironment{Name: "dev"}, + }, + LastModifiedAt: recentTime, + LastModifiedBy: gql.GetConfigTeamEnvironmentConfigLastModifiedByUser{Email: "user@example.com"}, + }, + want: [][]string{ + {"Field", "Value"}, + {"Team", "my-team"}, + {"Environment", "dev"}, + {"Name", "my-config"}, + {"Last Modified", recentExpected}, + {"Modified By", "user@example.com"}, + }, + }, + { + name: "no modification info", + metadata: Metadata{ + TeamSlug: "my-team", + EnvironmentName: "prod", + Name: "db-config", + }, + config: &gql.GetConfigTeamEnvironmentConfig{ + Name: "db-config", + TeamEnvironment: gql.GetConfigTeamEnvironmentConfigTeamEnvironment{ + Environment: gql.GetConfigTeamEnvironmentConfigTeamEnvironmentEnvironment{Name: "prod"}, + }, + }, + want: [][]string{ + {"Field", "Value"}, + {"Team", "my-team"}, + {"Environment", "prod"}, + {"Name", "db-config"}, + }, + }, + { + name: "modified at set but no modified by", + metadata: Metadata{ + TeamSlug: "team-a", + EnvironmentName: "staging", + Name: "app-settings", + }, + config: &gql.GetConfigTeamEnvironmentConfig{ + Name: "app-settings", + TeamEnvironment: gql.GetConfigTeamEnvironmentConfigTeamEnvironment{ + Environment: gql.GetConfigTeamEnvironmentConfigTeamEnvironmentEnvironment{Name: "staging"}, + }, + LastModifiedAt: recentTime, + }, + want: [][]string{ + {"Field", "Value"}, + {"Team", "team-a"}, + {"Environment", "staging"}, + {"Name", "app-settings"}, + {"Last Modified", recentExpected}, + }, + }, + } + + for _, tt := range tests { + t.Run(tt.name, func(t *testing.T) { + t.Parallel() + got := FormatDetails(tt.metadata, tt.config) + if !reflect.DeepEqual(got, tt.want) { + t.Errorf("FormatDetails() =\n %v\nwant\n %v", got, tt.want) + } + }) + } +} + +func TestFormatData(t *testing.T) { + t.Parallel() + + tests := []struct { + name string + values []gql.GetConfigTeamEnvironmentConfigValuesConfigValue + want [][]string + }{ + { + name: "multiple values", + values: []gql.GetConfigTeamEnvironmentConfigValuesConfigValue{ + {Name: "DATABASE_HOST", Value: "db.example.com"}, + {Name: "LOG_LEVEL", Value: "info"}, + {Name: "PORT", Value: "8080"}, + }, + want: [][]string{ + {"Key", "Value"}, + {"DATABASE_HOST", "db.example.com"}, + {"LOG_LEVEL", "info"}, + {"PORT", "8080"}, + }, + }, + { + name: "no values", + values: nil, + want: [][]string{ + {"Key", "Value"}, + }, + }, + { + name: "single value", + values: []gql.GetConfigTeamEnvironmentConfigValuesConfigValue{ + {Name: "ONLY_KEY", Value: "only_value"}, + }, + want: [][]string{ + {"Key", "Value"}, + {"ONLY_KEY", "only_value"}, + }, + }, + { + name: "value with empty string", + values: []gql.GetConfigTeamEnvironmentConfigValuesConfigValue{ + {Name: "EMPTY_KEY", Value: ""}, + }, + want: [][]string{ + {"Key", "Value"}, + {"EMPTY_KEY", ""}, + }, + }, + } + + for _, tt := range tests { + t.Run(tt.name, func(t *testing.T) { + t.Parallel() + got := FormatData(tt.values) + if !reflect.DeepEqual(got, tt.want) { + t.Errorf("FormatData() =\n %v\nwant\n %v", got, tt.want) + } + }) + } +} + +func TestFormatWorkloads(t *testing.T) { + t.Parallel() + + tests := []struct { + name string + config *gql.GetConfigTeamEnvironmentConfig + want [][]string + }{ + { + name: "with workloads", + config: &gql.GetConfigTeamEnvironmentConfig{ + Workloads: gql.GetConfigTeamEnvironmentConfigWorkloadsWorkloadConnection{ + Nodes: []gql.GetConfigTeamEnvironmentConfigWorkloadsWorkloadConnectionNodesWorkload{ + &gql.GetConfigTeamEnvironmentConfigWorkloadsWorkloadConnectionNodesApplication{ + Name: "my-app", + Typename: "Application", + }, + &gql.GetConfigTeamEnvironmentConfigWorkloadsWorkloadConnectionNodesJob{ + Name: "my-job", + Typename: "Job", + }, + }, + }, + }, + want: [][]string{ + {"Name", "Type"}, + {"my-app", "Application"}, + {"my-job", "Job"}, + }, + }, + { + name: "no workloads", + config: &gql.GetConfigTeamEnvironmentConfig{}, + want: [][]string{ + {"Name", "Type"}, + }, + }, + } + + for _, tt := range tests { + t.Run(tt.name, func(t *testing.T) { + t.Parallel() + got := FormatWorkloads(tt.config) + if !reflect.DeepEqual(got, tt.want) { + t.Errorf("FormatWorkloads() =\n %v\nwant\n %v", got, tt.want) + } + }) + } +} + +func TestLastModified_String(t *testing.T) { + t.Parallel() + + tests := []struct { + name string + time time.Time + want string + }{ + {name: "zero time", time: time.Time{}, want: ""}, + {name: "seconds ago", time: time.Now().Add(-30 * time.Second), want: "30s"}, + {name: "minutes ago", time: time.Now().Add(-5 * time.Minute), want: "5m"}, + {name: "hours ago", time: time.Now().Add(-3 * time.Hour), want: "3h"}, + {name: "days ago", time: time.Now().Add(-7 * 24 * time.Hour), want: "7d"}, + {name: "years ago", time: time.Now().Add(-400 * 24 * time.Hour), want: "1y"}, + } + + for _, tt := range tests { + t.Run(tt.name, func(t *testing.T) { + t.Parallel() + got := LastModified(tt.time).String() + if got != tt.want { + t.Errorf("LastModified.String() = %q, want %q", got, tt.want) + } + }) + } +} + +func TestLastModified_MarshalJSON(t *testing.T) { + t.Parallel() + + ts := time.Date(2025, 6, 15, 12, 30, 0, 0, time.UTC) + lm := LastModified(ts) + + data, err := json.Marshal(lm) + if err != nil { + t.Fatalf("MarshalJSON() error = %v", err) + } + + want := `"2025-06-15T12:30:00Z"` + if string(data) != want { + t.Errorf("MarshalJSON() = %s, want %s", data, want) + } + + // Zero time should marshal to empty string + data, err = json.Marshal(LastModified(time.Time{})) + if err != nil { + t.Fatalf("MarshalJSON() error = %v", err) + } + if string(data) != `""` { + t.Errorf("MarshalJSON() zero = %s, want %q", data, "") + } +} From 39ad2532a6cc97db9e103bb7ccce5e86d5faab70 Mon Sep 17 00:00:00 2001 From: Frode Sundby Date: Wed, 18 Mar 2026 13:16:10 +0100 Subject: [PATCH 3/5] chore: update GraphQL schema and regenerate client from local API --- internal/naisapi/gql/generated.go | 2531 ++-- schema.graphql | 17902 +++++++++++++++------------- 2 files changed, 11184 insertions(+), 9249 deletions(-) diff --git a/internal/naisapi/gql/generated.go b/internal/naisapi/gql/generated.go index 76bf169b..293f862c 100644 --- a/internal/naisapi/gql/generated.go +++ b/internal/naisapi/gql/generated.go @@ -457,9 +457,9 @@ var AllApplicationInstanceState = []ApplicationInstanceState{ // Ordering options when fetching applications. type ApplicationOrder struct { - // The field to order items by. + // Ordering options when fetching applications. Field ApplicationOrderField `json:"field"` - // The direction to order items by. + // Ordering options when fetching applications. Direction OrderDirection `json:"direction"` } @@ -511,9 +511,7 @@ var AllApplicationState = []ApplicationState{ } type ConfigValueInput struct { - // The name of the config value. - Name string `json:"name"` - // The value to set. + Name string `json:"name"` Value string `json:"value"` } @@ -1185,17 +1183,17 @@ type FindWorkloadsForCveCveCVEWorkloadsWorkloadWithVulnerabilityConnectionNodesW // GetName returns the interface-field "name" from its implementation. // The GraphQL interface field's documentation follows. // - // The name of the workload. + // Interface for workloads. GetName() string // GetTeam returns the interface-field "team" from its implementation. // The GraphQL interface field's documentation follows. // - // The team that owns the workload. + // Interface for workloads. GetTeam() FindWorkloadsForCveCveCVEWorkloadsWorkloadWithVulnerabilityConnectionNodesWorkloadWithVulnerabilityWorkloadTeam // GetTeamEnvironment returns the interface-field "teamEnvironment" from its implementation. // The GraphQL interface field's documentation follows. // - // The team environment for the workload. + // Interface for workloads. GetTeamEnvironment() FindWorkloadsForCveCveCVEWorkloadsWorkloadWithVulnerabilityConnectionNodesWorkloadWithVulnerabilityWorkloadTeamEnvironment } @@ -1269,11 +1267,11 @@ func __marshalFindWorkloadsForCveCveCVEWorkloadsWorkloadWithVulnerabilityConnect // Learn more about how to create and configure your applications in the [Nais documentation](https://docs.nais.io/workloads/application/). type FindWorkloadsForCveCveCVEWorkloadsWorkloadWithVulnerabilityConnectionNodesWorkloadWithVulnerabilityWorkloadApplication struct { Typename string `json:"__typename"` - // The name of the workload. + // Interface for workloads. Name string `json:"name"` - // The team that owns the workload. + // Interface for workloads. Team FindWorkloadsForCveCveCVEWorkloadsWorkloadWithVulnerabilityConnectionNodesWorkloadWithVulnerabilityWorkloadTeam `json:"team"` - // The team environment for the workload. + // Interface for workloads. TeamEnvironment FindWorkloadsForCveCveCVEWorkloadsWorkloadWithVulnerabilityConnectionNodesWorkloadWithVulnerabilityWorkloadTeamEnvironment `json:"teamEnvironment"` } @@ -1300,11 +1298,11 @@ func (v *FindWorkloadsForCveCveCVEWorkloadsWorkloadWithVulnerabilityConnectionNo // FindWorkloadsForCveCveCVEWorkloadsWorkloadWithVulnerabilityConnectionNodesWorkloadWithVulnerabilityWorkloadJob includes the requested fields of the GraphQL type Job. type FindWorkloadsForCveCveCVEWorkloadsWorkloadWithVulnerabilityConnectionNodesWorkloadWithVulnerabilityWorkloadJob struct { Typename string `json:"__typename"` - // The name of the workload. + // Interface for workloads. Name string `json:"name"` - // The team that owns the workload. + // Interface for workloads. Team FindWorkloadsForCveCveCVEWorkloadsWorkloadWithVulnerabilityConnectionNodesWorkloadWithVulnerabilityWorkloadTeam `json:"team"` - // The team environment for the workload. + // Interface for workloads. TeamEnvironment FindWorkloadsForCveCveCVEWorkloadsWorkloadWithVulnerabilityConnectionNodesWorkloadWithVulnerabilityWorkloadTeamEnvironment `json:"teamEnvironment"` } @@ -1620,7 +1618,7 @@ func (v *GetAllConfigsTeamConfigsConfigConnectionNodesConfigWorkloadsWorkloadCon // // Learn more about how to create and configure your applications in the [Nais documentation](https://docs.nais.io/workloads/application/). type GetAllConfigsTeamConfigsConfigConnectionNodesConfigWorkloadsWorkloadConnectionNodesApplication struct { - // The name of the workload. + // Interface for workloads. Name string `json:"name"` Typename string `json:"__typename"` } @@ -1637,7 +1635,7 @@ func (v *GetAllConfigsTeamConfigsConfigConnectionNodesConfigWorkloadsWorkloadCon // GetAllConfigsTeamConfigsConfigConnectionNodesConfigWorkloadsWorkloadConnectionNodesJob includes the requested fields of the GraphQL type Job. type GetAllConfigsTeamConfigsConfigConnectionNodesConfigWorkloadsWorkloadConnectionNodesJob struct { - // The name of the workload. + // Interface for workloads. Name string `json:"name"` Typename string `json:"__typename"` } @@ -1665,7 +1663,7 @@ type GetAllConfigsTeamConfigsConfigConnectionNodesConfigWorkloadsWorkloadConnect // GetName returns the interface-field "name" from its implementation. // The GraphQL interface field's documentation follows. // - // The name of the workload. + // Interface for workloads. GetName() string // GetTypename returns the receiver's concrete GraphQL type-name (see interface doc for possible values). GetTypename() string @@ -2037,7 +2035,7 @@ type GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssueWorkload i // GetName returns the interface-field "name" from its implementation. // The GraphQL interface field's documentation follows. // - // The name of the workload. + // Interface for workloads. GetName() string // GetTypename returns the receiver's concrete GraphQL type-name (see interface doc for possible values). GetTypename() string @@ -2112,7 +2110,7 @@ func __marshalGetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssueW // // Learn more about how to create and configure your applications in the [Nais documentation](https://docs.nais.io/workloads/application/). type GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssueWorkloadApplication struct { - // The name of the workload. + // Interface for workloads. Name string `json:"name"` Typename string `json:"__typename"` } @@ -2129,7 +2127,7 @@ func (v *GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssueWorklo // GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssueWorkloadJob includes the requested fields of the GraphQL type Job. type GetAllIssuesTeamIssuesIssueConnectionNodesDeprecatedRegistryIssueWorkloadJob struct { - // The name of the workload. + // Interface for workloads. Name string `json:"name"` Typename string `json:"__typename"` } @@ -2275,7 +2273,7 @@ type GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabil // GetName returns the interface-field "name" from its implementation. // The GraphQL interface field's documentation follows. // - // The name of the workload. + // Interface for workloads. GetName() string // GetTypename returns the receiver's concrete GraphQL type-name (see interface doc for possible values). GetTypename() string @@ -2350,7 +2348,7 @@ func __marshalGetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalV // // Learn more about how to create and configure your applications in the [Nais documentation](https://docs.nais.io/workloads/application/). type GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssueWorkloadApplication struct { - // The name of the workload. + // Interface for workloads. Name string `json:"name"` Typename string `json:"__typename"` } @@ -2367,7 +2365,7 @@ func (v *GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulner // GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssueWorkloadJob includes the requested fields of the GraphQL type Job. type GetAllIssuesTeamIssuesIssueConnectionNodesExternalIngressCriticalVulnerabilityIssueWorkloadJob struct { - // The name of the workload. + // Interface for workloads. Name string `json:"name"` Typename string `json:"__typename"` } @@ -2513,7 +2511,7 @@ type GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssueWorkloa // GetName returns the interface-field "name" from its implementation. // The GraphQL interface field's documentation follows. // - // The name of the workload. + // Interface for workloads. GetName() string // GetTypename returns the receiver's concrete GraphQL type-name (see interface doc for possible values). GetTypename() string @@ -2588,7 +2586,7 @@ func __marshalGetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIss // // Learn more about how to create and configure your applications in the [Nais documentation](https://docs.nais.io/workloads/application/). type GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssueWorkloadApplication struct { - // The name of the workload. + // Interface for workloads. Name string `json:"name"` Typename string `json:"__typename"` } @@ -2605,7 +2603,7 @@ func (v *GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssueWor // GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssueWorkloadJob includes the requested fields of the GraphQL type Job. type GetAllIssuesTeamIssuesIssueConnectionNodesFailedSynchronizationIssueWorkloadJob struct { - // The name of the workload. + // Interface for workloads. Name string `json:"name"` Typename string `json:"__typename"` } @@ -2749,7 +2747,7 @@ type GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssueWorkload interfac // GetName returns the interface-field "name" from its implementation. // The GraphQL interface field's documentation follows. // - // The name of the workload. + // Interface for workloads. GetName() string // GetTypename returns the receiver's concrete GraphQL type-name (see interface doc for possible values). GetTypename() string @@ -2824,7 +2822,7 @@ func __marshalGetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssueWorkload // // Learn more about how to create and configure your applications in the [Nais documentation](https://docs.nais.io/workloads/application/). type GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssueWorkloadApplication struct { - // The name of the workload. + // Interface for workloads. Name string `json:"name"` Typename string `json:"__typename"` } @@ -2841,7 +2839,7 @@ func (v *GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssueWorkloadAppli // GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssueWorkloadJob includes the requested fields of the GraphQL type Job. type GetAllIssuesTeamIssuesIssueConnectionNodesInvalidSpecIssueWorkloadJob struct { - // The name of the workload. + // Interface for workloads. Name string `json:"name"` Typename string `json:"__typename"` } @@ -3344,7 +3342,7 @@ type GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssueWorkload interfac // GetName returns the interface-field "name" from its implementation. // The GraphQL interface field's documentation follows. // - // The name of the workload. + // Interface for workloads. GetName() string // GetTypename returns the receiver's concrete GraphQL type-name (see interface doc for possible values). GetTypename() string @@ -3419,7 +3417,7 @@ func __marshalGetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssueWorkload // // Learn more about how to create and configure your applications in the [Nais documentation](https://docs.nais.io/workloads/application/). type GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssueWorkloadApplication struct { - // The name of the workload. + // Interface for workloads. Name string `json:"name"` Typename string `json:"__typename"` } @@ -3436,7 +3434,7 @@ func (v *GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssueWorkloadAppli // GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssueWorkloadJob includes the requested fields of the GraphQL type Job. type GetAllIssuesTeamIssuesIssueConnectionNodesMissingSbomIssueWorkloadJob struct { - // The name of the workload. + // Interface for workloads. Name string `json:"name"` Typename string `json:"__typename"` } @@ -3582,7 +3580,7 @@ type GetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssueWorkload i // GetName returns the interface-field "name" from its implementation. // The GraphQL interface field's documentation follows. // - // The name of the workload. + // Interface for workloads. GetName() string // GetTypename returns the receiver's concrete GraphQL type-name (see interface doc for possible values). GetTypename() string @@ -3657,7 +3655,7 @@ func __marshalGetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssueW // // Learn more about how to create and configure your applications in the [Nais documentation](https://docs.nais.io/workloads/application/). type GetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssueWorkloadApplication struct { - // The name of the workload. + // Interface for workloads. Name string `json:"name"` Typename string `json:"__typename"` } @@ -3674,7 +3672,7 @@ func (v *GetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssueWorklo // GetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssueWorkloadJob includes the requested fields of the GraphQL type Job. type GetAllIssuesTeamIssuesIssueConnectionNodesNoRunningInstancesIssueWorkloadJob struct { - // The name of the workload. + // Interface for workloads. Name string `json:"name"` Typename string `json:"__typename"` } @@ -4088,7 +4086,7 @@ type GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssueWorkload inte // GetName returns the interface-field "name" from its implementation. // The GraphQL interface field's documentation follows. // - // The name of the workload. + // Interface for workloads. GetName() string // GetTypename returns the receiver's concrete GraphQL type-name (see interface doc for possible values). GetTypename() string @@ -4163,7 +4161,7 @@ func __marshalGetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssueWork // // Learn more about how to create and configure your applications in the [Nais documentation](https://docs.nais.io/workloads/application/). type GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssueWorkloadApplication struct { - // The name of the workload. + // Interface for workloads. Name string `json:"name"` Typename string `json:"__typename"` } @@ -4180,7 +4178,7 @@ func (v *GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssueWorkloadA // GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssueWorkloadJob includes the requested fields of the GraphQL type Job. type GetAllIssuesTeamIssuesIssueConnectionNodesVulnerableImageIssueWorkloadJob struct { - // The name of the workload. + // Interface for workloads. Name string `json:"name"` Typename string `json:"__typename"` } @@ -4574,7 +4572,7 @@ func (v *GetAllSecretsTeamSecretsSecretConnectionNodesSecretWorkloadsWorkloadCon // // Learn more about how to create and configure your applications in the [Nais documentation](https://docs.nais.io/workloads/application/). type GetAllSecretsTeamSecretsSecretConnectionNodesSecretWorkloadsWorkloadConnectionNodesApplication struct { - // The name of the workload. + // Interface for workloads. Name string `json:"name"` Typename string `json:"__typename"` } @@ -4591,7 +4589,7 @@ func (v *GetAllSecretsTeamSecretsSecretConnectionNodesSecretWorkloadsWorkloadCon // GetAllSecretsTeamSecretsSecretConnectionNodesSecretWorkloadsWorkloadConnectionNodesJob includes the requested fields of the GraphQL type Job. type GetAllSecretsTeamSecretsSecretConnectionNodesSecretWorkloadsWorkloadConnectionNodesJob struct { - // The name of the workload. + // Interface for workloads. Name string `json:"name"` Typename string `json:"__typename"` } @@ -4619,7 +4617,7 @@ type GetAllSecretsTeamSecretsSecretConnectionNodesSecretWorkloadsWorkloadConnect // GetName returns the interface-field "name" from its implementation. // The GraphQL interface field's documentation follows. // - // The name of the workload. + // Interface for workloads. GetName() string // GetTypename returns the receiver's concrete GraphQL type-name (see interface doc for possible values). GetTypename() string @@ -5046,22 +5044,22 @@ type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplication // GetActor returns the interface-field "actor" from its implementation. // The GraphQL interface field's documentation follows. // - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. GetActor() string // GetCreatedAt returns the interface-field "createdAt" from its implementation. // The GraphQL interface field's documentation follows. // - // Creation time of the entry. + // Interface for activity log entries. GetCreatedAt() time.Time // GetMessage returns the interface-field "message" from its implementation. // The GraphQL interface field's documentation follows. // - // Message that summarizes the entry. + // Interface for activity log entries. GetMessage() string // GetEnvironmentName returns the interface-field "environmentName" from its implementation. // The GraphQL interface field's documentation follows. // - // The environment name that the entry belongs to. + // Interface for activity log entries. GetEnvironmentName() string } @@ -5767,13 +5765,13 @@ func __marshalGetApplicationActivityTeamApplicationsApplicationConnectionNodesAp // GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesApplicationDeletedActivityLogEntry includes the requested fields of the GraphQL type ApplicationDeletedActivityLogEntry. type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesApplicationDeletedActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` } @@ -5805,13 +5803,13 @@ func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplica // GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesApplicationRestartedActivityLogEntry includes the requested fields of the GraphQL type ApplicationRestartedActivityLogEntry. type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesApplicationRestartedActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` } @@ -5843,13 +5841,13 @@ func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplica // GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesApplicationScaledActivityLogEntry includes the requested fields of the GraphQL type ApplicationScaledActivityLogEntry. type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesApplicationScaledActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` } @@ -5881,13 +5879,13 @@ func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplica // GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry includes the requested fields of the GraphQL type ClusterAuditActivityLogEntry. type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` } @@ -5919,13 +5917,13 @@ func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplica // GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesConfigCreatedActivityLogEntry includes the requested fields of the GraphQL type ConfigCreatedActivityLogEntry. type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesConfigCreatedActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` } @@ -5957,13 +5955,13 @@ func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplica // GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesConfigDeletedActivityLogEntry includes the requested fields of the GraphQL type ConfigDeletedActivityLogEntry. type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesConfigDeletedActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` } @@ -5995,13 +5993,13 @@ func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplica // GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesConfigUpdatedActivityLogEntry includes the requested fields of the GraphQL type ConfigUpdatedActivityLogEntry. type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesConfigUpdatedActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` } @@ -6033,13 +6031,13 @@ func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplica // GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesCredentialsActivityLogEntry includes the requested fields of the GraphQL type CredentialsActivityLogEntry. type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesCredentialsActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` } @@ -6071,13 +6069,13 @@ func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplica // GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesDeploymentActivityLogEntry includes the requested fields of the GraphQL type DeploymentActivityLogEntry. type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesDeploymentActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` } @@ -6109,13 +6107,13 @@ func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplica // GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesJobDeletedActivityLogEntry includes the requested fields of the GraphQL type JobDeletedActivityLogEntry. type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesJobDeletedActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` } @@ -6147,13 +6145,13 @@ func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplica // GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesJobTriggeredActivityLogEntry includes the requested fields of the GraphQL type JobTriggeredActivityLogEntry. type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesJobTriggeredActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` } @@ -6185,13 +6183,13 @@ func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplica // GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesOpenSearchCreatedActivityLogEntry includes the requested fields of the GraphQL type OpenSearchCreatedActivityLogEntry. type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesOpenSearchCreatedActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` } @@ -6223,13 +6221,13 @@ func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplica // GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesOpenSearchDeletedActivityLogEntry includes the requested fields of the GraphQL type OpenSearchDeletedActivityLogEntry. type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesOpenSearchDeletedActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` } @@ -6261,13 +6259,13 @@ func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplica // GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesOpenSearchUpdatedActivityLogEntry includes the requested fields of the GraphQL type OpenSearchUpdatedActivityLogEntry. type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesOpenSearchUpdatedActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` } @@ -6299,13 +6297,13 @@ func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplica // GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesPostgresGrantAccessActivityLogEntry includes the requested fields of the GraphQL type PostgresGrantAccessActivityLogEntry. type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesPostgresGrantAccessActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` } @@ -6337,13 +6335,13 @@ func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplica // GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesReconcilerConfiguredActivityLogEntry includes the requested fields of the GraphQL type ReconcilerConfiguredActivityLogEntry. type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesReconcilerConfiguredActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` } @@ -6375,13 +6373,13 @@ func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplica // GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesReconcilerDisabledActivityLogEntry includes the requested fields of the GraphQL type ReconcilerDisabledActivityLogEntry. type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesReconcilerDisabledActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` } @@ -6413,13 +6411,13 @@ func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplica // GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesReconcilerEnabledActivityLogEntry includes the requested fields of the GraphQL type ReconcilerEnabledActivityLogEntry. type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesReconcilerEnabledActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` } @@ -6451,13 +6449,13 @@ func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplica // GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRepositoryAddedActivityLogEntry includes the requested fields of the GraphQL type RepositoryAddedActivityLogEntry. type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRepositoryAddedActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` } @@ -6489,13 +6487,13 @@ func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplica // GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRepositoryRemovedActivityLogEntry includes the requested fields of the GraphQL type RepositoryRemovedActivityLogEntry. type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRepositoryRemovedActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` } @@ -6527,13 +6525,13 @@ func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplica // GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRoleAssignedToServiceAccountActivityLogEntry includes the requested fields of the GraphQL type RoleAssignedToServiceAccountActivityLogEntry. type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRoleAssignedToServiceAccountActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` } @@ -6565,13 +6563,13 @@ func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplica // GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRoleRevokedFromServiceAccountActivityLogEntry includes the requested fields of the GraphQL type RoleRevokedFromServiceAccountActivityLogEntry. type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesRoleRevokedFromServiceAccountActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` } @@ -6603,13 +6601,13 @@ func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplica // GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretCreatedActivityLogEntry includes the requested fields of the GraphQL type SecretCreatedActivityLogEntry. type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretCreatedActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` } @@ -6641,13 +6639,13 @@ func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplica // GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretDeletedActivityLogEntry includes the requested fields of the GraphQL type SecretDeletedActivityLogEntry. type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretDeletedActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` } @@ -6679,13 +6677,13 @@ func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplica // GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValueAddedActivityLogEntry includes the requested fields of the GraphQL type SecretValueAddedActivityLogEntry. type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValueAddedActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` } @@ -6717,13 +6715,13 @@ func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplica // GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValueRemovedActivityLogEntry includes the requested fields of the GraphQL type SecretValueRemovedActivityLogEntry. type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValueRemovedActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` } @@ -6755,13 +6753,13 @@ func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplica // GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValueUpdatedActivityLogEntry includes the requested fields of the GraphQL type SecretValueUpdatedActivityLogEntry. type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValueUpdatedActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` } @@ -6796,13 +6794,13 @@ func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplica // Activity log entry for viewing secret values. type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesSecretValuesViewedActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` } @@ -6834,13 +6832,13 @@ func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplica // GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountCreatedActivityLogEntry includes the requested fields of the GraphQL type ServiceAccountCreatedActivityLogEntry. type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountCreatedActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` } @@ -6872,13 +6870,13 @@ func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplica // GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountDeletedActivityLogEntry includes the requested fields of the GraphQL type ServiceAccountDeletedActivityLogEntry. type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountDeletedActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` } @@ -6910,13 +6908,13 @@ func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplica // GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountTokenCreatedActivityLogEntry includes the requested fields of the GraphQL type ServiceAccountTokenCreatedActivityLogEntry. type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountTokenCreatedActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` } @@ -6948,13 +6946,13 @@ func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplica // GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountTokenDeletedActivityLogEntry includes the requested fields of the GraphQL type ServiceAccountTokenDeletedActivityLogEntry. type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountTokenDeletedActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` } @@ -6986,13 +6984,13 @@ func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplica // GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountTokenUpdatedActivityLogEntry includes the requested fields of the GraphQL type ServiceAccountTokenUpdatedActivityLogEntry. type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountTokenUpdatedActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` } @@ -7024,13 +7022,13 @@ func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplica // GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountUpdatedActivityLogEntry includes the requested fields of the GraphQL type ServiceAccountUpdatedActivityLogEntry. type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceAccountUpdatedActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` } @@ -7062,13 +7060,13 @@ func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplica // GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceMaintenanceActivityLogEntry includes the requested fields of the GraphQL type ServiceMaintenanceActivityLogEntry. type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesServiceMaintenanceActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` } @@ -7100,13 +7098,13 @@ func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplica // GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamConfirmDeleteKeyActivityLogEntry includes the requested fields of the GraphQL type TeamConfirmDeleteKeyActivityLogEntry. type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamConfirmDeleteKeyActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` } @@ -7138,13 +7136,13 @@ func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplica // GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamCreateDeleteKeyActivityLogEntry includes the requested fields of the GraphQL type TeamCreateDeleteKeyActivityLogEntry. type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamCreateDeleteKeyActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` } @@ -7176,13 +7174,13 @@ func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplica // GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamCreatedActivityLogEntry includes the requested fields of the GraphQL type TeamCreatedActivityLogEntry. type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamCreatedActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` } @@ -7214,13 +7212,13 @@ func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplica // GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamDeployKeyUpdatedActivityLogEntry includes the requested fields of the GraphQL type TeamDeployKeyUpdatedActivityLogEntry. type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamDeployKeyUpdatedActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` } @@ -7252,13 +7250,13 @@ func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplica // GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamEnvironmentUpdatedActivityLogEntry includes the requested fields of the GraphQL type TeamEnvironmentUpdatedActivityLogEntry. type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamEnvironmentUpdatedActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` } @@ -7290,13 +7288,13 @@ func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplica // GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamMemberAddedActivityLogEntry includes the requested fields of the GraphQL type TeamMemberAddedActivityLogEntry. type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamMemberAddedActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` } @@ -7328,13 +7326,13 @@ func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplica // GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamMemberRemovedActivityLogEntry includes the requested fields of the GraphQL type TeamMemberRemovedActivityLogEntry. type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamMemberRemovedActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` } @@ -7366,13 +7364,13 @@ func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplica // GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamMemberSetRoleActivityLogEntry includes the requested fields of the GraphQL type TeamMemberSetRoleActivityLogEntry. type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamMemberSetRoleActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` } @@ -7404,13 +7402,13 @@ func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplica // GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamUpdatedActivityLogEntry includes the requested fields of the GraphQL type TeamUpdatedActivityLogEntry. type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesTeamUpdatedActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` } @@ -7442,13 +7440,13 @@ func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplica // GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesUnleashInstanceCreatedActivityLogEntry includes the requested fields of the GraphQL type UnleashInstanceCreatedActivityLogEntry. type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesUnleashInstanceCreatedActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` } @@ -7480,13 +7478,13 @@ func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplica // GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesUnleashInstanceDeletedActivityLogEntry includes the requested fields of the GraphQL type UnleashInstanceDeletedActivityLogEntry. type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesUnleashInstanceDeletedActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` } @@ -7518,13 +7516,13 @@ func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplica // GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesUnleashInstanceUpdatedActivityLogEntry includes the requested fields of the GraphQL type UnleashInstanceUpdatedActivityLogEntry. type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesUnleashInstanceUpdatedActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` } @@ -7556,13 +7554,13 @@ func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplica // GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesValkeyCreatedActivityLogEntry includes the requested fields of the GraphQL type ValkeyCreatedActivityLogEntry. type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesValkeyCreatedActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` } @@ -7594,13 +7592,13 @@ func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplica // GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesValkeyDeletedActivityLogEntry includes the requested fields of the GraphQL type ValkeyDeletedActivityLogEntry. type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesValkeyDeletedActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` } @@ -7632,13 +7630,13 @@ func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplica // GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesValkeyUpdatedActivityLogEntry includes the requested fields of the GraphQL type ValkeyUpdatedActivityLogEntry. type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesValkeyUpdatedActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` } @@ -7670,13 +7668,13 @@ func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplica // GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesVulnerabilityUpdatedActivityLogEntry includes the requested fields of the GraphQL type VulnerabilityUpdatedActivityLogEntry. type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesVulnerabilityUpdatedActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` } @@ -8848,22 +8846,22 @@ type GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityL // GetActor returns the interface-field "actor" from its implementation. // The GraphQL interface field's documentation follows. // - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. GetActor() string // GetCreatedAt returns the interface-field "createdAt" from its implementation. // The GraphQL interface field's documentation follows. // - // Creation time of the entry. + // Interface for activity log entries. GetCreatedAt() time.Time // GetMessage returns the interface-field "message" from its implementation. // The GraphQL interface field's documentation follows. // - // Message that summarizes the entry. + // Interface for activity log entries. GetMessage() string // GetEnvironmentName returns the interface-field "environmentName" from its implementation. // The GraphQL interface field's documentation follows. // - // The environment name that the entry belongs to. + // Interface for activity log entries. GetEnvironmentName() string } @@ -9569,13 +9567,13 @@ func __marshalGetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLog // GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesApplicationDeletedActivityLogEntry includes the requested fields of the GraphQL type ApplicationDeletedActivityLogEntry. type GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesApplicationDeletedActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` } @@ -9607,13 +9605,13 @@ func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActiv // GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesApplicationRestartedActivityLogEntry includes the requested fields of the GraphQL type ApplicationRestartedActivityLogEntry. type GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesApplicationRestartedActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` } @@ -9645,13 +9643,13 @@ func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActiv // GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesApplicationScaledActivityLogEntry includes the requested fields of the GraphQL type ApplicationScaledActivityLogEntry. type GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesApplicationScaledActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` } @@ -9683,13 +9681,13 @@ func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActiv // GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry includes the requested fields of the GraphQL type ClusterAuditActivityLogEntry. type GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` } @@ -9721,13 +9719,13 @@ func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActiv // GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesConfigCreatedActivityLogEntry includes the requested fields of the GraphQL type ConfigCreatedActivityLogEntry. type GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesConfigCreatedActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` } @@ -9759,13 +9757,13 @@ func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActiv // GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesConfigDeletedActivityLogEntry includes the requested fields of the GraphQL type ConfigDeletedActivityLogEntry. type GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesConfigDeletedActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` } @@ -9797,13 +9795,13 @@ func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActiv // GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesConfigUpdatedActivityLogEntry includes the requested fields of the GraphQL type ConfigUpdatedActivityLogEntry. type GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesConfigUpdatedActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` } @@ -9835,13 +9833,13 @@ func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActiv // GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesCredentialsActivityLogEntry includes the requested fields of the GraphQL type CredentialsActivityLogEntry. type GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesCredentialsActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` } @@ -9873,13 +9871,13 @@ func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActiv // GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesDeploymentActivityLogEntry includes the requested fields of the GraphQL type DeploymentActivityLogEntry. type GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesDeploymentActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` } @@ -9911,13 +9909,13 @@ func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActiv // GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesJobDeletedActivityLogEntry includes the requested fields of the GraphQL type JobDeletedActivityLogEntry. type GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesJobDeletedActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` } @@ -9949,13 +9947,13 @@ func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActiv // GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesJobTriggeredActivityLogEntry includes the requested fields of the GraphQL type JobTriggeredActivityLogEntry. type GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesJobTriggeredActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` } @@ -9987,13 +9985,13 @@ func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActiv // GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesOpenSearchCreatedActivityLogEntry includes the requested fields of the GraphQL type OpenSearchCreatedActivityLogEntry. type GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesOpenSearchCreatedActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` } @@ -10025,13 +10023,13 @@ func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActiv // GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesOpenSearchDeletedActivityLogEntry includes the requested fields of the GraphQL type OpenSearchDeletedActivityLogEntry. type GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesOpenSearchDeletedActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` } @@ -10063,13 +10061,13 @@ func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActiv // GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesOpenSearchUpdatedActivityLogEntry includes the requested fields of the GraphQL type OpenSearchUpdatedActivityLogEntry. type GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesOpenSearchUpdatedActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` } @@ -10101,13 +10099,13 @@ func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActiv // GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesPostgresGrantAccessActivityLogEntry includes the requested fields of the GraphQL type PostgresGrantAccessActivityLogEntry. type GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesPostgresGrantAccessActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` } @@ -10139,13 +10137,13 @@ func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActiv // GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesReconcilerConfiguredActivityLogEntry includes the requested fields of the GraphQL type ReconcilerConfiguredActivityLogEntry. type GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesReconcilerConfiguredActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` } @@ -10177,13 +10175,13 @@ func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActiv // GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesReconcilerDisabledActivityLogEntry includes the requested fields of the GraphQL type ReconcilerDisabledActivityLogEntry. type GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesReconcilerDisabledActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` } @@ -10215,13 +10213,13 @@ func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActiv // GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesReconcilerEnabledActivityLogEntry includes the requested fields of the GraphQL type ReconcilerEnabledActivityLogEntry. type GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesReconcilerEnabledActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` } @@ -10253,13 +10251,13 @@ func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActiv // GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesRepositoryAddedActivityLogEntry includes the requested fields of the GraphQL type RepositoryAddedActivityLogEntry. type GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesRepositoryAddedActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` } @@ -10291,13 +10289,13 @@ func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActiv // GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesRepositoryRemovedActivityLogEntry includes the requested fields of the GraphQL type RepositoryRemovedActivityLogEntry. type GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesRepositoryRemovedActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` } @@ -10329,13 +10327,13 @@ func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActiv // GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesRoleAssignedToServiceAccountActivityLogEntry includes the requested fields of the GraphQL type RoleAssignedToServiceAccountActivityLogEntry. type GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesRoleAssignedToServiceAccountActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` } @@ -10367,13 +10365,13 @@ func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActiv // GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesRoleRevokedFromServiceAccountActivityLogEntry includes the requested fields of the GraphQL type RoleRevokedFromServiceAccountActivityLogEntry. type GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesRoleRevokedFromServiceAccountActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` } @@ -10405,13 +10403,13 @@ func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActiv // GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesSecretCreatedActivityLogEntry includes the requested fields of the GraphQL type SecretCreatedActivityLogEntry. type GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesSecretCreatedActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` } @@ -10443,13 +10441,13 @@ func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActiv // GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesSecretDeletedActivityLogEntry includes the requested fields of the GraphQL type SecretDeletedActivityLogEntry. type GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesSecretDeletedActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` } @@ -10481,13 +10479,13 @@ func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActiv // GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesSecretValueAddedActivityLogEntry includes the requested fields of the GraphQL type SecretValueAddedActivityLogEntry. type GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesSecretValueAddedActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` } @@ -10519,13 +10517,13 @@ func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActiv // GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesSecretValueRemovedActivityLogEntry includes the requested fields of the GraphQL type SecretValueRemovedActivityLogEntry. type GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesSecretValueRemovedActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` } @@ -10557,13 +10555,13 @@ func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActiv // GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesSecretValueUpdatedActivityLogEntry includes the requested fields of the GraphQL type SecretValueUpdatedActivityLogEntry. type GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesSecretValueUpdatedActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` } @@ -10598,13 +10596,13 @@ func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActiv // Activity log entry for viewing secret values. type GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesSecretValuesViewedActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` } @@ -10636,13 +10634,13 @@ func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActiv // GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceAccountCreatedActivityLogEntry includes the requested fields of the GraphQL type ServiceAccountCreatedActivityLogEntry. type GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceAccountCreatedActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` } @@ -10674,13 +10672,13 @@ func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActiv // GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceAccountDeletedActivityLogEntry includes the requested fields of the GraphQL type ServiceAccountDeletedActivityLogEntry. type GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceAccountDeletedActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` } @@ -10712,13 +10710,13 @@ func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActiv // GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceAccountTokenCreatedActivityLogEntry includes the requested fields of the GraphQL type ServiceAccountTokenCreatedActivityLogEntry. type GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceAccountTokenCreatedActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` } @@ -10750,13 +10748,13 @@ func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActiv // GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceAccountTokenDeletedActivityLogEntry includes the requested fields of the GraphQL type ServiceAccountTokenDeletedActivityLogEntry. type GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceAccountTokenDeletedActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` } @@ -10788,13 +10786,13 @@ func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActiv // GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceAccountTokenUpdatedActivityLogEntry includes the requested fields of the GraphQL type ServiceAccountTokenUpdatedActivityLogEntry. type GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceAccountTokenUpdatedActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` } @@ -10826,13 +10824,13 @@ func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActiv // GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceAccountUpdatedActivityLogEntry includes the requested fields of the GraphQL type ServiceAccountUpdatedActivityLogEntry. type GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceAccountUpdatedActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` } @@ -10864,13 +10862,13 @@ func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActiv // GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceMaintenanceActivityLogEntry includes the requested fields of the GraphQL type ServiceMaintenanceActivityLogEntry. type GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesServiceMaintenanceActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` } @@ -10902,13 +10900,13 @@ func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActiv // GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamConfirmDeleteKeyActivityLogEntry includes the requested fields of the GraphQL type TeamConfirmDeleteKeyActivityLogEntry. type GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamConfirmDeleteKeyActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` } @@ -10940,13 +10938,13 @@ func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActiv // GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamCreateDeleteKeyActivityLogEntry includes the requested fields of the GraphQL type TeamCreateDeleteKeyActivityLogEntry. type GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamCreateDeleteKeyActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` } @@ -10978,13 +10976,13 @@ func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActiv // GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamCreatedActivityLogEntry includes the requested fields of the GraphQL type TeamCreatedActivityLogEntry. type GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamCreatedActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` } @@ -11016,13 +11014,13 @@ func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActiv // GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamDeployKeyUpdatedActivityLogEntry includes the requested fields of the GraphQL type TeamDeployKeyUpdatedActivityLogEntry. type GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamDeployKeyUpdatedActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` } @@ -11054,13 +11052,13 @@ func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActiv // GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamEnvironmentUpdatedActivityLogEntry includes the requested fields of the GraphQL type TeamEnvironmentUpdatedActivityLogEntry. type GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamEnvironmentUpdatedActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` } @@ -11092,13 +11090,13 @@ func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActiv // GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamMemberAddedActivityLogEntry includes the requested fields of the GraphQL type TeamMemberAddedActivityLogEntry. type GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamMemberAddedActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` } @@ -11130,13 +11128,13 @@ func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActiv // GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamMemberRemovedActivityLogEntry includes the requested fields of the GraphQL type TeamMemberRemovedActivityLogEntry. type GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamMemberRemovedActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` } @@ -11168,13 +11166,13 @@ func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActiv // GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamMemberSetRoleActivityLogEntry includes the requested fields of the GraphQL type TeamMemberSetRoleActivityLogEntry. type GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamMemberSetRoleActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` } @@ -11206,13 +11204,13 @@ func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActiv // GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamUpdatedActivityLogEntry includes the requested fields of the GraphQL type TeamUpdatedActivityLogEntry. type GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesTeamUpdatedActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` } @@ -11244,13 +11242,13 @@ func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActiv // GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesUnleashInstanceCreatedActivityLogEntry includes the requested fields of the GraphQL type UnleashInstanceCreatedActivityLogEntry. type GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesUnleashInstanceCreatedActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` } @@ -11282,13 +11280,13 @@ func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActiv // GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesUnleashInstanceDeletedActivityLogEntry includes the requested fields of the GraphQL type UnleashInstanceDeletedActivityLogEntry. type GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesUnleashInstanceDeletedActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` } @@ -11320,13 +11318,13 @@ func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActiv // GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesUnleashInstanceUpdatedActivityLogEntry includes the requested fields of the GraphQL type UnleashInstanceUpdatedActivityLogEntry. type GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesUnleashInstanceUpdatedActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` } @@ -11358,13 +11356,13 @@ func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActiv // GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesValkeyCreatedActivityLogEntry includes the requested fields of the GraphQL type ValkeyCreatedActivityLogEntry. type GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesValkeyCreatedActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` } @@ -11396,13 +11394,13 @@ func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActiv // GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesValkeyDeletedActivityLogEntry includes the requested fields of the GraphQL type ValkeyDeletedActivityLogEntry. type GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesValkeyDeletedActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` } @@ -11434,13 +11432,13 @@ func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActiv // GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesValkeyUpdatedActivityLogEntry includes the requested fields of the GraphQL type ValkeyUpdatedActivityLogEntry. type GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesValkeyUpdatedActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` } @@ -11472,13 +11470,13 @@ func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActiv // GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesVulnerabilityUpdatedActivityLogEntry includes the requested fields of the GraphQL type VulnerabilityUpdatedActivityLogEntry. type GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesVulnerabilityUpdatedActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` } @@ -11760,7 +11758,7 @@ func (v *GetConfigTeamEnvironmentConfigWorkloadsWorkloadConnection) __premarshal // // Learn more about how to create and configure your applications in the [Nais documentation](https://docs.nais.io/workloads/application/). type GetConfigTeamEnvironmentConfigWorkloadsWorkloadConnectionNodesApplication struct { - // The name of the workload. + // Interface for workloads. Name string `json:"name"` Typename string `json:"__typename"` } @@ -11777,7 +11775,7 @@ func (v *GetConfigTeamEnvironmentConfigWorkloadsWorkloadConnectionNodesApplicati // GetConfigTeamEnvironmentConfigWorkloadsWorkloadConnectionNodesJob includes the requested fields of the GraphQL type Job. type GetConfigTeamEnvironmentConfigWorkloadsWorkloadConnectionNodesJob struct { - // The name of the workload. + // Interface for workloads. Name string `json:"name"` Typename string `json:"__typename"` } @@ -11805,7 +11803,7 @@ type GetConfigTeamEnvironmentConfigWorkloadsWorkloadConnectionNodesWorkload inte // GetName returns the interface-field "name" from its implementation. // The GraphQL interface field's documentation follows. // - // The name of the workload. + // Interface for workloads. GetName() string // GetTypename returns the receiver's concrete GraphQL type-name (see interface doc for possible values). GetTypename() string @@ -12080,22 +12078,22 @@ type GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConne // GetActor returns the interface-field "actor" from its implementation. // The GraphQL interface field's documentation follows. // - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. GetActor() string // GetCreatedAt returns the interface-field "createdAt" from its implementation. // The GraphQL interface field's documentation follows. // - // Creation time of the entry. + // Interface for activity log entries. GetCreatedAt() time.Time // GetMessage returns the interface-field "message" from its implementation. // The GraphQL interface field's documentation follows. // - // Message that summarizes the entry. + // Interface for activity log entries. GetMessage() string // GetEnvironmentName returns the interface-field "environmentName" from its implementation. // The GraphQL interface field's documentation follows. // - // The environment name that the entry belongs to. + // Interface for activity log entries. GetEnvironmentName() string } @@ -12801,13 +12799,13 @@ func __marshalGetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogE // GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesApplicationDeletedActivityLogEntry includes the requested fields of the GraphQL type ApplicationDeletedActivityLogEntry. type GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesApplicationDeletedActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` } @@ -12839,13 +12837,13 @@ func (v *GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryC // GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesApplicationRestartedActivityLogEntry includes the requested fields of the GraphQL type ApplicationRestartedActivityLogEntry. type GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesApplicationRestartedActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` } @@ -12877,13 +12875,13 @@ func (v *GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryC // GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesApplicationScaledActivityLogEntry includes the requested fields of the GraphQL type ApplicationScaledActivityLogEntry. type GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesApplicationScaledActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` } @@ -12915,13 +12913,13 @@ func (v *GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryC // GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry includes the requested fields of the GraphQL type ClusterAuditActivityLogEntry. type GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` } @@ -12953,13 +12951,13 @@ func (v *GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryC // GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesConfigCreatedActivityLogEntry includes the requested fields of the GraphQL type ConfigCreatedActivityLogEntry. type GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesConfigCreatedActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` } @@ -12991,13 +12989,13 @@ func (v *GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryC // GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesConfigDeletedActivityLogEntry includes the requested fields of the GraphQL type ConfigDeletedActivityLogEntry. type GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesConfigDeletedActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` } @@ -13029,13 +13027,13 @@ func (v *GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryC // GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesConfigUpdatedActivityLogEntry includes the requested fields of the GraphQL type ConfigUpdatedActivityLogEntry. type GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesConfigUpdatedActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` } @@ -13067,13 +13065,13 @@ func (v *GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryC // GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesCredentialsActivityLogEntry includes the requested fields of the GraphQL type CredentialsActivityLogEntry. type GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesCredentialsActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` } @@ -13105,13 +13103,13 @@ func (v *GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryC // GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesDeploymentActivityLogEntry includes the requested fields of the GraphQL type DeploymentActivityLogEntry. type GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesDeploymentActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` } @@ -13143,13 +13141,13 @@ func (v *GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryC // GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesJobDeletedActivityLogEntry includes the requested fields of the GraphQL type JobDeletedActivityLogEntry. type GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesJobDeletedActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` } @@ -13181,13 +13179,13 @@ func (v *GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryC // GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesJobTriggeredActivityLogEntry includes the requested fields of the GraphQL type JobTriggeredActivityLogEntry. type GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesJobTriggeredActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` } @@ -13219,13 +13217,13 @@ func (v *GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryC // GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesOpenSearchCreatedActivityLogEntry includes the requested fields of the GraphQL type OpenSearchCreatedActivityLogEntry. type GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesOpenSearchCreatedActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` } @@ -13257,13 +13255,13 @@ func (v *GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryC // GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesOpenSearchDeletedActivityLogEntry includes the requested fields of the GraphQL type OpenSearchDeletedActivityLogEntry. type GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesOpenSearchDeletedActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` } @@ -13295,13 +13293,13 @@ func (v *GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryC // GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesOpenSearchUpdatedActivityLogEntry includes the requested fields of the GraphQL type OpenSearchUpdatedActivityLogEntry. type GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesOpenSearchUpdatedActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` } @@ -13333,13 +13331,13 @@ func (v *GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryC // GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesPostgresGrantAccessActivityLogEntry includes the requested fields of the GraphQL type PostgresGrantAccessActivityLogEntry. type GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesPostgresGrantAccessActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` } @@ -13371,13 +13369,13 @@ func (v *GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryC // GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesReconcilerConfiguredActivityLogEntry includes the requested fields of the GraphQL type ReconcilerConfiguredActivityLogEntry. type GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesReconcilerConfiguredActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` } @@ -13409,13 +13407,13 @@ func (v *GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryC // GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesReconcilerDisabledActivityLogEntry includes the requested fields of the GraphQL type ReconcilerDisabledActivityLogEntry. type GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesReconcilerDisabledActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` } @@ -13447,13 +13445,13 @@ func (v *GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryC // GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesReconcilerEnabledActivityLogEntry includes the requested fields of the GraphQL type ReconcilerEnabledActivityLogEntry. type GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesReconcilerEnabledActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` } @@ -13485,13 +13483,13 @@ func (v *GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryC // GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesRepositoryAddedActivityLogEntry includes the requested fields of the GraphQL type RepositoryAddedActivityLogEntry. type GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesRepositoryAddedActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` } @@ -13523,13 +13521,13 @@ func (v *GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryC // GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesRepositoryRemovedActivityLogEntry includes the requested fields of the GraphQL type RepositoryRemovedActivityLogEntry. type GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesRepositoryRemovedActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` } @@ -13561,13 +13559,13 @@ func (v *GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryC // GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesRoleAssignedToServiceAccountActivityLogEntry includes the requested fields of the GraphQL type RoleAssignedToServiceAccountActivityLogEntry. type GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesRoleAssignedToServiceAccountActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` } @@ -13599,13 +13597,13 @@ func (v *GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryC // GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesRoleRevokedFromServiceAccountActivityLogEntry includes the requested fields of the GraphQL type RoleRevokedFromServiceAccountActivityLogEntry. type GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesRoleRevokedFromServiceAccountActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` } @@ -13637,13 +13635,13 @@ func (v *GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryC // GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesSecretCreatedActivityLogEntry includes the requested fields of the GraphQL type SecretCreatedActivityLogEntry. type GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesSecretCreatedActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` } @@ -13675,13 +13673,13 @@ func (v *GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryC // GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesSecretDeletedActivityLogEntry includes the requested fields of the GraphQL type SecretDeletedActivityLogEntry. type GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesSecretDeletedActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` } @@ -13713,13 +13711,13 @@ func (v *GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryC // GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesSecretValueAddedActivityLogEntry includes the requested fields of the GraphQL type SecretValueAddedActivityLogEntry. type GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesSecretValueAddedActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` } @@ -13751,13 +13749,13 @@ func (v *GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryC // GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesSecretValueRemovedActivityLogEntry includes the requested fields of the GraphQL type SecretValueRemovedActivityLogEntry. type GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesSecretValueRemovedActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` } @@ -13789,13 +13787,13 @@ func (v *GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryC // GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesSecretValueUpdatedActivityLogEntry includes the requested fields of the GraphQL type SecretValueUpdatedActivityLogEntry. type GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesSecretValueUpdatedActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` } @@ -13830,13 +13828,13 @@ func (v *GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryC // Activity log entry for viewing secret values. type GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesSecretValuesViewedActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` } @@ -13868,13 +13866,13 @@ func (v *GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryC // GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesServiceAccountCreatedActivityLogEntry includes the requested fields of the GraphQL type ServiceAccountCreatedActivityLogEntry. type GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesServiceAccountCreatedActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` } @@ -13906,13 +13904,13 @@ func (v *GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryC // GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesServiceAccountDeletedActivityLogEntry includes the requested fields of the GraphQL type ServiceAccountDeletedActivityLogEntry. type GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesServiceAccountDeletedActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` } @@ -13944,13 +13942,13 @@ func (v *GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryC // GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesServiceAccountTokenCreatedActivityLogEntry includes the requested fields of the GraphQL type ServiceAccountTokenCreatedActivityLogEntry. type GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesServiceAccountTokenCreatedActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` } @@ -13982,13 +13980,13 @@ func (v *GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryC // GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesServiceAccountTokenDeletedActivityLogEntry includes the requested fields of the GraphQL type ServiceAccountTokenDeletedActivityLogEntry. type GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesServiceAccountTokenDeletedActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` } @@ -14020,13 +14018,13 @@ func (v *GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryC // GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesServiceAccountTokenUpdatedActivityLogEntry includes the requested fields of the GraphQL type ServiceAccountTokenUpdatedActivityLogEntry. type GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesServiceAccountTokenUpdatedActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` } @@ -14058,13 +14056,13 @@ func (v *GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryC // GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesServiceAccountUpdatedActivityLogEntry includes the requested fields of the GraphQL type ServiceAccountUpdatedActivityLogEntry. type GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesServiceAccountUpdatedActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` } @@ -14096,13 +14094,13 @@ func (v *GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryC // GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesServiceMaintenanceActivityLogEntry includes the requested fields of the GraphQL type ServiceMaintenanceActivityLogEntry. type GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesServiceMaintenanceActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` } @@ -14134,13 +14132,13 @@ func (v *GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryC // GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesTeamConfirmDeleteKeyActivityLogEntry includes the requested fields of the GraphQL type TeamConfirmDeleteKeyActivityLogEntry. type GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesTeamConfirmDeleteKeyActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` } @@ -14172,13 +14170,13 @@ func (v *GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryC // GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesTeamCreateDeleteKeyActivityLogEntry includes the requested fields of the GraphQL type TeamCreateDeleteKeyActivityLogEntry. type GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesTeamCreateDeleteKeyActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` } @@ -14210,13 +14208,13 @@ func (v *GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryC // GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesTeamCreatedActivityLogEntry includes the requested fields of the GraphQL type TeamCreatedActivityLogEntry. type GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesTeamCreatedActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` } @@ -14248,13 +14246,13 @@ func (v *GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryC // GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesTeamDeployKeyUpdatedActivityLogEntry includes the requested fields of the GraphQL type TeamDeployKeyUpdatedActivityLogEntry. type GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesTeamDeployKeyUpdatedActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` } @@ -14286,13 +14284,13 @@ func (v *GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryC // GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesTeamEnvironmentUpdatedActivityLogEntry includes the requested fields of the GraphQL type TeamEnvironmentUpdatedActivityLogEntry. type GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesTeamEnvironmentUpdatedActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` } @@ -14324,13 +14322,13 @@ func (v *GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryC // GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesTeamMemberAddedActivityLogEntry includes the requested fields of the GraphQL type TeamMemberAddedActivityLogEntry. type GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesTeamMemberAddedActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` } @@ -14362,13 +14360,13 @@ func (v *GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryC // GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesTeamMemberRemovedActivityLogEntry includes the requested fields of the GraphQL type TeamMemberRemovedActivityLogEntry. type GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesTeamMemberRemovedActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` } @@ -14400,13 +14398,13 @@ func (v *GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryC // GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesTeamMemberSetRoleActivityLogEntry includes the requested fields of the GraphQL type TeamMemberSetRoleActivityLogEntry. type GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesTeamMemberSetRoleActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` } @@ -14438,13 +14436,13 @@ func (v *GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryC // GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesTeamUpdatedActivityLogEntry includes the requested fields of the GraphQL type TeamUpdatedActivityLogEntry. type GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesTeamUpdatedActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` } @@ -14476,13 +14474,13 @@ func (v *GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryC // GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesUnleashInstanceCreatedActivityLogEntry includes the requested fields of the GraphQL type UnleashInstanceCreatedActivityLogEntry. type GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesUnleashInstanceCreatedActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` } @@ -14514,13 +14512,13 @@ func (v *GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryC // GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesUnleashInstanceDeletedActivityLogEntry includes the requested fields of the GraphQL type UnleashInstanceDeletedActivityLogEntry. type GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesUnleashInstanceDeletedActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` } @@ -14552,13 +14550,13 @@ func (v *GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryC // GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesUnleashInstanceUpdatedActivityLogEntry includes the requested fields of the GraphQL type UnleashInstanceUpdatedActivityLogEntry. type GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesUnleashInstanceUpdatedActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` } @@ -14590,13 +14588,13 @@ func (v *GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryC // GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesValkeyCreatedActivityLogEntry includes the requested fields of the GraphQL type ValkeyCreatedActivityLogEntry. type GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesValkeyCreatedActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` } @@ -14628,13 +14626,13 @@ func (v *GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryC // GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesValkeyDeletedActivityLogEntry includes the requested fields of the GraphQL type ValkeyDeletedActivityLogEntry. type GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesValkeyDeletedActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` } @@ -14666,13 +14664,13 @@ func (v *GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryC // GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesValkeyUpdatedActivityLogEntry includes the requested fields of the GraphQL type ValkeyUpdatedActivityLogEntry. type GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesValkeyUpdatedActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` } @@ -14704,13 +14702,13 @@ func (v *GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryC // GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesVulnerabilityUpdatedActivityLogEntry includes the requested fields of the GraphQL type VulnerabilityUpdatedActivityLogEntry. type GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesVulnerabilityUpdatedActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` } @@ -15836,19 +15834,19 @@ type GetOpenSearchTeamEnvironmentOpenSearchAccessOpenSearchAccessConnectionEdges // GetId returns the interface-field "id" from its implementation. // The GraphQL interface field's documentation follows. // - // The globally unique ID of the workload. + // Interface for workloads. GetId() string // GetName returns the interface-field "name" from its implementation. // The GraphQL interface field's documentation follows. // - // The name of the workload. + // Interface for workloads. GetName() string // GetTypename returns the receiver's concrete GraphQL type-name (see interface doc for possible values). GetTypename() string // GetTeam returns the interface-field "team" from its implementation. // The GraphQL interface field's documentation follows. // - // The team that owns the workload. + // Interface for workloads. GetTeam() GetOpenSearchTeamEnvironmentOpenSearchAccessOpenSearchAccessConnectionEdgesOpenSearchAccessEdgeNodeOpenSearchAccessWorkloadTeam } @@ -15921,12 +15919,12 @@ func __marshalGetOpenSearchTeamEnvironmentOpenSearchAccessOpenSearchAccessConnec // // Learn more about how to create and configure your applications in the [Nais documentation](https://docs.nais.io/workloads/application/). type GetOpenSearchTeamEnvironmentOpenSearchAccessOpenSearchAccessConnectionEdgesOpenSearchAccessEdgeNodeOpenSearchAccessWorkloadApplication struct { - // The globally unique ID of the workload. + // Interface for workloads. Id string `json:"id"` - // The name of the workload. + // Interface for workloads. Name string `json:"name"` Typename string `json:"__typename"` - // The team that owns the workload. + // Interface for workloads. Team GetOpenSearchTeamEnvironmentOpenSearchAccessOpenSearchAccessConnectionEdgesOpenSearchAccessEdgeNodeOpenSearchAccessWorkloadTeam `json:"team"` } @@ -15952,12 +15950,12 @@ func (v *GetOpenSearchTeamEnvironmentOpenSearchAccessOpenSearchAccessConnectionE // GetOpenSearchTeamEnvironmentOpenSearchAccessOpenSearchAccessConnectionEdgesOpenSearchAccessEdgeNodeOpenSearchAccessWorkloadJob includes the requested fields of the GraphQL type Job. type GetOpenSearchTeamEnvironmentOpenSearchAccessOpenSearchAccessConnectionEdgesOpenSearchAccessEdgeNodeOpenSearchAccessWorkloadJob struct { - // The globally unique ID of the workload. + // Interface for workloads. Id string `json:"id"` - // The name of the workload. + // Interface for workloads. Name string `json:"name"` Typename string `json:"__typename"` - // The team that owns the workload. + // Interface for workloads. Team GetOpenSearchTeamEnvironmentOpenSearchAccessOpenSearchAccessConnectionEdgesOpenSearchAccessEdgeNodeOpenSearchAccessWorkloadTeam `json:"team"` } @@ -16232,22 +16230,22 @@ type GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityL // GetActor returns the interface-field "actor" from its implementation. // The GraphQL interface field's documentation follows. // - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. GetActor() string // GetCreatedAt returns the interface-field "createdAt" from its implementation. // The GraphQL interface field's documentation follows. // - // Creation time of the entry. + // Interface for activity log entries. GetCreatedAt() time.Time // GetMessage returns the interface-field "message" from its implementation. // The GraphQL interface field's documentation follows. // - // Message that summarizes the entry. + // Interface for activity log entries. GetMessage() string // GetEnvironmentName returns the interface-field "environmentName" from its implementation. // The GraphQL interface field's documentation follows. // - // The environment name that the entry belongs to. + // Interface for activity log entries. GetEnvironmentName() string } @@ -16953,13 +16951,13 @@ func __marshalGetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLog // GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesApplicationDeletedActivityLogEntry includes the requested fields of the GraphQL type ApplicationDeletedActivityLogEntry. type GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesApplicationDeletedActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` } @@ -16991,13 +16989,13 @@ func (v *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActiv // GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesApplicationRestartedActivityLogEntry includes the requested fields of the GraphQL type ApplicationRestartedActivityLogEntry. type GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesApplicationRestartedActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` } @@ -17029,13 +17027,13 @@ func (v *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActiv // GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesApplicationScaledActivityLogEntry includes the requested fields of the GraphQL type ApplicationScaledActivityLogEntry. type GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesApplicationScaledActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` } @@ -17067,13 +17065,13 @@ func (v *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActiv // GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry includes the requested fields of the GraphQL type ClusterAuditActivityLogEntry. type GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` } @@ -17105,13 +17103,13 @@ func (v *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActiv // GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesConfigCreatedActivityLogEntry includes the requested fields of the GraphQL type ConfigCreatedActivityLogEntry. type GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesConfigCreatedActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` } @@ -17143,13 +17141,13 @@ func (v *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActiv // GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesConfigDeletedActivityLogEntry includes the requested fields of the GraphQL type ConfigDeletedActivityLogEntry. type GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesConfigDeletedActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` } @@ -17181,13 +17179,13 @@ func (v *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActiv // GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesConfigUpdatedActivityLogEntry includes the requested fields of the GraphQL type ConfigUpdatedActivityLogEntry. type GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesConfigUpdatedActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` } @@ -17219,13 +17217,13 @@ func (v *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActiv // GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesCredentialsActivityLogEntry includes the requested fields of the GraphQL type CredentialsActivityLogEntry. type GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesCredentialsActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` } @@ -17257,13 +17255,13 @@ func (v *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActiv // GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesDeploymentActivityLogEntry includes the requested fields of the GraphQL type DeploymentActivityLogEntry. type GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesDeploymentActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` } @@ -17295,13 +17293,13 @@ func (v *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActiv // GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesJobDeletedActivityLogEntry includes the requested fields of the GraphQL type JobDeletedActivityLogEntry. type GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesJobDeletedActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` } @@ -17333,13 +17331,13 @@ func (v *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActiv // GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesJobTriggeredActivityLogEntry includes the requested fields of the GraphQL type JobTriggeredActivityLogEntry. type GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesJobTriggeredActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` } @@ -17371,13 +17369,13 @@ func (v *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActiv // GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesOpenSearchCreatedActivityLogEntry includes the requested fields of the GraphQL type OpenSearchCreatedActivityLogEntry. type GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesOpenSearchCreatedActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` } @@ -17409,13 +17407,13 @@ func (v *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActiv // GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesOpenSearchDeletedActivityLogEntry includes the requested fields of the GraphQL type OpenSearchDeletedActivityLogEntry. type GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesOpenSearchDeletedActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` } @@ -17447,13 +17445,13 @@ func (v *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActiv // GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesOpenSearchUpdatedActivityLogEntry includes the requested fields of the GraphQL type OpenSearchUpdatedActivityLogEntry. type GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesOpenSearchUpdatedActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` } @@ -17485,13 +17483,13 @@ func (v *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActiv // GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesPostgresGrantAccessActivityLogEntry includes the requested fields of the GraphQL type PostgresGrantAccessActivityLogEntry. type GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesPostgresGrantAccessActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` } @@ -17523,13 +17521,13 @@ func (v *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActiv // GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesReconcilerConfiguredActivityLogEntry includes the requested fields of the GraphQL type ReconcilerConfiguredActivityLogEntry. type GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesReconcilerConfiguredActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` } @@ -17561,13 +17559,13 @@ func (v *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActiv // GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesReconcilerDisabledActivityLogEntry includes the requested fields of the GraphQL type ReconcilerDisabledActivityLogEntry. type GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesReconcilerDisabledActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` } @@ -17599,13 +17597,13 @@ func (v *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActiv // GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesReconcilerEnabledActivityLogEntry includes the requested fields of the GraphQL type ReconcilerEnabledActivityLogEntry. type GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesReconcilerEnabledActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` } @@ -17637,13 +17635,13 @@ func (v *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActiv // GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesRepositoryAddedActivityLogEntry includes the requested fields of the GraphQL type RepositoryAddedActivityLogEntry. type GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesRepositoryAddedActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` } @@ -17675,13 +17673,13 @@ func (v *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActiv // GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesRepositoryRemovedActivityLogEntry includes the requested fields of the GraphQL type RepositoryRemovedActivityLogEntry. type GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesRepositoryRemovedActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` } @@ -17713,13 +17711,13 @@ func (v *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActiv // GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesRoleAssignedToServiceAccountActivityLogEntry includes the requested fields of the GraphQL type RoleAssignedToServiceAccountActivityLogEntry. type GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesRoleAssignedToServiceAccountActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` } @@ -17751,13 +17749,13 @@ func (v *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActiv // GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesRoleRevokedFromServiceAccountActivityLogEntry includes the requested fields of the GraphQL type RoleRevokedFromServiceAccountActivityLogEntry. type GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesRoleRevokedFromServiceAccountActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` } @@ -17789,13 +17787,13 @@ func (v *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActiv // GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesSecretCreatedActivityLogEntry includes the requested fields of the GraphQL type SecretCreatedActivityLogEntry. type GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesSecretCreatedActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` } @@ -17827,13 +17825,13 @@ func (v *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActiv // GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesSecretDeletedActivityLogEntry includes the requested fields of the GraphQL type SecretDeletedActivityLogEntry. type GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesSecretDeletedActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` } @@ -17865,13 +17863,13 @@ func (v *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActiv // GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesSecretValueAddedActivityLogEntry includes the requested fields of the GraphQL type SecretValueAddedActivityLogEntry. type GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesSecretValueAddedActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` } @@ -17903,13 +17901,13 @@ func (v *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActiv // GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesSecretValueRemovedActivityLogEntry includes the requested fields of the GraphQL type SecretValueRemovedActivityLogEntry. type GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesSecretValueRemovedActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` } @@ -17941,13 +17939,13 @@ func (v *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActiv // GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesSecretValueUpdatedActivityLogEntry includes the requested fields of the GraphQL type SecretValueUpdatedActivityLogEntry. type GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesSecretValueUpdatedActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` } @@ -17982,13 +17980,13 @@ func (v *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActiv // Activity log entry for viewing secret values. type GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesSecretValuesViewedActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` } @@ -18020,13 +18018,13 @@ func (v *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActiv // GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesServiceAccountCreatedActivityLogEntry includes the requested fields of the GraphQL type ServiceAccountCreatedActivityLogEntry. type GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesServiceAccountCreatedActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` } @@ -18058,13 +18056,13 @@ func (v *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActiv // GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesServiceAccountDeletedActivityLogEntry includes the requested fields of the GraphQL type ServiceAccountDeletedActivityLogEntry. type GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesServiceAccountDeletedActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` } @@ -18096,13 +18094,13 @@ func (v *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActiv // GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesServiceAccountTokenCreatedActivityLogEntry includes the requested fields of the GraphQL type ServiceAccountTokenCreatedActivityLogEntry. type GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesServiceAccountTokenCreatedActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` } @@ -18134,13 +18132,13 @@ func (v *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActiv // GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesServiceAccountTokenDeletedActivityLogEntry includes the requested fields of the GraphQL type ServiceAccountTokenDeletedActivityLogEntry. type GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesServiceAccountTokenDeletedActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` } @@ -18172,13 +18170,13 @@ func (v *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActiv // GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesServiceAccountTokenUpdatedActivityLogEntry includes the requested fields of the GraphQL type ServiceAccountTokenUpdatedActivityLogEntry. type GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesServiceAccountTokenUpdatedActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` } @@ -18210,13 +18208,13 @@ func (v *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActiv // GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesServiceAccountUpdatedActivityLogEntry includes the requested fields of the GraphQL type ServiceAccountUpdatedActivityLogEntry. type GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesServiceAccountUpdatedActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` } @@ -18248,13 +18246,13 @@ func (v *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActiv // GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesServiceMaintenanceActivityLogEntry includes the requested fields of the GraphQL type ServiceMaintenanceActivityLogEntry. type GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesServiceMaintenanceActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` } @@ -18286,13 +18284,13 @@ func (v *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActiv // GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesTeamConfirmDeleteKeyActivityLogEntry includes the requested fields of the GraphQL type TeamConfirmDeleteKeyActivityLogEntry. type GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesTeamConfirmDeleteKeyActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` } @@ -18324,13 +18322,13 @@ func (v *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActiv // GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesTeamCreateDeleteKeyActivityLogEntry includes the requested fields of the GraphQL type TeamCreateDeleteKeyActivityLogEntry. type GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesTeamCreateDeleteKeyActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` } @@ -18362,13 +18360,13 @@ func (v *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActiv // GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesTeamCreatedActivityLogEntry includes the requested fields of the GraphQL type TeamCreatedActivityLogEntry. type GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesTeamCreatedActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` } @@ -18400,13 +18398,13 @@ func (v *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActiv // GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesTeamDeployKeyUpdatedActivityLogEntry includes the requested fields of the GraphQL type TeamDeployKeyUpdatedActivityLogEntry. type GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesTeamDeployKeyUpdatedActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` } @@ -18438,13 +18436,13 @@ func (v *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActiv // GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesTeamEnvironmentUpdatedActivityLogEntry includes the requested fields of the GraphQL type TeamEnvironmentUpdatedActivityLogEntry. type GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesTeamEnvironmentUpdatedActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` } @@ -18476,13 +18474,13 @@ func (v *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActiv // GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesTeamMemberAddedActivityLogEntry includes the requested fields of the GraphQL type TeamMemberAddedActivityLogEntry. type GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesTeamMemberAddedActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` } @@ -18514,13 +18512,13 @@ func (v *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActiv // GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesTeamMemberRemovedActivityLogEntry includes the requested fields of the GraphQL type TeamMemberRemovedActivityLogEntry. type GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesTeamMemberRemovedActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` } @@ -18552,13 +18550,13 @@ func (v *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActiv // GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesTeamMemberSetRoleActivityLogEntry includes the requested fields of the GraphQL type TeamMemberSetRoleActivityLogEntry. type GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesTeamMemberSetRoleActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` } @@ -18590,13 +18588,13 @@ func (v *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActiv // GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesTeamUpdatedActivityLogEntry includes the requested fields of the GraphQL type TeamUpdatedActivityLogEntry. type GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesTeamUpdatedActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` } @@ -18628,13 +18626,13 @@ func (v *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActiv // GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesUnleashInstanceCreatedActivityLogEntry includes the requested fields of the GraphQL type UnleashInstanceCreatedActivityLogEntry. type GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesUnleashInstanceCreatedActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` } @@ -18666,13 +18664,13 @@ func (v *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActiv // GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesUnleashInstanceDeletedActivityLogEntry includes the requested fields of the GraphQL type UnleashInstanceDeletedActivityLogEntry. type GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesUnleashInstanceDeletedActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` } @@ -18704,13 +18702,13 @@ func (v *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActiv // GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesUnleashInstanceUpdatedActivityLogEntry includes the requested fields of the GraphQL type UnleashInstanceUpdatedActivityLogEntry. type GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesUnleashInstanceUpdatedActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` } @@ -18742,13 +18740,13 @@ func (v *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActiv // GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesValkeyCreatedActivityLogEntry includes the requested fields of the GraphQL type ValkeyCreatedActivityLogEntry. type GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesValkeyCreatedActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` } @@ -18780,13 +18778,13 @@ func (v *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActiv // GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesValkeyDeletedActivityLogEntry includes the requested fields of the GraphQL type ValkeyDeletedActivityLogEntry. type GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesValkeyDeletedActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` } @@ -18818,13 +18816,13 @@ func (v *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActiv // GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesValkeyUpdatedActivityLogEntry includes the requested fields of the GraphQL type ValkeyUpdatedActivityLogEntry. type GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesValkeyUpdatedActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` } @@ -18856,13 +18854,13 @@ func (v *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActiv // GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesVulnerabilityUpdatedActivityLogEntry includes the requested fields of the GraphQL type VulnerabilityUpdatedActivityLogEntry. type GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesVulnerabilityUpdatedActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` } @@ -19128,7 +19126,7 @@ func (v *GetSecretTeamEnvironmentSecretWorkloadsWorkloadConnection) __premarshal // // Learn more about how to create and configure your applications in the [Nais documentation](https://docs.nais.io/workloads/application/). type GetSecretTeamEnvironmentSecretWorkloadsWorkloadConnectionNodesApplication struct { - // The name of the workload. + // Interface for workloads. Name string `json:"name"` Typename string `json:"__typename"` } @@ -19145,7 +19143,7 @@ func (v *GetSecretTeamEnvironmentSecretWorkloadsWorkloadConnectionNodesApplicati // GetSecretTeamEnvironmentSecretWorkloadsWorkloadConnectionNodesJob includes the requested fields of the GraphQL type Job. type GetSecretTeamEnvironmentSecretWorkloadsWorkloadConnectionNodesJob struct { - // The name of the workload. + // Interface for workloads. Name string `json:"name"` Typename string `json:"__typename"` } @@ -19173,7 +19171,7 @@ type GetSecretTeamEnvironmentSecretWorkloadsWorkloadConnectionNodesWorkload inte // GetName returns the interface-field "name" from its implementation. // The GraphQL interface field's documentation follows. // - // The name of the workload. + // Interface for workloads. GetName() string // GetTypename returns the receiver's concrete GraphQL type-name (see interface doc for possible values). GetTypename() string @@ -19421,32 +19419,32 @@ type GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesActivityLogEnt // GetActor returns the interface-field "actor" from its implementation. // The GraphQL interface field's documentation follows. // - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. GetActor() string // GetCreatedAt returns the interface-field "createdAt" from its implementation. // The GraphQL interface field's documentation follows. // - // Creation time of the entry. + // Interface for activity log entries. GetCreatedAt() time.Time // GetMessage returns the interface-field "message" from its implementation. // The GraphQL interface field's documentation follows. // - // Message that summarizes the entry. + // Interface for activity log entries. GetMessage() string // GetEnvironmentName returns the interface-field "environmentName" from its implementation. // The GraphQL interface field's documentation follows. // - // The environment name that the entry belongs to. + // Interface for activity log entries. GetEnvironmentName() string // GetResourceType returns the interface-field "resourceType" from its implementation. // The GraphQL interface field's documentation follows. // - // Type of the resource that was affected by the action. + // Interface for activity log entries. GetResourceType() ActivityLogEntryResourceType // GetResourceName returns the interface-field "resourceName" from its implementation. // The GraphQL interface field's documentation follows. // - // Name of the resource that was affected by the action. + // Interface for activity log entries. GetResourceName() string } @@ -20152,17 +20150,17 @@ func __marshalGetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesActiv // GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesApplicationDeletedActivityLogEntry includes the requested fields of the GraphQL type ApplicationDeletedActivityLogEntry. type GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesApplicationDeletedActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` - // Type of the resource that was affected by the action. + // Interface for activity log entries. ResourceType ActivityLogEntryResourceType `json:"resourceType"` - // Name of the resource that was affected by the action. + // Interface for activity log entries. ResourceName string `json:"resourceName"` } @@ -20204,17 +20202,17 @@ func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesApplicatio // GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesApplicationRestartedActivityLogEntry includes the requested fields of the GraphQL type ApplicationRestartedActivityLogEntry. type GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesApplicationRestartedActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` - // Type of the resource that was affected by the action. + // Interface for activity log entries. ResourceType ActivityLogEntryResourceType `json:"resourceType"` - // Name of the resource that was affected by the action. + // Interface for activity log entries. ResourceName string `json:"resourceName"` } @@ -20256,17 +20254,17 @@ func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesApplicatio // GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesApplicationScaledActivityLogEntry includes the requested fields of the GraphQL type ApplicationScaledActivityLogEntry. type GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesApplicationScaledActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` - // Type of the resource that was affected by the action. + // Interface for activity log entries. ResourceType ActivityLogEntryResourceType `json:"resourceType"` - // Name of the resource that was affected by the action. + // Interface for activity log entries. ResourceName string `json:"resourceName"` } @@ -20308,17 +20306,17 @@ func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesApplicatio // GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry includes the requested fields of the GraphQL type ClusterAuditActivityLogEntry. type GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesClusterAuditActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` - // Type of the resource that was affected by the action. + // Interface for activity log entries. ResourceType ActivityLogEntryResourceType `json:"resourceType"` - // Name of the resource that was affected by the action. + // Interface for activity log entries. ResourceName string `json:"resourceName"` } @@ -20360,17 +20358,17 @@ func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesClusterAud // GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesConfigCreatedActivityLogEntry includes the requested fields of the GraphQL type ConfigCreatedActivityLogEntry. type GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesConfigCreatedActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` - // Type of the resource that was affected by the action. + // Interface for activity log entries. ResourceType ActivityLogEntryResourceType `json:"resourceType"` - // Name of the resource that was affected by the action. + // Interface for activity log entries. ResourceName string `json:"resourceName"` } @@ -20412,17 +20410,17 @@ func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesConfigCrea // GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesConfigDeletedActivityLogEntry includes the requested fields of the GraphQL type ConfigDeletedActivityLogEntry. type GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesConfigDeletedActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` - // Type of the resource that was affected by the action. + // Interface for activity log entries. ResourceType ActivityLogEntryResourceType `json:"resourceType"` - // Name of the resource that was affected by the action. + // Interface for activity log entries. ResourceName string `json:"resourceName"` } @@ -20464,17 +20462,17 @@ func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesConfigDele // GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesConfigUpdatedActivityLogEntry includes the requested fields of the GraphQL type ConfigUpdatedActivityLogEntry. type GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesConfigUpdatedActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` - // Type of the resource that was affected by the action. + // Interface for activity log entries. ResourceType ActivityLogEntryResourceType `json:"resourceType"` - // Name of the resource that was affected by the action. + // Interface for activity log entries. ResourceName string `json:"resourceName"` } @@ -20516,17 +20514,17 @@ func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesConfigUpda // GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesCredentialsActivityLogEntry includes the requested fields of the GraphQL type CredentialsActivityLogEntry. type GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesCredentialsActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` - // Type of the resource that was affected by the action. + // Interface for activity log entries. ResourceType ActivityLogEntryResourceType `json:"resourceType"` - // Name of the resource that was affected by the action. + // Interface for activity log entries. ResourceName string `json:"resourceName"` } @@ -20568,17 +20566,17 @@ func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesCredential // GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesDeploymentActivityLogEntry includes the requested fields of the GraphQL type DeploymentActivityLogEntry. type GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesDeploymentActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` - // Type of the resource that was affected by the action. + // Interface for activity log entries. ResourceType ActivityLogEntryResourceType `json:"resourceType"` - // Name of the resource that was affected by the action. + // Interface for activity log entries. ResourceName string `json:"resourceName"` } @@ -20620,17 +20618,17 @@ func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesDeployment // GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesJobDeletedActivityLogEntry includes the requested fields of the GraphQL type JobDeletedActivityLogEntry. type GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesJobDeletedActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` - // Type of the resource that was affected by the action. + // Interface for activity log entries. ResourceType ActivityLogEntryResourceType `json:"resourceType"` - // Name of the resource that was affected by the action. + // Interface for activity log entries. ResourceName string `json:"resourceName"` } @@ -20672,17 +20670,17 @@ func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesJobDeleted // GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesJobTriggeredActivityLogEntry includes the requested fields of the GraphQL type JobTriggeredActivityLogEntry. type GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesJobTriggeredActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` - // Type of the resource that was affected by the action. + // Interface for activity log entries. ResourceType ActivityLogEntryResourceType `json:"resourceType"` - // Name of the resource that was affected by the action. + // Interface for activity log entries. ResourceName string `json:"resourceName"` } @@ -20724,17 +20722,17 @@ func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesJobTrigger // GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesOpenSearchCreatedActivityLogEntry includes the requested fields of the GraphQL type OpenSearchCreatedActivityLogEntry. type GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesOpenSearchCreatedActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` - // Type of the resource that was affected by the action. + // Interface for activity log entries. ResourceType ActivityLogEntryResourceType `json:"resourceType"` - // Name of the resource that was affected by the action. + // Interface for activity log entries. ResourceName string `json:"resourceName"` } @@ -20776,17 +20774,17 @@ func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesOpenSearch // GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesOpenSearchDeletedActivityLogEntry includes the requested fields of the GraphQL type OpenSearchDeletedActivityLogEntry. type GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesOpenSearchDeletedActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` - // Type of the resource that was affected by the action. + // Interface for activity log entries. ResourceType ActivityLogEntryResourceType `json:"resourceType"` - // Name of the resource that was affected by the action. + // Interface for activity log entries. ResourceName string `json:"resourceName"` } @@ -20828,17 +20826,17 @@ func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesOpenSearch // GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesOpenSearchUpdatedActivityLogEntry includes the requested fields of the GraphQL type OpenSearchUpdatedActivityLogEntry. type GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesOpenSearchUpdatedActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` - // Type of the resource that was affected by the action. + // Interface for activity log entries. ResourceType ActivityLogEntryResourceType `json:"resourceType"` - // Name of the resource that was affected by the action. + // Interface for activity log entries. ResourceName string `json:"resourceName"` } @@ -20880,17 +20878,17 @@ func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesOpenSearch // GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesPostgresGrantAccessActivityLogEntry includes the requested fields of the GraphQL type PostgresGrantAccessActivityLogEntry. type GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesPostgresGrantAccessActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` - // Type of the resource that was affected by the action. + // Interface for activity log entries. ResourceType ActivityLogEntryResourceType `json:"resourceType"` - // Name of the resource that was affected by the action. + // Interface for activity log entries. ResourceName string `json:"resourceName"` } @@ -20932,17 +20930,17 @@ func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesPostgresGr // GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesReconcilerConfiguredActivityLogEntry includes the requested fields of the GraphQL type ReconcilerConfiguredActivityLogEntry. type GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesReconcilerConfiguredActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` - // Type of the resource that was affected by the action. + // Interface for activity log entries. ResourceType ActivityLogEntryResourceType `json:"resourceType"` - // Name of the resource that was affected by the action. + // Interface for activity log entries. ResourceName string `json:"resourceName"` } @@ -20984,17 +20982,17 @@ func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesReconciler // GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesReconcilerDisabledActivityLogEntry includes the requested fields of the GraphQL type ReconcilerDisabledActivityLogEntry. type GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesReconcilerDisabledActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` - // Type of the resource that was affected by the action. + // Interface for activity log entries. ResourceType ActivityLogEntryResourceType `json:"resourceType"` - // Name of the resource that was affected by the action. + // Interface for activity log entries. ResourceName string `json:"resourceName"` } @@ -21036,17 +21034,17 @@ func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesReconciler // GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesReconcilerEnabledActivityLogEntry includes the requested fields of the GraphQL type ReconcilerEnabledActivityLogEntry. type GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesReconcilerEnabledActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` - // Type of the resource that was affected by the action. + // Interface for activity log entries. ResourceType ActivityLogEntryResourceType `json:"resourceType"` - // Name of the resource that was affected by the action. + // Interface for activity log entries. ResourceName string `json:"resourceName"` } @@ -21088,17 +21086,17 @@ func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesReconciler // GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesRepositoryAddedActivityLogEntry includes the requested fields of the GraphQL type RepositoryAddedActivityLogEntry. type GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesRepositoryAddedActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` - // Type of the resource that was affected by the action. + // Interface for activity log entries. ResourceType ActivityLogEntryResourceType `json:"resourceType"` - // Name of the resource that was affected by the action. + // Interface for activity log entries. ResourceName string `json:"resourceName"` } @@ -21140,17 +21138,17 @@ func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesRepository // GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesRepositoryRemovedActivityLogEntry includes the requested fields of the GraphQL type RepositoryRemovedActivityLogEntry. type GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesRepositoryRemovedActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` - // Type of the resource that was affected by the action. + // Interface for activity log entries. ResourceType ActivityLogEntryResourceType `json:"resourceType"` - // Name of the resource that was affected by the action. + // Interface for activity log entries. ResourceName string `json:"resourceName"` } @@ -21192,17 +21190,17 @@ func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesRepository // GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesRoleAssignedToServiceAccountActivityLogEntry includes the requested fields of the GraphQL type RoleAssignedToServiceAccountActivityLogEntry. type GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesRoleAssignedToServiceAccountActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` - // Type of the resource that was affected by the action. + // Interface for activity log entries. ResourceType ActivityLogEntryResourceType `json:"resourceType"` - // Name of the resource that was affected by the action. + // Interface for activity log entries. ResourceName string `json:"resourceName"` } @@ -21244,17 +21242,17 @@ func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesRoleAssign // GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesRoleRevokedFromServiceAccountActivityLogEntry includes the requested fields of the GraphQL type RoleRevokedFromServiceAccountActivityLogEntry. type GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesRoleRevokedFromServiceAccountActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` - // Type of the resource that was affected by the action. + // Interface for activity log entries. ResourceType ActivityLogEntryResourceType `json:"resourceType"` - // Name of the resource that was affected by the action. + // Interface for activity log entries. ResourceName string `json:"resourceName"` } @@ -21296,17 +21294,17 @@ func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesRoleRevoke // GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesSecretCreatedActivityLogEntry includes the requested fields of the GraphQL type SecretCreatedActivityLogEntry. type GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesSecretCreatedActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` - // Type of the resource that was affected by the action. + // Interface for activity log entries. ResourceType ActivityLogEntryResourceType `json:"resourceType"` - // Name of the resource that was affected by the action. + // Interface for activity log entries. ResourceName string `json:"resourceName"` } @@ -21348,17 +21346,17 @@ func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesSecretCrea // GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesSecretDeletedActivityLogEntry includes the requested fields of the GraphQL type SecretDeletedActivityLogEntry. type GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesSecretDeletedActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` - // Type of the resource that was affected by the action. + // Interface for activity log entries. ResourceType ActivityLogEntryResourceType `json:"resourceType"` - // Name of the resource that was affected by the action. + // Interface for activity log entries. ResourceName string `json:"resourceName"` } @@ -21400,17 +21398,17 @@ func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesSecretDele // GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesSecretValueAddedActivityLogEntry includes the requested fields of the GraphQL type SecretValueAddedActivityLogEntry. type GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesSecretValueAddedActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` - // Type of the resource that was affected by the action. + // Interface for activity log entries. ResourceType ActivityLogEntryResourceType `json:"resourceType"` - // Name of the resource that was affected by the action. + // Interface for activity log entries. ResourceName string `json:"resourceName"` } @@ -21452,17 +21450,17 @@ func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesSecretValu // GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesSecretValueRemovedActivityLogEntry includes the requested fields of the GraphQL type SecretValueRemovedActivityLogEntry. type GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesSecretValueRemovedActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` - // Type of the resource that was affected by the action. + // Interface for activity log entries. ResourceType ActivityLogEntryResourceType `json:"resourceType"` - // Name of the resource that was affected by the action. + // Interface for activity log entries. ResourceName string `json:"resourceName"` } @@ -21504,17 +21502,17 @@ func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesSecretValu // GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesSecretValueUpdatedActivityLogEntry includes the requested fields of the GraphQL type SecretValueUpdatedActivityLogEntry. type GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesSecretValueUpdatedActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` - // Type of the resource that was affected by the action. + // Interface for activity log entries. ResourceType ActivityLogEntryResourceType `json:"resourceType"` - // Name of the resource that was affected by the action. + // Interface for activity log entries. ResourceName string `json:"resourceName"` } @@ -21559,17 +21557,17 @@ func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesSecretValu // Activity log entry for viewing secret values. type GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesSecretValuesViewedActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` - // Type of the resource that was affected by the action. + // Interface for activity log entries. ResourceType ActivityLogEntryResourceType `json:"resourceType"` - // Name of the resource that was affected by the action. + // Interface for activity log entries. ResourceName string `json:"resourceName"` } @@ -21611,17 +21609,17 @@ func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesSecretValu // GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesServiceAccountCreatedActivityLogEntry includes the requested fields of the GraphQL type ServiceAccountCreatedActivityLogEntry. type GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesServiceAccountCreatedActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` - // Type of the resource that was affected by the action. + // Interface for activity log entries. ResourceType ActivityLogEntryResourceType `json:"resourceType"` - // Name of the resource that was affected by the action. + // Interface for activity log entries. ResourceName string `json:"resourceName"` } @@ -21663,17 +21661,17 @@ func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesServiceAcc // GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesServiceAccountDeletedActivityLogEntry includes the requested fields of the GraphQL type ServiceAccountDeletedActivityLogEntry. type GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesServiceAccountDeletedActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` - // Type of the resource that was affected by the action. + // Interface for activity log entries. ResourceType ActivityLogEntryResourceType `json:"resourceType"` - // Name of the resource that was affected by the action. + // Interface for activity log entries. ResourceName string `json:"resourceName"` } @@ -21715,17 +21713,17 @@ func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesServiceAcc // GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesServiceAccountTokenCreatedActivityLogEntry includes the requested fields of the GraphQL type ServiceAccountTokenCreatedActivityLogEntry. type GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesServiceAccountTokenCreatedActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` - // Type of the resource that was affected by the action. + // Interface for activity log entries. ResourceType ActivityLogEntryResourceType `json:"resourceType"` - // Name of the resource that was affected by the action. + // Interface for activity log entries. ResourceName string `json:"resourceName"` } @@ -21767,17 +21765,17 @@ func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesServiceAcc // GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesServiceAccountTokenDeletedActivityLogEntry includes the requested fields of the GraphQL type ServiceAccountTokenDeletedActivityLogEntry. type GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesServiceAccountTokenDeletedActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` - // Type of the resource that was affected by the action. + // Interface for activity log entries. ResourceType ActivityLogEntryResourceType `json:"resourceType"` - // Name of the resource that was affected by the action. + // Interface for activity log entries. ResourceName string `json:"resourceName"` } @@ -21819,17 +21817,17 @@ func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesServiceAcc // GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesServiceAccountTokenUpdatedActivityLogEntry includes the requested fields of the GraphQL type ServiceAccountTokenUpdatedActivityLogEntry. type GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesServiceAccountTokenUpdatedActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` - // Type of the resource that was affected by the action. + // Interface for activity log entries. ResourceType ActivityLogEntryResourceType `json:"resourceType"` - // Name of the resource that was affected by the action. + // Interface for activity log entries. ResourceName string `json:"resourceName"` } @@ -21871,17 +21869,17 @@ func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesServiceAcc // GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesServiceAccountUpdatedActivityLogEntry includes the requested fields of the GraphQL type ServiceAccountUpdatedActivityLogEntry. type GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesServiceAccountUpdatedActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` - // Type of the resource that was affected by the action. + // Interface for activity log entries. ResourceType ActivityLogEntryResourceType `json:"resourceType"` - // Name of the resource that was affected by the action. + // Interface for activity log entries. ResourceName string `json:"resourceName"` } @@ -21923,17 +21921,17 @@ func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesServiceAcc // GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesServiceMaintenanceActivityLogEntry includes the requested fields of the GraphQL type ServiceMaintenanceActivityLogEntry. type GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesServiceMaintenanceActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` - // Type of the resource that was affected by the action. + // Interface for activity log entries. ResourceType ActivityLogEntryResourceType `json:"resourceType"` - // Name of the resource that was affected by the action. + // Interface for activity log entries. ResourceName string `json:"resourceName"` } @@ -21975,17 +21973,17 @@ func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesServiceMai // GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesTeamConfirmDeleteKeyActivityLogEntry includes the requested fields of the GraphQL type TeamConfirmDeleteKeyActivityLogEntry. type GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesTeamConfirmDeleteKeyActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` - // Type of the resource that was affected by the action. + // Interface for activity log entries. ResourceType ActivityLogEntryResourceType `json:"resourceType"` - // Name of the resource that was affected by the action. + // Interface for activity log entries. ResourceName string `json:"resourceName"` } @@ -22027,17 +22025,17 @@ func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesTeamConfir // GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesTeamCreateDeleteKeyActivityLogEntry includes the requested fields of the GraphQL type TeamCreateDeleteKeyActivityLogEntry. type GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesTeamCreateDeleteKeyActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` - // Type of the resource that was affected by the action. + // Interface for activity log entries. ResourceType ActivityLogEntryResourceType `json:"resourceType"` - // Name of the resource that was affected by the action. + // Interface for activity log entries. ResourceName string `json:"resourceName"` } @@ -22079,17 +22077,17 @@ func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesTeamCreate // GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesTeamCreatedActivityLogEntry includes the requested fields of the GraphQL type TeamCreatedActivityLogEntry. type GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesTeamCreatedActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` - // Type of the resource that was affected by the action. + // Interface for activity log entries. ResourceType ActivityLogEntryResourceType `json:"resourceType"` - // Name of the resource that was affected by the action. + // Interface for activity log entries. ResourceName string `json:"resourceName"` } @@ -22131,17 +22129,17 @@ func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesTeamCreate // GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesTeamDeployKeyUpdatedActivityLogEntry includes the requested fields of the GraphQL type TeamDeployKeyUpdatedActivityLogEntry. type GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesTeamDeployKeyUpdatedActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` - // Type of the resource that was affected by the action. + // Interface for activity log entries. ResourceType ActivityLogEntryResourceType `json:"resourceType"` - // Name of the resource that was affected by the action. + // Interface for activity log entries. ResourceName string `json:"resourceName"` } @@ -22183,17 +22181,17 @@ func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesTeamDeploy // GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesTeamEnvironmentUpdatedActivityLogEntry includes the requested fields of the GraphQL type TeamEnvironmentUpdatedActivityLogEntry. type GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesTeamEnvironmentUpdatedActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` - // Type of the resource that was affected by the action. + // Interface for activity log entries. ResourceType ActivityLogEntryResourceType `json:"resourceType"` - // Name of the resource that was affected by the action. + // Interface for activity log entries. ResourceName string `json:"resourceName"` } @@ -22235,17 +22233,17 @@ func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesTeamEnviro // GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesTeamMemberAddedActivityLogEntry includes the requested fields of the GraphQL type TeamMemberAddedActivityLogEntry. type GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesTeamMemberAddedActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` - // Type of the resource that was affected by the action. + // Interface for activity log entries. ResourceType ActivityLogEntryResourceType `json:"resourceType"` - // Name of the resource that was affected by the action. + // Interface for activity log entries. ResourceName string `json:"resourceName"` } @@ -22287,17 +22285,17 @@ func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesTeamMember // GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesTeamMemberRemovedActivityLogEntry includes the requested fields of the GraphQL type TeamMemberRemovedActivityLogEntry. type GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesTeamMemberRemovedActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` - // Type of the resource that was affected by the action. + // Interface for activity log entries. ResourceType ActivityLogEntryResourceType `json:"resourceType"` - // Name of the resource that was affected by the action. + // Interface for activity log entries. ResourceName string `json:"resourceName"` } @@ -22339,17 +22337,17 @@ func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesTeamMember // GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesTeamMemberSetRoleActivityLogEntry includes the requested fields of the GraphQL type TeamMemberSetRoleActivityLogEntry. type GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesTeamMemberSetRoleActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` - // Type of the resource that was affected by the action. + // Interface for activity log entries. ResourceType ActivityLogEntryResourceType `json:"resourceType"` - // Name of the resource that was affected by the action. + // Interface for activity log entries. ResourceName string `json:"resourceName"` } @@ -22391,17 +22389,17 @@ func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesTeamMember // GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesTeamUpdatedActivityLogEntry includes the requested fields of the GraphQL type TeamUpdatedActivityLogEntry. type GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesTeamUpdatedActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` - // Type of the resource that was affected by the action. + // Interface for activity log entries. ResourceType ActivityLogEntryResourceType `json:"resourceType"` - // Name of the resource that was affected by the action. + // Interface for activity log entries. ResourceName string `json:"resourceName"` } @@ -22443,17 +22441,17 @@ func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesTeamUpdate // GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesUnleashInstanceCreatedActivityLogEntry includes the requested fields of the GraphQL type UnleashInstanceCreatedActivityLogEntry. type GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesUnleashInstanceCreatedActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` - // Type of the resource that was affected by the action. + // Interface for activity log entries. ResourceType ActivityLogEntryResourceType `json:"resourceType"` - // Name of the resource that was affected by the action. + // Interface for activity log entries. ResourceName string `json:"resourceName"` } @@ -22495,17 +22493,17 @@ func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesUnleashIns // GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesUnleashInstanceDeletedActivityLogEntry includes the requested fields of the GraphQL type UnleashInstanceDeletedActivityLogEntry. type GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesUnleashInstanceDeletedActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` - // Type of the resource that was affected by the action. + // Interface for activity log entries. ResourceType ActivityLogEntryResourceType `json:"resourceType"` - // Name of the resource that was affected by the action. + // Interface for activity log entries. ResourceName string `json:"resourceName"` } @@ -22547,17 +22545,17 @@ func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesUnleashIns // GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesUnleashInstanceUpdatedActivityLogEntry includes the requested fields of the GraphQL type UnleashInstanceUpdatedActivityLogEntry. type GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesUnleashInstanceUpdatedActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` - // Type of the resource that was affected by the action. + // Interface for activity log entries. ResourceType ActivityLogEntryResourceType `json:"resourceType"` - // Name of the resource that was affected by the action. + // Interface for activity log entries. ResourceName string `json:"resourceName"` } @@ -22599,17 +22597,17 @@ func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesUnleashIns // GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesValkeyCreatedActivityLogEntry includes the requested fields of the GraphQL type ValkeyCreatedActivityLogEntry. type GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesValkeyCreatedActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` - // Type of the resource that was affected by the action. + // Interface for activity log entries. ResourceType ActivityLogEntryResourceType `json:"resourceType"` - // Name of the resource that was affected by the action. + // Interface for activity log entries. ResourceName string `json:"resourceName"` } @@ -22651,17 +22649,17 @@ func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesValkeyCrea // GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesValkeyDeletedActivityLogEntry includes the requested fields of the GraphQL type ValkeyDeletedActivityLogEntry. type GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesValkeyDeletedActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` - // Type of the resource that was affected by the action. + // Interface for activity log entries. ResourceType ActivityLogEntryResourceType `json:"resourceType"` - // Name of the resource that was affected by the action. + // Interface for activity log entries. ResourceName string `json:"resourceName"` } @@ -22703,17 +22701,17 @@ func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesValkeyDele // GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesValkeyUpdatedActivityLogEntry includes the requested fields of the GraphQL type ValkeyUpdatedActivityLogEntry. type GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesValkeyUpdatedActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` - // Type of the resource that was affected by the action. + // Interface for activity log entries. ResourceType ActivityLogEntryResourceType `json:"resourceType"` - // Name of the resource that was affected by the action. + // Interface for activity log entries. ResourceName string `json:"resourceName"` } @@ -22755,17 +22753,17 @@ func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesValkeyUpda // GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesVulnerabilityUpdatedActivityLogEntry includes the requested fields of the GraphQL type VulnerabilityUpdatedActivityLogEntry. type GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesVulnerabilityUpdatedActivityLogEntry struct { Typename string `json:"__typename"` - // The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. + // Interface for activity log entries. Actor string `json:"actor"` - // Creation time of the entry. + // Interface for activity log entries. CreatedAt time.Time `json:"createdAt"` - // Message that summarizes the entry. + // Interface for activity log entries. Message string `json:"message"` - // The environment name that the entry belongs to. + // Interface for activity log entries. EnvironmentName string `json:"environmentName"` - // Type of the resource that was affected by the action. + // Interface for activity log entries. ResourceType ActivityLogEntryResourceType `json:"resourceType"` - // Name of the resource that was affected by the action. + // Interface for activity log entries. ResourceName string `json:"resourceName"` } @@ -24217,15 +24215,15 @@ func (v *GetTeamWorkloadsTeamWorkloadsWorkloadConnection) __premarshalJSON() (*_ // Learn more about how to create and configure your applications in the [Nais documentation](https://docs.nais.io/workloads/application/). type GetTeamWorkloadsTeamWorkloadsWorkloadConnectionNodesApplication struct { Typename string `json:"__typename"` - // The name of the workload. + // Interface for workloads. Name string `json:"name"` // The application state. ApplicationState ApplicationState `json:"applicationState"` - // Issues that affect the workload. + // Interface for workloads. TotalIssues GetTeamWorkloadsTeamWorkloadsWorkloadConnectionNodesWorkloadTotalIssuesIssueConnection `json:"totalIssues"` - // The container image of the workload. + // Interface for workloads. Image GetTeamWorkloadsTeamWorkloadsWorkloadConnectionNodesWorkloadImageContainerImage `json:"image"` - // The team environment for the workload. + // Interface for workloads. TeamEnvironment GetTeamWorkloadsTeamWorkloadsWorkloadConnectionNodesWorkloadTeamEnvironment `json:"teamEnvironment"` } @@ -24262,15 +24260,15 @@ func (v *GetTeamWorkloadsTeamWorkloadsWorkloadConnectionNodesApplication) GetTea // GetTeamWorkloadsTeamWorkloadsWorkloadConnectionNodesJob includes the requested fields of the GraphQL type Job. type GetTeamWorkloadsTeamWorkloadsWorkloadConnectionNodesJob struct { Typename string `json:"__typename"` - // The name of the workload. + // Interface for workloads. Name string `json:"name"` // The state of the Job JobState JobState `json:"jobState"` - // Issues that affect the workload. + // Interface for workloads. TotalIssues GetTeamWorkloadsTeamWorkloadsWorkloadConnectionNodesWorkloadTotalIssuesIssueConnection `json:"totalIssues"` - // The container image of the workload. + // Interface for workloads. Image GetTeamWorkloadsTeamWorkloadsWorkloadConnectionNodesWorkloadImageContainerImage `json:"image"` - // The team environment for the workload. + // Interface for workloads. TeamEnvironment GetTeamWorkloadsTeamWorkloadsWorkloadConnectionNodesWorkloadTeamEnvironment `json:"teamEnvironment"` } @@ -24317,22 +24315,22 @@ type GetTeamWorkloadsTeamWorkloadsWorkloadConnectionNodesWorkload interface { // GetName returns the interface-field "name" from its implementation. // The GraphQL interface field's documentation follows. // - // The name of the workload. + // Interface for workloads. GetName() string // GetTotalIssues returns the interface-field "issues" from its implementation. // The GraphQL interface field's documentation follows. // - // Issues that affect the workload. + // Interface for workloads. GetTotalIssues() GetTeamWorkloadsTeamWorkloadsWorkloadConnectionNodesWorkloadTotalIssuesIssueConnection // GetImage returns the interface-field "image" from its implementation. // The GraphQL interface field's documentation follows. // - // The container image of the workload. + // Interface for workloads. GetImage() GetTeamWorkloadsTeamWorkloadsWorkloadConnectionNodesWorkloadImageContainerImage // GetTeamEnvironment returns the interface-field "teamEnvironment" from its implementation. // The GraphQL interface field's documentation follows. // - // The team environment for the workload. + // Interface for workloads. GetTeamEnvironment() GetTeamWorkloadsTeamWorkloadsWorkloadConnectionNodesWorkloadTeamEnvironment } @@ -24661,19 +24659,19 @@ type GetValkeyTeamEnvironmentValkeyAccessValkeyAccessConnectionEdgesValkeyAccess // GetId returns the interface-field "id" from its implementation. // The GraphQL interface field's documentation follows. // - // The globally unique ID of the workload. + // Interface for workloads. GetId() string // GetName returns the interface-field "name" from its implementation. // The GraphQL interface field's documentation follows. // - // The name of the workload. + // Interface for workloads. GetName() string // GetTypename returns the receiver's concrete GraphQL type-name (see interface doc for possible values). GetTypename() string // GetTeam returns the interface-field "team" from its implementation. // The GraphQL interface field's documentation follows. // - // The team that owns the workload. + // Interface for workloads. GetTeam() GetValkeyTeamEnvironmentValkeyAccessValkeyAccessConnectionEdgesValkeyAccessEdgeNodeValkeyAccessWorkloadTeam } @@ -24746,12 +24744,12 @@ func __marshalGetValkeyTeamEnvironmentValkeyAccessValkeyAccessConnectionEdgesVal // // Learn more about how to create and configure your applications in the [Nais documentation](https://docs.nais.io/workloads/application/). type GetValkeyTeamEnvironmentValkeyAccessValkeyAccessConnectionEdgesValkeyAccessEdgeNodeValkeyAccessWorkloadApplication struct { - // The globally unique ID of the workload. + // Interface for workloads. Id string `json:"id"` - // The name of the workload. + // Interface for workloads. Name string `json:"name"` Typename string `json:"__typename"` - // The team that owns the workload. + // Interface for workloads. Team GetValkeyTeamEnvironmentValkeyAccessValkeyAccessConnectionEdgesValkeyAccessEdgeNodeValkeyAccessWorkloadTeam `json:"team"` } @@ -24777,12 +24775,12 @@ func (v *GetValkeyTeamEnvironmentValkeyAccessValkeyAccessConnectionEdgesValkeyAc // GetValkeyTeamEnvironmentValkeyAccessValkeyAccessConnectionEdgesValkeyAccessEdgeNodeValkeyAccessWorkloadJob includes the requested fields of the GraphQL type Job. type GetValkeyTeamEnvironmentValkeyAccessValkeyAccessConnectionEdgesValkeyAccessEdgeNodeValkeyAccessWorkloadJob struct { - // The globally unique ID of the workload. + // Interface for workloads. Id string `json:"id"` - // The name of the workload. + // Interface for workloads. Name string `json:"name"` Typename string `json:"__typename"` - // The team that owns the workload. + // Interface for workloads. Team GetValkeyTeamEnvironmentValkeyAccessValkeyAccessConnectionEdgesValkeyAccessEdgeNodeValkeyAccessWorkloadTeam `json:"team"` } @@ -24839,8 +24837,7 @@ type GrantPostgresAccessInput struct { TeamSlug string `json:"teamSlug"` EnvironmentName string `json:"environmentName"` Grantee string `json:"grantee"` - // Duration of the access grant (maximum 4 hours). - Duration string `json:"duration"` + Duration string `json:"duration"` } // GetClusterName returns GrantPostgresAccessInput.ClusterName, and is useful for accessing the field via an interface. @@ -25085,16 +25082,11 @@ func (v *IsAdminResponse) __premarshalJSON() (*__premarshalIsAdminResponse, erro } type IssueFilter struct { - // Filter by resource name. - ResourceName string `json:"resourceName,omitempty"` - // Filter by resource type. + ResourceName string `json:"resourceName,omitempty"` ResourceType ResourceType `json:"resourceType,omitempty"` - // Filter by environment. - Environments []string `json:"environments,omitempty"` - // Filter by severity. - Severity Severity `json:"severity,omitempty"` - // Filter by issue type. - IssueType IssueType `json:"issueType,omitempty"` + Environments []string `json:"environments,omitempty"` + Severity Severity `json:"severity,omitempty"` + IssueType IssueType `json:"issueType,omitempty"` } // GetResourceName returns IssueFilter.ResourceName, and is useful for accessing the field via an interface. @@ -25149,9 +25141,7 @@ var AllIssueType = []IssueType{ } type JobOrder struct { - // The field to order items by. - Field JobOrderField `json:"field"` - // The direction to order items by. + Field JobOrderField `json:"field"` Direction OrderDirection `json:"direction"` } @@ -25345,11 +25335,11 @@ func (v *ListCVEsTeamWorkloadsWorkloadConnection) __premarshalJSON() (*__premars // Learn more about how to create and configure your applications in the [Nais documentation](https://docs.nais.io/workloads/application/). type ListCVEsTeamWorkloadsWorkloadConnectionNodesApplication struct { Typename string `json:"__typename"` - // The name of the workload. + // Interface for workloads. Name string `json:"name"` - // The team environment for the workload. + // Interface for workloads. TeamEnvironment ListCVEsTeamWorkloadsWorkloadConnectionNodesWorkloadTeamEnvironment `json:"teamEnvironment"` - // The container image of the workload. + // Interface for workloads. Image ListCVEsTeamWorkloadsWorkloadConnectionNodesWorkloadImageContainerImage `json:"image"` } @@ -25374,11 +25364,11 @@ func (v *ListCVEsTeamWorkloadsWorkloadConnectionNodesApplication) GetImage() Lis // ListCVEsTeamWorkloadsWorkloadConnectionNodesJob includes the requested fields of the GraphQL type Job. type ListCVEsTeamWorkloadsWorkloadConnectionNodesJob struct { Typename string `json:"__typename"` - // The name of the workload. + // Interface for workloads. Name string `json:"name"` - // The team environment for the workload. + // Interface for workloads. TeamEnvironment ListCVEsTeamWorkloadsWorkloadConnectionNodesWorkloadTeamEnvironment `json:"teamEnvironment"` - // The container image of the workload. + // Interface for workloads. Image ListCVEsTeamWorkloadsWorkloadConnectionNodesWorkloadImageContainerImage `json:"image"` } @@ -25413,17 +25403,17 @@ type ListCVEsTeamWorkloadsWorkloadConnectionNodesWorkload interface { // GetName returns the interface-field "name" from its implementation. // The GraphQL interface field's documentation follows. // - // The name of the workload. + // Interface for workloads. GetName() string // GetTeamEnvironment returns the interface-field "teamEnvironment" from its implementation. // The GraphQL interface field's documentation follows. // - // The team environment for the workload. + // Interface for workloads. GetTeamEnvironment() ListCVEsTeamWorkloadsWorkloadConnectionNodesWorkloadTeamEnvironment // GetImage returns the interface-field "image" from its implementation. // The GraphQL interface field's documentation follows. // - // The container image of the workload. + // Interface for workloads. GetImage() ListCVEsTeamWorkloadsWorkloadConnectionNodesWorkloadImageContainerImage } @@ -25806,12 +25796,12 @@ type ListWorkloadVulnerabilitySummariesTeamVulnerabilitySummariesWorkloadVulnera // GetName returns the interface-field "name" from its implementation. // The GraphQL interface field's documentation follows. // - // The name of the workload. + // Interface for workloads. GetName() string // GetTeamEnvironment returns the interface-field "teamEnvironment" from its implementation. // The GraphQL interface field's documentation follows. // - // The team environment for the workload. + // Interface for workloads. GetTeamEnvironment() ListWorkloadVulnerabilitySummariesTeamVulnerabilitySummariesWorkloadVulnerabilitySummaryConnectionNodesWorkloadVulnerabilitySummaryWorkloadTeamEnvironment } @@ -25885,9 +25875,9 @@ func __marshalListWorkloadVulnerabilitySummariesTeamVulnerabilitySummariesWorklo // Learn more about how to create and configure your applications in the [Nais documentation](https://docs.nais.io/workloads/application/). type ListWorkloadVulnerabilitySummariesTeamVulnerabilitySummariesWorkloadVulnerabilitySummaryConnectionNodesWorkloadVulnerabilitySummaryWorkloadApplication struct { Typename string `json:"__typename"` - // The name of the workload. + // Interface for workloads. Name string `json:"name"` - // The team environment for the workload. + // Interface for workloads. TeamEnvironment ListWorkloadVulnerabilitySummariesTeamVulnerabilitySummariesWorkloadVulnerabilitySummaryConnectionNodesWorkloadVulnerabilitySummaryWorkloadTeamEnvironment `json:"teamEnvironment"` } @@ -25909,9 +25899,9 @@ func (v *ListWorkloadVulnerabilitySummariesTeamVulnerabilitySummariesWorkloadVul // ListWorkloadVulnerabilitySummariesTeamVulnerabilitySummariesWorkloadVulnerabilitySummaryConnectionNodesWorkloadVulnerabilitySummaryWorkloadJob includes the requested fields of the GraphQL type Job. type ListWorkloadVulnerabilitySummariesTeamVulnerabilitySummariesWorkloadVulnerabilitySummaryConnectionNodesWorkloadVulnerabilitySummaryWorkloadJob struct { Typename string `json:"__typename"` - // The name of the workload. + // Interface for workloads. Name string `json:"name"` - // The team environment for the workload. + // Interface for workloads. TeamEnvironment ListWorkloadVulnerabilitySummariesTeamVulnerabilitySummariesWorkloadVulnerabilitySummaryConnectionNodesWorkloadVulnerabilitySummaryWorkloadTeamEnvironment `json:"teamEnvironment"` } @@ -26241,9 +26231,7 @@ func (v *RestartAppRestartApplicationRestartApplicationPayloadApplication) GetNa } type SecretValueInput struct { - // The name of the secret value. - Name string `json:"name"` - // The secret value to set. + Name string `json:"name"` Value string `json:"value"` } @@ -26393,9 +26381,9 @@ func (v *TailLogResponse) GetLog() TailLogLogLogLine { return v.Log } // Input for filtering the applications of a team. type TeamApplicationsFilter struct { - // Filter by the name of the application. + // Input for filtering the applications of a team. Name string `json:"name"` - // Filter by the name of the environment. + // Input for filtering the applications of a team. Environments []string `json:"environments"` } @@ -26754,11 +26742,11 @@ func (v *TeamStatusMeUserTeamsTeamMemberConnectionNodesTeamMemberTeamWorkloadsWo // Learn more about how to create and configure your applications in the [Nais documentation](https://docs.nais.io/workloads/application/). type TeamStatusMeUserTeamsTeamMemberConnectionNodesTeamMemberTeamWorkloadsWorkloadConnectionNodesApplication struct { Typename string `json:"__typename"` - // The name of the workload. + // Interface for workloads. Name string `json:"name"` - // The team environment for the workload. + // Interface for workloads. TeamEnvironment TeamStatusMeUserTeamsTeamMemberConnectionNodesTeamMemberTeamWorkloadsWorkloadConnectionNodesWorkloadTeamEnvironment `json:"teamEnvironment"` - // Issues that affect the workload. + // Interface for workloads. Issues TeamStatusMeUserTeamsTeamMemberConnectionNodesTeamMemberTeamWorkloadsWorkloadConnectionNodesWorkloadIssuesIssueConnection `json:"issues"` } @@ -26785,11 +26773,11 @@ func (v *TeamStatusMeUserTeamsTeamMemberConnectionNodesTeamMemberTeamWorkloadsWo // TeamStatusMeUserTeamsTeamMemberConnectionNodesTeamMemberTeamWorkloadsWorkloadConnectionNodesJob includes the requested fields of the GraphQL type Job. type TeamStatusMeUserTeamsTeamMemberConnectionNodesTeamMemberTeamWorkloadsWorkloadConnectionNodesJob struct { Typename string `json:"__typename"` - // The name of the workload. + // Interface for workloads. Name string `json:"name"` - // The team environment for the workload. + // Interface for workloads. TeamEnvironment TeamStatusMeUserTeamsTeamMemberConnectionNodesTeamMemberTeamWorkloadsWorkloadConnectionNodesWorkloadTeamEnvironment `json:"teamEnvironment"` - // Issues that affect the workload. + // Interface for workloads. Issues TeamStatusMeUserTeamsTeamMemberConnectionNodesTeamMemberTeamWorkloadsWorkloadConnectionNodesWorkloadIssuesIssueConnection `json:"issues"` } @@ -26828,17 +26816,17 @@ type TeamStatusMeUserTeamsTeamMemberConnectionNodesTeamMemberTeamWorkloadsWorklo // GetName returns the interface-field "name" from its implementation. // The GraphQL interface field's documentation follows. // - // The name of the workload. + // Interface for workloads. GetName() string // GetTeamEnvironment returns the interface-field "teamEnvironment" from its implementation. // The GraphQL interface field's documentation follows. // - // The team environment for the workload. + // Interface for workloads. GetTeamEnvironment() TeamStatusMeUserTeamsTeamMemberConnectionNodesTeamMemberTeamWorkloadsWorkloadConnectionNodesWorkloadTeamEnvironment // GetIssues returns the interface-field "issues" from its implementation. // The GraphQL interface field's documentation follows. // - // Issues that affect the workload. + // Interface for workloads. GetIssues() TeamStatusMeUserTeamsTeamMemberConnectionNodesTeamMemberTeamWorkloadsWorkloadConnectionNodesWorkloadIssuesIssueConnection } @@ -27531,10 +27519,9 @@ var AllTeamVulnerabilityRiskScoreTrend = []TeamVulnerabilityRiskScoreTrend{ // Input for filtering team vulnerability summaries. type TeamVulnerabilitySummaryFilter struct { - // Only return vulnerability summaries for the given environment. + // Input for filtering team vulnerability summaries. EnvironmentName string `json:"environmentName"` - // Deprecated: use environmentName instead. - // Only one environment is supported if this list is used. + // Input for filtering team vulnerability summaries. Environments []string `json:"environments"` } @@ -27546,7 +27533,7 @@ func (v *TeamVulnerabilitySummaryFilter) GetEnvironments() []string { return v.E // Input for filtering team workloads. type TeamWorkloadsFilter struct { - // Only return workloads from the given named environments. + // Input for filtering team workloads. Environments []string `json:"environments"` } @@ -28152,13 +28139,13 @@ var AllValkeyTier = []ValkeyTier{ // Input for viewing secret values. type ViewSecretValuesInput struct { - // The name of the secret. + // Input for viewing secret values. Name string `json:"name"` - // The environment the secret exists in. + // Input for viewing secret values. Environment string `json:"environment"` - // The team that owns the secret. + // Input for viewing secret values. Team string `json:"team"` - // Reason for viewing the secret values. Must be at least 10 characters. + // Input for viewing secret values. Reason string `json:"reason"` } diff --git a/schema.graphql b/schema.graphql index 717bf30c..c5553012 100644 --- a/schema.graphql +++ b/schema.graphql @@ -2,478 +2,600 @@ Directs the executor to defer this fragment when the `if` argument is true or undefined. """ directive @defer( - """Deferred when true or undefined.""" - if: Boolean = true - - """Unique name""" - label: String +""" +Deferred when true or undefined. +""" + if: Boolean +""" +Unique name +""" + label: String ) on FRAGMENT_SPREAD | INLINE_FRAGMENT -enum ActivityLogActivityType { - """Filter for credential creation events.""" - CREDENTIALS_CREATE - - """An application was deleted.""" - APPLICATION_DELETED - - """An application was restarted.""" - APPLICATION_RESTARTED - - """An application was scaled.""" - APPLICATION_SCALED - - """All activity log entries related to direct cluster changes.""" - CLUSTER_AUDIT - - """Config was created.""" - CONFIG_CREATED - - """Config was updated.""" - CONFIG_UPDATED - - """Config was deleted.""" - CONFIG_DELETED - - """Activity log entry for deployment activity.""" - DEPLOYMENT - - """Activity log entry for team deploy key updates.""" - TEAM_DEPLOY_KEY_UPDATED - - """Activity log entries related to job deletion.""" - JOB_DELETED - - """Activity log entries related to job triggering.""" - JOB_TRIGGERED - - """OpenSearch was created.""" - OPENSEARCH_CREATED - - """OpenSearch was updated.""" - OPENSEARCH_UPDATED - - """OpenSearch was deleted.""" - OPENSEARCH_DELETED - - """Started service maintenance on OpenSearch instance.""" - OPENSEARCH_MAINTENANCE_STARTED - - """A user was granted access to a Postgres cluster""" - POSTGRES_GRANT_ACCESS - - """Reconciler enabled activity log entry.""" - RECONCILER_ENABLED - - """Reconciler disabled activity log entry.""" - RECONCILER_DISABLED - - """Reconciler configured activity log entry.""" - RECONCILER_CONFIGURED - - """Repository was added to a team.""" - REPOSITORY_ADDED - - """Repository was removed from a team.""" - REPOSITORY_REMOVED - - """Secret was created.""" - SECRET_CREATED - - """Secret value was added.""" - SECRET_VALUE_ADDED - - """Secret value was updated.""" - SECRET_VALUE_UPDATED - - """Secret value was removed.""" - SECRET_VALUE_REMOVED - - """Secret was deleted.""" - SECRET_DELETED - - """Secret values were viewed.""" - SECRET_VALUES_VIEWED - - """Service account was created.""" - SERVICE_ACCOUNT_CREATED - - """Service account was updated.""" - SERVICE_ACCOUNT_UPDATED - - """Service account was deleted.""" - SERVICE_ACCOUNT_DELETED - - """Role was assigned to a service account.""" - SERVICE_ACCOUNT_ROLE_ASSIGNED - - """Role was revoked from a service account.""" - SERVICE_ACCOUNT_ROLE_REVOKED - - """Service account token was created.""" - SERVICE_ACCOUNT_TOKEN_CREATED - - """Service account token was updated.""" - SERVICE_ACCOUNT_TOKEN_UPDATED - - """Service account token was deleted.""" - SERVICE_ACCOUNT_TOKEN_DELETED - - """Team was created.""" - TEAM_CREATED - - """Team was updated.""" - TEAM_UPDATED - - """Team delete key was created.""" - TEAM_CREATE_DELETE_KEY - - """Team delete key was confirmed.""" - TEAM_CONFIRM_DELETE_KEY - - """Team member was added.""" - TEAM_MEMBER_ADDED - - """Team member was removed.""" - TEAM_MEMBER_REMOVED - - """Team member role was set.""" - TEAM_MEMBER_SET_ROLE - - """Team environment was updated.""" - TEAM_ENVIRONMENT_UPDATED - - """Unleash instance was created.""" - UNLEASH_INSTANCE_CREATED - - """Unleash instance was updated.""" - UNLEASH_INSTANCE_UPDATED - - """Unleash instance was deleted.""" - UNLEASH_INSTANCE_DELETED +""" +Marks an element of a GraphQL schema as no longer supported. +""" +directive @deprecated( +""" +Explains why this element was deprecated, usually also including a suggestion for how to access supported similar data. Formatted using the Markdown syntax, as specified by [CommonMark](https://commonmark.org/). +""" + reason: String +) on FIELD_DEFINITION | ARGUMENT_DEFINITION | INPUT_FIELD_DEFINITION | ENUM_VALUE - """Valkey was created.""" - VALKEY_CREATED +""" +Directs the executor to include this field or fragment only when the `if` argument is true. +""" +directive @include( +""" +Included when true. +""" + if: Boolean! +) on FIELD | FRAGMENT_SPREAD | INLINE_FRAGMENT - """Valkey was updated.""" - VALKEY_UPDATED +""" +Indicates exactly one field must be supplied and this field must not be `null`. +""" +directive @oneOf on INPUT_OBJECT - """Valkey was deleted.""" - VALKEY_DELETED +""" +Directs the executor to skip this field or fragment when the `if` argument is true. +""" +directive @skip( +""" +Skipped when true. +""" + if: Boolean! +) on FIELD | FRAGMENT_SPREAD | INLINE_FRAGMENT - """Started service maintenance on Valkey instance.""" - VALKEY_MAINTENANCE_STARTED +""" +Exposes a URL that specifies the behavior of this scalar. +""" +directive @specifiedBy( +""" +The URL that specifies the behavior of this scalar. +""" + url: String! +) on SCALAR - """Activity log entry for when a vulnerability is updated.""" - VULNERABILITY_UPDATED +enum ActivityLogActivityType { +""" +Filter for credential creation events. +""" + CREDENTIALS_CREATE +""" +An application was deleted. +""" + APPLICATION_DELETED +""" +An application was restarted. +""" + APPLICATION_RESTARTED +""" +An application was scaled. +""" + APPLICATION_SCALED +""" +All activity log entries related to direct cluster changes. +""" + CLUSTER_AUDIT +""" +Config was created. +""" + CONFIG_CREATED +""" +Config was updated. +""" + CONFIG_UPDATED +""" +Config was deleted. +""" + CONFIG_DELETED +""" +Activity log entry for deployment activity. +""" + DEPLOYMENT +""" +Activity log entry for team deploy key updates. +""" + TEAM_DEPLOY_KEY_UPDATED +""" +Activity log entries related to job deletion. +""" + JOB_DELETED +""" +Activity log entries related to job triggering. +""" + JOB_TRIGGERED +""" +OpenSearch was created. +""" + OPENSEARCH_CREATED +""" +OpenSearch was updated. +""" + OPENSEARCH_UPDATED +""" +OpenSearch was deleted. +""" + OPENSEARCH_DELETED +""" +Started service maintenance on OpenSearch instance. +""" + OPENSEARCH_MAINTENANCE_STARTED +""" +A user was granted access to a Postgres cluster +""" + POSTGRES_GRANT_ACCESS +""" +Reconciler enabled activity log entry. +""" + RECONCILER_ENABLED +""" +Reconciler disabled activity log entry. +""" + RECONCILER_DISABLED +""" +Reconciler configured activity log entry. +""" + RECONCILER_CONFIGURED +""" +Repository was added to a team. +""" + REPOSITORY_ADDED +""" +Repository was removed from a team. +""" + REPOSITORY_REMOVED +""" +Secret was created. +""" + SECRET_CREATED +""" +Secret value was added. +""" + SECRET_VALUE_ADDED +""" +Secret value was updated. +""" + SECRET_VALUE_UPDATED +""" +Secret value was removed. +""" + SECRET_VALUE_REMOVED +""" +Secret was deleted. +""" + SECRET_DELETED +""" +Secret values were viewed. +""" + SECRET_VALUES_VIEWED +""" +Service account was created. +""" + SERVICE_ACCOUNT_CREATED +""" +Service account was updated. +""" + SERVICE_ACCOUNT_UPDATED +""" +Service account was deleted. +""" + SERVICE_ACCOUNT_DELETED +""" +Role was assigned to a service account. +""" + SERVICE_ACCOUNT_ROLE_ASSIGNED +""" +Role was revoked from a service account. +""" + SERVICE_ACCOUNT_ROLE_REVOKED +""" +Service account token was created. +""" + SERVICE_ACCOUNT_TOKEN_CREATED +""" +Service account token was updated. +""" + SERVICE_ACCOUNT_TOKEN_UPDATED +""" +Service account token was deleted. +""" + SERVICE_ACCOUNT_TOKEN_DELETED +""" +Team was created. +""" + TEAM_CREATED +""" +Team was updated. +""" + TEAM_UPDATED +""" +Team delete key was created. +""" + TEAM_CREATE_DELETE_KEY +""" +Team delete key was confirmed. +""" + TEAM_CONFIRM_DELETE_KEY +""" +Team member was added. +""" + TEAM_MEMBER_ADDED +""" +Team member was removed. +""" + TEAM_MEMBER_REMOVED +""" +Team member role was set. +""" + TEAM_MEMBER_SET_ROLE +""" +Team environment was updated. +""" + TEAM_ENVIRONMENT_UPDATED +""" +Unleash instance was created. +""" + UNLEASH_INSTANCE_CREATED +""" +Unleash instance was updated. +""" + UNLEASH_INSTANCE_UPDATED +""" +Unleash instance was deleted. +""" + UNLEASH_INSTANCE_DELETED +""" +Valkey was created. +""" + VALKEY_CREATED +""" +Valkey was updated. +""" + VALKEY_UPDATED +""" +Valkey was deleted. +""" + VALKEY_DELETED +""" +Started service maintenance on Valkey instance. +""" + VALKEY_MAINTENANCE_STARTED +""" +Activity log entry for when a vulnerability is updated. +""" + VULNERABILITY_UPDATED } -"""Interface for activity log entries.""" +""" +Interface for activity log entries. +""" interface ActivityLogEntry { - """ID of the entry.""" - id: ID! - - """ - The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. - """ - actor: String! - - """Creation time of the entry.""" - createdAt: Time! - - """Message that summarizes the entry.""" - message: String! - - """Type of the resource that was affected by the action.""" - resourceType: ActivityLogEntryResourceType! - - """Name of the resource that was affected by the action.""" - resourceName: String! - - """The team slug that the entry belongs to.""" - teamSlug: Slug - - """The environment name that the entry belongs to.""" - environmentName: String +""" +Interface for activity log entries. +""" + id: ID! +""" +Interface for activity log entries. +""" + actor: String! +""" +Interface for activity log entries. +""" + createdAt: Time! +""" +Interface for activity log entries. +""" + message: String! +""" +Interface for activity log entries. +""" + resourceType: ActivityLogEntryResourceType! +""" +Interface for activity log entries. +""" + resourceName: String! +""" +Interface for activity log entries. +""" + teamSlug: Slug +""" +Interface for activity log entries. +""" + environmentName: String } -"""Activity log connection.""" +""" +Activity log connection. +""" type ActivityLogEntryConnection { - """Pagination information.""" - pageInfo: PageInfo! - - """List of nodes.""" - nodes: [ActivityLogEntry!]! - - """List of edges.""" - edges: [ActivityLogEntryEdge!]! +""" +Pagination information. +""" + pageInfo: PageInfo! +""" +List of nodes. +""" + nodes: [ActivityLogEntry!]! +""" +List of edges. +""" + edges: [ActivityLogEntryEdge!]! } -"""Activity log edge.""" +""" +Activity log edge. +""" type ActivityLogEntryEdge { - """Cursor for this edge that can be used for pagination.""" - cursor: Cursor! - - """The log entry.""" - node: ActivityLogEntry! +""" +Cursor for this edge that can be used for pagination. +""" + cursor: Cursor! +""" +The log entry. +""" + node: ActivityLogEntry! } -"""The type of the resource that was affected by the activity.""" +""" +The type of the resource that was affected by the activity. +""" enum ActivityLogEntryResourceType { - """Unknown type.""" - UNKNOWN - - """ - All activity log entries related to credential creation will use this resource type. - """ - CREDENTIALS - - """ - All activity log entries related to applications will use this resource type. - """ - APP - - """All activity log entries related to direct cluster changes.""" - CLUSTER_AUDIT - - """ - All activity log entries related to configs will use this resource type. - """ - CONFIG - - """ - All activity log entries related to deploy keys will use this resource type. - """ - DEPLOY_KEY - - """All activity log entries related to jobs will use this resource type.""" - JOB - - """ - All activity log entries related to OpenSearches will use this resource type. - """ - OPENSEARCH - - """ - All activity log entries related to Postgres clusters will use this resource type. - """ - POSTGRES - - """ - All activity log entries related to reconcilers will use this resource type. - """ - RECONCILER - - """ - All activity log entries related to repositories will use this resource type. - """ - REPOSITORY - - """ - All activity log entries related to secrets will use this resource type. - """ - SECRET - SERVICE_ACCOUNT - - """All activity log entries related to teams will use this resource type.""" - TEAM - - """ - All activity log entries related to unleash will use this resource type. - """ - UNLEASH - - """ - All activity log entries related to Valkeys will use this resource type. - """ - VALKEY - - """ - All activity log entries related to vulnerabilities will use this resource type. - """ - VULNERABILITY +""" +Unknown type. +""" + UNKNOWN +""" +All activity log entries related to credential creation will use this resource type. +""" + CREDENTIALS +""" +All activity log entries related to applications will use this resource type. +""" + APP +""" +All activity log entries related to direct cluster changes. +""" + CLUSTER_AUDIT +""" +All activity log entries related to configs will use this resource type. +""" + CONFIG +""" +All activity log entries related to deploy keys will use this resource type. +""" + DEPLOY_KEY +""" +All activity log entries related to jobs will use this resource type. +""" + JOB +""" +All activity log entries related to OpenSearches will use this resource type. +""" + OPENSEARCH +""" +All activity log entries related to Postgres clusters will use this resource type. +""" + POSTGRES +""" +All activity log entries related to reconcilers will use this resource type. +""" + RECONCILER +""" +All activity log entries related to repositories will use this resource type. +""" + REPOSITORY +""" +All activity log entries related to secrets will use this resource type. +""" + SECRET + SERVICE_ACCOUNT +""" +All activity log entries related to teams will use this resource type. +""" + TEAM +""" +All activity log entries related to unleash will use this resource type. +""" + UNLEASH +""" +All activity log entries related to Valkeys will use this resource type. +""" + VALKEY +""" +All activity log entries related to vulnerabilities will use this resource type. +""" + VULNERABILITY } input ActivityLogFilter { - activityTypes: [ActivityLogActivityType!] + activityTypes: [ActivityLogActivityType!] } interface ActivityLogger { - """Activity log associated with the type.""" - activityLog( - """ - Get the first n items in the connection. This can be used in combination with the after parameter. - """ - first: Int - - """Get items after this cursor.""" - after: Cursor - - """ - Get the last n items in the connection. This can be used in combination with the before parameter. - """ - last: Int - - """Get items before this cursor.""" - before: Cursor - - """Filter items.""" - filter: ActivityLogFilter - ): ActivityLogEntryConnection! + activityLog( + first: Int + after: Cursor + last: Int + before: Cursor + filter: ActivityLogFilter + ): ActivityLogEntryConnection! } input AddConfigValueInput { - """The name of the config.""" - name: String! - - """The environment the config exists in.""" - environmentName: String! - - """The team that owns the config.""" - teamSlug: Slug! - - """The config value to add.""" - value: ConfigValueInput! -} + name: String! + environmentName: String! + teamSlug: Slug! + value: ConfigValueInput! +} type AddConfigValuePayload { - """The updated config.""" - config: Config +""" +The updated config. +""" + config: Config } input AddRepositoryToTeamInput { - """Slug of the team to add the repository to.""" - teamSlug: Slug! - - """Name of the repository, with the org prefix, for instance 'org/repo'.""" - repositoryName: String! + teamSlug: Slug! + repositoryName: String! } type AddRepositoryToTeamPayload { - """Repository that was added to the team.""" - repository: Repository +""" +Repository that was added to the team. +""" + repository: Repository } input AddSecretValueInput { - """The name of the secret.""" - name: String! - - """The environment the secret exists in.""" - environment: String! - - """The team that owns the secret.""" - team: Slug! - - """The secret value to set.""" - value: SecretValueInput! + name: String! + environment: String! + team: Slug! + value: SecretValueInput! } type AddSecretValuePayload { - """The updated secret.""" - secret: Secret +""" +The updated secret. +""" + secret: Secret } input AddTeamMemberInput { - """Slug of the team that should receive a new member.""" - teamSlug: Slug! - - """The email address of the user to add to the team.""" - userEmail: String! - - """The role that the user will have in the team.""" - role: TeamMemberRole! + teamSlug: Slug! + userEmail: String! + role: TeamMemberRole! } type AddTeamMemberPayload { - """The added team member.""" - member: TeamMember +""" +The added team member. +""" + member: TeamMember } -"""Alert interface.""" +""" +Alert interface. +""" interface Alert { - """The unique identifier of the alert.""" - id: ID! - - """The name of the alert.""" - name: String! - - """The team responsible for the alert.""" - team: Team! - - """The team environment associated with the alert.""" - teamEnvironment: TeamEnvironment! - - """The current state of the alert (e.g. FIRING, PENDING, INACTIVE).""" - state: AlertState! - - """The query or expression evaluated for the alert.""" - query: String! - - """ - The time in seconds the alert condition must be met before it activates. - """ - duration: Float! +""" +Alert interface. +""" + id: ID! +""" +Alert interface. +""" + name: String! +""" +Alert interface. +""" + team: Team! +""" +Alert interface. +""" + teamEnvironment: TeamEnvironment! +""" +Alert interface. +""" + state: AlertState! +""" +Alert interface. +""" + query: String! +""" +Alert interface. +""" + duration: Float! } -"""AlertConnection connection.""" +""" +AlertConnection connection. +""" type AlertConnection { - """Pagination information.""" - pageInfo: PageInfo! - - """List of nodes.""" - nodes: [Alert!]! - - """List of edges.""" - edges: [AlertEdge!]! +""" +Pagination information. +""" + pageInfo: PageInfo! +""" +List of nodes. +""" + nodes: [Alert!]! +""" +List of edges. +""" + edges: [AlertEdge!]! } -"""Alert edge.""" +""" +Alert edge. +""" type AlertEdge { - """Cursor for this edge that can be used for pagination.""" - cursor: Cursor! - - """The Alert.""" - node: Alert! +""" +Cursor for this edge that can be used for pagination. +""" + cursor: Cursor! +""" +The Alert. +""" + node: Alert! } -"""Ordering options when fetching alerts.""" +""" +Ordering options when fetching alerts. +""" input AlertOrder { - """The field to order items by.""" - field: AlertOrderField! - - """The direction to order items by.""" - direction: OrderDirection! +""" +Ordering options when fetching alerts. +""" + field: AlertOrderField! +""" +Ordering options when fetching alerts. +""" + direction: OrderDirection! } -"""Fields to order alerts in an environment by.""" +""" +Fields to order alerts in an environment by. +""" enum AlertOrderField { - """Order by name.""" - NAME - - """Order by state.""" - STATE - - """ENVIRONMENT""" - ENVIRONMENT +""" +Order by name. +""" + NAME +""" +Order by state. +""" + STATE +""" +ENVIRONMENT +""" + ENVIRONMENT } enum AlertState { - """Only return alerts that are firing.""" - FIRING - - """Only return alerts that are inactive.""" - INACTIVE - - """Only return alerts that are pending.""" - PENDING +""" +Only return alerts that are firing. +""" + FIRING +""" +Only return alerts that are inactive. +""" + INACTIVE +""" +Only return alerts that are pending. +""" + PENDING } input AllowTeamAccessToUnleashInput { - teamSlug: Slug! - allowedTeamSlug: Slug! + teamSlug: Slug! + allowedTeamSlug: Slug! } type AllowTeamAccessToUnleashPayload { - unleash: UnleashInstance + unleash: UnleashInstance } """ @@ -481,482 +603,604 @@ An application lets you run one or more instances of a container image on the [N Learn more about how to create and configure your applications in the [Nais documentation](https://docs.nais.io/workloads/application/). """ -type Application implements Node & Workload & ActivityLogger { - """The globally unique ID of the application.""" - id: ID! - - """The name of the application.""" - name: String! - - """The team that owns the application.""" - team: Team! - - """The environment the application is deployed in.""" - environment: TeamEnvironment! @deprecated(reason: "Use the `teamEnvironment` field instead.") - - """The team environment for the application.""" - teamEnvironment: TeamEnvironment! - - """The container image of the application.""" - image: ContainerImage! - - """Resources for the application.""" - resources: ApplicationResources! - - """List of ingresses for the application.""" - ingresses: [Ingress!]! - - """List of authentication and authorization for the application.""" - authIntegrations: [ApplicationAuthIntegrations!]! - - """The application manifest.""" - manifest: ApplicationManifest! - - """The application instances.""" - instances( - """ - Get the first n items in the connection. This can be used in combination with the after parameter. - """ - first: Int +type Application implements Node & Workload & ActivityLogger{ +""" +The globally unique ID of the application. +""" + id: ID! +""" +The name of the application. +""" + name: String! +""" +The team that owns the application. +""" + team: Team! +""" +The environment the application is deployed in. +""" + environment: TeamEnvironment! @deprecated(reason: "Use the `teamEnvironment` field instead.") +""" +The team environment for the application. +""" + teamEnvironment: TeamEnvironment! +""" +The container image of the application. +""" + image: ContainerImage! +""" +Resources for the application. +""" + resources: ApplicationResources! +""" +List of ingresses for the application. +""" + ingresses: [Ingress!]! +""" +List of authentication and authorization for the application. +""" + authIntegrations: [ApplicationAuthIntegrations!]! +""" +The application manifest. +""" + manifest: ApplicationManifest! +""" +The application instances. +""" + instances( +""" +Get the first n items in the connection. This can be used in combination with the after parameter. +""" + first: Int +""" +Get items after this cursor. +""" + after: Cursor +""" +Get the last n items in the connection. This can be used in combination with the before parameter. +""" + last: Int +""" +Get items before this cursor. +""" + before: Cursor + ): ApplicationInstanceConnection! +""" +If set, when the application was marked for deletion. +""" + deletionStartedAt: Time +""" +Activity log associated with the application. +""" + activityLog( +""" +Get the first n items in the connection. This can be used in combination with the after parameter. +""" + first: Int +""" +Get items after this cursor. +""" + after: Cursor +""" +Get the last n items in the connection. This can be used in combination with the before parameter. +""" + last: Int +""" +Get items before this cursor. +""" + before: Cursor +""" +Filter items. +""" + filter: ActivityLogFilter + ): ActivityLogEntryConnection! +""" +The application state. +""" + state: ApplicationState! +""" +Issues that affect the application. +""" + issues( +""" +Get the first n items in the connection. This can be used in combination with the after parameter. +""" + first: Int +""" +Get items after this cursor. +""" + after: Cursor +""" +Get the last n items in the connection. This can be used in combination with the before parameter. +""" + last: Int +""" +Get items before this cursor. +""" + before: Cursor +""" +Ordering options for items returned from the connection. +""" + orderBy: IssueOrder +""" +Filtering options for items returned from the connection. +""" + filter: ResourceIssueFilter + ): IssueConnection! +""" +BigQuery datasets referenced by the application. This does not currently support pagination, but will return all available datasets. +""" + bigQueryDatasets( +""" +Ordering options for items returned from the connection. +""" + orderBy: BigQueryDatasetOrder + ): BigQueryDatasetConnection! +""" +Google Cloud Storage referenced by the application. This does not currently support pagination, but will return all available buckets. +""" + buckets( +""" +Ordering options for items returned from the connection. +""" + orderBy: BucketOrder + ): BucketConnection! +""" +Configs used by the application. +""" + configs( +""" +Get the first n items in the connection. This can be used in combination with the after parameter. +""" + first: Int +""" +Get items after this cursor. +""" + after: Cursor +""" +Get the last n items in the connection. This can be used in combination with the before parameter. +""" + last: Int +""" +Get items before this cursor. +""" + before: Cursor + ): ConfigConnection! +""" +The cost for the application. +""" + cost: WorkloadCost! +""" +List of deployments for the application. +""" + deployments( +""" +Get the first n items in the connection. This can be used in combination with the after parameter. +""" + first: Int +""" +Get items after this cursor. +""" + after: Cursor +""" +Get the last n items in the connection. This can be used in combination with the before parameter. +""" + last: Int +""" +Get items before this cursor. +""" + before: Cursor + ): DeploymentConnection! +""" +Kafka topics the application has access to. This does not currently support pagination, but will return all available Kafka topics. +""" + kafkaTopicAcls( +""" +Ordering options for items returned from the connection. +""" + orderBy: KafkaTopicAclOrder + ): KafkaTopicAclConnection! +""" +List of log destinations for the application. +""" + logDestinations: [LogDestination!]! +""" +Network policies for the application. +""" + networkPolicy: NetworkPolicy! +""" +OpenSearch instance referenced by the workload. +""" + openSearch: OpenSearch +""" +Postgres instances referenced by the application. This does not currently support pagination, but will return all available Postgres instances. +""" + postgresInstances( +""" +Ordering options for items returned from the connection. +""" + orderBy: PostgresInstanceOrder + ): PostgresInstanceConnection! +""" +Secrets used by the application. +""" + secrets( +""" +Get the first n items in the connection. This can be used in combination with the after parameter. +""" + first: Int +""" +Get items after this cursor. +""" + after: Cursor +""" +Get the last n items in the connection. This can be used in combination with the before parameter. +""" + last: Int +""" +Get items before this cursor. +""" + before: Cursor + ): SecretConnection! +""" +SQL instances referenced by the application. This does not currently support pagination, but will return all available SQL instances. +""" + sqlInstances( +""" +Ordering options for items returned from the connection. +""" + orderBy: SqlInstanceOrder + ): SqlInstanceConnection! + utilization: WorkloadUtilization! +""" +Valkey instances referenced by the application. This does not currently support pagination, but will return all available Valkey instances. +""" + valkeys( +""" +Ordering options for items returned from the connection. +""" + orderBy: ValkeyOrder + ): ValkeyConnection! +""" +Get the vulnerability summary history for application. +""" + imageVulnerabilityHistory( +""" +Get vulnerability summary from given date until today. +""" + from: Date! + ): ImageVulnerabilityHistory! +""" +Get the mean time to fix history for an application. +""" + vulnerabilityFixHistory( + from: Date! + ): VulnerabilityFixHistory! +} - """Get items after this cursor.""" - after: Cursor +""" +Authentication integrations for the application. +""" +union ApplicationAuthIntegrations =EntraIDAuthIntegration | IDPortenAuthIntegration | MaskinportenAuthIntegration | TokenXAuthIntegration - """ - Get the last n items in the connection. This can be used in combination with the before parameter. - """ - last: Int - - """Get items before this cursor.""" - before: Cursor - ): ApplicationInstanceConnection! - - """If set, when the application was marked for deletion.""" - deletionStartedAt: Time - - """Activity log associated with the application.""" - activityLog( - """ - Get the first n items in the connection. This can be used in combination with the after parameter. - """ - first: Int - - """Get items after this cursor.""" - after: Cursor - - """ - Get the last n items in the connection. This can be used in combination with the before parameter. - """ - last: Int - - """Get items before this cursor.""" - before: Cursor - - """Filter items.""" - filter: ActivityLogFilter - ): ActivityLogEntryConnection! - - """The application state.""" - state: ApplicationState! - - """Issues that affect the application.""" - issues( - """ - Get the first n items in the connection. This can be used in combination with the after parameter. - """ - first: Int - - """Get items after this cursor.""" - after: Cursor - - """ - Get the last n items in the connection. This can be used in combination with the before parameter. - """ - last: Int - - """Get items before this cursor.""" - before: Cursor - - """Ordering options for items returned from the connection.""" - orderBy: IssueOrder - - """Filtering options for items returned from the connection.""" - filter: ResourceIssueFilter - ): IssueConnection! - - """ - BigQuery datasets referenced by the application. This does not currently support pagination, but will return all available datasets. - """ - bigQueryDatasets( - """Ordering options for items returned from the connection.""" - orderBy: BigQueryDatasetOrder - ): BigQueryDatasetConnection! - - """ - Google Cloud Storage referenced by the application. This does not currently support pagination, but will return all available buckets. - """ - buckets( - """Ordering options for items returned from the connection.""" - orderBy: BucketOrder - ): BucketConnection! - - """Configs used by the application.""" - configs( - """ - Get the first n items in the connection. This can be used in combination with the after parameter. - """ - first: Int - - """Get items after this cursor.""" - after: Cursor - - """ - Get the last n items in the connection. This can be used in combination with the before parameter. - """ - last: Int - - """Get items before this cursor.""" - before: Cursor - ): ConfigConnection! - - """The cost for the application.""" - cost: WorkloadCost! - - """List of deployments for the application.""" - deployments( - """ - Get the first n items in the connection. This can be used in combination with the after parameter. - """ - first: Int - - """Get items after this cursor.""" - after: Cursor - - """ - Get the last n items in the connection. This can be used in combination with the before parameter. - """ - last: Int - - """Get items before this cursor.""" - before: Cursor - ): DeploymentConnection! - - """ - Kafka topics the application has access to. This does not currently support pagination, but will return all available Kafka topics. - """ - kafkaTopicAcls( - """Ordering options for items returned from the connection.""" - orderBy: KafkaTopicAclOrder - ): KafkaTopicAclConnection! - - """List of log destinations for the application.""" - logDestinations: [LogDestination!]! - - """Network policies for the application.""" - networkPolicy: NetworkPolicy! - - """OpenSearch instance referenced by the workload.""" - openSearch: OpenSearch - - """ - Postgres instances referenced by the application. This does not currently support pagination, but will return all available Postgres instances. - """ - postgresInstances( - """Ordering options for items returned from the connection.""" - orderBy: PostgresInstanceOrder - ): PostgresInstanceConnection! - - """Secrets used by the application.""" - secrets( - """ - Get the first n items in the connection. This can be used in combination with the after parameter. - """ - first: Int - - """Get items after this cursor.""" - after: Cursor - - """ - Get the last n items in the connection. This can be used in combination with the before parameter. - """ - last: Int - - """Get items before this cursor.""" - before: Cursor - ): SecretConnection! - - """ - SQL instances referenced by the application. This does not currently support pagination, but will return all available SQL instances. - """ - sqlInstances( - """Ordering options for items returned from the connection.""" - orderBy: SqlInstanceOrder - ): SqlInstanceConnection! - utilization: WorkloadUtilization! - - """ - Valkey instances referenced by the application. This does not currently support pagination, but will return all available Valkey instances. - """ - valkeys( - """Ordering options for items returned from the connection.""" - orderBy: ValkeyOrder - ): ValkeyConnection! - - """Get the vulnerability summary history for application.""" - imageVulnerabilityHistory( - """Get vulnerability summary from given date until today.""" - from: Date! - ): ImageVulnerabilityHistory! - - """Get the mean time to fix history for an application.""" - vulnerabilityFixHistory(from: Date!): VulnerabilityFixHistory! -} - -"""Authentication integrations for the application.""" -union ApplicationAuthIntegrations = EntraIDAuthIntegration | IDPortenAuthIntegration | MaskinportenAuthIntegration | TokenXAuthIntegration - -"""Application connection.""" +""" +Application connection. +""" type ApplicationConnection { - """Pagination information.""" - pageInfo: PageInfo! - - """List of nodes.""" - nodes: [Application!]! - - """List of edges.""" - edges: [ApplicationEdge!]! +""" +Pagination information. +""" + pageInfo: PageInfo! +""" +List of nodes. +""" + nodes: [Application!]! +""" +List of edges. +""" + edges: [ApplicationEdge!]! } -type ApplicationDeletedActivityLogEntry implements ActivityLogEntry & Node { - """ID of the entry.""" - id: ID! - - """ - The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. - """ - actor: String! - - """Creation time of the entry.""" - createdAt: Time! - - """Message that summarizes the entry.""" - message: String! - - """Type of the resource that was affected by the action.""" - resourceType: ActivityLogEntryResourceType! - - """Name of the resource that was affected by the action.""" - resourceName: String! - - """The team slug that the entry belongs to.""" - teamSlug: Slug! - - """The environment name that the entry belongs to.""" - environmentName: String +type ApplicationDeletedActivityLogEntry implements ActivityLogEntry & Node{ +""" +ID of the entry. +""" + id: ID! +""" +The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. +""" + actor: String! +""" +Creation time of the entry. +""" + createdAt: Time! +""" +Message that summarizes the entry. +""" + message: String! +""" +Type of the resource that was affected by the action. +""" + resourceType: ActivityLogEntryResourceType! +""" +Name of the resource that was affected by the action. +""" + resourceName: String! +""" +The team slug that the entry belongs to. +""" + teamSlug: Slug! +""" +The environment name that the entry belongs to. +""" + environmentName: String } -"""Application edge.""" +""" +Application edge. +""" type ApplicationEdge { - """Cursor for this edge that can be used for pagination.""" - cursor: Cursor! - - """The application.""" - node: Application! +""" +Cursor for this edge that can be used for pagination. +""" + cursor: Cursor! +""" +The application. +""" + node: Application! } -type ApplicationInstance implements Node { - id: ID! - name: String! - image: ContainerImage! - restarts: Int! - created: Time! - status: ApplicationInstanceStatus! - instanceUtilization(resourceType: UtilizationResourceType!): ApplicationInstanceUtilization! +type ApplicationInstance implements Node{ + id: ID! + name: String! + image: ContainerImage! + restarts: Int! + created: Time! + status: ApplicationInstanceStatus! + instanceUtilization( + resourceType: UtilizationResourceType! + ): ApplicationInstanceUtilization! } type ApplicationInstanceConnection { - """Pagination information.""" - pageInfo: PageInfo! - - """List of nodes.""" - nodes: [ApplicationInstance!]! - - """List of edges.""" - edges: [ApplicationInstanceEdge!]! +""" +Pagination information. +""" + pageInfo: PageInfo! +""" +List of nodes. +""" + nodes: [ApplicationInstance!]! +""" +List of edges. +""" + edges: [ApplicationInstanceEdge!]! } type ApplicationInstanceEdge { - """Cursor for this edge that can be used for pagination.""" - cursor: Cursor! - - """The instance.""" - node: ApplicationInstance! +""" +Cursor for this edge that can be used for pagination. +""" + cursor: Cursor! +""" +The instance. +""" + node: ApplicationInstance! } enum ApplicationInstanceState { - RUNNING - STARTING - FAILING - UNKNOWN + RUNNING + STARTING + FAILING + UNKNOWN } type ApplicationInstanceStatus { - state: ApplicationInstanceState! - message: String! + state: ApplicationInstanceState! + message: String! } type ApplicationInstanceUtilization { - """Get the current usage for the requested resource type.""" - current: Float! +""" +Get the current usage for the requested resource type. +""" + current: Float! } -"""The manifest that describes the application.""" -type ApplicationManifest implements WorkloadManifest { - """The manifest content, serialized as a YAML document.""" - content: String! +""" +The manifest that describes the application. +""" +type ApplicationManifest implements WorkloadManifest{ +""" +The manifest content, serialized as a YAML document. +""" + content: String! } -"""Ordering options when fetching applications.""" +""" +Ordering options when fetching applications. +""" input ApplicationOrder { - """The field to order items by.""" - field: ApplicationOrderField! - - """The direction to order items by.""" - direction: OrderDirection! +""" +Ordering options when fetching applications. +""" + field: ApplicationOrderField! +""" +Ordering options when fetching applications. +""" + direction: OrderDirection! } -"""Fields to order applications by.""" +""" +Fields to order applications by. +""" enum ApplicationOrderField { - """Order applications by name.""" - NAME - - """Order applications by the name of the environment.""" - ENVIRONMENT - - """Order applications by state.""" - STATE - - """Order applications by the deployment time.""" - DEPLOYMENT_TIME - - """Order applications by issue severity""" - ISSUES +""" +Order applications by name. +""" + NAME +""" +Order applications by the name of the environment. +""" + ENVIRONMENT +""" +Order applications by state. +""" + STATE +""" +Order applications by the deployment time. +""" + DEPLOYMENT_TIME +""" +Order applications by issue severity +""" + ISSUES } -type ApplicationResources implements WorkloadResources { - """Instances using resources above this threshold will be killed.""" - limits: WorkloadResourceQuantity! - - """How many resources are allocated to each instance.""" - requests: WorkloadResourceQuantity! - - """Scaling strategies for the application.""" - scaling: ApplicationScaling! +type ApplicationResources implements WorkloadResources{ +""" +Instances using resources above this threshold will be killed. +""" + limits: WorkloadResourceQuantity! +""" +How many resources are allocated to each instance. +""" + requests: WorkloadResourceQuantity! +""" +Scaling strategies for the application. +""" + scaling: ApplicationScaling! } -type ApplicationRestartedActivityLogEntry implements ActivityLogEntry & Node { - """ID of the entry.""" - id: ID! - - """ - The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. - """ - actor: String! - - """Creation time of the entry.""" - createdAt: Time! - - """Message that summarizes the entry.""" - message: String! - - """Type of the resource that was affected by the action.""" - resourceType: ActivityLogEntryResourceType! - - """Name of the resource that was affected by the action.""" - resourceName: String! - - """The team slug that the entry belongs to.""" - teamSlug: Slug! - - """The environment name that the entry belongs to.""" - environmentName: String +type ApplicationRestartedActivityLogEntry implements ActivityLogEntry & Node{ +""" +ID of the entry. +""" + id: ID! +""" +The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. +""" + actor: String! +""" +Creation time of the entry. +""" + createdAt: Time! +""" +Message that summarizes the entry. +""" + message: String! +""" +Type of the resource that was affected by the action. +""" + resourceType: ActivityLogEntryResourceType! +""" +Name of the resource that was affected by the action. +""" + resourceName: String! +""" +The team slug that the entry belongs to. +""" + teamSlug: Slug! +""" +The environment name that the entry belongs to. +""" + environmentName: String } -type ApplicationScaledActivityLogEntry implements ActivityLogEntry & Node { - """ID of the entry.""" - id: ID! - - """ - The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. - """ - actor: String! - - """Creation time of the entry.""" - createdAt: Time! - - """Message that summarizes the entry.""" - message: String! - - """Type of the resource that was affected by the action.""" - resourceType: ActivityLogEntryResourceType! - - """Name of the resource that was affected by the action.""" - resourceName: String! - - """The team slug that the entry belongs to.""" - teamSlug: Slug! - - """The environment name that the entry belongs to.""" - environmentName: String - - """Data associated with the update.""" - data: ApplicationScaledActivityLogEntryData! +type ApplicationScaledActivityLogEntry implements ActivityLogEntry & Node{ +""" +ID of the entry. +""" + id: ID! +""" +The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. +""" + actor: String! +""" +Creation time of the entry. +""" + createdAt: Time! +""" +Message that summarizes the entry. +""" + message: String! +""" +Type of the resource that was affected by the action. +""" + resourceType: ActivityLogEntryResourceType! +""" +Name of the resource that was affected by the action. +""" + resourceName: String! +""" +The team slug that the entry belongs to. +""" + teamSlug: Slug! +""" +The environment name that the entry belongs to. +""" + environmentName: String +""" +Data associated with the update. +""" + data: ApplicationScaledActivityLogEntryData! } type ApplicationScaledActivityLogEntryData { - newSize: Int! - direction: ScalingDirection! + newSize: Int! + direction: ScalingDirection! } -"""The scaling configuration of an application.""" +""" +The scaling configuration of an application. +""" type ApplicationScaling { - """The minimum number of application instances.""" - minInstances: Int! - - """The maximum number of application instances.""" - maxInstances: Int! - - """Scaling strategies for the application.""" - strategies: [ScalingStrategy!]! +""" +The minimum number of application instances. +""" + minInstances: Int! +""" +The maximum number of application instances. +""" + maxInstances: Int! +""" +Scaling strategies for the application. +""" + strategies: [ScalingStrategy!]! } enum ApplicationState { - """The application is running.""" - RUNNING - - """The application is not running.""" - NOT_RUNNING - - """The application state is unknown.""" - UNKNOWN +""" +The application is running. +""" + RUNNING +""" +The application is not running. +""" + NOT_RUNNING +""" +The application state is unknown. +""" + UNKNOWN } input AssignRoleToServiceAccountInput { - """The ID of the service account to assign the role to.""" - serviceAccountID: ID! - - """The name of the role to assign.""" - roleName: String! + serviceAccountID: ID! + roleName: String! } type AssignRoleToServiceAccountPayload { - """The service account that had a role assigned.""" - serviceAccount: ServiceAccount +""" +The service account that had a role assigned. +""" + serviceAccount: ServiceAccount } type AuditLog { - """Link to the audit log for this SQL instance.""" - logUrl: String! +""" +Link to the audit log for this SQL instance. +""" + logUrl: String! } """ @@ -965,114 +1209,131 @@ Interface for authentication and authorization integrations. Read more about this topic in the [Nais documentation](https://docs.nais.io/auth/). """ interface AuthIntegration { - """The name of the integration.""" - name: String! -} +""" +Interface for authentication and authorization integrations. -"""Authenticated user type.""" -union AuthenticatedUser = User | ServiceAccount +Read more about this topic in the [Nais documentation](https://docs.nais.io/auth/). +""" + name: String! +} -type BigQueryDataset implements Persistence & Node { - id: ID! - name: String! - team: Team! - environment: TeamEnvironment! @deprecated(reason: "Use the `teamEnvironment` field instead.") - teamEnvironment: TeamEnvironment! - cascadingDelete: Boolean! - description: String - access(first: Int, after: Cursor, last: Int, before: Cursor, orderBy: BigQueryDatasetAccessOrder): BigQueryDatasetAccessConnection! - status: BigQueryDatasetStatus! - workload: Workload - cost: BigQueryDatasetCost! +""" +Authenticated user type. +""" +union AuthenticatedUser =User | ServiceAccount + +type BigQueryDataset implements Persistence & Node{ + id: ID! + name: String! + team: Team! + environment: TeamEnvironment! @deprecated(reason: "Use the `teamEnvironment` field instead.") + teamEnvironment: TeamEnvironment! + cascadingDelete: Boolean! + description: String + access( + first: Int + after: Cursor + last: Int + before: Cursor + orderBy: BigQueryDatasetAccessOrder + ): BigQueryDatasetAccessConnection! + status: BigQueryDatasetStatus! + workload: Workload + cost: BigQueryDatasetCost! } type BigQueryDatasetAccess { - role: String! - email: String! + role: String! + email: String! } type BigQueryDatasetAccessConnection { - pageInfo: PageInfo! - nodes: [BigQueryDatasetAccess!]! - edges: [BigQueryDatasetAccessEdge!]! + pageInfo: PageInfo! + nodes: [BigQueryDatasetAccess!]! + edges: [BigQueryDatasetAccessEdge!]! } type BigQueryDatasetAccessEdge { - cursor: Cursor! - node: BigQueryDatasetAccess! + cursor: Cursor! + node: BigQueryDatasetAccess! } input BigQueryDatasetAccessOrder { - field: BigQueryDatasetAccessOrderField! - direction: OrderDirection! + field: BigQueryDatasetAccessOrderField! + direction: OrderDirection! } enum BigQueryDatasetAccessOrderField { - ROLE - EMAIL + ROLE + EMAIL } type BigQueryDatasetConnection { - pageInfo: PageInfo! - nodes: [BigQueryDataset!]! - edges: [BigQueryDatasetEdge!]! + pageInfo: PageInfo! + nodes: [BigQueryDataset!]! + edges: [BigQueryDatasetEdge!]! } type BigQueryDatasetCost { - sum: Float! + sum: Float! } type BigQueryDatasetEdge { - cursor: Cursor! - node: BigQueryDataset! + cursor: Cursor! + node: BigQueryDataset! } input BigQueryDatasetOrder { - field: BigQueryDatasetOrderField! - direction: OrderDirection! + field: BigQueryDatasetOrderField! + direction: OrderDirection! } enum BigQueryDatasetOrderField { - NAME - ENVIRONMENT + NAME + ENVIRONMENT } type BigQueryDatasetStatus { - creationTime: Time! - lastModifiedTime: Time + creationTime: Time! + lastModifiedTime: Time } -type Bucket implements Persistence & Node { - id: ID! - name: String! - team: Team! - environment: TeamEnvironment! @deprecated(reason: "Use the `teamEnvironment` field instead.") - teamEnvironment: TeamEnvironment! - cascadingDelete: Boolean! - publicAccessPrevention: String! - uniformBucketLevelAccess: Boolean! - workload: Workload +""" +The `Boolean` scalar type represents `true` or `false`. +""" +scalar Boolean + +type Bucket implements Persistence & Node{ + id: ID! + name: String! + team: Team! + environment: TeamEnvironment! @deprecated(reason: "Use the `teamEnvironment` field instead.") + teamEnvironment: TeamEnvironment! + cascadingDelete: Boolean! + publicAccessPrevention: String! + uniformBucketLevelAccess: Boolean! + workload: Workload } type BucketConnection { - pageInfo: PageInfo! - nodes: [Bucket!]! - edges: [BucketEdge!]! + pageInfo: PageInfo! + nodes: [Bucket!]! + edges: [BucketEdge!]! } type BucketEdge { - cursor: Cursor! - node: Bucket! + cursor: Cursor! + node: Bucket! } input BucketOrder { - field: BucketOrderField! - direction: OrderDirection! + field: BucketOrderField! + direction: OrderDirection! } enum BucketOrderField { - NAME - ENVIRONMENT + NAME + ENVIRONMENT } """ @@ -1081,850 +1342,907 @@ A scaling strategy based on CPU usage Read more: https://docs.nais.io/workloads/application/reference/automatic-scaling/#cpu-based-scaling """ type CPUScalingStrategy { - """The threshold that must be met for the scaling to trigger.""" - threshold: Int! +""" +The threshold that must be met for the scaling to trigger. +""" + threshold: Int! } -type CVE implements Node { - """The globally unique ID of the CVE.""" - id: ID! - - """The unique identifier of the CVE. E.g. CVE-****-****.""" - identifier: String! - - """Severity of the CVE.""" - severity: ImageVulnerabilitySeverity! - - """Title of the CVE""" - title: String! - - """Description of the CVE.""" - description: String! - - """Link to the CVE details.""" - detailsLink: String! - - """CVSS score of the CVE.""" - cvssScore: Float - - """Affected workloads""" - workloads( - """ - Get the first n items in the connection. This can be used in combination with the after parameter. - """ - first: Int - - """Get items after this cursor.""" - after: Cursor - - """ - Get the last n items in the connection. This can be used in combination with the before parameter. - """ - last: Int - - """Get items before this cursor.""" - before: Cursor - ): WorkloadWithVulnerabilityConnection! +type CVE implements Node{ +""" +The globally unique ID of the CVE. +""" + id: ID! +""" +The unique identifier of the CVE. E.g. CVE-****-****. +""" + identifier: String! +""" +Severity of the CVE. +""" + severity: ImageVulnerabilitySeverity! +""" +Title of the CVE +""" + title: String! +""" +Description of the CVE. +""" + description: String! +""" +Link to the CVE details. +""" + detailsLink: String! +""" +CVSS score of the CVE. +""" + cvssScore: Float +""" +Affected workloads +""" + workloads( +""" +Get the first n items in the connection. This can be used in combination with the after parameter. +""" + first: Int +""" +Get items after this cursor. +""" + after: Cursor +""" +Get the last n items in the connection. This can be used in combination with the before parameter. +""" + last: Int +""" +Get items before this cursor. +""" + before: Cursor + ): WorkloadWithVulnerabilityConnection! } type CVEConnection { - """Information to aid in pagination.""" - pageInfo: PageInfo! - - """List of edges.""" - edges: [CVEEdge!]! - - """List of nodes.""" - nodes: [CVE!]! +""" +Information to aid in pagination. +""" + pageInfo: PageInfo! +""" +List of edges. +""" + edges: [CVEEdge!]! +""" +List of nodes. +""" + nodes: [CVE!]! } type CVEEdge { - """A cursor for use in pagination.""" - cursor: Cursor! - - """The CVE.""" - node: CVE! +""" +A cursor for use in pagination. +""" + cursor: Cursor! +""" +The CVE. +""" + node: CVE! } -"""Ordering options when fetching CVEs.""" +""" +Ordering options when fetching CVEs. +""" input CVEOrder { - """The field to order items by.""" - field: CVEOrderField! - - """The direction to order items by.""" - direction: OrderDirection! +""" +Ordering options when fetching CVEs. +""" + field: CVEOrderField! +""" +Ordering options when fetching CVEs. +""" + direction: OrderDirection! } enum CVEOrderField { - IDENTIFIER - SEVERITY - CVSS_SCORE - AFFECTED_WORKLOADS_COUNT + IDENTIFIER + SEVERITY + CVSS_SCORE + AFFECTED_WORKLOADS_COUNT } input ChangeDeploymentKeyInput { - """The name of the team to update the deploy key for.""" - teamSlug: Slug! + teamSlug: Slug! } type ChangeDeploymentKeyPayload { - """The updated deploy key.""" - deploymentKey: DeploymentKey +""" +The updated deploy key. +""" + deploymentKey: DeploymentKey } -type ClusterAuditActivityLogEntry implements ActivityLogEntry & Node { - """ID of the entry.""" - id: ID! - - """ - The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. - """ - actor: String! - - """Creation time of the entry.""" - createdAt: Time! - - """Message that summarizes the entry.""" - message: String! - - """Type of the resource that was affected by the action.""" - resourceType: ActivityLogEntryResourceType! - - """Name of the resource that was affected by the action.""" - resourceName: String! - - """The team slug that the entry belongs to.""" - teamSlug: Slug! - - """The environment name that the entry belongs to.""" - environmentName: String - - """Data associated with the entry.""" - data: ClusterAuditActivityLogEntryData! +type ClusterAuditActivityLogEntry implements ActivityLogEntry & Node{ +""" +ID of the entry. +""" + id: ID! +""" +The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. +""" + actor: String! +""" +Creation time of the entry. +""" + createdAt: Time! +""" +Message that summarizes the entry. +""" + message: String! +""" +Type of the resource that was affected by the action. +""" + resourceType: ActivityLogEntryResourceType! +""" +Name of the resource that was affected by the action. +""" + resourceName: String! +""" +The team slug that the entry belongs to. +""" + teamSlug: Slug! +""" +The environment name that the entry belongs to. +""" + environmentName: String +""" +Data associated with the entry. +""" + data: ClusterAuditActivityLogEntryData! } type ClusterAuditActivityLogEntryData { - """The action that was performed.""" - action: String! - - """The kind of resource that was affected by the action.""" - resourceKind: String! -} - -"""A config is a collection of key-value pairs.""" -type Config implements Node & ActivityLogger { - """The globally unique ID of the config.""" - id: ID! - - """The name of the config.""" - name: String! - - """The environment the config exists in.""" - teamEnvironment: TeamEnvironment! - - """The team that owns the config.""" - team: Team! - - """The values stored in the config.""" - values: [ConfigValue!]! - - """Applications that use the config.""" - applications( - """ - Get the first n items in the connection. This can be used in combination with the after parameter. - """ - first: Int - - """Get items after this cursor.""" - after: Cursor - - """ - Get the last n items in the connection. This can be used in combination with the before parameter. - """ - last: Int - - """Get items before this cursor.""" - before: Cursor - ): ApplicationConnection! - - """Jobs that use the config.""" - jobs( - """ - Get the first n items in the connection. This can be used in combination with the after parameter. - """ - first: Int - - """Get items after this cursor.""" - after: Cursor - - """ - Get the last n items in the connection. This can be used in combination with the before parameter. - """ - last: Int - - """Get items before this cursor.""" - before: Cursor - ): JobConnection! - - """Workloads that use the config.""" - workloads( - """ - Get the first n items in the connection. This can be used in combination with the after parameter. - """ - first: Int - - """Get items after this cursor.""" - after: Cursor - - """ - Get the last n items in the connection. This can be used in combination with the before parameter. - """ - last: Int - - """Get items before this cursor.""" - before: Cursor - ): WorkloadConnection! - - """Last time the config was modified.""" - lastModifiedAt: Time - - """User who last modified the config.""" - lastModifiedBy: User - - """Activity log associated with the config.""" - activityLog( - """ - Get the first n items in the connection. This can be used in combination with the after parameter. - """ - first: Int - - """Get items after this cursor.""" - after: Cursor - - """ - Get the last n items in the connection. This can be used in combination with the before parameter. - """ - last: Int - - """Get items before this cursor.""" - before: Cursor - - """Filter items.""" - filter: ActivityLogFilter - ): ActivityLogEntryConnection! -} - -type ConfigConnection { - """Pagination information.""" - pageInfo: PageInfo! - - """List of nodes.""" - nodes: [Config!]! - - """List of edges.""" - edges: [ConfigEdge!]! +""" +The action that was performed. +""" + action: String! +""" +The kind of resource that was affected by the action. +""" + resourceKind: String! } -type ConfigCreatedActivityLogEntry implements ActivityLogEntry & Node { - """ID of the entry.""" - id: ID! - - """ - The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. - """ - actor: String! - - """Creation time of the entry.""" - createdAt: Time! - - """Message that summarizes the entry.""" - message: String! - - """Type of the resource that was affected by the action.""" - resourceType: ActivityLogEntryResourceType! - - """Name of the resource that was affected by the action.""" - resourceName: String! - - """The team slug that the entry belongs to.""" - teamSlug: Slug! - - """The environment name that the entry belongs to.""" - environmentName: String +""" +A config is a collection of key-value pairs. +""" +type Config implements Node & ActivityLogger{ +""" +The globally unique ID of the config. +""" + id: ID! +""" +The name of the config. +""" + name: String! +""" +The environment the config exists in. +""" + teamEnvironment: TeamEnvironment! +""" +The team that owns the config. +""" + team: Team! +""" +The values stored in the config. +""" + values: [ConfigValue!]! +""" +Applications that use the config. +""" + applications( +""" +Get the first n items in the connection. This can be used in combination with the after parameter. +""" + first: Int +""" +Get items after this cursor. +""" + after: Cursor +""" +Get the last n items in the connection. This can be used in combination with the before parameter. +""" + last: Int +""" +Get items before this cursor. +""" + before: Cursor + ): ApplicationConnection! +""" +Jobs that use the config. +""" + jobs( +""" +Get the first n items in the connection. This can be used in combination with the after parameter. +""" + first: Int +""" +Get items after this cursor. +""" + after: Cursor +""" +Get the last n items in the connection. This can be used in combination with the before parameter. +""" + last: Int +""" +Get items before this cursor. +""" + before: Cursor + ): JobConnection! +""" +Workloads that use the config. +""" + workloads( +""" +Get the first n items in the connection. This can be used in combination with the after parameter. +""" + first: Int +""" +Get items after this cursor. +""" + after: Cursor +""" +Get the last n items in the connection. This can be used in combination with the before parameter. +""" + last: Int +""" +Get items before this cursor. +""" + before: Cursor + ): WorkloadConnection! +""" +Last time the config was modified. +""" + lastModifiedAt: Time +""" +User who last modified the config. +""" + lastModifiedBy: User +""" +Activity log associated with the config. +""" + activityLog( +""" +Get the first n items in the connection. This can be used in combination with the after parameter. +""" + first: Int +""" +Get items after this cursor. +""" + after: Cursor +""" +Get the last n items in the connection. This can be used in combination with the before parameter. +""" + last: Int +""" +Get items before this cursor. +""" + before: Cursor +""" +Filter items. +""" + filter: ActivityLogFilter + ): ActivityLogEntryConnection! } -type ConfigDeletedActivityLogEntry implements ActivityLogEntry & Node { - """ID of the entry.""" - id: ID! - - """ - The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. - """ - actor: String! - - """Creation time of the entry.""" - createdAt: Time! - - """Message that summarizes the entry.""" - message: String! - - """Type of the resource that was affected by the action.""" - resourceType: ActivityLogEntryResourceType! - - """Name of the resource that was affected by the action.""" - resourceName: String! +type ConfigConnection { +""" +Pagination information. +""" + pageInfo: PageInfo! +""" +List of nodes. +""" + nodes: [Config!]! +""" +List of edges. +""" + edges: [ConfigEdge!]! +} - """The team slug that the entry belongs to.""" - teamSlug: Slug! +type ConfigCreatedActivityLogEntry implements ActivityLogEntry & Node{ +""" +ID of the entry. +""" + id: ID! +""" +The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. +""" + actor: String! +""" +Creation time of the entry. +""" + createdAt: Time! +""" +Message that summarizes the entry. +""" + message: String! +""" +Type of the resource that was affected by the action. +""" + resourceType: ActivityLogEntryResourceType! +""" +Name of the resource that was affected by the action. +""" + resourceName: String! +""" +The team slug that the entry belongs to. +""" + teamSlug: Slug! +""" +The environment name that the entry belongs to. +""" + environmentName: String +} - """The environment name that the entry belongs to.""" - environmentName: String +type ConfigDeletedActivityLogEntry implements ActivityLogEntry & Node{ +""" +ID of the entry. +""" + id: ID! +""" +The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. +""" + actor: String! +""" +Creation time of the entry. +""" + createdAt: Time! +""" +Message that summarizes the entry. +""" + message: String! +""" +Type of the resource that was affected by the action. +""" + resourceType: ActivityLogEntryResourceType! +""" +Name of the resource that was affected by the action. +""" + resourceName: String! +""" +The team slug that the entry belongs to. +""" + teamSlug: Slug! +""" +The environment name that the entry belongs to. +""" + environmentName: String } type ConfigEdge { - """Cursor for this edge that can be used for pagination.""" - cursor: Cursor! - - """The Config.""" - node: Config! +""" +Cursor for this edge that can be used for pagination. +""" + cursor: Cursor! +""" +The Config. +""" + node: Config! } -"""Input for filtering the configs of a team.""" +""" +Input for filtering the configs of a team. +""" input ConfigFilter { - """Filter by the name of the config.""" - name: String - - """Filter by usage of the config.""" - inUse: Boolean +""" +Input for filtering the configs of a team. +""" + name: String +""" +Input for filtering the configs of a team. +""" + inUse: Boolean } input ConfigOrder { - """The field to order items by.""" - field: ConfigOrderField! - - """The direction to order items by.""" - direction: OrderDirection! + field: ConfigOrderField! + direction: OrderDirection! } enum ConfigOrderField { - """Order configs by name.""" - NAME - - """Order configs by the name of the environment.""" - ENVIRONMENT - - """Order configs by the last time it was modified.""" - LAST_MODIFIED_AT +""" +Order configs by name. +""" + NAME +""" +Order configs by the name of the environment. +""" + ENVIRONMENT +""" +Order configs by the last time it was modified. +""" + LAST_MODIFIED_AT } -type ConfigUpdatedActivityLogEntry implements ActivityLogEntry & Node { - """ID of the entry.""" - id: ID! - - """ - The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. - """ - actor: String! - - """Creation time of the entry.""" - createdAt: Time! - - """Message that summarizes the entry.""" - message: String! - - """Type of the resource that was affected by the action.""" - resourceType: ActivityLogEntryResourceType! - - """Name of the resource that was affected by the action.""" - resourceName: String! - - """The team slug that the entry belongs to.""" - teamSlug: Slug! - - """The environment name that the entry belongs to.""" - environmentName: String - - """Data associated with the entry.""" - data: ConfigUpdatedActivityLogEntryData! +type ConfigUpdatedActivityLogEntry implements ActivityLogEntry & Node{ +""" +ID of the entry. +""" + id: ID! +""" +The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. +""" + actor: String! +""" +Creation time of the entry. +""" + createdAt: Time! +""" +Message that summarizes the entry. +""" + message: String! +""" +Type of the resource that was affected by the action. +""" + resourceType: ActivityLogEntryResourceType! +""" +Name of the resource that was affected by the action. +""" + resourceName: String! +""" +The team slug that the entry belongs to. +""" + teamSlug: Slug! +""" +The environment name that the entry belongs to. +""" + environmentName: String +""" +Data associated with the entry. +""" + data: ConfigUpdatedActivityLogEntryData! } type ConfigUpdatedActivityLogEntryData { - """The fields that were updated.""" - updatedFields: [ConfigUpdatedActivityLogEntryDataUpdatedField!]! +""" +The fields that were updated. +""" + updatedFields: [ConfigUpdatedActivityLogEntryDataUpdatedField!]! } type ConfigUpdatedActivityLogEntryDataUpdatedField { - """The name of the field that was updated.""" - field: String! - - """The old value of the field.""" - oldValue: String - - """The new value of the field.""" - newValue: String +""" +The name of the field that was updated. +""" + field: String! +""" +The old value of the field. +""" + oldValue: String +""" +The new value of the field. +""" + newValue: String } type ConfigValue { - """The name of the config value.""" - name: String! - - """The config value itself.""" - value: String! +""" +The name of the config value. +""" + name: String! +""" +The config value itself. +""" + value: String! } input ConfigValueInput { - """The name of the config value.""" - name: String! - - """The value to set.""" - value: String! + name: String! + value: String! } input ConfigureReconcilerInput { - """The name of the reconciler to configure.""" - name: String! - - """List of reconciler config inputs.""" - config: [ReconcilerConfigInput!]! + name: String! + config: [ReconcilerConfigInput!]! } input ConfirmTeamDeletionInput { - """Slug of the team to confirm deletion for.""" - slug: Slug! - - """Deletion key, acquired using the requestTeamDeletion mutation.""" - key: String! + slug: Slug! + key: String! } type ConfirmTeamDeletionPayload { - """Whether or not the asynchronous deletion process was started.""" - deletionStarted: Boolean +""" +Whether or not the asynchronous deletion process was started. +""" + deletionStarted: Boolean } -"""Container image.""" -type ContainerImage implements Node & ActivityLogger { - """The globally unique ID of the container image node.""" - id: ID! - - """Name of the container image.""" - name: String! - - """Tag of the container image.""" - tag: String! - - """Activity log associated with the container image.""" - activityLog( - """ - Get the first n items in the connection. This can be used in combination with the after parameter. - """ - first: Int - - """Get items after this cursor.""" - after: Cursor - - """ - Get the last n items in the connection. This can be used in combination with the before parameter. - """ - last: Int - - """Get items before this cursor.""" - before: Cursor - - """Filter items.""" - filter: ActivityLogFilter - ): ActivityLogEntryConnection! - - """ - Whether the image has a software bill of materials (SBOM) attached to it. - """ - hasSBOM: Boolean! - - """Get the vulnerabilities of the image.""" - vulnerabilities( - """ - Get the first n items in the connection. This can be used in combination with the after parameter. - """ - first: Int - - """Get items after this cursor.""" - after: Cursor - - """ - Get the last n items in the connection. This can be used in combination with the before parameter. - """ - last: Int - - """Get items before this cursor.""" - before: Cursor - - """Filter the vulnerabilities.""" - filter: ImageVulnerabilityFilter - - """Ordering options for items returned from the connection.""" - orderBy: ImageVulnerabilityOrder - ): ImageVulnerabilityConnection! - - """Get the summary of the vulnerabilities of the image.""" - vulnerabilitySummary: ImageVulnerabilitySummary - - """Workloads using this container image.""" - workloadReferences( - """ - Get the first n items in the connection. This can be used in combination with the after parameter. - """ - first: Int - - """Get items after this cursor.""" - after: Cursor - - """ - Get the last n items in the connection. This can be used in combination with the before parameter. - """ - last: Int - - """Get items before this cursor.""" - before: Cursor - ): ContainerImageWorkloadReferenceConnection! +""" +Container image. +""" +type ContainerImage implements Node & ActivityLogger{ +""" +The globally unique ID of the container image node. +""" + id: ID! +""" +Name of the container image. +""" + name: String! +""" +Tag of the container image. +""" + tag: String! +""" +Activity log associated with the container image. +""" + activityLog( +""" +Get the first n items in the connection. This can be used in combination with the after parameter. +""" + first: Int +""" +Get items after this cursor. +""" + after: Cursor +""" +Get the last n items in the connection. This can be used in combination with the before parameter. +""" + last: Int +""" +Get items before this cursor. +""" + before: Cursor +""" +Filter items. +""" + filter: ActivityLogFilter + ): ActivityLogEntryConnection! +""" +Whether the image has a software bill of materials (SBOM) attached to it. +""" + hasSBOM: Boolean! +""" +Get the vulnerabilities of the image. +""" + vulnerabilities( +""" +Get the first n items in the connection. This can be used in combination with the after parameter. +""" + first: Int +""" +Get items after this cursor. +""" + after: Cursor +""" +Get the last n items in the connection. This can be used in combination with the before parameter. +""" + last: Int +""" +Get items before this cursor. +""" + before: Cursor +""" +Filter the vulnerabilities. +""" + filter: ImageVulnerabilityFilter +""" +Ordering options for items returned from the connection. +""" + orderBy: ImageVulnerabilityOrder + ): ImageVulnerabilityConnection! +""" +Get the summary of the vulnerabilities of the image. +""" + vulnerabilitySummary: ImageVulnerabilitySummary +""" +Workloads using this container image. +""" + workloadReferences( +""" +Get the first n items in the connection. This can be used in combination with the after parameter. +""" + first: Int +""" +Get items after this cursor. +""" + after: Cursor +""" +Get the last n items in the connection. This can be used in combination with the before parameter. +""" + last: Int +""" +Get items before this cursor. +""" + before: Cursor + ): ContainerImageWorkloadReferenceConnection! } type ContainerImageWorkloadReference { - """The workload using the container image.""" - workload: Workload! +""" +The workload using the container image. +""" + workload: Workload! } type ContainerImageWorkloadReferenceConnection { - """Information to aid in pagination.""" - pageInfo: PageInfo! - - """List of edges.""" - edges: [ContainerImageWorkloadReferenceEdge!]! - - """List of nodes.""" - nodes: [ContainerImageWorkloadReference!]! +""" +Information to aid in pagination. +""" + pageInfo: PageInfo! +""" +List of edges. +""" + edges: [ContainerImageWorkloadReferenceEdge!]! +""" +List of nodes. +""" + nodes: [ContainerImageWorkloadReference!]! } type ContainerImageWorkloadReferenceEdge { - """A cursor for use in pagination.""" - cursor: Cursor! - - """The workload reference.""" - node: ContainerImageWorkloadReference! +""" +A cursor for use in pagination. +""" + cursor: Cursor! +""" +The workload reference. +""" + node: ContainerImageWorkloadReference! } type CostMonthlySummary { - """The cost series.""" - series: [ServiceCostSeries!]! +""" +The cost series. +""" + series: [ServiceCostSeries!]! } input CreateConfigInput { - """The name of the config.""" - name: String! - - """The environment the config exists in.""" - environmentName: String! - - """The team that owns the config.""" - teamSlug: Slug! + name: String! + environmentName: String! + teamSlug: Slug! } type CreateConfigPayload { - """The created config.""" - config: Config +""" +The created config. +""" + config: Config } input CreateKafkaCredentialsInput { - """The team that owns the Kafka topic.""" - teamSlug: Slug! - - """The environment name that the Kafka topic belongs to.""" - environmentName: String! - - """Time-to-live for the credentials (e.g. '1d', '7d'). Maximum 30 days.""" - ttl: String! + teamSlug: Slug! + environmentName: String! + ttl: String! } type CreateKafkaCredentialsPayload { - """The generated credentials.""" - credentials: KafkaCredentials! +""" +The generated credentials. +""" + credentials: KafkaCredentials! } input CreateOpenSearchCredentialsInput { - """The team that owns the OpenSearch instance.""" - teamSlug: Slug! - - """The environment name that the OpenSearch instance belongs to.""" - environmentName: String! - - """Name of the OpenSearch instance.""" - instanceName: String! - - """Permission level for the credentials.""" - permission: CredentialPermission! - - """Time-to-live for the credentials (e.g. '1d', '7d'). Maximum 30 days.""" - ttl: String! + teamSlug: Slug! + environmentName: String! + instanceName: String! + permission: CredentialPermission! + ttl: String! } type CreateOpenSearchCredentialsPayload { - """The generated credentials.""" - credentials: OpenSearchCredentials! +""" +The generated credentials. +""" + credentials: OpenSearchCredentials! } input CreateOpenSearchInput { - """Name of the OpenSearch instance.""" - name: String! - - """The environment name that the OpenSearch instance belongs to.""" - environmentName: String! - - """The team that owns the OpenSearch instance.""" - teamSlug: Slug! - - """Tier of the OpenSearch instance.""" - tier: OpenSearchTier! - - """Available memory for the OpenSearch instance.""" - memory: OpenSearchMemory! - - """Major version of the OpenSearch instance.""" - version: OpenSearchMajorVersion! - - """Available storage in GB.""" - storageGB: Int! + name: String! + environmentName: String! + teamSlug: Slug! + tier: OpenSearchTier! + memory: OpenSearchMemory! + version: OpenSearchMajorVersion! + storageGB: Int! } type CreateOpenSearchPayload { - """OpenSearch instance that was created.""" - openSearch: OpenSearch! +""" +OpenSearch instance that was created. +""" + openSearch: OpenSearch! } input CreateSecretInput { - """The name of the secret.""" - name: String! - - """The environment the secret exists in.""" - environment: String! - - """The team that owns the secret.""" - team: Slug! + name: String! + environment: String! + team: Slug! } type CreateSecretPayload { - """The created secret.""" - secret: Secret +""" +The created secret. +""" + secret: Secret } input CreateServiceAccountInput { - """The name of the service account.""" - name: String! - - """A description of the service account.""" - description: String! - - """The team slug that the service account belongs to.""" - teamSlug: Slug + name: String! + description: String! + teamSlug: Slug } type CreateServiceAccountPayload { - """The created service account.""" - serviceAccount: ServiceAccount +""" +The created service account. +""" + serviceAccount: ServiceAccount } input CreateServiceAccountTokenInput { - """The ID of the service account to create the token for.""" - serviceAccountID: ID! + serviceAccountID: ID! + name: String! + description: String! + expiresAt: Date +} - """The name of the service account token.""" - name: String! +type CreateServiceAccountTokenPayload { +""" +The service account that the token belongs to. +""" + serviceAccount: ServiceAccount +""" +The created service account token. +""" + serviceAccountToken: ServiceAccountToken +""" +The secret of the service account token. - """The description of the service account token.""" - description: String! +This value is only returned once, and can not be retrieved at a later stage. If the secret is lost, a new token must be created. - """ - Optional expiry date of the token. - - If not specified, the token will never expire. - """ - expiresAt: Date -} +Once obtained, the secret can be used to authenticate as the service account using the HTTP `Authorization` request header: -type CreateServiceAccountTokenPayload { - """The service account that the token belongs to.""" - serviceAccount: ServiceAccount - - """The created service account token.""" - serviceAccountToken: ServiceAccountToken - - """ - The secret of the service account token. - - This value is only returned once, and can not be retrieved at a later stage. If the secret is lost, a new token must be created. - - Once obtained, the secret can be used to authenticate as the service account using the HTTP `Authorization` request header: - - ``` - Authorization: Bearer - ``` - """ - secret: String +``` +Authorization: Bearer +``` +""" + secret: String } input CreateTeamInput { - """ - Unique team slug. - - After creation, this value can not be changed. Also, after a potential deletion of the team, the slug can not be - reused, so please choose wisely. - """ - slug: Slug! - - """ - The purpose / description of the team. - - What is the team for? What is the team working on? This value is meant for human consumption, and should be enough - to give a newcomer an idea of what the team is about. - """ - purpose: String! - - """ - The main Slack channel for the team. - - Where does the team communicate? This value is used to link to the team's main Slack channel. - """ - slackChannel: String! + slug: Slug! + purpose: String! + slackChannel: String! } type CreateTeamPayload { - """The newly created team.""" - team: Team +""" +The newly created team. +""" + team: Team } input CreateUnleashForTeamInput { - """The team that will own this Unleash instance.""" - teamSlug: Slug! - - """ - Subscribe the instance to a release channel for automatic version updates. - If not specified, the default version will be used. - Use the unleashReleaseChannels query to see available channels. - """ - releaseChannel: String + teamSlug: Slug! + releaseChannel: String } type CreateUnleashForTeamPayload { - unleash: UnleashInstance + unleash: UnleashInstance } input CreateValkeyCredentialsInput { - """The team that owns the Valkey instance.""" - teamSlug: Slug! - - """The environment name that the Valkey instance belongs to.""" - environmentName: String! - - """Name of the Valkey instance.""" - instanceName: String! - - """Permission level for the credentials.""" - permission: CredentialPermission! - - """Time-to-live for the credentials (e.g. '1d', '7d'). Maximum 30 days.""" - ttl: String! + teamSlug: Slug! + environmentName: String! + instanceName: String! + permission: CredentialPermission! + ttl: String! } type CreateValkeyCredentialsPayload { - """The generated credentials.""" - credentials: ValkeyCredentials! +""" +The generated credentials. +""" + credentials: ValkeyCredentials! } input CreateValkeyInput { - """Name of the Valkey instance.""" - name: String! - - """The environment name that the entry belongs to.""" - environmentName: String! - - """The team that owns the Valkey instance.""" - teamSlug: Slug! - - """Tier of the Valkey instance.""" - tier: ValkeyTier! - - """Available memory for the Valkey instance.""" - memory: ValkeyMemory! - - """Maximum memory policy for the Valkey instance.""" - maxMemoryPolicy: ValkeyMaxMemoryPolicy - - """ - Configure keyspace notifications for the Valkey instance. See https://valkey.io/topics/notifications/ for details. - """ - notifyKeyspaceEvents: String + name: String! + environmentName: String! + teamSlug: Slug! + tier: ValkeyTier! + memory: ValkeyMemory! + maxMemoryPolicy: ValkeyMaxMemoryPolicy + notifyKeyspaceEvents: String } type CreateValkeyPayload { - """Valkey instance that was created.""" - valkey: Valkey! +""" +Valkey instance that was created. +""" + valkey: Valkey! } -"""Permission level for OpenSearch and Valkey credentials.""" +""" +Permission level for OpenSearch and Valkey credentials. +""" enum CredentialPermission { - READ - WRITE - READWRITE - ADMIN + READ + WRITE + READWRITE + ADMIN } -type CredentialsActivityLogEntry implements ActivityLogEntry & Node { - """ID of the entry.""" - id: ID! - - """The identity of the actor who performed the action.""" - actor: String! - - """Creation time of the entry.""" - createdAt: Time! - - """Message that summarizes the entry.""" - message: String! - - """Type of the resource that was affected by the action.""" - resourceType: ActivityLogEntryResourceType! - - """Name of the resource that was affected by the action.""" - resourceName: String! - - """The team slug that the entry belongs to.""" - teamSlug: Slug! - - """The environment name that the entry belongs to.""" - environmentName: String - - """Data associated with the credential creation.""" - data: CredentialsActivityLogEntryData! +type CredentialsActivityLogEntry implements ActivityLogEntry & Node{ +""" +ID of the entry. +""" + id: ID! +""" +The identity of the actor who performed the action. +""" + actor: String! +""" +Creation time of the entry. +""" + createdAt: Time! +""" +Message that summarizes the entry. +""" + message: String! +""" +Type of the resource that was affected by the action. +""" + resourceType: ActivityLogEntryResourceType! +""" +Name of the resource that was affected by the action. +""" + resourceName: String! +""" +The team slug that the entry belongs to. +""" + teamSlug: Slug! +""" +The environment name that the entry belongs to. +""" + environmentName: String +""" +Data associated with the credential creation. +""" + data: CredentialsActivityLogEntryData! } type CredentialsActivityLogEntryData { - """The service type (OPENSEARCH, VALKEY, KAFKA).""" - serviceType: String! - - """The instance name, if applicable.""" - instanceName: String - - """The permission level, if applicable.""" - permission: String - - """The TTL that was requested for the credentials.""" - ttl: String! +""" +The service type (OPENSEARCH, VALKEY, KAFKA). +""" + serviceType: String! +""" +The instance name, if applicable. +""" + instanceName: String +""" +The permission level, if applicable. +""" + permission: String +""" +The TTL that was requested for the credentials. +""" + ttl: String! } -"""Get current unit prices.""" +""" +Get current unit prices. +""" type CurrentUnitPrices { - """Current price for one CPU hour.""" - cpu: Price! - - """Current price for one GB hour of memory.""" - memory: Price! +""" +Current price for one CPU hour. +""" + cpu: Price! +""" +Current price for one GB hour of memory. +""" + memory: Price! } """ @@ -1934,401 +2252,453 @@ Cursors are opaque strings that are returned by the server for paginated results """ scalar Cursor -"""Date type in YYYY-MM-DD format.""" +""" +Date type in YYYY-MM-DD format. +""" scalar Date input DeleteApplicationInput { - """Name of the application.""" - name: String! - - """Slug of the team that owns the application.""" - teamSlug: Slug! - - """Name of the environment where the application runs.""" - environmentName: String! + name: String! + teamSlug: Slug! + environmentName: String! } type DeleteApplicationPayload { - """The team that owned the deleted application.""" - team: Team - - """Whether or not the application was deleted.""" - success: Boolean +""" +The team that owned the deleted application. +""" + team: Team +""" +Whether or not the application was deleted. +""" + success: Boolean } input DeleteConfigInput { - """The name of the config.""" - name: String! - - """The environment the config exists in.""" - environmentName: String! - - """The team that owns the config.""" - teamSlug: Slug! + name: String! + environmentName: String! + teamSlug: Slug! } type DeleteConfigPayload { - """The deleted config.""" - configDeleted: Boolean +""" +The deleted config. +""" + configDeleted: Boolean } input DeleteJobInput { - """Name of the job.""" - name: String! - - """Slug of the team that owns the job.""" - teamSlug: Slug! - - """Name of the environment where the job runs.""" - environmentName: String! + name: String! + teamSlug: Slug! + environmentName: String! } type DeleteJobPayload { - """The team that owned the deleted job.""" - team: Team - - """Whether or not the job was deleted.""" - success: Boolean +""" +The team that owned the deleted job. +""" + team: Team +""" +Whether or not the job was deleted. +""" + success: Boolean } input DeleteOpenSearchInput { - """Name of the OpenSearch instance.""" - name: String! - - """The environment name that the OpenSearch instance belongs to.""" - environmentName: String! - - """The team that owns the OpenSearch instance.""" - teamSlug: Slug! + name: String! + environmentName: String! + teamSlug: Slug! } type DeleteOpenSearchPayload { - """Whether or not the OpenSearch instance was deleted.""" - openSearchDeleted: Boolean +""" +Whether or not the OpenSearch instance was deleted. +""" + openSearchDeleted: Boolean } input DeleteSecretInput { - """The name of the secret.""" - name: String! - - """The environment the secret exists in.""" - environment: String! - - """The team that owns the secret.""" - team: Slug! + name: String! + environment: String! + team: Slug! } type DeleteSecretPayload { - """The deleted secret.""" - secretDeleted: Boolean +""" +The deleted secret. +""" + secretDeleted: Boolean } input DeleteServiceAccountInput { - """The ID of the service account to delete.""" - serviceAccountID: ID! + serviceAccountID: ID! } type DeleteServiceAccountPayload { - """Whether or not the service account was deleted.""" - serviceAccountDeleted: Boolean +""" +Whether or not the service account was deleted. +""" + serviceAccountDeleted: Boolean } input DeleteServiceAccountTokenInput { - """The ID of the service account token to delete.""" - serviceAccountTokenID: ID! + serviceAccountTokenID: ID! } type DeleteServiceAccountTokenPayload { - """The service account that the token belonged to.""" - serviceAccount: ServiceAccount - - """Whether or not the service account token was deleted.""" - serviceAccountTokenDeleted: Boolean +""" +The service account that the token belonged to. +""" + serviceAccount: ServiceAccount +""" +Whether or not the service account token was deleted. +""" + serviceAccountTokenDeleted: Boolean } input DeleteUnleashInstanceInput { - """The team that owns the Unleash instance to delete.""" - teamSlug: Slug! + teamSlug: Slug! } type DeleteUnleashInstancePayload { - """Whether the Unleash instance was successfully deleted.""" - unleashDeleted: Boolean +""" +Whether the Unleash instance was successfully deleted. +""" + unleashDeleted: Boolean } input DeleteValkeyInput { - """Name of the Valkey instance.""" - name: String! - - """The environment name that the entry belongs to.""" - environmentName: String! - - """The team that owns the Valkey instance.""" - teamSlug: Slug! + name: String! + environmentName: String! + teamSlug: Slug! } type DeleteValkeyPayload { - """Whether or not the job was deleted.""" - valkeyDeleted: Boolean +""" +Whether or not the job was deleted. +""" + valkeyDeleted: Boolean } -"""Description of a deployment.""" -type Deployment implements Node { - """ID of the deployment.""" - id: ID! - - """Creation timestamp of the deployment.""" - createdAt: Time! - - """Team slug that the deployment belongs to.""" - teamSlug: Slug! - - """Name of the environment that the deployment belongs to.""" - environmentName: String! - - """The repository that triggered the deployment.""" - repository: String - - """Username of the actor who initiated the deployment.""" - deployerUsername: String - - """The git commit SHA that was deployed.""" - commitSha: String - - """The URL of the workflow that triggered the deployment.""" - triggerUrl: String - - """Resources that were deployed.""" - resources( - """ - Get the first n items in the connection. This can be used in combination with the after parameter. - """ - first: Int - - """Get items after this cursor.""" - after: Cursor - - """ - Get the last n items in the connection. This can be used in combination with the before parameter. - """ - last: Int - - """Get items before this cursor.""" - before: Cursor - ): DeploymentResourceConnection! - - """Statuses of the deployment.""" - statuses( - """ - Get the first n items in the connection. This can be used in combination with the after parameter. - """ - first: Int - - """Get items after this cursor.""" - after: Cursor - - """ - Get the last n items in the connection. This can be used in combination with the before parameter. - """ - last: Int - - """Get items before this cursor.""" - before: Cursor - ): DeploymentStatusConnection! +""" +Description of a deployment. +""" +type Deployment implements Node{ +""" +ID of the deployment. +""" + id: ID! +""" +Creation timestamp of the deployment. +""" + createdAt: Time! +""" +Team slug that the deployment belongs to. +""" + teamSlug: Slug! +""" +Name of the environment that the deployment belongs to. +""" + environmentName: String! +""" +The repository that triggered the deployment. +""" + repository: String +""" +Username of the actor who initiated the deployment. +""" + deployerUsername: String +""" +The git commit SHA that was deployed. +""" + commitSha: String +""" +The URL of the workflow that triggered the deployment. +""" + triggerUrl: String +""" +Resources that were deployed. +""" + resources( +""" +Get the first n items in the connection. This can be used in combination with the after parameter. +""" + first: Int +""" +Get items after this cursor. +""" + after: Cursor +""" +Get the last n items in the connection. This can be used in combination with the before parameter. +""" + last: Int +""" +Get items before this cursor. +""" + before: Cursor + ): DeploymentResourceConnection! +""" +Statuses of the deployment. +""" + statuses( +""" +Get the first n items in the connection. This can be used in combination with the after parameter. +""" + first: Int +""" +Get items after this cursor. +""" + after: Cursor +""" +Get the last n items in the connection. This can be used in combination with the before parameter. +""" + last: Int +""" +Get items before this cursor. +""" + before: Cursor + ): DeploymentStatusConnection! } -type DeploymentActivityLogEntry implements ActivityLogEntry & Node { - """ID of the entry.""" - id: ID! - - """ - The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. - """ - actor: String! - - """Creation time of the entry.""" - createdAt: Time! - - """Message that summarizes the entry.""" - message: String! - - """Type of the resource that was affected by the action.""" - resourceType: ActivityLogEntryResourceType! - - """Name of the resource that was affected by the action.""" - resourceName: String! - - """The team slug that the entry belongs to.""" - teamSlug: Slug! - - """The environment name that the entry belongs to.""" - environmentName: String - - """Data associated with the update.""" - data: DeploymentActivityLogEntryData! +type DeploymentActivityLogEntry implements ActivityLogEntry & Node{ +""" +ID of the entry. +""" + id: ID! +""" +The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. +""" + actor: String! +""" +Creation time of the entry. +""" + createdAt: Time! +""" +Message that summarizes the entry. +""" + message: String! +""" +Type of the resource that was affected by the action. +""" + resourceType: ActivityLogEntryResourceType! +""" +Name of the resource that was affected by the action. +""" + resourceName: String! +""" +The team slug that the entry belongs to. +""" + teamSlug: Slug! +""" +The environment name that the entry belongs to. +""" + environmentName: String +""" +Data associated with the update. +""" + data: DeploymentActivityLogEntryData! } type DeploymentActivityLogEntryData { - triggerURL: String + triggerURL: String } type DeploymentConnection { - """Pagination information.""" - pageInfo: PageInfo! - - """List of nodes.""" - nodes: [Deployment!]! - - """List of edges.""" - edges: [DeploymentEdge!]! +""" +Pagination information. +""" + pageInfo: PageInfo! +""" +List of nodes. +""" + nodes: [Deployment!]! +""" +List of edges. +""" + edges: [DeploymentEdge!]! } type DeploymentEdge { - """Cursor for this edge that can be used for pagination.""" - cursor: Cursor! - - """The deployment.""" - node: Deployment! +""" +Cursor for this edge that can be used for pagination. +""" + cursor: Cursor! +""" +The deployment. +""" + node: Deployment! } input DeploymentFilter { - """Get deployments from a given date until today.""" - from: Time - - """Filter deployments by environments.""" - environments: [String!] + from: Time + environments: [String!] } -"""Deployment key type.""" -type DeploymentKey implements Node { - """The unique identifier of the deployment key.""" - id: ID! - - """The actual key.""" - key: String! - - """The date the deployment key was created.""" - created: Time! - - """The date the deployment key expires.""" - expires: Time! +""" +Deployment key type. +""" +type DeploymentKey implements Node{ +""" +The unique identifier of the deployment key. +""" + id: ID! +""" +The actual key. +""" + key: String! +""" +The date the deployment key was created. +""" + created: Time! +""" +The date the deployment key expires. +""" + expires: Time! } input DeploymentOrder { - """The field to order items by.""" - field: DeploymentOrderField! - - """The direction to order items by.""" - direction: OrderDirection! + field: DeploymentOrderField! + direction: OrderDirection! } -"""Possible fields to order deployments by.""" +""" +Possible fields to order deployments by. +""" enum DeploymentOrderField { - """The time the deployment was created at.""" - CREATED_AT +""" +The time the deployment was created at. +""" + CREATED_AT } -"""Resource connected to a deployment.""" -type DeploymentResource implements Node { - """Globally unique ID of the deployment resource.""" - id: ID! - - """Deployment resource kind.""" - kind: String! - - """The name of the resource.""" - name: String! +""" +Resource connected to a deployment. +""" +type DeploymentResource implements Node{ +""" +Globally unique ID of the deployment resource. +""" + id: ID! +""" +Deployment resource kind. +""" + kind: String! +""" +The name of the resource. +""" + name: String! } type DeploymentResourceConnection { - """Pagination information.""" - pageInfo: PageInfo! - - """List of nodes.""" - nodes: [DeploymentResource!]! - - """List of edges.""" - edges: [DeploymentResourceEdge!]! +""" +Pagination information. +""" + pageInfo: PageInfo! +""" +List of nodes. +""" + nodes: [DeploymentResource!]! +""" +List of edges. +""" + edges: [DeploymentResourceEdge!]! } type DeploymentResourceEdge { - """Cursor for this edge that can be used for pagination.""" - cursor: Cursor! - - """The deployment resource.""" - node: DeploymentResource! +""" +Cursor for this edge that can be used for pagination. +""" + cursor: Cursor! +""" +The deployment resource. +""" + node: DeploymentResource! } -"""Resource connected to a deployment.""" -type DeploymentStatus implements Node { - """Globally unique ID of the deployment resource.""" - id: ID! - - """Creation timestamp of the deployment status.""" - createdAt: Time! - - """State of the deployment.""" - state: DeploymentStatusState! - - """Message describing the deployment status.""" - message: String! +""" +Resource connected to a deployment. +""" +type DeploymentStatus implements Node{ +""" +Globally unique ID of the deployment resource. +""" + id: ID! +""" +Creation timestamp of the deployment status. +""" + createdAt: Time! +""" +State of the deployment. +""" + state: DeploymentStatusState! +""" +Message describing the deployment status. +""" + message: String! } type DeploymentStatusConnection { - """Pagination information.""" - pageInfo: PageInfo! - - """List of nodes.""" - nodes: [DeploymentStatus!]! - - """List of edges.""" - edges: [DeploymentStatusEdge!]! +""" +Pagination information. +""" + pageInfo: PageInfo! +""" +List of nodes. +""" + nodes: [DeploymentStatus!]! +""" +List of edges. +""" + edges: [DeploymentStatusEdge!]! } type DeploymentStatusEdge { - """Cursor for this edge that can be used for pagination.""" - cursor: Cursor! - - """The deployment status.""" - node: DeploymentStatus! +""" +Cursor for this edge that can be used for pagination. +""" + cursor: Cursor! +""" +The deployment status. +""" + node: DeploymentStatus! } -"""Possible states of a deployment status.""" +""" +Possible states of a deployment status. +""" enum DeploymentStatusState { - SUCCESS - ERROR - FAILURE - INACTIVE - IN_PROGRESS - QUEUED - PENDING + SUCCESS + ERROR + FAILURE + INACTIVE + IN_PROGRESS + QUEUED + PENDING } -type DeprecatedIngressIssue implements Issue & Node { - id: ID! - teamEnvironment: TeamEnvironment! - severity: Severity! - message: String! - ingresses: [String!]! - application: Application! +type DeprecatedIngressIssue implements Issue & Node{ + id: ID! + teamEnvironment: TeamEnvironment! + severity: Severity! + message: String! + ingresses: [String!]! + application: Application! } -type DeprecatedRegistryIssue implements Issue & Node { - id: ID! - teamEnvironment: TeamEnvironment! - severity: Severity! - message: String! - workload: Workload! +type DeprecatedRegistryIssue implements Issue & Node{ + id: ID! + teamEnvironment: TeamEnvironment! + severity: Severity! + message: String! + workload: Workload! } input DisableReconcilerInput { - """The name of the reconciler to disable.""" - name: String! + name: String! } input EnableReconcilerInput { - """The name of the reconciler to enable.""" - name: String! + name: String! } """ @@ -2336,9 +2706,11 @@ Entra ID (f.k.a. Azure AD) authentication. Read more: https://docs.nais.io/auth/entra-id/ """ -type EntraIDAuthIntegration implements AuthIntegration { - """The name of the integration.""" - name: String! +type EntraIDAuthIntegration implements AuthIntegration{ +""" +The name of the integration. +""" + name: String! } """ @@ -2346,1179 +2718,1451 @@ An environment represents a runtime environment for workloads. Learn more in the [official Nais documentation](https://docs.nais.io/workloads/explanations/environment/). """ -type Environment implements Node { - """The globally unique ID of the team.""" - id: ID! - - """Unique name of the environment.""" - name: String! - - """ - Query Prometheus metrics directly using PromQL for this environment. - This allows for flexible metric queries within the specific environment. - Supports both instant queries and range queries. - """ - metrics(input: MetricsQueryInput!): MetricsQueryResult! - - """Nais workloads in the environment.""" - workloads( - """ - Get the first n items in the connection. This can be used in combination with the after parameter. - """ - first: Int - - """Get items after this cursor.""" - after: Cursor - - """ - Get the last n items in the connection. This can be used in combination with the before parameter. - """ - last: Int - - """Get items before this cursor.""" - before: Cursor - - """Ordering options for items returned from the connection.""" - orderBy: EnvironmentWorkloadOrder - ): WorkloadConnection! +type Environment implements Node{ +""" +The globally unique ID of the team. +""" + id: ID! +""" +Unique name of the environment. +""" + name: String! +""" +Query Prometheus metrics directly using PromQL for this environment. +This allows for flexible metric queries within the specific environment. +Supports both instant queries and range queries. +""" + metrics( + input: MetricsQueryInput! + ): MetricsQueryResult! +""" +Nais workloads in the environment. +""" + workloads( +""" +Get the first n items in the connection. This can be used in combination with the after parameter. +""" + first: Int +""" +Get items after this cursor. +""" + after: Cursor +""" +Get the last n items in the connection. This can be used in combination with the before parameter. +""" + last: Int +""" +Get items before this cursor. +""" + before: Cursor +""" +Ordering options for items returned from the connection. +""" + orderBy: EnvironmentWorkloadOrder + ): WorkloadConnection! } -"""Environment connection.""" +""" +Environment connection. +""" type EnvironmentConnection { - """Pagination information.""" - pageInfo: PageInfo! - - """List of nodes.""" - nodes: [Environment!]! - - """List of edges.""" - edges: [EnvironmentEdge!]! +""" +Pagination information. +""" + pageInfo: PageInfo! +""" +List of nodes. +""" + nodes: [Environment!]! +""" +List of edges. +""" + edges: [EnvironmentEdge!]! } -"""Environment edge.""" +""" +Environment edge. +""" type EnvironmentEdge { - """Cursor for this edge that can be used for pagination.""" - cursor: Cursor! - - """The Environment.""" - node: Environment! +""" +Cursor for this edge that can be used for pagination. +""" + cursor: Cursor! +""" +The Environment. +""" + node: Environment! } -"""Ordering options when fetching environments.""" +""" +Ordering options when fetching environments. +""" input EnvironmentOrder { - """The field to order by.""" - field: EnvironmentOrderField! - - """The direction to order in.""" - direction: OrderDirection! +""" +Ordering options when fetching environments. +""" + field: EnvironmentOrderField! +""" +Ordering options when fetching environments. +""" + direction: OrderDirection! } -"""Fields to order environments by.""" +""" +Fields to order environments by. +""" enum EnvironmentOrderField { - """Order by name.""" - NAME +""" +Order by name. +""" + NAME } -"""Ordering options when fetching workloads in an environment.""" +""" +Ordering options when fetching workloads in an environment. +""" input EnvironmentWorkloadOrder { - """The field to order items by.""" - field: EnvironmentWorkloadOrderField! - - """The direction to order items by.""" - direction: OrderDirection! +""" +Ordering options when fetching workloads in an environment. +""" + field: EnvironmentWorkloadOrderField! +""" +Ordering options when fetching workloads in an environment. +""" + direction: OrderDirection! } -"""Fields to order workloads in an environment by.""" +""" +Fields to order workloads in an environment by. +""" enum EnvironmentWorkloadOrderField { - """Order by name.""" - NAME - - """Order by team slug.""" - TEAM_SLUG - - """Order by the deployment time.""" - DEPLOYMENT_TIME +""" +Order by name. +""" + NAME +""" +Order by team slug. +""" + TEAM_SLUG +""" +Order by the deployment time. +""" + DEPLOYMENT_TIME } -type ExternalIngressCriticalVulnerabilityIssue implements Issue & Node { - id: ID! - teamEnvironment: TeamEnvironment! - severity: Severity! - message: String! - workload: Workload! - cvssScore: Float! - ingresses: [String!]! +type ExternalIngressCriticalVulnerabilityIssue implements Issue & Node{ + id: ID! + teamEnvironment: TeamEnvironment! + severity: Severity! + message: String! + workload: Workload! + cvssScore: Float! + ingresses: [String!]! } -type ExternalNetworkPolicyHost implements ExternalNetworkPolicyTarget { - target: String! - ports: [Int!]! +type ExternalNetworkPolicyHost implements ExternalNetworkPolicyTarget{ + target: String! + ports: [Int!]! } -type ExternalNetworkPolicyIpv4 implements ExternalNetworkPolicyTarget { - target: String! - ports: [Int!]! +type ExternalNetworkPolicyIpv4 implements ExternalNetworkPolicyTarget{ + target: String! + ports: [Int!]! } interface ExternalNetworkPolicyTarget { - target: String! - ports: [Int!]! + target: String! + ports: [Int!]! } -type FailedSynchronizationIssue implements Issue & Node { - id: ID! - teamEnvironment: TeamEnvironment! - severity: Severity! - message: String! - workload: Workload! +type FailedSynchronizationIssue implements Issue & Node{ + id: ID! + teamEnvironment: TeamEnvironment! + severity: Severity! + message: String! + workload: Workload! } -type FeatureKafka implements Node { - """Unique identifier for the feature.""" - id: ID! - - """Wether Kafka is enabled or not.""" - enabled: Boolean! +type FeatureKafka implements Node{ +""" +Unique identifier for the feature. +""" + id: ID! +""" +Wether Kafka is enabled or not. +""" + enabled: Boolean! } -type FeatureOpenSearch implements Node { - """Unique identifier for the feature.""" - id: ID! - - """Wether OpenSearch is enabled or not.""" - enabled: Boolean! +type FeatureOpenSearch implements Node{ +""" +Unique identifier for the feature. +""" + id: ID! +""" +Wether OpenSearch is enabled or not. +""" + enabled: Boolean! } -type FeatureUnleash implements Node { - """Unique identifier for the feature.""" - id: ID! - - """Wether Unleash is enabled or not.""" - enabled: Boolean! +type FeatureUnleash implements Node{ +""" +Unique identifier for the feature. +""" + id: ID! +""" +Wether Unleash is enabled or not. +""" + enabled: Boolean! } -type FeatureValkey implements Node { - """Unique identifier for the feature.""" - id: ID! - - """Wether Valkey is enabled or not.""" - enabled: Boolean! +type FeatureValkey implements Node{ +""" +Unique identifier for the feature. +""" + id: ID! +""" +Wether Valkey is enabled or not. +""" + enabled: Boolean! } -type Features implements Node { - """Unique identifier for the feature container.""" - id: ID! - - """Information about Unleash feature.""" - unleash: FeatureUnleash! - - """Information about Valkey feature.""" - valkey: FeatureValkey! - - """Information about Kafka feature.""" - kafka: FeatureKafka! - - """Information about OpenSearch feature.""" - openSearch: FeatureOpenSearch! +type Features implements Node{ +""" +Unique identifier for the feature container. +""" + id: ID! +""" +Information about Unleash feature. +""" + unleash: FeatureUnleash! +""" +Information about Valkey feature. +""" + valkey: FeatureValkey! +""" +Information about Kafka feature. +""" + kafka: FeatureKafka! +""" +Information about OpenSearch feature. +""" + openSearch: FeatureOpenSearch! } -input GrantPostgresAccessInput { - clusterName: String! - teamSlug: Slug! - environmentName: String! - grantee: String! +""" +The `Float` scalar type represents signed double-precision fractional values as specified by [IEEE 754](http://en.wikipedia.org/wiki/IEEE_floating_point). +""" +scalar Float - """Duration of the access grant (maximum 4 hours).""" - duration: String! +input GrantPostgresAccessInput { + clusterName: String! + teamSlug: Slug! + environmentName: String! + grantee: String! + duration: String! } type GrantPostgresAccessPayload { - error: String + error: String } +""" +The `ID` scalar type represents a unique identifier, often used to refetch an object or as key for a cache. The ID type appears in a JSON response as a String; however, it is not intended to be human-readable. When expected as an input type, any string (such as "4") or integer (such as 4) input value will be accepted as an ID. +""" +scalar ID + """ ID-porten authentication. Read more: https://docs.nais.io/auth/idporten/ """ -type IDPortenAuthIntegration implements AuthIntegration { - """The name of the integration.""" - name: String! +type IDPortenAuthIntegration implements AuthIntegration{ +""" +The name of the integration. +""" + name: String! } -type ImageVulnerability implements Node { - """The globally unique ID of the image vulnerability node.""" - id: ID! - - """The unique identifier of the vulnerability. E.g. CVE-****-****.""" - identifier: String! - - """Severity of the vulnerability.""" - severity: ImageVulnerabilitySeverity! - - """Description of the vulnerability.""" - description: String! - - """Package name of the vulnerability.""" - package: String! - suppression: ImageVulnerabilitySuppression - - """Timestamp of when the vulnerability got its current severity.""" - severitySince: Time - - """Link to the vulnerability details.""" - vulnerabilityDetailsLink: String! - - """CVSS score of the vulnerability.""" - cvssScore: Float +type ImageVulnerability implements Node{ +""" +The globally unique ID of the image vulnerability node. +""" + id: ID! +""" +The unique identifier of the vulnerability. E.g. CVE-****-****. +""" + identifier: String! +""" +Severity of the vulnerability. +""" + severity: ImageVulnerabilitySeverity! +""" +Description of the vulnerability. +""" + description: String! +""" +Package name of the vulnerability. +""" + package: String! + suppression: ImageVulnerabilitySuppression +""" +Timestamp of when the vulnerability got its current severity. +""" + severitySince: Time +""" +Link to the vulnerability details. +""" + vulnerabilityDetailsLink: String! +""" +CVSS score of the vulnerability. +""" + cvssScore: Float } type ImageVulnerabilityConnection { - """Information to aid in pagination.""" - pageInfo: PageInfo! - - """List of edges.""" - edges: [ImageVulnerabilityEdge!]! - - """List of nodes.""" - nodes: [ImageVulnerability!]! +""" +Information to aid in pagination. +""" + pageInfo: PageInfo! +""" +List of edges. +""" + edges: [ImageVulnerabilityEdge!]! +""" +List of nodes. +""" + nodes: [ImageVulnerability!]! } type ImageVulnerabilityEdge { - """A cursor for use in pagination.""" - cursor: Cursor! - - """The image vulnerability.""" - node: ImageVulnerability! +""" +A cursor for use in pagination. +""" + cursor: Cursor! +""" +The image vulnerability. +""" + node: ImageVulnerability! } -"""Input for filtering image vulnerabilities.""" +""" +Input for filtering image vulnerabilities. +""" input ImageVulnerabilityFilter { - """Only return vulnerabilities with the given severity.""" - severity: ImageVulnerabilitySeverity - severitySince: Time +""" +Input for filtering image vulnerabilities. +""" + severity: ImageVulnerabilitySeverity +""" +Input for filtering image vulnerabilities. +""" + severitySince: Time } type ImageVulnerabilityHistory { - """Vulnerability summary samples.""" - samples: [ImageVulnerabilitySample!]! +""" +Vulnerability summary samples. +""" + samples: [ImageVulnerabilitySample!]! } -"""Ordering options when fetching teams.""" +""" +Ordering options when fetching teams. +""" input ImageVulnerabilityOrder { - """The field to order items by.""" - field: ImageVulnerabilityOrderField! - - """The direction to order items by.""" - direction: OrderDirection! +""" +Ordering options when fetching teams. +""" + field: ImageVulnerabilityOrderField! +""" +Ordering options when fetching teams. +""" + direction: OrderDirection! } enum ImageVulnerabilityOrderField { - IDENTIFIER - SEVERITY - SEVERITY_SINCE - PACKAGE - STATE - SUPPRESSED + IDENTIFIER + SEVERITY + SEVERITY_SINCE + PACKAGE + STATE + SUPPRESSED } type ImageVulnerabilitySample { - """The historic image vulnerability summary""" - summary: ImageVulnerabilitySummary! - - """Timestamp of the vulnerability summary.""" - date: Time! +""" +The historic image vulnerability summary +""" + summary: ImageVulnerabilitySummary! +""" +Timestamp of the vulnerability summary. +""" + date: Time! } enum ImageVulnerabilitySeverity { - LOW - MEDIUM - HIGH - CRITICAL - UNASSIGNED + LOW + MEDIUM + HIGH + CRITICAL + UNASSIGNED } type ImageVulnerabilitySummary { - """Total number of vulnerabilities.""" - total: Int! - - """Risk score of the image.""" - riskScore: Int! - - """Number of vulnerabilities with severity LOW.""" - low: Int! - - """Number of vulnerabilities with severity MEDIUM.""" - medium: Int! - - """Number of vulnerabilities with severity HIGH.""" - high: Int! - - """Number of vulnerabilities with severity CRITICAL.""" - critical: Int! - - """Number of vulnerabilities with severity UNASSIGNED.""" - unassigned: Int! - - """Timestamp of the last update of the vulnerability summary.""" - lastUpdated: Time +""" +Total number of vulnerabilities. +""" + total: Int! +""" +Risk score of the image. +""" + riskScore: Int! +""" +Number of vulnerabilities with severity LOW. +""" + low: Int! +""" +Number of vulnerabilities with severity MEDIUM. +""" + medium: Int! +""" +Number of vulnerabilities with severity HIGH. +""" + high: Int! +""" +Number of vulnerabilities with severity CRITICAL. +""" + critical: Int! +""" +Number of vulnerabilities with severity UNASSIGNED. +""" + unassigned: Int! +""" +Timestamp of the last update of the vulnerability summary. +""" + lastUpdated: Time } type ImageVulnerabilitySuppression { - """Suppression state of the vulnerability.""" - state: ImageVulnerabilitySuppressionState! - - """The reason for the suppression of the vulnerability.""" - reason: String! +""" +Suppression state of the vulnerability. +""" + state: ImageVulnerabilitySuppressionState! +""" +The reason for the suppression of the vulnerability. +""" + reason: String! } enum ImageVulnerabilitySuppressionState { - """Vulnerability is in triage.""" - IN_TRIAGE - - """Vulnerability is resolved.""" - RESOLVED - - """Vulnerability is marked as false positive.""" - FALSE_POSITIVE - - """Vulnerability is marked as not affected.""" - NOT_AFFECTED +""" +Vulnerability is in triage. +""" + IN_TRIAGE +""" +Vulnerability is resolved. +""" + RESOLVED +""" +Vulnerability is marked as false positive. +""" + FALSE_POSITIVE +""" +Vulnerability is marked as not affected. +""" + NOT_AFFECTED } type InboundNetworkPolicy { - rules: [NetworkPolicyRule!]! + rules: [NetworkPolicyRule!]! } type Ingress { - """URL for the ingress.""" - url: String! - - """Type of ingress.""" - type: IngressType! - - """Metrics for the ingress.""" - metrics: IngressMetrics! +""" +URL for the ingress. +""" + url: String! +""" +Type of ingress. +""" + type: IngressType! +""" +Metrics for the ingress. +""" + metrics: IngressMetrics! } -"""Ingress metric type.""" +""" +Ingress metric type. +""" type IngressMetricSample { - """Timestamp of the value.""" - timestamp: Time! - - """Value of the IngressMetricsType at the given timestamp.""" - value: Float! +""" +Timestamp of the value. +""" + timestamp: Time! +""" +Value of the IngressMetricsType at the given timestamp. +""" + value: Float! } type IngressMetrics { - """Number of requests to the ingress per second.""" - requestsPerSecond: Float! - - """Number of errors in the ingress per second.""" - errorsPerSecond: Float! - - """Ingress metrics between start and end with step size.""" - series(input: IngressMetricsInput!): [IngressMetricSample!]! +""" +Number of requests to the ingress per second. +""" + requestsPerSecond: Float! +""" +Number of errors in the ingress per second. +""" + errorsPerSecond: Float! +""" +Ingress metrics between start and end with step size. +""" + series( + input: IngressMetricsInput! + ): [IngressMetricSample!]! } input IngressMetricsInput { - """Fetch metrics from this timestamp.""" - start: Time! - - """Fetch metrics until this timestamp.""" - end: Time! - - """Type of metric to fetch.""" - type: IngressMetricsType! + start: Time! + end: Time! + type: IngressMetricsType! } -"""Type of ingress metrics to fetch.""" +""" +Type of ingress metrics to fetch. +""" enum IngressMetricsType { - """Number of requests to the ingress per second.""" - REQUESTS_PER_SECOND - - """Number of errors in the ingress per second.""" - ERRORS_PER_SECOND +""" +Number of requests to the ingress per second. +""" + REQUESTS_PER_SECOND +""" +Number of errors in the ingress per second. +""" + ERRORS_PER_SECOND } enum IngressType { - UNKNOWN - EXTERNAL - INTERNAL - AUTHENTICATED + UNKNOWN + EXTERNAL + INTERNAL + AUTHENTICATED } -type InvalidSpecIssue implements Issue & Node { - id: ID! - teamEnvironment: TeamEnvironment! - severity: Severity! - message: String! - workload: Workload! +""" +The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1. +""" +scalar Int + +type InvalidSpecIssue implements Issue & Node{ + id: ID! + teamEnvironment: TeamEnvironment! + severity: Severity! + message: String! + workload: Workload! } interface Issue { - id: ID! - teamEnvironment: TeamEnvironment! - severity: Severity! - message: String! + id: ID! + teamEnvironment: TeamEnvironment! + severity: Severity! + message: String! } type IssueConnection { - """Pagination information.""" - pageInfo: PageInfo! - - """List of nodes.""" - nodes: [Issue!]! - - """List of edges.""" - edges: [IssueEdge!]! +""" +Pagination information. +""" + pageInfo: PageInfo! +""" +List of nodes. +""" + nodes: [Issue!]! +""" +List of edges. +""" + edges: [IssueEdge!]! } type IssueEdge { - """Cursor for this edge that can be used for pagination.""" - cursor: Cursor! - - """The Issue.""" - node: Issue! +""" +Cursor for this edge that can be used for pagination. +""" + cursor: Cursor! +""" +The Issue. +""" + node: Issue! } input IssueFilter { - """Filter by resource name.""" - resourceName: String - - """Filter by resource type.""" - resourceType: ResourceType - - """Filter by environment.""" - environments: [String!] - - """Filter by severity.""" - severity: Severity - - """Filter by issue type.""" - issueType: IssueType + resourceName: String + resourceType: ResourceType + environments: [String!] + severity: Severity + issueType: IssueType } input IssueOrder { - """Order by this field.""" - field: IssueOrderField! - - """Order direction.""" - direction: OrderDirection! + field: IssueOrderField! + direction: OrderDirection! } enum IssueOrderField { - """Order by resource name.""" - RESOURCE_NAME - - """Order by severity.""" - SEVERITY - - """Order by environment.""" - ENVIRONMENT - - """Order by resource type.""" - RESOURCE_TYPE - - """Order by issue type.""" - ISSUE_TYPE +""" +Order by resource name. +""" + RESOURCE_NAME +""" +Order by severity. +""" + SEVERITY +""" +Order by environment. +""" + ENVIRONMENT +""" +Order by resource type. +""" + RESOURCE_TYPE +""" +Order by issue type. +""" + ISSUE_TYPE } enum IssueType { - OPENSEARCH - VALKEY - SQLINSTANCE_STATE - SQLINSTANCE_VERSION - DEPRECATED_INGRESS - DEPRECATED_REGISTRY - NO_RUNNING_INSTANCES - LAST_RUN_FAILED - FAILED_SYNCHRONIZATION - INVALID_SPEC - MISSING_SBOM - VULNERABLE_IMAGE - EXTERNAL_INGRESS_CRITICAL_VULNERABILITY - UNLEASH_RELEASE_CHANNEL + OPENSEARCH + VALKEY + SQLINSTANCE_STATE + SQLINSTANCE_VERSION + DEPRECATED_INGRESS + DEPRECATED_REGISTRY + NO_RUNNING_INSTANCES + LAST_RUN_FAILED + FAILED_SYNCHRONIZATION + INVALID_SPEC + MISSING_SBOM + VULNERABLE_IMAGE + EXTERNAL_INGRESS_CRITICAL_VULNERABILITY + UNLEASH_RELEASE_CHANNEL +} + +type Job implements Node & Workload & ActivityLogger{ +""" +The globally unique ID of the job. +""" + id: ID! +""" +The name of the job. +""" + name: String! +""" +The team that owns the job. +""" + team: Team! +""" +The environment the job is deployed in. +""" + environment: TeamEnvironment! @deprecated(reason: "Use the `teamEnvironment` field instead.") +""" +The team environment for the job. +""" + teamEnvironment: TeamEnvironment! +""" +The container image of the job. +""" + image: ContainerImage! +""" +Resources for the job. +""" + resources: JobResources! +""" +List of authentication and authorization for the job. +""" + authIntegrations: [JobAuthIntegrations!]! +""" +Optional schedule for the job. Jobs with no schedule are run once. +""" + schedule: JobSchedule +""" +The job runs. +""" + runs( +""" +Get the first n items in the connection. This can be used in combination with the after parameter. +""" + first: Int +""" +Get items after this cursor. +""" + after: Cursor +""" +Get the last n items in the connection. This can be used in combination with the before parameter. +""" + last: Int +""" +Get items before this cursor. +""" + before: Cursor + ): JobRunConnection! +""" +The job manifest. +""" + manifest: JobManifest! +""" +If set, when the job was marked for deletion. +""" + deletionStartedAt: Time +""" +Activity log associated with the job. +""" + activityLog( +""" +Get the first n items in the connection. This can be used in combination with the after parameter. +""" + first: Int +""" +Get items after this cursor. +""" + after: Cursor +""" +Get the last n items in the connection. This can be used in combination with the before parameter. +""" + last: Int +""" +Get items before this cursor. +""" + before: Cursor +""" +Filter items. +""" + filter: ActivityLogFilter + ): ActivityLogEntryConnection! +""" +The state of the Job +""" + state: JobState! +""" +Issues that affect the job. +""" + issues( +""" +Get the first n items in the connection. This can be used in combination with the after parameter. +""" + first: Int +""" +Get items after this cursor. +""" + after: Cursor +""" +Get the last n items in the connection. This can be used in combination with the before parameter. +""" + last: Int +""" +Get items before this cursor. +""" + before: Cursor +""" +Ordering options for items returned from the connection. +""" + orderBy: IssueOrder +""" +Filtering options for items returned from the connection. +""" + filter: ResourceIssueFilter + ): IssueConnection! +""" +BigQuery datasets referenced by the job. This does not currently support pagination, but will return all available datasets. +""" + bigQueryDatasets( +""" +Ordering options for items returned from the connection. +""" + orderBy: BigQueryDatasetOrder + ): BigQueryDatasetConnection! +""" +Google Cloud Storage referenced by the job. This does not currently support pagination, but will return all available buckets. +""" + buckets( +""" +Ordering options for items returned from the connection. +""" + orderBy: BucketOrder + ): BucketConnection! +""" +Configs used by the job. +""" + configs( +""" +Get the first n items in the connection. This can be used in combination with the after parameter. +""" + first: Int +""" +Get items after this cursor. +""" + after: Cursor +""" +Get the last n items in the connection. This can be used in combination with the before parameter. +""" + last: Int +""" +Get items before this cursor. +""" + before: Cursor + ): ConfigConnection! +""" +The cost for the job. +""" + cost: WorkloadCost! +""" +List of deployments for the job. +""" + deployments( +""" +Get the first n items in the connection. This can be used in combination with the after parameter. +""" + first: Int +""" +Get items after this cursor. +""" + after: Cursor +""" +Get the last n items in the connection. This can be used in combination with the before parameter. +""" + last: Int +""" +Get items before this cursor. +""" + before: Cursor + ): DeploymentConnection! +""" +Kafka topics the job has access to. This does not currently support pagination, but will return all available Kafka topics. +""" + kafkaTopicAcls( +""" +Ordering options for items returned from the connection. +""" + orderBy: KafkaTopicAclOrder + ): KafkaTopicAclConnection! +""" +List of log destinations for the job. +""" + logDestinations: [LogDestination!]! +""" +Network policies for the job. +""" + networkPolicy: NetworkPolicy! +""" +OpenSearch instance referenced by the workload. +""" + openSearch: OpenSearch +""" +Postgres instances referenced by the job. This does not currently support pagination, but will return all available Postgres instances. +""" + postgresInstances( +""" +Ordering options for items returned from the connection. +""" + orderBy: PostgresInstanceOrder + ): PostgresInstanceConnection! +""" +Secrets used by the job. +""" + secrets( +""" +Get the first n items in the connection. This can be used in combination with the after parameter. +""" + first: Int +""" +Get items after this cursor. +""" + after: Cursor +""" +Get the last n items in the connection. This can be used in combination with the before parameter. +""" + last: Int +""" +Get items before this cursor. +""" + before: Cursor + ): SecretConnection! +""" +SQL instances referenced by the job. This does not currently support pagination, but will return all available SQL instances. +""" + sqlInstances( +""" +Ordering options for items returned from the connection. +""" + orderBy: SqlInstanceOrder + ): SqlInstanceConnection! +""" +Valkey instances referenced by the job. This does not currently support pagination, but will return all available Valkey instances. +""" + valkeys( +""" +Ordering options for items returned from the connection. +""" + orderBy: ValkeyOrder + ): ValkeyConnection! +""" +Get the vulnerability summary history for job. +""" + imageVulnerabilityHistory( +""" +Get vulnerability summary from given date until today. +""" + from: Date! + ): ImageVulnerabilityHistory! +""" +Get the mean time to fix history for a job. +""" + vulnerabilityFixHistory( + from: Date! + ): VulnerabilityFixHistory! } -type Job implements Node & Workload & ActivityLogger { - """The globally unique ID of the job.""" - id: ID! - - """The name of the job.""" - name: String! - - """The team that owns the job.""" - team: Team! - - """The environment the job is deployed in.""" - environment: TeamEnvironment! @deprecated(reason: "Use the `teamEnvironment` field instead.") - - """The team environment for the job.""" - teamEnvironment: TeamEnvironment! - - """The container image of the job.""" - image: ContainerImage! - - """Resources for the job.""" - resources: JobResources! - - """List of authentication and authorization for the job.""" - authIntegrations: [JobAuthIntegrations!]! - - """Optional schedule for the job. Jobs with no schedule are run once.""" - schedule: JobSchedule - - """The job runs.""" - runs( - """ - Get the first n items in the connection. This can be used in combination with the after parameter. - """ - first: Int - - """Get items after this cursor.""" - after: Cursor - - """ - Get the last n items in the connection. This can be used in combination with the before parameter. - """ - last: Int - - """Get items before this cursor.""" - before: Cursor - ): JobRunConnection! - - """The job manifest.""" - manifest: JobManifest! - - """If set, when the job was marked for deletion.""" - deletionStartedAt: Time - - """Activity log associated with the job.""" - activityLog( - """ - Get the first n items in the connection. This can be used in combination with the after parameter. - """ - first: Int - - """Get items after this cursor.""" - after: Cursor - - """ - Get the last n items in the connection. This can be used in combination with the before parameter. - """ - last: Int - - """Get items before this cursor.""" - before: Cursor - - """Filter items.""" - filter: ActivityLogFilter - ): ActivityLogEntryConnection! - - """The state of the Job""" - state: JobState! - - """Issues that affect the job.""" - issues( - """ - Get the first n items in the connection. This can be used in combination with the after parameter. - """ - first: Int - - """Get items after this cursor.""" - after: Cursor - - """ - Get the last n items in the connection. This can be used in combination with the before parameter. - """ - last: Int - - """Get items before this cursor.""" - before: Cursor - - """Ordering options for items returned from the connection.""" - orderBy: IssueOrder - - """Filtering options for items returned from the connection.""" - filter: ResourceIssueFilter - ): IssueConnection! - - """ - BigQuery datasets referenced by the job. This does not currently support pagination, but will return all available datasets. - """ - bigQueryDatasets( - """Ordering options for items returned from the connection.""" - orderBy: BigQueryDatasetOrder - ): BigQueryDatasetConnection! - - """ - Google Cloud Storage referenced by the job. This does not currently support pagination, but will return all available buckets. - """ - buckets( - """Ordering options for items returned from the connection.""" - orderBy: BucketOrder - ): BucketConnection! - - """Configs used by the job.""" - configs( - """ - Get the first n items in the connection. This can be used in combination with the after parameter. - """ - first: Int - - """Get items after this cursor.""" - after: Cursor - - """ - Get the last n items in the connection. This can be used in combination with the before parameter. - """ - last: Int - - """Get items before this cursor.""" - before: Cursor - ): ConfigConnection! - - """The cost for the job.""" - cost: WorkloadCost! - - """List of deployments for the job.""" - deployments( - """ - Get the first n items in the connection. This can be used in combination with the after parameter. - """ - first: Int - - """Get items after this cursor.""" - after: Cursor - - """ - Get the last n items in the connection. This can be used in combination with the before parameter. - """ - last: Int - - """Get items before this cursor.""" - before: Cursor - ): DeploymentConnection! - - """ - Kafka topics the job has access to. This does not currently support pagination, but will return all available Kafka topics. - """ - kafkaTopicAcls( - """Ordering options for items returned from the connection.""" - orderBy: KafkaTopicAclOrder - ): KafkaTopicAclConnection! - - """List of log destinations for the job.""" - logDestinations: [LogDestination!]! - - """Network policies for the job.""" - networkPolicy: NetworkPolicy! - - """OpenSearch instance referenced by the workload.""" - openSearch: OpenSearch - - """ - Postgres instances referenced by the job. This does not currently support pagination, but will return all available Postgres instances. - """ - postgresInstances( - """Ordering options for items returned from the connection.""" - orderBy: PostgresInstanceOrder - ): PostgresInstanceConnection! - - """Secrets used by the job.""" - secrets( - """ - Get the first n items in the connection. This can be used in combination with the after parameter. - """ - first: Int - - """Get items after this cursor.""" - after: Cursor - - """ - Get the last n items in the connection. This can be used in combination with the before parameter. - """ - last: Int - - """Get items before this cursor.""" - before: Cursor - ): SecretConnection! - - """ - SQL instances referenced by the job. This does not currently support pagination, but will return all available SQL instances. - """ - sqlInstances( - """Ordering options for items returned from the connection.""" - orderBy: SqlInstanceOrder - ): SqlInstanceConnection! - - """ - Valkey instances referenced by the job. This does not currently support pagination, but will return all available Valkey instances. - """ - valkeys( - """Ordering options for items returned from the connection.""" - orderBy: ValkeyOrder - ): ValkeyConnection! - - """Get the vulnerability summary history for job.""" - imageVulnerabilityHistory( - """Get vulnerability summary from given date until today.""" - from: Date! - ): ImageVulnerabilityHistory! - - """Get the mean time to fix history for a job.""" - vulnerabilityFixHistory(from: Date!): VulnerabilityFixHistory! -} - -union JobAuthIntegrations = EntraIDAuthIntegration | MaskinportenAuthIntegration - -type JobConnection { - """Pagination information.""" - pageInfo: PageInfo! - - """List of nodes.""" - nodes: [Job!]! +union JobAuthIntegrations =EntraIDAuthIntegration | MaskinportenAuthIntegration - """List of edges.""" - edges: [JobEdge!]! +type JobConnection { +""" +Pagination information. +""" + pageInfo: PageInfo! +""" +List of nodes. +""" + nodes: [Job!]! +""" +List of edges. +""" + edges: [JobEdge!]! } -type JobDeletedActivityLogEntry implements ActivityLogEntry & Node { - """ID of the entry.""" - id: ID! - - """ - The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. - """ - actor: String! - - """Creation time of the entry.""" - createdAt: Time! - - """Message that summarizes the entry.""" - message: String! - - """Type of the resource that was affected by the action.""" - resourceType: ActivityLogEntryResourceType! - - """Name of the resource that was affected by the action.""" - resourceName: String! - - """The team slug that the entry belongs to.""" - teamSlug: Slug! - - """The environment name that the entry belongs to.""" - environmentName: String +type JobDeletedActivityLogEntry implements ActivityLogEntry & Node{ +""" +ID of the entry. +""" + id: ID! +""" +The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. +""" + actor: String! +""" +Creation time of the entry. +""" + createdAt: Time! +""" +Message that summarizes the entry. +""" + message: String! +""" +Type of the resource that was affected by the action. +""" + resourceType: ActivityLogEntryResourceType! +""" +Name of the resource that was affected by the action. +""" + resourceName: String! +""" +The team slug that the entry belongs to. +""" + teamSlug: Slug! +""" +The environment name that the entry belongs to. +""" + environmentName: String } type JobEdge { - """Cursor for this edge that can be used for pagination.""" - cursor: Cursor! - - """The job.""" - node: Job! +""" +Cursor for this edge that can be used for pagination. +""" + cursor: Cursor! +""" +The job. +""" + node: Job! } -type JobManifest implements WorkloadManifest { - """The manifest content, serialized as a YAML document.""" - content: String! +type JobManifest implements WorkloadManifest{ +""" +The manifest content, serialized as a YAML document. +""" + content: String! } input JobOrder { - """The field to order items by.""" - field: JobOrderField! - - """The direction to order items by.""" - direction: OrderDirection! + field: JobOrderField! + direction: OrderDirection! } enum JobOrderField { - """Order jobs by name.""" - NAME +""" +Order jobs by name. +""" + NAME +""" +Order jobs by the name of the environment. +""" + ENVIRONMENT +""" +Order by state. +""" + STATE +""" +Order jobs by the deployment time. +""" + DEPLOYMENT_TIME +""" +Order jobs by issue severity +""" + ISSUES +} - """Order jobs by the name of the environment.""" - ENVIRONMENT - - """Order by state.""" - STATE - - """Order jobs by the deployment time.""" - DEPLOYMENT_TIME - - """Order jobs by issue severity""" - ISSUES -} - -type JobResources implements WorkloadResources { - limits: WorkloadResourceQuantity! - requests: WorkloadResourceQuantity! +type JobResources implements WorkloadResources{ + limits: WorkloadResourceQuantity! + requests: WorkloadResourceQuantity! } -type JobRun implements Node { - """The globally unique ID of the job run.""" - id: ID! - - """The name of the job run.""" - name: String! - - """The start time of the job.""" - startTime: Time - - """The completion time of the job.""" - completionTime: Time - - """The status of the job run.""" - status: JobRunStatus! - - """The container image of the job run.""" - image: ContainerImage! - - """Duration of the job in seconds.""" - duration: Int! - - """Job run instances.""" - instances( - """ - Get the first n items in the connection. This can be used in combination with the after parameter. - """ - first: Int - - """Get items after this cursor.""" - after: Cursor - - """ - Get the last n items in the connection. This can be used in combination with the before parameter. - """ - last: Int - - """Get items before this cursor.""" - before: Cursor - ): JobRunInstanceConnection! - trigger: JobRunTrigger! +type JobRun implements Node{ +""" +The globally unique ID of the job run. +""" + id: ID! +""" +The name of the job run. +""" + name: String! +""" +The start time of the job. +""" + startTime: Time +""" +The completion time of the job. +""" + completionTime: Time +""" +The status of the job run. +""" + status: JobRunStatus! +""" +The container image of the job run. +""" + image: ContainerImage! +""" +Duration of the job in seconds. +""" + duration: Int! +""" +Job run instances. +""" + instances( +""" +Get the first n items in the connection. This can be used in combination with the after parameter. +""" + first: Int +""" +Get items after this cursor. +""" + after: Cursor +""" +Get the last n items in the connection. This can be used in combination with the before parameter. +""" + last: Int +""" +Get items before this cursor. +""" + before: Cursor + ): JobRunInstanceConnection! + trigger: JobRunTrigger! } type JobRunConnection { - """Pagination information.""" - pageInfo: PageInfo! - - """List of nodes.""" - nodes: [JobRun!]! - - """List of edges.""" - edges: [JobRunEdge!]! +""" +Pagination information. +""" + pageInfo: PageInfo! +""" +List of nodes. +""" + nodes: [JobRun!]! +""" +List of edges. +""" + edges: [JobRunEdge!]! } type JobRunEdge { - """Cursor for this edge that can be used for pagination.""" - cursor: Cursor! - - """The job run.""" - node: JobRun! +""" +Cursor for this edge that can be used for pagination. +""" + cursor: Cursor! +""" +The job run. +""" + node: JobRun! } -type JobRunInstance implements Node { - """The globally unique ID of the job run instance.""" - id: ID! - - """The name of the job run instance.""" - name: String! +type JobRunInstance implements Node{ +""" +The globally unique ID of the job run instance. +""" + id: ID! +""" +The name of the job run instance. +""" + name: String! } type JobRunInstanceConnection { - """Pagination information.""" - pageInfo: PageInfo! - - """List of nodes.""" - nodes: [JobRunInstance!]! - - """List of edges.""" - edges: [JobRunInstanceEdge!]! +""" +Pagination information. +""" + pageInfo: PageInfo! +""" +List of nodes. +""" + nodes: [JobRunInstance!]! +""" +List of edges. +""" + edges: [JobRunInstanceEdge!]! } type JobRunInstanceEdge { - """Cursor for this edge that can be used for pagination.""" - cursor: Cursor! - - """The instance.""" - node: JobRunInstance! +""" +Cursor for this edge that can be used for pagination. +""" + cursor: Cursor! +""" +The instance. +""" + node: JobRunInstance! } enum JobRunState { - """Job run is pending.""" - PENDING - - """Job run is running.""" - RUNNING - - """Job run is succeeded.""" - SUCCEEDED - - """Job run is failed.""" - FAILED - - """Job run is unknown.""" - UNKNOWN +""" +Job run is pending. +""" + PENDING +""" +Job run is running. +""" + RUNNING +""" +Job run is succeeded. +""" + SUCCEEDED +""" +Job run is failed. +""" + FAILED +""" +Job run is unknown. +""" + UNKNOWN } type JobRunStatus { - """The state of the job run.""" - state: JobRunState! - - """Human readable job run status.""" - message: String! +""" +The state of the job run. +""" + state: JobRunState! +""" +Human readable job run status. +""" + message: String! } type JobRunTrigger { - """The type of trigger that started the job.""" - type: JobRunTriggerType! - - """The actor/user who triggered the job run manually, if applicable.""" - actor: String +""" +The type of trigger that started the job. +""" + type: JobRunTriggerType! +""" +The actor/user who triggered the job run manually, if applicable. +""" + actor: String } enum JobRunTriggerType { - AUTOMATIC - MANUAL + AUTOMATIC + MANUAL } type JobSchedule { - """The cron expression for the job.""" - expression: String! - - """The time zone for the job. Defaults to UTC.""" - timeZone: String! +""" +The cron expression for the job. +""" + expression: String! +""" +The time zone for the job. Defaults to UTC. +""" + timeZone: String! } enum JobState { - COMPLETED - RUNNING - FAILED - UNKNOWN + COMPLETED + RUNNING + FAILED + UNKNOWN } -type JobTriggeredActivityLogEntry implements ActivityLogEntry & Node { - """ID of the entry.""" - id: ID! - - """ - The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. - """ - actor: String! - - """Creation time of the entry.""" - createdAt: Time! - - """Message that summarizes the entry.""" - message: String! - - """Type of the resource that was affected by the action.""" - resourceType: ActivityLogEntryResourceType! - - """Name of the resource that was affected by the action.""" - resourceName: String! - - """The team slug that the entry belongs to.""" - teamSlug: Slug! - - """The environment name that the entry belongs to.""" - environmentName: String +type JobTriggeredActivityLogEntry implements ActivityLogEntry & Node{ +""" +ID of the entry. +""" + id: ID! +""" +The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. +""" + actor: String! +""" +Creation time of the entry. +""" + createdAt: Time! +""" +Message that summarizes the entry. +""" + message: String! +""" +Type of the resource that was affected by the action. +""" + resourceType: ActivityLogEntryResourceType! +""" +Name of the resource that was affected by the action. +""" + resourceName: String! +""" +The team slug that the entry belongs to. +""" + teamSlug: Slug! +""" +The environment name that the entry belongs to. +""" + environmentName: String } type KafkaCredentials { - """Username for the Kafka broker.""" - username: String! - - """Client certificate in PEM format.""" - accessCert: String! - - """Client private key in PEM format.""" - accessKey: String! - - """CA certificate in PEM format.""" - caCert: String! - - """Comma-separated list of broker addresses.""" - brokers: String! - - """Schema registry URL.""" - schemaRegistry: String! +""" +Username for the Kafka broker. +""" + username: String! +""" +Client certificate in PEM format. +""" + accessCert: String! +""" +Client private key in PEM format. +""" + accessKey: String! +""" +CA certificate in PEM format. +""" + caCert: String! +""" +Comma-separated list of broker addresses. +""" + brokers: String! +""" +Schema registry URL. +""" + schemaRegistry: String! } type KafkaLagScalingStrategy { - """The threshold that must be met for the scaling to trigger.""" - threshold: Int! - - """The consumer group of the topic.""" - consumerGroup: String! - - """The name of the Kafka topic.""" - topicName: String! -} - -type KafkaTopic implements Persistence & Node { - id: ID! - name: String! - team: Team! - environment: TeamEnvironment! @deprecated(reason: "Use the `teamEnvironment` field instead.") - teamEnvironment: TeamEnvironment! - acl(first: Int, after: Cursor, last: Int, before: Cursor, filter: KafkaTopicAclFilter, orderBy: KafkaTopicAclOrder): KafkaTopicAclConnection! - configuration: KafkaTopicConfiguration - pool: String! +""" +The threshold that must be met for the scaling to trigger. +""" + threshold: Int! +""" +The consumer group of the topic. +""" + consumerGroup: String! +""" +The name of the Kafka topic. +""" + topicName: String! +} + +type KafkaTopic implements Persistence & Node{ + id: ID! + name: String! + team: Team! + environment: TeamEnvironment! @deprecated(reason: "Use the `teamEnvironment` field instead.") + teamEnvironment: TeamEnvironment! + acl( + first: Int + after: Cursor + last: Int + before: Cursor + filter: KafkaTopicAclFilter + orderBy: KafkaTopicAclOrder + ): KafkaTopicAclConnection! + configuration: KafkaTopicConfiguration + pool: String! } type KafkaTopicAcl { - access: String! - workloadName: String! - teamName: String! - team: Team - workload: Workload - topic: KafkaTopic! + access: String! + workloadName: String! + teamName: String! + team: Team + workload: Workload + topic: KafkaTopic! } type KafkaTopicAclConnection { - pageInfo: PageInfo! - nodes: [KafkaTopicAcl!]! - edges: [KafkaTopicAclEdge!]! + pageInfo: PageInfo! + nodes: [KafkaTopicAcl!]! + edges: [KafkaTopicAclEdge!]! } type KafkaTopicAclEdge { - cursor: Cursor! - node: KafkaTopicAcl! + cursor: Cursor! + node: KafkaTopicAcl! } input KafkaTopicAclFilter { - team: Slug - workload: String - validWorkloads: Boolean + team: Slug + workload: String + validWorkloads: Boolean } input KafkaTopicAclOrder { - field: KafkaTopicAclOrderField! - direction: OrderDirection! + field: KafkaTopicAclOrderField! + direction: OrderDirection! } enum KafkaTopicAclOrderField { - TOPIC_NAME - TEAM_SLUG - CONSUMER - ACCESS + TOPIC_NAME + TEAM_SLUG + CONSUMER + ACCESS } type KafkaTopicConfiguration { - cleanupPolicy: String - maxMessageBytes: Int - minimumInSyncReplicas: Int - partitions: Int - replication: Int - retentionBytes: Int - retentionHours: Int - segmentHours: Int + cleanupPolicy: String + maxMessageBytes: Int + minimumInSyncReplicas: Int + partitions: Int + replication: Int + retentionBytes: Int + retentionHours: Int + segmentHours: Int } type KafkaTopicConnection { - pageInfo: PageInfo! - nodes: [KafkaTopic!]! - edges: [KafkaTopicEdge!]! + pageInfo: PageInfo! + nodes: [KafkaTopic!]! + edges: [KafkaTopicEdge!]! } type KafkaTopicEdge { - cursor: Cursor! - node: KafkaTopic! + cursor: Cursor! + node: KafkaTopic! } input KafkaTopicOrder { - field: KafkaTopicOrderField! - direction: OrderDirection! + field: KafkaTopicOrderField! + direction: OrderDirection! } enum KafkaTopicOrderField { - NAME - ENVIRONMENT + NAME + ENVIRONMENT } -type LastRunFailedIssue implements Issue & Node { - id: ID! - teamEnvironment: TeamEnvironment! - severity: Severity! - message: String! - job: Job! +type LastRunFailedIssue implements Issue & Node{ + id: ID! + teamEnvironment: TeamEnvironment! + severity: Severity! + message: String! + job: Job! } interface LogDestination { - """The globally unique ID of the log destination.""" - id: ID! + id: ID! } -type LogDestinationGeneric implements LogDestination & Node { - """The globally unique ID of the log destination.""" - id: ID! - - """Name defined in the manifest""" - name: String! +type LogDestinationGeneric implements LogDestination & Node{ +""" +The globally unique ID of the log destination. +""" + id: ID! +""" +Name defined in the manifest +""" + name: String! } -type LogDestinationLoki implements LogDestination & Node { - """The globally unique ID of the log destination.""" - id: ID! - - """Grafana URL to view the logs.""" - grafanaURL: String! +type LogDestinationLoki implements LogDestination & Node{ +""" +The globally unique ID of the log destination. +""" + id: ID! +""" +Grafana URL to view the logs. +""" + grafanaURL: String! } -type LogDestinationSecureLogs implements LogDestination & Node { - """The globally unique ID of the log destination.""" - id: ID! +type LogDestinationSecureLogs implements LogDestination & Node{ +""" +The globally unique ID of the log destination. +""" + id: ID! } type LogLine { - """Timestamp of the log line.""" - time: Time! - - """The log line message.""" - message: String! - - """Labels attached to the log line.""" - labels: [LogLineLabel!]! +""" +Timestamp of the log line. +""" + time: Time! +""" +The log line message. +""" + message: String! +""" +Labels attached to the log line. +""" + labels: [LogLineLabel!]! } type LogLineLabel { - """The key of the label.""" - key: String! - - """The value of the label.""" - value: String! +""" +The key of the label. +""" + key: String! +""" +The value of the label. +""" + value: String! } input LogSubscriptionFilter { - """Specify the environment to stream log lines from.""" - environmentName: String! - - """Filter log lines by specifying a query.""" - query: String! - - """ - Specify an initial batch of log lines to be sent when the subscription starts. - """ - initialBatch: LogSubscriptionInitialBatch = {limit: 100} + environmentName: String! + query: String! + initialBatch: LogSubscriptionInitialBatch } input LogSubscriptionInitialBatch { - """ - Specifies the start timestamp of the initial batch. Defaults to one hour ago. - """ - start: Time - - """Initial batch of past log lines before streaming starts.""" - limit: Int = 100 + start: Time + limit: Int } type MaintenanceWindow { - """Day of the week when the maintenance is scheduled.""" - dayOfWeek: Weekday! - - """Time of day when the maintenance is scheduled.""" - timeOfDay: TimeOfDay! +""" +Day of the week when the maintenance is scheduled. +""" + dayOfWeek: Weekday! +""" +Time of day when the maintenance is scheduled. +""" + timeOfDay: TimeOfDay! } """ @@ -3526,81 +4170,89 @@ Maskinporten authentication. Read more: https://docs.nais.io/auth/maskinporten/ """ -type MaskinportenAuthIntegration implements AuthIntegration { - """The name of the integration.""" - name: String! +type MaskinportenAuthIntegration implements AuthIntegration{ +""" +The name of the integration. +""" + name: String! } -"""A key-value pair representing a Prometheus label.""" +""" +A key-value pair representing a Prometheus label. +""" type MetricLabel { - """The label name.""" - name: String! - - """The label value.""" - value: String! +""" +The label name. +""" + name: String! +""" +The label value. +""" + value: String! } -"""A time series with its labels and data points.""" +""" +A time series with its labels and data points. +""" type MetricSeries { - """The metric labels as key-value pairs.""" - labels: [MetricLabel!]! - - """ - The data points for this time series. - Instant queries will have a single value. - Range queries will have multiple values over time. - """ - values: [MetricValue!]! +""" +The metric labels as key-value pairs. +""" + labels: [MetricLabel!]! +""" +The data points for this time series. +Instant queries will have a single value. +Range queries will have multiple values over time. +""" + values: [MetricValue!]! } -"""A single data point in a time series.""" +""" +A single data point in a time series. +""" type MetricValue { - """The timestamp of the data point.""" - timestamp: Time! - - """The value at the given timestamp.""" - value: Float! +""" +The timestamp of the data point. +""" + timestamp: Time! +""" +The value at the given timestamp. +""" + value: Float! } -"""Input for querying Prometheus metrics.""" +""" +Input for querying Prometheus metrics. +""" input MetricsQueryInput { - """ - The PromQL query to execute. - Example: "rate(http_requests_total[5m])" - """ - query: String! - - """ - Optional timestamp for instant queries. - Specifies the exact point in time to evaluate the query. - If not provided, defaults to current time minus 5 minutes. - This parameter is ignored when range is provided. - """ - time: Time - - """ - Optional range query parameters. - If provided, executes a range query instead of an instant query. - - Limits to prevent excessive memory usage: - - Minimum step: 10 seconds - - Maximum time range: 30 days - - Maximum data points: 11,000 - """ - range: MetricsRangeInput -} - -"""Result from a Prometheus metrics query.""" -type MetricsQueryResult { - """ - Time series data from the query. - For instant queries, each series contains a single value. - For range queries, each series contains multiple values over time. - """ - series: [MetricSeries!]! +""" +Input for querying Prometheus metrics. +""" + query: String! +""" +Input for querying Prometheus metrics. +""" + time: Time +""" +Input for querying Prometheus metrics. +""" + range: MetricsRangeInput +} - """Warnings returned by Prometheus, if any.""" - warnings: [String!]! +""" +Result from a Prometheus metrics query. +""" +type MetricsQueryResult { +""" +Time series data from the query. +For instant queries, each series contains a single value. +For range queries, each series contains multiple values over time. +""" + series: [MetricSeries!]! +""" +Warnings returned by Prometheus, if any. +""" + warnings: [String!]! } """ @@ -3612,699 +4264,920 @@ To prevent excessive memory usage, queries are subject to limits: - Total data points cannot exceed 11,000 """ input MetricsRangeInput { - """Start timestamp for the range query.""" - start: Time! +""" +Input for Prometheus range queries. - """ - End timestamp for the range query. - Must be after start time. - """ - end: Time! +To prevent excessive memory usage, queries are subject to limits: +- Step must be at least 10 seconds +- Time range (end - start) cannot exceed 30 days +- Total data points cannot exceed 11,000 +""" + start: Time! +""" +Input for Prometheus range queries. + +To prevent excessive memory usage, queries are subject to limits: +- Step must be at least 10 seconds +- Time range (end - start) cannot exceed 30 days +- Total data points cannot exceed 11,000 +""" + end: Time! +""" +Input for Prometheus range queries. - """ - Query resolution step width in seconds. - Must be at least 10 seconds. - Example: 60 for 1-minute intervals - """ - step: Int! +To prevent excessive memory usage, queries are subject to limits: +- Step must be at least 10 seconds +- Time range (end - start) cannot exceed 30 days +- Total data points cannot exceed 11,000 +""" + step: Int! } -type MissingSbomIssue implements Issue & Node { - id: ID! - teamEnvironment: TeamEnvironment! - severity: Severity! - message: String! - workload: Workload! +type MissingSbomIssue implements Issue & Node{ + id: ID! + teamEnvironment: TeamEnvironment! + severity: Severity! + message: String! + workload: Workload! } -"""The mutation root for the Nais GraphQL API.""" +""" +The mutation root for the Nais GraphQL API. +""" type Mutation { - """Create temporary credentials for an OpenSearch instance.""" - createOpenSearchCredentials(input: CreateOpenSearchCredentialsInput!): CreateOpenSearchCredentialsPayload! - - """Create temporary credentials for a Valkey instance.""" - createValkeyCredentials(input: CreateValkeyCredentialsInput!): CreateValkeyCredentialsPayload! - - """Create temporary credentials for Kafka.""" - createKafkaCredentials(input: CreateKafkaCredentialsInput!): CreateKafkaCredentialsPayload! - - """Delete an application.""" - deleteApplication( - """Input for deleting an application.""" - input: DeleteApplicationInput! - ): DeleteApplicationPayload! - - """Restart an application.""" - restartApplication( - """Input for restarting an application.""" - input: RestartApplicationInput! - ): RestartApplicationPayload! - - """Create a new config.""" - createConfig(input: CreateConfigInput!): CreateConfigPayload! - - """Add a value to a config.""" - addConfigValue(input: AddConfigValueInput!): AddConfigValuePayload! - - """Update a value within a config.""" - updateConfigValue(input: UpdateConfigValueInput!): UpdateConfigValuePayload! - - """Remove a value from a config.""" - removeConfigValue(input: RemoveConfigValueInput!): RemoveConfigValuePayload! - - """Delete a config, and the values it contains.""" - deleteConfig(input: DeleteConfigInput!): DeleteConfigPayload! - - """Update the deploy key of a team. Returns the updated deploy key.""" - changeDeploymentKey(input: ChangeDeploymentKeyInput!): ChangeDeploymentKeyPayload! - - """Delete a job.""" - deleteJob(input: DeleteJobInput!): DeleteJobPayload! - - """Trigger a job""" - triggerJob(input: TriggerJobInput!): TriggerJobPayload! +""" +Create temporary credentials for an OpenSearch instance. +""" + createOpenSearchCredentials( + input: CreateOpenSearchCredentialsInput! + ): CreateOpenSearchCredentialsPayload! +""" +Create temporary credentials for a Valkey instance. +""" + createValkeyCredentials( + input: CreateValkeyCredentialsInput! + ): CreateValkeyCredentialsPayload! +""" +Create temporary credentials for Kafka. +""" + createKafkaCredentials( + input: CreateKafkaCredentialsInput! + ): CreateKafkaCredentialsPayload! +""" +Delete an application. +""" + deleteApplication( +""" +Input for deleting an application. +""" + input: DeleteApplicationInput! + ): DeleteApplicationPayload! +""" +Restart an application. +""" + restartApplication( +""" +Input for restarting an application. +""" + input: RestartApplicationInput! + ): RestartApplicationPayload! +""" +Create a new config. +""" + createConfig( + input: CreateConfigInput! + ): CreateConfigPayload! +""" +Add a value to a config. +""" + addConfigValue( + input: AddConfigValueInput! + ): AddConfigValuePayload! +""" +Update a value within a config. +""" + updateConfigValue( + input: UpdateConfigValueInput! + ): UpdateConfigValuePayload! +""" +Remove a value from a config. +""" + removeConfigValue( + input: RemoveConfigValueInput! + ): RemoveConfigValuePayload! +""" +Delete a config, and the values it contains. +""" + deleteConfig( + input: DeleteConfigInput! + ): DeleteConfigPayload! +""" +Update the deploy key of a team. Returns the updated deploy key. +""" + changeDeploymentKey( + input: ChangeDeploymentKeyInput! + ): ChangeDeploymentKeyPayload! +""" +Delete a job. +""" + deleteJob( + input: DeleteJobInput! + ): DeleteJobPayload! +""" +Trigger a job +""" + triggerJob( + input: TriggerJobInput! + ): TriggerJobPayload! +""" +Create a new OpenSearch instance. +""" + createOpenSearch( + input: CreateOpenSearchInput! + ): CreateOpenSearchPayload! +""" +Update an existing OpenSearch instance. +""" + updateOpenSearch( + input: UpdateOpenSearchInput! + ): UpdateOpenSearchPayload! +""" +Delete an existing OpenSearch instance. +""" + deleteOpenSearch( + input: DeleteOpenSearchInput! + ): DeleteOpenSearchPayload! +""" +Grant temporary access to a Postgres cluster. +""" + grantPostgresAccess( + input: GrantPostgresAccessInput! + ): GrantPostgresAccessPayload! +""" +Enable a reconciler - """Create a new OpenSearch instance.""" - createOpenSearch(input: CreateOpenSearchInput!): CreateOpenSearchPayload! +A reconciler must be fully configured before it can be enabled. +""" + enableReconciler( + input: EnableReconcilerInput! + ): Reconciler! +""" +Disable a reconciler - """Update an existing OpenSearch instance.""" - updateOpenSearch(input: UpdateOpenSearchInput!): UpdateOpenSearchPayload! +The reconciler configuration will be left intact. +""" + disableReconciler( + input: DisableReconcilerInput! + ): Reconciler! +""" +Configure a reconciler. +""" + configureReconciler( + input: ConfigureReconcilerInput! + ): Reconciler! +""" +Add a team repository. +""" + addRepositoryToTeam( + input: AddRepositoryToTeamInput! + ): AddRepositoryToTeamPayload! +""" +Remove a team repository. +""" + removeRepositoryFromTeam( + input: RemoveRepositoryFromTeamInput! + ): RemoveRepositoryFromTeamPayload! +""" +Create a new secret. +""" + createSecret( + input: CreateSecretInput! + ): CreateSecretPayload! +""" +Add a secret value to a secret. +""" + addSecretValue( + input: AddSecretValueInput! + ): AddSecretValuePayload! +""" +Update a secret value within a secret. +""" + updateSecretValue( + input: UpdateSecretValueInput! + ): UpdateSecretValuePayload! +""" +Remove a secret value from a secret. +""" + removeSecretValue( + input: RemoveSecretValueInput! + ): RemoveSecretValuePayload! +""" +Delete a secret, and the values it contains. +""" + deleteSecret( + input: DeleteSecretInput! + ): DeleteSecretPayload! +""" +View the values of a secret. Requires team membership and a reason for access. +This creates a temporary elevation and logs the access for auditing purposes. +""" + viewSecretValues( + input: ViewSecretValuesInput! + ): ViewSecretValuesPayload! +""" +Create a service account. +""" + createServiceAccount( + input: CreateServiceAccountInput! + ): CreateServiceAccountPayload! +""" +Update a service account. +""" + updateServiceAccount( + input: UpdateServiceAccountInput! + ): UpdateServiceAccountPayload! +""" +Delete a service account. +""" + deleteServiceAccount( + input: DeleteServiceAccountInput! + ): DeleteServiceAccountPayload! +""" +Assign a role to a service account. +""" + assignRoleToServiceAccount( + input: AssignRoleToServiceAccountInput! + ): AssignRoleToServiceAccountPayload! +""" +Revoke a role from a service account. +""" + revokeRoleFromServiceAccount( + input: RevokeRoleFromServiceAccountInput! + ): RevokeRoleFromServiceAccountPayload! +""" +Create a service account token. - """Delete an existing OpenSearch instance.""" - deleteOpenSearch(input: DeleteOpenSearchInput!): DeleteOpenSearchPayload! +The secret is automatically generated, and is returned as a part of the payload for this mutation. The secret can +not be retrieved at a later stage. - """Grant temporary access to a Postgres cluster.""" - grantPostgresAccess(input: GrantPostgresAccessInput!): GrantPostgresAccessPayload! +A service account can have multiple active tokens at the same time. +""" + createServiceAccountToken( + input: CreateServiceAccountTokenInput! + ): CreateServiceAccountTokenPayload! +""" +Update a service account token. - """ - Enable a reconciler - - A reconciler must be fully configured before it can be enabled. - """ - enableReconciler(input: EnableReconcilerInput!): Reconciler! - - """ - Disable a reconciler - - The reconciler configuration will be left intact. - """ - disableReconciler(input: DisableReconcilerInput!): Reconciler! - - """Configure a reconciler.""" - configureReconciler(input: ConfigureReconcilerInput!): Reconciler! - - """Add a team repository.""" - addRepositoryToTeam(input: AddRepositoryToTeamInput!): AddRepositoryToTeamPayload! - - """Remove a team repository.""" - removeRepositoryFromTeam(input: RemoveRepositoryFromTeamInput!): RemoveRepositoryFromTeamPayload! - - """Create a new secret.""" - createSecret(input: CreateSecretInput!): CreateSecretPayload! - - """Add a secret value to a secret.""" - addSecretValue(input: AddSecretValueInput!): AddSecretValuePayload! - - """Update a secret value within a secret.""" - updateSecretValue(input: UpdateSecretValueInput!): UpdateSecretValuePayload! - - """Remove a secret value from a secret.""" - removeSecretValue(input: RemoveSecretValueInput!): RemoveSecretValuePayload! - - """Delete a secret, and the values it contains.""" - deleteSecret(input: DeleteSecretInput!): DeleteSecretPayload! - - """ - View the values of a secret. Requires team membership and a reason for access. - This creates a temporary elevation and logs the access for auditing purposes. - """ - viewSecretValues(input: ViewSecretValuesInput!): ViewSecretValuesPayload! - - """Create a service account.""" - createServiceAccount(input: CreateServiceAccountInput!): CreateServiceAccountPayload! - - """Update a service account.""" - updateServiceAccount(input: UpdateServiceAccountInput!): UpdateServiceAccountPayload! - - """Delete a service account.""" - deleteServiceAccount(input: DeleteServiceAccountInput!): DeleteServiceAccountPayload! - - """Assign a role to a service account.""" - assignRoleToServiceAccount(input: AssignRoleToServiceAccountInput!): AssignRoleToServiceAccountPayload! - - """Revoke a role from a service account.""" - revokeRoleFromServiceAccount(input: RevokeRoleFromServiceAccountInput!): RevokeRoleFromServiceAccountPayload! - - """ - Create a service account token. - - The secret is automatically generated, and is returned as a part of the payload for this mutation. The secret can - not be retrieved at a later stage. - - A service account can have multiple active tokens at the same time. - """ - createServiceAccountToken(input: CreateServiceAccountTokenInput!): CreateServiceAccountTokenPayload! - - """ - Update a service account token. - - Note that the secret itself can not be updated, only the metadata. - """ - updateServiceAccountToken(input: UpdateServiceAccountTokenInput!): UpdateServiceAccountTokenPayload! - - """Delete a service account token.""" - deleteServiceAccountToken(input: DeleteServiceAccountTokenInput!): DeleteServiceAccountTokenPayload! - - """Start maintenance updates for a Valkey instance.""" - startValkeyMaintenance(input: StartValkeyMaintenanceInput!): StartValkeyMaintenancePayload - - """Start maintenance updates for an OpenSearch instance.""" - startOpenSearchMaintenance(input: StartOpenSearchMaintenanceInput!): StartOpenSearchMaintenancePayload - - """ - Create a new Nais team - - The user creating the team will be granted team ownership, unless the user is a service account, in which case the - team will not get an initial owner. To add one or more owners to the team, refer to the `addTeamOwners` mutation. - - Creation of a team will also create external resources for the team, which will be managed by the Nais API - reconcilers. This will be done asynchronously. - - Refer to the [official Nais documentation](https://docs.nais.io/explanations/team/) for more information regarding - Nais teams. - """ - createTeam(input: CreateTeamInput!): CreateTeamPayload! - - """ - Update an existing Nais team - - This mutation can be used to update the team purpose and the main Slack channel. It is not possible to update the - team slug. - """ - updateTeam(input: UpdateTeamInput!): UpdateTeamPayload! - - """Update an environment for a team""" - updateTeamEnvironment(input: UpdateTeamEnvironmentInput!): UpdateTeamEnvironmentPayload! - - """ - Request a key that can be used to trigger a team deletion process - - Deleting a team is a two step process. First an owner of the team (or an admin) must request a team deletion key, - and then a second owner of the team (or an admin) must confirm the deletion using the confirmTeamDeletion mutation. - - The returned delete key is valid for an hour, and can only be used once. - - Note: Service accounts are not allowed to request team delete keys. - """ - requestTeamDeletion(input: RequestTeamDeletionInput!): RequestTeamDeletionPayload! - - """ - Confirm a team deletion - - This will start the actual team deletion process, which will be done in an asynchronous manner. All external - entities controlled by Nais will also be deleted. - - WARNING: There is no going back after starting this process. - - Note: Service accounts are not allowed to confirm a team deletion. - """ - confirmTeamDeletion(input: ConfirmTeamDeletionInput!): ConfirmTeamDeletionPayload! - - """ - Add a team member - - If the user is already a member or an owner of the team, the mutation will result in an error. - """ - addTeamMember(input: AddTeamMemberInput!): AddTeamMemberPayload! - - """ - Remove a team member - - If the user is not already a member or an owner of the team, the mutation will result in an error. - """ - removeTeamMember(input: RemoveTeamMemberInput!): RemoveTeamMemberPayload! - - """ - Assign a role to a team member - - The user must already be a member of the team for this mutation to succeed. - """ - setTeamMemberRole(input: SetTeamMemberRoleInput!): SetTeamMemberRolePayload! - - """ - Create a new Unleash instance. - - This mutation will create a new Unleash instance for the given team. The team - will be set as owner of the Unleash instance and will be able to manage it. - - By default, instances are created with the default version. - Optionally specify a releaseChannel to subscribe to automatic version updates. - """ - createUnleashForTeam(input: CreateUnleashForTeamInput!): CreateUnleashForTeamPayload! - - """ - Update an Unleash instance's release channel. - - Use this mutation to change to a different release channel. - """ - updateUnleashInstance(input: UpdateUnleashInstanceInput!): UpdateUnleashInstancePayload! - - """Add team to the list of teams that can access the Unleash instance.""" - allowTeamAccessToUnleash(input: AllowTeamAccessToUnleashInput!): AllowTeamAccessToUnleashPayload! - - """ - Remove team from the list of teams that can access the Unleash instance. - """ - revokeTeamAccessToUnleash(input: RevokeTeamAccessToUnleashInput!): RevokeTeamAccessToUnleashPayload! - - """ - Delete an Unleash instance. - - The Unleash instance can only be deleted if no other teams have access to it. - Revoke access for all other teams before deleting the instance. - """ - deleteUnleashInstance(input: DeleteUnleashInstanceInput!): DeleteUnleashInstancePayload! - - """Create a new Valkey instance.""" - createValkey(input: CreateValkeyInput!): CreateValkeyPayload! - - """Update an existing Valkey instance.""" - updateValkey(input: UpdateValkeyInput!): UpdateValkeyPayload! - - """Delete an existing Valkey instance.""" - deleteValkey(input: DeleteValkeyInput!): DeleteValkeyPayload! - - """ - Updates a vulnerability - This mutation is currently unstable and may change in the future. - """ - updateImageVulnerability(input: UpdateImageVulnerabilityInput!): UpdateImageVulnerabilityPayload! -} +Note that the secret itself can not be updated, only the metadata. +""" + updateServiceAccountToken( + input: UpdateServiceAccountTokenInput! + ): UpdateServiceAccountTokenPayload! +""" +Delete a service account token. +""" + deleteServiceAccountToken( + input: DeleteServiceAccountTokenInput! + ): DeleteServiceAccountTokenPayload! +""" +Start maintenance updates for a Valkey instance. +""" + startValkeyMaintenance( + input: StartValkeyMaintenanceInput! + ): StartValkeyMaintenancePayload +""" +Start maintenance updates for an OpenSearch instance. +""" + startOpenSearchMaintenance( + input: StartOpenSearchMaintenanceInput! + ): StartOpenSearchMaintenancePayload +""" +Create a new Nais team -type NetworkPolicy { - inbound: InboundNetworkPolicy! - outbound: OutboundNetworkPolicy! -} +The user creating the team will be granted team ownership, unless the user is a service account, in which case the +team will not get an initial owner. To add one or more owners to the team, refer to the `addTeamOwners` mutation. -type NetworkPolicyRule { - targetWorkloadName: String! - targetWorkload: Workload - targetTeamSlug: Slug! - targetTeam: Team - mutual: Boolean! -} +Creation of a team will also create external resources for the team, which will be managed by the Nais API +reconcilers. This will be done asynchronously. -type NoRunningInstancesIssue implements Issue & Node { - id: ID! - teamEnvironment: TeamEnvironment! - severity: Severity! - message: String! - workload: Workload! -} +Refer to the [official Nais documentation](https://docs.nais.io/explanations/team/) for more information regarding +Nais teams. +""" + createTeam( + input: CreateTeamInput! + ): CreateTeamPayload! +""" +Update an existing Nais team +This mutation can be used to update the team purpose and the main Slack channel. It is not possible to update the +team slug. """ -This interface is implemented by types that supports the [Global Object Identification specification](https://graphql.org/learn/global-object-identification/). + updateTeam( + input: UpdateTeamInput! + ): UpdateTeamPayload! """ -interface Node { - """Globally unique ID of the object.""" - id: ID! -} +Update an environment for a team +""" + updateTeamEnvironment( + input: UpdateTeamEnvironmentInput! + ): UpdateTeamEnvironmentPayload! +""" +Request a key that can be used to trigger a team deletion process -type OpenSearch implements Persistence & Node & ActivityLogger { - id: ID! - name: String! - team: Team! - environment: TeamEnvironment! @deprecated(reason: "Use the `teamEnvironment` field instead.") - teamEnvironment: TeamEnvironment! - terminationProtection: Boolean! - state: OpenSearchState! - workload: Workload @deprecated(reason: "OpenSearch does not have a owner, so this field will always be null.") - access(first: Int, after: Cursor, last: Int, before: Cursor, orderBy: OpenSearchAccessOrder): OpenSearchAccessConnection! +Deleting a team is a two step process. First an owner of the team (or an admin) must request a team deletion key, +and then a second owner of the team (or an admin) must confirm the deletion using the confirmTeamDeletion mutation. - """Fetch version for the OpenSearch instance.""" - version: OpenSearchVersion! +The returned delete key is valid for an hour, and can only be used once. - """Availability tier for the OpenSearch instance.""" - tier: OpenSearchTier! +Note: Service accounts are not allowed to request team delete keys. +""" + requestTeamDeletion( + input: RequestTeamDeletionInput! + ): RequestTeamDeletionPayload! +""" +Confirm a team deletion - """Available memory for the OpenSearch instance.""" - memory: OpenSearchMemory! +This will start the actual team deletion process, which will be done in an asynchronous manner. All external +entities controlled by Nais will also be deleted. - """Available storage in GB.""" - storageGB: Int! +WARNING: There is no going back after starting this process. - """Issues that affects the instance.""" - issues( - """ - Get the first n items in the connection. This can be used in combination with the after parameter. - """ - first: Int +Note: Service accounts are not allowed to confirm a team deletion. +""" + confirmTeamDeletion( + input: ConfirmTeamDeletionInput! + ): ConfirmTeamDeletionPayload! +""" +Add a team member - """Get items after this cursor.""" - after: Cursor +If the user is already a member or an owner of the team, the mutation will result in an error. +""" + addTeamMember( + input: AddTeamMemberInput! + ): AddTeamMemberPayload! +""" +Remove a team member - """ - Get the last n items in the connection. This can be used in combination with the before parameter. - """ - last: Int +If the user is not already a member or an owner of the team, the mutation will result in an error. +""" + removeTeamMember( + input: RemoveTeamMemberInput! + ): RemoveTeamMemberPayload! +""" +Assign a role to a team member - """Get items before this cursor.""" - before: Cursor +The user must already be a member of the team for this mutation to succeed. +""" + setTeamMemberRole( + input: SetTeamMemberRoleInput! + ): SetTeamMemberRolePayload! +""" +Create a new Unleash instance. - """Ordering options for items returned from the connection.""" - orderBy: IssueOrder +This mutation will create a new Unleash instance for the given team. The team +will be set as owner of the Unleash instance and will be able to manage it. - """Filtering options for items returned from the connection.""" - filter: ResourceIssueFilter - ): IssueConnection! +By default, instances are created with the default version. +Optionally specify a releaseChannel to subscribe to automatic version updates. +""" + createUnleashForTeam( + input: CreateUnleashForTeamInput! + ): CreateUnleashForTeamPayload! +""" +Update an Unleash instance's release channel. - """Activity log associated with the reconciler.""" - activityLog( - """ - Get the first n items in the connection. This can be used in combination with the after parameter. - """ - first: Int +Use this mutation to change to a different release channel. +""" + updateUnleashInstance( + input: UpdateUnleashInstanceInput! + ): UpdateUnleashInstancePayload! +""" +Add team to the list of teams that can access the Unleash instance. +""" + allowTeamAccessToUnleash( + input: AllowTeamAccessToUnleashInput! + ): AllowTeamAccessToUnleashPayload! +""" +Remove team from the list of teams that can access the Unleash instance. +""" + revokeTeamAccessToUnleash( + input: RevokeTeamAccessToUnleashInput! + ): RevokeTeamAccessToUnleashPayload! +""" +Delete an Unleash instance. - """Get items after this cursor.""" - after: Cursor +The Unleash instance can only be deleted if no other teams have access to it. +Revoke access for all other teams before deleting the instance. +""" + deleteUnleashInstance( + input: DeleteUnleashInstanceInput! + ): DeleteUnleashInstancePayload! +""" +Create a new Valkey instance. +""" + createValkey( + input: CreateValkeyInput! + ): CreateValkeyPayload! +""" +Update an existing Valkey instance. +""" + updateValkey( + input: UpdateValkeyInput! + ): UpdateValkeyPayload! +""" +Delete an existing Valkey instance. +""" + deleteValkey( + input: DeleteValkeyInput! + ): DeleteValkeyPayload! +""" +Updates a vulnerability +This mutation is currently unstable and may change in the future. +""" + updateImageVulnerability( + input: UpdateImageVulnerabilityInput! + ): UpdateImageVulnerabilityPayload! +} - """ - Get the last n items in the connection. This can be used in combination with the before parameter. - """ - last: Int +type NetworkPolicy { + inbound: InboundNetworkPolicy! + outbound: OutboundNetworkPolicy! +} - """Get items before this cursor.""" - before: Cursor +type NetworkPolicyRule { + targetWorkloadName: String! + targetWorkload: Workload + targetTeamSlug: Slug! + targetTeam: Team + mutual: Boolean! +} - """Filter items.""" - filter: ActivityLogFilter - ): ActivityLogEntryConnection! - cost: OpenSearchCost! +type NoRunningInstancesIssue implements Issue & Node{ + id: ID! + teamEnvironment: TeamEnvironment! + severity: Severity! + message: String! + workload: Workload! +} - """Fetch maintenances updates for the OpenSearch instance.""" - maintenance: OpenSearchMaintenance! +""" +This interface is implemented by types that supports the [Global Object Identification specification](https://graphql.org/learn/global-object-identification/). +""" +interface Node { +""" +This interface is implemented by types that supports the [Global Object Identification specification](https://graphql.org/learn/global-object-identification/). +""" + id: ID! +} + +type OpenSearch implements Persistence & Node & ActivityLogger{ + id: ID! + name: String! + team: Team! + environment: TeamEnvironment! @deprecated(reason: "Use the `teamEnvironment` field instead.") + teamEnvironment: TeamEnvironment! + terminationProtection: Boolean! + state: OpenSearchState! + workload: Workload @deprecated(reason: "OpenSearch does not have a owner, so this field will always be null.") + access( + first: Int + after: Cursor + last: Int + before: Cursor + orderBy: OpenSearchAccessOrder + ): OpenSearchAccessConnection! +""" +Fetch version for the OpenSearch instance. +""" + version: OpenSearchVersion! +""" +Availability tier for the OpenSearch instance. +""" + tier: OpenSearchTier! +""" +Available memory for the OpenSearch instance. +""" + memory: OpenSearchMemory! +""" +Available storage in GB. +""" + storageGB: Int! +""" +Issues that affects the instance. +""" + issues( +""" +Get the first n items in the connection. This can be used in combination with the after parameter. +""" + first: Int +""" +Get items after this cursor. +""" + after: Cursor +""" +Get the last n items in the connection. This can be used in combination with the before parameter. +""" + last: Int +""" +Get items before this cursor. +""" + before: Cursor +""" +Ordering options for items returned from the connection. +""" + orderBy: IssueOrder +""" +Filtering options for items returned from the connection. +""" + filter: ResourceIssueFilter + ): IssueConnection! +""" +Activity log associated with the reconciler. +""" + activityLog( +""" +Get the first n items in the connection. This can be used in combination with the after parameter. +""" + first: Int +""" +Get items after this cursor. +""" + after: Cursor +""" +Get the last n items in the connection. This can be used in combination with the before parameter. +""" + last: Int +""" +Get items before this cursor. +""" + before: Cursor +""" +Filter items. +""" + filter: ActivityLogFilter + ): ActivityLogEntryConnection! + cost: OpenSearchCost! +""" +Fetch maintenances updates for the OpenSearch instance. +""" + maintenance: OpenSearchMaintenance! } type OpenSearchAccess { - workload: Workload! - access: String! + workload: Workload! + access: String! } type OpenSearchAccessConnection { - pageInfo: PageInfo! - nodes: [OpenSearchAccess!]! - edges: [OpenSearchAccessEdge!]! + pageInfo: PageInfo! + nodes: [OpenSearchAccess!]! + edges: [OpenSearchAccessEdge!]! } type OpenSearchAccessEdge { - cursor: Cursor! - node: OpenSearchAccess! + cursor: Cursor! + node: OpenSearchAccess! } input OpenSearchAccessOrder { - field: OpenSearchAccessOrderField! - direction: OrderDirection! + field: OpenSearchAccessOrderField! + direction: OrderDirection! } enum OpenSearchAccessOrderField { - ACCESS - WORKLOAD + ACCESS + WORKLOAD } type OpenSearchConnection { - pageInfo: PageInfo! - nodes: [OpenSearch!]! - edges: [OpenSearchEdge!]! + pageInfo: PageInfo! + nodes: [OpenSearch!]! + edges: [OpenSearchEdge!]! } type OpenSearchCost { - sum: Float! + sum: Float! } -type OpenSearchCreatedActivityLogEntry implements ActivityLogEntry & Node { - """ID of the entry.""" - id: ID! - - """ - The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. - """ - actor: String! - - """Creation time of the entry.""" - createdAt: Time! - - """Message that summarizes the entry.""" - message: String! - - """Type of the resource that was affected by the action.""" - resourceType: ActivityLogEntryResourceType! - - """Name of the resource that was affected by the action.""" - resourceName: String! - - """The team slug that the entry belongs to.""" - teamSlug: Slug! - - """The environment name that the entry belongs to.""" - environmentName: String +type OpenSearchCreatedActivityLogEntry implements ActivityLogEntry & Node{ +""" +ID of the entry. +""" + id: ID! +""" +The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. +""" + actor: String! +""" +Creation time of the entry. +""" + createdAt: Time! +""" +Message that summarizes the entry. +""" + message: String! +""" +Type of the resource that was affected by the action. +""" + resourceType: ActivityLogEntryResourceType! +""" +Name of the resource that was affected by the action. +""" + resourceName: String! +""" +The team slug that the entry belongs to. +""" + teamSlug: Slug! +""" +The environment name that the entry belongs to. +""" + environmentName: String } type OpenSearchCredentials { - """Username for the OpenSearch instance.""" - username: String! - - """Password for the OpenSearch instance.""" - password: String! - - """Hostname of the OpenSearch instance.""" - host: String! - - """Port of the OpenSearch instance.""" - port: Int! - - """Full connection URI for the OpenSearch instance.""" - uri: String! +""" +Username for the OpenSearch instance. +""" + username: String! +""" +Password for the OpenSearch instance. +""" + password: String! +""" +Hostname of the OpenSearch instance. +""" + host: String! +""" +Port of the OpenSearch instance. +""" + port: Int! +""" +Full connection URI for the OpenSearch instance. +""" + uri: String! } -type OpenSearchDeletedActivityLogEntry implements ActivityLogEntry & Node { - """ID of the entry.""" - id: ID! - - """ - The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. - """ - actor: String! - - """Creation time of the entry.""" - createdAt: Time! - - """Message that summarizes the entry.""" - message: String! - - """Type of the resource that was affected by the action.""" - resourceType: ActivityLogEntryResourceType! - - """Name of the resource that was affected by the action.""" - resourceName: String! - - """The team slug that the entry belongs to.""" - teamSlug: Slug! - - """The environment name that the entry belongs to.""" - environmentName: String +type OpenSearchDeletedActivityLogEntry implements ActivityLogEntry & Node{ +""" +ID of the entry. +""" + id: ID! +""" +The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. +""" + actor: String! +""" +Creation time of the entry. +""" + createdAt: Time! +""" +Message that summarizes the entry. +""" + message: String! +""" +Type of the resource that was affected by the action. +""" + resourceType: ActivityLogEntryResourceType! +""" +Name of the resource that was affected by the action. +""" + resourceName: String! +""" +The team slug that the entry belongs to. +""" + teamSlug: Slug! +""" +The environment name that the entry belongs to. +""" + environmentName: String } type OpenSearchEdge { - cursor: Cursor! - node: OpenSearch! + cursor: Cursor! + node: OpenSearch! } -type OpenSearchIssue implements Issue & Node { - id: ID! - teamEnvironment: TeamEnvironment! - severity: Severity! - message: String! - openSearch: OpenSearch! - event: String! +type OpenSearchIssue implements Issue & Node{ + id: ID! + teamEnvironment: TeamEnvironment! + severity: Severity! + message: String! + openSearch: OpenSearch! + event: String! } type OpenSearchMaintenance { - """The day and time of the week when the maintenance will be scheduled.""" - window: MaintenanceWindow - updates( - """ - Get the first n items in the connection. This can be used in combination with the after parameter. - """ - first: Int - - """Get items after this cursor.""" - after: Cursor - - """ - Get the last n items in the connection. This can be used in combination with the before parameter. - """ - last: Int - - """Get items before this cursor.""" - before: Cursor - ): OpenSearchMaintenanceUpdateConnection! +""" +The day and time of the week when the maintenance will be scheduled. +""" + window: MaintenanceWindow + updates( +""" +Get the first n items in the connection. This can be used in combination with the after parameter. +""" + first: Int +""" +Get items after this cursor. +""" + after: Cursor +""" +Get the last n items in the connection. This can be used in combination with the before parameter. +""" + last: Int +""" +Get items before this cursor. +""" + before: Cursor + ): OpenSearchMaintenanceUpdateConnection! } -type OpenSearchMaintenanceUpdate implements ServiceMaintenanceUpdate { - """Title of the maintenance.""" - title: String! - - """Description of the maintenance.""" - description: String! - - """ - Deadline for installing the maintenance. If set, maintenance is mandatory and will be forcibly applied. - """ - deadline: Time - - """ - The time when the update will be automatically applied. If set, maintenance is mandatory and will be forcibly applied. - """ - startAt: Time +type OpenSearchMaintenanceUpdate implements ServiceMaintenanceUpdate{ +""" +Title of the maintenance. +""" + title: String! +""" +Description of the maintenance. +""" + description: String! +""" +Deadline for installing the maintenance. If set, maintenance is mandatory and will be forcibly applied. +""" + deadline: Time +""" +The time when the update will be automatically applied. If set, maintenance is mandatory and will be forcibly applied. +""" + startAt: Time } type OpenSearchMaintenanceUpdateConnection { - """Pagination information.""" - pageInfo: PageInfo! - - """List of nodes.""" - nodes: [OpenSearchMaintenanceUpdate!]! - - """List of edges.""" - edges: [OpenSearchMaintenanceUpdateEdge!]! +""" +Pagination information. +""" + pageInfo: PageInfo! +""" +List of nodes. +""" + nodes: [OpenSearchMaintenanceUpdate!]! +""" +List of edges. +""" + edges: [OpenSearchMaintenanceUpdateEdge!]! } type OpenSearchMaintenanceUpdateEdge { - """Cursor for this edge that can be used for pagination.""" - cursor: Cursor! - - """The OpenSearchMaintenanceUpdate.""" - node: OpenSearchMaintenanceUpdate! +""" +Cursor for this edge that can be used for pagination. +""" + cursor: Cursor! +""" +The OpenSearchMaintenanceUpdate. +""" + node: OpenSearchMaintenanceUpdate! } enum OpenSearchMajorVersion { - """OpenSearch Version 3.3.x""" - V3_3 - - """OpenSearch Version 2.19.x""" - V2_19 - - """OpenSearch Version 2.17.x""" - V2 - - """OpenSearch Version 1.3.x""" - V1 +""" +OpenSearch Version 3.3.x +""" + V3_3 +""" +OpenSearch Version 2.19.x +""" + V2_19 +""" +OpenSearch Version 2.17.x +""" + V2 +""" +OpenSearch Version 1.3.x +""" + V1 } enum OpenSearchMemory { - GB_2 - GB_4 - GB_8 - GB_16 - GB_32 - GB_64 + GB_2 + GB_4 + GB_8 + GB_16 + GB_32 + GB_64 } input OpenSearchOrder { - field: OpenSearchOrderField! - direction: OrderDirection! + field: OpenSearchOrderField! + direction: OrderDirection! } enum OpenSearchOrderField { - NAME - ENVIRONMENT - STATE - - """Order OpenSearches by issue severity""" - ISSUES + NAME + ENVIRONMENT + STATE +""" +Order OpenSearches by issue severity +""" + ISSUES } enum OpenSearchState { - POWEROFF - REBALANCING - REBUILDING - RUNNING - UNKNOWN + POWEROFF + REBALANCING + REBUILDING + RUNNING + UNKNOWN } enum OpenSearchTier { - SINGLE_NODE - HIGH_AVAILABILITY + SINGLE_NODE + HIGH_AVAILABILITY } -type OpenSearchUpdatedActivityLogEntry implements ActivityLogEntry & Node { - """ID of the entry.""" - id: ID! - - """ - The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. - """ - actor: String! - - """Creation time of the entry.""" - createdAt: Time! - - """Message that summarizes the entry.""" - message: String! - - """Type of the resource that was affected by the action.""" - resourceType: ActivityLogEntryResourceType! - - """Name of the resource that was affected by the action.""" - resourceName: String! - - """The team slug that the entry belongs to.""" - teamSlug: Slug! - - """The environment name that the entry belongs to.""" - environmentName: String - - """Data associated with the entry.""" - data: OpenSearchUpdatedActivityLogEntryData! +type OpenSearchUpdatedActivityLogEntry implements ActivityLogEntry & Node{ +""" +ID of the entry. +""" + id: ID! +""" +The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. +""" + actor: String! +""" +Creation time of the entry. +""" + createdAt: Time! +""" +Message that summarizes the entry. +""" + message: String! +""" +Type of the resource that was affected by the action. +""" + resourceType: ActivityLogEntryResourceType! +""" +Name of the resource that was affected by the action. +""" + resourceName: String! +""" +The team slug that the entry belongs to. +""" + teamSlug: Slug! +""" +The environment name that the entry belongs to. +""" + environmentName: String +""" +Data associated with the entry. +""" + data: OpenSearchUpdatedActivityLogEntryData! } type OpenSearchUpdatedActivityLogEntryData { - updatedFields: [OpenSearchUpdatedActivityLogEntryDataUpdatedField!]! + updatedFields: [OpenSearchUpdatedActivityLogEntryDataUpdatedField!]! } type OpenSearchUpdatedActivityLogEntryDataUpdatedField { - """The name of the field.""" - field: String! - - """The old value of the field.""" - oldValue: String - - """The new value of the field.""" - newValue: String +""" +The name of the field. +""" + field: String! +""" +The old value of the field. +""" + oldValue: String +""" +The new value of the field. +""" + newValue: String } type OpenSearchVersion { - """ - The full version string of the OpenSearch instance. This will be available after the instance is created. - """ - actual: String - - """The desired major version of the OpenSearch instance.""" - desiredMajor: OpenSearchMajorVersion! +""" +The full version string of the OpenSearch instance. This will be available after the instance is created. +""" + actual: String +""" +The desired major version of the OpenSearch instance. +""" + desiredMajor: OpenSearchMajorVersion! } -"""Possible directions in which to order a list of items.""" +""" +Possible directions in which to order a list of items. +""" enum OrderDirection { - """Ascending sort order.""" - ASC - - """Descending sort order.""" - DESC +""" +Ascending sort order. +""" + ASC +""" +Descending sort order. +""" + DESC } type OutboundNetworkPolicy { - rules: [NetworkPolicyRule!]! - external: [ExternalNetworkPolicyTarget!]! + rules: [NetworkPolicyRule!]! + external: [ExternalNetworkPolicyTarget!]! } """ @@ -4313,1557 +5186,1905 @@ This type is used for paginating the connection Learn more about how we have implemented pagination in the [GraphQL Best Practices documentation](https://graphql.org/learn/pagination/). """ type PageInfo { - """Whether or not there exists a next page in the connection.""" - hasNextPage: Boolean! - - """ - The cursor for the last item in the edges. This cursor is used when paginating forwards. - """ - endCursor: Cursor - - """Whether or not there exists a previous page in the connection.""" - hasPreviousPage: Boolean! - - """ - The cursor for the first item in the edges. This cursor is used when paginating backwards. - """ - startCursor: Cursor - - """The total amount of items in the connection.""" - totalCount: Int! - - """The offset of the first item in the connection.""" - pageStart: Int! - - """The offset of the last item in the connection.""" - pageEnd: Int! +""" +Whether or not there exists a next page in the connection. +""" + hasNextPage: Boolean! +""" +The cursor for the last item in the edges. This cursor is used when paginating forwards. +""" + endCursor: Cursor +""" +Whether or not there exists a previous page in the connection. +""" + hasPreviousPage: Boolean! +""" +The cursor for the first item in the edges. This cursor is used when paginating backwards. +""" + startCursor: Cursor +""" +The total amount of items in the connection. +""" + totalCount: Int! +""" +The offset of the first item in the connection. +""" + pageStart: Int! +""" +The offset of the last item in the connection. +""" + pageEnd: Int! } interface Persistence { - id: ID! - name: String! - team: Team! - environment: TeamEnvironment! @deprecated(reason: "Use the `teamEnvironment` field instead.") - teamEnvironment: TeamEnvironment! + id: ID! + name: String! + team: Team! + environment: TeamEnvironment! + teamEnvironment: TeamEnvironment! } -type PostgresGrantAccessActivityLogEntry implements ActivityLogEntry & Node { - """ID of the entry.""" - id: ID! - - """ - The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. - """ - actor: String! - - """Creation time of the entry.""" - createdAt: Time! - - """Message that summarizes the entry.""" - message: String! - - """Type of the resource that was affected by the action.""" - resourceType: ActivityLogEntryResourceType! - - """Name of the resource that was affected by the action.""" - resourceName: String! - - """The team slug that the entry belongs to.""" - teamSlug: Slug! - - """The environment name that the entry belongs to.""" - environmentName: String - - """Data associated with the update.""" - data: PostgresGrantAccessActivityLogEntryData! +type PostgresGrantAccessActivityLogEntry implements ActivityLogEntry & Node{ +""" +ID of the entry. +""" + id: ID! +""" +The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. +""" + actor: String! +""" +Creation time of the entry. +""" + createdAt: Time! +""" +Message that summarizes the entry. +""" + message: String! +""" +Type of the resource that was affected by the action. +""" + resourceType: ActivityLogEntryResourceType! +""" +Name of the resource that was affected by the action. +""" + resourceName: String! +""" +The team slug that the entry belongs to. +""" + teamSlug: Slug! +""" +The environment name that the entry belongs to. +""" + environmentName: String +""" +Data associated with the update. +""" + data: PostgresGrantAccessActivityLogEntryData! } type PostgresGrantAccessActivityLogEntryData { - grantee: String! - until: Time! + grantee: String! + until: Time! } -type PostgresInstance implements Persistence & Node { - id: ID! - name: String! - team: Team! - environment: TeamEnvironment! @deprecated(reason: "Use the `teamEnvironment` field instead.") - teamEnvironment: TeamEnvironment! - - """Workloads that reference the Postgres instance.""" - workloads( - """ - Get the first n items in the connection. This can be used in combination with the after parameter. - """ - first: Int - - """Get items after this cursor.""" - after: Cursor - - """ - Get the last n items in the connection. This can be used in combination with the before parameter. - """ - last: Int - - """Get items before this cursor.""" - before: Cursor - ): WorkloadConnection! - - """Resource allocation for the Postgres cluster.""" - resources: PostgresInstanceResources! - - """Major version of PostgreSQL.""" - majorVersion: String! - - """Audit logging configuration for the Postgres cluster.""" - audit: PostgresInstanceAudit! - - """ - Indicates whether the Postgres cluster is configured for high availability. - """ - highAvailability: Boolean! - - """Current state of the Postgres cluster.""" - state: PostgresInstanceState! - - """Maintenance window for the Postgres cluster, if configured.""" - maintenanceWindow: PostgresInstanceMaintenanceWindow +type PostgresInstance implements Persistence & Node{ + id: ID! + name: String! + team: Team! + environment: TeamEnvironment! @deprecated(reason: "Use the `teamEnvironment` field instead.") + teamEnvironment: TeamEnvironment! +""" +Workloads that reference the Postgres instance. +""" + workloads( +""" +Get the first n items in the connection. This can be used in combination with the after parameter. +""" + first: Int +""" +Get items after this cursor. +""" + after: Cursor +""" +Get the last n items in the connection. This can be used in combination with the before parameter. +""" + last: Int +""" +Get items before this cursor. +""" + before: Cursor + ): WorkloadConnection! +""" +Resource allocation for the Postgres cluster. +""" + resources: PostgresInstanceResources! +""" +Major version of PostgreSQL. +""" + majorVersion: String! +""" +Audit logging configuration for the Postgres cluster. +""" + audit: PostgresInstanceAudit! +""" +Indicates whether the Postgres cluster is configured for high availability. +""" + highAvailability: Boolean! +""" +Current state of the Postgres cluster. +""" + state: PostgresInstanceState! +""" +Maintenance window for the Postgres cluster, if configured. +""" + maintenanceWindow: PostgresInstanceMaintenanceWindow } type PostgresInstanceAudit { - """Indicates whether audit logging is enabled for the Postgres cluster.""" - enabled: Boolean! - - """URL for accessing the audit logs.""" - url: String - - """ - List of statement classes that are being logged, such as `ddl`, `dml`, and `read`. - """ - statementClasses: [String!] +""" +Indicates whether audit logging is enabled for the Postgres cluster. +""" + enabled: Boolean! +""" +URL for accessing the audit logs. +""" + url: String +""" +List of statement classes that are being logged, such as `ddl`, `dml`, and `read`. +""" + statementClasses: [String!] } type PostgresInstanceConnection { - pageInfo: PageInfo! - nodes: [PostgresInstance!]! - edges: [PostgresInstanceEdge!]! + pageInfo: PageInfo! + nodes: [PostgresInstance!]! + edges: [PostgresInstanceEdge!]! } type PostgresInstanceEdge { - cursor: Cursor! - node: PostgresInstance! + cursor: Cursor! + node: PostgresInstance! } type PostgresInstanceMaintenanceWindow { - day: Int! - hour: Int! + day: Int! + hour: Int! } input PostgresInstanceOrder { - field: PostgresInstanceOrderField! - direction: OrderDirection! + field: PostgresInstanceOrderField! + direction: OrderDirection! } enum PostgresInstanceOrderField { - NAME - ENVIRONMENT + NAME + ENVIRONMENT } type PostgresInstanceResources { - cpu: String! - memory: String! - diskSize: String! + cpu: String! + memory: String! + diskSize: String! } enum PostgresInstanceState { - AVAILABLE - PROGRESSING - DEGRADED + AVAILABLE + PROGRESSING + DEGRADED } type Price { - value: Float! + value: Float! } type PrometheusAlarm { - """The action to take when the alert fires.""" - action: String! - - """The consequence of the alert firing.""" - consequence: String! - - """A summary of the alert.""" - summary: String! - - """The state of the alert.""" - state: AlertState! - - """The current value of the metric that triggered the alert.""" - value: Float! - - """The time when the alert started firing.""" - since: Time! +""" +The action to take when the alert fires. +""" + action: String! +""" +The consequence of the alert firing. +""" + consequence: String! +""" +A summary of the alert. +""" + summary: String! +""" +The state of the alert. +""" + state: AlertState! +""" +The current value of the metric that triggered the alert. +""" + value: Float! +""" +The time when the alert started firing. +""" + since: Time! } -"""PrometheusAlert type""" -type PrometheusAlert implements Node & Alert { - """The unique identifier for the alert.""" - id: ID! - - """The name of the alert.""" - name: String! - - """The team that owns the alert.""" - team: Team! - - """The team environment for the alert.""" - teamEnvironment: TeamEnvironment! - - """The state of the alert.""" - state: AlertState! - - """The query for the alert.""" - query: String! - - """The duration for the alert.""" - duration: Float! - - """The prometheus rule group for the alert.""" - ruleGroup: String! - - """The alarms of the alert available if state is firing.""" - alarms: [PrometheusAlarm!]! +""" +PrometheusAlert type +""" +type PrometheusAlert implements Node & Alert{ +""" +The unique identifier for the alert. +""" + id: ID! +""" +The name of the alert. +""" + name: String! +""" +The team that owns the alert. +""" + team: Team! +""" +The team environment for the alert. +""" + teamEnvironment: TeamEnvironment! +""" +The state of the alert. +""" + state: AlertState! +""" +The query for the alert. +""" + query: String! +""" +The duration for the alert. +""" + duration: Float! +""" +The prometheus rule group for the alert. +""" + ruleGroup: String! +""" +The alarms of the alert available if state is firing. +""" + alarms: [PrometheusAlarm!]! } -"""The query root for the Nais GraphQL API.""" +""" +The query root for the Nais GraphQL API. +""" type Query { - """Fetch an object using its globally unique ID.""" - node( - """The ID of the object to fetch.""" - id: ID! - ): Node - roles( - """ - Get the first n items in the connection. This can be used in combination with the after parameter. - """ - first: Int - - """Get items after this cursor.""" - after: Cursor - - """ - Get the last n items in the connection. This can be used in combination with the before parameter. - """ - last: Int - - """Get items before this cursor.""" - before: Cursor - ): RoleConnection! - - """Get the monthly cost summary for a tenant.""" - costMonthlySummary( - """Start month of the period, inclusive.""" - from: Date! - - """End month of the period, inclusive.""" - to: Date! - ): CostMonthlySummary! - - """Get a list of deployments.""" - deployments( - """ - Get the first n items in the connection. This can be used in combination with the after parameter. - """ - first: Int - - """Get items after this cursor.""" - after: Cursor - - """ - Get the last n items in the connection. This can be used in combination with the before parameter. - """ - last: Int - - """Get items before this cursor.""" - before: Cursor - - """Ordering options for items returned from the connection.""" - orderBy: DeploymentOrder - - """Filter options for the deployments returned from the connection.""" - filter: DeploymentFilter - ): DeploymentConnection! - - """Get a list of environments.""" - environments( - """Ordering options for environments.""" - orderBy: EnvironmentOrder - ): EnvironmentConnection! - - """Get a single environment.""" - environment( - """The name of the environment to get.""" - name: String! - ): Environment! - - """Feature flags.""" - features: Features! - - """Get current prices for resources.""" - currentUnitPrices: CurrentUnitPrices! - - """Get a collection of reconcilers.""" - reconcilers( - """ - Get the first n items in the connection. This can be used in combination with the after parameter. - """ - first: Int - - """Get items after this cursor.""" - after: Cursor - - """ - Get the last n items in the connection. This can be used in combination with the before parameter. - """ - last: Int - - """Get items before this cursor.""" - before: Cursor - ): ReconcilerConnection! - - """Search for entities.""" - search( - """ - Get the first n items in the connection. This can be used in combination with the after parameter. - """ - first: Int - - """Get items after this cursor.""" - after: Cursor - - """ - Get the last n items in the connection. This can be used in combination with the before parameter. - """ - last: Int - - """Get items before this cursor.""" - before: Cursor - - """Filter the search results.""" - filter: SearchFilter! - ): SearchNodeConnection! - - """Get a list of service accounts.""" - serviceAccounts( - """ - Get the first n items in the connection. This can be used in combination with the after parameter. - """ - first: Int - - """Get items after this cursor.""" - after: Cursor - - """ - Get the last n items in the connection. This can be used in combination with the before parameter. - """ - last: Int - - """Get items before this cursor.""" - before: Cursor - ): ServiceAccountConnection! - - """Returns a service account by its ID.""" - serviceAccount( - """ID of the service account.""" - id: ID! - ): ServiceAccount! - - """Get a list of teams.""" - teams( - """ - Get the first n items in the connection. This can be used in combination with the after parameter. - """ - first: Int - - """Get items after this cursor.""" - after: Cursor - - """ - Get the last n items in the connection. This can be used in combination with the before parameter. - """ - last: Int - - """Get items before this cursor.""" - before: Cursor - - """Ordering options for items returned from the connection.""" - orderBy: TeamOrder - - """Filter options for the teams returned from the connection.""" - filter: TeamFilter - ): TeamConnection! - - """Get a team by its slug.""" - team(slug: Slug!): Team! - - """ - Get a list of available release channels for Unleash instances. - Release channels provide automatic version updates based on the channel's update policy. - """ - unleashReleaseChannels: [UnleashReleaseChannel!]! - - """Get a list of users.""" - users( - """ - Get the first n items in the connection. This can be used in combination with the after parameter. - """ - first: Int - - """Get items after this cursor.""" - after: Cursor - - """ - Get the last n items in the connection. This can be used in combination with the before parameter. - """ - last: Int - - """Get items before this cursor.""" - before: Cursor - - """Ordering options for items returned from the connection.""" - orderBy: UserOrder - ): UserConnection! - - """Get a user by an identifier.""" - user(email: String): User! - - """The currently authenticated user.""" - me: AuthenticatedUser! - - """Log entries from the user sync process.""" - userSyncLog( - """ - Get the first n items in the connection. This can be used in combination with the after parameter. - """ - first: Int - - """Get items after this cursor.""" - after: Cursor - - """ - Get the last n items in the connection. This can be used in combination with the before parameter. - """ - last: Int - - """Get items before this cursor.""" - before: Cursor - ): UserSyncLogEntryConnection! - teamsUtilization(resourceType: UtilizationResourceType!): [TeamUtilizationData!]! - - """Get the vulnerability summary history for all teams.""" - imageVulnerabilityHistory( - """Get vulnerability summary from given date until today.""" - from: Date! - ): ImageVulnerabilityHistory! - - """Get the vulnerability summary for the tenant.""" - vulnerabilitySummary: TenantVulnerabilitySummary! - - """Get the mean time to fix history for all teams.""" - vulnerabilityFixHistory(from: Date!): VulnerabilityFixHistory! - - """Get a specific CVE by its identifier.""" - cve(identifier: String!): CVE! - - """List active CVEs for workloads in all environments.""" - cves( - """ - Get the first n items in the connection. This can be used in combination with the after parameter. - """ - first: Int - - """Get items after this cursor.""" - after: Cursor - - """ - Get the last n items in the connection. This can be used in combination with the before parameter. - """ - last: Int - - """Get items before this cursor.""" - before: Cursor - - """Ordering options for items returned from the connection.""" - orderBy: CVEOrder - ): CVEConnection! -} - -"""Reconciler type.""" -type Reconciler implements Node & ActivityLogger { - """Unique identifier for the reconciler.""" - id: ID! - - """The name of the reconciler.""" - name: String! - - """The human-friendly name of the reconciler.""" - displayName: String! - - """Description of what the reconciler is responsible for.""" - description: String! - - """Whether or not the reconciler is enabled.""" - enabled: Boolean! - - """Reconciler configuration keys and descriptions.""" - config: [ReconcilerConfig!]! - - """ - Whether or not the reconciler is fully configured and ready to be enabled. - """ - configured: Boolean! - - """Potential errors that have occurred during the reconciler's operation.""" - errors( - """ - Get the first n items in the connection. This can be used in combination with the after parameter. - """ - first: Int - - """Get items after this cursor.""" - after: Cursor - - """ - Get the last n items in the connection. This can be used in combination with the before parameter. - """ - last: Int - - """Get items before this cursor.""" - before: Cursor - ): ReconcilerErrorConnection! - - """Activity log associated with the reconciler.""" - activityLog( - """ - Get the first n items in the connection. This can be used in combination with the after parameter. - """ - first: Int - - """Get items after this cursor.""" - after: Cursor - - """ - Get the last n items in the connection. This can be used in combination with the before parameter. - """ - last: Int - - """Get items before this cursor.""" - before: Cursor - - """Filter items.""" - filter: ActivityLogFilter - ): ActivityLogEntryConnection! -} - -"""Reconciler configuration type.""" -type ReconcilerConfig { - """Configuration key.""" - key: String! - - """The human-friendly name of the configuration key.""" - displayName: String! - - """Configuration description.""" - description: String! - - """Whether or not the configuration key has a value.""" - configured: Boolean! - - """ - Whether or not the configuration value is considered a secret. Secret values will not be exposed through the API. - """ - secret: Boolean! - - """ - Configuration value. This will be set to null if the value is considered a secret. - """ - value: String -} - -"""Reconciler configuration input.""" -input ReconcilerConfigInput { - """Configuration key.""" - key: String! - - """Configuration value.""" - value: String! -} - -type ReconcilerConfiguredActivityLogEntry implements ActivityLogEntry & Node { - """ID of the entry.""" - id: ID! - - """ - The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. - """ - actor: String! - - """Creation time of the entry.""" - createdAt: Time! - - """Message that summarizes the entry.""" - message: String! - - """Type of the resource that was affected by the action.""" - resourceType: ActivityLogEntryResourceType! - - """Name of the resource that was affected by the action.""" - resourceName: String! - - """The team slug that the entry belongs to.""" - teamSlug: Slug! - - """The environment name that the entry belongs to.""" - environmentName: String - - """Data associated with the update.""" - data: ReconcilerConfiguredActivityLogEntryData! -} - -type ReconcilerConfiguredActivityLogEntryData { - """Keys that were updated.""" - updatedKeys: [String!]! -} - -type ReconcilerConnection { - """Pagination information.""" - pageInfo: PageInfo! - - """List of nodes.""" - nodes: [Reconciler!]! - - """List of edges.""" - edges: [ReconcilerEdge!]! +""" +Fetch an object using its globally unique ID. +""" + node( +""" +The ID of the object to fetch. +""" + id: ID! + ): Node + roles( +""" +Get the first n items in the connection. This can be used in combination with the after parameter. +""" + first: Int +""" +Get items after this cursor. +""" + after: Cursor +""" +Get the last n items in the connection. This can be used in combination with the before parameter. +""" + last: Int +""" +Get items before this cursor. +""" + before: Cursor + ): RoleConnection! +""" +Get the monthly cost summary for a tenant. +""" + costMonthlySummary( +""" +Start month of the period, inclusive. +""" + from: Date! +""" +End month of the period, inclusive. +""" + to: Date! + ): CostMonthlySummary! +""" +Get a list of deployments. +""" + deployments( +""" +Get the first n items in the connection. This can be used in combination with the after parameter. +""" + first: Int +""" +Get items after this cursor. +""" + after: Cursor +""" +Get the last n items in the connection. This can be used in combination with the before parameter. +""" + last: Int +""" +Get items before this cursor. +""" + before: Cursor +""" +Ordering options for items returned from the connection. +""" + orderBy: DeploymentOrder +""" +Filter options for the deployments returned from the connection. +""" + filter: DeploymentFilter + ): DeploymentConnection! +""" +Get a list of environments. +""" + environments( +""" +Ordering options for environments. +""" + orderBy: EnvironmentOrder + ): EnvironmentConnection! +""" +Get a single environment. +""" + environment( +""" +The name of the environment to get. +""" + name: String! + ): Environment! +""" +Feature flags. +""" + features: Features! +""" +Get current prices for resources. +""" + currentUnitPrices: CurrentUnitPrices! +""" +Get a collection of reconcilers. +""" + reconcilers( +""" +Get the first n items in the connection. This can be used in combination with the after parameter. +""" + first: Int +""" +Get items after this cursor. +""" + after: Cursor +""" +Get the last n items in the connection. This can be used in combination with the before parameter. +""" + last: Int +""" +Get items before this cursor. +""" + before: Cursor + ): ReconcilerConnection! +""" +Search for entities. +""" + search( +""" +Get the first n items in the connection. This can be used in combination with the after parameter. +""" + first: Int +""" +Get items after this cursor. +""" + after: Cursor +""" +Get the last n items in the connection. This can be used in combination with the before parameter. +""" + last: Int +""" +Get items before this cursor. +""" + before: Cursor +""" +Filter the search results. +""" + filter: SearchFilter! + ): SearchNodeConnection! +""" +Get a list of service accounts. +""" + serviceAccounts( +""" +Get the first n items in the connection. This can be used in combination with the after parameter. +""" + first: Int +""" +Get items after this cursor. +""" + after: Cursor +""" +Get the last n items in the connection. This can be used in combination with the before parameter. +""" + last: Int +""" +Get items before this cursor. +""" + before: Cursor + ): ServiceAccountConnection! +""" +Returns a service account by its ID. +""" + serviceAccount( +""" +ID of the service account. +""" + id: ID! + ): ServiceAccount! +""" +Get a list of teams. +""" + teams( +""" +Get the first n items in the connection. This can be used in combination with the after parameter. +""" + first: Int +""" +Get items after this cursor. +""" + after: Cursor +""" +Get the last n items in the connection. This can be used in combination with the before parameter. +""" + last: Int +""" +Get items before this cursor. +""" + before: Cursor +""" +Ordering options for items returned from the connection. +""" + orderBy: TeamOrder +""" +Filter options for the teams returned from the connection. +""" + filter: TeamFilter + ): TeamConnection! +""" +Get a team by its slug. +""" + team( + slug: Slug! + ): Team! +""" +Get a list of available release channels for Unleash instances. +Release channels provide automatic version updates based on the channel's update policy. +""" + unleashReleaseChannels: [UnleashReleaseChannel!]! +""" +Get a list of users. +""" + users( +""" +Get the first n items in the connection. This can be used in combination with the after parameter. +""" + first: Int +""" +Get items after this cursor. +""" + after: Cursor +""" +Get the last n items in the connection. This can be used in combination with the before parameter. +""" + last: Int +""" +Get items before this cursor. +""" + before: Cursor +""" +Ordering options for items returned from the connection. +""" + orderBy: UserOrder + ): UserConnection! +""" +Get a user by an identifier. +""" + user( + email: String + ): User! +""" +The currently authenticated user. +""" + me: AuthenticatedUser! +""" +Log entries from the user sync process. +""" + userSyncLog( +""" +Get the first n items in the connection. This can be used in combination with the after parameter. +""" + first: Int +""" +Get items after this cursor. +""" + after: Cursor +""" +Get the last n items in the connection. This can be used in combination with the before parameter. +""" + last: Int +""" +Get items before this cursor. +""" + before: Cursor + ): UserSyncLogEntryConnection! + teamsUtilization( + resourceType: UtilizationResourceType! + ): [TeamUtilizationData!]! +""" +Get the vulnerability summary history for all teams. +""" + imageVulnerabilityHistory( +""" +Get vulnerability summary from given date until today. +""" + from: Date! + ): ImageVulnerabilityHistory! +""" +Get the vulnerability summary for the tenant. +""" + vulnerabilitySummary: TenantVulnerabilitySummary! +""" +Get the mean time to fix history for all teams. +""" + vulnerabilityFixHistory( + from: Date! + ): VulnerabilityFixHistory! +""" +Get a specific CVE by its identifier. +""" + cve( + identifier: String! + ): CVE! +""" +List active CVEs for workloads in all environments. +""" + cves( +""" +Get the first n items in the connection. This can be used in combination with the after parameter. +""" + first: Int +""" +Get items after this cursor. +""" + after: Cursor +""" +Get the last n items in the connection. This can be used in combination with the before parameter. +""" + last: Int +""" +Get items before this cursor. +""" + before: Cursor +""" +Ordering options for items returned from the connection. +""" + orderBy: CVEOrder + ): CVEConnection! } -type ReconcilerDisabledActivityLogEntry implements ActivityLogEntry & Node { - """ID of the entry.""" - id: ID! - - """ - The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. - """ - actor: String! - - """Creation time of the entry.""" - createdAt: Time! - - """Message that summarizes the entry.""" - message: String! - - """Type of the resource that was affected by the action.""" - resourceType: ActivityLogEntryResourceType! - - """Name of the resource that was affected by the action.""" - resourceName: String! - - """The team slug that the entry belongs to.""" - teamSlug: Slug! - - """The environment name that the entry belongs to.""" - environmentName: String +""" +Reconciler type. +""" +type Reconciler implements Node & ActivityLogger{ +""" +Unique identifier for the reconciler. +""" + id: ID! +""" +The name of the reconciler. +""" + name: String! +""" +The human-friendly name of the reconciler. +""" + displayName: String! +""" +Description of what the reconciler is responsible for. +""" + description: String! +""" +Whether or not the reconciler is enabled. +""" + enabled: Boolean! +""" +Reconciler configuration keys and descriptions. +""" + config: [ReconcilerConfig!]! +""" +Whether or not the reconciler is fully configured and ready to be enabled. +""" + configured: Boolean! +""" +Potential errors that have occurred during the reconciler's operation. +""" + errors( +""" +Get the first n items in the connection. This can be used in combination with the after parameter. +""" + first: Int +""" +Get items after this cursor. +""" + after: Cursor +""" +Get the last n items in the connection. This can be used in combination with the before parameter. +""" + last: Int +""" +Get items before this cursor. +""" + before: Cursor + ): ReconcilerErrorConnection! +""" +Activity log associated with the reconciler. +""" + activityLog( +""" +Get the first n items in the connection. This can be used in combination with the after parameter. +""" + first: Int +""" +Get items after this cursor. +""" + after: Cursor +""" +Get the last n items in the connection. This can be used in combination with the before parameter. +""" + last: Int +""" +Get items before this cursor. +""" + before: Cursor +""" +Filter items. +""" + filter: ActivityLogFilter + ): ActivityLogEntryConnection! } -type ReconcilerEdge { - """Cursor for this edge that can be used for pagination.""" - cursor: Cursor! - - """The reconciler.""" - node: Reconciler! +""" +Reconciler configuration type. +""" +type ReconcilerConfig { +""" +Configuration key. +""" + key: String! +""" +The human-friendly name of the configuration key. +""" + displayName: String! +""" +Configuration description. +""" + description: String! +""" +Whether or not the configuration key has a value. +""" + configured: Boolean! +""" +Whether or not the configuration value is considered a secret. Secret values will not be exposed through the API. +""" + secret: Boolean! +""" +Configuration value. This will be set to null if the value is considered a secret. +""" + value: String } -type ReconcilerEnabledActivityLogEntry implements ActivityLogEntry & Node { - """ID of the entry.""" - id: ID! - - """ - The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. - """ - actor: String! - - """Creation time of the entry.""" - createdAt: Time! - - """Message that summarizes the entry.""" - message: String! - - """Type of the resource that was affected by the action.""" - resourceType: ActivityLogEntryResourceType! - - """Name of the resource that was affected by the action.""" - resourceName: String! - - """The team slug that the entry belongs to.""" - teamSlug: Slug! - - """The environment name that the entry belongs to.""" - environmentName: String +""" +Reconciler configuration input. +""" +input ReconcilerConfigInput { +""" +Reconciler configuration input. +""" + key: String! +""" +Reconciler configuration input. +""" + value: String! } -type ReconcilerError implements Node { - """Unique identifier for the reconciler error.""" - id: ID! - - """The correlation ID for the reconciler error.""" - correlationID: String! - - """Creation timestamp of the reconciler error.""" - createdAt: Time! - - """The error message itself.""" - message: String! - - """The team that the error belongs to.""" - team: Team! +type ReconcilerConfiguredActivityLogEntry implements ActivityLogEntry & Node{ +""" +ID of the entry. +""" + id: ID! +""" +The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. +""" + actor: String! +""" +Creation time of the entry. +""" + createdAt: Time! +""" +Message that summarizes the entry. +""" + message: String! +""" +Type of the resource that was affected by the action. +""" + resourceType: ActivityLogEntryResourceType! +""" +Name of the resource that was affected by the action. +""" + resourceName: String! +""" +The team slug that the entry belongs to. +""" + teamSlug: Slug! +""" +The environment name that the entry belongs to. +""" + environmentName: String +""" +Data associated with the update. +""" + data: ReconcilerConfiguredActivityLogEntryData! } -type ReconcilerErrorConnection { - """Pagination information.""" - pageInfo: PageInfo! - - """List of nodes.""" - nodes: [ReconcilerError!]! - - """List of edges.""" - edges: [ReconcilerErrorEdge!]! +type ReconcilerConfiguredActivityLogEntryData { +""" +Keys that were updated. +""" + updatedKeys: [String!]! } -type ReconcilerErrorEdge { - """Cursor for this edge that can be used for pagination.""" - cursor: Cursor! - - """The reconcilerError.""" - node: ReconcilerError! -} +type ReconcilerConnection { +""" +Pagination information. +""" + pageInfo: PageInfo! +""" +List of nodes. +""" + nodes: [Reconciler!]! +""" +List of edges. +""" + edges: [ReconcilerEdge!]! +} -input RemoveConfigValueInput { - """The name of the config.""" - configName: String! +type ReconcilerDisabledActivityLogEntry implements ActivityLogEntry & Node{ +""" +ID of the entry. +""" + id: ID! +""" +The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. +""" + actor: String! +""" +Creation time of the entry. +""" + createdAt: Time! +""" +Message that summarizes the entry. +""" + message: String! +""" +Type of the resource that was affected by the action. +""" + resourceType: ActivityLogEntryResourceType! +""" +Name of the resource that was affected by the action. +""" + resourceName: String! +""" +The team slug that the entry belongs to. +""" + teamSlug: Slug! +""" +The environment name that the entry belongs to. +""" + environmentName: String +} + +type ReconcilerEdge { +""" +Cursor for this edge that can be used for pagination. +""" + cursor: Cursor! +""" +The reconciler. +""" + node: Reconciler! +} + +type ReconcilerEnabledActivityLogEntry implements ActivityLogEntry & Node{ +""" +ID of the entry. +""" + id: ID! +""" +The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. +""" + actor: String! +""" +Creation time of the entry. +""" + createdAt: Time! +""" +Message that summarizes the entry. +""" + message: String! +""" +Type of the resource that was affected by the action. +""" + resourceType: ActivityLogEntryResourceType! +""" +Name of the resource that was affected by the action. +""" + resourceName: String! +""" +The team slug that the entry belongs to. +""" + teamSlug: Slug! +""" +The environment name that the entry belongs to. +""" + environmentName: String +} + +type ReconcilerError implements Node{ +""" +Unique identifier for the reconciler error. +""" + id: ID! +""" +The correlation ID for the reconciler error. +""" + correlationID: String! +""" +Creation timestamp of the reconciler error. +""" + createdAt: Time! +""" +The error message itself. +""" + message: String! +""" +The team that the error belongs to. +""" + team: Team! +} - """The environment the config exists in.""" - environmentName: String! +type ReconcilerErrorConnection { +""" +Pagination information. +""" + pageInfo: PageInfo! +""" +List of nodes. +""" + nodes: [ReconcilerError!]! +""" +List of edges. +""" + edges: [ReconcilerErrorEdge!]! +} - """The team that owns the config.""" - teamSlug: Slug! +type ReconcilerErrorEdge { +""" +Cursor for this edge that can be used for pagination. +""" + cursor: Cursor! +""" +The reconcilerError. +""" + node: ReconcilerError! +} - """The config value to remove.""" - valueName: String! +input RemoveConfigValueInput { + configName: String! + environmentName: String! + teamSlug: Slug! + valueName: String! } type RemoveConfigValuePayload { - """The updated config.""" - config: Config +""" +The updated config. +""" + config: Config } input RemoveRepositoryFromTeamInput { - """Slug of the team to remove the repository from.""" - teamSlug: Slug! - - """Name of the repository, with the org prefix, for instance 'org/repo'.""" - repositoryName: String! + teamSlug: Slug! + repositoryName: String! } type RemoveRepositoryFromTeamPayload { - """Whether or not the repository was removed from the team.""" - success: Boolean +""" +Whether or not the repository was removed from the team. +""" + success: Boolean } input RemoveSecretValueInput { - """The name of the secret.""" - secretName: String! - - """The environment the secret exists in.""" - environment: String! - - """The team that owns the secret.""" - team: Slug! - - """The secret value to remove.""" - valueName: String! + secretName: String! + environment: String! + team: Slug! + valueName: String! } type RemoveSecretValuePayload { - """The updated secret.""" - secret: Secret +""" +The updated secret. +""" + secret: Secret } input RemoveTeamMemberInput { - """Slug of the team that the member should be removed from.""" - teamSlug: Slug! - - """The email address of the user to remove from the team.""" - userEmail: String! + teamSlug: Slug! + userEmail: String! } type RemoveTeamMemberPayload { - """The user that was removed from the team.""" - user: User - - """The team that the member was removed from.""" - team: Team +""" +The user that was removed from the team. +""" + user: User +""" +The team that the member was removed from. +""" + team: Team } -type Repository implements Node { - """ID of the repository.""" - id: ID! - - """Name of the repository, with the organization prefix.""" - name: String! - - """Team this repository is connected to.""" - team: Team! +type Repository implements Node{ +""" +ID of the repository. +""" + id: ID! +""" +Name of the repository, with the organization prefix. +""" + name: String! +""" +Team this repository is connected to. +""" + team: Team! } -type RepositoryAddedActivityLogEntry implements ActivityLogEntry & Node { - """ID of the entry.""" - id: ID! - - """ - The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. - """ - actor: String! - - """Creation time of the entry.""" - createdAt: Time! - - """Message that summarizes the entry.""" - message: String! - - """Type of the resource that was affected by the action.""" - resourceType: ActivityLogEntryResourceType! - - """Name of the resource that was affected by the action.""" - resourceName: String! - - """The team slug that the entry belongs to.""" - teamSlug: Slug! - - """The environment name that the entry belongs to.""" - environmentName: String +type RepositoryAddedActivityLogEntry implements ActivityLogEntry & Node{ +""" +ID of the entry. +""" + id: ID! +""" +The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. +""" + actor: String! +""" +Creation time of the entry. +""" + createdAt: Time! +""" +Message that summarizes the entry. +""" + message: String! +""" +Type of the resource that was affected by the action. +""" + resourceType: ActivityLogEntryResourceType! +""" +Name of the resource that was affected by the action. +""" + resourceName: String! +""" +The team slug that the entry belongs to. +""" + teamSlug: Slug! +""" +The environment name that the entry belongs to. +""" + environmentName: String } type RepositoryConnection { - """Pagination information.""" - pageInfo: PageInfo! - - """List of nodes.""" - nodes: [Repository!]! - - """List of edges.""" - edges: [RepositoryEdge!]! +""" +Pagination information. +""" + pageInfo: PageInfo! +""" +List of nodes. +""" + nodes: [Repository!]! +""" +List of edges. +""" + edges: [RepositoryEdge!]! } type RepositoryEdge { - """Cursor for this edge that can be used for pagination.""" - cursor: Cursor! - - """The GitHub repository.""" - node: Repository! +""" +Cursor for this edge that can be used for pagination. +""" + cursor: Cursor! +""" +The GitHub repository. +""" + node: Repository! } -"""Ordering options when fetching repositories.""" +""" +Ordering options when fetching repositories. +""" input RepositoryOrder { - """The field to order items by.""" - field: RepositoryOrderField! - - """The direction to order items by.""" - direction: OrderDirection! +""" +Ordering options when fetching repositories. +""" + field: RepositoryOrderField! +""" +Ordering options when fetching repositories. +""" + direction: OrderDirection! } enum RepositoryOrderField { - """Order repositories by name.""" - NAME +""" +Order repositories by name. +""" + NAME } -type RepositoryRemovedActivityLogEntry implements ActivityLogEntry & Node { - """ID of the entry.""" - id: ID! - - """ - The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. - """ - actor: String! - - """Creation time of the entry.""" - createdAt: Time! - - """Message that summarizes the entry.""" - message: String! - - """Type of the resource that was affected by the action.""" - resourceType: ActivityLogEntryResourceType! - - """Name of the resource that was affected by the action.""" - resourceName: String! - - """The team slug that the entry belongs to.""" - teamSlug: Slug! - - """The environment name that the entry belongs to.""" - environmentName: String +type RepositoryRemovedActivityLogEntry implements ActivityLogEntry & Node{ +""" +ID of the entry. +""" + id: ID! +""" +The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. +""" + actor: String! +""" +Creation time of the entry. +""" + createdAt: Time! +""" +Message that summarizes the entry. +""" + message: String! +""" +Type of the resource that was affected by the action. +""" + resourceType: ActivityLogEntryResourceType! +""" +Name of the resource that was affected by the action. +""" + resourceName: String! +""" +The team slug that the entry belongs to. +""" + teamSlug: Slug! +""" +The environment name that the entry belongs to. +""" + environmentName: String } input RequestTeamDeletionInput { - """Slug of the team to request a team deletion key for.""" - slug: Slug! + slug: Slug! } type RequestTeamDeletionPayload { - """ - The delete key for the team. This can be used to confirm the deletion of the team. - """ - key: TeamDeleteKey +""" +The delete key for the team. This can be used to confirm the deletion of the team. +""" + key: TeamDeleteKey } input ResourceIssueFilter { - """Filter by severity.""" - severity: Severity - - """Filter by issue type.""" - issueType: IssueType + severity: Severity + issueType: IssueType } enum ResourceType { - OPENSEARCH - VALKEY - SQLINSTANCE - APPLICATION - JOB - UNLEASH + OPENSEARCH + VALKEY + SQLINSTANCE + APPLICATION + JOB + UNLEASH } input RestartApplicationInput { - """Name of the application.""" - name: String! - - """Slug of the team that owns the application.""" - teamSlug: Slug! - - """Name of the environment where the application runs.""" - environmentName: String! + name: String! + teamSlug: Slug! + environmentName: String! } type RestartApplicationPayload { - """The application that was restarted.""" - application: Application +""" +The application that was restarted. +""" + application: Application } input RevokeRoleFromServiceAccountInput { - """The ID of the service account to revoke the role from.""" - serviceAccountID: ID! - - """The name of the role to revoke.""" - roleName: String! + serviceAccountID: ID! + roleName: String! } type RevokeRoleFromServiceAccountPayload { - """The service account that had a role revoked.""" - serviceAccount: ServiceAccount +""" +The service account that had a role revoked. +""" + serviceAccount: ServiceAccount } input RevokeTeamAccessToUnleashInput { - teamSlug: Slug! - revokedTeamSlug: Slug! + teamSlug: Slug! + revokedTeamSlug: Slug! } type RevokeTeamAccessToUnleashPayload { - unleash: UnleashInstance + unleash: UnleashInstance } -type Role implements Node { - """The globally unique ID of the role.""" - id: ID! - - """Name of the role.""" - name: String! - - """Description of the role.""" - description: String! +type Role implements Node{ +""" +The globally unique ID of the role. +""" + id: ID! +""" +Name of the role. +""" + name: String! +""" +Description of the role. +""" + description: String! } -type RoleAssignedToServiceAccountActivityLogEntry implements ActivityLogEntry & Node { - """ID of the entry.""" - id: ID! - - """ - The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. - """ - actor: String! - - """Creation time of the entry.""" - createdAt: Time! - - """Message that summarizes the entry.""" - message: String! - - """Type of the resource that was affected by the action.""" - resourceType: ActivityLogEntryResourceType! - - """Name of the resource that was affected by the action.""" - resourceName: String! - - """The team slug that the entry belongs to.""" - teamSlug: Slug - - """The environment name that the entry belongs to.""" - environmentName: String - - """Data associated with the entry.""" - data: RoleAssignedToServiceAccountActivityLogEntryData! +type RoleAssignedToServiceAccountActivityLogEntry implements ActivityLogEntry & Node{ +""" +ID of the entry. +""" + id: ID! +""" +The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. +""" + actor: String! +""" +Creation time of the entry. +""" + createdAt: Time! +""" +Message that summarizes the entry. +""" + message: String! +""" +Type of the resource that was affected by the action. +""" + resourceType: ActivityLogEntryResourceType! +""" +Name of the resource that was affected by the action. +""" + resourceName: String! +""" +The team slug that the entry belongs to. +""" + teamSlug: Slug +""" +The environment name that the entry belongs to. +""" + environmentName: String +""" +Data associated with the entry. +""" + data: RoleAssignedToServiceAccountActivityLogEntryData! } type RoleAssignedToServiceAccountActivityLogEntryData { - """The added role.""" - roleName: String! +""" +The added role. +""" + roleName: String! } -"""Assigned role to user log entry.""" -type RoleAssignedUserSyncLogEntry implements UserSyncLogEntry & Node { - """ID of the entry.""" - id: ID! - - """Creation time of the entry.""" - createdAt: Time! - - """Message that summarizes the log entry.""" - message: String! - - """The ID of the user that was assigned a role.""" - userID: ID! - - """The name of the user that was assigned a role.""" - userName: String! - - """The email address of the user that was assigned a role.""" - userEmail: String! - - """The name of the assigned role.""" - roleName: String! +""" +Assigned role to user log entry. +""" +type RoleAssignedUserSyncLogEntry implements UserSyncLogEntry & Node{ +""" +ID of the entry. +""" + id: ID! +""" +Creation time of the entry. +""" + createdAt: Time! +""" +Message that summarizes the log entry. +""" + message: String! +""" +The ID of the user that was assigned a role. +""" + userID: ID! +""" +The name of the user that was assigned a role. +""" + userName: String! +""" +The email address of the user that was assigned a role. +""" + userEmail: String! +""" +The name of the assigned role. +""" + roleName: String! } type RoleConnection { - """A list of roles.""" - nodes: [Role!]! - - """A list of role edges.""" - edges: [RoleEdge!]! - - """Information to aid in pagination.""" - pageInfo: PageInfo! +""" +A list of roles. +""" + nodes: [Role!]! +""" +A list of role edges. +""" + edges: [RoleEdge!]! +""" +Information to aid in pagination. +""" + pageInfo: PageInfo! } type RoleEdge { - """The role.""" - node: Role! - - """A cursor for use in pagination.""" - cursor: Cursor! +""" +The role. +""" + node: Role! +""" +A cursor for use in pagination. +""" + cursor: Cursor! } -type RoleRevokedFromServiceAccountActivityLogEntry implements ActivityLogEntry & Node { - """ID of the entry.""" - id: ID! - - """ - The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. - """ - actor: String! - - """Creation time of the entry.""" - createdAt: Time! - - """Message that summarizes the entry.""" - message: String! - - """Type of the resource that was affected by the action.""" - resourceType: ActivityLogEntryResourceType! - - """Name of the resource that was affected by the action.""" - resourceName: String! - - """The team slug that the entry belongs to.""" - teamSlug: Slug - - """The environment name that the entry belongs to.""" - environmentName: String - - """Data associated with the entry.""" - data: RoleRevokedFromServiceAccountActivityLogEntryData! +type RoleRevokedFromServiceAccountActivityLogEntry implements ActivityLogEntry & Node{ +""" +ID of the entry. +""" + id: ID! +""" +The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. +""" + actor: String! +""" +Creation time of the entry. +""" + createdAt: Time! +""" +Message that summarizes the entry. +""" + message: String! +""" +Type of the resource that was affected by the action. +""" + resourceType: ActivityLogEntryResourceType! +""" +Name of the resource that was affected by the action. +""" + resourceName: String! +""" +The team slug that the entry belongs to. +""" + teamSlug: Slug +""" +The environment name that the entry belongs to. +""" + environmentName: String +""" +Data associated with the entry. +""" + data: RoleRevokedFromServiceAccountActivityLogEntryData! } type RoleRevokedFromServiceAccountActivityLogEntryData { - """The removed role.""" - roleName: String! +""" +The removed role. +""" + roleName: String! } -"""Revoked role from user log entry.""" -type RoleRevokedUserSyncLogEntry implements UserSyncLogEntry & Node { - """ID of the entry.""" - id: ID! - - """Creation time of the entry.""" - createdAt: Time! - - """Message that summarizes the log entry.""" - message: String! - - """The ID of the user that got a role revoked.""" - userID: ID! - - """The name of the user that got a role revoked.""" - userName: String! - - """The email address of the user that got a role revoked.""" - userEmail: String! - - """The name of the revoked role.""" - roleName: String! +""" +Revoked role from user log entry. +""" +type RoleRevokedUserSyncLogEntry implements UserSyncLogEntry & Node{ +""" +ID of the entry. +""" + id: ID! +""" +Creation time of the entry. +""" + createdAt: Time! +""" +Message that summarizes the log entry. +""" + message: String! +""" +The ID of the user that got a role revoked. +""" + userID: ID! +""" +The name of the user that got a role revoked. +""" + userName: String! +""" +The email address of the user that got a role revoked. +""" + userEmail: String! +""" +The name of the revoked role. +""" + roleName: String! } enum ScalingDirection { - """The scaling direction is up.""" - UP - - """The scaling direction is down.""" - DOWN +""" +The scaling direction is up. +""" + UP +""" +The scaling direction is down. +""" + DOWN } -"""Types of scaling strategies.""" -union ScalingStrategy = CPUScalingStrategy | KafkaLagScalingStrategy +""" +Types of scaling strategies. +""" +union ScalingStrategy =CPUScalingStrategy | KafkaLagScalingStrategy -"""Search filter for filtering search results.""" +""" +Search filter for filtering search results. +""" input SearchFilter { - """The query string.""" - query: String! - - """ - The type of entities to search for. If not specified, all types will be searched. - """ - type: SearchType +""" +Search filter for filtering search results. +""" + query: String! +""" +Search filter for filtering search results. +""" + type: SearchType } -"""Types that can be searched for.""" -union SearchNode = Team | Application | BigQueryDataset | Bucket | Job | KafkaTopic | OpenSearch | PostgresInstance | SqlInstance | Valkey +""" +Types that can be searched for. +""" +union SearchNode =Team | Application | BigQueryDataset | Bucket | Job | KafkaTopic | OpenSearch | PostgresInstance | SqlInstance | Valkey -"""Search node connection.""" +""" +Search node connection. +""" type SearchNodeConnection { - """Pagination information.""" - pageInfo: PageInfo! - - """List of nodes.""" - nodes: [SearchNode!]! - - """List of edges.""" - edges: [SearchNodeEdge!]! +""" +Pagination information. +""" + pageInfo: PageInfo! +""" +List of nodes. +""" + nodes: [SearchNode!]! +""" +List of edges. +""" + edges: [SearchNodeEdge!]! } -"""Search node edge.""" +""" +Search node edge. +""" type SearchNodeEdge { - """Cursor for this edge that can be used for pagination.""" - cursor: Cursor! - - """The SearchNode.""" - node: SearchNode! +""" +Cursor for this edge that can be used for pagination. +""" + cursor: Cursor! +""" +The SearchNode. +""" + node: SearchNode! } -"""A list of possible search types.""" +""" +A list of possible search types. +""" enum SearchType { - """Search for teams.""" - TEAM - - """Search for applications.""" - APPLICATION - BIGQUERY_DATASET - BUCKET - JOB - KAFKA_TOPIC - OPENSEARCH - POSTGRES - SQL_INSTANCE - VALKEY -} - -"""A secret is a collection of secret values.""" -type Secret implements Node & ActivityLogger { - """The globally unique ID of the secret.""" - id: ID! - - """The name of the secret.""" - name: String! - - """The environment the secret exists in.""" - environment: TeamEnvironment! @deprecated(reason: "Use the `teamEnvironment` field instead.") - - """The environment the secret exists in.""" - teamEnvironment: TeamEnvironment! - - """The team that owns the secret.""" - team: Team! - - """ - The names of the keys in the secret. This does not require elevation to access. - """ - keys: [String!]! - - """Applications that use the secret.""" - applications( - """ - Get the first n items in the connection. This can be used in combination with the after parameter. - """ - first: Int - - """Get items after this cursor.""" - after: Cursor - - """ - Get the last n items in the connection. This can be used in combination with the before parameter. - """ - last: Int - - """Get items before this cursor.""" - before: Cursor - ): ApplicationConnection! - - """Jobs that use the secret.""" - jobs( - """ - Get the first n items in the connection. This can be used in combination with the after parameter. - """ - first: Int - - """Get items after this cursor.""" - after: Cursor - - """ - Get the last n items in the connection. This can be used in combination with the before parameter. - """ - last: Int - - """Get items before this cursor.""" - before: Cursor - ): JobConnection! - - """Workloads that use the secret.""" - workloads( - """ - Get the first n items in the connection. This can be used in combination with the after parameter. - """ - first: Int - - """Get items after this cursor.""" - after: Cursor - - """ - Get the last n items in the connection. This can be used in combination with the before parameter. - """ - last: Int - - """Get items before this cursor.""" - before: Cursor - ): WorkloadConnection! - - """Last time the secret was modified.""" - lastModifiedAt: Time - - """User who last modified the secret.""" - lastModifiedBy: User - - """Activity log associated with the secret.""" - activityLog( - """ - Get the first n items in the connection. This can be used in combination with the after parameter. - """ - first: Int - - """Get items after this cursor.""" - after: Cursor - - """ - Get the last n items in the connection. This can be used in combination with the before parameter. - """ - last: Int - - """Get items before this cursor.""" - before: Cursor +""" +Search for teams. +""" + TEAM +""" +Search for applications. +""" + APPLICATION + BIGQUERY_DATASET + BUCKET + JOB + KAFKA_TOPIC + OPENSEARCH + POSTGRES + SQL_INSTANCE + VALKEY +} - """Filter items.""" - filter: ActivityLogFilter - ): ActivityLogEntryConnection! +""" +A secret is a collection of secret values. +""" +type Secret implements Node & ActivityLogger{ +""" +The globally unique ID of the secret. +""" + id: ID! +""" +The name of the secret. +""" + name: String! +""" +The environment the secret exists in. +""" + environment: TeamEnvironment! @deprecated(reason: "Use the `teamEnvironment` field instead.") +""" +The environment the secret exists in. +""" + teamEnvironment: TeamEnvironment! +""" +The team that owns the secret. +""" + team: Team! +""" +The names of the keys in the secret. This does not require elevation to access. +""" + keys: [String!]! +""" +Applications that use the secret. +""" + applications( +""" +Get the first n items in the connection. This can be used in combination with the after parameter. +""" + first: Int +""" +Get items after this cursor. +""" + after: Cursor +""" +Get the last n items in the connection. This can be used in combination with the before parameter. +""" + last: Int +""" +Get items before this cursor. +""" + before: Cursor + ): ApplicationConnection! +""" +Jobs that use the secret. +""" + jobs( +""" +Get the first n items in the connection. This can be used in combination with the after parameter. +""" + first: Int +""" +Get items after this cursor. +""" + after: Cursor +""" +Get the last n items in the connection. This can be used in combination with the before parameter. +""" + last: Int +""" +Get items before this cursor. +""" + before: Cursor + ): JobConnection! +""" +Workloads that use the secret. +""" + workloads( +""" +Get the first n items in the connection. This can be used in combination with the after parameter. +""" + first: Int +""" +Get items after this cursor. +""" + after: Cursor +""" +Get the last n items in the connection. This can be used in combination with the before parameter. +""" + last: Int +""" +Get items before this cursor. +""" + before: Cursor + ): WorkloadConnection! +""" +Last time the secret was modified. +""" + lastModifiedAt: Time +""" +User who last modified the secret. +""" + lastModifiedBy: User +""" +Activity log associated with the secret. +""" + activityLog( +""" +Get the first n items in the connection. This can be used in combination with the after parameter. +""" + first: Int +""" +Get items after this cursor. +""" + after: Cursor +""" +Get the last n items in the connection. This can be used in combination with the before parameter. +""" + last: Int +""" +Get items before this cursor. +""" + before: Cursor +""" +Filter items. +""" + filter: ActivityLogFilter + ): ActivityLogEntryConnection! } type SecretConnection { - """Pagination information.""" - pageInfo: PageInfo! - - """List of nodes.""" - nodes: [Secret!]! - - """List of edges.""" - edges: [SecretEdge!]! +""" +Pagination information. +""" + pageInfo: PageInfo! +""" +List of nodes. +""" + nodes: [Secret!]! +""" +List of edges. +""" + edges: [SecretEdge!]! } -type SecretCreatedActivityLogEntry implements ActivityLogEntry & Node { - """ID of the entry.""" - id: ID! - - """ - The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. - """ - actor: String! - - """Creation time of the entry.""" - createdAt: Time! - - """Message that summarizes the entry.""" - message: String! - - """Type of the resource that was affected by the action.""" - resourceType: ActivityLogEntryResourceType! - - """Name of the resource that was affected by the action.""" - resourceName: String! - - """The team slug that the entry belongs to.""" - teamSlug: Slug! - - """The environment name that the entry belongs to.""" - environmentName: String +type SecretCreatedActivityLogEntry implements ActivityLogEntry & Node{ +""" +ID of the entry. +""" + id: ID! +""" +The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. +""" + actor: String! +""" +Creation time of the entry. +""" + createdAt: Time! +""" +Message that summarizes the entry. +""" + message: String! +""" +Type of the resource that was affected by the action. +""" + resourceType: ActivityLogEntryResourceType! +""" +Name of the resource that was affected by the action. +""" + resourceName: String! +""" +The team slug that the entry belongs to. +""" + teamSlug: Slug! +""" +The environment name that the entry belongs to. +""" + environmentName: String } -type SecretDeletedActivityLogEntry implements ActivityLogEntry & Node { - """ID of the entry.""" - id: ID! - - """ - The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. - """ - actor: String! - - """Creation time of the entry.""" - createdAt: Time! - - """Message that summarizes the entry.""" - message: String! - - """Type of the resource that was affected by the action.""" - resourceType: ActivityLogEntryResourceType! - - """Name of the resource that was affected by the action.""" - resourceName: String! - - """The team slug that the entry belongs to.""" - teamSlug: Slug! - - """The environment name that the entry belongs to.""" - environmentName: String +type SecretDeletedActivityLogEntry implements ActivityLogEntry & Node{ +""" +ID of the entry. +""" + id: ID! +""" +The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. +""" + actor: String! +""" +Creation time of the entry. +""" + createdAt: Time! +""" +Message that summarizes the entry. +""" + message: String! +""" +Type of the resource that was affected by the action. +""" + resourceType: ActivityLogEntryResourceType! +""" +Name of the resource that was affected by the action. +""" + resourceName: String! +""" +The team slug that the entry belongs to. +""" + teamSlug: Slug! +""" +The environment name that the entry belongs to. +""" + environmentName: String } type SecretEdge { - """Cursor for this edge that can be used for pagination.""" - cursor: Cursor! - - """The Secret.""" - node: Secret! +""" +Cursor for this edge that can be used for pagination. +""" + cursor: Cursor! +""" +The Secret. +""" + node: Secret! } -"""Input for filtering the secrets of a team.""" +""" +Input for filtering the secrets of a team. +""" input SecretFilter { - """Filter by the name of the secret.""" - name: String - - """Filter by usage of the secret.""" - inUse: Boolean +""" +Input for filtering the secrets of a team. +""" + name: String +""" +Input for filtering the secrets of a team. +""" + inUse: Boolean } input SecretOrder { - """The field to order items by.""" - field: SecretOrderField! - - """The direction to order items by.""" - direction: OrderDirection! + field: SecretOrderField! + direction: OrderDirection! } enum SecretOrderField { - """Order secrets by name.""" - NAME - - """Order secrets by the name of the environment.""" - ENVIRONMENT - - """Order secrets by the last time it was modified.""" - LAST_MODIFIED_AT +""" +Order secrets by name. +""" + NAME +""" +Order secrets by the name of the environment. +""" + ENVIRONMENT +""" +Order secrets by the last time it was modified. +""" + LAST_MODIFIED_AT } type SecretValue { - """The name of the secret value.""" - name: String! - - """The secret value itself.""" - value: String! +""" +The name of the secret value. +""" + name: String! +""" +The secret value itself. +""" + value: String! } -type SecretValueAddedActivityLogEntry implements ActivityLogEntry & Node { - """ID of the entry.""" - id: ID! - - """ - The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. - """ - actor: String! - - """Creation time of the entry.""" - createdAt: Time! - - """Message that summarizes the entry.""" - message: String! - - """Type of the resource that was affected by the action.""" - resourceType: ActivityLogEntryResourceType! - - """Name of the resource that was affected by the action.""" - resourceName: String! - - """The team slug that the entry belongs to.""" - teamSlug: Slug! - - """The environment name that the entry belongs to.""" - environmentName: String - - """Data associated with the entry.""" - data: SecretValueAddedActivityLogEntryData! +type SecretValueAddedActivityLogEntry implements ActivityLogEntry & Node{ +""" +ID of the entry. +""" + id: ID! +""" +The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. +""" + actor: String! +""" +Creation time of the entry. +""" + createdAt: Time! +""" +Message that summarizes the entry. +""" + message: String! +""" +Type of the resource that was affected by the action. +""" + resourceType: ActivityLogEntryResourceType! +""" +Name of the resource that was affected by the action. +""" + resourceName: String! +""" +The team slug that the entry belongs to. +""" + teamSlug: Slug! +""" +The environment name that the entry belongs to. +""" + environmentName: String +""" +Data associated with the entry. +""" + data: SecretValueAddedActivityLogEntryData! } type SecretValueAddedActivityLogEntryData { - """The name of the added value.""" - valueName: String! +""" +The name of the added value. +""" + valueName: String! } input SecretValueInput { - """The name of the secret value.""" - name: String! - - """The secret value to set.""" - value: String! + name: String! + value: String! } -type SecretValueRemovedActivityLogEntry implements ActivityLogEntry & Node { - """ID of the entry.""" - id: ID! - - """ - The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. - """ - actor: String! - - """Creation time of the entry.""" - createdAt: Time! - - """Message that summarizes the entry.""" - message: String! - - """Type of the resource that was affected by the action.""" - resourceType: ActivityLogEntryResourceType! - - """Name of the resource that was affected by the action.""" - resourceName: String! - - """The team slug that the entry belongs to.""" - teamSlug: Slug! - - """The environment name that the entry belongs to.""" - environmentName: String - - """Data associated with the entry.""" - data: SecretValueRemovedActivityLogEntryData! +type SecretValueRemovedActivityLogEntry implements ActivityLogEntry & Node{ +""" +ID of the entry. +""" + id: ID! +""" +The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. +""" + actor: String! +""" +Creation time of the entry. +""" + createdAt: Time! +""" +Message that summarizes the entry. +""" + message: String! +""" +Type of the resource that was affected by the action. +""" + resourceType: ActivityLogEntryResourceType! +""" +Name of the resource that was affected by the action. +""" + resourceName: String! +""" +The team slug that the entry belongs to. +""" + teamSlug: Slug! +""" +The environment name that the entry belongs to. +""" + environmentName: String +""" +Data associated with the entry. +""" + data: SecretValueRemovedActivityLogEntryData! } type SecretValueRemovedActivityLogEntryData { - """The name of the removed value.""" - valueName: String! +""" +The name of the removed value. +""" + valueName: String! } -type SecretValueUpdatedActivityLogEntry implements ActivityLogEntry & Node { - """ID of the entry.""" - id: ID! - - """ - The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. - """ - actor: String! - - """Creation time of the entry.""" - createdAt: Time! - - """Message that summarizes the entry.""" - message: String! - - """Type of the resource that was affected by the action.""" - resourceType: ActivityLogEntryResourceType! - - """Name of the resource that was affected by the action.""" - resourceName: String! - - """The team slug that the entry belongs to.""" - teamSlug: Slug! - - """The environment name that the entry belongs to.""" - environmentName: String - - """Data associated with the entry.""" - data: SecretValueUpdatedActivityLogEntryData! +type SecretValueUpdatedActivityLogEntry implements ActivityLogEntry & Node{ +""" +ID of the entry. +""" + id: ID! +""" +The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. +""" + actor: String! +""" +Creation time of the entry. +""" + createdAt: Time! +""" +Message that summarizes the entry. +""" + message: String! +""" +Type of the resource that was affected by the action. +""" + resourceType: ActivityLogEntryResourceType! +""" +Name of the resource that was affected by the action. +""" + resourceName: String! +""" +The team slug that the entry belongs to. +""" + teamSlug: Slug! +""" +The environment name that the entry belongs to. +""" + environmentName: String +""" +Data associated with the entry. +""" + data: SecretValueUpdatedActivityLogEntryData! } type SecretValueUpdatedActivityLogEntryData { - """The name of the updated value.""" - valueName: String! +""" +The name of the updated value. +""" + valueName: String! } -"""Activity log entry for viewing secret values.""" -type SecretValuesViewedActivityLogEntry implements ActivityLogEntry & Node { - """ID of the entry.""" - id: ID! - - """ - The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. - """ - actor: String! - - """Creation time of the entry.""" - createdAt: Time! - - """Message that summarizes the entry.""" - message: String! - - """Type of the resource that was affected by the action.""" - resourceType: ActivityLogEntryResourceType! - - """Name of the resource that was affected by the action.""" - resourceName: String! - - """The team slug that the entry belongs to.""" - teamSlug: Slug! - - """The environment name that the entry belongs to.""" - environmentName: String - - """Data associated with the entry.""" - data: SecretValuesViewedActivityLogEntryData! +""" +Activity log entry for viewing secret values. +""" +type SecretValuesViewedActivityLogEntry implements ActivityLogEntry & Node{ +""" +ID of the entry. +""" + id: ID! +""" +The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. +""" + actor: String! +""" +Creation time of the entry. +""" + createdAt: Time! +""" +Message that summarizes the entry. +""" + message: String! +""" +Type of the resource that was affected by the action. +""" + resourceType: ActivityLogEntryResourceType! +""" +Name of the resource that was affected by the action. +""" + resourceName: String! +""" +The team slug that the entry belongs to. +""" + teamSlug: Slug! +""" +The environment name that the entry belongs to. +""" + environmentName: String +""" +Data associated with the entry. +""" + data: SecretValuesViewedActivityLogEntryData! } -"""Data associated with a secret values viewed activity log entry.""" +""" +Data associated with a secret values viewed activity log entry. +""" type SecretValuesViewedActivityLogEntryData { - """The reason provided for viewing the secret values.""" - reason: String! +""" +The reason provided for viewing the secret values. +""" + reason: String! } """ @@ -5873,2117 +7094,2640 @@ These types of users can be used to automate certain parts of the API, for insta Service accounts are created using the `createServiceAccount` mutation, and authenticate using tokens generated by the `createServiceAccountToken` mutation. """ -type ServiceAccount implements Node { - """The globally unique ID of the service account.""" - id: ID! - - """The name of the service account.""" - name: String! - - """The description of the service account.""" - description: String! - - """Creation time of the service account.""" - createdAt: Time! - - """When the service account was last updated.""" - updatedAt: Time! - - """When the service account was last used for authentication.""" - lastUsedAt: Time - - """The team that the service account belongs to.""" - team: Team - - """The roles that are assigned to the service account.""" - roles( - """ - Get the first n items in the connection. This can be used in combination with the after parameter. - """ - first: Int - - """Get items after this cursor.""" - after: Cursor - - """ - Get the last n items in the connection. This can be used in combination with the before parameter. - """ - last: Int - - """Get items before this cursor.""" - before: Cursor - ): RoleConnection! - - """The service account tokens.""" - tokens( - """ - Get the first n items in the connection. This can be used in combination with the after parameter. - """ - first: Int - - """Get items after this cursor.""" - after: Cursor - - """ - Get the last n items in the connection. This can be used in combination with the before parameter. - """ - last: Int - - """Get items before this cursor.""" - before: Cursor - ): ServiceAccountTokenConnection! +type ServiceAccount implements Node{ +""" +The globally unique ID of the service account. +""" + id: ID! +""" +The name of the service account. +""" + name: String! +""" +The description of the service account. +""" + description: String! +""" +Creation time of the service account. +""" + createdAt: Time! +""" +When the service account was last updated. +""" + updatedAt: Time! +""" +When the service account was last used for authentication. +""" + lastUsedAt: Time +""" +The team that the service account belongs to. +""" + team: Team +""" +The roles that are assigned to the service account. +""" + roles( +""" +Get the first n items in the connection. This can be used in combination with the after parameter. +""" + first: Int +""" +Get items after this cursor. +""" + after: Cursor +""" +Get the last n items in the connection. This can be used in combination with the before parameter. +""" + last: Int +""" +Get items before this cursor. +""" + before: Cursor + ): RoleConnection! +""" +The service account tokens. +""" + tokens( +""" +Get the first n items in the connection. This can be used in combination with the after parameter. +""" + first: Int +""" +Get items after this cursor. +""" + after: Cursor +""" +Get the last n items in the connection. This can be used in combination with the before parameter. +""" + last: Int +""" +Get items before this cursor. +""" + before: Cursor + ): ServiceAccountTokenConnection! } type ServiceAccountConnection { - """A list of service accounts.""" - nodes: [ServiceAccount!]! - - """A list of edges.""" - edges: [ServiceAccountEdge!]! - - """Information to aid in pagination.""" - pageInfo: PageInfo! +""" +A list of service accounts. +""" + nodes: [ServiceAccount!]! +""" +A list of edges. +""" + edges: [ServiceAccountEdge!]! +""" +Information to aid in pagination. +""" + pageInfo: PageInfo! } -type ServiceAccountCreatedActivityLogEntry implements ActivityLogEntry & Node { - """ID of the entry.""" - id: ID! - - """ - The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. - """ - actor: String! - - """Creation time of the entry.""" - createdAt: Time! - - """Message that summarizes the entry.""" - message: String! - - """Type of the resource that was affected by the action.""" - resourceType: ActivityLogEntryResourceType! - - """Name of the resource that was affected by the action.""" - resourceName: String! - - """The team slug that the entry belongs to.""" - teamSlug: Slug - - """The environment name that the entry belongs to.""" - environmentName: String +type ServiceAccountCreatedActivityLogEntry implements ActivityLogEntry & Node{ +""" +ID of the entry. +""" + id: ID! +""" +The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. +""" + actor: String! +""" +Creation time of the entry. +""" + createdAt: Time! +""" +Message that summarizes the entry. +""" + message: String! +""" +Type of the resource that was affected by the action. +""" + resourceType: ActivityLogEntryResourceType! +""" +Name of the resource that was affected by the action. +""" + resourceName: String! +""" +The team slug that the entry belongs to. +""" + teamSlug: Slug +""" +The environment name that the entry belongs to. +""" + environmentName: String } -type ServiceAccountDeletedActivityLogEntry implements ActivityLogEntry & Node { - """ID of the entry.""" - id: ID! - - """ - The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. - """ - actor: String! - - """Creation time of the entry.""" - createdAt: Time! - - """Message that summarizes the entry.""" - message: String! - - """Type of the resource that was affected by the action.""" - resourceType: ActivityLogEntryResourceType! - - """Name of the resource that was affected by the action.""" - resourceName: String! - - """The team slug that the entry belongs to.""" - teamSlug: Slug - - """The environment name that the entry belongs to.""" - environmentName: String +type ServiceAccountDeletedActivityLogEntry implements ActivityLogEntry & Node{ +""" +ID of the entry. +""" + id: ID! +""" +The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. +""" + actor: String! +""" +Creation time of the entry. +""" + createdAt: Time! +""" +Message that summarizes the entry. +""" + message: String! +""" +Type of the resource that was affected by the action. +""" + resourceType: ActivityLogEntryResourceType! +""" +Name of the resource that was affected by the action. +""" + resourceName: String! +""" +The team slug that the entry belongs to. +""" + teamSlug: Slug +""" +The environment name that the entry belongs to. +""" + environmentName: String } type ServiceAccountEdge { - """The service account.""" - node: ServiceAccount! - - """A cursor for use in pagination.""" - cursor: Cursor! +""" +The service account. +""" + node: ServiceAccount! +""" +A cursor for use in pagination. +""" + cursor: Cursor! } -type ServiceAccountToken implements Node { - """The globally unique ID of the service account token.""" - id: ID! - - """The name of the service account token.""" - name: String! - - """The description of the service account token.""" - description: String! - - """When the service account token was created.""" - createdAt: Time! - - """When the service account token was last updated.""" - updatedAt: Time! - - """When the service account token was last used for authentication.""" - lastUsedAt: Time - - """ - Expiry date of the token. If this value is empty the token never expires. - """ - expiresAt: Date +type ServiceAccountToken implements Node{ +""" +The globally unique ID of the service account token. +""" + id: ID! +""" +The name of the service account token. +""" + name: String! +""" +The description of the service account token. +""" + description: String! +""" +When the service account token was created. +""" + createdAt: Time! +""" +When the service account token was last updated. +""" + updatedAt: Time! +""" +When the service account token was last used for authentication. +""" + lastUsedAt: Time +""" +Expiry date of the token. If this value is empty the token never expires. +""" + expiresAt: Date } type ServiceAccountTokenConnection { - """A list of service accounts tokens.""" - nodes: [ServiceAccountToken!]! - - """A list of edges.""" - edges: [ServiceAccountTokenEdge!]! - - """Information to aid in pagination.""" - pageInfo: PageInfo! +""" +A list of service accounts tokens. +""" + nodes: [ServiceAccountToken!]! +""" +A list of edges. +""" + edges: [ServiceAccountTokenEdge!]! +""" +Information to aid in pagination. +""" + pageInfo: PageInfo! } -type ServiceAccountTokenCreatedActivityLogEntry implements ActivityLogEntry & Node { - """ID of the entry.""" - id: ID! - - """ - The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. - """ - actor: String! - - """Creation time of the entry.""" - createdAt: Time! - - """Message that summarizes the entry.""" - message: String! - - """Type of the resource that was affected by the action.""" - resourceType: ActivityLogEntryResourceType! - - """Name of the resource that was affected by the action.""" - resourceName: String! - - """The team slug that the entry belongs to.""" - teamSlug: Slug - - """The environment name that the entry belongs to.""" - environmentName: String - - """Data associated with the entry.""" - data: ServiceAccountTokenCreatedActivityLogEntryData! +type ServiceAccountTokenCreatedActivityLogEntry implements ActivityLogEntry & Node{ +""" +ID of the entry. +""" + id: ID! +""" +The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. +""" + actor: String! +""" +Creation time of the entry. +""" + createdAt: Time! +""" +Message that summarizes the entry. +""" + message: String! +""" +Type of the resource that was affected by the action. +""" + resourceType: ActivityLogEntryResourceType! +""" +Name of the resource that was affected by the action. +""" + resourceName: String! +""" +The team slug that the entry belongs to. +""" + teamSlug: Slug +""" +The environment name that the entry belongs to. +""" + environmentName: String +""" +Data associated with the entry. +""" + data: ServiceAccountTokenCreatedActivityLogEntryData! } type ServiceAccountTokenCreatedActivityLogEntryData { - """The name of the service account token.""" - tokenName: String! +""" +The name of the service account token. +""" + tokenName: String! } -type ServiceAccountTokenDeletedActivityLogEntry implements ActivityLogEntry & Node { - """ID of the entry.""" - id: ID! - - """ - The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. - """ - actor: String! - - """Creation time of the entry.""" - createdAt: Time! - - """Message that summarizes the entry.""" - message: String! - - """Type of the resource that was affected by the action.""" - resourceType: ActivityLogEntryResourceType! - - """Name of the resource that was affected by the action.""" - resourceName: String! - - """The team slug that the entry belongs to.""" - teamSlug: Slug - - """The environment name that the entry belongs to.""" - environmentName: String - - """Data associated with the entry.""" - data: ServiceAccountTokenDeletedActivityLogEntryData! +type ServiceAccountTokenDeletedActivityLogEntry implements ActivityLogEntry & Node{ +""" +ID of the entry. +""" + id: ID! +""" +The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. +""" + actor: String! +""" +Creation time of the entry. +""" + createdAt: Time! +""" +Message that summarizes the entry. +""" + message: String! +""" +Type of the resource that was affected by the action. +""" + resourceType: ActivityLogEntryResourceType! +""" +Name of the resource that was affected by the action. +""" + resourceName: String! +""" +The team slug that the entry belongs to. +""" + teamSlug: Slug +""" +The environment name that the entry belongs to. +""" + environmentName: String +""" +Data associated with the entry. +""" + data: ServiceAccountTokenDeletedActivityLogEntryData! } type ServiceAccountTokenDeletedActivityLogEntryData { - """The name of the service account token.""" - tokenName: String! +""" +The name of the service account token. +""" + tokenName: String! } type ServiceAccountTokenEdge { - """The service account token.""" - node: ServiceAccountToken! - - """A cursor for use in pagination.""" - cursor: Cursor! +""" +The service account token. +""" + node: ServiceAccountToken! +""" +A cursor for use in pagination. +""" + cursor: Cursor! } -type ServiceAccountTokenUpdatedActivityLogEntry implements ActivityLogEntry & Node { - """ID of the entry.""" - id: ID! +type ServiceAccountTokenUpdatedActivityLogEntry implements ActivityLogEntry & Node{ +""" +ID of the entry. +""" + id: ID! +""" +The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. +""" + actor: String! +""" +Creation time of the entry. +""" + createdAt: Time! +""" +Message that summarizes the entry. +""" + message: String! +""" +Type of the resource that was affected by the action. +""" + resourceType: ActivityLogEntryResourceType! +""" +Name of the resource that was affected by the action. +""" + resourceName: String! +""" +The team slug that the entry belongs to. +""" + teamSlug: Slug +""" +The environment name that the entry belongs to. +""" + environmentName: String +""" +Data associated with the entry. +""" + data: ServiceAccountTokenUpdatedActivityLogEntryData! +} - """ - The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. - """ - actor: String! +type ServiceAccountTokenUpdatedActivityLogEntryData { +""" +Fields that were updated. +""" + updatedFields: [ServiceAccountTokenUpdatedActivityLogEntryDataUpdatedField!]! +} - """Creation time of the entry.""" - createdAt: Time! +type ServiceAccountTokenUpdatedActivityLogEntryDataUpdatedField { +""" +The name of the field. +""" + field: String! +""" +The old value of the field. +""" + oldValue: String +""" +The new value of the field. +""" + newValue: String +} - """Message that summarizes the entry.""" - message: String! +type ServiceAccountUpdatedActivityLogEntry implements ActivityLogEntry & Node{ +""" +ID of the entry. +""" + id: ID! +""" +The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. +""" + actor: String! +""" +Creation time of the entry. +""" + createdAt: Time! +""" +Message that summarizes the entry. +""" + message: String! +""" +Type of the resource that was affected by the action. +""" + resourceType: ActivityLogEntryResourceType! +""" +Name of the resource that was affected by the action. +""" + resourceName: String! +""" +The team slug that the entry belongs to. +""" + teamSlug: Slug +""" +The environment name that the entry belongs to. +""" + environmentName: String +""" +Data associated with the entry. +""" + data: ServiceAccountUpdatedActivityLogEntryData! +} - """Type of the resource that was affected by the action.""" - resourceType: ActivityLogEntryResourceType! +type ServiceAccountUpdatedActivityLogEntryData { +""" +Fields that were updated. +""" + updatedFields: [ServiceAccountUpdatedActivityLogEntryDataUpdatedField!]! +} - """Name of the resource that was affected by the action.""" - resourceName: String! +type ServiceAccountUpdatedActivityLogEntryDataUpdatedField { +""" +The name of the field. +""" + field: String! +""" +The old value of the field. +""" + oldValue: String +""" +The new value of the field. +""" + newValue: String +} - """The team slug that the entry belongs to.""" - teamSlug: Slug +type ServiceCostSample { +""" +The name of the service. +""" + service: String! +""" +The cost in euros. +""" + cost: Float! +} - """The environment name that the entry belongs to.""" - environmentName: String +type ServiceCostSeries { +""" +The date for the cost. When calculating the cost for a monthly period, the date will be the last day of the month that has cost data. +""" + date: Date! +""" +The sum of the cost across all services. +""" + sum: Float! +""" +The cost for the services used by the workload. +""" + services: [ServiceCostSample!]! +} - """Data associated with the entry.""" - data: ServiceAccountTokenUpdatedActivityLogEntryData! +type ServiceMaintenanceActivityLogEntry implements ActivityLogEntry & Node{ +""" +ID of the entry. +""" + id: ID! +""" +The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. +""" + actor: String! +""" +Creation time of the entry. +""" + createdAt: Time! +""" +Message that summarizes the entry. +""" + message: String! +""" +Type of the resource that was affected by the action. +""" + resourceType: ActivityLogEntryResourceType! +""" +Name of the resource that was affected by the action. +""" + resourceName: String! +""" +The team slug that the entry belongs to. +""" + teamSlug: Slug! +""" +The environment name that the entry belongs to. +""" + environmentName: String } -type ServiceAccountTokenUpdatedActivityLogEntryData { - """Fields that were updated.""" - updatedFields: [ServiceAccountTokenUpdatedActivityLogEntryDataUpdatedField!]! +interface ServiceMaintenanceUpdate { + title: String! + description: String } -type ServiceAccountTokenUpdatedActivityLogEntryDataUpdatedField { - """The name of the field.""" - field: String! +input SetTeamMemberRoleInput { + teamSlug: Slug! + userEmail: String! + role: TeamMemberRole! +} - """The old value of the field.""" - oldValue: String +type SetTeamMemberRolePayload { +""" +The updated team member. +""" + member: TeamMember +} - """The new value of the field.""" - newValue: String +enum Severity { + CRITICAL + WARNING + TODO } -type ServiceAccountUpdatedActivityLogEntry implements ActivityLogEntry & Node { - """ID of the entry.""" - id: ID! +""" +The slug must: - """ - The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. - """ - actor: String! +- contain only lowercase alphanumeric characters or hyphens +- contain at least 3 characters and at most 30 characters +- start with an alphabetic character +- end with an alphanumeric character +- not contain two hyphens in a row - """Creation time of the entry.""" - createdAt: Time! +Examples of valid slugs: - """Message that summarizes the entry.""" - message: String! +- `some-value` +- `someothervalue` +- `my-team-123` +""" +scalar Slug - """Type of the resource that was affected by the action.""" - resourceType: ActivityLogEntryResourceType! +type SqlDatabase implements Persistence & Node{ + id: ID! + name: String! + team: Team! + environment: TeamEnvironment! @deprecated(reason: "Use the `teamEnvironment` field instead.") + teamEnvironment: TeamEnvironment! + charset: String + collation: String + deletionPolicy: String + healthy: Boolean! +} + +type SqlInstance implements Persistence & Node{ + id: ID! + name: String! + team: Team! + environment: TeamEnvironment! @deprecated(reason: "Use the `teamEnvironment` field instead.") + teamEnvironment: TeamEnvironment! + workload: Workload + cascadingDelete: Boolean! + connectionName: String + diskAutoresize: Boolean + diskAutoresizeLimit: Int + highAvailability: Boolean! + healthy: Boolean! + maintenanceVersion: String + maintenanceWindow: SqlInstanceMaintenanceWindow + backupConfiguration: SqlInstanceBackupConfiguration + projectID: String! + tier: String! + version: String + status: SqlInstanceStatus! + database: SqlDatabase + flags( + first: Int + after: Cursor + last: Int + before: Cursor + ): SqlInstanceFlagConnection! + users( + first: Int + after: Cursor + last: Int + before: Cursor + orderBy: SqlInstanceUserOrder + ): SqlInstanceUserConnection! + metrics: SqlInstanceMetrics! + state: SqlInstanceState! +""" +Issues that affects the instance. +""" + issues( +""" +Get the first n items in the connection. This can be used in combination with the after parameter. +""" + first: Int +""" +Get items after this cursor. +""" + after: Cursor +""" +Get the last n items in the connection. This can be used in combination with the before parameter. +""" + last: Int +""" +Get items before this cursor. +""" + before: Cursor +""" +Ordering options for items returned from the connection. +""" + orderBy: IssueOrder +""" +Filtering options for items returned from the connection. +""" + filter: ResourceIssueFilter + ): IssueConnection! +""" +Indicates whether audit logging is enabled for this SQL instance and provides a link to the logs if set. +""" + auditLog: AuditLog + cost: SqlInstanceCost! +} - """Name of the resource that was affected by the action.""" - resourceName: String! +type SqlInstanceBackupConfiguration { + enabled: Boolean + startTime: String + retainedBackups: Int + pointInTimeRecovery: Boolean + transactionLogRetentionDays: Int +} - """The team slug that the entry belongs to.""" - teamSlug: Slug +type SqlInstanceConnection { + pageInfo: PageInfo! + nodes: [SqlInstance!]! + edges: [SqlInstanceEdge!]! +} - """The environment name that the entry belongs to.""" - environmentName: String +type SqlInstanceCost { + sum: Float! +} - """Data associated with the entry.""" - data: ServiceAccountUpdatedActivityLogEntryData! +type SqlInstanceCpu { + cores: Float! + utilization: Float! } -type ServiceAccountUpdatedActivityLogEntryData { - """Fields that were updated.""" - updatedFields: [ServiceAccountUpdatedActivityLogEntryDataUpdatedField!]! +type SqlInstanceDisk { + quotaBytes: Int! + utilization: Float! } -type ServiceAccountUpdatedActivityLogEntryDataUpdatedField { - """The name of the field.""" - field: String! +type SqlInstanceEdge { + cursor: Cursor! + node: SqlInstance! +} - """The old value of the field.""" - oldValue: String +type SqlInstanceFlag { + name: String! + value: String! +} - """The new value of the field.""" - newValue: String +type SqlInstanceFlagConnection { + pageInfo: PageInfo! + nodes: [SqlInstanceFlag!]! + edges: [SqlInstanceFlagEdge!]! } -type ServiceCostSample { - """The name of the service.""" - service: String! +type SqlInstanceFlagEdge { + cursor: Cursor! + node: SqlInstanceFlag! +} - """The cost in euros.""" - cost: Float! +type SqlInstanceMaintenanceWindow { + day: Int! + hour: Int! } -type ServiceCostSeries { - """ - The date for the cost. When calculating the cost for a monthly period, the date will be the last day of the month that has cost data. - """ - date: Date! +type SqlInstanceMemory { + quotaBytes: Int! + utilization: Float! +} - """The sum of the cost across all services.""" - sum: Float! +type SqlInstanceMetrics { + cpu: SqlInstanceCpu! + memory: SqlInstanceMemory! + disk: SqlInstanceDisk! +} - """The cost for the services used by the workload.""" - services: [ServiceCostSample!]! +input SqlInstanceOrder { + field: SqlInstanceOrderField! + direction: OrderDirection! } -type ServiceMaintenanceActivityLogEntry implements ActivityLogEntry & Node { - """ID of the entry.""" - id: ID! +enum SqlInstanceOrderField { + NAME + VERSION + ENVIRONMENT + COST + CPU_UTILIZATION + MEMORY_UTILIZATION + DISK_UTILIZATION + STATE +""" +Order SqlInstances by issue severity +""" + ISSUES +} - """ - The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. - """ - actor: String! +enum SqlInstanceState { + UNSPECIFIED + STOPPED + RUNNABLE + SUSPENDED + PENDING_DELETE + PENDING_CREATE + MAINTENANCE + FAILED +} - """Creation time of the entry.""" - createdAt: Time! +type SqlInstanceStateIssue implements Issue & Node{ + id: ID! + teamEnvironment: TeamEnvironment! + severity: Severity! + message: String! + state: SqlInstanceState! + sqlInstance: SqlInstance! +} - """Message that summarizes the entry.""" - message: String! +type SqlInstanceStatus { + publicIpAddress: String + privateIpAddress: String +} - """Type of the resource that was affected by the action.""" - resourceType: ActivityLogEntryResourceType! +type SqlInstanceUser { + name: String! + authentication: String! +} - """Name of the resource that was affected by the action.""" - resourceName: String! +type SqlInstanceUserConnection { + pageInfo: PageInfo! + nodes: [SqlInstanceUser!]! + edges: [SqlInstanceUserEdge!]! +} - """The team slug that the entry belongs to.""" - teamSlug: Slug! +type SqlInstanceUserEdge { + cursor: Cursor! + node: SqlInstanceUser! +} - """The environment name that the entry belongs to.""" - environmentName: String +input SqlInstanceUserOrder { + field: SqlInstanceUserOrderField! + direction: OrderDirection! } -interface ServiceMaintenanceUpdate { - """Title of the maintenance.""" - title: String! +enum SqlInstanceUserOrderField { + NAME + AUTHENTICATION +} - """Description of the maintenance.""" - description: String +type SqlInstanceVersionIssue implements Issue & Node{ + id: ID! + teamEnvironment: TeamEnvironment! + severity: Severity! + message: String! + sqlInstance: SqlInstance! } -input SetTeamMemberRoleInput { - """The slug of the team.""" - teamSlug: Slug! +input StartOpenSearchMaintenanceInput { + serviceName: String! + teamSlug: Slug! + environmentName: String! +} - """The email address of the user.""" - userEmail: String! +type StartOpenSearchMaintenancePayload { + error: String +} - """The role to assign.""" - role: TeamMemberRole! +input StartValkeyMaintenanceInput { + serviceName: String! + teamSlug: Slug! + environmentName: String! } -type SetTeamMemberRolePayload { - """The updated team member.""" - member: TeamMember +type StartValkeyMaintenancePayload { + error: String } -enum Severity { - CRITICAL - WARNING - TODO +""" +The `String`scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text. +""" +scalar String + +""" +The subscription root for the Nais GraphQL API. +""" +type Subscription { +""" +Subscribe to log lines + +This subscription is used to stream log lines. +""" + log( + filter: LogSubscriptionFilter! + ): LogLine! +""" +Subscribe to workload logs + +This subscription is used to stream logs from a specific workload. When filtering logs you must either specify an +application or a job owned by a team that is running in a specific environment. You can also filter logs on instance +name(s). +""" + workloadLog( + filter: WorkloadLogSubscriptionFilter! + ): WorkloadLogLine! } """ -The slug must: - -- contain only lowercase alphanumeric characters or hyphens -- contain at least 3 characters and at most 30 characters -- start with an alphabetic character -- end with an alphanumeric character -- not contain two hyphens in a row - -Examples of valid slugs: - -- `some-value` -- `someothervalue` -- `my-team-123` +The team type represents a team on the [Nais platform](https://nais.io/). + +Learn more about what Nais teams are and what they can be used for in the [official Nais documentation](https://docs.nais.io/explanations/team/). + +External resources (e.g. entraIDGroupID, gitHubTeamSlug) are managed by [Nais API reconcilers](https://github.com/nais/api-reconcilers). +""" +type Team implements Node & ActivityLogger{ +""" +The globally unique ID of the team. +""" + id: ID! +""" +Unique slug of the team. +""" + slug: Slug! +""" +Main Slack channel for the team. +""" + slackChannel: String! +""" +Purpose of the team. +""" + purpose: String! +""" +External resources for the team. +""" + externalResources: TeamExternalResources! +""" +Get a specific member of the team. +""" + member( + email: String! + ): TeamMember! +""" +Team members. +""" + members( +""" +Get the first n items in the connection. This can be used in combination with the after parameter. +""" + first: Int +""" +Get items after this cursor. +""" + after: Cursor +""" +Get the last n items in the connection. This can be used in combination with the before parameter. +""" + last: Int +""" +Get items before this cursor. +""" + before: Cursor +""" +Ordering options for items returned from the connection. +""" + orderBy: TeamMemberOrder + ): TeamMemberConnection! +""" +Timestamp of the last successful synchronization of the team. +""" + lastSuccessfulSync: Time +""" +Whether or not the team is currently being deleted. +""" + deletionInProgress: Boolean! +""" +Whether or not the viewer is an owner of the team. +""" + viewerIsOwner: Boolean! +""" +Whether or not the viewer is a member of the team. +""" + viewerIsMember: Boolean! +""" +Environments for the team. +""" + environments: [TeamEnvironment!]! +""" +Get a specific environment for the team. +""" + environment( + name: String! + ): TeamEnvironment! +""" +Get a delete key for the team. +""" + deleteKey( + key: String! + ): TeamDeleteKey! +""" +Overall inventory of resources for the team. +""" + inventoryCounts: TeamInventoryCounts! +""" +Activity log associated with the team. +""" + activityLog( +""" +Get the first n items in the connection. This can be used in combination with the after parameter. +""" + first: Int +""" +Get items after this cursor. +""" + after: Cursor +""" +Get the last n items in the connection. This can be used in combination with the before parameter. +""" + last: Int +""" +Get items before this cursor. +""" + before: Cursor +""" +Filter items. +""" + filter: ActivityLogFilter + ): ActivityLogEntryConnection! +""" +EXPERIMENTAL: DO NOT USE +""" + alerts( +""" +Get the first n items in the connection. This can be used in combination with the after parameter. +""" + first: Int +""" +Get items after this cursor. +""" + after: Cursor +""" +Get the last n items in the connection. This can be used in combination with the before parameter. +""" + last: Int +""" +Get items before this cursor. +""" + before: Cursor +""" +Ordering options for items returned from the connection. +""" + orderBy: AlertOrder +""" +Filter the returned objects +""" + filter: TeamAlertsFilter + ): AlertConnection! +""" +Nais applications owned by the team. +""" + applications( +""" +Get the first n items in the connection. This can be used in combination with the after parameter. +""" + first: Int +""" +Get items after this cursor. +""" + after: Cursor +""" +Get the last n items in the connection. This can be used in combination with the before parameter. +""" + last: Int +""" +Get items before this cursor. +""" + before: Cursor +""" +Ordering options for items returned from the connection. +""" + orderBy: ApplicationOrder +""" +Filtering options for items returned from the connection. +""" + filter: TeamApplicationsFilter + ): ApplicationConnection! +""" +BigQuery datasets owned by the team. +""" + bigQueryDatasets( +""" +Get the first n items in the connection. This can be used in combination with the after parameter. +""" + first: Int +""" +Get items after this cursor. +""" + after: Cursor +""" +Get the last n items in the connection. This can be used in combination with the before parameter. +""" + last: Int +""" +Get items before this cursor. +""" + before: Cursor +""" +Ordering options for items returned from the connection. +""" + orderBy: BigQueryDatasetOrder + ): BigQueryDatasetConnection! +""" +Google Cloud Storage buckets owned by the team. +""" + buckets( +""" +Get the first n items in the connection. This can be used in combination with the after parameter. +""" + first: Int +""" +Get items after this cursor. +""" + after: Cursor +""" +Get the last n items in the connection. This can be used in combination with the before parameter. +""" + last: Int +""" +Get items before this cursor. +""" + before: Cursor +""" +Ordering options for items returned from the connection. +""" + orderBy: BucketOrder + ): BucketConnection! +""" +Configs owned by the team. +""" + configs( +""" +Get the first n items in the connection. This can be used in combination with the after parameter. +""" + first: Int +""" +Get items after this cursor. +""" + after: Cursor +""" +Get the last n items in the connection. This can be used in combination with the before parameter. +""" + last: Int +""" +Get items before this cursor. +""" + before: Cursor +""" +Ordering options for items returned from the connection. +""" + orderBy: ConfigOrder +""" +Filtering options for items returned from the connection. +""" + filter: ConfigFilter + ): ConfigConnection! +""" +The cost for the team. +""" + cost: TeamCost! +""" +Deployment key for the team. +""" + deploymentKey: DeploymentKey +""" +List deployments for a team. +""" + deployments( +""" +Get the first n items in the connection. This can be used in combination with the after parameter. +""" + first: Int +""" +Get items after this cursor. +""" + after: Cursor +""" +Get the last n items in the connection. This can be used in combination with the before parameter. +""" + last: Int +""" +Get items before this cursor. +""" + before: Cursor + ): DeploymentConnection! +""" +Issues that affects the team. +""" + issues( +""" +Get the first n items in the connection. This can be used in combination with the after parameter. +""" + first: Int +""" +Get items after this cursor. +""" + after: Cursor +""" +Get the last n items in the connection. This can be used in combination with the before parameter. +""" + last: Int +""" +Get items before this cursor. +""" + before: Cursor + orderBy: IssueOrder + filter: IssueFilter + ): IssueConnection! +""" +Nais jobs owned by the team. +""" + jobs( +""" +Get the first n items in the connection. This can be used in combination with the after parameter. +""" + first: Int +""" +Get items after this cursor. +""" + after: Cursor +""" +Get the last n items in the connection. This can be used in combination with the before parameter. +""" + last: Int +""" +Get items before this cursor. +""" + before: Cursor +""" +Ordering options for items returned from the connection. +""" + orderBy: JobOrder +""" +Filtering options for items returned from the connection. +""" + filter: TeamJobsFilter + ): JobConnection! +""" +Kafka topics owned by the team. +""" + kafkaTopics( +""" +Get the first n items in the connection. This can be used in combination with the after parameter. +""" + first: Int +""" +Get items after this cursor. +""" + after: Cursor +""" +Get the last n items in the connection. This can be used in combination with the before parameter. +""" + last: Int +""" +Get items before this cursor. +""" + before: Cursor +""" +Ordering options for items returned from the connection. +""" + orderBy: KafkaTopicOrder + ): KafkaTopicConnection! +""" +OpenSearch instances owned by the team. +""" + openSearches( +""" +Get the first n items in the connection. This can be used in combination with the after parameter. +""" + first: Int +""" +Get items after this cursor. +""" + after: Cursor +""" +Get the last n items in the connection. This can be used in combination with the before parameter. +""" + last: Int +""" +Get items before this cursor. +""" + before: Cursor +""" +Ordering options for items returned from the connection. +""" + orderBy: OpenSearchOrder + ): OpenSearchConnection! +""" +Postgres instances owned by the team. +""" + postgresInstances( +""" +Get the first n items in the connection. This can be used in combination with the after parameter. +""" + first: Int +""" +Get items after this cursor. +""" + after: Cursor +""" +Get the last n items in the connection. This can be used in combination with the before parameter. +""" + last: Int +""" +Get items before this cursor. +""" + before: Cursor +""" +Ordering options for items returned from the connection. +""" + orderBy: PostgresInstanceOrder + ): PostgresInstanceConnection! + repositories( +""" +Get the first n items in the connection. This can be used in combination with the after parameter. +""" + first: Int +""" +Get items after this cursor. +""" + after: Cursor +""" +Get the last n items in the connection. This can be used in combination with the before parameter. +""" + last: Int +""" +Get items before this cursor. +""" + before: Cursor +""" +Ordering options for items returned from the connection. +""" + orderBy: RepositoryOrder + filter: TeamRepositoryFilter + ): RepositoryConnection! +""" +Secrets owned by the team. +""" + secrets( +""" +Get the first n items in the connection. This can be used in combination with the after parameter. +""" + first: Int +""" +Get items after this cursor. +""" + after: Cursor +""" +Get the last n items in the connection. This can be used in combination with the before parameter. +""" + last: Int +""" +Get items before this cursor. +""" + before: Cursor +""" +Ordering options for items returned from the connection. +""" + orderBy: SecretOrder +""" +Filtering options for items returned from the connection. +""" + filter: SecretFilter + ): SecretConnection! +""" +SQL instances owned by the team. +""" + sqlInstances( +""" +Get the first n items in the connection. This can be used in combination with the after parameter. +""" + first: Int +""" +Get items after this cursor. +""" + after: Cursor +""" +Get the last n items in the connection. This can be used in combination with the before parameter. +""" + last: Int +""" +Get items before this cursor. +""" + before: Cursor +""" +Ordering options for items returned from the connection. +""" + orderBy: SqlInstanceOrder + ): SqlInstanceConnection! + unleash: UnleashInstance + workloadUtilization( + resourceType: UtilizationResourceType! + ): [WorkloadUtilizationData]! + serviceUtilization: TeamServiceUtilization! +""" +Valkey instances owned by the team. +""" + valkeys( +""" +Get the first n items in the connection. This can be used in combination with the after parameter. +""" + first: Int +""" +Get items after this cursor. +""" + after: Cursor +""" +Get the last n items in the connection. This can be used in combination with the before parameter. +""" + last: Int +""" +Get items before this cursor. +""" + before: Cursor +""" +Ordering options for items returned from the connection. +""" + orderBy: ValkeyOrder + ): ValkeyConnection! +""" +Get the vulnerability summary history for team. +""" + imageVulnerabilityHistory( """ -scalar Slug - -type SqlDatabase implements Persistence & Node { - id: ID! - name: String! - team: Team! - environment: TeamEnvironment! @deprecated(reason: "Use the `teamEnvironment` field instead.") - teamEnvironment: TeamEnvironment! - charset: String - collation: String - deletionPolicy: String - healthy: Boolean! -} - -type SqlInstance implements Persistence & Node { - id: ID! - name: String! - team: Team! - environment: TeamEnvironment! @deprecated(reason: "Use the `teamEnvironment` field instead.") - teamEnvironment: TeamEnvironment! - workload: Workload - cascadingDelete: Boolean! - connectionName: String - diskAutoresize: Boolean - diskAutoresizeLimit: Int - highAvailability: Boolean! - healthy: Boolean! - maintenanceVersion: String - maintenanceWindow: SqlInstanceMaintenanceWindow - backupConfiguration: SqlInstanceBackupConfiguration - projectID: String! - tier: String! - version: String - status: SqlInstanceStatus! - database: SqlDatabase - flags(first: Int, after: Cursor, last: Int, before: Cursor): SqlInstanceFlagConnection! - users(first: Int, after: Cursor, last: Int, before: Cursor, orderBy: SqlInstanceUserOrder): SqlInstanceUserConnection! - metrics: SqlInstanceMetrics! - state: SqlInstanceState! - - """Issues that affects the instance.""" - issues( - """ - Get the first n items in the connection. This can be used in combination with the after parameter. - """ - first: Int - - """Get items after this cursor.""" - after: Cursor - - """ - Get the last n items in the connection. This can be used in combination with the before parameter. - """ - last: Int - - """Get items before this cursor.""" - before: Cursor - - """Ordering options for items returned from the connection.""" - orderBy: IssueOrder - - """Filtering options for items returned from the connection.""" - filter: ResourceIssueFilter - ): IssueConnection! - - """ - Indicates whether audit logging is enabled for this SQL instance and provides a link to the logs if set. - """ - auditLog: AuditLog - cost: SqlInstanceCost! -} - -type SqlInstanceBackupConfiguration { - enabled: Boolean - startTime: String - retainedBackups: Int - pointInTimeRecovery: Boolean - transactionLogRetentionDays: Int -} - -type SqlInstanceConnection { - pageInfo: PageInfo! - nodes: [SqlInstance!]! - edges: [SqlInstanceEdge!]! -} - -type SqlInstanceCost { - sum: Float! -} - -type SqlInstanceCpu { - cores: Float! - utilization: Float! -} - -type SqlInstanceDisk { - quotaBytes: Int! - utilization: Float! -} - -type SqlInstanceEdge { - cursor: Cursor! - node: SqlInstance! -} - -type SqlInstanceFlag { - name: String! - value: String! -} - -type SqlInstanceFlagConnection { - pageInfo: PageInfo! - nodes: [SqlInstanceFlag!]! - edges: [SqlInstanceFlagEdge!]! -} - -type SqlInstanceFlagEdge { - cursor: Cursor! - node: SqlInstanceFlag! -} - -type SqlInstanceMaintenanceWindow { - day: Int! - hour: Int! -} - -type SqlInstanceMemory { - quotaBytes: Int! - utilization: Float! -} - -type SqlInstanceMetrics { - cpu: SqlInstanceCpu! - memory: SqlInstanceMemory! - disk: SqlInstanceDisk! -} - -input SqlInstanceOrder { - field: SqlInstanceOrderField! - direction: OrderDirection! -} - -enum SqlInstanceOrderField { - NAME - VERSION - ENVIRONMENT - COST - CPU_UTILIZATION - MEMORY_UTILIZATION - DISK_UTILIZATION - STATE - - """Order SqlInstances by issue severity""" - ISSUES -} - -enum SqlInstanceState { - UNSPECIFIED - STOPPED - RUNNABLE - SUSPENDED - PENDING_DELETE - PENDING_CREATE - MAINTENANCE - FAILED -} - -type SqlInstanceStateIssue implements Issue & Node { - id: ID! - teamEnvironment: TeamEnvironment! - severity: Severity! - message: String! - state: SqlInstanceState! - sqlInstance: SqlInstance! -} - -type SqlInstanceStatus { - publicIpAddress: String - privateIpAddress: String -} - -type SqlInstanceUser { - name: String! - authentication: String! -} - -type SqlInstanceUserConnection { - pageInfo: PageInfo! - nodes: [SqlInstanceUser!]! - edges: [SqlInstanceUserEdge!]! -} - -type SqlInstanceUserEdge { - cursor: Cursor! - node: SqlInstanceUser! -} - -input SqlInstanceUserOrder { - field: SqlInstanceUserOrderField! - direction: OrderDirection! -} - -enum SqlInstanceUserOrderField { - NAME - AUTHENTICATION -} - -type SqlInstanceVersionIssue implements Issue & Node { - id: ID! - teamEnvironment: TeamEnvironment! - severity: Severity! - message: String! - sqlInstance: SqlInstance! -} - -input StartOpenSearchMaintenanceInput { - serviceName: String! - teamSlug: Slug! - environmentName: String! -} - -type StartOpenSearchMaintenancePayload { - error: String -} - -input StartValkeyMaintenanceInput { - serviceName: String! - teamSlug: Slug! - environmentName: String! -} - -type StartValkeyMaintenancePayload { - error: String -} - -"""The subscription root for the Nais GraphQL API.""" -type Subscription { - """ - Subscribe to log lines - - This subscription is used to stream log lines. - """ - log(filter: LogSubscriptionFilter!): LogLine! - - """ - Subscribe to workload logs - - This subscription is used to stream logs from a specific workload. When filtering logs you must either specify an - application or a job owned by a team that is running in a specific environment. You can also filter logs on instance - name(s). - """ - workloadLog(filter: WorkloadLogSubscriptionFilter!): WorkloadLogLine! +Get vulnerability summary from given date until today. +""" + from: Date! + ): ImageVulnerabilityHistory! +""" +Get the mean time to fix history for a team. +""" + vulnerabilityFixHistory( + from: Date! + ): VulnerabilityFixHistory! + vulnerabilitySummary( + filter: TeamVulnerabilitySummaryFilter + ): TeamVulnerabilitySummary! +""" +Fetch vulnerability summaries for workloads in the team. +""" + vulnerabilitySummaries( +""" +Filter vulnerability summaries by environment. +""" + filter: TeamVulnerabilitySummaryFilter +""" +Get the first n items in the connection. This can be used in combination with the after parameter. +""" + first: Int +""" +Get items after this cursor. +""" + after: Cursor +""" +Get the last n items in the connection. This can be used in combination with the before parameter. +""" + last: Int +""" +Get items before this cursor. +""" + before: Cursor +""" +Ordering options for items returned from the connection. +""" + orderBy: VulnerabilitySummaryOrder + ): WorkloadVulnerabilitySummaryConnection! +""" +Nais workloads owned by the team. +""" + workloads( +""" +Get the first n items in the connection. This can be used in combination with the after parameter. +""" + first: Int +""" +Get items after this cursor. +""" + after: Cursor +""" +Get the last n items in the connection. This can be used in combination with the before parameter. +""" + last: Int +""" +Get items before this cursor. +""" + before: Cursor +""" +Ordering options for items returned from the connection. +""" + orderBy: WorkloadOrder +""" +Filter the returned objects +""" + filter: TeamWorkloadsFilter + ): WorkloadConnection! } """ -The team type represents a team on the [Nais platform](https://nais.io/). - -Learn more about what Nais teams are and what they can be used for in the [official Nais documentation](https://docs.nais.io/explanations/team/). - -External resources (e.g. entraIDGroupID, gitHubTeamSlug) are managed by [Nais API reconcilers](https://github.com/nais/api-reconcilers). +Input for filtering alerts. """ -type Team implements Node & ActivityLogger { - """The globally unique ID of the team.""" - id: ID! - - """Unique slug of the team.""" - slug: Slug! - - """Main Slack channel for the team.""" - slackChannel: String! - - """Purpose of the team.""" - purpose: String! - - """External resources for the team.""" - externalResources: TeamExternalResources! - - """Get a specific member of the team.""" - member(email: String!): TeamMember! - - """Team members.""" - members( - """ - Get the first n items in the connection. This can be used in combination with the after parameter. - """ - first: Int - - """Get items after this cursor.""" - after: Cursor - - """ - Get the last n items in the connection. This can be used in combination with the before parameter. - """ - last: Int - - """Get items before this cursor.""" - before: Cursor - - """Ordering options for items returned from the connection.""" - orderBy: TeamMemberOrder - ): TeamMemberConnection! - - """Timestamp of the last successful synchronization of the team.""" - lastSuccessfulSync: Time - - """Whether or not the team is currently being deleted.""" - deletionInProgress: Boolean! - - """Whether or not the viewer is an owner of the team.""" - viewerIsOwner: Boolean! - - """Whether or not the viewer is a member of the team.""" - viewerIsMember: Boolean! - - """Environments for the team.""" - environments: [TeamEnvironment!]! - - """Get a specific environment for the team.""" - environment(name: String!): TeamEnvironment! - - """Get a delete key for the team.""" - deleteKey(key: String!): TeamDeleteKey! - - """Overall inventory of resources for the team.""" - inventoryCounts: TeamInventoryCounts! - - """Activity log associated with the team.""" - activityLog( - """ - Get the first n items in the connection. This can be used in combination with the after parameter. - """ - first: Int - - """Get items after this cursor.""" - after: Cursor - - """ - Get the last n items in the connection. This can be used in combination with the before parameter. - """ - last: Int - - """Get items before this cursor.""" - before: Cursor - - """Filter items.""" - filter: ActivityLogFilter - ): ActivityLogEntryConnection! - - """EXPERIMENTAL: DO NOT USE""" - alerts( - """ - Get the first n items in the connection. This can be used in combination with the after parameter. - """ - first: Int - - """Get items after this cursor.""" - after: Cursor - - """ - Get the last n items in the connection. This can be used in combination with the before parameter. - """ - last: Int - - """Get items before this cursor.""" - before: Cursor - - """Ordering options for items returned from the connection.""" - orderBy: AlertOrder - - """Filter the returned objects""" - filter: TeamAlertsFilter - ): AlertConnection! - - """Nais applications owned by the team.""" - applications( - """ - Get the first n items in the connection. This can be used in combination with the after parameter. - """ - first: Int - - """Get items after this cursor.""" - after: Cursor - - """ - Get the last n items in the connection. This can be used in combination with the before parameter. - """ - last: Int - - """Get items before this cursor.""" - before: Cursor - - """Ordering options for items returned from the connection.""" - orderBy: ApplicationOrder - - """Filtering options for items returned from the connection.""" - filter: TeamApplicationsFilter - ): ApplicationConnection! - - """BigQuery datasets owned by the team.""" - bigQueryDatasets( - """ - Get the first n items in the connection. This can be used in combination with the after parameter. - """ - first: Int - - """Get items after this cursor.""" - after: Cursor - - """ - Get the last n items in the connection. This can be used in combination with the before parameter. - """ - last: Int - - """Get items before this cursor.""" - before: Cursor - - """Ordering options for items returned from the connection.""" - orderBy: BigQueryDatasetOrder - ): BigQueryDatasetConnection! - - """Google Cloud Storage buckets owned by the team.""" - buckets( - """ - Get the first n items in the connection. This can be used in combination with the after parameter. - """ - first: Int - - """Get items after this cursor.""" - after: Cursor - - """ - Get the last n items in the connection. This can be used in combination with the before parameter. - """ - last: Int - - """Get items before this cursor.""" - before: Cursor - - """Ordering options for items returned from the connection.""" - orderBy: BucketOrder - ): BucketConnection! - - """Configs owned by the team.""" - configs( - """ - Get the first n items in the connection. This can be used in combination with the after parameter. - """ - first: Int - - """Get items after this cursor.""" - after: Cursor - - """ - Get the last n items in the connection. This can be used in combination with the before parameter. - """ - last: Int - - """Get items before this cursor.""" - before: Cursor - - """Ordering options for items returned from the connection.""" - orderBy: ConfigOrder - - """Filtering options for items returned from the connection.""" - filter: ConfigFilter - ): ConfigConnection! - - """The cost for the team.""" - cost: TeamCost! - - """Deployment key for the team.""" - deploymentKey: DeploymentKey - - """List deployments for a team.""" - deployments( - """ - Get the first n items in the connection. This can be used in combination with the after parameter. - """ - first: Int - - """Get items after this cursor.""" - after: Cursor - - """ - Get the last n items in the connection. This can be used in combination with the before parameter. - """ - last: Int - - """Get items before this cursor.""" - before: Cursor - ): DeploymentConnection! - - """Issues that affects the team.""" - issues( - """ - Get the first n items in the connection. This can be used in combination with the after parameter. - """ - first: Int - - """Get items after this cursor.""" - after: Cursor - - """ - Get the last n items in the connection. This can be used in combination with the before parameter. - """ - last: Int - - """Get items before this cursor.""" - before: Cursor - orderBy: IssueOrder - filter: IssueFilter - ): IssueConnection! - - """Nais jobs owned by the team.""" - jobs( - """ - Get the first n items in the connection. This can be used in combination with the after parameter. - """ - first: Int - - """Get items after this cursor.""" - after: Cursor - - """ - Get the last n items in the connection. This can be used in combination with the before parameter. - """ - last: Int - - """Get items before this cursor.""" - before: Cursor - - """Ordering options for items returned from the connection.""" - orderBy: JobOrder - - """Filtering options for items returned from the connection.""" - filter: TeamJobsFilter - ): JobConnection! - - """Kafka topics owned by the team.""" - kafkaTopics( - """ - Get the first n items in the connection. This can be used in combination with the after parameter. - """ - first: Int - - """Get items after this cursor.""" - after: Cursor - - """ - Get the last n items in the connection. This can be used in combination with the before parameter. - """ - last: Int - - """Get items before this cursor.""" - before: Cursor - - """Ordering options for items returned from the connection.""" - orderBy: KafkaTopicOrder - ): KafkaTopicConnection! - - """OpenSearch instances owned by the team.""" - openSearches( - """ - Get the first n items in the connection. This can be used in combination with the after parameter. - """ - first: Int - - """Get items after this cursor.""" - after: Cursor - - """ - Get the last n items in the connection. This can be used in combination with the before parameter. - """ - last: Int - - """Get items before this cursor.""" - before: Cursor - - """Ordering options for items returned from the connection.""" - orderBy: OpenSearchOrder - ): OpenSearchConnection! - - """Postgres instances owned by the team.""" - postgresInstances( - """ - Get the first n items in the connection. This can be used in combination with the after parameter. - """ - first: Int - - """Get items after this cursor.""" - after: Cursor - - """ - Get the last n items in the connection. This can be used in combination with the before parameter. - """ - last: Int - - """Get items before this cursor.""" - before: Cursor - - """Ordering options for items returned from the connection.""" - orderBy: PostgresInstanceOrder - ): PostgresInstanceConnection! - repositories( - """ - Get the first n items in the connection. This can be used in combination with the after parameter. - """ - first: Int - - """Get items after this cursor.""" - after: Cursor - - """ - Get the last n items in the connection. This can be used in combination with the before parameter. - """ - last: Int - - """Get items before this cursor.""" - before: Cursor - - """Ordering options for items returned from the connection.""" - orderBy: RepositoryOrder - filter: TeamRepositoryFilter - ): RepositoryConnection! - - """Secrets owned by the team.""" - secrets( - """ - Get the first n items in the connection. This can be used in combination with the after parameter. - """ - first: Int - - """Get items after this cursor.""" - after: Cursor - - """ - Get the last n items in the connection. This can be used in combination with the before parameter. - """ - last: Int - - """Get items before this cursor.""" - before: Cursor - - """Ordering options for items returned from the connection.""" - orderBy: SecretOrder - - """Filtering options for items returned from the connection.""" - filter: SecretFilter - ): SecretConnection! - - """SQL instances owned by the team.""" - sqlInstances( - """ - Get the first n items in the connection. This can be used in combination with the after parameter. - """ - first: Int - - """Get items after this cursor.""" - after: Cursor - - """ - Get the last n items in the connection. This can be used in combination with the before parameter. - """ - last: Int - - """Get items before this cursor.""" - before: Cursor - - """Ordering options for items returned from the connection.""" - orderBy: SqlInstanceOrder - ): SqlInstanceConnection! - unleash: UnleashInstance - workloadUtilization(resourceType: UtilizationResourceType!): [WorkloadUtilizationData]! - serviceUtilization: TeamServiceUtilization! - - """Valkey instances owned by the team.""" - valkeys( - """ - Get the first n items in the connection. This can be used in combination with the after parameter. - """ - first: Int - - """Get items after this cursor.""" - after: Cursor - - """ - Get the last n items in the connection. This can be used in combination with the before parameter. - """ - last: Int - - """Get items before this cursor.""" - before: Cursor - - """Ordering options for items returned from the connection.""" - orderBy: ValkeyOrder - ): ValkeyConnection! - - """Get the vulnerability summary history for team.""" - imageVulnerabilityHistory( - """Get vulnerability summary from given date until today.""" - from: Date! - ): ImageVulnerabilityHistory! - - """Get the mean time to fix history for a team.""" - vulnerabilityFixHistory(from: Date!): VulnerabilityFixHistory! - vulnerabilitySummary(filter: TeamVulnerabilitySummaryFilter): TeamVulnerabilitySummary! - - """Fetch vulnerability summaries for workloads in the team.""" - vulnerabilitySummaries( - """Filter vulnerability summaries by environment.""" - filter: TeamVulnerabilitySummaryFilter - - """ - Get the first n items in the connection. This can be used in combination with the after parameter. - """ - first: Int - - """Get items after this cursor.""" - after: Cursor - - """ - Get the last n items in the connection. This can be used in combination with the before parameter. - """ - last: Int - - """Get items before this cursor.""" - before: Cursor - - """Ordering options for items returned from the connection.""" - orderBy: VulnerabilitySummaryOrder - ): WorkloadVulnerabilitySummaryConnection! - - """Nais workloads owned by the team.""" - workloads( - """ - Get the first n items in the connection. This can be used in combination with the after parameter. - """ - first: Int - - """Get items after this cursor.""" - after: Cursor - - """ - Get the last n items in the connection. This can be used in combination with the before parameter. - """ - last: Int - - """Get items before this cursor.""" - before: Cursor - - """Ordering options for items returned from the connection.""" - orderBy: WorkloadOrder - - """Filter the returned objects""" - filter: TeamWorkloadsFilter - ): WorkloadConnection! -} - -"""Input for filtering alerts.""" input TeamAlertsFilter { - """Filter by the name of the application.""" - name: String - - """Filter by the name of the environment.""" - environments: [String!] - - """Only return alerts from the given named states.""" - states: [AlertState!] +""" +Input for filtering alerts. +""" + name: String +""" +Input for filtering alerts. +""" + environments: [String!] +""" +Input for filtering alerts. +""" + states: [AlertState!] } -"""Input for filtering the applications of a team.""" +""" +Input for filtering the applications of a team. +""" input TeamApplicationsFilter { - """Filter by the name of the application.""" - name: String - - """Filter by the name of the environment.""" - environments: [String!] +""" +Input for filtering the applications of a team. +""" + name: String +""" +Input for filtering the applications of a team. +""" + environments: [String!] } type TeamCDN { - """The CDN bucket for the team.""" - bucket: String! +""" +The CDN bucket for the team. +""" + bucket: String! } -type TeamConfirmDeleteKeyActivityLogEntry implements ActivityLogEntry & Node { - """ID of the entry.""" - id: ID! - - """ - The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. - """ - actor: String! - - """Creation time of the entry.""" - createdAt: Time! - - """Message that summarizes the entry.""" - message: String! - - """Type of the resource that was affected by the action.""" - resourceType: ActivityLogEntryResourceType! - - """Name of the resource that was affected by the action.""" - resourceName: String! - - """The team slug that the entry belongs to.""" - teamSlug: Slug! - - """The environment name that the entry belongs to.""" - environmentName: String +type TeamConfirmDeleteKeyActivityLogEntry implements ActivityLogEntry & Node{ +""" +ID of the entry. +""" + id: ID! +""" +The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. +""" + actor: String! +""" +Creation time of the entry. +""" + createdAt: Time! +""" +Message that summarizes the entry. +""" + message: String! +""" +Type of the resource that was affected by the action. +""" + resourceType: ActivityLogEntryResourceType! +""" +Name of the resource that was affected by the action. +""" + resourceName: String! +""" +The team slug that the entry belongs to. +""" + teamSlug: Slug! +""" +The environment name that the entry belongs to. +""" + environmentName: String } type TeamConnection { - """Pagination information.""" - pageInfo: PageInfo! - - """List of nodes.""" - nodes: [Team!]! - - """List of edges.""" - edges: [TeamEdge!]! +""" +Pagination information. +""" + pageInfo: PageInfo! +""" +List of nodes. +""" + nodes: [Team!]! +""" +List of edges. +""" + edges: [TeamEdge!]! } type TeamCost { - daily( - """Start date of the period, inclusive.""" - from: Date! - - """End date of the period, inclusive.""" - to: Date! - - """Filter the results.""" - filter: TeamCostDailyFilter - ): TeamCostPeriod! - monthlySummary: TeamCostMonthlySummary! + daily( +""" +Start date of the period, inclusive. +""" + from: Date! +""" +End date of the period, inclusive. +""" + to: Date! +""" +Filter the results. +""" + filter: TeamCostDailyFilter + ): TeamCostPeriod! + monthlySummary: TeamCostMonthlySummary! } input TeamCostDailyFilter { - """Services to include in the summary.""" - services: [String!] + services: [String!] } type TeamCostMonthlySample { - """The last date with cost data in the month.""" - date: Date! - - """The total cost for the month.""" - cost: Float! +""" +The last date with cost data in the month. +""" + date: Date! +""" +The total cost for the month. +""" + cost: Float! } type TeamCostMonthlySummary { - """The total cost for the last 12 months.""" - sum: Float! - - """The cost series.""" - series: [TeamCostMonthlySample!]! +""" +The total cost for the last 12 months. +""" + sum: Float! +""" +The cost series. +""" + series: [TeamCostMonthlySample!]! } type TeamCostPeriod { - """The total cost for the period.""" - sum: Float! - - """The cost series.""" - series: [ServiceCostSeries!]! -} - -type TeamCreateDeleteKeyActivityLogEntry implements ActivityLogEntry & Node { - """ID of the entry.""" - id: ID! - - """ - The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. - """ - actor: String! - - """Creation time of the entry.""" - createdAt: Time! - - """Message that summarizes the entry.""" - message: String! - - """Type of the resource that was affected by the action.""" - resourceType: ActivityLogEntryResourceType! - - """Name of the resource that was affected by the action.""" - resourceName: String! - - """The team slug that the entry belongs to.""" - teamSlug: Slug! - - """The environment name that the entry belongs to.""" - environmentName: String -} - -type TeamCreatedActivityLogEntry implements ActivityLogEntry & Node { - """ID of the entry.""" - id: ID! - - """ - The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. - """ - actor: String! - - """Creation time of the entry.""" - createdAt: Time! - - """Message that summarizes the entry.""" - message: String! - - """Type of the resource that was affected by the action.""" - resourceType: ActivityLogEntryResourceType! - - """Name of the resource that was affected by the action.""" - resourceName: String! +""" +The total cost for the period. +""" + sum: Float! +""" +The cost series. +""" + series: [ServiceCostSeries!]! +} - """The team slug that the entry belongs to.""" - teamSlug: Slug! +type TeamCreateDeleteKeyActivityLogEntry implements ActivityLogEntry & Node{ +""" +ID of the entry. +""" + id: ID! +""" +The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. +""" + actor: String! +""" +Creation time of the entry. +""" + createdAt: Time! +""" +Message that summarizes the entry. +""" + message: String! +""" +Type of the resource that was affected by the action. +""" + resourceType: ActivityLogEntryResourceType! +""" +Name of the resource that was affected by the action. +""" + resourceName: String! +""" +The team slug that the entry belongs to. +""" + teamSlug: Slug! +""" +The environment name that the entry belongs to. +""" + environmentName: String +} - """The environment name that the entry belongs to.""" - environmentName: String +type TeamCreatedActivityLogEntry implements ActivityLogEntry & Node{ +""" +ID of the entry. +""" + id: ID! +""" +The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. +""" + actor: String! +""" +Creation time of the entry. +""" + createdAt: Time! +""" +Message that summarizes the entry. +""" + message: String! +""" +Type of the resource that was affected by the action. +""" + resourceType: ActivityLogEntryResourceType! +""" +Name of the resource that was affected by the action. +""" + resourceName: String! +""" +The team slug that the entry belongs to. +""" + teamSlug: Slug! +""" +The environment name that the entry belongs to. +""" + environmentName: String } type TeamDeleteKey { - """The unique key used to confirm the deletion of a team.""" - key: String! - - """The creation timestamp of the key.""" - createdAt: Time! - - """Expiration timestamp of the key.""" - expires: Time! - - """The user who created the key.""" - createdBy: User! - - """The team the delete key is for.""" - team: Team! +""" +The unique key used to confirm the deletion of a team. +""" + key: String! +""" +The creation timestamp of the key. +""" + createdAt: Time! +""" +Expiration timestamp of the key. +""" + expires: Time! +""" +The user who created the key. +""" + createdBy: User! +""" +The team the delete key is for. +""" + team: Team! } -type TeamDeployKeyUpdatedActivityLogEntry implements ActivityLogEntry & Node { - """ID of the entry.""" - id: ID! - - """ - The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. - """ - actor: String! - - """Creation time of the entry.""" - createdAt: Time! - - """Message that summarizes the entry.""" - message: String! - - """Type of the resource that was affected by the action.""" - resourceType: ActivityLogEntryResourceType! - - """Name of the resource that was affected by the action.""" - resourceName: String! - - """The team slug that the entry belongs to.""" - teamSlug: Slug! - - """The environment name that the entry belongs to.""" - environmentName: String +type TeamDeployKeyUpdatedActivityLogEntry implements ActivityLogEntry & Node{ +""" +ID of the entry. +""" + id: ID! +""" +The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. +""" + actor: String! +""" +Creation time of the entry. +""" + createdAt: Time! +""" +Message that summarizes the entry. +""" + message: String! +""" +Type of the resource that was affected by the action. +""" + resourceType: ActivityLogEntryResourceType! +""" +Name of the resource that was affected by the action. +""" + resourceName: String! +""" +The team slug that the entry belongs to. +""" + teamSlug: Slug! +""" +The environment name that the entry belongs to. +""" + environmentName: String } type TeamEdge { - """Cursor for this edge that can be used for pagination.""" - cursor: Cursor! - - """The team.""" - node: Team! +""" +Cursor for this edge that can be used for pagination. +""" + cursor: Cursor! +""" +The team. +""" + node: Team! } type TeamEntraIDGroup { - """The ID of the Entra ID (f.k.a. Azure AD) group for the team.""" - groupID: String! +""" +The ID of the Entra ID (f.k.a. Azure AD) group for the team. +""" + groupID: String! } -type TeamEnvironment implements Node { - """The globally unique ID of the team environment.""" - id: ID! - - """Name of the team environment.""" - name: String! @deprecated(reason: "Use the `environment` field to get the environment name.") - - """The GCP project ID for the team environment.""" - gcpProjectID: String - - """The Slack alerts channel for the team environment.""" - slackAlertsChannel: String! - - """The connected team.""" - team: Team! - - """EXPERIMENTAL: DO NOT USE""" - alerts( - """ - Get the first n items in the connection. This can be used in combination with the after parameter. - """ - first: Int - - """Get items after this cursor.""" - after: Cursor - - """ - Get the last n items in the connection. This can be used in combination with the before parameter. - """ - last: Int - - """Get items before this cursor.""" - before: Cursor - - """Ordering options for items returned from the connection.""" - orderBy: AlertOrder - - """Filter the returned objects""" - filter: TeamAlertsFilter - ): AlertConnection! - - """Nais application in the team environment.""" - application( - """The name of the application.""" - name: String! - ): Application! - - """BigQuery datasets in the team environment.""" - bigQueryDataset(name: String!): BigQueryDataset! - - """Storage bucket in the team environment.""" - bucket(name: String!): Bucket! - - """Get a config by name.""" - config(name: String!): Config! - - """The cost for the team environment.""" - cost: TeamEnvironmentCost! - - """Get the environment.""" - environment: Environment! - - """Nais job in the team environment.""" - job(name: String!): Job! - - """Kafka topic in the team environment.""" - kafkaTopic(name: String!): KafkaTopic! - - """OpenSearch instance in the team environment.""" - openSearch(name: String!): OpenSearch! - - """Postgres instance in the team environment.""" - postgresInstance(name: String!): PostgresInstance! - - """Get a secret by name.""" - secret(name: String!): Secret! - - """SQL instance in the team environment.""" - sqlInstance(name: String!): SqlInstance! - - """Valkey instance in the team environment.""" - valkey(name: String!): Valkey! - - """Workload in the team environment.""" - workload( - """The name of the workload to get.""" - name: String! - ): Workload! +type TeamEnvironment implements Node{ +""" +The globally unique ID of the team environment. +""" + id: ID! +""" +Name of the team environment. +""" + name: String! @deprecated(reason: "Use the `environment` field to get the environment name.") +""" +The GCP project ID for the team environment. +""" + gcpProjectID: String +""" +The Slack alerts channel for the team environment. +""" + slackAlertsChannel: String! +""" +The connected team. +""" + team: Team! +""" +EXPERIMENTAL: DO NOT USE +""" + alerts( +""" +Get the first n items in the connection. This can be used in combination with the after parameter. +""" + first: Int +""" +Get items after this cursor. +""" + after: Cursor +""" +Get the last n items in the connection. This can be used in combination with the before parameter. +""" + last: Int +""" +Get items before this cursor. +""" + before: Cursor +""" +Ordering options for items returned from the connection. +""" + orderBy: AlertOrder +""" +Filter the returned objects +""" + filter: TeamAlertsFilter + ): AlertConnection! +""" +Nais application in the team environment. +""" + application( +""" +The name of the application. +""" + name: String! + ): Application! +""" +BigQuery datasets in the team environment. +""" + bigQueryDataset( + name: String! + ): BigQueryDataset! +""" +Storage bucket in the team environment. +""" + bucket( + name: String! + ): Bucket! +""" +Get a config by name. +""" + config( + name: String! + ): Config! +""" +The cost for the team environment. +""" + cost: TeamEnvironmentCost! +""" +Get the environment. +""" + environment: Environment! +""" +Nais job in the team environment. +""" + job( + name: String! + ): Job! +""" +Kafka topic in the team environment. +""" + kafkaTopic( + name: String! + ): KafkaTopic! +""" +OpenSearch instance in the team environment. +""" + openSearch( + name: String! + ): OpenSearch! +""" +Postgres instance in the team environment. +""" + postgresInstance( + name: String! + ): PostgresInstance! +""" +Get a secret by name. +""" + secret( + name: String! + ): Secret! +""" +SQL instance in the team environment. +""" + sqlInstance( + name: String! + ): SqlInstance! +""" +Valkey instance in the team environment. +""" + valkey( + name: String! + ): Valkey! +""" +Workload in the team environment. +""" + workload( +""" +The name of the workload to get. +""" + name: String! + ): Workload! } type TeamEnvironmentCost { - daily( - """Start date of the period, inclusive.""" - from: Date! - - """End date of the period, inclusive.""" - to: Date! - ): TeamEnvironmentCostPeriod! + daily( +""" +Start date of the period, inclusive. +""" + from: Date! +""" +End date of the period, inclusive. +""" + to: Date! + ): TeamEnvironmentCostPeriod! } type TeamEnvironmentCostPeriod { - """The total cost for the period.""" - sum: Float! - - """The cost series.""" - series: [WorkloadCostSeries!]! +""" +The total cost for the period. +""" + sum: Float! +""" +The cost series. +""" + series: [WorkloadCostSeries!]! } -type TeamEnvironmentUpdatedActivityLogEntry implements ActivityLogEntry & Node { - """ID of the entry.""" - id: ID! - - """ - The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. - """ - actor: String! - - """Creation time of the entry.""" - createdAt: Time! - - """Message that summarizes the entry.""" - message: String! - - """Type of the resource that was affected by the action.""" - resourceType: ActivityLogEntryResourceType! - - """Name of the resource that was affected by the action.""" - resourceName: String! - - """The team slug that the entry belongs to.""" - teamSlug: Slug! - - """The environment name that the entry belongs to.""" - environmentName: String - - """Data associated with the action.""" - data: TeamEnvironmentUpdatedActivityLogEntryData! +type TeamEnvironmentUpdatedActivityLogEntry implements ActivityLogEntry & Node{ +""" +ID of the entry. +""" + id: ID! +""" +The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. +""" + actor: String! +""" +Creation time of the entry. +""" + createdAt: Time! +""" +Message that summarizes the entry. +""" + message: String! +""" +Type of the resource that was affected by the action. +""" + resourceType: ActivityLogEntryResourceType! +""" +Name of the resource that was affected by the action. +""" + resourceName: String! +""" +The team slug that the entry belongs to. +""" + teamSlug: Slug! +""" +The environment name that the entry belongs to. +""" + environmentName: String +""" +Data associated with the action. +""" + data: TeamEnvironmentUpdatedActivityLogEntryData! } type TeamEnvironmentUpdatedActivityLogEntryData { - """Fields that were updated.""" - updatedFields: [TeamEnvironmentUpdatedActivityLogEntryDataUpdatedField!]! +""" +Fields that were updated. +""" + updatedFields: [TeamEnvironmentUpdatedActivityLogEntryDataUpdatedField!]! } type TeamEnvironmentUpdatedActivityLogEntryDataUpdatedField { - """The name of the field.""" - field: String! - - """The old value of the field.""" - oldValue: String - - """The new value of the field.""" - newValue: String +""" +The name of the field. +""" + field: String! +""" +The old value of the field. +""" + oldValue: String +""" +The new value of the field. +""" + newValue: String } type TeamExternalResources { - """The Entra ID (f.k.a. Azure AD) group for the team.""" - entraIDGroup: TeamEntraIDGroup - - """The teams GitHub team.""" - gitHubTeam: TeamGitHubTeam - - """The Google group for the team.""" - googleGroup: TeamGoogleGroup - - """Google Artifact Registry.""" - googleArtifactRegistry: TeamGoogleArtifactRegistry - - """CDN bucket.""" - cdn: TeamCDN +""" +The Entra ID (f.k.a. Azure AD) group for the team. +""" + entraIDGroup: TeamEntraIDGroup +""" +The teams GitHub team. +""" + gitHubTeam: TeamGitHubTeam +""" +The Google group for the team. +""" + googleGroup: TeamGoogleGroup +""" +Google Artifact Registry. +""" + googleArtifactRegistry: TeamGoogleArtifactRegistry +""" +CDN bucket. +""" + cdn: TeamCDN } -"""Input for filtering teams.""" +""" +Input for filtering teams. +""" input TeamFilter { - """Filter teams by the existence of workloads.""" - hasWorkloads: Boolean +""" +Input for filtering teams. +""" + hasWorkloads: Boolean } type TeamGitHubTeam { - """The slug of the GitHub team.""" - slug: String! +""" +The slug of the GitHub team. +""" + slug: String! } type TeamGoogleArtifactRegistry { - """The Google Artifact Registry for the team.""" - repository: String! +""" +The Google Artifact Registry for the team. +""" + repository: String! } type TeamGoogleGroup { - """The email address of the Google Workspace group for the team.""" - email: String! +""" +The email address of the Google Workspace group for the team. +""" + email: String! } -"""Application inventory count for a team.""" +""" +Application inventory count for a team. +""" type TeamInventoryCountApplications { - """Total number of applications.""" - total: Int! +""" +Total number of applications. +""" + total: Int! } type TeamInventoryCountBigQueryDatasets { - """Total number of BigQuery datasets.""" - total: Int! +""" +Total number of BigQuery datasets. +""" + total: Int! } type TeamInventoryCountBuckets { - """Total number of Google Cloud Storage buckets.""" - total: Int! +""" +Total number of Google Cloud Storage buckets. +""" + total: Int! } -"""Config inventory count for a team.""" +""" +Config inventory count for a team. +""" type TeamInventoryCountConfigs { - """Total number of configs.""" - total: Int! +""" +Total number of configs. +""" + total: Int! } type TeamInventoryCountJobs { - """Total number of jobs.""" - total: Int! +""" +Total number of jobs. +""" + total: Int! } type TeamInventoryCountKafkaTopics { - """Total number of Kafka topics.""" - total: Int! +""" +Total number of Kafka topics. +""" + total: Int! } type TeamInventoryCountOpenSearches { - """Total number of OpenSearch instances.""" - total: Int! +""" +Total number of OpenSearch instances. +""" + total: Int! } type TeamInventoryCountPostgresInstances { - """Total number of Postgres instances.""" - total: Int! +""" +Total number of Postgres instances. +""" + total: Int! } -"""Secret inventory count for a team.""" +""" +Secret inventory count for a team. +""" type TeamInventoryCountSecrets { - """Total number of secrets.""" - total: Int! +""" +Total number of secrets. +""" + total: Int! } type TeamInventoryCountSqlInstances { - """Total number of SQL instances.""" - total: Int! +""" +Total number of SQL instances. +""" + total: Int! } type TeamInventoryCountValkeys { - """Total number of Valkey instances.""" - total: Int! +""" +Total number of Valkey instances. +""" + total: Int! } type TeamInventoryCounts { - """Application inventory count for a team.""" - applications: TeamInventoryCountApplications! - bigQueryDatasets: TeamInventoryCountBigQueryDatasets! - buckets: TeamInventoryCountBuckets! - - """Config inventory count for a team.""" - configs: TeamInventoryCountConfigs! - jobs: TeamInventoryCountJobs! - kafkaTopics: TeamInventoryCountKafkaTopics! - openSearches: TeamInventoryCountOpenSearches! - postgresInstances: TeamInventoryCountPostgresInstances! - - """Secret inventory count for a team.""" - secrets: TeamInventoryCountSecrets! - sqlInstances: TeamInventoryCountSqlInstances! - valkeys: TeamInventoryCountValkeys! +""" +Application inventory count for a team. +""" + applications: TeamInventoryCountApplications! + bigQueryDatasets: TeamInventoryCountBigQueryDatasets! + buckets: TeamInventoryCountBuckets! +""" +Config inventory count for a team. +""" + configs: TeamInventoryCountConfigs! + jobs: TeamInventoryCountJobs! + kafkaTopics: TeamInventoryCountKafkaTopics! + openSearches: TeamInventoryCountOpenSearches! + postgresInstances: TeamInventoryCountPostgresInstances! +""" +Secret inventory count for a team. +""" + secrets: TeamInventoryCountSecrets! + sqlInstances: TeamInventoryCountSqlInstances! + valkeys: TeamInventoryCountValkeys! } input TeamJobsFilter { - """Filter by the name of the job.""" - name: String! - - """Filter by the name of the environment.""" - environments: [String!] + name: String! + environments: [String!] } type TeamMember { - """Team instance.""" - team: Team! - - """User instance.""" - user: User! - - """The role that the user has in the team.""" - role: TeamMemberRole! +""" +Team instance. +""" + team: Team! +""" +User instance. +""" + user: User! +""" +The role that the user has in the team. +""" + role: TeamMemberRole! } -type TeamMemberAddedActivityLogEntry implements ActivityLogEntry & Node { - """ID of the entry.""" - id: ID! - - """ - The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. - """ - actor: String! - - """Creation time of the entry.""" - createdAt: Time! - - """Message that summarizes the entry.""" - message: String! - - """Type of the resource that was affected by the action.""" - resourceType: ActivityLogEntryResourceType! - - """Name of the resource that was affected by the action.""" - resourceName: String! - - """The team slug that the entry belongs to.""" - teamSlug: Slug! - - """The environment name that the entry belongs to.""" - environmentName: String - - """Data associated with the action.""" - data: TeamMemberAddedActivityLogEntryData! +type TeamMemberAddedActivityLogEntry implements ActivityLogEntry & Node{ +""" +ID of the entry. +""" + id: ID! +""" +The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. +""" + actor: String! +""" +Creation time of the entry. +""" + createdAt: Time! +""" +Message that summarizes the entry. +""" + message: String! +""" +Type of the resource that was affected by the action. +""" + resourceType: ActivityLogEntryResourceType! +""" +Name of the resource that was affected by the action. +""" + resourceName: String! +""" +The team slug that the entry belongs to. +""" + teamSlug: Slug! +""" +The environment name that the entry belongs to. +""" + environmentName: String +""" +Data associated with the action. +""" + data: TeamMemberAddedActivityLogEntryData! } type TeamMemberAddedActivityLogEntryData { - """The role that the user was added with.""" - role: TeamMemberRole! - - """The ID of the user that was added.""" - userID: ID! - - """The email address of the user that was added.""" - userEmail: String! +""" +The role that the user was added with. +""" + role: TeamMemberRole! +""" +The ID of the user that was added. +""" + userID: ID! +""" +The email address of the user that was added. +""" + userEmail: String! } type TeamMemberConnection { - """Pagination information.""" - pageInfo: PageInfo! - - """List of nodes.""" - nodes: [TeamMember!]! - - """List of edges.""" - edges: [TeamMemberEdge!]! +""" +Pagination information. +""" + pageInfo: PageInfo! +""" +List of nodes. +""" + nodes: [TeamMember!]! +""" +List of edges. +""" + edges: [TeamMemberEdge!]! } type TeamMemberEdge { - """Cursor for this edge that can be used for pagination.""" - cursor: Cursor! - - """The team member.""" - node: TeamMember! +""" +Cursor for this edge that can be used for pagination. +""" + cursor: Cursor! +""" +The team member. +""" + node: TeamMember! } -"""Ordering options for team members.""" +""" +Ordering options for team members. +""" input TeamMemberOrder { - """The field to order items by.""" - field: TeamMemberOrderField! - - """The direction to order items by.""" - direction: OrderDirection! +""" +Ordering options for team members. +""" + field: TeamMemberOrderField! +""" +Ordering options for team members. +""" + direction: OrderDirection! } -"""Possible fields to order team members by.""" +""" +Possible fields to order team members by. +""" enum TeamMemberOrderField { - """The name of user.""" - NAME - - """The email address of the user.""" - EMAIL - - """The role the user has in the team.""" - ROLE +""" +The name of user. +""" + NAME +""" +The email address of the user. +""" + EMAIL +""" +The role the user has in the team. +""" + ROLE } -type TeamMemberRemovedActivityLogEntry implements ActivityLogEntry & Node { - """ID of the entry.""" - id: ID! - - """ - The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. - """ - actor: String! - - """Creation time of the entry.""" - createdAt: Time! - - """Message that summarizes the entry.""" - message: String! - - """Type of the resource that was affected by the action.""" - resourceType: ActivityLogEntryResourceType! - - """Name of the resource that was affected by the action.""" - resourceName: String! - - """The team slug that the entry belongs to.""" - teamSlug: Slug! - - """The environment name that the entry belongs to.""" - environmentName: String - - """Data associated with the action.""" - data: TeamMemberRemovedActivityLogEntryData! +type TeamMemberRemovedActivityLogEntry implements ActivityLogEntry & Node{ +""" +ID of the entry. +""" + id: ID! +""" +The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. +""" + actor: String! +""" +Creation time of the entry. +""" + createdAt: Time! +""" +Message that summarizes the entry. +""" + message: String! +""" +Type of the resource that was affected by the action. +""" + resourceType: ActivityLogEntryResourceType! +""" +Name of the resource that was affected by the action. +""" + resourceName: String! +""" +The team slug that the entry belongs to. +""" + teamSlug: Slug! +""" +The environment name that the entry belongs to. +""" + environmentName: String +""" +Data associated with the action. +""" + data: TeamMemberRemovedActivityLogEntryData! } type TeamMemberRemovedActivityLogEntryData { - """The ID of the user that was removed.""" - userID: ID! - - """The email address of the user that was removed.""" - userEmail: String! +""" +The ID of the user that was removed. +""" + userID: ID! +""" +The email address of the user that was removed. +""" + userEmail: String! } -"""Team member roles.""" +""" +Team member roles. +""" enum TeamMemberRole { - """Member, full access including elevation.""" - MEMBER - - """Team owner, full access to the team including member management.""" - OWNER +""" +Member, full access including elevation. +""" + MEMBER +""" +Team owner, full access to the team including member management. +""" + OWNER } -type TeamMemberSetRoleActivityLogEntry implements ActivityLogEntry & Node { - """ID of the entry.""" - id: ID! - - """ - The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. - """ - actor: String! - - """Creation time of the entry.""" - createdAt: Time! - - """Message that summarizes the entry.""" - message: String! - - """Type of the resource that was affected by the action.""" - resourceType: ActivityLogEntryResourceType! - - """Name of the resource that was affected by the action.""" - resourceName: String! - - """The team slug that the entry belongs to.""" - teamSlug: Slug! - - """The environment name that the entry belongs to.""" - environmentName: String - - """Data associated with the action.""" - data: TeamMemberSetRoleActivityLogEntryData! +type TeamMemberSetRoleActivityLogEntry implements ActivityLogEntry & Node{ +""" +ID of the entry. +""" + id: ID! +""" +The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. +""" + actor: String! +""" +Creation time of the entry. +""" + createdAt: Time! +""" +Message that summarizes the entry. +""" + message: String! +""" +Type of the resource that was affected by the action. +""" + resourceType: ActivityLogEntryResourceType! +""" +Name of the resource that was affected by the action. +""" + resourceName: String! +""" +The team slug that the entry belongs to. +""" + teamSlug: Slug! +""" +The environment name that the entry belongs to. +""" + environmentName: String +""" +Data associated with the action. +""" + data: TeamMemberSetRoleActivityLogEntryData! } type TeamMemberSetRoleActivityLogEntryData { - """The role that the user was assigned.""" - role: TeamMemberRole! - - """The ID of the user that was added.""" - userID: ID! - - """The email address of the user that was added.""" - userEmail: String! +""" +The role that the user was assigned. +""" + role: TeamMemberRole! +""" +The ID of the user that was added. +""" + userID: ID! +""" +The email address of the user that was added. +""" + userEmail: String! } -"""Ordering options when fetching teams.""" +""" +Ordering options when fetching teams. +""" input TeamOrder { - """The field to order items by.""" - field: TeamOrderField! - - """The direction to order items by.""" - direction: OrderDirection! +""" +Ordering options when fetching teams. +""" + field: TeamOrderField! +""" +Ordering options when fetching teams. +""" + direction: OrderDirection! } -"""Possible fields to order teams by.""" +""" +Possible fields to order teams by. +""" enum TeamOrderField { - """The unique slug of the team.""" - SLUG - - """The team's accumulated cost over the last 12 months""" - ACCUMULATED_COST - - """The accumulated risk score of the teams workloads.""" - RISK_SCORE - - """ - The accumulated number of critical vulnerabilities of the teams workloads. - """ - CRITICAL_VULNERABILITIES - - """The accumulated number of high vulnerabilities of the teams workloads.""" - HIGH_VULNERABILITIES - - """ - The accumulated number of medium vulnerabilities of the teams workloads. - """ - MEDIUM_VULNERABILITIES - - """The accumulated number of low vulnerabilities of the teams workloads.""" - LOW_VULNERABILITIES - - """ - The accumulated number of unassigned vulnerabilities of the teams workloads. - """ - UNASSIGNED_VULNERABILITIES - - """The team's software bill of materials (SBOM) coverage.""" - SBOM_COVERAGE +""" +The unique slug of the team. +""" + SLUG +""" +The team's accumulated cost over the last 12 months +""" + ACCUMULATED_COST +""" +The accumulated risk score of the teams workloads. +""" + RISK_SCORE +""" +The accumulated number of critical vulnerabilities of the teams workloads. +""" + CRITICAL_VULNERABILITIES +""" +The accumulated number of high vulnerabilities of the teams workloads. +""" + HIGH_VULNERABILITIES +""" +The accumulated number of medium vulnerabilities of the teams workloads. +""" + MEDIUM_VULNERABILITIES +""" +The accumulated number of low vulnerabilities of the teams workloads. +""" + LOW_VULNERABILITIES +""" +The accumulated number of unassigned vulnerabilities of the teams workloads. +""" + UNASSIGNED_VULNERABILITIES +""" +The team's software bill of materials (SBOM) coverage. +""" + SBOM_COVERAGE } input TeamRepositoryFilter { - """Filter by repository name containing the phrase.""" - name: String + name: String } type TeamServiceUtilization { - sqlInstances: TeamServiceUtilizationSqlInstances! + sqlInstances: TeamServiceUtilizationSqlInstances! } type TeamServiceUtilizationSqlInstances { - cpu: TeamServiceUtilizationSqlInstancesCPU! - memory: TeamServiceUtilizationSqlInstancesMemory! - disk: TeamServiceUtilizationSqlInstancesDisk! + cpu: TeamServiceUtilizationSqlInstancesCPU! + memory: TeamServiceUtilizationSqlInstancesMemory! + disk: TeamServiceUtilizationSqlInstancesDisk! } type TeamServiceUtilizationSqlInstancesCPU { - used: Float! - requested: Float! - utilization: Float! + used: Float! + requested: Float! + utilization: Float! } type TeamServiceUtilizationSqlInstancesDisk { - used: Int! - requested: Int! - utilization: Float! + used: Int! + requested: Int! + utilization: Float! } type TeamServiceUtilizationSqlInstancesMemory { - used: Int! - requested: Int! - utilization: Float! + used: Int! + requested: Int! + utilization: Float! } -type TeamUpdatedActivityLogEntry implements ActivityLogEntry & Node { - """ID of the entry.""" - id: ID! - - """ - The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. - """ - actor: String! - - """Creation time of the entry.""" - createdAt: Time! - - """Message that summarizes the entry.""" - message: String! - - """Type of the resource that was affected by the action.""" - resourceType: ActivityLogEntryResourceType! - - """Name of the resource that was affected by the action.""" - resourceName: String! - - """The team slug that the entry belongs to.""" - teamSlug: Slug! - - """The environment name that the entry belongs to.""" - environmentName: String - - """Data associated with the update.""" - data: TeamUpdatedActivityLogEntryData! +type TeamUpdatedActivityLogEntry implements ActivityLogEntry & Node{ +""" +ID of the entry. +""" + id: ID! +""" +The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. +""" + actor: String! +""" +Creation time of the entry. +""" + createdAt: Time! +""" +Message that summarizes the entry. +""" + message: String! +""" +Type of the resource that was affected by the action. +""" + resourceType: ActivityLogEntryResourceType! +""" +Name of the resource that was affected by the action. +""" + resourceName: String! +""" +The team slug that the entry belongs to. +""" + teamSlug: Slug! +""" +The environment name that the entry belongs to. +""" + environmentName: String +""" +Data associated with the update. +""" + data: TeamUpdatedActivityLogEntryData! } type TeamUpdatedActivityLogEntryData { - """Fields that were updated.""" - updatedFields: [TeamUpdatedActivityLogEntryDataUpdatedField!]! +""" +Fields that were updated. +""" + updatedFields: [TeamUpdatedActivityLogEntryDataUpdatedField!]! } type TeamUpdatedActivityLogEntryDataUpdatedField { - """The name of the field.""" - field: String! - - """The old value of the field.""" - oldValue: String - - """The new value of the field.""" - newValue: String +""" +The name of the field. +""" + field: String! +""" +The old value of the field. +""" + oldValue: String +""" +The new value of the field. +""" + newValue: String } type TeamUtilizationData { - """The team.""" - team: Team! - - """The requested amount of resources""" - requested: Float! - - """The current resource usage.""" - used: Float! - - """The environment for the utilization data.""" - environment: TeamEnvironment! @deprecated(reason: "Use the `teamEnvironment` field instead.") - - """The environment for the utilization data.""" - teamEnvironment: TeamEnvironment! +""" +The team. +""" + team: Team! +""" +The requested amount of resources +""" + requested: Float! +""" +The current resource usage. +""" + used: Float! +""" +The environment for the utilization data. +""" + environment: TeamEnvironment! @deprecated(reason: "Use the `teamEnvironment` field instead.") +""" +The environment for the utilization data. +""" + teamEnvironment: TeamEnvironment! } enum TeamVulnerabilityRiskScoreTrend { - """Risk score is increasing.""" - UP - - """Risk score is decreasing.""" - DOWN - - """Risk score is not changing.""" - FLAT +""" +Risk score is increasing. +""" + UP +""" +Risk score is decreasing. +""" + DOWN +""" +Risk score is not changing. +""" + FLAT } type TeamVulnerabilitySummary { - """Risk score of the team.""" - riskScore: Int! - - """Number of vulnerabilities with severity CRITICAL.""" - critical: Int! - - """Number of vulnerabilities with severity HIGH.""" - high: Int! - - """Number of vulnerabilities with severity MEDIUM.""" - medium: Int! - - """Number of vulnerabilities with severity LOW.""" - low: Int! - - """Number of vulnerabilities with severity UNASSIGNED.""" - unassigned: Int! - - """Number of workloads with a software bill of materials (SBOM) attached.""" - sbomCount: Int! - - """Coverage of the team.""" - coverage: Float! - - """Timestamp of the last update of the vulnerability summary.""" - lastUpdated: Time - - """Trend of vulnerability status for the team.""" - riskScoreTrend: TeamVulnerabilityRiskScoreTrend! +""" +Risk score of the team. +""" + riskScore: Int! +""" +Number of vulnerabilities with severity CRITICAL. +""" + critical: Int! +""" +Number of vulnerabilities with severity HIGH. +""" + high: Int! +""" +Number of vulnerabilities with severity MEDIUM. +""" + medium: Int! +""" +Number of vulnerabilities with severity LOW. +""" + low: Int! +""" +Number of vulnerabilities with severity UNASSIGNED. +""" + unassigned: Int! +""" +Number of workloads with a software bill of materials (SBOM) attached. +""" + sbomCount: Int! +""" +Coverage of the team. +""" + coverage: Float! +""" +Timestamp of the last update of the vulnerability summary. +""" + lastUpdated: Time +""" +Trend of vulnerability status for the team. +""" + riskScoreTrend: TeamVulnerabilityRiskScoreTrend! } -"""Input for filtering team vulnerability summaries.""" +""" +Input for filtering team vulnerability summaries. +""" input TeamVulnerabilitySummaryFilter { - """Only return vulnerability summaries for the given environment.""" - environmentName: String - - """ - Deprecated: use environmentName instead. - Only one environment is supported if this list is used. - """ - environments: [String!] +""" +Input for filtering team vulnerability summaries. +""" + environmentName: String +""" +Input for filtering team vulnerability summaries. +""" + environments: [String!] } -"""Input for filtering team workloads.""" +""" +Input for filtering team workloads. +""" input TeamWorkloadsFilter { - """Only return workloads from the given named environments.""" - environments: [String!] +""" +Input for filtering team workloads. +""" + environments: [String!] } type TenantVulnerabilitySummary { - """Risk score of the tenant.""" - riskScore: Int! - - """Number of vulnerabilities with severity CRITICAL.""" - critical: Int! - - """Number of vulnerabilities with severity HIGH.""" - high: Int! - - """Number of vulnerabilities with severity MEDIUM.""" - medium: Int! - - """Number of vulnerabilities with severity LOW.""" - low: Int! - - """Number of vulnerabilities with severity UNASSIGNED.""" - unassigned: Int! - - """Number of workloads with a software bill of materials (SBOM) attached.""" - sbomCount: Int! - - """SBOM Coverage of the tenant.""" - coverage: Float! - - """Timestamp of the last update of the vulnerability summary.""" - lastUpdated: Time +""" +Risk score of the tenant. +""" + riskScore: Int! +""" +Number of vulnerabilities with severity CRITICAL. +""" + critical: Int! +""" +Number of vulnerabilities with severity HIGH. +""" + high: Int! +""" +Number of vulnerabilities with severity MEDIUM. +""" + medium: Int! +""" +Number of vulnerabilities with severity LOW. +""" + low: Int! +""" +Number of vulnerabilities with severity UNASSIGNED. +""" + unassigned: Int! +""" +Number of workloads with a software bill of materials (SBOM) attached. +""" + sbomCount: Int! +""" +SBOM Coverage of the tenant. +""" + coverage: Float! +""" +Timestamp of the last update of the vulnerability summary. +""" + lastUpdated: Time } """ @@ -8001,174 +9745,199 @@ TokenX authentication. Read more: https://docs.nais.io/auth/tokenx/ """ -type TokenXAuthIntegration implements AuthIntegration { - """The name of the integration.""" - name: String! +type TokenXAuthIntegration implements AuthIntegration{ +""" +The name of the integration. +""" + name: String! } input TriggerJobInput { - """Name of the job.""" - name: String! - - """Slug of the team that owns the job.""" - teamSlug: Slug! - - """Name of the environment where the job runs.""" - environmentName: String! - - """Name of the new run. Must be unique within the team.""" - runName: String! + name: String! + teamSlug: Slug! + environmentName: String! + runName: String! } type TriggerJobPayload { - """The job that was triggered.""" - job: Job - - """The new job run.""" - jobRun: JobRun +""" +The job that was triggered. +""" + job: Job +""" +The new job run. +""" + jobRun: JobRun } -type UnleashInstance implements Node { - id: ID! - name: String! - version: String! - allowedTeams( - """ - Get the first n items in the connection. This can be used in combination with the after parameter. - """ - first: Int - - """Get items after this cursor.""" - after: Cursor - - """ - Get the last n items in the connection. This can be used in combination with the before parameter. - """ - last: Int - - """Get items before this cursor.""" - before: Cursor - ): TeamConnection! - webIngress: String! - apiIngress: String! - metrics: UnleashInstanceMetrics! - ready: Boolean! - - """Release channel name for automatic version updates.""" - releaseChannelName: String! - - """ - Release channel details. - Returns the full release channel object with current version and update policy. - """ - releaseChannel: UnleashReleaseChannel +type UnleashInstance implements Node{ + id: ID! + name: String! + version: String! + allowedTeams( +""" +Get the first n items in the connection. This can be used in combination with the after parameter. +""" + first: Int +""" +Get items after this cursor. +""" + after: Cursor +""" +Get the last n items in the connection. This can be used in combination with the before parameter. +""" + last: Int +""" +Get items before this cursor. +""" + before: Cursor + ): TeamConnection! + webIngress: String! + apiIngress: String! + metrics: UnleashInstanceMetrics! + ready: Boolean! +""" +Release channel name for automatic version updates. +""" + releaseChannelName: String! +""" +Release channel details. +Returns the full release channel object with current version and update policy. +""" + releaseChannel: UnleashReleaseChannel } -type UnleashInstanceCreatedActivityLogEntry implements ActivityLogEntry & Node { - """ID of the entry.""" - id: ID! - - """ - The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. - """ - actor: String! - - """Creation time of the entry.""" - createdAt: Time! - - """Message that summarizes the entry.""" - message: String! - - """Type of the resource that was affected by the action.""" - resourceType: ActivityLogEntryResourceType! - - """Name of the resource that was affected by the action.""" - resourceName: String! - - """The team slug that the entry belongs to.""" - teamSlug: Slug! - - """The environment name that the entry belongs to.""" - environmentName: String +type UnleashInstanceCreatedActivityLogEntry implements ActivityLogEntry & Node{ +""" +ID of the entry. +""" + id: ID! +""" +The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. +""" + actor: String! +""" +Creation time of the entry. +""" + createdAt: Time! +""" +Message that summarizes the entry. +""" + message: String! +""" +Type of the resource that was affected by the action. +""" + resourceType: ActivityLogEntryResourceType! +""" +Name of the resource that was affected by the action. +""" + resourceName: String! +""" +The team slug that the entry belongs to. +""" + teamSlug: Slug! +""" +The environment name that the entry belongs to. +""" + environmentName: String } -type UnleashInstanceDeletedActivityLogEntry implements ActivityLogEntry & Node { - """ID of the entry.""" - id: ID! - - """ - The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. - """ - actor: String! - - """Creation time of the entry.""" - createdAt: Time! - - """Message that summarizes the entry.""" - message: String! - - """Type of the resource that was affected by the action.""" - resourceType: ActivityLogEntryResourceType! - - """Name of the resource that was affected by the action.""" - resourceName: String! - - """The team slug that the entry belongs to.""" - teamSlug: Slug! - - """The environment name that the entry belongs to.""" - environmentName: String +type UnleashInstanceDeletedActivityLogEntry implements ActivityLogEntry & Node{ +""" +ID of the entry. +""" + id: ID! +""" +The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. +""" + actor: String! +""" +Creation time of the entry. +""" + createdAt: Time! +""" +Message that summarizes the entry. +""" + message: String! +""" +Type of the resource that was affected by the action. +""" + resourceType: ActivityLogEntryResourceType! +""" +Name of the resource that was affected by the action. +""" + resourceName: String! +""" +The team slug that the entry belongs to. +""" + teamSlug: Slug! +""" +The environment name that the entry belongs to. +""" + environmentName: String } type UnleashInstanceMetrics { - toggles: Int! - apiTokens: Int! - cpuUtilization: Float! - cpuRequests: Float! - memoryUtilization: Float! - memoryRequests: Float! + toggles: Int! + apiTokens: Int! + cpuUtilization: Float! + cpuRequests: Float! + memoryUtilization: Float! + memoryRequests: Float! } -type UnleashInstanceUpdatedActivityLogEntry implements ActivityLogEntry & Node { - """ID of the entry.""" - id: ID! - - """ - The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. - """ - actor: String! - - """Creation time of the entry.""" - createdAt: Time! - - """Message that summarizes the entry.""" - message: String! - - """Type of the resource that was affected by the action.""" - resourceType: ActivityLogEntryResourceType! - - """Name of the resource that was affected by the action.""" - resourceName: String! - - """The team slug that the entry belongs to.""" - teamSlug: Slug! - - """The environment name that the entry belongs to.""" - environmentName: String - - """Data associated with the update.""" - data: UnleashInstanceUpdatedActivityLogEntryData! +type UnleashInstanceUpdatedActivityLogEntry implements ActivityLogEntry & Node{ +""" +ID of the entry. +""" + id: ID! +""" +The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. +""" + actor: String! +""" +Creation time of the entry. +""" + createdAt: Time! +""" +Message that summarizes the entry. +""" + message: String! +""" +Type of the resource that was affected by the action. +""" + resourceType: ActivityLogEntryResourceType! +""" +Name of the resource that was affected by the action. +""" + resourceName: String! +""" +The team slug that the entry belongs to. +""" + teamSlug: Slug! +""" +The environment name that the entry belongs to. +""" + environmentName: String +""" +Data associated with the update. +""" + data: UnleashInstanceUpdatedActivityLogEntryData! } type UnleashInstanceUpdatedActivityLogEntryData { - """Revoked team slug.""" - revokedTeamSlug: Slug - - """Allowed team slug.""" - allowedTeamSlug: Slug - - """Updated release channel.""" - updatedReleaseChannel: String +""" +Revoked team slug. +""" + revokedTeamSlug: Slug +""" +Allowed team slug. +""" + allowedTeamSlug: Slug +""" +Updated release channel. +""" + updatedReleaseChannel: String } """ @@ -8176,1522 +9945,1701 @@ UnleashReleaseChannel represents an available release channel for Unleash instan Release channels provide automatic version updates based on the channel's update policy. """ type UnleashReleaseChannel { - """ - Unique name of the release channel (e.g., 'stable', 'rapid', 'regular'). - """ - name: String! - - """Current Unleash version on this channel.""" - currentVersion: String! - - """ - Rollout strategy type for version updates: - - 'sequential': Updates instances one-by-one in order - - 'canary': Gradual rollout with canary deployment - - 'parallel': Updates multiple instances simultaneously - """ - type: String! - - """When the channel version was last updated.""" - lastUpdated: Time +""" +Unique name of the release channel (e.g., 'stable', 'rapid', 'regular'). +""" + name: String! +""" +Current Unleash version on this channel. +""" + currentVersion: String! +""" +Rollout strategy type for version updates: +- 'sequential': Updates instances one-by-one in order +- 'canary': Gradual rollout with canary deployment +- 'parallel': Updates multiple instances simultaneously +""" + type: String! +""" +When the channel version was last updated. +""" + lastUpdated: Time } -type UnleashReleaseChannelIssue implements Issue & Node { - id: ID! - teamEnvironment: TeamEnvironment! - severity: Severity! - message: String! - unleash: UnleashInstance! - - """The name of the release channel the instance is on.""" - channelName: String! - - """The major version of Unleash the instance is running.""" - majorVersion: Int! - - """The current major version of Unleash available.""" - currentMajorVersion: Int! +type UnleashReleaseChannelIssue implements Issue & Node{ + id: ID! + teamEnvironment: TeamEnvironment! + severity: Severity! + message: String! + unleash: UnleashInstance! +""" +The name of the release channel the instance is on. +""" + channelName: String! +""" +The major version of Unleash the instance is running. +""" + majorVersion: Int! +""" +The current major version of Unleash available. +""" + currentMajorVersion: Int! } input UpdateConfigValueInput { - """The name of the config.""" - name: String! - - """The environment the config exists in.""" - environmentName: String! - - """The team that owns the config.""" - teamSlug: Slug! - - """The config value to update.""" - value: ConfigValueInput! + name: String! + environmentName: String! + teamSlug: Slug! + value: ConfigValueInput! } type UpdateConfigValuePayload { - """The updated config.""" - config: Config +""" +The updated config. +""" + config: Config } input UpdateImageVulnerabilityInput { - """The id of the vulnerability to suppress.""" - vulnerabilityID: ID! - - """The reason for suppressing the vulnerability.""" - reason: String! - - """Should the vulnerability be suppressed.""" - suppress: Boolean! - - """New state of the vulnerability.""" - state: ImageVulnerabilitySuppressionState + vulnerabilityID: ID! + reason: String! + suppress: Boolean! + state: ImageVulnerabilitySuppressionState } type UpdateImageVulnerabilityPayload { - """The vulnerability updated.""" - vulnerability: ImageVulnerability +""" +The vulnerability updated. +""" + vulnerability: ImageVulnerability } input UpdateOpenSearchInput { - """Name of the OpenSearch instance.""" - name: String! - - """The environment name that the OpenSearch instance belongs to.""" - environmentName: String! - - """The team that owns the OpenSearch instance.""" - teamSlug: Slug! - - """Tier of the OpenSearch instance.""" - tier: OpenSearchTier! - - """Available memory for the OpenSearch instance.""" - memory: OpenSearchMemory! - - """Major version of the OpenSearch instance.""" - version: OpenSearchMajorVersion! - - """Available storage in GB.""" - storageGB: Int! + name: String! + environmentName: String! + teamSlug: Slug! + tier: OpenSearchTier! + memory: OpenSearchMemory! + version: OpenSearchMajorVersion! + storageGB: Int! } type UpdateOpenSearchPayload { - """OpenSearch instance that was updated.""" - openSearch: OpenSearch! +""" +OpenSearch instance that was updated. +""" + openSearch: OpenSearch! } input UpdateSecretValueInput { - """The name of the secret.""" - name: String! - - """The environment the secret exists in.""" - environment: String! - - """The team that owns the secret.""" - team: Slug! - - """The secret value to set.""" - value: SecretValueInput! + name: String! + environment: String! + team: Slug! + value: SecretValueInput! } type UpdateSecretValuePayload { - """The updated secret.""" - secret: Secret +""" +The updated secret. +""" + secret: Secret } input UpdateServiceAccountInput { - """The ID of the service account to update.""" - serviceAccountID: ID! - - """ - The new description of the service account. - - If not specified, the description will remain unchanged. - """ - description: String + serviceAccountID: ID! + description: String } type UpdateServiceAccountPayload { - """The updated service account.""" - serviceAccount: ServiceAccount +""" +The updated service account. +""" + serviceAccount: ServiceAccount } input UpdateServiceAccountTokenInput { - """The ID of the service account token to update.""" - serviceAccountTokenID: ID! - - """ - The new name of the service account token. - - If not specified, the name will remain unchanged. - """ - name: String - - """ - The new description of the service account token. - - If not specified, the description will remain unchanged. - """ - description: String + serviceAccountTokenID: ID! + name: String + description: String } type UpdateServiceAccountTokenPayload { - """The service account that the token belongs to.""" - serviceAccount: ServiceAccount - - """The updated service account token.""" - serviceAccountToken: ServiceAccountToken +""" +The service account that the token belongs to. +""" + serviceAccount: ServiceAccount +""" +The updated service account token. +""" + serviceAccountToken: ServiceAccountToken } input UpdateTeamEnvironmentInput { - """Slug of the team to update.""" - slug: Slug! - - """Name of the environment to update.""" - environmentName: String! - - """ - Slack alerts channel for the environment. Set to an empty string to remove the existing value. - """ - slackAlertsChannel: String + slug: Slug! + environmentName: String! + slackAlertsChannel: String } type UpdateTeamEnvironmentPayload { - """The updated team environment.""" - environment: TeamEnvironment @deprecated(reason: "Use the `teamEnvironment` field instead.") - - """The updated team environment.""" - teamEnvironment: TeamEnvironment +""" +The updated team environment. +""" + environment: TeamEnvironment @deprecated(reason: "Use the `teamEnvironment` field instead.") +""" +The updated team environment. +""" + teamEnvironment: TeamEnvironment } input UpdateTeamInput { - """Slug of the team to update.""" - slug: Slug! - - """ - An optional new purpose / description of the team. - - When omitted the existing value will not be updated. - """ - purpose: String - - """ - An optional new Slack channel for the team. - - When omitted the existing value will not be updated. - """ - slackChannel: String + slug: Slug! + purpose: String + slackChannel: String } type UpdateTeamPayload { - """The updated team.""" - team: Team +""" +The updated team. +""" + team: Team } input UpdateUnleashInstanceInput { - """The team that owns the Unleash instance to update.""" - teamSlug: Slug! - - """ - Subscribe the instance to a release channel for automatic version updates. - If not specified, the release channel will not be changed. - """ - releaseChannel: String + teamSlug: Slug! + releaseChannel: String } type UpdateUnleashInstancePayload { - unleash: UnleashInstance + unleash: UnleashInstance } input UpdateValkeyInput { - """Name of the Valkey instance.""" - name: String! - - """The environment name that the entry belongs to.""" - environmentName: String! - - """The team that owns the Valkey instance.""" - teamSlug: Slug! - - """Tier of the Valkey instance.""" - tier: ValkeyTier! - - """Available memory for the Valkey instance.""" - memory: ValkeyMemory! - - """Maximum memory policy for the Valkey instance.""" - maxMemoryPolicy: ValkeyMaxMemoryPolicy - - """ - Configure keyspace notifications for the Valkey instance. See https://valkey.io/topics/notifications/ for details. - """ - notifyKeyspaceEvents: String + name: String! + environmentName: String! + teamSlug: Slug! + tier: ValkeyTier! + memory: ValkeyMemory! + maxMemoryPolicy: ValkeyMaxMemoryPolicy + notifyKeyspaceEvents: String } type UpdateValkeyPayload { - """Valkey instance that was updated.""" - valkey: Valkey! +""" +Valkey instance that was updated. +""" + valkey: Valkey! } """ -The user type represents a user of the Nais platform and the Nais GraphQL API. +The user type represents a user of the Nais platform and the Nais GraphQL API. +""" +type User implements Node{ +""" +The globally unique ID of the user. +""" + id: ID! +""" +The email address of the user. +""" + email: String! +""" +The full name of the user. +""" + name: String! +""" +The external ID of the user. This value is managed by the Nais API user synchronization. +""" + externalID: String! +""" +List of teams the user is connected to. +""" + teams( +""" +Get the first n items in the connection. This can be used in combination with the after parameter. +""" + first: Int +""" +Get items after this cursor. +""" + after: Cursor +""" +Get the last n items in the connection. This can be used in combination with the before parameter. +""" + last: Int +""" +Get items before this cursor. """ -type User implements Node { - """The globally unique ID of the user.""" - id: ID! - - """The email address of the user.""" - email: String! - - """The full name of the user.""" - name: String! - - """ - The external ID of the user. This value is managed by the Nais API user synchronization. - """ - externalID: String! - - """List of teams the user is connected to.""" - teams( - """ - Get the first n items in the connection. This can be used in combination with the after parameter. - """ - first: Int - - """Get items after this cursor.""" - after: Cursor - - """ - Get the last n items in the connection. This can be used in combination with the before parameter. - """ - last: Int - - """Get items before this cursor.""" - before: Cursor - - """Ordering options for items returned from the connection.""" - orderBy: UserTeamOrder - ): TeamMemberConnection! - - """True if the user is global admin.""" - isAdmin: Boolean! + before: Cursor +""" +Ordering options for items returned from the connection. +""" + orderBy: UserTeamOrder + ): TeamMemberConnection! +""" +True if the user is global admin. +""" + isAdmin: Boolean! } -"""User connection.""" +""" +User connection. +""" type UserConnection { - """Pagination information.""" - pageInfo: PageInfo! - - """List of nodes.""" - nodes: [User!]! - - """List of edges.""" - edges: [UserEdge!]! +""" +Pagination information. +""" + pageInfo: PageInfo! +""" +List of nodes. +""" + nodes: [User!]! +""" +List of edges. +""" + edges: [UserEdge!]! } -"""User created log entry.""" -type UserCreatedUserSyncLogEntry implements UserSyncLogEntry & Node { - """ID of the entry.""" - id: ID! - - """Creation time of the entry.""" - createdAt: Time! - - """Message that summarizes the log entry.""" - message: String! - - """The ID of the created user.""" - userID: ID! - - """The name of the created user.""" - userName: String! - - """The email address of the created user.""" - userEmail: String! +""" +User created log entry. +""" +type UserCreatedUserSyncLogEntry implements UserSyncLogEntry & Node{ +""" +ID of the entry. +""" + id: ID! +""" +Creation time of the entry. +""" + createdAt: Time! +""" +Message that summarizes the log entry. +""" + message: String! +""" +The ID of the created user. +""" + userID: ID! +""" +The name of the created user. +""" + userName: String! +""" +The email address of the created user. +""" + userEmail: String! } -"""User deleted log entry.""" -type UserDeletedUserSyncLogEntry implements UserSyncLogEntry & Node { - """ID of the entry.""" - id: ID! - - """Creation time of the entry.""" - createdAt: Time! - - """Message that summarizes the log entry.""" - message: String! - - """The ID of the deleted user.""" - userID: ID! - - """The name of the deleted user.""" - userName: String! - - """The email address of the deleted user.""" - userEmail: String! +""" +User deleted log entry. +""" +type UserDeletedUserSyncLogEntry implements UserSyncLogEntry & Node{ +""" +ID of the entry. +""" + id: ID! +""" +Creation time of the entry. +""" + createdAt: Time! +""" +Message that summarizes the log entry. +""" + message: String! +""" +The ID of the deleted user. +""" + userID: ID! +""" +The name of the deleted user. +""" + userName: String! +""" +The email address of the deleted user. +""" + userEmail: String! } -"""User edge.""" +""" +User edge. +""" type UserEdge { - """Cursor for this edge that can be used for pagination.""" - cursor: Cursor! - - """The user.""" - node: User! +""" +Cursor for this edge that can be used for pagination. +""" + cursor: Cursor! +""" +The user. +""" + node: User! } -"""Ordering options when fetching users.""" +""" +Ordering options when fetching users. +""" input UserOrder { - """The field to order items by.""" - field: UserOrderField! - - """The direction to order items by.""" - direction: OrderDirection! +""" +Ordering options when fetching users. +""" + field: UserOrderField! +""" +Ordering options when fetching users. +""" + direction: OrderDirection! } -"""Possible fields to order users by.""" +""" +Possible fields to order users by. +""" enum UserOrderField { - """The name of the user.""" - NAME - - """The email address of the user.""" - EMAIL +""" +The name of the user. +""" + NAME +""" +The email address of the user. +""" + EMAIL } -"""Interface for user sync log entries.""" +""" +Interface for user sync log entries. +""" interface UserSyncLogEntry { - """ID of the entry.""" - id: ID! - - """Creation time of the entry.""" - createdAt: Time! - - """Message that summarizes the log entry.""" - message: String! - - """The ID of the affected user.""" - userID: ID! - - """The name of the affected user.""" - userName: String! - - """The email address of the affected user.""" - userEmail: String! +""" +Interface for user sync log entries. +""" + id: ID! +""" +Interface for user sync log entries. +""" + createdAt: Time! +""" +Interface for user sync log entries. +""" + message: String! +""" +Interface for user sync log entries. +""" + userID: ID! +""" +Interface for user sync log entries. +""" + userName: String! +""" +Interface for user sync log entries. +""" + userEmail: String! } -"""User sync log entry connection.""" +""" +User sync log entry connection. +""" type UserSyncLogEntryConnection { - """Pagination information.""" - pageInfo: PageInfo! - - """List of nodes.""" - nodes: [UserSyncLogEntry!]! - - """List of edges.""" - edges: [UserSyncLogEntryEdge!]! +""" +Pagination information. +""" + pageInfo: PageInfo! +""" +List of nodes. +""" + nodes: [UserSyncLogEntry!]! +""" +List of edges. +""" + edges: [UserSyncLogEntryEdge!]! } -"""User sync log edge.""" +""" +User sync log edge. +""" type UserSyncLogEntryEdge { - """Cursor for this edge that can be used for pagination.""" - cursor: Cursor! - - """The log entry.""" - node: UserSyncLogEntry! +""" +Cursor for this edge that can be used for pagination. +""" + cursor: Cursor! +""" +The log entry. +""" + node: UserSyncLogEntry! } -"""Ordering options when fetching the teams a user is connected to.""" +""" +Ordering options when fetching the teams a user is connected to. +""" input UserTeamOrder { - """The field to order items by.""" - field: UserTeamOrderField! - - """The direction to order items by.""" - direction: OrderDirection! +""" +Ordering options when fetching the teams a user is connected to. +""" + field: UserTeamOrderField! +""" +Ordering options when fetching the teams a user is connected to. +""" + direction: OrderDirection! } -"""Possible fields to order user teams by.""" +""" +Possible fields to order user teams by. +""" enum UserTeamOrderField { - """The unique slug of the team.""" - TEAM_SLUG +""" +The unique slug of the team. +""" + TEAM_SLUG } -"""User updated log entry.""" -type UserUpdatedUserSyncLogEntry implements UserSyncLogEntry & Node { - """ID of the entry.""" - id: ID! - - """Creation time of the entry.""" - createdAt: Time! - - """Message that summarizes the log entry.""" - message: String! - - """The ID of the updated user.""" - userID: ID! - - """The name of the updated user.""" - userName: String! - - """The email address of the updated user.""" - userEmail: String! - - """The old name of the user.""" - oldUserName: String! - - """The old email address of the user.""" - oldUserEmail: String! +""" +User updated log entry. +""" +type UserUpdatedUserSyncLogEntry implements UserSyncLogEntry & Node{ +""" +ID of the entry. +""" + id: ID! +""" +Creation time of the entry. +""" + createdAt: Time! +""" +Message that summarizes the log entry. +""" + message: String! +""" +The ID of the updated user. +""" + userID: ID! +""" +The name of the updated user. +""" + userName: String! +""" +The email address of the updated user. +""" + userEmail: String! +""" +The old name of the user. +""" + oldUserName: String! +""" +The old email address of the user. +""" + oldUserEmail: String! } -"""Resource type.""" +""" +Resource type. +""" enum UtilizationResourceType { - CPU - MEMORY + CPU + MEMORY } -"""Resource utilization type.""" +""" +Resource utilization type. +""" type UtilizationSample { - """Timestamp of the value.""" - timestamp: Time! - - """Value of the used resource at the given timestamp.""" - value: Float! - - """The instance for the utilization data.""" - instance: String! -} - -type Valkey implements Persistence & Node & ActivityLogger { - id: ID! - name: String! - terminationProtection: Boolean! - team: Team! - environment: TeamEnvironment! @deprecated(reason: "Use the `teamEnvironment` field instead.") - teamEnvironment: TeamEnvironment! - access(first: Int, after: Cursor, last: Int, before: Cursor, orderBy: ValkeyAccessOrder): ValkeyAccessConnection! - workload: Workload @deprecated(reason: "Owners of valkeys have been removed, so this will always be null.") - state: ValkeyState! - - """Availability tier for the Valkey instance.""" - tier: ValkeyTier! - - """Available memory for the Valkey instance.""" - memory: ValkeyMemory! - - """Maximum memory policy for the Valkey instance.""" - maxMemoryPolicy: ValkeyMaxMemoryPolicy - - """ - Keyspace notifications for the Valkey instance. See https://valkey.io/topics/notifications/ for details. - """ - notifyKeyspaceEvents: String - - """Issues that affects the instance.""" - issues( - """ - Get the first n items in the connection. This can be used in combination with the after parameter. - """ - first: Int - - """Get items after this cursor.""" - after: Cursor - - """ - Get the last n items in the connection. This can be used in combination with the before parameter. - """ - last: Int - - """Get items before this cursor.""" - before: Cursor - - """Ordering options for items returned from the connection.""" - orderBy: IssueOrder - - """Filtering options for items returned from the connection.""" - filter: ResourceIssueFilter - ): IssueConnection! - - """Activity log associated with the reconciler.""" - activityLog( - """ - Get the first n items in the connection. This can be used in combination with the after parameter. - """ - first: Int - - """Get items after this cursor.""" - after: Cursor - - """ - Get the last n items in the connection. This can be used in combination with the before parameter. - """ - last: Int - - """Get items before this cursor.""" - before: Cursor - - """Filter items.""" - filter: ActivityLogFilter - ): ActivityLogEntryConnection! - cost: ValkeyCost! - - """Fetch maintenances updates for the Valkey instance.""" - maintenance: ValkeyMaintenance! +""" +Timestamp of the value. +""" + timestamp: Time! +""" +Value of the used resource at the given timestamp. +""" + value: Float! +""" +The instance for the utilization data. +""" + instance: String! +} + +type Valkey implements Persistence & Node & ActivityLogger{ + id: ID! + name: String! + terminationProtection: Boolean! + team: Team! + environment: TeamEnvironment! @deprecated(reason: "Use the `teamEnvironment` field instead.") + teamEnvironment: TeamEnvironment! + access( + first: Int + after: Cursor + last: Int + before: Cursor + orderBy: ValkeyAccessOrder + ): ValkeyAccessConnection! + workload: Workload @deprecated(reason: "Owners of valkeys have been removed, so this will always be null.") + state: ValkeyState! +""" +Availability tier for the Valkey instance. +""" + tier: ValkeyTier! +""" +Available memory for the Valkey instance. +""" + memory: ValkeyMemory! +""" +Maximum memory policy for the Valkey instance. +""" + maxMemoryPolicy: ValkeyMaxMemoryPolicy +""" +Keyspace notifications for the Valkey instance. See https://valkey.io/topics/notifications/ for details. +""" + notifyKeyspaceEvents: String +""" +Issues that affects the instance. +""" + issues( +""" +Get the first n items in the connection. This can be used in combination with the after parameter. +""" + first: Int +""" +Get items after this cursor. +""" + after: Cursor +""" +Get the last n items in the connection. This can be used in combination with the before parameter. +""" + last: Int +""" +Get items before this cursor. +""" + before: Cursor +""" +Ordering options for items returned from the connection. +""" + orderBy: IssueOrder +""" +Filtering options for items returned from the connection. +""" + filter: ResourceIssueFilter + ): IssueConnection! +""" +Activity log associated with the reconciler. +""" + activityLog( +""" +Get the first n items in the connection. This can be used in combination with the after parameter. +""" + first: Int +""" +Get items after this cursor. +""" + after: Cursor +""" +Get the last n items in the connection. This can be used in combination with the before parameter. +""" + last: Int +""" +Get items before this cursor. +""" + before: Cursor +""" +Filter items. +""" + filter: ActivityLogFilter + ): ActivityLogEntryConnection! + cost: ValkeyCost! +""" +Fetch maintenances updates for the Valkey instance. +""" + maintenance: ValkeyMaintenance! } type ValkeyAccess { - workload: Workload! - access: String! + workload: Workload! + access: String! } type ValkeyAccessConnection { - pageInfo: PageInfo! - nodes: [ValkeyAccess!]! - edges: [ValkeyAccessEdge!]! + pageInfo: PageInfo! + nodes: [ValkeyAccess!]! + edges: [ValkeyAccessEdge!]! } type ValkeyAccessEdge { - cursor: Cursor! - node: ValkeyAccess! + cursor: Cursor! + node: ValkeyAccess! } input ValkeyAccessOrder { - field: ValkeyAccessOrderField! - direction: OrderDirection! + field: ValkeyAccessOrderField! + direction: OrderDirection! } enum ValkeyAccessOrderField { - ACCESS - WORKLOAD + ACCESS + WORKLOAD } type ValkeyConnection { - pageInfo: PageInfo! - nodes: [Valkey!]! - edges: [ValkeyEdge!]! + pageInfo: PageInfo! + nodes: [Valkey!]! + edges: [ValkeyEdge!]! } type ValkeyCost { - sum: Float! -} - -type ValkeyCreatedActivityLogEntry implements ActivityLogEntry & Node { - """ID of the entry.""" - id: ID! - - """ - The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. - """ - actor: String! - - """Creation time of the entry.""" - createdAt: Time! - - """Message that summarizes the entry.""" - message: String! - - """Type of the resource that was affected by the action.""" - resourceType: ActivityLogEntryResourceType! - - """Name of the resource that was affected by the action.""" - resourceName: String! - - """The team slug that the entry belongs to.""" - teamSlug: Slug! - - """The environment name that the entry belongs to.""" - environmentName: String -} - -type ValkeyCredentials { - """Username for the Valkey instance.""" - username: String! - - """Password for the Valkey instance.""" - password: String! - - """Hostname of the Valkey instance.""" - host: String! - - """Port of the Valkey instance.""" - port: Int! - - """Full connection URI for the Valkey instance.""" - uri: String! + sum: Float! } -type ValkeyDeletedActivityLogEntry implements ActivityLogEntry & Node { - """ID of the entry.""" - id: ID! - - """ - The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. - """ - actor: String! - - """Creation time of the entry.""" - createdAt: Time! - - """Message that summarizes the entry.""" - message: String! - - """Type of the resource that was affected by the action.""" - resourceType: ActivityLogEntryResourceType! - - """Name of the resource that was affected by the action.""" - resourceName: String! +type ValkeyCreatedActivityLogEntry implements ActivityLogEntry & Node{ +""" +ID of the entry. +""" + id: ID! +""" +The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. +""" + actor: String! +""" +Creation time of the entry. +""" + createdAt: Time! +""" +Message that summarizes the entry. +""" + message: String! +""" +Type of the resource that was affected by the action. +""" + resourceType: ActivityLogEntryResourceType! +""" +Name of the resource that was affected by the action. +""" + resourceName: String! +""" +The team slug that the entry belongs to. +""" + teamSlug: Slug! +""" +The environment name that the entry belongs to. +""" + environmentName: String +} - """The team slug that the entry belongs to.""" - teamSlug: Slug! +type ValkeyCredentials { +""" +Username for the Valkey instance. +""" + username: String! +""" +Password for the Valkey instance. +""" + password: String! +""" +Hostname of the Valkey instance. +""" + host: String! +""" +Port of the Valkey instance. +""" + port: Int! +""" +Full connection URI for the Valkey instance. +""" + uri: String! +} - """The environment name that the entry belongs to.""" - environmentName: String +type ValkeyDeletedActivityLogEntry implements ActivityLogEntry & Node{ +""" +ID of the entry. +""" + id: ID! +""" +The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. +""" + actor: String! +""" +Creation time of the entry. +""" + createdAt: Time! +""" +Message that summarizes the entry. +""" + message: String! +""" +Type of the resource that was affected by the action. +""" + resourceType: ActivityLogEntryResourceType! +""" +Name of the resource that was affected by the action. +""" + resourceName: String! +""" +The team slug that the entry belongs to. +""" + teamSlug: Slug! +""" +The environment name that the entry belongs to. +""" + environmentName: String } type ValkeyEdge { - cursor: Cursor! - node: Valkey! + cursor: Cursor! + node: Valkey! } -type ValkeyIssue implements Issue & Node { - id: ID! - teamEnvironment: TeamEnvironment! - severity: Severity! - message: String! - valkey: Valkey! - event: String! +type ValkeyIssue implements Issue & Node{ + id: ID! + teamEnvironment: TeamEnvironment! + severity: Severity! + message: String! + valkey: Valkey! + event: String! } type ValkeyMaintenance { - """The day and time of the week when the maintenance will be scheduled.""" - window: MaintenanceWindow - updates( - """ - Get the first n items in the connection. This can be used in combination with the after parameter. - """ - first: Int - - """Get items after this cursor.""" - after: Cursor - - """ - Get the last n items in the connection. This can be used in combination with the before parameter. - """ - last: Int - - """Get items before this cursor.""" - before: Cursor - ): ValkeyMaintenanceUpdateConnection! +""" +The day and time of the week when the maintenance will be scheduled. +""" + window: MaintenanceWindow + updates( +""" +Get the first n items in the connection. This can be used in combination with the after parameter. +""" + first: Int +""" +Get items after this cursor. +""" + after: Cursor +""" +Get the last n items in the connection. This can be used in combination with the before parameter. +""" + last: Int +""" +Get items before this cursor. +""" + before: Cursor + ): ValkeyMaintenanceUpdateConnection! } -type ValkeyMaintenanceUpdate implements ServiceMaintenanceUpdate { - """Title of the maintenance.""" - title: String! - - """Description of the maintenance.""" - description: String! - - """ - Deadline for installing the maintenance. If set, maintenance is mandatory and will be forcibly applied. - """ - deadline: Time - - """ - The time when the update will be automatically applied. If set, maintenance is mandatory and will be forcibly applied. - """ - startAt: Time +type ValkeyMaintenanceUpdate implements ServiceMaintenanceUpdate{ +""" +Title of the maintenance. +""" + title: String! +""" +Description of the maintenance. +""" + description: String! +""" +Deadline for installing the maintenance. If set, maintenance is mandatory and will be forcibly applied. +""" + deadline: Time +""" +The time when the update will be automatically applied. If set, maintenance is mandatory and will be forcibly applied. +""" + startAt: Time } type ValkeyMaintenanceUpdateConnection { - """Pagination information.""" - pageInfo: PageInfo! - - """List of nodes.""" - nodes: [ValkeyMaintenanceUpdate!]! - - """List of edges.""" - edges: [ValkeyMaintenanceUpdateEdge!]! +""" +Pagination information. +""" + pageInfo: PageInfo! +""" +List of nodes. +""" + nodes: [ValkeyMaintenanceUpdate!]! +""" +List of edges. +""" + edges: [ValkeyMaintenanceUpdateEdge!]! } type ValkeyMaintenanceUpdateEdge { - """Cursor for this edge that can be used for pagination.""" - cursor: Cursor! - - """The ValkeyMaintenanceUpdate.""" - node: ValkeyMaintenanceUpdate! +""" +Cursor for this edge that can be used for pagination. +""" + cursor: Cursor! +""" +The ValkeyMaintenanceUpdate. +""" + node: ValkeyMaintenanceUpdate! } enum ValkeyMaxMemoryPolicy { - """Keeps frequently used keys; removes least frequently used (LFU) keys""" - ALLKEYS_LFU - - """Keeps most recently used keys; removes least recently used (LRU) keys""" - ALLKEYS_LRU - - """Randomly removes keys to make space for the new data added.""" - ALLKEYS_RANDOM - - """ - New values aren't saved when memory limit is reached. When a database uses replication, this applies to the primary database. - """ - NO_EVICTION - - """Removes least frequently used keys with a TTL set.""" - VOLATILE_LFU - - """Removes least recently used keys with a time-to-live (TTL) set.""" - VOLATILE_LRU - - """Randomly removes keys with a TTL set.""" - VOLATILE_RANDOM - - """ - Removes keys with a TTL set, the keys with the shortest remaining time-to-live value first. - """ - VOLATILE_TTL +""" +Keeps frequently used keys; removes least frequently used (LFU) keys +""" + ALLKEYS_LFU +""" +Keeps most recently used keys; removes least recently used (LRU) keys +""" + ALLKEYS_LRU +""" +Randomly removes keys to make space for the new data added. +""" + ALLKEYS_RANDOM +""" +New values aren't saved when memory limit is reached. When a database uses replication, this applies to the primary database. +""" + NO_EVICTION +""" +Removes least frequently used keys with a TTL set. +""" + VOLATILE_LFU +""" +Removes least recently used keys with a time-to-live (TTL) set. +""" + VOLATILE_LRU +""" +Randomly removes keys with a TTL set. +""" + VOLATILE_RANDOM +""" +Removes keys with a TTL set, the keys with the shortest remaining time-to-live value first. +""" + VOLATILE_TTL } enum ValkeyMemory { - GB_1 - GB_4 - GB_8 - GB_14 - GB_28 - GB_56 - GB_112 - GB_200 + GB_1 + GB_4 + GB_8 + GB_14 + GB_28 + GB_56 + GB_112 + GB_200 } input ValkeyOrder { - field: ValkeyOrderField! - direction: OrderDirection! + field: ValkeyOrderField! + direction: OrderDirection! } enum ValkeyOrderField { - NAME - ENVIRONMENT - STATE - - """Order Valkeys by issue severity""" - ISSUES + NAME + ENVIRONMENT + STATE +""" +Order Valkeys by issue severity +""" + ISSUES } enum ValkeyState { - POWEROFF - REBALANCING - REBUILDING - RUNNING - UNKNOWN + POWEROFF + REBALANCING + REBUILDING + RUNNING + UNKNOWN } enum ValkeyTier { - SINGLE_NODE - HIGH_AVAILABILITY + SINGLE_NODE + HIGH_AVAILABILITY } -type ValkeyUpdatedActivityLogEntry implements ActivityLogEntry & Node { - """ID of the entry.""" - id: ID! - - """ - The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. - """ - actor: String! - - """Creation time of the entry.""" - createdAt: Time! - - """Message that summarizes the entry.""" - message: String! - - """Type of the resource that was affected by the action.""" - resourceType: ActivityLogEntryResourceType! - - """Name of the resource that was affected by the action.""" - resourceName: String! - - """The team slug that the entry belongs to.""" - teamSlug: Slug! - - """The environment name that the entry belongs to.""" - environmentName: String - - """Data associated with the entry.""" - data: ValkeyUpdatedActivityLogEntryData! +type ValkeyUpdatedActivityLogEntry implements ActivityLogEntry & Node{ +""" +ID of the entry. +""" + id: ID! +""" +The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. +""" + actor: String! +""" +Creation time of the entry. +""" + createdAt: Time! +""" +Message that summarizes the entry. +""" + message: String! +""" +Type of the resource that was affected by the action. +""" + resourceType: ActivityLogEntryResourceType! +""" +Name of the resource that was affected by the action. +""" + resourceName: String! +""" +The team slug that the entry belongs to. +""" + teamSlug: Slug! +""" +The environment name that the entry belongs to. +""" + environmentName: String +""" +Data associated with the entry. +""" + data: ValkeyUpdatedActivityLogEntryData! } type ValkeyUpdatedActivityLogEntryData { - updatedFields: [ValkeyUpdatedActivityLogEntryDataUpdatedField!]! + updatedFields: [ValkeyUpdatedActivityLogEntryDataUpdatedField!]! } type ValkeyUpdatedActivityLogEntryDataUpdatedField { - """The name of the field.""" - field: String! - - """The old value of the field.""" - oldValue: String - - """The new value of the field.""" - newValue: String +""" +The name of the field. +""" + field: String! +""" +The old value of the field. +""" + oldValue: String +""" +The new value of the field. +""" + newValue: String } -"""Input for viewing secret values.""" +""" +Input for viewing secret values. +""" input ViewSecretValuesInput { - """The name of the secret.""" - name: String! - - """The environment the secret exists in.""" - environment: String! - - """The team that owns the secret.""" - team: Slug! - - """Reason for viewing the secret values. Must be at least 10 characters.""" - reason: String! +""" +Input for viewing secret values. +""" + name: String! +""" +Input for viewing secret values. +""" + environment: String! +""" +Input for viewing secret values. +""" + team: Slug! +""" +Input for viewing secret values. +""" + reason: String! } -"""Payload returned when viewing secret values.""" +""" +Payload returned when viewing secret values. +""" type ViewSecretValuesPayload { - """The secret values.""" - values: [SecretValue!]! +""" +The secret values. +""" + values: [SecretValue!]! } type VulnerabilityActivityLogEntryData { - """The unique identifier of the vulnerability. E.g. CVE-****-****.""" - identifier: String! - - """The severity of the vulnerability.""" - severity: ImageVulnerabilitySeverity! - - """The package affected by the vulnerability.""" - package: String! - - """The previous suppression state of the vulnerability.""" - previousSuppression: ImageVulnerabilitySuppression - - """The new suppression state of the vulnerability.""" - newSuppression: ImageVulnerabilitySuppression +""" +The unique identifier of the vulnerability. E.g. CVE-****-****. +""" + identifier: String! +""" +The severity of the vulnerability. +""" + severity: ImageVulnerabilitySeverity! +""" +The package affected by the vulnerability. +""" + package: String! +""" +The previous suppression state of the vulnerability. +""" + previousSuppression: ImageVulnerabilitySuppression +""" +The new suppression state of the vulnerability. +""" + newSuppression: ImageVulnerabilitySuppression } -"""Trend of mean time to fix vulnerabilities grouped by severity.""" +""" +Trend of mean time to fix vulnerabilities grouped by severity. +""" type VulnerabilityFixHistory { - """Mean time to fix samples.""" - samples: [VulnerabilityFixSample!]! +""" +Mean time to fix samples. +""" + samples: [VulnerabilityFixSample!]! } -"""One MTTR sample for a severity at a point in time.""" +""" +One MTTR sample for a severity at a point in time. +""" type VulnerabilityFixSample { - """Severity of vulnerabilities in this sample.""" - severity: ImageVulnerabilitySeverity! - - """Snapshot date of the sample.""" - date: Time! - - """Mean time to fix in days.""" - days: Int! - - """Number of vulnerabilities fixed in this sample.""" - fixedCount: Int! - - """Earliest time a vulnerability was fixed in this sample.""" - firstFixedAt: Time - - """Latest time a vulnerability was fixed in this sample.""" - lastFixedAt: Time - - """Total number of workloads with this severity of vulnerabilities.""" - totalWorkloads: Int! +""" +Severity of vulnerabilities in this sample. +""" + severity: ImageVulnerabilitySeverity! +""" +Snapshot date of the sample. +""" + date: Time! +""" +Mean time to fix in days. +""" + days: Int! +""" +Number of vulnerabilities fixed in this sample. +""" + fixedCount: Int! +""" +Earliest time a vulnerability was fixed in this sample. +""" + firstFixedAt: Time +""" +Latest time a vulnerability was fixed in this sample. +""" + lastFixedAt: Time +""" +Total number of workloads with this severity of vulnerabilities. +""" + totalWorkloads: Int! } -"""Ordering options when fetching vulnerability summaries for workloads.""" +""" +Ordering options when fetching vulnerability summaries for workloads. +""" input VulnerabilitySummaryOrder { - """The field to order items by.""" - field: VulnerabilitySummaryOrderByField! - - """The direction to order items by.""" - direction: OrderDirection! +""" +Ordering options when fetching vulnerability summaries for workloads. +""" + field: VulnerabilitySummaryOrderByField! +""" +Ordering options when fetching vulnerability summaries for workloads. +""" + direction: OrderDirection! } enum VulnerabilitySummaryOrderByField { - """Order by name.""" - NAME - - """Order by the name of the environment the workload is deployed in.""" - ENVIRONMENT - - """ - Order by risk score" - """ - VULNERABILITY_RISK_SCORE - - """ - Order by vulnerability severity critical" - """ - VULNERABILITY_SEVERITY_CRITICAL - - """ - Order by vulnerability severity high" - """ - VULNERABILITY_SEVERITY_HIGH - - """ - Order by vulnerability severity medium" - """ - VULNERABILITY_SEVERITY_MEDIUM - - """ - Order by vulnerability severity low" - """ - VULNERABILITY_SEVERITY_LOW - - """ - Order by vulnerability severity unassigned" - """ - VULNERABILITY_SEVERITY_UNASSIGNED +""" +Order by name. +""" + NAME +""" +Order by the name of the environment the workload is deployed in. +""" + ENVIRONMENT +""" +Order by risk score" +""" + VULNERABILITY_RISK_SCORE +""" +Order by vulnerability severity critical" +""" + VULNERABILITY_SEVERITY_CRITICAL +""" +Order by vulnerability severity high" +""" + VULNERABILITY_SEVERITY_HIGH +""" +Order by vulnerability severity medium" +""" + VULNERABILITY_SEVERITY_MEDIUM +""" +Order by vulnerability severity low" +""" + VULNERABILITY_SEVERITY_LOW +""" +Order by vulnerability severity unassigned" +""" + VULNERABILITY_SEVERITY_UNASSIGNED } -type VulnerabilityUpdatedActivityLogEntry implements ActivityLogEntry & Node { - """ID of the entry.""" - id: ID! - - """ - The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. - """ - actor: String! - - """Creation time of the entry.""" - createdAt: Time! - - """Message that summarizes the entry.""" - message: String! - - """Type of the resource that was affected by the action.""" - resourceType: ActivityLogEntryResourceType! - - """Name of the resource that was affected by the action.""" - resourceName: String! - - """The team slug that the entry belongs to.""" - teamSlug: Slug - - """The environment name that the entry belongs to.""" - environmentName: String +type VulnerabilityUpdatedActivityLogEntry implements ActivityLogEntry & Node{ +""" +ID of the entry. +""" + id: ID! +""" +The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. +""" + actor: String! +""" +Creation time of the entry. +""" + createdAt: Time! +""" +Message that summarizes the entry. +""" + message: String! +""" +Type of the resource that was affected by the action. +""" + resourceType: ActivityLogEntryResourceType! +""" +Name of the resource that was affected by the action. +""" + resourceName: String! +""" +The team slug that the entry belongs to. +""" + teamSlug: Slug +""" +The environment name that the entry belongs to. +""" + environmentName: String +""" +Data associated with the update. +""" + data: VulnerabilityActivityLogEntryData! +} - """Data associated with the update.""" - data: VulnerabilityActivityLogEntryData! +type VulnerableImageIssue implements Issue & Node{ + id: ID! + teamEnvironment: TeamEnvironment! + severity: Severity! + message: String! + workload: Workload! + riskScore: Int! + critical: Int! } -type VulnerableImageIssue implements Issue & Node { - id: ID! - teamEnvironment: TeamEnvironment! - severity: Severity! - message: String! - workload: Workload! - riskScore: Int! - critical: Int! +""" +The days of the week. +""" +enum Weekday { +""" +Monday +""" + MONDAY +""" +Tuesday +""" + TUESDAY +""" +Wednesday +""" + WEDNESDAY +""" +Thursday +""" + THURSDAY +""" +Friday +""" + FRIDAY +""" +Saturday +""" + SATURDAY +""" +Sunday +""" + SUNDAY } -"""The days of the week.""" -enum Weekday { - """Monday""" - MONDAY - - """Tuesday""" - TUESDAY - - """Wednesday""" - WEDNESDAY - - """Thursday""" - THURSDAY - - """Friday""" - FRIDAY - - """Saturday""" - SATURDAY - - """Sunday""" - SUNDAY +""" +Interface for workloads. +""" +interface Workload { +""" +Interface for workloads. +""" + id: ID! +""" +Interface for workloads. +""" + name: String! +""" +Interface for workloads. +""" + team: Team! +""" +Interface for workloads. +""" + environment: TeamEnvironment! +""" +Interface for workloads. +""" + teamEnvironment: TeamEnvironment! +""" +Interface for workloads. +""" + image: ContainerImage! +""" +Interface for workloads. +""" + resources: WorkloadResources! +""" +Interface for workloads. +""" + manifest: WorkloadManifest! +""" +Interface for workloads. +""" + deletionStartedAt: Time +""" +Interface for workloads. +""" + activityLog( + first: Int + after: Cursor + last: Int + before: Cursor + filter: ActivityLogFilter + ): ActivityLogEntryConnection! +""" +Interface for workloads. +""" + issues( + first: Int + after: Cursor + last: Int + before: Cursor + orderBy: IssueOrder + filter: ResourceIssueFilter + ): IssueConnection! +""" +Interface for workloads. +""" + bigQueryDatasets( + orderBy: BigQueryDatasetOrder + ): BigQueryDatasetConnection! +""" +Interface for workloads. +""" + buckets( + orderBy: BucketOrder + ): BucketConnection! +""" +Interface for workloads. +""" + configs( + first: Int + after: Cursor + last: Int + before: Cursor + ): ConfigConnection! +""" +Interface for workloads. +""" + cost: WorkloadCost! +""" +Interface for workloads. +""" + deployments( + first: Int + after: Cursor + last: Int + before: Cursor + ): DeploymentConnection! +""" +Interface for workloads. +""" + kafkaTopicAcls( + orderBy: KafkaTopicAclOrder + ): KafkaTopicAclConnection! +""" +Interface for workloads. +""" + logDestinations: [LogDestination!]! +""" +Interface for workloads. +""" + networkPolicy: NetworkPolicy! +""" +Interface for workloads. +""" + openSearch: OpenSearch +""" +Interface for workloads. +""" + postgresInstances( + orderBy: PostgresInstanceOrder + ): PostgresInstanceConnection! +""" +Interface for workloads. +""" + secrets( + first: Int + after: Cursor + last: Int + before: Cursor + ): SecretConnection! +""" +Interface for workloads. +""" + sqlInstances( + orderBy: SqlInstanceOrder + ): SqlInstanceConnection! +""" +Interface for workloads. +""" + valkeys( + orderBy: ValkeyOrder + ): ValkeyConnection! +""" +Interface for workloads. +""" + imageVulnerabilityHistory( + from: Date! + ): ImageVulnerabilityHistory! +""" +Interface for workloads. +""" + vulnerabilityFixHistory( + from: Date! + ): VulnerabilityFixHistory! } -"""Interface for workloads.""" -interface Workload { - """The globally unique ID of the workload.""" - id: ID! - - """The name of the workload.""" - name: String! - - """The team that owns the workload.""" - team: Team! - - """The environment the workload is deployed in.""" - environment: TeamEnvironment! @deprecated(reason: "Use the `teamEnvironment` field instead.") - - """The team environment for the workload.""" - teamEnvironment: TeamEnvironment! - - """The container image of the workload.""" - image: ContainerImage! - - """The resources allocated to the workload.""" - resources: WorkloadResources! - - """The workload manifest.""" - manifest: WorkloadManifest! - - """If set, when the workload was marked for deletion.""" - deletionStartedAt: Time - - """Activity log associated with the workload.""" - activityLog( - """ - Get the first n items in the connection. This can be used in combination with the after parameter. - """ - first: Int - - """Get items after this cursor.""" - after: Cursor - - """ - Get the last n items in the connection. This can be used in combination with the before parameter. - """ - last: Int - - """Get items before this cursor.""" - before: Cursor - - """Filter items.""" - filter: ActivityLogFilter - ): ActivityLogEntryConnection! - - """Issues that affect the workload.""" - issues( - """ - Get the first n items in the connection. This can be used in combination with the after parameter. - """ - first: Int - - """Get items after this cursor.""" - after: Cursor - - """ - Get the last n items in the connection. This can be used in combination with the before parameter. - """ - last: Int - - """Get items before this cursor.""" - before: Cursor - - """Ordering options for items returned from the connection.""" - orderBy: IssueOrder - - """Filtering options for items returned from the connection.""" - filter: ResourceIssueFilter - ): IssueConnection! - - """ - BigQuery datasets referenced by the workload. This does not currently support pagination, but will return all available datasets. - """ - bigQueryDatasets( - """Ordering options for items returned from the connection.""" - orderBy: BigQueryDatasetOrder - ): BigQueryDatasetConnection! - - """ - Google Cloud Storage referenced by the workload. This does not currently support pagination, but will return all available buckets. - """ - buckets( - """Ordering options for items returned from the connection.""" - orderBy: BucketOrder - ): BucketConnection! - - """Configs used by the workload.""" - configs( - """ - Get the first n items in the connection. This can be used in combination with the after parameter. - """ - first: Int - - """Get items after this cursor.""" - after: Cursor - - """ - Get the last n items in the connection. This can be used in combination with the before parameter. - """ - last: Int - - """Get items before this cursor.""" - before: Cursor - ): ConfigConnection! - - """The cost for a workload.""" - cost: WorkloadCost! - - """List of deployments for the workload.""" - deployments( - """ - Get the first n items in the connection. This can be used in combination with the after parameter. - """ - first: Int - - """Get items after this cursor.""" - after: Cursor - - """ - Get the last n items in the connection. This can be used in combination with the before parameter. - """ - last: Int - - """Get items before this cursor.""" - before: Cursor - ): DeploymentConnection! - - """ - Kafka topics the workload has access to. This does not currently support pagination, but will return all available Kafka topics. - """ - kafkaTopicAcls( - """Ordering options for items returned from the connection.""" - orderBy: KafkaTopicAclOrder - ): KafkaTopicAclConnection! - - """List of log destinations for the workload.""" - logDestinations: [LogDestination!]! - - """Network policies for the workload.""" - networkPolicy: NetworkPolicy! - - """OpenSearch instance referenced by the workload.""" - openSearch: OpenSearch - - """ - Postgres instances referenced by the workload. This does not currently support pagination, but will return all available Postgres instances. - """ - postgresInstances( - """Ordering options for items returned from the connection.""" - orderBy: PostgresInstanceOrder - ): PostgresInstanceConnection! - - """Secrets used by the workload.""" - secrets( - """ - Get the first n items in the connection. This can be used in combination with the after parameter. - """ - first: Int - - """Get items after this cursor.""" - after: Cursor - - """ - Get the last n items in the connection. This can be used in combination with the before parameter. - """ - last: Int - - """Get items before this cursor.""" - before: Cursor - ): SecretConnection! - - """ - SQL instances referenced by the workload. This does not currently support pagination, but will return all available SQL instances. - """ - sqlInstances( - """Ordering options for items returned from the connection.""" - orderBy: SqlInstanceOrder - ): SqlInstanceConnection! - - """ - Valkey instances referenced by the workload. This does not currently support pagination, but will return all available Valkey instances. - """ - valkeys( - """Ordering options for items returned from the connection.""" - orderBy: ValkeyOrder - ): ValkeyConnection! - - """Get the vulnerability summary history for workload.""" - imageVulnerabilityHistory( - """Get vulnerability summary from given date until today.""" - from: Date! - ): ImageVulnerabilityHistory! - - """Get the mean time to fix history for a workload.""" - vulnerabilityFixHistory(from: Date!): VulnerabilityFixHistory! -} - -"""Workload connection.""" +""" +Workload connection. +""" type WorkloadConnection { - """Pagination information.""" - pageInfo: PageInfo! - - """List of nodes.""" - nodes: [Workload!]! - - """List of edges.""" - edges: [WorkloadEdge!]! +""" +Pagination information. +""" + pageInfo: PageInfo! +""" +List of nodes. +""" + nodes: [Workload!]! +""" +List of edges. +""" + edges: [WorkloadEdge!]! } type WorkloadCost { - """Get the cost for a workload within a time period.""" - daily( - """Start date of the period, inclusive.""" - from: Date! - - """End date of the period, inclusive.""" - to: Date! - ): WorkloadCostPeriod! - - """The cost for the last 12 months.""" - monthly: WorkloadCostPeriod! +""" +Get the cost for a workload within a time period. +""" + daily( +""" +Start date of the period, inclusive. +""" + from: Date! +""" +End date of the period, inclusive. +""" + to: Date! + ): WorkloadCostPeriod! +""" +The cost for the last 12 months. +""" + monthly: WorkloadCostPeriod! } type WorkloadCostPeriod { - """The total cost for the period.""" - sum: Float! - - """The cost series.""" - series: [ServiceCostSeries!]! +""" +The total cost for the period. +""" + sum: Float! +""" +The cost series. +""" + series: [ServiceCostSeries!]! } type WorkloadCostSample { - """The workload.""" - workload: Workload - - """The name of the workload.""" - workloadName: String! - - """The cost in euros.""" - cost: Float! +""" +The workload. +""" + workload: Workload +""" +The name of the workload. +""" + workloadName: String! +""" +The cost in euros. +""" + cost: Float! } type WorkloadCostSeries { - """ - The date for the cost. When calculating the cost for a monthly period, the date will be the last day of the month that has cost data. - """ - date: Date! - - """The sum of the cost across all workloads.""" - sum: Float! - - """The cost for the workloads in the environment.""" - workloads: [WorkloadCostSample!]! +""" +The date for the cost. When calculating the cost for a monthly period, the date will be the last day of the month that has cost data. +""" + date: Date! +""" +The sum of the cost across all workloads. +""" + sum: Float! +""" +The cost for the workloads in the environment. +""" + workloads: [WorkloadCostSample!]! } -"""Workload edge.""" +""" +Workload edge. +""" type WorkloadEdge { - """Cursor for this edge that can be used for pagination.""" - cursor: Cursor! - - """The Workload.""" - node: Workload! +""" +Cursor for this edge that can be used for pagination. +""" + cursor: Cursor! +""" +The Workload. +""" + node: Workload! } type WorkloadLogLine { - """The timestamp of the log line.""" - time: Time! - - """The log message.""" - message: String! - - """The name of the instance that generated the log line.""" - instance: String! +""" +The timestamp of the log line. +""" + time: Time! +""" +The log message. +""" + message: String! +""" +The name of the instance that generated the log line. +""" + instance: String! } input WorkloadLogSubscriptionFilter { - """Filter logs to a specific team.""" - team: Slug! - - """Filter logs to a specific environment.""" - environment: String! - - """Filter logs to a specific application.""" - application: String - - """Filter logs to a specific job.""" - job: String - - """Filter logs to a set of specific instance names.""" - instances: [String!] + team: Slug! + environment: String! + application: String + job: String + instances: [String!] } -"""Interface for workload manifests.""" +""" +Interface for workload manifests. +""" interface WorkloadManifest { - """The manifest content, serialized as a YAML document.""" - content: String! +""" +Interface for workload manifests. +""" + content: String! } -"""Ordering options when fetching workloads.""" +""" +Ordering options when fetching workloads. +""" input WorkloadOrder { - """The field to order items by.""" - field: WorkloadOrderField! - - """The direction to order items by.""" - direction: OrderDirection! +""" +Ordering options when fetching workloads. +""" + field: WorkloadOrderField! +""" +Ordering options when fetching workloads. +""" + direction: OrderDirection! } -"""Fields to order workloads by.""" +""" +Fields to order workloads by. +""" enum WorkloadOrderField { - """Order by name.""" - NAME - - """Order by the name of the environment the workload is deployed in.""" - ENVIRONMENT - - """Order by the deployment time.""" - DEPLOYMENT_TIME - - """Order workloads by issue severity""" - ISSUES - - """Order by risk score""" - VULNERABILITY_RISK_SCORE - - """Order apps by vulnerability severity critical""" - VULNERABILITY_SEVERITY_CRITICAL - - """Order apps by vulnerability severity high""" - VULNERABILITY_SEVERITY_HIGH - - """Order apps by vulnerability severity medium""" - VULNERABILITY_SEVERITY_MEDIUM - - """Order apps by vulnerability severity low""" - VULNERABILITY_SEVERITY_LOW - - """Order apps by vulnerability severity unassigned""" - VULNERABILITY_SEVERITY_UNASSIGNED - - """Order by whether the workload has a software bill of materials (SBOM)""" - HAS_SBOM - - """Order by the last time the vulnerabilities were scanned.""" - VULNERABILITY_LAST_SCANNED +""" +Order by name. +""" + NAME +""" +Order by the name of the environment the workload is deployed in. +""" + ENVIRONMENT +""" +Order by the deployment time. +""" + DEPLOYMENT_TIME +""" +Order workloads by issue severity +""" + ISSUES +""" +Order by risk score +""" + VULNERABILITY_RISK_SCORE +""" +Order apps by vulnerability severity critical +""" + VULNERABILITY_SEVERITY_CRITICAL +""" +Order apps by vulnerability severity high +""" + VULNERABILITY_SEVERITY_HIGH +""" +Order apps by vulnerability severity medium +""" + VULNERABILITY_SEVERITY_MEDIUM +""" +Order apps by vulnerability severity low +""" + VULNERABILITY_SEVERITY_LOW +""" +Order apps by vulnerability severity unassigned +""" + VULNERABILITY_SEVERITY_UNASSIGNED +""" +Order by whether the workload has a software bill of materials (SBOM) +""" + HAS_SBOM +""" +Order by the last time the vulnerabilities were scanned. +""" + VULNERABILITY_LAST_SCANNED } -"""Resource quantities for a workload.""" +""" +Resource quantities for a workload. +""" type WorkloadResourceQuantity { - """The number of CPU cores.""" - cpu: Float - - """The amount of memory in bytes.""" - memory: Int +""" +The number of CPU cores. +""" + cpu: Float +""" +The amount of memory in bytes. +""" + memory: Int } -"""Interface for resources allocated to workloads.""" +""" +Interface for resources allocated to workloads. +""" interface WorkloadResources { - """Instances using resources above this threshold will be killed.""" - limits: WorkloadResourceQuantity! - - """Resources requested by the workload.""" - requests: WorkloadResourceQuantity! +""" +Interface for resources allocated to workloads. +""" + limits: WorkloadResourceQuantity! +""" +Interface for resources allocated to workloads. +""" + requests: WorkloadResourceQuantity! } type WorkloadUtilization { - """Get the current usage for the requested resource type.""" - current(resourceType: UtilizationResourceType!): Float! - - """ - Gets the requested amount of resources for the requested resource type. - """ - requested(resourceType: UtilizationResourceType!): Float! - - """ - Gets the requested amount of resources between start and end with step size for given resource type. - """ - requestedSeries(input: WorkloadUtilizationSeriesInput!): [UtilizationSample!]! - - """Gets the limit of the resources for the requested resource type.""" - limit(resourceType: UtilizationResourceType!): Float - - """ - Gets the limit of the resources between start and end with step size for given resource type. - """ - limitSeries(input: WorkloadUtilizationSeriesInput!): [UtilizationSample!]! - - """Usage between start and end with step size for given resource type.""" - series(input: WorkloadUtilizationSeriesInput!): [UtilizationSample!]! - - """Gets the recommended amount of resources for the workload.""" - recommendations: WorkloadUtilizationRecommendations! +""" +Get the current usage for the requested resource type. +""" + current( + resourceType: UtilizationResourceType! + ): Float! +""" +Gets the requested amount of resources for the requested resource type. +""" + requested( + resourceType: UtilizationResourceType! + ): Float! +""" +Gets the requested amount of resources between start and end with step size for given resource type. +""" + requestedSeries( + input: WorkloadUtilizationSeriesInput! + ): [UtilizationSample!]! +""" +Gets the limit of the resources for the requested resource type. +""" + limit( + resourceType: UtilizationResourceType! + ): Float +""" +Gets the limit of the resources between start and end with step size for given resource type. +""" + limitSeries( + input: WorkloadUtilizationSeriesInput! + ): [UtilizationSample!]! +""" +Usage between start and end with step size for given resource type. +""" + series( + input: WorkloadUtilizationSeriesInput! + ): [UtilizationSample!]! +""" +Gets the recommended amount of resources for the workload. +""" + recommendations: WorkloadUtilizationRecommendations! } type WorkloadUtilizationData { - """The workload.""" - workload: Workload! - - """The requested amount of resources""" - requested: Float! - - """The current resource usage.""" - used: Float! +""" +The workload. +""" + workload: Workload! +""" +The requested amount of resources +""" + requested: Float! +""" +The current resource usage. +""" + used: Float! } type WorkloadUtilizationRecommendations { - cpuRequestCores: Float! - memoryRequestBytes: Int! - memoryLimitBytes: Int! + cpuRequestCores: Float! + memoryRequestBytes: Int! + memoryLimitBytes: Int! } input WorkloadUtilizationSeriesInput { - """Fetch resource usage from this timestamp.""" - start: Time! - - """Fetch resource usage until this timestamp.""" - end: Time! - - """Resource type.""" - resourceType: UtilizationResourceType! + start: Time! + end: Time! + resourceType: UtilizationResourceType! } -type WorkloadVulnerabilitySummary implements Node { - """The globally unique ID of the workload vulnerability summary node.""" - id: ID! - - """The workload""" - workload: Workload! - - """True if the workload has a software bill of materials (SBOM) attached.""" - hasSBOM: Boolean! - - """The vulnerability summary for the workload.""" - summary: ImageVulnerabilitySummary! +type WorkloadVulnerabilitySummary implements Node{ +""" +The globally unique ID of the workload vulnerability summary node. +""" + id: ID! +""" +The workload +""" + workload: Workload! +""" +True if the workload has a software bill of materials (SBOM) attached. +""" + hasSBOM: Boolean! +""" +The vulnerability summary for the workload. +""" + summary: ImageVulnerabilitySummary! } type WorkloadVulnerabilitySummaryConnection { - """Information to aid in pagination.""" - pageInfo: PageInfo! - - """List of edges.""" - edges: [WorkloadVulnerabilitySummaryEdge!]! - - """List of nodes.""" - nodes: [WorkloadVulnerabilitySummary!]! +""" +Information to aid in pagination. +""" + pageInfo: PageInfo! +""" +List of edges. +""" + edges: [WorkloadVulnerabilitySummaryEdge!]! +""" +List of nodes. +""" + nodes: [WorkloadVulnerabilitySummary!]! } type WorkloadVulnerabilitySummaryEdge { - """A cursor for use in pagination.""" - cursor: Cursor! - - """The workload vulnerability summary.""" - node: WorkloadVulnerabilitySummary! +""" +A cursor for use in pagination. +""" + cursor: Cursor! +""" +The workload vulnerability summary. +""" + node: WorkloadVulnerabilitySummary! } type WorkloadWithVulnerability { - vulnerability: ImageVulnerability! - workload: Workload! + vulnerability: ImageVulnerability! + workload: Workload! } type WorkloadWithVulnerabilityConnection { - """Information to aid in pagination.""" - pageInfo: PageInfo! - - """List of edges.""" - edges: [WorkloadWithVulnerabilityEdge!]! - - """List of nodes.""" - nodes: [WorkloadWithVulnerability!]! +""" +Information to aid in pagination. +""" + pageInfo: PageInfo! +""" +List of edges. +""" + edges: [WorkloadWithVulnerabilityEdge!]! +""" +List of nodes. +""" + nodes: [WorkloadWithVulnerability!]! } type WorkloadWithVulnerabilityEdge { - """A cursor for use in pagination.""" - cursor: Cursor! - - """The vulnerability.""" - node: WorkloadWithVulnerability! +""" +A cursor for use in pagination. +""" + cursor: Cursor! +""" +The vulnerability. +""" + node: WorkloadWithVulnerability! } + + From b8f059eea23a336e395a62392ee4ecf8601a878a Mon Sep 17 00:00:00 2001 From: Frode Sundby Date: Wed, 18 Mar 2026 13:27:40 +0100 Subject: [PATCH 4/5] fix: handle non-deletion case and stabilize time-based test in config --- internal/config/command/delete.go | 6 ++++-- internal/config/config_test.go | 10 ++++++---- 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/internal/config/command/delete.go b/internal/config/command/delete.go index 5b3518b5..6b03b9f6 100644 --- a/internal/config/command/delete.go +++ b/internal/config/command/delete.go @@ -82,10 +82,12 @@ func deleteConfig(parentFlags *flag.Config) *naistrix.Command { return fmt.Errorf("deleting config: %w", err) } - if deleted { - pterm.Success.Printfln("Deleted config %q from %q for team %q", metadata.Name, metadata.EnvironmentName, metadata.TeamSlug) + if !deleted { + pterm.Warning.Printfln("Config %q in %q for team %q was not deleted", metadata.Name, metadata.EnvironmentName, metadata.TeamSlug) + return nil } + pterm.Success.Printfln("Deleted config %q from %q for team %q", metadata.Name, metadata.EnvironmentName, metadata.TeamSlug) return nil }, } diff --git a/internal/config/config_test.go b/internal/config/config_test.go index c394d68e..2f95ba94 100644 --- a/internal/config/config_test.go +++ b/internal/config/config_test.go @@ -215,16 +215,18 @@ func TestFormatWorkloads(t *testing.T) { func TestLastModified_String(t *testing.T) { t.Parallel() + // Use large enough durations that parallel test scheduling cannot cause + // the value to cross a bucket boundary (e.g. 30s drifting to 1m). tests := []struct { name string time time.Time want string }{ {name: "zero time", time: time.Time{}, want: ""}, - {name: "seconds ago", time: time.Now().Add(-30 * time.Second), want: "30s"}, - {name: "minutes ago", time: time.Now().Add(-5 * time.Minute), want: "5m"}, - {name: "hours ago", time: time.Now().Add(-3 * time.Hour), want: "3h"}, - {name: "days ago", time: time.Now().Add(-7 * 24 * time.Hour), want: "7d"}, + {name: "seconds ago", time: time.Now().Add(-10 * time.Second), want: "10s"}, + {name: "minutes ago", time: time.Now().Add(-30 * time.Minute), want: "30m"}, + {name: "hours ago", time: time.Now().Add(-12 * time.Hour), want: "12h"}, + {name: "days ago", time: time.Now().Add(-100 * 24 * time.Hour), want: "100d"}, {name: "years ago", time: time.Now().Add(-400 * 24 * time.Hour), want: "1y"}, } From 4ad505bf01eae948054725e5ce400cfea08dbeb9 Mon Sep 17 00:00:00 2001 From: Frode Sundby Date: Thu, 19 Mar 2026 08:20:41 +0100 Subject: [PATCH 5/5] refactor: rename configs command to config and fix activity sort order - Rename CLI command from 'configs' to 'config' for consistency with Console UI - Add missing sort.SliceStable in buildConfigActivity (newest-first, matching secrets) - Update stale 'nais config set team' references to 'nais defaults set team' in both config and secret packages --- internal/application/application.go | 4 +- internal/config/activity.go | 5 + internal/config/command/activity.go | 2 +- internal/config/command/command.go | 14 +- internal/config/command/flag/flag.go | 2 +- internal/config/command/list.go | 14 +- internal/naisapi/gql/generated.go | 717 +++++++++++++++++++++++++++ internal/secret/command/activity.go | 2 +- internal/secret/command/command.go | 2 +- internal/secret/command/flag/flag.go | 2 +- schema.graphql | 62 +++ 11 files changed, 805 insertions(+), 21 deletions(-) diff --git a/internal/application/application.go b/internal/application/application.go index 4a6ff374..c135c6fb 100644 --- a/internal/application/application.go +++ b/internal/application/application.go @@ -12,7 +12,7 @@ import ( alpha "github.com/nais/cli/internal/alpha/command" appCommand "github.com/nais/cli/internal/app/command" "github.com/nais/cli/internal/auth" - configs "github.com/nais/cli/internal/config/command" + configCmd "github.com/nais/cli/internal/config/command" debug "github.com/nais/cli/internal/debug/command" "github.com/nais/cli/internal/flags" issues "github.com/nais/cli/internal/issues/command" @@ -79,7 +79,7 @@ func New(w io.Writer) (*Application, *flags.GlobalFlags, error) { postgres.Postgres(globalFlags), debug.Debug(globalFlags), kubeconfig.Kubeconfig(globalFlags), - configs.Configs(globalFlags), + configCmd.Config(globalFlags), secrets.Secrets(globalFlags), vulnerabilities.Vulnerabilities(globalFlags), validate.Validate(globalFlags), diff --git a/internal/config/activity.go b/internal/config/activity.go index ae0c7a9e..b0305bc3 100644 --- a/internal/config/activity.go +++ b/internal/config/activity.go @@ -3,6 +3,7 @@ package config import ( "context" "slices" + "sort" "time" "github.com/nais/cli/internal/naisapi" @@ -118,5 +119,9 @@ func buildConfigActivity(resources []configActivityResource, name string, enviro } } + sort.SliceStable(ret, func(i, j int) bool { + return ret[i].CreatedAt.After(ret[j].CreatedAt) + }) + return ret, found } diff --git a/internal/config/command/activity.go b/internal/config/command/activity.go index 60d9e358..ba1d0d6a 100644 --- a/internal/config/command/activity.go +++ b/internal/config/command/activity.go @@ -56,7 +56,7 @@ func activity(parentFlags *flag.Config) *naistrix.Command { AutoCompleteFunc: func(ctx context.Context, args *naistrix.Arguments, _ string) ([]string, string) { if args.Len() == 0 { if f.Team == "" { - return nil, "Please provide team to auto-complete config names. 'nais config set team ', or '--team ' flag." + return nil, "Please provide team to auto-complete config names. 'nais defaults set team ', or '--team ' flag." } environments := []string(f.Environment) if len(environments) == 0 { diff --git a/internal/config/command/command.go b/internal/config/command/command.go index 4f312505..b2385cd8 100644 --- a/internal/config/command/command.go +++ b/internal/config/command/command.go @@ -13,11 +13,11 @@ import ( "github.com/nais/naistrix" ) -func Configs(parentFlags *flags.GlobalFlags) *naistrix.Command { +func Config(parentFlags *flags.GlobalFlags) *naistrix.Command { f := &flag.Config{GlobalFlags: parentFlags} return &naistrix.Command{ - Name: "configs", - Title: "Manage configs for a team.", + Name: "config", + Title: "Manage config for a team.", StickyFlags: f, ValidateFunc: func(context.Context, *naistrix.Arguments) error { return validation.CheckTeam(f.Team) @@ -77,7 +77,7 @@ func autoCompleteConfigNames(ctx context.Context, team, environment string, requ func autoCompleteConfigNamesInEnvironments(ctx context.Context, team string, environments []string, requireEnvironment bool) ([]string, string) { if team == "" { - return nil, "Please provide team to auto-complete config names. 'nais config set team ', or '--team ' flag." + return nil, "Please provide team to auto-complete config names. 'nais defaults set team ', or '--team ' flag." } if requireEnvironment && len(environments) == 0 { return nil, "Please provide environment to auto-complete config names. '--environment ' flag." @@ -93,7 +93,7 @@ func autoCompleteConfigNamesInEnvironments(ctx context.Context, team string, env configs, err := config.GetAll(ctx, team) if err != nil { - return nil, fmt.Sprintf("Unable to fetch configs for auto-completion: %v", err) + return nil, fmt.Sprintf("Unable to fetch config for auto-completion: %v", err) } seen := make(map[string]struct{}) @@ -119,9 +119,9 @@ func autoCompleteConfigNamesInEnvironments(ctx context.Context, team string, env } sort.Strings(sortedEnvironments) if len(sortedEnvironments) == 1 { - return nil, fmt.Sprintf("No configs found in environment %q.", sortedEnvironments[0]) + return nil, fmt.Sprintf("No config found in environment %q.", sortedEnvironments[0]) } - return nil, fmt.Sprintf("No configs found in environments: %s.", strings.Join(sortedEnvironments, ", ")) + return nil, fmt.Sprintf("No config found in environments: %s.", strings.Join(sortedEnvironments, ", ")) } return names, "Select a config." diff --git a/internal/config/command/flag/flag.go b/internal/config/command/flag/flag.go index b2ccc04c..b8be2dd2 100644 --- a/internal/config/command/flag/flag.go +++ b/internal/config/command/flag/flag.go @@ -39,7 +39,7 @@ func (e *GetEnv) AutoComplete(ctx context.Context, args *naistrix.Arguments, _ s tp, ok := flags.(teamProvider) if !ok || tp.GetTeam() == "" { - return nil, "Please provide team to auto-complete environments. 'nais config team set ', or '--team ' flag." + return nil, "Please provide team to auto-complete environments. 'nais defaults set team ', or '--team ' flag." } envs, err := config.ConfigEnvironments(ctx, tp.GetTeam(), args.Get("name")) diff --git a/internal/config/command/list.go b/internal/config/command/list.go index ebd76d29..f766eb0e 100644 --- a/internal/config/command/list.go +++ b/internal/config/command/list.go @@ -27,26 +27,26 @@ func list(parentFlags *flag.Config) *naistrix.Command { return &naistrix.Command{ Name: "list", - Title: "List configs for a team.", - Description: "This command lists all configs for a given team.", + Title: "List config for a team.", + Description: "This command lists all config for a given team.", Flags: f, Examples: []naistrix.Example{ { - Description: "List all configs for the team.", + Description: "List all config for the team.", }, { - Description: "List configs in a specific environment.", + Description: "List config in a specific environment.", Command: "--environment dev", }, }, RunFunc: func(ctx context.Context, _ *naistrix.Arguments, out *naistrix.OutputWriter) error { configs, err := config.GetAll(ctx, f.Team) if err != nil { - return fmt.Errorf("fetching configs: %w", err) + return fmt.Errorf("fetching config: %w", err) } if len(configs) == 0 { - out.Infoln("No configs found") + out.Infoln("No config found") return nil } @@ -78,7 +78,7 @@ func list(parentFlags *flag.Config) *naistrix.Command { } if len(summaries) == 0 { - out.Infoln("No configs match the given filters") + out.Infoln("No config matches the given filters") return nil } diff --git a/internal/naisapi/gql/generated.go b/internal/naisapi/gql/generated.go index 293f862c..735c081e 100644 --- a/internal/naisapi/gql/generated.go +++ b/internal/naisapi/gql/generated.go @@ -37,6 +37,8 @@ const ( ActivityLogActivityTypeTeamDeployKeyUpdated ActivityLogActivityType = "TEAM_DEPLOY_KEY_UPDATED" // Activity log entries related to job deletion. ActivityLogActivityTypeJobDeleted ActivityLogActivityType = "JOB_DELETED" + // Activity log entries related to job run deletion. + ActivityLogActivityTypeJobRunDeleted ActivityLogActivityType = "JOB_RUN_DELETED" // Activity log entries related to job triggering. ActivityLogActivityTypeJobTriggered ActivityLogActivityType = "JOB_TRIGGERED" // OpenSearch was created. @@ -133,6 +135,7 @@ var AllActivityLogActivityType = []ActivityLogActivityType{ ActivityLogActivityTypeDeployment, ActivityLogActivityTypeTeamDeployKeyUpdated, ActivityLogActivityTypeJobDeleted, + ActivityLogActivityTypeJobRunDeleted, ActivityLogActivityTypeJobTriggered, ActivityLogActivityTypeOpensearchCreated, ActivityLogActivityTypeOpensearchUpdated, @@ -898,6 +901,26 @@ func (v *DeleteConfigResponse) GetDeleteConfig() DeleteConfigDeleteConfigDeleteC return v.DeleteConfig } +// DeleteJobRunDeleteJobRunDeleteJobRunPayload includes the requested fields of the GraphQL type DeleteJobRunPayload. +type DeleteJobRunDeleteJobRunDeleteJobRunPayload struct { + // Whether or not the run was deleted. + Success bool `json:"success"` +} + +// GetSuccess returns DeleteJobRunDeleteJobRunDeleteJobRunPayload.Success, and is useful for accessing the field via an interface. +func (v *DeleteJobRunDeleteJobRunDeleteJobRunPayload) GetSuccess() bool { return v.Success } + +// DeleteJobRunResponse is returned by DeleteJobRun on success. +type DeleteJobRunResponse struct { + // Delete a job run. + DeleteJobRun DeleteJobRunDeleteJobRunDeleteJobRunPayload `json:"deleteJobRun"` +} + +// GetDeleteJobRun returns DeleteJobRunResponse.DeleteJobRun, and is useful for accessing the field via an interface. +func (v *DeleteJobRunResponse) GetDeleteJobRun() DeleteJobRunDeleteJobRunDeleteJobRunPayload { + return v.DeleteJobRun +} + // DeleteOpenSearchDeleteOpenSearchDeleteOpenSearchPayload includes the requested fields of the GraphQL type DeleteOpenSearchPayload. type DeleteOpenSearchDeleteOpenSearchDeleteOpenSearchPayload struct { // Whether or not the OpenSearch instance was deleted. @@ -4993,6 +5016,7 @@ func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplica // GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesCredentialsActivityLogEntry // GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesDeploymentActivityLogEntry // GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesJobDeletedActivityLogEntry +// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesJobRunDeletedActivityLogEntry // GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesJobTriggeredActivityLogEntry // GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesOpenSearchCreatedActivityLogEntry // GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesOpenSearchDeletedActivityLogEntry @@ -5083,6 +5107,8 @@ func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplica } func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesJobDeletedActivityLogEntry) implementsGraphQLInterfaceGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { } +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesJobRunDeletedActivityLogEntry) implementsGraphQLInterfaceGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { +} func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesJobTriggeredActivityLogEntry) implementsGraphQLInterfaceGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { } func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesOpenSearchCreatedActivityLogEntry) implementsGraphQLInterfaceGetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { @@ -5210,6 +5236,9 @@ func __unmarshalGetApplicationActivityTeamApplicationsApplicationConnectionNodes case "JobDeletedActivityLogEntry": *v = new(GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesJobDeletedActivityLogEntry) return json.Unmarshal(b, *v) + case "JobRunDeletedActivityLogEntry": + *v = new(GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesJobRunDeletedActivityLogEntry) + return json.Unmarshal(b, *v) case "JobTriggeredActivityLogEntry": *v = new(GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesJobTriggeredActivityLogEntry) return json.Unmarshal(b, *v) @@ -5426,6 +5455,14 @@ func __marshalGetApplicationActivityTeamApplicationsApplicationConnectionNodesAp *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesJobDeletedActivityLogEntry }{typename, v} return json.Marshal(result) + case *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesJobRunDeletedActivityLogEntry: + typename = "JobRunDeletedActivityLogEntry" + + result := struct { + TypeName string `json:"__typename"` + *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesJobRunDeletedActivityLogEntry + }{typename, v} + return json.Marshal(result) case *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesJobTriggeredActivityLogEntry: typename = "JobTriggeredActivityLogEntry" @@ -6142,6 +6179,44 @@ func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplica return v.EnvironmentName } +// GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesJobRunDeletedActivityLogEntry includes the requested fields of the GraphQL type JobRunDeletedActivityLogEntry. +type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesJobRunDeletedActivityLogEntry struct { + Typename string `json:"__typename"` + // Interface for activity log entries. + Actor string `json:"actor"` + // Interface for activity log entries. + CreatedAt time.Time `json:"createdAt"` + // Interface for activity log entries. + Message string `json:"message"` + // Interface for activity log entries. + EnvironmentName string `json:"environmentName"` +} + +// GetTypename returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesJobRunDeletedActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesJobRunDeletedActivityLogEntry) GetTypename() string { + return v.Typename +} + +// GetActor returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesJobRunDeletedActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesJobRunDeletedActivityLogEntry) GetActor() string { + return v.Actor +} + +// GetCreatedAt returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesJobRunDeletedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesJobRunDeletedActivityLogEntry) GetCreatedAt() time.Time { + return v.CreatedAt +} + +// GetMessage returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesJobRunDeletedActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesJobRunDeletedActivityLogEntry) GetMessage() string { + return v.Message +} + +// GetEnvironmentName returns GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesJobRunDeletedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesJobRunDeletedActivityLogEntry) GetEnvironmentName() string { + return v.EnvironmentName +} + // GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesJobTriggeredActivityLogEntry includes the requested fields of the GraphQL type JobTriggeredActivityLogEntry. type GetApplicationActivityTeamApplicationsApplicationConnectionNodesApplicationActivityLogActivityLogEntryConnectionNodesJobTriggeredActivityLogEntry struct { Typename string `json:"__typename"` @@ -8795,6 +8870,7 @@ func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActiv // GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesCredentialsActivityLogEntry // GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesDeploymentActivityLogEntry // GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesJobDeletedActivityLogEntry +// GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesJobRunDeletedActivityLogEntry // GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesJobTriggeredActivityLogEntry // GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesOpenSearchCreatedActivityLogEntry // GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesOpenSearchDeletedActivityLogEntry @@ -8885,6 +8961,8 @@ func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActiv } func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesJobDeletedActivityLogEntry) implementsGraphQLInterfaceGetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { } +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesJobRunDeletedActivityLogEntry) implementsGraphQLInterfaceGetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { +} func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesJobTriggeredActivityLogEntry) implementsGraphQLInterfaceGetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { } func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesOpenSearchCreatedActivityLogEntry) implementsGraphQLInterfaceGetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { @@ -9012,6 +9090,9 @@ func __unmarshalGetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityL case "JobDeletedActivityLogEntry": *v = new(GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesJobDeletedActivityLogEntry) return json.Unmarshal(b, *v) + case "JobRunDeletedActivityLogEntry": + *v = new(GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesJobRunDeletedActivityLogEntry) + return json.Unmarshal(b, *v) case "JobTriggeredActivityLogEntry": *v = new(GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesJobTriggeredActivityLogEntry) return json.Unmarshal(b, *v) @@ -9228,6 +9309,14 @@ func __marshalGetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLog *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesJobDeletedActivityLogEntry }{typename, v} return json.Marshal(result) + case *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesJobRunDeletedActivityLogEntry: + typename = "JobRunDeletedActivityLogEntry" + + result := struct { + TypeName string `json:"__typename"` + *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesJobRunDeletedActivityLogEntry + }{typename, v} + return json.Marshal(result) case *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesJobTriggeredActivityLogEntry: typename = "JobTriggeredActivityLogEntry" @@ -9944,6 +10033,44 @@ func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActiv return v.EnvironmentName } +// GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesJobRunDeletedActivityLogEntry includes the requested fields of the GraphQL type JobRunDeletedActivityLogEntry. +type GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesJobRunDeletedActivityLogEntry struct { + Typename string `json:"__typename"` + // Interface for activity log entries. + Actor string `json:"actor"` + // Interface for activity log entries. + CreatedAt time.Time `json:"createdAt"` + // Interface for activity log entries. + Message string `json:"message"` + // Interface for activity log entries. + EnvironmentName string `json:"environmentName"` +} + +// GetTypename returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesJobRunDeletedActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesJobRunDeletedActivityLogEntry) GetTypename() string { + return v.Typename +} + +// GetActor returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesJobRunDeletedActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesJobRunDeletedActivityLogEntry) GetActor() string { + return v.Actor +} + +// GetCreatedAt returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesJobRunDeletedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesJobRunDeletedActivityLogEntry) GetCreatedAt() time.Time { + return v.CreatedAt +} + +// GetMessage returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesJobRunDeletedActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesJobRunDeletedActivityLogEntry) GetMessage() string { + return v.Message +} + +// GetEnvironmentName returns GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesJobRunDeletedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesJobRunDeletedActivityLogEntry) GetEnvironmentName() string { + return v.EnvironmentName +} + // GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesJobTriggeredActivityLogEntry includes the requested fields of the GraphQL type JobTriggeredActivityLogEntry. type GetConfigActivityTeamConfigsConfigConnectionNodesConfigActivityLogActivityLogEntryConnectionNodesJobTriggeredActivityLogEntry struct { Typename string `json:"__typename"` @@ -12027,6 +12154,7 @@ func (v *GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryC // GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesCredentialsActivityLogEntry // GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesDeploymentActivityLogEntry // GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesJobDeletedActivityLogEntry +// GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesJobRunDeletedActivityLogEntry // GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesJobTriggeredActivityLogEntry // GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesOpenSearchCreatedActivityLogEntry // GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesOpenSearchDeletedActivityLogEntry @@ -12117,6 +12245,8 @@ func (v *GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryC } func (v *GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesJobDeletedActivityLogEntry) implementsGraphQLInterfaceGetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { } +func (v *GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesJobRunDeletedActivityLogEntry) implementsGraphQLInterfaceGetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { +} func (v *GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesJobTriggeredActivityLogEntry) implementsGraphQLInterfaceGetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { } func (v *GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesOpenSearchCreatedActivityLogEntry) implementsGraphQLInterfaceGetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { @@ -12244,6 +12374,9 @@ func __unmarshalGetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLo case "JobDeletedActivityLogEntry": *v = new(GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesJobDeletedActivityLogEntry) return json.Unmarshal(b, *v) + case "JobRunDeletedActivityLogEntry": + *v = new(GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesJobRunDeletedActivityLogEntry) + return json.Unmarshal(b, *v) case "JobTriggeredActivityLogEntry": *v = new(GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesJobTriggeredActivityLogEntry) return json.Unmarshal(b, *v) @@ -12460,6 +12593,14 @@ func __marshalGetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogE *GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesJobDeletedActivityLogEntry }{typename, v} return json.Marshal(result) + case *GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesJobRunDeletedActivityLogEntry: + typename = "JobRunDeletedActivityLogEntry" + + result := struct { + TypeName string `json:"__typename"` + *GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesJobRunDeletedActivityLogEntry + }{typename, v} + return json.Marshal(result) case *GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesJobTriggeredActivityLogEntry: typename = "JobTriggeredActivityLogEntry" @@ -13176,6 +13317,44 @@ func (v *GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryC return v.EnvironmentName } +// GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesJobRunDeletedActivityLogEntry includes the requested fields of the GraphQL type JobRunDeletedActivityLogEntry. +type GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesJobRunDeletedActivityLogEntry struct { + Typename string `json:"__typename"` + // Interface for activity log entries. + Actor string `json:"actor"` + // Interface for activity log entries. + CreatedAt time.Time `json:"createdAt"` + // Interface for activity log entries. + Message string `json:"message"` + // Interface for activity log entries. + EnvironmentName string `json:"environmentName"` +} + +// GetTypename returns GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesJobRunDeletedActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesJobRunDeletedActivityLogEntry) GetTypename() string { + return v.Typename +} + +// GetActor returns GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesJobRunDeletedActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesJobRunDeletedActivityLogEntry) GetActor() string { + return v.Actor +} + +// GetCreatedAt returns GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesJobRunDeletedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesJobRunDeletedActivityLogEntry) GetCreatedAt() time.Time { + return v.CreatedAt +} + +// GetMessage returns GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesJobRunDeletedActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesJobRunDeletedActivityLogEntry) GetMessage() string { + return v.Message +} + +// GetEnvironmentName returns GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesJobRunDeletedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesJobRunDeletedActivityLogEntry) GetEnvironmentName() string { + return v.EnvironmentName +} + // GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesJobTriggeredActivityLogEntry includes the requested fields of the GraphQL type JobTriggeredActivityLogEntry. type GetJobActivityTeamJobsJobConnectionNodesJobActivityLogActivityLogEntryConnectionNodesJobTriggeredActivityLogEntry struct { Typename string `json:"__typename"` @@ -15563,6 +15742,234 @@ func (v *GetJobNamesTeamJobsJobConnectionNodesJobTeamEnvironmentEnvironment) Get return v.Name } +// GetJobRunNamesResponse is returned by GetJobRunNames on success. +type GetJobRunNamesResponse struct { + // Get a team by its slug. + Team GetJobRunNamesTeam `json:"team"` +} + +// GetTeam returns GetJobRunNamesResponse.Team, and is useful for accessing the field via an interface. +func (v *GetJobRunNamesResponse) GetTeam() GetJobRunNamesTeam { return v.Team } + +// GetJobRunNamesTeam includes the requested fields of the GraphQL type Team. +// The GraphQL type's documentation follows. +// +// The team type represents a team on the [Nais platform](https://nais.io/). +// +// Learn more about what Nais teams are and what they can be used for in the [official Nais documentation](https://docs.nais.io/explanations/team/). +// +// External resources (e.g. entraIDGroupID, gitHubTeamSlug) are managed by [Nais API reconcilers](https://github.com/nais/api-reconcilers). +type GetJobRunNamesTeam struct { + // Nais jobs owned by the team. + Jobs GetJobRunNamesTeamJobsJobConnection `json:"jobs"` +} + +// GetJobs returns GetJobRunNamesTeam.Jobs, and is useful for accessing the field via an interface. +func (v *GetJobRunNamesTeam) GetJobs() GetJobRunNamesTeamJobsJobConnection { return v.Jobs } + +// GetJobRunNamesTeamJobsJobConnection includes the requested fields of the GraphQL type JobConnection. +type GetJobRunNamesTeamJobsJobConnection struct { + // List of nodes. + Nodes []GetJobRunNamesTeamJobsJobConnectionNodesJob `json:"nodes"` +} + +// GetNodes returns GetJobRunNamesTeamJobsJobConnection.Nodes, and is useful for accessing the field via an interface. +func (v *GetJobRunNamesTeamJobsJobConnection) GetNodes() []GetJobRunNamesTeamJobsJobConnectionNodesJob { + return v.Nodes +} + +// GetJobRunNamesTeamJobsJobConnectionNodesJob includes the requested fields of the GraphQL type Job. +type GetJobRunNamesTeamJobsJobConnectionNodesJob struct { + // The team environment for the job. + TeamEnvironment GetJobRunNamesTeamJobsJobConnectionNodesJobTeamEnvironment `json:"teamEnvironment"` + // The job runs. + Runs GetJobRunNamesTeamJobsJobConnectionNodesJobRunsJobRunConnection `json:"runs"` +} + +// GetTeamEnvironment returns GetJobRunNamesTeamJobsJobConnectionNodesJob.TeamEnvironment, and is useful for accessing the field via an interface. +func (v *GetJobRunNamesTeamJobsJobConnectionNodesJob) GetTeamEnvironment() GetJobRunNamesTeamJobsJobConnectionNodesJobTeamEnvironment { + return v.TeamEnvironment +} + +// GetRuns returns GetJobRunNamesTeamJobsJobConnectionNodesJob.Runs, and is useful for accessing the field via an interface. +func (v *GetJobRunNamesTeamJobsJobConnectionNodesJob) GetRuns() GetJobRunNamesTeamJobsJobConnectionNodesJobRunsJobRunConnection { + return v.Runs +} + +// GetJobRunNamesTeamJobsJobConnectionNodesJobRunsJobRunConnection includes the requested fields of the GraphQL type JobRunConnection. +type GetJobRunNamesTeamJobsJobConnectionNodesJobRunsJobRunConnection struct { + // List of nodes. + Nodes []GetJobRunNamesTeamJobsJobConnectionNodesJobRunsJobRunConnectionNodesJobRun `json:"nodes"` +} + +// GetNodes returns GetJobRunNamesTeamJobsJobConnectionNodesJobRunsJobRunConnection.Nodes, and is useful for accessing the field via an interface. +func (v *GetJobRunNamesTeamJobsJobConnectionNodesJobRunsJobRunConnection) GetNodes() []GetJobRunNamesTeamJobsJobConnectionNodesJobRunsJobRunConnectionNodesJobRun { + return v.Nodes +} + +// GetJobRunNamesTeamJobsJobConnectionNodesJobRunsJobRunConnectionNodesJobRun includes the requested fields of the GraphQL type JobRun. +type GetJobRunNamesTeamJobsJobConnectionNodesJobRunsJobRunConnectionNodesJobRun struct { + // The name of the job run. + Name string `json:"name"` +} + +// GetName returns GetJobRunNamesTeamJobsJobConnectionNodesJobRunsJobRunConnectionNodesJobRun.Name, and is useful for accessing the field via an interface. +func (v *GetJobRunNamesTeamJobsJobConnectionNodesJobRunsJobRunConnectionNodesJobRun) GetName() string { + return v.Name +} + +// GetJobRunNamesTeamJobsJobConnectionNodesJobTeamEnvironment includes the requested fields of the GraphQL type TeamEnvironment. +type GetJobRunNamesTeamJobsJobConnectionNodesJobTeamEnvironment struct { + // Get the environment. + Environment GetJobRunNamesTeamJobsJobConnectionNodesJobTeamEnvironmentEnvironment `json:"environment"` +} + +// GetEnvironment returns GetJobRunNamesTeamJobsJobConnectionNodesJobTeamEnvironment.Environment, and is useful for accessing the field via an interface. +func (v *GetJobRunNamesTeamJobsJobConnectionNodesJobTeamEnvironment) GetEnvironment() GetJobRunNamesTeamJobsJobConnectionNodesJobTeamEnvironmentEnvironment { + return v.Environment +} + +// GetJobRunNamesTeamJobsJobConnectionNodesJobTeamEnvironmentEnvironment includes the requested fields of the GraphQL type Environment. +// The GraphQL type's documentation follows. +// +// An environment represents a runtime environment for workloads. +// +// Learn more in the [official Nais documentation](https://docs.nais.io/workloads/explanations/environment/). +type GetJobRunNamesTeamJobsJobConnectionNodesJobTeamEnvironmentEnvironment struct { + // Unique name of the environment. + Name string `json:"name"` +} + +// GetName returns GetJobRunNamesTeamJobsJobConnectionNodesJobTeamEnvironmentEnvironment.Name, and is useful for accessing the field via an interface. +func (v *GetJobRunNamesTeamJobsJobConnectionNodesJobTeamEnvironmentEnvironment) GetName() string { + return v.Name +} + +// GetJobRunsResponse is returned by GetJobRuns on success. +type GetJobRunsResponse struct { + // Get a team by its slug. + Team GetJobRunsTeam `json:"team"` +} + +// GetTeam returns GetJobRunsResponse.Team, and is useful for accessing the field via an interface. +func (v *GetJobRunsResponse) GetTeam() GetJobRunsTeam { return v.Team } + +// GetJobRunsTeam includes the requested fields of the GraphQL type Team. +// The GraphQL type's documentation follows. +// +// The team type represents a team on the [Nais platform](https://nais.io/). +// +// Learn more about what Nais teams are and what they can be used for in the [official Nais documentation](https://docs.nais.io/explanations/team/). +// +// External resources (e.g. entraIDGroupID, gitHubTeamSlug) are managed by [Nais API reconcilers](https://github.com/nais/api-reconcilers). +type GetJobRunsTeam struct { + // Nais jobs owned by the team. + Jobs GetJobRunsTeamJobsJobConnection `json:"jobs"` +} + +// GetJobs returns GetJobRunsTeam.Jobs, and is useful for accessing the field via an interface. +func (v *GetJobRunsTeam) GetJobs() GetJobRunsTeamJobsJobConnection { return v.Jobs } + +// GetJobRunsTeamJobsJobConnection includes the requested fields of the GraphQL type JobConnection. +type GetJobRunsTeamJobsJobConnection struct { + // List of nodes. + Nodes []GetJobRunsTeamJobsJobConnectionNodesJob `json:"nodes"` +} + +// GetNodes returns GetJobRunsTeamJobsJobConnection.Nodes, and is useful for accessing the field via an interface. +func (v *GetJobRunsTeamJobsJobConnection) GetNodes() []GetJobRunsTeamJobsJobConnectionNodesJob { + return v.Nodes +} + +// GetJobRunsTeamJobsJobConnectionNodesJob includes the requested fields of the GraphQL type Job. +type GetJobRunsTeamJobsJobConnectionNodesJob struct { + // The job runs. + Runs GetJobRunsTeamJobsJobConnectionNodesJobRunsJobRunConnection `json:"runs"` +} + +// GetRuns returns GetJobRunsTeamJobsJobConnectionNodesJob.Runs, and is useful for accessing the field via an interface. +func (v *GetJobRunsTeamJobsJobConnectionNodesJob) GetRuns() GetJobRunsTeamJobsJobConnectionNodesJobRunsJobRunConnection { + return v.Runs +} + +// GetJobRunsTeamJobsJobConnectionNodesJobRunsJobRunConnection includes the requested fields of the GraphQL type JobRunConnection. +type GetJobRunsTeamJobsJobConnectionNodesJobRunsJobRunConnection struct { + // List of nodes. + Nodes []GetJobRunsTeamJobsJobConnectionNodesJobRunsJobRunConnectionNodesJobRun `json:"nodes"` +} + +// GetNodes returns GetJobRunsTeamJobsJobConnectionNodesJobRunsJobRunConnection.Nodes, and is useful for accessing the field via an interface. +func (v *GetJobRunsTeamJobsJobConnectionNodesJobRunsJobRunConnection) GetNodes() []GetJobRunsTeamJobsJobConnectionNodesJobRunsJobRunConnectionNodesJobRun { + return v.Nodes +} + +// GetJobRunsTeamJobsJobConnectionNodesJobRunsJobRunConnectionNodesJobRun includes the requested fields of the GraphQL type JobRun. +type GetJobRunsTeamJobsJobConnectionNodesJobRunsJobRunConnectionNodesJobRun struct { + // The name of the job run. + Name string `json:"name"` + // The start time of the job. + StartTime time.Time `json:"startTime"` + // Duration of the job in seconds. + Duration int `json:"duration"` + // The status of the job run. + Status GetJobRunsTeamJobsJobConnectionNodesJobRunsJobRunConnectionNodesJobRunStatus `json:"status"` + Trigger GetJobRunsTeamJobsJobConnectionNodesJobRunsJobRunConnectionNodesJobRunTrigger `json:"trigger"` +} + +// GetName returns GetJobRunsTeamJobsJobConnectionNodesJobRunsJobRunConnectionNodesJobRun.Name, and is useful for accessing the field via an interface. +func (v *GetJobRunsTeamJobsJobConnectionNodesJobRunsJobRunConnectionNodesJobRun) GetName() string { + return v.Name +} + +// GetStartTime returns GetJobRunsTeamJobsJobConnectionNodesJobRunsJobRunConnectionNodesJobRun.StartTime, and is useful for accessing the field via an interface. +func (v *GetJobRunsTeamJobsJobConnectionNodesJobRunsJobRunConnectionNodesJobRun) GetStartTime() time.Time { + return v.StartTime +} + +// GetDuration returns GetJobRunsTeamJobsJobConnectionNodesJobRunsJobRunConnectionNodesJobRun.Duration, and is useful for accessing the field via an interface. +func (v *GetJobRunsTeamJobsJobConnectionNodesJobRunsJobRunConnectionNodesJobRun) GetDuration() int { + return v.Duration +} + +// GetStatus returns GetJobRunsTeamJobsJobConnectionNodesJobRunsJobRunConnectionNodesJobRun.Status, and is useful for accessing the field via an interface. +func (v *GetJobRunsTeamJobsJobConnectionNodesJobRunsJobRunConnectionNodesJobRun) GetStatus() GetJobRunsTeamJobsJobConnectionNodesJobRunsJobRunConnectionNodesJobRunStatus { + return v.Status +} + +// GetTrigger returns GetJobRunsTeamJobsJobConnectionNodesJobRunsJobRunConnectionNodesJobRun.Trigger, and is useful for accessing the field via an interface. +func (v *GetJobRunsTeamJobsJobConnectionNodesJobRunsJobRunConnectionNodesJobRun) GetTrigger() GetJobRunsTeamJobsJobConnectionNodesJobRunsJobRunConnectionNodesJobRunTrigger { + return v.Trigger +} + +// GetJobRunsTeamJobsJobConnectionNodesJobRunsJobRunConnectionNodesJobRunStatus includes the requested fields of the GraphQL type JobRunStatus. +type GetJobRunsTeamJobsJobConnectionNodesJobRunsJobRunConnectionNodesJobRunStatus struct { + // The state of the job run. + State JobRunState `json:"state"` +} + +// GetState returns GetJobRunsTeamJobsJobConnectionNodesJobRunsJobRunConnectionNodesJobRunStatus.State, and is useful for accessing the field via an interface. +func (v *GetJobRunsTeamJobsJobConnectionNodesJobRunsJobRunConnectionNodesJobRunStatus) GetState() JobRunState { + return v.State +} + +// GetJobRunsTeamJobsJobConnectionNodesJobRunsJobRunConnectionNodesJobRunTrigger includes the requested fields of the GraphQL type JobRunTrigger. +type GetJobRunsTeamJobsJobConnectionNodesJobRunsJobRunConnectionNodesJobRunTrigger struct { + // The type of trigger that started the job. + Type JobRunTriggerType `json:"type"` + // The actor/user who triggered the job run manually, if applicable. + Actor string `json:"actor"` +} + +// GetType returns GetJobRunsTeamJobsJobConnectionNodesJobRunsJobRunConnectionNodesJobRunTrigger.Type, and is useful for accessing the field via an interface. +func (v *GetJobRunsTeamJobsJobConnectionNodesJobRunsJobRunConnectionNodesJobRunTrigger) GetType() JobRunTriggerType { + return v.Type +} + +// GetActor returns GetJobRunsTeamJobsJobConnectionNodesJobRunsJobRunConnectionNodesJobRunTrigger.Actor, and is useful for accessing the field via an interface. +func (v *GetJobRunsTeamJobsJobConnectionNodesJobRunsJobRunConnectionNodesJobRunTrigger) GetActor() string { + return v.Actor +} + // GetLatestJobRunStateResponse is returned by GetLatestJobRunState on success. type GetLatestJobRunStateResponse struct { // Get a team by its slug. @@ -16179,6 +16586,7 @@ func (v *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActiv // GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesCredentialsActivityLogEntry // GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesDeploymentActivityLogEntry // GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesJobDeletedActivityLogEntry +// GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesJobRunDeletedActivityLogEntry // GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesJobTriggeredActivityLogEntry // GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesOpenSearchCreatedActivityLogEntry // GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesOpenSearchDeletedActivityLogEntry @@ -16269,6 +16677,8 @@ func (v *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActiv } func (v *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesJobDeletedActivityLogEntry) implementsGraphQLInterfaceGetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { } +func (v *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesJobRunDeletedActivityLogEntry) implementsGraphQLInterfaceGetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { +} func (v *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesJobTriggeredActivityLogEntry) implementsGraphQLInterfaceGetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { } func (v *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesOpenSearchCreatedActivityLogEntry) implementsGraphQLInterfaceGetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { @@ -16396,6 +16806,9 @@ func __unmarshalGetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityL case "JobDeletedActivityLogEntry": *v = new(GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesJobDeletedActivityLogEntry) return json.Unmarshal(b, *v) + case "JobRunDeletedActivityLogEntry": + *v = new(GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesJobRunDeletedActivityLogEntry) + return json.Unmarshal(b, *v) case "JobTriggeredActivityLogEntry": *v = new(GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesJobTriggeredActivityLogEntry) return json.Unmarshal(b, *v) @@ -16612,6 +17025,14 @@ func __marshalGetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLog *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesJobDeletedActivityLogEntry }{typename, v} return json.Marshal(result) + case *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesJobRunDeletedActivityLogEntry: + typename = "JobRunDeletedActivityLogEntry" + + result := struct { + TypeName string `json:"__typename"` + *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesJobRunDeletedActivityLogEntry + }{typename, v} + return json.Marshal(result) case *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesJobTriggeredActivityLogEntry: typename = "JobTriggeredActivityLogEntry" @@ -17328,6 +17749,44 @@ func (v *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActiv return v.EnvironmentName } +// GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesJobRunDeletedActivityLogEntry includes the requested fields of the GraphQL type JobRunDeletedActivityLogEntry. +type GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesJobRunDeletedActivityLogEntry struct { + Typename string `json:"__typename"` + // Interface for activity log entries. + Actor string `json:"actor"` + // Interface for activity log entries. + CreatedAt time.Time `json:"createdAt"` + // Interface for activity log entries. + Message string `json:"message"` + // Interface for activity log entries. + EnvironmentName string `json:"environmentName"` +} + +// GetTypename returns GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesJobRunDeletedActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesJobRunDeletedActivityLogEntry) GetTypename() string { + return v.Typename +} + +// GetActor returns GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesJobRunDeletedActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesJobRunDeletedActivityLogEntry) GetActor() string { + return v.Actor +} + +// GetCreatedAt returns GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesJobRunDeletedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesJobRunDeletedActivityLogEntry) GetCreatedAt() time.Time { + return v.CreatedAt +} + +// GetMessage returns GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesJobRunDeletedActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesJobRunDeletedActivityLogEntry) GetMessage() string { + return v.Message +} + +// GetEnvironmentName returns GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesJobRunDeletedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesJobRunDeletedActivityLogEntry) GetEnvironmentName() string { + return v.EnvironmentName +} + // GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesJobTriggeredActivityLogEntry includes the requested fields of the GraphQL type JobTriggeredActivityLogEntry. type GetSecretActivityTeamSecretsSecretConnectionNodesSecretActivityLogActivityLogEntryConnectionNodesJobTriggeredActivityLogEntry struct { Typename string `json:"__typename"` @@ -19368,6 +19827,7 @@ func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnection) __premarshalJ // GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesCredentialsActivityLogEntry // GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesDeploymentActivityLogEntry // GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesJobDeletedActivityLogEntry +// GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesJobRunDeletedActivityLogEntry // GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesJobTriggeredActivityLogEntry // GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesOpenSearchCreatedActivityLogEntry // GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesOpenSearchDeletedActivityLogEntry @@ -19468,6 +19928,8 @@ func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesDeployment } func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesJobDeletedActivityLogEntry) implementsGraphQLInterfaceGetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { } +func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesJobRunDeletedActivityLogEntry) implementsGraphQLInterfaceGetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { +} func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesJobTriggeredActivityLogEntry) implementsGraphQLInterfaceGetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { } func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesOpenSearchCreatedActivityLogEntry) implementsGraphQLInterfaceGetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesActivityLogEntry() { @@ -19595,6 +20057,9 @@ func __unmarshalGetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesAct case "JobDeletedActivityLogEntry": *v = new(GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesJobDeletedActivityLogEntry) return json.Unmarshal(b, *v) + case "JobRunDeletedActivityLogEntry": + *v = new(GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesJobRunDeletedActivityLogEntry) + return json.Unmarshal(b, *v) case "JobTriggeredActivityLogEntry": *v = new(GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesJobTriggeredActivityLogEntry) return json.Unmarshal(b, *v) @@ -19811,6 +20276,14 @@ func __marshalGetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesActiv *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesJobDeletedActivityLogEntry }{typename, v} return json.Marshal(result) + case *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesJobRunDeletedActivityLogEntry: + typename = "JobRunDeletedActivityLogEntry" + + result := struct { + TypeName string `json:"__typename"` + *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesJobRunDeletedActivityLogEntry + }{typename, v} + return json.Marshal(result) case *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesJobTriggeredActivityLogEntry: typename = "JobTriggeredActivityLogEntry" @@ -20667,6 +21140,58 @@ func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesJobDeleted return v.ResourceName } +// GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesJobRunDeletedActivityLogEntry includes the requested fields of the GraphQL type JobRunDeletedActivityLogEntry. +type GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesJobRunDeletedActivityLogEntry struct { + Typename string `json:"__typename"` + // Interface for activity log entries. + Actor string `json:"actor"` + // Interface for activity log entries. + CreatedAt time.Time `json:"createdAt"` + // Interface for activity log entries. + Message string `json:"message"` + // Interface for activity log entries. + EnvironmentName string `json:"environmentName"` + // Interface for activity log entries. + ResourceType ActivityLogEntryResourceType `json:"resourceType"` + // Interface for activity log entries. + ResourceName string `json:"resourceName"` +} + +// GetTypename returns GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesJobRunDeletedActivityLogEntry.Typename, and is useful for accessing the field via an interface. +func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesJobRunDeletedActivityLogEntry) GetTypename() string { + return v.Typename +} + +// GetActor returns GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesJobRunDeletedActivityLogEntry.Actor, and is useful for accessing the field via an interface. +func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesJobRunDeletedActivityLogEntry) GetActor() string { + return v.Actor +} + +// GetCreatedAt returns GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesJobRunDeletedActivityLogEntry.CreatedAt, and is useful for accessing the field via an interface. +func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesJobRunDeletedActivityLogEntry) GetCreatedAt() time.Time { + return v.CreatedAt +} + +// GetMessage returns GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesJobRunDeletedActivityLogEntry.Message, and is useful for accessing the field via an interface. +func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesJobRunDeletedActivityLogEntry) GetMessage() string { + return v.Message +} + +// GetEnvironmentName returns GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesJobRunDeletedActivityLogEntry.EnvironmentName, and is useful for accessing the field via an interface. +func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesJobRunDeletedActivityLogEntry) GetEnvironmentName() string { + return v.EnvironmentName +} + +// GetResourceType returns GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesJobRunDeletedActivityLogEntry.ResourceType, and is useful for accessing the field via an interface. +func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesJobRunDeletedActivityLogEntry) GetResourceType() ActivityLogEntryResourceType { + return v.ResourceType +} + +// GetResourceName returns GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesJobRunDeletedActivityLogEntry.ResourceName, and is useful for accessing the field via an interface. +func (v *GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesJobRunDeletedActivityLogEntry) GetResourceName() string { + return v.ResourceName +} + // GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesJobTriggeredActivityLogEntry includes the requested fields of the GraphQL type JobTriggeredActivityLogEntry. type GetTeamActivityTeamActivityLogActivityLogEntryConnectionNodesJobTriggeredActivityLogEntry struct { Typename string `json:"__typename"` @@ -25197,6 +25722,18 @@ var AllJobRunState = []JobRunState{ JobRunStateUnknown, } +type JobRunTriggerType string + +const ( + JobRunTriggerTypeAutomatic JobRunTriggerType = "AUTOMATIC" + JobRunTriggerTypeManual JobRunTriggerType = "MANUAL" +) + +var AllJobRunTriggerType = []JobRunTriggerType{ + JobRunTriggerTypeAutomatic, + JobRunTriggerTypeManual, +} + type JobState string const ( @@ -28447,6 +28984,22 @@ func (v *__DeleteConfigInput) GetEnvironmentName() string { return v.Environment // GetTeamSlug returns __DeleteConfigInput.TeamSlug, and is useful for accessing the field via an interface. func (v *__DeleteConfigInput) GetTeamSlug() string { return v.TeamSlug } +// __DeleteJobRunInput is used internally by genqlient +type __DeleteJobRunInput struct { + Team string `json:"team"` + Env string `json:"env"` + RunName string `json:"runName"` +} + +// GetTeam returns __DeleteJobRunInput.Team, and is useful for accessing the field via an interface. +func (v *__DeleteJobRunInput) GetTeam() string { return v.Team } + +// GetEnv returns __DeleteJobRunInput.Env, and is useful for accessing the field via an interface. +func (v *__DeleteJobRunInput) GetEnv() string { return v.Env } + +// GetRunName returns __DeleteJobRunInput.RunName, and is useful for accessing the field via an interface. +func (v *__DeleteJobRunInput) GetRunName() string { return v.RunName } + // __DeleteOpenSearchInput is used internally by genqlient type __DeleteOpenSearchInput struct { Name string `json:"name"` @@ -28695,6 +29248,30 @@ type __GetJobNamesInput struct { // GetTeam returns __GetJobNamesInput.Team, and is useful for accessing the field via an interface. func (v *__GetJobNamesInput) GetTeam() string { return v.Team } +// __GetJobRunNamesInput is used internally by genqlient +type __GetJobRunNamesInput struct { + Team string `json:"team"` +} + +// GetTeam returns __GetJobRunNamesInput.Team, and is useful for accessing the field via an interface. +func (v *__GetJobRunNamesInput) GetTeam() string { return v.Team } + +// __GetJobRunsInput is used internally by genqlient +type __GetJobRunsInput struct { + Team string `json:"team"` + Name string `json:"name"` + Env []string `json:"env"` +} + +// GetTeam returns __GetJobRunsInput.Team, and is useful for accessing the field via an interface. +func (v *__GetJobRunsInput) GetTeam() string { return v.Team } + +// GetName returns __GetJobRunsInput.Name, and is useful for accessing the field via an interface. +func (v *__GetJobRunsInput) GetName() string { return v.Name } + +// GetEnv returns __GetJobRunsInput.Env, and is useful for accessing the field via an interface. +func (v *__GetJobRunsInput) GetEnv() []string { return v.Env } + // __GetLatestJobRunStateInput is used internally by genqlient type __GetLatestJobRunStateInput struct { Team string `json:"team"` @@ -29665,6 +30242,44 @@ func DeleteConfig( return data_, err_ } +// The mutation executed by DeleteJobRun. +const DeleteJobRun_Operation = ` +mutation DeleteJobRun ($team: Slug!, $env: String!, $runName: String!) { + deleteJobRun(input: {teamSlug:$team,environmentName:$env,runName:$runName}) { + success + } +} +` + +func DeleteJobRun( + ctx_ context.Context, + client_ graphql.Client, + team string, + env string, + runName string, +) (data_ *DeleteJobRunResponse, err_ error) { + req_ := &graphql.Request{ + OpName: "DeleteJobRun", + Query: DeleteJobRun_Operation, + Variables: &__DeleteJobRunInput{ + Team: team, + Env: env, + RunName: runName, + }, + } + + data_ = &DeleteJobRunResponse{} + resp_ := &graphql.Response{Data: data_} + + err_ = client_.MakeRequest( + ctx_, + req_, + resp_, + ) + + return data_, err_ +} + // The mutation executed by DeleteOpenSearch. const DeleteOpenSearch_Operation = ` mutation DeleteOpenSearch ($name: String!, $environmentName: String!, $teamSlug: Slug!) { @@ -30701,6 +31316,108 @@ func GetJobNames( return data_, err_ } +// The query executed by GetJobRunNames. +const GetJobRunNames_Operation = ` +query GetJobRunNames ($team: Slug!) { + team(slug: $team) { + jobs(first: 1000) { + nodes { + teamEnvironment { + environment { + name + } + } + runs(first: 100) { + nodes { + name + } + } + } + } + } +} +` + +func GetJobRunNames( + ctx_ context.Context, + client_ graphql.Client, + team string, +) (data_ *GetJobRunNamesResponse, err_ error) { + req_ := &graphql.Request{ + OpName: "GetJobRunNames", + Query: GetJobRunNames_Operation, + Variables: &__GetJobRunNamesInput{ + Team: team, + }, + } + + data_ = &GetJobRunNamesResponse{} + resp_ := &graphql.Response{Data: data_} + + err_ = client_.MakeRequest( + ctx_, + req_, + resp_, + ) + + return data_, err_ +} + +// The query executed by GetJobRuns. +const GetJobRuns_Operation = ` +query GetJobRuns ($team: Slug!, $name: String!, $env: [String!]) { + team(slug: $team) { + jobs(filter: {name:$name,environments:$env}, first: 1) { + nodes { + runs(first: 100) { + nodes { + name + startTime + duration + status { + state + } + trigger { + type + actor + } + } + } + } + } + } +} +` + +func GetJobRuns( + ctx_ context.Context, + client_ graphql.Client, + team string, + name string, + env []string, +) (data_ *GetJobRunsResponse, err_ error) { + req_ := &graphql.Request{ + OpName: "GetJobRuns", + Query: GetJobRuns_Operation, + Variables: &__GetJobRunsInput{ + Team: team, + Name: name, + Env: env, + }, + } + + data_ = &GetJobRunsResponse{} + resp_ := &graphql.Response{Data: data_} + + err_ = client_.MakeRequest( + ctx_, + req_, + resp_, + ) + + return data_, err_ +} + // The query executed by GetLatestJobRunState. const GetLatestJobRunState_Operation = ` query GetLatestJobRunState ($team: Slug!, $name: String!, $env: [String!]) { diff --git a/internal/secret/command/activity.go b/internal/secret/command/activity.go index 2d363096..342a05dc 100644 --- a/internal/secret/command/activity.go +++ b/internal/secret/command/activity.go @@ -56,7 +56,7 @@ func activity(parentFlags *flag.Secret) *naistrix.Command { AutoCompleteFunc: func(ctx context.Context, args *naistrix.Arguments, _ string) ([]string, string) { if args.Len() == 0 { if f.Team == "" { - return nil, "Please provide team to auto-complete secret names. 'nais config set team ', or '--team ' flag." + return nil, "Please provide team to auto-complete secret names. 'nais defaults set team ', or '--team ' flag." } environments := []string(f.Environment) if len(environments) == 0 { diff --git a/internal/secret/command/command.go b/internal/secret/command/command.go index d75729c3..e7ac3827 100644 --- a/internal/secret/command/command.go +++ b/internal/secret/command/command.go @@ -78,7 +78,7 @@ func autoCompleteSecretNames(ctx context.Context, team, environment string, requ func autoCompleteSecretNamesInEnvironments(ctx context.Context, team string, environments []string, requireEnvironment bool) ([]string, string) { if team == "" { - return nil, "Please provide team to auto-complete secret names. 'nais config set team ', or '--team ' flag." + return nil, "Please provide team to auto-complete secret names. 'nais defaults set team ', or '--team ' flag." } if requireEnvironment && len(environments) == 0 { return nil, "Please provide environment to auto-complete secret names. '--environment ' flag." diff --git a/internal/secret/command/flag/flag.go b/internal/secret/command/flag/flag.go index c167846d..e72b8b6a 100644 --- a/internal/secret/command/flag/flag.go +++ b/internal/secret/command/flag/flag.go @@ -39,7 +39,7 @@ func (e *GetEnv) AutoComplete(ctx context.Context, args *naistrix.Arguments, _ s tp, ok := flags.(teamProvider) if !ok || tp.GetTeam() == "" { - return nil, "Please provide team to auto-complete environments. 'nais config team set ', or '--team ' flag." + return nil, "Please provide team to auto-complete environments. 'nais defaults set team ', or '--team ' flag." } envs, err := secret.SecretEnvironments(ctx, tp.GetTeam(), args.Get("name")) diff --git a/schema.graphql b/schema.graphql index c5553012..e6b82cb9 100644 --- a/schema.graphql +++ b/schema.graphql @@ -103,6 +103,10 @@ Activity log entries related to job deletion. """ JOB_DELETED """ +Activity log entries related to job run deletion. +""" + JOB_RUN_DELETED +""" Activity log entries related to job triggering. """ JOB_TRIGGERED @@ -2304,6 +2308,23 @@ Whether or not the job was deleted. success: Boolean } +input DeleteJobRunInput { + teamSlug: Slug! + environmentName: String! + runName: String! +} + +type DeleteJobRunPayload { +""" +The job that the run belonged to. +""" + job: Job +""" +Whether or not the run was deleted. +""" + success: Boolean +} + input DeleteOpenSearchInput { name: String! environmentName: String! @@ -3676,6 +3697,41 @@ The environment name that the entry belongs to. environmentName: String } +type JobRunDeletedActivityLogEntry implements ActivityLogEntry & Node{ +""" +ID of the entry. +""" + id: ID! +""" +The identity of the actor who performed the action. The value is either the name of a service account, or the email address of a user. +""" + actor: String! +""" +Creation time of the entry. +""" + createdAt: Time! +""" +Message that summarizes the entry. +""" + message: String! +""" +Type of the resource that was affected by the action. +""" + resourceType: ActivityLogEntryResourceType! +""" +Name of the resource that was affected by the action. +""" + resourceName: String! +""" +The team slug that the entry belongs to. +""" + teamSlug: Slug! +""" +The environment name that the entry belongs to. +""" + environmentName: String +} + type JobEdge { """ Cursor for this edge that can be used for pagination. @@ -4384,6 +4440,12 @@ Delete a job. input: DeleteJobInput! ): DeleteJobPayload! """ +Delete a job run. +""" + deleteJobRun( + input: DeleteJobRunInput! + ): DeleteJobRunPayload! +""" Trigger a job """ triggerJob(