Class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaSetAutomatedGa4ConfigurationOptOutRequest
- Inherits:
-
Object
- Object
- Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaSetAutomatedGa4ConfigurationOptOutRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/analyticsadmin_v1alpha/classes.rb,
lib/google/apis/analyticsadmin_v1alpha/representations.rb,
lib/google/apis/analyticsadmin_v1alpha/representations.rb
Overview
Request for setting the opt out status for the automated GA4 setup process.
Instance Attribute Summary collapse
-
#opt_out ⇒ Boolean
(also: #opt_out?)
The status to set.
-
#property ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleAnalyticsAdminV1alphaSetAutomatedGa4ConfigurationOptOutRequest
constructor
A new instance of GoogleAnalyticsAdminV1alphaSetAutomatedGa4ConfigurationOptOutRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleAnalyticsAdminV1alphaSetAutomatedGa4ConfigurationOptOutRequest
Returns a new instance of GoogleAnalyticsAdminV1alphaSetAutomatedGa4ConfigurationOptOutRequest.
5423 5424 5425 |
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 5423 def initialize(**args) update!(**args) end |
Instance Attribute Details
#opt_out ⇒ Boolean Also known as: opt_out?
The status to set.
Corresponds to the JSON property optOut
5413 5414 5415 |
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 5413 def opt_out @opt_out end |
#property ⇒ String
Required. The UA property to set the opt out status. Note this request uses
the internal property ID, not the tracking ID of the form UA-XXXXXX-YY. Format:
properties/internalWebPropertyId
Example: properties/1234
Corresponds to the JSON property property
5421 5422 5423 |
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 5421 def property @property end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5428 5429 5430 5431 |
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 5428 def update!(**args) @opt_out = args[:opt_out] if args.key?(:opt_out) @property = args[:property] if args.key?(:property) end |