Skip to content

Commit

Permalink
feat(analyticsadmin): update the api
Browse files Browse the repository at this point in the history
#### analyticsadmin:v1alpha

The following keys were deleted:
- resources.properties.resources.firebaseLinks.methods.patch (Total Keys: 15)
- schemas.GoogleAnalyticsAdminV1alphaConversionEvent.properties.isDeletable (Total Keys: 2)

The following keys were added:
- schemas.GoogleAnalyticsAdminV1alphaConversionEvent.properties.deletable (Total Keys: 2)
  • Loading branch information
yoshi-automation committed Jun 29, 2021
1 parent 7a488d3 commit 934358e
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 80 deletions.
4 changes: 2 additions & 2 deletions docs/dyn/analyticsadmin_v1alpha.accounts.html
Original file line number Diff line number Diff line change
Expand Up @@ -359,8 +359,8 @@ <h3>Method Details</h3>
&quot;conversionEvent&quot;: { # A conversion event in a Google Analytics property. # A snapshot of a ConversionEvent resource in change history.
&quot;createTime&quot;: &quot;A String&quot;, # Output only. Time when this conversion event was created in the property.
&quot;custom&quot;: True or False, # Output only. If set to true, this conversion event refers to a custom event. If set to false, this conversion event refers to a default event in GA. Default events typically have special meaning in GA. Default events are usually created for you by the GA system, but in some cases can be created by property admins. Custom events count towards the maximum number of custom conversion events that may be created per property.
&quot;deletable&quot;: True or False, # Output only. If set, this event can currently be deleted via DeleteConversionEvent.
&quot;eventName&quot;: &quot;A String&quot;, # Immutable. The event name for this conversion event. Examples: &#x27;click&#x27;, &#x27;purchase&#x27;
&quot;isDeletable&quot;: True or False, # Output only. If set, this event can currently be deleted via DeleteConversionEvent.
&quot;name&quot;: &quot;A String&quot;, # Output only. Resource name of this conversion event. Format: properties/{property}/conversionEvents/{conversion_event}
},
&quot;customDimension&quot;: { # A definition for a CustomDimension. # A snapshot of a CustomDimension resource in change history.
Expand Down Expand Up @@ -453,8 +453,8 @@ <h3>Method Details</h3>
&quot;conversionEvent&quot;: { # A conversion event in a Google Analytics property. # A snapshot of a ConversionEvent resource in change history.
&quot;createTime&quot;: &quot;A String&quot;, # Output only. Time when this conversion event was created in the property.
&quot;custom&quot;: True or False, # Output only. If set to true, this conversion event refers to a custom event. If set to false, this conversion event refers to a default event in GA. Default events typically have special meaning in GA. Default events are usually created for you by the GA system, but in some cases can be created by property admins. Custom events count towards the maximum number of custom conversion events that may be created per property.
&quot;deletable&quot;: True or False, # Output only. If set, this event can currently be deleted via DeleteConversionEvent.
&quot;eventName&quot;: &quot;A String&quot;, # Immutable. The event name for this conversion event. Examples: &#x27;click&#x27;, &#x27;purchase&#x27;
&quot;isDeletable&quot;: True or False, # Output only. If set, this event can currently be deleted via DeleteConversionEvent.
&quot;name&quot;: &quot;A String&quot;, # Output only. Resource name of this conversion event. Format: properties/{property}/conversionEvents/{conversion_event}
},
&quot;customDimension&quot;: { # A definition for a CustomDimension. # A snapshot of a CustomDimension resource in change history.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -110,8 +110,8 @@ <h3>Method Details</h3>
{ # A conversion event in a Google Analytics property.
&quot;createTime&quot;: &quot;A String&quot;, # Output only. Time when this conversion event was created in the property.
&quot;custom&quot;: True or False, # Output only. If set to true, this conversion event refers to a custom event. If set to false, this conversion event refers to a default event in GA. Default events typically have special meaning in GA. Default events are usually created for you by the GA system, but in some cases can be created by property admins. Custom events count towards the maximum number of custom conversion events that may be created per property.
&quot;deletable&quot;: True or False, # Output only. If set, this event can currently be deleted via DeleteConversionEvent.
&quot;eventName&quot;: &quot;A String&quot;, # Immutable. The event name for this conversion event. Examples: &#x27;click&#x27;, &#x27;purchase&#x27;
&quot;isDeletable&quot;: True or False, # Output only. If set, this event can currently be deleted via DeleteConversionEvent.
&quot;name&quot;: &quot;A String&quot;, # Output only. Resource name of this conversion event. Format: properties/{property}/conversionEvents/{conversion_event}
}

Expand All @@ -126,8 +126,8 @@ <h3>Method Details</h3>
{ # A conversion event in a Google Analytics property.
&quot;createTime&quot;: &quot;A String&quot;, # Output only. Time when this conversion event was created in the property.
&quot;custom&quot;: True or False, # Output only. If set to true, this conversion event refers to a custom event. If set to false, this conversion event refers to a default event in GA. Default events typically have special meaning in GA. Default events are usually created for you by the GA system, but in some cases can be created by property admins. Custom events count towards the maximum number of custom conversion events that may be created per property.
&quot;deletable&quot;: True or False, # Output only. If set, this event can currently be deleted via DeleteConversionEvent.
&quot;eventName&quot;: &quot;A String&quot;, # Immutable. The event name for this conversion event. Examples: &#x27;click&#x27;, &#x27;purchase&#x27;
&quot;isDeletable&quot;: True or False, # Output only. If set, this event can currently be deleted via DeleteConversionEvent.
&quot;name&quot;: &quot;A String&quot;, # Output only. Resource name of this conversion event. Format: properties/{property}/conversionEvents/{conversion_event}
}</pre>
</div>
Expand Down Expand Up @@ -167,8 +167,8 @@ <h3>Method Details</h3>
{ # A conversion event in a Google Analytics property.
&quot;createTime&quot;: &quot;A String&quot;, # Output only. Time when this conversion event was created in the property.
&quot;custom&quot;: True or False, # Output only. If set to true, this conversion event refers to a custom event. If set to false, this conversion event refers to a default event in GA. Default events typically have special meaning in GA. Default events are usually created for you by the GA system, but in some cases can be created by property admins. Custom events count towards the maximum number of custom conversion events that may be created per property.
&quot;deletable&quot;: True or False, # Output only. If set, this event can currently be deleted via DeleteConversionEvent.
&quot;eventName&quot;: &quot;A String&quot;, # Immutable. The event name for this conversion event. Examples: &#x27;click&#x27;, &#x27;purchase&#x27;
&quot;isDeletable&quot;: True or False, # Output only. If set, this event can currently be deleted via DeleteConversionEvent.
&quot;name&quot;: &quot;A String&quot;, # Output only. Resource name of this conversion event. Format: properties/{property}/conversionEvents/{conversion_event}
}</pre>
</div>
Expand All @@ -194,8 +194,8 @@ <h3>Method Details</h3>
{ # A conversion event in a Google Analytics property.
&quot;createTime&quot;: &quot;A String&quot;, # Output only. Time when this conversion event was created in the property.
&quot;custom&quot;: True or False, # Output only. If set to true, this conversion event refers to a custom event. If set to false, this conversion event refers to a default event in GA. Default events typically have special meaning in GA. Default events are usually created for you by the GA system, but in some cases can be created by property admins. Custom events count towards the maximum number of custom conversion events that may be created per property.
&quot;deletable&quot;: True or False, # Output only. If set, this event can currently be deleted via DeleteConversionEvent.
&quot;eventName&quot;: &quot;A String&quot;, # Immutable. The event name for this conversion event. Examples: &#x27;click&#x27;, &#x27;purchase&#x27;
&quot;isDeletable&quot;: True or False, # Output only. If set, this event can currently be deleted via DeleteConversionEvent.
&quot;name&quot;: &quot;A String&quot;, # Output only. Resource name of this conversion event. Format: properties/{property}/conversionEvents/{conversion_event}
},
],
Expand Down
34 changes: 0 additions & 34 deletions docs/dyn/analyticsadmin_v1alpha.properties.firebaseLinks.html
Original file line number Diff line number Diff line change
Expand Up @@ -89,9 +89,6 @@ <h2>Instance Methods</h2>
<p class="toc_element">
<code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p>
<p class="firstline">Retrieves the next page of results.</p>
<p class="toc_element">
<code><a href="#patch">patch(name, body=None, updateMask=None, x__xgafv=None)</a></code></p>
<p class="firstline">Updates a FirebaseLink on a property</p>
<h3>Method Details</h3>
<div class="method">
<code class="details" id="close">close()</code>
Expand Down Expand Up @@ -188,35 +185,4 @@ <h3>Method Details</h3>
</pre>
</div>

<div class="method">
<code class="details" id="patch">patch(name, body=None, updateMask=None, x__xgafv=None)</code>
<pre>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.
&quot;createTime&quot;: &quot;A String&quot;, # Output only. Time when this FirebaseLink was originally created.
&quot;name&quot;: &quot;A String&quot;, # Output only. Example format: properties/1234/firebaseLinks/5678
&quot;project&quot;: &quot;A String&quot;, # 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: &#x27;projects/{project number}&#x27; Example: &#x27;projects/1234&#x27;
}

updateMask: string, Required. The list of fields to be updated. Field names must be in snake case (e.g., &quot;field_to_update&quot;). Omitted fields will not be updated. To replace the entire entity, use one path with the string &quot;*&quot; to match all fields.
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.
&quot;createTime&quot;: &quot;A String&quot;, # Output only. Time when this FirebaseLink was originally created.
&quot;name&quot;: &quot;A String&quot;, # Output only. Example format: properties/1234/firebaseLinks/5678
&quot;project&quot;: &quot;A String&quot;, # 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: &#x27;projects/{project number}&#x27; Example: &#x27;projects/1234&#x27;
}</pre>
</div>

</body></html>
Original file line number Diff line number Diff line change
Expand Up @@ -1652,40 +1652,6 @@
"https://www.googleapis.com/auth/analytics.edit",
"https://www.googleapis.com/auth/analytics.readonly"
]
},
"patch": {
"description": "Updates a FirebaseLink on a property",
"flatPath": "v1alpha/properties/{propertiesId}/firebaseLinks/{firebaseLinksId}",
"httpMethod": "PATCH",
"id": "analyticsadmin.properties.firebaseLinks.patch",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"description": "Output only. Example format: properties/1234/firebaseLinks/5678",
"location": "path",
"pattern": "^properties/[^/]+/firebaseLinks/[^/]+$",
"required": true,
"type": "string"
},
"updateMask": {
"description": "Required. The list of fields to be updated. Field names must be in snake case (e.g., \"field_to_update\"). Omitted fields will not be updated. To replace the entire entity, use one path with the string \"*\" to match all fields.",
"format": "google-fieldmask",
"location": "query",
"type": "string"
}
},
"path": "v1alpha/{+name}",
"request": {
"$ref": "GoogleAnalyticsAdminV1alphaFirebaseLink"
},
"response": {
"$ref": "GoogleAnalyticsAdminV1alphaFirebaseLink"
},
"scopes": [
"https://www.googleapis.com/auth/analytics.edit"
]
}
}
},
Expand Down Expand Up @@ -2796,7 +2762,7 @@
}
}
},
"revision": "20210614",
"revision": "20210625",
"rootUrl": "https://analyticsadmin.googleapis.com/",
"schemas": {
"GoogleAnalyticsAdminV1alphaAccount": {
Expand Down Expand Up @@ -3214,15 +3180,15 @@
"readOnly": true,
"type": "boolean"
},
"eventName": {
"description": "Immutable. The event name for this conversion event. Examples: 'click', 'purchase'",
"type": "string"
},
"isDeletable": {
"deletable": {
"description": "Output only. If set, this event can currently be deleted via DeleteConversionEvent.",
"readOnly": true,
"type": "boolean"
},
"eventName": {
"description": "Immutable. The event name for this conversion event. Examples: 'click', 'purchase'",
"type": "string"
},
"name": {
"description": "Output only. Resource name of this conversion event. Format: properties/{property}/conversionEvents/{conversion_event}",
"readOnly": true,
Expand Down

0 comments on commit 934358e

Please sign in to comment.