Skip to content

service host and port undefined, apiEndpoint incorrect #718

@alexander-fenster

Description

@alexander-fenster

When generating text to speech, the service host and port are undefined, and apiEndpoint is wrong:

  /**
   * The DNS address for this API service.
   */
  static get servicePath() {
    return '';
  }
  /**
   * The DNS address for this API service - same as servicePath(),
   * exists for compatibility reasons.
   */
  static get apiEndpoint() {
    return 'localhost';
  }

  /**
   * The port for this API service.
   */
  static get port() {
    return 0;
  }

even though they are set in protos:

service TextToSpeech {
  option (google.api.default_host) = "texttospeech.googleapis.com";
  option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/cloud-platform";

Metadata

Metadata

Labels

type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions