Skip to content

Commit 9f2b9f9

Browse files
Bump deps (#34)
Signed-off-by: tflibsonnet-ci <[email protected]> Co-authored-by: yorinasub17 <[email protected]>
1 parent 7f5f0bf commit 9f2b9f9

20 files changed

+858
-13
lines changed
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
local tf = (import 'github.com/tf-libsonnet/core/main.libsonnet');
2+
local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet');
3+
{
4+
'#':: d.pkg(name='datastream_static_ips', url='', help='`datastream_static_ips` represents the `google_datastream_static_ips` Terraform data source.\n\n\n\nThis package contains functions and utilities for setting up the data source using Jsonnet code.\n'),
5+
'#new':: d.fn(help="\n`google.data.datastream_static_ips.new` injects a new `data_google_datastream_static_ips` Terraform `data source`\nblock into the root module document.\n\nAdditionally, this inserts a private function into the `_ref` attribute that generates references to attributes of the\nresource. For example, if you added a new instance to the root using:\n\n # arguments omitted for brevity\n google.data.datastream_static_ips.new('some_id')\n\nYou can get the reference to the `id` field of the created `google.data.datastream_static_ips` using the reference:\n\n $._ref.data_google_datastream_static_ips.some_id.get('id')\n\nThis is the same as directly entering `\"${ data_google_datastream_static_ips.some_id.id }\"` as the value.\n\nNOTE: if you are chaining multiple resources together in a merge operation, you may not be able to use `super`, `self`,\nor `$` to refer to the root object. Instead, make an explicit outer object using `local`.\n\n**Args**:\n - `dataSrcLabel` (`string`): The name label of the block.\n - `location` (`string`): Set the `location` field on the resulting data source block.\n - `project` (`string`): Set the `project` field on the resulting data source block. When `null`, the `project` field will be omitted from the resulting object.\n\n**Returns**:\n- A mixin object that injects the new data source into the root Terraform configuration.\n", args=[]),
6+
new(
7+
dataSrcLabel,
8+
location,
9+
project=null,
10+
_meta={}
11+
):: tf.withData(
12+
type='google_datastream_static_ips',
13+
label=dataSrcLabel,
14+
attrs=self.newAttrs(location=location, project=project),
15+
_meta=_meta
16+
),
17+
'#newAttrs':: d.fn(help='\n`google.data.datastream_static_ips.newAttrs` constructs a new object with attributes and blocks configured for the `datastream_static_ips`\nTerraform data source.\n\nUnlike [google.data.datastream_static_ips.new](#fn-new), this function will not inject the `data source`\nblock into the root Terraform document. Instead, this must be passed in as the `attrs` argument for the\n[tf.withData](https://github.com/tf-libsonnet/core/tree/main/docs#fn-withdata) function to build a complete block.\n\nThis is most useful when you need to preprocess the attributes with functions, conditional, or looping logic prior to\ninjecting into a complete block.\n\n**Args**:\n - `location` (`string`): Set the `location` field on the resulting object.\n - `project` (`string`): Set the `project` field on the resulting object. When `null`, the `project` field will be omitted from the resulting object.\n\n**Returns**:\n - An attribute object that can be used with [tf.withData](https://github.com/tf-libsonnet/core/tree/main/docs#fn-withdata) to construct a new `datastream_static_ips` data source into the root Terraform configuration.\n', args=[]),
18+
newAttrs(
19+
location,
20+
project=null
21+
):: std.prune(a={
22+
location: location,
23+
project: project,
24+
}),
25+
'#withLocation':: d.fn(help='`google.string.withLocation` constructs a mixin object that can be merged into the `string`\nTerraform data source block to set or update the location field.\n\n\n\n**Args**:\n - `dataSrcLabel` (`string`): The name label of the block to update.\n - `value` (`string`): The value to set for the `location` field.\n', args=[]),
26+
withLocation(dataSrcLabel, value): {
27+
data+: {
28+
google_datastream_static_ips+: {
29+
[dataSrcLabel]+: {
30+
location: value,
31+
},
32+
},
33+
},
34+
},
35+
'#withProject':: d.fn(help='`google.string.withProject` constructs a mixin object that can be merged into the `string`\nTerraform data source block to set or update the project field.\n\n\n\n**Args**:\n - `dataSrcLabel` (`string`): The name label of the block to update.\n - `value` (`string`): The value to set for the `project` field.\n', args=[]),
36+
withProject(dataSrcLabel, value): {
37+
data+: {
38+
google_datastream_static_ips+: {
39+
[dataSrcLabel]+: {
40+
project: value,
41+
},
42+
},
43+
},
44+
},
45+
}

4.x/_gen/data/main.libsonnet

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet');
7070
container_registry_image: (import 'container_registry_image.libsonnet'),
7171
container_registry_repository: (import 'container_registry_repository.libsonnet'),
7272
dataproc_metastore_service: (import 'dataproc_metastore_service.libsonnet'),
73+
datastream_static_ips: (import 'datastream_static_ips.libsonnet'),
7374
dns_keys: (import 'dns_keys.libsonnet'),
7475
dns_managed_zone: (import 'dns_managed_zone.libsonnet'),
7576
dns_record_set: (import 'dns_record_set.libsonnet'),

4.x/_gen/main.libsonnet

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -377,6 +377,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet');
377377
firebaserules_ruleset: (import 'resources/firebaserules_ruleset.libsonnet'),
378378
firestore_database: (import 'resources/firestore_database.libsonnet'),
379379
firestore_document: (import 'resources/firestore_document.libsonnet'),
380+
firestore_field: (import 'resources/firestore_field.libsonnet'),
380381
firestore_index: (import 'resources/firestore_index.libsonnet'),
381382
folder: (import 'resources/folder.libsonnet'),
382383
folder_access_approval_settings: (import 'resources/folder_access_approval_settings.libsonnet'),

4.x/_gen/resources/bigquery_job.libsonnet

Lines changed: 13 additions & 1 deletion
Large diffs are not rendered by default.

4.x/_gen/resources/cloud_run_v2_service.libsonnet

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet');
294294
}),
295295
},
296296
},
297-
'#new':: d.fn(help='\n`google.cloud_run_v2_service.template.new` constructs a new object with attributes and blocks configured for the `template`\nTerraform sub block.\n\n\n\n**Args**:\n - `annotations` (`obj`): KRM-style annotations for the resource. When `null`, the `annotations` field will be omitted from the resulting object.\n - `encryption_key` (`string`): A reference to a customer managed encryption key (CMEK) to use to encrypt this container image. For more information, go to https://cloud.google.com/run/docs/securing/using-cmek When `null`, the `encryption_key` field will be omitted from the resulting object.\n - `execution_environment` (`string`): The sandbox environment to host this Revision. Possible values: [&#34;EXECUTION_ENVIRONMENT_GEN1&#34;, &#34;EXECUTION_ENVIRONMENT_GEN2&#34;] When `null`, the `execution_environment` field will be omitted from the resulting object.\n - `labels` (`obj`): KRM-style labels for the resource. When `null`, the `labels` field will be omitted from the resulting object.\n - `max_instance_request_concurrency` (`number`): Sets the maximum number of requests that each serving instance can receive. When `null`, the `max_instance_request_concurrency` field will be omitted from the resulting object.\n - `revision` (`string`): The unique name for the revision. If this field is omitted, it will be automatically generated based on the Service name. When `null`, the `revision` field will be omitted from the resulting object.\n - `service_account` (`string`): Email address of the IAM service account associated with the revision of the service. The service account represents the identity of the running revision, and determines what permissions the revision has. If not provided, the revision will use the project&#39;s default service account. When `null`, the `service_account` field will be omitted from the resulting object.\n - `session_affinity` (`bool`): Enables session affinity. For more information, go to https://cloud.google.com/run/docs/configuring/session-affinity When `null`, the `session_affinity` field will be omitted from the resulting object.\n - `timeout` (`string`): Max allowed time for an instance to respond to a request.\n\nA duration in seconds with up to nine fractional digits, ending with &#39;s&#39;. Example: &#34;3.5s&#34;. When `null`, the `timeout` field will be omitted from the resulting object.\n - `containers` (`list[obj]`): Holds the single container that defines the unit of execution for this task. When `null`, the `containers` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [google.cloud_run_v2_service.template.containers.new](#fn-templatecontainersnew) constructor.\n - `scaling` (`list[obj]`): Scaling settings for this Revision. When `null`, the `scaling` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [google.cloud_run_v2_service.template.scaling.new](#fn-templatescalingnew) constructor.\n - `volumes` (`list[obj]`): A list of Volumes to make available to containers. When `null`, the `volumes` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [google.cloud_run_v2_service.template.volumes.new](#fn-templatevolumesnew) constructor.\n - `vpc_access` (`list[obj]`): VPC Access configuration to use for this Task. For more information, visit https://cloud.google.com/run/docs/configuring/connecting-vpc. When `null`, the `vpc_access` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [google.cloud_run_v2_service.template.vpc_access.new](#fn-templatevpc_accessnew) constructor.\n\n**Returns**:\n - An attribute object that represents the `template` sub block.\n', args=[]),
297+
'#new':: d.fn(help='\n`google.cloud_run_v2_service.template.new` constructs a new object with attributes and blocks configured for the `template`\nTerraform sub block.\n\n\n\n**Args**:\n - `annotations` (`obj`): KRM-style annotations for the resource. When `null`, the `annotations` field will be omitted from the resulting object.\n - `encryption_key` (`string`): A reference to a customer managed encryption key (CMEK) to use to encrypt this container image. For more information, go to https://cloud.google.com/run/docs/securing/using-cmek When `null`, the `encryption_key` field will be omitted from the resulting object.\n - `execution_environment` (`string`): The sandbox environment to host this Revision. Possible values: [&#34;EXECUTION_ENVIRONMENT_GEN1&#34;, &#34;EXECUTION_ENVIRONMENT_GEN2&#34;] When `null`, the `execution_environment` field will be omitted from the resulting object.\n - `labels` (`obj`): KRM-style labels for the resource. When `null`, the `labels` field will be omitted from the resulting object.\n - `max_instance_request_concurrency` (`number`): Sets the maximum number of requests that each serving instance can receive. When `null`, the `max_instance_request_concurrency` field will be omitted from the resulting object.\n - `revision` (`string`): The unique name for the revision. If this field is omitted, it will be automatically generated based on the Service name. When `null`, the `revision` field will be omitted from the resulting object.\n - `service_account` (`string`): Email address of the IAM service account associated with the revision of the service. The service account represents the identity of the running revision, and determines what permissions the revision has. If not provided, the revision will use the project&#39;s default service account. When `null`, the `service_account` field will be omitted from the resulting object.\n - `session_affinity` (`bool`): Enables session affinity. For more information, go to https://cloud.google.com/run/docs/configuring/session-affinity When `null`, the `session_affinity` field will be omitted from the resulting object.\n - `timeout` (`string`): Max allowed time for an instance to respond to a request.\n\nA duration in seconds with up to nine fractional digits, ending with &#39;s&#39;. Example: &#34;3.5s&#34;. When `null`, the `timeout` field will be omitted from the resulting object.\n - `containers` (`list[obj]`): Holds the containers that define the unit of execution for this Service. When `null`, the `containers` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [google.cloud_run_v2_service.template.containers.new](#fn-templatecontainersnew) constructor.\n - `scaling` (`list[obj]`): Scaling settings for this Revision. When `null`, the `scaling` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [google.cloud_run_v2_service.template.scaling.new](#fn-templatescalingnew) constructor.\n - `volumes` (`list[obj]`): A list of Volumes to make available to containers. When `null`, the `volumes` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [google.cloud_run_v2_service.template.volumes.new](#fn-templatevolumesnew) constructor.\n - `vpc_access` (`list[obj]`): VPC Access configuration to use for this Task. For more information, visit https://cloud.google.com/run/docs/configuring/connecting-vpc. When `null`, the `vpc_access` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [google.cloud_run_v2_service.template.vpc_access.new](#fn-templatevpc_accessnew) constructor.\n\n**Returns**:\n - An attribute object that represents the `template` sub block.\n', args=[]),
298298
new(
299299
annotations=null,
300300
containers=null,

0 commit comments

Comments
 (0)