Skip to content

Commit

Permalink
feat(all): auto-regenerate discovery clients (#1514)
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshi-automation committed Apr 18, 2022
1 parent 95e21aa commit 11035bd
Show file tree
Hide file tree
Showing 30 changed files with 954 additions and 148 deletions.
10 changes: 5 additions & 5 deletions apigateway/v1/apigateway-api.json
Expand Up @@ -143,7 +143,7 @@
],
"parameters": {
"filter": {
"description": "A filter to narrow down results to a preferred subset. The filtering language accepts strings like \"displayName=tokyo\", and is documented in more detail in [AIP-160](https://google.aip.dev/160).",
"description": "A filter to narrow down results to a preferred subset. The filtering language accepts strings like `\"displayName=tokyo\"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160).",
"location": "query",
"type": "string"
},
Expand Down Expand Up @@ -1083,7 +1083,7 @@
}
}
},
"revision": "20220323",
"revision": "20220406",
"rootUrl": "https://apigateway.googleapis.com/",
"schemas": {
"ApigatewayApi": {
Expand Down Expand Up @@ -1336,7 +1336,7 @@
"description": "The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies)."
},
"members": {
"description": "Specifies the principals requesting access for a Cloud Platform resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. ",
"description": "Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. ",
"items": {
"type": "string"
},
Expand Down Expand Up @@ -1727,7 +1727,7 @@
"properties": {
"policy": {
"$ref": "ApigatewayPolicy",
"description": "REQUIRED: The complete policy to be applied to the `resource`. The size of the policy is limited to a few 10s of KB. An empty policy is a valid policy but certain Cloud Platform services (such as Projects) might reject them."
"description": "REQUIRED: The complete policy to be applied to the `resource`. The size of the policy is limited to a few 10s of KB. An empty policy is a valid policy but certain Google Cloud services (such as Projects) might reject them."
},
"updateMask": {
"description": "OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only the fields in the mask will be modified. If no mask is provided, the following default mask is used: `paths: \"bindings, etag\"`",
Expand Down Expand Up @@ -1769,7 +1769,7 @@
"id": "ApigatewayTestIamPermissionsRequest",
"properties": {
"permissions": {
"description": "The set of permissions to check for the `resource`. Permissions with wildcards (such as '*' or 'storage.*') are not allowed. For more information see [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).",
"description": "The set of permissions to check for the `resource`. Permissions with wildcards (such as `*` or `storage.*`) are not allowed. For more information see [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).",
"items": {
"type": "string"
},
Expand Down
14 changes: 7 additions & 7 deletions apigateway/v1/apigateway-gen.go

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

136 changes: 134 additions & 2 deletions baremetalsolution/v2/baremetalsolution-api.json
Expand Up @@ -143,7 +143,7 @@
],
"parameters": {
"filter": {
"description": "A filter to narrow down results to a preferred subset. The filtering language accepts strings like \"displayName=tokyo\", and is documented in more detail in [AIP-160](https://google.aip.dev/160).",
"description": "A filter to narrow down results to a preferred subset. The filtering language accepts strings like `\"displayName=tokyo\"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160).",
"location": "query",
"type": "string"
},
Expand Down Expand Up @@ -176,6 +176,35 @@
}
},
"resources": {
"instanceProvisioningSettings": {
"methods": {
"fetch": {
"description": "Get instance provisioning settings for a given project. This is hidden method used by UI only.",
"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/instanceProvisioningSettings:fetch",
"httpMethod": "GET",
"id": "baremetalsolution.projects.locations.instanceProvisioningSettings.fetch",
"parameterOrder": [
"location"
],
"parameters": {
"location": {
"description": "Required. The parent project and location containing the ProvisioningSettings.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v2/{+location}/instanceProvisioningSettings:fetch",
"response": {
"$ref": "FetchInstanceProvisioningSettingsResponse"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
}
}
},
"instances": {
"methods": {
"get": {
Expand Down Expand Up @@ -1222,7 +1251,7 @@
}
}
},
"revision": "20220322",
"revision": "20220405",
"rootUrl": "https://baremetalsolution.googleapis.com/",
"schemas": {
"AllowedClient": {
Expand Down Expand Up @@ -1276,6 +1305,20 @@
"properties": {},
"type": "object"
},
"FetchInstanceProvisioningSettingsResponse": {
"description": "Response with all provisioning settings.",
"id": "FetchInstanceProvisioningSettingsResponse",
"properties": {
"images": {
"description": "The OS images available.",
"items": {
"$ref": "OSImage"
},
"type": "array"
}
},
"type": "object"
},
"Instance": {
"description": "A server.",
"id": "Instance",
Expand Down Expand Up @@ -1689,6 +1732,35 @@
},
"type": "object"
},
"LogicalInterface": {
"description": "Logical interface.",
"id": "LogicalInterface",
"properties": {
"name": {
"description": "Interface name. This is not a globally unique identifier. Name is unique only inside the ServerNetworkTemplate.",
"type": "string"
},
"required": {
"description": "If true, interface must have network connected.",
"type": "boolean"
},
"type": {
"description": "Interface type.",
"enum": [
"INTERFACE_TYPE_UNSPECIFIED",
"BOND",
"NIC"
],
"enumDescriptions": [
"Unspecified value.",
"Bond interface type.",
"NIC interface ytpe."
],
"type": "string"
}
},
"type": "object"
},
"Lun": {
"description": "A storage volume logical unit number (LUN).",
"id": "Lun",
Expand Down Expand Up @@ -2083,6 +2155,40 @@
},
"type": "object"
},
"OSImage": {
"description": "Operation System image.",
"id": "OSImage",
"properties": {
"applicableInstanceTypes": {
"description": "Instance types this image is applicable to. [Available types](https://cloud.google.com/bare-metal/docs/bms-planning#server_configurations)",
"items": {
"type": "string"
},
"type": "array"
},
"code": {
"description": "OS Image code.",
"type": "string"
},
"description": {
"description": "OS Image description.",
"type": "string"
},
"name": {
"description": "Output only. OS Image's unique name.",
"readOnly": true,
"type": "string"
},
"supportedNetworkTemplates": {
"description": "Network templates that can be used with this OS Image.",
"items": {
"$ref": "ServerNetworkTemplate"
},
"type": "array"
}
},
"type": "object"
},
"Operation": {
"description": "This resource represents a long-running operation that is the result of a network API call.",
"id": "Operation",
Expand Down Expand Up @@ -2297,6 +2403,32 @@
},
"type": "object"
},
"ServerNetworkTemplate": {
"description": "Network template.",
"id": "ServerNetworkTemplate",
"properties": {
"applicableInstanceTypes": {
"description": "Instance types this template is applicable to.",
"items": {
"type": "string"
},
"type": "array"
},
"logicalInterfaces": {
"description": "Logical interfaces.",
"items": {
"$ref": "LogicalInterface"
},
"type": "array"
},
"name": {
"description": "Output only. Template's unique name.",
"readOnly": true,
"type": "string"
}
},
"type": "object"
},
"SnapshotReservationDetail": {
"description": "Details about snapshot space reservation and usage on the storage volume.",
"id": "SnapshotReservationDetail",
Expand Down

0 comments on commit 11035bd

Please sign in to comment.