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.



128
129
130
# File 'lib/google/apis/marketingplatformadmin_v1alpha/classes.rb', line 128

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)


121
122
123
# File 'lib/google/apis/marketingplatformadmin_v1alpha/classes.rb', line 121

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)


126
127
128
# File 'lib/google/apis/marketingplatformadmin_v1alpha/classes.rb', line 126

def service_level
  @service_level
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



133
134
135
136
# File 'lib/google/apis/marketingplatformadmin_v1alpha/classes.rb', line 133

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