diff --git a/google/cloud/gaming/__init__.py b/google/cloud/gaming/__init__.py index f32db7ae..c79c992f 100644 --- a/google/cloud/gaming/__init__.py +++ b/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. diff --git a/google/cloud/gaming_v1/__init__.py b/google/cloud/gaming_v1/__init__.py index 53c3e07e..2f594128 100644 --- a/google/cloud/gaming_v1/__init__.py +++ b/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. diff --git a/google/cloud/gaming_v1/services/__init__.py b/google/cloud/gaming_v1/services/__init__.py index 2c56c537..42ffdf2b 100644 --- a/google/cloud/gaming_v1/services/__init__.py +++ b/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. diff --git a/google/cloud/gaming_v1/services/game_server_clusters_service/__init__.py b/google/cloud/gaming_v1/services/game_server_clusters_service/__init__.py index a0d85312..a3c22b72 100644 --- a/google/cloud/gaming_v1/services/game_server_clusters_service/__init__.py +++ b/google/cloud/gaming_v1/services/game_server_clusters_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. diff --git a/google/cloud/gaming_v1/services/game_server_clusters_service/client.py b/google/cloud/gaming_v1/services/game_server_clusters_service/client.py index d17c5c3d..7a4b15e8 100644 --- a/google/cloud/gaming_v1/services/game_server_clusters_service/client.py +++ b/google/cloud/gaming_v1/services/game_server_clusters_service/client.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. @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 diff --git a/google/cloud/gaming_v1/services/game_server_clusters_service/pagers.py b/google/cloud/gaming_v1/services/game_server_clusters_service/pagers.py index c716c74f..310f3363 100644 --- a/google/cloud/gaming_v1/services/game_server_clusters_service/pagers.py +++ b/google/cloud/gaming_v1/services/game_server_clusters_service/pagers.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. diff --git a/google/cloud/gaming_v1/services/game_server_clusters_service/transports/__init__.py b/google/cloud/gaming_v1/services/game_server_clusters_service/transports/__init__.py index f9cd4af3..6e118b97 100644 --- a/google/cloud/gaming_v1/services/game_server_clusters_service/transports/__init__.py +++ b/google/cloud/gaming_v1/services/game_server_clusters_service/transports/__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. diff --git a/google/cloud/gaming_v1/services/game_server_clusters_service/transports/base.py b/google/cloud/gaming_v1/services/game_server_clusters_service/transports/base.py index f961d4b1..6646a3bb 100644 --- a/google/cloud/gaming_v1/services/game_server_clusters_service/transports/base.py +++ b/google/cloud/gaming_v1/services/game_server_clusters_service/transports/base.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. diff --git a/google/cloud/gaming_v1/services/game_server_clusters_service/transports/grpc.py b/google/cloud/gaming_v1/services/game_server_clusters_service/transports/grpc.py index a8339d0b..e68da218 100644 --- a/google/cloud/gaming_v1/services/game_server_clusters_service/transports/grpc.py +++ b/google/cloud/gaming_v1/services/game_server_clusters_service/transports/grpc.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. diff --git a/google/cloud/gaming_v1/services/game_server_configs_service/__init__.py b/google/cloud/gaming_v1/services/game_server_configs_service/__init__.py index 3abe76ee..fb3b973f 100644 --- a/google/cloud/gaming_v1/services/game_server_configs_service/__init__.py +++ b/google/cloud/gaming_v1/services/game_server_configs_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. diff --git a/google/cloud/gaming_v1/services/game_server_configs_service/client.py b/google/cloud/gaming_v1/services/game_server_configs_service/client.py index 210835b5..0241b2fe 100644 --- a/google/cloud/gaming_v1/services/game_server_configs_service/client.py +++ b/google/cloud/gaming_v1/services/game_server_configs_service/client.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. @@ -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 @@ -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 @@ -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 @@ -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 diff --git a/google/cloud/gaming_v1/services/game_server_configs_service/pagers.py b/google/cloud/gaming_v1/services/game_server_configs_service/pagers.py index a0d9cd45..1e53d52b 100644 --- a/google/cloud/gaming_v1/services/game_server_configs_service/pagers.py +++ b/google/cloud/gaming_v1/services/game_server_configs_service/pagers.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. diff --git a/google/cloud/gaming_v1/services/game_server_configs_service/transports/__init__.py b/google/cloud/gaming_v1/services/game_server_configs_service/transports/__init__.py index 1a559e34..f89612f9 100644 --- a/google/cloud/gaming_v1/services/game_server_configs_service/transports/__init__.py +++ b/google/cloud/gaming_v1/services/game_server_configs_service/transports/__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. diff --git a/google/cloud/gaming_v1/services/game_server_configs_service/transports/base.py b/google/cloud/gaming_v1/services/game_server_configs_service/transports/base.py index a9ebc966..334bd8ac 100644 --- a/google/cloud/gaming_v1/services/game_server_configs_service/transports/base.py +++ b/google/cloud/gaming_v1/services/game_server_configs_service/transports/base.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. diff --git a/google/cloud/gaming_v1/services/game_server_configs_service/transports/grpc.py b/google/cloud/gaming_v1/services/game_server_configs_service/transports/grpc.py index 701ce104..32c676b9 100644 --- a/google/cloud/gaming_v1/services/game_server_configs_service/transports/grpc.py +++ b/google/cloud/gaming_v1/services/game_server_configs_service/transports/grpc.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. diff --git a/google/cloud/gaming_v1/services/game_server_deployments_service/__init__.py b/google/cloud/gaming_v1/services/game_server_deployments_service/__init__.py index 5e3c1370..23cc6c38 100644 --- a/google/cloud/gaming_v1/services/game_server_deployments_service/__init__.py +++ b/google/cloud/gaming_v1/services/game_server_deployments_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. diff --git a/google/cloud/gaming_v1/services/game_server_deployments_service/client.py b/google/cloud/gaming_v1/services/game_server_deployments_service/client.py index 1a36c783..1b033a76 100644 --- a/google/cloud/gaming_v1/services/game_server_deployments_service/client.py +++ b/google/cloud/gaming_v1/services/game_server_deployments_service/client.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. @@ -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 ) @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 diff --git a/google/cloud/gaming_v1/services/game_server_deployments_service/pagers.py b/google/cloud/gaming_v1/services/game_server_deployments_service/pagers.py index 905a9b94..91e7934a 100644 --- a/google/cloud/gaming_v1/services/game_server_deployments_service/pagers.py +++ b/google/cloud/gaming_v1/services/game_server_deployments_service/pagers.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. diff --git a/google/cloud/gaming_v1/services/game_server_deployments_service/transports/__init__.py b/google/cloud/gaming_v1/services/game_server_deployments_service/transports/__init__.py index b677c9a1..b954a6aa 100644 --- a/google/cloud/gaming_v1/services/game_server_deployments_service/transports/__init__.py +++ b/google/cloud/gaming_v1/services/game_server_deployments_service/transports/__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. diff --git a/google/cloud/gaming_v1/services/game_server_deployments_service/transports/base.py b/google/cloud/gaming_v1/services/game_server_deployments_service/transports/base.py index 2d8fcfb3..eea3137d 100644 --- a/google/cloud/gaming_v1/services/game_server_deployments_service/transports/base.py +++ b/google/cloud/gaming_v1/services/game_server_deployments_service/transports/base.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. diff --git a/google/cloud/gaming_v1/services/game_server_deployments_service/transports/grpc.py b/google/cloud/gaming_v1/services/game_server_deployments_service/transports/grpc.py index 14ea2cde..e64c8b65 100644 --- a/google/cloud/gaming_v1/services/game_server_deployments_service/transports/grpc.py +++ b/google/cloud/gaming_v1/services/game_server_deployments_service/transports/grpc.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. diff --git a/google/cloud/gaming_v1/services/realms_service/__init__.py b/google/cloud/gaming_v1/services/realms_service/__init__.py index f4607da2..f6bb8520 100644 --- a/google/cloud/gaming_v1/services/realms_service/__init__.py +++ b/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. diff --git a/google/cloud/gaming_v1/services/realms_service/client.py b/google/cloud/gaming_v1/services/realms_service/client.py index e7476907..036270f0 100644 --- a/google/cloud/gaming_v1/services/realms_service/client.py +++ b/google/cloud/gaming_v1/services/realms_service/client.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. @@ -193,6 +193,7 @@ def list_realms( # If we have keyword arguments corresponding to fields on the # request, apply these. + if parent is not None: request.parent = parent @@ -266,6 +267,7 @@ def get_realm( # If we have keyword arguments corresponding to fields on the # request, apply these. + if name is not None: request.name = name @@ -350,14 +352,11 @@ def create_realm( # 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 realm is not None: request.realm = realm - # If we have keyword arguments corresponding to fields on the - # request, apply these. if realm_id is not None: request.realm_id = realm_id @@ -431,6 +430,7 @@ def delete_realm( # If we have keyword arguments corresponding to fields on the # request, apply these. + if name is not None: request.name = name @@ -513,10 +513,9 @@ def update_realm( # If we have keyword arguments corresponding to fields on the # request, apply these. + if realm is not None: request.realm = realm - # If we have keyword arguments corresponding to fields on the - # request, apply these. if update_mask is not None: request.update_mask = update_mask diff --git a/google/cloud/gaming_v1/services/realms_service/pagers.py b/google/cloud/gaming_v1/services/realms_service/pagers.py index 9a775353..82516a2f 100644 --- a/google/cloud/gaming_v1/services/realms_service/pagers.py +++ b/google/cloud/gaming_v1/services/realms_service/pagers.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. diff --git a/google/cloud/gaming_v1/services/realms_service/transports/__init__.py b/google/cloud/gaming_v1/services/realms_service/transports/__init__.py index 9abf374f..532d3b69 100644 --- a/google/cloud/gaming_v1/services/realms_service/transports/__init__.py +++ b/google/cloud/gaming_v1/services/realms_service/transports/__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. diff --git a/google/cloud/gaming_v1/services/realms_service/transports/base.py b/google/cloud/gaming_v1/services/realms_service/transports/base.py index d873ed42..e38f3920 100644 --- a/google/cloud/gaming_v1/services/realms_service/transports/base.py +++ b/google/cloud/gaming_v1/services/realms_service/transports/base.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. diff --git a/google/cloud/gaming_v1/services/realms_service/transports/grpc.py b/google/cloud/gaming_v1/services/realms_service/transports/grpc.py index d20b8271..ae783002 100644 --- a/google/cloud/gaming_v1/services/realms_service/transports/grpc.py +++ b/google/cloud/gaming_v1/services/realms_service/transports/grpc.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. diff --git a/google/cloud/gaming_v1/types/__init__.py b/google/cloud/gaming_v1/types/__init__.py index 5fa3f8ee..28428851 100644 --- a/google/cloud/gaming_v1/types/__init__.py +++ b/google/cloud/gaming_v1/types/__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. diff --git a/google/cloud/gaming_v1/types/common.py b/google/cloud/gaming_v1/types/common.py index a7d87167..758c8ec6 100644 --- a/google/cloud/gaming_v1/types/common.py +++ b/google/cloud/gaming_v1/types/common.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. diff --git a/google/cloud/gaming_v1/types/game_server_clusters.py b/google/cloud/gaming_v1/types/game_server_clusters.py index 96290d09..0ff93c44 100644 --- a/google/cloud/gaming_v1/types/game_server_clusters.py +++ b/google/cloud/gaming_v1/types/game_server_clusters.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. diff --git a/google/cloud/gaming_v1/types/game_server_clusters_service.py b/google/cloud/gaming_v1/types/game_server_clusters_service.py index 0983a863..7ab431d6 100644 --- a/google/cloud/gaming_v1/types/game_server_clusters_service.py +++ b/google/cloud/gaming_v1/types/game_server_clusters_service.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. diff --git a/google/cloud/gaming_v1/types/game_server_configs.py b/google/cloud/gaming_v1/types/game_server_configs.py index 58b1d71e..4584c97c 100644 --- a/google/cloud/gaming_v1/types/game_server_configs.py +++ b/google/cloud/gaming_v1/types/game_server_configs.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. diff --git a/google/cloud/gaming_v1/types/game_server_configs_service.py b/google/cloud/gaming_v1/types/game_server_configs_service.py index 0983a863..7ab431d6 100644 --- a/google/cloud/gaming_v1/types/game_server_configs_service.py +++ b/google/cloud/gaming_v1/types/game_server_configs_service.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. diff --git a/google/cloud/gaming_v1/types/game_server_deployments.py b/google/cloud/gaming_v1/types/game_server_deployments.py index 7cef9f9b..79620f5a 100644 --- a/google/cloud/gaming_v1/types/game_server_deployments.py +++ b/google/cloud/gaming_v1/types/game_server_deployments.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. diff --git a/google/cloud/gaming_v1/types/game_server_deployments_service.py b/google/cloud/gaming_v1/types/game_server_deployments_service.py index 0983a863..7ab431d6 100644 --- a/google/cloud/gaming_v1/types/game_server_deployments_service.py +++ b/google/cloud/gaming_v1/types/game_server_deployments_service.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. diff --git a/google/cloud/gaming_v1/types/realms.py b/google/cloud/gaming_v1/types/realms.py index 939c638b..2ea694b6 100644 --- a/google/cloud/gaming_v1/types/realms.py +++ b/google/cloud/gaming_v1/types/realms.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. diff --git a/google/cloud/gaming_v1/types/realms_service.py b/google/cloud/gaming_v1/types/realms_service.py index 0983a863..7ab431d6 100644 --- a/google/cloud/gaming_v1/types/realms_service.py +++ b/google/cloud/gaming_v1/types/realms_service.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. diff --git a/scripts/fixup_keywords.py b/scripts/fixup_keywords.py index 040e46ed..3a315945 100644 --- a/scripts/fixup_keywords.py +++ b/scripts/fixup_keywords.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. diff --git a/synth.metadata b/synth.metadata index 27f96d73..8c16daaa 100644 --- a/synth.metadata +++ b/synth.metadata @@ -1,20 +1,21 @@ { - "updateTime": "2020-03-24T12:13:52.719294Z", + "updateTime": "2020-03-25T12:13:27.483737Z", "sources": [ { "git": { "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", - "sha": "36c0febd0fa7267ab66d14408eec2afd1b6bec4e", - "internalRef": "302639621", - "log": "36c0febd0fa7267ab66d14408eec2afd1b6bec4e\nUpdate GAPIC configurations to v2 .yaml.\n\nPiperOrigin-RevId: 302639621\n\n078f222366ed344509a48f2f084944ef61476613\nFix containeranalysis v1beta1 assembly target name\n\nPiperOrigin-RevId: 302529186\n\n" + "sha": "551cf1e6e3addcc63740427c4f9b40dedd3dac27", + "internalRef": "302792195", + "log": "551cf1e6e3addcc63740427c4f9b40dedd3dac27\nfeat: Add OS Config AgentEndpointService v1 PatchJobs and Tasks APIs.\n\nPiperOrigin-RevId: 302792195\n\n1df117114c73299b614dfd3ba3632bf246669336\nSynchronize new proto/yaml changes.\n\nPiperOrigin-RevId: 302753982\n\n71d6c56a14bb433beb1237dccb48dabcd9597924\nRefresh monitoring client libraries.\nRename to Cloud Monitoring API.\nAdded support for TimeSeriesQueryLanguageCondition condition type in alert policies.\n\nPiperOrigin-RevId: 302735422\n\n25a1781c096974df99d556cc5888fefa82bc6425\nbazel: migrate all go_gapic_library targets to microgenerator implementation\n\n* update rules_go and gazelle bazel dependencies\n* update gapic-generator bazel dependency (with build file generator changes)\n\nPiperOrigin-RevId: 302730217\n\n" } }, { "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "6a17abc7652e2fe563e1288c6e8c23fc260dda97" + "sha": "ee4330a0e5f4b93978e8683fbda8e6d4148326b7", + "log": "ee4330a0e5f4b93978e8683fbda8e6d4148326b7\nchore(java_templates): mark version bumps of current library as a chore (#452)\n\nWith the samples/install-without-bom/pom.xml referencing the latest released library, we want to mark updates of this version as a chore for renovate bot.\na0d3133a5d45544a66345059eebf76933265c099\nfix(java): run mvn install with retry (#453)\n\n* fix(java): run mvn install with retry\n\n* fix invocation of command\n" } } ], diff --git a/tests/unit/gaming_v1/test_game_server_clusters_service.py b/tests/unit/gaming_v1/test_game_server_clusters_service.py index 36dd56ab..3602252e 100644 --- a/tests/unit/gaming_v1/test_game_server_clusters_service.py +++ b/tests/unit/gaming_v1/test_game_server_clusters_service.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. diff --git a/tests/unit/gaming_v1/test_game_server_configs_service.py b/tests/unit/gaming_v1/test_game_server_configs_service.py index 5f7f326f..0f17d7ac 100644 --- a/tests/unit/gaming_v1/test_game_server_configs_service.py +++ b/tests/unit/gaming_v1/test_game_server_configs_service.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. @@ -35,6 +35,7 @@ from google.cloud.gaming_v1.types import game_server_configs from google.longrunning import operations_pb2 from google.oauth2 import service_account +from google.protobuf import duration_pb2 as duration # type: ignore from google.protobuf import timestamp_pb2 as timestamp # type: ignore diff --git a/tests/unit/gaming_v1/test_game_server_deployments_service.py b/tests/unit/gaming_v1/test_game_server_deployments_service.py index a8a39ab1..dd6cf4a1 100644 --- a/tests/unit/gaming_v1/test_game_server_deployments_service.py +++ b/tests/unit/gaming_v1/test_game_server_deployments_service.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. @@ -934,29 +934,29 @@ def test_game_server_deployments_service_grpc_lro_client(): assert transport.operations_client is transport.operations_client -def test_game_server_deployment_rollout_path(): +def test_game_server_deployment_path(): project = "squid" location = "clam" deployment = "whelk" - expected = "projects/{project}/locations/{location}/gameServerDeployments/{deployment}/rollout".format( + expected = "projects/{project}/locations/{location}/gameServerDeployments/{deployment}".format( project=project, location=location, deployment=deployment ) - actual = GameServerDeploymentsServiceClient.game_server_deployment_rollout_path( + actual = GameServerDeploymentsServiceClient.game_server_deployment_path( project, location, deployment ) assert expected == actual -def test_game_server_deployment_path(): +def test_game_server_deployment_rollout_path(): project = "squid" location = "clam" deployment = "whelk" - expected = "projects/{project}/locations/{location}/gameServerDeployments/{deployment}".format( + expected = "projects/{project}/locations/{location}/gameServerDeployments/{deployment}/rollout".format( project=project, location=location, deployment=deployment ) - actual = GameServerDeploymentsServiceClient.game_server_deployment_path( + actual = GameServerDeploymentsServiceClient.game_server_deployment_rollout_path( project, location, deployment ) assert expected == actual diff --git a/tests/unit/gaming_v1/test_realms_service.py b/tests/unit/gaming_v1/test_realms_service.py index 4ec2efb3..61596067 100644 --- a/tests/unit/gaming_v1/test_realms_service.py +++ b/tests/unit/gaming_v1/test_realms_service.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.