Skip to content

Commit

Permalink
Google APIs updated at 2022-09-17 (#20)
Browse files Browse the repository at this point in the history
Co-authored-by: GitHub Actions <>
  • Loading branch information
github-actions[bot] authored Sep 17, 2022
1 parent b287b08 commit 94c9f6a
Show file tree
Hide file tree
Showing 414 changed files with 234,448 additions and 234,448 deletions.
112 changes: 56 additions & 56 deletions gcloud-sdk/genproto/ccc.hosted.marketplace.v2.rs
Original file line number Diff line number Diff line change
@@ -1,75 +1,75 @@
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct CustomerLicense {
/// The type of API resource. This is always appsmarket#customerLicense.
/// The type of API resource. This is always appsmarket#customerLicense.
#[prost(string, tag="1")]
pub kind: ::prost::alloc::string::String,
/// The customer's license status. One of:
/// The customer's license status. One of:
///
/// - `ACTIVE`: The customer has a valid license.
/// - `UNLICENSED`: There is no license: either this customer has never
/// installed your application, or else has deleted it.
/// - `ACTIVE`: The customer has a valid license.
/// - `UNLICENSED`: There is no license: either this customer has never
/// installed your application, or else has deleted it.
#[prost(string, tag="2")]
pub state: ::prost::alloc::string::String,
/// The ID of the application corresponding to this license query.
/// The ID of the application corresponding to this license query.
#[prost(string, tag="3")]
pub application_id: ::prost::alloc::string::String,
/// (Deprecated)
/// (Deprecated)
#[deprecated]
#[prost(message, repeated, tag="4")]
pub editions: ::prost::alloc::vec::Vec<customer_license::Editions>,
/// The ID of the customer license.
/// The ID of the customer license.
#[prost(string, tag="101")]
pub id: ::prost::alloc::string::String,
/// The domain name of the customer.
/// The domain name of the customer.
#[prost(string, tag="102")]
pub customer_id: ::prost::alloc::string::String,
}
/// Nested message and enum types in `CustomerLicense`.
pub mod customer_license {
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Editions {
/// (Deprecated)
/// (Deprecated)
#[deprecated]
#[prost(string, tag="405")]
pub edition_id: ::prost::alloc::string::String,
/// (Deprecated)
/// (Deprecated)
#[deprecated]
#[prost(int32, tag="406")]
pub seat_count: i32,
/// (Deprecated)
/// (Deprecated)
#[deprecated]
#[prost(int32, tag="409")]
pub assigned_seats: i32,
}
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct LicenseNotification {
/// The ID of the license notification.
/// The ID of the license notification.
#[prost(string, tag="1")]
pub id: ::prost::alloc::string::String,
/// The ID of the application according to this notification.
/// The ID of the application according to this notification.
#[prost(string, tag="2")]
pub application_id: ::prost::alloc::string::String,
/// The time the event occurred, measuring in milliseconds since the UNIX
/// epoch.
/// The time the event occurred, measuring in milliseconds since the UNIX
/// epoch.
#[prost(int64, tag="3")]
pub timestamp: i64,
/// The domain name of the customer corresponding to this notification.
/// The domain name of the customer corresponding to this notification.
#[prost(string, tag="4")]
pub customer_id: ::prost::alloc::string::String,
/// The type of API resource. This is always appsmarket#licenseNotification.
/// The type of API resource. This is always appsmarket#licenseNotification.
#[prost(string, tag="5")]
pub kind: ::prost::alloc::string::String,
/// The list of provisioning notifications.
/// The list of provisioning notifications.
#[prost(message, repeated, tag="6")]
pub provisions: ::prost::alloc::vec::Vec<license_notification::Provisions>,
/// The list of expiry notifications.
/// The list of expiry notifications.
#[prost(message, repeated, tag="7")]
pub expiries: ::prost::alloc::vec::Vec<license_notification::Expiries>,
/// The list of reassignment notifications.
/// The list of reassignment notifications.
#[prost(message, repeated, tag="8")]
pub reassignments: ::prost::alloc::vec::Vec<license_notification::Reassignments>,
/// The list of deletion notifications.
/// The list of deletion notifications.
#[prost(message, repeated, tag="9")]
pub deletes: ::prost::alloc::vec::Vec<license_notification::Deletes>,
}
Expand All @@ -79,7 +79,7 @@ pub mod license_notification {
pub struct Deletes {
#[prost(string, tag="1")]
pub kind: ::prost::alloc::string::String,
/// (Deprecated)
/// (Deprecated)
#[deprecated]
#[prost(string, tag="901")]
pub edition_id: ::prost::alloc::string::String,
Expand All @@ -88,7 +88,7 @@ pub mod license_notification {
pub struct Expiries {
#[prost(string, tag="1")]
pub kind: ::prost::alloc::string::String,
/// (Deprecated)
/// (Deprecated)
#[deprecated]
#[prost(string, tag="701")]
pub edition_id: ::prost::alloc::string::String,
Expand All @@ -97,24 +97,24 @@ pub mod license_notification {
pub struct Provisions {
#[prost(string, tag="1")]
pub kind: ::prost::alloc::string::String,
/// (Deprecated)
/// (Deprecated)
#[deprecated]
#[prost(string, tag="601")]
pub edition_id: ::prost::alloc::string::String,
/// The number of seats that were provisioned.
/// The number of seats that were provisioned.
#[prost(int64, tag="602")]
pub seat_count: i64,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Reassignments {
#[prost(string, tag="1")]
pub kind: ::prost::alloc::string::String,
/// The email address of the reassigned user.
/// The email address of the reassigned user.
#[prost(string, tag="801")]
pub user_id: ::prost::alloc::string::String,
#[prost(string, tag="802")]
pub r#type: ::prost::alloc::string::String,
/// (Deprecated)
/// (Deprecated)
#[deprecated]
#[prost(string, tag="803")]
pub edition_id: ::prost::alloc::string::String,
Expand All @@ -124,83 +124,83 @@ pub mod license_notification {
pub struct LicenseNotificationList {
#[prost(string, tag="1")]
pub kind: ::prost::alloc::string::String,
/// The list of notifications. One or more of:
/// The list of notifications. One or more of:
///
/// - `provisions`: A new license of the application has been provisioned.
/// - `expiries`: A license of the application has expired.
/// - `deletions`: An application has been deleted from a domain.
/// - `reassignments`: An administrator has assigned or revoked a seat license
/// for the application on the provided domain.
/// - `provisions`: A new license of the application has been provisioned.
/// - `expiries`: A license of the application has expired.
/// - `deletions`: An application has been deleted from a domain.
/// - `reassignments`: An administrator has assigned or revoked a seat license
/// for the application on the provided domain.
#[prost(message, repeated, tag="1007")]
pub notifications: ::prost::alloc::vec::Vec<LicenseNotification>,
/// The token used to continue querying for notifications after the final
/// notification in the current result set.
/// The token used to continue querying for notifications after the final
/// notification in the current result set.
#[prost(string, tag="100602")]
pub next_page_token: ::prost::alloc::string::String,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct UserLicense {
/// The type of API resource. This is always appsmarket#userLicense.
/// The type of API resource. This is always appsmarket#userLicense.
#[prost(string, tag="1")]
pub kind: ::prost::alloc::string::String,
/// The domain administrator has activated the application for this domain.
/// The domain administrator has activated the application for this domain.
#[prost(bool, tag="2")]
pub enabled: bool,
/// The user's licensing status. One of:
/// The user's licensing status. One of:
///
/// - `ACTIVE`: The user has a valid license and should be permitted to use the
/// application.
/// - `UNLICENSED`: The administrator of this user's domain never assigned a
/// seat for the application to this user.
/// - `EXPIRED`: The administrator assigned a seat to this user, but the
/// license is expired.
/// - `ACTIVE`: The user has a valid license and should be permitted to use the
/// application.
/// - `UNLICENSED`: The administrator of this user's domain never assigned a
/// seat for the application to this user.
/// - `EXPIRED`: The administrator assigned a seat to this user, but the
/// license is expired.
#[prost(string, tag="3")]
pub state: ::prost::alloc::string::String,
/// (Deprecated)
/// (Deprecated)
#[deprecated]
#[prost(string, tag="4")]
pub edition_id: ::prost::alloc::string::String,
/// The domain name of the user.
/// The domain name of the user.
#[prost(string, tag="5")]
pub customer_id: ::prost::alloc::string::String,
/// The ID of the application corresponding to the license query.
/// The ID of the application corresponding to the license query.
#[prost(string, tag="6")]
pub application_id: ::prost::alloc::string::String,
/// The ID of user license.
/// The ID of user license.
#[prost(string, tag="101")]
pub id: ::prost::alloc::string::String,
/// The email address of the user.
/// The email address of the user.
#[prost(string, tag="102")]
pub user_id: ::prost::alloc::string::String,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct CustomerLicenseGetRequest {
/// Application Id
/// Application Id
#[prost(string, tag="1")]
pub application_id: ::prost::alloc::string::String,
/// Customer Id
/// Customer Id
#[prost(string, tag="2")]
pub customer_id: ::prost::alloc::string::String,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct LicenseNotificationListRequest {
/// Application Id
/// Application Id
#[prost(string, tag="1")]
pub application_id: ::prost::alloc::string::String,
#[prost(uint32, tag="2")]
pub max_results: u32,
#[prost(string, tag="3")]
pub start_token: ::prost::alloc::string::String,
/// Timestamp in milliseconds since epoch
/// Timestamp in milliseconds since epoch
#[prost(uint64, tag="4")]
pub timestamp: u64,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct UserLicenseGetRequest {
/// Application Id
/// Application Id
#[prost(string, tag="1")]
pub application_id: ::prost::alloc::string::String,
/// User Id
/// User Id
#[prost(string, tag="2")]
pub user_id: ::prost::alloc::string::String,
}
Expand Down
102 changes: 51 additions & 51 deletions gcloud-sdk/genproto/google.actions.r#type.rs
Original file line number Diff line number Diff line change
@@ -1,32 +1,32 @@
/// Represents a range based on whole or partial calendar dates, e.g. the
/// duration of a hotel reservation or the Common Era. This can represent:
/// Represents a range based on whole or partial calendar dates, e.g. the
/// duration of a hotel reservation or the Common Era. This can represent:
///
/// * A range between full dates, e.g. the duration of a hotel reservation
/// * A range between years, e.g. a historical era
/// * A range between year/month dates, e.g. the duration of a job on a resume
/// * A range beginning in a year, e.g. the Common Era
/// * A range ending on a specific date, e.g. the period of time before an event
/// * A range between full dates, e.g. the duration of a hotel reservation
/// * A range between years, e.g. a historical era
/// * A range between year/month dates, e.g. the duration of a job on a resume
/// * A range beginning in a year, e.g. the Common Era
/// * A range ending on a specific date, e.g. the period of time before an event
///
/// While \[google.type.Date][google.type.Date\] allows zero years, DateRange does not. Year must
/// always be non-zero.
/// While \[google.type.Date][google.type.Date\] allows zero years, DateRange does not. Year must
/// always be non-zero.
///
/// End cannot be chronologically before start. For example, if start has year
/// 2000, end cannot have year 1999.
/// End cannot be chronologically before start. For example, if start has year
/// 2000, end cannot have year 1999.
///
/// When both set, start and end must have exactly the same precision. That is,
/// they must have the same fields populated with non-zero values. For example,
/// if start specifies only year and month, then end must also specify only year
/// and month (but not day).
/// When both set, start and end must have exactly the same precision. That is,
/// they must have the same fields populated with non-zero values. For example,
/// if start specifies only year and month, then end must also specify only year
/// and month (but not day).
///
/// The date range is inclusive. That is, the dates specified by start and end
/// are part of the date range. For example, the date January 1, 2000 falls
/// within any date with start or end equal to January 1, 2000. When determining
/// whether a date is inside a date range, the date should only be compared to
/// start and end when those values are set.
/// The date range is inclusive. That is, the dates specified by start and end
/// are part of the date range. For example, the date January 1, 2000 falls
/// within any date with start or end equal to January 1, 2000. When determining
/// whether a date is inside a date range, the date should only be compared to
/// start and end when those values are set.
///
/// When a date and date range are specified to different degrees of precision,
/// the rules for evaluating whether that date is inside the date range are as
/// follows:
/// When a date and date range are specified to different degrees of precision,
/// the rules for evaluating whether that date is inside the date range are as
/// follows:
///
/// * When comparing the date to the start of the date range, unspecified months
/// should be replaced with 1, and unspecified days should be replaced with 1.
Expand All @@ -41,57 +41,57 @@
/// December 31, 2000. And the date December 31, 2001 is within the date range
/// with start equal to the year 2000 and end equal to the year 2001.
///
/// The semantics of start and end are the same as those of \[google.type.Date][google.type.Date\],
/// except that year must always be non-zero in DateRange.
/// The semantics of start and end are the same as those of \[google.type.Date][google.type.Date\],
/// except that year must always be non-zero in DateRange.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct DateRange {
/// Date at which the date range begins. If unset, the date range has no
/// beginning bound.
/// Date at which the date range begins. If unset, the date range has no
/// beginning bound.
#[prost(message, optional, tag="1")]
pub start: ::core::option::Option<super::super::r#type::Date>,
/// Date at which the date range ends. If unset, the date range has no ending
/// bound.
/// Date at which the date range ends. If unset, the date range has no ending
/// bound.
#[prost(message, optional, tag="2")]
pub end: ::core::option::Option<super::super::r#type::Date>,
}
/// Represents a date and time range. This can represent:
/// Represents a date and time range. This can represent:
///
/// * A range between points in time with time zone or offset, e.g. the duration
/// * A range between points in time with time zone or offset, e.g. the duration
/// of a flight which starts in the "America/New_York" time zone and ends in
/// the "Australia/Sydney" time zone
/// * A range between points in time without time zone/offset info, e.g. an
/// * A range between points in time without time zone/offset info, e.g. an
/// appointment in local time
/// * A range starting at a specific date and time, e.g. the range of time which
/// * A range starting at a specific date and time, e.g. the range of time which
/// can be measured in milliseconds since the Unix epoch (period starting with
/// 1970-01-01T00:00:00Z)
/// * A range ending at a specific date and time, e.g. range of time before
/// * A range ending at a specific date and time, e.g. range of time before
/// a deadline
///
/// When considering whether a DateTime falls within a DateTimeRange, the start
/// of the range is inclusive and the end is exclusive.
/// When considering whether a DateTime falls within a DateTimeRange, the start
/// of the range is inclusive and the end is exclusive.
///
/// While \[google.type.DateTime][google.type.DateTime\] allows zero years, DateTimeRange does not.
/// Year must always be non-zero.
/// While \[google.type.DateTime][google.type.DateTime\] allows zero years, DateTimeRange does not.
/// Year must always be non-zero.
///
/// When both start and end are set, either both or neither must have a
/// time_offset. When set, time_offset can be specified by either utc_offset or
/// time_zone and must match for start and end, that is if start has utc_offset
/// set then end must also have utc_offset set. The values of utc_offset or
/// time_zone need not be the same for start and end.
/// When both start and end are set, either both or neither must have a
/// time_offset. When set, time_offset can be specified by either utc_offset or
/// time_zone and must match for start and end, that is if start has utc_offset
/// set then end must also have utc_offset set. The values of utc_offset or
/// time_zone need not be the same for start and end.
///
/// When both start and end are set, start must be chronologically less than or
/// equal to end. When start and end are equal, the range is empty.
/// When both start and end are set, start must be chronologically less than or
/// equal to end. When start and end are equal, the range is empty.
///
/// The semantics of start and end are the same as those of
/// \[google.type.DateTime][google.type.DateTime\].
/// The semantics of start and end are the same as those of
/// \[google.type.DateTime][google.type.DateTime\].
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct DateTimeRange {
/// DateTime at which the date range begins. If unset, the range has no
/// beginning bound.
/// DateTime at which the date range begins. If unset, the range has no
/// beginning bound.
#[prost(message, optional, tag="1")]
pub start: ::core::option::Option<super::super::r#type::DateTime>,
/// DateTime at which the date range ends. If unset, the range has no ending
/// bound.
/// DateTime at which the date range ends. If unset, the range has no ending
/// bound.
#[prost(message, optional, tag="2")]
pub end: ::core::option::Option<super::super::r#type::DateTime>,
}
Loading

0 comments on commit 94c9f6a

Please sign in to comment.