get method

Future<GoogleCloudApigeeV1Developer> get(
  1. String name, {
  2. String? action,
  3. String? $fields,
})

Returns the developer details, including the developer's name, email address, apps, and other information.

Note: The response includes only the first 100 developer apps.

Request parameters:

name - Required. Email address of the developer. Use the following structure in your request: organizations/{org}/developers/{developer_email} Value must have pattern ^organizations/\[^/\]+/developers/\[^/\]+$.

action - Status of the developer. Valid values are active or inactive.

$fields - Selector specifying which fields to include in a partial response.

Completes with a GoogleCloudApigeeV1Developer.

Completes with a commons.ApiRequestError if the API endpoint returned an error.

If the used http.Client completes with an error when making a REST call, this method will complete with the same error.

Implementation

async.Future<GoogleCloudApigeeV1Developer> get(
  core.String name, {
  core.String? action,
  core.String? $fields,
}) async {
  final queryParams_ = <core.String, core.List<core.String>>{
    if (action != null) 'action': [action],
    if ($fields != null) 'fields': [$fields],
  };

  final url_ = 'v1/' + core.Uri.encodeFull('$name');

  final response_ = await _requester.request(
    url_,
    'GET',
    queryParams: queryParams_,
  );
  return GoogleCloudApigeeV1Developer.fromJson(
      response_ as core.Map<core.String, core.dynamic>);
}