Skip to content

Commit

Permalink
Replace GCLOUD_PROJECT with GOOGLE_CLOUD_PROJECT. [(#4022)](GoogleClo…
Browse files Browse the repository at this point in the history
  • Loading branch information
kurtisvg authored and busunkim96 committed Dec 9, 2020
1 parent 10584ac commit 77d87e6
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

import document_management

PROJECT_ID = os.getenv('GCLOUD_PROJECT')
PROJECT_ID = os.getenv('GOOGLE_CLOUD_PROJECT')
KNOWLEDGE_BASE_NAME = 'knowledge_{}'.format(uuid.uuid4())
DOCUMENT_DISPLAY_NAME = 'test_document_{}'.format(uuid.uuid4())
pytest.KNOWLEDGE_BASE_ID = None
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

import knowledge_base_management

PROJECT_ID = os.getenv('GCLOUD_PROJECT')
PROJECT_ID = os.getenv('GOOGLE_CLOUD_PROJECT')
KNOWLEDGE_BASE_NAME = 'knowledge_{}'.format(uuid.uuid4())
pytest.KNOWLEDGE_BASE_ID = None

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
from detect_intent_audio import detect_intent_audio

DIRNAME = os.path.realpath(os.path.dirname(__file__))
PROJECT_ID = os.getenv('GCLOUD_PROJECT')
PROJECT_ID = os.getenv('GOOGLE_CLOUD_PROJECT')
SESSION_ID = 'test_{}'.format(uuid.uuid4())
AUDIOS = [
'{0}/resources/book_a_room.wav'.format(DIRNAME),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

import detect_intent_knowledge

PROJECT_ID = os.getenv('GCLOUD_PROJECT')
PROJECT_ID = os.getenv('GOOGLE_CLOUD_PROJECT')
SESSION_ID = 'session_{}'.format(uuid.uuid4())
KNOWLEDGE_BASE_ID = 'MjEwMjE4MDQ3MDQwMDc0NTQ3Mg'
TEXTS = ['Where is my data stored?']
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

from detect_intent_stream import detect_intent_stream

PROJECT_ID = os.getenv('GCLOUD_PROJECT')
PROJECT_ID = os.getenv('GOOGLE_CLOUD_PROJECT')
SESSION_ID = 'test_{}'.format(uuid.uuid4())
AUDIO_FILE_PATH = '{0}/resources/book_a_room.wav'.format(
os.path.realpath(os.path.dirname(__file__)),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

from detect_intent_texts import detect_intent_texts

PROJECT_ID = os.getenv('GCLOUD_PROJECT')
PROJECT_ID = os.getenv('GOOGLE_CLOUD_PROJECT')
SESSION_ID = 'test_{}'.format(uuid.uuid4())
TEXTS = ["hello", "book a meeting room", "Mountain View",
"tomorrow", "10 AM", "2 hours", "10 people", "A", "yes"]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
from detect_intent_with_sentiment_analysis import \
detect_intent_with_sentiment_analysis

PROJECT_ID = os.getenv('GCLOUD_PROJECT')
PROJECT_ID = os.getenv('GOOGLE_CLOUD_PROJECT')
SESSION_ID = 'test_{}'.format(uuid.uuid4())
TEXTS = ["hello", "book a meeting room", "Mountain View",
"tomorrow", "10 AM", "2 hours", "10 people", "A", "yes"]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
from detect_intent_with_texttospeech_response import \
detect_intent_with_texttospeech_response

PROJECT_ID = os.getenv('GCLOUD_PROJECT')
PROJECT_ID = os.getenv('GOOGLE_CLOUD_PROJECT')
SESSION_ID = 'test_{}'.format(uuid.uuid4())
TEXTS = ["hello"]

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

import intent_management

PROJECT_ID = os.getenv('GCLOUD_PROJECT')
PROJECT_ID = os.getenv('GOOGLE_CLOUD_PROJECT')
INTENT_DISPLAY_NAME = 'test_{}'.format(uuid.uuid4())
MESSAGE_TEXTS = [
'fake_message_text_for_testing_1',
Expand Down

0 comments on commit 77d87e6

Please sign in to comment.