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.



481
482
483
# File 'lib/google/apis/marketingplatformadmin_v1alpha/classes.rb', line 481

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)


474
475
476
# File 'lib/google/apis/marketingplatformadmin_v1alpha/classes.rb', line 474

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)


479
480
481
# File 'lib/google/apis/marketingplatformadmin_v1alpha/classes.rb', line 479

def service_level
  @service_level
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



486
487
488
489
# File 'lib/google/apis/marketingplatformadmin_v1alpha/classes.rb', line 486

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