naftiko: 1.0.0-alpha2 info: label: Google Cloud Migration Center Google Migration Center API — Assets description: 'Google Cloud Migration Center Google Migration Center API — Assets. 4 operations. Lead operation: Google Cloud Migration Center List assets. Self-contained Naftiko capability covering one Google Cloud Migration Center business surface.' tags: - Google Cloud Migration Center - Assets created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: GOOGLE_CLOUD_MIGRATION_CENTER_API_KEY: GOOGLE_CLOUD_MIGRATION_CENTER_API_KEY capability: consumes: - type: http namespace: migration-center-assets baseUri: https://migrationcenter.googleapis.com/v1 description: Google Cloud Migration Center Google Migration Center API — Assets business capability. Self-contained, no shared references. resources: - name: projects-projectId-locations-location-assets path: /projects/{projectId}/locations/{location}/assets operations: - name: listassets method: GET description: Google Cloud Migration Center List assets outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: projectId in: path type: string description: The ID of the project required: true - name: location in: path type: string description: The location of the assets required: true - name: pageSize in: query type: integer description: Maximum number of assets to return - name: pageToken in: query type: string description: Page token for pagination - name: filter in: query type: string description: Filter expression for assets - name: projects-projectId-locations-location-assets-assetId path: /projects/{projectId}/locations/{location}/assets/{assetId} operations: - name: getasset method: GET description: Google Cloud Migration Center Get an asset outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: projectId in: path type: string required: true - name: location in: path type: string required: true - name: assetId in: path type: string required: true - name: updateasset method: PATCH description: Google Cloud Migration Center Update an asset outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: projectId in: path type: string required: true - name: location in: path type: string required: true - name: assetId in: path type: string required: true - name: updateMask in: query type: string description: Field mask for partial update - name: body in: body type: object description: Request body (JSON). required: true - name: deleteasset method: DELETE description: Google Cloud Migration Center Delete an asset outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: projectId in: path type: string required: true - name: location in: path type: string required: true - name: assetId in: path type: string required: true authentication: type: bearer token: '{{env.GOOGLE_CLOUD_MIGRATION_CENTER_API_KEY}}' exposes: - type: rest namespace: migration-center-assets-rest port: 8080 description: REST adapter for Google Cloud Migration Center Google Migration Center API — Assets. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/projects/{projectid}/locations/{location}/assets name: projects-projectid-locations-location-assets description: REST surface for projects-projectId-locations-location-assets. operations: - method: GET name: listassets description: Google Cloud Migration Center List assets call: migration-center-assets.listassets with: projectId: rest.projectId location: rest.location pageSize: rest.pageSize pageToken: rest.pageToken filter: rest.filter outputParameters: - type: object mapping: $. - path: /v1/projects/{projectid}/locations/{location}/assets/{assetid} name: projects-projectid-locations-location-assets-assetid description: REST surface for projects-projectId-locations-location-assets-assetId. operations: - method: GET name: getasset description: Google Cloud Migration Center Get an asset call: migration-center-assets.getasset with: projectId: rest.projectId location: rest.location assetId: rest.assetId outputParameters: - type: object mapping: $. - method: PATCH name: updateasset description: Google Cloud Migration Center Update an asset call: migration-center-assets.updateasset with: projectId: rest.projectId location: rest.location assetId: rest.assetId updateMask: rest.updateMask body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: deleteasset description: Google Cloud Migration Center Delete an asset call: migration-center-assets.deleteasset with: projectId: rest.projectId location: rest.location assetId: rest.assetId outputParameters: - type: object mapping: $. - type: mcp namespace: migration-center-assets-mcp port: 9090 transport: http description: MCP adapter for Google Cloud Migration Center Google Migration Center API — Assets. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: google-cloud-migration-center-list description: Google Cloud Migration Center List assets hints: readOnly: true destructive: false idempotent: true call: migration-center-assets.listassets with: projectId: tools.projectId location: tools.location pageSize: tools.pageSize pageToken: tools.pageToken filter: tools.filter outputParameters: - type: object mapping: $. - name: google-cloud-migration-center-get description: Google Cloud Migration Center Get an asset hints: readOnly: true destructive: false idempotent: true call: migration-center-assets.getasset with: projectId: tools.projectId location: tools.location assetId: tools.assetId outputParameters: - type: object mapping: $. - name: google-cloud-migration-center-update description: Google Cloud Migration Center Update an asset hints: readOnly: false destructive: false idempotent: true call: migration-center-assets.updateasset with: projectId: tools.projectId location: tools.location assetId: tools.assetId updateMask: tools.updateMask body: tools.body outputParameters: - type: object mapping: $. - name: google-cloud-migration-center-delete description: Google Cloud Migration Center Delete an asset hints: readOnly: false destructive: true idempotent: true call: migration-center-assets.deleteasset with: projectId: tools.projectId location: tools.location assetId: tools.assetId outputParameters: - type: object mapping: $.