Class: Google::Apis::AndroidpublisherV3::SafetyLabelsUpdateRequest

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/androidpublisher_v3/classes.rb,
lib/google/apis/androidpublisher_v3/representations.rb,
lib/google/apis/androidpublisher_v3/representations.rb

Overview

Request to update Safety Labels of an app.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SafetyLabelsUpdateRequest

Returns a new instance of SafetyLabelsUpdateRequest.



5098
5099
5100
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 5098

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#safety_labelsString

Required. Contents of the CSV file containing Data Safety responses. For the format of this file, see the Help Center documentation at https://support. google.com/googleplay/android-developer/answer/10787469?#zippy=%2Cunderstand- the-csv-format To download an up to date template, follow the steps at https:// support.google.com/googleplay/android-developer/answer/10787469?#zippy=% 2Cexport-to-a-csv-file Corresponds to the JSON property safetyLabels

Returns:

  • (String)


5096
5097
5098
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 5096

def safety_labels
  @safety_labels
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5103
5104
5105
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 5103

def update!(**args)
  @safety_labels = args[:safety_labels] if args.key?(:safety_labels)
end