|
789 | 789 | "https://www.googleapis.com/auth/service.management"
|
790 | 790 | ]
|
791 | 791 | },
|
| 792 | + "getVpcServiceControls": { |
| 793 | + "description": "Consumers use this method to find out the state of VPC Service Controls. The controls could be enabled or disabled for a connection.", |
| 794 | + "flatPath": "v1/services/{servicesId}/projects/{projectsId}/global/networks/{networksId}/vpcServiceControls", |
| 795 | + "httpMethod": "GET", |
| 796 | + "id": "servicenetworking.services.projects.global.networks.getVpcServiceControls", |
| 797 | + "parameterOrder": [ |
| 798 | + "name" |
| 799 | + ], |
| 800 | + "parameters": { |
| 801 | + "name": { |
| 802 | + "description": "Required. Name of the VPC Service Controls config to retrieve in the format: `services/{service}/projects/{project}/global/networks/{network}`. {service} is the peering service that is managing connectivity for the service producer's organization. For Google services that support this functionality, this value is `servicenetworking.googleapis.com`. {project} is a project number e.g. `12345` that contains the service consumer's VPC network. {network} is the name of the service consumer's VPC network.", |
| 803 | + "location": "path", |
| 804 | + "pattern": "^services/[^/]+/projects/[^/]+/global/networks/[^/]+$", |
| 805 | + "required": true, |
| 806 | + "type": "string" |
| 807 | + } |
| 808 | + }, |
| 809 | + "path": "v1/{+name}/vpcServiceControls", |
| 810 | + "response": { |
| 811 | + "$ref": "VpcServiceControls" |
| 812 | + }, |
| 813 | + "scopes": [ |
| 814 | + "https://www.googleapis.com/auth/cloud-platform", |
| 815 | + "https://www.googleapis.com/auth/service.management" |
| 816 | + ] |
| 817 | + }, |
792 | 818 | "updateConsumerConfig": {
|
793 | 819 | "description": "Service producers use this method to update the configuration of their connection including the import/export of custom routes and subnetwork routes with public IP.",
|
794 | 820 | "flatPath": "v1/services/{servicesId}/projects/{projectsId}/global/networks/{networksId}:updateConsumerConfig",
|
|
1003 | 1029 | }
|
1004 | 1030 | }
|
1005 | 1031 | },
|
1006 |
| - "revision": "20231004", |
| 1032 | + "revision": "20231029", |
1007 | 1033 | "rootUrl": "https://servicenetworking.googleapis.com/",
|
1008 | 1034 | "schemas": {
|
1009 | 1035 | "AddDnsRecordSetMetadata": {
|
|
1138 | 1164 | "description": "Optional. Description of the subnet.",
|
1139 | 1165 | "type": "string"
|
1140 | 1166 | },
|
| 1167 | + "internalRange": { |
| 1168 | + "description": "Optional. The url of an Internal Range. Eg: `projects//locations/global/internalRanges/`. If specified, it means that the subnetwork cidr will be created using the combination of requested_address/ip_prefix_length. Note that the subnet cidr has to be within the cidr range of this Internal Range.", |
| 1169 | + "type": "string" |
| 1170 | + }, |
1141 | 1171 | "ipPrefixLength": {
|
1142 | 1172 | "description": "Required. The prefix length of the subnet's IP address range. Use CIDR range notation, such as `29` to provision a subnet with an `x.x.x.x/29` CIDR range. The IP address range is drawn from a pool of available ranges in the service consumer's allocated range. GCE disallows subnets with prefix_length > 29",
|
1143 | 1173 | "format": "int32",
|
|
4048 | 4078 | }
|
4049 | 4079 | },
|
4050 | 4080 | "type": "object"
|
| 4081 | + }, |
| 4082 | + "VpcServiceControls": { |
| 4083 | + "description": "Response for the get VPC Service Controls request.", |
| 4084 | + "id": "VpcServiceControls", |
| 4085 | + "properties": { |
| 4086 | + "enabled": { |
| 4087 | + "description": "Output only. Indicates whether the VPC Service Controls are enabled or disabled for the connection. If the consumer called the EnableVpcServiceControls method, then this is true. If the consumer called DisableVpcServiceControls, then this is false. The default is false.", |
| 4088 | + "readOnly": true, |
| 4089 | + "type": "boolean" |
| 4090 | + } |
| 4091 | + }, |
| 4092 | + "type": "object" |
4051 | 4093 | }
|
4052 | 4094 | },
|
4053 | 4095 | "servicePath": "",
|
|
0 commit comments