Class: Google::Apis::AndroidpublisherV3::PolicyBooleanResponse

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

Responses that will only ever be a boolean.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ PolicyBooleanResponse

Returns a new instance of PolicyBooleanResponse.



7030
7031
7032
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 7030

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

Instance Attribute Details

#valueBoolean Also known as: value?

Required. Provided boolean value. Corresponds to the JSON property value

Returns:

  • (Boolean)


7027
7028
7029
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 7027

def value
  @value
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7035
7036
7037
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 7035

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