Skip to content

Commit

Permalink
feat(all): auto-regenerate discovery clients (#1565)
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshi-automation committed Jun 1, 2022
1 parent 1463524 commit bacf4f4
Show file tree
Hide file tree
Showing 29 changed files with 2,641 additions and 190 deletions.
15 changes: 15 additions & 0 deletions api-list.json
Expand Up @@ -811,6 +811,21 @@
"documentationLink": "https://code.google.com/apis/books/docs/v1/getting_started.html",
"preferred": true
},
{
"kind": "discovery#directoryItem",
"id": "businessprofileperformance:v1",
"name": "businessprofileperformance",
"version": "v1",
"title": "Business Profile Performance API",
"description": "The Business Profile Performance API allows merchants to fetch performance insights about their business profile on Google.",
"discoveryRestUrl": "https://businessprofileperformance.googleapis.com/$discovery/rest?version=v1",
"icons": {
"x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png",
"x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png"
},
"documentationLink": "https://developers.google.com/my-business/",
"preferred": true
},
{
"kind": "discovery#directoryItem",
"id": "calendar:v3",
Expand Down
4 changes: 2 additions & 2 deletions apikeys/v2/apikeys-api.json
Expand Up @@ -344,7 +344,7 @@
"type": "string"
},
"updateMask": {
"description": "The field mask specifies which fields to be updated as part of this request. All other fields are ignored. Mutable fields are: `display_name`,`restrictions` and `annotations`. If an update mask is not provided, the service treats it as an implied mask equivalent to all allowed fields that are set on the wire. If the field mask has a special value \"*\", the service treats it equivalent to replace all allowed mutable fields.",
"description": "The field mask specifies which fields to be updated as part of this request. All other fields are ignored. Mutable fields are: `display_name`, `restrictions`, and `annotations`. If an update mask is not provided, the service treats it as an implied mask equivalent to all allowed fields that are set on the wire. If the field mask has a special value \"*\", the service treats it equivalent to replace all allowed mutable fields.",
"format": "google-fieldmask",
"location": "query",
"type": "string"
Expand Down Expand Up @@ -396,7 +396,7 @@
}
}
},
"revision": "20220419",
"revision": "20220530",
"rootUrl": "https://apikeys.googleapis.com/",
"schemas": {
"Operation": {
Expand Down
14 changes: 7 additions & 7 deletions apikeys/v2/apikeys-gen.go

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

144 changes: 120 additions & 24 deletions baremetalsolution/v2/baremetalsolution-api.json
Expand Up @@ -531,7 +531,7 @@
"type": "string"
},
"updateMask": {
"description": "The list of fields to update. The only currently supported fields are: `labels`",
"description": "The list of fields to update. The only currently supported fields are: `labels`, `reservations`",
"format": "google-fieldmask",
"location": "query",
"type": "string"
Expand Down Expand Up @@ -999,7 +999,7 @@
}
}
},
"revision": "20220506",
"revision": "20220524",
"rootUrl": "https://baremetalsolution.googleapis.com/",
"schemas": {
"AllowedClient": {
Expand Down Expand Up @@ -1072,6 +1072,58 @@
},
"type": "object"
},
"GoogleCloudBaremetalsolutionV2LogicalInterface": {
"description": "Each logical interface represents a logical abstraction of the underlying physical interface (for eg. bond, nic) of the instance. Each logical interface can effectively map to multiple network-IP pairs and still be mapped to one underlying physical interface.",
"id": "GoogleCloudBaremetalsolutionV2LogicalInterface",
"properties": {
"interfaceIndex": {
"description": "The index of the logical interface mapping to the index of the hardware bond or nic on the chosen network template.",
"format": "int32",
"type": "integer"
},
"logicalNetworkInterfaces": {
"description": "List of logical network interfaces within a logical interface.",
"items": {
"$ref": "LogicalNetworkInterface"
},
"type": "array"
},
"name": {
"description": "Interface name. This is of syntax or and forms part of the network template name.",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudBaremetalsolutionV2ServerNetworkTemplateLogicalInterface": {
"description": "Logical interface.",
"id": "GoogleCloudBaremetalsolutionV2ServerNetworkTemplateLogicalInterface",
"properties": {
"name": {
"description": "Interface name. This is not a globally unique identifier. Name is unique only inside the ServerNetworkTemplate. This is of syntax or and forms part of the network template name.",
"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 type."
],
"type": "string"
}
},
"type": "object"
},
"Instance": {
"description": "A server.",
"id": "Instance",
Expand Down Expand Up @@ -1101,6 +1153,13 @@
"description": "Labels as key value pairs.",
"type": "object"
},
"logicalInterfaces": {
"description": "List of logical interfaces for the instance. The number of logical interfaces will be the same as number of hardware bond/nic on the chosen network template. For the non-multivlan configurations (for eg, existing servers) that use existing default network template (bondaa-bondaa), both the Instance.networks field and the Instance.logical_interfaces fields will be filled to ensure backward compatibility. For the others, only Instance.logical_interfaces will be filled.",
"items": {
"$ref": "GoogleCloudBaremetalsolutionV2LogicalInterface"
},
"type": "array"
},
"luns": {
"description": "List of LUNs associated with this server.",
"items": {
Expand All @@ -1117,6 +1176,10 @@
"readOnly": true,
"type": "string"
},
"networkTemplate": {
"description": "Instance network template name. For eg, bondaa-bondaa, bondab-nic, etc. Generally, the template name follows the syntax of \"bond\" or \"nic\".",
"type": "string"
},
"networks": {
"description": "List of networks associated with this server.",
"items": {
Expand Down Expand Up @@ -1167,7 +1230,7 @@
},
"clientNetwork": {
"$ref": "NetworkAddress",
"description": "Client network address."
"description": "Client network address. Filled if InstanceConfig.multivlan_config is false."
},
"hyperthreading": {
"description": "Whether the instance should be provisioned with Hyperthreading enabled.",
Expand All @@ -1181,18 +1244,43 @@
"description": "Instance type. [Available types](https://cloud.google.com/bare-metal/docs/bms-planning#server_configurations)",
"type": "string"
},
"logicalInterfaces": {
"description": "List of logical interfaces for the instance. The number of logical interfaces will be the same as number of hardware bond/nic on the chosen network template. Filled if InstanceConfig.multivlan_config is true.",
"items": {
"$ref": "GoogleCloudBaremetalsolutionV2LogicalInterface"
},
"type": "array"
},
"name": {
"description": "Output only. The name of the instance config.",
"readOnly": true,
"type": "string"
},
"networkConfig": {
"description": "The type of network configuration on the instance.",
"enum": [
"NETWORKCONFIG_UNSPECIFIED",
"SINGLE_VLAN",
"MULTI_VLAN"
],
"enumDescriptions": [
"The unspecified network configuration.",
"Instance part of single client network and single private network.",
"Instance part of multiple (or single) client networks and private networks."
],
"type": "string"
},
"networkTemplate": {
"description": "Server network template name. Filled if InstanceConfig.multivlan_config is true.",
"type": "string"
},
"osImage": {
"description": "OS image to initialize the instance. [Available images](https://cloud.google.com/bare-metal/docs/bms-planning#server_configurations)",
"type": "string"
},
"privateNetwork": {
"$ref": "NetworkAddress",
"description": "Private network address, if any."
"description": "Private network address, if any. Filled if InstanceConfig.multivlan_config is false."
},
"userNote": {
"description": "User note field, it can be used by customers to add additional information for the BMS Ops team .",
Expand Down Expand Up @@ -1450,29 +1538,37 @@
},
"type": "object"
},
"LogicalInterface": {
"description": "Logical interface.",
"id": "LogicalInterface",
"LogicalNetworkInterface": {
"description": "Each logical network interface is effectively a network and IP pair.",
"id": "LogicalNetworkInterface",
"properties": {
"name": {
"description": "Interface name. This is not a globally unique identifier. Name is unique only inside the ServerNetworkTemplate.",
"defaultGateway": {
"description": "Whether this interface is the default gateway for the instance. Only one interface can be the default gateway for the instance.",
"type": "boolean"
},
"id": {
"description": "An identifier for the `Network`, generated by the backend.",
"type": "string"
},
"required": {
"description": "If true, interface must have network connected.",
"type": "boolean"
"ipAddress": {
"description": "IP address in the network",
"type": "string"
},
"type": {
"description": "Interface type.",
"network": {
"description": "Name of the network",
"type": "string"
},
"networkType": {
"description": "Type of network.",
"enum": [
"INTERFACE_TYPE_UNSPECIFIED",
"BOND",
"NIC"
"TYPE_UNSPECIFIED",
"CLIENT",
"PRIVATE"
],
"enumDescriptions": [
"Unspecified value.",
"Bond interface type.",
"NIC interface ytpe."
"Client network, a network peered to a Google Cloud VPC.",
"Private network, a network local to the Bare Metal Solution environment."
],
"type": "string"
}
Expand Down Expand Up @@ -1772,7 +1868,7 @@
"type": "string"
},
"userNote": {
"description": "User note field, it can be used by customers to add additional information for the BMS Ops team (b/194021617).",
"description": "User note field, it can be used by customers to add additional information for the BMS Ops team .",
"type": "string"
},
"vlanAttachments": {
Expand Down Expand Up @@ -2032,7 +2128,7 @@
"type": "string"
},
"ticketId": {
"description": "A generated buganizer id to track provisioning request.",
"description": "A generated ticket id to track provisioning request.",
"type": "string"
},
"updateTime": {
Expand Down Expand Up @@ -2143,12 +2239,12 @@
"logicalInterfaces": {
"description": "Logical interfaces.",
"items": {
"$ref": "LogicalInterface"
"$ref": "GoogleCloudBaremetalsolutionV2ServerNetworkTemplateLogicalInterface"
},
"type": "array"
},
"name": {
"description": "Output only. Template's unique name.",
"description": "Output only. Template's unique name. The full resource name follows the pattern: `projects/{project}/locations/{location}/serverNetworkTemplate/{server_network_template}` Generally, the {server_network_template} follows the syntax of \"bond\" or \"nic\".",
"readOnly": true,
"type": "string"
}
Expand Down Expand Up @@ -2489,7 +2585,7 @@
"type": "string"
},
"userNote": {
"description": "User note field, it can be used by customers to add additional information for the BMS Ops team (b/194021617).",
"description": "User note field, it can be used by customers to add additional information for the BMS Ops team .",
"type": "string"
}
},
Expand Down

0 comments on commit bacf4f4

Please sign in to comment.