Skip to content

Commit

Permalink
feat(ocean/gcp): new field: vng tags (#189)
Browse files Browse the repository at this point in the history
  • Loading branch information
TalGevaSpot authored Jun 14, 2022
1 parent 325b10b commit 3c535b6
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions service/ocean/providers/gcp/launchspec.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ type LaunchSpec struct {
Storage *Storage `json:"storage,omitempty"`
ResourceLimits *ResourceLimits `json:"resourceLimits,omitempty"`
LaunchSpecScheduling *GKELaunchSpecScheduling `json:"scheduling,omitempty"`
LaunchSpecTags []string `json:"tags,omitempty"`

// forceSendFields is a list of field names (e.g. "Keys") to
// unconditionally include in API requests. By default, fields with
Expand Down Expand Up @@ -509,6 +510,13 @@ func (o *LaunchSpec) SetScheduling(v *GKELaunchSpecScheduling) *LaunchSpec {
return o
}

func (o *LaunchSpec) SetLaunchSpecTags(v []string) *LaunchSpec {
if o.LaunchSpecTags = v; o.LaunchSpecTags == nil {
o.nullFields = append(o.nullFields, "LaunchSpecTags")
}
return o
}

// endregion

// region Label
Expand Down

0 comments on commit 3c535b6

Please sign in to comment.