Skip to content

Commit

Permalink
SCALRCORE-28979 API > Provider configurations > Google > Ability to d…
Browse files Browse the repository at this point in the history
…isable a project enforcement
  • Loading branch information
DayS1eeper committed Feb 12, 2024
1 parent 2331e95 commit 1f00794
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions provider_configuration.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ type ProviderConfiguration struct {
GoogleWorkloadProviderName string `jsonapi:"attr,google-workload-provider-name"`
GoogleProject string `jsonapi:"attr,google-project"`
GoogleCredentials string `jsonapi:"attr,google-credentials"`
GoogleUseDefaultProject bool `jsonapi:"attr,google-use-default-project"`
ScalrHostname string `jsonapi:"attr,scalr-hostname"`
ScalrToken string `jsonapi:"attr,scalr-token"`

Expand Down Expand Up @@ -125,6 +126,7 @@ type ProviderConfigurationCreateOptions struct {
GoogleWorkloadProviderName *string `jsonapi:"attr,google-workload-provider-name,omitempty"`
GoogleProject *string `jsonapi:"attr,google-project,omitempty"`
GoogleCredentials *string `jsonapi:"attr,google-credentials,omitempty"`
GoogleUseDefaultProject *bool `jsonapi:"attr,google-use-default-project,omitempty"`
ScalrHostname *string `jsonapi:"attr,scalr-hostname,omitempty"`
ScalrToken *string `jsonapi:"attr,scalr-token,omitempty"`

Expand Down Expand Up @@ -202,6 +204,7 @@ type ProviderConfigurationUpdateOptions struct {
GoogleWorkloadProviderName *string `jsonapi:"attr,google-workload-provider-name"`
GoogleProject *string `jsonapi:"attr,google-project"`
GoogleCredentials *string `jsonapi:"attr,google-credentials"`
GoogleUseDefaultProject *bool `jsonapi:"attr,google-use-default-project"`
ScalrHostname *string `jsonapi:"attr,scalr-hostname"`
ScalrToken *string `jsonapi:"attr,scalr-token"`
}
Expand Down

0 comments on commit 1f00794

Please sign in to comment.