Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .stats.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
configured_endpoints: 1330
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-99efdcf5060f25ba1576729a151acb2726725a177dca035edc656df1c7bfdf0b.yml
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-6a6cdd177549929eb7cd114d80ea1dac5ffd4e70b7f48f8aa8d590590c5c8448.yml
16 changes: 12 additions & 4 deletions src/cloudflare/resources/dns/records.py
Original file line number Diff line number Diff line change
Expand Up @@ -1995,10 +1995,10 @@ def list(
*,
zone_id: str,
comment: record_list_params.Comment | NotGiven = NOT_GIVEN,
content: record_list_params.Content | NotGiven = NOT_GIVEN,
content: str | NotGiven = NOT_GIVEN,
direction: SortDirection | NotGiven = NOT_GIVEN,
match: Literal["any", "all"] | NotGiven = NOT_GIVEN,
name: record_list_params.Name | NotGiven = NOT_GIVEN,
name: str | NotGiven = NOT_GIVEN,
order: Literal["type", "name", "content", "ttl", "proxied"] | NotGiven = NOT_GIVEN,
page: float | NotGiven = NOT_GIVEN,
per_page: float | NotGiven = NOT_GIVEN,
Expand Down Expand Up @@ -2043,13 +2043,17 @@ def list(
Args:
zone_id: Identifier

content: DNS record content.

direction: Direction to order DNS records in.

match: Whether to match all search requirements or at least one (any). If set to `all`,
acts like a logical AND between filters. If set to `any`, acts like a logical OR
instead. Note that the interaction between tag filters is controlled by the
`tag-match` parameter instead.

name: DNS record name (or @ for the zone apex) in Punycode.

order: Field to order DNS records by.

page: Page number of paginated results.
Expand Down Expand Up @@ -5289,10 +5293,10 @@ def list(
*,
zone_id: str,
comment: record_list_params.Comment | NotGiven = NOT_GIVEN,
content: record_list_params.Content | NotGiven = NOT_GIVEN,
content: str | NotGiven = NOT_GIVEN,
direction: SortDirection | NotGiven = NOT_GIVEN,
match: Literal["any", "all"] | NotGiven = NOT_GIVEN,
name: record_list_params.Name | NotGiven = NOT_GIVEN,
name: str | NotGiven = NOT_GIVEN,
order: Literal["type", "name", "content", "ttl", "proxied"] | NotGiven = NOT_GIVEN,
page: float | NotGiven = NOT_GIVEN,
per_page: float | NotGiven = NOT_GIVEN,
Expand Down Expand Up @@ -5337,13 +5341,17 @@ def list(
Args:
zone_id: Identifier

content: DNS record content.

direction: Direction to order DNS records in.

match: Whether to match all search requirements or at least one (any). If set to `all`,
acts like a logical AND between filters. If set to `any`, acts like a logical OR
instead. Note that the interaction between tag filters is controlled by the
`tag-match` parameter instead.

name: DNS record name (or @ for the zone apex) in Punycode.

order: Field to order DNS records by.

page: Page number of paginated results.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,9 @@ def get(
produced.

Args:
account_id: Identifier.
account_id: Identifier

bucket_name: Identifier.
bucket_name: Identifier

extra_headers: Send extra headers

Expand Down Expand Up @@ -141,9 +141,9 @@ async def get(
produced.

Args:
account_id: Identifier.
account_id: Identifier

bucket_name: Identifier.
bucket_name: Identifier

extra_headers: Send extra headers

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,11 +67,11 @@ def update(
production.

Args:
account_id: Identifier.
account_id: Identifier

bucket_name: Identifier.
bucket_name: Identifier

queue_id: Identifier.
queue_id: Identifier

rules: Array of rules to drive notifications

Expand Down Expand Up @@ -121,11 +121,11 @@ def delete(
further notifications will be produced for the queue once complete.

Args:
account_id: Identifier.
account_id: Identifier

bucket_name: Identifier.
bucket_name: Identifier

queue_id: Identifier.
queue_id: Identifier

extra_headers: Send extra headers

Expand Down Expand Up @@ -198,11 +198,11 @@ async def update(
production.

Args:
account_id: Identifier.
account_id: Identifier

bucket_name: Identifier.
bucket_name: Identifier

queue_id: Identifier.
queue_id: Identifier

rules: Array of rules to drive notifications

Expand Down Expand Up @@ -252,11 +252,11 @@ async def delete(
further notifications will be produced for the queue once complete.

Args:
account_id: Identifier.
account_id: Identifier

bucket_name: Identifier.
bucket_name: Identifier

queue_id: Identifier.
queue_id: Identifier

extra_headers: Send extra headers

Expand Down
40 changes: 20 additions & 20 deletions src/cloudflare/resources/queues/consumers.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,9 @@ def create(
Creates a new consumer for a queue.

Args:
account_id: Identifier.
account_id: Identifier

queue_id: Identifier.
queue_id: Identifier

extra_headers: Send extra headers

Expand Down Expand Up @@ -114,11 +114,11 @@ def update(
Updates the consumer for a queue, or creates one if it does not exist.

Args:
account_id: Identifier.
account_id: Identifier

queue_id: Identifier.
queue_id: Identifier

consumer_id: Identifier.
consumer_id: Identifier

extra_headers: Send extra headers

Expand Down Expand Up @@ -164,11 +164,11 @@ def delete(
Deletes the consumer for a queue.

Args:
account_id: Identifier.
account_id: Identifier

queue_id: Identifier.
queue_id: Identifier

consumer_id: Identifier.
consumer_id: Identifier

extra_headers: Send extra headers

Expand Down Expand Up @@ -217,9 +217,9 @@ def get(
Returns the consumers for a queue.

Args:
account_id: Identifier.
account_id: Identifier

queue_id: Identifier.
queue_id: Identifier

extra_headers: Send extra headers

Expand Down Expand Up @@ -283,9 +283,9 @@ async def create(
Creates a new consumer for a queue.

Args:
account_id: Identifier.
account_id: Identifier

queue_id: Identifier.
queue_id: Identifier

extra_headers: Send extra headers

Expand Down Expand Up @@ -330,11 +330,11 @@ async def update(
Updates the consumer for a queue, or creates one if it does not exist.

Args:
account_id: Identifier.
account_id: Identifier

queue_id: Identifier.
queue_id: Identifier

consumer_id: Identifier.
consumer_id: Identifier

extra_headers: Send extra headers

Expand Down Expand Up @@ -380,11 +380,11 @@ async def delete(
Deletes the consumer for a queue.

Args:
account_id: Identifier.
account_id: Identifier

queue_id: Identifier.
queue_id: Identifier

consumer_id: Identifier.
consumer_id: Identifier

extra_headers: Send extra headers

Expand Down Expand Up @@ -433,9 +433,9 @@ async def get(
Returns the consumers for a queue.

Args:
account_id: Identifier.
account_id: Identifier

queue_id: Identifier.
queue_id: Identifier

extra_headers: Send extra headers

Expand Down
16 changes: 8 additions & 8 deletions src/cloudflare/resources/queues/messages.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,9 @@ def ack(
Acknowledge + Retry messages from a Queue.

Args:
account_id: Identifier.
account_id: Identifier

queue_id: Identifier.
queue_id: Identifier

extra_headers: Send extra headers

Expand Down Expand Up @@ -119,9 +119,9 @@ def pull(
Pull a batch of messages from a Queue.

Args:
account_id: Identifier.
account_id: Identifier

queue_id: Identifier.
queue_id: Identifier

batch_size: The maximum number of messages to include in a batch.

Expand Down Expand Up @@ -198,9 +198,9 @@ async def ack(
Acknowledge + Retry messages from a Queue.

Args:
account_id: Identifier.
account_id: Identifier

queue_id: Identifier.
queue_id: Identifier

extra_headers: Send extra headers

Expand Down Expand Up @@ -251,9 +251,9 @@ async def pull(
Pull a batch of messages from a Queue.

Args:
account_id: Identifier.
account_id: Identifier

queue_id: Identifier.
queue_id: Identifier

batch_size: The maximum number of messages to include in a batch.

Expand Down
Loading