Class: Google::Apis::MarketingplatformadminV1alpha::SetPropertyServiceLevelRequest

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

Overview

Request message for SetPropertyServiceLevel RPC.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SetPropertyServiceLevelRequest

Returns a new instance of SetPropertyServiceLevelRequest.



154
155
156
# File 'lib/google/apis/marketingplatformadmin_v1alpha/classes.rb', line 154

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

Instance Attribute Details

#analytics_propertyString

Required. The Analytics property to change the ServiceLevel setting. This field is the name of the Google Analytics Admin API property resource. Format: analyticsadmin.googleapis.com/properties/property_id Corresponds to the JSON property analyticsProperty

Returns:

  • (String)


147
148
149
# File 'lib/google/apis/marketingplatformadmin_v1alpha/classes.rb', line 147

def analytics_property
  @analytics_property
end

#service_levelString

Required. The service level to set for this property. Corresponds to the JSON property serviceLevel

Returns:

  • (String)


152
153
154
# File 'lib/google/apis/marketingplatformadmin_v1alpha/classes.rb', line 152

def service_level
  @service_level
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



159
160
161
162
# File 'lib/google/apis/marketingplatformadmin_v1alpha/classes.rb', line 159

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