Changes v1.1 to v2 for Compute endpoint in sample_data.sh

Pointed out in a comment in the docs.

Change-Id: Iceaf9d5a8098e6be8768e2bdb9bf6198ee7082f3
Closes-bug: 1230270
assertEquals is deprecated, use assertEqual (H602)

Also change uses of assert_ to assertTrue() alongway.

Change-Id: Ic6edd1d89127ae9de5d101c0983adb4b927bfc0e
Merge "assertEquals is deprecated, use assertEqual (H602)"
Merge "Changes v1.1 to v2 for Compute endpoint in sample_data.sh"