Skip to content

Commit a7e77e5

Browse files
authored
Merge pull request #1155 from php-api-clients/GitHubEnterpriseCloud/from-1.1.4-e77b680b3214215462812e98f9e1d492-from-1.1.4-e77b680b3214215462812e98f9e1d492
2 parents 6e21be2 + 433b503 commit a7e77e5

File tree

153 files changed

+33343
-32102
lines changed

Some content is hidden

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

153 files changed

+33343
-32102
lines changed

clients/GitHubEnterpriseCloud/README.md

Lines changed: 172 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1934,6 +1934,62 @@ $client->operations()->enterpriseAdmin()->getConsumedLicenses( enterprise
19341934
You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/license#list-enterprise-consumed-licenses).
19351935

19361936

1937+
### copilot/usage-metrics-for-enterprise
1938+
1939+
Get a summary of Copilot usage for enterprise members
1940+
1941+
Using the `call` method:
1942+
```php
1943+
$client->call('GET /enterprises/{enterprise}/copilot/usage', [
1944+
'enterprise' => 'generated',
1945+
'since' => 'generated',
1946+
'until' => 'generated',
1947+
'page' => 1,
1948+
'per_page' => 8,
1949+
]);
1950+
```
1951+
1952+
Operations method:
1953+
```php
1954+
$client->operations()->copilot()->usageMetricsForEnterprise( enterprise: 'generated',
1955+
since: 'generated',
1956+
until: 'generated',
1957+
page: 1,
1958+
per_page: 8,
1959+
);
1960+
```
1961+
1962+
You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-usage#get-a-summary-of-copilot-usage-for-enterprise-members).
1963+
1964+
1965+
### copilot/usage-metrics-for-enterprise
1966+
1967+
Get a summary of Copilot usage for enterprise members
1968+
1969+
Using the `call` method:
1970+
```php
1971+
$client->call('LIST /enterprises/{enterprise}/copilot/usage', [
1972+
'enterprise' => 'generated',
1973+
'since' => 'generated',
1974+
'until' => 'generated',
1975+
'page' => 1,
1976+
'per_page' => 8,
1977+
]);
1978+
```
1979+
1980+
Operations method:
1981+
```php
1982+
$client->operations()->copilot()->usageMetricsForEnterpriseListing( enterprise: 'generated',
1983+
since: 'generated',
1984+
until: 'generated',
1985+
page: 1,
1986+
per_page: 8,
1987+
);
1988+
```
1989+
1990+
You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-usage#get-a-summary-of-copilot-usage-for-enterprise-members).
1991+
1992+
19371993
### dependabot/list-alerts-for-enterprise
19381994

19391995
List Dependabot alerts for an enterprise
@@ -5618,6 +5674,62 @@ $client->operations()->copilot()->cancelCopilotSeatAssignmentForUsers( or
56185674
You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#remove-users-from-the-copilot-subscription-for-an-organization).
56195675

56205676

5677+
### copilot/usage-metrics-for-org
5678+
5679+
Get a summary of Copilot usage for organization members
5680+
5681+
Using the `call` method:
5682+
```php
5683+
$client->call('GET /orgs/{org}/copilot/usage', [
5684+
'org' => 'generated',
5685+
'since' => 'generated',
5686+
'until' => 'generated',
5687+
'page' => 1,
5688+
'per_page' => 8,
5689+
]);
5690+
```
5691+
5692+
Operations method:
5693+
```php
5694+
$client->operations()->copilot()->usageMetricsForOrg( org: 'generated',
5695+
since: 'generated',
5696+
until: 'generated',
5697+
page: 1,
5698+
per_page: 8,
5699+
);
5700+
```
5701+
5702+
You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-usage#get-a-summary-of-copilot-usage-for-organization-members).
5703+
5704+
5705+
### copilot/usage-metrics-for-org
5706+
5707+
Get a summary of Copilot usage for organization members
5708+
5709+
Using the `call` method:
5710+
```php
5711+
$client->call('LIST /orgs/{org}/copilot/usage', [
5712+
'org' => 'generated',
5713+
'since' => 'generated',
5714+
'until' => 'generated',
5715+
'page' => 1,
5716+
'per_page' => 8,
5717+
]);
5718+
```
5719+
5720+
Operations method:
5721+
```php
5722+
$client->operations()->copilot()->usageMetricsForOrgListing( org: 'generated',
5723+
since: 'generated',
5724+
until: 'generated',
5725+
page: 1,
5726+
per_page: 8,
5727+
);
5728+
```
5729+
5730+
You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-usage#get-a-summary-of-copilot-usage-for-organization-members).
5731+
5732+
56215733
### orgs/list-saml-sso-authorizations
56225734

56235735
List SAML SSO authorizations for an organization
@@ -9464,6 +9576,66 @@ $client->operations()->teams()->listIdpGroupsForOrg( org: 'generated',
94649576
You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/teams/team-sync#list-idp-groups-for-an-organization).
94659577

94669578

9579+
### copilot/usage-metrics-for-team
9580+
9581+
Get a summary of Copilot usage for a team
9582+
9583+
Using the `call` method:
9584+
```php
9585+
$client->call('GET /orgs/{org}/team/{team_slug}/copilot/usage', [
9586+
'org' => 'generated',
9587+
'team_slug' => 'generated',
9588+
'since' => 'generated',
9589+
'until' => 'generated',
9590+
'page' => 1,
9591+
'per_page' => 8,
9592+
]);
9593+
```
9594+
9595+
Operations method:
9596+
```php
9597+
$client->operations()->copilot()->usageMetricsForTeam( org: 'generated',
9598+
team_slug: 'generated',
9599+
since: 'generated',
9600+
until: 'generated',
9601+
page: 1,
9602+
per_page: 8,
9603+
);
9604+
```
9605+
9606+
You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-usage#get-a-summary-of-copilot-usage-for-a-team).
9607+
9608+
9609+
### copilot/usage-metrics-for-team
9610+
9611+
Get a summary of Copilot usage for a team
9612+
9613+
Using the `call` method:
9614+
```php
9615+
$client->call('LIST /orgs/{org}/team/{team_slug}/copilot/usage', [
9616+
'org' => 'generated',
9617+
'team_slug' => 'generated',
9618+
'since' => 'generated',
9619+
'until' => 'generated',
9620+
'page' => 1,
9621+
'per_page' => 8,
9622+
]);
9623+
```
9624+
9625+
Operations method:
9626+
```php
9627+
$client->operations()->copilot()->usageMetricsForTeamListing( org: 'generated',
9628+
team_slug: 'generated',
9629+
since: 'generated',
9630+
until: 'generated',
9631+
page: 1,
9632+
per_page: 8,
9633+
);
9634+
```
9635+
9636+
You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-usage#get-a-summary-of-copilot-usage-for-a-team).
9637+
9638+
94679639
### teams/list
94689640

94699641
List teams

0 commit comments

Comments
 (0)