You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: google/services/cloudrunv2/resource_cloud_run_v2_job.go
+93-8
Original file line number
Diff line number
Diff line change
@@ -525,11 +525,27 @@ A duration in seconds with up to nine fractional digits, ending with 's'. Exampl
525
525
},
526
526
},
527
527
},
528
+
"annotations": {
529
+
Type: schema.TypeMap,
530
+
Optional: true,
531
+
Description: `Unstructured key value map that may be set by external tools to store and arbitrary metadata. They are not queryable and should be preserved when modifying objects.
532
+
533
+
Cloud Run API v2 does not support annotations with 'run.googleapis.com', 'cloud.googleapis.com', 'serving.knative.dev', or 'autoscaling.knative.dev' namespaces, and they will be rejected.
534
+
All system annotations in v1 now have a corresponding field in v2 ExecutionTemplate.
535
+
536
+
This field follows Kubernetes annotations' namespacing, limits, and rules.`,
537
+
Elem: &schema.Schema{Type: schema.TypeString},
538
+
},
528
539
"labels": {
529
-
Type: schema.TypeMap,
530
-
Optional: true,
531
-
Description: `KRM-style labels for the resource.`,
532
-
Elem: &schema.Schema{Type: schema.TypeString},
540
+
Type: schema.TypeMap,
541
+
Optional: true,
542
+
Description: `Unstructured key value map that can be used to organize and categorize objects. User-provided labels are shared with Google's billing system, so they can be used to filter,
543
+
or break down billing charges by team, component, environment, state, etc. For more information, visit https://cloud.google.com/resource-manager/docs/creating-managing-labels or
Cloud Run API v2 does not support labels with 'run.googleapis.com', 'cloud.googleapis.com', 'serving.knative.dev', or 'autoscaling.knative.dev' namespaces, and they will be rejected.
547
+
All system labels in v1 now have a corresponding field in v2 ExecutionTemplate.`,
548
+
Elem: &schema.Schema{Type: schema.TypeString},
533
549
},
534
550
"parallelism": {
535
551
Type: schema.TypeInt,
@@ -546,6 +562,17 @@ A duration in seconds with up to nine fractional digits, ending with 's'. Exampl
546
562
},
547
563
},
548
564
},
565
+
"annotations": {
566
+
Type: schema.TypeMap,
567
+
Optional: true,
568
+
Description: `Unstructured key value map that may be set by external tools to store and arbitrary metadata. They are not queryable and should be preserved when modifying objects.
569
+
570
+
Cloud Run API v2 does not support annotations with 'run.googleapis.com', 'cloud.googleapis.com', 'serving.knative.dev', or 'autoscaling.knative.dev' namespaces, and they will be rejected on new resources.
571
+
All system annotations in v1 now have a corresponding field in v2 Job.
572
+
573
+
This field follows Kubernetes annotations' namespacing, limits, and rules.`,
574
+
Elem: &schema.Schema{Type: schema.TypeString},
575
+
},
549
576
"binary_authorization": {
550
577
Type: schema.TypeList,
551
578
Optional: true,
@@ -577,10 +604,14 @@ A duration in seconds with up to nine fractional digits, ending with 's'. Exampl
577
604
Description: `Arbitrary version identifier for the API client.`,
578
605
},
579
606
"labels": {
580
-
Type: schema.TypeMap,
581
-
Optional: true,
582
-
Description: `KRM-style labels for the resource. User-provided labels are shared with Google's billing system, so they can be used to filter, or break down billing charges by team, component, environment, state, etc. For more information, visit https://cloud.google.com/resource-manager/docs/creating-managing-labels or https://cloud.google.com/run/docs/configuring/labels Cloud Run will populate some labels with 'run.googleapis.com' or 'serving.knative.dev' namespaces. Those labels are read-only, and user changes will not be preserved.`,
583
-
Elem: &schema.Schema{Type: schema.TypeString},
607
+
Type: schema.TypeMap,
608
+
Optional: true,
609
+
Description: `Unstructured key value map that can be used to organize and categorize objects. User-provided labels are shared with Google's billing system, so they can be used to filter, or break down billing charges by team, component,
610
+
environment, state, etc. For more information, visit https://cloud.google.com/resource-manager/docs/creating-managing-labels or https://cloud.google.com/run/docs/configuring/labels.
611
+
612
+
Cloud Run API v2 does not support labels with 'run.googleapis.com', 'cloud.googleapis.com', 'serving.knative.dev', or 'autoscaling.knative.dev' namespaces, and they will be rejected.
613
+
All system labels in v1 now have a corresponding field in v2 Job.`,
614
+
Elem: &schema.Schema{Type: schema.TypeString},
584
615
},
585
616
"launch_stage": {
586
617
Type: schema.TypeString,
@@ -789,6 +820,12 @@ func resourceCloudRunV2JobCreate(d *schema.ResourceData, meta interface{}) error
Description: `KRM-style annotations for the resource.`,
69
-
Elem: &schema.Schema{Type: schema.TypeString},
66
+
Type: schema.TypeMap,
67
+
Optional: true,
68
+
Description: `Unstructured key value map that may be set by external tools to store and arbitrary metadata. They are not queryable and should be preserved when modifying objects.
69
+
70
+
Cloud Run API v2 does not support annotations with 'run.googleapis.com', 'cloud.googleapis.com', 'serving.knative.dev', or 'autoscaling.knative.dev' namespaces, and they will be rejected.
71
+
All system annotations in v1 now have a corresponding field in v2 RevisionTemplate.
72
+
73
+
This field follows Kubernetes annotations' namespacing, limits, and rules.`,
74
+
Elem: &schema.Schema{Type: schema.TypeString},
70
75
},
71
76
"containers": {
72
77
Type: schema.TypeList,
@@ -476,10 +481,14 @@ If not specified, defaults to the same value as container.ports[0].containerPort
476
481
Description: `The sandbox environment to host this Revision. Possible values: ["EXECUTION_ENVIRONMENT_GEN1", "EXECUTION_ENVIRONMENT_GEN2"]`,
477
482
},
478
483
"labels": {
479
-
Type: schema.TypeMap,
480
-
Optional: true,
481
-
Description: `KRM-style labels for the resource.`,
482
-
Elem: &schema.Schema{Type: schema.TypeString},
484
+
Type: schema.TypeMap,
485
+
Optional: true,
486
+
Description: `Unstructured key value map that can be used to organize and categorize objects. User-provided labels are shared with Google's billing system, so they can be used to filter, or break down billing charges by team, component, environment, state, etc.
487
+
For more information, visit https://cloud.google.com/resource-manager/docs/creating-managing-labels or https://cloud.google.com/run/docs/configuring/labels.
488
+
489
+
Cloud Run API v2 does not support labels with 'run.googleapis.com', 'cloud.googleapis.com', 'serving.knative.dev', or 'autoscaling.knative.dev' namespaces, and they will be rejected.
490
+
All system labels in v1 now have a corresponding field in v2 RevisionTemplate.`,
491
+
Elem: &schema.Schema{Type: schema.TypeString},
483
492
},
484
493
"max_instance_request_concurrency": {
485
494
Type: schema.TypeInt,
@@ -633,10 +642,15 @@ A duration in seconds with up to nine fractional digits, ending with 's'. Exampl
633
642
},
634
643
},
635
644
"annotations": {
636
-
Type: schema.TypeMap,
637
-
Optional: true,
638
-
Description: `Unstructured key value map that may be set by external tools to store and arbitrary metadata. They are not queryable and should be preserved when modifying objects. Cloud Run will populate some annotations using 'run.googleapis.com' or 'serving.knative.dev' namespaces. This field follows Kubernetes annotations' namespacing, limits, and rules. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations`,
639
-
Elem: &schema.Schema{Type: schema.TypeString},
645
+
Type: schema.TypeMap,
646
+
Optional: true,
647
+
Description: `Unstructured key value map that may be set by external tools to store and arbitrary metadata. They are not queryable and should be preserved when modifying objects.
648
+
649
+
Cloud Run API v2 does not support annotations with 'run.googleapis.com', 'cloud.googleapis.com', 'serving.knative.dev', or 'autoscaling.knative.dev' namespaces, and they will be rejected in new resources.
650
+
All system annotations in v1 now have a corresponding field in v2 Service.
651
+
652
+
This field follows Kubernetes annotations' namespacing, limits, and rules.`,
653
+
Elem: &schema.Schema{Type: schema.TypeString},
640
654
},
641
655
"binary_authorization": {
642
656
Type: schema.TypeList,
@@ -681,10 +695,14 @@ A duration in seconds with up to nine fractional digits, ending with 's'. Exampl
681
695
Description: `Provides the ingress settings for this Service. On output, returns the currently observed ingress settings, or INGRESS_TRAFFIC_UNSPECIFIED if no revision is active. Possible values: ["INGRESS_TRAFFIC_ALL", "INGRESS_TRAFFIC_INTERNAL_ONLY", "INGRESS_TRAFFIC_INTERNAL_LOAD_BALANCER"]`,
682
696
},
683
697
"labels": {
684
-
Type: schema.TypeMap,
685
-
Optional: true,
686
-
Description: `Map of string keys and values that can be used to organize and categorize objects. User-provided labels are shared with Google's billing system, so they can be used to filter, or break down billing charges by team, component, environment, state, etc. For more information, visit https://cloud.google.com/resource-manager/docs/creating-managing-labels or https://cloud.google.com/run/docs/configuring/labels Cloud Run will populate some labels with 'run.googleapis.com' or 'serving.knative.dev' namespaces. Those labels are read-only, and user changes will not be preserved.`,
687
-
Elem: &schema.Schema{Type: schema.TypeString},
698
+
Type: schema.TypeMap,
699
+
Optional: true,
700
+
Description: `Unstructured key value map that can be used to organize and categorize objects. User-provided labels are shared with Google's billing system, so they can be used to filter, or break down billing charges by team, component,
701
+
environment, state, etc. For more information, visit https://cloud.google.com/resource-manager/docs/creating-managing-labels or https://cloud.google.com/run/docs/configuring/labels.
702
+
703
+
Cloud Run API v2 does not support labels with 'run.googleapis.com', 'cloud.googleapis.com', 'serving.knative.dev', or 'autoscaling.knative.dev' namespaces, and they will be rejected.
704
+
All system labels in v1 now have a corresponding field in v2 Service.`,
Copy file name to clipboardExpand all lines: website/docs/r/cloud_run_v2_job.html.markdown
+23-2
Original file line number
Diff line number
Diff line change
@@ -321,7 +321,18 @@ The following arguments are supported:
321
321
322
322
*`labels` -
323
323
(Optional)
324
-
KRM-style labels for the resource.
324
+
Unstructured key value map that can be used to organize and categorize objects. User-provided labels are shared with Google's billing system, so they can be used to filter,
325
+
or break down billing charges by team, component, environment, state, etc. For more information, visit https://cloud.google.com/resource-manager/docs/creating-managing-labels or
Cloud Run API v2 does not support labels with `run.googleapis.com`, `cloud.googleapis.com`, `serving.knative.dev`, or `autoscaling.knative.dev` namespaces, and they will be rejected.
328
+
All system labels in v1 now have a corresponding field in v2 ExecutionTemplate.
329
+
330
+
*`annotations` -
331
+
(Optional)
332
+
Unstructured key value map that may be set by external tools to store and arbitrary metadata. They are not queryable and should be preserved when modifying objects.
333
+
Cloud Run API v2 does not support annotations with `run.googleapis.com`, `cloud.googleapis.com`, `serving.knative.dev`, or `autoscaling.knative.dev` namespaces, and they will be rejected.
334
+
All system annotations in v1 now have a corresponding field in v2 ExecutionTemplate.
335
+
This field follows Kubernetes annotations' namespacing, limits, and rules.
325
336
326
337
*`parallelism` -
327
338
(Optional)
@@ -693,7 +704,17 @@ The following arguments are supported:
693
704
694
705
*`labels` -
695
706
(Optional)
696
-
KRM-style labels for the resource. User-provided labels are shared with Google's billing system, so they can be used to filter, or break down billing charges by team, component, environment, state, etc. For more information, visit https://cloud.google.com/resource-manager/docs/creating-managing-labels or https://cloud.google.com/run/docs/configuring/labels Cloud Run will populate some labels with 'run.googleapis.com' or 'serving.knative.dev' namespaces. Those labels are read-only, and user changes will not be preserved.
707
+
Unstructured key value map that can be used to organize and categorize objects. User-provided labels are shared with Google's billing system, so they can be used to filter, or break down billing charges by team, component,
708
+
environment, state, etc. For more information, visit https://cloud.google.com/resource-manager/docs/creating-managing-labels or https://cloud.google.com/run/docs/configuring/labels.
709
+
Cloud Run API v2 does not support labels with `run.googleapis.com`, `cloud.googleapis.com`, `serving.knative.dev`, or `autoscaling.knative.dev` namespaces, and they will be rejected.
710
+
All system labels in v1 now have a corresponding field in v2 Job.
711
+
712
+
*`annotations` -
713
+
(Optional)
714
+
Unstructured key value map that may be set by external tools to store and arbitrary metadata. They are not queryable and should be preserved when modifying objects.
715
+
Cloud Run API v2 does not support annotations with `run.googleapis.com`, `cloud.googleapis.com`, `serving.knative.dev`, or `autoscaling.knative.dev` namespaces, and they will be rejected on new resources.
716
+
All system annotations in v1 now have a corresponding field in v2 Job.
717
+
This field follows Kubernetes annotations' namespacing, limits, and rules.
0 commit comments