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.
4943 4944 4945 |
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 4943 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
4933 4934 4935 |
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 4933 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
4941 4942 4943 |
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 4941 def property @property end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4948 4949 4950 4951 |
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 4948 def update!(**args) @opt_out = args[:opt_out] if args.key?(:opt_out) @property = args[:property] if args.key?(:property) end |