Skip to content

Commit

Permalink
feat(all): auto-regenerate discovery clients (#1671)
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshi-automation authored Aug 18, 2022
1 parent 07ceb9d commit 7158b89
Show file tree
Hide file tree
Showing 64 changed files with 2,462 additions and 1,843 deletions.
17 changes: 9 additions & 8 deletions admin/directory/v1/admin-api.json
Original file line number Diff line number Diff line change
Expand Up @@ -493,7 +493,7 @@
],
"parameters": {
"customerId": {
"description": "Immutable ID of the Google Workspace account",
"description": "Immutable. ID of the Google Workspace account",
"location": "path",
"required": true,
"type": "string"
Expand Down Expand Up @@ -626,13 +626,13 @@
],
"parameters": {
"customerId": {
"description": "Immutable. Immutable ID of the Google Workspace account.",
"description": "Immutable. ID of the Google Workspace account.",
"location": "path",
"required": true,
"type": "string"
},
"deviceId": {
"description": "Immutable. Immutable ID of Chrome OS Device.",
"description": "Immutable. ID of Chrome OS Device.",
"location": "path",
"required": true,
"type": "string"
Expand Down Expand Up @@ -665,20 +665,20 @@
],
"parameters": {
"commandId": {
"description": "Immutable. Immutable ID of Chrome OS Device Command.",
"description": "Immutable. ID of Chrome OS Device Command.",
"format": "int64",
"location": "path",
"required": true,
"type": "string"
},
"customerId": {
"description": "Immutable. Immutable ID of the Google Workspace account.",
"description": "Immutable. ID of the Google Workspace account.",
"location": "path",
"required": true,
"type": "string"
},
"deviceId": {
"description": "Immutable. Immutable ID of Chrome OS Device.",
"description": "Immutable. ID of Chrome OS Device.",
"location": "path",
"required": true,
"type": "string"
Expand Down Expand Up @@ -1648,7 +1648,7 @@
]
},
"hasMember": {
"description": "Checks whether the given user is a member of the group. Membership can be direct or nested.",
"description": "Checks whether the given user is a member of the group. Membership can be direct or nested, but if nested, the `memberKey` and `groupKey` must be entities in the same domain or an `Invalid input` error is returned. To check for nested memberships that include entities outside of the group's domain, use the [`checkTransitiveMembership()`](https://cloud.google.com/identity/docs/reference/rest/v1/groups.memberships/checkTransitiveMembership) method in the Cloud Identity Groups API.",
"flatPath": "admin/directory/v1/groups/{groupKey}/hasMember/{memberKey}",
"httpMethod": "GET",
"id": "directory.members.hasMember",
Expand Down Expand Up @@ -4407,7 +4407,7 @@
}
}
},
"revision": "20220809",
"revision": "20220816",
"rootUrl": "https://admin.googleapis.com/",
"schemas": {
"Alias": {
Expand Down Expand Up @@ -5333,6 +5333,7 @@
"type": "object"
},
"ChromeOsDeviceAction": {
"description": "The data regarding an action to update the status of a Chrome OS device.",
"id": "ChromeOsDeviceAction",
"properties": {
"action": {
Expand Down
38 changes: 22 additions & 16 deletions admin/directory/v1/admin-gen.go

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

42 changes: 41 additions & 1 deletion adsense/v2/adsense-api.json
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,31 @@
"https://www.googleapis.com/auth/adsense.readonly"
]
},
"getAdBlockingRecoveryTag": {
"description": "Gets the ad blocking recovery tag of an account.",
"flatPath": "v2/accounts/{accountsId}/adBlockingRecoveryTag",
"httpMethod": "GET",
"id": "adsense.accounts.getAdBlockingRecoveryTag",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"description": "Required. The name of the account to get the tag for. Format: accounts/{account}",
"location": "path",
"pattern": "^accounts/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v2/{+name}/adBlockingRecoveryTag",
"response": {
"$ref": "AdBlockingRecoveryTag"
},
"scopes": [
"https://www.googleapis.com/auth/adsense"
]
},
"list": {
"description": "Lists all accounts available to this user.",
"flatPath": "v2/accounts",
Expand Down Expand Up @@ -1645,7 +1670,7 @@
}
}
},
"revision": "20220810",
"revision": "20220817",
"rootUrl": "https://adsense.googleapis.com/",
"schemas": {
"Account": {
Expand Down Expand Up @@ -1705,6 +1730,21 @@
},
"type": "object"
},
"AdBlockingRecoveryTag": {
"description": "Representation of an ad blocking recovery tag. See https://support.google.com/adsense/answer/11575177.",
"id": "AdBlockingRecoveryTag",
"properties": {
"errorProtectionCode": {
"description": "Error protection code that can be used in conjunction with the tag. It'll display a message to users if an [ad blocking extension blocks their access to your site](https://support.google.com/adsense/answer/11575480).",
"type": "string"
},
"tag": {
"description": "The ad blocking recovery tag. Note that the message generated by the tag can be blocked by an ad blocking extension. If this is not your desired outcome, then you'll need to use it in conjunction with the error protection code.",
"type": "string"
}
},
"type": "object"
},
"AdClient": {
"description": "Representation of an ad client. An ad client represents a user's subscription with a specific AdSense product.",
"id": "AdClient",
Expand Down
Loading

0 comments on commit 7158b89

Please sign in to comment.