Skip to content

Commit 11b0c0e

Browse files
feat(ondemandscanning): update the api
#### ondemandscanning:v1 The following keys were deleted: - schemas.Recipe.properties.environment.additionalProperties.type (Total Keys: 1) The following keys were added: - schemas.Recipe.properties.arguments.items.additionalProperties.type (Total Keys: 1) - schemas.Recipe.properties.environment.items (Total Keys: 2) The following keys were changed: - schemas.Recipe.properties.arguments.items.type (Total Keys: 1) - schemas.Recipe.properties.environment.type (Total Keys: 1) #### ondemandscanning:v1beta1 The following keys were deleted: - schemas.Recipe.properties.environment.additionalProperties.type (Total Keys: 1) The following keys were added: - schemas.Recipe.properties.arguments.items.additionalProperties.type (Total Keys: 1) - schemas.Recipe.properties.environment.items (Total Keys: 2) The following keys were changed: - schemas.Recipe.properties.arguments.items.type (Total Keys: 1) - schemas.Recipe.properties.environment.type (Total Keys: 1)
1 parent f5f6185 commit 11b0c0e

File tree

4 files changed

+66
-34
lines changed

4 files changed

+66
-34
lines changed

docs/dyn/ondemandscanning_v1.projects.locations.scans.vulnerabilities.html

Lines changed: 18 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -143,14 +143,18 @@ <h3>Method Details</h3>
143143
&quot;reproducible&quot;: True or False, # If true, the builder claims that running the recipe on materials will produce bit-for-bit identical output.
144144
},
145145
&quot;recipe&quot;: { # Steps taken to build the artifact. For a TaskRun, typically each container corresponds to one step in the recipe. # Identifies the configuration used for the build. When combined with materials, this SHOULD fully describe the build, such that re-running this recipe results in bit-for-bit identical output (if the build is reproducible). required
146-
&quot;arguments&quot;: [ # Collection of all external inputs that influenced the build on top of recipe.definedInMaterial and recipe.entryPoint. For example, if the recipe type were &quot;make&quot;, then this might be the flags passed to make aside from the target, which is captured in recipe.entryPoint.
147-
&quot;A String&quot;,
146+
&quot;arguments&quot;: [ # Collection of all external inputs that influenced the build on top of recipe.definedInMaterial and recipe.entryPoint. For example, if the recipe type were &quot;make&quot;, then this might be the flags passed to make aside from the target, which is captured in recipe.entryPoint. Since the arguments field can greatly vary in structure, depending on the builder and recipe type, this is of form &quot;Any&quot;.
147+
{
148+
&quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
149+
},
148150
],
149151
&quot;definedInMaterial&quot;: &quot;A String&quot;, # Index in materials containing the recipe steps that are not implied by recipe.type. For example, if the recipe type were &quot;make&quot;, then this would point to the source containing the Makefile, not the make program itself. Set to -1 if the recipe doesn&#x27;t come from a material, as zero is default unset value for int64.
150152
&quot;entryPoint&quot;: &quot;A String&quot;, # String identifying the entry point into the build. This is often a path to a configuration file and/or a target label within that file. The syntax and meaning are defined by recipe.type. For example, if the recipe type were &quot;make&quot;, then this would reference the directory in which to run make as well as which target to use.
151-
&quot;environment&quot;: { # Any other builder-controlled inputs necessary for correctly evaluating the recipe. Usually only needed for reproducing the build but not evaluated as part of policy.
152-
&quot;a_key&quot;: &quot;A String&quot;,
153-
},
153+
&quot;environment&quot;: [ # Any other builder-controlled inputs necessary for correctly evaluating the recipe. Usually only needed for reproducing the build but not evaluated as part of policy. Since the environment field can greatly vary in structure, depending on the builder and recipe type, this is of form &quot;Any&quot;.
154+
{
155+
&quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
156+
},
157+
],
154158
&quot;type&quot;: &quot;A String&quot;, # URI indicating what type of recipe was performed. It determines the meaning of recipe.entryPoint, recipe.arguments, recipe.environment, and materials.
155159
},
156160
},
@@ -343,14 +347,18 @@ <h3>Method Details</h3>
343347
&quot;reproducible&quot;: True or False, # If true, the builder claims that running the recipe on materials will produce bit-for-bit identical output.
344348
},
345349
&quot;recipe&quot;: { # Steps taken to build the artifact. For a TaskRun, typically each container corresponds to one step in the recipe. # Identifies the configuration used for the build. When combined with materials, this SHOULD fully describe the build, such that re-running this recipe results in bit-for-bit identical output (if the build is reproducible). required
346-
&quot;arguments&quot;: [ # Collection of all external inputs that influenced the build on top of recipe.definedInMaterial and recipe.entryPoint. For example, if the recipe type were &quot;make&quot;, then this might be the flags passed to make aside from the target, which is captured in recipe.entryPoint.
347-
&quot;A String&quot;,
350+
&quot;arguments&quot;: [ # Collection of all external inputs that influenced the build on top of recipe.definedInMaterial and recipe.entryPoint. For example, if the recipe type were &quot;make&quot;, then this might be the flags passed to make aside from the target, which is captured in recipe.entryPoint. Since the arguments field can greatly vary in structure, depending on the builder and recipe type, this is of form &quot;Any&quot;.
351+
{
352+
&quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
353+
},
348354
],
349355
&quot;definedInMaterial&quot;: &quot;A String&quot;, # Index in materials containing the recipe steps that are not implied by recipe.type. For example, if the recipe type were &quot;make&quot;, then this would point to the source containing the Makefile, not the make program itself. Set to -1 if the recipe doesn&#x27;t come from a material, as zero is default unset value for int64.
350356
&quot;entryPoint&quot;: &quot;A String&quot;, # String identifying the entry point into the build. This is often a path to a configuration file and/or a target label within that file. The syntax and meaning are defined by recipe.type. For example, if the recipe type were &quot;make&quot;, then this would reference the directory in which to run make as well as which target to use.
351-
&quot;environment&quot;: { # Any other builder-controlled inputs necessary for correctly evaluating the recipe. Usually only needed for reproducing the build but not evaluated as part of policy.
352-
&quot;a_key&quot;: &quot;A String&quot;,
353-
},
357+
&quot;environment&quot;: [ # Any other builder-controlled inputs necessary for correctly evaluating the recipe. Usually only needed for reproducing the build but not evaluated as part of policy. Since the environment field can greatly vary in structure, depending on the builder and recipe type, this is of form &quot;Any&quot;.
358+
{
359+
&quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
360+
},
361+
],
354362
&quot;type&quot;: &quot;A String&quot;, # URI indicating what type of recipe was performed. It determines the meaning of recipe.entryPoint, recipe.arguments, recipe.environment, and materials.
355363
},
356364
},

docs/dyn/ondemandscanning_v1beta1.projects.locations.scans.vulnerabilities.html

Lines changed: 18 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -143,14 +143,18 @@ <h3>Method Details</h3>
143143
&quot;reproducible&quot;: True or False, # If true, the builder claims that running the recipe on materials will produce bit-for-bit identical output.
144144
},
145145
&quot;recipe&quot;: { # Steps taken to build the artifact. For a TaskRun, typically each container corresponds to one step in the recipe. # Identifies the configuration used for the build. When combined with materials, this SHOULD fully describe the build, such that re-running this recipe results in bit-for-bit identical output (if the build is reproducible). required
146-
&quot;arguments&quot;: [ # Collection of all external inputs that influenced the build on top of recipe.definedInMaterial and recipe.entryPoint. For example, if the recipe type were &quot;make&quot;, then this might be the flags passed to make aside from the target, which is captured in recipe.entryPoint.
147-
&quot;A String&quot;,
146+
&quot;arguments&quot;: [ # Collection of all external inputs that influenced the build on top of recipe.definedInMaterial and recipe.entryPoint. For example, if the recipe type were &quot;make&quot;, then this might be the flags passed to make aside from the target, which is captured in recipe.entryPoint. Since the arguments field can greatly vary in structure, depending on the builder and recipe type, this is of form &quot;Any&quot;.
147+
{
148+
&quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
149+
},
148150
],
149151
&quot;definedInMaterial&quot;: &quot;A String&quot;, # Index in materials containing the recipe steps that are not implied by recipe.type. For example, if the recipe type were &quot;make&quot;, then this would point to the source containing the Makefile, not the make program itself. Set to -1 if the recipe doesn&#x27;t come from a material, as zero is default unset value for int64.
150152
&quot;entryPoint&quot;: &quot;A String&quot;, # String identifying the entry point into the build. This is often a path to a configuration file and/or a target label within that file. The syntax and meaning are defined by recipe.type. For example, if the recipe type were &quot;make&quot;, then this would reference the directory in which to run make as well as which target to use.
151-
&quot;environment&quot;: { # Any other builder-controlled inputs necessary for correctly evaluating the recipe. Usually only needed for reproducing the build but not evaluated as part of policy.
152-
&quot;a_key&quot;: &quot;A String&quot;,
153-
},
153+
&quot;environment&quot;: [ # Any other builder-controlled inputs necessary for correctly evaluating the recipe. Usually only needed for reproducing the build but not evaluated as part of policy. Since the environment field can greatly vary in structure, depending on the builder and recipe type, this is of form &quot;Any&quot;.
154+
{
155+
&quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
156+
},
157+
],
154158
&quot;type&quot;: &quot;A String&quot;, # URI indicating what type of recipe was performed. It determines the meaning of recipe.entryPoint, recipe.arguments, recipe.environment, and materials.
155159
},
156160
},
@@ -343,14 +347,18 @@ <h3>Method Details</h3>
343347
&quot;reproducible&quot;: True or False, # If true, the builder claims that running the recipe on materials will produce bit-for-bit identical output.
344348
},
345349
&quot;recipe&quot;: { # Steps taken to build the artifact. For a TaskRun, typically each container corresponds to one step in the recipe. # Identifies the configuration used for the build. When combined with materials, this SHOULD fully describe the build, such that re-running this recipe results in bit-for-bit identical output (if the build is reproducible). required
346-
&quot;arguments&quot;: [ # Collection of all external inputs that influenced the build on top of recipe.definedInMaterial and recipe.entryPoint. For example, if the recipe type were &quot;make&quot;, then this might be the flags passed to make aside from the target, which is captured in recipe.entryPoint.
347-
&quot;A String&quot;,
350+
&quot;arguments&quot;: [ # Collection of all external inputs that influenced the build on top of recipe.definedInMaterial and recipe.entryPoint. For example, if the recipe type were &quot;make&quot;, then this might be the flags passed to make aside from the target, which is captured in recipe.entryPoint. Since the arguments field can greatly vary in structure, depending on the builder and recipe type, this is of form &quot;Any&quot;.
351+
{
352+
&quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
353+
},
348354
],
349355
&quot;definedInMaterial&quot;: &quot;A String&quot;, # Index in materials containing the recipe steps that are not implied by recipe.type. For example, if the recipe type were &quot;make&quot;, then this would point to the source containing the Makefile, not the make program itself. Set to -1 if the recipe doesn&#x27;t come from a material, as zero is default unset value for int64.
350356
&quot;entryPoint&quot;: &quot;A String&quot;, # String identifying the entry point into the build. This is often a path to a configuration file and/or a target label within that file. The syntax and meaning are defined by recipe.type. For example, if the recipe type were &quot;make&quot;, then this would reference the directory in which to run make as well as which target to use.
351-
&quot;environment&quot;: { # Any other builder-controlled inputs necessary for correctly evaluating the recipe. Usually only needed for reproducing the build but not evaluated as part of policy.
352-
&quot;a_key&quot;: &quot;A String&quot;,
353-
},
357+
&quot;environment&quot;: [ # Any other builder-controlled inputs necessary for correctly evaluating the recipe. Usually only needed for reproducing the build but not evaluated as part of policy. Since the environment field can greatly vary in structure, depending on the builder and recipe type, this is of form &quot;Any&quot;.
358+
{
359+
&quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
360+
},
361+
],
354362
&quot;type&quot;: &quot;A String&quot;, # URI indicating what type of recipe was performed. It determines the meaning of recipe.entryPoint, recipe.arguments, recipe.environment, and materials.
355363
},
356364
},

googleapiclient/discovery_cache/documents/ondemandscanning.v1.json

Lines changed: 15 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,7 @@
339339
}
340340
}
341341
},
342-
"revision": "20210816",
342+
"revision": "20210824",
343343
"rootUrl": "https://ondemandscanning.googleapis.com/",
344344
"schemas": {
345345
"AliasContext": {
@@ -1451,9 +1451,13 @@
14511451
"id": "Recipe",
14521452
"properties": {
14531453
"arguments": {
1454-
"description": "Collection of all external inputs that influenced the build on top of recipe.definedInMaterial and recipe.entryPoint. For example, if the recipe type were \"make\", then this might be the flags passed to make aside from the target, which is captured in recipe.entryPoint.",
1454+
"description": "Collection of all external inputs that influenced the build on top of recipe.definedInMaterial and recipe.entryPoint. For example, if the recipe type were \"make\", then this might be the flags passed to make aside from the target, which is captured in recipe.entryPoint. Since the arguments field can greatly vary in structure, depending on the builder and recipe type, this is of form \"Any\".",
14551455
"items": {
1456-
"type": "string"
1456+
"additionalProperties": {
1457+
"description": "Properties of the object. Contains field @type with type URL.",
1458+
"type": "any"
1459+
},
1460+
"type": "object"
14571461
},
14581462
"type": "array"
14591463
},
@@ -1467,11 +1471,15 @@
14671471
"type": "string"
14681472
},
14691473
"environment": {
1470-
"additionalProperties": {
1471-
"type": "string"
1474+
"description": "Any other builder-controlled inputs necessary for correctly evaluating the recipe. Usually only needed for reproducing the build but not evaluated as part of policy. Since the environment field can greatly vary in structure, depending on the builder and recipe type, this is of form \"Any\".",
1475+
"items": {
1476+
"additionalProperties": {
1477+
"description": "Properties of the object. Contains field @type with type URL.",
1478+
"type": "any"
1479+
},
1480+
"type": "object"
14721481
},
1473-
"description": "Any other builder-controlled inputs necessary for correctly evaluating the recipe. Usually only needed for reproducing the build but not evaluated as part of policy.",
1474-
"type": "object"
1482+
"type": "array"
14751483
},
14761484
"type": {
14771485
"description": "URI indicating what type of recipe was performed. It determines the meaning of recipe.entryPoint, recipe.arguments, recipe.environment, and materials.",

googleapiclient/discovery_cache/documents/ondemandscanning.v1beta1.json

Lines changed: 15 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,7 @@
339339
}
340340
}
341341
},
342-
"revision": "20210816",
342+
"revision": "20210824",
343343
"rootUrl": "https://ondemandscanning.googleapis.com/",
344344
"schemas": {
345345
"AliasContext": {
@@ -1451,9 +1451,13 @@
14511451
"id": "Recipe",
14521452
"properties": {
14531453
"arguments": {
1454-
"description": "Collection of all external inputs that influenced the build on top of recipe.definedInMaterial and recipe.entryPoint. For example, if the recipe type were \"make\", then this might be the flags passed to make aside from the target, which is captured in recipe.entryPoint.",
1454+
"description": "Collection of all external inputs that influenced the build on top of recipe.definedInMaterial and recipe.entryPoint. For example, if the recipe type were \"make\", then this might be the flags passed to make aside from the target, which is captured in recipe.entryPoint. Since the arguments field can greatly vary in structure, depending on the builder and recipe type, this is of form \"Any\".",
14551455
"items": {
1456-
"type": "string"
1456+
"additionalProperties": {
1457+
"description": "Properties of the object. Contains field @type with type URL.",
1458+
"type": "any"
1459+
},
1460+
"type": "object"
14571461
},
14581462
"type": "array"
14591463
},
@@ -1467,11 +1471,15 @@
14671471
"type": "string"
14681472
},
14691473
"environment": {
1470-
"additionalProperties": {
1471-
"type": "string"
1474+
"description": "Any other builder-controlled inputs necessary for correctly evaluating the recipe. Usually only needed for reproducing the build but not evaluated as part of policy. Since the environment field can greatly vary in structure, depending on the builder and recipe type, this is of form \"Any\".",
1475+
"items": {
1476+
"additionalProperties": {
1477+
"description": "Properties of the object. Contains field @type with type URL.",
1478+
"type": "any"
1479+
},
1480+
"type": "object"
14721481
},
1473-
"description": "Any other builder-controlled inputs necessary for correctly evaluating the recipe. Usually only needed for reproducing the build but not evaluated as part of policy.",
1474-
"type": "object"
1482+
"type": "array"
14751483
},
14761484
"type": {
14771485
"description": "URI indicating what type of recipe was performed. It determines the meaning of recipe.entryPoint, recipe.arguments, recipe.environment, and materials.",

0 commit comments

Comments
 (0)