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.



5125
5126
5127
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 5125

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)


5123
5124
5125
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 5123

def safety_labels
  @safety_labels
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5130
5131
5132
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 5130

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