We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 76ffb5b commit eee80aeCopy full SHA for eee80ae
sumologic/sumologic_gcp_source.go
@@ -18,16 +18,16 @@ type GCPThirdPartyRef struct {
18
19
type GCPResource struct {
20
ServiceType string `json:"serviceType"`
21
- Authentication *GCPAuthentication `json:"authentication"`
22
- Path *GCPPath `json:"path"`
+ Authentication *GCPAuthentication `json:"authentication,omitempty"`
+ Path *GCPPath `json:"path,omitempty"`
23
}
24
25
type GCPAuthentication struct {
26
- Type string `json:"type,omitempty"`
+ Type string `json:"type"`
27
28
29
type GCPPath struct {
30
31
32
33
func (s *Client) CreateGCPSource(gcpSource GCPSource, collectorID int) (int, error) {
0 commit comments