Skip to content

Commit 126d66c

Browse files
feat(file)!: update the API
BREAKING CHANGE: This release has breaking changes. #### file:v1beta1 The following keys were deleted: - resources.projects.resources.locations.methods.list.parameters.includeUnrevealedLocations.description - resources.projects.resources.locations.methods.list.parameters.includeUnrevealedLocations.location - resources.projects.resources.locations.methods.list.parameters.includeUnrevealedLocations.type The following keys were added: - resources.projects.resources.locations.methods.list.parameters.extraLocationTypes.description - resources.projects.resources.locations.methods.list.parameters.extraLocationTypes.location - resources.projects.resources.locations.methods.list.parameters.extraLocationTypes.repeated - resources.projects.resources.locations.methods.list.parameters.extraLocationTypes.type - schemas.DirectoryServicesConfig.properties.ldap.$ref - schemas.DirectoryServicesConfig.properties.ldap.description - schemas.GoogleCloudSaasacceleratorManagementProvidersV1Instance.properties.consumerProjectNumber.description - schemas.GoogleCloudSaasacceleratorManagementProvidersV1Instance.properties.consumerProjectNumber.type - schemas.LdapConfig.description - schemas.LdapConfig.id - schemas.LdapConfig.properties.domain.description - schemas.LdapConfig.properties.domain.type - schemas.LdapConfig.properties.groupsOu.description - schemas.LdapConfig.properties.groupsOu.type - schemas.LdapConfig.properties.servers.description - schemas.LdapConfig.properties.servers.items.type - schemas.LdapConfig.properties.servers.type - schemas.LdapConfig.properties.usersOu.description - schemas.LdapConfig.properties.usersOu.type - schemas.LdapConfig.type - schemas.NetworkConfig.properties.pscConfig.$ref - schemas.NetworkConfig.properties.pscConfig.description - schemas.NfsExportOptions.properties.network.description - schemas.NfsExportOptions.properties.network.type - schemas.PscConfig.description - schemas.PscConfig.id - schemas.PscConfig.properties.endpointProject.description - schemas.PscConfig.properties.endpointProject.type - schemas.PscConfig.type The following keys were changed: - schemas.DirectoryServicesConfig.description - schemas.Instance.properties.directoryServices.description - schemas.NetworkConfig.properties.connectMode.enum - schemas.NetworkConfig.properties.connectMode.enumDescriptions #### file:v1 The following keys were deleted: - resources.projects.resources.locations.methods.list.parameters.includeUnrevealedLocations.description - resources.projects.resources.locations.methods.list.parameters.includeUnrevealedLocations.location - resources.projects.resources.locations.methods.list.parameters.includeUnrevealedLocations.type The following keys were added: - resources.projects.resources.locations.methods.list.parameters.extraLocationTypes.description - resources.projects.resources.locations.methods.list.parameters.extraLocationTypes.location - resources.projects.resources.locations.methods.list.parameters.extraLocationTypes.repeated - resources.projects.resources.locations.methods.list.parameters.extraLocationTypes.type - schemas.GoogleCloudSaasacceleratorManagementProvidersV1Instance.properties.consumerProjectNumber.description - schemas.GoogleCloudSaasacceleratorManagementProvidersV1Instance.properties.consumerProjectNumber.type
1 parent 23910b5 commit 126d66c

File tree

4 files changed

+137
-26
lines changed

4 files changed

+137
-26
lines changed

‎discovery/file-v1.json

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -143,15 +143,16 @@
143143
"name"
144144
],
145145
"parameters": {
146-
"filter": {
147-
"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).",
146+
"extraLocationTypes": {
147+
"description": "Optional. A list of extra location types that should be used as conditions for controlling the visibility of the locations.",
148148
"location": "query",
149+
"repeated": true,
149150
"type": "string"
150151
},
151-
"includeUnrevealedLocations": {
152-
"description": "If true, the returned list will include locations which are not yet revealed.",
152+
"filter": {
153+
"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).",
153154
"location": "query",
154-
"type": "boolean"
155+
"type": "string"
155156
},
156157
"name": {
157158
"description": "The resource that owns the locations collection, if applicable.",
@@ -907,7 +908,7 @@
907908
}
908909
}
909910
},
910-
"revision": "20250205",
911+
"revision": "20250421",
911912
"rootUrl": "https://file.googleapis.com/",
912913
"schemas": {
913914
"Backup": {
@@ -1165,6 +1166,10 @@
11651166
"description": "consumer_defined_name is the name of the instance set by the service consumers. Generally this is different from the `name` field which reperesents the system-assigned id of the instance which the service consumers do not recognize. This is a required field for tenants onboarding to Maintenance Window notifications (go/slm-rollout-maintenance-policies#prerequisites).",
11661167
"type": "string"
11671168
},
1169+
"consumerProjectNumber": {
1170+
"description": "Optional. The consumer_project_number associated with this Apigee instance. This field is added specifically to support Apigee integration with SLM Rollout and UMM. It represents the numerical project ID of the GCP project that consumes this Apigee instance. It is used for SLM rollout notifications and UMM integration, enabling proper mapping to customer projects and log delivery for Apigee instances. This field complements consumer_project_id and may be used for specific Apigee scenarios where the numerical ID is required.",
1171+
"type": "string"
1172+
},
11681173
"createTime": {
11691174
"description": "Output only. Timestamp when the resource was created.",
11701175
"format": "google-datetime",

‎discovery/file-v1beta1.json

Lines changed: 66 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -143,15 +143,16 @@
143143
"name"
144144
],
145145
"parameters": {
146-
"filter": {
147-
"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).",
146+
"extraLocationTypes": {
147+
"description": "Optional. A list of extra location types that should be used as conditions for controlling the visibility of the locations.",
148148
"location": "query",
149+
"repeated": true,
149150
"type": "string"
150151
},
151-
"includeUnrevealedLocations": {
152-
"description": "If true, the returned list will include locations which are not yet revealed.",
152+
"filter": {
153+
"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).",
153154
"location": "query",
154-
"type": "boolean"
155+
"type": "string"
155156
},
156157
"name": {
157158
"description": "The resource that owns the locations collection, if applicable.",
@@ -1074,7 +1075,7 @@
10741075
}
10751076
}
10761077
},
1077-
"revision": "20250205",
1078+
"revision": "20250421",
10781079
"rootUrl": "https://file.googleapis.com/",
10791080
"schemas": {
10801081
"Backup": {
@@ -1280,9 +1281,13 @@
12801281
"type": "object"
12811282
},
12821283
"DirectoryServicesConfig": {
1283-
"description": "Directory Services configuration for Kerberos-based authentication.",
1284+
"description": "Directory Services configuration.",
12841285
"id": "DirectoryServicesConfig",
12851286
"properties": {
1287+
"ldap": {
1288+
"$ref": "LdapConfig",
1289+
"description": "Configuration for LDAP servers."
1290+
},
12861291
"managedActiveDirectory": {
12871292
"$ref": "ManagedActiveDirectoryConfig",
12881293
"description": "Configuration for Managed Service for Microsoft Active Directory."
@@ -1343,6 +1348,10 @@
13431348
"description": "consumer_defined_name is the name of the instance set by the service consumers. Generally this is different from the `name` field which reperesents the system-assigned id of the instance which the service consumers do not recognize. This is a required field for tenants onboarding to Maintenance Window notifications (go/slm-rollout-maintenance-policies#prerequisites).",
13441349
"type": "string"
13451350
},
1351+
"consumerProjectNumber": {
1352+
"description": "Optional. The consumer_project_number associated with this Apigee instance. This field is added specifically to support Apigee integration with SLM Rollout and UMM. It represents the numerical project ID of the GCP project that consumes this Apigee instance. It is used for SLM rollout notifications and UMM integration, enabling proper mapping to customer projects and log delivery for Apigee instances. This field complements consumer_project_id and may be used for specific Apigee scenarios where the numerical ID is required.",
1353+
"type": "string"
1354+
},
13461355
"createTime": {
13471356
"description": "Output only. Timestamp when the resource was created.",
13481357
"format": "google-datetime",
@@ -1662,7 +1671,7 @@
16621671
},
16631672
"directoryServices": {
16641673
"$ref": "DirectoryServicesConfig",
1665-
"description": "Optional. Directory Services configuration for Kerberos-based authentication. Should only be set if protocol is \"NFS_V4_1\"."
1674+
"description": "Optional. Directory Services configuration. Should only be set if protocol is \"NFS_V4_1\"."
16661675
},
16671676
"etag": {
16681677
"description": "Server-specified ETag for the instance resource to prevent simultaneous updates from overwriting each other.",
@@ -1840,6 +1849,32 @@
18401849
},
18411850
"type": "object"
18421851
},
1852+
"LdapConfig": {
1853+
"description": "LdapConfig contains all the parameters for connecting to LDAP servers.",
1854+
"id": "LdapConfig",
1855+
"properties": {
1856+
"domain": {
1857+
"description": "Required. The LDAP domain name in the format of `my-domain.com`.",
1858+
"type": "string"
1859+
},
1860+
"groupsOu": {
1861+
"description": "Optional. The groups Organizational Unit (OU) is optional. This parameter is a hint to allow faster lookup in the LDAP namespace. In case that this parameter is not provided, Filestore instance will query the whole LDAP namespace.",
1862+
"type": "string"
1863+
},
1864+
"servers": {
1865+
"description": "Required. The servers names are used for specifying the LDAP servers names. The LDAP servers names can come with two formats: 1. DNS name, for example: `ldap.example1.com`, `ldap.example2.com`. 2. IP address, for example: `10.0.0.1`, `10.0.0.2`, `10.0.0.3`. All servers names must be in the same format: either all DNS names or all IP addresses.",
1866+
"items": {
1867+
"type": "string"
1868+
},
1869+
"type": "array"
1870+
},
1871+
"usersOu": {
1872+
"description": "Optional. The users Organizational Unit (OU) is optional. This parameter is a hint to allow faster lookup in the LDAP namespace. In case that this parameter is not provided, Filestore instance will query the whole LDAP namespace.",
1873+
"type": "string"
1874+
}
1875+
},
1876+
"type": "object"
1877+
},
18431878
"ListBackupsResponse": {
18441879
"description": "ListBackupsResponse is the result of ListBackupsRequest.",
18451880
"id": "ListBackupsResponse",
@@ -2099,12 +2134,14 @@
20992134
"enum": [
21002135
"CONNECT_MODE_UNSPECIFIED",
21012136
"DIRECT_PEERING",
2102-
"PRIVATE_SERVICE_ACCESS"
2137+
"PRIVATE_SERVICE_ACCESS",
2138+
"PRIVATE_SERVICE_CONNECT"
21032139
],
21042140
"enumDescriptions": [
21052141
"ConnectMode not set.",
21062142
"Connect via direct peering to the Filestore service.",
2107-
"Connect to your Filestore instance using Private Service Access. Private services access provides an IP address range for multiple Google Cloud services, including Filestore."
2143+
"Connect to your Filestore instance using Private Service Access. Private services access provides an IP address range for multiple Google Cloud services, including Filestore.",
2144+
"Connect to your Filestore instance using Private Service Connect. A connection policy must exist in the region for the VPC network and the google-cloud-filestore service class."
21082145
],
21092146
"type": "string"
21102147
},
@@ -2135,6 +2172,10 @@
21352172
"description": "The name of the Google Compute Engine [VPC network](https://cloud.google.com/vpc/docs/vpc) to which the instance is connected.",
21362173
"type": "string"
21372174
},
2175+
"pscConfig": {
2176+
"$ref": "PscConfig",
2177+
"description": "Optional. Private Service Connect configuration. Should only be set when connect_mode is PRIVATE_SERVICE_CONNECT."
2178+
},
21382179
"reservedIpRange": {
21392180
"description": "Optional, reserved_ip_range can have one of the following two types of values. * CIDR range value when using DIRECT_PEERING connect mode. * [Allocated IP address range](https://cloud.google.com/compute/docs/ip-addresses/reserve-static-internal-ip-address) when using PRIVATE_SERVICE_ACCESS connect mode. When the name of an allocated IP address range is specified, it must be one of the ranges associated with the private service access connection. When specified as a direct CIDR value, it must be a /29 CIDR block for Basic tier, a /24 CIDR block for High Scale tier, or a /26 CIDR block for Enterprise tier in one of the [internal IP address ranges](https://www.arin.net/reference/research/statistics/address_filters/) that identifies the range of IP addresses reserved for this instance. For example, 10.0.0.0/29, 192.168.0.0/24, or 192.168.0.0/26, respectively. The range you specify can't overlap with either existing subnets or assigned IP address ranges for other Filestore instances in the selected VPC network.",
21402181
"type": "string"
@@ -2177,6 +2218,10 @@
21772218
},
21782219
"type": "array"
21792220
},
2221+
"network": {
2222+
"description": "Optional. The source VPC network for ip_ranges. Required for instances using Private Service Connect, optional otherwise. If provided, must be the same network specified in the `NetworkConfig.network` field.",
2223+
"type": "string"
2224+
},
21802225
"securityFlavors": {
21812226
"description": "The security flavors allowed for mount operations. The default is AUTH_SYS.",
21822227
"items": {
@@ -2357,6 +2402,17 @@
23572402
},
23582403
"type": "object"
23592404
},
2405+
"PscConfig": {
2406+
"description": "Private Service Connect configuration.",
2407+
"id": "PscConfig",
2408+
"properties": {
2409+
"endpointProject": {
2410+
"description": "Consumer service project in which the Private Service Connect endpoint would be set up. This is optional, and only relevant in case the network is a shared VPC. If this is not specified, the endpoint would be setup in the VPC host project.",
2411+
"type": "string"
2412+
}
2413+
},
2414+
"type": "object"
2415+
},
23602416
"ReplicaConfig": {
23612417
"description": "Replica configuration for the instance.",
23622418
"id": "ReplicaConfig",

‎src/apis/file/v1.ts

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -286,6 +286,10 @@ export namespace file_v1 {
286286
* consumer_defined_name is the name of the instance set by the service consumers. Generally this is different from the `name` field which reperesents the system-assigned id of the instance which the service consumers do not recognize. This is a required field for tenants onboarding to Maintenance Window notifications (go/slm-rollout-maintenance-policies#prerequisites).
287287
*/
288288
consumerDefinedName?: string | null;
289+
/**
290+
* Optional. The consumer_project_number associated with this Apigee instance. This field is added specifically to support Apigee integration with SLM Rollout and UMM. It represents the numerical project ID of the GCP project that consumes this Apigee instance. It is used for SLM rollout notifications and UMM integration, enabling proper mapping to customer projects and log delivery for Apigee instances. This field complements consumer_project_id and may be used for specific Apigee scenarios where the numerical ID is required.
291+
*/
292+
consumerProjectNumber?: string | null;
289293
/**
290294
* Output only. Timestamp when the resource was created.
291295
*/
@@ -1271,13 +1275,13 @@ export namespace file_v1 {
12711275
export interface Params$Resource$Projects$Locations$List
12721276
extends StandardParameters {
12731277
/**
1274-
* 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).
1278+
* Optional. A list of extra location types that should be used as conditions for controlling the visibility of the locations.
12751279
*/
1276-
filter?: string;
1280+
extraLocationTypes?: string[];
12771281
/**
1278-
* If true, the returned list will include locations which are not yet revealed.
1282+
* 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).
12791283
*/
1280-
includeUnrevealedLocations?: boolean;
1284+
filter?: string;
12811285
/**
12821286
* The resource that owns the locations collection, if applicable.
12831287
*/

0 commit comments

Comments
 (0)