License Manager V1 API - Class Google::Api::TypeReference (v0.1.0)
Reference documentation and code samples for the License Manager V1 API class Google::Api::TypeReference.
A reference to a message type, for use in FieldInfo.
Inherits
Object
Extended By
Google::Protobuf::MessageExts::ClassMethods
Includes
Google::Protobuf::MessageExts
Methods
#type_name
deftype_name()->::String
Returns
(::String) — The name of the type that the annotated, generic field may represent.
If the type is in the same protobuf package, the value can be the simple
message name e.g., "MyMessage". Otherwise, the value must be the
fully-qualified message name e.g., "google.library.v1.Book".
If the type(s) are unknown to the service (e.g. the field accepts generic
user input), use the wildcard "*" to denote this behavior.
value (::String) — The name of the type that the annotated, generic field may represent.
If the type is in the same protobuf package, the value can be the simple
message name e.g., "MyMessage". Otherwise, the value must be the
fully-qualified message name e.g., "google.library.v1.Book".
If the type(s) are unknown to the service (e.g. the field accepts generic
user input), use the wildcard "*" to denote this behavior.
(::String) — The name of the type that the annotated, generic field may represent.
If the type is in the same protobuf package, the value can be the simple
message name e.g., "MyMessage". Otherwise, the value must be the
fully-qualified message name e.g., "google.library.v1.Book".
If the type(s) are unknown to the service (e.g. the field accepts generic
user input), use the wildcard "*" to denote this behavior.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-26 UTC."],[],[],null,["# License Manager V1 API - Class Google::Api::TypeReference (v0.1.0)\n\nReference documentation and code samples for the License Manager V1 API class Google::Api::TypeReference.\n\nA reference to a message type, for use in [FieldInfo](/ruby/docs/reference/google-cloud-license_manager-v1/latest/Google-Api-FieldInfo \"Google::Api::FieldInfo (class)\"). \n\nInherits\n--------\n\n- Object \n\nExtended By\n-----------\n\n- Google::Protobuf::MessageExts::ClassMethods \n\nIncludes\n--------\n\n- Google::Protobuf::MessageExts\n\nMethods\n-------\n\n### #type_name\n\n def type_name() -\u003e ::String\n\n**Returns**\n\n- (::String) --- The name of the type that the annotated, generic field may represent. If the type is in the same protobuf package, the value can be the simple message name e.g., `\"MyMessage\"`. Otherwise, the value must be the fully-qualified message name e.g., `\"google.library.v1.Book\"`.\n\n\n If the type(s) are unknown to the service (e.g. the field accepts generic\n user input), use the wildcard `\"*\"` to denote this behavior.\n\n See [AIP-202](https://google.aip.dev/202#type-references) for more details.\n\n### #type_name=\n\n def type_name=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- The name of the type that the annotated, generic field may represent. If the type is in the same protobuf package, the value can be the simple message name e.g., `\"MyMessage\"`. Otherwise, the value must be the fully-qualified message name e.g., `\"google.library.v1.Book\"`.\n\n\n If the type(s) are unknown to the service (e.g. the field accepts generic\n user input), use the wildcard `\"*\"` to denote this behavior.\n\nSee [AIP-202](https://google.aip.dev/202#type-references) for more details. \n**Returns**\n\n- (::String) --- The name of the type that the annotated, generic field may represent. If the type is in the same protobuf package, the value can be the simple message name e.g., `\"MyMessage\"`. Otherwise, the value must be the fully-qualified message name e.g., `\"google.library.v1.Book\"`.\n\n\n If the type(s) are unknown to the service (e.g. the field accepts generic\n user input), use the wildcard `\"*\"` to denote this behavior.\n\n See [AIP-202](https://google.aip.dev/202#type-references) for more details."]]