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, pageSize=None, pageToken=None, x__xgafv=None)

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

list_next(previous_request, previous_response)

Retrieves the next page of results.

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 a GA4 property and a Firebase project.
  "createTime": "A String", # Output only. Time when this FirebaseLink was originally created.
  "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 a GA4 property and a Firebase project.
  "createTime": "A String", # Output only. Time when this FirebaseLink was originally created.
  "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, pageSize=None, pageToken=None, 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)
  pageSize: integer, The maximum number of resources to return. The service may return fewer than this value, even if there are additional pages. If unspecified, at most 50 resources will be returned. The maximum value is 200; (higher values will be coerced to the maximum)
  pageToken: string, A page token, received from a previous `ListFirebaseLinks` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListProperties` must match the call that provided the page token.
  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 a GA4 property and a Firebase project.
      "createTime": "A String", # Output only. Time when this FirebaseLink was originally created.
      "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'
    },
  ],
  "nextPageToken": "A String", # A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. Currently, Google Analytics supports only one FirebaseLink per property, so this will never be populated.
}
list_next(previous_request, previous_response)
Retrieves the next page of results.

Args:
  previous_request: The request for the previous page. (required)
  previous_response: The response from the request for the previous page. (required)

Returns:
  A request object that you can call 'execute()' on to request the next
  page. Returns None if there are no more items in the collection.