Skip to content

Commit 0874d3d

Browse files
authored
Merge pull request #1384 from php-api-clients/GitHubEnterpriseCloud/from-1.1.4-ffee00135b8cfe1bdeb443e21e172f6d-from-1.1.4-ffee00135b8cfe1bdeb443e21e172f6d
2 parents 66abaf1 + 1aed351 commit 0874d3d

File tree

78 files changed

+5187
-1652
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

78 files changed

+5187
-1652
lines changed

clients/GitHubEnterpriseCloud/README.md

+118
Original file line numberDiff line numberDiff line change
@@ -2262,6 +2262,112 @@ $client->operations()->enterpriseAdmin()->getLicenseSyncStatus( enterpris
22622262
You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/license#get-a-license-sync-status).
22632263

22642264

2265+
### enterprise-admin/get-enterprise-custom-properties
2266+
2267+
Get custom properties for an enterprise
2268+
2269+
Using the `call` method:
2270+
```php
2271+
$client->call('GET /enterprises/{enterprise}/properties/schema', [
2272+
'enterprise' => 'generated',
2273+
]);
2274+
```
2275+
2276+
Operations method:
2277+
```php
2278+
$client->operations()->enterpriseAdmin()->getEnterpriseCustomProperties( enterprise: 'generated',
2279+
);
2280+
```
2281+
2282+
You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/custom-properties#get-custom-properties-for-an-enterprise).
2283+
2284+
2285+
### enterprise-admin/create-or-update-enterprise-custom-properties
2286+
2287+
Create or update custom properties for an enterprise
2288+
2289+
Using the `call` method:
2290+
```php
2291+
$client->call('PATCH /enterprises/{enterprise}/properties/schema', [
2292+
'enterprise' => 'generated',
2293+
]);
2294+
```
2295+
2296+
Operations method:
2297+
```php
2298+
$client->operations()->enterpriseAdmin()->createOrUpdateEnterpriseCustomProperties( enterprise: 'generated',
2299+
);
2300+
```
2301+
2302+
You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/custom-properties#create-or-update-custom-properties-for-an-enterprise).
2303+
2304+
2305+
### enterprise-admin/get-enterprise-custom-property
2306+
2307+
Get a custom property for an enterprise
2308+
2309+
Using the `call` method:
2310+
```php
2311+
$client->call('GET /enterprises/{enterprise}/properties/schema/{custom_property_name}', [
2312+
'enterprise' => 'generated',
2313+
'custom_property_name' => 'generated',
2314+
]);
2315+
```
2316+
2317+
Operations method:
2318+
```php
2319+
$client->operations()->enterpriseAdmin()->getEnterpriseCustomProperty( enterprise: 'generated',
2320+
custom_property_name: 'generated',
2321+
);
2322+
```
2323+
2324+
You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/custom-properties#get-a-custom-property-for-an-enterprise).
2325+
2326+
2327+
### enterprise-admin/create-or-update-enterprise-custom-property
2328+
2329+
Create or update a custom property for an enterprise
2330+
2331+
Using the `call` method:
2332+
```php
2333+
$client->call('PUT /enterprises/{enterprise}/properties/schema/{custom_property_name}', [
2334+
'enterprise' => 'generated',
2335+
'custom_property_name' => 'generated',
2336+
]);
2337+
```
2338+
2339+
Operations method:
2340+
```php
2341+
$client->operations()->enterpriseAdmin()->createOrUpdateEnterpriseCustomProperty( enterprise: 'generated',
2342+
custom_property_name: 'generated',
2343+
);
2344+
```
2345+
2346+
You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/custom-properties#create-or-update-a-custom-property-for-an-enterprise).
2347+
2348+
2349+
### enterprise-admin/remove-enterprise-custom-property
2350+
2351+
Remove a custom property for an enterprise
2352+
2353+
Using the `call` method:
2354+
```php
2355+
$client->call('DELETE /enterprises/{enterprise}/properties/schema/{custom_property_name}', [
2356+
'enterprise' => 'generated',
2357+
'custom_property_name' => 'generated',
2358+
]);
2359+
```
2360+
2361+
Operations method:
2362+
```php
2363+
$client->operations()->enterpriseAdmin()->removeEnterpriseCustomProperty( enterprise: 'generated',
2364+
custom_property_name: 'generated',
2365+
);
2366+
```
2367+
2368+
You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/custom-properties#remove-a-custom-property-for-an-enterprise).
2369+
2370+
22652371
### secret-scanning/list-alerts-for-enterprise
22662372

22672373
List secret scanning alerts for an enterprise
@@ -7487,6 +7593,7 @@ $client->call('GET /orgs/{org}/insights/api/route-stats/{actor_type}/{actor_id}'
74877593
'min_timestamp' => 'generated',
74887594
'max_timestamp' => 'generated',
74897595
'sort' => ,
7596+
'api_route_substring' => 'generated',
74907597
'page' => 1,
74917598
'per_page' => 8,
74927599
'direction' => 'generated',
@@ -7501,6 +7608,7 @@ $client->operations()->apiInsights()->getRouteStatsByActor( org: 'generat
75017608
min_timestamp: 'generated',
75027609
max_timestamp: 'generated',
75037610
sort: ,
7611+
api_route_substring: 'generated',
75047612
page: 1,
75057613
per_page: 8,
75067614
direction: 'generated',
@@ -7523,6 +7631,7 @@ $client->call('LIST /orgs/{org}/insights/api/route-stats/{actor_type}/{actor_id}
75237631
'min_timestamp' => 'generated',
75247632
'max_timestamp' => 'generated',
75257633
'sort' => ,
7634+
'api_route_substring' => 'generated',
75267635
'page' => 1,
75277636
'per_page' => 8,
75287637
'direction' => 'generated',
@@ -7537,6 +7646,7 @@ $client->operations()->apiInsights()->getRouteStatsByActorListing( org: '
75377646
min_timestamp: 'generated',
75387647
max_timestamp: 'generated',
75397648
sort: ,
7649+
api_route_substring: 'generated',
75407650
page: 1,
75417651
per_page: 8,
75427652
direction: 'generated',
@@ -7557,6 +7667,7 @@ $client->call('GET /orgs/{org}/insights/api/subject-stats', [
75577667
'min_timestamp' => 'generated',
75587668
'max_timestamp' => 'generated',
75597669
'sort' => ,
7670+
'subject_name_substring' => 'generated',
75607671
'page' => 1,
75617672
'per_page' => 8,
75627673
'direction' => 'generated',
@@ -7569,6 +7680,7 @@ $client->operations()->apiInsights()->getSubjectStats( org: 'generated',
75697680
min_timestamp: 'generated',
75707681
max_timestamp: 'generated',
75717682
sort: ,
7683+
subject_name_substring: 'generated',
75727684
page: 1,
75737685
per_page: 8,
75747686
direction: 'generated',
@@ -7589,6 +7701,7 @@ $client->call('LIST /orgs/{org}/insights/api/subject-stats', [
75897701
'min_timestamp' => 'generated',
75907702
'max_timestamp' => 'generated',
75917703
'sort' => ,
7704+
'subject_name_substring' => 'generated',
75927705
'page' => 1,
75937706
'per_page' => 8,
75947707
'direction' => 'generated',
@@ -7601,6 +7714,7 @@ $client->operations()->apiInsights()->getSubjectStatsListing( org: 'gener
76017714
min_timestamp: 'generated',
76027715
max_timestamp: 'generated',
76037716
sort: ,
7717+
subject_name_substring: 'generated',
76047718
page: 1,
76057719
per_page: 8,
76067720
direction: 'generated',
@@ -7784,6 +7898,7 @@ $client->call('GET /orgs/{org}/insights/api/user-stats/{user_id}', [
77847898
'min_timestamp' => 'generated',
77857899
'max_timestamp' => 'generated',
77867900
'sort' => ,
7901+
'actor_name_substring' => 'generated',
77877902
'page' => 1,
77887903
'per_page' => 8,
77897904
'direction' => 'generated',
@@ -7797,6 +7912,7 @@ $client->operations()->apiInsights()->getUserStats( org: 'generated',
77977912
min_timestamp: 'generated',
77987913
max_timestamp: 'generated',
77997914
sort: ,
7915+
actor_name_substring: 'generated',
78007916
page: 1,
78017917
per_page: 8,
78027918
direction: 'generated',
@@ -7818,6 +7934,7 @@ $client->call('LIST /orgs/{org}/insights/api/user-stats/{user_id}', [
78187934
'min_timestamp' => 'generated',
78197935
'max_timestamp' => 'generated',
78207936
'sort' => ,
7937+
'actor_name_substring' => 'generated',
78217938
'page' => 1,
78227939
'per_page' => 8,
78237940
'direction' => 'generated',
@@ -7831,6 +7948,7 @@ $client->operations()->apiInsights()->getUserStatsListing( org: 'generate
78317948
min_timestamp: 'generated',
78327949
max_timestamp: 'generated',
78337950
sort: ,
7951+
actor_name_substring: 'generated',
78347952
page: 1,
78357953
per_page: 8,
78367954
direction: 'generated',

0 commit comments

Comments
 (0)