sinmetal / slide

http://sinmetal-slide.appspot.com/
2 stars 0 forks source link

Function Search Console memo #46

Open sinmetal opened 5 years ago

sinmetal commented 5 years ago

image

sinmetal commented 5 years ago

ドメインはTXTレコードしか無理だった

image

sinmetal commented 5 years ago

おしりの / が重要だとは...

gcloud pubsub subscriptions create sampleSubscription --topic sample --push-endpoint="https://asia-northeast1-metal-tile-dev2.cloudfunctions.net/SampleHandler"
ERROR: Failed to create subscription [projects/metal-tile-dev2/subscriptions/sampleSubscription]: The supplied HTTP URL is not registered in the subscription's parent project (url="https://asia-northeast1-metal-tile-dev2.cloudfunctions.net/SampleHandler", project_id="246509191042").
ERROR: (gcloud.pubsub.subscriptions.create) Failed to create the following: [sampleSubscription].
gcloud pubsub subscriptions create sampleSubscription --topic sample --push-endpoint="https://asia-northeast1-metal-tile-dev2.cloudfunctions.net/SampleHandler/"
Created subscription [projects/metal-tile-dev2/subscriptions/sampleSubscription].
sinmetal commented 5 years ago
gcloud beta pubsub subscriptions create sampleSubscription --topic sample --push-endpoint="https://asia-northeast1-metal-tile-dev2.cloudfunctions.net/SampleHandler/" --push-auth-service-account="function-caller@metal-tile-dev2.iam.gserviceaccount.com"
gcloud pubsub subscriptions create sampleSubscription4sinmetal-lab --topic sample --topic-project sinmetal-lab --push-endpoint="https://asia-northeast1-metal-tile-dev2.cloudfunctions.net/SampleHandler/"
gcloud beta pubsub subscriptions update sampleSubscription4sinmetal-lab --push-endpoint="https://asia-northeast1-metal-tile-dev2.cloudfunctions.net/SampleHandler/" --push-auth-service-account="function-caller@metal-tile-dev2.iam.gserviceaccount.com"