diff --git a/apis/apikeys/v1alpha1/apikey_generated.go b/apis/apikeys/v1alpha1/apikey_generated.go new file mode 100644 index 0000000000..15c6f8798e --- /dev/null +++ b/apis/apikeys/v1alpha1/apikey_generated.go @@ -0,0 +1,179 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +package v1alpha1 + +import ( + "github.com/GoogleCloudPlatform/k8s-config-connector/apis/refs/v1beta1" +) + +// +kcc:proto=google.api.apikeys.v2.AndroidApplication +type AndroidApplication struct { + // The SHA1 fingerprint of the application. For example, both sha1 formats are + // acceptable : DA:39:A3:EE:5E:6B:4B:0D:32:55:BF:EF:95:60:18:90:AF:D8:07:09 or + // DA39A3EE5E6B4B0D3255BFEF95601890AFD80709. + // Output format is the latter. + // +required + Sha1Fingerprint *string `json:"sha1Fingerprint,omitempty"` + + // The package name of the application. + // +required + PackageName *string `json:"packageName,omitempty"` +} + +// +kcc:proto=google.api.apikeys.v2.AndroidKeyRestrictions +type AndroidKeyRestrictions struct { + // A list of Android applications that are allowed to make API calls with this key. + // +required + AllowedApplications []AndroidApplication `json:"allowedApplications,omitempty"` +} + +// +kcc:proto=google.api.apikeys.v2.ApiTarget +type ApiTarget struct { + // The service for this restriction. It should be the canonical + // service name, for example: `translate.googleapis.com`. + // You can use [`gcloud services list`](/sdk/gcloud/reference/services/list) + // to get a list of services that are enabled in the project. + // +required + Service *string `json:"service,omitempty"` + + // Optional. List of one or more methods that can be called. + // If empty, all methods for the service are allowed. A wildcard + // (*) can be used as the last symbol. + // Valid examples: + // `google.cloud.translate.v2.TranslateService.GetSupportedLanguage` + // `TranslateText` + // `Get*` + // `translate.googleapis.com.Get*` + Methods []string `json:"methods,omitempty"` +} + +// +kcc:proto=google.api.apikeys.v2.BrowserKeyRestrictions +type BrowserKeyRestrictions struct { + // A list of regular expressions for the referrer URLs that are allowed + // to make API calls with this key. + // +required + AllowedReferrers []string `json:"allowedReferrers,omitempty"` +} + +// +kcc:proto=google.api.apikeys.v2.IosKeyRestrictions +type IosKeyRestrictions struct { + // A list of bundle IDs that are allowed when making API calls with this key. + // +required + AllowedBundleIds []string `json:"allowedBundleIds,omitempty"` +} + +// +kcc:proto=google.api.apikeys.v2.Key +type APIKeySpec struct { + /* Immutable. The Project that this resource belongs to. */ + ProjectRef v1beta1.ProjectRef `json:"projectRef"` + + /* Immutable. Optional. The name of the resource. Used for creation and acquisition. When unset, the value of `metadata.name` is used as the default. */ + // +optional + ResourceID *string `json:"resourceID,omitempty"` + + // Human-readable display name of this key that you can modify. + // The maximum length is 63 characters. + DisplayName *string `json:"displayName,omitempty"` + + /*NOTYET + // Annotations is an unstructured key-value map stored with a policy that + // may be set by external tools to store and retrieve arbitrary metadata. + // They are not queryable and should be preserved when modifying objects. + Annotations []Key_AnnotationsEntry `json:"annotations,omitempty"` + */ + + // Key restrictions. + Restrictions *Restrictions `json:"restrictions,omitempty"` +} + +// +kcc:proto=google.api.apikeys.v2.Key +type APIKeyObservedState struct { + /*NOTYET + // Output only. The resource name of the key. + // The `name` has the form: + // `projects//locations/global/keys/`. + // For example: + // `projects/123456867718/locations/global/keys/b7ff1f9f-8275-410a-94dd-3855ee9b5dd2` + // + // NOTE: Key is a global resource; hence the only supported value for + // location is `global`. + Name *string `json:"name,omitempty"` + */ + + // Output only. Unique id in UUID4 format. + Uid *string `json:"uid,omitempty"` + + /*NOTYET + // Output only. An encrypted and signed value held by this key. + // This field can be accessed only through the `GetKeyString` method. + KeyString *string `json:"keyString,omitempty"` + */ + + /*NOTYET + // Output only. A timestamp identifying the time this key was originally + // created. + CreateTime *string `json:"createTime,omitempty"` + + // Output only. A timestamp identifying the time this key was last + // updated. + UpdateTime *string `json:"updateTime,omitempty"` + + // Output only. A timestamp when this key was deleted. If the resource is not + // deleted, this must be empty. + DeleteTime *string `json:"deleteTime,omitempty"` + + // Output only. A checksum computed by the server based on the current value + // of the Key resource. This may be sent on update and delete requests to + // ensure the client has an up-to-date value before proceeding. See + // https://google.aip.dev/154. + Etag *string `json:"etag,omitempty"` + */ +} + +// +kcc:proto=google.api.apikeys.v2.Key.AnnotationsEntry +type Key_AnnotationsEntry struct { + Key *string `json:"key,omitempty"` + + Value *string `json:"value,omitempty"` +} + +// +kcc:proto=google.api.apikeys.v2.Restrictions +type Restrictions struct { + // The HTTP referrers (websites) that are allowed to use the key. + BrowserKeyRestrictions *BrowserKeyRestrictions `json:"browserKeyRestrictions,omitempty"` + + // The IP addresses of callers that are allowed to use the key. + ServerKeyRestrictions *ServerKeyRestrictions `json:"serverKeyRestrictions,omitempty"` + + // The Android apps that are allowed to use the key. + AndroidKeyRestrictions *AndroidKeyRestrictions `json:"androidKeyRestrictions,omitempty"` + + // The iOS apps that are allowed to use the key. + IosKeyRestrictions *IosKeyRestrictions `json:"iosKeyRestrictions,omitempty"` + + // A restriction for a specific service and optionally one or + // more specific methods. Requests are allowed if they + // match any of these restrictions. If no restrictions are + // specified, all targets are allowed. + ApiTargets []ApiTarget `json:"apiTargets,omitempty"` +} + +// +kcc:proto=google.api.apikeys.v2.ServerKeyRestrictions +type ServerKeyRestrictions struct { + // A list of the caller IP addresses that are allowed to make API calls + // with this key. + // +required + AllowedIps []string `json:"allowedIps,omitempty"` +} diff --git a/apis/apikeys/v1alpha1/apikey_type.go b/apis/apikeys/v1alpha1/apikey_type.go new file mode 100644 index 0000000000..ae5b02b17c --- /dev/null +++ b/apis/apikeys/v1alpha1/apikey_type.go @@ -0,0 +1,87 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +package v1alpha1 + +import ( + "reflect" + + "github.com/GoogleCloudPlatform/k8s-config-connector/pkg/clients/generated/apis/k8s/v1alpha1" + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + "sigs.k8s.io/controller-runtime/pkg/scheme" +) + +var ( + // SchemeBuilder is used to add go types to the GroupVersionKind scheme. + SchemeBuilder = &scheme.Builder{GroupVersion: SchemeGroupVersion} + + // AddToScheme is a global function that registers this API group & version to a scheme + AddToScheme = SchemeBuilder.AddToScheme + + APIKeysKeyGVK = schema.GroupVersionKind{ + Group: SchemeGroupVersion.Group, + Version: SchemeGroupVersion.Version, + Kind: reflect.TypeOf(APIKeysKey{}).Name(), + } +) + +// +genclient +// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object +// +kubebuilder:resource:categories=gcp,shortName=gcpapikeyskey;gcpapikeyskeys +// +kubebuilder:subresource:status +// +kubebuilder:metadata:labels="cnrm.cloud.google.com/tf2crd=true";"cnrm.cloud.google.com/managed-by-kcc=true";"cnrm.cloud.google.com/stability-level=alpha";"cnrm.cloud.google.com/system=true" +// +kubebuilder:printcolumn:name="Age",JSONPath=".metadata.creationTimestamp",type="date" +// +kubebuilder:printcolumn:name="Ready",JSONPath=".status.conditions[?(@.type=='Ready')].status",type="string",description="When 'True', the most recent reconcile of the resource succeeded" +// +kubebuilder:printcolumn:name="Status",JSONPath=".status.conditions[?(@.type=='Ready')].reason",type="string",description="The reason for the value in 'Ready'" +// +kubebuilder:printcolumn:name="Status Age",JSONPath=".status.conditions[?(@.type=='Ready')].lastTransitionTime",type="date",description="The last transition time for the value in 'Status'" + +// APIKeysKey is the Schema for the APIKeys Key resource. +// +k8s:openapi-gen=true +type APIKeysKey struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + + // +required + Spec APIKeySpec `json:"spec,omitempty"` + + Status APIKeyStatus `json:"status,omitempty"` +} + +type APIKeyStatus struct { + /* Conditions represent the latest available observations of the + object's current state. */ + Conditions []v1alpha1.Condition `json:"conditions,omitempty"` + + /* ObservedGeneration is the generation of the resource that was most recently observed by the Config Connector controller. If this is equal to metadata.generation, then that means that the current reported status reflects the most recent desired state of the resource. */ + // +optional + ObservedGeneration *int64 `json:"observedGeneration,omitempty"` + + /* ObservedState is the state of the resource as most recently observed in GCP. */ + // +optional + ObservedState *APIKeyObservedState `json:"observedState,omitempty"` +} + +// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object + +// APIKeysKeyList contains a list of APIKeysKey +type APIKeysKeyList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []APIKeysKey `json:"items"` +} + +func init() { + SchemeBuilder.Register(&APIKeysKey{}, &APIKeysKeyList{}) +} diff --git a/apis/apikeys/v1alpha1/doc.go b/apis/apikeys/v1alpha1/doc.go new file mode 100644 index 0000000000..e2d33af933 --- /dev/null +++ b/apis/apikeys/v1alpha1/doc.go @@ -0,0 +1,19 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// +k8s:openapi-gen=true +// +k8s:deepcopy-gen=package,register +// +groupName=apikeys.cnrm.cloud.google.com + +package v1alpha1 diff --git a/apis/apikeys/v1alpha1/register.go b/apis/apikeys/v1alpha1/register.go new file mode 100644 index 0000000000..41b980be75 --- /dev/null +++ b/apis/apikeys/v1alpha1/register.go @@ -0,0 +1,22 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +package v1alpha1 + +import "k8s.io/apimachinery/pkg/runtime/schema" + +var ( + // SchemeGroupVersion is the group version used to register these objects. + SchemeGroupVersion = schema.GroupVersion{Group: "apikeys.cnrm.cloud.google.com", Version: "v1alpha1"} +) diff --git a/apis/apikeys/v1alpha1/zz_generated.deepcopy.go b/apis/apikeys/v1alpha1/zz_generated.deepcopy.go new file mode 100644 index 0000000000..9c3fc30530 --- /dev/null +++ b/apis/apikeys/v1alpha1/zz_generated.deepcopy.go @@ -0,0 +1,376 @@ +//go:build !ignore_autogenerated +// +build !ignore_autogenerated + +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// Code generated by deepcopy-gen. DO NOT EDIT. + +package v1alpha1 + +import ( + k8sv1alpha1 "github.com/GoogleCloudPlatform/k8s-config-connector/pkg/clients/generated/apis/k8s/v1alpha1" + runtime "k8s.io/apimachinery/pkg/runtime" +) + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *APIKeyObservedState) DeepCopyInto(out *APIKeyObservedState) { + *out = *in + if in.Uid != nil { + in, out := &in.Uid, &out.Uid + *out = new(string) + **out = **in + } + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new APIKeyObservedState. +func (in *APIKeyObservedState) DeepCopy() *APIKeyObservedState { + if in == nil { + return nil + } + out := new(APIKeyObservedState) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *APIKeySpec) DeepCopyInto(out *APIKeySpec) { + *out = *in + out.ProjectRef = in.ProjectRef + if in.ResourceID != nil { + in, out := &in.ResourceID, &out.ResourceID + *out = new(string) + **out = **in + } + if in.DisplayName != nil { + in, out := &in.DisplayName, &out.DisplayName + *out = new(string) + **out = **in + } + if in.Restrictions != nil { + in, out := &in.Restrictions, &out.Restrictions + *out = new(Restrictions) + (*in).DeepCopyInto(*out) + } + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new APIKeySpec. +func (in *APIKeySpec) DeepCopy() *APIKeySpec { + if in == nil { + return nil + } + out := new(APIKeySpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *APIKeyStatus) DeepCopyInto(out *APIKeyStatus) { + *out = *in + if in.Conditions != nil { + in, out := &in.Conditions, &out.Conditions + *out = make([]k8sv1alpha1.Condition, len(*in)) + copy(*out, *in) + } + if in.ObservedGeneration != nil { + in, out := &in.ObservedGeneration, &out.ObservedGeneration + *out = new(int64) + **out = **in + } + if in.ObservedState != nil { + in, out := &in.ObservedState, &out.ObservedState + *out = new(APIKeyObservedState) + (*in).DeepCopyInto(*out) + } + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new APIKeyStatus. +func (in *APIKeyStatus) DeepCopy() *APIKeyStatus { + if in == nil { + return nil + } + out := new(APIKeyStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *APIKeysKey) DeepCopyInto(out *APIKeysKey) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new APIKeysKey. +func (in *APIKeysKey) DeepCopy() *APIKeysKey { + if in == nil { + return nil + } + out := new(APIKeysKey) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *APIKeysKey) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *APIKeysKeyList) DeepCopyInto(out *APIKeysKeyList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]APIKeysKey, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new APIKeysKeyList. +func (in *APIKeysKeyList) DeepCopy() *APIKeysKeyList { + if in == nil { + return nil + } + out := new(APIKeysKeyList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *APIKeysKeyList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AndroidApplication) DeepCopyInto(out *AndroidApplication) { + *out = *in + if in.Sha1Fingerprint != nil { + in, out := &in.Sha1Fingerprint, &out.Sha1Fingerprint + *out = new(string) + **out = **in + } + if in.PackageName != nil { + in, out := &in.PackageName, &out.PackageName + *out = new(string) + **out = **in + } + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AndroidApplication. +func (in *AndroidApplication) DeepCopy() *AndroidApplication { + if in == nil { + return nil + } + out := new(AndroidApplication) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AndroidKeyRestrictions) DeepCopyInto(out *AndroidKeyRestrictions) { + *out = *in + if in.AllowedApplications != nil { + in, out := &in.AllowedApplications, &out.AllowedApplications + *out = make([]AndroidApplication, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AndroidKeyRestrictions. +func (in *AndroidKeyRestrictions) DeepCopy() *AndroidKeyRestrictions { + if in == nil { + return nil + } + out := new(AndroidKeyRestrictions) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ApiTarget) DeepCopyInto(out *ApiTarget) { + *out = *in + if in.Service != nil { + in, out := &in.Service, &out.Service + *out = new(string) + **out = **in + } + if in.Methods != nil { + in, out := &in.Methods, &out.Methods + *out = make([]string, len(*in)) + copy(*out, *in) + } + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApiTarget. +func (in *ApiTarget) DeepCopy() *ApiTarget { + if in == nil { + return nil + } + out := new(ApiTarget) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *BrowserKeyRestrictions) DeepCopyInto(out *BrowserKeyRestrictions) { + *out = *in + if in.AllowedReferrers != nil { + in, out := &in.AllowedReferrers, &out.AllowedReferrers + *out = make([]string, len(*in)) + copy(*out, *in) + } + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BrowserKeyRestrictions. +func (in *BrowserKeyRestrictions) DeepCopy() *BrowserKeyRestrictions { + if in == nil { + return nil + } + out := new(BrowserKeyRestrictions) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *IosKeyRestrictions) DeepCopyInto(out *IosKeyRestrictions) { + *out = *in + if in.AllowedBundleIds != nil { + in, out := &in.AllowedBundleIds, &out.AllowedBundleIds + *out = make([]string, len(*in)) + copy(*out, *in) + } + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IosKeyRestrictions. +func (in *IosKeyRestrictions) DeepCopy() *IosKeyRestrictions { + if in == nil { + return nil + } + out := new(IosKeyRestrictions) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Key_AnnotationsEntry) DeepCopyInto(out *Key_AnnotationsEntry) { + *out = *in + if in.Key != nil { + in, out := &in.Key, &out.Key + *out = new(string) + **out = **in + } + if in.Value != nil { + in, out := &in.Value, &out.Value + *out = new(string) + **out = **in + } + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Key_AnnotationsEntry. +func (in *Key_AnnotationsEntry) DeepCopy() *Key_AnnotationsEntry { + if in == nil { + return nil + } + out := new(Key_AnnotationsEntry) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Restrictions) DeepCopyInto(out *Restrictions) { + *out = *in + if in.BrowserKeyRestrictions != nil { + in, out := &in.BrowserKeyRestrictions, &out.BrowserKeyRestrictions + *out = new(BrowserKeyRestrictions) + (*in).DeepCopyInto(*out) + } + if in.ServerKeyRestrictions != nil { + in, out := &in.ServerKeyRestrictions, &out.ServerKeyRestrictions + *out = new(ServerKeyRestrictions) + (*in).DeepCopyInto(*out) + } + if in.AndroidKeyRestrictions != nil { + in, out := &in.AndroidKeyRestrictions, &out.AndroidKeyRestrictions + *out = new(AndroidKeyRestrictions) + (*in).DeepCopyInto(*out) + } + if in.IosKeyRestrictions != nil { + in, out := &in.IosKeyRestrictions, &out.IosKeyRestrictions + *out = new(IosKeyRestrictions) + (*in).DeepCopyInto(*out) + } + if in.ApiTargets != nil { + in, out := &in.ApiTargets, &out.ApiTargets + *out = make([]ApiTarget, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Restrictions. +func (in *Restrictions) DeepCopy() *Restrictions { + if in == nil { + return nil + } + out := new(Restrictions) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServerKeyRestrictions) DeepCopyInto(out *ServerKeyRestrictions) { + *out = *in + if in.AllowedIps != nil { + in, out := &in.AllowedIps, &out.AllowedIps + *out = make([]string, len(*in)) + copy(*out, *in) + } + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServerKeyRestrictions. +func (in *ServerKeyRestrictions) DeepCopy() *ServerKeyRestrictions { + if in == nil { + return nil + } + out := new(ServerKeyRestrictions) + in.DeepCopyInto(out) + return out +} diff --git a/apis/refs/v1beta1/projectref.go b/apis/refs/v1beta1/projectref.go new file mode 100644 index 0000000000..5abe90b4eb --- /dev/null +++ b/apis/refs/v1beta1/projectref.go @@ -0,0 +1,24 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +package v1beta1 + +type ProjectRef struct { + /* The `projectID` field of a project, when not managed by KCC. */ + External string `json:"external,omitempty"` + /* The `name` field of a `Project` resource. */ + Name string `json:"name,omitempty"` + /* The `namespcae` field of a `Project` resource. */ + Namespace string `json:"namespace,omitempty"` +} diff --git a/config/crds/resources/apiextensions.k8s.io_v1_customresourcedefinition_apikeyskeys.apikeys.cnrm.cloud.google.com.yaml b/config/crds/resources/apiextensions.k8s.io_v1_customresourcedefinition_apikeyskeys.apikeys.cnrm.cloud.google.com.yaml index ed51e5882e..1269a47508 100644 --- a/config/crds/resources/apiextensions.k8s.io_v1_customresourcedefinition_apikeyskeys.apikeys.cnrm.cloud.google.com.yaml +++ b/config/crds/resources/apiextensions.k8s.io_v1_customresourcedefinition_apikeyskeys.apikeys.cnrm.cloud.google.com.yaml @@ -16,6 +16,7 @@ spec: categories: - gcp kind: APIKeysKey + listKind: APIKeysKeyList plural: apikeyskeys shortNames: - gcpapikeyskey @@ -43,27 +44,28 @@ spec: name: v1alpha1 schema: openAPIV3Schema: + description: APIKeysKey is the Schema for the APIKeys Key resource. properties: apiVersion: - description: 'apiVersion defines the versioned schema of this representation + description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest - internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources' + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' type: string kind: - description: 'kind is a string value representing the REST resource this + description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client - submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds' + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' type: string metadata: type: object spec: properties: displayName: - description: Human-readable display name of this API key. Modifiable - by user. + description: Human-readable display name of this key that you can + modify. The maximum length is 63 characters. type: string projectRef: - description: The project that this resource belongs to. + description: Immutable. The Project that this resource belongs to. oneOf: - not: required: @@ -80,13 +82,14 @@ spec: - external properties: external: - description: 'Allowed value: The `name` field of a `Project` resource.' + description: The `projectID` field of a project, when not managed + by KCC. type: string name: - description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names' + description: The `name` field of a `Project` resource. type: string namespace: - description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/' + description: The `namespcae` field of a `Project` resource. type: string type: object resourceID: @@ -134,15 +137,15 @@ spec: can be called. If empty, all methods for the service are allowed. A wildcard (*) can be used as the last symbol. Valid examples: `google.cloud.translate.v2.TranslateService.GetSupportedLanguage` - `TranslateText` `Get*` `translate.googleapis.com.Get*`.' + `TranslateText` `Get*` `translate.googleapis.com.Get*`' items: type: string type: array service: description: 'The service for this restriction. It should be the canonical service name, for example: `translate.googleapis.com`. - You can use `gcloud services list` to get a list of services - that are enabled in the project.' + You can use [`gcloud services list`](/sdk/gcloud/reference/services/list) + to get a list of services that are enabled in the project.' type: string required: - service @@ -193,8 +196,8 @@ spec: status: properties: conditions: - description: Conditions represent the latest available observation - of the resource's current state. + description: Conditions represent the latest available observations + of the object's current state. items: properties: lastTransitionTime: @@ -218,21 +221,22 @@ spec: type: string type: object type: array - keyString: - description: Output only. An encrypted and signed value held by this - key. This field can be accessed only through the `GetKeyString` - method. - type: string observedGeneration: description: ObservedGeneration is the generation of the resource that was most recently observed by the Config Connector controller. If this is equal to metadata.generation, then that means that the current reported status reflects the most recent desired state of the resource. + format: int64 type: integer - uid: - description: Output only. Unique id in UUID4 format. - type: string + observedState: + description: ObservedState is the state of the resource as most recently + observed in GCP. + properties: + uid: + description: Output only. Unique id in UUID4 format. + type: string + type: object type: object required: - spec @@ -241,9 +245,3 @@ spec: storage: true subresources: status: {} -status: - acceptedNames: - kind: "" - plural: "" - conditions: [] - storedVersions: [] diff --git a/config/crds/resources/apiextensions.k8s.io_v1_customresourcedefinition_logginglogmetrics.logging.cnrm.cloud.google.com.yaml b/config/crds/resources/apiextensions.k8s.io_v1_customresourcedefinition_logginglogmetrics.logging.cnrm.cloud.google.com.yaml index 754068a05d..9bcb20de6e 100644 --- a/config/crds/resources/apiextensions.k8s.io_v1_customresourcedefinition_logginglogmetrics.logging.cnrm.cloud.google.com.yaml +++ b/config/crds/resources/apiextensions.k8s.io_v1_customresourcedefinition_logginglogmetrics.logging.cnrm.cloud.google.com.yaml @@ -46,19 +46,14 @@ spec: description: LoggingLogMetric is the Schema for the logging API properties: apiVersion: - description: |- - APIVersion defines the versioned schema of this representation of an object. - Servers should convert recognized schemas to the latest internal value, and - may reject unrecognized values. - More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' type: string kind: - description: |- - Kind is a string value representing the REST resource this object represents. - Servers may infer this from the endpoint the client submits requests to. - Cannot be updated. - In CamelCase. - More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' type: string metadata: type: object @@ -144,13 +139,12 @@ spec: that are allowed in a project. type: object loggingLogBucketRef: - description: |- - The reference to the Log Bucket that owns - the Log Metric. Only Log Buckets in projects are supported. The - bucket has to be in the same project as the metric. For - example:projects/my-project/locations/global/buckets/my-bucket + description: The reference to the Log Bucket that owns the Log Metric. + Only Log Buckets in projects are supported. The bucket has to be + in the same project as the metric. For example:projects/my-project/locations/global/buckets/my-bucket If empty, then the Log Metric is considered a non-Bucket Log Metric. - Only `external` field is supported to configure the reference for now. + Only `external` field is supported to configure the reference for + now. oneOf: - not: required: @@ -384,9 +378,8 @@ spec: status: properties: conditions: - description: |- - Conditions represent the latest available observations of the - LoggingLogMetric's current state. + description: Conditions represent the latest available observations + of the LoggingLogMetric's current state. items: properties: lastTransitionTime: @@ -398,9 +391,8 @@ spec: last transition. type: string reason: - description: |- - Unique, one-word, CamelCase reason for the condition's last - transition. + description: Unique, one-word, CamelCase reason for the condition's + last transition. type: string status: description: Status is the status of the condition. Can be True, diff --git a/config/crds/resources/apiextensions.k8s.io_v1_customresourcedefinition_monitoringdashboards.monitoring.cnrm.cloud.google.com.yaml b/config/crds/resources/apiextensions.k8s.io_v1_customresourcedefinition_monitoringdashboards.monitoring.cnrm.cloud.google.com.yaml index c9c9a2e4ea..94cfc51bda 100644 --- a/config/crds/resources/apiextensions.k8s.io_v1_customresourcedefinition_monitoringdashboards.monitoring.cnrm.cloud.google.com.yaml +++ b/config/crds/resources/apiextensions.k8s.io_v1_customresourcedefinition_monitoringdashboards.monitoring.cnrm.cloud.google.com.yaml @@ -47,39 +47,33 @@ spec: description: MonitoringDashboard is the Schema for the monitoring API properties: apiVersion: - description: |- - APIVersion defines the versioned schema of this representation of an object. - Servers should convert recognized schemas to the latest internal value, and - may reject unrecognized values. - More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' type: string kind: - description: |- - Kind is a string value representing the REST resource this object represents. - Servers may infer this from the endpoint the client submits requests to. - Cannot be updated. - In CamelCase. - More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' type: string metadata: type: object spec: properties: columnLayout: - description: |- - The content is divided into equally spaced columns and the widgets are - arranged vertically. + description: The content is divided into equally spaced columns and + the widgets are arranged vertically. properties: columns: description: The columns of content to display. items: properties: weight: - description: |- - The relative weight of this column. The column weight is used to adjust - the width of columns on the screen (relative to peers). - Greater the weight, greater the width of the column on the screen. - If omitted, a value of 1 is used while rendering. + description: The relative weight of this column. The column + weight is used to adjust the width of columns on the screen + (relative to peers). Greater the weight, greater the width + of the column on the screen. If omitted, a value of 1 + is used while rendering. format: int64 type: integer widgets: @@ -94,16 +88,16 @@ spec: description: A widget that shows a stream of logs. properties: filter: - description: |- - A filter that chooses which log entries to return. See [Advanced Logs - Queries](https://cloud.google.com/logging/docs/view/advanced-queries). - Only log entries that match the filter are returned. An empty filter - matches all log entries. + description: A filter that chooses which log entries + to return. See [Advanced Logs Queries](https://cloud.google.com/logging/docs/view/advanced-queries). + Only log entries that match the filter are returned. An + empty filter matches all log entries. type: string resourceNames: - description: |- - The names of logging resources to collect logs for. Currently only projects - are supported. If empty, the widget will default to the host project. + description: The names of logging resources to + collect logs for. Currently only projects are + supported. If empty, the widget will default + to the host project. items: oneOf: - not: @@ -149,15 +143,15 @@ spec: a gauge chart. properties: lowerBound: - description: |- - The lower bound for this gauge chart. The value of the chart should - always be greater than or equal to this. + description: The lower bound for this gauge + chart. The value of the chart should always + be greater than or equal to this. format: double type: number upperBound: - description: |- - The upper bound for this gauge chart. The value of the chart should - always be less than or equal to this. + description: The upper bound for this gauge + chart. The value of the chart should always + be less than or equal to this. format: double type: number type: object @@ -166,12 +160,14 @@ spec: a spark chart. properties: minAlignmentPeriod: - description: |- - The lower bound on data point frequency in the chart implemented by - specifying the minimum alignment period to use in a time series query. - For example, if the data is published once every 10 minutes it would not - make sense to fetch and align data at one minute intervals. This field is - optional and exists only as a hint. + description: The lower bound on data point + frequency in the chart implemented by specifying + the minimum alignment period to use in a + time series query. For example, if the data + is published once every 10 minutes it would + not make sense to fetch and align data at + one minute intervals. This field is optional + and exists only as a hint. type: string sparkChartType: description: Required. The type of sparkchart @@ -230,35 +226,34 @@ spec: Color is not allowed in a XyChart. type: string direction: - description: |- - The direction for the current threshold. Direction is not allowed in a - XyChart. + description: The direction for the current + threshold. Direction is not allowed in + a XyChart. type: string label: description: A label for the threshold. type: string value: - description: |- - The value of the threshold. The value should be defined in the native scale - of the metric. + description: The value of the threshold. + The value should be defined in the native + scale of the metric. format: double type: number type: object type: array timeSeriesQuery: - description: |- - Required. Fields for querying time series data from the - Stackdriver metrics API. + description: Required. Fields for querying time + series data from the Stackdriver metrics API. properties: timeSeriesFilter: description: Filter parameters to fetch time series. properties: aggregation: - description: |- - By default, the raw time series data is returned. - Use this field to combine multiple time series for different views of the - data. + description: By default, the raw time + series data is returned. Use this field + to combine multiple time series for + different views of the data. properties: alignmentPeriod: description: |- @@ -297,21 +292,30 @@ spec: error is returned. type: string groupByFields: - description: |- - The set of fields to preserve when `cross_series_reducer` is - specified. The `group_by_fields` determine how the time series are - partitioned into subsets prior to applying the aggregation - operation. Each subset contains time series that have the same - value for each of the grouping fields. Each individual time - series is a member of exactly one subset. The - `cross_series_reducer` is applied to each subset of time series. - It is not possible to reduce across different resource types, so - this field implicitly contains `resource.type`. Fields not - specified in `group_by_fields` are aggregated away. If - `group_by_fields` is not specified and all the time series have - the same resource type, then the time series are aggregated into - a single output time series. If `cross_series_reducer` is not - defined, this field is ignored. + description: The set of fields to + preserve when `cross_series_reducer` + is specified. The `group_by_fields` + determine how the time series are + partitioned into subsets prior to + applying the aggregation operation. + Each subset contains time series + that have the same value for each + of the grouping fields. Each individual + time series is a member of exactly + one subset. The `cross_series_reducer` + is applied to each subset of time + series. It is not possible to reduce + across different resource types, + so this field implicitly contains + `resource.type`. Fields not specified + in `group_by_fields` are aggregated + away. If `group_by_fields` is not + specified and all the time series + have the same resource type, then + the time series are aggregated into + a single output time series. If + `cross_series_reducer` is not defined, + this field is ignored. items: type: string type: array @@ -338,10 +342,10 @@ spec: type: string type: object filter: - description: |- - Required. The [monitoring - filter](https://cloud.google.com/monitoring/api/v3/filters) that identifies - the metric types, resources, and projects to query. + description: Required. The [monitoring + filter](https://cloud.google.com/monitoring/api/v3/filters) + that identifies the metric types, resources, + and projects to query. type: string pickTimeSeriesFilter: description: Ranking based time series @@ -358,10 +362,11 @@ spec: format: int32 type: integer rankingMethod: - description: |- - `ranking_method` is applied to each time series independently to produce - the value which will be used to compare the time series to other time - series. + description: '`ranking_method` is + applied to each time series independently + to produce the value which will + be used to compare the time series + to other time series.' type: string type: object secondaryAggregation: @@ -405,21 +410,30 @@ spec: error is returned. type: string groupByFields: - description: |- - The set of fields to preserve when `cross_series_reducer` is - specified. The `group_by_fields` determine how the time series are - partitioned into subsets prior to applying the aggregation - operation. Each subset contains time series that have the same - value for each of the grouping fields. Each individual time - series is a member of exactly one subset. The - `cross_series_reducer` is applied to each subset of time series. - It is not possible to reduce across different resource types, so - this field implicitly contains `resource.type`. Fields not - specified in `group_by_fields` are aggregated away. If - `group_by_fields` is not specified and all the time series have - the same resource type, then the time series are aggregated into - a single output time series. If `cross_series_reducer` is not - defined, this field is ignored. + description: The set of fields to + preserve when `cross_series_reducer` + is specified. The `group_by_fields` + determine how the time series are + partitioned into subsets prior to + applying the aggregation operation. + Each subset contains time series + that have the same value for each + of the grouping fields. Each individual + time series is a member of exactly + one subset. The `cross_series_reducer` + is applied to each subset of time + series. It is not possible to reduce + across different resource types, + so this field implicitly contains + `resource.type`. Fields not specified + in `group_by_fields` are aggregated + away. If `group_by_fields` is not + specified and all the time series + have the same resource type, then + the time series are aggregated into + a single output time series. If + `cross_series_reducer` is not defined, + this field is ignored. items: type: string type: array @@ -456,10 +470,10 @@ spec: description: The denominator of the ratio. properties: aggregation: - description: |- - By default, the raw time series data is returned. - Use this field to combine multiple time series for different views of the - data. + description: By default, the raw time + series data is returned. Use this + field to combine multiple time series + for different views of the data. properties: alignmentPeriod: description: |- @@ -498,21 +512,32 @@ spec: error is returned. type: string groupByFields: - description: |- - The set of fields to preserve when `cross_series_reducer` is - specified. The `group_by_fields` determine how the time series are - partitioned into subsets prior to applying the aggregation - operation. Each subset contains time series that have the same - value for each of the grouping fields. Each individual time - series is a member of exactly one subset. The - `cross_series_reducer` is applied to each subset of time series. - It is not possible to reduce across different resource types, so - this field implicitly contains `resource.type`. Fields not - specified in `group_by_fields` are aggregated away. If - `group_by_fields` is not specified and all the time series have - the same resource type, then the time series are aggregated into - a single output time series. If `cross_series_reducer` is not - defined, this field is ignored. + description: The set of fields + to preserve when `cross_series_reducer` + is specified. The `group_by_fields` + determine how the time series + are partitioned into subsets + prior to applying the aggregation + operation. Each subset contains + time series that have the same + value for each of the grouping + fields. Each individual time + series is a member of exactly + one subset. The `cross_series_reducer` + is applied to each subset of + time series. It is not possible + to reduce across different resource + types, so this field implicitly + contains `resource.type`. Fields + not specified in `group_by_fields` + are aggregated away. If `group_by_fields` + is not specified and all the + time series have the same resource + type, then the time series are + aggregated into a single output + time series. If `cross_series_reducer` + is not defined, this field is + ignored. items: type: string type: array @@ -539,10 +564,10 @@ spec: type: string type: object filter: - description: |- - Required. The [monitoring - filter](https://cloud.google.com/monitoring/api/v3/filters) that - identifies the metric types, resources, and projects to query. + description: Required. The [monitoring + filter](https://cloud.google.com/monitoring/api/v3/filters) + that identifies the metric types, + resources, and projects to query. type: string required: - filter @@ -551,10 +576,10 @@ spec: description: The numerator of the ratio. properties: aggregation: - description: |- - By default, the raw time series data is returned. - Use this field to combine multiple time series for different views of the - data. + description: By default, the raw time + series data is returned. Use this + field to combine multiple time series + for different views of the data. properties: alignmentPeriod: description: |- @@ -593,21 +618,32 @@ spec: error is returned. type: string groupByFields: - description: |- - The set of fields to preserve when `cross_series_reducer` is - specified. The `group_by_fields` determine how the time series are - partitioned into subsets prior to applying the aggregation - operation. Each subset contains time series that have the same - value for each of the grouping fields. Each individual time - series is a member of exactly one subset. The - `cross_series_reducer` is applied to each subset of time series. - It is not possible to reduce across different resource types, so - this field implicitly contains `resource.type`. Fields not - specified in `group_by_fields` are aggregated away. If - `group_by_fields` is not specified and all the time series have - the same resource type, then the time series are aggregated into - a single output time series. If `cross_series_reducer` is not - defined, this field is ignored. + description: The set of fields + to preserve when `cross_series_reducer` + is specified. The `group_by_fields` + determine how the time series + are partitioned into subsets + prior to applying the aggregation + operation. Each subset contains + time series that have the same + value for each of the grouping + fields. Each individual time + series is a member of exactly + one subset. The `cross_series_reducer` + is applied to each subset of + time series. It is not possible + to reduce across different resource + types, so this field implicitly + contains `resource.type`. Fields + not specified in `group_by_fields` + are aggregated away. If `group_by_fields` + is not specified and all the + time series have the same resource + type, then the time series are + aggregated into a single output + time series. If `cross_series_reducer` + is not defined, this field is + ignored. items: type: string type: array @@ -634,10 +670,10 @@ spec: type: string type: object filter: - description: |- - Required. The [monitoring - filter](https://cloud.google.com/monitoring/api/v3/filters) that - identifies the metric types, resources, and projects to query. + description: Required. The [monitoring + filter](https://cloud.google.com/monitoring/api/v3/filters) + that identifies the metric types, + resources, and projects to query. type: string required: - filter @@ -657,10 +693,11 @@ spec: format: int32 type: integer rankingMethod: - description: |- - `ranking_method` is applied to each time series independently to produce - the value which will be used to compare the time series to other time - series. + description: '`ranking_method` is + applied to each time series independently + to produce the value which will + be used to compare the time series + to other time series.' type: string type: object secondaryAggregation: @@ -704,21 +741,30 @@ spec: error is returned. type: string groupByFields: - description: |- - The set of fields to preserve when `cross_series_reducer` is - specified. The `group_by_fields` determine how the time series are - partitioned into subsets prior to applying the aggregation - operation. Each subset contains time series that have the same - value for each of the grouping fields. Each individual time - series is a member of exactly one subset. The - `cross_series_reducer` is applied to each subset of time series. - It is not possible to reduce across different resource types, so - this field implicitly contains `resource.type`. Fields not - specified in `group_by_fields` are aggregated away. If - `group_by_fields` is not specified and all the time series have - the same resource type, then the time series are aggregated into - a single output time series. If `cross_series_reducer` is not - defined, this field is ignored. + description: The set of fields to + preserve when `cross_series_reducer` + is specified. The `group_by_fields` + determine how the time series are + partitioned into subsets prior to + applying the aggregation operation. + Each subset contains time series + that have the same value for each + of the grouping fields. Each individual + time series is a member of exactly + one subset. The `cross_series_reducer` + is applied to each subset of time + series. It is not possible to reduce + across different resource types, + so this field implicitly contains + `resource.type`. Fields not specified + in `group_by_fields` are aggregated + away. If `group_by_fields` is not + specified and all the time series + have the same resource type, then + the time series are aggregated into + a single output time series. If + `cross_series_reducer` is not defined, + this field is ignored. items: type: string type: array @@ -750,12 +796,12 @@ spec: with MQL. type: string unitOverride: - description: |- - The unit of data contained in fetched time series. If non-empty, this - unit will override any unit that accompanies fetched data. The format is - the same as the - [`unit`](https://cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.metricDescriptors) - field in `MetricDescriptor`. + description: The unit of data contained in + fetched time series. If non-empty, this + unit will override any unit that accompanies + fetched data. The format is the same as + the [`unit`](https://cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.metricDescriptors) + field in `MetricDescriptor`. type: string type: object required: @@ -791,37 +837,42 @@ spec: items: properties: legendTemplate: - description: |- - A template string for naming `TimeSeries` in the resulting data set. - This should be a string with interpolations of the form `${label_name}`, - which will resolve to the label's value. + description: A template string for naming + `TimeSeries` in the resulting data set. + This should be a string with interpolations + of the form `${label_name}`, which will + resolve to the label's value. type: string minAlignmentPeriod: - description: |- - Optional. The lower bound on data point frequency for this data set, - implemented by specifying the minimum alignment period to use in a time - series query For example, if the data is published once every 10 minutes, - the `min_alignment_period` should be at least 10 minutes. It would not - make sense to fetch and align data at one minute intervals. + description: Optional. The lower bound on + data point frequency for this data set, + implemented by specifying the minimum + alignment period to use in a time series + query For example, if the data is published + once every 10 minutes, the `min_alignment_period` + should be at least 10 minutes. It would + not make sense to fetch and align data + at one minute intervals. type: string plotType: description: How this data should be plotted on the chart. type: string timeSeriesQuery: - description: |- - Required. Fields for querying time series data from the - Stackdriver metrics API. + description: Required. Fields for querying + time series data from the Stackdriver + metrics API. properties: timeSeriesFilter: description: Filter parameters to fetch time series. properties: aggregation: - description: |- - By default, the raw time series data is returned. - Use this field to combine multiple time series for different views of the - data. + description: By default, the raw + time series data is returned. + Use this field to combine multiple + time series for different views + of the data. properties: alignmentPeriod: description: |- @@ -860,21 +911,34 @@ spec: error is returned. type: string groupByFields: - description: |- - The set of fields to preserve when `cross_series_reducer` is - specified. The `group_by_fields` determine how the time series are - partitioned into subsets prior to applying the aggregation - operation. Each subset contains time series that have the same - value for each of the grouping fields. Each individual time - series is a member of exactly one subset. The - `cross_series_reducer` is applied to each subset of time series. - It is not possible to reduce across different resource types, so - this field implicitly contains `resource.type`. Fields not - specified in `group_by_fields` are aggregated away. If - `group_by_fields` is not specified and all the time series have - the same resource type, then the time series are aggregated into - a single output time series. If `cross_series_reducer` is not - defined, this field is ignored. + description: The set of fields + to preserve when `cross_series_reducer` + is specified. The `group_by_fields` + determine how the time series + are partitioned into subsets + prior to applying the aggregation + operation. Each subset contains + time series that have the + same value for each of the + grouping fields. Each individual + time series is a member of + exactly one subset. The `cross_series_reducer` + is applied to each subset + of time series. It is not + possible to reduce across + different resource types, + so this field implicitly contains + `resource.type`. Fields not + specified in `group_by_fields` + are aggregated away. If `group_by_fields` + is not specified and all the + time series have the same + resource type, then the time + series are aggregated into + a single output time series. + If `cross_series_reducer` + is not defined, this field + is ignored. items: type: string type: array @@ -901,10 +965,10 @@ spec: type: string type: object filter: - description: |- - Required. The [monitoring - filter](https://cloud.google.com/monitoring/api/v3/filters) that identifies - the metric types, resources, and projects to query. + description: Required. The [monitoring + filter](https://cloud.google.com/monitoring/api/v3/filters) + that identifies the metric types, + resources, and projects to query. type: string pickTimeSeriesFilter: description: Ranking based time @@ -922,10 +986,12 @@ spec: format: int32 type: integer rankingMethod: - description: |- - `ranking_method` is applied to each time series independently to produce - the value which will be used to compare the time series to other time - series. + description: '`ranking_method` + is applied to each time series + independently to produce the + value which will be used to + compare the time series to + other time series.' type: string type: object secondaryAggregation: @@ -969,21 +1035,34 @@ spec: error is returned. type: string groupByFields: - description: |- - The set of fields to preserve when `cross_series_reducer` is - specified. The `group_by_fields` determine how the time series are - partitioned into subsets prior to applying the aggregation - operation. Each subset contains time series that have the same - value for each of the grouping fields. Each individual time - series is a member of exactly one subset. The - `cross_series_reducer` is applied to each subset of time series. - It is not possible to reduce across different resource types, so - this field implicitly contains `resource.type`. Fields not - specified in `group_by_fields` are aggregated away. If - `group_by_fields` is not specified and all the time series have - the same resource type, then the time series are aggregated into - a single output time series. If `cross_series_reducer` is not - defined, this field is ignored. + description: The set of fields + to preserve when `cross_series_reducer` + is specified. The `group_by_fields` + determine how the time series + are partitioned into subsets + prior to applying the aggregation + operation. Each subset contains + time series that have the + same value for each of the + grouping fields. Each individual + time series is a member of + exactly one subset. The `cross_series_reducer` + is applied to each subset + of time series. It is not + possible to reduce across + different resource types, + so this field implicitly contains + `resource.type`. Fields not + specified in `group_by_fields` + are aggregated away. If `group_by_fields` + is not specified and all the + time series have the same + resource type, then the time + series are aggregated into + a single output time series. + If `cross_series_reducer` + is not defined, this field + is ignored. items: type: string type: array @@ -1021,10 +1100,11 @@ spec: the ratio. properties: aggregation: - description: |- - By default, the raw time series data is returned. - Use this field to combine multiple time series for different views of the - data. + description: By default, the + raw time series data is returned. + Use this field to combine + multiple time series for different + views of the data. properties: alignmentPeriod: description: |- @@ -1063,21 +1143,38 @@ spec: error is returned. type: string groupByFields: - description: |- - The set of fields to preserve when `cross_series_reducer` is - specified. The `group_by_fields` determine how the time series are - partitioned into subsets prior to applying the aggregation - operation. Each subset contains time series that have the same - value for each of the grouping fields. Each individual time - series is a member of exactly one subset. The - `cross_series_reducer` is applied to each subset of time series. - It is not possible to reduce across different resource types, so - this field implicitly contains `resource.type`. Fields not - specified in `group_by_fields` are aggregated away. If - `group_by_fields` is not specified and all the time series have - the same resource type, then the time series are aggregated into - a single output time series. If `cross_series_reducer` is not - defined, this field is ignored. + description: The set of + fields to preserve when + `cross_series_reducer` + is specified. The `group_by_fields` + determine how the time + series are partitioned + into subsets prior to + applying the aggregation + operation. Each subset + contains time series that + have the same value for + each of the grouping fields. + Each individual time series + is a member of exactly + one subset. The `cross_series_reducer` + is applied to each subset + of time series. It is + not possible to reduce + across different resource + types, so this field implicitly + contains `resource.type`. Fields + not specified in `group_by_fields` + are aggregated away. If + `group_by_fields` is not + specified and all the + time series have the same + resource type, then the + time series are aggregated + into a single output time + series. If `cross_series_reducer` + is not defined, this field + is ignored. items: type: string type: array @@ -1104,10 +1201,11 @@ spec: type: string type: object filter: - description: |- - Required. The [monitoring - filter](https://cloud.google.com/monitoring/api/v3/filters) that - identifies the metric types, resources, and projects to query. + description: Required. The [monitoring + filter](https://cloud.google.com/monitoring/api/v3/filters) + that identifies the metric + types, resources, and projects + to query. type: string required: - filter @@ -1117,10 +1215,11 @@ spec: ratio. properties: aggregation: - description: |- - By default, the raw time series data is returned. - Use this field to combine multiple time series for different views of the - data. + description: By default, the + raw time series data is returned. + Use this field to combine + multiple time series for different + views of the data. properties: alignmentPeriod: description: |- @@ -1159,21 +1258,38 @@ spec: error is returned. type: string groupByFields: - description: |- - The set of fields to preserve when `cross_series_reducer` is - specified. The `group_by_fields` determine how the time series are - partitioned into subsets prior to applying the aggregation - operation. Each subset contains time series that have the same - value for each of the grouping fields. Each individual time - series is a member of exactly one subset. The - `cross_series_reducer` is applied to each subset of time series. - It is not possible to reduce across different resource types, so - this field implicitly contains `resource.type`. Fields not - specified in `group_by_fields` are aggregated away. If - `group_by_fields` is not specified and all the time series have - the same resource type, then the time series are aggregated into - a single output time series. If `cross_series_reducer` is not - defined, this field is ignored. + description: The set of + fields to preserve when + `cross_series_reducer` + is specified. The `group_by_fields` + determine how the time + series are partitioned + into subsets prior to + applying the aggregation + operation. Each subset + contains time series that + have the same value for + each of the grouping fields. + Each individual time series + is a member of exactly + one subset. The `cross_series_reducer` + is applied to each subset + of time series. It is + not possible to reduce + across different resource + types, so this field implicitly + contains `resource.type`. Fields + not specified in `group_by_fields` + are aggregated away. If + `group_by_fields` is not + specified and all the + time series have the same + resource type, then the + time series are aggregated + into a single output time + series. If `cross_series_reducer` + is not defined, this field + is ignored. items: type: string type: array @@ -1200,10 +1316,11 @@ spec: type: string type: object filter: - description: |- - Required. The [monitoring - filter](https://cloud.google.com/monitoring/api/v3/filters) that - identifies the metric types, resources, and projects to query. + description: Required. The [monitoring + filter](https://cloud.google.com/monitoring/api/v3/filters) + that identifies the metric + types, resources, and projects + to query. type: string required: - filter @@ -1224,10 +1341,12 @@ spec: format: int32 type: integer rankingMethod: - description: |- - `ranking_method` is applied to each time series independently to produce - the value which will be used to compare the time series to other time - series. + description: '`ranking_method` + is applied to each time series + independently to produce the + value which will be used to + compare the time series to + other time series.' type: string type: object secondaryAggregation: @@ -1271,21 +1390,34 @@ spec: error is returned. type: string groupByFields: - description: |- - The set of fields to preserve when `cross_series_reducer` is - specified. The `group_by_fields` determine how the time series are - partitioned into subsets prior to applying the aggregation - operation. Each subset contains time series that have the same - value for each of the grouping fields. Each individual time - series is a member of exactly one subset. The - `cross_series_reducer` is applied to each subset of time series. - It is not possible to reduce across different resource types, so - this field implicitly contains `resource.type`. Fields not - specified in `group_by_fields` are aggregated away. If - `group_by_fields` is not specified and all the time series have - the same resource type, then the time series are aggregated into - a single output time series. If `cross_series_reducer` is not - defined, this field is ignored. + description: The set of fields + to preserve when `cross_series_reducer` + is specified. The `group_by_fields` + determine how the time series + are partitioned into subsets + prior to applying the aggregation + operation. Each subset contains + time series that have the + same value for each of the + grouping fields. Each individual + time series is a member of + exactly one subset. The `cross_series_reducer` + is applied to each subset + of time series. It is not + possible to reduce across + different resource types, + so this field implicitly contains + `resource.type`. Fields not + specified in `group_by_fields` + are aggregated away. If `group_by_fields` + is not specified and all the + time series have the same + resource type, then the time + series are aggregated into + a single output time series. + If `cross_series_reducer` + is not defined, this field + is ignored. items: type: string type: array @@ -1317,12 +1449,12 @@ spec: series with MQL. type: string unitOverride: - description: |- - The unit of data contained in fetched time series. If non-empty, this - unit will override any unit that accompanies fetched data. The format is - the same as the - [`unit`](https://cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.metricDescriptors) - field in `MetricDescriptor`. + description: The unit of data contained + in fetched time series. If non-empty, + this unit will override any unit that + accompanies fetched data. The format + is the same as the [`unit`](https://cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.metricDescriptors) + field in `MetricDescriptor`. type: string type: object required: @@ -1339,28 +1471,28 @@ spec: Color is not allowed in a XyChart. type: string direction: - description: |- - The direction for the current threshold. Direction is not allowed in a - XyChart. + description: The direction for the current + threshold. Direction is not allowed in + a XyChart. type: string label: description: A label for the threshold. type: string value: - description: |- - The value of the threshold. The value should be defined in the native scale - of the metric. + description: The value of the threshold. + The value should be defined in the native + scale of the metric. format: double type: number type: object type: array timeshiftDuration: - description: |- - The duration used to display a comparison chart. A comparison chart - simultaneously shows values from two similar-length time periods - (e.g., week-over-week metrics). - The duration must be positive, and it can only be applied to charts with - data sets of LINE plot type. + description: The duration used to display a comparison + chart. A comparison chart simultaneously shows + values from two similar-length time periods + (e.g., week-over-week metrics). The duration + must be positive, and it can only be applied + to charts with data sets of LINE plot type. type: string xAxis: description: The properties applied to the x-axis. @@ -1396,14 +1528,13 @@ spec: description: Required. The mutable, human-readable name. type: string gridLayout: - description: |- - Content is arranged with a basic layout that re-flows a simple list of - informational elements like widgets or tiles. + description: Content is arranged with a basic layout that re-flows + a simple list of informational elements like widgets or tiles. properties: columns: - description: |- - The number of columns into which the view's width is divided. If omitted - or set to zero, a system default will be used while rendering. + description: The number of columns into which the view's width + is divided. If omitted or set to zero, a system default will + be used while rendering. format: int64 type: integer widgets: @@ -1418,16 +1549,15 @@ spec: description: A widget that shows a stream of logs. properties: filter: - description: |- - A filter that chooses which log entries to return. See [Advanced Logs - Queries](https://cloud.google.com/logging/docs/view/advanced-queries). - Only log entries that match the filter are returned. An empty filter - matches all log entries. + description: A filter that chooses which log entries + to return. See [Advanced Logs Queries](https://cloud.google.com/logging/docs/view/advanced-queries). + Only log entries that match the filter are returned. An + empty filter matches all log entries. type: string resourceNames: - description: |- - The names of logging resources to collect logs for. Currently only projects - are supported. If empty, the widget will default to the host project. + description: The names of logging resources to collect + logs for. Currently only projects are supported. If + empty, the widget will default to the host project. items: oneOf: - not: @@ -1473,15 +1603,15 @@ spec: chart. properties: lowerBound: - description: |- - The lower bound for this gauge chart. The value of the chart should - always be greater than or equal to this. + description: The lower bound for this gauge chart. + The value of the chart should always be greater + than or equal to this. format: double type: number upperBound: - description: |- - The upper bound for this gauge chart. The value of the chart should - always be less than or equal to this. + description: The upper bound for this gauge chart. + The value of the chart should always be less than + or equal to this. format: double type: number type: object @@ -1490,12 +1620,13 @@ spec: chart. properties: minAlignmentPeriod: - description: |- - The lower bound on data point frequency in the chart implemented by - specifying the minimum alignment period to use in a time series query. - For example, if the data is published once every 10 minutes it would not - make sense to fetch and align data at one minute intervals. This field is - optional and exists only as a hint. + description: The lower bound on data point frequency + in the chart implemented by specifying the minimum + alignment period to use in a time series query. + For example, if the data is published once every + 10 minutes it would not make sense to fetch and + align data at one minute intervals. This field + is optional and exists only as a hint. type: string sparkChartType: description: Required. The type of sparkchart to @@ -1554,34 +1685,32 @@ spec: Color is not allowed in a XyChart. type: string direction: - description: |- - The direction for the current threshold. Direction is not allowed in a - XyChart. + description: The direction for the current threshold. + Direction is not allowed in a XyChart. type: string label: description: A label for the threshold. type: string value: - description: |- - The value of the threshold. The value should be defined in the native scale - of the metric. + description: The value of the threshold. The value + should be defined in the native scale of the + metric. format: double type: number type: object type: array timeSeriesQuery: - description: |- - Required. Fields for querying time series data from the - Stackdriver metrics API. + description: Required. Fields for querying time series + data from the Stackdriver metrics API. properties: timeSeriesFilter: description: Filter parameters to fetch time series. properties: aggregation: - description: |- - By default, the raw time series data is returned. - Use this field to combine multiple time series for different views of the - data. + description: By default, the raw time series + data is returned. Use this field to combine + multiple time series for different views of + the data. properties: alignmentPeriod: description: |- @@ -1620,21 +1749,26 @@ spec: error is returned. type: string groupByFields: - description: |- - The set of fields to preserve when `cross_series_reducer` is - specified. The `group_by_fields` determine how the time series are - partitioned into subsets prior to applying the aggregation - operation. Each subset contains time series that have the same - value for each of the grouping fields. Each individual time - series is a member of exactly one subset. The - `cross_series_reducer` is applied to each subset of time series. - It is not possible to reduce across different resource types, so - this field implicitly contains `resource.type`. Fields not - specified in `group_by_fields` are aggregated away. If - `group_by_fields` is not specified and all the time series have - the same resource type, then the time series are aggregated into - a single output time series. If `cross_series_reducer` is not - defined, this field is ignored. + description: The set of fields to preserve + when `cross_series_reducer` is specified. + The `group_by_fields` determine how the + time series are partitioned into subsets + prior to applying the aggregation operation. + Each subset contains time series that + have the same value for each of the grouping + fields. Each individual time series is + a member of exactly one subset. The `cross_series_reducer` + is applied to each subset of time series. + It is not possible to reduce across different + resource types, so this field implicitly + contains `resource.type`. Fields not + specified in `group_by_fields` are aggregated + away. If `group_by_fields` is not specified + and all the time series have the same + resource type, then the time series are + aggregated into a single output time series. + If `cross_series_reducer` is not defined, + this field is ignored. items: type: string type: array @@ -1661,10 +1795,9 @@ spec: type: string type: object filter: - description: |- - Required. The [monitoring - filter](https://cloud.google.com/monitoring/api/v3/filters) that identifies - the metric types, resources, and projects to query. + description: Required. The [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters) + that identifies the metric types, resources, + and projects to query. type: string pickTimeSeriesFilter: description: Ranking based time series filter. @@ -1679,10 +1812,10 @@ spec: format: int32 type: integer rankingMethod: - description: |- - `ranking_method` is applied to each time series independently to produce - the value which will be used to compare the time series to other time - series. + description: '`ranking_method` is applied + to each time series independently to produce + the value which will be used to compare + the time series to other time series.' type: string type: object secondaryAggregation: @@ -1726,21 +1859,26 @@ spec: error is returned. type: string groupByFields: - description: |- - The set of fields to preserve when `cross_series_reducer` is - specified. The `group_by_fields` determine how the time series are - partitioned into subsets prior to applying the aggregation - operation. Each subset contains time series that have the same - value for each of the grouping fields. Each individual time - series is a member of exactly one subset. The - `cross_series_reducer` is applied to each subset of time series. - It is not possible to reduce across different resource types, so - this field implicitly contains `resource.type`. Fields not - specified in `group_by_fields` are aggregated away. If - `group_by_fields` is not specified and all the time series have - the same resource type, then the time series are aggregated into - a single output time series. If `cross_series_reducer` is not - defined, this field is ignored. + description: The set of fields to preserve + when `cross_series_reducer` is specified. + The `group_by_fields` determine how the + time series are partitioned into subsets + prior to applying the aggregation operation. + Each subset contains time series that + have the same value for each of the grouping + fields. Each individual time series is + a member of exactly one subset. The `cross_series_reducer` + is applied to each subset of time series. + It is not possible to reduce across different + resource types, so this field implicitly + contains `resource.type`. Fields not + specified in `group_by_fields` are aggregated + away. If `group_by_fields` is not specified + and all the time series have the same + resource type, then the time series are + aggregated into a single output time series. + If `cross_series_reducer` is not defined, + this field is ignored. items: type: string type: array @@ -1777,10 +1915,10 @@ spec: description: The denominator of the ratio. properties: aggregation: - description: |- - By default, the raw time series data is returned. - Use this field to combine multiple time series for different views of the - data. + description: By default, the raw time series + data is returned. Use this field to combine + multiple time series for different views + of the data. properties: alignmentPeriod: description: |- @@ -1819,21 +1957,28 @@ spec: error is returned. type: string groupByFields: - description: |- - The set of fields to preserve when `cross_series_reducer` is - specified. The `group_by_fields` determine how the time series are - partitioned into subsets prior to applying the aggregation - operation. Each subset contains time series that have the same - value for each of the grouping fields. Each individual time - series is a member of exactly one subset. The - `cross_series_reducer` is applied to each subset of time series. - It is not possible to reduce across different resource types, so - this field implicitly contains `resource.type`. Fields not - specified in `group_by_fields` are aggregated away. If - `group_by_fields` is not specified and all the time series have - the same resource type, then the time series are aggregated into - a single output time series. If `cross_series_reducer` is not - defined, this field is ignored. + description: The set of fields to preserve + when `cross_series_reducer` is specified. + The `group_by_fields` determine how + the time series are partitioned into + subsets prior to applying the aggregation + operation. Each subset contains time + series that have the same value for + each of the grouping fields. Each + individual time series is a member + of exactly one subset. The `cross_series_reducer` + is applied to each subset of time + series. It is not possible to reduce + across different resource types, so + this field implicitly contains `resource.type`. Fields + not specified in `group_by_fields` + are aggregated away. If `group_by_fields` + is not specified and all the time + series have the same resource type, + then the time series are aggregated + into a single output time series. + If `cross_series_reducer` is not defined, + this field is ignored. items: type: string type: array @@ -1860,10 +2005,9 @@ spec: type: string type: object filter: - description: |- - Required. The [monitoring - filter](https://cloud.google.com/monitoring/api/v3/filters) that - identifies the metric types, resources, and projects to query. + description: Required. The [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters) + that identifies the metric types, resources, + and projects to query. type: string required: - filter @@ -1872,10 +2016,10 @@ spec: description: The numerator of the ratio. properties: aggregation: - description: |- - By default, the raw time series data is returned. - Use this field to combine multiple time series for different views of the - data. + description: By default, the raw time series + data is returned. Use this field to combine + multiple time series for different views + of the data. properties: alignmentPeriod: description: |- @@ -1914,21 +2058,28 @@ spec: error is returned. type: string groupByFields: - description: |- - The set of fields to preserve when `cross_series_reducer` is - specified. The `group_by_fields` determine how the time series are - partitioned into subsets prior to applying the aggregation - operation. Each subset contains time series that have the same - value for each of the grouping fields. Each individual time - series is a member of exactly one subset. The - `cross_series_reducer` is applied to each subset of time series. - It is not possible to reduce across different resource types, so - this field implicitly contains `resource.type`. Fields not - specified in `group_by_fields` are aggregated away. If - `group_by_fields` is not specified and all the time series have - the same resource type, then the time series are aggregated into - a single output time series. If `cross_series_reducer` is not - defined, this field is ignored. + description: The set of fields to preserve + when `cross_series_reducer` is specified. + The `group_by_fields` determine how + the time series are partitioned into + subsets prior to applying the aggregation + operation. Each subset contains time + series that have the same value for + each of the grouping fields. Each + individual time series is a member + of exactly one subset. The `cross_series_reducer` + is applied to each subset of time + series. It is not possible to reduce + across different resource types, so + this field implicitly contains `resource.type`. Fields + not specified in `group_by_fields` + are aggregated away. If `group_by_fields` + is not specified and all the time + series have the same resource type, + then the time series are aggregated + into a single output time series. + If `cross_series_reducer` is not defined, + this field is ignored. items: type: string type: array @@ -1955,10 +2106,9 @@ spec: type: string type: object filter: - description: |- - Required. The [monitoring - filter](https://cloud.google.com/monitoring/api/v3/filters) that - identifies the metric types, resources, and projects to query. + description: Required. The [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters) + that identifies the metric types, resources, + and projects to query. type: string required: - filter @@ -1976,10 +2126,10 @@ spec: format: int32 type: integer rankingMethod: - description: |- - `ranking_method` is applied to each time series independently to produce - the value which will be used to compare the time series to other time - series. + description: '`ranking_method` is applied + to each time series independently to produce + the value which will be used to compare + the time series to other time series.' type: string type: object secondaryAggregation: @@ -2023,21 +2173,26 @@ spec: error is returned. type: string groupByFields: - description: |- - The set of fields to preserve when `cross_series_reducer` is - specified. The `group_by_fields` determine how the time series are - partitioned into subsets prior to applying the aggregation - operation. Each subset contains time series that have the same - value for each of the grouping fields. Each individual time - series is a member of exactly one subset. The - `cross_series_reducer` is applied to each subset of time series. - It is not possible to reduce across different resource types, so - this field implicitly contains `resource.type`. Fields not - specified in `group_by_fields` are aggregated away. If - `group_by_fields` is not specified and all the time series have - the same resource type, then the time series are aggregated into - a single output time series. If `cross_series_reducer` is not - defined, this field is ignored. + description: The set of fields to preserve + when `cross_series_reducer` is specified. + The `group_by_fields` determine how the + time series are partitioned into subsets + prior to applying the aggregation operation. + Each subset contains time series that + have the same value for each of the grouping + fields. Each individual time series is + a member of exactly one subset. The `cross_series_reducer` + is applied to each subset of time series. + It is not possible to reduce across different + resource types, so this field implicitly + contains `resource.type`. Fields not + specified in `group_by_fields` are aggregated + away. If `group_by_fields` is not specified + and all the time series have the same + resource type, then the time series are + aggregated into a single output time series. + If `cross_series_reducer` is not defined, + this field is ignored. items: type: string type: array @@ -2069,12 +2224,11 @@ spec: MQL. type: string unitOverride: - description: |- - The unit of data contained in fetched time series. If non-empty, this - unit will override any unit that accompanies fetched data. The format is - the same as the - [`unit`](https://cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.metricDescriptors) - field in `MetricDescriptor`. + description: The unit of data contained in fetched + time series. If non-empty, this unit will override + any unit that accompanies fetched data. The format + is the same as the [`unit`](https://cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.metricDescriptors) + field in `MetricDescriptor`. type: string type: object required: @@ -2109,37 +2263,38 @@ spec: items: properties: legendTemplate: - description: |- - A template string for naming `TimeSeries` in the resulting data set. - This should be a string with interpolations of the form `${label_name}`, - which will resolve to the label's value. + description: A template string for naming `TimeSeries` + in the resulting data set. This should be a + string with interpolations of the form `${label_name}`, + which will resolve to the label's value. type: string minAlignmentPeriod: - description: |- - Optional. The lower bound on data point frequency for this data set, - implemented by specifying the minimum alignment period to use in a time - series query For example, if the data is published once every 10 minutes, - the `min_alignment_period` should be at least 10 minutes. It would not - make sense to fetch and align data at one minute intervals. + description: Optional. The lower bound on data + point frequency for this data set, implemented + by specifying the minimum alignment period to + use in a time series query For example, if the + data is published once every 10 minutes, the + `min_alignment_period` should be at least 10 + minutes. It would not make sense to fetch and + align data at one minute intervals. type: string plotType: description: How this data should be plotted on the chart. type: string timeSeriesQuery: - description: |- - Required. Fields for querying time series data from the - Stackdriver metrics API. + description: Required. Fields for querying time + series data from the Stackdriver metrics API. properties: timeSeriesFilter: description: Filter parameters to fetch time series. properties: aggregation: - description: |- - By default, the raw time series data is returned. - Use this field to combine multiple time series for different views of the - data. + description: By default, the raw time + series data is returned. Use this field + to combine multiple time series for + different views of the data. properties: alignmentPeriod: description: |- @@ -2178,21 +2333,30 @@ spec: error is returned. type: string groupByFields: - description: |- - The set of fields to preserve when `cross_series_reducer` is - specified. The `group_by_fields` determine how the time series are - partitioned into subsets prior to applying the aggregation - operation. Each subset contains time series that have the same - value for each of the grouping fields. Each individual time - series is a member of exactly one subset. The - `cross_series_reducer` is applied to each subset of time series. - It is not possible to reduce across different resource types, so - this field implicitly contains `resource.type`. Fields not - specified in `group_by_fields` are aggregated away. If - `group_by_fields` is not specified and all the time series have - the same resource type, then the time series are aggregated into - a single output time series. If `cross_series_reducer` is not - defined, this field is ignored. + description: The set of fields to + preserve when `cross_series_reducer` + is specified. The `group_by_fields` + determine how the time series are + partitioned into subsets prior to + applying the aggregation operation. + Each subset contains time series + that have the same value for each + of the grouping fields. Each individual + time series is a member of exactly + one subset. The `cross_series_reducer` + is applied to each subset of time + series. It is not possible to reduce + across different resource types, + so this field implicitly contains + `resource.type`. Fields not specified + in `group_by_fields` are aggregated + away. If `group_by_fields` is not + specified and all the time series + have the same resource type, then + the time series are aggregated into + a single output time series. If + `cross_series_reducer` is not defined, + this field is ignored. items: type: string type: array @@ -2219,10 +2383,10 @@ spec: type: string type: object filter: - description: |- - Required. The [monitoring - filter](https://cloud.google.com/monitoring/api/v3/filters) that identifies - the metric types, resources, and projects to query. + description: Required. The [monitoring + filter](https://cloud.google.com/monitoring/api/v3/filters) + that identifies the metric types, resources, + and projects to query. type: string pickTimeSeriesFilter: description: Ranking based time series @@ -2239,10 +2403,11 @@ spec: format: int32 type: integer rankingMethod: - description: |- - `ranking_method` is applied to each time series independently to produce - the value which will be used to compare the time series to other time - series. + description: '`ranking_method` is + applied to each time series independently + to produce the value which will + be used to compare the time series + to other time series.' type: string type: object secondaryAggregation: @@ -2286,21 +2451,30 @@ spec: error is returned. type: string groupByFields: - description: |- - The set of fields to preserve when `cross_series_reducer` is - specified. The `group_by_fields` determine how the time series are - partitioned into subsets prior to applying the aggregation - operation. Each subset contains time series that have the same - value for each of the grouping fields. Each individual time - series is a member of exactly one subset. The - `cross_series_reducer` is applied to each subset of time series. - It is not possible to reduce across different resource types, so - this field implicitly contains `resource.type`. Fields not - specified in `group_by_fields` are aggregated away. If - `group_by_fields` is not specified and all the time series have - the same resource type, then the time series are aggregated into - a single output time series. If `cross_series_reducer` is not - defined, this field is ignored. + description: The set of fields to + preserve when `cross_series_reducer` + is specified. The `group_by_fields` + determine how the time series are + partitioned into subsets prior to + applying the aggregation operation. + Each subset contains time series + that have the same value for each + of the grouping fields. Each individual + time series is a member of exactly + one subset. The `cross_series_reducer` + is applied to each subset of time + series. It is not possible to reduce + across different resource types, + so this field implicitly contains + `resource.type`. Fields not specified + in `group_by_fields` are aggregated + away. If `group_by_fields` is not + specified and all the time series + have the same resource type, then + the time series are aggregated into + a single output time series. If + `cross_series_reducer` is not defined, + this field is ignored. items: type: string type: array @@ -2337,10 +2511,10 @@ spec: description: The denominator of the ratio. properties: aggregation: - description: |- - By default, the raw time series data is returned. - Use this field to combine multiple time series for different views of the - data. + description: By default, the raw time + series data is returned. Use this + field to combine multiple time series + for different views of the data. properties: alignmentPeriod: description: |- @@ -2379,21 +2553,32 @@ spec: error is returned. type: string groupByFields: - description: |- - The set of fields to preserve when `cross_series_reducer` is - specified. The `group_by_fields` determine how the time series are - partitioned into subsets prior to applying the aggregation - operation. Each subset contains time series that have the same - value for each of the grouping fields. Each individual time - series is a member of exactly one subset. The - `cross_series_reducer` is applied to each subset of time series. - It is not possible to reduce across different resource types, so - this field implicitly contains `resource.type`. Fields not - specified in `group_by_fields` are aggregated away. If - `group_by_fields` is not specified and all the time series have - the same resource type, then the time series are aggregated into - a single output time series. If `cross_series_reducer` is not - defined, this field is ignored. + description: The set of fields + to preserve when `cross_series_reducer` + is specified. The `group_by_fields` + determine how the time series + are partitioned into subsets + prior to applying the aggregation + operation. Each subset contains + time series that have the same + value for each of the grouping + fields. Each individual time + series is a member of exactly + one subset. The `cross_series_reducer` + is applied to each subset of + time series. It is not possible + to reduce across different resource + types, so this field implicitly + contains `resource.type`. Fields + not specified in `group_by_fields` + are aggregated away. If `group_by_fields` + is not specified and all the + time series have the same resource + type, then the time series are + aggregated into a single output + time series. If `cross_series_reducer` + is not defined, this field is + ignored. items: type: string type: array @@ -2420,10 +2605,10 @@ spec: type: string type: object filter: - description: |- - Required. The [monitoring - filter](https://cloud.google.com/monitoring/api/v3/filters) that - identifies the metric types, resources, and projects to query. + description: Required. The [monitoring + filter](https://cloud.google.com/monitoring/api/v3/filters) + that identifies the metric types, + resources, and projects to query. type: string required: - filter @@ -2432,10 +2617,10 @@ spec: description: The numerator of the ratio. properties: aggregation: - description: |- - By default, the raw time series data is returned. - Use this field to combine multiple time series for different views of the - data. + description: By default, the raw time + series data is returned. Use this + field to combine multiple time series + for different views of the data. properties: alignmentPeriod: description: |- @@ -2474,21 +2659,32 @@ spec: error is returned. type: string groupByFields: - description: |- - The set of fields to preserve when `cross_series_reducer` is - specified. The `group_by_fields` determine how the time series are - partitioned into subsets prior to applying the aggregation - operation. Each subset contains time series that have the same - value for each of the grouping fields. Each individual time - series is a member of exactly one subset. The - `cross_series_reducer` is applied to each subset of time series. - It is not possible to reduce across different resource types, so - this field implicitly contains `resource.type`. Fields not - specified in `group_by_fields` are aggregated away. If - `group_by_fields` is not specified and all the time series have - the same resource type, then the time series are aggregated into - a single output time series. If `cross_series_reducer` is not - defined, this field is ignored. + description: The set of fields + to preserve when `cross_series_reducer` + is specified. The `group_by_fields` + determine how the time series + are partitioned into subsets + prior to applying the aggregation + operation. Each subset contains + time series that have the same + value for each of the grouping + fields. Each individual time + series is a member of exactly + one subset. The `cross_series_reducer` + is applied to each subset of + time series. It is not possible + to reduce across different resource + types, so this field implicitly + contains `resource.type`. Fields + not specified in `group_by_fields` + are aggregated away. If `group_by_fields` + is not specified and all the + time series have the same resource + type, then the time series are + aggregated into a single output + time series. If `cross_series_reducer` + is not defined, this field is + ignored. items: type: string type: array @@ -2515,10 +2711,10 @@ spec: type: string type: object filter: - description: |- - Required. The [monitoring - filter](https://cloud.google.com/monitoring/api/v3/filters) that - identifies the metric types, resources, and projects to query. + description: Required. The [monitoring + filter](https://cloud.google.com/monitoring/api/v3/filters) + that identifies the metric types, + resources, and projects to query. type: string required: - filter @@ -2538,10 +2734,11 @@ spec: format: int32 type: integer rankingMethod: - description: |- - `ranking_method` is applied to each time series independently to produce - the value which will be used to compare the time series to other time - series. + description: '`ranking_method` is + applied to each time series independently + to produce the value which will + be used to compare the time series + to other time series.' type: string type: object secondaryAggregation: @@ -2585,21 +2782,30 @@ spec: error is returned. type: string groupByFields: - description: |- - The set of fields to preserve when `cross_series_reducer` is - specified. The `group_by_fields` determine how the time series are - partitioned into subsets prior to applying the aggregation - operation. Each subset contains time series that have the same - value for each of the grouping fields. Each individual time - series is a member of exactly one subset. The - `cross_series_reducer` is applied to each subset of time series. - It is not possible to reduce across different resource types, so - this field implicitly contains `resource.type`. Fields not - specified in `group_by_fields` are aggregated away. If - `group_by_fields` is not specified and all the time series have - the same resource type, then the time series are aggregated into - a single output time series. If `cross_series_reducer` is not - defined, this field is ignored. + description: The set of fields to + preserve when `cross_series_reducer` + is specified. The `group_by_fields` + determine how the time series are + partitioned into subsets prior to + applying the aggregation operation. + Each subset contains time series + that have the same value for each + of the grouping fields. Each individual + time series is a member of exactly + one subset. The `cross_series_reducer` + is applied to each subset of time + series. It is not possible to reduce + across different resource types, + so this field implicitly contains + `resource.type`. Fields not specified + in `group_by_fields` are aggregated + away. If `group_by_fields` is not + specified and all the time series + have the same resource type, then + the time series are aggregated into + a single output time series. If + `cross_series_reducer` is not defined, + this field is ignored. items: type: string type: array @@ -2631,12 +2837,12 @@ spec: with MQL. type: string unitOverride: - description: |- - The unit of data contained in fetched time series. If non-empty, this - unit will override any unit that accompanies fetched data. The format is - the same as the - [`unit`](https://cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.metricDescriptors) - field in `MetricDescriptor`. + description: The unit of data contained in + fetched time series. If non-empty, this + unit will override any unit that accompanies + fetched data. The format is the same as + the [`unit`](https://cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.metricDescriptors) + field in `MetricDescriptor`. type: string type: object required: @@ -2653,28 +2859,27 @@ spec: Color is not allowed in a XyChart. type: string direction: - description: |- - The direction for the current threshold. Direction is not allowed in a - XyChart. + description: The direction for the current threshold. + Direction is not allowed in a XyChart. type: string label: description: A label for the threshold. type: string value: - description: |- - The value of the threshold. The value should be defined in the native scale - of the metric. + description: The value of the threshold. The value + should be defined in the native scale of the + metric. format: double type: number type: object type: array timeshiftDuration: - description: |- - The duration used to display a comparison chart. A comparison chart - simultaneously shows values from two similar-length time periods - (e.g., week-over-week metrics). - The duration must be positive, and it can only be applied to charts with - data sets of LINE plot type. + description: The duration used to display a comparison + chart. A comparison chart simultaneously shows values + from two similar-length time periods (e.g., week-over-week + metrics). The duration must be positive, and it can + only be applied to charts with data sets of LINE plot + type. type: string xAxis: description: The properties applied to the x-axis. @@ -2705,14 +2910,12 @@ spec: type: array type: object mosaicLayout: - description: |- - The content is arranged as a grid of tiles, with each content widget - occupying one or more grid blocks. + description: The content is arranged as a grid of tiles, with each + content widget occupying one or more grid blocks. properties: columns: - description: |- - The number of columns in the mosaic grid. The number of columns must be - between 1 and 12, inclusive. + description: The number of columns in the mosaic grid. The number + of columns must be between 1 and 12, inclusive. format: int32 type: integer tiles: @@ -2720,9 +2923,8 @@ spec: items: properties: height: - description: |- - The height of the tile, measured in grid blocks. Tiles must have a - minimum height of 1. + description: The height of the tile, measured in grid blocks. + Tiles must have a minimum height of 1. format: int32 type: integer widget: @@ -2736,16 +2938,16 @@ spec: description: A widget that shows a stream of logs. properties: filter: - description: |- - A filter that chooses which log entries to return. See [Advanced Logs - Queries](https://cloud.google.com/logging/docs/view/advanced-queries). - Only log entries that match the filter are returned. An empty filter - matches all log entries. + description: A filter that chooses which log entries + to return. See [Advanced Logs Queries](https://cloud.google.com/logging/docs/view/advanced-queries). + Only log entries that match the filter are returned. An + empty filter matches all log entries. type: string resourceNames: - description: |- - The names of logging resources to collect logs for. Currently only projects - are supported. If empty, the widget will default to the host project. + description: The names of logging resources to collect + logs for. Currently only projects are supported. + If empty, the widget will default to the host + project. items: oneOf: - not: @@ -2791,15 +2993,15 @@ spec: gauge chart. properties: lowerBound: - description: |- - The lower bound for this gauge chart. The value of the chart should - always be greater than or equal to this. + description: The lower bound for this gauge + chart. The value of the chart should always + be greater than or equal to this. format: double type: number upperBound: - description: |- - The upper bound for this gauge chart. The value of the chart should - always be less than or equal to this. + description: The upper bound for this gauge + chart. The value of the chart should always + be less than or equal to this. format: double type: number type: object @@ -2808,12 +3010,14 @@ spec: spark chart. properties: minAlignmentPeriod: - description: |- - The lower bound on data point frequency in the chart implemented by - specifying the minimum alignment period to use in a time series query. - For example, if the data is published once every 10 minutes it would not - make sense to fetch and align data at one minute intervals. This field is - optional and exists only as a hint. + description: The lower bound on data point frequency + in the chart implemented by specifying the + minimum alignment period to use in a time + series query. For example, if the data is + published once every 10 minutes it would not + make sense to fetch and align data at one + minute intervals. This field is optional and + exists only as a hint. type: string sparkChartType: description: Required. The type of sparkchart @@ -2872,35 +3076,34 @@ spec: Color is not allowed in a XyChart. type: string direction: - description: |- - The direction for the current threshold. Direction is not allowed in a - XyChart. + description: The direction for the current + threshold. Direction is not allowed in a + XyChart. type: string label: description: A label for the threshold. type: string value: - description: |- - The value of the threshold. The value should be defined in the native scale - of the metric. + description: The value of the threshold. The + value should be defined in the native scale + of the metric. format: double type: number type: object type: array timeSeriesQuery: - description: |- - Required. Fields for querying time series data from the - Stackdriver metrics API. + description: Required. Fields for querying time + series data from the Stackdriver metrics API. properties: timeSeriesFilter: description: Filter parameters to fetch time series. properties: aggregation: - description: |- - By default, the raw time series data is returned. - Use this field to combine multiple time series for different views of the - data. + description: By default, the raw time series + data is returned. Use this field to combine + multiple time series for different views + of the data. properties: alignmentPeriod: description: |- @@ -2939,21 +3142,28 @@ spec: error is returned. type: string groupByFields: - description: |- - The set of fields to preserve when `cross_series_reducer` is - specified. The `group_by_fields` determine how the time series are - partitioned into subsets prior to applying the aggregation - operation. Each subset contains time series that have the same - value for each of the grouping fields. Each individual time - series is a member of exactly one subset. The - `cross_series_reducer` is applied to each subset of time series. - It is not possible to reduce across different resource types, so - this field implicitly contains `resource.type`. Fields not - specified in `group_by_fields` are aggregated away. If - `group_by_fields` is not specified and all the time series have - the same resource type, then the time series are aggregated into - a single output time series. If `cross_series_reducer` is not - defined, this field is ignored. + description: The set of fields to preserve + when `cross_series_reducer` is specified. + The `group_by_fields` determine how + the time series are partitioned into + subsets prior to applying the aggregation + operation. Each subset contains time + series that have the same value for + each of the grouping fields. Each + individual time series is a member + of exactly one subset. The `cross_series_reducer` + is applied to each subset of time + series. It is not possible to reduce + across different resource types, so + this field implicitly contains `resource.type`. Fields + not specified in `group_by_fields` + are aggregated away. If `group_by_fields` + is not specified and all the time + series have the same resource type, + then the time series are aggregated + into a single output time series. + If `cross_series_reducer` is not defined, + this field is ignored. items: type: string type: array @@ -2980,10 +3190,9 @@ spec: type: string type: object filter: - description: |- - Required. The [monitoring - filter](https://cloud.google.com/monitoring/api/v3/filters) that identifies - the metric types, resources, and projects to query. + description: Required. The [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters) + that identifies the metric types, resources, + and projects to query. type: string pickTimeSeriesFilter: description: Ranking based time series filter. @@ -2999,10 +3208,11 @@ spec: format: int32 type: integer rankingMethod: - description: |- - `ranking_method` is applied to each time series independently to produce - the value which will be used to compare the time series to other time - series. + description: '`ranking_method` is applied + to each time series independently + to produce the value which will be + used to compare the time series to + other time series.' type: string type: object secondaryAggregation: @@ -3046,21 +3256,28 @@ spec: error is returned. type: string groupByFields: - description: |- - The set of fields to preserve when `cross_series_reducer` is - specified. The `group_by_fields` determine how the time series are - partitioned into subsets prior to applying the aggregation - operation. Each subset contains time series that have the same - value for each of the grouping fields. Each individual time - series is a member of exactly one subset. The - `cross_series_reducer` is applied to each subset of time series. - It is not possible to reduce across different resource types, so - this field implicitly contains `resource.type`. Fields not - specified in `group_by_fields` are aggregated away. If - `group_by_fields` is not specified and all the time series have - the same resource type, then the time series are aggregated into - a single output time series. If `cross_series_reducer` is not - defined, this field is ignored. + description: The set of fields to preserve + when `cross_series_reducer` is specified. + The `group_by_fields` determine how + the time series are partitioned into + subsets prior to applying the aggregation + operation. Each subset contains time + series that have the same value for + each of the grouping fields. Each + individual time series is a member + of exactly one subset. The `cross_series_reducer` + is applied to each subset of time + series. It is not possible to reduce + across different resource types, so + this field implicitly contains `resource.type`. Fields + not specified in `group_by_fields` + are aggregated away. If `group_by_fields` + is not specified and all the time + series have the same resource type, + then the time series are aggregated + into a single output time series. + If `cross_series_reducer` is not defined, + this field is ignored. items: type: string type: array @@ -3097,10 +3314,10 @@ spec: description: The denominator of the ratio. properties: aggregation: - description: |- - By default, the raw time series data is returned. - Use this field to combine multiple time series for different views of the - data. + description: By default, the raw time + series data is returned. Use this + field to combine multiple time series + for different views of the data. properties: alignmentPeriod: description: |- @@ -3139,21 +3356,31 @@ spec: error is returned. type: string groupByFields: - description: |- - The set of fields to preserve when `cross_series_reducer` is - specified. The `group_by_fields` determine how the time series are - partitioned into subsets prior to applying the aggregation - operation. Each subset contains time series that have the same - value for each of the grouping fields. Each individual time - series is a member of exactly one subset. The - `cross_series_reducer` is applied to each subset of time series. - It is not possible to reduce across different resource types, so - this field implicitly contains `resource.type`. Fields not - specified in `group_by_fields` are aggregated away. If - `group_by_fields` is not specified and all the time series have - the same resource type, then the time series are aggregated into - a single output time series. If `cross_series_reducer` is not - defined, this field is ignored. + description: The set of fields to + preserve when `cross_series_reducer` + is specified. The `group_by_fields` + determine how the time series + are partitioned into subsets prior + to applying the aggregation operation. + Each subset contains time series + that have the same value for each + of the grouping fields. Each individual + time series is a member of exactly + one subset. The `cross_series_reducer` + is applied to each subset of time + series. It is not possible to + reduce across different resource + types, so this field implicitly + contains `resource.type`. Fields + not specified in `group_by_fields` + are aggregated away. If `group_by_fields` + is not specified and all the time + series have the same resource + type, then the time series are + aggregated into a single output + time series. If `cross_series_reducer` + is not defined, this field is + ignored. items: type: string type: array @@ -3180,10 +3407,10 @@ spec: type: string type: object filter: - description: |- - Required. The [monitoring - filter](https://cloud.google.com/monitoring/api/v3/filters) that - identifies the metric types, resources, and projects to query. + description: Required. The [monitoring + filter](https://cloud.google.com/monitoring/api/v3/filters) + that identifies the metric types, + resources, and projects to query. type: string required: - filter @@ -3192,10 +3419,10 @@ spec: description: The numerator of the ratio. properties: aggregation: - description: |- - By default, the raw time series data is returned. - Use this field to combine multiple time series for different views of the - data. + description: By default, the raw time + series data is returned. Use this + field to combine multiple time series + for different views of the data. properties: alignmentPeriod: description: |- @@ -3234,21 +3461,31 @@ spec: error is returned. type: string groupByFields: - description: |- - The set of fields to preserve when `cross_series_reducer` is - specified. The `group_by_fields` determine how the time series are - partitioned into subsets prior to applying the aggregation - operation. Each subset contains time series that have the same - value for each of the grouping fields. Each individual time - series is a member of exactly one subset. The - `cross_series_reducer` is applied to each subset of time series. - It is not possible to reduce across different resource types, so - this field implicitly contains `resource.type`. Fields not - specified in `group_by_fields` are aggregated away. If - `group_by_fields` is not specified and all the time series have - the same resource type, then the time series are aggregated into - a single output time series. If `cross_series_reducer` is not - defined, this field is ignored. + description: The set of fields to + preserve when `cross_series_reducer` + is specified. The `group_by_fields` + determine how the time series + are partitioned into subsets prior + to applying the aggregation operation. + Each subset contains time series + that have the same value for each + of the grouping fields. Each individual + time series is a member of exactly + one subset. The `cross_series_reducer` + is applied to each subset of time + series. It is not possible to + reduce across different resource + types, so this field implicitly + contains `resource.type`. Fields + not specified in `group_by_fields` + are aggregated away. If `group_by_fields` + is not specified and all the time + series have the same resource + type, then the time series are + aggregated into a single output + time series. If `cross_series_reducer` + is not defined, this field is + ignored. items: type: string type: array @@ -3275,10 +3512,10 @@ spec: type: string type: object filter: - description: |- - Required. The [monitoring - filter](https://cloud.google.com/monitoring/api/v3/filters) that - identifies the metric types, resources, and projects to query. + description: Required. The [monitoring + filter](https://cloud.google.com/monitoring/api/v3/filters) + that identifies the metric types, + resources, and projects to query. type: string required: - filter @@ -3297,10 +3534,11 @@ spec: format: int32 type: integer rankingMethod: - description: |- - `ranking_method` is applied to each time series independently to produce - the value which will be used to compare the time series to other time - series. + description: '`ranking_method` is applied + to each time series independently + to produce the value which will be + used to compare the time series to + other time series.' type: string type: object secondaryAggregation: @@ -3344,21 +3582,28 @@ spec: error is returned. type: string groupByFields: - description: |- - The set of fields to preserve when `cross_series_reducer` is - specified. The `group_by_fields` determine how the time series are - partitioned into subsets prior to applying the aggregation - operation. Each subset contains time series that have the same - value for each of the grouping fields. Each individual time - series is a member of exactly one subset. The - `cross_series_reducer` is applied to each subset of time series. - It is not possible to reduce across different resource types, so - this field implicitly contains `resource.type`. Fields not - specified in `group_by_fields` are aggregated away. If - `group_by_fields` is not specified and all the time series have - the same resource type, then the time series are aggregated into - a single output time series. If `cross_series_reducer` is not - defined, this field is ignored. + description: The set of fields to preserve + when `cross_series_reducer` is specified. + The `group_by_fields` determine how + the time series are partitioned into + subsets prior to applying the aggregation + operation. Each subset contains time + series that have the same value for + each of the grouping fields. Each + individual time series is a member + of exactly one subset. The `cross_series_reducer` + is applied to each subset of time + series. It is not possible to reduce + across different resource types, so + this field implicitly contains `resource.type`. Fields + not specified in `group_by_fields` + are aggregated away. If `group_by_fields` + is not specified and all the time + series have the same resource type, + then the time series are aggregated + into a single output time series. + If `cross_series_reducer` is not defined, + this field is ignored. items: type: string type: array @@ -3390,12 +3635,11 @@ spec: with MQL. type: string unitOverride: - description: |- - The unit of data contained in fetched time series. If non-empty, this - unit will override any unit that accompanies fetched data. The format is - the same as the - [`unit`](https://cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.metricDescriptors) - field in `MetricDescriptor`. + description: The unit of data contained in fetched + time series. If non-empty, this unit will + override any unit that accompanies fetched + data. The format is the same as the [`unit`](https://cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.metricDescriptors) + field in `MetricDescriptor`. type: string type: object required: @@ -3431,37 +3675,41 @@ spec: items: properties: legendTemplate: - description: |- - A template string for naming `TimeSeries` in the resulting data set. - This should be a string with interpolations of the form `${label_name}`, - which will resolve to the label's value. + description: A template string for naming + `TimeSeries` in the resulting data set. + This should be a string with interpolations + of the form `${label_name}`, which will + resolve to the label's value. type: string minAlignmentPeriod: - description: |- - Optional. The lower bound on data point frequency for this data set, - implemented by specifying the minimum alignment period to use in a time - series query For example, if the data is published once every 10 minutes, - the `min_alignment_period` should be at least 10 minutes. It would not - make sense to fetch and align data at one minute intervals. + description: Optional. The lower bound on + data point frequency for this data set, + implemented by specifying the minimum alignment + period to use in a time series query For + example, if the data is published once every + 10 minutes, the `min_alignment_period` should + be at least 10 minutes. It would not make + sense to fetch and align data at one minute + intervals. type: string plotType: description: How this data should be plotted on the chart. type: string timeSeriesQuery: - description: |- - Required. Fields for querying time series data from the - Stackdriver metrics API. + description: Required. Fields for querying + time series data from the Stackdriver metrics + API. properties: timeSeriesFilter: description: Filter parameters to fetch time series. properties: aggregation: - description: |- - By default, the raw time series data is returned. - Use this field to combine multiple time series for different views of the - data. + description: By default, the raw time + series data is returned. Use this + field to combine multiple time series + for different views of the data. properties: alignmentPeriod: description: |- @@ -3500,21 +3748,32 @@ spec: error is returned. type: string groupByFields: - description: |- - The set of fields to preserve when `cross_series_reducer` is - specified. The `group_by_fields` determine how the time series are - partitioned into subsets prior to applying the aggregation - operation. Each subset contains time series that have the same - value for each of the grouping fields. Each individual time - series is a member of exactly one subset. The - `cross_series_reducer` is applied to each subset of time series. - It is not possible to reduce across different resource types, so - this field implicitly contains `resource.type`. Fields not - specified in `group_by_fields` are aggregated away. If - `group_by_fields` is not specified and all the time series have - the same resource type, then the time series are aggregated into - a single output time series. If `cross_series_reducer` is not - defined, this field is ignored. + description: The set of fields + to preserve when `cross_series_reducer` + is specified. The `group_by_fields` + determine how the time series + are partitioned into subsets + prior to applying the aggregation + operation. Each subset contains + time series that have the same + value for each of the grouping + fields. Each individual time + series is a member of exactly + one subset. The `cross_series_reducer` + is applied to each subset of + time series. It is not possible + to reduce across different resource + types, so this field implicitly + contains `resource.type`. Fields + not specified in `group_by_fields` + are aggregated away. If `group_by_fields` + is not specified and all the + time series have the same resource + type, then the time series are + aggregated into a single output + time series. If `cross_series_reducer` + is not defined, this field is + ignored. items: type: string type: array @@ -3541,10 +3800,10 @@ spec: type: string type: object filter: - description: |- - Required. The [monitoring - filter](https://cloud.google.com/monitoring/api/v3/filters) that identifies - the metric types, resources, and projects to query. + description: Required. The [monitoring + filter](https://cloud.google.com/monitoring/api/v3/filters) + that identifies the metric types, + resources, and projects to query. type: string pickTimeSeriesFilter: description: Ranking based time series @@ -3562,10 +3821,12 @@ spec: format: int32 type: integer rankingMethod: - description: |- - `ranking_method` is applied to each time series independently to produce - the value which will be used to compare the time series to other time - series. + description: '`ranking_method` + is applied to each time series + independently to produce the + value which will be used to + compare the time series to other + time series.' type: string type: object secondaryAggregation: @@ -3609,21 +3870,32 @@ spec: error is returned. type: string groupByFields: - description: |- - The set of fields to preserve when `cross_series_reducer` is - specified. The `group_by_fields` determine how the time series are - partitioned into subsets prior to applying the aggregation - operation. Each subset contains time series that have the same - value for each of the grouping fields. Each individual time - series is a member of exactly one subset. The - `cross_series_reducer` is applied to each subset of time series. - It is not possible to reduce across different resource types, so - this field implicitly contains `resource.type`. Fields not - specified in `group_by_fields` are aggregated away. If - `group_by_fields` is not specified and all the time series have - the same resource type, then the time series are aggregated into - a single output time series. If `cross_series_reducer` is not - defined, this field is ignored. + description: The set of fields + to preserve when `cross_series_reducer` + is specified. The `group_by_fields` + determine how the time series + are partitioned into subsets + prior to applying the aggregation + operation. Each subset contains + time series that have the same + value for each of the grouping + fields. Each individual time + series is a member of exactly + one subset. The `cross_series_reducer` + is applied to each subset of + time series. It is not possible + to reduce across different resource + types, so this field implicitly + contains `resource.type`. Fields + not specified in `group_by_fields` + are aggregated away. If `group_by_fields` + is not specified and all the + time series have the same resource + type, then the time series are + aggregated into a single output + time series. If `cross_series_reducer` + is not defined, this field is + ignored. items: type: string type: array @@ -3661,10 +3933,11 @@ spec: ratio. properties: aggregation: - description: |- - By default, the raw time series data is returned. - Use this field to combine multiple time series for different views of the - data. + description: By default, the raw + time series data is returned. + Use this field to combine multiple + time series for different views + of the data. properties: alignmentPeriod: description: |- @@ -3703,21 +3976,35 @@ spec: error is returned. type: string groupByFields: - description: |- - The set of fields to preserve when `cross_series_reducer` is - specified. The `group_by_fields` determine how the time series are - partitioned into subsets prior to applying the aggregation - operation. Each subset contains time series that have the same - value for each of the grouping fields. Each individual time - series is a member of exactly one subset. The - `cross_series_reducer` is applied to each subset of time series. - It is not possible to reduce across different resource types, so - this field implicitly contains `resource.type`. Fields not - specified in `group_by_fields` are aggregated away. If - `group_by_fields` is not specified and all the time series have - the same resource type, then the time series are aggregated into - a single output time series. If `cross_series_reducer` is not - defined, this field is ignored. + description: The set of fields + to preserve when `cross_series_reducer` + is specified. The `group_by_fields` + determine how the time series + are partitioned into subsets + prior to applying the aggregation + operation. Each subset contains + time series that have the + same value for each of the + grouping fields. Each individual + time series is a member + of exactly one subset. The + `cross_series_reducer` is + applied to each subset of + time series. It is not possible + to reduce across different + resource types, so this + field implicitly contains + `resource.type`. Fields + not specified in `group_by_fields` + are aggregated away. If + `group_by_fields` is not + specified and all the time + series have the same resource + type, then the time series + are aggregated into a single + output time series. If `cross_series_reducer` + is not defined, this field + is ignored. items: type: string type: array @@ -3744,10 +4031,10 @@ spec: type: string type: object filter: - description: |- - Required. The [monitoring - filter](https://cloud.google.com/monitoring/api/v3/filters) that - identifies the metric types, resources, and projects to query. + description: Required. The [monitoring + filter](https://cloud.google.com/monitoring/api/v3/filters) + that identifies the metric types, + resources, and projects to query. type: string required: - filter @@ -3757,10 +4044,11 @@ spec: ratio. properties: aggregation: - description: |- - By default, the raw time series data is returned. - Use this field to combine multiple time series for different views of the - data. + description: By default, the raw + time series data is returned. + Use this field to combine multiple + time series for different views + of the data. properties: alignmentPeriod: description: |- @@ -3799,21 +4087,35 @@ spec: error is returned. type: string groupByFields: - description: |- - The set of fields to preserve when `cross_series_reducer` is - specified. The `group_by_fields` determine how the time series are - partitioned into subsets prior to applying the aggregation - operation. Each subset contains time series that have the same - value for each of the grouping fields. Each individual time - series is a member of exactly one subset. The - `cross_series_reducer` is applied to each subset of time series. - It is not possible to reduce across different resource types, so - this field implicitly contains `resource.type`. Fields not - specified in `group_by_fields` are aggregated away. If - `group_by_fields` is not specified and all the time series have - the same resource type, then the time series are aggregated into - a single output time series. If `cross_series_reducer` is not - defined, this field is ignored. + description: The set of fields + to preserve when `cross_series_reducer` + is specified. The `group_by_fields` + determine how the time series + are partitioned into subsets + prior to applying the aggregation + operation. Each subset contains + time series that have the + same value for each of the + grouping fields. Each individual + time series is a member + of exactly one subset. The + `cross_series_reducer` is + applied to each subset of + time series. It is not possible + to reduce across different + resource types, so this + field implicitly contains + `resource.type`. Fields + not specified in `group_by_fields` + are aggregated away. If + `group_by_fields` is not + specified and all the time + series have the same resource + type, then the time series + are aggregated into a single + output time series. If `cross_series_reducer` + is not defined, this field + is ignored. items: type: string type: array @@ -3840,10 +4142,10 @@ spec: type: string type: object filter: - description: |- - Required. The [monitoring - filter](https://cloud.google.com/monitoring/api/v3/filters) that - identifies the metric types, resources, and projects to query. + description: Required. The [monitoring + filter](https://cloud.google.com/monitoring/api/v3/filters) + that identifies the metric types, + resources, and projects to query. type: string required: - filter @@ -3864,10 +4166,12 @@ spec: format: int32 type: integer rankingMethod: - description: |- - `ranking_method` is applied to each time series independently to produce - the value which will be used to compare the time series to other time - series. + description: '`ranking_method` + is applied to each time series + independently to produce the + value which will be used to + compare the time series to other + time series.' type: string type: object secondaryAggregation: @@ -3911,21 +4215,32 @@ spec: error is returned. type: string groupByFields: - description: |- - The set of fields to preserve when `cross_series_reducer` is - specified. The `group_by_fields` determine how the time series are - partitioned into subsets prior to applying the aggregation - operation. Each subset contains time series that have the same - value for each of the grouping fields. Each individual time - series is a member of exactly one subset. The - `cross_series_reducer` is applied to each subset of time series. - It is not possible to reduce across different resource types, so - this field implicitly contains `resource.type`. Fields not - specified in `group_by_fields` are aggregated away. If - `group_by_fields` is not specified and all the time series have - the same resource type, then the time series are aggregated into - a single output time series. If `cross_series_reducer` is not - defined, this field is ignored. + description: The set of fields + to preserve when `cross_series_reducer` + is specified. The `group_by_fields` + determine how the time series + are partitioned into subsets + prior to applying the aggregation + operation. Each subset contains + time series that have the same + value for each of the grouping + fields. Each individual time + series is a member of exactly + one subset. The `cross_series_reducer` + is applied to each subset of + time series. It is not possible + to reduce across different resource + types, so this field implicitly + contains `resource.type`. Fields + not specified in `group_by_fields` + are aggregated away. If `group_by_fields` + is not specified and all the + time series have the same resource + type, then the time series are + aggregated into a single output + time series. If `cross_series_reducer` + is not defined, this field is + ignored. items: type: string type: array @@ -3957,12 +4272,12 @@ spec: series with MQL. type: string unitOverride: - description: |- - The unit of data contained in fetched time series. If non-empty, this - unit will override any unit that accompanies fetched data. The format is - the same as the - [`unit`](https://cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.metricDescriptors) - field in `MetricDescriptor`. + description: The unit of data contained + in fetched time series. If non-empty, + this unit will override any unit that + accompanies fetched data. The format + is the same as the [`unit`](https://cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.metricDescriptors) + field in `MetricDescriptor`. type: string type: object required: @@ -3979,28 +4294,28 @@ spec: Color is not allowed in a XyChart. type: string direction: - description: |- - The direction for the current threshold. Direction is not allowed in a - XyChart. + description: The direction for the current + threshold. Direction is not allowed in a + XyChart. type: string label: description: A label for the threshold. type: string value: - description: |- - The value of the threshold. The value should be defined in the native scale - of the metric. + description: The value of the threshold. The + value should be defined in the native scale + of the metric. format: double type: number type: object type: array timeshiftDuration: - description: |- - The duration used to display a comparison chart. A comparison chart - simultaneously shows values from two similar-length time periods - (e.g., week-over-week metrics). - The duration must be positive, and it can only be applied to charts with - data sets of LINE plot type. + description: The duration used to display a comparison + chart. A comparison chart simultaneously shows + values from two similar-length time periods (e.g., + week-over-week metrics). The duration must be + positive, and it can only be applied to charts + with data sets of LINE plot type. type: string xAxis: description: The properties applied to the x-axis. @@ -4029,22 +4344,21 @@ spec: type: object type: object width: - description: |- - The width of the tile, measured in grid blocks. Tiles must have a - minimum width of 1. + description: The width of the tile, measured in grid blocks. + Tiles must have a minimum width of 1. format: int32 type: integer xPos: - description: |- - The zero-indexed position of the tile in grid blocks relative to the - left edge of the grid. Tiles must be contained within the specified - number of columns. `x_pos` cannot be negative. + description: The zero-indexed position of the tile in grid + blocks relative to the left edge of the grid. Tiles must + be contained within the specified number of columns. `x_pos` + cannot be negative. format: int32 type: integer yPos: - description: |- - The zero-indexed position of the tile in grid blocks relative to the - top edge of the grid. `y_pos` cannot be negative. + description: The zero-indexed position of the tile in grid + blocks relative to the top edge of the grid. `y_pos` cannot + be negative. format: int32 type: integer type: object @@ -4089,20 +4403,19 @@ spec: is used as the default. type: string rowLayout: - description: |- - The content is divided into equally spaced rows and the widgets are - arranged horizontally. + description: The content is divided into equally spaced rows and the + widgets are arranged horizontally. properties: rows: description: The rows of content to display. items: properties: weight: - description: |- - The relative weight of this row. The row weight is used to adjust the - height of rows on the screen (relative to peers). Greater the weight, - greater the height of the row on the screen. If omitted, a value - of 1 is used while rendering. + description: The relative weight of this row. The row weight + is used to adjust the height of rows on the screen (relative + to peers). Greater the weight, greater the height of the + row on the screen. If omitted, a value of 1 is used while + rendering. format: int64 type: integer widgets: @@ -4117,16 +4430,16 @@ spec: description: A widget that shows a stream of logs. properties: filter: - description: |- - A filter that chooses which log entries to return. See [Advanced Logs - Queries](https://cloud.google.com/logging/docs/view/advanced-queries). - Only log entries that match the filter are returned. An empty filter - matches all log entries. + description: A filter that chooses which log entries + to return. See [Advanced Logs Queries](https://cloud.google.com/logging/docs/view/advanced-queries). + Only log entries that match the filter are returned. An + empty filter matches all log entries. type: string resourceNames: - description: |- - The names of logging resources to collect logs for. Currently only projects - are supported. If empty, the widget will default to the host project. + description: The names of logging resources to + collect logs for. Currently only projects are + supported. If empty, the widget will default + to the host project. items: oneOf: - not: @@ -4172,15 +4485,15 @@ spec: a gauge chart. properties: lowerBound: - description: |- - The lower bound for this gauge chart. The value of the chart should - always be greater than or equal to this. + description: The lower bound for this gauge + chart. The value of the chart should always + be greater than or equal to this. format: double type: number upperBound: - description: |- - The upper bound for this gauge chart. The value of the chart should - always be less than or equal to this. + description: The upper bound for this gauge + chart. The value of the chart should always + be less than or equal to this. format: double type: number type: object @@ -4189,12 +4502,14 @@ spec: a spark chart. properties: minAlignmentPeriod: - description: |- - The lower bound on data point frequency in the chart implemented by - specifying the minimum alignment period to use in a time series query. - For example, if the data is published once every 10 minutes it would not - make sense to fetch and align data at one minute intervals. This field is - optional and exists only as a hint. + description: The lower bound on data point + frequency in the chart implemented by specifying + the minimum alignment period to use in a + time series query. For example, if the data + is published once every 10 minutes it would + not make sense to fetch and align data at + one minute intervals. This field is optional + and exists only as a hint. type: string sparkChartType: description: Required. The type of sparkchart @@ -4253,35 +4568,34 @@ spec: Color is not allowed in a XyChart. type: string direction: - description: |- - The direction for the current threshold. Direction is not allowed in a - XyChart. + description: The direction for the current + threshold. Direction is not allowed in + a XyChart. type: string label: description: A label for the threshold. type: string value: - description: |- - The value of the threshold. The value should be defined in the native scale - of the metric. + description: The value of the threshold. + The value should be defined in the native + scale of the metric. format: double type: number type: object type: array timeSeriesQuery: - description: |- - Required. Fields for querying time series data from the - Stackdriver metrics API. + description: Required. Fields for querying time + series data from the Stackdriver metrics API. properties: timeSeriesFilter: description: Filter parameters to fetch time series. properties: aggregation: - description: |- - By default, the raw time series data is returned. - Use this field to combine multiple time series for different views of the - data. + description: By default, the raw time + series data is returned. Use this field + to combine multiple time series for + different views of the data. properties: alignmentPeriod: description: |- @@ -4320,21 +4634,30 @@ spec: error is returned. type: string groupByFields: - description: |- - The set of fields to preserve when `cross_series_reducer` is - specified. The `group_by_fields` determine how the time series are - partitioned into subsets prior to applying the aggregation - operation. Each subset contains time series that have the same - value for each of the grouping fields. Each individual time - series is a member of exactly one subset. The - `cross_series_reducer` is applied to each subset of time series. - It is not possible to reduce across different resource types, so - this field implicitly contains `resource.type`. Fields not - specified in `group_by_fields` are aggregated away. If - `group_by_fields` is not specified and all the time series have - the same resource type, then the time series are aggregated into - a single output time series. If `cross_series_reducer` is not - defined, this field is ignored. + description: The set of fields to + preserve when `cross_series_reducer` + is specified. The `group_by_fields` + determine how the time series are + partitioned into subsets prior to + applying the aggregation operation. + Each subset contains time series + that have the same value for each + of the grouping fields. Each individual + time series is a member of exactly + one subset. The `cross_series_reducer` + is applied to each subset of time + series. It is not possible to reduce + across different resource types, + so this field implicitly contains + `resource.type`. Fields not specified + in `group_by_fields` are aggregated + away. If `group_by_fields` is not + specified and all the time series + have the same resource type, then + the time series are aggregated into + a single output time series. If + `cross_series_reducer` is not defined, + this field is ignored. items: type: string type: array @@ -4361,10 +4684,10 @@ spec: type: string type: object filter: - description: |- - Required. The [monitoring - filter](https://cloud.google.com/monitoring/api/v3/filters) that identifies - the metric types, resources, and projects to query. + description: Required. The [monitoring + filter](https://cloud.google.com/monitoring/api/v3/filters) + that identifies the metric types, resources, + and projects to query. type: string pickTimeSeriesFilter: description: Ranking based time series @@ -4381,10 +4704,11 @@ spec: format: int32 type: integer rankingMethod: - description: |- - `ranking_method` is applied to each time series independently to produce - the value which will be used to compare the time series to other time - series. + description: '`ranking_method` is + applied to each time series independently + to produce the value which will + be used to compare the time series + to other time series.' type: string type: object secondaryAggregation: @@ -4428,21 +4752,30 @@ spec: error is returned. type: string groupByFields: - description: |- - The set of fields to preserve when `cross_series_reducer` is - specified. The `group_by_fields` determine how the time series are - partitioned into subsets prior to applying the aggregation - operation. Each subset contains time series that have the same - value for each of the grouping fields. Each individual time - series is a member of exactly one subset. The - `cross_series_reducer` is applied to each subset of time series. - It is not possible to reduce across different resource types, so - this field implicitly contains `resource.type`. Fields not - specified in `group_by_fields` are aggregated away. If - `group_by_fields` is not specified and all the time series have - the same resource type, then the time series are aggregated into - a single output time series. If `cross_series_reducer` is not - defined, this field is ignored. + description: The set of fields to + preserve when `cross_series_reducer` + is specified. The `group_by_fields` + determine how the time series are + partitioned into subsets prior to + applying the aggregation operation. + Each subset contains time series + that have the same value for each + of the grouping fields. Each individual + time series is a member of exactly + one subset. The `cross_series_reducer` + is applied to each subset of time + series. It is not possible to reduce + across different resource types, + so this field implicitly contains + `resource.type`. Fields not specified + in `group_by_fields` are aggregated + away. If `group_by_fields` is not + specified and all the time series + have the same resource type, then + the time series are aggregated into + a single output time series. If + `cross_series_reducer` is not defined, + this field is ignored. items: type: string type: array @@ -4479,10 +4812,10 @@ spec: description: The denominator of the ratio. properties: aggregation: - description: |- - By default, the raw time series data is returned. - Use this field to combine multiple time series for different views of the - data. + description: By default, the raw time + series data is returned. Use this + field to combine multiple time series + for different views of the data. properties: alignmentPeriod: description: |- @@ -4521,21 +4854,32 @@ spec: error is returned. type: string groupByFields: - description: |- - The set of fields to preserve when `cross_series_reducer` is - specified. The `group_by_fields` determine how the time series are - partitioned into subsets prior to applying the aggregation - operation. Each subset contains time series that have the same - value for each of the grouping fields. Each individual time - series is a member of exactly one subset. The - `cross_series_reducer` is applied to each subset of time series. - It is not possible to reduce across different resource types, so - this field implicitly contains `resource.type`. Fields not - specified in `group_by_fields` are aggregated away. If - `group_by_fields` is not specified and all the time series have - the same resource type, then the time series are aggregated into - a single output time series. If `cross_series_reducer` is not - defined, this field is ignored. + description: The set of fields + to preserve when `cross_series_reducer` + is specified. The `group_by_fields` + determine how the time series + are partitioned into subsets + prior to applying the aggregation + operation. Each subset contains + time series that have the same + value for each of the grouping + fields. Each individual time + series is a member of exactly + one subset. The `cross_series_reducer` + is applied to each subset of + time series. It is not possible + to reduce across different resource + types, so this field implicitly + contains `resource.type`. Fields + not specified in `group_by_fields` + are aggregated away. If `group_by_fields` + is not specified and all the + time series have the same resource + type, then the time series are + aggregated into a single output + time series. If `cross_series_reducer` + is not defined, this field is + ignored. items: type: string type: array @@ -4562,10 +4906,10 @@ spec: type: string type: object filter: - description: |- - Required. The [monitoring - filter](https://cloud.google.com/monitoring/api/v3/filters) that - identifies the metric types, resources, and projects to query. + description: Required. The [monitoring + filter](https://cloud.google.com/monitoring/api/v3/filters) + that identifies the metric types, + resources, and projects to query. type: string required: - filter @@ -4574,10 +4918,10 @@ spec: description: The numerator of the ratio. properties: aggregation: - description: |- - By default, the raw time series data is returned. - Use this field to combine multiple time series for different views of the - data. + description: By default, the raw time + series data is returned. Use this + field to combine multiple time series + for different views of the data. properties: alignmentPeriod: description: |- @@ -4616,21 +4960,32 @@ spec: error is returned. type: string groupByFields: - description: |- - The set of fields to preserve when `cross_series_reducer` is - specified. The `group_by_fields` determine how the time series are - partitioned into subsets prior to applying the aggregation - operation. Each subset contains time series that have the same - value for each of the grouping fields. Each individual time - series is a member of exactly one subset. The - `cross_series_reducer` is applied to each subset of time series. - It is not possible to reduce across different resource types, so - this field implicitly contains `resource.type`. Fields not - specified in `group_by_fields` are aggregated away. If - `group_by_fields` is not specified and all the time series have - the same resource type, then the time series are aggregated into - a single output time series. If `cross_series_reducer` is not - defined, this field is ignored. + description: The set of fields + to preserve when `cross_series_reducer` + is specified. The `group_by_fields` + determine how the time series + are partitioned into subsets + prior to applying the aggregation + operation. Each subset contains + time series that have the same + value for each of the grouping + fields. Each individual time + series is a member of exactly + one subset. The `cross_series_reducer` + is applied to each subset of + time series. It is not possible + to reduce across different resource + types, so this field implicitly + contains `resource.type`. Fields + not specified in `group_by_fields` + are aggregated away. If `group_by_fields` + is not specified and all the + time series have the same resource + type, then the time series are + aggregated into a single output + time series. If `cross_series_reducer` + is not defined, this field is + ignored. items: type: string type: array @@ -4657,10 +5012,10 @@ spec: type: string type: object filter: - description: |- - Required. The [monitoring - filter](https://cloud.google.com/monitoring/api/v3/filters) that - identifies the metric types, resources, and projects to query. + description: Required. The [monitoring + filter](https://cloud.google.com/monitoring/api/v3/filters) + that identifies the metric types, + resources, and projects to query. type: string required: - filter @@ -4680,10 +5035,11 @@ spec: format: int32 type: integer rankingMethod: - description: |- - `ranking_method` is applied to each time series independently to produce - the value which will be used to compare the time series to other time - series. + description: '`ranking_method` is + applied to each time series independently + to produce the value which will + be used to compare the time series + to other time series.' type: string type: object secondaryAggregation: @@ -4727,21 +5083,30 @@ spec: error is returned. type: string groupByFields: - description: |- - The set of fields to preserve when `cross_series_reducer` is - specified. The `group_by_fields` determine how the time series are - partitioned into subsets prior to applying the aggregation - operation. Each subset contains time series that have the same - value for each of the grouping fields. Each individual time - series is a member of exactly one subset. The - `cross_series_reducer` is applied to each subset of time series. - It is not possible to reduce across different resource types, so - this field implicitly contains `resource.type`. Fields not - specified in `group_by_fields` are aggregated away. If - `group_by_fields` is not specified and all the time series have - the same resource type, then the time series are aggregated into - a single output time series. If `cross_series_reducer` is not - defined, this field is ignored. + description: The set of fields to + preserve when `cross_series_reducer` + is specified. The `group_by_fields` + determine how the time series are + partitioned into subsets prior to + applying the aggregation operation. + Each subset contains time series + that have the same value for each + of the grouping fields. Each individual + time series is a member of exactly + one subset. The `cross_series_reducer` + is applied to each subset of time + series. It is not possible to reduce + across different resource types, + so this field implicitly contains + `resource.type`. Fields not specified + in `group_by_fields` are aggregated + away. If `group_by_fields` is not + specified and all the time series + have the same resource type, then + the time series are aggregated into + a single output time series. If + `cross_series_reducer` is not defined, + this field is ignored. items: type: string type: array @@ -4773,12 +5138,12 @@ spec: with MQL. type: string unitOverride: - description: |- - The unit of data contained in fetched time series. If non-empty, this - unit will override any unit that accompanies fetched data. The format is - the same as the - [`unit`](https://cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.metricDescriptors) - field in `MetricDescriptor`. + description: The unit of data contained in + fetched time series. If non-empty, this + unit will override any unit that accompanies + fetched data. The format is the same as + the [`unit`](https://cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.metricDescriptors) + field in `MetricDescriptor`. type: string type: object required: @@ -4814,37 +5179,42 @@ spec: items: properties: legendTemplate: - description: |- - A template string for naming `TimeSeries` in the resulting data set. - This should be a string with interpolations of the form `${label_name}`, - which will resolve to the label's value. + description: A template string for naming + `TimeSeries` in the resulting data set. + This should be a string with interpolations + of the form `${label_name}`, which will + resolve to the label's value. type: string minAlignmentPeriod: - description: |- - Optional. The lower bound on data point frequency for this data set, - implemented by specifying the minimum alignment period to use in a time - series query For example, if the data is published once every 10 minutes, - the `min_alignment_period` should be at least 10 minutes. It would not - make sense to fetch and align data at one minute intervals. + description: Optional. The lower bound on + data point frequency for this data set, + implemented by specifying the minimum + alignment period to use in a time series + query For example, if the data is published + once every 10 minutes, the `min_alignment_period` + should be at least 10 minutes. It would + not make sense to fetch and align data + at one minute intervals. type: string plotType: description: How this data should be plotted on the chart. type: string timeSeriesQuery: - description: |- - Required. Fields for querying time series data from the - Stackdriver metrics API. + description: Required. Fields for querying + time series data from the Stackdriver + metrics API. properties: timeSeriesFilter: description: Filter parameters to fetch time series. properties: aggregation: - description: |- - By default, the raw time series data is returned. - Use this field to combine multiple time series for different views of the - data. + description: By default, the raw + time series data is returned. + Use this field to combine multiple + time series for different views + of the data. properties: alignmentPeriod: description: |- @@ -4883,21 +5253,34 @@ spec: error is returned. type: string groupByFields: - description: |- - The set of fields to preserve when `cross_series_reducer` is - specified. The `group_by_fields` determine how the time series are - partitioned into subsets prior to applying the aggregation - operation. Each subset contains time series that have the same - value for each of the grouping fields. Each individual time - series is a member of exactly one subset. The - `cross_series_reducer` is applied to each subset of time series. - It is not possible to reduce across different resource types, so - this field implicitly contains `resource.type`. Fields not - specified in `group_by_fields` are aggregated away. If - `group_by_fields` is not specified and all the time series have - the same resource type, then the time series are aggregated into - a single output time series. If `cross_series_reducer` is not - defined, this field is ignored. + description: The set of fields + to preserve when `cross_series_reducer` + is specified. The `group_by_fields` + determine how the time series + are partitioned into subsets + prior to applying the aggregation + operation. Each subset contains + time series that have the + same value for each of the + grouping fields. Each individual + time series is a member of + exactly one subset. The `cross_series_reducer` + is applied to each subset + of time series. It is not + possible to reduce across + different resource types, + so this field implicitly contains + `resource.type`. Fields not + specified in `group_by_fields` + are aggregated away. If `group_by_fields` + is not specified and all the + time series have the same + resource type, then the time + series are aggregated into + a single output time series. + If `cross_series_reducer` + is not defined, this field + is ignored. items: type: string type: array @@ -4924,10 +5307,10 @@ spec: type: string type: object filter: - description: |- - Required. The [monitoring - filter](https://cloud.google.com/monitoring/api/v3/filters) that identifies - the metric types, resources, and projects to query. + description: Required. The [monitoring + filter](https://cloud.google.com/monitoring/api/v3/filters) + that identifies the metric types, + resources, and projects to query. type: string pickTimeSeriesFilter: description: Ranking based time @@ -4945,10 +5328,12 @@ spec: format: int32 type: integer rankingMethod: - description: |- - `ranking_method` is applied to each time series independently to produce - the value which will be used to compare the time series to other time - series. + description: '`ranking_method` + is applied to each time series + independently to produce the + value which will be used to + compare the time series to + other time series.' type: string type: object secondaryAggregation: @@ -4992,21 +5377,34 @@ spec: error is returned. type: string groupByFields: - description: |- - The set of fields to preserve when `cross_series_reducer` is - specified. The `group_by_fields` determine how the time series are - partitioned into subsets prior to applying the aggregation - operation. Each subset contains time series that have the same - value for each of the grouping fields. Each individual time - series is a member of exactly one subset. The - `cross_series_reducer` is applied to each subset of time series. - It is not possible to reduce across different resource types, so - this field implicitly contains `resource.type`. Fields not - specified in `group_by_fields` are aggregated away. If - `group_by_fields` is not specified and all the time series have - the same resource type, then the time series are aggregated into - a single output time series. If `cross_series_reducer` is not - defined, this field is ignored. + description: The set of fields + to preserve when `cross_series_reducer` + is specified. The `group_by_fields` + determine how the time series + are partitioned into subsets + prior to applying the aggregation + operation. Each subset contains + time series that have the + same value for each of the + grouping fields. Each individual + time series is a member of + exactly one subset. The `cross_series_reducer` + is applied to each subset + of time series. It is not + possible to reduce across + different resource types, + so this field implicitly contains + `resource.type`. Fields not + specified in `group_by_fields` + are aggregated away. If `group_by_fields` + is not specified and all the + time series have the same + resource type, then the time + series are aggregated into + a single output time series. + If `cross_series_reducer` + is not defined, this field + is ignored. items: type: string type: array @@ -5044,10 +5442,11 @@ spec: the ratio. properties: aggregation: - description: |- - By default, the raw time series data is returned. - Use this field to combine multiple time series for different views of the - data. + description: By default, the + raw time series data is returned. + Use this field to combine + multiple time series for different + views of the data. properties: alignmentPeriod: description: |- @@ -5086,21 +5485,38 @@ spec: error is returned. type: string groupByFields: - description: |- - The set of fields to preserve when `cross_series_reducer` is - specified. The `group_by_fields` determine how the time series are - partitioned into subsets prior to applying the aggregation - operation. Each subset contains time series that have the same - value for each of the grouping fields. Each individual time - series is a member of exactly one subset. The - `cross_series_reducer` is applied to each subset of time series. - It is not possible to reduce across different resource types, so - this field implicitly contains `resource.type`. Fields not - specified in `group_by_fields` are aggregated away. If - `group_by_fields` is not specified and all the time series have - the same resource type, then the time series are aggregated into - a single output time series. If `cross_series_reducer` is not - defined, this field is ignored. + description: The set of + fields to preserve when + `cross_series_reducer` + is specified. The `group_by_fields` + determine how the time + series are partitioned + into subsets prior to + applying the aggregation + operation. Each subset + contains time series that + have the same value for + each of the grouping fields. + Each individual time series + is a member of exactly + one subset. The `cross_series_reducer` + is applied to each subset + of time series. It is + not possible to reduce + across different resource + types, so this field implicitly + contains `resource.type`. Fields + not specified in `group_by_fields` + are aggregated away. If + `group_by_fields` is not + specified and all the + time series have the same + resource type, then the + time series are aggregated + into a single output time + series. If `cross_series_reducer` + is not defined, this field + is ignored. items: type: string type: array @@ -5127,10 +5543,11 @@ spec: type: string type: object filter: - description: |- - Required. The [monitoring - filter](https://cloud.google.com/monitoring/api/v3/filters) that - identifies the metric types, resources, and projects to query. + description: Required. The [monitoring + filter](https://cloud.google.com/monitoring/api/v3/filters) + that identifies the metric + types, resources, and projects + to query. type: string required: - filter @@ -5140,10 +5557,11 @@ spec: ratio. properties: aggregation: - description: |- - By default, the raw time series data is returned. - Use this field to combine multiple time series for different views of the - data. + description: By default, the + raw time series data is returned. + Use this field to combine + multiple time series for different + views of the data. properties: alignmentPeriod: description: |- @@ -5182,21 +5600,38 @@ spec: error is returned. type: string groupByFields: - description: |- - The set of fields to preserve when `cross_series_reducer` is - specified. The `group_by_fields` determine how the time series are - partitioned into subsets prior to applying the aggregation - operation. Each subset contains time series that have the same - value for each of the grouping fields. Each individual time - series is a member of exactly one subset. The - `cross_series_reducer` is applied to each subset of time series. - It is not possible to reduce across different resource types, so - this field implicitly contains `resource.type`. Fields not - specified in `group_by_fields` are aggregated away. If - `group_by_fields` is not specified and all the time series have - the same resource type, then the time series are aggregated into - a single output time series. If `cross_series_reducer` is not - defined, this field is ignored. + description: The set of + fields to preserve when + `cross_series_reducer` + is specified. The `group_by_fields` + determine how the time + series are partitioned + into subsets prior to + applying the aggregation + operation. Each subset + contains time series that + have the same value for + each of the grouping fields. + Each individual time series + is a member of exactly + one subset. The `cross_series_reducer` + is applied to each subset + of time series. It is + not possible to reduce + across different resource + types, so this field implicitly + contains `resource.type`. Fields + not specified in `group_by_fields` + are aggregated away. If + `group_by_fields` is not + specified and all the + time series have the same + resource type, then the + time series are aggregated + into a single output time + series. If `cross_series_reducer` + is not defined, this field + is ignored. items: type: string type: array @@ -5223,10 +5658,11 @@ spec: type: string type: object filter: - description: |- - Required. The [monitoring - filter](https://cloud.google.com/monitoring/api/v3/filters) that - identifies the metric types, resources, and projects to query. + description: Required. The [monitoring + filter](https://cloud.google.com/monitoring/api/v3/filters) + that identifies the metric + types, resources, and projects + to query. type: string required: - filter @@ -5247,10 +5683,12 @@ spec: format: int32 type: integer rankingMethod: - description: |- - `ranking_method` is applied to each time series independently to produce - the value which will be used to compare the time series to other time - series. + description: '`ranking_method` + is applied to each time series + independently to produce the + value which will be used to + compare the time series to + other time series.' type: string type: object secondaryAggregation: @@ -5294,21 +5732,34 @@ spec: error is returned. type: string groupByFields: - description: |- - The set of fields to preserve when `cross_series_reducer` is - specified. The `group_by_fields` determine how the time series are - partitioned into subsets prior to applying the aggregation - operation. Each subset contains time series that have the same - value for each of the grouping fields. Each individual time - series is a member of exactly one subset. The - `cross_series_reducer` is applied to each subset of time series. - It is not possible to reduce across different resource types, so - this field implicitly contains `resource.type`. Fields not - specified in `group_by_fields` are aggregated away. If - `group_by_fields` is not specified and all the time series have - the same resource type, then the time series are aggregated into - a single output time series. If `cross_series_reducer` is not - defined, this field is ignored. + description: The set of fields + to preserve when `cross_series_reducer` + is specified. The `group_by_fields` + determine how the time series + are partitioned into subsets + prior to applying the aggregation + operation. Each subset contains + time series that have the + same value for each of the + grouping fields. Each individual + time series is a member of + exactly one subset. The `cross_series_reducer` + is applied to each subset + of time series. It is not + possible to reduce across + different resource types, + so this field implicitly contains + `resource.type`. Fields not + specified in `group_by_fields` + are aggregated away. If `group_by_fields` + is not specified and all the + time series have the same + resource type, then the time + series are aggregated into + a single output time series. + If `cross_series_reducer` + is not defined, this field + is ignored. items: type: string type: array @@ -5340,12 +5791,12 @@ spec: series with MQL. type: string unitOverride: - description: |- - The unit of data contained in fetched time series. If non-empty, this - unit will override any unit that accompanies fetched data. The format is - the same as the - [`unit`](https://cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.metricDescriptors) - field in `MetricDescriptor`. + description: The unit of data contained + in fetched time series. If non-empty, + this unit will override any unit that + accompanies fetched data. The format + is the same as the [`unit`](https://cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.metricDescriptors) + field in `MetricDescriptor`. type: string type: object required: @@ -5362,28 +5813,28 @@ spec: Color is not allowed in a XyChart. type: string direction: - description: |- - The direction for the current threshold. Direction is not allowed in a - XyChart. + description: The direction for the current + threshold. Direction is not allowed in + a XyChart. type: string label: description: A label for the threshold. type: string value: - description: |- - The value of the threshold. The value should be defined in the native scale - of the metric. + description: The value of the threshold. + The value should be defined in the native + scale of the metric. format: double type: number type: object type: array timeshiftDuration: - description: |- - The duration used to display a comparison chart. A comparison chart - simultaneously shows values from two similar-length time periods - (e.g., week-over-week metrics). - The duration must be positive, and it can only be applied to charts with - data sets of LINE plot type. + description: The duration used to display a comparison + chart. A comparison chart simultaneously shows + values from two similar-length time periods + (e.g., week-over-week metrics). The duration + must be positive, and it can only be applied + to charts with data sets of LINE plot type. type: string xAxis: description: The properties applied to the x-axis. @@ -5422,9 +5873,8 @@ spec: status: properties: conditions: - description: |- - Conditions represent the latest available observations of the - MonitoringDashboard's current state. + description: Conditions represent the latest available observations + of the MonitoringDashboard's current state. items: properties: lastTransitionTime: @@ -5436,9 +5886,8 @@ spec: last transition. type: string reason: - description: |- - Unique, one-word, CamelCase reason for the condition's last - transition. + description: Unique, one-word, CamelCase reason for the condition's + last transition. type: string status: description: Status is the status of the condition. Can be True, diff --git a/dev/tasks/generate-crds b/dev/tasks/generate-crds index d3c90774c6..b9d339362c 100755 --- a/dev/tasks/generate-crds +++ b/dev/tasks/generate-crds @@ -38,6 +38,7 @@ go run ./scripts/crd-tools set-field spec.preserveUnknownFields=false --dir apis go run ./scripts/crd-tools delete-field status --dir apis/config/crd/ go run ./scripts/crd-tools set-annotation cnrm.cloud.google.com/version=0.0.0-dev --dir apis/config/crd/ go run ./scripts/crd-tools delete-annotation controller-gen.kubebuilder.io/version --dir apis/config/crd/ +go run ./scripts/crd-tools reflow-descriptions --dir apis/config/crd/ # Copy generated CRDs to apis/config/crd/ # The crds directory is generated only as part of the release (currently) diff --git a/pkg/clients/generated/apis/apikeys/v1alpha1/apikeyskey_types.go b/pkg/clients/generated/apis/apikeys/v1alpha1/apikeyskey_types.go index 1f586de66f..a96c760f99 100644 --- a/pkg/clients/generated/apis/apikeys/v1alpha1/apikeyskey_types.go +++ b/pkg/clients/generated/apis/apikeys/v1alpha1/apikeyskey_types.go @@ -49,11 +49,11 @@ type KeyAndroidKeyRestrictions struct { } type KeyApiTargets struct { - /* Optional. List of one or more methods that can be called. If empty, all methods for the service are allowed. A wildcard (*) can be used as the last symbol. Valid examples: `google.cloud.translate.v2.TranslateService.GetSupportedLanguage` `TranslateText` `Get*` `translate.googleapis.com.Get*`. */ + /* Optional. List of one or more methods that can be called. If empty, all methods for the service are allowed. A wildcard (*) can be used as the last symbol. Valid examples: `google.cloud.translate.v2.TranslateService.GetSupportedLanguage` `TranslateText` `Get*` `translate.googleapis.com.Get*` */ // +optional Methods []string `json:"methods,omitempty"` - /* The service for this restriction. It should be the canonical service name, for example: `translate.googleapis.com`. You can use `gcloud services list` to get a list of services that are enabled in the project. */ + /* The service for this restriction. It should be the canonical service name, for example: `translate.googleapis.com`. You can use [`gcloud services list`](/sdk/gcloud/reference/services/list) to get a list of services that are enabled in the project. */ Service string `json:"service"` } @@ -95,11 +95,11 @@ type KeyServerKeyRestrictions struct { } type APIKeysKeySpec struct { - /* Human-readable display name of this API key. Modifiable by user. */ + /* Human-readable display name of this key that you can modify. The maximum length is 63 characters. */ // +optional DisplayName *string `json:"displayName,omitempty"` - /* The project that this resource belongs to. */ + /* Immutable. The Project that this resource belongs to. */ ProjectRef v1alpha1.ResourceRef `json:"projectRef"` /* Immutable. Optional. The name of the resource. Used for creation and acquisition. When unset, the value of `metadata.name` is used as the default. */ @@ -111,21 +111,23 @@ type APIKeysKeySpec struct { Restrictions *KeyRestrictions `json:"restrictions,omitempty"` } +type KeyObservedStateStatus struct { + /* Output only. Unique id in UUID4 format. */ + // +optional + Uid *string `json:"uid,omitempty"` +} + type APIKeysKeyStatus struct { /* Conditions represent the latest available observations of the APIKeysKey's current state. */ Conditions []v1alpha1.Condition `json:"conditions,omitempty"` - /* Output only. An encrypted and signed value held by this key. This field can be accessed only through the `GetKeyString` method. */ - // +optional - KeyString *string `json:"keyString,omitempty"` - /* ObservedGeneration is the generation of the resource that was most recently observed by the Config Connector controller. If this is equal to metadata.generation, then that means that the current reported status reflects the most recent desired state of the resource. */ // +optional ObservedGeneration *int64 `json:"observedGeneration,omitempty"` - /* Output only. Unique id in UUID4 format. */ + /* ObservedState is the state of the resource as most recently observed in GCP. */ // +optional - Uid *string `json:"uid,omitempty"` + ObservedState *KeyObservedStateStatus `json:"observedState,omitempty"` } // +genclient diff --git a/pkg/clients/generated/apis/apikeys/v1alpha1/zz_generated.deepcopy.go b/pkg/clients/generated/apis/apikeys/v1alpha1/zz_generated.deepcopy.go index 79102c7e97..0d3b21d248 100644 --- a/pkg/clients/generated/apis/apikeys/v1alpha1/zz_generated.deepcopy.go +++ b/pkg/clients/generated/apis/apikeys/v1alpha1/zz_generated.deepcopy.go @@ -130,20 +130,15 @@ func (in *APIKeysKeyStatus) DeepCopyInto(out *APIKeysKeyStatus) { *out = make([]k8sv1alpha1.Condition, len(*in)) copy(*out, *in) } - if in.KeyString != nil { - in, out := &in.KeyString, &out.KeyString - *out = new(string) - **out = **in - } if in.ObservedGeneration != nil { in, out := &in.ObservedGeneration, &out.ObservedGeneration *out = new(int64) **out = **in } - if in.Uid != nil { - in, out := &in.Uid, &out.Uid - *out = new(string) - **out = **in + if in.ObservedState != nil { + in, out := &in.ObservedState, &out.ObservedState + *out = new(KeyObservedStateStatus) + (*in).DeepCopyInto(*out) } return } @@ -258,6 +253,27 @@ func (in *KeyIosKeyRestrictions) DeepCopy() *KeyIosKeyRestrictions { return out } +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *KeyObservedStateStatus) DeepCopyInto(out *KeyObservedStateStatus) { + *out = *in + if in.Uid != nil { + in, out := &in.Uid, &out.Uid + *out = new(string) + **out = **in + } + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KeyObservedStateStatus. +func (in *KeyObservedStateStatus) DeepCopy() *KeyObservedStateStatus { + if in == nil { + return nil + } + out := new(KeyObservedStateStatus) + in.DeepCopyInto(out) + return out +} + // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *KeyRestrictions) DeepCopyInto(out *KeyRestrictions) { *out = *in diff --git a/pkg/clients/generated/apis/logging/v1beta1/logginglogmetric_types.go b/pkg/clients/generated/apis/logging/v1beta1/logginglogmetric_types.go index fc6195a61d..2f3b3185e7 100644 --- a/pkg/clients/generated/apis/logging/v1beta1/logginglogmetric_types.go +++ b/pkg/clients/generated/apis/logging/v1beta1/logginglogmetric_types.go @@ -157,12 +157,7 @@ type LoggingLogMetricSpec struct { // +optional LabelExtractors map[string]string `json:"labelExtractors,omitempty"` - /* The reference to the Log Bucket that owns - the Log Metric. Only Log Buckets in projects are supported. The - bucket has to be in the same project as the metric. For - example:projects/my-project/locations/global/buckets/my-bucket - If empty, then the Log Metric is considered a non-Bucket Log Metric. - Only `external` field is supported to configure the reference for now. */ + /* The reference to the Log Bucket that owns the Log Metric. Only Log Buckets in projects are supported. The bucket has to be in the same project as the metric. For example:projects/my-project/locations/global/buckets/my-bucket If empty, then the Log Metric is considered a non-Bucket Log Metric. Only `external` field is supported to configure the reference for now. */ // +optional LoggingLogBucketRef *v1alpha1.ResourceRef `json:"loggingLogBucketRef,omitempty"` diff --git a/pkg/clients/generated/apis/monitoring/v1beta1/monitoringdashboard_types.go b/pkg/clients/generated/apis/monitoring/v1beta1/monitoringdashboard_types.go index ed2007249b..4fbb2e3abb 100644 --- a/pkg/clients/generated/apis/monitoring/v1beta1/monitoringdashboard_types.go +++ b/pkg/clients/generated/apis/monitoring/v1beta1/monitoringdashboard_types.go @@ -72,20 +72,7 @@ type DashboardAggregation struct { // +optional CrossSeriesReducer *string `json:"crossSeriesReducer,omitempty"` - /* The set of fields to preserve when `cross_series_reducer` is - specified. The `group_by_fields` determine how the time series are - partitioned into subsets prior to applying the aggregation - operation. Each subset contains time series that have the same - value for each of the grouping fields. Each individual time - series is a member of exactly one subset. The - `cross_series_reducer` is applied to each subset of time series. - It is not possible to reduce across different resource types, so - this field implicitly contains `resource.type`. Fields not - specified in `group_by_fields` are aggregated away. If - `group_by_fields` is not specified and all the time series have - the same resource type, then the time series are aggregated into - a single output time series. If `cross_series_reducer` is not - defined, this field is ignored. */ + /* The set of fields to preserve when `cross_series_reducer` is specified. The `group_by_fields` determine how the time series are partitioned into subsets prior to applying the aggregation operation. Each subset contains time series that have the same value for each of the grouping fields. Each individual time series is a member of exactly one subset. The `cross_series_reducer` is applied to each subset of time series. It is not possible to reduce across different resource types, so this field implicitly contains `resource.type`. Fields not specified in `group_by_fields` are aggregated away. If `group_by_fields` is not specified and all the time series have the same resource type, then the time series are aggregated into a single output time series. If `cross_series_reducer` is not defined, this field is ignored. */ // +optional GroupByFields []string `json:"groupByFields,omitempty"` @@ -127,10 +114,7 @@ type DashboardColumnLayout struct { } type DashboardColumns struct { - /* The relative weight of this column. The column weight is used to adjust - the width of columns on the screen (relative to peers). - Greater the weight, greater the width of the column on the screen. - If omitted, a value of 1 is used while rendering. */ + /* The relative weight of this column. The column weight is used to adjust the width of columns on the screen (relative to peers). Greater the weight, greater the width of the column on the screen. If omitted, a value of 1 is used while rendering. */ // +optional Weight *int64 `json:"weight,omitempty"` @@ -140,17 +124,11 @@ type DashboardColumns struct { } type DashboardDataSets struct { - /* A template string for naming `TimeSeries` in the resulting data set. - This should be a string with interpolations of the form `${label_name}`, - which will resolve to the label's value. */ + /* A template string for naming `TimeSeries` in the resulting data set. This should be a string with interpolations of the form `${label_name}`, which will resolve to the label's value. */ // +optional LegendTemplate *string `json:"legendTemplate,omitempty"` - /* Optional. The lower bound on data point frequency for this data set, - implemented by specifying the minimum alignment period to use in a time - series query For example, if the data is published once every 10 minutes, - the `min_alignment_period` should be at least 10 minutes. It would not - make sense to fetch and align data at one minute intervals. */ + /* Optional. The lower bound on data point frequency for this data set, implemented by specifying the minimum alignment period to use in a time series query For example, if the data is published once every 10 minutes, the `min_alignment_period` should be at least 10 minutes. It would not make sense to fetch and align data at one minute intervals. */ // +optional MinAlignmentPeriod *string `json:"minAlignmentPeriod,omitempty"` @@ -158,39 +136,31 @@ type DashboardDataSets struct { // +optional PlotType *string `json:"plotType,omitempty"` - /* Required. Fields for querying time series data from the - Stackdriver metrics API. */ + /* Required. Fields for querying time series data from the Stackdriver metrics API. */ TimeSeriesQuery DashboardTimeSeriesQuery `json:"timeSeriesQuery"` } type DashboardDenominator struct { - /* By default, the raw time series data is returned. - Use this field to combine multiple time series for different views of the - data. */ + /* By default, the raw time series data is returned. Use this field to combine multiple time series for different views of the data. */ // +optional Aggregation *DashboardAggregation `json:"aggregation,omitempty"` - /* Required. The [monitoring - filter](https://cloud.google.com/monitoring/api/v3/filters) that - identifies the metric types, resources, and projects to query. */ + /* Required. The [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters) that identifies the metric types, resources, and projects to query. */ Filter string `json:"filter"` } type DashboardGaugeView struct { - /* The lower bound for this gauge chart. The value of the chart should - always be greater than or equal to this. */ + /* The lower bound for this gauge chart. The value of the chart should always be greater than or equal to this. */ // +optional LowerBound *float64 `json:"lowerBound,omitempty"` - /* The upper bound for this gauge chart. The value of the chart should - always be less than or equal to this. */ + /* The upper bound for this gauge chart. The value of the chart should always be less than or equal to this. */ // +optional UpperBound *float64 `json:"upperBound,omitempty"` } type DashboardGridLayout struct { - /* The number of columns into which the view's width is divided. If omitted - or set to zero, a system default will be used while rendering. */ + /* The number of columns into which the view's width is divided. If omitted or set to zero, a system default will be used while rendering. */ // +optional Columns *DashboardColumns `json:"columns,omitempty"` @@ -200,22 +170,17 @@ type DashboardGridLayout struct { } type DashboardLogsPanel struct { - /* A filter that chooses which log entries to return. See [Advanced Logs - Queries](https://cloud.google.com/logging/docs/view/advanced-queries). - Only log entries that match the filter are returned. An empty filter - matches all log entries. */ + /* A filter that chooses which log entries to return. See [Advanced Logs Queries](https://cloud.google.com/logging/docs/view/advanced-queries). Only log entries that match the filter are returned. An empty filter matches all log entries. */ // +optional Filter *string `json:"filter,omitempty"` - /* The names of logging resources to collect logs for. Currently only projects - are supported. If empty, the widget will default to the host project. */ + /* The names of logging resources to collect logs for. Currently only projects are supported. If empty, the widget will default to the host project. */ // +optional ResourceNames []DashboardResourceNames `json:"resourceNames,omitempty"` } type DashboardMosaicLayout struct { - /* The number of columns in the mosaic grid. The number of columns must be - between 1 and 12, inclusive. */ + /* The number of columns in the mosaic grid. The number of columns must be between 1 and 12, inclusive. */ // +optional Columns *DashboardColumns `json:"columns,omitempty"` @@ -225,15 +190,11 @@ type DashboardMosaicLayout struct { } type DashboardNumerator struct { - /* By default, the raw time series data is returned. - Use this field to combine multiple time series for different views of the - data. */ + /* By default, the raw time series data is returned. Use this field to combine multiple time series for different views of the data. */ // +optional Aggregation *DashboardAggregation `json:"aggregation,omitempty"` - /* Required. The [monitoring - filter](https://cloud.google.com/monitoring/api/v3/filters) that - identifies the metric types, resources, and projects to query. */ + /* Required. The [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters) that identifies the metric types, resources, and projects to query. */ Filter string `json:"filter"` } @@ -246,9 +207,7 @@ type DashboardPickTimeSeriesFilter struct { // +optional NumTimeSeries *int32 `json:"numTimeSeries,omitempty"` - /* `ranking_method` is applied to each time series independently to produce - the value which will be used to compare the time series to other time - series. */ + /* `ranking_method` is applied to each time series independently to produce the value which will be used to compare the time series to other time series. */ // +optional RankingMethod *string `json:"rankingMethod,omitempty"` } @@ -278,10 +237,7 @@ type DashboardRowLayout struct { } type DashboardRows struct { - /* The relative weight of this row. The row weight is used to adjust the - height of rows on the screen (relative to peers). Greater the weight, - greater the height of the row on the screen. If omitted, a value - of 1 is used while rendering. */ + /* The relative weight of this row. The row weight is used to adjust the height of rows on the screen (relative to peers). Greater the weight, greater the height of the row on the screen. If omitted, a value of 1 is used while rendering. */ // +optional Weight *int64 `json:"weight,omitempty"` @@ -343,8 +299,7 @@ type DashboardScorecard struct { // +optional Thresholds []DashboardThresholds `json:"thresholds,omitempty"` - /* Required. Fields for querying time series data from the - Stackdriver metrics API. */ + /* Required. Fields for querying time series data from the Stackdriver metrics API. */ TimeSeriesQuery DashboardTimeSeriesQuery `json:"timeSeriesQuery"` } @@ -385,20 +340,7 @@ type DashboardSecondaryAggregation struct { // +optional CrossSeriesReducer *string `json:"crossSeriesReducer,omitempty"` - /* The set of fields to preserve when `cross_series_reducer` is - specified. The `group_by_fields` determine how the time series are - partitioned into subsets prior to applying the aggregation - operation. Each subset contains time series that have the same - value for each of the grouping fields. Each individual time - series is a member of exactly one subset. The - `cross_series_reducer` is applied to each subset of time series. - It is not possible to reduce across different resource types, so - this field implicitly contains `resource.type`. Fields not - specified in `group_by_fields` are aggregated away. If - `group_by_fields` is not specified and all the time series have - the same resource type, then the time series are aggregated into - a single output time series. If `cross_series_reducer` is not - defined, this field is ignored. */ + /* The set of fields to preserve when `cross_series_reducer` is specified. The `group_by_fields` determine how the time series are partitioned into subsets prior to applying the aggregation operation. Each subset contains time series that have the same value for each of the grouping fields. Each individual time series is a member of exactly one subset. The `cross_series_reducer` is applied to each subset of time series. It is not possible to reduce across different resource types, so this field implicitly contains `resource.type`. Fields not specified in `group_by_fields` are aggregated away. If `group_by_fields` is not specified and all the time series have the same resource type, then the time series are aggregated into a single output time series. If `cross_series_reducer` is not defined, this field is ignored. */ // +optional GroupByFields []string `json:"groupByFields,omitempty"` @@ -425,11 +367,7 @@ type DashboardSecondaryAggregation struct { } type DashboardSparkChartView struct { - /* The lower bound on data point frequency in the chart implemented by - specifying the minimum alignment period to use in a time series query. - For example, if the data is published once every 10 minutes it would not - make sense to fetch and align data at one minute intervals. This field is - optional and exists only as a hint. */ + /* The lower bound on data point frequency in the chart implemented by specifying the minimum alignment period to use in a time series query. For example, if the data is published once every 10 minutes it would not make sense to fetch and align data at one minute intervals. This field is optional and exists only as a hint. */ // +optional MinAlignmentPeriod *string `json:"minAlignmentPeriod,omitempty"` @@ -452,8 +390,7 @@ type DashboardThresholds struct { // +optional Color *string `json:"color,omitempty"` - /* The direction for the current threshold. Direction is not allowed in a - XyChart. */ + /* The direction for the current threshold. Direction is not allowed in a XyChart. */ // +optional Direction *string `json:"direction,omitempty"` @@ -461,15 +398,13 @@ type DashboardThresholds struct { // +optional Label *string `json:"label,omitempty"` - /* The value of the threshold. The value should be defined in the native scale - of the metric. */ + /* The value of the threshold. The value should be defined in the native scale of the metric. */ // +optional Value *float64 `json:"value,omitempty"` } type DashboardTiles struct { - /* The height of the tile, measured in grid blocks. Tiles must have a - minimum height of 1. */ + /* The height of the tile, measured in grid blocks. Tiles must have a minimum height of 1. */ // +optional Height *int32 `json:"height,omitempty"` @@ -477,33 +412,25 @@ type DashboardTiles struct { // +optional Widget *DashboardWidget `json:"widget,omitempty"` - /* The width of the tile, measured in grid blocks. Tiles must have a - minimum width of 1. */ + /* The width of the tile, measured in grid blocks. Tiles must have a minimum width of 1. */ // +optional Width *int32 `json:"width,omitempty"` - /* The zero-indexed position of the tile in grid blocks relative to the - left edge of the grid. Tiles must be contained within the specified - number of columns. `x_pos` cannot be negative. */ + /* The zero-indexed position of the tile in grid blocks relative to the left edge of the grid. Tiles must be contained within the specified number of columns. `x_pos` cannot be negative. */ // +optional XPos *int32 `json:"xPos,omitempty"` - /* The zero-indexed position of the tile in grid blocks relative to the - top edge of the grid. `y_pos` cannot be negative. */ + /* The zero-indexed position of the tile in grid blocks relative to the top edge of the grid. `y_pos` cannot be negative. */ // +optional YPos *int32 `json:"yPos,omitempty"` } type DashboardTimeSeriesFilter struct { - /* By default, the raw time series data is returned. - Use this field to combine multiple time series for different views of the - data. */ + /* By default, the raw time series data is returned. Use this field to combine multiple time series for different views of the data. */ // +optional Aggregation *DashboardAggregation `json:"aggregation,omitempty"` - /* Required. The [monitoring - filter](https://cloud.google.com/monitoring/api/v3/filters) that identifies - the metric types, resources, and projects to query. */ + /* Required. The [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters) that identifies the metric types, resources, and projects to query. */ Filter string `json:"filter"` /* Ranking based time series filter. */ @@ -546,11 +473,7 @@ type DashboardTimeSeriesQuery struct { // +optional TimeSeriesQueryLanguage *string `json:"timeSeriesQueryLanguage,omitempty"` - /* The unit of data contained in fetched time series. If non-empty, this - unit will override any unit that accompanies fetched data. The format is - the same as the - [`unit`](https://cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.metricDescriptors) - field in `MetricDescriptor`. */ + /* The unit of data contained in fetched time series. If non-empty, this unit will override any unit that accompanies fetched data. The format is the same as the [`unit`](https://cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.metricDescriptors) field in `MetricDescriptor`. */ // +optional UnitOverride *string `json:"unitOverride,omitempty"` } @@ -629,11 +552,7 @@ type DashboardXyChart struct { // +optional Thresholds []DashboardThresholds `json:"thresholds,omitempty"` - /* The duration used to display a comparison chart. A comparison chart - simultaneously shows values from two similar-length time periods - (e.g., week-over-week metrics). - The duration must be positive, and it can only be applied to charts with - data sets of LINE plot type. */ + /* The duration used to display a comparison chart. A comparison chart simultaneously shows values from two similar-length time periods (e.g., week-over-week metrics). The duration must be positive, and it can only be applied to charts with data sets of LINE plot type. */ // +optional TimeshiftDuration *string `json:"timeshiftDuration,omitempty"` @@ -657,21 +576,18 @@ type DashboardYAxis struct { } type MonitoringDashboardSpec struct { - /* The content is divided into equally spaced columns and the widgets are - arranged vertically. */ + /* The content is divided into equally spaced columns and the widgets are arranged vertically. */ // +optional ColumnLayout *DashboardColumnLayout `json:"columnLayout,omitempty"` /* Required. The mutable, human-readable name. */ DisplayName string `json:"displayName"` - /* Content is arranged with a basic layout that re-flows a simple list of - informational elements like widgets or tiles. */ + /* Content is arranged with a basic layout that re-flows a simple list of informational elements like widgets or tiles. */ // +optional GridLayout *DashboardGridLayout `json:"gridLayout,omitempty"` - /* The content is arranged as a grid of tiles, with each content widget - occupying one or more grid blocks. */ + /* The content is arranged as a grid of tiles, with each content widget occupying one or more grid blocks. */ // +optional MosaicLayout *DashboardMosaicLayout `json:"mosaicLayout,omitempty"` @@ -682,8 +598,7 @@ type MonitoringDashboardSpec struct { // +optional ResourceID *string `json:"resourceID,omitempty"` - /* The content is divided into equally spaced rows and the widgets are - arranged horizontally. */ + /* The content is divided into equally spaced rows and the widgets are arranged horizontally. */ // +optional RowLayout *DashboardRowLayout `json:"rowLayout,omitempty"` } diff --git a/pkg/controller/direct/apikeys/apikeyskey_controller.go b/pkg/controller/direct/apikeys/apikeyskey_controller.go index 331442093e..ac6b228151 100644 --- a/pkg/controller/direct/apikeys/apikeyskey_controller.go +++ b/pkg/controller/direct/apikeys/apikeyskey_controller.go @@ -54,7 +54,7 @@ var _ directbase.Model = &model{} var keyMapping = NewMapping(&pb.Key{}, &krm.APIKeysKey{}, Spec("displayName"), Spec("restrictions"), - Status("uid"), + // Status("uid"), Ignore("createTime"), Ignore("updateTime"), Ignore("deleteTime"), diff --git a/scripts/crd-tools/cmd/reflowdescriptions/reflowdescriptions.go b/scripts/crd-tools/cmd/reflowdescriptions/reflowdescriptions.go new file mode 100644 index 0000000000..a26a8f4be1 --- /dev/null +++ b/scripts/crd-tools/cmd/reflowdescriptions/reflowdescriptions.go @@ -0,0 +1,146 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +package reflowdescriptions + +import ( + "context" + "errors" + "fmt" + "strings" + + "github.com/GoogleCloudPlatform/k8s-config-connector/scripts/crd-tools/pkg/objectvisitor" + "github.com/spf13/cobra" + "k8s.io/apimachinery/pkg/apis/meta/v1/unstructured" +) + +func AddCommand(parent *cobra.Command) { + var opt Options + cmd := &cobra.Command{ + Use: "reflow-descriptions", + Short: "Reflow descriptions in objects to match the format previously generated.", + RunE: func(cmd *cobra.Command, args []string) error { + return Run(cmd.Context(), opt) + }, + } + cmd.Flags().StringVar(&opt.Dir, "dir", "", "Directory to process") + parent.AddCommand(cmd) +} + +type Options struct { + Dir string +} + +func (o *Options) Validate() error { + if o.Dir == "" { + return fmt.Errorf("--dir is required") + } + return nil +} + +func (o *Options) InitDefaults() { + o.Dir = "" +} + +type visitor struct { + errors []error +} + +func (v *visitor) VisitObject(crd *unstructured.Unstructured) error { + v.visitMap(crd.Object) + return errors.Join(v.errors...) +} + +func (v *visitor) visitMap(m map[string]any) map[string]any { + for k, val := range m { + if k == "description" { + s, ok := val.(string) + if ok { + val = v.visitDescription(s) + } + } + m[k] = v.visitAny(val) + } + return m +} + +func (v *visitor) visitSlice(s []any) []any { + for i, val := range s { + s[i] = v.visitAny(val) + } + return s +} + +func (v *visitor) visitDescription(s string) string { + // Reflow the text to be more similar to what we had before; + // remove line breaks and trim excess white space around those line breaks. + + // However, if the string has a double line break, we assume that + // it is nicely formatted, and try to preserve that. + if strings.Contains(s, "\n\n") { + return s + } + + var out strings.Builder + for { + ix := strings.Index(s, "\n") + if ix == -1 { + out.WriteString(s) + break + } + if ix == 0 { + s = s[1:] + continue + } + if ix == len(s)-1 { + s = s[:ix] + continue + } + head := s[:ix] + tail := s[ix+1:] + + head = strings.TrimSpace(head) + s = strings.TrimSpace(tail) + out.WriteString(head) + out.WriteString(" ") + } + return out.String() +} + +func (v *visitor) visitAny(val any) any { + switch val := val.(type) { + case map[string]any: + return v.visitMap(val) + case []any: + return v.visitSlice(val) + case string: + return val + case bool, int32, int64, float32, float64: + return val + case nil: + return val + default: + v.errors = append(v.errors, fmt.Errorf("unexpected type %T", val)) + return val + } +} + +func Run(ctx context.Context, options Options) error { + if err := options.Validate(); err != nil { + return err + } + + visitor := &visitor{} + return objectvisitor.VisitObjectsInDirectory(ctx, options.Dir, visitor) +} diff --git a/scripts/crd-tools/main.go b/scripts/crd-tools/main.go index d14f415020..a108987f83 100644 --- a/scripts/crd-tools/main.go +++ b/scripts/crd-tools/main.go @@ -24,6 +24,7 @@ import ( "github.com/GoogleCloudPlatform/k8s-config-connector/scripts/crd-tools/cmd/deleteannotation" "github.com/GoogleCloudPlatform/k8s-config-connector/scripts/crd-tools/cmd/deletefield" + "github.com/GoogleCloudPlatform/k8s-config-connector/scripts/crd-tools/cmd/reflowdescriptions" "github.com/GoogleCloudPlatform/k8s-config-connector/scripts/crd-tools/cmd/setannotation" "github.com/GoogleCloudPlatform/k8s-config-connector/scripts/crd-tools/cmd/setfield" "github.com/spf13/cobra" @@ -44,6 +45,7 @@ func run(ctx context.Context) error { deleteannotation.AddCommand(rootCmd) deletefield.AddCommand(rootCmd) + reflowdescriptions.AddCommand(rootCmd) setannotation.AddCommand(rootCmd) setfield.AddCommand(rootCmd) diff --git a/scripts/generate-google3-docs/resource-reference/generated/resource-docs/logging/logginglogmetric.md b/scripts/generate-google3-docs/resource-reference/generated/resource-docs/logging/logginglogmetric.md index e299849090..3e3ff1a48c 100644 --- a/scripts/generate-google3-docs/resource-reference/generated/resource-docs/logging/logginglogmetric.md +++ b/scripts/generate-google3-docs/resource-reference/generated/resource-docs/logging/logginglogmetric.md @@ -300,12 +300,7 @@ valueExtractor: string

object

-

{% verbatim %}The reference to the Log Bucket that owns -the Log Metric. Only Log Buckets in projects are supported. The -bucket has to be in the same project as the metric. For -example:projects/my-project/locations/global/buckets/my-bucket -If empty, then the Log Metric is considered a non-Bucket Log Metric. -Only `external` field is supported to configure the reference for now.{% endverbatim %}

+

{% verbatim %}The reference to the Log Bucket that owns the Log Metric. Only Log Buckets in projects are supported. The bucket has to be in the same project as the metric. For example:projects/my-project/locations/global/buckets/my-bucket If empty, then the Log Metric is considered a non-Bucket Log Metric. Only `external` field is supported to configure the reference for now.{% endverbatim %}

@@ -594,8 +589,7 @@ updateTime: string conditions

list (object)

-

{% verbatim %}Conditions represent the latest available observations of the -LoggingLogMetric's current state.{% endverbatim %}

+

{% verbatim %}Conditions represent the latest available observations of the LoggingLogMetric's current state.{% endverbatim %}

@@ -623,8 +617,7 @@ LoggingLogMetric's current state.{% endverbatim %}

conditions[].reason

string

-

{% verbatim %}Unique, one-word, CamelCase reason for the condition's last -transition.{% endverbatim %}

+

{% verbatim %}Unique, one-word, CamelCase reason for the condition's last transition.{% endverbatim %}

diff --git a/scripts/generate-google3-docs/resource-reference/generated/resource-docs/monitoring/monitoringdashboard.md b/scripts/generate-google3-docs/resource-reference/generated/resource-docs/monitoring/monitoringdashboard.md index 804a63d59a..16b687b46b 100644 --- a/scripts/generate-google3-docs/resource-reference/generated/resource-docs/monitoring/monitoringdashboard.md +++ b/scripts/generate-google3-docs/resource-reference/generated/resource-docs/monitoring/monitoringdashboard.md @@ -675,8 +675,7 @@ rowLayout:

object

-

{% verbatim %}The content is divided into equally spaced columns and the widgets are - arranged vertically.{% endverbatim %}

+

{% verbatim %}The content is divided into equally spaced columns and the widgets are arranged vertically.{% endverbatim %}

@@ -706,10 +705,7 @@ rowLayout:

integer

-

{% verbatim %}The relative weight of this column. The column weight is used to adjust - the width of columns on the screen (relative to peers). - Greater the weight, greater the width of the column on the screen. - If omitted, a value of 1 is used while rendering.{% endverbatim %}

+

{% verbatim %}The relative weight of this column. The column weight is used to adjust the width of columns on the screen (relative to peers). Greater the weight, greater the width of the column on the screen. If omitted, a value of 1 is used while rendering.{% endverbatim %}

@@ -759,10 +755,7 @@ rowLayout:

string

-

{% verbatim %}A filter that chooses which log entries to return. See [Advanced Logs - Queries](https://cloud.google.com/logging/docs/view/advanced-queries). - Only log entries that match the filter are returned. An empty filter - matches all log entries.{% endverbatim %}

+

{% verbatim %}A filter that chooses which log entries to return. See [Advanced Logs Queries](https://cloud.google.com/logging/docs/view/advanced-queries). Only log entries that match the filter are returned. An empty filter matches all log entries.{% endverbatim %}

@@ -772,8 +765,7 @@ rowLayout:

list (object)

-

{% verbatim %}The names of logging resources to collect logs for. Currently only projects - are supported. If empty, the widget will default to the host project.{% endverbatim %}

+

{% verbatim %}The names of logging resources to collect logs for. Currently only projects are supported. If empty, the widget will default to the host project.{% endverbatim %}

@@ -853,8 +845,7 @@ rowLayout:

float

-

{% verbatim %}The lower bound for this gauge chart. The value of the chart should - always be greater than or equal to this.{% endverbatim %}

+

{% verbatim %}The lower bound for this gauge chart. The value of the chart should always be greater than or equal to this.{% endverbatim %}

@@ -864,8 +855,7 @@ rowLayout:

float

-

{% verbatim %}The upper bound for this gauge chart. The value of the chart should - always be less than or equal to this.{% endverbatim %}

+

{% verbatim %}The upper bound for this gauge chart. The value of the chart should always be less than or equal to this.{% endverbatim %}

@@ -885,11 +875,7 @@ rowLayout:

string

-

{% verbatim %}The lower bound on data point frequency in the chart implemented by - specifying the minimum alignment period to use in a time series query. - For example, if the data is published once every 10 minutes it would not - make sense to fetch and align data at one minute intervals. This field is - optional and exists only as a hint.{% endverbatim %}

+

{% verbatim %}The lower bound on data point frequency in the chart implemented by specifying the minimum alignment period to use in a time series query. For example, if the data is published once every 10 minutes it would not make sense to fetch and align data at one minute intervals. This field is optional and exists only as a hint.{% endverbatim %}

@@ -979,8 +965,7 @@ rowLayout:

string

-

{% verbatim %}The direction for the current threshold. Direction is not allowed in a - XyChart.{% endverbatim %}

+

{% verbatim %}The direction for the current threshold. Direction is not allowed in a XyChart.{% endverbatim %}

@@ -1000,8 +985,7 @@ rowLayout:

float

-

{% verbatim %}The value of the threshold. The value should be defined in the native scale - of the metric.{% endverbatim %}

+

{% verbatim %}The value of the threshold. The value should be defined in the native scale of the metric.{% endverbatim %}

@@ -1011,8 +995,7 @@ rowLayout:

object

-

{% verbatim %}Required. Fields for querying time series data from the - Stackdriver metrics API.{% endverbatim %}

+

{% verbatim %}Required. Fields for querying time series data from the Stackdriver metrics API.{% endverbatim %}

@@ -1032,9 +1015,7 @@ rowLayout:

object

-

{% verbatim %}By default, the raw time series data is returned. - Use this field to combine multiple time series for different views of the - data.{% endverbatim %}

+

{% verbatim %}By default, the raw time series data is returned. Use this field to combine multiple time series for different views of the data.{% endverbatim %}

@@ -1092,20 +1073,7 @@ rowLayout:

list (string)

-

{% verbatim %}The set of fields to preserve when `cross_series_reducer` is - specified. The `group_by_fields` determine how the time series are - partitioned into subsets prior to applying the aggregation - operation. Each subset contains time series that have the same - value for each of the grouping fields. Each individual time - series is a member of exactly one subset. The - `cross_series_reducer` is applied to each subset of time series. - It is not possible to reduce across different resource types, so - this field implicitly contains `resource.type`. Fields not - specified in `group_by_fields` are aggregated away. If - `group_by_fields` is not specified and all the time series have - the same resource type, then the time series are aggregated into - a single output time series. If `cross_series_reducer` is not - defined, this field is ignored.{% endverbatim %}

+

{% verbatim %}The set of fields to preserve when `cross_series_reducer` is specified. The `group_by_fields` determine how the time series are partitioned into subsets prior to applying the aggregation operation. Each subset contains time series that have the same value for each of the grouping fields. Each individual time series is a member of exactly one subset. The `cross_series_reducer` is applied to each subset of time series. It is not possible to reduce across different resource types, so this field implicitly contains `resource.type`. Fields not specified in `group_by_fields` are aggregated away. If `group_by_fields` is not specified and all the time series have the same resource type, then the time series are aggregated into a single output time series. If `cross_series_reducer` is not defined, this field is ignored.{% endverbatim %}

@@ -1152,9 +1120,7 @@ rowLayout:

string

-

{% verbatim %}Required. The [monitoring - filter](https://cloud.google.com/monitoring/api/v3/filters) that identifies - the metric types, resources, and projects to query.{% endverbatim %}

+

{% verbatim %}Required. The [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters) that identifies the metric types, resources, and projects to query.{% endverbatim %}

@@ -1194,9 +1160,7 @@ rowLayout:

string

-

{% verbatim %}`ranking_method` is applied to each time series independently to produce - the value which will be used to compare the time series to other time - series.{% endverbatim %}

+

{% verbatim %}`ranking_method` is applied to each time series independently to produce the value which will be used to compare the time series to other time series.{% endverbatim %}

@@ -1264,20 +1228,7 @@ rowLayout:

list (string)

-

{% verbatim %}The set of fields to preserve when `cross_series_reducer` is - specified. The `group_by_fields` determine how the time series are - partitioned into subsets prior to applying the aggregation - operation. Each subset contains time series that have the same - value for each of the grouping fields. Each individual time - series is a member of exactly one subset. The - `cross_series_reducer` is applied to each subset of time series. - It is not possible to reduce across different resource types, so - this field implicitly contains `resource.type`. Fields not - specified in `group_by_fields` are aggregated away. If - `group_by_fields` is not specified and all the time series have - the same resource type, then the time series are aggregated into - a single output time series. If `cross_series_reducer` is not - defined, this field is ignored.{% endverbatim %}

+

{% verbatim %}The set of fields to preserve when `cross_series_reducer` is specified. The `group_by_fields` determine how the time series are partitioned into subsets prior to applying the aggregation operation. Each subset contains time series that have the same value for each of the grouping fields. Each individual time series is a member of exactly one subset. The `cross_series_reducer` is applied to each subset of time series. It is not possible to reduce across different resource types, so this field implicitly contains `resource.type`. Fields not specified in `group_by_fields` are aggregated away. If `group_by_fields` is not specified and all the time series have the same resource type, then the time series are aggregated into a single output time series. If `cross_series_reducer` is not defined, this field is ignored.{% endverbatim %}

@@ -1344,9 +1295,7 @@ rowLayout:

object

-

{% verbatim %}By default, the raw time series data is returned. - Use this field to combine multiple time series for different views of the - data.{% endverbatim %}

+

{% verbatim %}By default, the raw time series data is returned. Use this field to combine multiple time series for different views of the data.{% endverbatim %}

@@ -1404,20 +1353,7 @@ rowLayout:

list (string)

-

{% verbatim %}The set of fields to preserve when `cross_series_reducer` is - specified. The `group_by_fields` determine how the time series are - partitioned into subsets prior to applying the aggregation - operation. Each subset contains time series that have the same - value for each of the grouping fields. Each individual time - series is a member of exactly one subset. The - `cross_series_reducer` is applied to each subset of time series. - It is not possible to reduce across different resource types, so - this field implicitly contains `resource.type`. Fields not - specified in `group_by_fields` are aggregated away. If - `group_by_fields` is not specified and all the time series have - the same resource type, then the time series are aggregated into - a single output time series. If `cross_series_reducer` is not - defined, this field is ignored.{% endverbatim %}

+

{% verbatim %}The set of fields to preserve when `cross_series_reducer` is specified. The `group_by_fields` determine how the time series are partitioned into subsets prior to applying the aggregation operation. Each subset contains time series that have the same value for each of the grouping fields. Each individual time series is a member of exactly one subset. The `cross_series_reducer` is applied to each subset of time series. It is not possible to reduce across different resource types, so this field implicitly contains `resource.type`. Fields not specified in `group_by_fields` are aggregated away. If `group_by_fields` is not specified and all the time series have the same resource type, then the time series are aggregated into a single output time series. If `cross_series_reducer` is not defined, this field is ignored.{% endverbatim %}

@@ -1464,9 +1400,7 @@ rowLayout:

string

-

{% verbatim %}Required. The [monitoring - filter](https://cloud.google.com/monitoring/api/v3/filters) that - identifies the metric types, resources, and projects to query.{% endverbatim %}

+

{% verbatim %}Required. The [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters) that identifies the metric types, resources, and projects to query.{% endverbatim %}

@@ -1486,9 +1420,7 @@ rowLayout:

object

-

{% verbatim %}By default, the raw time series data is returned. - Use this field to combine multiple time series for different views of the - data.{% endverbatim %}

+

{% verbatim %}By default, the raw time series data is returned. Use this field to combine multiple time series for different views of the data.{% endverbatim %}

@@ -1546,20 +1478,7 @@ rowLayout:

list (string)

-

{% verbatim %}The set of fields to preserve when `cross_series_reducer` is - specified. The `group_by_fields` determine how the time series are - partitioned into subsets prior to applying the aggregation - operation. Each subset contains time series that have the same - value for each of the grouping fields. Each individual time - series is a member of exactly one subset. The - `cross_series_reducer` is applied to each subset of time series. - It is not possible to reduce across different resource types, so - this field implicitly contains `resource.type`. Fields not - specified in `group_by_fields` are aggregated away. If - `group_by_fields` is not specified and all the time series have - the same resource type, then the time series are aggregated into - a single output time series. If `cross_series_reducer` is not - defined, this field is ignored.{% endverbatim %}

+

{% verbatim %}The set of fields to preserve when `cross_series_reducer` is specified. The `group_by_fields` determine how the time series are partitioned into subsets prior to applying the aggregation operation. Each subset contains time series that have the same value for each of the grouping fields. Each individual time series is a member of exactly one subset. The `cross_series_reducer` is applied to each subset of time series. It is not possible to reduce across different resource types, so this field implicitly contains `resource.type`. Fields not specified in `group_by_fields` are aggregated away. If `group_by_fields` is not specified and all the time series have the same resource type, then the time series are aggregated into a single output time series. If `cross_series_reducer` is not defined, this field is ignored.{% endverbatim %}

@@ -1606,9 +1525,7 @@ rowLayout:

string

-

{% verbatim %}Required. The [monitoring - filter](https://cloud.google.com/monitoring/api/v3/filters) that - identifies the metric types, resources, and projects to query.{% endverbatim %}

+

{% verbatim %}Required. The [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters) that identifies the metric types, resources, and projects to query.{% endverbatim %}

@@ -1648,9 +1565,7 @@ rowLayout:

string

-

{% verbatim %}`ranking_method` is applied to each time series independently to produce - the value which will be used to compare the time series to other time - series.{% endverbatim %}

+

{% verbatim %}`ranking_method` is applied to each time series independently to produce the value which will be used to compare the time series to other time series.{% endverbatim %}

@@ -1718,20 +1633,7 @@ rowLayout:

list (string)

-

{% verbatim %}The set of fields to preserve when `cross_series_reducer` is - specified. The `group_by_fields` determine how the time series are - partitioned into subsets prior to applying the aggregation - operation. Each subset contains time series that have the same - value for each of the grouping fields. Each individual time - series is a member of exactly one subset. The - `cross_series_reducer` is applied to each subset of time series. - It is not possible to reduce across different resource types, so - this field implicitly contains `resource.type`. Fields not - specified in `group_by_fields` are aggregated away. If - `group_by_fields` is not specified and all the time series have - the same resource type, then the time series are aggregated into - a single output time series. If `cross_series_reducer` is not - defined, this field is ignored.{% endverbatim %}

+

{% verbatim %}The set of fields to preserve when `cross_series_reducer` is specified. The `group_by_fields` determine how the time series are partitioned into subsets prior to applying the aggregation operation. Each subset contains time series that have the same value for each of the grouping fields. Each individual time series is a member of exactly one subset. The `cross_series_reducer` is applied to each subset of time series. It is not possible to reduce across different resource types, so this field implicitly contains `resource.type`. Fields not specified in `group_by_fields` are aggregated away. If `group_by_fields` is not specified and all the time series have the same resource type, then the time series are aggregated into a single output time series. If `cross_series_reducer` is not defined, this field is ignored.{% endverbatim %}

@@ -1788,11 +1690,7 @@ rowLayout:

string

-

{% verbatim %}The unit of data contained in fetched time series. If non-empty, this - unit will override any unit that accompanies fetched data. The format is - the same as the - [`unit`](https://cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.metricDescriptors) - field in `MetricDescriptor`.{% endverbatim %}

+

{% verbatim %}The unit of data contained in fetched time series. If non-empty, this unit will override any unit that accompanies fetched data. The format is the same as the [`unit`](https://cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.metricDescriptors) field in `MetricDescriptor`.{% endverbatim %}

@@ -1892,9 +1790,7 @@ rowLayout:

string

-

{% verbatim %}A template string for naming `TimeSeries` in the resulting data set. - This should be a string with interpolations of the form `${label_name}`, - which will resolve to the label's value.{% endverbatim %}

+

{% verbatim %}A template string for naming `TimeSeries` in the resulting data set. This should be a string with interpolations of the form `${label_name}`, which will resolve to the label's value.{% endverbatim %}

@@ -1904,11 +1800,7 @@ rowLayout:

string

-

{% verbatim %}Optional. The lower bound on data point frequency for this data set, - implemented by specifying the minimum alignment period to use in a time - series query For example, if the data is published once every 10 minutes, - the `min_alignment_period` should be at least 10 minutes. It would not - make sense to fetch and align data at one minute intervals.{% endverbatim %}

+

{% verbatim %}Optional. The lower bound on data point frequency for this data set, implemented by specifying the minimum alignment period to use in a time series query For example, if the data is published once every 10 minutes, the `min_alignment_period` should be at least 10 minutes. It would not make sense to fetch and align data at one minute intervals.{% endverbatim %}

@@ -1928,8 +1820,7 @@ rowLayout:

object

-

{% verbatim %}Required. Fields for querying time series data from the - Stackdriver metrics API.{% endverbatim %}

+

{% verbatim %}Required. Fields for querying time series data from the Stackdriver metrics API.{% endverbatim %}

@@ -1949,9 +1840,7 @@ rowLayout:

object

-

{% verbatim %}By default, the raw time series data is returned. - Use this field to combine multiple time series for different views of the - data.{% endverbatim %}

+

{% verbatim %}By default, the raw time series data is returned. Use this field to combine multiple time series for different views of the data.{% endverbatim %}

@@ -2009,20 +1898,7 @@ rowLayout:

list (string)

-

{% verbatim %}The set of fields to preserve when `cross_series_reducer` is - specified. The `group_by_fields` determine how the time series are - partitioned into subsets prior to applying the aggregation - operation. Each subset contains time series that have the same - value for each of the grouping fields. Each individual time - series is a member of exactly one subset. The - `cross_series_reducer` is applied to each subset of time series. - It is not possible to reduce across different resource types, so - this field implicitly contains `resource.type`. Fields not - specified in `group_by_fields` are aggregated away. If - `group_by_fields` is not specified and all the time series have - the same resource type, then the time series are aggregated into - a single output time series. If `cross_series_reducer` is not - defined, this field is ignored.{% endverbatim %}

+

{% verbatim %}The set of fields to preserve when `cross_series_reducer` is specified. The `group_by_fields` determine how the time series are partitioned into subsets prior to applying the aggregation operation. Each subset contains time series that have the same value for each of the grouping fields. Each individual time series is a member of exactly one subset. The `cross_series_reducer` is applied to each subset of time series. It is not possible to reduce across different resource types, so this field implicitly contains `resource.type`. Fields not specified in `group_by_fields` are aggregated away. If `group_by_fields` is not specified and all the time series have the same resource type, then the time series are aggregated into a single output time series. If `cross_series_reducer` is not defined, this field is ignored.{% endverbatim %}

@@ -2069,9 +1945,7 @@ rowLayout:

string

-

{% verbatim %}Required. The [monitoring - filter](https://cloud.google.com/monitoring/api/v3/filters) that identifies - the metric types, resources, and projects to query.{% endverbatim %}

+

{% verbatim %}Required. The [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters) that identifies the metric types, resources, and projects to query.{% endverbatim %}

@@ -2111,9 +1985,7 @@ rowLayout:

string

-

{% verbatim %}`ranking_method` is applied to each time series independently to produce - the value which will be used to compare the time series to other time - series.{% endverbatim %}

+

{% verbatim %}`ranking_method` is applied to each time series independently to produce the value which will be used to compare the time series to other time series.{% endverbatim %}

@@ -2181,20 +2053,7 @@ rowLayout:

list (string)

-

{% verbatim %}The set of fields to preserve when `cross_series_reducer` is - specified. The `group_by_fields` determine how the time series are - partitioned into subsets prior to applying the aggregation - operation. Each subset contains time series that have the same - value for each of the grouping fields. Each individual time - series is a member of exactly one subset. The - `cross_series_reducer` is applied to each subset of time series. - It is not possible to reduce across different resource types, so - this field implicitly contains `resource.type`. Fields not - specified in `group_by_fields` are aggregated away. If - `group_by_fields` is not specified and all the time series have - the same resource type, then the time series are aggregated into - a single output time series. If `cross_series_reducer` is not - defined, this field is ignored.{% endverbatim %}

+

{% verbatim %}The set of fields to preserve when `cross_series_reducer` is specified. The `group_by_fields` determine how the time series are partitioned into subsets prior to applying the aggregation operation. Each subset contains time series that have the same value for each of the grouping fields. Each individual time series is a member of exactly one subset. The `cross_series_reducer` is applied to each subset of time series. It is not possible to reduce across different resource types, so this field implicitly contains `resource.type`. Fields not specified in `group_by_fields` are aggregated away. If `group_by_fields` is not specified and all the time series have the same resource type, then the time series are aggregated into a single output time series. If `cross_series_reducer` is not defined, this field is ignored.{% endverbatim %}

@@ -2261,9 +2120,7 @@ rowLayout:

object

-

{% verbatim %}By default, the raw time series data is returned. - Use this field to combine multiple time series for different views of the - data.{% endverbatim %}

+

{% verbatim %}By default, the raw time series data is returned. Use this field to combine multiple time series for different views of the data.{% endverbatim %}

@@ -2321,20 +2178,7 @@ rowLayout:

list (string)

-

{% verbatim %}The set of fields to preserve when `cross_series_reducer` is - specified. The `group_by_fields` determine how the time series are - partitioned into subsets prior to applying the aggregation - operation. Each subset contains time series that have the same - value for each of the grouping fields. Each individual time - series is a member of exactly one subset. The - `cross_series_reducer` is applied to each subset of time series. - It is not possible to reduce across different resource types, so - this field implicitly contains `resource.type`. Fields not - specified in `group_by_fields` are aggregated away. If - `group_by_fields` is not specified and all the time series have - the same resource type, then the time series are aggregated into - a single output time series. If `cross_series_reducer` is not - defined, this field is ignored.{% endverbatim %}

+

{% verbatim %}The set of fields to preserve when `cross_series_reducer` is specified. The `group_by_fields` determine how the time series are partitioned into subsets prior to applying the aggregation operation. Each subset contains time series that have the same value for each of the grouping fields. Each individual time series is a member of exactly one subset. The `cross_series_reducer` is applied to each subset of time series. It is not possible to reduce across different resource types, so this field implicitly contains `resource.type`. Fields not specified in `group_by_fields` are aggregated away. If `group_by_fields` is not specified and all the time series have the same resource type, then the time series are aggregated into a single output time series. If `cross_series_reducer` is not defined, this field is ignored.{% endverbatim %}

@@ -2381,9 +2225,7 @@ rowLayout:

string

-

{% verbatim %}Required. The [monitoring - filter](https://cloud.google.com/monitoring/api/v3/filters) that - identifies the metric types, resources, and projects to query.{% endverbatim %}

+

{% verbatim %}Required. The [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters) that identifies the metric types, resources, and projects to query.{% endverbatim %}

@@ -2403,9 +2245,7 @@ rowLayout:

object

-

{% verbatim %}By default, the raw time series data is returned. - Use this field to combine multiple time series for different views of the - data.{% endverbatim %}

+

{% verbatim %}By default, the raw time series data is returned. Use this field to combine multiple time series for different views of the data.{% endverbatim %}

@@ -2463,20 +2303,7 @@ rowLayout:

list (string)

-

{% verbatim %}The set of fields to preserve when `cross_series_reducer` is - specified. The `group_by_fields` determine how the time series are - partitioned into subsets prior to applying the aggregation - operation. Each subset contains time series that have the same - value for each of the grouping fields. Each individual time - series is a member of exactly one subset. The - `cross_series_reducer` is applied to each subset of time series. - It is not possible to reduce across different resource types, so - this field implicitly contains `resource.type`. Fields not - specified in `group_by_fields` are aggregated away. If - `group_by_fields` is not specified and all the time series have - the same resource type, then the time series are aggregated into - a single output time series. If `cross_series_reducer` is not - defined, this field is ignored.{% endverbatim %}

+

{% verbatim %}The set of fields to preserve when `cross_series_reducer` is specified. The `group_by_fields` determine how the time series are partitioned into subsets prior to applying the aggregation operation. Each subset contains time series that have the same value for each of the grouping fields. Each individual time series is a member of exactly one subset. The `cross_series_reducer` is applied to each subset of time series. It is not possible to reduce across different resource types, so this field implicitly contains `resource.type`. Fields not specified in `group_by_fields` are aggregated away. If `group_by_fields` is not specified and all the time series have the same resource type, then the time series are aggregated into a single output time series. If `cross_series_reducer` is not defined, this field is ignored.{% endverbatim %}

@@ -2523,9 +2350,7 @@ rowLayout:

string

-

{% verbatim %}Required. The [monitoring - filter](https://cloud.google.com/monitoring/api/v3/filters) that - identifies the metric types, resources, and projects to query.{% endverbatim %}

+

{% verbatim %}Required. The [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters) that identifies the metric types, resources, and projects to query.{% endverbatim %}

@@ -2565,9 +2390,7 @@ rowLayout:

string

-

{% verbatim %}`ranking_method` is applied to each time series independently to produce - the value which will be used to compare the time series to other time - series.{% endverbatim %}

+

{% verbatim %}`ranking_method` is applied to each time series independently to produce the value which will be used to compare the time series to other time series.{% endverbatim %}

@@ -2635,20 +2458,7 @@ rowLayout:

list (string)

-

{% verbatim %}The set of fields to preserve when `cross_series_reducer` is - specified. The `group_by_fields` determine how the time series are - partitioned into subsets prior to applying the aggregation - operation. Each subset contains time series that have the same - value for each of the grouping fields. Each individual time - series is a member of exactly one subset. The - `cross_series_reducer` is applied to each subset of time series. - It is not possible to reduce across different resource types, so - this field implicitly contains `resource.type`. Fields not - specified in `group_by_fields` are aggregated away. If - `group_by_fields` is not specified and all the time series have - the same resource type, then the time series are aggregated into - a single output time series. If `cross_series_reducer` is not - defined, this field is ignored.{% endverbatim %}

+

{% verbatim %}The set of fields to preserve when `cross_series_reducer` is specified. The `group_by_fields` determine how the time series are partitioned into subsets prior to applying the aggregation operation. Each subset contains time series that have the same value for each of the grouping fields. Each individual time series is a member of exactly one subset. The `cross_series_reducer` is applied to each subset of time series. It is not possible to reduce across different resource types, so this field implicitly contains `resource.type`. Fields not specified in `group_by_fields` are aggregated away. If `group_by_fields` is not specified and all the time series have the same resource type, then the time series are aggregated into a single output time series. If `cross_series_reducer` is not defined, this field is ignored.{% endverbatim %}

@@ -2705,11 +2515,7 @@ rowLayout:

string

-

{% verbatim %}The unit of data contained in fetched time series. If non-empty, this - unit will override any unit that accompanies fetched data. The format is - the same as the - [`unit`](https://cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.metricDescriptors) - field in `MetricDescriptor`.{% endverbatim %}

+

{% verbatim %}The unit of data contained in fetched time series. If non-empty, this unit will override any unit that accompanies fetched data. The format is the same as the [`unit`](https://cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.metricDescriptors) field in `MetricDescriptor`.{% endverbatim %}

@@ -2749,8 +2555,7 @@ rowLayout:

string

-

{% verbatim %}The direction for the current threshold. Direction is not allowed in a - XyChart.{% endverbatim %}

+

{% verbatim %}The direction for the current threshold. Direction is not allowed in a XyChart.{% endverbatim %}

@@ -2770,8 +2575,7 @@ rowLayout:

float

-

{% verbatim %}The value of the threshold. The value should be defined in the native scale - of the metric.{% endverbatim %}

+

{% verbatim %}The value of the threshold. The value should be defined in the native scale of the metric.{% endverbatim %}

@@ -2781,11 +2585,7 @@ rowLayout:

string

-

{% verbatim %}The duration used to display a comparison chart. A comparison chart - simultaneously shows values from two similar-length time periods - (e.g., week-over-week metrics). - The duration must be positive, and it can only be applied to charts with - data sets of LINE plot type.{% endverbatim %}

+

{% verbatim %}The duration used to display a comparison chart. A comparison chart simultaneously shows values from two similar-length time periods (e.g., week-over-week metrics). The duration must be positive, and it can only be applied to charts with data sets of LINE plot type.{% endverbatim %}

@@ -2865,8 +2665,7 @@ rowLayout:

object

-

{% verbatim %}Content is arranged with a basic layout that re-flows a simple list of - informational elements like widgets or tiles.{% endverbatim %}

+

{% verbatim %}Content is arranged with a basic layout that re-flows a simple list of informational elements like widgets or tiles.{% endverbatim %}

@@ -2876,8 +2675,7 @@ rowLayout:

integer

-

{% verbatim %}The number of columns into which the view's width is divided. If omitted - or set to zero, a system default will be used while rendering.{% endverbatim %}

+

{% verbatim %}The number of columns into which the view's width is divided. If omitted or set to zero, a system default will be used while rendering.{% endverbatim %}

@@ -2927,10 +2725,7 @@ rowLayout:

string

-

{% verbatim %}A filter that chooses which log entries to return. See [Advanced Logs - Queries](https://cloud.google.com/logging/docs/view/advanced-queries). - Only log entries that match the filter are returned. An empty filter - matches all log entries.{% endverbatim %}

+

{% verbatim %}A filter that chooses which log entries to return. See [Advanced Logs Queries](https://cloud.google.com/logging/docs/view/advanced-queries). Only log entries that match the filter are returned. An empty filter matches all log entries.{% endverbatim %}

@@ -2940,8 +2735,7 @@ rowLayout:

list (object)

-

{% verbatim %}The names of logging resources to collect logs for. Currently only projects - are supported. If empty, the widget will default to the host project.{% endverbatim %}

+

{% verbatim %}The names of logging resources to collect logs for. Currently only projects are supported. If empty, the widget will default to the host project.{% endverbatim %}

@@ -3021,8 +2815,7 @@ rowLayout:

float

-

{% verbatim %}The lower bound for this gauge chart. The value of the chart should - always be greater than or equal to this.{% endverbatim %}

+

{% verbatim %}The lower bound for this gauge chart. The value of the chart should always be greater than or equal to this.{% endverbatim %}

@@ -3032,8 +2825,7 @@ rowLayout:

float

-

{% verbatim %}The upper bound for this gauge chart. The value of the chart should - always be less than or equal to this.{% endverbatim %}

+

{% verbatim %}The upper bound for this gauge chart. The value of the chart should always be less than or equal to this.{% endverbatim %}

@@ -3053,11 +2845,7 @@ rowLayout:

string

-

{% verbatim %}The lower bound on data point frequency in the chart implemented by - specifying the minimum alignment period to use in a time series query. - For example, if the data is published once every 10 minutes it would not - make sense to fetch and align data at one minute intervals. This field is - optional and exists only as a hint.{% endverbatim %}

+

{% verbatim %}The lower bound on data point frequency in the chart implemented by specifying the minimum alignment period to use in a time series query. For example, if the data is published once every 10 minutes it would not make sense to fetch and align data at one minute intervals. This field is optional and exists only as a hint.{% endverbatim %}

@@ -3147,8 +2935,7 @@ rowLayout:

string

-

{% verbatim %}The direction for the current threshold. Direction is not allowed in a - XyChart.{% endverbatim %}

+

{% verbatim %}The direction for the current threshold. Direction is not allowed in a XyChart.{% endverbatim %}

@@ -3168,8 +2955,7 @@ rowLayout:

float

-

{% verbatim %}The value of the threshold. The value should be defined in the native scale - of the metric.{% endverbatim %}

+

{% verbatim %}The value of the threshold. The value should be defined in the native scale of the metric.{% endverbatim %}

@@ -3179,8 +2965,7 @@ rowLayout:

object

-

{% verbatim %}Required. Fields for querying time series data from the - Stackdriver metrics API.{% endverbatim %}

+

{% verbatim %}Required. Fields for querying time series data from the Stackdriver metrics API.{% endverbatim %}

@@ -3200,9 +2985,7 @@ rowLayout:

object

-

{% verbatim %}By default, the raw time series data is returned. - Use this field to combine multiple time series for different views of the - data.{% endverbatim %}

+

{% verbatim %}By default, the raw time series data is returned. Use this field to combine multiple time series for different views of the data.{% endverbatim %}

@@ -3260,20 +3043,7 @@ rowLayout:

list (string)

-

{% verbatim %}The set of fields to preserve when `cross_series_reducer` is - specified. The `group_by_fields` determine how the time series are - partitioned into subsets prior to applying the aggregation - operation. Each subset contains time series that have the same - value for each of the grouping fields. Each individual time - series is a member of exactly one subset. The - `cross_series_reducer` is applied to each subset of time series. - It is not possible to reduce across different resource types, so - this field implicitly contains `resource.type`. Fields not - specified in `group_by_fields` are aggregated away. If - `group_by_fields` is not specified and all the time series have - the same resource type, then the time series are aggregated into - a single output time series. If `cross_series_reducer` is not - defined, this field is ignored.{% endverbatim %}

+

{% verbatim %}The set of fields to preserve when `cross_series_reducer` is specified. The `group_by_fields` determine how the time series are partitioned into subsets prior to applying the aggregation operation. Each subset contains time series that have the same value for each of the grouping fields. Each individual time series is a member of exactly one subset. The `cross_series_reducer` is applied to each subset of time series. It is not possible to reduce across different resource types, so this field implicitly contains `resource.type`. Fields not specified in `group_by_fields` are aggregated away. If `group_by_fields` is not specified and all the time series have the same resource type, then the time series are aggregated into a single output time series. If `cross_series_reducer` is not defined, this field is ignored.{% endverbatim %}

@@ -3320,9 +3090,7 @@ rowLayout:

string

-

{% verbatim %}Required. The [monitoring - filter](https://cloud.google.com/monitoring/api/v3/filters) that identifies - the metric types, resources, and projects to query.{% endverbatim %}

+

{% verbatim %}Required. The [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters) that identifies the metric types, resources, and projects to query.{% endverbatim %}

@@ -3362,9 +3130,7 @@ rowLayout:

string

-

{% verbatim %}`ranking_method` is applied to each time series independently to produce - the value which will be used to compare the time series to other time - series.{% endverbatim %}

+

{% verbatim %}`ranking_method` is applied to each time series independently to produce the value which will be used to compare the time series to other time series.{% endverbatim %}

@@ -3432,20 +3198,7 @@ rowLayout:

list (string)

-

{% verbatim %}The set of fields to preserve when `cross_series_reducer` is - specified. The `group_by_fields` determine how the time series are - partitioned into subsets prior to applying the aggregation - operation. Each subset contains time series that have the same - value for each of the grouping fields. Each individual time - series is a member of exactly one subset. The - `cross_series_reducer` is applied to each subset of time series. - It is not possible to reduce across different resource types, so - this field implicitly contains `resource.type`. Fields not - specified in `group_by_fields` are aggregated away. If - `group_by_fields` is not specified and all the time series have - the same resource type, then the time series are aggregated into - a single output time series. If `cross_series_reducer` is not - defined, this field is ignored.{% endverbatim %}

+

{% verbatim %}The set of fields to preserve when `cross_series_reducer` is specified. The `group_by_fields` determine how the time series are partitioned into subsets prior to applying the aggregation operation. Each subset contains time series that have the same value for each of the grouping fields. Each individual time series is a member of exactly one subset. The `cross_series_reducer` is applied to each subset of time series. It is not possible to reduce across different resource types, so this field implicitly contains `resource.type`. Fields not specified in `group_by_fields` are aggregated away. If `group_by_fields` is not specified and all the time series have the same resource type, then the time series are aggregated into a single output time series. If `cross_series_reducer` is not defined, this field is ignored.{% endverbatim %}

@@ -3512,9 +3265,7 @@ rowLayout:

object

-

{% verbatim %}By default, the raw time series data is returned. - Use this field to combine multiple time series for different views of the - data.{% endverbatim %}

+

{% verbatim %}By default, the raw time series data is returned. Use this field to combine multiple time series for different views of the data.{% endverbatim %}

@@ -3572,20 +3323,7 @@ rowLayout:

list (string)

-

{% verbatim %}The set of fields to preserve when `cross_series_reducer` is - specified. The `group_by_fields` determine how the time series are - partitioned into subsets prior to applying the aggregation - operation. Each subset contains time series that have the same - value for each of the grouping fields. Each individual time - series is a member of exactly one subset. The - `cross_series_reducer` is applied to each subset of time series. - It is not possible to reduce across different resource types, so - this field implicitly contains `resource.type`. Fields not - specified in `group_by_fields` are aggregated away. If - `group_by_fields` is not specified and all the time series have - the same resource type, then the time series are aggregated into - a single output time series. If `cross_series_reducer` is not - defined, this field is ignored.{% endverbatim %}

+

{% verbatim %}The set of fields to preserve when `cross_series_reducer` is specified. The `group_by_fields` determine how the time series are partitioned into subsets prior to applying the aggregation operation. Each subset contains time series that have the same value for each of the grouping fields. Each individual time series is a member of exactly one subset. The `cross_series_reducer` is applied to each subset of time series. It is not possible to reduce across different resource types, so this field implicitly contains `resource.type`. Fields not specified in `group_by_fields` are aggregated away. If `group_by_fields` is not specified and all the time series have the same resource type, then the time series are aggregated into a single output time series. If `cross_series_reducer` is not defined, this field is ignored.{% endverbatim %}

@@ -3632,9 +3370,7 @@ rowLayout:

string

-

{% verbatim %}Required. The [monitoring - filter](https://cloud.google.com/monitoring/api/v3/filters) that - identifies the metric types, resources, and projects to query.{% endverbatim %}

+

{% verbatim %}Required. The [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters) that identifies the metric types, resources, and projects to query.{% endverbatim %}

@@ -3654,9 +3390,7 @@ rowLayout:

object

-

{% verbatim %}By default, the raw time series data is returned. - Use this field to combine multiple time series for different views of the - data.{% endverbatim %}

+

{% verbatim %}By default, the raw time series data is returned. Use this field to combine multiple time series for different views of the data.{% endverbatim %}

@@ -3714,20 +3448,7 @@ rowLayout:

list (string)

-

{% verbatim %}The set of fields to preserve when `cross_series_reducer` is - specified. The `group_by_fields` determine how the time series are - partitioned into subsets prior to applying the aggregation - operation. Each subset contains time series that have the same - value for each of the grouping fields. Each individual time - series is a member of exactly one subset. The - `cross_series_reducer` is applied to each subset of time series. - It is not possible to reduce across different resource types, so - this field implicitly contains `resource.type`. Fields not - specified in `group_by_fields` are aggregated away. If - `group_by_fields` is not specified and all the time series have - the same resource type, then the time series are aggregated into - a single output time series. If `cross_series_reducer` is not - defined, this field is ignored.{% endverbatim %}

+

{% verbatim %}The set of fields to preserve when `cross_series_reducer` is specified. The `group_by_fields` determine how the time series are partitioned into subsets prior to applying the aggregation operation. Each subset contains time series that have the same value for each of the grouping fields. Each individual time series is a member of exactly one subset. The `cross_series_reducer` is applied to each subset of time series. It is not possible to reduce across different resource types, so this field implicitly contains `resource.type`. Fields not specified in `group_by_fields` are aggregated away. If `group_by_fields` is not specified and all the time series have the same resource type, then the time series are aggregated into a single output time series. If `cross_series_reducer` is not defined, this field is ignored.{% endverbatim %}

@@ -3774,9 +3495,7 @@ rowLayout:

string

-

{% verbatim %}Required. The [monitoring - filter](https://cloud.google.com/monitoring/api/v3/filters) that - identifies the metric types, resources, and projects to query.{% endverbatim %}

+

{% verbatim %}Required. The [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters) that identifies the metric types, resources, and projects to query.{% endverbatim %}

@@ -3816,9 +3535,7 @@ rowLayout:

string

-

{% verbatim %}`ranking_method` is applied to each time series independently to produce - the value which will be used to compare the time series to other time - series.{% endverbatim %}

+

{% verbatim %}`ranking_method` is applied to each time series independently to produce the value which will be used to compare the time series to other time series.{% endverbatim %}

@@ -3886,20 +3603,7 @@ rowLayout:

list (string)

-

{% verbatim %}The set of fields to preserve when `cross_series_reducer` is - specified. The `group_by_fields` determine how the time series are - partitioned into subsets prior to applying the aggregation - operation. Each subset contains time series that have the same - value for each of the grouping fields. Each individual time - series is a member of exactly one subset. The - `cross_series_reducer` is applied to each subset of time series. - It is not possible to reduce across different resource types, so - this field implicitly contains `resource.type`. Fields not - specified in `group_by_fields` are aggregated away. If - `group_by_fields` is not specified and all the time series have - the same resource type, then the time series are aggregated into - a single output time series. If `cross_series_reducer` is not - defined, this field is ignored.{% endverbatim %}

+

{% verbatim %}The set of fields to preserve when `cross_series_reducer` is specified. The `group_by_fields` determine how the time series are partitioned into subsets prior to applying the aggregation operation. Each subset contains time series that have the same value for each of the grouping fields. Each individual time series is a member of exactly one subset. The `cross_series_reducer` is applied to each subset of time series. It is not possible to reduce across different resource types, so this field implicitly contains `resource.type`. Fields not specified in `group_by_fields` are aggregated away. If `group_by_fields` is not specified and all the time series have the same resource type, then the time series are aggregated into a single output time series. If `cross_series_reducer` is not defined, this field is ignored.{% endverbatim %}

@@ -3956,11 +3660,7 @@ rowLayout:

string

-

{% verbatim %}The unit of data contained in fetched time series. If non-empty, this - unit will override any unit that accompanies fetched data. The format is - the same as the - [`unit`](https://cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.metricDescriptors) - field in `MetricDescriptor`.{% endverbatim %}

+

{% verbatim %}The unit of data contained in fetched time series. If non-empty, this unit will override any unit that accompanies fetched data. The format is the same as the [`unit`](https://cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.metricDescriptors) field in `MetricDescriptor`.{% endverbatim %}

@@ -4060,9 +3760,7 @@ rowLayout:

string

-

{% verbatim %}A template string for naming `TimeSeries` in the resulting data set. - This should be a string with interpolations of the form `${label_name}`, - which will resolve to the label's value.{% endverbatim %}

+

{% verbatim %}A template string for naming `TimeSeries` in the resulting data set. This should be a string with interpolations of the form `${label_name}`, which will resolve to the label's value.{% endverbatim %}

@@ -4072,11 +3770,7 @@ rowLayout:

string

-

{% verbatim %}Optional. The lower bound on data point frequency for this data set, - implemented by specifying the minimum alignment period to use in a time - series query For example, if the data is published once every 10 minutes, - the `min_alignment_period` should be at least 10 minutes. It would not - make sense to fetch and align data at one minute intervals.{% endverbatim %}

+

{% verbatim %}Optional. The lower bound on data point frequency for this data set, implemented by specifying the minimum alignment period to use in a time series query For example, if the data is published once every 10 minutes, the `min_alignment_period` should be at least 10 minutes. It would not make sense to fetch and align data at one minute intervals.{% endverbatim %}

@@ -4096,8 +3790,7 @@ rowLayout:

object

-

{% verbatim %}Required. Fields for querying time series data from the - Stackdriver metrics API.{% endverbatim %}

+

{% verbatim %}Required. Fields for querying time series data from the Stackdriver metrics API.{% endverbatim %}

@@ -4117,9 +3810,7 @@ rowLayout:

object

-

{% verbatim %}By default, the raw time series data is returned. - Use this field to combine multiple time series for different views of the - data.{% endverbatim %}

+

{% verbatim %}By default, the raw time series data is returned. Use this field to combine multiple time series for different views of the data.{% endverbatim %}

@@ -4177,20 +3868,7 @@ rowLayout:

list (string)

-

{% verbatim %}The set of fields to preserve when `cross_series_reducer` is - specified. The `group_by_fields` determine how the time series are - partitioned into subsets prior to applying the aggregation - operation. Each subset contains time series that have the same - value for each of the grouping fields. Each individual time - series is a member of exactly one subset. The - `cross_series_reducer` is applied to each subset of time series. - It is not possible to reduce across different resource types, so - this field implicitly contains `resource.type`. Fields not - specified in `group_by_fields` are aggregated away. If - `group_by_fields` is not specified and all the time series have - the same resource type, then the time series are aggregated into - a single output time series. If `cross_series_reducer` is not - defined, this field is ignored.{% endverbatim %}

+

{% verbatim %}The set of fields to preserve when `cross_series_reducer` is specified. The `group_by_fields` determine how the time series are partitioned into subsets prior to applying the aggregation operation. Each subset contains time series that have the same value for each of the grouping fields. Each individual time series is a member of exactly one subset. The `cross_series_reducer` is applied to each subset of time series. It is not possible to reduce across different resource types, so this field implicitly contains `resource.type`. Fields not specified in `group_by_fields` are aggregated away. If `group_by_fields` is not specified and all the time series have the same resource type, then the time series are aggregated into a single output time series. If `cross_series_reducer` is not defined, this field is ignored.{% endverbatim %}

@@ -4237,9 +3915,7 @@ rowLayout:

string

-

{% verbatim %}Required. The [monitoring - filter](https://cloud.google.com/monitoring/api/v3/filters) that identifies - the metric types, resources, and projects to query.{% endverbatim %}

+

{% verbatim %}Required. The [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters) that identifies the metric types, resources, and projects to query.{% endverbatim %}

@@ -4279,9 +3955,7 @@ rowLayout:

string

-

{% verbatim %}`ranking_method` is applied to each time series independently to produce - the value which will be used to compare the time series to other time - series.{% endverbatim %}

+

{% verbatim %}`ranking_method` is applied to each time series independently to produce the value which will be used to compare the time series to other time series.{% endverbatim %}

@@ -4349,20 +4023,7 @@ rowLayout:

list (string)

-

{% verbatim %}The set of fields to preserve when `cross_series_reducer` is - specified. The `group_by_fields` determine how the time series are - partitioned into subsets prior to applying the aggregation - operation. Each subset contains time series that have the same - value for each of the grouping fields. Each individual time - series is a member of exactly one subset. The - `cross_series_reducer` is applied to each subset of time series. - It is not possible to reduce across different resource types, so - this field implicitly contains `resource.type`. Fields not - specified in `group_by_fields` are aggregated away. If - `group_by_fields` is not specified and all the time series have - the same resource type, then the time series are aggregated into - a single output time series. If `cross_series_reducer` is not - defined, this field is ignored.{% endverbatim %}

+

{% verbatim %}The set of fields to preserve when `cross_series_reducer` is specified. The `group_by_fields` determine how the time series are partitioned into subsets prior to applying the aggregation operation. Each subset contains time series that have the same value for each of the grouping fields. Each individual time series is a member of exactly one subset. The `cross_series_reducer` is applied to each subset of time series. It is not possible to reduce across different resource types, so this field implicitly contains `resource.type`. Fields not specified in `group_by_fields` are aggregated away. If `group_by_fields` is not specified and all the time series have the same resource type, then the time series are aggregated into a single output time series. If `cross_series_reducer` is not defined, this field is ignored.{% endverbatim %}

@@ -4429,9 +4090,7 @@ rowLayout:

object

-

{% verbatim %}By default, the raw time series data is returned. - Use this field to combine multiple time series for different views of the - data.{% endverbatim %}

+

{% verbatim %}By default, the raw time series data is returned. Use this field to combine multiple time series for different views of the data.{% endverbatim %}

@@ -4489,20 +4148,7 @@ rowLayout:

list (string)

-

{% verbatim %}The set of fields to preserve when `cross_series_reducer` is - specified. The `group_by_fields` determine how the time series are - partitioned into subsets prior to applying the aggregation - operation. Each subset contains time series that have the same - value for each of the grouping fields. Each individual time - series is a member of exactly one subset. The - `cross_series_reducer` is applied to each subset of time series. - It is not possible to reduce across different resource types, so - this field implicitly contains `resource.type`. Fields not - specified in `group_by_fields` are aggregated away. If - `group_by_fields` is not specified and all the time series have - the same resource type, then the time series are aggregated into - a single output time series. If `cross_series_reducer` is not - defined, this field is ignored.{% endverbatim %}

+

{% verbatim %}The set of fields to preserve when `cross_series_reducer` is specified. The `group_by_fields` determine how the time series are partitioned into subsets prior to applying the aggregation operation. Each subset contains time series that have the same value for each of the grouping fields. Each individual time series is a member of exactly one subset. The `cross_series_reducer` is applied to each subset of time series. It is not possible to reduce across different resource types, so this field implicitly contains `resource.type`. Fields not specified in `group_by_fields` are aggregated away. If `group_by_fields` is not specified and all the time series have the same resource type, then the time series are aggregated into a single output time series. If `cross_series_reducer` is not defined, this field is ignored.{% endverbatim %}

@@ -4549,9 +4195,7 @@ rowLayout:

string

-

{% verbatim %}Required. The [monitoring - filter](https://cloud.google.com/monitoring/api/v3/filters) that - identifies the metric types, resources, and projects to query.{% endverbatim %}

+

{% verbatim %}Required. The [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters) that identifies the metric types, resources, and projects to query.{% endverbatim %}

@@ -4571,9 +4215,7 @@ rowLayout:

object

-

{% verbatim %}By default, the raw time series data is returned. - Use this field to combine multiple time series for different views of the - data.{% endverbatim %}

+

{% verbatim %}By default, the raw time series data is returned. Use this field to combine multiple time series for different views of the data.{% endverbatim %}

@@ -4631,20 +4273,7 @@ rowLayout:

list (string)

-

{% verbatim %}The set of fields to preserve when `cross_series_reducer` is - specified. The `group_by_fields` determine how the time series are - partitioned into subsets prior to applying the aggregation - operation. Each subset contains time series that have the same - value for each of the grouping fields. Each individual time - series is a member of exactly one subset. The - `cross_series_reducer` is applied to each subset of time series. - It is not possible to reduce across different resource types, so - this field implicitly contains `resource.type`. Fields not - specified in `group_by_fields` are aggregated away. If - `group_by_fields` is not specified and all the time series have - the same resource type, then the time series are aggregated into - a single output time series. If `cross_series_reducer` is not - defined, this field is ignored.{% endverbatim %}

+

{% verbatim %}The set of fields to preserve when `cross_series_reducer` is specified. The `group_by_fields` determine how the time series are partitioned into subsets prior to applying the aggregation operation. Each subset contains time series that have the same value for each of the grouping fields. Each individual time series is a member of exactly one subset. The `cross_series_reducer` is applied to each subset of time series. It is not possible to reduce across different resource types, so this field implicitly contains `resource.type`. Fields not specified in `group_by_fields` are aggregated away. If `group_by_fields` is not specified and all the time series have the same resource type, then the time series are aggregated into a single output time series. If `cross_series_reducer` is not defined, this field is ignored.{% endverbatim %}

@@ -4691,9 +4320,7 @@ rowLayout:

string

-

{% verbatim %}Required. The [monitoring - filter](https://cloud.google.com/monitoring/api/v3/filters) that - identifies the metric types, resources, and projects to query.{% endverbatim %}

+

{% verbatim %}Required. The [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters) that identifies the metric types, resources, and projects to query.{% endverbatim %}

@@ -4733,9 +4360,7 @@ rowLayout:

string

-

{% verbatim %}`ranking_method` is applied to each time series independently to produce - the value which will be used to compare the time series to other time - series.{% endverbatim %}

+

{% verbatim %}`ranking_method` is applied to each time series independently to produce the value which will be used to compare the time series to other time series.{% endverbatim %}

@@ -4803,20 +4428,7 @@ rowLayout:

list (string)

-

{% verbatim %}The set of fields to preserve when `cross_series_reducer` is - specified. The `group_by_fields` determine how the time series are - partitioned into subsets prior to applying the aggregation - operation. Each subset contains time series that have the same - value for each of the grouping fields. Each individual time - series is a member of exactly one subset. The - `cross_series_reducer` is applied to each subset of time series. - It is not possible to reduce across different resource types, so - this field implicitly contains `resource.type`. Fields not - specified in `group_by_fields` are aggregated away. If - `group_by_fields` is not specified and all the time series have - the same resource type, then the time series are aggregated into - a single output time series. If `cross_series_reducer` is not - defined, this field is ignored.{% endverbatim %}

+

{% verbatim %}The set of fields to preserve when `cross_series_reducer` is specified. The `group_by_fields` determine how the time series are partitioned into subsets prior to applying the aggregation operation. Each subset contains time series that have the same value for each of the grouping fields. Each individual time series is a member of exactly one subset. The `cross_series_reducer` is applied to each subset of time series. It is not possible to reduce across different resource types, so this field implicitly contains `resource.type`. Fields not specified in `group_by_fields` are aggregated away. If `group_by_fields` is not specified and all the time series have the same resource type, then the time series are aggregated into a single output time series. If `cross_series_reducer` is not defined, this field is ignored.{% endverbatim %}

@@ -4873,11 +4485,7 @@ rowLayout:

string

-

{% verbatim %}The unit of data contained in fetched time series. If non-empty, this - unit will override any unit that accompanies fetched data. The format is - the same as the - [`unit`](https://cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.metricDescriptors) - field in `MetricDescriptor`.{% endverbatim %}

+

{% verbatim %}The unit of data contained in fetched time series. If non-empty, this unit will override any unit that accompanies fetched data. The format is the same as the [`unit`](https://cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.metricDescriptors) field in `MetricDescriptor`.{% endverbatim %}

@@ -4917,8 +4525,7 @@ rowLayout:

string

-

{% verbatim %}The direction for the current threshold. Direction is not allowed in a - XyChart.{% endverbatim %}

+

{% verbatim %}The direction for the current threshold. Direction is not allowed in a XyChart.{% endverbatim %}

@@ -4938,8 +4545,7 @@ rowLayout:

float

-

{% verbatim %}The value of the threshold. The value should be defined in the native scale - of the metric.{% endverbatim %}

+

{% verbatim %}The value of the threshold. The value should be defined in the native scale of the metric.{% endverbatim %}

@@ -4949,11 +4555,7 @@ rowLayout:

string

-

{% verbatim %}The duration used to display a comparison chart. A comparison chart - simultaneously shows values from two similar-length time periods - (e.g., week-over-week metrics). - The duration must be positive, and it can only be applied to charts with - data sets of LINE plot type.{% endverbatim %}

+

{% verbatim %}The duration used to display a comparison chart. A comparison chart simultaneously shows values from two similar-length time periods (e.g., week-over-week metrics). The duration must be positive, and it can only be applied to charts with data sets of LINE plot type.{% endverbatim %}

@@ -5023,8 +4625,7 @@ rowLayout:

object

-

{% verbatim %}The content is arranged as a grid of tiles, with each content widget - occupying one or more grid blocks.{% endverbatim %}

+

{% verbatim %}The content is arranged as a grid of tiles, with each content widget occupying one or more grid blocks.{% endverbatim %}

@@ -5034,8 +4635,7 @@ rowLayout:

integer

-

{% verbatim %}The number of columns in the mosaic grid. The number of columns must be - between 1 and 12, inclusive.{% endverbatim %}

+

{% verbatim %}The number of columns in the mosaic grid. The number of columns must be between 1 and 12, inclusive.{% endverbatim %}

@@ -5065,8 +4665,7 @@ rowLayout:

integer

-

{% verbatim %}The height of the tile, measured in grid blocks. Tiles must have a - minimum height of 1.{% endverbatim %}

+

{% verbatim %}The height of the tile, measured in grid blocks. Tiles must have a minimum height of 1.{% endverbatim %}

@@ -5106,10 +4705,7 @@ rowLayout:

string

-

{% verbatim %}A filter that chooses which log entries to return. See [Advanced Logs - Queries](https://cloud.google.com/logging/docs/view/advanced-queries). - Only log entries that match the filter are returned. An empty filter - matches all log entries.{% endverbatim %}

+

{% verbatim %}A filter that chooses which log entries to return. See [Advanced Logs Queries](https://cloud.google.com/logging/docs/view/advanced-queries). Only log entries that match the filter are returned. An empty filter matches all log entries.{% endverbatim %}

@@ -5119,8 +4715,7 @@ rowLayout:

list (object)

-

{% verbatim %}The names of logging resources to collect logs for. Currently only projects - are supported. If empty, the widget will default to the host project.{% endverbatim %}

+

{% verbatim %}The names of logging resources to collect logs for. Currently only projects are supported. If empty, the widget will default to the host project.{% endverbatim %}

@@ -5200,8 +4795,7 @@ rowLayout:

float

-

{% verbatim %}The lower bound for this gauge chart. The value of the chart should - always be greater than or equal to this.{% endverbatim %}

+

{% verbatim %}The lower bound for this gauge chart. The value of the chart should always be greater than or equal to this.{% endverbatim %}

@@ -5211,8 +4805,7 @@ rowLayout:

float

-

{% verbatim %}The upper bound for this gauge chart. The value of the chart should - always be less than or equal to this.{% endverbatim %}

+

{% verbatim %}The upper bound for this gauge chart. The value of the chart should always be less than or equal to this.{% endverbatim %}

@@ -5232,11 +4825,7 @@ rowLayout:

string

-

{% verbatim %}The lower bound on data point frequency in the chart implemented by - specifying the minimum alignment period to use in a time series query. - For example, if the data is published once every 10 minutes it would not - make sense to fetch and align data at one minute intervals. This field is - optional and exists only as a hint.{% endverbatim %}

+

{% verbatim %}The lower bound on data point frequency in the chart implemented by specifying the minimum alignment period to use in a time series query. For example, if the data is published once every 10 minutes it would not make sense to fetch and align data at one minute intervals. This field is optional and exists only as a hint.{% endverbatim %}

@@ -5326,8 +4915,7 @@ rowLayout:

string

-

{% verbatim %}The direction for the current threshold. Direction is not allowed in a - XyChart.{% endverbatim %}

+

{% verbatim %}The direction for the current threshold. Direction is not allowed in a XyChart.{% endverbatim %}

@@ -5347,8 +4935,7 @@ rowLayout:

float

-

{% verbatim %}The value of the threshold. The value should be defined in the native scale - of the metric.{% endverbatim %}

+

{% verbatim %}The value of the threshold. The value should be defined in the native scale of the metric.{% endverbatim %}

@@ -5358,8 +4945,7 @@ rowLayout:

object

-

{% verbatim %}Required. Fields for querying time series data from the - Stackdriver metrics API.{% endverbatim %}

+

{% verbatim %}Required. Fields for querying time series data from the Stackdriver metrics API.{% endverbatim %}

@@ -5379,9 +4965,7 @@ rowLayout:

object

-

{% verbatim %}By default, the raw time series data is returned. - Use this field to combine multiple time series for different views of the - data.{% endverbatim %}

+

{% verbatim %}By default, the raw time series data is returned. Use this field to combine multiple time series for different views of the data.{% endverbatim %}

@@ -5439,20 +5023,7 @@ rowLayout:

list (string)

-

{% verbatim %}The set of fields to preserve when `cross_series_reducer` is - specified. The `group_by_fields` determine how the time series are - partitioned into subsets prior to applying the aggregation - operation. Each subset contains time series that have the same - value for each of the grouping fields. Each individual time - series is a member of exactly one subset. The - `cross_series_reducer` is applied to each subset of time series. - It is not possible to reduce across different resource types, so - this field implicitly contains `resource.type`. Fields not - specified in `group_by_fields` are aggregated away. If - `group_by_fields` is not specified and all the time series have - the same resource type, then the time series are aggregated into - a single output time series. If `cross_series_reducer` is not - defined, this field is ignored.{% endverbatim %}

+

{% verbatim %}The set of fields to preserve when `cross_series_reducer` is specified. The `group_by_fields` determine how the time series are partitioned into subsets prior to applying the aggregation operation. Each subset contains time series that have the same value for each of the grouping fields. Each individual time series is a member of exactly one subset. The `cross_series_reducer` is applied to each subset of time series. It is not possible to reduce across different resource types, so this field implicitly contains `resource.type`. Fields not specified in `group_by_fields` are aggregated away. If `group_by_fields` is not specified and all the time series have the same resource type, then the time series are aggregated into a single output time series. If `cross_series_reducer` is not defined, this field is ignored.{% endverbatim %}

@@ -5499,9 +5070,7 @@ rowLayout:

string

-

{% verbatim %}Required. The [monitoring - filter](https://cloud.google.com/monitoring/api/v3/filters) that identifies - the metric types, resources, and projects to query.{% endverbatim %}

+

{% verbatim %}Required. The [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters) that identifies the metric types, resources, and projects to query.{% endverbatim %}

@@ -5541,9 +5110,7 @@ rowLayout:

string

-

{% verbatim %}`ranking_method` is applied to each time series independently to produce - the value which will be used to compare the time series to other time - series.{% endverbatim %}

+

{% verbatim %}`ranking_method` is applied to each time series independently to produce the value which will be used to compare the time series to other time series.{% endverbatim %}

@@ -5611,20 +5178,7 @@ rowLayout:

list (string)

-

{% verbatim %}The set of fields to preserve when `cross_series_reducer` is - specified. The `group_by_fields` determine how the time series are - partitioned into subsets prior to applying the aggregation - operation. Each subset contains time series that have the same - value for each of the grouping fields. Each individual time - series is a member of exactly one subset. The - `cross_series_reducer` is applied to each subset of time series. - It is not possible to reduce across different resource types, so - this field implicitly contains `resource.type`. Fields not - specified in `group_by_fields` are aggregated away. If - `group_by_fields` is not specified and all the time series have - the same resource type, then the time series are aggregated into - a single output time series. If `cross_series_reducer` is not - defined, this field is ignored.{% endverbatim %}

+

{% verbatim %}The set of fields to preserve when `cross_series_reducer` is specified. The `group_by_fields` determine how the time series are partitioned into subsets prior to applying the aggregation operation. Each subset contains time series that have the same value for each of the grouping fields. Each individual time series is a member of exactly one subset. The `cross_series_reducer` is applied to each subset of time series. It is not possible to reduce across different resource types, so this field implicitly contains `resource.type`. Fields not specified in `group_by_fields` are aggregated away. If `group_by_fields` is not specified and all the time series have the same resource type, then the time series are aggregated into a single output time series. If `cross_series_reducer` is not defined, this field is ignored.{% endverbatim %}

@@ -5691,9 +5245,7 @@ rowLayout:

object

-

{% verbatim %}By default, the raw time series data is returned. - Use this field to combine multiple time series for different views of the - data.{% endverbatim %}

+

{% verbatim %}By default, the raw time series data is returned. Use this field to combine multiple time series for different views of the data.{% endverbatim %}

@@ -5751,20 +5303,7 @@ rowLayout:

list (string)

-

{% verbatim %}The set of fields to preserve when `cross_series_reducer` is - specified. The `group_by_fields` determine how the time series are - partitioned into subsets prior to applying the aggregation - operation. Each subset contains time series that have the same - value for each of the grouping fields. Each individual time - series is a member of exactly one subset. The - `cross_series_reducer` is applied to each subset of time series. - It is not possible to reduce across different resource types, so - this field implicitly contains `resource.type`. Fields not - specified in `group_by_fields` are aggregated away. If - `group_by_fields` is not specified and all the time series have - the same resource type, then the time series are aggregated into - a single output time series. If `cross_series_reducer` is not - defined, this field is ignored.{% endverbatim %}

+

{% verbatim %}The set of fields to preserve when `cross_series_reducer` is specified. The `group_by_fields` determine how the time series are partitioned into subsets prior to applying the aggregation operation. Each subset contains time series that have the same value for each of the grouping fields. Each individual time series is a member of exactly one subset. The `cross_series_reducer` is applied to each subset of time series. It is not possible to reduce across different resource types, so this field implicitly contains `resource.type`. Fields not specified in `group_by_fields` are aggregated away. If `group_by_fields` is not specified and all the time series have the same resource type, then the time series are aggregated into a single output time series. If `cross_series_reducer` is not defined, this field is ignored.{% endverbatim %}

@@ -5811,9 +5350,7 @@ rowLayout:

string

-

{% verbatim %}Required. The [monitoring - filter](https://cloud.google.com/monitoring/api/v3/filters) that - identifies the metric types, resources, and projects to query.{% endverbatim %}

+

{% verbatim %}Required. The [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters) that identifies the metric types, resources, and projects to query.{% endverbatim %}

@@ -5833,9 +5370,7 @@ rowLayout:

object

-

{% verbatim %}By default, the raw time series data is returned. - Use this field to combine multiple time series for different views of the - data.{% endverbatim %}

+

{% verbatim %}By default, the raw time series data is returned. Use this field to combine multiple time series for different views of the data.{% endverbatim %}

@@ -5893,20 +5428,7 @@ rowLayout:

list (string)

-

{% verbatim %}The set of fields to preserve when `cross_series_reducer` is - specified. The `group_by_fields` determine how the time series are - partitioned into subsets prior to applying the aggregation - operation. Each subset contains time series that have the same - value for each of the grouping fields. Each individual time - series is a member of exactly one subset. The - `cross_series_reducer` is applied to each subset of time series. - It is not possible to reduce across different resource types, so - this field implicitly contains `resource.type`. Fields not - specified in `group_by_fields` are aggregated away. If - `group_by_fields` is not specified and all the time series have - the same resource type, then the time series are aggregated into - a single output time series. If `cross_series_reducer` is not - defined, this field is ignored.{% endverbatim %}

+

{% verbatim %}The set of fields to preserve when `cross_series_reducer` is specified. The `group_by_fields` determine how the time series are partitioned into subsets prior to applying the aggregation operation. Each subset contains time series that have the same value for each of the grouping fields. Each individual time series is a member of exactly one subset. The `cross_series_reducer` is applied to each subset of time series. It is not possible to reduce across different resource types, so this field implicitly contains `resource.type`. Fields not specified in `group_by_fields` are aggregated away. If `group_by_fields` is not specified and all the time series have the same resource type, then the time series are aggregated into a single output time series. If `cross_series_reducer` is not defined, this field is ignored.{% endverbatim %}

@@ -5953,9 +5475,7 @@ rowLayout:

string

-

{% verbatim %}Required. The [monitoring - filter](https://cloud.google.com/monitoring/api/v3/filters) that - identifies the metric types, resources, and projects to query.{% endverbatim %}

+

{% verbatim %}Required. The [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters) that identifies the metric types, resources, and projects to query.{% endverbatim %}

@@ -5995,9 +5515,7 @@ rowLayout:

string

-

{% verbatim %}`ranking_method` is applied to each time series independently to produce - the value which will be used to compare the time series to other time - series.{% endverbatim %}

+

{% verbatim %}`ranking_method` is applied to each time series independently to produce the value which will be used to compare the time series to other time series.{% endverbatim %}

@@ -6065,20 +5583,7 @@ rowLayout:

list (string)

-

{% verbatim %}The set of fields to preserve when `cross_series_reducer` is - specified. The `group_by_fields` determine how the time series are - partitioned into subsets prior to applying the aggregation - operation. Each subset contains time series that have the same - value for each of the grouping fields. Each individual time - series is a member of exactly one subset. The - `cross_series_reducer` is applied to each subset of time series. - It is not possible to reduce across different resource types, so - this field implicitly contains `resource.type`. Fields not - specified in `group_by_fields` are aggregated away. If - `group_by_fields` is not specified and all the time series have - the same resource type, then the time series are aggregated into - a single output time series. If `cross_series_reducer` is not - defined, this field is ignored.{% endverbatim %}

+

{% verbatim %}The set of fields to preserve when `cross_series_reducer` is specified. The `group_by_fields` determine how the time series are partitioned into subsets prior to applying the aggregation operation. Each subset contains time series that have the same value for each of the grouping fields. Each individual time series is a member of exactly one subset. The `cross_series_reducer` is applied to each subset of time series. It is not possible to reduce across different resource types, so this field implicitly contains `resource.type`. Fields not specified in `group_by_fields` are aggregated away. If `group_by_fields` is not specified and all the time series have the same resource type, then the time series are aggregated into a single output time series. If `cross_series_reducer` is not defined, this field is ignored.{% endverbatim %}

@@ -6135,11 +5640,7 @@ rowLayout:

string

-

{% verbatim %}The unit of data contained in fetched time series. If non-empty, this - unit will override any unit that accompanies fetched data. The format is - the same as the - [`unit`](https://cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.metricDescriptors) - field in `MetricDescriptor`.{% endverbatim %}

+

{% verbatim %}The unit of data contained in fetched time series. If non-empty, this unit will override any unit that accompanies fetched data. The format is the same as the [`unit`](https://cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.metricDescriptors) field in `MetricDescriptor`.{% endverbatim %}

@@ -6239,9 +5740,7 @@ rowLayout:

string

-

{% verbatim %}A template string for naming `TimeSeries` in the resulting data set. - This should be a string with interpolations of the form `${label_name}`, - which will resolve to the label's value.{% endverbatim %}

+

{% verbatim %}A template string for naming `TimeSeries` in the resulting data set. This should be a string with interpolations of the form `${label_name}`, which will resolve to the label's value.{% endverbatim %}

@@ -6251,11 +5750,7 @@ rowLayout:

string

-

{% verbatim %}Optional. The lower bound on data point frequency for this data set, - implemented by specifying the minimum alignment period to use in a time - series query For example, if the data is published once every 10 minutes, - the `min_alignment_period` should be at least 10 minutes. It would not - make sense to fetch and align data at one minute intervals.{% endverbatim %}

+

{% verbatim %}Optional. The lower bound on data point frequency for this data set, implemented by specifying the minimum alignment period to use in a time series query For example, if the data is published once every 10 minutes, the `min_alignment_period` should be at least 10 minutes. It would not make sense to fetch and align data at one minute intervals.{% endverbatim %}

@@ -6275,8 +5770,7 @@ rowLayout:

object

-

{% verbatim %}Required. Fields for querying time series data from the - Stackdriver metrics API.{% endverbatim %}

+

{% verbatim %}Required. Fields for querying time series data from the Stackdriver metrics API.{% endverbatim %}

@@ -6296,9 +5790,7 @@ rowLayout:

object

-

{% verbatim %}By default, the raw time series data is returned. - Use this field to combine multiple time series for different views of the - data.{% endverbatim %}

+

{% verbatim %}By default, the raw time series data is returned. Use this field to combine multiple time series for different views of the data.{% endverbatim %}

@@ -6356,20 +5848,7 @@ rowLayout:

list (string)

-

{% verbatim %}The set of fields to preserve when `cross_series_reducer` is - specified. The `group_by_fields` determine how the time series are - partitioned into subsets prior to applying the aggregation - operation. Each subset contains time series that have the same - value for each of the grouping fields. Each individual time - series is a member of exactly one subset. The - `cross_series_reducer` is applied to each subset of time series. - It is not possible to reduce across different resource types, so - this field implicitly contains `resource.type`. Fields not - specified in `group_by_fields` are aggregated away. If - `group_by_fields` is not specified and all the time series have - the same resource type, then the time series are aggregated into - a single output time series. If `cross_series_reducer` is not - defined, this field is ignored.{% endverbatim %}

+

{% verbatim %}The set of fields to preserve when `cross_series_reducer` is specified. The `group_by_fields` determine how the time series are partitioned into subsets prior to applying the aggregation operation. Each subset contains time series that have the same value for each of the grouping fields. Each individual time series is a member of exactly one subset. The `cross_series_reducer` is applied to each subset of time series. It is not possible to reduce across different resource types, so this field implicitly contains `resource.type`. Fields not specified in `group_by_fields` are aggregated away. If `group_by_fields` is not specified and all the time series have the same resource type, then the time series are aggregated into a single output time series. If `cross_series_reducer` is not defined, this field is ignored.{% endverbatim %}

@@ -6416,9 +5895,7 @@ rowLayout:

string

-

{% verbatim %}Required. The [monitoring - filter](https://cloud.google.com/monitoring/api/v3/filters) that identifies - the metric types, resources, and projects to query.{% endverbatim %}

+

{% verbatim %}Required. The [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters) that identifies the metric types, resources, and projects to query.{% endverbatim %}

@@ -6458,9 +5935,7 @@ rowLayout:

string

-

{% verbatim %}`ranking_method` is applied to each time series independently to produce - the value which will be used to compare the time series to other time - series.{% endverbatim %}

+

{% verbatim %}`ranking_method` is applied to each time series independently to produce the value which will be used to compare the time series to other time series.{% endverbatim %}

@@ -6528,20 +6003,7 @@ rowLayout:

list (string)

-

{% verbatim %}The set of fields to preserve when `cross_series_reducer` is - specified. The `group_by_fields` determine how the time series are - partitioned into subsets prior to applying the aggregation - operation. Each subset contains time series that have the same - value for each of the grouping fields. Each individual time - series is a member of exactly one subset. The - `cross_series_reducer` is applied to each subset of time series. - It is not possible to reduce across different resource types, so - this field implicitly contains `resource.type`. Fields not - specified in `group_by_fields` are aggregated away. If - `group_by_fields` is not specified and all the time series have - the same resource type, then the time series are aggregated into - a single output time series. If `cross_series_reducer` is not - defined, this field is ignored.{% endverbatim %}

+

{% verbatim %}The set of fields to preserve when `cross_series_reducer` is specified. The `group_by_fields` determine how the time series are partitioned into subsets prior to applying the aggregation operation. Each subset contains time series that have the same value for each of the grouping fields. Each individual time series is a member of exactly one subset. The `cross_series_reducer` is applied to each subset of time series. It is not possible to reduce across different resource types, so this field implicitly contains `resource.type`. Fields not specified in `group_by_fields` are aggregated away. If `group_by_fields` is not specified and all the time series have the same resource type, then the time series are aggregated into a single output time series. If `cross_series_reducer` is not defined, this field is ignored.{% endverbatim %}

@@ -6608,9 +6070,7 @@ rowLayout:

object

-

{% verbatim %}By default, the raw time series data is returned. - Use this field to combine multiple time series for different views of the - data.{% endverbatim %}

+

{% verbatim %}By default, the raw time series data is returned. Use this field to combine multiple time series for different views of the data.{% endverbatim %}

@@ -6668,20 +6128,7 @@ rowLayout:

list (string)

-

{% verbatim %}The set of fields to preserve when `cross_series_reducer` is - specified. The `group_by_fields` determine how the time series are - partitioned into subsets prior to applying the aggregation - operation. Each subset contains time series that have the same - value for each of the grouping fields. Each individual time - series is a member of exactly one subset. The - `cross_series_reducer` is applied to each subset of time series. - It is not possible to reduce across different resource types, so - this field implicitly contains `resource.type`. Fields not - specified in `group_by_fields` are aggregated away. If - `group_by_fields` is not specified and all the time series have - the same resource type, then the time series are aggregated into - a single output time series. If `cross_series_reducer` is not - defined, this field is ignored.{% endverbatim %}

+

{% verbatim %}The set of fields to preserve when `cross_series_reducer` is specified. The `group_by_fields` determine how the time series are partitioned into subsets prior to applying the aggregation operation. Each subset contains time series that have the same value for each of the grouping fields. Each individual time series is a member of exactly one subset. The `cross_series_reducer` is applied to each subset of time series. It is not possible to reduce across different resource types, so this field implicitly contains `resource.type`. Fields not specified in `group_by_fields` are aggregated away. If `group_by_fields` is not specified and all the time series have the same resource type, then the time series are aggregated into a single output time series. If `cross_series_reducer` is not defined, this field is ignored.{% endverbatim %}

@@ -6728,9 +6175,7 @@ rowLayout:

string

-

{% verbatim %}Required. The [monitoring - filter](https://cloud.google.com/monitoring/api/v3/filters) that - identifies the metric types, resources, and projects to query.{% endverbatim %}

+

{% verbatim %}Required. The [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters) that identifies the metric types, resources, and projects to query.{% endverbatim %}

@@ -6750,9 +6195,7 @@ rowLayout:

object

-

{% verbatim %}By default, the raw time series data is returned. - Use this field to combine multiple time series for different views of the - data.{% endverbatim %}

+

{% verbatim %}By default, the raw time series data is returned. Use this field to combine multiple time series for different views of the data.{% endverbatim %}

@@ -6810,20 +6253,7 @@ rowLayout:

list (string)

-

{% verbatim %}The set of fields to preserve when `cross_series_reducer` is - specified. The `group_by_fields` determine how the time series are - partitioned into subsets prior to applying the aggregation - operation. Each subset contains time series that have the same - value for each of the grouping fields. Each individual time - series is a member of exactly one subset. The - `cross_series_reducer` is applied to each subset of time series. - It is not possible to reduce across different resource types, so - this field implicitly contains `resource.type`. Fields not - specified in `group_by_fields` are aggregated away. If - `group_by_fields` is not specified and all the time series have - the same resource type, then the time series are aggregated into - a single output time series. If `cross_series_reducer` is not - defined, this field is ignored.{% endverbatim %}

+

{% verbatim %}The set of fields to preserve when `cross_series_reducer` is specified. The `group_by_fields` determine how the time series are partitioned into subsets prior to applying the aggregation operation. Each subset contains time series that have the same value for each of the grouping fields. Each individual time series is a member of exactly one subset. The `cross_series_reducer` is applied to each subset of time series. It is not possible to reduce across different resource types, so this field implicitly contains `resource.type`. Fields not specified in `group_by_fields` are aggregated away. If `group_by_fields` is not specified and all the time series have the same resource type, then the time series are aggregated into a single output time series. If `cross_series_reducer` is not defined, this field is ignored.{% endverbatim %}

@@ -6870,9 +6300,7 @@ rowLayout:

string

-

{% verbatim %}Required. The [monitoring - filter](https://cloud.google.com/monitoring/api/v3/filters) that - identifies the metric types, resources, and projects to query.{% endverbatim %}

+

{% verbatim %}Required. The [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters) that identifies the metric types, resources, and projects to query.{% endverbatim %}

@@ -6912,9 +6340,7 @@ rowLayout:

string

-

{% verbatim %}`ranking_method` is applied to each time series independently to produce - the value which will be used to compare the time series to other time - series.{% endverbatim %}

+

{% verbatim %}`ranking_method` is applied to each time series independently to produce the value which will be used to compare the time series to other time series.{% endverbatim %}

@@ -6982,20 +6408,7 @@ rowLayout:

list (string)

-

{% verbatim %}The set of fields to preserve when `cross_series_reducer` is - specified. The `group_by_fields` determine how the time series are - partitioned into subsets prior to applying the aggregation - operation. Each subset contains time series that have the same - value for each of the grouping fields. Each individual time - series is a member of exactly one subset. The - `cross_series_reducer` is applied to each subset of time series. - It is not possible to reduce across different resource types, so - this field implicitly contains `resource.type`. Fields not - specified in `group_by_fields` are aggregated away. If - `group_by_fields` is not specified and all the time series have - the same resource type, then the time series are aggregated into - a single output time series. If `cross_series_reducer` is not - defined, this field is ignored.{% endverbatim %}

+

{% verbatim %}The set of fields to preserve when `cross_series_reducer` is specified. The `group_by_fields` determine how the time series are partitioned into subsets prior to applying the aggregation operation. Each subset contains time series that have the same value for each of the grouping fields. Each individual time series is a member of exactly one subset. The `cross_series_reducer` is applied to each subset of time series. It is not possible to reduce across different resource types, so this field implicitly contains `resource.type`. Fields not specified in `group_by_fields` are aggregated away. If `group_by_fields` is not specified and all the time series have the same resource type, then the time series are aggregated into a single output time series. If `cross_series_reducer` is not defined, this field is ignored.{% endverbatim %}

@@ -7052,11 +6465,7 @@ rowLayout:

string

-

{% verbatim %}The unit of data contained in fetched time series. If non-empty, this - unit will override any unit that accompanies fetched data. The format is - the same as the - [`unit`](https://cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.metricDescriptors) - field in `MetricDescriptor`.{% endverbatim %}

+

{% verbatim %}The unit of data contained in fetched time series. If non-empty, this unit will override any unit that accompanies fetched data. The format is the same as the [`unit`](https://cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.metricDescriptors) field in `MetricDescriptor`.{% endverbatim %}

@@ -7096,8 +6505,7 @@ rowLayout:

string

-

{% verbatim %}The direction for the current threshold. Direction is not allowed in a - XyChart.{% endverbatim %}

+

{% verbatim %}The direction for the current threshold. Direction is not allowed in a XyChart.{% endverbatim %}

@@ -7117,8 +6525,7 @@ rowLayout:

float

-

{% verbatim %}The value of the threshold. The value should be defined in the native scale - of the metric.{% endverbatim %}

+

{% verbatim %}The value of the threshold. The value should be defined in the native scale of the metric.{% endverbatim %}

@@ -7128,11 +6535,7 @@ rowLayout:

string

-

{% verbatim %}The duration used to display a comparison chart. A comparison chart - simultaneously shows values from two similar-length time periods - (e.g., week-over-week metrics). - The duration must be positive, and it can only be applied to charts with - data sets of LINE plot type.{% endverbatim %}

+

{% verbatim %}The duration used to display a comparison chart. A comparison chart simultaneously shows values from two similar-length time periods (e.g., week-over-week metrics). The duration must be positive, and it can only be applied to charts with data sets of LINE plot type.{% endverbatim %}

@@ -7202,8 +6605,7 @@ rowLayout:

integer

-

{% verbatim %}The width of the tile, measured in grid blocks. Tiles must have a - minimum width of 1.{% endverbatim %}

+

{% verbatim %}The width of the tile, measured in grid blocks. Tiles must have a minimum width of 1.{% endverbatim %}

@@ -7213,9 +6615,7 @@ rowLayout:

integer

-

{% verbatim %}The zero-indexed position of the tile in grid blocks relative to the - left edge of the grid. Tiles must be contained within the specified - number of columns. `x_pos` cannot be negative.{% endverbatim %}

+

{% verbatim %}The zero-indexed position of the tile in grid blocks relative to the left edge of the grid. Tiles must be contained within the specified number of columns. `x_pos` cannot be negative.{% endverbatim %}

@@ -7225,8 +6625,7 @@ rowLayout:

integer

-

{% verbatim %}The zero-indexed position of the tile in grid blocks relative to the - top edge of the grid. `y_pos` cannot be negative.{% endverbatim %}

+

{% verbatim %}The zero-indexed position of the tile in grid blocks relative to the top edge of the grid. `y_pos` cannot be negative.{% endverbatim %}

@@ -7296,8 +6695,7 @@ rowLayout:

object

-

{% verbatim %}The content is divided into equally spaced rows and the widgets are - arranged horizontally.{% endverbatim %}

+

{% verbatim %}The content is divided into equally spaced rows and the widgets are arranged horizontally.{% endverbatim %}

@@ -7327,10 +6725,7 @@ rowLayout:

integer

-

{% verbatim %}The relative weight of this row. The row weight is used to adjust the - height of rows on the screen (relative to peers). Greater the weight, - greater the height of the row on the screen. If omitted, a value - of 1 is used while rendering.{% endverbatim %}

+

{% verbatim %}The relative weight of this row. The row weight is used to adjust the height of rows on the screen (relative to peers). Greater the weight, greater the height of the row on the screen. If omitted, a value of 1 is used while rendering.{% endverbatim %}

@@ -7380,10 +6775,7 @@ rowLayout:

string

-

{% verbatim %}A filter that chooses which log entries to return. See [Advanced Logs - Queries](https://cloud.google.com/logging/docs/view/advanced-queries). - Only log entries that match the filter are returned. An empty filter - matches all log entries.{% endverbatim %}

+

{% verbatim %}A filter that chooses which log entries to return. See [Advanced Logs Queries](https://cloud.google.com/logging/docs/view/advanced-queries). Only log entries that match the filter are returned. An empty filter matches all log entries.{% endverbatim %}

@@ -7393,8 +6785,7 @@ rowLayout:

list (object)

-

{% verbatim %}The names of logging resources to collect logs for. Currently only projects - are supported. If empty, the widget will default to the host project.{% endverbatim %}

+

{% verbatim %}The names of logging resources to collect logs for. Currently only projects are supported. If empty, the widget will default to the host project.{% endverbatim %}

@@ -7474,8 +6865,7 @@ rowLayout:

float

-

{% verbatim %}The lower bound for this gauge chart. The value of the chart should - always be greater than or equal to this.{% endverbatim %}

+

{% verbatim %}The lower bound for this gauge chart. The value of the chart should always be greater than or equal to this.{% endverbatim %}

@@ -7485,8 +6875,7 @@ rowLayout:

float

-

{% verbatim %}The upper bound for this gauge chart. The value of the chart should - always be less than or equal to this.{% endverbatim %}

+

{% verbatim %}The upper bound for this gauge chart. The value of the chart should always be less than or equal to this.{% endverbatim %}

@@ -7506,11 +6895,7 @@ rowLayout:

string

-

{% verbatim %}The lower bound on data point frequency in the chart implemented by - specifying the minimum alignment period to use in a time series query. - For example, if the data is published once every 10 minutes it would not - make sense to fetch and align data at one minute intervals. This field is - optional and exists only as a hint.{% endverbatim %}

+

{% verbatim %}The lower bound on data point frequency in the chart implemented by specifying the minimum alignment period to use in a time series query. For example, if the data is published once every 10 minutes it would not make sense to fetch and align data at one minute intervals. This field is optional and exists only as a hint.{% endverbatim %}

@@ -7600,8 +6985,7 @@ rowLayout:

string

-

{% verbatim %}The direction for the current threshold. Direction is not allowed in a - XyChart.{% endverbatim %}

+

{% verbatim %}The direction for the current threshold. Direction is not allowed in a XyChart.{% endverbatim %}

@@ -7621,8 +7005,7 @@ rowLayout:

float

-

{% verbatim %}The value of the threshold. The value should be defined in the native scale - of the metric.{% endverbatim %}

+

{% verbatim %}The value of the threshold. The value should be defined in the native scale of the metric.{% endverbatim %}

@@ -7632,8 +7015,7 @@ rowLayout:

object

-

{% verbatim %}Required. Fields for querying time series data from the - Stackdriver metrics API.{% endverbatim %}

+

{% verbatim %}Required. Fields for querying time series data from the Stackdriver metrics API.{% endverbatim %}

@@ -7653,9 +7035,7 @@ rowLayout:

object

-

{% verbatim %}By default, the raw time series data is returned. - Use this field to combine multiple time series for different views of the - data.{% endverbatim %}

+

{% verbatim %}By default, the raw time series data is returned. Use this field to combine multiple time series for different views of the data.{% endverbatim %}

@@ -7713,20 +7093,7 @@ rowLayout:

list (string)

-

{% verbatim %}The set of fields to preserve when `cross_series_reducer` is - specified. The `group_by_fields` determine how the time series are - partitioned into subsets prior to applying the aggregation - operation. Each subset contains time series that have the same - value for each of the grouping fields. Each individual time - series is a member of exactly one subset. The - `cross_series_reducer` is applied to each subset of time series. - It is not possible to reduce across different resource types, so - this field implicitly contains `resource.type`. Fields not - specified in `group_by_fields` are aggregated away. If - `group_by_fields` is not specified and all the time series have - the same resource type, then the time series are aggregated into - a single output time series. If `cross_series_reducer` is not - defined, this field is ignored.{% endverbatim %}

+

{% verbatim %}The set of fields to preserve when `cross_series_reducer` is specified. The `group_by_fields` determine how the time series are partitioned into subsets prior to applying the aggregation operation. Each subset contains time series that have the same value for each of the grouping fields. Each individual time series is a member of exactly one subset. The `cross_series_reducer` is applied to each subset of time series. It is not possible to reduce across different resource types, so this field implicitly contains `resource.type`. Fields not specified in `group_by_fields` are aggregated away. If `group_by_fields` is not specified and all the time series have the same resource type, then the time series are aggregated into a single output time series. If `cross_series_reducer` is not defined, this field is ignored.{% endverbatim %}

@@ -7773,9 +7140,7 @@ rowLayout:

string

-

{% verbatim %}Required. The [monitoring - filter](https://cloud.google.com/monitoring/api/v3/filters) that identifies - the metric types, resources, and projects to query.{% endverbatim %}

+

{% verbatim %}Required. The [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters) that identifies the metric types, resources, and projects to query.{% endverbatim %}

@@ -7815,9 +7180,7 @@ rowLayout:

string

-

{% verbatim %}`ranking_method` is applied to each time series independently to produce - the value which will be used to compare the time series to other time - series.{% endverbatim %}

+

{% verbatim %}`ranking_method` is applied to each time series independently to produce the value which will be used to compare the time series to other time series.{% endverbatim %}

@@ -7885,20 +7248,7 @@ rowLayout:

list (string)

-

{% verbatim %}The set of fields to preserve when `cross_series_reducer` is - specified. The `group_by_fields` determine how the time series are - partitioned into subsets prior to applying the aggregation - operation. Each subset contains time series that have the same - value for each of the grouping fields. Each individual time - series is a member of exactly one subset. The - `cross_series_reducer` is applied to each subset of time series. - It is not possible to reduce across different resource types, so - this field implicitly contains `resource.type`. Fields not - specified in `group_by_fields` are aggregated away. If - `group_by_fields` is not specified and all the time series have - the same resource type, then the time series are aggregated into - a single output time series. If `cross_series_reducer` is not - defined, this field is ignored.{% endverbatim %}

+

{% verbatim %}The set of fields to preserve when `cross_series_reducer` is specified. The `group_by_fields` determine how the time series are partitioned into subsets prior to applying the aggregation operation. Each subset contains time series that have the same value for each of the grouping fields. Each individual time series is a member of exactly one subset. The `cross_series_reducer` is applied to each subset of time series. It is not possible to reduce across different resource types, so this field implicitly contains `resource.type`. Fields not specified in `group_by_fields` are aggregated away. If `group_by_fields` is not specified and all the time series have the same resource type, then the time series are aggregated into a single output time series. If `cross_series_reducer` is not defined, this field is ignored.{% endverbatim %}

@@ -7965,9 +7315,7 @@ rowLayout:

object

-

{% verbatim %}By default, the raw time series data is returned. - Use this field to combine multiple time series for different views of the - data.{% endverbatim %}

+

{% verbatim %}By default, the raw time series data is returned. Use this field to combine multiple time series for different views of the data.{% endverbatim %}

@@ -8025,20 +7373,7 @@ rowLayout:

list (string)

-

{% verbatim %}The set of fields to preserve when `cross_series_reducer` is - specified. The `group_by_fields` determine how the time series are - partitioned into subsets prior to applying the aggregation - operation. Each subset contains time series that have the same - value for each of the grouping fields. Each individual time - series is a member of exactly one subset. The - `cross_series_reducer` is applied to each subset of time series. - It is not possible to reduce across different resource types, so - this field implicitly contains `resource.type`. Fields not - specified in `group_by_fields` are aggregated away. If - `group_by_fields` is not specified and all the time series have - the same resource type, then the time series are aggregated into - a single output time series. If `cross_series_reducer` is not - defined, this field is ignored.{% endverbatim %}

+

{% verbatim %}The set of fields to preserve when `cross_series_reducer` is specified. The `group_by_fields` determine how the time series are partitioned into subsets prior to applying the aggregation operation. Each subset contains time series that have the same value for each of the grouping fields. Each individual time series is a member of exactly one subset. The `cross_series_reducer` is applied to each subset of time series. It is not possible to reduce across different resource types, so this field implicitly contains `resource.type`. Fields not specified in `group_by_fields` are aggregated away. If `group_by_fields` is not specified and all the time series have the same resource type, then the time series are aggregated into a single output time series. If `cross_series_reducer` is not defined, this field is ignored.{% endverbatim %}

@@ -8085,9 +7420,7 @@ rowLayout:

string

-

{% verbatim %}Required. The [monitoring - filter](https://cloud.google.com/monitoring/api/v3/filters) that - identifies the metric types, resources, and projects to query.{% endverbatim %}

+

{% verbatim %}Required. The [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters) that identifies the metric types, resources, and projects to query.{% endverbatim %}

@@ -8107,9 +7440,7 @@ rowLayout:

object

-

{% verbatim %}By default, the raw time series data is returned. - Use this field to combine multiple time series for different views of the - data.{% endverbatim %}

+

{% verbatim %}By default, the raw time series data is returned. Use this field to combine multiple time series for different views of the data.{% endverbatim %}

@@ -8167,20 +7498,7 @@ rowLayout:

list (string)

-

{% verbatim %}The set of fields to preserve when `cross_series_reducer` is - specified. The `group_by_fields` determine how the time series are - partitioned into subsets prior to applying the aggregation - operation. Each subset contains time series that have the same - value for each of the grouping fields. Each individual time - series is a member of exactly one subset. The - `cross_series_reducer` is applied to each subset of time series. - It is not possible to reduce across different resource types, so - this field implicitly contains `resource.type`. Fields not - specified in `group_by_fields` are aggregated away. If - `group_by_fields` is not specified and all the time series have - the same resource type, then the time series are aggregated into - a single output time series. If `cross_series_reducer` is not - defined, this field is ignored.{% endverbatim %}

+

{% verbatim %}The set of fields to preserve when `cross_series_reducer` is specified. The `group_by_fields` determine how the time series are partitioned into subsets prior to applying the aggregation operation. Each subset contains time series that have the same value for each of the grouping fields. Each individual time series is a member of exactly one subset. The `cross_series_reducer` is applied to each subset of time series. It is not possible to reduce across different resource types, so this field implicitly contains `resource.type`. Fields not specified in `group_by_fields` are aggregated away. If `group_by_fields` is not specified and all the time series have the same resource type, then the time series are aggregated into a single output time series. If `cross_series_reducer` is not defined, this field is ignored.{% endverbatim %}

@@ -8227,9 +7545,7 @@ rowLayout:

string

-

{% verbatim %}Required. The [monitoring - filter](https://cloud.google.com/monitoring/api/v3/filters) that - identifies the metric types, resources, and projects to query.{% endverbatim %}

+

{% verbatim %}Required. The [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters) that identifies the metric types, resources, and projects to query.{% endverbatim %}

@@ -8269,9 +7585,7 @@ rowLayout:

string

-

{% verbatim %}`ranking_method` is applied to each time series independently to produce - the value which will be used to compare the time series to other time - series.{% endverbatim %}

+

{% verbatim %}`ranking_method` is applied to each time series independently to produce the value which will be used to compare the time series to other time series.{% endverbatim %}

@@ -8339,20 +7653,7 @@ rowLayout:

list (string)

-

{% verbatim %}The set of fields to preserve when `cross_series_reducer` is - specified. The `group_by_fields` determine how the time series are - partitioned into subsets prior to applying the aggregation - operation. Each subset contains time series that have the same - value for each of the grouping fields. Each individual time - series is a member of exactly one subset. The - `cross_series_reducer` is applied to each subset of time series. - It is not possible to reduce across different resource types, so - this field implicitly contains `resource.type`. Fields not - specified in `group_by_fields` are aggregated away. If - `group_by_fields` is not specified and all the time series have - the same resource type, then the time series are aggregated into - a single output time series. If `cross_series_reducer` is not - defined, this field is ignored.{% endverbatim %}

+

{% verbatim %}The set of fields to preserve when `cross_series_reducer` is specified. The `group_by_fields` determine how the time series are partitioned into subsets prior to applying the aggregation operation. Each subset contains time series that have the same value for each of the grouping fields. Each individual time series is a member of exactly one subset. The `cross_series_reducer` is applied to each subset of time series. It is not possible to reduce across different resource types, so this field implicitly contains `resource.type`. Fields not specified in `group_by_fields` are aggregated away. If `group_by_fields` is not specified and all the time series have the same resource type, then the time series are aggregated into a single output time series. If `cross_series_reducer` is not defined, this field is ignored.{% endverbatim %}

@@ -8409,11 +7710,7 @@ rowLayout:

string

-

{% verbatim %}The unit of data contained in fetched time series. If non-empty, this - unit will override any unit that accompanies fetched data. The format is - the same as the - [`unit`](https://cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.metricDescriptors) - field in `MetricDescriptor`.{% endverbatim %}

+

{% verbatim %}The unit of data contained in fetched time series. If non-empty, this unit will override any unit that accompanies fetched data. The format is the same as the [`unit`](https://cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.metricDescriptors) field in `MetricDescriptor`.{% endverbatim %}

@@ -8513,9 +7810,7 @@ rowLayout:

string

-

{% verbatim %}A template string for naming `TimeSeries` in the resulting data set. - This should be a string with interpolations of the form `${label_name}`, - which will resolve to the label's value.{% endverbatim %}

+

{% verbatim %}A template string for naming `TimeSeries` in the resulting data set. This should be a string with interpolations of the form `${label_name}`, which will resolve to the label's value.{% endverbatim %}

@@ -8525,11 +7820,7 @@ rowLayout:

string

-

{% verbatim %}Optional. The lower bound on data point frequency for this data set, - implemented by specifying the minimum alignment period to use in a time - series query For example, if the data is published once every 10 minutes, - the `min_alignment_period` should be at least 10 minutes. It would not - make sense to fetch and align data at one minute intervals.{% endverbatim %}

+

{% verbatim %}Optional. The lower bound on data point frequency for this data set, implemented by specifying the minimum alignment period to use in a time series query For example, if the data is published once every 10 minutes, the `min_alignment_period` should be at least 10 minutes. It would not make sense to fetch and align data at one minute intervals.{% endverbatim %}

@@ -8549,8 +7840,7 @@ rowLayout:

object

-

{% verbatim %}Required. Fields for querying time series data from the - Stackdriver metrics API.{% endverbatim %}

+

{% verbatim %}Required. Fields for querying time series data from the Stackdriver metrics API.{% endverbatim %}

@@ -8570,9 +7860,7 @@ rowLayout:

object

-

{% verbatim %}By default, the raw time series data is returned. - Use this field to combine multiple time series for different views of the - data.{% endverbatim %}

+

{% verbatim %}By default, the raw time series data is returned. Use this field to combine multiple time series for different views of the data.{% endverbatim %}

@@ -8630,20 +7918,7 @@ rowLayout:

list (string)

-

{% verbatim %}The set of fields to preserve when `cross_series_reducer` is - specified. The `group_by_fields` determine how the time series are - partitioned into subsets prior to applying the aggregation - operation. Each subset contains time series that have the same - value for each of the grouping fields. Each individual time - series is a member of exactly one subset. The - `cross_series_reducer` is applied to each subset of time series. - It is not possible to reduce across different resource types, so - this field implicitly contains `resource.type`. Fields not - specified in `group_by_fields` are aggregated away. If - `group_by_fields` is not specified and all the time series have - the same resource type, then the time series are aggregated into - a single output time series. If `cross_series_reducer` is not - defined, this field is ignored.{% endverbatim %}

+

{% verbatim %}The set of fields to preserve when `cross_series_reducer` is specified. The `group_by_fields` determine how the time series are partitioned into subsets prior to applying the aggregation operation. Each subset contains time series that have the same value for each of the grouping fields. Each individual time series is a member of exactly one subset. The `cross_series_reducer` is applied to each subset of time series. It is not possible to reduce across different resource types, so this field implicitly contains `resource.type`. Fields not specified in `group_by_fields` are aggregated away. If `group_by_fields` is not specified and all the time series have the same resource type, then the time series are aggregated into a single output time series. If `cross_series_reducer` is not defined, this field is ignored.{% endverbatim %}

@@ -8690,9 +7965,7 @@ rowLayout:

string

-

{% verbatim %}Required. The [monitoring - filter](https://cloud.google.com/monitoring/api/v3/filters) that identifies - the metric types, resources, and projects to query.{% endverbatim %}

+

{% verbatim %}Required. The [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters) that identifies the metric types, resources, and projects to query.{% endverbatim %}

@@ -8732,9 +8005,7 @@ rowLayout:

string

-

{% verbatim %}`ranking_method` is applied to each time series independently to produce - the value which will be used to compare the time series to other time - series.{% endverbatim %}

+

{% verbatim %}`ranking_method` is applied to each time series independently to produce the value which will be used to compare the time series to other time series.{% endverbatim %}

@@ -8802,20 +8073,7 @@ rowLayout:

list (string)

-

{% verbatim %}The set of fields to preserve when `cross_series_reducer` is - specified. The `group_by_fields` determine how the time series are - partitioned into subsets prior to applying the aggregation - operation. Each subset contains time series that have the same - value for each of the grouping fields. Each individual time - series is a member of exactly one subset. The - `cross_series_reducer` is applied to each subset of time series. - It is not possible to reduce across different resource types, so - this field implicitly contains `resource.type`. Fields not - specified in `group_by_fields` are aggregated away. If - `group_by_fields` is not specified and all the time series have - the same resource type, then the time series are aggregated into - a single output time series. If `cross_series_reducer` is not - defined, this field is ignored.{% endverbatim %}

+

{% verbatim %}The set of fields to preserve when `cross_series_reducer` is specified. The `group_by_fields` determine how the time series are partitioned into subsets prior to applying the aggregation operation. Each subset contains time series that have the same value for each of the grouping fields. Each individual time series is a member of exactly one subset. The `cross_series_reducer` is applied to each subset of time series. It is not possible to reduce across different resource types, so this field implicitly contains `resource.type`. Fields not specified in `group_by_fields` are aggregated away. If `group_by_fields` is not specified and all the time series have the same resource type, then the time series are aggregated into a single output time series. If `cross_series_reducer` is not defined, this field is ignored.{% endverbatim %}

@@ -8882,9 +8140,7 @@ rowLayout:

object

-

{% verbatim %}By default, the raw time series data is returned. - Use this field to combine multiple time series for different views of the - data.{% endverbatim %}

+

{% verbatim %}By default, the raw time series data is returned. Use this field to combine multiple time series for different views of the data.{% endverbatim %}

@@ -8942,20 +8198,7 @@ rowLayout:

list (string)

-

{% verbatim %}The set of fields to preserve when `cross_series_reducer` is - specified. The `group_by_fields` determine how the time series are - partitioned into subsets prior to applying the aggregation - operation. Each subset contains time series that have the same - value for each of the grouping fields. Each individual time - series is a member of exactly one subset. The - `cross_series_reducer` is applied to each subset of time series. - It is not possible to reduce across different resource types, so - this field implicitly contains `resource.type`. Fields not - specified in `group_by_fields` are aggregated away. If - `group_by_fields` is not specified and all the time series have - the same resource type, then the time series are aggregated into - a single output time series. If `cross_series_reducer` is not - defined, this field is ignored.{% endverbatim %}

+

{% verbatim %}The set of fields to preserve when `cross_series_reducer` is specified. The `group_by_fields` determine how the time series are partitioned into subsets prior to applying the aggregation operation. Each subset contains time series that have the same value for each of the grouping fields. Each individual time series is a member of exactly one subset. The `cross_series_reducer` is applied to each subset of time series. It is not possible to reduce across different resource types, so this field implicitly contains `resource.type`. Fields not specified in `group_by_fields` are aggregated away. If `group_by_fields` is not specified and all the time series have the same resource type, then the time series are aggregated into a single output time series. If `cross_series_reducer` is not defined, this field is ignored.{% endverbatim %}

@@ -9002,9 +8245,7 @@ rowLayout:

string

-

{% verbatim %}Required. The [monitoring - filter](https://cloud.google.com/monitoring/api/v3/filters) that - identifies the metric types, resources, and projects to query.{% endverbatim %}

+

{% verbatim %}Required. The [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters) that identifies the metric types, resources, and projects to query.{% endverbatim %}

@@ -9024,9 +8265,7 @@ rowLayout:

object

-

{% verbatim %}By default, the raw time series data is returned. - Use this field to combine multiple time series for different views of the - data.{% endverbatim %}

+

{% verbatim %}By default, the raw time series data is returned. Use this field to combine multiple time series for different views of the data.{% endverbatim %}

@@ -9084,20 +8323,7 @@ rowLayout:

list (string)

-

{% verbatim %}The set of fields to preserve when `cross_series_reducer` is - specified. The `group_by_fields` determine how the time series are - partitioned into subsets prior to applying the aggregation - operation. Each subset contains time series that have the same - value for each of the grouping fields. Each individual time - series is a member of exactly one subset. The - `cross_series_reducer` is applied to each subset of time series. - It is not possible to reduce across different resource types, so - this field implicitly contains `resource.type`. Fields not - specified in `group_by_fields` are aggregated away. If - `group_by_fields` is not specified and all the time series have - the same resource type, then the time series are aggregated into - a single output time series. If `cross_series_reducer` is not - defined, this field is ignored.{% endverbatim %}

+

{% verbatim %}The set of fields to preserve when `cross_series_reducer` is specified. The `group_by_fields` determine how the time series are partitioned into subsets prior to applying the aggregation operation. Each subset contains time series that have the same value for each of the grouping fields. Each individual time series is a member of exactly one subset. The `cross_series_reducer` is applied to each subset of time series. It is not possible to reduce across different resource types, so this field implicitly contains `resource.type`. Fields not specified in `group_by_fields` are aggregated away. If `group_by_fields` is not specified and all the time series have the same resource type, then the time series are aggregated into a single output time series. If `cross_series_reducer` is not defined, this field is ignored.{% endverbatim %}

@@ -9144,9 +8370,7 @@ rowLayout:

string

-

{% verbatim %}Required. The [monitoring - filter](https://cloud.google.com/monitoring/api/v3/filters) that - identifies the metric types, resources, and projects to query.{% endverbatim %}

+

{% verbatim %}Required. The [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters) that identifies the metric types, resources, and projects to query.{% endverbatim %}

@@ -9186,9 +8410,7 @@ rowLayout:

string

-

{% verbatim %}`ranking_method` is applied to each time series independently to produce - the value which will be used to compare the time series to other time - series.{% endverbatim %}

+

{% verbatim %}`ranking_method` is applied to each time series independently to produce the value which will be used to compare the time series to other time series.{% endverbatim %}

@@ -9256,20 +8478,7 @@ rowLayout:

list (string)

-

{% verbatim %}The set of fields to preserve when `cross_series_reducer` is - specified. The `group_by_fields` determine how the time series are - partitioned into subsets prior to applying the aggregation - operation. Each subset contains time series that have the same - value for each of the grouping fields. Each individual time - series is a member of exactly one subset. The - `cross_series_reducer` is applied to each subset of time series. - It is not possible to reduce across different resource types, so - this field implicitly contains `resource.type`. Fields not - specified in `group_by_fields` are aggregated away. If - `group_by_fields` is not specified and all the time series have - the same resource type, then the time series are aggregated into - a single output time series. If `cross_series_reducer` is not - defined, this field is ignored.{% endverbatim %}

+

{% verbatim %}The set of fields to preserve when `cross_series_reducer` is specified. The `group_by_fields` determine how the time series are partitioned into subsets prior to applying the aggregation operation. Each subset contains time series that have the same value for each of the grouping fields. Each individual time series is a member of exactly one subset. The `cross_series_reducer` is applied to each subset of time series. It is not possible to reduce across different resource types, so this field implicitly contains `resource.type`. Fields not specified in `group_by_fields` are aggregated away. If `group_by_fields` is not specified and all the time series have the same resource type, then the time series are aggregated into a single output time series. If `cross_series_reducer` is not defined, this field is ignored.{% endverbatim %}

@@ -9326,11 +8535,7 @@ rowLayout:

string

-

{% verbatim %}The unit of data contained in fetched time series. If non-empty, this - unit will override any unit that accompanies fetched data. The format is - the same as the - [`unit`](https://cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.metricDescriptors) - field in `MetricDescriptor`.{% endverbatim %}

+

{% verbatim %}The unit of data contained in fetched time series. If non-empty, this unit will override any unit that accompanies fetched data. The format is the same as the [`unit`](https://cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.metricDescriptors) field in `MetricDescriptor`.{% endverbatim %}

@@ -9370,8 +8575,7 @@ rowLayout:

string

-

{% verbatim %}The direction for the current threshold. Direction is not allowed in a - XyChart.{% endverbatim %}

+

{% verbatim %}The direction for the current threshold. Direction is not allowed in a XyChart.{% endverbatim %}

@@ -9391,8 +8595,7 @@ rowLayout:

float

-

{% verbatim %}The value of the threshold. The value should be defined in the native scale - of the metric.{% endverbatim %}

+

{% verbatim %}The value of the threshold. The value should be defined in the native scale of the metric.{% endverbatim %}

@@ -9402,11 +8605,7 @@ rowLayout:

string

-

{% verbatim %}The duration used to display a comparison chart. A comparison chart - simultaneously shows values from two similar-length time periods - (e.g., week-over-week metrics). - The duration must be positive, and it can only be applied to charts with - data sets of LINE plot type.{% endverbatim %}

+

{% verbatim %}The duration used to display a comparison chart. A comparison chart simultaneously shows values from two similar-length time periods (e.g., week-over-week metrics). The duration must be positive, and it can only be applied to charts with data sets of LINE plot type.{% endverbatim %}

@@ -9500,8 +8699,7 @@ observedGeneration: integer conditions

list (object)

-

{% verbatim %}Conditions represent the latest available observations of the -MonitoringDashboard's current state.{% endverbatim %}

+

{% verbatim %}Conditions represent the latest available observations of the MonitoringDashboard's current state.{% endverbatim %}

@@ -9529,8 +8727,7 @@ MonitoringDashboard's current state.{% endverbatim %}

conditions[].reason

string

-

{% verbatim %}Unique, one-word, CamelCase reason for the condition's last -transition.{% endverbatim %}

+

{% verbatim %}Unique, one-word, CamelCase reason for the condition's last transition.{% endverbatim %}