대화형 작업이 2023년 6월 13일에 지원 중단되었습니다. 자세한 내용은
대화 작업 지원 중단을 참고하세요.
ClassReference
컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
필드 또는 반환 값의 유형을 선언하는 데 사용되는 클래스에 대한 참조입니다. enum은 ClassReference를 사용하여 참조할 수 있는 클래스의 한 유형이기도 합니다.
YAML 표현 |
name: string
list: boolean |
필드 |
name |
string
필수 항목입니다. 매개변수의 기본 제공 유형 또는 맞춤 유형 이름. 예: PizzaToppings , actions.type.Number
|
list |
boolean
선택사항입니다. 데이터 유형이 값 목록을 나타내는지 여부를 나타냅니다.
|
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2025-07-26(UTC)
[null,null,["최종 업데이트: 2025-07-26(UTC)"],[[["\u003cp\u003eClassReference is used to define the type of a field or return value, including enums.\u003c/p\u003e\n"],["\u003cp\u003eIt is represented in YAML with a \u003ccode\u003ename\u003c/code\u003e field (required) indicating the type and an optional \u003ccode\u003elist\u003c/code\u003e field specifying if it's a list of values.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ename\u003c/code\u003e field can reference built-in types or custom types using their names.\u003c/p\u003e\n"]]],[],null,["# ClassReference\n\n- [YAML representation](#SCHEMA_REPRESENTATION)\n\nA reference to a class which is used to declare the type of a field or return value. Enums are also a type of class that can be referenced using ClassReference.\n\n| YAML representation ||\n|------------------------------------|---|\n| ``` name: string list: boolean ``` |\n\n| Fields ||\n|--------|------------------------------------------------------------------------------------------------------------------------------|\n| `name` | `string` Required. Name of a built-in type or custom type of the parameter. Examples: `PizzaToppings`, `actions.type.Number` |\n| `list` | `boolean` Optional. Indicates whether the data type represents a list of values. |"]]