/var/www/flurhymez/vendor/google/apiclient-services/src/Apigee/Resource
Edit: /var/www/flurhymez/vendor/google/apiclient-services/src/Apigee/Resource/OrganizationsApps.php (3363B)
* $apigeeService = new Google\Service\Apigee(...);
* $apps = $apigeeService->apps;
*
*/
class OrganizationsApps extends \Google\Service\Resource
{
/**
* Gets the app profile for the specified app ID. (apps.get)
*
* @param string $name Required. App ID in the following format:
* `organizations/{org}/apps/{app}`
* @param array $optParams Optional parameters.
* @return GoogleCloudApigeeV1App
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], GoogleCloudApigeeV1App::class);
}
/**
* Lists IDs of apps within an organization that have the specified app status
* (approved or revoked) or are of the specified app type (developer or
* company). (apps.listOrganizationsApps)
*
* @param string $parent Required. Resource path of the parent in the following
* format: `organizations/{org}`
* @param array $optParams Optional parameters.
*
* @opt_param string apiProduct API product.
* @opt_param string apptype Optional. Filter by the type of the app. Valid
* values are `company` or `developer`. Defaults to `developer`.
* @opt_param bool expand Optional. Flag that specifies whether to return an
* expanded list of apps for the organization. Defaults to `false`.
* @opt_param string ids Optional. Comma-separated list of app IDs on which to
* filter.
* @opt_param bool includeCred Optional. Flag that specifies whether to include
* credentials in the response.
* @opt_param string keyStatus Optional. Key status of the app. Valid values
* include `approved` or `revoked`. Defaults to `approved`.
* @opt_param string rows Optional. Maximum number of app IDs to return.
* Defaults to 10000.
* @opt_param string startKey Returns the list of apps starting from the
* specified app ID.
* @opt_param string status Optional. Filter by the status of the app. Valid
* values are `approved` or `revoked`. Defaults to `approved`.
* @return GoogleCloudApigeeV1ListAppsResponse
*/
public function listOrganizationsApps($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], GoogleCloudApigeeV1ListAppsResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(OrganizationsApps::class, 'Google_Service_Apigee_Resource_OrganizationsApps');