Skip to content

Commit

Permalink
feat(all): auto-regenerate discovery clients (#1978)
Browse files Browse the repository at this point in the history
Co-authored-by: Noah Dietz <noahdietz@users.noreply.github.com>
  • Loading branch information
yoshi-automation and noahdietz committed May 18, 2023
1 parent 94d3d73 commit d27f40f
Show file tree
Hide file tree
Showing 161 changed files with 72,133 additions and 42,521 deletions.
6 changes: 3 additions & 3 deletions admin/directory/v1/admin-api.json
Expand Up @@ -3901,7 +3901,7 @@
]
},
"insert": {
"description": "Creates a user.",
"description": "Creates a user. Mutate calls immediately following user creation might sometimes fail as the user isn't fully created due to propagation delay in our backends. Check the error details for the \"User creation is not complete\" message to see if this is the case. Retrying the calls after some time can help in this case.",
"flatPath": "admin/directory/v1/users",
"httpMethod": "POST",
"id": "directory.users.insert",
Expand Down Expand Up @@ -4635,7 +4635,7 @@
}
}
},
"revision": "20230425",
"revision": "20230516",
"rootUrl": "https://admin.googleapis.com/",
"schemas": {
"Alias": {
Expand Down Expand Up @@ -6442,7 +6442,7 @@
"id": "Member",
"properties": {
"delivery_settings": {
"description": "Defines mail delivery preferences of member. This is only supported by create/update/get.",
"description": "Defines mail delivery preferences of member. This field is only supported by `insert`, `update`, and `get` methods.",
"type": "string"
},
"email": {
Expand Down
10 changes: 7 additions & 3 deletions admin/directory/v1/admin-gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

152 changes: 149 additions & 3 deletions analyticsadmin/v1alpha/analyticsadmin-api.json
Expand Up @@ -1693,6 +1693,112 @@
}
}
},
"adSenseLinks": {
"methods": {
"create": {
"description": "Creates an AdSenseLink.",
"flatPath": "v1alpha/properties/{propertiesId}/adSenseLinks",
"httpMethod": "POST",
"id": "analyticsadmin.properties.adSenseLinks.create",
"parameterOrder": [
"parent"
],
"parameters": {
"parent": {
"description": "Required. The property for which to create an AdSense Link. Format: properties/{propertyId} Example: properties/1234",
"location": "path",
"pattern": "^properties/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1alpha/{+parent}/adSenseLinks",
"request": {
"$ref": "GoogleAnalyticsAdminV1alphaAdSenseLink"
},
"response": {
"$ref": "GoogleAnalyticsAdminV1alphaAdSenseLink"
}
},
"delete": {
"description": "Deletes an AdSenseLink.",
"flatPath": "v1alpha/properties/{propertiesId}/adSenseLinks/{adSenseLinksId}",
"httpMethod": "DELETE",
"id": "analyticsadmin.properties.adSenseLinks.delete",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"description": "Required. Unique identifier for the AdSense Link to be deleted. Format: properties/{propertyId}/adSenseLinks/{linkId} Example: properties/1234/adSenseLinks/5678",
"location": "path",
"pattern": "^properties/[^/]+/adSenseLinks/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1alpha/{+name}",
"response": {
"$ref": "GoogleProtobufEmpty"
}
},
"get": {
"description": "Looks up a single AdSenseLink.",
"flatPath": "v1alpha/properties/{propertiesId}/adSenseLinks/{adSenseLinksId}",
"httpMethod": "GET",
"id": "analyticsadmin.properties.adSenseLinks.get",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"description": "Required. Unique identifier for the AdSense Link requested. Format: properties/{propertyId}/adSenseLinks/{linkId} Example: properties/1234/adSenseLinks/5678",
"location": "path",
"pattern": "^properties/[^/]+/adSenseLinks/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1alpha/{+name}",
"response": {
"$ref": "GoogleAnalyticsAdminV1alphaAdSenseLink"
}
},
"list": {
"description": "Lists AdSenseLinks on a property.",
"flatPath": "v1alpha/properties/{propertiesId}/adSenseLinks",
"httpMethod": "GET",
"id": "analyticsadmin.properties.adSenseLinks.list",
"parameterOrder": [
"parent"
],
"parameters": {
"pageSize": {
"description": "The maximum number of resources to return. If unspecified, at most 50 resources will be returned. The maximum value is 200 (higher values will be coerced to the maximum).",
"format": "int32",
"location": "query",
"type": "integer"
},
"pageToken": {
"description": "A page token received from a previous `ListAdSenseLinks` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListAdSenseLinks` must match the call that provided the page token.",
"location": "query",
"type": "string"
},
"parent": {
"description": "Required. Resource name of the parent property. Format: properties/{propertyId} Example: properties/1234",
"location": "path",
"pattern": "^properties/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1alpha/{+parent}/adSenseLinks",
"response": {
"$ref": "GoogleAnalyticsAdminV1alphaListAdSenseLinksResponse"
}
}
}
},
"audiences": {
"methods": {
"archive": {
Expand Down Expand Up @@ -2873,7 +2979,7 @@
],
"parameters": {
"name": {
"description": "Output only. Resource name for this EventCreateRule resource. Format: properties/{property}/dataStreams/{data_stream}/eventCreateRules",
"description": "Output only. Resource name for this EventCreateRule resource. Format: properties/{property}/dataStreams/{data_stream}/eventCreateRules/{event_create_rule}",
"location": "path",
"pattern": "^properties/[^/]+/dataStreams/[^/]+/eventCreateRules/[^/]+$",
"required": true,
Expand Down Expand Up @@ -4216,7 +4322,7 @@
}
}
},
"revision": "20230507",
"revision": "20230516",
"rootUrl": "https://analyticsadmin.googleapis.com/",
"schemas": {
"GoogleAnalyticsAdminV1alphaAccessBetweenFilter": {
Expand Down Expand Up @@ -4690,6 +4796,22 @@
"properties": {},
"type": "object"
},
"GoogleAnalyticsAdminV1alphaAdSenseLink": {
"description": "A link between a GA4 Property and an AdSense for Content ad client.",
"id": "GoogleAnalyticsAdminV1alphaAdSenseLink",
"properties": {
"adClientCode": {
"description": "Immutable. The AdSense ad client code that the GA4 property is linked to. Example format: \"ca-pub-1234567890\"",
"type": "string"
},
"name": {
"description": "Output only. The resource name for this AdSense Link resource. Format: properties/{propertyId}/adSenseLinks/{linkId} Example: properties/1234/adSenseLinks/6789",
"readOnly": true,
"type": "string"
}
},
"type": "object"
},
"GoogleAnalyticsAdminV1alphaApproveDisplayVideo360AdvertiserLinkProposalRequest": {
"description": "Request message for ApproveDisplayVideo360AdvertiserLinkProposal RPC.",
"id": "GoogleAnalyticsAdminV1alphaApproveDisplayVideo360AdvertiserLinkProposalRequest",
Expand Down Expand Up @@ -5538,6 +5660,10 @@
"$ref": "GoogleAnalyticsAdminV1alphaAccount",
"description": "A snapshot of an Account resource in change history."
},
"adsenseLink": {
"$ref": "GoogleAnalyticsAdminV1alphaAdSenseLink",
"description": "A snapshot of an AdSenseLink resource in change history."
},
"attributionSettings": {
"$ref": "GoogleAnalyticsAdminV1alphaAttributionSettings",
"description": "A snapshot of AttributionSettings resource in change history."
Expand Down Expand Up @@ -6389,7 +6515,7 @@
"type": "array"
},
"name": {
"description": "Output only. Resource name for this EventCreateRule resource. Format: properties/{property}/dataStreams/{data_stream}/eventCreateRules",
"description": "Output only. Resource name for this EventCreateRule resource. Format: properties/{property}/dataStreams/{data_stream}/eventCreateRules/{event_create_rule}",
"readOnly": true,
"type": "string"
},
Expand Down Expand Up @@ -6823,6 +6949,24 @@
},
"type": "object"
},
"GoogleAnalyticsAdminV1alphaListAdSenseLinksResponse": {
"description": "Response message for ListAdSenseLinks method.",
"id": "GoogleAnalyticsAdminV1alphaListAdSenseLinksResponse",
"properties": {
"adsenseLinks": {
"description": "List of AdSenseLinks.",
"items": {
"$ref": "GoogleAnalyticsAdminV1alphaAdSenseLink"
},
"type": "array"
},
"nextPageToken": {
"description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.",
"type": "string"
}
},
"type": "object"
},
"GoogleAnalyticsAdminV1alphaListAudiencesResponse": {
"description": "Response message for ListAudiences RPC.",
"id": "GoogleAnalyticsAdminV1alphaListAudiencesResponse",
Expand Down Expand Up @@ -7685,6 +7829,7 @@
"EXPANDED_DATA_SET",
"CHANNEL_GROUP",
"ENHANCED_MEASUREMENT_SETTINGS",
"ADSENSE_LINK",
"AUDIENCE",
"EVENT_CREATE_RULE"
],
Expand All @@ -7708,6 +7853,7 @@
"ExpandedDataSet resource",
"ChannelGroup resource",
"EnhancedMeasurementSettings resource",
"AdSenseLink resource",
"Audience resource",
"EventCreateRule resource"
],
Expand Down

0 comments on commit d27f40f

Please sign in to comment.