Skip to content

Commit

Permalink
feat(logging): update the api
Browse files Browse the repository at this point in the history
#### logging:v2

The following keys were added:
- schemas.BucketMetadata.properties.state.readOnly (Total Keys: 1)
- schemas.CmekSettings.properties.kmsKeyVersionName.readOnly (Total Keys: 1)
- schemas.CopyLogEntriesMetadata.properties.state.readOnly (Total Keys: 1)
- schemas.Link.properties.name.readOnly (Total Keys: 1)
- schemas.LinkMetadata.properties.state.readOnly (Total Keys: 1)
- schemas.LogExclusion.properties.name.readOnly (Total Keys: 1)
- schemas.LogSink.properties.name.readOnly (Total Keys: 1)
- schemas.LogView.properties.name.readOnly (Total Keys: 1)
- schemas.RecentQuery.properties.lastRunTime.readOnly (Total Keys: 1)
  • Loading branch information
yoshi-automation committed Jan 16, 2024
1 parent f95e423 commit 3a07e69
Show file tree
Hide file tree
Showing 40 changed files with 756 additions and 741 deletions.
12 changes: 6 additions & 6 deletions docs/dyn/logging_v2.billingAccounts.exclusions.html
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ <h3>Method Details</h3>
&quot;description&quot;: &quot;A String&quot;, # Optional. A description of this exclusion.
&quot;disabled&quot;: True or False, # Optional. If set to True, then this exclusion is disabled and it does not exclude any log entries. You can update an exclusion to change the value of this field.
&quot;filter&quot;: &quot;A String&quot;, # Required. An advanced logs filter (https://cloud.google.com/logging/docs/view/advanced-queries) that matches the log entries to be excluded. By using the sample function (https://cloud.google.com/logging/docs/view/advanced-queries#sample), you can exclude less than 100% of the matching log entries.For example, the following query matches 99% of low-severity log entries from Google Cloud Storage buckets:resource.type=gcs_bucket severity&lt;ERROR sample(insertId, 0.99)
&quot;name&quot;: &quot;A String&quot;, # Required. A client-assigned identifier, such as &quot;load-balancer-exclusion&quot;. Identifiers are limited to 100 characters and can include only letters, digits, underscores, hyphens, and periods. First character has to be alphanumeric.
&quot;name&quot;: &quot;A String&quot;, # Output only. A client-assigned identifier, such as &quot;load-balancer-exclusion&quot;. Identifiers are limited to 100 characters and can include only letters, digits, underscores, hyphens, and periods. First character has to be alphanumeric.
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. The last update timestamp of the exclusion.This field may not be present for older exclusions.
}

Expand All @@ -132,7 +132,7 @@ <h3>Method Details</h3>
&quot;description&quot;: &quot;A String&quot;, # Optional. A description of this exclusion.
&quot;disabled&quot;: True or False, # Optional. If set to True, then this exclusion is disabled and it does not exclude any log entries. You can update an exclusion to change the value of this field.
&quot;filter&quot;: &quot;A String&quot;, # Required. An advanced logs filter (https://cloud.google.com/logging/docs/view/advanced-queries) that matches the log entries to be excluded. By using the sample function (https://cloud.google.com/logging/docs/view/advanced-queries#sample), you can exclude less than 100% of the matching log entries.For example, the following query matches 99% of low-severity log entries from Google Cloud Storage buckets:resource.type=gcs_bucket severity&lt;ERROR sample(insertId, 0.99)
&quot;name&quot;: &quot;A String&quot;, # Required. A client-assigned identifier, such as &quot;load-balancer-exclusion&quot;. Identifiers are limited to 100 characters and can include only letters, digits, underscores, hyphens, and periods. First character has to be alphanumeric.
&quot;name&quot;: &quot;A String&quot;, # Output only. A client-assigned identifier, such as &quot;load-balancer-exclusion&quot;. Identifiers are limited to 100 characters and can include only letters, digits, underscores, hyphens, and periods. First character has to be alphanumeric.
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. The last update timestamp of the exclusion.This field may not be present for older exclusions.
}</pre>
</div>
Expand Down Expand Up @@ -174,7 +174,7 @@ <h3>Method Details</h3>
&quot;description&quot;: &quot;A String&quot;, # Optional. A description of this exclusion.
&quot;disabled&quot;: True or False, # Optional. If set to True, then this exclusion is disabled and it does not exclude any log entries. You can update an exclusion to change the value of this field.
&quot;filter&quot;: &quot;A String&quot;, # Required. An advanced logs filter (https://cloud.google.com/logging/docs/view/advanced-queries) that matches the log entries to be excluded. By using the sample function (https://cloud.google.com/logging/docs/view/advanced-queries#sample), you can exclude less than 100% of the matching log entries.For example, the following query matches 99% of low-severity log entries from Google Cloud Storage buckets:resource.type=gcs_bucket severity&lt;ERROR sample(insertId, 0.99)
&quot;name&quot;: &quot;A String&quot;, # Required. A client-assigned identifier, such as &quot;load-balancer-exclusion&quot;. Identifiers are limited to 100 characters and can include only letters, digits, underscores, hyphens, and periods. First character has to be alphanumeric.
&quot;name&quot;: &quot;A String&quot;, # Output only. A client-assigned identifier, such as &quot;load-balancer-exclusion&quot;. Identifiers are limited to 100 characters and can include only letters, digits, underscores, hyphens, and periods. First character has to be alphanumeric.
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. The last update timestamp of the exclusion.This field may not be present for older exclusions.
}</pre>
</div>
Expand Down Expand Up @@ -202,7 +202,7 @@ <h3>Method Details</h3>
&quot;description&quot;: &quot;A String&quot;, # Optional. A description of this exclusion.
&quot;disabled&quot;: True or False, # Optional. If set to True, then this exclusion is disabled and it does not exclude any log entries. You can update an exclusion to change the value of this field.
&quot;filter&quot;: &quot;A String&quot;, # Required. An advanced logs filter (https://cloud.google.com/logging/docs/view/advanced-queries) that matches the log entries to be excluded. By using the sample function (https://cloud.google.com/logging/docs/view/advanced-queries#sample), you can exclude less than 100% of the matching log entries.For example, the following query matches 99% of low-severity log entries from Google Cloud Storage buckets:resource.type=gcs_bucket severity&lt;ERROR sample(insertId, 0.99)
&quot;name&quot;: &quot;A String&quot;, # Required. A client-assigned identifier, such as &quot;load-balancer-exclusion&quot;. Identifiers are limited to 100 characters and can include only letters, digits, underscores, hyphens, and periods. First character has to be alphanumeric.
&quot;name&quot;: &quot;A String&quot;, # Output only. A client-assigned identifier, such as &quot;load-balancer-exclusion&quot;. Identifiers are limited to 100 characters and can include only letters, digits, underscores, hyphens, and periods. First character has to be alphanumeric.
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. The last update timestamp of the exclusion.This field may not be present for older exclusions.
},
],
Expand Down Expand Up @@ -238,7 +238,7 @@ <h3>Method Details</h3>
&quot;description&quot;: &quot;A String&quot;, # Optional. A description of this exclusion.
&quot;disabled&quot;: True or False, # Optional. If set to True, then this exclusion is disabled and it does not exclude any log entries. You can update an exclusion to change the value of this field.
&quot;filter&quot;: &quot;A String&quot;, # Required. An advanced logs filter (https://cloud.google.com/logging/docs/view/advanced-queries) that matches the log entries to be excluded. By using the sample function (https://cloud.google.com/logging/docs/view/advanced-queries#sample), you can exclude less than 100% of the matching log entries.For example, the following query matches 99% of low-severity log entries from Google Cloud Storage buckets:resource.type=gcs_bucket severity&lt;ERROR sample(insertId, 0.99)
&quot;name&quot;: &quot;A String&quot;, # Required. A client-assigned identifier, such as &quot;load-balancer-exclusion&quot;. Identifiers are limited to 100 characters and can include only letters, digits, underscores, hyphens, and periods. First character has to be alphanumeric.
&quot;name&quot;: &quot;A String&quot;, # Output only. A client-assigned identifier, such as &quot;load-balancer-exclusion&quot;. Identifiers are limited to 100 characters and can include only letters, digits, underscores, hyphens, and periods. First character has to be alphanumeric.
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. The last update timestamp of the exclusion.This field may not be present for older exclusions.
}

Expand All @@ -256,7 +256,7 @@ <h3>Method Details</h3>
&quot;description&quot;: &quot;A String&quot;, # Optional. A description of this exclusion.
&quot;disabled&quot;: True or False, # Optional. If set to True, then this exclusion is disabled and it does not exclude any log entries. You can update an exclusion to change the value of this field.
&quot;filter&quot;: &quot;A String&quot;, # Required. An advanced logs filter (https://cloud.google.com/logging/docs/view/advanced-queries) that matches the log entries to be excluded. By using the sample function (https://cloud.google.com/logging/docs/view/advanced-queries#sample), you can exclude less than 100% of the matching log entries.For example, the following query matches 99% of low-severity log entries from Google Cloud Storage buckets:resource.type=gcs_bucket severity&lt;ERROR sample(insertId, 0.99)
&quot;name&quot;: &quot;A String&quot;, # Required. A client-assigned identifier, such as &quot;load-balancer-exclusion&quot;. Identifiers are limited to 100 characters and can include only letters, digits, underscores, hyphens, and periods. First character has to be alphanumeric.
&quot;name&quot;: &quot;A String&quot;, # Output only. A client-assigned identifier, such as &quot;load-balancer-exclusion&quot;. Identifiers are limited to 100 characters and can include only letters, digits, underscores, hyphens, and periods. First character has to be alphanumeric.
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. The last update timestamp of the exclusion.This field may not be present for older exclusions.
}</pre>
</div>
Expand Down
6 changes: 3 additions & 3 deletions docs/dyn/logging_v2.billingAccounts.html
Original file line number Diff line number Diff line change
Expand Up @@ -124,8 +124,8 @@ <h3>Method Details</h3>
An object of the form:

{ # Describes the customer-managed encryption key (CMEK) settings associated with a project, folder, organization, billing account, or flexible resource.Note: CMEK for the Log Router can currently only be configured for Google Cloud organizations. Once configured, it applies to all projects and folders in the Google Cloud organization.See Enabling CMEK for Log Router (https://cloud.google.com/logging/docs/routing/managed-encryption) for more information.
&quot;kmsKeyName&quot;: &quot;A String&quot;, # The resource name for the configured Cloud KMS key.KMS key name format: &quot;projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/cryptoKeys/[KEY]&quot; For example:&quot;projects/my-project/locations/us-central1/keyRings/my-ring/cryptoKeys/my-key&quot;To enable CMEK for the Log Router, set this field to a valid kms_key_name for which the associated service account has the needed cloudkms.cryptoKeyEncrypterDecrypter roles assigned for the key.The Cloud KMS key used by the Log Router can be updated by changing the kms_key_name to a new valid key name or disabled by setting the key name to an empty string. Encryption operations that are in progress will be completed with the key that was in use when they started. Decryption operations will be completed using the key that was used at the time of encryption unless access to that key has been revoked.To disable CMEK for the Log Router, set this field to an empty string.See Enabling CMEK for Log Router (https://cloud.google.com/logging/docs/routing/managed-encryption) for more information.
&quot;kmsKeyVersionName&quot;: &quot;A String&quot;, # The CryptoKeyVersion resource name for the configured Cloud KMS key.KMS key name format: &quot;projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/cryptoKeys/[KEY]/cryptoKeyVersions/[VERSION]&quot; For example:&quot;projects/my-project/locations/us-central1/keyRings/my-ring/cryptoKeys/my-key/cryptoKeyVersions/1&quot;This is a read-only field used to convey the specific configured CryptoKeyVersion of kms_key that has been configured. It will be populated in cases where the CMEK settings are bound to a single key version.If this field is populated, the kms_key is tied to a specific CryptoKeyVersion.
&quot;kmsKeyName&quot;: &quot;A String&quot;, # Optional. The resource name for the configured Cloud KMS key.KMS key name format: &quot;projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/cryptoKeys/[KEY]&quot; For example:&quot;projects/my-project/locations/us-central1/keyRings/my-ring/cryptoKeys/my-key&quot;To enable CMEK for the Log Router, set this field to a valid kms_key_name for which the associated service account has the needed cloudkms.cryptoKeyEncrypterDecrypter roles assigned for the key.The Cloud KMS key used by the Log Router can be updated by changing the kms_key_name to a new valid key name or disabled by setting the key name to an empty string. Encryption operations that are in progress will be completed with the key that was in use when they started. Decryption operations will be completed using the key that was used at the time of encryption unless access to that key has been revoked.To disable CMEK for the Log Router, set this field to an empty string.See Enabling CMEK for Log Router (https://cloud.google.com/logging/docs/routing/managed-encryption) for more information.
&quot;kmsKeyVersionName&quot;: &quot;A String&quot;, # Output only. The CryptoKeyVersion resource name for the configured Cloud KMS key.KMS key name format: &quot;projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/cryptoKeys/[KEY]/cryptoKeyVersions/[VERSION]&quot; For example:&quot;projects/my-project/locations/us-central1/keyRings/my-ring/cryptoKeys/my-key/cryptoKeyVersions/1&quot;This is a read-only field used to convey the specific configured CryptoKeyVersion of kms_key that has been configured. It will be populated in cases where the CMEK settings are bound to a single key version.If this field is populated, the kms_key is tied to a specific CryptoKeyVersion.
&quot;name&quot;: &quot;A String&quot;, # Output only. The resource name of the CMEK settings.
&quot;serviceAccountId&quot;: &quot;A String&quot;, # Output only. The service account that will be used by the Log Router to access your Cloud KMS key.Before enabling CMEK for Log Router, you must first assign the cloudkms.cryptoKeyEncrypterDecrypter role to the service account that the Log Router will use to access your Cloud KMS key. Use GetCmekSettings to obtain the service account ID.See Enabling CMEK for Log Router (https://cloud.google.com/logging/docs/routing/managed-encryption) for more information.
}</pre>
Expand Down Expand Up @@ -153,7 +153,7 @@ <h3>Method Details</h3>
&quot;description&quot;: &quot;A String&quot;, # Optional. A description of this exclusion.
&quot;disabled&quot;: True or False, # Optional. If set to True, then this exclusion is disabled and it does not exclude any log entries. You can update an exclusion to change the value of this field.
&quot;filter&quot;: &quot;A String&quot;, # Required. An advanced logs filter (https://cloud.google.com/logging/docs/view/advanced-queries) that matches the log entries to be excluded. By using the sample function (https://cloud.google.com/logging/docs/view/advanced-queries#sample), you can exclude less than 100% of the matching log entries.For example, the following query matches 99% of low-severity log entries from Google Cloud Storage buckets:resource.type=gcs_bucket severity&lt;ERROR sample(insertId, 0.99)
&quot;name&quot;: &quot;A String&quot;, # Required. A client-assigned identifier, such as &quot;load-balancer-exclusion&quot;. Identifiers are limited to 100 characters and can include only letters, digits, underscores, hyphens, and periods. First character has to be alphanumeric.
&quot;name&quot;: &quot;A String&quot;, # Output only. A client-assigned identifier, such as &quot;load-balancer-exclusion&quot;. Identifiers are limited to 100 characters and can include only letters, digits, underscores, hyphens, and periods. First character has to be alphanumeric.
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. The last update timestamp of the exclusion.This field may not be present for older exclusions.
},
],
Expand Down

0 comments on commit 3a07e69

Please sign in to comment.