diff --git a/contactcenteraiplatform/v1alpha1/contactcenteraiplatform-api.json b/contactcenteraiplatform/v1alpha1/contactcenteraiplatform-api.json index 04174db00ce..c0545338a88 100644 --- a/contactcenteraiplatform/v1alpha1/contactcenteraiplatform-api.json +++ b/contactcenteraiplatform/v1alpha1/contactcenteraiplatform-api.json @@ -512,7 +512,7 @@ } } }, - "revision": "20240416", + "revision": "20240419", "rootUrl": "https://contactcenteraiplatform.googleapis.com/", "schemas": { "AdminUser": { @@ -562,6 +562,10 @@ "description": "Required. A user friendly name for the ContactCenter.", "type": "string" }, + "early": { + "$ref": "Early", + "description": "Optional. Early release channel." + }, "instanceConfig": { "$ref": "InstanceConfig", "description": "The configuration of this instance, it is currently immutable once created." @@ -581,6 +585,10 @@ "description": "name of resource", "type": "string" }, + "normal": { + "$ref": "Normal", + "description": "Optional. Normal release channel." + }, "privateComponents": { "description": "Output only. A list of UJET components that should be privately accessed. This field is set by reading settings from the data plane. For more information about the format of the component please refer to go/ccaip-vpc-sc-org-policy. This field is must be fully populated only for Create/Update resource operations. The main use case for this field is OrgPolicy checks via CPE.", "items": { @@ -662,6 +670,12 @@ }, "type": "object" }, + "Early": { + "description": "First Channel to receive the updates. Meant to dev/test instances", + "id": "Early", + "properties": {}, + "type": "object" + }, "Empty": { "description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }", "id": "Empty", @@ -838,6 +852,12 @@ }, "type": "object" }, + "Normal": { + "description": "Instances in this Channel will receive updates after all instances in `Early` were updated + 2 days.", + "id": "Normal", + "properties": {}, + "type": "object" + }, "Operation": { "description": "This resource represents a long-running operation that is the result of a network API call.", "id": "Operation", diff --git a/contactcenteraiplatform/v1alpha1/contactcenteraiplatform-gen.go b/contactcenteraiplatform/v1alpha1/contactcenteraiplatform-gen.go index aa7c5b1467e..b2c40415e30 100644 --- a/contactcenteraiplatform/v1alpha1/contactcenteraiplatform-gen.go +++ b/contactcenteraiplatform/v1alpha1/contactcenteraiplatform-gen.go @@ -258,6 +258,9 @@ type ContactCenter struct { // DisplayName: Required. A user friendly name for the ContactCenter. DisplayName string `json:"displayName,omitempty"` + // Early: Optional. Early release channel. + Early *Early `json:"early,omitempty"` + // InstanceConfig: The configuration of this instance, it is currently // immutable once created. InstanceConfig *InstanceConfig `json:"instanceConfig,omitempty"` @@ -272,6 +275,9 @@ type ContactCenter struct { // Name: name of resource Name string `json:"name,omitempty"` + // Normal: Optional. Normal release channel. + Normal *Normal `json:"normal,omitempty"` + // PrivateComponents: Output only. A list of UJET components that should // be privately accessed. This field is set by reading settings from the // data plane. For more information about the format of the component @@ -375,6 +381,11 @@ func (s *ContactCenterQuota) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } +// Early: First Channel to receive the updates. Meant to dev/test +// instances +type Early struct { +} + // Empty: A generic empty message that you can re-use to avoid defining // duplicated empty messages in your APIs. A typical example is to use // it as the request or the response type of an API method. For @@ -642,6 +653,11 @@ func (s *Location) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } +// Normal: Instances in this Channel will receive updates after all +// instances in `Early` were updated + 2 days. +type Normal struct { +} + // Operation: This resource represents a long-running operation that is // the result of a network API call. type Operation struct { diff --git a/monitoring/v3/monitoring-api.json b/monitoring/v3/monitoring-api.json index 9d0235f67a7..b030ebabc2e 100644 --- a/monitoring/v3/monitoring-api.json +++ b/monitoring/v3/monitoring-api.json @@ -2714,7 +2714,7 @@ } } }, - "revision": "20240303", + "revision": "20240414", "rootUrl": "https://monitoring.googleapis.com/", "schemas": { "Aggregation": { @@ -3453,7 +3453,7 @@ "type": "object" }, "Documentation": { - "description": "A content string and a MIME type that describes the content string's format.", + "description": "Documentation that is included in the notifications and incidents pertaining to this policy.", "id": "Documentation", "properties": { "content": { @@ -3859,7 +3859,7 @@ }, "authInfo": { "$ref": "BasicAuthentication", - "description": "The authentication information. Optional when creating an HTTP check; defaults to empty." + "description": "The authentication information. Optional when creating an HTTP check; defaults to empty. Do not set both auth_method and auth_info." }, "body": { "description": "The request body associated with the HTTP POST request. If content_type is URL_ENCODED, the body passed in must be URL-encoded. Users can provide a Content-Length header via the headers field or the API will do so. If the request_method is GET and body is not empty, the API will return an error. The maximum byte size is 1 megabyte.Note: If client libraries aren't used (which performs the conversion automatically) base64 encode your body data since the field is of bytes type.", @@ -3922,6 +3922,10 @@ ], "type": "string" }, + "serviceAgentAuthentication": { + "$ref": "ServiceAgentAuthentication", + "description": "If specified, Uptime will generate and attach an OIDC JWT token for the Monitoring service agent service account as an Authorization header in the HTTP request when probing." + }, "useSsl": { "description": "If true, use HTTPS instead of HTTP to run the check.", "type": "boolean" @@ -5384,6 +5388,25 @@ }, "type": "object" }, + "ServiceAgentAuthentication": { + "description": "Contains information needed for generating an OpenID Connect token (https://developers.google.com/identity/protocols/OpenIDConnect). The OIDC token will be generated for the Monitoring service agent service account.", + "id": "ServiceAgentAuthentication", + "properties": { + "type": { + "description": "Type of authentication.", + "enum": [ + "SERVICE_AGENT_AUTHENTICATION_TYPE_UNSPECIFIED", + "OIDC_TOKEN" + ], + "enumDescriptions": [ + "Default value, will result in OIDC Authentication.", + "OIDC Authentication" + ], + "type": "string" + } + }, + "type": "object" + }, "ServiceLevelIndicator": { "description": "A Service-Level Indicator (SLI) describes the \"performance\" of a service. For some services, the SLI is well-defined. In such cases, the SLI can be described easily by referencing the well-known SLI and providing the needed parameters. Alternatively, a \"custom\" SLI can be defined with a query to the underlying metric store. An SLI is defined to be good_service / total_service over any queried time interval. The value of performance always falls into the range 0 \u003c= performance \u003c= 1. A custom SLI describes how to compute this ratio, whether this is by dividing values from a pair of time series, cutting a Distribution into good and bad counts, or counting time windows in which the service complies with a criterion. For separation of concerns, a single Service-Level Indicator measures performance for only one aspect of service quality, such as fraction of successful queries or fast-enough queries.", "id": "ServiceLevelIndicator", diff --git a/monitoring/v3/monitoring-gen.go b/monitoring/v3/monitoring-gen.go index 1148f6999af..cea2b5bfc9e 100644 --- a/monitoring/v3/monitoring-gen.go +++ b/monitoring/v3/monitoring-gen.go @@ -1878,8 +1878,8 @@ func (s *DistributionCut) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// Documentation: A content string and a MIME type that describes the -// content string's format. +// Documentation: Documentation that is included in the notifications +// and incidents pertaining to this policy. type Documentation struct { // Content: The body of the documentation, interpreted according to // mime_type. The content may not exceed 8,192 Unicode characters and @@ -2659,7 +2659,8 @@ type HttpCheck struct { AcceptedResponseStatusCodes []*ResponseStatusCode `json:"acceptedResponseStatusCodes,omitempty"` // AuthInfo: The authentication information. Optional when creating an - // HTTP check; defaults to empty. + // HTTP check; defaults to empty. Do not set both auth_method and + // auth_info. AuthInfo *BasicAuthentication `json:"authInfo,omitempty"` // Body: The request body associated with the HTTP POST request. If @@ -2741,6 +2742,11 @@ type HttpCheck struct { // "POST" - POST request. RequestMethod string `json:"requestMethod,omitempty"` + // ServiceAgentAuthentication: If specified, Uptime will generate and + // attach an OIDC JWT token for the Monitoring service agent service + // account as an Authorization header in the HTTP request when probing. + ServiceAgentAuthentication *ServiceAgentAuthentication `json:"serviceAgentAuthentication,omitempty"` + // UseSsl: If true, use HTTPS instead of HTTP to run the check. UseSsl bool `json:"useSsl,omitempty"` @@ -5564,6 +5570,43 @@ func (s *MService) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } +// ServiceAgentAuthentication: Contains information needed for +// generating an OpenID Connect token +// (https://developers.google.com/identity/protocols/OpenIDConnect). The +// OIDC token will be generated for the Monitoring service agent service +// account. +type ServiceAgentAuthentication struct { + // Type: Type of authentication. + // + // Possible values: + // "SERVICE_AGENT_AUTHENTICATION_TYPE_UNSPECIFIED" - Default value, + // will result in OIDC Authentication. + // "OIDC_TOKEN" - OIDC Authentication + Type string `json:"type,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Type") 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. "Type") 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 *ServiceAgentAuthentication) MarshalJSON() ([]byte, error) { + type NoMethod ServiceAgentAuthentication + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + // ServiceLevelIndicator: A Service-Level Indicator (SLI) describes the // "performance" of a service. For some services, the SLI is // well-defined. In such cases, the SLI can be described easily by