Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

places: update_mask not generated #531

Open
b0xtch opened this issue Oct 23, 2024 · 1 comment
Open

places: update_mask not generated #531

b0xtch opened this issue Oct 23, 2024 · 1 comment

Comments

@b0xtch
Copy link
Contributor

b0xtch commented Oct 23, 2024

The update_mask seems to be missing from the places api

        let result = hub
            .places()
            .search_text(GoogleMapsPlacesV1SearchTextRequest {
                price_levels: None,
                region_code: None,
                min_rating: None,
                ev_options: None,
                text_query: Some("example".to_string()),
                rank_preference: None,
                search_along_route_parameters: None,
                open_now: None,
                routing_parameters: None,
                location_restriction: None,
                strict_type_filtering: None,
                language_code: None,
                location_bias: None,
                page_size: None,
                page_token: None,
                max_result_count: None,
                included_type: None,
            })
            // no method named `update_mask` found for struct `PlaceSearchTextCall` in the current scope
            .update_mask(FieldMask::new::<&str>(&[]))
            .doit()
            .await;
@Byron
Copy link
Owner

Byron commented Oct 23, 2024

Maybe it's out-of-date. I think you can regenerate locally after trying make update-json to get the latest versions of all API declarations.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants