Skip to content
This repository has been archived by the owner on Sep 27, 2023. It is now read-only.

Commit

Permalink
Further rename package and add gson dependency.
Browse files Browse the repository at this point in the history
  • Loading branch information
dzlier-gcp committed Aug 31, 2020
1 parent d8dc5c4 commit 8221095
Show file tree
Hide file tree
Showing 20 changed files with 40 additions and 36 deletions.
5 changes: 5 additions & 0 deletions samples/snapshot/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,11 @@
<version>0.21.1-SNAPSHOT</version>
</dependency>
<!-- {x-version-update-end} -->
<dependency>
<groupId>com.google.code.gson</groupId>
<artifactId>gson</artifactId>
<version>2.8.6</version>
</dependency>

<dependency>
<groupId>junit</groupId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

package com.example.gameservices.samples.clusters;
package com.example.gameservices.clusters;

// [START cloud_game_servers_cluster_create]

Expand All @@ -25,7 +25,6 @@
import com.google.cloud.gaming.v1.GameServerClustersServiceClient;
import com.google.cloud.gaming.v1.GkeClusterReference;
import com.google.cloud.gaming.v1.OperationMetadata;
import com.google.protobuf.Empty;
import java.io.IOException;
import java.util.concurrent.ExecutionException;
import java.util.concurrent.TimeUnit;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

package com.example.gameservices.samples.clusters;
package com.example.gameservices.clusters;

// [START cloud_game_servers_cluster_delete]

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

package com.example.gameservices.samples.clusters;
package com.example.gameservices.clusters;

// [START cloud_game_servers_cluster_get]

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

package com.example.gameservices.samples.clusters;
package com.example.gameservices.clusters;

// [START cloud_game_servers_cluster_list]

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

package com.example.gameservices.samples.clusters;
package com.example.gameservices.clusters;

// [START cloud_game_servers_cluster_update]

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

package com.example.gameservices.samples.deployments;
package com.example.gameservices.deployments;

// [START cloud_game_servers_deployment_create]

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

package com.example.gameservices.samples.deployments;
package com.example.gameservices.deployments;

// [START cloud_game_servers_deployment_delete]

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

package com.example.gameservices.samples.deployments;
package com.example.gameservices.deployments;

// [START cloud_game_servers_deployment_get]

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

package com.example.gameservices.samples.deployments;
package com.example.gameservices.deployments;

// [START cloud_game_servers_deployment_list]

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

package com.example.gameservices.samples.deployments;
package com.example.gameservices.deployments;

// [START cloud_game_servers_deployment_update]

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

package com.example.gameservices.samples.realms;
package com.example.gameservices.realms;

// [START cloud_game_servers_realm_create]

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

package com.example.gameservices.samples.realms;
package com.example.gameservices.realms;

// [START cloud_game_servers_realm_delete]

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

package com.example.gameservices.samples.realms;
package com.example.gameservices.realms;

// [START cloud_game_servers_realm_get]

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

package com.example.gameservices.samples.realms;
package com.example.gameservices.realms;

// [START cloud_game_servers_realm_list]

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

package com.example.gameservices.samples.realms;
package com.example.gameservices.realms;

// [START cloud_game_servers_realm_update]

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,16 @@
* limitations under the License.
*/

package com.example.gameservices.samples;
package com.example.gameservices;

import static org.junit.Assert.assertTrue;

import com.example.gameservices.samples.clusters.CreateCluster;
import com.example.gameservices.samples.clusters.DeleteCluster;
import com.example.gameservices.samples.clusters.GetCluster;
import com.example.gameservices.samples.clusters.ListClusters;
import com.example.gameservices.samples.clusters.UpdateCluster;
import com.example.gameservices.samples.realms.CreateRealm;
import com.example.gameservices.clusters.CreateCluster;
import com.example.gameservices.clusters.DeleteCluster;
import com.example.gameservices.clusters.GetCluster;
import com.example.gameservices.clusters.ListClusters;
import com.example.gameservices.clusters.UpdateCluster;
import com.example.gameservices.realms.CreateRealm;
import java.io.ByteArrayOutputStream;
import java.io.PrintStream;
import org.junit.After;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,15 @@
* limitations under the License.
*/

package com.example.gameservices.samples;
package com.example.gameservices;

import static org.junit.Assert.assertTrue;

import com.example.gameservices.samples.deployments.CreateDeployment;
import com.example.gameservices.samples.deployments.DeleteDeployment;
import com.example.gameservices.samples.deployments.GetDeployment;
import com.example.gameservices.samples.deployments.ListDeployments;
import com.example.gameservices.samples.deployments.UpdateDeployment;
import com.example.gameservices.deployments.CreateDeployment;
import com.example.gameservices.deployments.DeleteDeployment;
import com.example.gameservices.deployments.GetDeployment;
import com.example.gameservices.deployments.ListDeployments;
import com.example.gameservices.deployments.UpdateDeployment;
import java.io.ByteArrayOutputStream;
import java.io.PrintStream;
import org.junit.After;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

package com.example.gameservices.samples;
package com.example.gameservices;

import com.google.api.gax.longrunning.OperationFuture;
import com.google.cloud.gaming.v1.GameServerCluster;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,15 @@
* limitations under the License.
*/

package com.example.gameservices.samples;
package com.example.gameservices;

import static org.junit.Assert.assertTrue;

import com.example.gameservices.samples.realms.CreateRealm;
import com.example.gameservices.samples.realms.DeleteRealm;
import com.example.gameservices.samples.realms.GetRealm;
import com.example.gameservices.samples.realms.ListRealms;
import com.example.gameservices.samples.realms.UpdateRealm;
import com.example.gameservices.realms.CreateRealm;
import com.example.gameservices.realms.DeleteRealm;
import com.example.gameservices.realms.GetRealm;
import com.example.gameservices.realms.ListRealms;
import com.example.gameservices.realms.UpdateRealm;
import java.io.ByteArrayOutputStream;
import java.io.PrintStream;
import org.junit.After;
Expand Down

0 comments on commit 8221095

Please sign in to comment.