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

fix: better support for fallback mode #163

Merged
merged 2 commits into from
Aug 23, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions samples/generated/v1/gke_hub.create_feature.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@
function main() {
// [START gkehub_v1_generated_GkeHub_CreateFeature_async]
/**
* This snippet has been automatically generated and should be regarded as a code template only.
* It will require modifications to work.
* It may require correct/in-range values for request initialization.
* TODO(developer): Uncomment these variables before running the sample.
*/
/**
Expand Down
3 changes: 3 additions & 0 deletions samples/generated/v1/gke_hub.create_membership.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@
function main(parent, membershipId, resource) {
// [START gkehub_v1_generated_GkeHub_CreateMembership_async]
/**
* This snippet has been automatically generated and should be regarded as a code template only.
* It will require modifications to work.
* It may require correct/in-range values for request initialization.
* TODO(developer): Uncomment these variables before running the sample.
*/
/**
Expand Down
3 changes: 3 additions & 0 deletions samples/generated/v1/gke_hub.delete_feature.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@
function main() {
// [START gkehub_v1_generated_GkeHub_DeleteFeature_async]
/**
* This snippet has been automatically generated and should be regarded as a code template only.
* It will require modifications to work.
* It may require correct/in-range values for request initialization.
* TODO(developer): Uncomment these variables before running the sample.
*/
/**
Expand Down
3 changes: 3 additions & 0 deletions samples/generated/v1/gke_hub.delete_membership.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@
function main(name) {
// [START gkehub_v1_generated_GkeHub_DeleteMembership_async]
/**
* This snippet has been automatically generated and should be regarded as a code template only.
* It will require modifications to work.
* It may require correct/in-range values for request initialization.
* TODO(developer): Uncomment these variables before running the sample.
*/
/**
Expand Down
3 changes: 3 additions & 0 deletions samples/generated/v1/gke_hub.generate_connect_manifest.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@
function main(name) {
// [START gkehub_v1_generated_GkeHub_GenerateConnectManifest_async]
/**
* This snippet has been automatically generated and should be regarded as a code template only.
* It will require modifications to work.
* It may require correct/in-range values for request initialization.
* TODO(developer): Uncomment these variables before running the sample.
*/
/**
Expand Down
3 changes: 3 additions & 0 deletions samples/generated/v1/gke_hub.get_feature.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@
function main() {
// [START gkehub_v1_generated_GkeHub_GetFeature_async]
/**
* This snippet has been automatically generated and should be regarded as a code template only.
* It will require modifications to work.
* It may require correct/in-range values for request initialization.
* TODO(developer): Uncomment these variables before running the sample.
*/
/**
Expand Down
3 changes: 3 additions & 0 deletions samples/generated/v1/gke_hub.get_membership.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@
function main(name) {
// [START gkehub_v1_generated_GkeHub_GetMembership_async]
/**
* This snippet has been automatically generated and should be regarded as a code template only.
* It will require modifications to work.
* It may require correct/in-range values for request initialization.
* TODO(developer): Uncomment these variables before running the sample.
*/
/**
Expand Down
3 changes: 3 additions & 0 deletions samples/generated/v1/gke_hub.list_features.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@
function main() {
// [START gkehub_v1_generated_GkeHub_ListFeatures_async]
/**
* This snippet has been automatically generated and should be regarded as a code template only.
* It will require modifications to work.
* It may require correct/in-range values for request initialization.
* TODO(developer): Uncomment these variables before running the sample.
*/
/**
Expand Down
3 changes: 3 additions & 0 deletions samples/generated/v1/gke_hub.list_memberships.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@
function main(parent) {
// [START gkehub_v1_generated_GkeHub_ListMemberships_async]
/**
* This snippet has been automatically generated and should be regarded as a code template only.
* It will require modifications to work.
* It may require correct/in-range values for request initialization.
* TODO(developer): Uncomment these variables before running the sample.
*/
/**
Expand Down
3 changes: 3 additions & 0 deletions samples/generated/v1/gke_hub.update_feature.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@
function main() {
// [START gkehub_v1_generated_GkeHub_UpdateFeature_async]
/**
* This snippet has been automatically generated and should be regarded as a code template only.
* It will require modifications to work.
* It may require correct/in-range values for request initialization.
* TODO(developer): Uncomment these variables before running the sample.
*/
/**
Expand Down
3 changes: 3 additions & 0 deletions samples/generated/v1/gke_hub.update_membership.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@
function main(name, updateMask, resource) {
// [START gkehub_v1_generated_GkeHub_UpdateMembership_async]
/**
* This snippet has been automatically generated and should be regarded as a code template only.
* It will require modifications to work.
* It may require correct/in-range values for request initialization.
* TODO(developer): Uncomment these variables before running the sample.
*/
/**
Expand Down
22 changes: 11 additions & 11 deletions samples/generated/v1/snippet_metadata.google.cloud.gkehub.v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"segments": [
{
"start": 25,
"end": 84,
"end": 87,
"type": "FULL"
}
],
Expand Down Expand Up @@ -78,7 +78,7 @@
"segments": [
{
"start": 25,
"end": 81,
"end": 84,
"type": "FULL"
}
],
Expand Down Expand Up @@ -134,7 +134,7 @@
"segments": [
{
"start": 25,
"end": 51,
"end": 54,
"type": "FULL"
}
],
Expand Down Expand Up @@ -174,7 +174,7 @@
"segments": [
{
"start": 25,
"end": 50,
"end": 53,
"type": "FULL"
}
],
Expand Down Expand Up @@ -214,7 +214,7 @@
"segments": [
{
"start": 25,
"end": 82,
"end": 85,
"type": "FULL"
}
],
Expand Down Expand Up @@ -266,7 +266,7 @@
"segments": [
{
"start": 25,
"end": 73,
"end": 76,
"type": "FULL"
}
],
Expand Down Expand Up @@ -318,7 +318,7 @@
"segments": [
{
"start": 25,
"end": 66,
"end": 69,
"type": "FULL"
}
],
Expand Down Expand Up @@ -362,7 +362,7 @@
"segments": [
{
"start": 25,
"end": 71,
"end": 74,
"type": "FULL"
}
],
Expand Down Expand Up @@ -410,7 +410,7 @@
"segments": [
{
"start": 25,
"end": 83,
"end": 86,
"type": "FULL"
}
],
Expand Down Expand Up @@ -462,7 +462,7 @@
"segments": [
{
"start": 25,
"end": 80,
"end": 83,
"type": "FULL"
}
],
Expand Down Expand Up @@ -514,7 +514,7 @@
"segments": [
{
"start": 25,
"end": 84,
"end": 87,
"type": "FULL"
}
],
Expand Down
3 changes: 3 additions & 0 deletions samples/generated/v1alpha/gke_hub.create_feature.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@
function main() {
// [START gkehub_v1alpha_generated_GkeHub_CreateFeature_async]
/**
* This snippet has been automatically generated and should be regarded as a code template only.
* It will require modifications to work.
* It may require correct/in-range values for request initialization.
* TODO(developer): Uncomment these variables before running the sample.
*/
/**
Expand Down
3 changes: 3 additions & 0 deletions samples/generated/v1alpha/gke_hub.delete_feature.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@
function main() {
// [START gkehub_v1alpha_generated_GkeHub_DeleteFeature_async]
/**
* This snippet has been automatically generated and should be regarded as a code template only.
* It will require modifications to work.
* It may require correct/in-range values for request initialization.
* TODO(developer): Uncomment these variables before running the sample.
*/
/**
Expand Down
3 changes: 3 additions & 0 deletions samples/generated/v1alpha/gke_hub.get_feature.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@
function main() {
// [START gkehub_v1alpha_generated_GkeHub_GetFeature_async]
/**
* This snippet has been automatically generated and should be regarded as a code template only.
* It will require modifications to work.
* It may require correct/in-range values for request initialization.
* TODO(developer): Uncomment these variables before running the sample.
*/
/**
Expand Down
3 changes: 3 additions & 0 deletions samples/generated/v1alpha/gke_hub.list_features.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@
function main() {
// [START gkehub_v1alpha_generated_GkeHub_ListFeatures_async]
/**
* This snippet has been automatically generated and should be regarded as a code template only.
* It will require modifications to work.
* It may require correct/in-range values for request initialization.
* TODO(developer): Uncomment these variables before running the sample.
*/
/**
Expand Down
3 changes: 3 additions & 0 deletions samples/generated/v1alpha/gke_hub.update_feature.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@
function main() {
// [START gkehub_v1alpha_generated_GkeHub_UpdateFeature_async]
/**
* This snippet has been automatically generated and should be regarded as a code template only.
* It will require modifications to work.
* It may require correct/in-range values for request initialization.
* TODO(developer): Uncomment these variables before running the sample.
*/
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"segments": [
{
"start": 25,
"end": 81,
"end": 84,
"type": "FULL"
}
],
Expand Down Expand Up @@ -78,7 +78,7 @@
"segments": [
{
"start": 25,
"end": 50,
"end": 53,
"type": "FULL"
}
],
Expand Down Expand Up @@ -118,7 +118,7 @@
"segments": [
{
"start": 25,
"end": 73,
"end": 76,
"type": "FULL"
}
],
Expand Down Expand Up @@ -170,7 +170,7 @@
"segments": [
{
"start": 25,
"end": 71,
"end": 74,
"type": "FULL"
}
],
Expand Down Expand Up @@ -218,7 +218,7 @@
"segments": [
{
"start": 25,
"end": 80,
"end": 83,
"type": "FULL"
}
],
Expand Down
3 changes: 3 additions & 0 deletions samples/generated/v1alpha2/gke_hub.create_membership.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@
function main(parent, membershipId, resource) {
// [START gkehub_v1alpha2_generated_GkeHub_CreateMembership_async]
/**
* This snippet has been automatically generated and should be regarded as a code template only.
* It will require modifications to work.
* It may require correct/in-range values for request initialization.
* TODO(developer): Uncomment these variables before running the sample.
*/
/**
Expand Down
3 changes: 3 additions & 0 deletions samples/generated/v1alpha2/gke_hub.delete_membership.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@
function main(name) {
// [START gkehub_v1alpha2_generated_GkeHub_DeleteMembership_async]
/**
* This snippet has been automatically generated and should be regarded as a code template only.
* It will require modifications to work.
* It may require correct/in-range values for request initialization.
* TODO(developer): Uncomment these variables before running the sample.
*/
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@
function main(name) {
// [START gkehub_v1alpha2_generated_GkeHub_GenerateConnectManifest_async]
/**
* This snippet has been automatically generated and should be regarded as a code template only.
* It will require modifications to work.
* It may require correct/in-range values for request initialization.
* TODO(developer): Uncomment these variables before running the sample.
*/
/**
Expand Down
3 changes: 3 additions & 0 deletions samples/generated/v1alpha2/gke_hub.get_membership.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@
function main(name) {
// [START gkehub_v1alpha2_generated_GkeHub_GetMembership_async]
/**
* This snippet has been automatically generated and should be regarded as a code template only.
* It will require modifications to work.
* It may require correct/in-range values for request initialization.
* TODO(developer): Uncomment these variables before running the sample.
*/
/**
Expand Down
3 changes: 3 additions & 0 deletions samples/generated/v1alpha2/gke_hub.initialize_hub.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@
function main(project) {
// [START gkehub_v1alpha2_generated_GkeHub_InitializeHub_async]
/**
* This snippet has been automatically generated and should be regarded as a code template only.
* It will require modifications to work.
* It may require correct/in-range values for request initialization.
* TODO(developer): Uncomment these variables before running the sample.
*/
/**
Expand Down
3 changes: 3 additions & 0 deletions samples/generated/v1alpha2/gke_hub.list_memberships.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@
function main(parent) {
// [START gkehub_v1alpha2_generated_GkeHub_ListMemberships_async]
/**
* This snippet has been automatically generated and should be regarded as a code template only.
* It will require modifications to work.
* It may require correct/in-range values for request initialization.
* TODO(developer): Uncomment these variables before running the sample.
*/
/**
Expand Down
3 changes: 3 additions & 0 deletions samples/generated/v1alpha2/gke_hub.update_membership.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@
function main(name, updateMask, resource) {
// [START gkehub_v1alpha2_generated_GkeHub_UpdateMembership_async]
/**
* This snippet has been automatically generated and should be regarded as a code template only.
* It will require modifications to work.
* It may require correct/in-range values for request initialization.
* TODO(developer): Uncomment these variables before running the sample.
*/
/**
Expand Down
Loading