Cloud Vision V1p4beta1 API - Class Google::Cloud::Vision::V1p4beta1::SafeSearchAnnotation (v0.7.2)

Reference documentation and code samples for the Cloud Vision V1p4beta1 API class Google::Cloud::Vision::V1p4beta1::SafeSearchAnnotation.

Set of features pertaining to the image, computed by computer vision methods over safe-search verticals (for example, adult, spoof, medical, violence).

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#adult

def adult() -> ::Google::Cloud::Vision::V1p4beta1::Likelihood
Returns

#adult=

def adult=(value) -> ::Google::Cloud::Vision::V1p4beta1::Likelihood
Parameter
Returns

#medical

def medical() -> ::Google::Cloud::Vision::V1p4beta1::Likelihood
Returns

#medical=

def medical=(value) -> ::Google::Cloud::Vision::V1p4beta1::Likelihood
Parameter
Returns

#racy

def racy() -> ::Google::Cloud::Vision::V1p4beta1::Likelihood
Returns
  • (::Google::Cloud::Vision::V1p4beta1::Likelihood) — Likelihood that the request image contains racy content. Racy content may include (but is not limited to) skimpy or sheer clothing, strategically covered nudity, lewd or provocative poses, or close-ups of sensitive body areas.

#racy=

def racy=(value) -> ::Google::Cloud::Vision::V1p4beta1::Likelihood
Parameter
  • value (::Google::Cloud::Vision::V1p4beta1::Likelihood) — Likelihood that the request image contains racy content. Racy content may include (but is not limited to) skimpy or sheer clothing, strategically covered nudity, lewd or provocative poses, or close-ups of sensitive body areas.
Returns
  • (::Google::Cloud::Vision::V1p4beta1::Likelihood) — Likelihood that the request image contains racy content. Racy content may include (but is not limited to) skimpy or sheer clothing, strategically covered nudity, lewd or provocative poses, or close-ups of sensitive body areas.

#spoof

def spoof() -> ::Google::Cloud::Vision::V1p4beta1::Likelihood
Returns

#spoof=

def spoof=(value) -> ::Google::Cloud::Vision::V1p4beta1::Likelihood
Parameter
Returns

#violence

def violence() -> ::Google::Cloud::Vision::V1p4beta1::Likelihood
Returns

#violence=

def violence=(value) -> ::Google::Cloud::Vision::V1p4beta1::Likelihood
Parameter
Returns