Skip to content

Commit 3b317cb

Browse files
authored
samples: added region tags (#738)
* Tag fix * rerun conventional commit
1 parent 2f0b8e2 commit 3b317cb

File tree

2 files changed

+21
-2
lines changed

2 files changed

+21
-2
lines changed

dialogflow/snippets/src/main/dialogflow/Example.java

+20-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,22 @@
1-
package com.example;
1+
/*
2+
* Copyright 2021 Google LLC
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* http://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
15+
*/
16+
17+
package dialogflow;
18+
19+
// [START dialogflow_webhook]
220

321
import com.google.cloud.functions.HttpFunction;
422
import com.google.cloud.functions.HttpRequest;
@@ -46,3 +64,4 @@ public void service(HttpRequest request, HttpResponse response) throws Exception
4664
writer.write(o.toString());
4765
}
4866
}
67+
// [END dialogflow_webhook]

dialogflow/snippets/src/test/dialogflow/ExampleIT.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
* limitations under the License.
1515
*/
1616

17-
package dialogflow.cx;
17+
package dialogflow;
1818

1919
import static com.google.common.truth.Truth.assertThat;
2020
import static org.mockito.Mockito.when;

0 commit comments

Comments
 (0)