Skip to content

Add RBS for google-cloud-ai_platform-v1 1.15#1005

Merged
github-actions[bot] merged 2 commits intoruby:mainfrom
RYOTA-KOBA:google-cloud-ai_platform-v1/1.15.0
Feb 22, 2026
Merged

Add RBS for google-cloud-ai_platform-v1 1.15#1005
github-actions[bot] merged 2 commits intoruby:mainfrom
RYOTA-KOBA:google-cloud-ai_platform-v1/1.15.0

Conversation

@RYOTA-KOBA
Copy link
Contributor

@RYOTA-KOBA RYOTA-KOBA commented Feb 22, 2026

Overview

Add RBS type definitions for google-cloud-ai_platform-v1 version 1.15.

Defined classes / modules

  • Google::Cloud::AIPlatform::V1::Part
  • Google::Cloud::AIPlatform::V1::Content
  • Google::Cloud::AIPlatform::V1::Candidate
  • Google::Cloud::AIPlatform::V1::GenerateContentResponse
  • Google::Cloud::AIPlatform::V1::GenerateContentRequest
  • Google::Cloud::AIPlatform::V1::PredictionService::Client
  • Google::Cloud::AIPlatform::V1::PredictionService::Client::Configuration

Notes

  • Focused on the generate_content API as the primary use case for Gemini model inference.
  • attr_accessor is used for read-write protobuf fields ([rw]), and def for read-only fields ([r]).
  • Configuration#timeout is typed as ::Numeric? to match config_attr :timeout, nil, ::Numeric, nil in the source.
  • The test covers both overloads of generate_content (Hash and GenerateContentRequest), as well as Configuration setters via block initialization.

@RYOTA-KOBA RYOTA-KOBA changed the title Add RBS for google-cloud-ai_platform-v1 1.15.0 Add RBS for google-cloud-ai_platform-v1 1.15 Feb 22, 2026
@RYOTA-KOBA RYOTA-KOBA marked this pull request as ready for review February 22, 2026 03:49
@github-actions
Copy link

@RYOTA-KOBA Thanks for your contribution!

Please follow the instructions below for each change.
See also: https://github.com/ruby/gem_rbs_collection/blob/main/docs/CONTRIBUTING.md

Available commands

You can use the following commands by commenting on this PR.

  • /merge: Merge this PR if CI passes

google-cloud-ai_platform-v1

This RBS files are newly added.

You can merge this PR immediately if the CI passes.
Just comment /merge to merge this PR.

@RYOTA-KOBA
Copy link
Contributor Author

/merge

@github-actions github-actions bot merged commit 395d5a4 into ruby:main Feb 22, 2026
6 checks passed
@RYOTA-KOBA RYOTA-KOBA deleted the google-cloud-ai_platform-v1/1.15.0 branch February 22, 2026 04:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant