Property class final

Defines project properties.

API services can define properties that can be assigned to consumer projects so that backends can perform response customization without having to make additional calls or maintain additional storage. For example, Maps API defines properties that controls map tile cache period, or whether to embed a watermark in a result.

These values can be set via API producer console. Only API providers can define and set these properties.

Inheritance
  • Object
  • ProtoMessage
  • Property

Constructors

Property({String name = '', Property_PropertyType type = Property_PropertyType.$default, String description = ''})
Property.fromJson(Object? j)
factory

Properties

description String
The description of the property
final
hashCode int
The hash code for this object.
no setterinherited
name String
The name of the property (a.k.a key).
final
qualifiedName String
The fully qualified name of this message, i.e., google.protobuf.Duration or google.rpc.ErrorInfo.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type Property_PropertyType
The type of this property.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Object
override
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

fullyQualifiedName → const String