Class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaSubpropertySyncConfig
- Inherits:
-
Object
- Object
- Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaSubpropertySyncConfig
- 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
Subproperty synchronization configuration controls how ordinary property configurations are synchronized to subproperties. This resource is provisioned automatically for each subproperty.
Instance Attribute Summary collapse
-
#apply_to_property ⇒ String
Output only.
-
#custom_dimension_and_metric_sync_mode ⇒ String
Required.
-
#name ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleAnalyticsAdminV1alphaSubpropertySyncConfig
constructor
A new instance of GoogleAnalyticsAdminV1alphaSubpropertySyncConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleAnalyticsAdminV1alphaSubpropertySyncConfig
Returns a new instance of GoogleAnalyticsAdminV1alphaSubpropertySyncConfig.
5826 5827 5828 |
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 5826 def initialize(**args) update!(**args) end |
Instance Attribute Details
#apply_to_property ⇒ String
Output only. Immutable. Resource name of the subproperty that these settings
apply to.
Corresponds to the JSON property applyToProperty
5807 5808 5809 |
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 5807 def apply_to_property @apply_to_property end |
#custom_dimension_and_metric_sync_mode ⇒ String
Required. Specifies the Custom Dimension / Metric synchronization mode for the
subproperty. If set to ALL, Custom Dimension / Metric synchronization will be
immediately enabled. Local configuration of Custom Dimensions / Metrics will
not be allowed on the subproperty so long as the synchronization mode is set
to ALL. If set to NONE, Custom Dimensions / Metric synchronization is disabled.
Custom Dimensions / Metrics must be configured explicitly on the Subproperty.
Corresponds to the JSON property customDimensionAndMetricSyncMode
5817 5818 5819 |
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 5817 def custom_dimension_and_metric_sync_mode @custom_dimension_and_metric_sync_mode end |
#name ⇒ String
Output only. Identifier. Format: properties/ordinary_property_id/
subpropertySyncConfigs/subproperty_id Example: properties/1234/
subpropertySyncConfigs/5678
Corresponds to the JSON property name
5824 5825 5826 |
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 5824 def name @name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5831 5832 5833 5834 5835 |
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 5831 def update!(**args) @apply_to_property = args[:apply_to_property] if args.key?(:apply_to_property) @custom_dimension_and_metric_sync_mode = args[:custom_dimension_and_metric_sync_mode] if args.key?(:custom_dimension_and_metric_sync_mode) @name = args[:name] if args.key?(:name) end |