Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Google APIs updated at 2023-04-03 #74

Merged
merged 1 commit into from
Apr 4, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion gcloud-sdk/genproto/google.appengine.v1.rs
Original file line number Diff line number Diff line change
Expand Up @@ -921,7 +921,7 @@ impl ManagementStatus {
}
/// A domain that a user has been authorized to administer. To authorize use
/// of a domain, verify ownership via
/// [Webmaster Central](<https://www.google.com/webmasters/verification/home>).
/// [Search Console](<https://search.google.com/search-console/welcome>).
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct AuthorizedDomain {
Expand Down
2 changes: 1 addition & 1 deletion gcloud-sdk/genproto/google.appengine.v1beta.rs
Original file line number Diff line number Diff line change
Expand Up @@ -916,7 +916,7 @@ impl ManagementStatus {
}
/// A domain that a user has been authorized to administer. To authorize use
/// of a domain, verify ownership via
/// [Webmaster Central](<https://www.google.com/webmasters/verification/home>).
/// [Search Console](<https://search.google.com/search-console/welcome>).
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct AuthorizedDomain {
Expand Down
3 changes: 3 additions & 0 deletions gcloud-sdk/genproto/google.cloud.audit.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2039,6 +2039,9 @@ pub mod big_query_audit_metadata {
#[prost(int64, tag = "10")]
pub total_slot_ms: i64,
/// Reservation usage attributed from each tier of a reservation hierarchy.
/// This field reported misleading information and will no longer be
/// populated. Aggregate usage of all jobs submitted to a reservation
/// should provide a more reliable indicator of reservation imbalance.
#[prost(message, repeated, tag = "11")]
pub reservation_usage: ::prost::alloc::vec::Vec<
job_stats::ReservationResourceUsage,
Expand Down
5 changes: 4 additions & 1 deletion gcloud-sdk/genproto/google.cloud.bigquery.logging.v1.rs
Original file line number Diff line number Diff line change
Expand Up @@ -635,7 +635,10 @@ pub struct JobStatistics {
/// The total number of slot-ms consumed by the query job.
#[prost(int64, tag = "8")]
pub total_slot_ms: i64,
/// Reservation usage.
/// Reservation usage. This field reported misleading information and will
/// no longer be populated. Aggregate usage of all jobs submitted to a
/// reservation should provide a more reliable indicator of reservation
/// imbalance.
#[prost(message, repeated, tag = "14")]
pub reservation_usage: ::prost::alloc::vec::Vec<
job_statistics::ReservationResourceUsage,
Expand Down
35 changes: 20 additions & 15 deletions gcloud-sdk/genproto/google.cloud.iap.v1.rs
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,6 @@ pub mod reauth_settings {
Unspecified = 0,
/// Prompts the user to log in again.
Login = 1,
/// Deprecated, no longer accepted by IAP APIs.
Password = 2,
/// User must use their secure key 2nd factor device.
SecureKey = 3,
Expand Down Expand Up @@ -389,25 +388,31 @@ pub struct AccessDeniedPageSettings {
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct AttributePropagationSettings {
/// Raw string CEL expression. Must return a list of attributes. Maximum of 45
/// attributes can be selected. Expressions can select different attribute
/// Raw string CEL expression. Must return a list of attributes. A maximum of
/// 45 attributes can be selected. Expressions can select different attribute
/// types from `attributes`: `attributes.saml_attributes`,
/// `attributes.iap_attributes`. Limited functions are supported:
/// - `filter: <list>.filter(<iter_var>, <predicate>)` -> returns a subset of
/// `attributes.iap_attributes`. The following functions are supported:
///
/// - filter `<list>.filter(<iter_var>, <predicate>)`: Returns a subset of
/// `<list>` where `<predicate>` is true for every item.
/// - `in: <var> in <list>` -> returns true if `<list>` contains `<var>`
/// - `selectByName: <list>.selectByName(<string>)` -> returns the attribute
///
/// - in `<var> in <list>`: Returns true if `<list>` contains `<var>`.
///
/// - selectByName `<list>.selectByName(<string>)`: Returns the attribute
/// in
/// `<list>` with the given `<string>` name, otherwise returns empty.
/// - `emitAs: <attribute>.emitAs(<string>)` -> sets the `<attribute>` name
///
/// - emitAs `<attribute>.emitAs(<string>)`: Sets the `<attribute>` name
/// field to the given `<string>` for propagation in selected output
/// credentials.
/// - `strict: <attribute>.strict()` -> ignore the `x-goog-iap-attr-` prefix
/// for the provided `<attribute>` when propagating via the `HEADER` output
/// credential, i.e. request headers.
/// - `append: <target_list>.append(<attribute>)` OR
/// `<target_list>.append(<list>)` -> append the provided `<attribute>` or
/// `<list>` onto the end of `<target_list>`.
///
/// - strict `<attribute>.strict()`: Ignores the `x-goog-iap-attr-` prefix
/// for the provided `<attribute>` when propagating with the `HEADER` output
/// credential, such as request headers.
///
/// - append `<target_list>.append(<attribute>)` OR
/// `<target_list>.append(<list>)`: Appends the provided `<attribute>` or
/// `<list>` to the end of `<target_list>`.
///
/// Example expression: `attributes.saml_attributes.filter(x, x.name in
/// \['test'\]).append(attributes.iap_attributes.selectByName('exact').emitAs('custom').strict())`
Expand Down Expand Up @@ -446,7 +451,7 @@ pub mod attribute_propagation_settings {
)]
#[repr(i32)]
pub enum OutputCredentials {
/// No output credential. This is an unsupported default.
/// An output credential is required.
Unspecified = 0,
/// Propagate attributes in the headers with "x-goog-iap-attr-" prefix.
Header = 1,
Expand Down