Skip to content

Commit b115142

Browse files
feat(api): api update
1 parent c79d831 commit b115142

File tree

7 files changed

+68
-44
lines changed

7 files changed

+68
-44
lines changed

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 1791
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-04598b2a76abd8c4bd5004d99b78cca95c8875378e3dfe9ed3694aa4cc498a7a.yml
3-
openapi_spec_hash: 7406209d814d3c3df2c293018e615083
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-a049f02057be457955eb8cb3db64ec8d94091674ee1169ada9e9cfcda180d693.yml
3+
openapi_spec_hash: 9bc9cd7b48ee53676b69cb181d54674b
44
config_hash: de4c81cee29cd7dd907279e8916b334f

src/cloudflare/types/zero_trust/gateway/certificate_activate_response.py

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,33 +14,37 @@ class CertificateActivateResponse(BaseModel):
1414
"""Certificate UUID tag."""
1515

1616
binding_status: Optional[Literal["pending_deployment", "available", "pending_deletion", "inactive"]] = None
17-
"""The deployment status of the certificate on Cloudflare's edge.
17+
"""The read only deployment status of the certificate on Cloudflare's edge.
1818
1919
Certificates in the 'available' (previously called 'active') state may be used
2020
for Gateway TLS interception.
2121
"""
2222

2323
certificate: Optional[str] = None
24-
"""The CA certificate"""
24+
"""The CA certificate(read only)."""
2525

2626
created_at: Optional[datetime] = None
2727

2828
expires_on: Optional[datetime] = None
2929

3030
fingerprint: Optional[str] = None
31-
"""The SHA256 fingerprint of the certificate."""
31+
"""The SHA256 fingerprint of the certificate(read only)."""
3232

3333
in_use: Optional[bool] = None
34-
"""Use this certificate for Gateway TLS interception"""
34+
"""
35+
Read-only field that shows whether Gateway TLS interception is using this
36+
certificate. This value cannot be set directly. To configure the certificate for
37+
interception, use the Gateway configuration setting named certificate.
38+
"""
3539

3640
issuer_org: Optional[str] = None
37-
"""The organization that issued the certificate."""
41+
"""The organization that issued the certificate(read only)."""
3842

3943
issuer_raw: Optional[str] = None
40-
"""The entire issuer field of the certificate."""
44+
"""The entire issuer field of the certificate(read only)."""
4145

4246
type: Optional[Literal["custom", "gateway_managed"]] = None
43-
"""The type of certificate, either BYO-PKI (custom) or Gateway-managed."""
47+
"""The type of certificate, either BYO-PKI (custom) or Gateway-managed(read only)."""
4448

4549
updated_at: Optional[datetime] = None
4650

src/cloudflare/types/zero_trust/gateway/certificate_create_response.py

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,33 +14,37 @@ class CertificateCreateResponse(BaseModel):
1414
"""Certificate UUID tag."""
1515

1616
binding_status: Optional[Literal["pending_deployment", "available", "pending_deletion", "inactive"]] = None
17-
"""The deployment status of the certificate on Cloudflare's edge.
17+
"""The read only deployment status of the certificate on Cloudflare's edge.
1818
1919
Certificates in the 'available' (previously called 'active') state may be used
2020
for Gateway TLS interception.
2121
"""
2222

2323
certificate: Optional[str] = None
24-
"""The CA certificate"""
24+
"""The CA certificate(read only)."""
2525

2626
created_at: Optional[datetime] = None
2727

2828
expires_on: Optional[datetime] = None
2929

3030
fingerprint: Optional[str] = None
31-
"""The SHA256 fingerprint of the certificate."""
31+
"""The SHA256 fingerprint of the certificate(read only)."""
3232

3333
in_use: Optional[bool] = None
34-
"""Use this certificate for Gateway TLS interception"""
34+
"""
35+
Read-only field that shows whether Gateway TLS interception is using this
36+
certificate. This value cannot be set directly. To configure the certificate for
37+
interception, use the Gateway configuration setting named certificate.
38+
"""
3539

3640
issuer_org: Optional[str] = None
37-
"""The organization that issued the certificate."""
41+
"""The organization that issued the certificate(read only)."""
3842

3943
issuer_raw: Optional[str] = None
40-
"""The entire issuer field of the certificate."""
44+
"""The entire issuer field of the certificate(read only)."""
4145

4246
type: Optional[Literal["custom", "gateway_managed"]] = None
43-
"""The type of certificate, either BYO-PKI (custom) or Gateway-managed."""
47+
"""The type of certificate, either BYO-PKI (custom) or Gateway-managed(read only)."""
4448

4549
updated_at: Optional[datetime] = None
4650

src/cloudflare/types/zero_trust/gateway/certificate_deactivate_response.py

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,33 +14,37 @@ class CertificateDeactivateResponse(BaseModel):
1414
"""Certificate UUID tag."""
1515

1616
binding_status: Optional[Literal["pending_deployment", "available", "pending_deletion", "inactive"]] = None
17-
"""The deployment status of the certificate on Cloudflare's edge.
17+
"""The read only deployment status of the certificate on Cloudflare's edge.
1818
1919
Certificates in the 'available' (previously called 'active') state may be used
2020
for Gateway TLS interception.
2121
"""
2222

2323
certificate: Optional[str] = None
24-
"""The CA certificate"""
24+
"""The CA certificate(read only)."""
2525

2626
created_at: Optional[datetime] = None
2727

2828
expires_on: Optional[datetime] = None
2929

3030
fingerprint: Optional[str] = None
31-
"""The SHA256 fingerprint of the certificate."""
31+
"""The SHA256 fingerprint of the certificate(read only)."""
3232

3333
in_use: Optional[bool] = None
34-
"""Use this certificate for Gateway TLS interception"""
34+
"""
35+
Read-only field that shows whether Gateway TLS interception is using this
36+
certificate. This value cannot be set directly. To configure the certificate for
37+
interception, use the Gateway configuration setting named certificate.
38+
"""
3539

3640
issuer_org: Optional[str] = None
37-
"""The organization that issued the certificate."""
41+
"""The organization that issued the certificate(read only)."""
3842

3943
issuer_raw: Optional[str] = None
40-
"""The entire issuer field of the certificate."""
44+
"""The entire issuer field of the certificate(read only)."""
4145

4246
type: Optional[Literal["custom", "gateway_managed"]] = None
43-
"""The type of certificate, either BYO-PKI (custom) or Gateway-managed."""
47+
"""The type of certificate, either BYO-PKI (custom) or Gateway-managed(read only)."""
4448

4549
updated_at: Optional[datetime] = None
4650

src/cloudflare/types/zero_trust/gateway/certificate_delete_response.py

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,33 +14,37 @@ class CertificateDeleteResponse(BaseModel):
1414
"""Certificate UUID tag."""
1515

1616
binding_status: Optional[Literal["pending_deployment", "available", "pending_deletion", "inactive"]] = None
17-
"""The deployment status of the certificate on Cloudflare's edge.
17+
"""The read only deployment status of the certificate on Cloudflare's edge.
1818
1919
Certificates in the 'available' (previously called 'active') state may be used
2020
for Gateway TLS interception.
2121
"""
2222

2323
certificate: Optional[str] = None
24-
"""The CA certificate"""
24+
"""The CA certificate(read only)."""
2525

2626
created_at: Optional[datetime] = None
2727

2828
expires_on: Optional[datetime] = None
2929

3030
fingerprint: Optional[str] = None
31-
"""The SHA256 fingerprint of the certificate."""
31+
"""The SHA256 fingerprint of the certificate(read only)."""
3232

3333
in_use: Optional[bool] = None
34-
"""Use this certificate for Gateway TLS interception"""
34+
"""
35+
Read-only field that shows whether Gateway TLS interception is using this
36+
certificate. This value cannot be set directly. To configure the certificate for
37+
interception, use the Gateway configuration setting named certificate.
38+
"""
3539

3640
issuer_org: Optional[str] = None
37-
"""The organization that issued the certificate."""
41+
"""The organization that issued the certificate(read only)."""
3842

3943
issuer_raw: Optional[str] = None
40-
"""The entire issuer field of the certificate."""
44+
"""The entire issuer field of the certificate(read only)."""
4145

4246
type: Optional[Literal["custom", "gateway_managed"]] = None
43-
"""The type of certificate, either BYO-PKI (custom) or Gateway-managed."""
47+
"""The type of certificate, either BYO-PKI (custom) or Gateway-managed(read only)."""
4448

4549
updated_at: Optional[datetime] = None
4650

src/cloudflare/types/zero_trust/gateway/certificate_get_response.py

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,33 +14,37 @@ class CertificateGetResponse(BaseModel):
1414
"""Certificate UUID tag."""
1515

1616
binding_status: Optional[Literal["pending_deployment", "available", "pending_deletion", "inactive"]] = None
17-
"""The deployment status of the certificate on Cloudflare's edge.
17+
"""The read only deployment status of the certificate on Cloudflare's edge.
1818
1919
Certificates in the 'available' (previously called 'active') state may be used
2020
for Gateway TLS interception.
2121
"""
2222

2323
certificate: Optional[str] = None
24-
"""The CA certificate"""
24+
"""The CA certificate(read only)."""
2525

2626
created_at: Optional[datetime] = None
2727

2828
expires_on: Optional[datetime] = None
2929

3030
fingerprint: Optional[str] = None
31-
"""The SHA256 fingerprint of the certificate."""
31+
"""The SHA256 fingerprint of the certificate(read only)."""
3232

3333
in_use: Optional[bool] = None
34-
"""Use this certificate for Gateway TLS interception"""
34+
"""
35+
Read-only field that shows whether Gateway TLS interception is using this
36+
certificate. This value cannot be set directly. To configure the certificate for
37+
interception, use the Gateway configuration setting named certificate.
38+
"""
3539

3640
issuer_org: Optional[str] = None
37-
"""The organization that issued the certificate."""
41+
"""The organization that issued the certificate(read only)."""
3842

3943
issuer_raw: Optional[str] = None
40-
"""The entire issuer field of the certificate."""
44+
"""The entire issuer field of the certificate(read only)."""
4145

4246
type: Optional[Literal["custom", "gateway_managed"]] = None
43-
"""The type of certificate, either BYO-PKI (custom) or Gateway-managed."""
47+
"""The type of certificate, either BYO-PKI (custom) or Gateway-managed(read only)."""
4448

4549
updated_at: Optional[datetime] = None
4650

src/cloudflare/types/zero_trust/gateway/certificate_list_response.py

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,33 +14,37 @@ class CertificateListResponse(BaseModel):
1414
"""Certificate UUID tag."""
1515

1616
binding_status: Optional[Literal["pending_deployment", "available", "pending_deletion", "inactive"]] = None
17-
"""The deployment status of the certificate on Cloudflare's edge.
17+
"""The read only deployment status of the certificate on Cloudflare's edge.
1818
1919
Certificates in the 'available' (previously called 'active') state may be used
2020
for Gateway TLS interception.
2121
"""
2222

2323
certificate: Optional[str] = None
24-
"""The CA certificate"""
24+
"""The CA certificate(read only)."""
2525

2626
created_at: Optional[datetime] = None
2727

2828
expires_on: Optional[datetime] = None
2929

3030
fingerprint: Optional[str] = None
31-
"""The SHA256 fingerprint of the certificate."""
31+
"""The SHA256 fingerprint of the certificate(read only)."""
3232

3333
in_use: Optional[bool] = None
34-
"""Use this certificate for Gateway TLS interception"""
34+
"""
35+
Read-only field that shows whether Gateway TLS interception is using this
36+
certificate. This value cannot be set directly. To configure the certificate for
37+
interception, use the Gateway configuration setting named certificate.
38+
"""
3539

3640
issuer_org: Optional[str] = None
37-
"""The organization that issued the certificate."""
41+
"""The organization that issued the certificate(read only)."""
3842

3943
issuer_raw: Optional[str] = None
40-
"""The entire issuer field of the certificate."""
44+
"""The entire issuer field of the certificate(read only)."""
4145

4246
type: Optional[Literal["custom", "gateway_managed"]] = None
43-
"""The type of certificate, either BYO-PKI (custom) or Gateway-managed."""
47+
"""The type of certificate, either BYO-PKI (custom) or Gateway-managed(read only)."""
4448

4549
updated_at: Optional[datetime] = None
4650

0 commit comments

Comments
 (0)