diff --git a/container/v1/container-api.json b/container/v1/container-api.json index de804888ec9..5467072ea02 100644 --- a/container/v1/container-api.json +++ b/container/v1/container-api.json @@ -2459,7 +2459,7 @@ } } }, - "revision": "20220209", + "revision": "20220215", "rootUrl": "https://container.googleapis.com/", "schemas": { "AcceleratorConfig": { @@ -2604,7 +2604,7 @@ "description": "Specifies the node management options for NAP created node-pools." }, "minCpuPlatform": { - "description": "Minimum CPU platform to be used for NAP created node pools. The instance may be scheduled on the specified or newer CPU platform. Applicable values are the friendly names of CPU platforms, such as minCpuPlatform: Intel Haswell or minCpuPlatform: Intel Sandy Bridge. For more information, read [how to specify min CPU platform](https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform) To unset the min cpu platform field pass \"automatic\" as field value.", + "description": "Deprecated. Minimum CPU platform to be used for NAP created node pools. The instance may be scheduled on the specified or newer CPU platform. Applicable values are the friendly names of CPU platforms, such as minCpuPlatform: Intel Haswell or minCpuPlatform: Intel Sandy Bridge. For more information, read [how to specify min CPU platform](https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform) This field is deprecated, min_cpu_platform should be specified using cloud.google.com/requested-min-cpu-platform label selector on the pod. To unset the min cpu platform field pass \"automatic\" as field value.", "type": "string" }, "oauthScopes": { @@ -2914,6 +2914,10 @@ "format": "int32", "type": "integer" }, + "nodePoolAutoConfig": { + "$ref": "NodePoolAutoConfig", + "description": "Node pool configs that apply to all auto-provisioned node pools in autopilot clusters and node auto-provisioning enabled clusters." + }, "nodePoolDefaults": { "$ref": "NodePoolDefaults", "description": "Default NodePool settings for the entire cluster. These settings are overridden if specified on the specific NodePool object." @@ -3153,6 +3157,10 @@ "description": "The monitoring service the cluster should use to write metrics. Currently available options: * \"monitoring.googleapis.com/kubernetes\" - The Cloud Monitoring service with a Kubernetes-native resource model * `monitoring.googleapis.com` - The legacy Cloud Monitoring service (no longer available as of GKE 1.15). * `none` - No metrics will be exported from the cluster. If left as an empty string,`monitoring.googleapis.com/kubernetes` will be used for GKE 1.14+ or `monitoring.googleapis.com` for earlier versions.", "type": "string" }, + "desiredNodePoolAutoConfigNetworkTags": { + "$ref": "NetworkTags", + "description": "The desired network tags that apply to all auto-provisioned node pools in autopilot clusters and node auto-provisioning enabled clusters." + }, "desiredNodePoolAutoscaling": { "$ref": "NodePoolAutoscaling", "description": "Autoscaler configuration for the node pool specified in desired_node_pool_id. If there is only one pool in the cluster and desired_node_pool_id is not provided then the change applies to that single node pool." @@ -4167,6 +4175,20 @@ }, "type": "object" }, + "NetworkTags": { + "description": "Collection of Compute Engine network tags that can be applied to a node's underlying VM instance.", + "id": "NetworkTags", + "properties": { + "tags": { + "description": "List of network tags.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, "NodeConfig": { "description": "Parameters that describe the nodes in a cluster.", "id": "NodeConfig", @@ -4466,6 +4488,17 @@ }, "type": "object" }, + "NodePoolAutoConfig": { + "description": "Node pool configs that apply to all auto-provisioned node pools in autopilot clusters and node auto-provisioning enabled clusters.", + "id": "NodePoolAutoConfig", + "properties": { + "networkTags": { + "$ref": "NetworkTags", + "description": "The list of instance tags applied to all nodes. Tags are used to identify valid sources or targets for network firewalls and are specified by the client during cluster creation. Each tag within the list must comply with RFC1035." + } + }, + "type": "object" + }, "NodePoolAutoscaling": { "description": "NodePoolAutoscaling contains information required by cluster autoscaler to adjust the size of the node pool to the current cluster usage.", "id": "NodePoolAutoscaling", diff --git a/container/v1/container-gen.go b/container/v1/container-gen.go index abc62202f43..f0597d09c95 100644 --- a/container/v1/container-gen.go +++ b/container/v1/container-gen.go @@ -553,13 +553,17 @@ type AutoprovisioningNodePoolDefaults struct { // node-pools. Management *NodeManagement `json:"management,omitempty"` - // MinCpuPlatform: Minimum CPU platform to be used for NAP created node - // pools. The instance may be scheduled on the specified or newer CPU - // platform. Applicable values are the friendly names of CPU platforms, - // such as minCpuPlatform: Intel Haswell or minCpuPlatform: Intel Sandy - // Bridge. For more information, read how to specify min CPU platform + // MinCpuPlatform: Deprecated. Minimum CPU platform to be used for NAP + // created node pools. The instance may be scheduled on the specified or + // newer CPU platform. Applicable values are the friendly names of CPU + // platforms, such as minCpuPlatform: Intel Haswell or minCpuPlatform: + // Intel Sandy Bridge. For more information, read how to specify min CPU + // platform // (https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform) - // To unset the min cpu platform field pass "automatic" as field value. + // This field is deprecated, min_cpu_platform should be specified using + // cloud.google.com/requested-min-cpu-platform label selector on the + // pod. To unset the min cpu platform field pass "automatic" as field + // value. MinCpuPlatform string `json:"minCpuPlatform,omitempty"` // OauthScopes: Scopes that are used by NAP when creating node pools. @@ -1038,6 +1042,11 @@ type Cluster struct { // is in route-based network mode. NodeIpv4CidrSize int64 `json:"nodeIpv4CidrSize,omitempty"` + // NodePoolAutoConfig: Node pool configs that apply to all + // auto-provisioned node pools in autopilot clusters and node + // auto-provisioning enabled clusters. + NodePoolAutoConfig *NodePoolAutoConfig `json:"nodePoolAutoConfig,omitempty"` + // NodePoolDefaults: Default NodePool settings for the entire cluster. // These settings are overridden if specified on the specific NodePool // object. @@ -1327,6 +1336,11 @@ type ClusterUpdate struct { // versions. DesiredMonitoringService string `json:"desiredMonitoringService,omitempty"` + // DesiredNodePoolAutoConfigNetworkTags: The desired network tags that + // apply to all auto-provisioned node pools in autopilot clusters and + // node auto-provisioning enabled clusters. + DesiredNodePoolAutoConfigNetworkTags *NetworkTags `json:"desiredNodePoolAutoConfigNetworkTags,omitempty"` + // DesiredNodePoolAutoscaling: Autoscaler configuration for the node // pool specified in desired_node_pool_id. If there is only one pool in // the cluster and desired_node_pool_id is not provided then the change @@ -3293,6 +3307,35 @@ func (s *NetworkPolicyConfig) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } +// NetworkTags: Collection of Compute Engine network tags that can be +// applied to a node's underlying VM instance. +type NetworkTags struct { + // Tags: List of network tags. + Tags []string `json:"tags,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Tags") to + // unconditionally include in API requests. By default, fields with + // empty or default values are omitted from API requests. However, any + // non-pointer, non-interface field appearing in ForceSendFields will be + // sent to the server regardless of whether the field is empty or not. + // This may be used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "Tags") to include in API + // requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. + NullFields []string `json:"-"` +} + +func (s *NetworkTags) MarshalJSON() ([]byte, error) { + type NoMethod NetworkTags + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + // NodeConfig: Parameters that describe the nodes in a cluster. type NodeConfig struct { // Accelerators: A list of hardware accelerators to be attached to each @@ -3765,6 +3808,39 @@ func (s *NodePool) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } +// NodePoolAutoConfig: Node pool configs that apply to all +// auto-provisioned node pools in autopilot clusters and node +// auto-provisioning enabled clusters. +type NodePoolAutoConfig struct { + // NetworkTags: The list of instance tags applied to all nodes. Tags are + // used to identify valid sources or targets for network firewalls and + // are specified by the client during cluster creation. Each tag within + // the list must comply with RFC1035. + NetworkTags *NetworkTags `json:"networkTags,omitempty"` + + // ForceSendFields is a list of field names (e.g. "NetworkTags") to + // unconditionally include in API requests. By default, fields with + // empty or default values are omitted from API requests. However, any + // non-pointer, non-interface field appearing in ForceSendFields will be + // sent to the server regardless of whether the field is empty or not. + // This may be used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "NetworkTags") to include + // in API requests with the JSON null value. By default, fields with + // empty values are omitted from API requests. However, any field with + // an empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. + NullFields []string `json:"-"` +} + +func (s *NodePoolAutoConfig) MarshalJSON() ([]byte, error) { + type NoMethod NodePoolAutoConfig + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + // NodePoolAutoscaling: NodePoolAutoscaling contains information // required by cluster autoscaler to adjust the size of the node pool to // the current cluster usage. diff --git a/displayvideo/v1/displayvideo-api.json b/displayvideo/v1/displayvideo-api.json index 47d7e88399b..89aef12d5e3 100644 --- a/displayvideo/v1/displayvideo-api.json +++ b/displayvideo/v1/displayvideo-api.json @@ -5315,7 +5315,7 @@ "type": "string" }, "updateMask": { - "description": "Required. The mask to control which fields to update.", + "description": "Required. The mask to control which fields to update. Updates are only supported for the following fields: * `displayName` * `description` * `membershipDurationDays`", "format": "google-fieldmask", "location": "query", "type": "string" @@ -7730,7 +7730,7 @@ } } }, - "revision": "20220217", + "revision": "20220303", "rootUrl": "https://displayvideo.googleapis.com/", "schemas": { "ActivateManualTriggerRequest": { @@ -10946,7 +10946,7 @@ "type": "object" }, "Date": { - "description": "Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values * A month and day, with a zero year (e.g., an anniversary) * A year on its own, with a zero month and a zero day * A year and month, with a zero day (e.g., a credit card expiration date) Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp", + "description": "Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp", "id": "Date", "properties": { "day": { @@ -15046,6 +15046,10 @@ "Viewable impressions." ], "type": "string" + }, + "raiseBidForDeals": { + "description": "Controls whether the strategy takes deal floor prices into account.", + "type": "boolean" } }, "type": "object" diff --git a/displayvideo/v1/displayvideo-gen.go b/displayvideo/v1/displayvideo-gen.go index b42a3fa58af..230d399317c 100644 --- a/displayvideo/v1/displayvideo-gen.go +++ b/displayvideo/v1/displayvideo-gen.go @@ -5809,11 +5809,12 @@ func (s *CustomListTargetingSetting) MarshalJSON() ([]byte, error) { // birthday. The time of day and time zone are either specified // elsewhere or are insignificant. The date is relative to the Gregorian // Calendar. This can represent one of the following: * A full date, -// with non-zero year, month, and day values * A month and day, with a -// zero year (e.g., an anniversary) * A year on its own, with a zero -// month and a zero day * A year and month, with a zero day (e.g., a -// credit card expiration date) Related types: * google.type.TimeOfDay * -// google.type.DateTime * google.protobuf.Timestamp +// with non-zero year, month, and day values. * A month and day, with a +// zero year (for example, an anniversary). * A year on its own, with a +// zero month and a zero day. * A year and month, with a zero day (for +// example, a credit card expiration date). Related types: * +// google.type.TimeOfDay * google.type.DateTime * +// google.protobuf.Timestamp type Date struct { // Day: Day of a month. Must be from 1 to 31 and valid for the year and // month, or 0 to specify a year by itself or a year and month where the @@ -11364,6 +11365,10 @@ type MaximizeSpendBidStrategy struct { // impressions. PerformanceGoalType string `json:"performanceGoalType,omitempty"` + // RaiseBidForDeals: Controls whether the strategy takes deal floor + // prices into account. + RaiseBidForDeals bool `json:"raiseBidForDeals,omitempty"` + // ForceSendFields is a list of field names (e.g. // "CustomBiddingAlgorithmId") to unconditionally include in API // requests. By default, fields with empty or default values are omitted @@ -34246,7 +34251,9 @@ func (c *FirstAndThirdPartyAudiencesPatchCall) AdvertiserId(advertiserId int64) } // UpdateMask sets the optional parameter "updateMask": Required. The -// mask to control which fields to update. +// mask to control which fields to update. Updates are only supported +// for the following fields: * `displayName` * `description` * +// `membershipDurationDays` func (c *FirstAndThirdPartyAudiencesPatchCall) UpdateMask(updateMask string) *FirstAndThirdPartyAudiencesPatchCall { c.urlParams_.Set("updateMask", updateMask) return c @@ -34366,7 +34373,7 @@ func (c *FirstAndThirdPartyAudiencesPatchCall) Do(opts ...googleapi.CallOption) // "type": "string" // }, // "updateMask": { - // "description": "Required. The mask to control which fields to update.", + // "description": "Required. The mask to control which fields to update. Updates are only supported for the following fields: * `displayName` * `description` * `membershipDurationDays`", // "format": "google-fieldmask", // "location": "query", // "type": "string"