Google Analytics Admin API . properties . firebaseLinks

Instance Methods

close()

Close httplib2 connections.

create(parent, body=None, x__xgafv=None)

Creates a FirebaseLink. Properties can have at most one FirebaseLink.

delete(name, x__xgafv=None)

Deletes a FirebaseLink on a property

list(parent, x__xgafv=None)

Lists FirebaseLinks on a property. Properties can have at most one FirebaseLink.

patch(name, body=None, updateMask=None, x__xgafv=None)

Updates a FirebaseLink on a property

Method Details

close()
Close httplib2 connections.
create(parent, body=None, x__xgafv=None)
Creates a FirebaseLink. Properties can have at most one FirebaseLink.

Args:
  parent: string, Required. Format: properties/{property_id} Example: properties/1234 (required)
  body: object, The request body.
    The object takes the form of:

{ # A link between an GA4 property and a Firebase project.
  "createTime": "A String", # Output only. Time when this FirebaseLink was originally created.
  "maximumUserAccess": "A String", # Maximum user access to the GA4 property allowed to admins of the linked Firebase project.
  "name": "A String", # Output only. Example format: properties/1234/firebaseLinks/5678
  "project": "A String", # 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'
}

  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    { # A link between an GA4 property and a Firebase project.
  "createTime": "A String", # Output only. Time when this FirebaseLink was originally created.
  "maximumUserAccess": "A String", # Maximum user access to the GA4 property allowed to admins of the linked Firebase project.
  "name": "A String", # Output only. Example format: properties/1234/firebaseLinks/5678
  "project": "A String", # 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'
}
delete(name, x__xgafv=None)
Deletes a FirebaseLink on a property

Args:
  name: string, Required. Format: properties/{property_id}/firebaseLinks/{firebase_link_id} Example: properties/1234/firebaseLinks/5678 (required)
  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    { # A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } The JSON representation for `Empty` is empty JSON object `{}`.
}
list(parent, x__xgafv=None)
Lists FirebaseLinks on a property. Properties can have at most one FirebaseLink.

Args:
  parent: string, Required. Format: properties/{property_id} Example: properties/1234 (required)
  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    { # Response message for ListFirebaseLinks RPC
  "firebaseLinks": [ # List of FirebaseLinks. This will have at most one value.
    { # A link between an GA4 property and a Firebase project.
      "createTime": "A String", # Output only. Time when this FirebaseLink was originally created.
      "maximumUserAccess": "A String", # Maximum user access to the GA4 property allowed to admins of the linked Firebase project.
      "name": "A String", # Output only. Example format: properties/1234/firebaseLinks/5678
      "project": "A String", # 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'
    },
  ],
}
patch(name, body=None, updateMask=None, x__xgafv=None)
Updates a FirebaseLink on a property

Args:
  name: string, Output only. Example format: properties/1234/firebaseLinks/5678 (required)
  body: object, The request body.
    The object takes the form of:

{ # A link between an GA4 property and a Firebase project.
  "createTime": "A String", # Output only. Time when this FirebaseLink was originally created.
  "maximumUserAccess": "A String", # Maximum user access to the GA4 property allowed to admins of the linked Firebase project.
  "name": "A String", # Output only. Example format: properties/1234/firebaseLinks/5678
  "project": "A String", # 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'
}

  updateMask: string, The list of fields to be updated. Omitted fields will not be updated.
  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    { # A link between an GA4 property and a Firebase project.
  "createTime": "A String", # Output only. Time when this FirebaseLink was originally created.
  "maximumUserAccess": "A String", # Maximum user access to the GA4 property allowed to admins of the linked Firebase project.
  "name": "A String", # Output only. Example format: properties/1234/firebaseLinks/5678
  "project": "A String", # 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'
}