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

Commit fa2e0b5

Browse files
fix: better support for fallback mode (#170)
- [ ] Regenerate this pull request now. PiperOrigin-RevId: 468790263 Source-Link: googleapis/googleapis@873ab45 Source-Link: https://github.com/googleapis/googleapis-gen/commit/cb6f37aeff2a3472e40a7bbace8c67d75e24bee5 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiY2I2ZjM3YWVmZjJhMzQ3MmU0MGE3YmJhY2U4YzY3ZDc1ZTI0YmVlNSJ9
1 parent c6629bb commit fa2e0b5

29 files changed

Lines changed: 552 additions & 482 deletions

samples/generated/v1/binauthz_management_service_v1.create_attestor.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@
2323
function main(parent, attestorId, attestor) {
2424
// [START binaryauthorization_v1_generated_BinauthzManagementServiceV1_CreateAttestor_async]
2525
/**
26+
* This snippet has been automatically generated and should be regarded as a code template only.
27+
* It will require modifications to work.
28+
* It may require correct/in-range values for request initialization.
2629
* TODO(developer): Uncomment these variables before running the sample.
2730
*/
2831
/**

samples/generated/v1/binauthz_management_service_v1.delete_attestor.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@
2323
function main(name) {
2424
// [START binaryauthorization_v1_generated_BinauthzManagementServiceV1_DeleteAttestor_async]
2525
/**
26+
* This snippet has been automatically generated and should be regarded as a code template only.
27+
* It will require modifications to work.
28+
* It may require correct/in-range values for request initialization.
2629
* TODO(developer): Uncomment these variables before running the sample.
2730
*/
2831
/**

samples/generated/v1/binauthz_management_service_v1.get_attestor.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@
2323
function main(name) {
2424
// [START binaryauthorization_v1_generated_BinauthzManagementServiceV1_GetAttestor_async]
2525
/**
26+
* This snippet has been automatically generated and should be regarded as a code template only.
27+
* It will require modifications to work.
28+
* It may require correct/in-range values for request initialization.
2629
* TODO(developer): Uncomment these variables before running the sample.
2730
*/
2831
/**

samples/generated/v1/binauthz_management_service_v1.get_policy.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@
2323
function main(name) {
2424
// [START binaryauthorization_v1_generated_BinauthzManagementServiceV1_GetPolicy_async]
2525
/**
26+
* This snippet has been automatically generated and should be regarded as a code template only.
27+
* It will require modifications to work.
28+
* It may require correct/in-range values for request initialization.
2629
* TODO(developer): Uncomment these variables before running the sample.
2730
*/
2831
/**

samples/generated/v1/binauthz_management_service_v1.list_attestors.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@
2323
function main(parent) {
2424
// [START binaryauthorization_v1_generated_BinauthzManagementServiceV1_ListAttestors_async]
2525
/**
26+
* This snippet has been automatically generated and should be regarded as a code template only.
27+
* It will require modifications to work.
28+
* It may require correct/in-range values for request initialization.
2629
* TODO(developer): Uncomment these variables before running the sample.
2730
*/
2831
/**

samples/generated/v1/binauthz_management_service_v1.update_attestor.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@
2323
function main(attestor) {
2424
// [START binaryauthorization_v1_generated_BinauthzManagementServiceV1_UpdateAttestor_async]
2525
/**
26+
* This snippet has been automatically generated and should be regarded as a code template only.
27+
* It will require modifications to work.
28+
* It may require correct/in-range values for request initialization.
2629
* TODO(developer): Uncomment these variables before running the sample.
2730
*/
2831
/**

samples/generated/v1/binauthz_management_service_v1.update_policy.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@
2323
function main(policy) {
2424
// [START binaryauthorization_v1_generated_BinauthzManagementServiceV1_UpdatePolicy_async]
2525
/**
26+
* This snippet has been automatically generated and should be regarded as a code template only.
27+
* It will require modifications to work.
28+
* It may require correct/in-range values for request initialization.
2629
* TODO(developer): Uncomment these variables before running the sample.
2730
*/
2831
/**

samples/generated/v1/snippet_metadata.google.cloud.binaryauthorization.v1.json

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"segments": [
2323
{
2424
"start": 25,
25-
"end": 51,
25+
"end": 54,
2626
"type": "FULL"
2727
}
2828
],
@@ -62,7 +62,7 @@
6262
"segments": [
6363
{
6464
"start": 25,
65-
"end": 52,
65+
"end": 55,
6666
"type": "FULL"
6767
}
6868
],
@@ -102,7 +102,7 @@
102102
"segments": [
103103
{
104104
"start": 25,
105-
"end": 62,
105+
"end": 65,
106106
"type": "FULL"
107107
}
108108
],
@@ -150,7 +150,7 @@
150150
"segments": [
151151
{
152152
"start": 25,
153-
"end": 51,
153+
"end": 54,
154154
"type": "FULL"
155155
}
156156
],
@@ -190,7 +190,7 @@
190190
"segments": [
191191
{
192192
"start": 25,
193-
"end": 52,
193+
"end": 55,
194194
"type": "FULL"
195195
}
196196
],
@@ -230,7 +230,7 @@
230230
"segments": [
231231
{
232232
"start": 25,
233-
"end": 64,
233+
"end": 67,
234234
"type": "FULL"
235235
}
236236
],
@@ -278,7 +278,7 @@
278278
"segments": [
279279
{
280280
"start": 25,
281-
"end": 51,
281+
"end": 54,
282282
"type": "FULL"
283283
}
284284
],
@@ -318,7 +318,7 @@
318318
"segments": [
319319
{
320320
"start": 25,
321-
"end": 51,
321+
"end": 54,
322322
"type": "FULL"
323323
}
324324
],
@@ -358,7 +358,7 @@
358358
"segments": [
359359
{
360360
"start": 25,
361-
"end": 72,
361+
"end": 75,
362362
"type": "FULL"
363363
}
364364
],

samples/generated/v1/system_policy_v1.get_system_policy.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@
2323
function main(name) {
2424
// [START binaryauthorization_v1_generated_SystemPolicyV1_GetSystemPolicy_async]
2525
/**
26+
* This snippet has been automatically generated and should be regarded as a code template only.
27+
* It will require modifications to work.
28+
* It may require correct/in-range values for request initialization.
2629
* TODO(developer): Uncomment these variables before running the sample.
2730
*/
2831
/**

samples/generated/v1/validation_helper_v1.validate_attestation_occurrence.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@
2323
function main(attestor, attestation, occurrenceNote, occurrenceResourceUri) {
2424
// [START binaryauthorization_v1_generated_ValidationHelperV1_ValidateAttestationOccurrence_async]
2525
/**
26+
* This snippet has been automatically generated and should be regarded as a code template only.
27+
* It will require modifications to work.
28+
* It may require correct/in-range values for request initialization.
2629
* TODO(developer): Uncomment these variables before running the sample.
2730
*/
2831
/**

0 commit comments

Comments
 (0)