Restricting Google Map Bounds

Is it possible to restrict the area that a map shows? I’d like to restrict a map from only showing a certain grouping of States in the United States. It should behave something like this:

Or, an example of what I’d like to do is seen at

Any help would be amazing. Thanks!