Class: Google::Apis::AnalyticsadminV1beta::GoogleAnalyticsAdminV1betaFirebaseLink

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

Overview

A link between a Google Analytics property and a Firebase project.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAnalyticsAdminV1betaFirebaseLink

Returns a new instance of GoogleAnalyticsAdminV1betaFirebaseLink.



1382
1383
1384
# File 'lib/google/apis/analyticsadmin_v1beta/classes.rb', line 1382

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)


1366
1367
1368
# File 'lib/google/apis/analyticsadmin_v1beta/classes.rb', line 1366

def create_time
  @create_time
end

#nameString

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

Returns:

  • (String)


1371
1372
1373
# File 'lib/google/apis/analyticsadmin_v1beta/classes.rb', line 1371

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)


1380
1381
1382
# File 'lib/google/apis/analyticsadmin_v1beta/classes.rb', line 1380

def project
  @project
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1387
1388
1389
1390
1391
# File 'lib/google/apis/analyticsadmin_v1beta/classes.rb', line 1387

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