Class: Google::Apis::MarketingplatformadminV1alpha::SetPropertyServiceLevelRequest
- Inherits:
-
Object
- Object
- Google::Apis::MarketingplatformadminV1alpha::SetPropertyServiceLevelRequest
- 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
-
#analytics_property ⇒ String
Required.
-
#service_level ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SetPropertyServiceLevelRequest
constructor
A new instance of SetPropertyServiceLevelRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
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_property ⇒ String
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
147 148 149 |
# File 'lib/google/apis/marketingplatformadmin_v1alpha/classes.rb', line 147 def analytics_property @analytics_property end |
#service_level ⇒ String
Required. The service level to set for this property.
Corresponds to the JSON property serviceLevel
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 |