class documentation
class MethodBehavior(pb_enum.Enum): (source)
MethodBehavior describes special behaviors of a method that affect code generation and tooling.
| Constant | __PB2 |
Undocumented |
| Constant | METHOD |
Indicates that the method behavior is default and is not specified. For instance, an Update method will lose its update semantics if this value is set. Does not mean anything if set along with other values. |
| Constant | METHOD |
Indicates that the method is used to list something, and supports pagination. |
| Constant | METHOD |
Indicates that the method is used to update a resource or a number of resources, therefore it requires a reset mask to unset fields. This will enable SDKs to generate the reset mask on request, as well as the gateway to pass and sanitize it... |
| Constant | METHOD |
Indicates that the method will create an operation, which doesn't have a gettable resource after its completion, and therefore must not call a get method. For instance, it can be used for long-running operations that don't return any resource, or for resource deletion operations. |
Inherited from Enum:
| Class Method | get |
Return the protobuf EnumDescriptor for this enum. |
Undocumented
| Value |
|
Indicates that the method behavior is default and is not specified. For instance, an Update method will lose its update semantics if this value is set. Does not mean anything if set along with other values.
| Value |
|
Indicates that the method is used to update a resource or a number of resources, therefore it requires a reset mask to unset fields. This will enable SDKs to generate the reset mask on request, as well as the gateway to pass and sanitize it. The CLI will add flags to set partial or full updates and custom reset masks.
| Value |
|