Skip to content

Add docs links to AutoML samples #1730

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
nnegrey opened this issue Nov 13, 2019 · 2 comments · Fixed by #3266
Closed

Add docs links to AutoML samples #1730

nnegrey opened this issue Nov 13, 2019 · 2 comments · Fixed by #3266
Assignees
Labels
api: automl Issues related to the AutoML API. priority: p2 Moderately-important priority. Fix may not be included in next release. type: cleanup An internal cleanup or hygiene concern.

Comments

@nnegrey
Copy link
Contributor

nnegrey commented Nov 13, 2019

Add docs links to AutoML samples for MimeType once available.

@nnegrey nnegrey added the type: cleanup An internal cleanup or hygiene concern. label Nov 13, 2019
@nnegrey nnegrey self-assigned this Nov 13, 2019
@nnegrey nnegrey mentioned this issue Nov 13, 2019
@lesv lesv added the api: automl Issues related to the AutoML API. label Apr 3, 2020
@nnegrey nnegrey assigned munkhuushmgl and unassigned nnegrey May 7, 2020
@munkhuushmgl
Copy link
Contributor

Will this link be sufficient ?

Adding docs links to sample java code like the following:

      // Get the full path of the model.
      ModelName name = ModelName.of(projectId, "us-central1", modelId);

      // For available mime types, see:
      // https://cloud.google.com/automl/docs/reference/rest/v1/projects.locations.models/predict#textsnippet
      TextSnippet textSnippet =
          TextSnippet.newBuilder()
              .setContent(content)
              .setMimeType("text/plain") // Types: text/plain, text/html
              .build();

@lesv
Copy link
Contributor

lesv commented Jun 25, 2020

As far as I can tell, yes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: automl Issues related to the AutoML API. priority: p2 Moderately-important priority. Fix may not be included in next release. type: cleanup An internal cleanup or hygiene concern.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants