Class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaReportingIdentitySettings

Inherits:
Object
  • Object
show all
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

A resource containing settings related to reporting identity.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAnalyticsAdminV1alphaReportingIdentitySettings

Returns a new instance of GoogleAnalyticsAdminV1alphaReportingIdentitySettings.



5121
5122
5123
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 5121

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#nameString

Output only. Identifier. Resource name for this reporting identity settings singleton resource. Format: properties/property_id/reportingIdentitySettings Example: "properties/1234/reportingIdentitySettings" Corresponds to the JSON property name

Returns:

  • (String)


5114
5115
5116
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 5114

def name
  @name
end

#reporting_identityString

The strategy used for identifying user identities in reports. Corresponds to the JSON property reportingIdentity

Returns:

  • (String)


5119
5120
5121
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 5119

def reporting_identity
  @reporting_identity
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5126
5127
5128
5129
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 5126

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