diff --git a/apigee/v1/apigee-api.json b/apigee/v1/apigee-api.json index 3926711fbc8..62b577a187d 100644 --- a/apigee/v1/apigee-api.json +++ b/apigee/v1/apigee-api.json @@ -165,7 +165,7 @@ ] }, "delete": { - "description": "Delete an Apigee organization. For organizations with BillingType EVALUATION, an immediate deletion is performed. For paid organizations, a soft-deletion is performed. The organization can be restored within the soft-deletion period - which can be controlled using the retention field in the request.", + "description": "Delete an Apigee organization. For organizations with BillingType EVALUATION, an immediate deletion is performed. For paid organizations, a soft-deletion is performed. The organization can be restored within the soft-deletion period which can be controlled using the retention field in the request.", "flatPath": "v1/organizations/{organizationsId}", "httpMethod": "DELETE", "id": "apigee.organizations.delete", @@ -181,13 +181,13 @@ "type": "string" }, "retention": { - "description": "Optional. This setting is only applicable for organizations that are soft-deleted (i.e. BillingType is not EVALUATION). It controls how long Organization data will be retained after the initial delete operation completes. During this period, the Organization may be restored to its last known state. After this period, the Organization will no longer be able to be restored.", + "description": "Optional. This setting is applicable only for organizations that are soft-deleted (i.e., BillingType is not EVALUATION). It controls how long Organization data will be retained after the initial delete operation completes. During this period, the Organization may be restored to its last known state. After this period, the Organization will no longer be able to be restored.", "enum": [ "DELETION_RETENTION_UNSPECIFIED", "MINIMUM" ], "enumDescriptions": [ - "Default data retention settings will be applied.", + "Default data retention setting of seven days will be applied.", "Organization data will be retained for the minimum period of 24 hours." ], "location": "query", @@ -2276,7 +2276,7 @@ ] }, "generateKeyPairOrUpdateDeveloperAppStatus": { - "description": "Manages access to a developer app by enabling you to: * Approve or revoke a developer app * Generate a new consumer key and secret for a developer app To approve or revoke a developer app, set the `action` query parameter to `approved` or `revoked`, respectively, and the `Content-Type` header to `application/octet-stream`. If a developer app is revoked, none of its API keys are valid for API calls even though the keys are still `approved`. If successful, the API call returns the following HTTP status code: `204 No Content` To generate a new consumer key and secret for a developer app, pass the new key/secret details. Rather than replace an existing key, this API generates a new key. In this case, multiple key pairs may be associated with a single developer app. Each key pair has an independent status (`approved` or `revoked`) and expiration time. Any approved, non-expired key can be used in an API call. For example, if you're using API key rotation, you can generate new keys with expiration times that overlap keys that are going to expire. You might also generate a new consumer key/secret if the security of the original key/secret is compromised. The `keyExpiresIn` property defines the expiration time for the API key in milliseconds. If you don't set this property or set it to `-1`, the API key never expires. **Notes**: * When generating a new key/secret, this API replaces the existing attributes, notes, and callback URLs with those specified in the request. Include or exclude any existing information that you want to retain or delete, respectively. * To migrate existing consumer keys and secrets to hybrid from another system, see the CreateDeveloperAppKey API.", + "description": "Manages access to a developer app by enabling you to: * Approve or revoke a developer app * Generate a new consumer key and secret for a developer app To approve or revoke a developer app, set the `action` query parameter to `approve` or `revoke`, respectively, and the `Content-Type` header to `application/octet-stream`. If a developer app is revoked, none of its API keys are valid for API calls even though the keys are still approved. If successful, the API call returns the following HTTP status code: `204 No Content` To generate a new consumer key and secret for a developer app, pass the new key/secret details. Rather than replace an existing key, this API generates a new key. In this case, multiple key pairs may be associated with a single developer app. Each key pair has an independent status (`approve` or `revoke`) and expiration time. Any approved, non-expired key can be used in an API call. For example, if you're using API key rotation, you can generate new keys with expiration times that overlap keys that are going to expire. You might also generate a new consumer key/secret if the security of the original key/secret is compromised. The `keyExpiresIn` property defines the expiration time for the API key in milliseconds. If you don't set this property or set it to `-1`, the API key never expires. **Notes**: * When generating a new key/secret, this API replaces the existing attributes, notes, and callback URLs with those specified in the request. Include or exclude any existing information that you want to retain or delete, respectively. * To migrate existing consumer keys and secrets to hybrid from another system, see the CreateDeveloperAppKey API.", "flatPath": "v1/organizations/{organizationsId}/developers/{developersId}/apps/{appsId}", "httpMethod": "POST", "id": "apigee.organizations.developers.apps.generateKeyPairOrUpdateDeveloperAppStatus", @@ -8515,7 +8515,7 @@ } } }, - "revision": "20220707", + "revision": "20220725", "rootUrl": "https://apigee.googleapis.com/", "schemas": { "EdgeConfigstoreBundleBadBundle": { @@ -10655,7 +10655,7 @@ "type": "object" }, "GoogleCloudApigeeV1EndpointAttachment": { - "description": "Apigee endpoint attachment. For more information, see Southbound networking patterns.", + "description": "Apigee endpoint attachment. For more information, see [Southbound networking patterns] (https://cloud.google.com/apigee/docs/api-platform/architecture/southbound-networking-patterns-endpoints).", "id": "GoogleCloudApigeeV1EndpointAttachment", "properties": { "host": { @@ -11357,7 +11357,7 @@ "type": "string" }, "ipRange": { - "description": "Optional. IP range represents the customer-provided CIDR block of length 22 that will be used for the Apigee instance creation. This optional range, if provided, should be freely available as part of larger named range the customer has allocated to the Service Networking peering. If this is not provided, Apigee will automatically request for any available /22 CIDR block from Service Networking. The customer should use this CIDR block for configuring their firewall needs to allow traffic from Apigee. Input format: \"a.b.c.d/22\", Output format: a.b.c.d/22, e.f.g.h/28\"", + "description": "Optional. Comma-separated list of CIDR blocks of length 22 and/or 28 used to create the Apigee instance. Providing CIDR ranges is optional. You can provide just /22 or /28 or both (or neither). Ranges you provide should be freely available as part of a larger named range you have allocated to the Service Networking peering. If this parameter is not provided, Apigee automatically requests an available /22 and /28 CIDR block from Service Networking. Use the /22 CIDR block for configuring your firewall needs to allow traffic from Apigee. Input formats: `a.b.c.d/22` or `e.f.g.h/28` or `a.b.c.d/22,e.f.g.h/28`", "type": "string" }, "lastModifiedAt": { diff --git a/apigee/v1/apigee-gen.go b/apigee/v1/apigee-gen.go index 40bdaa6e9ce..c501ee9ff10 100644 --- a/apigee/v1/apigee-gen.go +++ b/apigee/v1/apigee-gen.go @@ -4232,7 +4232,8 @@ func (s *GoogleCloudApigeeV1DimensionMetric) MarshalJSON() ([]byte, error) { } // GoogleCloudApigeeV1EndpointAttachment: Apigee endpoint attachment. -// For more information, see Southbound networking patterns. +// For more information, see [Southbound networking patterns] +// (https://cloud.google.com/apigee/docs/api-platform/architecture/southbound-networking-patterns-endpoints). type GoogleCloudApigeeV1EndpointAttachment struct { // Host: Output only. Host that can be used in either the HTTP target // endpoint directly or as the host in target server. @@ -5267,15 +5268,16 @@ type GoogleCloudApigeeV1Instance struct { // endpoint used by clients to connect to the service. Host string `json:"host,omitempty"` - // IpRange: Optional. IP range represents the customer-provided CIDR - // block of length 22 that will be used for the Apigee instance - // creation. This optional range, if provided, should be freely - // available as part of larger named range the customer has allocated to - // the Service Networking peering. If this is not provided, Apigee will - // automatically request for any available /22 CIDR block from Service - // Networking. The customer should use this CIDR block for configuring - // their firewall needs to allow traffic from Apigee. Input format: - // "a.b.c.d/22", Output format: a.b.c.d/22, e.f.g.h/28" + // IpRange: Optional. Comma-separated list of CIDR blocks of length 22 + // and/or 28 used to create the Apigee instance. Providing CIDR ranges + // is optional. You can provide just /22 or /28 or both (or neither). + // Ranges you provide should be freely available as part of a larger + // named range you have allocated to the Service Networking peering. If + // this parameter is not provided, Apigee automatically requests an + // available /22 and /28 CIDR block from Service Networking. Use the /22 + // CIDR block for configuring your firewall needs to allow traffic from + // Apigee. Input formats: `a.b.c.d/22` or `e.f.g.h/28` or + // `a.b.c.d/22,e.f.g.h/28` IpRange string `json:"ipRange,omitempty"` // LastModifiedAt: Output only. Time the instance was last modified in @@ -11778,7 +11780,7 @@ type OrganizationsDeleteCall struct { // Delete: Delete an Apigee organization. For organizations with // BillingType EVALUATION, an immediate deletion is performed. For paid // organizations, a soft-deletion is performed. The organization can be -// restored within the soft-deletion period - which can be controlled +// restored within the soft-deletion period which can be controlled // using the retention field in the request. // // - name: Name of the organization. Use the following structure in your @@ -11790,7 +11792,7 @@ func (r *OrganizationsService) Delete(name string) *OrganizationsDeleteCall { } // Retention sets the optional parameter "retention": This setting is -// only applicable for organizations that are soft-deleted (i.e. +// applicable only for organizations that are soft-deleted (i.e., // BillingType is not EVALUATION). It controls how long Organization // data will be retained after the initial delete operation completes. // During this period, the Organization may be restored to its last @@ -11798,8 +11800,8 @@ func (r *OrganizationsService) Delete(name string) *OrganizationsDeleteCall { // able to be restored. // // Possible values: -// "DELETION_RETENTION_UNSPECIFIED" - Default data retention settings -// will be applied. +// "DELETION_RETENTION_UNSPECIFIED" - Default data retention setting +// of seven days will be applied. // "MINIMUM" - Organization data will be retained for the minimum // period of 24 hours. func (c *OrganizationsDeleteCall) Retention(retention string) *OrganizationsDeleteCall { @@ -11893,7 +11895,7 @@ func (c *OrganizationsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleLongr } return ret, nil // { - // "description": "Delete an Apigee organization. For organizations with BillingType EVALUATION, an immediate deletion is performed. For paid organizations, a soft-deletion is performed. The organization can be restored within the soft-deletion period - which can be controlled using the retention field in the request.", + // "description": "Delete an Apigee organization. For organizations with BillingType EVALUATION, an immediate deletion is performed. For paid organizations, a soft-deletion is performed. The organization can be restored within the soft-deletion period which can be controlled using the retention field in the request.", // "flatPath": "v1/organizations/{organizationsId}", // "httpMethod": "DELETE", // "id": "apigee.organizations.delete", @@ -11909,13 +11911,13 @@ func (c *OrganizationsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleLongr // "type": "string" // }, // "retention": { - // "description": "Optional. This setting is only applicable for organizations that are soft-deleted (i.e. BillingType is not EVALUATION). It controls how long Organization data will be retained after the initial delete operation completes. During this period, the Organization may be restored to its last known state. After this period, the Organization will no longer be able to be restored.", + // "description": "Optional. This setting is applicable only for organizations that are soft-deleted (i.e., BillingType is not EVALUATION). It controls how long Organization data will be retained after the initial delete operation completes. During this period, the Organization may be restored to its last known state. After this period, the Organization will no longer be able to be restored.", // "enum": [ // "DELETION_RETENTION_UNSPECIFIED", // "MINIMUM" // ], // "enumDescriptions": [ - // "Default data retention settings will be applied.", + // "Default data retention setting of seven days will be applied.", // "Organization data will be retained for the minimum period of 24 hours." // ], // "location": "query", @@ -22461,23 +22463,23 @@ type OrganizationsDevelopersAppsGenerateKeyPairOrUpdateDeveloperAppStatusCall st // developer app by enabling you to: * Approve or revoke a developer app // * Generate a new consumer key and secret for a developer app To // approve or revoke a developer app, set the `action` query parameter -// to `approved` or `revoked`, respectively, and the `Content-Type` -// header to `application/octet-stream`. If a developer app is revoked, -// none of its API keys are valid for API calls even though the keys are -// still `approved`. If successful, the API call returns the following -// HTTP status code: `204 No Content` To generate a new consumer key and +// to `approve` or `revoke`, respectively, and the `Content-Type` header +// to `application/octet-stream`. If a developer app is revoked, none of +// its API keys are valid for API calls even though the keys are still +// approved. If successful, the API call returns the following HTTP +// status code: `204 No Content` To generate a new consumer key and // secret for a developer app, pass the new key/secret details. Rather // than replace an existing key, this API generates a new key. In this // case, multiple key pairs may be associated with a single developer -// app. Each key pair has an independent status (`approved` or -// `revoked`) and expiration time. Any approved, non-expired key can be -// used in an API call. For example, if you're using API key rotation, -// you can generate new keys with expiration times that overlap keys -// that are going to expire. You might also generate a new consumer -// key/secret if the security of the original key/secret is compromised. -// The `keyExpiresIn` property defines the expiration time for the API -// key in milliseconds. If you don't set this property or set it to -// `-1`, the API key never expires. **Notes**: * When generating a new +// app. Each key pair has an independent status (`approve` or `revoke`) +// and expiration time. Any approved, non-expired key can be used in an +// API call. For example, if you're using API key rotation, you can +// generate new keys with expiration times that overlap keys that are +// going to expire. You might also generate a new consumer key/secret if +// the security of the original key/secret is compromised. The +// `keyExpiresIn` property defines the expiration time for the API key +// in milliseconds. If you don't set this property or set it to `-1`, +// the API key never expires. **Notes**: * When generating a new // key/secret, this API replaces the existing attributes, notes, and // callback URLs with those specified in the request. Include or exclude // any existing information that you want to retain or delete, @@ -22592,7 +22594,7 @@ func (c *OrganizationsDevelopersAppsGenerateKeyPairOrUpdateDeveloperAppStatusCal } return ret, nil // { - // "description": "Manages access to a developer app by enabling you to: * Approve or revoke a developer app * Generate a new consumer key and secret for a developer app To approve or revoke a developer app, set the `action` query parameter to `approved` or `revoked`, respectively, and the `Content-Type` header to `application/octet-stream`. If a developer app is revoked, none of its API keys are valid for API calls even though the keys are still `approved`. If successful, the API call returns the following HTTP status code: `204 No Content` To generate a new consumer key and secret for a developer app, pass the new key/secret details. Rather than replace an existing key, this API generates a new key. In this case, multiple key pairs may be associated with a single developer app. Each key pair has an independent status (`approved` or `revoked`) and expiration time. Any approved, non-expired key can be used in an API call. For example, if you're using API key rotation, you can generate new keys with expiration times that overlap keys that are going to expire. You might also generate a new consumer key/secret if the security of the original key/secret is compromised. The `keyExpiresIn` property defines the expiration time for the API key in milliseconds. If you don't set this property or set it to `-1`, the API key never expires. **Notes**: * When generating a new key/secret, this API replaces the existing attributes, notes, and callback URLs with those specified in the request. Include or exclude any existing information that you want to retain or delete, respectively. * To migrate existing consumer keys and secrets to hybrid from another system, see the CreateDeveloperAppKey API.", + // "description": "Manages access to a developer app by enabling you to: * Approve or revoke a developer app * Generate a new consumer key and secret for a developer app To approve or revoke a developer app, set the `action` query parameter to `approve` or `revoke`, respectively, and the `Content-Type` header to `application/octet-stream`. If a developer app is revoked, none of its API keys are valid for API calls even though the keys are still approved. If successful, the API call returns the following HTTP status code: `204 No Content` To generate a new consumer key and secret for a developer app, pass the new key/secret details. Rather than replace an existing key, this API generates a new key. In this case, multiple key pairs may be associated with a single developer app. Each key pair has an independent status (`approve` or `revoke`) and expiration time. Any approved, non-expired key can be used in an API call. For example, if you're using API key rotation, you can generate new keys with expiration times that overlap keys that are going to expire. You might also generate a new consumer key/secret if the security of the original key/secret is compromised. The `keyExpiresIn` property defines the expiration time for the API key in milliseconds. If you don't set this property or set it to `-1`, the API key never expires. **Notes**: * When generating a new key/secret, this API replaces the existing attributes, notes, and callback URLs with those specified in the request. Include or exclude any existing information that you want to retain or delete, respectively. * To migrate existing consumer keys and secrets to hybrid from another system, see the CreateDeveloperAppKey API.", // "flatPath": "v1/organizations/{organizationsId}/developers/{developersId}/apps/{appsId}", // "httpMethod": "POST", // "id": "apigee.organizations.developers.apps.generateKeyPairOrUpdateDeveloperAppStatus", diff --git a/bigquery/v2/bigquery-api.json b/bigquery/v2/bigquery-api.json index d9fe9a296c6..ac3ae805758 100644 --- a/bigquery/v2/bigquery-api.json +++ b/bigquery/v2/bigquery-api.json @@ -1710,7 +1710,7 @@ } } }, - "revision": "20220611", + "revision": "20220716", "rootUrl": "https://bigquery.googleapis.com/", "schemas": { "AggregateClassificationMetrics": { @@ -2680,6 +2680,10 @@ "description": "[Optional] An custom string that will represent a NULL value in CSV import data.", "type": "string" }, + "preserveAsciiControlCharacters": { + "description": "[Optional] Preserves the embedded ASCII control characters (the first 32 characters in the ASCII-table, from '\\x00' to '\\x1F') when loading from CSV. Only applicable to CSV, ignored for other formats.", + "type": "boolean" + }, "quote": { "default": "\"", "description": "[Optional] The value that is used to quote data sections in a CSV file. BigQuery converts the string to ISO-8859-1 encoding, and then uses the first byte of the encoded string to split the data in its raw, binary state. The default value is a double-quote ('\"'). If your data does not contain quoted sections, set the property value to an empty string. If your data contains quoted newline characters, you must also set the allowQuotedNewlines property to true.", @@ -3424,6 +3428,10 @@ "$ref": "ParquetOptions", "description": "Additional properties to set if sourceFormat is set to Parquet." }, + "referenceFileSchemaUri": { + "description": "[Optional] Provide a referencing file with the expected table schema. Enabled for the format: AVRO, PARQUET, ORC.", + "type": "string" + }, "schema": { "$ref": "TableSchema", "description": "[Optional] The schema for the data. Schema is required for CSV and JSON formats. Schema is disallowed for Google Cloud Bigtable, Cloud Datastore backups, and Avro formats." @@ -4154,6 +4162,10 @@ "$ref": "RangePartitioning", "description": "[TrustedTester] Range partitioning specification for this table. Only one of timePartitioning and rangePartitioning should be specified." }, + "referenceFileSchemaUri": { + "description": "User provided referencing file with the expected reader schema, Available for the format: AVRO, PARQUET, ORC.", + "type": "string" + }, "schema": { "$ref": "TableSchema", "description": "[Optional] The schema for the destination table. The schema can be omitted if the destination table already exists, or if you're loading data from Google Cloud Datastore." @@ -5567,7 +5579,7 @@ "type": "string" }, "pendingUnits": { - "description": "Total parallel units of work remaining for the active stages.", + "description": "Total units of work remaining for the query. This number can be revised (increased or decreased) while the query is running.", "format": "int64", "type": "string" }, diff --git a/bigquery/v2/bigquery-gen.go b/bigquery/v2/bigquery-gen.go index 909a9d9a6e2..ff2ccea8d26 100644 --- a/bigquery/v2/bigquery-gen.go +++ b/bigquery/v2/bigquery-gen.go @@ -1950,6 +1950,12 @@ type CsvOptions struct { // value in CSV import data. NullMarker string `json:"null_marker,omitempty"` + // PreserveAsciiControlCharacters: [Optional] Preserves the embedded + // ASCII control characters (the first 32 characters in the ASCII-table, + // from '\x00' to '\x1F') when loading from CSV. Only applicable to CSV, + // ignored for other formats. + PreserveAsciiControlCharacters bool `json:"preserveAsciiControlCharacters,omitempty"` + // Quote: [Optional] The value that is used to quote data sections in a // CSV file. BigQuery converts the string to ISO-8859-1 encoding, and // then uses the first byte of the encoded string to split the data in @@ -3208,6 +3214,11 @@ type ExternalDataConfiguration struct { // to Parquet. ParquetOptions *ParquetOptions `json:"parquetOptions,omitempty"` + // ReferenceFileSchemaUri: [Optional] Provide a referencing file with + // the expected table schema. Enabled for the format: AVRO, PARQUET, + // ORC. + ReferenceFileSchemaUri string `json:"referenceFileSchemaUri,omitempty"` + // Schema: [Optional] The schema for the data. Schema is required for // CSV and JSON formats. Schema is disallowed for Google Cloud Bigtable, // Cloud Datastore backups, and Avro formats. @@ -4429,6 +4440,10 @@ type JobConfigurationLoad struct { // should be specified. RangePartitioning *RangePartitioning `json:"rangePartitioning,omitempty"` + // ReferenceFileSchemaUri: User provided referencing file with the + // expected reader schema, Available for the format: AVRO, PARQUET, ORC. + ReferenceFileSchemaUri string `json:"referenceFileSchemaUri,omitempty"` + // Schema: [Optional] The schema for the destination table. The schema // can be omitted if the destination table already exists, or if you're // loading data from Google Cloud Datastore. @@ -6612,8 +6627,9 @@ type QueryTimelineSample struct { // additional slots. EstimatedRunnableUnits int64 `json:"estimatedRunnableUnits,omitempty,string"` - // PendingUnits: Total parallel units of work remaining for the active - // stages. + // PendingUnits: Total units of work remaining for the query. This + // number can be revised (increased or decreased) while the query is + // running. PendingUnits int64 `json:"pendingUnits,omitempty,string"` // TotalSlotMs: Cumulative slot-ms consumed by the query. diff --git a/monitoring/v1/monitoring-api.json b/monitoring/v1/monitoring-api.json index aa0f81d58cf..441403642f8 100644 --- a/monitoring/v1/monitoring-api.json +++ b/monitoring/v1/monitoring-api.json @@ -769,7 +769,7 @@ } } }, - "revision": "20220704", + "revision": "20220725", "rootUrl": "https://monitoring.googleapis.com/", "schemas": { "Aggregation": { @@ -2049,6 +2049,20 @@ "$ref": "TableDataSet" }, "type": "array" + }, + "metricVisualization": { + "description": "Optional. Store rendering strategy", + "enum": [ + "METRIC_VISUALIZATION_UNSPECIFIED", + "NUMBER", + "BAR" + ], + "enumDescriptions": [ + "Unspecified state", + "Default text rendering", + "Horizontal bar rendering" + ], + "type": "string" } }, "type": "object" diff --git a/monitoring/v1/monitoring-gen.go b/monitoring/v1/monitoring-gen.go index 7b65d6c46d0..657ad7931b3 100644 --- a/monitoring/v1/monitoring-gen.go +++ b/monitoring/v1/monitoring-gen.go @@ -2609,6 +2609,14 @@ type TimeSeriesTable struct { // DataSets: Required. The data displayed in this table. DataSets []*TableDataSet `json:"dataSets,omitempty"` + // MetricVisualization: Optional. Store rendering strategy + // + // Possible values: + // "METRIC_VISUALIZATION_UNSPECIFIED" - Unspecified state + // "NUMBER" - Default text rendering + // "BAR" - Horizontal bar rendering + MetricVisualization string `json:"metricVisualization,omitempty"` + // ForceSendFields is a list of field names (e.g. "DataSets") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any diff --git a/monitoring/v3/monitoring-api.json b/monitoring/v3/monitoring-api.json index 3c2b29df8ec..5481a8559ec 100644 --- a/monitoring/v3/monitoring-api.json +++ b/monitoring/v3/monitoring-api.json @@ -1112,7 +1112,7 @@ "metricDescriptors": { "methods": { "create": { - "description": "Creates a new metric descriptor. The creation is executed asynchronously and callers may check the returned operation to track its progress. User-created metric descriptors define custom metrics (https://cloud.google.com/monitoring/custom-metrics).", + "description": "Creates a new metric descriptor. The creation is executed asynchronously. User-created metric descriptors define custom metrics (https://cloud.google.com/monitoring/custom-metrics). The metric descriptor is updated if it already exists, except that metric labels are never removed.", "flatPath": "v3/projects/{projectsId}/metricDescriptors", "httpMethod": "POST", "id": "monitoring.projects.metricDescriptors.create", @@ -2571,7 +2571,7 @@ } } }, - "revision": "20220715", + "revision": "20220725", "rootUrl": "https://monitoring.googleapis.com/", "schemas": { "Aggregation": { @@ -5525,6 +5525,13 @@ "description": "The maximum amount of time to wait for the request to complete (must be between 1 and 60 seconds). Required.", "format": "google-duration", "type": "string" + }, + "userLabels": { + "additionalProperties": { + "type": "string" + }, + "description": "User-supplied key/value data to be used for organizing and identifying the UptimeCheckConfig objects.The field can contain up to 64 entries. Each key and value is limited to 63 Unicode characters or 128 bytes, whichever is smaller. Labels and values can contain only lowercase letters, numerals, underscores, and dashes. Keys must begin with a letter.", + "type": "object" } }, "type": "object" diff --git a/monitoring/v3/monitoring-gen.go b/monitoring/v3/monitoring-gen.go index 6544fa4f0d8..60dca777ed0 100644 --- a/monitoring/v3/monitoring-gen.go +++ b/monitoring/v3/monitoring-gen.go @@ -5939,6 +5939,14 @@ type UptimeCheckConfig struct { // complete (must be between 1 and 60 seconds). Required. Timeout string `json:"timeout,omitempty"` + // UserLabels: User-supplied key/value data to be used for organizing + // and identifying the UptimeCheckConfig objects.The field can contain + // up to 64 entries. Each key and value is limited to 63 Unicode + // characters or 128 bytes, whichever is smaller. Labels and values can + // contain only lowercase letters, numerals, underscores, and dashes. + // Keys must begin with a letter. + UserLabels map[string]string `json:"userLabels,omitempty"` + // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` @@ -10198,9 +10206,10 @@ type ProjectsMetricDescriptorsCreateCall struct { } // Create: Creates a new metric descriptor. The creation is executed -// asynchronously and callers may check the returned operation to track -// its progress. User-created metric descriptors define custom metrics -// (https://cloud.google.com/monitoring/custom-metrics). +// asynchronously. User-created metric descriptors define custom metrics +// (https://cloud.google.com/monitoring/custom-metrics). The metric +// descriptor is updated if it already exists, except that metric labels +// are never removed. // // - name: The project // (https://cloud.google.com/monitoring/api/v3#project_name) on which @@ -10304,7 +10313,7 @@ func (c *ProjectsMetricDescriptorsCreateCall) Do(opts ...googleapi.CallOption) ( } return ret, nil // { - // "description": "Creates a new metric descriptor. The creation is executed asynchronously and callers may check the returned operation to track its progress. User-created metric descriptors define custom metrics (https://cloud.google.com/monitoring/custom-metrics).", + // "description": "Creates a new metric descriptor. The creation is executed asynchronously. User-created metric descriptors define custom metrics (https://cloud.google.com/monitoring/custom-metrics). The metric descriptor is updated if it already exists, except that metric labels are never removed.", // "flatPath": "v3/projects/{projectsId}/metricDescriptors", // "httpMethod": "POST", // "id": "monitoring.projects.metricDescriptors.create",