Google Cloud Commerce Producer V1beta Client - Class RequirementLevel (0.2.0)

Reference documentation and code samples for the Google Cloud Commerce Producer V1beta Client class RequirementLevel.

Requirement level for the document type.

Protobuf type google.cloud.commerceproducer.v1beta.Service.DocumentRequirement.DocumentTypeRequirement.RequirementLevel

Namespace

Google \ Cloud \ CommerceProducer \ V1beta \ Service \ DocumentRequirement \ DocumentTypeRequirement

Methods

static::name

Parameter
Name Description
value mixed

static::value

Parameter
Name Description
name mixed

Constants

REQUIREMENT_LEVEL_UNSPECIFIED

Value: 0

Unspecified requirement level. Do not use.

Generated from protobuf enum REQUIREMENT_LEVEL_UNSPECIFIED = 0;

REQUIRED

Value: 1

The document type is mandatory for private offers on this service.

Exactly one document of this type must be attached.

Generated from protobuf enum REQUIRED = 1;

OPTIONAL

Value: 2

The document type is optional for private offers on this service.

At most one document of this type may be attached.

Generated from protobuf enum OPTIONAL = 2;

NOT_ALLOWED

Value: 3

The document type is not permitted for private offers on this service. No document of this type may be attached.

A document type omitted from document_type_requirements is also not permitted. This value is used to state the restriction explicitly.

Generated from protobuf enum NOT_ALLOWED = 3;