My code is:
client = aiplatform_v1.EndpointServiceClient(client_options=options)
parent = client.common_location_path(project=project_id, location=location)
# Initialize request argument(s)
request = aiplatform_v1.ListEndpointsRequest(
parent=parent
)
# Make the request
endpoints_pager = client.list_endpoints(request=request)
for endpoint in endpoints_pager.pages:
latest_endpoint=endpoint
print(endpoint.deployed_models.id)
If I print endpoint I see {...deployed_models { id: ...}}
endpoint.deployed_models.id) doesn't work so how do I get the deployed model id?