diff --git a/clients/GitHubEnterpriseCloud/etc/openapi-client-generator.state b/clients/GitHubEnterpriseCloud/etc/openapi-client-generator.state index 5f85b5242b6..be8a1b8926e 100644 --- a/clients/GitHubEnterpriseCloud/etc/openapi-client-generator.state +++ b/clients/GitHubEnterpriseCloud/etc/openapi-client-generator.state @@ -1,5 +1,5 @@ { - "specHash": "9d96349c2889ab814e17092fa3c3cd46", + "specHash": "6310f3f2eedbd73069379065089ad197", "generatedFiles": { "files": [ { @@ -5904,7 +5904,7 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Operation\/Billing.php", - "hash": "19c24b508018b7205de85bf2b224f92a" + "hash": "0ea7085107dfe3e724f32c3802902939" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Operation\/Activity.php", @@ -26060,7 +26060,7 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Billing.php", - "hash": "11bb51c81b4504aceecc1e75ba097eae" + "hash": "faa3b1066ada9ba960eb7902d173784e" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Checks.php", @@ -26544,7 +26544,7 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Six.php", - "hash": "37e6aa6f38b79bbc91caa2834520f676" + "hash": "40f7ec26b9bdee3ecada75080d69d3d2" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Seven.php", @@ -29716,11 +29716,11 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/PHPStan\/ClientCallReturnTypes.php", - "hash": "67f2ab0ebdf064d15434b406777f1a73" + "hash": "48ee1e7a3baf5b590ace247c572e9949" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/tests\/\/Types\/ClientCallReturnTypes.php", - "hash": "a13d017e4eaf291980a72549ed6eaa6b" + "hash": "2989c553314b9b108526da295014532b" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/..\/etc\/phpstan-extension.neon", @@ -31616,11 +31616,11 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Operation\/Billing\/GetGithubBillingUsageReportGhe.php", - "hash": "650d79a2b42e5852190facaeef619649" + "hash": "ab47930a1adf8bbdfaca4755410505b7" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Operator\/Billing\/GetGithubBillingUsageReportGhe.php", - "hash": "42e26155a339cbc53a66ef10cad95085" + "hash": "8d94f4d8a02b18862d0e35e7ea15e7fa" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/tests\/\/Internal\/Operation\/Billing\/GetGithubBillingUsageReportGheTest.php", @@ -33296,11 +33296,11 @@ }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Operation\/Billing\/GetGithubBillingUsageReportOrg.php", - "hash": "85f0c4cb36c4b4e926bd6c5fe624b227" + "hash": "ae7a63949261a1882b67aa9e8af1cb2e" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Operator\/Billing\/GetGithubBillingUsageReportOrg.php", - "hash": "ecb3d55f31dda783769f34e1dce72c9b" + "hash": "0083986a636c8e2c2119d1ce95ea161f" }, { "name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/tests\/\/Internal\/Operation\/Billing\/GetGithubBillingUsageReportOrgTest.php", diff --git a/clients/GitHubEnterpriseCloud/src/Internal/Operation/Billing/GetGithubBillingUsageReportGhe.php b/clients/GitHubEnterpriseCloud/src/Internal/Operation/Billing/GetGithubBillingUsageReportGhe.php index 01b0b4d18d8..9217cca6869 100644 --- a/clients/GitHubEnterpriseCloud/src/Internal/Operation/Billing/GetGithubBillingUsageReportGhe.php +++ b/clients/GitHubEnterpriseCloud/src/Internal/Operation/Billing/GetGithubBillingUsageReportGhe.php @@ -24,13 +24,13 @@ final class GetGithubBillingUsageReportGhe public const OPERATION_MATCH = 'GET /enterprises/{enterprise}/settings/billing/usage'; /**The slug version of the enterprise name. You can also substitute this value with the enterprise id. **/ private string $enterprise; - /**If specified, only return results for a single year. The value of `year` is an integer with four digits representing a year. For example, `2024`. Default value is the current year. **/ + /**If specified, only return results for a single year. The value of `year` is an integer with four digits representing a year. For example, `2025`. Default value is the current year. **/ private int $year; - /**If specified, only return results for a single month. The value of `month` is an integer between `1` and `12`. **/ + /**If specified, only return results for a single month. The value of `month` is an integer between `1` and `12`. If no year is specified the default `year` is used. **/ private int $month; - /**If specified, only return results for a single day. The value of `day` is an integer between `1` and `31`. **/ + /**If specified, only return results for a single day. The value of `day` is an integer between `1` and `31`. If no `year` or `month` is specified, the default `year` and `month` are used. **/ private int $day; - /**If specified, only return results for a single hour. The value of `hour` is an integer between `0` and `23`. **/ + /**If specified, only return results for a single hour. The value of `hour` is an integer between `0` and `23`. If no `year`, `month`, or `day` is specified, the default `year`, `month`, and `day` are used. **/ private int $hour; /**The ID corresponding to a cost center. The default value is no cost center. **/ private string $costCenterId; diff --git a/clients/GitHubEnterpriseCloud/src/Internal/Operation/Billing/GetGithubBillingUsageReportOrg.php b/clients/GitHubEnterpriseCloud/src/Internal/Operation/Billing/GetGithubBillingUsageReportOrg.php index e01d33d0919..9752dff2824 100644 --- a/clients/GitHubEnterpriseCloud/src/Internal/Operation/Billing/GetGithubBillingUsageReportOrg.php +++ b/clients/GitHubEnterpriseCloud/src/Internal/Operation/Billing/GetGithubBillingUsageReportOrg.php @@ -24,13 +24,13 @@ final class GetGithubBillingUsageReportOrg public const OPERATION_MATCH = 'GET /organizations/{org}/settings/billing/usage'; /**The organization name. The name is not case sensitive. **/ private string $org; - /**If specified, only return results for a single year. The value of `year` is an integer with four digits representing a year. For example, `2024`. Default value is the current year. **/ + /**If specified, only return results for a single year. The value of `year` is an integer with four digits representing a year. For example, `2025`. Default value is the current year. **/ private int $year; - /**If specified, only return results for a single month. The value of `month` is an integer between `1` and `12`. **/ + /**If specified, only return results for a single month. The value of `month` is an integer between `1` and `12`. If no year is specified the default `year` is used. **/ private int $month; - /**If specified, only return results for a single day. The value of `day` is an integer between `1` and `31`. **/ + /**If specified, only return results for a single day. The value of `day` is an integer between `1` and `31`. If no `year` or `month` is specified, the default `year` and `month` are used. **/ private int $day; - /**If specified, only return results for a single hour. The value of `hour` is an integer between `0` and `23`. **/ + /**If specified, only return results for a single hour. The value of `hour` is an integer between `0` and `23`. If no `year`, `month`, or `day` is specified, the default `year`, `month`, and `day` are used. **/ private int $hour; public function __construct(private readonly SchemaValidator $responseSchemaValidator, private readonly Internal\Hydrator\Operation\Organizations\Org\Settings\Billing\Usage $hydrator, string $org, int $year, int $month, int $day, int $hour) diff --git a/clients/GitHubEnterpriseCloud/src/Internal/Operator/Billing/GetGithubBillingUsageReportGhe.php b/clients/GitHubEnterpriseCloud/src/Internal/Operator/Billing/GetGithubBillingUsageReportGhe.php index ff547c333cf..ee4bd226d05 100644 --- a/clients/GitHubEnterpriseCloud/src/Internal/Operator/Billing/GetGithubBillingUsageReportGhe.php +++ b/clients/GitHubEnterpriseCloud/src/Internal/Operator/Billing/GetGithubBillingUsageReportGhe.php @@ -24,7 +24,6 @@ public function __construct(private Browser $browser, private AuthenticationInte { } - /** @return */ public function call(string $enterprise, int $year, int $month, int $day, int $hour, string $costCenterId): BillingUsageReport { $operation = new \ApiClients\Client\GitHubEnterpriseCloud\Internal\Operation\Billing\GetGithubBillingUsageReportGhe($this->responseSchemaValidator, $this->hydrator, $enterprise, $year, $month, $day, $hour, $costCenterId); diff --git a/clients/GitHubEnterpriseCloud/src/Internal/Operator/Billing/GetGithubBillingUsageReportOrg.php b/clients/GitHubEnterpriseCloud/src/Internal/Operator/Billing/GetGithubBillingUsageReportOrg.php index bc0eac6840b..29789432536 100644 --- a/clients/GitHubEnterpriseCloud/src/Internal/Operator/Billing/GetGithubBillingUsageReportOrg.php +++ b/clients/GitHubEnterpriseCloud/src/Internal/Operator/Billing/GetGithubBillingUsageReportOrg.php @@ -24,7 +24,6 @@ public function __construct(private Browser $browser, private AuthenticationInte { } - /** @return */ public function call(string $org, int $year, int $month, int $day, int $hour): BillingUsageReport { $operation = new \ApiClients\Client\GitHubEnterpriseCloud\Internal\Operation\Billing\GetGithubBillingUsageReportOrg($this->responseSchemaValidator, $this->hydrator, $org, $year, $month, $day, $hour); diff --git a/clients/GitHubEnterpriseCloud/src/Internal/Router/Get/Billing.php b/clients/GitHubEnterpriseCloud/src/Internal/Router/Get/Billing.php index bcac1f0d6ed..2dcb943c516 100644 --- a/clients/GitHubEnterpriseCloud/src/Internal/Router/Get/Billing.php +++ b/clients/GitHubEnterpriseCloud/src/Internal/Router/Get/Billing.php @@ -111,7 +111,6 @@ public function getSharedStorageBillingGhe(array $params): CombinedBillingUsage return $operator->call($arguments['enterprise']); } - /** @return */ public function getGithubBillingUsageReportGhe(array $params): BillingUsageReport { $arguments = []; @@ -156,7 +155,6 @@ public function getGithubBillingUsageReportGhe(array $params): BillingUsageRepor return $operator->call($arguments['enterprise'], $arguments['year'], $arguments['month'], $arguments['day'], $arguments['hour'], $arguments['cost_center_id']); } - /** @return */ public function getGithubBillingUsageReportOrg(array $params): BillingUsageReport { $arguments = []; diff --git a/clients/GitHubEnterpriseCloud/src/Internal/Router/Get/Six.php b/clients/GitHubEnterpriseCloud/src/Internal/Router/Get/Six.php index af677ad9cb2..28d496d1a2d 100644 --- a/clients/GitHubEnterpriseCloud/src/Internal/Router/Get/Six.php +++ b/clients/GitHubEnterpriseCloud/src/Internal/Router/Get/Six.php @@ -90,7 +90,7 @@ public function __construct(private Routers $routers) { } - /** @return |Observable|Observable|Observable|WithoutBody|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Schema\Operations\Repos\GetCodeFrequencyStats\Response\ApplicationJson\Accepted\Application\Json|Observable|Schema\Operations\Repos\GetCommitActivityStats\Response\ApplicationJson\Accepted\Application\Json|Observable|Schema\Operations\Repos\GetContributorsStats\Response\ApplicationJson\Accepted\Application\Json|Observable|Observable|Observable|Observable|Observable */ + /** @return |Observable|Observable|Schema\BillingUsageReport|Observable|WithoutBody|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Schema\Operations\Repos\GetCodeFrequencyStats\Response\ApplicationJson\Accepted\Application\Json|Observable|Schema\Operations\Repos\GetCommitActivityStats\Response\ApplicationJson\Accepted\Application\Json|Observable|Schema\Operations\Repos\GetContributorsStats\Response\ApplicationJson\Accepted\Application\Json|Observable|Observable|Observable|Observable|Observable */ public function call(string $call, array $params, array $pathChunks): ActionsCacheUsageOrgEnterprise|ActionsHostedRunnerLimits|Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Actions\GetHostedRunnersPlatformsForEnterprise\Response\ApplicationJson\Ok|ActionsHostedRunner|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\EnterpriseAdmin\ListSelectedOrganizationsEnabledGithubActionsEnterprise\Response\ApplicationJson\Ok|SelectedActions|ActionsGetDefaultWorkflowPermissions|RunnerGroupsEnterprise|iterable|Runner|GetAuditLogStreamConfig|CodeSecurityConfiguration|WithoutBody|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Copilot\ListCopilotSeatsForEnterprise\Response\ApplicationJson\Ok|CustomProperty|ActionsBillingUsage|AdvancedSecurityActiveCommitters|GetAllCostCenters|PackagesBillingUsage|CombinedBillingUsage|BillingUsageReport|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Actions\GetActionsCacheUsageByRepoForOrg\Response\ApplicationJson\Ok|Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Actions\GetHostedRunnersPlatformsForOrg\Response\ApplicationJson\Ok\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Actions\ListSelectedRepositoriesEnabledGithubActionsOrganization\Response\ApplicationJson\Ok|RunnerGroupsOrg|ActionsPublicKey|OrganizationActionsSecret|OrganizationActionsVariable|CodespacesPublicKey|CodespacesOrgSecret|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Copilot\ListCopilotSeats\Response\ApplicationJson\Ok|DependabotPublicKey|OrganizationDependabotSecret|WebhookConfig|ApiInsightsSummaryStats|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Codespaces\GetCodespacesForUserInOrg\Response\ApplicationJson\Ok\Application\Json|CopilotSeatDetails|Package|RuleSuite|NetworkConfiguration|NetworkSettings|ExternalGroups|ProjectCollaboratorPermission|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Actions\ListArtifactsForRepo\Response\ApplicationJson\Ok|ActionsCacheList|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Actions\ListRepoOrganizationSecrets\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Actions\ListRepoOrganizationVariables\Response\ApplicationJson\Ok|ActionsRepositoryPermissions|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Actions\ListSelfHostedRunnersForRepo\Response\ApplicationJson\Ok\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Actions\ListWorkflowRunsForRepo\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Actions\ListRepoSecrets\Response\ApplicationJson\Ok\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Actions\ListRepoVariables\Response\ApplicationJson\Ok\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Actions\ListRepoWorkflows\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Repos\ListAttestations\Response\ApplicationJson\Ok\Application\Json|Autolink|BranchWithProtection|BasicError|CheckRun|CheckSuite|CodeScanningDefaultSetup|CodeownersErrors|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Codespaces\ListDevcontainersInRepositoryForAuthenticatedUser\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Codespaces\RepoMachinesForAuthenticatedUser\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Codespaces\PreFlightWithRepoForAuthenticatedUser\Response\ApplicationJson\Ok|CodespacesPermissionsCheckForDevcontainer|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Codespaces\ListRepoSecrets\Response\ApplicationJson\Ok|CommitComment|Commit|CommunityProfile|CommitComparison|ContentDirectory|ContentFile|ContentSymlink|ContentSubmodule|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Dependabot\ListRepoSecrets\Response\ApplicationJson\Ok|DependencyGraphSpdxSbom|Deployment|Environment|Hook|Issue|DeployKey|Label|Milestone|PagesHealthCheck|EmptyObject|PullRequest|Release|RepositoryRuleset|SecretScanningScanHistory|RepositoryAdvisory|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Repos\GetCodeFrequencyStats\Response\ApplicationJson\Accepted\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Repos\GetCommitActivityStats\Response\ApplicationJson\Accepted\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Repos\GetContributorsStats\Response\ApplicationJson\Accepted\Application\Json|ParticipationStats|CloneTraffic|ViewTraffic|ScimEnterpriseGroupList|ScimEnterpriseUserList|ScimUserList|TeamRepository|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Codespaces\ListRepositoriesForSecretForAuthenticatedUser\Response\ApplicationJson\Ok\Application\Json|CodespaceExportDetails { if ($pathChunks[0] === '') { diff --git a/clients/GitHubEnterpriseCloud/src/Operation/Billing.php b/clients/GitHubEnterpriseCloud/src/Operation/Billing.php index f468d0989ca..1545dc33dc3 100644 --- a/clients/GitHubEnterpriseCloud/src/Operation/Billing.php +++ b/clients/GitHubEnterpriseCloud/src/Operation/Billing.php @@ -62,13 +62,11 @@ public function getSharedStorageBillingGhe(string $enterprise): CombinedBillingU return $this->operators->billing👷GetSharedStorageBillingGhe()->call($enterprise); } - /** @return */ public function getGithubBillingUsageReportGhe(string $enterprise, int $year, int $month, int $day, int $hour, string $costCenterId): BillingUsageReport { return $this->operators->billing👷GetGithubBillingUsageReportGhe()->call($enterprise, $year, $month, $day, $hour, $costCenterId); } - /** @return */ public function getGithubBillingUsageReportOrg(string $org, int $year, int $month, int $day, int $hour): BillingUsageReport { return $this->operators->billing👷GetGithubBillingUsageReportOrg()->call($org, $year, $month, $day, $hour); diff --git a/clients/GitHubEnterpriseCloud/src/PHPStan/ClientCallReturnTypes.php b/clients/GitHubEnterpriseCloud/src/PHPStan/ClientCallReturnTypes.php index 0f454652b83..acbc3694d67 100644 --- a/clients/GitHubEnterpriseCloud/src/PHPStan/ClientCallReturnTypes.php +++ b/clients/GitHubEnterpriseCloud/src/PHPStan/ClientCallReturnTypes.php @@ -604,7 +604,7 @@ public function getTypeFromMethodCall(MethodReflection $methodReflection, Method } if ($call === 'GET /enterprises/{enterprise}/settings/billing/usage') { - return $this->typeResolver->resolve(''); + return $this->typeResolver->resolve('Schema\\BillingUsageReport'); } if ($call === 'GET /enterprises/{enterprise}/team/{team_slug}/copilot/metrics') { @@ -884,7 +884,7 @@ public function getTypeFromMethodCall(MethodReflection $methodReflection, Method } if ($call === 'GET /organizations/{org}/settings/billing/usage') { - return $this->typeResolver->resolve(''); + return $this->typeResolver->resolve('Schema\\BillingUsageReport'); } if ($call === 'GET /orgs/{org}') { diff --git a/clients/GitHubEnterpriseCloud/tests/Types/ClientCallReturnTypes.php b/clients/GitHubEnterpriseCloud/tests/Types/ClientCallReturnTypes.php index ade11f52fd6..a7080227fbd 100644 --- a/clients/GitHubEnterpriseCloud/tests/Types/ClientCallReturnTypes.php +++ b/clients/GitHubEnterpriseCloud/tests/Types/ClientCallReturnTypes.php @@ -157,7 +157,7 @@ function authHeader(): string assertType('', $client->call('DELETE /enterprises/{enterprise}/settings/billing/cost-centers/{cost_center_id}/resource')); assertType('', $client->call('GET /enterprises/{enterprise}/settings/billing/packages')); assertType('', $client->call('GET /enterprises/{enterprise}/settings/billing/shared-storage')); -assertType('', $client->call('GET /enterprises/{enterprise}/settings/billing/usage')); +assertType('Schema\\BillingUsageReport', $client->call('GET /enterprises/{enterprise}/settings/billing/usage')); assertType('Observable', $client->call('GET /enterprises/{enterprise}/team/{team_slug}/copilot/metrics')); assertType('Observable', $client->call('LIST /enterprises/{enterprise}/team/{team_slug}/copilot/metrics')); assertType('Observable', $client->call('GET /enterprises/{enterprise}/team/{team_slug}/copilot/usage')); @@ -227,7 +227,7 @@ function authHeader(): string assertType('', $client->call('GET /octocat')); assertType('Observable|WithoutBody', $client->call('GET /organizations')); assertType('', $client->call('GET /organizations/{organization_id}/custom_roles')); -assertType('', $client->call('GET /organizations/{org}/settings/billing/usage')); +assertType('Schema\\BillingUsageReport', $client->call('GET /organizations/{org}/settings/billing/usage')); assertType('', $client->call('GET /orgs/{org}')); assertType('', $client->call('DELETE /orgs/{org}')); assertType('', $client->call('PATCH /orgs/{org}')); diff --git a/etc/specs/GitHubEnterpriseCloud/current.spec.yaml b/etc/specs/GitHubEnterpriseCloud/current.spec.yaml index 972a845cf5b..683da478a30 100644 --- a/etc/specs/GitHubEnterpriseCloud/current.spec.yaml +++ b/etc/specs/GitHubEnterpriseCloud/current.spec.yaml @@ -240776,7 +240776,7 @@ components: name: year description: If specified, only return results for a single year. The value of `year` is an integer with four digits representing a year. For example, - `2024`. Default value is the current year. + `2025`. Default value is the current year. in: query required: false schema: @@ -240784,7 +240784,8 @@ components: billing-usage-report-month: name: month description: If specified, only return results for a single month. The value - of `month` is an integer between `1` and `12`. + of `month` is an integer between `1` and `12`. If no year is specified the + default `year` is used. in: query required: false schema: @@ -240792,7 +240793,8 @@ components: billing-usage-report-day: name: day description: If specified, only return results for a single day. The value of - `day` is an integer between `1` and `31`. + `day` is an integer between `1` and `31`. If no `year` or `month` is specified, + the default `year` and `month` are used. in: query required: false schema: @@ -240800,7 +240802,8 @@ components: billing-usage-report-hour: name: hour description: If specified, only return results for a single hour. The value - of `hour` is an integer between `0` and `23`. + of `hour` is an integer between `0` and `23`. If no `year`, `month`, or `day` + is specified, the default `year`, `month`, and `day` are used. in: query required: false schema: