Class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaFirebaseLink

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 link between a GA4 property and a Firebase project.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAnalyticsAdminV1alphaFirebaseLink

Returns a new instance of GoogleAnalyticsAdminV1alphaFirebaseLink.



3640
3641
3642
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 3640

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

Instance Attribute Details

#create_timeString

Output only. Time when this FirebaseLink was originally created. Corresponds to the JSON property createTime

Returns:

  • (String)


3624
3625
3626
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 3624

def create_time
  @create_time
end

#nameString

Output only. Example format: properties/1234/firebaseLinks/5678 Corresponds to the JSON property name

Returns:

  • (String)


3629
3630
3631
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 3629

def name
  @name
end

#projectString

Immutable. Firebase project resource name. When creating a FirebaseLink, you may provide this resource name using either a project number or project ID. Once this resource has been created, returned FirebaseLinks will always have a project_name that contains a project number. Format: 'projects/project number ' Example: 'projects/1234' Corresponds to the JSON property project

Returns:

  • (String)


3638
3639
3640
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 3638

def project
  @project
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3645
3646
3647
3648
3649
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 3645

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