Skip to content

Commit

Permalink
chore: update license header (#4)
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshi-automation authored Apr 21, 2020
1 parent de7f2d6 commit 0c7d74b
Show file tree
Hide file tree
Showing 14 changed files with 28 additions and 35 deletions.
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
@@ -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 packages/google-cloud-memcache/scripts/fixup_keywords.py
Original file line number Diff line number Diff line change
@@ -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
Loading

0 comments on commit 0c7d74b

Please sign in to comment.