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

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/analyticsadmin_v1alpha/classes.rb,
generated/google/apis/analyticsadmin_v1alpha/representations.rb,
generated/google/apis/analyticsadmin_v1alpha/representations.rb

Overview

A link between an 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.



695
696
697
# File 'generated/google/apis/analyticsadmin_v1alpha/classes.rb', line 695

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)


673
674
675
# File 'generated/google/apis/analyticsadmin_v1alpha/classes.rb', line 673

def create_time
  @create_time
end

#maximum_user_accessString

Maximum user access to the GA4 property allowed to admins of the linked Firebase project. Corresponds to the JSON property maximumUserAccess

Returns:

  • (String)


679
680
681
# File 'generated/google/apis/analyticsadmin_v1alpha/classes.rb', line 679

def maximum_user_access
  @maximum_user_access
end

#nameString

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

Returns:

  • (String)


684
685
686
# File 'generated/google/apis/analyticsadmin_v1alpha/classes.rb', line 684

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)


693
694
695
# File 'generated/google/apis/analyticsadmin_v1alpha/classes.rb', line 693

def project
  @project
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



700
701
702
703
704
705
# File 'generated/google/apis/analyticsadmin_v1alpha/classes.rb', line 700

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