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

Commit

Permalink
chore: update license header (#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshi-automation committed Apr 21, 2020
1 parent 7c1c10c commit bdadd8e
Show file tree
Hide file tree
Showing 43 changed files with 82 additions and 79 deletions.
2 changes: 1 addition & 1 deletion google/cloud/gaming/__init__.py
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-

# Copyright (C) 2019 Google LLC
# Copyright 2020 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion google/cloud/gaming_v1/__init__.py
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-

# Copyright (C) 2019 Google LLC
# Copyright 2020 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion google/cloud/gaming_v1/services/__init__.py
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-

# Copyright (C) 2019 Google LLC
# Copyright 2020 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-

# Copyright (C) 2019 Google LLC
# Copyright 2020 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-

# Copyright (C) 2019 Google LLC
# Copyright 2020 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -201,6 +201,7 @@ def list_game_server_clusters(

# If we have keyword arguments corresponding to fields on the
# request, apply these.

if parent is not None:
request.parent = parent

Expand Down Expand Up @@ -277,6 +278,7 @@ def get_game_server_cluster(

# If we have keyword arguments corresponding to fields on the
# request, apply these.

if name is not None:
request.name = name

Expand Down Expand Up @@ -367,14 +369,11 @@ def create_game_server_cluster(

# If we have keyword arguments corresponding to fields on the
# request, apply these.

if parent is not None:
request.parent = parent
# If we have keyword arguments corresponding to fields on the
# request, apply these.
if game_server_cluster is not None:
request.game_server_cluster = game_server_cluster
# If we have keyword arguments corresponding to fields on the
# request, apply these.
if game_server_cluster_id is not None:
request.game_server_cluster_id = game_server_cluster_id

Expand Down Expand Up @@ -497,6 +496,7 @@ def delete_game_server_cluster(

# If we have keyword arguments corresponding to fields on the
# request, apply these.

if name is not None:
request.name = name

Expand Down Expand Up @@ -628,10 +628,9 @@ def update_game_server_cluster(

# If we have keyword arguments corresponding to fields on the
# request, apply these.

if game_server_cluster is not None:
request.game_server_cluster = game_server_cluster
# If we have keyword arguments corresponding to fields on the
# request, apply these.
if update_mask is not None:
request.update_mask = update_mask

Expand Down
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-

# Copyright (C) 2019 Google LLC
# Copyright 2020 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-

# Copyright (C) 2019 Google LLC
# Copyright 2020 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-

# Copyright (C) 2019 Google LLC
# Copyright 2020 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-

# Copyright (C) 2019 Google LLC
# Copyright 2020 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-

# Copyright (C) 2019 Google LLC
# Copyright 2020 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-

# Copyright (C) 2019 Google LLC
# Copyright 2020 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -200,6 +200,7 @@ def list_game_server_configs(

# If we have keyword arguments corresponding to fields on the
# request, apply these.

if parent is not None:
request.parent = parent

Expand Down Expand Up @@ -276,6 +277,7 @@ def get_game_server_config(

# If we have keyword arguments corresponding to fields on the
# request, apply these.

if name is not None:
request.name = name

Expand Down Expand Up @@ -361,10 +363,9 @@ def create_game_server_config(

# If we have keyword arguments corresponding to fields on the
# request, apply these.

if parent is not None:
request.parent = parent
# If we have keyword arguments corresponding to fields on the
# request, apply these.
if game_server_config is not None:
request.game_server_config = game_server_config

Expand Down Expand Up @@ -444,6 +445,7 @@ def delete_game_server_config(

# If we have keyword arguments corresponding to fields on the
# request, apply these.

if name is not None:
request.name = name

Expand Down
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-

# Copyright (C) 2019 Google LLC
# Copyright 2020 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-

# Copyright (C) 2019 Google LLC
# Copyright 2020 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-

# Copyright (C) 2019 Google LLC
# Copyright 2020 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-

# Copyright (C) 2019 Google LLC
# Copyright 2020 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-

# Copyright (C) 2019 Google LLC
# Copyright 2020 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-

# Copyright (C) 2019 Google LLC
# Copyright 2020 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -103,20 +103,20 @@ def from_service_account_file(cls, filename: str, *args, **kwargs):
from_service_account_json = from_service_account_file

@staticmethod
def game_server_deployment_rollout_path(
def game_server_deployment_path(
project: str, location: str, deployment: str
) -> str:
"""Return a fully-qualified game_server_deployment_rollout string."""
return "projects/{project}/locations/{location}/gameServerDeployments/{deployment}/rollout".format(
"""Return a fully-qualified game_server_deployment string."""
return "projects/{project}/locations/{location}/gameServerDeployments/{deployment}".format(
project=project, location=location, deployment=deployment
)

@staticmethod
def game_server_deployment_path(
def game_server_deployment_rollout_path(
project: str, location: str, deployment: str
) -> str:
"""Return a fully-qualified game_server_deployment string."""
return "projects/{project}/locations/{location}/gameServerDeployments/{deployment}".format(
"""Return a fully-qualified game_server_deployment_rollout string."""
return "projects/{project}/locations/{location}/gameServerDeployments/{deployment}/rollout".format(
project=project, location=location, deployment=deployment
)

Expand Down Expand Up @@ -211,6 +211,7 @@ def list_game_server_deployments(

# If we have keyword arguments corresponding to fields on the
# request, apply these.

if parent is not None:
request.parent = parent

Expand Down Expand Up @@ -287,6 +288,7 @@ def get_game_server_deployment(

# If we have keyword arguments corresponding to fields on the
# request, apply these.

if name is not None:
request.name = name

Expand Down Expand Up @@ -368,10 +370,9 @@ def create_game_server_deployment(

# If we have keyword arguments corresponding to fields on the
# request, apply these.

if parent is not None:
request.parent = parent
# If we have keyword arguments corresponding to fields on the
# request, apply these.
if game_server_deployment is not None:
request.game_server_deployment = game_server_deployment

Expand Down Expand Up @@ -449,6 +450,7 @@ def delete_game_server_deployment(

# If we have keyword arguments corresponding to fields on the
# request, apply these.

if name is not None:
request.name = name

Expand Down Expand Up @@ -536,10 +538,9 @@ def update_game_server_deployment(

# If we have keyword arguments corresponding to fields on the
# request, apply these.

if game_server_deployment is not None:
request.game_server_deployment = game_server_deployment
# If we have keyword arguments corresponding to fields on the
# request, apply these.
if update_mask is not None:
request.update_mask = update_mask

Expand Down Expand Up @@ -615,6 +616,7 @@ def get_game_server_deployment_rollout(

# If we have keyword arguments corresponding to fields on the
# request, apply these.

if name is not None:
request.name = name

Expand Down Expand Up @@ -708,10 +710,9 @@ def update_game_server_deployment_rollout(

# If we have keyword arguments corresponding to fields on the
# request, apply these.

if rollout is not None:
request.rollout = rollout
# If we have keyword arguments corresponding to fields on the
# request, apply these.
if update_mask is not None:
request.update_mask = update_mask

Expand Down
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-

# Copyright (C) 2019 Google LLC
# Copyright 2020 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-

# Copyright (C) 2019 Google LLC
# Copyright 2020 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-

# Copyright (C) 2019 Google LLC
# Copyright 2020 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-

# Copyright (C) 2019 Google LLC
# Copyright 2020 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion google/cloud/gaming_v1/services/realms_service/__init__.py
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-

# Copyright (C) 2019 Google LLC
# Copyright 2020 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down

0 comments on commit bdadd8e

Please sign in to comment.