Skip to content

Commit 80883d2

Browse files
meraki-release-bot[bot]GitHub Action
andauthored
Auto-generated library v4.6.0b0 for API v1.75.0-beta.0. (#502)
Co-authored-by: GitHub Action <support@meraki.com>
1 parent 30de403 commit 80883d2

17 files changed

Lines changed: 2001 additions & 167 deletions

‎docs/generation-report.md‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# Generation Report
22

3+
## 2026-10-07 | Library v4.6.0b0 | API 1.75.0-beta.0
4+
5+
6+
No Python keyword parameter conflicts detected.
7+
8+
39
## 2026-09-30 | Library v4.5.0b4 | API 1.74.0-beta.4
410

511

‎meraki/__init__.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
from meraki.exceptions import APIError, APIKeyError, APIResponseError, AsyncAPIError
5858
from meraki.rest_session import RestSession
5959

60-
__api_version__ = "1.74.0-beta.4"
60+
__api_version__ = "1.75.0-beta.0"
6161

6262
__all__ = [
6363
"APIError",

‎meraki/_version.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "4.5.0b4"
1+
__version__ = "4.6.0b0"

‎meraki/aio/api/campusGateway.py‎

Lines changed: 60 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -759,6 +759,7 @@ def getOrganizationCampusGatewayConnections(self, organizationId: str, total_pag
759759
- campusGatewaySerials (array): Optional parameter to filter connections(APs) by MCG serials. This filter uses multiple exact matches.
760760
- campusGatewayClusterIds (array): Optional parameter to filter connections(APs) by MCG cluster IDs. This filter uses multiple exact matches.
761761
- campusGatewayTunnelStatuses (array): Optional parameter to filter connections(APs) by tunnel statuses. This filter uses multiple exact matches.
762+
- campusGatewayPriorities (array): Optional parameter to filter connections(APs) by Campus Gateway tunnel priority. Use 0 for primary or 1 for backup. This filter uses multiple exact matches.
762763
- search (string): Optional parameter to filter connections(APs) on AP name, serial, MAC address, network name, or interface IP address. This filter uses partial string matching (ILIKE).
763764
- models (array): Optional parameter to filter connections(APs) by device model names. This filter uses multiple exact matches.
764765
- dataEncryptionStatuses (array): Optional parameter to filter connections(APs) by data encryption status. This filter uses multiple exact matches.
@@ -795,6 +796,7 @@ def getOrganizationCampusGatewayConnections(self, organizationId: str, total_pag
795796
"campusGatewaySerials",
796797
"campusGatewayClusterIds",
797798
"campusGatewayTunnelStatuses",
799+
"campusGatewayPriorities",
798800
"search",
799801
"models",
800802
"dataEncryptionStatuses",
@@ -812,6 +814,7 @@ def getOrganizationCampusGatewayConnections(self, organizationId: str, total_pag
812814
"campusGatewaySerials",
813815
"campusGatewayClusterIds",
814816
"campusGatewayTunnelStatuses",
817+
"campusGatewayPriorities",
815818
"models",
816819
"dataEncryptionStatuses",
817820
]
@@ -841,6 +844,7 @@ def getOrganizationCampusGatewayConnectionsOverview(self, organizationId: str, *
841844
- campusGatewaySerials (array): Optional parameter to filter connections(APs) by Campus Gateway serials. This filter uses multiple exact matches.
842845
- campusGatewayClusterIds (array): Optional parameter to filter connections(APs) by Campus Gateway cluster IDs. This filter uses multiple exact matches.
843846
- campusGatewayTunnelStatuses (array): Optional parameter to filter connections(APs) by tunnel statuses. This filter uses multiple exact matches.
847+
- campusGatewayPriorities (array): Optional parameter to filter connections(APs) by Campus Gateway tunnel priority. Use 0 for primary or 1 for backup. This filter uses multiple exact matches.
844848
- search (string): Optional setting that lets you filter access points (APs) by name, serial number, MAC address, network name, or interface IP address. The filter matches partial text, not just exact values (uses ILIKE matching).
845849
- models (array): Optional parameter to filter connections(APs) by device model names. This filter uses multiple exact matches.
846850
- dataEncryptionStatuses (array): Optional parameter to filter connections(APs) by data encryption status. This filter uses multiple exact matches.
@@ -861,6 +865,7 @@ def getOrganizationCampusGatewayConnectionsOverview(self, organizationId: str, *
861865
"campusGatewaySerials",
862866
"campusGatewayClusterIds",
863867
"campusGatewayTunnelStatuses",
868+
"campusGatewayPriorities",
864869
"search",
865870
"models",
866871
"dataEncryptionStatuses",
@@ -873,6 +878,7 @@ def getOrganizationCampusGatewayConnectionsOverview(self, organizationId: str, *
873878
"campusGatewaySerials",
874879
"campusGatewayClusterIds",
875880
"campusGatewayTunnelStatuses",
881+
"campusGatewayPriorities",
876882
"models",
877883
"dataEncryptionStatuses",
878884
]
@@ -891,6 +897,58 @@ def getOrganizationCampusGatewayConnectionsOverview(self, organizationId: str, *
891897

892898
return self._session.get(metadata, resource, params)
893899

900+
def getOrganizationCampusGatewayDevicesSystemCpuLoad(self, organizationId: str, total_pages=1, direction="next", **kwargs):
901+
"""
902+
**Return the latest CPU load averages reported by Campus Gateway devices.**
903+
https://developer.cisco.com/meraki/api-v1/#!get-organization-campus-gateway-devices-system-cpu-load
904+
905+
- organizationId (string): Organization ID
906+
- total_pages (integer or string): use with perPage to get total results up to total_pages*perPage; -1 or "all" for all pages
907+
- direction (string): direction to paginate, either "next" (default) or "prev" page
908+
- networkIds (array): Optional exact-match network filters. Accepts both node group (N_) and locale (L_) network IDs.
909+
- serials (array): Optional exact-match Campus Gateway serial filters.
910+
- perPage (integer): The number of entries per page returned. Acceptable range is 3 - 1000. Default is 1000.
911+
- startingAfter (string): A token used by the server to indicate the start of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it.
912+
- endingBefore (string): A token used by the server to indicate the end of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it.
913+
"""
914+
915+
kwargs.update(locals())
916+
917+
metadata = {
918+
"tags": ["campusGateway", "monitor", "devices", "system", "cpu", "load"],
919+
"operation": "getOrganizationCampusGatewayDevicesSystemCpuLoad",
920+
}
921+
organizationId = urllib.parse.quote(str(organizationId), safe="")
922+
resource = f"/organizations/{organizationId}/campusGateway/devices/system/cpu/load"
923+
924+
query_params = [
925+
"networkIds",
926+
"serials",
927+
"perPage",
928+
"startingAfter",
929+
"endingBefore",
930+
]
931+
params = {k.strip(): v for k, v in kwargs.items() if k.strip() in query_params}
932+
933+
array_params = [
934+
"networkIds",
935+
"serials",
936+
]
937+
for k, v in kwargs.items():
938+
if k.strip() in array_params:
939+
params[f"{k.strip()}[]"] = kwargs[f"{k}"]
940+
params.pop(k.strip())
941+
942+
if self._session._validate_kwargs:
943+
all_params = query_params + array_params
944+
invalid = [k for k in kwargs if k.strip() not in all_params and k != "self"]
945+
if invalid and self._session._logger:
946+
self._session._logger.warning(
947+
f"getOrganizationCampusGatewayDevicesSystemCpuLoad: ignoring unrecognized kwargs: {invalid}"
948+
)
949+
950+
return self._session.get_pages(metadata, resource, params, total_pages, direction)
951+
894952
def getOrganizationCampusGatewayDevicesUplinksLocalOverridesByDevice(
895953
self, organizationId: str, total_pages=1, direction="next", **kwargs
896954
):
@@ -1060,7 +1118,7 @@ def createOrganizationCampusGatewayMdnsServicesCustom(self, organizationId: str,
10601118
10611119
- organizationId (string): Organization ID
10621120
- name (string): Display name of the custom mDNS service.
1063-
- types (array): One to ten DNS-SD service types. Accepted shorthand is normalized by the API.
1121+
- types (array): DNS-SD service types. Accepted shorthand is normalized by the API.
10641122
"""
10651123

10661124
kwargs = locals()
@@ -1096,7 +1154,7 @@ def updateOrganizationCampusGatewayMdnsServicesCustom(self, organizationId: str,
10961154
- organizationId (string): Organization ID
10971155
- key (string): Key
10981156
- name (string): Updated display name of the custom mDNS service.
1099-
- types (array): Replacement ordered list of one to ten DNS-SD service types.
1157+
- types (array): Replacement ordered list of DNS-SD service types.
11001158
"""
11011159

11021160
kwargs.update(locals())

0 commit comments

Comments
 (0)