Skip to content

Commit 9aaf543

Browse files
committedDec 4, 2024·
feat(api): api update (#3703)
1 parent 27079da commit 9aaf543

File tree

2 files changed

+25
-13
lines changed

2 files changed

+25
-13
lines changed
 

‎.stats.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
configured_endpoints: 1448
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-1fd56d8b296b94813055efeb0207b08e331534303d4967b674513550f33e0ccb.yml
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-5d9269029aa80ea06158ff1156ec30914cbeca10b8893ba9ef2df46511e10aae.yml

‎zero_trust/accessinfrastructuretarget.go

+24-12
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,8 @@ func (r accessInfrastructureTargetNewResponseIPJSON) RawJSON() string {
205205
type AccessInfrastructureTargetNewResponseIPIPV4 struct {
206206
// IP address of the target
207207
IPAddr string `json:"ip_addr"`
208-
// Private virtual network identifier for the target
208+
// (optional) Private virtual network identifier for the target. If omitted, the
209+
// default virtual network ID will be used.
209210
VirtualNetworkID string `json:"virtual_network_id" format:"uuid"`
210211
JSON accessInfrastructureTargetNewResponseIpipv4JSON `json:"-"`
211212
}
@@ -231,7 +232,8 @@ func (r accessInfrastructureTargetNewResponseIpipv4JSON) RawJSON() string {
231232
type AccessInfrastructureTargetNewResponseIPIPV6 struct {
232233
// IP address of the target
233234
IPAddr string `json:"ip_addr"`
234-
// Private virtual network identifier for the target
235+
// (optional) Private virtual network identifier for the target. If omitted, the
236+
// default virtual network ID will be used.
235237
VirtualNetworkID string `json:"virtual_network_id" format:"uuid"`
236238
JSON accessInfrastructureTargetNewResponseIpipv6JSON `json:"-"`
237239
}
@@ -317,7 +319,8 @@ func (r accessInfrastructureTargetUpdateResponseIPJSON) RawJSON() string {
317319
type AccessInfrastructureTargetUpdateResponseIPIPV4 struct {
318320
// IP address of the target
319321
IPAddr string `json:"ip_addr"`
320-
// Private virtual network identifier for the target
322+
// (optional) Private virtual network identifier for the target. If omitted, the
323+
// default virtual network ID will be used.
321324
VirtualNetworkID string `json:"virtual_network_id" format:"uuid"`
322325
JSON accessInfrastructureTargetUpdateResponseIpipv4JSON `json:"-"`
323326
}
@@ -343,7 +346,8 @@ func (r accessInfrastructureTargetUpdateResponseIpipv4JSON) RawJSON() string {
343346
type AccessInfrastructureTargetUpdateResponseIPIPV6 struct {
344347
// IP address of the target
345348
IPAddr string `json:"ip_addr"`
346-
// Private virtual network identifier for the target
349+
// (optional) Private virtual network identifier for the target. If omitted, the
350+
// default virtual network ID will be used.
347351
VirtualNetworkID string `json:"virtual_network_id" format:"uuid"`
348352
JSON accessInfrastructureTargetUpdateResponseIpipv6JSON `json:"-"`
349353
}
@@ -429,7 +433,8 @@ func (r accessInfrastructureTargetListResponseIPJSON) RawJSON() string {
429433
type AccessInfrastructureTargetListResponseIPIPV4 struct {
430434
// IP address of the target
431435
IPAddr string `json:"ip_addr"`
432-
// Private virtual network identifier for the target
436+
// (optional) Private virtual network identifier for the target. If omitted, the
437+
// default virtual network ID will be used.
433438
VirtualNetworkID string `json:"virtual_network_id" format:"uuid"`
434439
JSON accessInfrastructureTargetListResponseIpipv4JSON `json:"-"`
435440
}
@@ -455,7 +460,8 @@ func (r accessInfrastructureTargetListResponseIpipv4JSON) RawJSON() string {
455460
type AccessInfrastructureTargetListResponseIPIPV6 struct {
456461
// IP address of the target
457462
IPAddr string `json:"ip_addr"`
458-
// Private virtual network identifier for the target
463+
// (optional) Private virtual network identifier for the target. If omitted, the
464+
// default virtual network ID will be used.
459465
VirtualNetworkID string `json:"virtual_network_id" format:"uuid"`
460466
JSON accessInfrastructureTargetListResponseIpipv6JSON `json:"-"`
461467
}
@@ -541,7 +547,8 @@ func (r accessInfrastructureTargetGetResponseIPJSON) RawJSON() string {
541547
type AccessInfrastructureTargetGetResponseIPIPV4 struct {
542548
// IP address of the target
543549
IPAddr string `json:"ip_addr"`
544-
// Private virtual network identifier for the target
550+
// (optional) Private virtual network identifier for the target. If omitted, the
551+
// default virtual network ID will be used.
545552
VirtualNetworkID string `json:"virtual_network_id" format:"uuid"`
546553
JSON accessInfrastructureTargetGetResponseIpipv4JSON `json:"-"`
547554
}
@@ -567,7 +574,8 @@ func (r accessInfrastructureTargetGetResponseIpipv4JSON) RawJSON() string {
567574
type AccessInfrastructureTargetGetResponseIPIPV6 struct {
568575
// IP address of the target
569576
IPAddr string `json:"ip_addr"`
570-
// Private virtual network identifier for the target
577+
// (optional) Private virtual network identifier for the target. If omitted, the
578+
// default virtual network ID will be used.
571579
VirtualNetworkID string `json:"virtual_network_id" format:"uuid"`
572580
JSON accessInfrastructureTargetGetResponseIpipv6JSON `json:"-"`
573581
}
@@ -620,7 +628,8 @@ func (r AccessInfrastructureTargetNewParamsIP) MarshalJSON() (data []byte, err e
620628
type AccessInfrastructureTargetNewParamsIPIPV4 struct {
621629
// IP address of the target
622630
IPAddr param.Field[string] `json:"ip_addr"`
623-
// Private virtual network identifier for the target
631+
// (optional) Private virtual network identifier for the target. If omitted, the
632+
// default virtual network ID will be used.
624633
VirtualNetworkID param.Field[string] `json:"virtual_network_id" format:"uuid"`
625634
}
626635

@@ -632,7 +641,8 @@ func (r AccessInfrastructureTargetNewParamsIPIPV4) MarshalJSON() (data []byte, e
632641
type AccessInfrastructureTargetNewParamsIPIPV6 struct {
633642
// IP address of the target
634643
IPAddr param.Field[string] `json:"ip_addr"`
635-
// Private virtual network identifier for the target
644+
// (optional) Private virtual network identifier for the target. If omitted, the
645+
// default virtual network ID will be used.
636646
VirtualNetworkID param.Field[string] `json:"virtual_network_id" format:"uuid"`
637647
}
638648

@@ -714,7 +724,8 @@ func (r AccessInfrastructureTargetUpdateParamsIP) MarshalJSON() (data []byte, er
714724
type AccessInfrastructureTargetUpdateParamsIPIPV4 struct {
715725
// IP address of the target
716726
IPAddr param.Field[string] `json:"ip_addr"`
717-
// Private virtual network identifier for the target
727+
// (optional) Private virtual network identifier for the target. If omitted, the
728+
// default virtual network ID will be used.
718729
VirtualNetworkID param.Field[string] `json:"virtual_network_id" format:"uuid"`
719730
}
720731

@@ -726,7 +737,8 @@ func (r AccessInfrastructureTargetUpdateParamsIPIPV4) MarshalJSON() (data []byte
726737
type AccessInfrastructureTargetUpdateParamsIPIPV6 struct {
727738
// IP address of the target
728739
IPAddr param.Field[string] `json:"ip_addr"`
729-
// Private virtual network identifier for the target
740+
// (optional) Private virtual network identifier for the target. If omitted, the
741+
// default virtual network ID will be used.
730742
VirtualNetworkID param.Field[string] `json:"virtual_network_id" format:"uuid"`
731743
}
732744

0 commit comments

Comments
 (0)
Please sign in to comment.