Class: Google::Apis::FirebaseV1beta1::RemoveAnalyticsRequest

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ RemoveAnalyticsRequest

Returns a new instance of RemoveAnalyticsRequest.



966
967
968
# File 'generated/google/apis/firebase_v1beta1/classes.rb', line 966

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

Instance Attribute Details

#analytics_property_idString

Optional. The ID of the Google Analytics property associated with the specified FirebaseProject.

  • If not set, then the Google Analytics property that is currently associated with the specified `FirebaseProject` is removed.
  • If set, and the specified `FirebaseProject` is currently associated with a different Google Analytics property, then the response is a `412 Precondition Failed` error.

Corresponds to the JSON property analyticsPropertyId

Returns:

  • (String)


964
965
966
# File 'generated/google/apis/firebase_v1beta1/classes.rb', line 964

def analytics_property_id
  @analytics_property_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



971
972
973
# File 'generated/google/apis/firebase_v1beta1/classes.rb', line 971

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