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

Commit

Permalink
chore: update license header (#4)
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshi-automation committed Apr 21, 2020
1 parent e51e86f commit 247ad66
Show file tree
Hide file tree
Showing 14 changed files with 28 additions and 35 deletions.
2 changes: 1 addition & 1 deletion google/cloud/memcache/__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/memcache_v1beta2/__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/memcache_v1beta2/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
23 changes: 8 additions & 15 deletions google/cloud/memcache_v1beta2/services/cloud_memcache/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.
Expand Down Expand Up @@ -213,6 +213,7 @@ def list_instances(

# 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 @@ -289,6 +290,7 @@ def get_instance(

# 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 @@ -383,14 +385,11 @@ def create_instance(

# 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 instance_id is not None:
request.instance_id = instance_id
# If we have keyword arguments corresponding to fields on the
# request, apply these.
if resource is not None:
request.resource = resource

Expand Down Expand Up @@ -475,10 +474,9 @@ def update_instance(

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

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

Expand Down Expand Up @@ -570,14 +568,11 @@ def update_parameters(

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

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

Expand Down Expand Up @@ -666,6 +661,7 @@ def delete_instance(

# 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 @@ -760,14 +756,11 @@ def apply_parameters(

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

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

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/memcache_v1beta2/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.
Expand Down
2 changes: 1 addition & 1 deletion google/cloud/memcache_v1beta2/types/cloud_memcache.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 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.
Expand Down

0 comments on commit 247ad66

Please sign in to comment.