Skip to content

Commit

Permalink
feat(serviceconsumermanagement): update the API
Browse files Browse the repository at this point in the history
#### serviceconsumermanagement:v1
The following keys were added:
- schemas.TenancyUnit.properties.consumer.readOnly
- schemas.TenancyUnit.properties.createTime.readOnly
- schemas.TenancyUnit.properties.service.readOnly
- schemas.TenantResource.properties.resource.readOnly

The following keys were changed:
- resources.services.methods.search.parameters.parent.description
- resources.services.resources.tenancyUnits.methods.addProject.description
- resources.services.resources.tenancyUnits.methods.addProject.parameters.parent.description
- resources.services.resources.tenancyUnits.methods.applyProjectConfig.parameters.name.description
- resources.services.resources.tenancyUnits.methods.attachProject.parameters.name.description
- resources.services.resources.tenancyUnits.methods.create.parameters.parent.description
- resources.services.resources.tenancyUnits.methods.delete.parameters.name.description
- resources.services.resources.tenancyUnits.methods.deleteProject.parameters.name.description
- resources.services.resources.tenancyUnits.methods.list.parameters.filter.description
- resources.services.resources.tenancyUnits.methods.list.parameters.pageSize.description
- resources.services.resources.tenancyUnits.methods.list.parameters.pageToken.description
- resources.services.resources.tenancyUnits.methods.list.parameters.parent.description
- resources.services.resources.tenancyUnits.methods.removeProject.parameters.name.description
- resources.services.resources.tenancyUnits.methods.undeleteProject.parameters.name.description
- schemas.AddTenantProjectRequest.properties.tag.description
- schemas.ApplyTenantProjectConfigRequest.properties.tag.description
- schemas.AttachTenantProjectRequest.properties.tag.description
- schemas.DeleteTenantProjectRequest.properties.tag.description
- schemas.RemoveTenantProjectRequest.properties.tag.description
- schemas.TenancyUnit.properties.consumer.description
- schemas.TenancyUnit.properties.createTime.description
- schemas.TenantResource.properties.resource.description
- schemas.UndeleteTenantProjectRequest.properties.tag.description
  • Loading branch information
JustinBeckwith committed Oct 5, 2020
1 parent ccf0a06 commit 1e2655c
Show file tree
Hide file tree
Showing 2 changed files with 77 additions and 73 deletions.
52 changes: 28 additions & 24 deletions discovery/serviceconsumermanagement-v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@
"type": "string"
},
"parent": {
"description": "Service for which search is performed. services/{service} {service} the name of a service, for example 'service.googleapis.com'.",
"description": "Required. Service for which search is performed. services/{service} {service} the name of a service, for example 'service.googleapis.com'.",
"location": "path",
"pattern": "^services/[^/]+$",
"required": true,
Expand All @@ -276,7 +276,7 @@
"tenancyUnits": {
"methods": {
"addProject": {
"description": "Add a new tenant project to the tenancy unit. There can be a maximum of 512 tenant projects in a tenancy unit. If there are previously failed `AddTenantProject` calls, you might need to call `RemoveTenantProject` first to resolve them before you can make another call to `AddTenantProject` with the same tag. Operation.",
"description": "Add a new tenant project to the tenancy unit. There can be a maximum of 1024 tenant projects in a tenancy unit. If there are previously failed `AddTenantProject` calls, you might need to call `RemoveTenantProject` first to resolve them before you can make another call to `AddTenantProject` with the same tag. Operation.",
"flatPath": "v1/services/{servicesId}/{servicesId1}/{servicesId2}/tenancyUnits/{tenancyUnitsId}:addProject",
"httpMethod": "POST",
"id": "serviceconsumermanagement.services.tenancyUnits.addProject",
Expand All @@ -285,7 +285,7 @@
],
"parameters": {
"parent": {
"description": "Name of the tenancy unit. Such as 'services/service.googleapis.com/projects/12345/tenancyUnits/abcd'.",
"description": "Required. Name of the tenancy unit. Such as 'services/service.googleapis.com/projects/12345/tenancyUnits/abcd'.",
"location": "path",
"pattern": "^services/[^/]+/[^/]+/[^/]+/tenancyUnits/[^/]+$",
"required": true,
Expand Down Expand Up @@ -313,7 +313,7 @@
],
"parameters": {
"name": {
"description": "Name of the tenancy unit. Such as 'services/service.googleapis.com/projects/12345/tenancyUnits/abcd'.",
"description": "Required. Name of the tenancy unit. Such as 'services/service.googleapis.com/projects/12345/tenancyUnits/abcd'.",
"location": "path",
"pattern": "^services/[^/]+/[^/]+/[^/]+/tenancyUnits/[^/]+$",
"required": true,
Expand Down Expand Up @@ -341,7 +341,7 @@
],
"parameters": {
"name": {
"description": "Name of the tenancy unit that the project will be attached to. Such as 'services/service.googleapis.com/projects/12345/tenancyUnits/abcd'.",
"description": "Required. Name of the tenancy unit that the project will be attached to. Such as 'services/service.googleapis.com/projects/12345/tenancyUnits/abcd'.",
"location": "path",
"pattern": "^services/[^/]+/[^/]+/[^/]+/tenancyUnits/[^/]+$",
"required": true,
Expand Down Expand Up @@ -369,7 +369,7 @@
],
"parameters": {
"parent": {
"description": "services/{service}/{collection id}/{resource id} {collection id} is the cloud resource collection type representing the service consumer, for example 'projects', or 'organizations'. {resource id} is the consumer numeric id, such as project number: '123456'. {service} the name of a managed service, such as 'service.googleapis.com'. Enables service binding using the new tenancy unit.",
"description": "Required. services/{service}/{collection id}/{resource id} {collection id} is the cloud resource collection type representing the service consumer, for example 'projects', or 'organizations'. {resource id} is the consumer numeric id, such as project number: '123456'. {service} the name of a managed service, such as 'service.googleapis.com'. Enables service binding using the new tenancy unit.",
"location": "path",
"pattern": "^services/[^/]+/[^/]+/[^/]+$",
"required": true,
Expand Down Expand Up @@ -397,7 +397,7 @@
],
"parameters": {
"name": {
"description": "Name of the tenancy unit to be deleted.",
"description": "Required. Name of the tenancy unit to be deleted.",
"location": "path",
"pattern": "^services/[^/]+/[^/]+/[^/]+/tenancyUnits/[^/]+$",
"required": true,
Expand All @@ -422,7 +422,7 @@
],
"parameters": {
"name": {
"description": "Name of the tenancy unit. Such as 'services/service.googleapis.com/projects/12345/tenancyUnits/abcd'.",
"description": "Required. Name of the tenancy unit. Such as 'services/service.googleapis.com/projects/12345/tenancyUnits/abcd'.",
"location": "path",
"pattern": "^services/[^/]+/[^/]+/[^/]+/tenancyUnits/[^/]+$",
"required": true,
Expand Down Expand Up @@ -450,23 +450,23 @@
],
"parameters": {
"filter": {
"description": "Filter expression over tenancy resources field. Optional.",
"description": "Optional. Filter expression over tenancy resources field. Optional.",
"location": "query",
"type": "string"
},
"pageSize": {
"description": "The maximum number of results returned by this request.",
"description": "Optional. The maximum number of results returned by this request.",
"format": "int32",
"location": "query",
"type": "integer"
},
"pageToken": {
"description": "The continuation token, which is used to page through large result sets. To get the next page of results, set this parameter to the value of `nextPageToken` from the previous response.",
"description": "Optional. The continuation token, which is used to page through large result sets. To get the next page of results, set this parameter to the value of `nextPageToken` from the previous response.",
"location": "query",
"type": "string"
},
"parent": {
"description": "Managed service and service consumer. Required. services/{service}/{collection id}/{resource id} {collection id} is the cloud resource collection type representing the service consumer, for example 'projects', or 'organizations'. {resource id} is the consumer numeric id, such as project number: '123456'. {service} the name of a service, such as 'service.googleapis.com'.",
"description": "Required. Managed service and service consumer. Required. services/{service}/{collection id}/{resource id} {collection id} is the cloud resource collection type representing the service consumer, for example 'projects', or 'organizations'. {resource id} is the consumer numeric id, such as project number: '123456'. {service} the name of a service, such as 'service.googleapis.com'.",
"location": "path",
"pattern": "^services/[^/]+/[^/]+/[^/]+$",
"required": true,
Expand All @@ -491,7 +491,7 @@
],
"parameters": {
"name": {
"description": "Name of the tenancy unit. Such as 'services/service.googleapis.com/projects/12345/tenancyUnits/abcd'.",
"description": "Required. Name of the tenancy unit. Such as 'services/service.googleapis.com/projects/12345/tenancyUnits/abcd'.",
"location": "path",
"pattern": "^services/[^/]+/[^/]+/[^/]+/tenancyUnits/[^/]+$",
"required": true,
Expand Down Expand Up @@ -519,7 +519,7 @@
],
"parameters": {
"name": {
"description": "Name of the tenancy unit. Such as 'services/service.googleapis.com/projects/12345/tenancyUnits/abcd'.",
"description": "Required. Name of the tenancy unit. Such as 'services/service.googleapis.com/projects/12345/tenancyUnits/abcd'.",
"location": "path",
"pattern": "^services/[^/]+/[^/]+/[^/]+/tenancyUnits/[^/]+$",
"required": true,
Expand All @@ -542,7 +542,7 @@
}
}
},
"revision": "20200824",
"revision": "20201003",
"rootUrl": "https://serviceconsumermanagement.googleapis.com/",
"schemas": {
"AddTenantProjectRequest": {
Expand All @@ -554,7 +554,7 @@
"description": "Configuration of the new tenant project to be added to tenancy unit resources."
},
"tag": {
"description": "Tag of the added project. Must be less than 128 characters. Required.",
"description": "Required. Tag of the added project. Must be less than 128 characters. Required.",
"type": "string"
}
},
Expand Down Expand Up @@ -621,7 +621,7 @@
"description": "Configuration that should be applied to the existing tenant project."
},
"tag": {
"description": "Tag of the project. Must be less than 128 characters. Required.",
"description": "Required. Tag of the project. Must be less than 128 characters. Required.",
"type": "string"
}
},
Expand All @@ -640,7 +640,7 @@
"type": "string"
},
"tag": {
"description": "Tag of the tenant resource after attachment. Must be less than 128 characters. Required.",
"description": "Required. Tag of the tenant resource after attachment. Must be less than 128 characters. Required.",
"type": "string"
}
},
Expand Down Expand Up @@ -991,7 +991,7 @@
"id": "DeleteTenantProjectRequest",
"properties": {
"tag": {
"description": "Tag of the resource within the tenancy unit.",
"description": "Required. Tag of the resource within the tenancy unit.",
"type": "string"
}
},
Expand Down Expand Up @@ -1982,7 +1982,7 @@
"id": "RemoveTenantProjectRequest",
"properties": {
"tag": {
"description": "Tag of the resource within the tenancy unit.",
"description": "Required. Tag of the resource within the tenancy unit.",
"type": "string"
}
},
Expand Down Expand Up @@ -2295,12 +2295,14 @@
"id": "TenancyUnit",
"properties": {
"consumer": {
"description": "@OutputOnly Cloud resource name of the consumer of this service. For example 'projects/123456'.",
"description": "Output only. @OutputOnly Cloud resource name of the consumer of this service. For example 'projects/123456'.",
"readOnly": true,
"type": "string"
},
"createTime": {
"description": "@OutputOnly The time this tenancy unit was created.",
"description": "Output only. @OutputOnly The time this tenancy unit was created.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
},
"name": {
Expand All @@ -2309,6 +2311,7 @@
},
"service": {
"description": "Output only. Google Cloud API name of the managed service owning this tenancy unit. For example 'serviceconsumermanagement.googleapis.com'.",
"readOnly": true,
"type": "string"
},
"tenantResources": {
Expand Down Expand Up @@ -2377,7 +2380,8 @@
"id": "TenantResource",
"properties": {
"resource": {
"description": "@OutputOnly Identifier of the tenant resource. For cloud projects, it is in the form 'projects/{number}'. For example 'projects/123456'.",
"description": "Output only. @OutputOnly Identifier of the tenant resource. For cloud projects, it is in the form 'projects/{number}'. For example 'projects/123456'.",
"readOnly": true,
"type": "string"
},
"status": {
Expand Down Expand Up @@ -2460,7 +2464,7 @@
"id": "UndeleteTenantProjectRequest",
"properties": {
"tag": {
"description": "Tag of the resource within the tenancy unit.",
"description": "Required. Tag of the resource within the tenancy unit.",
"type": "string"
}
},
Expand Down
Loading

0 comments on commit 1e2655c

Please sign in to comment.