diff --git a/adexchangebuyer2/v2beta1/adexchangebuyer2-api.json b/adexchangebuyer2/v2beta1/adexchangebuyer2-api.json index 626668bc6af..e04c9a71148 100644 --- a/adexchangebuyer2/v2beta1/adexchangebuyer2-api.json +++ b/adexchangebuyer2/v2beta1/adexchangebuyer2-api.json @@ -595,7 +595,7 @@ "type": "string" }, "pageSize": { - "description": "Requested page size. The server may return fewer creatives than requested (due to timeout constraint) even if more are available via another call. If unspecified, server will pick an appropriate default. Acceptable values are 1 to 1000, inclusive.", + "description": "Requested page size. The server may return fewer creatives than requested (due to timeout constraint) even if more are available through another call. If unspecified, server will pick an appropriate default. Acceptable values are 1 to 1000, inclusive.", "format": "int32", "location": "query", "type": "integer" @@ -902,7 +902,7 @@ ] }, "pause": { - "description": "Update given deals to pause serving. This method will set the `DealServingMetadata.DealPauseStatus.has_buyer_paused` bit to true for all listed deals in the request. Currently, this method only applies to PG and PD deals. For PA deals, please call accounts.proposals.pause endpoint. It is a no-op to pause already-paused deals. It is an error to call PauseProposalDeals for deals which are not part of the proposal of proposal_id or which are not finalized or renegotiating.", + "description": "Update given deals to pause serving. This method will set the `DealServingMetadata.DealPauseStatus.has_buyer_paused` bit to true for all listed deals in the request. Currently, this method only applies to PG and PD deals. For PA deals, call accounts.proposals.pause endpoint. It is a no-op to pause already-paused deals. It is an error to call PauseProposalDeals for deals which are not part of the proposal of proposal_id or which are not finalized or renegotiating.", "flatPath": "v2beta1/accounts/{accountId}/finalizedProposals/{proposalId}:pause", "httpMethod": "POST", "id": "adexchangebuyer2.accounts.finalizedProposals.pause", @@ -936,7 +936,7 @@ ] }, "resume": { - "description": "Update given deals to resume serving. This method will set the `DealServingMetadata.DealPauseStatus.has_buyer_paused` bit to false for all listed deals in the request. Currently, this method only applies to PG and PD deals. For PA deals, please call accounts.proposals.resume endpoint. It is a no-op to resume running deals or deals paused by the other party. It is an error to call ResumeProposalDeals for deals which are not part of the proposal of proposal_id or which are not finalized or renegotiating.", + "description": "Update given deals to resume serving. This method will set the `DealServingMetadata.DealPauseStatus.has_buyer_paused` bit to false for all listed deals in the request. Currently, this method only applies to PG and PD deals. For PA deals, call accounts.proposals.resume endpoint. It is a no-op to resume running deals or deals paused by the other party. It is an error to call ResumeProposalDeals for deals which are not part of the proposal of proposal_id or which are not finalized or renegotiating.", "flatPath": "v2beta1/accounts/{accountId}/finalizedProposals/{proposalId}:resume", "httpMethod": "POST", "id": "adexchangebuyer2.accounts.finalizedProposals.resume", @@ -2568,7 +2568,7 @@ } } }, - "revision": "20220615", + "revision": "20220914", "rootUrl": "https://adexchangebuyer.googleapis.com/", "schemas": { "AbsoluteDateRange": { @@ -2621,7 +2621,7 @@ "Ad slot with size specified by height and width in pixels.", "Special size to describe an interstitial ad slot.", "Native (mobile) ads rendered by the publisher.", - "Fluid size (i.e., responsive size) can be resized automatically with the change of outside environment." + "Fluid size (for example, responsive size) can be resized automatically with the change of outside environment." ], "type": "string" }, @@ -2907,7 +2907,7 @@ "type": "object" }, "ClientUser": { - "description": "A client user is created under a client buyer and has restricted access to the Marketplace and certain other sections of the Authorized Buyers UI based on the role granted to the associated client buyer. The only way a new client user can be created is via accepting an email invitation (see the accounts.clients.invitations.create method). All fields are required unless otherwise specified.", + "description": "A client user is created under a client buyer and has restricted access to the Marketplace and certain other sections of the Authorized Buyers UI based on the role granted to the associated client buyer. The only way a new client user can be created is through accepting an email invitation (see the accounts.clients.invitations.create method). All fields are required unless otherwise specified.", "id": "ClientUser", "properties": { "clientAccountId": { @@ -3064,7 +3064,7 @@ "type": "string" }, "apiUpdateTime": { - "description": "Output only. The last update timestamp of the creative via API.", + "description": "Output only. The last update timestamp of the creative through the API.", "format": "google-datetime", "type": "string" }, @@ -3293,7 +3293,7 @@ "type": "array" }, "servingRestrictions": { - "description": "Output only. The granular status of this ad in specific contexts. A context here relates to where something ultimately serves (for example, a physical location, a platform, an HTTPS vs HTTP request, or the type of auction).", + "description": "Output only. The granular status of this ad in specific contexts. A context here relates to where something ultimately serves (for example, a physical location, a platform, an HTTPS versus HTTP request, or the type of auction).", "items": { "$ref": "ServingRestriction" }, @@ -3626,7 +3626,7 @@ "type": "string" }, "availableStartTime": { - "description": "Optional. Proposed flight start time of the deal. This will generally be stored in the granularity of one second since deal serving starts at seconds boundary. Any time specified with more granularity (e.g., in milliseconds) will be truncated towards the start of time in seconds.", + "description": "Optional. Proposed flight start time of the deal. This will generally be stored in the granularity of one second since deal serving starts at seconds boundary. Any time specified with more granularity (for example, in milliseconds) will be truncated towards the start of time in seconds.", "format": "google-datetime", "type": "string" }, @@ -3666,7 +3666,7 @@ }, "creativeRestrictions": { "$ref": "CreativeRestrictions", - "description": "Output only. Restricitions about the creatives associated with the deal (i.e., size) This is available for Programmatic Guaranteed/Preferred Deals in Ad Manager.", + "description": "Output only. Restricitions about the creatives associated with the deal (for example, size) This is available for Programmatic Guaranteed/Preferred Deals in Ad Manager.", "readOnly": true }, "creativeSafeFrameCompatibility": { @@ -3841,7 +3841,7 @@ "type": "object" }, "DealTerms": { - "description": "The deal terms specify the details of a Product/deal. They specify things like price per buyer, the type of pricing model (e.g., fixed price, auction) and expected impressions from the publisher.", + "description": "The deal terms specify the details of a Product/deal. They specify things like price per buyer, the type of pricing model (for example, fixed price, auction) and expected impressions from the publisher.", "id": "DealTerms", "properties": { "brandingType": { @@ -4170,7 +4170,7 @@ "type": "object" }, "FilterSet": { - "description": "A set of filters that is applied to a request for data. Within a filter set, an AND operation is performed across the filters represented by each field. An OR operation is performed across the filters represented by the multiple values of a repeated field, e.g., \"format=VIDEO AND deal_id=12 AND (seller_network_id=34 OR seller_network_id=56)\".", + "description": "A set of filters that is applied to a request for data. Within a filter set, an AND operation is performed across the filters represented by each field. An OR operation is performed across the filters represented by the multiple values of a repeated field, for example, \"format=VIDEO AND deal_id=12 AND (seller_network_id=34 OR seller_network_id=56)\".", "id": "FilterSet", "properties": { "absoluteDateRange": { @@ -4193,11 +4193,11 @@ "type": "array" }, "creativeId": { - "description": "The ID of the creative on which to filter; optional. This field may be set only for a filter set that accesses account-level troubleshooting data, i.e., one whose name matches the `bidders/*/accounts/*/filterSets/*` pattern.", + "description": "The ID of the creative on which to filter; optional. This field may be set only for a filter set that accesses account-level troubleshooting data, for example, one whose name matches the `bidders/*/accounts/*/filterSets/*` pattern.", "type": "string" }, "dealId": { - "description": "The ID of the deal on which to filter; optional. This field may be set only for a filter set that accesses account-level troubleshooting data, i.e., one whose name matches the `bidders/*/accounts/*/filterSets/*` pattern.", + "description": "The ID of the deal on which to filter; optional. This field may be set only for a filter set that accesses account-level troubleshooting data, for example, one whose name matches the `bidders/*/accounts/*/filterSets/*` pattern.", "format": "int64", "type": "string" }, @@ -4226,9 +4226,9 @@ ], "enumDescriptions": [ "A placeholder for an undefined format; indicates that no format filter will be applied.", - "The ad impression is a native ad, and display (i.e., image) format.", + "The ad impression is a native ad, and display (for example, image) format.", "The ad impression is a native ad, and video format.", - "The ad impression is not a native ad, and display (i.e., image) format.", + "The ad impression is not a native ad, and display (for example, image) format.", "The ad impression is not a native ad, and video format." ], "type": "string" @@ -4245,9 +4245,9 @@ ], "enumDescriptions": [ "A placeholder for an undefined format; indicates that no format filter will be applied.", - "The ad impression is a native ad, and display (i.e., image) format.", + "The ad impression is a native ad, and display (for example, image) format.", "The ad impression is a native ad, and video format.", - "The ad impression is not a native ad, and display (i.e., image) format.", + "The ad impression is not a native ad, and display (for example, image) format.", "The ad impression is not a native ad, and video format." ], "type": "string" @@ -4259,7 +4259,7 @@ "type": "string" }, "platforms": { - "description": "The list of platforms on which to filter; may be empty. The filters represented by multiple platforms are ORed together (i.e., if non-empty, results must match any one of the platforms).", + "description": "The list of platforms on which to filter; may be empty. The filters represented by multiple platforms are ORed together (for example, if non-empty, results must match any one of the platforms).", "items": { "enum": [ "PLATFORM_UNSPECIFIED", @@ -4293,7 +4293,7 @@ "description": "A relative date range, defined by an offset from today and a duration. Interpreted relative to Pacific time zone." }, "sellerNetworkIds": { - "description": "For Authorized Buyers only. The list of IDs of the seller (publisher) networks on which to filter; may be empty. The filters represented by multiple seller network IDs are ORed together (i.e., if non-empty, results must match any one of the publisher networks). See [seller-network-ids](https://developers.google.com/authorized-buyers/rtb/downloads/seller-network-ids) file for the set of existing seller network IDs.", + "description": "For Authorized Buyers only. The list of IDs of the seller (publisher) networks on which to filter; may be empty. The filters represented by multiple seller network IDs are ORed together (for example, if non-empty, results must match any one of the publisher networks). See [seller-network-ids](https://developers.google.com/authorized-buyers/rtb/downloads/seller-network-ids) file for the set of existing seller network IDs.", "items": { "format": "int32", "type": "integer" @@ -4301,7 +4301,7 @@ "type": "array" }, "timeSeriesGranularity": { - "description": "The granularity of time intervals if a time series breakdown is desired; optional.", + "description": "The granularity of time intervals if a time series breakdown is preferred; optional.", "enum": [ "TIME_SERIES_GRANULARITY_UNSPECIFIED", "HOURLY", @@ -4337,7 +4337,7 @@ "type": "object" }, "FilteredBidDetailRow": { - "description": "The number of filtered bids with the specified dimension values, among those filtered due to the requested filtering reason (i.e. creative status), that have the specified detail.", + "description": "The number of filtered bids with the specified dimension values, among those filtered due to the requested filtering reason (for example, creative status), that have the specified detail.", "id": "FilteredBidDetailRow", "properties": { "bidCount": { @@ -4817,7 +4817,7 @@ "id": "ListFilteredBidsResponse", "properties": { "creativeStatusRows": { - "description": "List of rows, with counts of filtered bids aggregated by filtering reason (i.e. creative status).", + "description": "List of rows, with counts of filtered bids aggregated by filtering reason (for example, creative status).", "items": { "$ref": "CreativeStatusRow" }, @@ -4853,7 +4853,7 @@ "id": "ListLosingBidsResponse", "properties": { "creativeStatusRows": { - "description": "List of rows, with counts of losing bids aggregated by loss reason (i.e. creative status).", + "description": "List of rows, with counts of losing bids aggregated by loss reason (for example, creative status).", "items": { "$ref": "CreativeStatusRow" }, @@ -4943,7 +4943,7 @@ "id": "LocationContext", "properties": { "geoCriteriaIds": { - "description": "IDs representing the geo location for this context. Please refer to the [geo-table.csv](https://storage.googleapis.com/adx-rtb-dictionaries/geo-table.csv) file for different geo criteria IDs.", + "description": "IDs representing the geo location for this context. Refer to the [geo-table.csv](https://storage.googleapis.com/adx-rtb-dictionaries/geo-table.csv) file for different geo criteria IDs.", "items": { "format": "int32", "type": "integer" @@ -4967,11 +4967,11 @@ }, "placementTargeting": { "$ref": "PlacementTargeting", - "description": "Placement targeting information, e.g., URL, mobile applications." + "description": "Placement targeting information, for example, URL, mobile applications." }, "technologyTargeting": { "$ref": "TechnologyTargeting", - "description": "Technology targeting information, e.g., operating system, device category." + "description": "Technology targeting information, for example, operating system, device category." }, "videoTargeting": { "$ref": "VideoTargeting", @@ -4981,7 +4981,7 @@ "type": "object" }, "MetricValue": { - "description": "A metric value, with an expected value and a variance; represents a count that may be either exact or estimated (i.e. when sampled).", + "description": "A metric value, with an expected value and a variance; represents a count that may be either exact or estimated (for example, when sampled).", "id": "MetricValue", "properties": { "value": { @@ -4990,7 +4990,7 @@ "type": "string" }, "variance": { - "description": "The variance (i.e. square of the standard deviation) of the metric value. If value is exact, variance is 0. Can be used to calculate margin of error as a percentage of value, using the following formula, where Z is the standard constant that depends on the desired size of the confidence interval (e.g. for 90% confidence interval, use Z = 1.645): marginOfError = 100 * Z * sqrt(variance) / value", + "description": "The variance (for example, square of the standard deviation) of the metric value. If value is exact, variance is 0. Can be used to calculate margin of error as a percentage of value, using the following formula, where Z is the standard constant that depends on the preferred size of the confidence interval (for example, for 90% confidence interval, use Z = 1.645): marginOfError = 100 * Z * sqrt(variance) / value", "format": "int64", "type": "string" } @@ -5242,7 +5242,7 @@ "type": "object" }, "PlacementTargeting": { - "description": "Represents targeting about where the ads can appear, e.g., certain sites or mobile applications. Different placement targeting types will be logically OR'ed.", + "description": "Represents targeting about where the ads can appear, for example, certain sites or mobile applications. Different placement targeting types will be logically OR'ed.", "id": "PlacementTargeting", "properties": { "mobileApplicationTargeting": { @@ -5339,7 +5339,7 @@ "type": "object" }, "Product": { - "description": "A product is a segment of inventory that a seller wishes to sell. It is associated with certain terms and targeting information which helps the buyer know more about the inventory.", + "description": "A product is a segment of inventory that a seller wants to sell. It is associated with certain terms and targeting information which helps the buyer know more about the inventory.", "id": "Product", "properties": { "availableEndTime": { @@ -5722,16 +5722,16 @@ "type": "object" }, "RelativeDateRange": { - "description": "A relative date range, specified by an offset and a duration. The supported range of dates begins 30 days before today and ends today, i.e., the limits for these values are: offset_days \u003e= 0 duration_days \u003e= 1 offset_days + duration_days \u003c= 30", + "description": "A relative date range, specified by an offset and a duration. The supported range of dates begins 30 days before today and ends today, for example, the limits for these values are: offset_days \u003e= 0 duration_days \u003e= 1 offset_days + duration_days \u003c= 30", "id": "RelativeDateRange", "properties": { "durationDays": { - "description": "The number of days in the requested date range, e.g., for a range spanning today: 1. For a range spanning the last 7 days: 7.", + "description": "The number of days in the requested date range, for example, for a range spanning today: 1. For a range spanning the last 7 days: 7.", "format": "int32", "type": "integer" }, "offsetDays": { - "description": "The end date of the filter set, specified as the number of days before today, e.g., for a range where the last date is today: 0.", + "description": "The end date of the filter set, specified as the number of days before today, for example, for a range where the last date is today: 0.", "format": "int32", "type": "integer" } @@ -5860,7 +5860,7 @@ "type": "object" }, "ServingRestriction": { - "description": "Output only. A representation of the status of an ad in a specific context. A context here relates to where something ultimately serves (for example, a user or publisher geo, a platform, an HTTPS vs HTTP request, or the type of auction).", + "description": "Output only. A representation of the status of an ad in a specific context. A context here relates to where something ultimately serves (for example, a user or publisher geo, a platform, an HTTPS versus HTTP request, or the type of auction).", "id": "ServingRestriction", "properties": { "contexts": { @@ -5875,7 +5875,7 @@ "description": "Disapproval bound to this restriction. Only present if status=DISAPPROVED. Can be used to filter the response of the creatives.list method." }, "disapprovalReasons": { - "description": "Any disapprovals bound to this restriction. Only present if status=DISAPPROVED. Can be used to filter the response of the creatives.list method. Deprecated; please use disapproval field instead.", + "description": "Any disapprovals bound to this restriction. Only present if status=DISAPPROVED. Can be used to filter the response of the creatives.list method. Deprecated; use disapproval field instead.", "items": { "$ref": "Disapproval" }, @@ -6034,7 +6034,7 @@ "type": "object" }, "UrlTargeting": { - "description": "Represents a list of targeted and excluded URLs (e.g., google.com). For Private Auction and AdX Preferred Deals, URLs are either included or excluded. For Programmatic Guaranteed and Preferred Deals, this doesn't apply.", + "description": "Represents a list of targeted and excluded URLs (for example, google.com). For Private Auction and AdX Preferred Deals, URLs are either included or excluded. For Programmatic Guaranteed and Preferred Deals, this doesn't apply.", "id": "UrlTargeting", "properties": { "excludedUrls": { diff --git a/adexchangebuyer2/v2beta1/adexchangebuyer2-gen.go b/adexchangebuyer2/v2beta1/adexchangebuyer2-gen.go index 4c070c0ad5b..ad6cc9e4362 100644 --- a/adexchangebuyer2/v2beta1/adexchangebuyer2-gen.go +++ b/adexchangebuyer2/v2beta1/adexchangebuyer2-gen.go @@ -624,7 +624,7 @@ type AdSize struct { // pixels. // "INTERSTITIAL" - Special size to describe an interstitial ad slot. // "NATIVE" - Native (mobile) ads rendered by the publisher. - // "FLUID" - Fluid size (i.e., responsive size) can be resized + // "FLUID" - Fluid size (for example, responsive size) can be resized // automatically with the change of outside environment. SizeType string `json:"sizeType,omitempty"` @@ -1144,8 +1144,8 @@ func (s *Client) MarshalJSON() ([]byte, error) { // ClientUser: A client user is created under a client buyer and has // restricted access to the Marketplace and certain other sections of // the Authorized Buyers UI based on the role granted to the associated -// client buyer. The only way a new client user can be created is via -// accepting an email invitation (see the +// client buyer. The only way a new client user can be created is +// through accepting an email invitation (see the // accounts.clients.invitations.create method). All fields are required // unless otherwise specified. type ClientUser struct { @@ -1369,7 +1369,7 @@ type Creative struct { AgencyId int64 `json:"agencyId,omitempty,string"` // ApiUpdateTime: Output only. The last update timestamp of the creative - // via API. + // through the API. ApiUpdateTime string `json:"apiUpdateTime,omitempty"` // Attributes: All attributes for the ads that may be shown from this @@ -1537,7 +1537,7 @@ type Creative struct { // ServingRestrictions: Output only. The granular status of this ad in // specific contexts. A context here relates to where something // ultimately serves (for example, a physical location, a platform, an - // HTTPS vs HTTP request, or the type of auction). + // HTTPS versus HTTP request, or the type of auction). ServingRestrictions []*ServingRestriction `json:"servingRestrictions,omitempty"` // VendorIds: All vendor IDs for the ads that may be shown from this @@ -2013,8 +2013,8 @@ type Deal struct { // AvailableStartTime: Optional. Proposed flight start time of the deal. // This will generally be stored in the granularity of one second since // deal serving starts at seconds boundary. Any time specified with more - // granularity (e.g., in milliseconds) will be truncated towards the - // start of time in seconds. + // granularity (for example, in milliseconds) will be truncated towards + // the start of time in seconds. AvailableStartTime string `json:"availableStartTime,omitempty"` // BuyerPrivateData: Buyer private data (hidden from seller). @@ -2050,7 +2050,7 @@ type Deal struct { CreativePreApprovalPolicy string `json:"creativePreApprovalPolicy,omitempty"` // CreativeRestrictions: Output only. Restricitions about the creatives - // associated with the deal (i.e., size) This is available for + // associated with the deal (for example, size) This is available for // Programmatic Guaranteed/Preferred Deals in Ad Manager. CreativeRestrictions *CreativeRestrictions `json:"creativeRestrictions,omitempty"` @@ -2251,8 +2251,9 @@ func (s *DealServingMetadata) MarshalJSON() ([]byte, error) { } // DealTerms: The deal terms specify the details of a Product/deal. They -// specify things like price per buyer, the type of pricing model (e.g., -// fixed price, auction) and expected impressions from the publisher. +// specify things like price per buyer, the type of pricing model (for +// example, fixed price, auction) and expected impressions from the +// publisher. type DealTerms struct { // BrandingType: Visibility of the URL in bid requests. (default: // BRANDED) @@ -2583,8 +2584,8 @@ type Empty struct { // FilterSet: A set of filters that is applied to a request for data. // Within a filter set, an AND operation is performed across the filters // represented by each field. An OR operation is performed across the -// filters represented by the multiple values of a repeated field, e.g., -// "format=VIDEO AND deal_id=12 AND (seller_network_id=34 OR +// filters represented by the multiple values of a repeated field, for +// example, "format=VIDEO AND deal_id=12 AND (seller_network_id=34 OR // seller_network_id=56)". type FilterSet struct { // AbsoluteDateRange: An absolute date range, defined by a start date @@ -2605,13 +2606,13 @@ type FilterSet struct { // CreativeId: The ID of the creative on which to filter; optional. This // field may be set only for a filter set that accesses account-level - // troubleshooting data, i.e., one whose name matches the + // troubleshooting data, for example, one whose name matches the // `bidders/*/accounts/*/filterSets/*` pattern. CreativeId string `json:"creativeId,omitempty"` // DealId: The ID of the deal on which to filter; optional. This field // may be set only for a filter set that accesses account-level - // troubleshooting data, i.e., one whose name matches the + // troubleshooting data, for example, one whose name matches the // `bidders/*/accounts/*/filterSets/*` pattern. DealId int64 `json:"dealId,omitempty,string"` @@ -2630,11 +2631,11 @@ type FilterSet struct { // "FORMAT_UNSPECIFIED" - A placeholder for an undefined format; // indicates that no format filter will be applied. // "NATIVE_DISPLAY" - The ad impression is a native ad, and display - // (i.e., image) format. + // (for example, image) format. // "NATIVE_VIDEO" - The ad impression is a native ad, and video // format. // "NON_NATIVE_DISPLAY" - The ad impression is not a native ad, and - // display (i.e., image) format. + // display (for example, image) format. // "NON_NATIVE_VIDEO" - The ad impression is not a native ad, and // video format. Format string `json:"format,omitempty"` @@ -2648,11 +2649,11 @@ type FilterSet struct { // "FORMAT_UNSPECIFIED" - A placeholder for an undefined format; // indicates that no format filter will be applied. // "NATIVE_DISPLAY" - The ad impression is a native ad, and display - // (i.e., image) format. + // (for example, image) format. // "NATIVE_VIDEO" - The ad impression is a native ad, and video // format. // "NON_NATIVE_DISPLAY" - The ad impression is not a native ad, and - // display (i.e., image) format. + // display (for example, image) format. // "NON_NATIVE_VIDEO" - The ad impression is not a native ad, and // video format. Formats []string `json:"formats,omitempty"` @@ -2666,8 +2667,8 @@ type FilterSet struct { Name string `json:"name,omitempty"` // Platforms: The list of platforms on which to filter; may be empty. - // The filters represented by multiple platforms are ORed together - // (i.e., if non-empty, results must match any one of the platforms). + // The filters represented by multiple platforms are ORed together (for + // example, if non-empty, results must match any one of the platforms). // // Possible values: // "PLATFORM_UNSPECIFIED" - A placeholder for an undefined platform; @@ -2693,14 +2694,14 @@ type FilterSet struct { // SellerNetworkIds: For Authorized Buyers only. The list of IDs of the // seller (publisher) networks on which to filter; may be empty. The // filters represented by multiple seller network IDs are ORed together - // (i.e., if non-empty, results must match any one of the publisher - // networks). See seller-network-ids + // (for example, if non-empty, results must match any one of the + // publisher networks). See seller-network-ids // (https://developers.google.com/authorized-buyers/rtb/downloads/seller-network-ids) // file for the set of existing seller network IDs. SellerNetworkIds []int64 `json:"sellerNetworkIds,omitempty"` // TimeSeriesGranularity: The granularity of time intervals if a time - // series breakdown is desired; optional. + // series breakdown is preferred; optional. // // Possible values: // "TIME_SERIES_GRANULARITY_UNSPECIFIED" - A placeholder for an @@ -2776,7 +2777,8 @@ func (s *FilteredBidCreativeRow) MarshalJSON() ([]byte, error) { // FilteredBidDetailRow: The number of filtered bids with the specified // dimension values, among those filtered due to the requested filtering -// reason (i.e. creative status), that have the specified detail. +// reason (for example, creative status), that have the specified +// detail. type FilteredBidDetailRow struct { // BidCount: The number of bids with the specified detail. BidCount *MetricValue `json:"bidCount,omitempty"` @@ -3657,7 +3659,7 @@ func (s *ListFilteredBidRequestsResponse) MarshalJSON() ([]byte, error) { // that bids were filtered from the auction. type ListFilteredBidsResponse struct { // CreativeStatusRows: List of rows, with counts of filtered bids - // aggregated by filtering reason (i.e. creative status). + // aggregated by filtering reason (for example, creative status). CreativeStatusRows []*CreativeStatusRow `json:"creativeStatusRows,omitempty"` // NextPageToken: A token to retrieve the next page of results. Pass @@ -3740,7 +3742,7 @@ func (s *ListImpressionMetricsResponse) MarshalJSON() ([]byte, error) { // bids lost in the auction. type ListLosingBidsResponse struct { // CreativeStatusRows: List of rows, with counts of losing bids - // aggregated by loss reason (i.e. creative status). + // aggregated by loss reason (for example, creative status). CreativeStatusRows []*CreativeStatusRow `json:"creativeStatusRows,omitempty"` // NextPageToken: A token to retrieve the next page of results. Pass @@ -3930,7 +3932,7 @@ func (s *ListPublisherProfilesResponse) MarshalJSON() ([]byte, error) { // applies to. type LocationContext struct { // GeoCriteriaIds: IDs representing the geo location for this context. - // Please refer to the geo-table.csv + // Refer to the geo-table.csv // (https://storage.googleapis.com/adx-rtb-dictionaries/geo-table.csv) // file for different geo criteria IDs. GeoCriteriaIds []int64 `json:"geoCriteriaIds,omitempty"` @@ -3971,11 +3973,11 @@ type MarketplaceTargeting struct { // InventorySizeTargeting: Inventory sizes to be included/excluded. InventorySizeTargeting *InventorySizeTargeting `json:"inventorySizeTargeting,omitempty"` - // PlacementTargeting: Placement targeting information, e.g., URL, - // mobile applications. + // PlacementTargeting: Placement targeting information, for example, + // URL, mobile applications. PlacementTargeting *PlacementTargeting `json:"placementTargeting,omitempty"` - // TechnologyTargeting: Technology targeting information, e.g., + // TechnologyTargeting: Technology targeting information, for example, // operating system, device category. TechnologyTargeting *TechnologyTargeting `json:"technologyTargeting,omitempty"` @@ -4006,19 +4008,19 @@ func (s *MarketplaceTargeting) MarshalJSON() ([]byte, error) { } // MetricValue: A metric value, with an expected value and a variance; -// represents a count that may be either exact or estimated (i.e. when -// sampled). +// represents a count that may be either exact or estimated (for +// example, when sampled). type MetricValue struct { // Value: The expected value of the metric. Value int64 `json:"value,omitempty,string"` - // Variance: The variance (i.e. square of the standard deviation) of the - // metric value. If value is exact, variance is 0. Can be used to - // calculate margin of error as a percentage of value, using the - // following formula, where Z is the standard constant that depends on - // the desired size of the confidence interval (e.g. for 90% confidence - // interval, use Z = 1.645): marginOfError = 100 * Z * sqrt(variance) / - // value + // Variance: The variance (for example, square of the standard + // deviation) of the metric value. If value is exact, variance is 0. Can + // be used to calculate margin of error as a percentage of value, using + // the following formula, where Z is the standard constant that depends + // on the preferred size of the confidence interval (for example, for + // 90% confidence interval, use Z = 1.645): marginOfError = 100 * Z * + // sqrt(variance) / value Variance int64 `json:"variance,omitempty,string"` // ForceSendFields is a list of field names (e.g. "Value") to @@ -4472,7 +4474,7 @@ func (s *PauseProposalRequest) MarshalJSON() ([]byte, error) { } // PlacementTargeting: Represents targeting about where the ads can -// appear, e.g., certain sites or mobile applications. Different +// appear, for example, certain sites or mobile applications. Different // placement targeting types will be logically OR'ed. type PlacementTargeting struct { // MobileApplicationTargeting: Mobile application targeting information @@ -4653,7 +4655,7 @@ func (s *PrivateData) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// Product: A product is a segment of inventory that a seller wishes to +// Product: A product is a segment of inventory that a seller wants to // sell. It is associated with certain terms and targeting information // which helps the buyer know more about the inventory. type Product struct { @@ -5073,17 +5075,17 @@ func (s *RealtimeTimeRange) MarshalJSON() ([]byte, error) { // RelativeDateRange: A relative date range, specified by an offset and // a duration. The supported range of dates begins 30 days before today -// and ends today, i.e., the limits for these values are: offset_days >= -// 0 duration_days >= 1 offset_days + duration_days <= 30 +// and ends today, for example, the limits for these values are: +// offset_days >= 0 duration_days >= 1 offset_days + duration_days <= 30 type RelativeDateRange struct { - // DurationDays: The number of days in the requested date range, e.g., - // for a range spanning today: 1. For a range spanning the last 7 days: - // 7. + // DurationDays: The number of days in the requested date range, for + // example, for a range spanning today: 1. For a range spanning the last + // 7 days: 7. DurationDays int64 `json:"durationDays,omitempty"` // OffsetDays: The end date of the filter set, specified as the number - // of days before today, e.g., for a range where the last date is today: - // 0. + // of days before today, for example, for a range where the last date is + // today: 0. OffsetDays int64 `json:"offsetDays,omitempty"` // ForceSendFields is a list of field names (e.g. "DurationDays") to @@ -5329,7 +5331,7 @@ func (s *ServingContext) MarshalJSON() ([]byte, error) { // ServingRestriction: Output only. A representation of the status of an // ad in a specific context. A context here relates to where something // ultimately serves (for example, a user or publisher geo, a platform, -// an HTTPS vs HTTP request, or the type of auction). +// an HTTPS versus HTTP request, or the type of auction). type ServingRestriction struct { // Contexts: The contexts for the restriction. Contexts []*ServingContext `json:"contexts,omitempty"` @@ -5341,8 +5343,7 @@ type ServingRestriction struct { // DisapprovalReasons: Any disapprovals bound to this restriction. Only // present if status=DISAPPROVED. Can be used to filter the response of - // the creatives.list method. Deprecated; please use disapproval field - // instead. + // the creatives.list method. Deprecated; use disapproval field instead. DisapprovalReasons []*Disapproval `json:"disapprovalReasons,omitempty"` // Status: The status of the creative in this context (for example, it @@ -5616,9 +5617,9 @@ func (s *TimeOfDay) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// UrlTargeting: Represents a list of targeted and excluded URLs (e.g., -// google.com). For Private Auction and AdX Preferred Deals, URLs are -// either included or excluded. For Programmatic Guaranteed and +// UrlTargeting: Represents a list of targeted and excluded URLs (for +// example, google.com). For Private Auction and AdX Preferred Deals, +// URLs are either included or excluded. For Programmatic Guaranteed and // Preferred Deals, this doesn't apply. type UrlTargeting struct { // ExcludedUrls: A list of URLs to be excluded. @@ -7888,7 +7889,7 @@ func (r *AccountsCreativesService) List(accountId string) *AccountsCreativesList // PageSize sets the optional parameter "pageSize": Requested page size. // The server may return fewer creatives than requested (due to timeout -// constraint) even if more are available via another call. If +// constraint) even if more are available through another call. If // unspecified, server will pick an appropriate default. Acceptable // values are 1 to 1000, inclusive. func (c *AccountsCreativesListCall) PageSize(pageSize int64) *AccountsCreativesListCall { @@ -8035,7 +8036,7 @@ func (c *AccountsCreativesListCall) Do(opts ...googleapi.CallOption) (*ListCreat // "type": "string" // }, // "pageSize": { - // "description": "Requested page size. The server may return fewer creatives than requested (due to timeout constraint) even if more are available via another call. If unspecified, server will pick an appropriate default. Acceptable values are 1 to 1000, inclusive.", + // "description": "Requested page size. The server may return fewer creatives than requested (due to timeout constraint) even if more are available through another call. If unspecified, server will pick an appropriate default. Acceptable values are 1 to 1000, inclusive.", // "format": "int32", // "location": "query", // "type": "integer" @@ -9338,7 +9339,7 @@ type AccountsFinalizedProposalsPauseCall struct { // Pause: Update given deals to pause serving. This method will set the // `DealServingMetadata.DealPauseStatus.has_buyer_paused` bit to true // for all listed deals in the request. Currently, this method only -// applies to PG and PD deals. For PA deals, please call +// applies to PG and PD deals. For PA deals, call // accounts.proposals.pause endpoint. It is a no-op to pause // already-paused deals. It is an error to call PauseProposalDeals for // deals which are not part of the proposal of proposal_id or which are @@ -9446,7 +9447,7 @@ func (c *AccountsFinalizedProposalsPauseCall) Do(opts ...googleapi.CallOption) ( } return ret, nil // { - // "description": "Update given deals to pause serving. This method will set the `DealServingMetadata.DealPauseStatus.has_buyer_paused` bit to true for all listed deals in the request. Currently, this method only applies to PG and PD deals. For PA deals, please call accounts.proposals.pause endpoint. It is a no-op to pause already-paused deals. It is an error to call PauseProposalDeals for deals which are not part of the proposal of proposal_id or which are not finalized or renegotiating.", + // "description": "Update given deals to pause serving. This method will set the `DealServingMetadata.DealPauseStatus.has_buyer_paused` bit to true for all listed deals in the request. Currently, this method only applies to PG and PD deals. For PA deals, call accounts.proposals.pause endpoint. It is a no-op to pause already-paused deals. It is an error to call PauseProposalDeals for deals which are not part of the proposal of proposal_id or which are not finalized or renegotiating.", // "flatPath": "v2beta1/accounts/{accountId}/finalizedProposals/{proposalId}:pause", // "httpMethod": "POST", // "id": "adexchangebuyer2.accounts.finalizedProposals.pause", @@ -9497,7 +9498,7 @@ type AccountsFinalizedProposalsResumeCall struct { // Resume: Update given deals to resume serving. This method will set // the `DealServingMetadata.DealPauseStatus.has_buyer_paused` bit to // false for all listed deals in the request. Currently, this method -// only applies to PG and PD deals. For PA deals, please call +// only applies to PG and PD deals. For PA deals, call // accounts.proposals.resume endpoint. It is a no-op to resume running // deals or deals paused by the other party. It is an error to call // ResumeProposalDeals for deals which are not part of the proposal of @@ -9605,7 +9606,7 @@ func (c *AccountsFinalizedProposalsResumeCall) Do(opts ...googleapi.CallOption) } return ret, nil // { - // "description": "Update given deals to resume serving. This method will set the `DealServingMetadata.DealPauseStatus.has_buyer_paused` bit to false for all listed deals in the request. Currently, this method only applies to PG and PD deals. For PA deals, please call accounts.proposals.resume endpoint. It is a no-op to resume running deals or deals paused by the other party. It is an error to call ResumeProposalDeals for deals which are not part of the proposal of proposal_id or which are not finalized or renegotiating.", + // "description": "Update given deals to resume serving. This method will set the `DealServingMetadata.DealPauseStatus.has_buyer_paused` bit to false for all listed deals in the request. Currently, this method only applies to PG and PD deals. For PA deals, call accounts.proposals.resume endpoint. It is a no-op to resume running deals or deals paused by the other party. It is an error to call ResumeProposalDeals for deals which are not part of the proposal of proposal_id or which are not finalized or renegotiating.", // "flatPath": "v2beta1/accounts/{accountId}/finalizedProposals/{proposalId}:resume", // "httpMethod": "POST", // "id": "adexchangebuyer2.accounts.finalizedProposals.resume", diff --git a/admin/directory/v1/admin-api.json b/admin/directory/v1/admin-api.json index a8e810c9270..84094c04f6a 100644 --- a/admin/directory/v1/admin-api.json +++ b/admin/directory/v1/admin-api.json @@ -4405,7 +4405,7 @@ } } }, - "revision": "20220905", + "revision": "20220913", "rootUrl": "https://admin.googleapis.com/", "schemas": { "Alias": { @@ -5799,7 +5799,7 @@ "DATA_LOSS" ], "enumDescriptions": [ - "Not an error; returned on success HTTP Mapping: 200 OK", + "Not an error; returned on success. HTTP Mapping: 200 OK", "The operation was cancelled, typically by the caller. HTTP Mapping: 499 Client Closed Request", "Unknown error. For example, this error may be returned when a `Status` value received from another address space belongs to an error space that is not known in this address space. Also errors raised by APIs that do not return enough error information may be converted to this error. HTTP Mapping: 500 Internal Server Error", "The client specified an invalid argument. Note that this differs from `FAILED_PRECONDITION`. `INVALID_ARGUMENT` indicates arguments that are problematic regardless of the state of the system (e.g., a malformed file name). HTTP Mapping: 400 Bad Request", diff --git a/admin/directory/v1/admin-gen.go b/admin/directory/v1/admin-gen.go index c6c31a8226a..bc8b42a3cef 100644 --- a/admin/directory/v1/admin-gen.go +++ b/admin/directory/v1/admin-gen.go @@ -2737,7 +2737,7 @@ type FailureInfo struct { // ErrorCode: Canonical code for why the update failed to apply. // // Possible values: - // "OK" - Not an error; returned on success HTTP Mapping: 200 OK + // "OK" - Not an error; returned on success. HTTP Mapping: 200 OK // "CANCELLED" - The operation was cancelled, typically by the caller. // HTTP Mapping: 499 Client Closed Request // "UNKNOWN" - Unknown error. For example, this error may be returned diff --git a/androidenterprise/v1/androidenterprise-api.json b/androidenterprise/v1/androidenterprise-api.json index 8d9db2875b6..152d35ac27a 100644 --- a/androidenterprise/v1/androidenterprise-api.json +++ b/androidenterprise/v1/androidenterprise-api.json @@ -700,7 +700,7 @@ "entitlements": { "methods": { "delete": { - "description": "Removes an entitlement to an app for a user.", + "description": "Removes an entitlement to an app for a user. **Note:** This item has been deprecated. New integrations cannot use this method and can refer to our new recommendations.", "flatPath": "androidenterprise/v1/enterprises/{enterpriseId}/users/{userId}/entitlements/{entitlementId}", "httpMethod": "DELETE", "id": "androidenterprise.entitlements.delete", @@ -735,7 +735,7 @@ ] }, "get": { - "description": "Retrieves details of an entitlement.", + "description": "Retrieves details of an entitlement. **Note:** This item has been deprecated. New integrations cannot use this method and can refer to our new recommendations.", "flatPath": "androidenterprise/v1/enterprises/{enterpriseId}/users/{userId}/entitlements/{entitlementId}", "httpMethod": "GET", "id": "androidenterprise.entitlements.get", @@ -773,7 +773,7 @@ ] }, "list": { - "description": "Lists all entitlements for the specified user. Only the ID is set.", + "description": "Lists all entitlements for the specified user. Only the ID is set. **Note:** This item has been deprecated. New integrations cannot use this method and can refer to our new recommendations.", "flatPath": "androidenterprise/v1/enterprises/{enterpriseId}/users/{userId}/entitlements", "httpMethod": "GET", "id": "androidenterprise.entitlements.list", @@ -804,7 +804,7 @@ ] }, "update": { - "description": "Adds or updates an entitlement to an app for a user.", + "description": "Adds or updates an entitlement to an app for a user. **Note:** This item has been deprecated. New integrations cannot use this method and can refer to our new recommendations.", "flatPath": "androidenterprise/v1/enterprises/{enterpriseId}/users/{userId}/entitlements/{entitlementId}", "httpMethod": "PUT", "id": "androidenterprise.entitlements.update", @@ -854,7 +854,7 @@ "grouplicenses": { "methods": { "get": { - "description": "Retrieves details of an enterprise's group license for a product.", + "description": "Retrieves details of an enterprise's group license for a product. **Note:** This item has been deprecated. New integrations cannot use this method and can refer to our new recommendations.", "flatPath": "androidenterprise/v1/enterprises/{enterpriseId}/groupLicenses/{groupLicenseId}", "httpMethod": "GET", "id": "androidenterprise.grouplicenses.get", @@ -885,7 +885,7 @@ ] }, "list": { - "description": "Retrieves IDs of all products for which the enterprise has a group license.", + "description": "Retrieves IDs of all products for which the enterprise has a group license. **Note:** This item has been deprecated. New integrations cannot use this method and can refer to our new recommendations.", "flatPath": "androidenterprise/v1/enterprises/{enterpriseId}/groupLicenses", "httpMethod": "GET", "id": "androidenterprise.grouplicenses.list", @@ -913,7 +913,7 @@ "grouplicenseusers": { "methods": { "list": { - "description": "Retrieves the IDs of the users who have been granted entitlements under the license.", + "description": "Retrieves the IDs of the users who have been granted entitlements under the license. **Note:** This item has been deprecated. New integrations cannot use this method and can refer to our new recommendations.", "flatPath": "androidenterprise/v1/enterprises/{enterpriseId}/groupLicenses/{groupLicenseId}/users", "httpMethod": "GET", "id": "androidenterprise.grouplicenseusers.list", @@ -1519,7 +1519,7 @@ "products": { "methods": { "approve": { - "description": " Approves the specified product and the relevant app permissions, if any. The maximum number of products that you can approve per enterprise customer is 1,000. To learn how to use managed Google Play to design and create a store layout to display approved products to your users, see Store Layout Design. ", + "description": " Approves the specified product and the relevant app permissions, if any. The maximum number of products that you can approve per enterprise customer is 1,000. To learn how to use managed Google Play to design and create a store layout to display approved products to your users, see Store Layout Design. **Note:** This item has been deprecated. New integrations cannot use this method and can refer to our new recommendations. ", "flatPath": "androidenterprise/v1/enterprises/{enterpriseId}/products/{productId}/approve", "httpMethod": "POST", "id": "androidenterprise.products.approve", @@ -1550,7 +1550,7 @@ ] }, "generateApprovalUrl": { - "description": "Generates a URL that can be rendered in an iframe to display the permissions (if any) of a product. An enterprise admin must view these permissions and accept them on behalf of their organization in order to approve that product. Admins should accept the displayed permissions by interacting with a separate UI element in the EMM console, which in turn should trigger the use of this URL as the approvalUrlInfo.approvalUrl property in a Products.approve call to approve the product. This URL can only be used to display permissions for up to 1 day.", + "description": "Generates a URL that can be rendered in an iframe to display the permissions (if any) of a product. An enterprise admin must view these permissions and accept them on behalf of their organization in order to approve that product. Admins should accept the displayed permissions by interacting with a separate UI element in the EMM console, which in turn should trigger the use of this URL as the approvalUrlInfo.approvalUrl property in a Products.approve call to approve the product. This URL can only be used to display permissions for up to 1 day. **Note:** This item has been deprecated. New integrations cannot use this method and can refer to our new recommendations. ", "flatPath": "androidenterprise/v1/enterprises/{enterpriseId}/products/{productId}/generateApprovalUrl", "httpMethod": "POST", "id": "androidenterprise.products.generateApprovalUrl", @@ -1689,7 +1689,7 @@ ] }, "list": { - "description": "Finds approved products that match a query, or all approved products if there is no query.", + "description": "Finds approved products that match a query, or all approved products if there is no query. **Note:** This item has been deprecated. New integrations cannot use this method and can refer to our new recommendations. ", "flatPath": "androidenterprise/v1/enterprises/{enterpriseId}/products", "httpMethod": "GET", "id": "androidenterprise.products.list", @@ -1739,7 +1739,7 @@ ] }, "unapprove": { - "description": "Unapproves the specified product (and the relevant app permissions, if any)", + "description": "Unapproves the specified product (and the relevant app permissions, if any) **Note:** This item has been deprecated. New integrations cannot use this method and can refer to our new recommendations.", "flatPath": "androidenterprise/v1/enterprises/{enterpriseId}/products/{productId}/unapprove", "httpMethod": "POST", "id": "androidenterprise.products.unapprove", @@ -2275,7 +2275,7 @@ ] }, "getAvailableProductSet": { - "description": "Retrieves the set of products a user is entitled to access.", + "description": "Retrieves the set of products a user is entitled to access. **Note:** This item has been deprecated. New integrations cannot use this method and can refer to our new recommendations.", "flatPath": "androidenterprise/v1/enterprises/{enterpriseId}/users/{userId}/availableProductSet", "httpMethod": "GET", "id": "androidenterprise.users.getAvailableProductSet", @@ -2392,7 +2392,7 @@ ] }, "setAvailableProductSet": { - "description": "Modifies the set of products that a user is entitled to access (referred to as *whitelisted* products). Only products that are approved or products that were previously approved (products with revoked approval) can be whitelisted.", + "description": "Modifies the set of products that a user is entitled to access (referred to as *whitelisted* products). Only products that are approved or products that were previously approved (products with revoked approval) can be whitelisted. **Note:** This item has been deprecated. New integrations cannot use this method and can refer to our new recommendations.", "flatPath": "androidenterprise/v1/enterprises/{enterpriseId}/users/{userId}/availableProductSet", "httpMethod": "PUT", "id": "androidenterprise.users.setAvailableProductSet", @@ -2610,7 +2610,7 @@ } } }, - "revision": "20220720", + "revision": "20220913", "rootUrl": "https://androidenterprise.googleapis.com/", "schemas": { "Administrator": { diff --git a/androidenterprise/v1/androidenterprise-gen.go b/androidenterprise/v1/androidenterprise-gen.go index dda2595d8e7..59df806be90 100644 --- a/androidenterprise/v1/androidenterprise-gen.go +++ b/androidenterprise/v1/androidenterprise-gen.go @@ -7096,7 +7096,9 @@ type EntitlementsDeleteCall struct { header_ http.Header } -// Delete: Removes an entitlement to an app for a user. +// Delete: Removes an entitlement to an app for a user. **Note:** This +// item has been deprecated. New integrations cannot use this method and +// can refer to our new recommendations. // // - enterpriseId: The ID of the enterprise. // - entitlementId: The ID of the entitlement (a product ID), e.g. @@ -7173,7 +7175,7 @@ func (c *EntitlementsDeleteCall) Do(opts ...googleapi.CallOption) error { } return nil // { - // "description": "Removes an entitlement to an app for a user.", + // "description": "Removes an entitlement to an app for a user. **Note:** This item has been deprecated. New integrations cannot use this method and can refer to our new recommendations.", // "flatPath": "androidenterprise/v1/enterprises/{enterpriseId}/users/{userId}/entitlements/{entitlementId}", // "httpMethod": "DELETE", // "id": "androidenterprise.entitlements.delete", @@ -7223,7 +7225,9 @@ type EntitlementsGetCall struct { header_ http.Header } -// Get: Retrieves details of an entitlement. +// Get: Retrieves details of an entitlement. **Note:** This item has +// been deprecated. New integrations cannot use this method and can +// refer to our new recommendations. // // - enterpriseId: The ID of the enterprise. // - entitlementId: The ID of the entitlement (a product ID), e.g. @@ -7338,7 +7342,7 @@ func (c *EntitlementsGetCall) Do(opts ...googleapi.CallOption) (*Entitlement, er } return ret, nil // { - // "description": "Retrieves details of an entitlement.", + // "description": "Retrieves details of an entitlement. **Note:** This item has been deprecated. New integrations cannot use this method and can refer to our new recommendations.", // "flatPath": "androidenterprise/v1/enterprises/{enterpriseId}/users/{userId}/entitlements/{entitlementId}", // "httpMethod": "GET", // "id": "androidenterprise.entitlements.get", @@ -7391,7 +7395,8 @@ type EntitlementsListCall struct { } // List: Lists all entitlements for the specified user. Only the ID is -// set. +// set. **Note:** This item has been deprecated. New integrations cannot +// use this method and can refer to our new recommendations. // // - enterpriseId: The ID of the enterprise. // - userId: The ID of the user. @@ -7502,7 +7507,7 @@ func (c *EntitlementsListCall) Do(opts ...googleapi.CallOption) (*EntitlementsLi } return ret, nil // { - // "description": "Lists all entitlements for the specified user. Only the ID is set.", + // "description": "Lists all entitlements for the specified user. Only the ID is set. **Note:** This item has been deprecated. New integrations cannot use this method and can refer to our new recommendations.", // "flatPath": "androidenterprise/v1/enterprises/{enterpriseId}/users/{userId}/entitlements", // "httpMethod": "GET", // "id": "androidenterprise.entitlements.list", @@ -7549,6 +7554,8 @@ type EntitlementsUpdateCall struct { } // Update: Adds or updates an entitlement to an app for a user. +// **Note:** This item has been deprecated. New integrations cannot use +// this method and can refer to our new recommendations. // // - enterpriseId: The ID of the enterprise. // - entitlementId: The ID of the entitlement (a product ID), e.g. @@ -7666,7 +7673,7 @@ func (c *EntitlementsUpdateCall) Do(opts ...googleapi.CallOption) (*Entitlement, } return ret, nil // { - // "description": "Adds or updates an entitlement to an app for a user.", + // "description": "Adds or updates an entitlement to an app for a user. **Note:** This item has been deprecated. New integrations cannot use this method and can refer to our new recommendations.", // "flatPath": "androidenterprise/v1/enterprises/{enterpriseId}/users/{userId}/entitlements/{entitlementId}", // "httpMethod": "PUT", // "id": "androidenterprise.entitlements.update", @@ -7727,7 +7734,8 @@ type GrouplicensesGetCall struct { } // Get: Retrieves details of an enterprise's group license for a -// product. +// product. **Note:** This item has been deprecated. New integrations +// cannot use this method and can refer to our new recommendations. // // - enterpriseId: The ID of the enterprise. // - groupLicenseId: The ID of the product the group license is for, @@ -7839,7 +7847,7 @@ func (c *GrouplicensesGetCall) Do(opts ...googleapi.CallOption) (*GroupLicense, } return ret, nil // { - // "description": "Retrieves details of an enterprise's group license for a product.", + // "description": "Retrieves details of an enterprise's group license for a product. **Note:** This item has been deprecated. New integrations cannot use this method and can refer to our new recommendations.", // "flatPath": "androidenterprise/v1/enterprises/{enterpriseId}/groupLicenses/{groupLicenseId}", // "httpMethod": "GET", // "id": "androidenterprise.grouplicenses.get", @@ -7884,7 +7892,9 @@ type GrouplicensesListCall struct { } // List: Retrieves IDs of all products for which the enterprise has a -// group license. +// group license. **Note:** This item has been deprecated. New +// integrations cannot use this method and can refer to our new +// recommendations. // // - enterpriseId: The ID of the enterprise. func (r *GrouplicensesService) List(enterpriseId string) *GrouplicensesListCall { @@ -7992,7 +8002,7 @@ func (c *GrouplicensesListCall) Do(opts ...googleapi.CallOption) (*GroupLicenses } return ret, nil // { - // "description": "Retrieves IDs of all products for which the enterprise has a group license.", + // "description": "Retrieves IDs of all products for which the enterprise has a group license. **Note:** This item has been deprecated. New integrations cannot use this method and can refer to our new recommendations.", // "flatPath": "androidenterprise/v1/enterprises/{enterpriseId}/groupLicenses", // "httpMethod": "GET", // "id": "androidenterprise.grouplicenses.list", @@ -8031,7 +8041,9 @@ type GrouplicenseusersListCall struct { } // List: Retrieves the IDs of the users who have been granted -// entitlements under the license. +// entitlements under the license. **Note:** This item has been +// deprecated. New integrations cannot use this method and can refer to +// our new recommendations. // // - enterpriseId: The ID of the enterprise. // - groupLicenseId: The ID of the product the group license is for, @@ -8143,7 +8155,7 @@ func (c *GrouplicenseusersListCall) Do(opts ...googleapi.CallOption) (*GroupLice } return ret, nil // { - // "description": "Retrieves the IDs of the users who have been granted entitlements under the license.", + // "description": "Retrieves the IDs of the users who have been granted entitlements under the license. **Note:** This item has been deprecated. New integrations cannot use this method and can refer to our new recommendations.", // "flatPath": "androidenterprise/v1/enterprises/{enterpriseId}/groupLicenses/{groupLicenseId}/users", // "httpMethod": "GET", // "id": "androidenterprise.grouplicenseusers.list", @@ -10460,7 +10472,9 @@ type ProductsApproveCall struct { // permissions, if any. The maximum number of products that you can // approve per enterprise customer is 1,000. To learn how to use managed // Google Play to design and create a store layout to display approved -// products to your users, see Store Layout Design. +// products to your users, see Store Layout Design. **Note:** This item +// has been deprecated. New integrations cannot use this method and can +// refer to our new recommendations. // // - enterpriseId: The ID of the enterprise. // - productId: The ID of the product. @@ -10539,7 +10553,7 @@ func (c *ProductsApproveCall) Do(opts ...googleapi.CallOption) error { } return nil // { - // "description": " Approves the specified product and the relevant app permissions, if any. The maximum number of products that you can approve per enterprise customer is 1,000. To learn how to use managed Google Play to design and create a store layout to display approved products to your users, see Store Layout Design. ", + // "description": " Approves the specified product and the relevant app permissions, if any. The maximum number of products that you can approve per enterprise customer is 1,000. To learn how to use managed Google Play to design and create a store layout to display approved products to your users, see Store Layout Design. **Note:** This item has been deprecated. New integrations cannot use this method and can refer to our new recommendations. ", // "flatPath": "androidenterprise/v1/enterprises/{enterpriseId}/products/{productId}/approve", // "httpMethod": "POST", // "id": "androidenterprise.products.approve", @@ -10591,7 +10605,9 @@ type ProductsGenerateApprovalUrlCall struct { // separate UI element in the EMM console, which in turn should trigger // the use of this URL as the approvalUrlInfo.approvalUrl property in a // Products.approve call to approve the product. This URL can only be -// used to display permissions for up to 1 day. +// used to display permissions for up to 1 day. **Note:** This item has +// been deprecated. New integrations cannot use this method and can +// refer to our new recommendations. // // - enterpriseId: The ID of the enterprise. // - productId: The ID of the product. @@ -10698,7 +10714,7 @@ func (c *ProductsGenerateApprovalUrlCall) Do(opts ...googleapi.CallOption) (*Pro } return ret, nil // { - // "description": "Generates a URL that can be rendered in an iframe to display the permissions (if any) of a product. An enterprise admin must view these permissions and accept them on behalf of their organization in order to approve that product. Admins should accept the displayed permissions by interacting with a separate UI element in the EMM console, which in turn should trigger the use of this URL as the approvalUrlInfo.approvalUrl property in a Products.approve call to approve the product. This URL can only be used to display permissions for up to 1 day.", + // "description": "Generates a URL that can be rendered in an iframe to display the permissions (if any) of a product. An enterprise admin must view these permissions and accept them on behalf of their organization in order to approve that product. Admins should accept the displayed permissions by interacting with a separate UI element in the EMM console, which in turn should trigger the use of this URL as the approvalUrlInfo.approvalUrl property in a Products.approve call to approve the product. This URL can only be used to display permissions for up to 1 day. **Note:** This item has been deprecated. New integrations cannot use this method and can refer to our new recommendations. ", // "flatPath": "androidenterprise/v1/enterprises/{enterpriseId}/products/{productId}/generateApprovalUrl", // "httpMethod": "POST", // "id": "androidenterprise.products.generateApprovalUrl", @@ -11248,7 +11264,9 @@ type ProductsListCall struct { } // List: Finds approved products that match a query, or all approved -// products if there is no query. +// products if there is no query. **Note:** This item has been +// deprecated. New integrations cannot use this method and can refer to +// our new recommendations. // // - enterpriseId: The ID of the enterprise. func (r *ProductsService) List(enterpriseId string) *ProductsListCall { @@ -11398,7 +11416,7 @@ func (c *ProductsListCall) Do(opts ...googleapi.CallOption) (*ProductsListRespon } return ret, nil // { - // "description": "Finds approved products that match a query, or all approved products if there is no query.", + // "description": "Finds approved products that match a query, or all approved products if there is no query. **Note:** This item has been deprecated. New integrations cannot use this method and can refer to our new recommendations. ", // "flatPath": "androidenterprise/v1/enterprises/{enterpriseId}/products", // "httpMethod": "GET", // "id": "androidenterprise.products.list", @@ -11462,7 +11480,9 @@ type ProductsUnapproveCall struct { } // Unapprove: Unapproves the specified product (and the relevant app -// permissions, if any) +// permissions, if any) **Note:** This item has been deprecated. New +// integrations cannot use this method and can refer to our new +// recommendations. // // - enterpriseId: The ID of the enterprise. // - productId: The ID of the product. @@ -11535,7 +11555,7 @@ func (c *ProductsUnapproveCall) Do(opts ...googleapi.CallOption) error { } return nil // { - // "description": "Unapproves the specified product (and the relevant app permissions, if any)", + // "description": "Unapproves the specified product (and the relevant app permissions, if any) **Note:** This item has been deprecated. New integrations cannot use this method and can refer to our new recommendations.", // "flatPath": "androidenterprise/v1/enterprises/{enterpriseId}/products/{productId}/unapprove", // "httpMethod": "POST", // "id": "androidenterprise.products.unapprove", @@ -13878,7 +13898,9 @@ type UsersGetAvailableProductSetCall struct { } // GetAvailableProductSet: Retrieves the set of products a user is -// entitled to access. +// entitled to access. **Note:** This item has been deprecated. New +// integrations cannot use this method and can refer to our new +// recommendations. // // - enterpriseId: The ID of the enterprise. // - userId: The ID of the user. @@ -13989,7 +14011,7 @@ func (c *UsersGetAvailableProductSetCall) Do(opts ...googleapi.CallOption) (*Pro } return ret, nil // { - // "description": "Retrieves the set of products a user is entitled to access.", + // "description": "Retrieves the set of products a user is entitled to access. **Note:** This item has been deprecated. New integrations cannot use this method and can refer to our new recommendations.", // "flatPath": "androidenterprise/v1/enterprises/{enterpriseId}/users/{userId}/availableProductSet", // "httpMethod": "GET", // "id": "androidenterprise.users.getAvailableProductSet", @@ -14456,7 +14478,9 @@ type UsersSetAvailableProductSetCall struct { // SetAvailableProductSet: Modifies the set of products that a user is // entitled to access (referred to as *whitelisted* products). Only // products that are approved or products that were previously approved -// (products with revoked approval) can be whitelisted. +// (products with revoked approval) can be whitelisted. **Note:** This +// item has been deprecated. New integrations cannot use this method and +// can refer to our new recommendations. // // - enterpriseId: The ID of the enterprise. // - userId: The ID of the user. @@ -14560,7 +14584,7 @@ func (c *UsersSetAvailableProductSetCall) Do(opts ...googleapi.CallOption) (*Pro } return ret, nil // { - // "description": "Modifies the set of products that a user is entitled to access (referred to as *whitelisted* products). Only products that are approved or products that were previously approved (products with revoked approval) can be whitelisted.", + // "description": "Modifies the set of products that a user is entitled to access (referred to as *whitelisted* products). Only products that are approved or products that were previously approved (products with revoked approval) can be whitelisted. **Note:** This item has been deprecated. New integrations cannot use this method and can refer to our new recommendations.", // "flatPath": "androidenterprise/v1/enterprises/{enterpriseId}/users/{userId}/availableProductSet", // "httpMethod": "PUT", // "id": "androidenterprise.users.setAvailableProductSet", diff --git a/api-list.json b/api-list.json index 170c4f11f08..ef48d56da90 100644 --- a/api-list.json +++ b/api-list.json @@ -2666,7 +2666,7 @@ "id": "firebasedatabase:v1beta", "name": "firebasedatabase", "version": "v1beta", - "title": "Firebase Realtime Database Management API", + "title": "Firebase Realtime Database API", "description": "The Firebase Realtime Database Management API enables programmatic provisioning and management of Realtime Database instances.", "discoveryRestUrl": "https://firebasedatabase.googleapis.com/$discovery/rest?version=v1beta", "icons": { diff --git a/apigee/v1/apigee-api.json b/apigee/v1/apigee-api.json index c2d38b97b75..4740a852ca2 100644 --- a/apigee/v1/apigee-api.json +++ b/apigee/v1/apigee-api.json @@ -1352,7 +1352,7 @@ "entries": { "methods": { "create": { - "description": "Creates key value entries in a key value map scoped to an organization, environment, or API proxy.", + "description": "Creates key value entries in a key value map scoped to an organization, environment, or API proxy. **Note**: Supported for Apigee hybrid 1.8.x and higher.", "flatPath": "v1/organizations/{organizationsId}/apis/{apisId}/keyvaluemaps/{keyvaluemapsId}/entries", "httpMethod": "POST", "id": "apigee.organizations.apis.keyvaluemaps.entries.create", @@ -1380,7 +1380,7 @@ ] }, "delete": { - "description": "Deletes a key value entry from a key value map scoped to an organization, environment, or API proxy. **Note:** After you delete the key value entry, the policy consuming the entry will continue to function with its cached values for a few minutes. This is expected behavior.", + "description": "Deletes a key value entry from a key value map scoped to an organization, environment, or API proxy. **Notes:** * After you delete the key value entry, the policy consuming the entry will continue to function with its cached values for a few minutes. This is expected behavior. * Supported for Apigee hybrid 1.8.x and higher.", "flatPath": "v1/organizations/{organizationsId}/apis/{apisId}/keyvaluemaps/{keyvaluemapsId}/entries/{entriesId}", "httpMethod": "DELETE", "id": "apigee.organizations.apis.keyvaluemaps.entries.delete", @@ -1405,7 +1405,7 @@ ] }, "get": { - "description": "Get the Key value entry value for org, env or apis scoped Key value map.", + "description": "Get the key value entry value for a key value map scoped to an organization, environment, or API proxy. **Note**: Supported for Apigee hybrid 1.8.x and higher.", "flatPath": "v1/organizations/{organizationsId}/apis/{apisId}/keyvaluemaps/{keyvaluemapsId}/entries/{entriesId}", "httpMethod": "GET", "id": "apigee.organizations.apis.keyvaluemaps.entries.get", @@ -1430,7 +1430,7 @@ ] }, "list": { - "description": "Lists key value entries for key values maps scoped to an organization, environment, or API proxy.", + "description": "Lists key value entries for key values maps scoped to an organization, environment, or API proxy. **Note**: Supported for Apigee hybrid 1.8.x and higher.", "flatPath": "v1/organizations/{organizationsId}/apis/{apisId}/keyvaluemaps/{keyvaluemapsId}/entries", "httpMethod": "GET", "id": "apigee.organizations.apis.keyvaluemaps.entries.list", @@ -5094,7 +5094,7 @@ "entries": { "methods": { "create": { - "description": "Creates key value entries in a key value map scoped to an organization, environment, or API proxy.", + "description": "Creates key value entries in a key value map scoped to an organization, environment, or API proxy. **Note**: Supported for Apigee hybrid 1.8.x and higher.", "flatPath": "v1/organizations/{organizationsId}/environments/{environmentsId}/keyvaluemaps/{keyvaluemapsId}/entries", "httpMethod": "POST", "id": "apigee.organizations.environments.keyvaluemaps.entries.create", @@ -5122,7 +5122,7 @@ ] }, "delete": { - "description": "Deletes a key value entry from a key value map scoped to an organization, environment, or API proxy. **Note:** After you delete the key value entry, the policy consuming the entry will continue to function with its cached values for a few minutes. This is expected behavior.", + "description": "Deletes a key value entry from a key value map scoped to an organization, environment, or API proxy. **Notes:** * After you delete the key value entry, the policy consuming the entry will continue to function with its cached values for a few minutes. This is expected behavior. * Supported for Apigee hybrid 1.8.x and higher.", "flatPath": "v1/organizations/{organizationsId}/environments/{environmentsId}/keyvaluemaps/{keyvaluemapsId}/entries/{entriesId}", "httpMethod": "DELETE", "id": "apigee.organizations.environments.keyvaluemaps.entries.delete", @@ -5147,7 +5147,7 @@ ] }, "get": { - "description": "Get the Key value entry value for org, env or apis scoped Key value map.", + "description": "Get the key value entry value for a key value map scoped to an organization, environment, or API proxy. **Note**: Supported for Apigee hybrid 1.8.x and higher.", "flatPath": "v1/organizations/{organizationsId}/environments/{environmentsId}/keyvaluemaps/{keyvaluemapsId}/entries/{entriesId}", "httpMethod": "GET", "id": "apigee.organizations.environments.keyvaluemaps.entries.get", @@ -5172,7 +5172,7 @@ ] }, "list": { - "description": "Lists key value entries for key values maps scoped to an organization, environment, or API proxy.", + "description": "Lists key value entries for key values maps scoped to an organization, environment, or API proxy. **Note**: Supported for Apigee hybrid 1.8.x and higher.", "flatPath": "v1/organizations/{organizationsId}/environments/{environmentsId}/keyvaluemaps/{keyvaluemapsId}/entries", "httpMethod": "GET", "id": "apigee.organizations.environments.keyvaluemaps.entries.list", @@ -7540,7 +7540,7 @@ "entries": { "methods": { "create": { - "description": "Creates key value entries in a key value map scoped to an organization, environment, or API proxy.", + "description": "Creates key value entries in a key value map scoped to an organization, environment, or API proxy. **Note**: Supported for Apigee hybrid 1.8.x and higher.", "flatPath": "v1/organizations/{organizationsId}/keyvaluemaps/{keyvaluemapsId}/entries", "httpMethod": "POST", "id": "apigee.organizations.keyvaluemaps.entries.create", @@ -7568,7 +7568,7 @@ ] }, "delete": { - "description": "Deletes a key value entry from a key value map scoped to an organization, environment, or API proxy. **Note:** After you delete the key value entry, the policy consuming the entry will continue to function with its cached values for a few minutes. This is expected behavior.", + "description": "Deletes a key value entry from a key value map scoped to an organization, environment, or API proxy. **Notes:** * After you delete the key value entry, the policy consuming the entry will continue to function with its cached values for a few minutes. This is expected behavior. * Supported for Apigee hybrid 1.8.x and higher.", "flatPath": "v1/organizations/{organizationsId}/keyvaluemaps/{keyvaluemapsId}/entries/{entriesId}", "httpMethod": "DELETE", "id": "apigee.organizations.keyvaluemaps.entries.delete", @@ -7593,7 +7593,7 @@ ] }, "get": { - "description": "Get the Key value entry value for org, env or apis scoped Key value map.", + "description": "Get the key value entry value for a key value map scoped to an organization, environment, or API proxy. **Note**: Supported for Apigee hybrid 1.8.x and higher.", "flatPath": "v1/organizations/{organizationsId}/keyvaluemaps/{keyvaluemapsId}/entries/{entriesId}", "httpMethod": "GET", "id": "apigee.organizations.keyvaluemaps.entries.get", @@ -7618,7 +7618,7 @@ ] }, "list": { - "description": "Lists key value entries for key values maps scoped to an organization, environment, or API proxy.", + "description": "Lists key value entries for key values maps scoped to an organization, environment, or API proxy. **Note**: Supported for Apigee hybrid 1.8.x and higher.", "flatPath": "v1/organizations/{organizationsId}/keyvaluemaps/{keyvaluemapsId}/entries", "httpMethod": "GET", "id": "apigee.organizations.keyvaluemaps.entries.list", @@ -8609,7 +8609,7 @@ } } }, - "revision": "20220825", + "revision": "20220908", "rootUrl": "https://apigee.googleapis.com/", "schemas": { "EdgeConfigstoreBundleBadBundle": { @@ -11685,7 +11685,7 @@ "type": "object" }, "GoogleCloudApigeeV1KeyValueEntry": { - "description": "Key value map pair where the value represents the data associated with the corresponding key.", + "description": "Key value map pair where the value represents the data associated with the corresponding key. **Note**: Supported for Apigee hybrid 1.8.x and higher.", "id": "GoogleCloudApigeeV1KeyValueEntry", "properties": { "name": { @@ -12088,7 +12088,7 @@ "type": "object" }, "GoogleCloudApigeeV1ListKeyValueEntriesResponse": { - "description": "The request structure for listing Key value map keys and its corrresponding values.", + "description": "The request structure for listing key value map keys and its corresponding values.", "id": "GoogleCloudApigeeV1ListKeyValueEntriesResponse", "properties": { "keyValueEntries": { diff --git a/apigee/v1/apigee-gen.go b/apigee/v1/apigee-gen.go index 897758da729..7d16fb96982 100644 --- a/apigee/v1/apigee-gen.go +++ b/apigee/v1/apigee-gen.go @@ -5637,7 +5637,8 @@ func (s *GoogleCloudApigeeV1KeyAliasReference) MarshalJSON() ([]byte, error) { } // GoogleCloudApigeeV1KeyValueEntry: Key value map pair where the value -// represents the data associated with the corresponding key. +// represents the data associated with the corresponding key. **Note**: +// Supported for Apigee hybrid 1.8.x and higher. type GoogleCloudApigeeV1KeyValueEntry struct { // Name: Resource URI that can be used to identify the scope of the key // value map entries. @@ -6524,7 +6525,7 @@ func (s *GoogleCloudApigeeV1ListInstancesResponse) MarshalJSON() ([]byte, error) } // GoogleCloudApigeeV1ListKeyValueEntriesResponse: The request structure -// for listing Key value map keys and its corrresponding values. +// for listing key value map keys and its corresponding values. type GoogleCloudApigeeV1ListKeyValueEntriesResponse struct { // KeyValueEntries: One or more key value map keys and values. KeyValueEntries []*GoogleCloudApigeeV1KeyValueEntry `json:"keyValueEntries,omitempty"` @@ -18228,7 +18229,8 @@ type OrganizationsApisKeyvaluemapsEntriesCreateCall struct { } // Create: Creates key value entries in a key value map scoped to an -// organization, environment, or API proxy. +// organization, environment, or API proxy. **Note**: Supported for +// Apigee hybrid 1.8.x and higher. // // - parent: Scope as indicated by the URI in which to create the key // value map entry. Use **one** of the following structures in your @@ -18336,7 +18338,7 @@ func (c *OrganizationsApisKeyvaluemapsEntriesCreateCall) Do(opts ...googleapi.Ca } return ret, nil // { - // "description": "Creates key value entries in a key value map scoped to an organization, environment, or API proxy.", + // "description": "Creates key value entries in a key value map scoped to an organization, environment, or API proxy. **Note**: Supported for Apigee hybrid 1.8.x and higher.", // "flatPath": "v1/organizations/{organizationsId}/apis/{apisId}/keyvaluemaps/{keyvaluemapsId}/entries", // "httpMethod": "POST", // "id": "apigee.organizations.apis.keyvaluemaps.entries.create", @@ -18377,10 +18379,10 @@ type OrganizationsApisKeyvaluemapsEntriesDeleteCall struct { } // Delete: Deletes a key value entry from a key value map scoped to an -// organization, environment, or API proxy. **Note:** After you delete -// the key value entry, the policy consuming the entry will continue to -// function with its cached values for a few minutes. This is expected -// behavior. +// organization, environment, or API proxy. **Notes:** * After you +// delete the key value entry, the policy consuming the entry will +// continue to function with its cached values for a few minutes. This +// is expected behavior. * Supported for Apigee hybrid 1.8.x and higher. // // - name: Scope as indicated by the URI in which to delete the key // value map entry. Use **one** of the following structures in your @@ -18483,7 +18485,7 @@ func (c *OrganizationsApisKeyvaluemapsEntriesDeleteCall) Do(opts ...googleapi.Ca } return ret, nil // { - // "description": "Deletes a key value entry from a key value map scoped to an organization, environment, or API proxy. **Note:** After you delete the key value entry, the policy consuming the entry will continue to function with its cached values for a few minutes. This is expected behavior.", + // "description": "Deletes a key value entry from a key value map scoped to an organization, environment, or API proxy. **Notes:** * After you delete the key value entry, the policy consuming the entry will continue to function with its cached values for a few minutes. This is expected behavior. * Supported for Apigee hybrid 1.8.x and higher.", // "flatPath": "v1/organizations/{organizationsId}/apis/{apisId}/keyvaluemaps/{keyvaluemapsId}/entries/{entriesId}", // "httpMethod": "DELETE", // "id": "apigee.organizations.apis.keyvaluemaps.entries.delete", @@ -18521,8 +18523,9 @@ type OrganizationsApisKeyvaluemapsEntriesGetCall struct { header_ http.Header } -// Get: Get the Key value entry value for org, env or apis scoped Key -// value map. +// Get: Get the key value entry value for a key value map scoped to an +// organization, environment, or API proxy. **Note**: Supported for +// Apigee hybrid 1.8.x and higher. // // - name: Scope as indicated by the URI in which to fetch the key value // map entry/value. Use **one** of the following structures in your @@ -18638,7 +18641,7 @@ func (c *OrganizationsApisKeyvaluemapsEntriesGetCall) Do(opts ...googleapi.CallO } return ret, nil // { - // "description": "Get the Key value entry value for org, env or apis scoped Key value map.", + // "description": "Get the key value entry value for a key value map scoped to an organization, environment, or API proxy. **Note**: Supported for Apigee hybrid 1.8.x and higher.", // "flatPath": "v1/organizations/{organizationsId}/apis/{apisId}/keyvaluemaps/{keyvaluemapsId}/entries/{entriesId}", // "httpMethod": "GET", // "id": "apigee.organizations.apis.keyvaluemaps.entries.get", @@ -18677,7 +18680,8 @@ type OrganizationsApisKeyvaluemapsEntriesListCall struct { } // List: Lists key value entries for key values maps scoped to an -// organization, environment, or API proxy. +// organization, environment, or API proxy. **Note**: Supported for +// Apigee hybrid 1.8.x and higher. // // - parent: Scope as indicated by the URI in which to list key value // maps. Use **one** of the following structures in your request: * @@ -18809,7 +18813,7 @@ func (c *OrganizationsApisKeyvaluemapsEntriesListCall) Do(opts ...googleapi.Call } return ret, nil // { - // "description": "Lists key value entries for key values maps scoped to an organization, environment, or API proxy.", + // "description": "Lists key value entries for key values maps scoped to an organization, environment, or API proxy. **Note**: Supported for Apigee hybrid 1.8.x and higher.", // "flatPath": "v1/organizations/{organizationsId}/apis/{apisId}/keyvaluemaps/{keyvaluemapsId}/entries", // "httpMethod": "GET", // "id": "apigee.organizations.apis.keyvaluemaps.entries.list", @@ -37294,7 +37298,8 @@ type OrganizationsEnvironmentsKeyvaluemapsEntriesCreateCall struct { } // Create: Creates key value entries in a key value map scoped to an -// organization, environment, or API proxy. +// organization, environment, or API proxy. **Note**: Supported for +// Apigee hybrid 1.8.x and higher. // // - parent: Scope as indicated by the URI in which to create the key // value map entry. Use **one** of the following structures in your @@ -37402,7 +37407,7 @@ func (c *OrganizationsEnvironmentsKeyvaluemapsEntriesCreateCall) Do(opts ...goog } return ret, nil // { - // "description": "Creates key value entries in a key value map scoped to an organization, environment, or API proxy.", + // "description": "Creates key value entries in a key value map scoped to an organization, environment, or API proxy. **Note**: Supported for Apigee hybrid 1.8.x and higher.", // "flatPath": "v1/organizations/{organizationsId}/environments/{environmentsId}/keyvaluemaps/{keyvaluemapsId}/entries", // "httpMethod": "POST", // "id": "apigee.organizations.environments.keyvaluemaps.entries.create", @@ -37443,10 +37448,10 @@ type OrganizationsEnvironmentsKeyvaluemapsEntriesDeleteCall struct { } // Delete: Deletes a key value entry from a key value map scoped to an -// organization, environment, or API proxy. **Note:** After you delete -// the key value entry, the policy consuming the entry will continue to -// function with its cached values for a few minutes. This is expected -// behavior. +// organization, environment, or API proxy. **Notes:** * After you +// delete the key value entry, the policy consuming the entry will +// continue to function with its cached values for a few minutes. This +// is expected behavior. * Supported for Apigee hybrid 1.8.x and higher. // // - name: Scope as indicated by the URI in which to delete the key // value map entry. Use **one** of the following structures in your @@ -37549,7 +37554,7 @@ func (c *OrganizationsEnvironmentsKeyvaluemapsEntriesDeleteCall) Do(opts ...goog } return ret, nil // { - // "description": "Deletes a key value entry from a key value map scoped to an organization, environment, or API proxy. **Note:** After you delete the key value entry, the policy consuming the entry will continue to function with its cached values for a few minutes. This is expected behavior.", + // "description": "Deletes a key value entry from a key value map scoped to an organization, environment, or API proxy. **Notes:** * After you delete the key value entry, the policy consuming the entry will continue to function with its cached values for a few minutes. This is expected behavior. * Supported for Apigee hybrid 1.8.x and higher.", // "flatPath": "v1/organizations/{organizationsId}/environments/{environmentsId}/keyvaluemaps/{keyvaluemapsId}/entries/{entriesId}", // "httpMethod": "DELETE", // "id": "apigee.organizations.environments.keyvaluemaps.entries.delete", @@ -37587,8 +37592,9 @@ type OrganizationsEnvironmentsKeyvaluemapsEntriesGetCall struct { header_ http.Header } -// Get: Get the Key value entry value for org, env or apis scoped Key -// value map. +// Get: Get the key value entry value for a key value map scoped to an +// organization, environment, or API proxy. **Note**: Supported for +// Apigee hybrid 1.8.x and higher. // // - name: Scope as indicated by the URI in which to fetch the key value // map entry/value. Use **one** of the following structures in your @@ -37704,7 +37710,7 @@ func (c *OrganizationsEnvironmentsKeyvaluemapsEntriesGetCall) Do(opts ...googlea } return ret, nil // { - // "description": "Get the Key value entry value for org, env or apis scoped Key value map.", + // "description": "Get the key value entry value for a key value map scoped to an organization, environment, or API proxy. **Note**: Supported for Apigee hybrid 1.8.x and higher.", // "flatPath": "v1/organizations/{organizationsId}/environments/{environmentsId}/keyvaluemaps/{keyvaluemapsId}/entries/{entriesId}", // "httpMethod": "GET", // "id": "apigee.organizations.environments.keyvaluemaps.entries.get", @@ -37743,7 +37749,8 @@ type OrganizationsEnvironmentsKeyvaluemapsEntriesListCall struct { } // List: Lists key value entries for key values maps scoped to an -// organization, environment, or API proxy. +// organization, environment, or API proxy. **Note**: Supported for +// Apigee hybrid 1.8.x and higher. // // - parent: Scope as indicated by the URI in which to list key value // maps. Use **one** of the following structures in your request: * @@ -37875,7 +37882,7 @@ func (c *OrganizationsEnvironmentsKeyvaluemapsEntriesListCall) Do(opts ...google } return ret, nil // { - // "description": "Lists key value entries for key values maps scoped to an organization, environment, or API proxy.", + // "description": "Lists key value entries for key values maps scoped to an organization, environment, or API proxy. **Note**: Supported for Apigee hybrid 1.8.x and higher.", // "flatPath": "v1/organizations/{organizationsId}/environments/{environmentsId}/keyvaluemaps/{keyvaluemapsId}/entries", // "httpMethod": "GET", // "id": "apigee.organizations.environments.keyvaluemaps.entries.list", @@ -49153,7 +49160,8 @@ type OrganizationsKeyvaluemapsEntriesCreateCall struct { } // Create: Creates key value entries in a key value map scoped to an -// organization, environment, or API proxy. +// organization, environment, or API proxy. **Note**: Supported for +// Apigee hybrid 1.8.x and higher. // // - parent: Scope as indicated by the URI in which to create the key // value map entry. Use **one** of the following structures in your @@ -49261,7 +49269,7 @@ func (c *OrganizationsKeyvaluemapsEntriesCreateCall) Do(opts ...googleapi.CallOp } return ret, nil // { - // "description": "Creates key value entries in a key value map scoped to an organization, environment, or API proxy.", + // "description": "Creates key value entries in a key value map scoped to an organization, environment, or API proxy. **Note**: Supported for Apigee hybrid 1.8.x and higher.", // "flatPath": "v1/organizations/{organizationsId}/keyvaluemaps/{keyvaluemapsId}/entries", // "httpMethod": "POST", // "id": "apigee.organizations.keyvaluemaps.entries.create", @@ -49302,10 +49310,10 @@ type OrganizationsKeyvaluemapsEntriesDeleteCall struct { } // Delete: Deletes a key value entry from a key value map scoped to an -// organization, environment, or API proxy. **Note:** After you delete -// the key value entry, the policy consuming the entry will continue to -// function with its cached values for a few minutes. This is expected -// behavior. +// organization, environment, or API proxy. **Notes:** * After you +// delete the key value entry, the policy consuming the entry will +// continue to function with its cached values for a few minutes. This +// is expected behavior. * Supported for Apigee hybrid 1.8.x and higher. // // - name: Scope as indicated by the URI in which to delete the key // value map entry. Use **one** of the following structures in your @@ -49408,7 +49416,7 @@ func (c *OrganizationsKeyvaluemapsEntriesDeleteCall) Do(opts ...googleapi.CallOp } return ret, nil // { - // "description": "Deletes a key value entry from a key value map scoped to an organization, environment, or API proxy. **Note:** After you delete the key value entry, the policy consuming the entry will continue to function with its cached values for a few minutes. This is expected behavior.", + // "description": "Deletes a key value entry from a key value map scoped to an organization, environment, or API proxy. **Notes:** * After you delete the key value entry, the policy consuming the entry will continue to function with its cached values for a few minutes. This is expected behavior. * Supported for Apigee hybrid 1.8.x and higher.", // "flatPath": "v1/organizations/{organizationsId}/keyvaluemaps/{keyvaluemapsId}/entries/{entriesId}", // "httpMethod": "DELETE", // "id": "apigee.organizations.keyvaluemaps.entries.delete", @@ -49446,8 +49454,9 @@ type OrganizationsKeyvaluemapsEntriesGetCall struct { header_ http.Header } -// Get: Get the Key value entry value for org, env or apis scoped Key -// value map. +// Get: Get the key value entry value for a key value map scoped to an +// organization, environment, or API proxy. **Note**: Supported for +// Apigee hybrid 1.8.x and higher. // // - name: Scope as indicated by the URI in which to fetch the key value // map entry/value. Use **one** of the following structures in your @@ -49563,7 +49572,7 @@ func (c *OrganizationsKeyvaluemapsEntriesGetCall) Do(opts ...googleapi.CallOptio } return ret, nil // { - // "description": "Get the Key value entry value for org, env or apis scoped Key value map.", + // "description": "Get the key value entry value for a key value map scoped to an organization, environment, or API proxy. **Note**: Supported for Apigee hybrid 1.8.x and higher.", // "flatPath": "v1/organizations/{organizationsId}/keyvaluemaps/{keyvaluemapsId}/entries/{entriesId}", // "httpMethod": "GET", // "id": "apigee.organizations.keyvaluemaps.entries.get", @@ -49602,7 +49611,8 @@ type OrganizationsKeyvaluemapsEntriesListCall struct { } // List: Lists key value entries for key values maps scoped to an -// organization, environment, or API proxy. +// organization, environment, or API proxy. **Note**: Supported for +// Apigee hybrid 1.8.x and higher. // // - parent: Scope as indicated by the URI in which to list key value // maps. Use **one** of the following structures in your request: * @@ -49734,7 +49744,7 @@ func (c *OrganizationsKeyvaluemapsEntriesListCall) Do(opts ...googleapi.CallOpti } return ret, nil // { - // "description": "Lists key value entries for key values maps scoped to an organization, environment, or API proxy.", + // "description": "Lists key value entries for key values maps scoped to an organization, environment, or API proxy. **Note**: Supported for Apigee hybrid 1.8.x and higher.", // "flatPath": "v1/organizations/{organizationsId}/keyvaluemaps/{keyvaluemapsId}/entries", // "httpMethod": "GET", // "id": "apigee.organizations.keyvaluemaps.entries.list", diff --git a/assuredworkloads/v1/assuredworkloads-api.json b/assuredworkloads/v1/assuredworkloads-api.json index c856fe71440..09c64836950 100644 --- a/assuredworkloads/v1/assuredworkloads-api.json +++ b/assuredworkloads/v1/assuredworkloads-api.json @@ -379,7 +379,7 @@ } } }, - "revision": "20220901", + "revision": "20220909", "rootUrl": "https://assuredworkloads.googleapis.com/", "schemas": { "GoogleCloudAssuredworkloadsV1CreateWorkloadOperationMetadata": { @@ -399,8 +399,7 @@ "HITRUST", "EU_REGIONS_AND_SUPPORT", "CA_REGIONS_AND_SUPPORT", - "ITAR", - "AU_REGIONS_AND_US_SUPPORT" + "ITAR" ], "enumDescriptions": [ "Unknown compliance regime.", @@ -413,8 +412,7 @@ "Health Information Trust Alliance controls", "Assured Workloads For EU Regions and Support controls", "Assured Workloads For Canada Regions and Support controls", - "International Traffic in Arms Regulations", - "Assured Workloads for Australia Regions and Support controls" + "International Traffic in Arms Regulations" ], "type": "string" }, @@ -500,8 +498,7 @@ "HITRUST", "EU_REGIONS_AND_SUPPORT", "CA_REGIONS_AND_SUPPORT", - "ITAR", - "AU_REGIONS_AND_US_SUPPORT" + "ITAR" ], "enumDescriptions": [ "Unknown compliance regime.", @@ -514,11 +511,18 @@ "Health Information Trust Alliance controls", "Assured Workloads For EU Regions and Support controls", "Assured Workloads For Canada Regions and Support controls", - "International Traffic in Arms Regulations", - "Assured Workloads for Australia Regions and Support controls" + "International Traffic in Arms Regulations" ], "type": "string" }, + "compliantButDisallowedServices": { + "description": "Output only. Urls for services which are compliant for this Assured Workload, but which are currently disallowed by the ResourceUsageRestriction org policy. Invoke RestrictAllowedResources endpoint to allow your project developers to use these services in their environment.\"", + "items": { + "type": "string" + }, + "readOnly": true, + "type": "array" + }, "createTime": { "description": "Output only. Immutable. The Workload creation timestamp.", "format": "google-datetime", @@ -733,8 +737,7 @@ "HITRUST", "EU_REGIONS_AND_SUPPORT", "CA_REGIONS_AND_SUPPORT", - "ITAR", - "AU_REGIONS_AND_US_SUPPORT" + "ITAR" ], "enumDescriptions": [ "Unknown compliance regime.", @@ -747,8 +750,7 @@ "Health Information Trust Alliance controls", "Assured Workloads For EU Regions and Support controls", "Assured Workloads For Canada Regions and Support controls", - "International Traffic in Arms Regulations", - "Assured Workloads for Australia Regions and Support controls" + "International Traffic in Arms Regulations" ], "type": "string" }, @@ -800,8 +802,7 @@ "HITRUST", "EU_REGIONS_AND_SUPPORT", "CA_REGIONS_AND_SUPPORT", - "ITAR", - "AU_REGIONS_AND_US_SUPPORT" + "ITAR" ], "enumDescriptions": [ "Unknown compliance regime.", @@ -814,8 +815,7 @@ "Health Information Trust Alliance controls", "Assured Workloads For EU Regions and Support controls", "Assured Workloads For Canada Regions and Support controls", - "International Traffic in Arms Regulations", - "Assured Workloads for Australia Regions and Support controls" + "International Traffic in Arms Regulations" ], "type": "string" }, @@ -1097,8 +1097,7 @@ "HITRUST", "EU_REGIONS_AND_SUPPORT", "CA_REGIONS_AND_SUPPORT", - "ITAR", - "AU_REGIONS_AND_US_SUPPORT" + "ITAR" ], "enumDescriptions": [ "Unknown compliance regime.", @@ -1111,8 +1110,7 @@ "Health Information Trust Alliance controls", "Assured Workloads For EU Regions and Support controls", "Assured Workloads For Canada Regions and Support controls", - "International Traffic in Arms Regulations", - "Assured Workloads for Australia Regions and Support controls" + "International Traffic in Arms Regulations" ], "type": "string" }, @@ -1164,8 +1162,7 @@ "HITRUST", "EU_REGIONS_AND_SUPPORT", "CA_REGIONS_AND_SUPPORT", - "ITAR", - "AU_REGIONS_AND_US_SUPPORT" + "ITAR" ], "enumDescriptions": [ "Unknown compliance regime.", @@ -1178,8 +1175,7 @@ "Health Information Trust Alliance controls", "Assured Workloads For EU Regions and Support controls", "Assured Workloads For Canada Regions and Support controls", - "International Traffic in Arms Regulations", - "Assured Workloads for Australia Regions and Support controls" + "International Traffic in Arms Regulations" ], "type": "string" }, diff --git a/assuredworkloads/v1/assuredworkloads-gen.go b/assuredworkloads/v1/assuredworkloads-gen.go index ca670f49feb..539021a144e 100644 --- a/assuredworkloads/v1/assuredworkloads-gen.go +++ b/assuredworkloads/v1/assuredworkloads-gen.go @@ -205,8 +205,6 @@ type GoogleCloudAssuredworkloadsV1CreateWorkloadOperationMetadata struct { // "CA_REGIONS_AND_SUPPORT" - Assured Workloads For Canada Regions and // Support controls // "ITAR" - International Traffic in Arms Regulations - // "AU_REGIONS_AND_US_SUPPORT" - Assured Workloads for Australia - // Regions and Support controls ComplianceRegime string `json:"complianceRegime,omitempty"` // CreateTime: Optional. Time when the operation was created. @@ -360,10 +358,15 @@ type GoogleCloudAssuredworkloadsV1Workload struct { // "CA_REGIONS_AND_SUPPORT" - Assured Workloads For Canada Regions and // Support controls // "ITAR" - International Traffic in Arms Regulations - // "AU_REGIONS_AND_US_SUPPORT" - Assured Workloads for Australia - // Regions and Support controls ComplianceRegime string `json:"complianceRegime,omitempty"` + // CompliantButDisallowedServices: Output only. Urls for services which + // are compliant for this Assured Workload, but which are currently + // disallowed by the ResourceUsageRestriction org policy. Invoke + // RestrictAllowedResources endpoint to allow your project developers to + // use these services in their environment." + CompliantButDisallowedServices []string `json:"compliantButDisallowedServices,omitempty"` + // CreateTime: Output only. Immutable. The Workload creation timestamp. CreateTime string `json:"createTime,omitempty"` @@ -668,8 +671,6 @@ type GoogleCloudAssuredworkloadsV1beta1CreateWorkloadOperationMetadata struct { // "CA_REGIONS_AND_SUPPORT" - Assured Workloads For Canada Regions and // Support controls // "ITAR" - International Traffic in Arms Regulations - // "AU_REGIONS_AND_US_SUPPORT" - Assured Workloads for Australia - // Regions and Support controls ComplianceRegime string `json:"complianceRegime,omitempty"` // CreateTime: Optional. Time when the operation was created. @@ -745,8 +746,6 @@ type GoogleCloudAssuredworkloadsV1beta1Workload struct { // "CA_REGIONS_AND_SUPPORT" - Assured Workloads For Canada Regions and // Support controls // "ITAR" - International Traffic in Arms Regulations - // "AU_REGIONS_AND_US_SUPPORT" - Assured Workloads for Australia - // Regions and Support controls ComplianceRegime string `json:"complianceRegime,omitempty"` // CompliantButDisallowedServices: Output only. Urls for services which @@ -1186,8 +1185,6 @@ type GoogleCloudAssuredworkloadsVersioningV1mainCreateWorkloadOperationMetadata // "CA_REGIONS_AND_SUPPORT" - Assured Workloads For Canada Regions and // Support controls // "ITAR" - International Traffic in Arms Regulations - // "AU_REGIONS_AND_US_SUPPORT" - Assured Workloads for Australia - // Regions and Support controls ComplianceRegime string `json:"complianceRegime,omitempty"` // CreateTime: Optional. Time when the operation was created. @@ -1263,8 +1260,6 @@ type GoogleCloudAssuredworkloadsVersioningV1mainWorkload struct { // "CA_REGIONS_AND_SUPPORT" - Assured Workloads For Canada Regions and // Support controls // "ITAR" - International Traffic in Arms Regulations - // "AU_REGIONS_AND_US_SUPPORT" - Assured Workloads for Australia - // Regions and Support controls ComplianceRegime string `json:"complianceRegime,omitempty"` // ComplianceStatus: Output only. Count of active Violations in the diff --git a/beyondcorp/v1/beyondcorp-api.json b/beyondcorp/v1/beyondcorp-api.json index 412be40e200..eaf16fb8acf 100644 --- a/beyondcorp/v1/beyondcorp-api.json +++ b/beyondcorp/v1/beyondcorp-api.json @@ -1741,7 +1741,7 @@ } } }, - "revision": "20220804", + "revision": "20220908", "rootUrl": "https://beyondcorp.googleapis.com/", "schemas": { "AllocatedConnection": { @@ -3354,7 +3354,7 @@ "description": "The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies)." }, "members": { - "description": "Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. ", + "description": "Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. ", "items": { "type": "string" }, diff --git a/beyondcorp/v1/beyondcorp-gen.go b/beyondcorp/v1/beyondcorp-gen.go index a25defd4364..247c5fb299d 100644 --- a/beyondcorp/v1/beyondcorp-gen.go +++ b/beyondcorp/v1/beyondcorp-gen.go @@ -2492,11 +2492,12 @@ type GoogleIamV1Binding struct { // `allUsers`: A special identifier that represents anyone who is on the // internet; with or without a Google account. * // `allAuthenticatedUsers`: A special identifier that represents anyone - // who is authenticated with a Google account or a service account. * - // `user:{emailid}`: An email address that represents a specific Google - // account. For example, `alice@example.com` . * - // `serviceAccount:{emailid}`: An email address that represents a Google - // service account. For example, + // who is authenticated with a Google account or a service account. Does + // not include identities that come from external identity providers + // (IdPs) through identity federation. * `user:{emailid}`: An email + // address that represents a specific Google account. For example, + // `alice@example.com` . * `serviceAccount:{emailid}`: An email address + // that represents a Google service account. For example, // `my-other-app@appspot.gserviceaccount.com`. * // `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: // An identifier for a Kubernetes service account diff --git a/beyondcorp/v1alpha/beyondcorp-api.json b/beyondcorp/v1alpha/beyondcorp-api.json index bc3a53acfc6..0a1424dd84e 100644 --- a/beyondcorp/v1alpha/beyondcorp-api.json +++ b/beyondcorp/v1alpha/beyondcorp-api.json @@ -2897,7 +2897,7 @@ } } }, - "revision": "20220804", + "revision": "20220908", "rootUrl": "https://beyondcorp.googleapis.com/", "schemas": { "AllocatedConnection": { @@ -5056,7 +5056,7 @@ "description": "The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies)." }, "members": { - "description": "Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. ", + "description": "Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. ", "items": { "type": "string" }, diff --git a/beyondcorp/v1alpha/beyondcorp-gen.go b/beyondcorp/v1alpha/beyondcorp-gen.go index cad51e2a093..400cbcab5e2 100644 --- a/beyondcorp/v1alpha/beyondcorp-gen.go +++ b/beyondcorp/v1alpha/beyondcorp-gen.go @@ -3323,11 +3323,12 @@ type GoogleIamV1Binding struct { // `allUsers`: A special identifier that represents anyone who is on the // internet; with or without a Google account. * // `allAuthenticatedUsers`: A special identifier that represents anyone - // who is authenticated with a Google account or a service account. * - // `user:{emailid}`: An email address that represents a specific Google - // account. For example, `alice@example.com` . * - // `serviceAccount:{emailid}`: An email address that represents a Google - // service account. For example, + // who is authenticated with a Google account or a service account. Does + // not include identities that come from external identity providers + // (IdPs) through identity federation. * `user:{emailid}`: An email + // address that represents a specific Google account. For example, + // `alice@example.com` . * `serviceAccount:{emailid}`: An email address + // that represents a Google service account. For example, // `my-other-app@appspot.gserviceaccount.com`. * // `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: // An identifier for a Kubernetes service account diff --git a/bigquery/v2/bigquery-api.json b/bigquery/v2/bigquery-api.json index 06ec992e988..8e206bae699 100644 --- a/bigquery/v2/bigquery-api.json +++ b/bigquery/v2/bigquery-api.json @@ -1710,7 +1710,7 @@ } } }, - "revision": "20220827", + "revision": "20220903", "rootUrl": "https://bigquery.googleapis.com/", "schemas": { "AggregateClassificationMetrics": { @@ -4085,6 +4085,13 @@ "$ref": "Clustering", "description": "[Beta] Clustering specification for the destination table. Must be specified with time-based partitioning, data in the table will be first partitioned and subsequently clustered." }, + "connectionProperties": { + "description": "Connection properties.", + "items": { + "$ref": "ConnectionProperty" + }, + "type": "array" + }, "createDisposition": { "description": "[Optional] Specifies whether the job is allowed to create new tables. The following values are supported: CREATE_IF_NEEDED: If the table does not exist, BigQuery creates the table. CREATE_NEVER: The table must already exist. If it does not, a 'notFound' error is returned in the job result. The default value is CREATE_IF_NEEDED. Creation, truncation and append actions occur as one atomic update upon job completion.", "type": "string" @@ -5772,12 +5779,14 @@ "enum": [ "LANGUAGE_UNSPECIFIED", "SQL", - "JAVASCRIPT" + "JAVASCRIPT", + "PYTHON" ], "enumDescriptions": [ "", "SQL language.", - "JavaScript language." + "JavaScript language.", + "Python language." ], "type": "string" }, @@ -6137,7 +6146,7 @@ "type": "object" }, "StandardSqlDataType": { - "description": "The data type of a variable such as a function argument. Examples include: * INT64: `{\"typeKind\": \"INT64\"}` * ARRAY: { \"typeKind\": \"ARRAY\", \"arrayElementType\": {\"typeKind\": \"STRING\"} } * STRUCT\u003e: { \"typeKind\": \"STRUCT\", \"structType\": { \"fields\": [ { \"name\": \"x\", \"type\": {\"typeKind: \"STRING\"} }, { \"name\": \"y\", \"type\": { \"typeKind\": \"ARRAY\", \"arrayElementType\": {\"typekind\": \"DATE\"} } } ] } }", + "description": "The data type of a variable such as a function argument. Examples include: * INT64: `{\"typeKind\": \"INT64\"}` * ARRAY: { \"typeKind\": \"ARRAY\", \"arrayElementType\": {\"typeKind\": \"STRING\"} } * STRUCT\u003e: { \"typeKind\": \"STRUCT\", \"structType\": { \"fields\": [ { \"name\": \"x\", \"type\": {\"typeKind\": \"STRING\"} }, { \"name\": \"y\", \"type\": { \"typeKind\": \"ARRAY\", \"arrayElementType\": {\"typeKind\": \"DATE\"} } } ] } }", "id": "StandardSqlDataType", "properties": { "arrayElementType": { diff --git a/bigquery/v2/bigquery-gen.go b/bigquery/v2/bigquery-gen.go index b0f181d4305..857b483d566 100644 --- a/bigquery/v2/bigquery-gen.go +++ b/bigquery/v2/bigquery-gen.go @@ -4317,6 +4317,9 @@ type JobConfigurationLoad struct { // table will be first partitioned and subsequently clustered. Clustering *Clustering `json:"clustering,omitempty"` + // ConnectionProperties: Connection properties. + ConnectionProperties []*ConnectionProperty `json:"connectionProperties,omitempty"` + // CreateDisposition: [Optional] Specifies whether the job is allowed to // create new tables. The following values are supported: // CREATE_IF_NEEDED: If the table does not exist, BigQuery creates the @@ -6967,6 +6970,7 @@ type Routine struct { // "LANGUAGE_UNSPECIFIED" // "SQL" - SQL language. // "JAVASCRIPT" - JavaScript language. + // "PYTHON" - Python language. Language string `json:"language,omitempty"` // LastModifiedTime: Output only. The time when this routine was last @@ -7591,8 +7595,8 @@ func (s *SparkStatistics) MarshalJSON() ([]byte, error) { // argument. Examples include: * INT64: `{"typeKind": "INT64"}` * ARRAY: // { "typeKind": "ARRAY", "arrayElementType": {"typeKind": "STRING"} } * // STRUCT>: { "typeKind": "STRUCT", "structType": { "fields": [ { -// "name": "x", "type": {"typeKind: "STRING"} }, { "name": "y", "type": -// { "typeKind": "ARRAY", "arrayElementType": {"typekind": "DATE"} } } ] +// "name": "x", "type": {"typeKind": "STRING"} }, { "name": "y", "type": +// { "typeKind": "ARRAY", "arrayElementType": {"typeKind": "DATE"} } } ] // } } type StandardSqlDataType struct { // ArrayElementType: The type of the array's elements, if type_kind = diff --git a/chromemanagement/v1/chromemanagement-api.json b/chromemanagement/v1/chromemanagement-api.json index caf72c389c2..5a183581d14 100644 --- a/chromemanagement/v1/chromemanagement-api.json +++ b/chromemanagement/v1/chromemanagement-api.json @@ -595,7 +595,7 @@ } } }, - "revision": "20220711", + "revision": "20220913", "rootUrl": "https://chromemanagement.googleapis.com/", "schemas": { "GoogleChromeManagementV1AndroidAppInfo": { @@ -744,7 +744,7 @@ "type": "object" }, "GoogleChromeManagementV1AudioStatusReport": { - "description": "Audio report.", + "description": "Status data for storage. * This field is telemetry information and this will change over time as the device is utilized. * Data for this field is controlled via policy: [ReportDeviceAudioStatus](https://chromeenterprise.google/policies/#ReportDeviceAudioStatus) * Data Collection Frequency: 10 minutes * Default Data Reporting Frequency: 3 hours - Policy Controlled: Yes * Cache: If the device is offline, the collected data is stored locally, and will be reported when the device is next online: No * Reported for affiliated users only: N/A", "id": "GoogleChromeManagementV1AudioStatusReport", "properties": { "inputDevice": { @@ -789,7 +789,7 @@ "type": "object" }, "GoogleChromeManagementV1BatteryInfo": { - "description": "Battery info", + "description": "Information about the battery. * This field provides device information, which is static and will not change over time. * Data for this field is controlled via policy: [ReportDevicePowerStatus](https://chromeenterprise.google/policies/#ReportDevicePowerStatus) * Data Collection Frequency: Only at Upload * Default Data Reporting Frequency: 3 hours - Policy Controlled: Yes * Cache: If the device is offline, the collected data is stored locally, and will be reported when the device is next online: No * Reported for affiliated users only: N/A", "id": "GoogleChromeManagementV1BatteryInfo", "properties": { "designCapacity": { @@ -828,7 +828,7 @@ "type": "object" }, "GoogleChromeManagementV1BatterySampleReport": { - "description": "Sampling data for battery.", + "description": "Sampling data for battery. * This field is telemetry information and this will change over time as the device is utilized. * Data for this field is controlled via policy: [ReportDevicePowerStatus](https://chromeenterprise.google/policies/#ReportDevicePowerStatus) * Data Collection Frequency: Only at Upload * Default Data Reporting Frequency: 3 hours - Policy Controlled: Yes * Cache: If the device is offline, the collected data is stored locally, and will be reported when the device is next online: No * Reported for affiliated users only: N/A", "id": "GoogleChromeManagementV1BatterySampleReport", "properties": { "chargeRate": { @@ -882,7 +882,7 @@ "type": "object" }, "GoogleChromeManagementV1BatteryStatusReport": { - "description": "Status data for battery.", + "description": "Status data for battery. * This field is telemetry information and this will change over time as the device is utilized. * Data for this field is controlled via policy: [ReportDevicePowerStatus](https://chromeenterprise.google/policies/#ReportDevicePowerStatus) * Data Collection Frequency: Only at Upload * Default Data Reporting Frequency: 3 hours - Policy Controlled: Yes * Cache: If the device is offline, the collected data is stored locally, and will be reported when the device is next online: No * Reported for affiliated users only: N/A", "id": "GoogleChromeManagementV1BatteryStatusReport", "properties": { "batteryHealth": { @@ -1256,11 +1256,11 @@ "type": "object" }, "GoogleChromeManagementV1CpuInfo": { - "description": "CPU specs for a CPU.", + "description": "CPU specifications for the device * This field provides device information, which is static and will not change over time. * Data for this field is controlled via policy: [ReportDeviceCpuInfo](https://chromeenterprise.google/policies/#ReportDeviceCpuInfo) * Data Collection Frequency: Only at Upload * Default Data Reporting Frequency: 3 hours - Policy Controlled: Yes * Cache: If the device is offline, the collected data is stored locally, and will be reported when the device is next online: No * Reported for affiliated users only: N/A", "id": "GoogleChromeManagementV1CpuInfo", "properties": { "architecture": { - "description": "Output only. The CPU architecture.", + "description": "Output only. Architecture type for the CPU. * This field provides device information, which is static and will not change over time. * Data for this field is controlled via policy: [ReportDeviceCpuInfo](https://chromeenterprise.google/policies/#ReportDeviceCpuInfo) * Data Collection Frequency: Only at Upload * Default Data Reporting Frequency: 3 hours - Policy Controlled: Yes * Cache: If the device is offline, the collected data is stored locally, and will be reported when the device is next online: No * Reported for affiliated users only: N/A", "enum": [ "ARCHITECTURE_UNSPECIFIED", "X64" @@ -1297,7 +1297,7 @@ "type": "object" }, "GoogleChromeManagementV1CpuStatusReport": { - "description": "Contains samples of the cpu status reports.", + "description": "Provides information about the status of the CPU. * This field is telemetry information and this will change over time as the device is utilized. * Data for this field is controlled via policy: [ReportDeviceCpuInfo](https://chromeenterprise.google/policies/#ReportDeviceCpuInfo) * Data Collection Frequency: Every 10 minutes * Default Data Reporting Frequency: 3 hours - Policy Controlled: Yes * Cache: If the device is offline, the collected data is stored locally, and will be reported when the device is next online: No * Reported for affiliated users only: N/A", "id": "GoogleChromeManagementV1CpuStatusReport", "properties": { "cpuTemperatureInfo": { @@ -1330,7 +1330,7 @@ "type": "object" }, "GoogleChromeManagementV1CpuTemperatureInfo": { - "description": "CPU temperature of a device. Sampled per CPU core in Celsius", + "description": "CPU temperature of a device. Sampled per CPU core in Celsius. * This field is telemetry information and this will change over time as the device is utilized. * Data for this field is controlled via policy: [ReportDeviceCpuInfo](https://chromeenterprise.google/policies/#ReportDeviceCpuInfo) * Data Collection Frequency: Every 10 minutes * Default Data Reporting Frequency: 3 hours - Policy Controlled: Yes * Cache: If the device is offline, the collected data is stored locally, and will be reported when the device is next online: No * Reported for affiliated users only: N/A", "id": "GoogleChromeManagementV1CpuTemperatureInfo", "properties": { "label": { @@ -1588,7 +1588,7 @@ "type": "object" }, "GoogleChromeManagementV1GraphicsInfo": { - "description": "Information of the graphics subsystem.", + "description": "Information of the graphics subsystem. * This field provides device information, which is static and will not change over time. * Data for this field is controlled via policy: [ReportDeviceGraphicsStatus](https://chromeenterprise.google/policies/#ReportDeviceGraphicsStatus) * Data Collection Frequency: Only at Upload * Default Data Reporting Frequency: 3 hours - Policy Controlled: Yes * Cache: If the device is offline, the collected data is stored locally, and will be reported when the device is next online: No * Reported for affiliated users only: N/A", "id": "GoogleChromeManagementV1GraphicsInfo", "properties": { "adapterInfo": { @@ -1600,7 +1600,7 @@ "type": "object" }, "GoogleChromeManagementV1GraphicsStatusReport": { - "description": "Information of the graphics subsystem.", + "description": "Information of the graphics subsystem. * This field is telemetry information and this will change over time as the device is utilized. * Data for this field is controlled via policy: [ReportDeviceGraphicsInfo](https://chromeenterprise.google/policies/#ReportDeviceGraphicsInfo) * Data Collection Frequency: Only at Upload * Default Data Reporting Frequency: 3 hours - Policy Controlled: Yes * Cache: If the device is offline, the collected data is stored locally, and will be reported when the device is next online: No * Reported for affiliated users only: N/A", "id": "GoogleChromeManagementV1GraphicsStatusReport", "properties": { "displays": { @@ -1781,7 +1781,7 @@ "type": "object" }, "GoogleChromeManagementV1MemoryInfo": { - "description": "Memory information of a device.", + "description": "Memory information of a device. * This field has both telemetry and device information: - `totalRamBytes` - Device information - `availableRamBytes` - Telemetry information - `totalMemoryEncryption` - Device information * Data for this field is controlled via policy: [ReportDeviceMemoryInfo](https://chromeenterprise.google/policies/#ReportDeviceMemoryInfo) * Data Collection Frequency: - `totalRamBytes` - Only at upload - `availableRamBytes` - Every 10 minutes - `totalMemoryEncryption` - at device startup * Default Data Reporting Frequency: - `totalRamBytes` - 3 hours - `availableRamBytes` - 3 hours - `totalMemoryEncryption` - at device startup - Policy Controlled: Yes * Cache: If the device is offline, the collected data is stored locally, and will be reported when the device is next online: only for `totalMemoryEncryption` * Reported for affiliated users only: N/A", "id": "GoogleChromeManagementV1MemoryInfo", "properties": { "availableRamBytes": { @@ -1805,7 +1805,7 @@ "type": "object" }, "GoogleChromeManagementV1MemoryStatusReport": { - "description": "Contains samples of memory status reports.", + "description": "Contains samples of memory status reports. * This field is telemetry information and this will change over time as the device is utilized. * Data for this field is controlled via policy: [ReportDeviceMemoryInfo](https://chromeenterprise.google/policies/#ReportDeviceMemoryInfo) * Data Collection Frequency: Only at upload, SystemRamFreeByes is collected every 10 minutes * Default Data Reporting Frequency: Every 3 hours - Policy Controlled: Yes * Cache: If the device is offline, the collected data is stored locally, and will be reported when the device is next online: No * Reported for affiliated users only: N/A", "id": "GoogleChromeManagementV1MemoryStatusReport", "properties": { "pageFaults": { @@ -1836,7 +1836,7 @@ "type": "object" }, "GoogleChromeManagementV1NetworkDevice": { - "description": "Network device.", + "description": "Details about the network device. * This field provides device information, which is static and will not change over time. * Data for this field is controlled via policy: [ReportNetworkDeviceConfiguration](https://chromeenterprise.google/policies/#ReportNetworkDeviceConfiguration) * Data Collection Frequency: At device startup * Default Data Reporting Frequency: At device startup - Policy Controlled: Yes * Cache: If the device is offline, the collected data is stored locally, and will be reported when the device is next online: Yes * Reported for affiliated users only: N/A", "id": "GoogleChromeManagementV1NetworkDevice", "properties": { "iccid": { @@ -1903,7 +1903,7 @@ "type": "object" }, "GoogleChromeManagementV1NetworkInfo": { - "description": "Network devices info.", + "description": "Network device information. * This field provides device information, which is static and will not change over time. * Data for this field is controlled via policy: [ReportNetworkDeviceConfiguration](https://chromeenterprise.google/policies/#ReportNetworkDeviceConfiguration) * Data Collection Frequency: At device startup * Default Data Reporting Frequency: At device startup - Policy Controlled: Yes * Cache: If the device is offline, the collected data is stored locally, and will be reported when the device is next online: Yes * Reported for affiliated users only: N/A", "id": "GoogleChromeManagementV1NetworkInfo", "properties": { "networkDevices": { @@ -1918,7 +1918,7 @@ "type": "object" }, "GoogleChromeManagementV1NetworkStatusReport": { - "description": "State of visible/configured networks.", + "description": "State of visible/configured networks. * This field is telemetry information and this will change over time as the device is utilized. * Data for this field is controlled via policy: [ReportNetworkStatus](https://chromeenterprise.google/policies/#ReportNetworkStatus) * Data Collection Frequency: 60 minutes * Default Data Reporting Frequency: 3 hours - Policy Controlled: Yes * Cache: If the device is offline, the collected data is stored locally, and will be reported when the device is next online: Yes * Reported for affiliated users only: Yes", "id": "GoogleChromeManagementV1NetworkStatusReport", "properties": { "connectionState": { @@ -2034,7 +2034,7 @@ "type": "object" }, "GoogleChromeManagementV1OsUpdateStatus": { - "description": "Contains information regarding the current OS update status.", + "description": "Contains information regarding the current OS update status. * This field is telemetry information and this will change over time as the device is utilized. * Data for this field is controlled via policy: [ReportDeviceOsUpdateStatus](https://chromeenterprise.google/policies/#ReportDeviceOsUpdateStatus) * Data Collection Frequency: Only at Upload * Default Data Reporting Frequency: 3 hours - Policy Controlled: Yes * Cache: If the device is offline, the collected data is stored locally, and will be reported when the device is next online: No * Reported for affiliated users only: N/A", "id": "GoogleChromeManagementV1OsUpdateStatus", "properties": { "lastRebootTime": { @@ -2086,7 +2086,7 @@ "type": "object" }, "GoogleChromeManagementV1StorageInfo": { - "description": "Status data for storage.", + "description": "Status data for storage. * This field is telemetry information and this will change over time as the device is utilized. * Data for this field is controlled via policy: [ReportDeviceStorageStatus](https://chromeenterprise.google/policies/#ReportDeviceStorageStatus) * Data Collection Frequency: Only at Upload * Default Data Reporting Frequency: 3 hours - Policy Controlled: Yes * Cache: If the device is offline, the collected data is stored locally, and will be reported when the device is next online: No * Reported for affiliated users only: N/A", "id": "GoogleChromeManagementV1StorageInfo", "properties": { "availableDiskBytes": { @@ -2131,7 +2131,7 @@ "type": "object" }, "GoogleChromeManagementV1StorageStatusReport": { - "description": "Status data for storage.", + "description": "Status data for storage. * This field is telemetry information and this will change over time as the device is utilized. * Data for this field is controlled via policy: [ReportDeviceStorageStatus](https://chromeenterprise.google/policies/#ReportDeviceStorageStatus) * Data Collection Frequency: Only at Upload * Default Data Reporting Frequency: 3 hours - Policy Controlled: Yes * Cache: If the device is offline, the collected data is stored locally, and will be reported when the device is next online: No * Reported for affiliated users only: N/A", "id": "GoogleChromeManagementV1StorageStatusReport", "properties": { "disk": { @@ -2300,7 +2300,7 @@ "type": "object" }, "GoogleChromeManagementV1ThunderboltInfo": { - "description": "Thunderbolt bus info.", + "description": "Thunderbolt bus info. * This field provides device information, which is static and will not change over time. * Data for this field is controlled via policy: [ReportDeviceSecurityStatus](https://chromeenterprise.google/policies/#ReportDeviceSecurityStatus) * Data Collection Frequency: At device startup * Default Data Reporting Frequency: At device startup - Policy Controlled: No * Cache: If the device is offline, the collected data is stored locally, and will be reported when the device is next online: Yes * Reported for affiliated users only: N/A", "id": "GoogleChromeManagementV1ThunderboltInfo", "properties": { "securityLevel": { @@ -2329,7 +2329,7 @@ "type": "object" }, "GoogleChromeManagementV1TotalMemoryEncryptionInfo": { - "description": "Memory encryption information of a device.", + "description": "Memory encryption information of a device. * This field provides device information, which is static and will not change over time. * Data for this field is controlled via policy: [ReportDeviceMemoryInfo](https://chromeenterprise.google/policies/#ReportDeviceMemoryInfo) * Data Collection Frequency: At device startup * Default Data Reporting Frequency: At device startup - Policy Controlled: Yes * Cache: If the device is offline, the collected data is stored locally, and will be reported when the device is next online: Yes * Reported for affiliated users only: N/A", "id": "GoogleChromeManagementV1TotalMemoryEncryptionInfo", "properties": { "encryptionAlgorithm": { diff --git a/chromemanagement/v1/chromemanagement-gen.go b/chromemanagement/v1/chromemanagement-gen.go index a6bff2365c9..0a664e2b591 100644 --- a/chromemanagement/v1/chromemanagement-gen.go +++ b/chromemanagement/v1/chromemanagement-gen.go @@ -424,7 +424,16 @@ func (s *GoogleChromeManagementV1AppDetails) UnmarshalJSON(data []byte) error { return nil } -// GoogleChromeManagementV1AudioStatusReport: Audio report. +// GoogleChromeManagementV1AudioStatusReport: Status data for storage. * +// This field is telemetry information and this will change over time as +// the device is utilized. * Data for this field is controlled via +// policy: ReportDeviceAudioStatus +// (https://chromeenterprise.google/policies/#ReportDeviceAudioStatus) * +// Data Collection Frequency: 10 minutes * Default Data Reporting +// Frequency: 3 hours - Policy Controlled: Yes * Cache: If the device is +// offline, the collected data is stored locally, and will be reported +// when the device is next online: No * Reported for affiliated users +// only: N/A type GoogleChromeManagementV1AudioStatusReport struct { // InputDevice: Output only. Active input device's name. InputDevice string `json:"inputDevice,omitempty"` @@ -471,7 +480,16 @@ func (s *GoogleChromeManagementV1AudioStatusReport) MarshalJSON() ([]byte, error return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleChromeManagementV1BatteryInfo: Battery info +// GoogleChromeManagementV1BatteryInfo: Information about the battery. * +// This field provides device information, which is static and will not +// change over time. * Data for this field is controlled via policy: +// ReportDevicePowerStatus +// (https://chromeenterprise.google/policies/#ReportDevicePowerStatus) * +// Data Collection Frequency: Only at Upload * Default Data Reporting +// Frequency: 3 hours - Policy Controlled: Yes * Cache: If the device is +// offline, the collected data is stored locally, and will be reported +// when the device is next online: No * Reported for affiliated users +// only: N/A type GoogleChromeManagementV1BatteryInfo struct { // DesignCapacity: Output only. Design capacity (mAmpere-hours). DesignCapacity int64 `json:"designCapacity,omitempty,string"` @@ -516,7 +534,15 @@ func (s *GoogleChromeManagementV1BatteryInfo) MarshalJSON() ([]byte, error) { } // GoogleChromeManagementV1BatterySampleReport: Sampling data for -// battery. +// battery. * This field is telemetry information and this will change +// over time as the device is utilized. * Data for this field is +// controlled via policy: ReportDevicePowerStatus +// (https://chromeenterprise.google/policies/#ReportDevicePowerStatus) * +// Data Collection Frequency: Only at Upload * Default Data Reporting +// Frequency: 3 hours - Policy Controlled: Yes * Cache: If the device is +// offline, the collected data is stored locally, and will be reported +// when the device is next online: No * Reported for affiliated users +// only: N/A type GoogleChromeManagementV1BatterySampleReport struct { // ChargeRate: Output only. Battery charge percentage. ChargeRate int64 `json:"chargeRate,omitempty"` @@ -571,6 +597,15 @@ func (s *GoogleChromeManagementV1BatterySampleReport) MarshalJSON() ([]byte, err } // GoogleChromeManagementV1BatteryStatusReport: Status data for battery. +// * This field is telemetry information and this will change over time +// as the device is utilized. * Data for this field is controlled via +// policy: ReportDevicePowerStatus +// (https://chromeenterprise.google/policies/#ReportDevicePowerStatus) * +// Data Collection Frequency: Only at Upload * Default Data Reporting +// Frequency: 3 hours - Policy Controlled: Yes * Cache: If the device is +// offline, the collected data is stored locally, and will be reported +// when the device is next online: No * Reported for affiliated users +// only: N/A type GoogleChromeManagementV1BatteryStatusReport struct { // BatteryHealth: Output only. Battery health. // @@ -1078,9 +1113,27 @@ func (s *GoogleChromeManagementV1CountInstalledAppsResponse) MarshalJSON() ([]by return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleChromeManagementV1CpuInfo: CPU specs for a CPU. +// GoogleChromeManagementV1CpuInfo: CPU specifications for the device * +// This field provides device information, which is static and will not +// change over time. * Data for this field is controlled via policy: +// ReportDeviceCpuInfo +// (https://chromeenterprise.google/policies/#ReportDeviceCpuInfo) * +// Data Collection Frequency: Only at Upload * Default Data Reporting +// Frequency: 3 hours - Policy Controlled: Yes * Cache: If the device is +// offline, the collected data is stored locally, and will be reported +// when the device is next online: No * Reported for affiliated users +// only: N/A type GoogleChromeManagementV1CpuInfo struct { - // Architecture: Output only. The CPU architecture. + // Architecture: Output only. Architecture type for the CPU. * This + // field provides device information, which is static and will not + // change over time. * Data for this field is controlled via policy: + // ReportDeviceCpuInfo + // (https://chromeenterprise.google/policies/#ReportDeviceCpuInfo) * + // Data Collection Frequency: Only at Upload * Default Data Reporting + // Frequency: 3 hours - Policy Controlled: Yes * Cache: If the device is + // offline, the collected data is stored locally, and will be reported + // when the device is next online: No * Reported for affiliated users + // only: N/A // // Possible values: // "ARCHITECTURE_UNSPECIFIED" - Architecture unknown. @@ -1125,8 +1178,16 @@ func (s *GoogleChromeManagementV1CpuInfo) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleChromeManagementV1CpuStatusReport: Contains samples of the cpu -// status reports. +// GoogleChromeManagementV1CpuStatusReport: Provides information about +// the status of the CPU. * This field is telemetry information and this +// will change over time as the device is utilized. * Data for this +// field is controlled via policy: ReportDeviceCpuInfo +// (https://chromeenterprise.google/policies/#ReportDeviceCpuInfo) * +// Data Collection Frequency: Every 10 minutes * Default Data Reporting +// Frequency: 3 hours - Policy Controlled: Yes * Cache: If the device is +// offline, the collected data is stored locally, and will be reported +// when the device is next online: No * Reported for affiliated users +// only: N/A type GoogleChromeManagementV1CpuStatusReport struct { // CpuTemperatureInfo: Output only. CPU temperature sample info per CPU // core in Celsius @@ -1168,7 +1229,15 @@ func (s *GoogleChromeManagementV1CpuStatusReport) MarshalJSON() ([]byte, error) } // GoogleChromeManagementV1CpuTemperatureInfo: CPU temperature of a -// device. Sampled per CPU core in Celsius +// device. Sampled per CPU core in Celsius. * This field is telemetry +// information and this will change over time as the device is utilized. +// * Data for this field is controlled via policy: ReportDeviceCpuInfo +// (https://chromeenterprise.google/policies/#ReportDeviceCpuInfo) * +// Data Collection Frequency: Every 10 minutes * Default Data Reporting +// Frequency: 3 hours - Policy Controlled: Yes * Cache: If the device is +// offline, the collected data is stored locally, and will be reported +// when the device is next online: No * Reported for affiliated users +// only: N/A type GoogleChromeManagementV1CpuTemperatureInfo struct { // Label: Output only. CPU label. Example: Core 0 Label string `json:"label,omitempty"` @@ -1487,7 +1556,15 @@ func (s *GoogleChromeManagementV1GraphicsAdapterInfo) MarshalJSON() ([]byte, err } // GoogleChromeManagementV1GraphicsInfo: Information of the graphics -// subsystem. +// subsystem. * This field provides device information, which is static +// and will not change over time. * Data for this field is controlled +// via policy: ReportDeviceGraphicsStatus +// (https://chromeenterprise.google/policies/#ReportDeviceGraphicsStatus) +// * Data Collection Frequency: Only at Upload * Default Data Reporting +// Frequency: 3 hours - Policy Controlled: Yes * Cache: If the device is +// offline, the collected data is stored locally, and will be reported +// when the device is next online: No * Reported for affiliated users +// only: N/A type GoogleChromeManagementV1GraphicsInfo struct { // AdapterInfo: Output only. Information about the graphics adapter // (GPU). @@ -1517,7 +1594,15 @@ func (s *GoogleChromeManagementV1GraphicsInfo) MarshalJSON() ([]byte, error) { } // GoogleChromeManagementV1GraphicsStatusReport: Information of the -// graphics subsystem. +// graphics subsystem. * This field is telemetry information and this +// will change over time as the device is utilized. * Data for this +// field is controlled via policy: ReportDeviceGraphicsInfo +// (https://chromeenterprise.google/policies/#ReportDeviceGraphicsInfo) +// * Data Collection Frequency: Only at Upload * Default Data Reporting +// Frequency: 3 hours - Policy Controlled: Yes * Cache: If the device is +// offline, the collected data is stored locally, and will be reported +// when the device is next online: No * Reported for affiliated users +// only: N/A type GoogleChromeManagementV1GraphicsStatusReport struct { // Displays: Output only. Information about the displays for the device. Displays []*GoogleChromeManagementV1DisplayInfo `json:"displays,omitempty"` @@ -1716,7 +1801,21 @@ func (s *GoogleChromeManagementV1ListTelemetryDevicesResponse) MarshalJSON() ([] return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleChromeManagementV1MemoryInfo: Memory information of a device. +// GoogleChromeManagementV1MemoryInfo: Memory information of a device. * +// This field has both telemetry and device information: - +// `totalRamBytes` - Device information - `availableRamBytes` - +// Telemetry information - `totalMemoryEncryption` - Device information +// * Data for this field is controlled via policy: +// ReportDeviceMemoryInfo +// (https://chromeenterprise.google/policies/#ReportDeviceMemoryInfo) * +// Data Collection Frequency: - `totalRamBytes` - Only at upload - +// `availableRamBytes` - Every 10 minutes - `totalMemoryEncryption` - at +// device startup * Default Data Reporting Frequency: - `totalRamBytes` +// - 3 hours - `availableRamBytes` - 3 hours - `totalMemoryEncryption` - +// at device startup - Policy Controlled: Yes * Cache: If the device is +// offline, the collected data is stored locally, and will be reported +// when the device is next online: only for `totalMemoryEncryption` * +// Reported for affiliated users only: N/A type GoogleChromeManagementV1MemoryInfo struct { // AvailableRamBytes: Output only. Amount of available RAM in bytes. AvailableRamBytes int64 `json:"availableRamBytes,omitempty,string"` @@ -1753,7 +1852,15 @@ func (s *GoogleChromeManagementV1MemoryInfo) MarshalJSON() ([]byte, error) { } // GoogleChromeManagementV1MemoryStatusReport: Contains samples of -// memory status reports. +// memory status reports. * This field is telemetry information and this +// will change over time as the device is utilized. * Data for this +// field is controlled via policy: ReportDeviceMemoryInfo +// (https://chromeenterprise.google/policies/#ReportDeviceMemoryInfo) * +// Data Collection Frequency: Only at upload, SystemRamFreeByes is +// collected every 10 minutes * Default Data Reporting Frequency: Every +// 3 hours - Policy Controlled: Yes * Cache: If the device is offline, +// the collected data is stored locally, and will be reported when the +// device is next online: No * Reported for affiliated users only: N/A type GoogleChromeManagementV1MemoryStatusReport struct { // PageFaults: Output only. Number of page faults during this collection PageFaults int64 `json:"pageFaults,omitempty"` @@ -1792,7 +1899,16 @@ func (s *GoogleChromeManagementV1MemoryStatusReport) MarshalJSON() ([]byte, erro return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleChromeManagementV1NetworkDevice: Network device. +// GoogleChromeManagementV1NetworkDevice: Details about the network +// device. * This field provides device information, which is static and +// will not change over time. * Data for this field is controlled via +// policy: ReportNetworkDeviceConfiguration +// (https://chromeenterprise.google/policies/#ReportNetworkDeviceConfiguration) +// * Data Collection Frequency: At device startup * Default Data +// Reporting Frequency: At device startup - Policy Controlled: Yes * +// Cache: If the device is offline, the collected data is stored +// locally, and will be reported when the device is next online: Yes * +// Reported for affiliated users only: N/A type GoogleChromeManagementV1NetworkDevice struct { // Iccid: Output only. The integrated circuit card ID associated with // the device's sim card. @@ -1882,7 +1998,16 @@ func (s *GoogleChromeManagementV1NetworkDiagnosticsReport) MarshalJSON() ([]byte return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleChromeManagementV1NetworkInfo: Network devices info. +// GoogleChromeManagementV1NetworkInfo: Network device information. * +// This field provides device information, which is static and will not +// change over time. * Data for this field is controlled via policy: +// ReportNetworkDeviceConfiguration +// (https://chromeenterprise.google/policies/#ReportNetworkDeviceConfiguration) +// * Data Collection Frequency: At device startup * Default Data +// Reporting Frequency: At device startup - Policy Controlled: Yes * +// Cache: If the device is offline, the collected data is stored +// locally, and will be reported when the device is next online: Yes * +// Reported for affiliated users only: N/A type GoogleChromeManagementV1NetworkInfo struct { // NetworkDevices: Output only. List of network devices. NetworkDevices []*GoogleChromeManagementV1NetworkDevice `json:"networkDevices,omitempty"` @@ -1912,7 +2037,15 @@ func (s *GoogleChromeManagementV1NetworkInfo) MarshalJSON() ([]byte, error) { } // GoogleChromeManagementV1NetworkStatusReport: State of -// visible/configured networks. +// visible/configured networks. * This field is telemetry information +// and this will change over time as the device is utilized. * Data for +// this field is controlled via policy: ReportNetworkStatus +// (https://chromeenterprise.google/policies/#ReportNetworkStatus) * +// Data Collection Frequency: 60 minutes * Default Data Reporting +// Frequency: 3 hours - Policy Controlled: Yes * Cache: If the device is +// offline, the collected data is stored locally, and will be reported +// when the device is next online: Yes * Reported for affiliated users +// only: Yes type GoogleChromeManagementV1NetworkStatusReport struct { // ConnectionState: Output only. Current connection state of the // network. @@ -2010,7 +2143,16 @@ func (s *GoogleChromeManagementV1NetworkStatusReport) MarshalJSON() ([]byte, err } // GoogleChromeManagementV1OsUpdateStatus: Contains information -// regarding the current OS update status. +// regarding the current OS update status. * This field is telemetry +// information and this will change over time as the device is utilized. +// * Data for this field is controlled via policy: +// ReportDeviceOsUpdateStatus +// (https://chromeenterprise.google/policies/#ReportDeviceOsUpdateStatus) +// * Data Collection Frequency: Only at Upload * Default Data Reporting +// Frequency: 3 hours - Policy Controlled: Yes * Cache: If the device is +// offline, the collected data is stored locally, and will be reported +// when the device is next online: No * Reported for affiliated users +// only: N/A type GoogleChromeManagementV1OsUpdateStatus struct { // LastRebootTime: Output only. Timestamp of the last reboot. LastRebootTime string `json:"lastRebootTime,omitempty"` @@ -2066,7 +2208,16 @@ func (s *GoogleChromeManagementV1OsUpdateStatus) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleChromeManagementV1StorageInfo: Status data for storage. +// GoogleChromeManagementV1StorageInfo: Status data for storage. * This +// field is telemetry information and this will change over time as the +// device is utilized. * Data for this field is controlled via policy: +// ReportDeviceStorageStatus +// (https://chromeenterprise.google/policies/#ReportDeviceStorageStatus) +// * Data Collection Frequency: Only at Upload * Default Data Reporting +// Frequency: 3 hours - Policy Controlled: Yes * Cache: If the device is +// offline, the collected data is stored locally, and will be reported +// when the device is next online: No * Reported for affiliated users +// only: N/A type GoogleChromeManagementV1StorageInfo struct { // AvailableDiskBytes: The available space for user data storage in the // device in bytes. @@ -2140,6 +2291,15 @@ func (s *GoogleChromeManagementV1StorageInfoDiskVolume) MarshalJSON() ([]byte, e } // GoogleChromeManagementV1StorageStatusReport: Status data for storage. +// * This field is telemetry information and this will change over time +// as the device is utilized. * Data for this field is controlled via +// policy: ReportDeviceStorageStatus +// (https://chromeenterprise.google/policies/#ReportDeviceStorageStatus) +// * Data Collection Frequency: Only at Upload * Default Data Reporting +// Frequency: 3 hours - Policy Controlled: Yes * Cache: If the device is +// offline, the collected data is stored locally, and will be reported +// when the device is next online: No * Reported for affiliated users +// only: N/A type GoogleChromeManagementV1StorageStatusReport struct { // Disk: Output only. Reports on disk. Disk []*GoogleChromeManagementV1DiskInfo `json:"disk,omitempty"` @@ -2283,7 +2443,16 @@ func (s *GoogleChromeManagementV1TelemetryDevice) MarshalJSON() ([]byte, error) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleChromeManagementV1ThunderboltInfo: Thunderbolt bus info. +// GoogleChromeManagementV1ThunderboltInfo: Thunderbolt bus info. * This +// field provides device information, which is static and will not +// change over time. * Data for this field is controlled via policy: +// ReportDeviceSecurityStatus +// (https://chromeenterprise.google/policies/#ReportDeviceSecurityStatus) +// * Data Collection Frequency: At device startup * Default Data +// Reporting Frequency: At device startup - Policy Controlled: No * +// Cache: If the device is offline, the collected data is stored +// locally, and will be reported when the device is next online: Yes * +// Reported for affiliated users only: N/A type GoogleChromeManagementV1ThunderboltInfo struct { // SecurityLevel: Security level of the Thunderbolt bus. // @@ -2330,7 +2499,15 @@ func (s *GoogleChromeManagementV1ThunderboltInfo) MarshalJSON() ([]byte, error) } // GoogleChromeManagementV1TotalMemoryEncryptionInfo: Memory encryption -// information of a device. +// information of a device. * This field provides device information, +// which is static and will not change over time. * Data for this field +// is controlled via policy: ReportDeviceMemoryInfo +// (https://chromeenterprise.google/policies/#ReportDeviceMemoryInfo) * +// Data Collection Frequency: At device startup * Default Data Reporting +// Frequency: At device startup - Policy Controlled: Yes * Cache: If the +// device is offline, the collected data is stored locally, and will be +// reported when the device is next online: Yes * Reported for +// affiliated users only: N/A type GoogleChromeManagementV1TotalMemoryEncryptionInfo struct { // EncryptionAlgorithm: Memory encryption algorithm. // diff --git a/chromepolicy/v1/chromepolicy-api.json b/chromepolicy/v1/chromepolicy-api.json index a4f8acc2907..3803dd680df 100644 --- a/chromepolicy/v1/chromepolicy-api.json +++ b/chromepolicy/v1/chromepolicy-api.json @@ -441,7 +441,7 @@ } } }, - "revision": "20220904", + "revision": "20220913", "rootUrl": "https://chromepolicy.googleapis.com/", "schemas": { "ChromeCrosDpanelAutosettingsProtoPolicyApiLifecycle": { @@ -789,8 +789,7 @@ "id": "GoogleChromePolicyV1PolicySchemaFieldDescription", "properties": { "description": { - "description": "Output only. The description for the field.", - "readOnly": true, + "description": "Deprecated. Use name and field_description instead. The description for the field.", "type": "string" }, "field": { @@ -806,6 +805,11 @@ "readOnly": true, "type": "array" }, + "fieldDescription": { + "description": "Output only. The description of the field.", + "readOnly": true, + "type": "string" + }, "inputConstraint": { "description": "Output only. Any input constraints associated on the values for the field.", "readOnly": true, @@ -819,6 +823,11 @@ "readOnly": true, "type": "array" }, + "name": { + "description": "Output only. The name of the field.", + "readOnly": true, + "type": "string" + }, "nestedFieldDescriptions": { "description": "Output only. Provides the description of the fields nested in this field, if the field is a message type that defines multiple fields.", "items": { diff --git a/chromepolicy/v1/chromepolicy-gen.go b/chromepolicy/v1/chromepolicy-gen.go index fd48d8e9a2a..5582d85623b 100644 --- a/chromepolicy/v1/chromepolicy-gen.go +++ b/chromepolicy/v1/chromepolicy-gen.go @@ -839,7 +839,8 @@ func (s *GoogleChromePolicyV1PolicySchemaFieldDependencies) MarshalJSON() ([]byt // GoogleChromePolicyV1PolicySchemaFieldDescription: Provides detailed // information for a particular field that is part of a PolicySchema. type GoogleChromePolicyV1PolicySchemaFieldDescription struct { - // Description: Output only. The description for the field. + // Description: Deprecated. Use name and field_description instead. The + // description for the field. Description string `json:"description,omitempty"` // Field: Output only. The name of the field for associated with this @@ -851,6 +852,9 @@ type GoogleChromePolicyV1PolicySchemaFieldDescription struct { // for this field to be allowed to be set. FieldDependencies []*GoogleChromePolicyV1PolicySchemaFieldDependencies `json:"fieldDependencies,omitempty"` + // FieldDescription: Output only. The description of the field. + FieldDescription string `json:"fieldDescription,omitempty"` + // InputConstraint: Output only. Any input constraints associated on the // values for the field. InputConstraint string `json:"inputConstraint,omitempty"` @@ -859,6 +863,9 @@ type GoogleChromePolicyV1PolicySchemaFieldDescription struct { // values, this field will provide a description for these values. KnownValueDescriptions []*GoogleChromePolicyV1PolicySchemaFieldKnownValueDescription `json:"knownValueDescriptions,omitempty"` + // Name: Output only. The name of the field. + Name string `json:"name,omitempty"` + // NestedFieldDescriptions: Output only. Provides the description of the // fields nested in this field, if the field is a message type that // defines multiple fields. diff --git a/cloudasset/v1/cloudasset-api.json b/cloudasset/v1/cloudasset-api.json index 9731a28fc4b..1fdc84a0b82 100644 --- a/cloudasset/v1/cloudasset-api.json +++ b/cloudasset/v1/cloudasset-api.json @@ -929,7 +929,7 @@ } } }, - "revision": "20220826", + "revision": "20220910", "rootUrl": "https://cloudasset.googleapis.com/", "schemas": { "AccessSelector": { @@ -2600,7 +2600,7 @@ "DATA_LOSS" ], "enumDescriptions": [ - "Not an error; returned on success HTTP Mapping: 200 OK", + "Not an error; returned on success. HTTP Mapping: 200 OK", "The operation was cancelled, typically by the caller. HTTP Mapping: 499 Client Closed Request", "Unknown error. For example, this error may be returned when a `Status` value received from another address space belongs to an error space that is not known in this address space. Also errors raised by APIs that do not return enough error information may be converted to this error. HTTP Mapping: 500 Internal Server Error", "The client specified an invalid argument. Note that this differs from `FAILED_PRECONDITION`. `INVALID_ARGUMENT` indicates arguments that are problematic regardless of the state of the system (e.g., a malformed file name). HTTP Mapping: 400 Bad Request", diff --git a/cloudasset/v1/cloudasset-gen.go b/cloudasset/v1/cloudasset-gen.go index 8560cbfadfd..f982d7d495c 100644 --- a/cloudasset/v1/cloudasset-gen.go +++ b/cloudasset/v1/cloudasset-gen.go @@ -3510,7 +3510,7 @@ type IamPolicyAnalysisState struct { // entity hasn't been started in time; // // Possible values: - // "OK" - Not an error; returned on success HTTP Mapping: 200 OK + // "OK" - Not an error; returned on success. HTTP Mapping: 200 OK // "CANCELLED" - The operation was cancelled, typically by the caller. // HTTP Mapping: 499 Client Closed Request // "UNKNOWN" - Unknown error. For example, this error may be returned diff --git a/cloudchannel/v1/cloudchannel-api.json b/cloudchannel/v1/cloudchannel-api.json index e0adc8d6839..674eee0118e 100644 --- a/cloudchannel/v1/cloudchannel-api.json +++ b/cloudchannel/v1/cloudchannel-api.json @@ -172,7 +172,7 @@ ] }, "listTransferableOffers": { - "description": "List TransferableOffers of a customer based on Cloud Identity ID or Customer Name in the request. Use this method when a reseller gets the entitlement information of an unowned customer. The reseller should provide the customer's Cloud Identity ID or Customer Name. Possible error codes: * PERMISSION_DENIED: * The customer doesn't belong to the reseller and has no auth token. * The supplied auth token is invalid. * The reseller account making the request is different from the reseller account in the query. * INVALID_ARGUMENT: Required request parameters are missing or invalid. Return value: List of TransferableOffer for the given customer and SKU.", + "description": "List TransferableOffers of a customer based on Cloud Identity ID or Customer Name in the request. Use this method when a reseller gets the entitlement information of an unowned customer. The reseller should provide the customer's Cloud Identity ID or Customer Name. Possible error codes: * PERMISSION_DENIED: * The customer doesn't belong to the reseller and has no auth token. * The customer provided incorrect reseller information when generating auth token. * The reseller account making the request is different from the reseller account in the query. * INVALID_ARGUMENT: Required request parameters are missing or invalid. Return value: List of TransferableOffer for the given customer and SKU.", "flatPath": "v1/accounts/{accountsId}:listTransferableOffers", "httpMethod": "POST", "id": "cloudchannel.accounts.listTransferableOffers", @@ -1901,7 +1901,7 @@ } } }, - "revision": "20220803", + "revision": "20220910", "rootUrl": "https://cloudchannel.googleapis.com/", "schemas": { "GoogleCloudChannelV1ActivateEntitlementRequest": { @@ -2920,7 +2920,7 @@ "id": "GoogleCloudChannelV1ListTransferableSkusRequest", "properties": { "authToken": { - "description": "The super admin of the resold customer generates this token to authorize a reseller to access their Cloud Identity and purchase entitlements on their behalf. You can omit this token after authorization. See https://support.google.com/a/answer/7643790 for more details.", + "description": "Optional. The super admin of the resold customer generates this token to authorize a reseller to access their Cloud Identity and purchase entitlements on their behalf. You can omit this token after authorization. See https://support.google.com/a/answer/7643790 for more details.", "type": "string" }, "cloudIdentityId": { diff --git a/cloudchannel/v1/cloudchannel-gen.go b/cloudchannel/v1/cloudchannel-gen.go index 260d8dcdfd9..099edd3ac05 100644 --- a/cloudchannel/v1/cloudchannel-gen.go +++ b/cloudchannel/v1/cloudchannel-gen.go @@ -1995,8 +1995,8 @@ func (s *GoogleCloudChannelV1ListTransferableOffersResponse) MarshalJSON() ([]by // GoogleCloudChannelV1ListTransferableSkusRequest: Request message for // CloudChannelService.ListTransferableSkus type GoogleCloudChannelV1ListTransferableSkusRequest struct { - // AuthToken: The super admin of the resold customer generates this - // token to authorize a reseller to access their Cloud Identity and + // AuthToken: Optional. The super admin of the resold customer generates + // this token to authorize a reseller to access their Cloud Identity and // purchase entitlements on their behalf. You can omit this token after // authorization. See https://support.google.com/a/answer/7643790 for // more details. @@ -5222,11 +5222,11 @@ type AccountsListTransferableOffersCall struct { // customer. The reseller should provide the customer's Cloud Identity // ID or Customer Name. Possible error codes: * PERMISSION_DENIED: * The // customer doesn't belong to the reseller and has no auth token. * The -// supplied auth token is invalid. * The reseller account making the -// request is different from the reseller account in the query. * -// INVALID_ARGUMENT: Required request parameters are missing or invalid. -// Return value: List of TransferableOffer for the given customer and -// SKU. +// customer provided incorrect reseller information when generating auth +// token. * The reseller account making the request is different from +// the reseller account in the query. * INVALID_ARGUMENT: Required +// request parameters are missing or invalid. Return value: List of +// TransferableOffer for the given customer and SKU. // // - parent: The resource name of the reseller's account. func (r *AccountsService) ListTransferableOffers(parent string, googlecloudchannelv1listtransferableoffersrequest *GoogleCloudChannelV1ListTransferableOffersRequest) *AccountsListTransferableOffersCall { @@ -5329,7 +5329,7 @@ func (c *AccountsListTransferableOffersCall) Do(opts ...googleapi.CallOption) (* } return ret, nil // { - // "description": "List TransferableOffers of a customer based on Cloud Identity ID or Customer Name in the request. Use this method when a reseller gets the entitlement information of an unowned customer. The reseller should provide the customer's Cloud Identity ID or Customer Name. Possible error codes: * PERMISSION_DENIED: * The customer doesn't belong to the reseller and has no auth token. * The supplied auth token is invalid. * The reseller account making the request is different from the reseller account in the query. * INVALID_ARGUMENT: Required request parameters are missing or invalid. Return value: List of TransferableOffer for the given customer and SKU.", + // "description": "List TransferableOffers of a customer based on Cloud Identity ID or Customer Name in the request. Use this method when a reseller gets the entitlement information of an unowned customer. The reseller should provide the customer's Cloud Identity ID or Customer Name. Possible error codes: * PERMISSION_DENIED: * The customer doesn't belong to the reseller and has no auth token. * The customer provided incorrect reseller information when generating auth token. * The reseller account making the request is different from the reseller account in the query. * INVALID_ARGUMENT: Required request parameters are missing or invalid. Return value: List of TransferableOffer for the given customer and SKU.", // "flatPath": "v1/accounts/{accountsId}:listTransferableOffers", // "httpMethod": "POST", // "id": "cloudchannel.accounts.listTransferableOffers", diff --git a/clouddeploy/v1/clouddeploy-api.json b/clouddeploy/v1/clouddeploy-api.json index 696951e67ab..d5db90e03c7 100644 --- a/clouddeploy/v1/clouddeploy-api.json +++ b/clouddeploy/v1/clouddeploy-api.json @@ -1229,7 +1229,7 @@ } } }, - "revision": "20220811", + "revision": "20220906", "rootUrl": "https://clouddeploy.googleapis.com/", "schemas": { "AbandonReleaseRequest": { @@ -1329,7 +1329,7 @@ "description": "The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies)." }, "members": { - "description": "Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. ", + "description": "Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. ", "items": { "type": "string" }, @@ -1363,6 +1363,42 @@ "properties": {}, "type": "object" }, + "CloudRunLocation": { + "description": "Information specifying where to deploy a Cloud Run Service.", + "id": "CloudRunLocation", + "properties": { + "location": { + "description": "Required. The location where the Cloud Run Service should be located. Format is `projects/{project}/locations/{location}`.", + "type": "string" + } + }, + "type": "object" + }, + "CloudRunMetadata": { + "description": "CloudRunMetadata contains information from a Cloud Run deployment.", + "id": "CloudRunMetadata", + "properties": { + "revision": { + "description": "Output only. The Cloud Run Revision id associated with a `Rollout`.", + "readOnly": true, + "type": "string" + }, + "service": { + "description": "Output only. The name of the Cloud Run Service that is associated with a `Rollout`. Format is projects/{project}/locations/{location}/services/{service}.", + "readOnly": true, + "type": "string" + }, + "serviceUrls": { + "description": "Output only. The Cloud Run Service urls that are associated with a `Rollout`.", + "items": { + "type": "string" + }, + "readOnly": true, + "type": "array" + } + }, + "type": "object" + }, "Config": { "description": "Service-wide configuration.", "id": "Config", @@ -1779,6 +1815,18 @@ }, "type": "object" }, + "Metadata": { + "description": "Metadata surfaces information associated with a `Rollout` to the user.", + "id": "Metadata", + "properties": { + "cloudRun": { + "$ref": "CloudRunMetadata", + "description": "Output only. The name of the Cloud Run Service that is associated with a `Rollout`.", + "readOnly": true + } + }, + "type": "object" + }, "Operation": { "description": "This resource represents a long-running operation that is the result of a network API call.", "id": "Operation", @@ -2215,6 +2263,11 @@ "description": "Labels are attributes that can be set and used by both the user and by Google Cloud Deploy. Labels must meet the following constraints: * Keys and values can contain only lowercase letters, numeric characters, underscores, and dashes. * All characters must use UTF-8 encoding, and international characters are allowed. * Keys must start with a lowercase letter or international character. * Each resource is limited to a maximum of 64 labels. Both keys and values are additionally constrained to be \u003c= 128 bytes.", "type": "object" }, + "metadata": { + "$ref": "Metadata", + "description": "Output only. Metadata contains information about the rollout.", + "readOnly": true + }, "name": { "description": "Optional. Name of the `Rollout`. Format is projects/{project}/ locations/{location}/deliveryPipelines/{deliveryPipeline}/ releases/{release}/rollouts/a-z{0,62}.", "type": "string" @@ -2442,6 +2495,10 @@ "description": "Optional. Whether or not the `Target` requires approval.", "type": "boolean" }, + "run": { + "$ref": "CloudRunLocation", + "description": "Information specifying a Cloud Run deployment target." + }, "targetId": { "description": "Output only. Resource id of the `Target`.", "readOnly": true, @@ -2531,6 +2588,11 @@ "readOnly": true, "type": "string" }, + "failureMessage": { + "description": "Output only. Additional information about the render failure, if available.", + "readOnly": true, + "type": "string" + }, "renderingBuild": { "description": "Output only. The resource name of the Cloud Build `Build` object that is used to render the manifest for this target. Format is `projects/{project}/locations/{location}/builds/{build}`.", "readOnly": true, diff --git a/clouddeploy/v1/clouddeploy-gen.go b/clouddeploy/v1/clouddeploy-gen.go index d671a877312..7571e501314 100644 --- a/clouddeploy/v1/clouddeploy-gen.go +++ b/clouddeploy/v1/clouddeploy-gen.go @@ -409,11 +409,12 @@ type Binding struct { // `allUsers`: A special identifier that represents anyone who is on the // internet; with or without a Google account. * // `allAuthenticatedUsers`: A special identifier that represents anyone - // who is authenticated with a Google account or a service account. * - // `user:{emailid}`: An email address that represents a specific Google - // account. For example, `alice@example.com` . * - // `serviceAccount:{emailid}`: An email address that represents a Google - // service account. For example, + // who is authenticated with a Google account or a service account. Does + // not include identities that come from external identity providers + // (IdPs) through identity federation. * `user:{emailid}`: An email + // address that represents a specific Google account. For example, + // `alice@example.com` . * `serviceAccount:{emailid}`: An email address + // that represents a Google service account. For example, // `my-other-app@appspot.gserviceaccount.com`. * // `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: // An identifier for a Kubernetes service account @@ -508,6 +509,75 @@ func (s *BuildArtifact) MarshalJSON() ([]byte, error) { type CancelOperationRequest struct { } +// CloudRunLocation: Information specifying where to deploy a Cloud Run +// Service. +type CloudRunLocation struct { + // Location: Required. The location where the Cloud Run Service should + // be located. Format is `projects/{project}/locations/{location}`. + Location string `json:"location,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Location") 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. "Location") 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 *CloudRunLocation) MarshalJSON() ([]byte, error) { + type NoMethod CloudRunLocation + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// CloudRunMetadata: CloudRunMetadata contains information from a Cloud +// Run deployment. +type CloudRunMetadata struct { + // Revision: Output only. The Cloud Run Revision id associated with a + // `Rollout`. + Revision string `json:"revision,omitempty"` + + // Service: Output only. The name of the Cloud Run Service that is + // associated with a `Rollout`. Format is + // projects/{project}/locations/{location}/services/{service}. + Service string `json:"service,omitempty"` + + // ServiceUrls: Output only. The Cloud Run Service urls that are + // associated with a `Rollout`. + ServiceUrls []string `json:"serviceUrls,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Revision") 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. "Revision") 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 *CloudRunMetadata) MarshalJSON() ([]byte, error) { + type NoMethod CloudRunMetadata + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + // Config: Service-wide configuration. type Config struct { // DefaultSkaffoldVersion: Output only. Default Skaffold version that is @@ -1223,6 +1293,36 @@ func (s *Location) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } +// Metadata: Metadata surfaces information associated with a `Rollout` +// to the user. +type Metadata struct { + // CloudRun: Output only. The name of the Cloud Run Service that is + // associated with a `Rollout`. + CloudRun *CloudRunMetadata `json:"cloudRun,omitempty"` + + // ForceSendFields is a list of field names (e.g. "CloudRun") 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. "CloudRun") 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 *Metadata) MarshalJSON() ([]byte, error) { + type NoMethod Metadata + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + // Operation: This resource represents a long-running operation that is // the result of a network API call. type Operation struct { @@ -1843,6 +1943,10 @@ type Rollout struct { // are additionally constrained to be <= 128 bytes. Labels map[string]string `json:"labels,omitempty"` + // Metadata: Output only. Metadata contains information about the + // rollout. + Metadata *Metadata `json:"metadata,omitempty"` + // Name: Optional. Name of the `Rollout`. Format is projects/{project}/ // locations/{location}/deliveryPipelines/{deliveryPipeline}/ // releases/{release}/rollouts/a-z{0,62}. @@ -2186,6 +2290,9 @@ type Target struct { // approval. RequireApproval bool `json:"requireApproval,omitempty"` + // Run: Information specifying a Cloud Run deployment target. + Run *CloudRunLocation `json:"run,omitempty"` + // TargetId: Output only. Resource id of the `Target`. TargetId string `json:"targetId,omitempty"` @@ -2321,6 +2428,10 @@ type TargetRender struct { // successfully; check Cloud Build logs. FailureCause string `json:"failureCause,omitempty"` + // FailureMessage: Output only. Additional information about the render + // failure, if available. + FailureMessage string `json:"failureMessage,omitempty"` + // RenderingBuild: Output only. The resource name of the Cloud Build // `Build` object that is used to render the manifest for this target. // Format is `projects/{project}/locations/{location}/builds/{build}`. diff --git a/cloudresourcemanager/v3/cloudresourcemanager-api.json b/cloudresourcemanager/v3/cloudresourcemanager-api.json index 7b1a34b7b52..84b6cb857ab 100644 --- a/cloudresourcemanager/v3/cloudresourcemanager-api.json +++ b/cloudresourcemanager/v3/cloudresourcemanager-api.json @@ -984,7 +984,7 @@ ] }, "setIamPolicy": { - "description": "Sets the IAM access control policy for the specified project, in the format `projects/{ProjectIdOrNumber}` e.g. projects/123. CAUTION: This method will replace the existing policy, and cannot be used to append additional IAM settings. Note: Removing service accounts from policies or changing their roles can render services completely inoperable. It is important to understand how the service account is being used before removing or updating its roles. The following constraints apply when using `setIamPolicy()`: + Project does not support `allUsers` and `allAuthenticatedUsers` as `members` in a `Binding` of a `Policy`. + The owner role can be granted to a `user`, `serviceAccount`, or a group that is part of an organization. For example, group@myownpersonaldomain.com could be added as an owner to a project in the myownpersonaldomain.com organization, but not the examplepetstore.com organization. + Service accounts can be made owners of a project directly without any restrictions. However, to be added as an owner, a user must be invited using the Cloud Platform console and must accept the invitation. + A user cannot be granted the owner role using `setIamPolicy()`. The user must be granted the owner role using the Cloud Platform Console and must explicitly accept the invitation. + Invitations to grant the owner role cannot be sent using `setIamPolicy()`; they must be sent only using the Cloud Platform Console. + If the project is not part of an organization, there must be at least one owner who has accepted the Terms of Service (ToS) agreement in the policy. Calling `setIamPolicy()` to remove the last ToS-accepted owner from the policy will fail. This restriction also applies to legacy projects that no longer have owners who have accepted the ToS. Edits to IAM policies will be rejected until the lack of a ToS-accepting owner is rectified. If the project is part of an organization, you can remove all owners, potentially making the organization inaccessible. + Calling this method requires enabling the App Engine Admin API.", + "description": "Sets the IAM access control policy for the specified project, in the format `projects/{ProjectIdOrNumber}` e.g. projects/123. CAUTION: This method will replace the existing policy, and cannot be used to append additional IAM settings. Note: Removing service accounts from policies or changing their roles can render services completely inoperable. It is important to understand how the service account is being used before removing or updating its roles. The following constraints apply when using `setIamPolicy()`: + Project does not support `allUsers` and `allAuthenticatedUsers` as `members` in a `Binding` of a `Policy`. + The owner role can be granted to a `user`, `serviceAccount`, or a group that is part of an organization. For example, group@myownpersonaldomain.com could be added as an owner to a project in the myownpersonaldomain.com organization, but not the examplepetstore.com organization. + Service accounts can be made owners of a project directly without any restrictions. However, to be added as an owner, a user must be invited using the Cloud Platform console and must accept the invitation. + A user cannot be granted the owner role using `setIamPolicy()`. The user must be granted the owner role using the Cloud Platform Console and must explicitly accept the invitation. + Invitations to grant the owner role cannot be sent using `setIamPolicy()`; they must be sent only using the Cloud Platform Console. + If the project is not part of an organization, there must be at least one owner who has accepted the Terms of Service (ToS) agreement in the policy. Calling `setIamPolicy()` to remove the last ToS-accepted owner from the policy will fail. This restriction also applies to legacy projects that no longer have owners who have accepted the ToS. Edits to IAM policies will be rejected until the lack of a ToS-accepting owner is rectified. If the project is part of an organization, you can remove all owners, potentially making the organization inaccessible.", "flatPath": "v3/projects/{projectsId}:setIamPolicy", "httpMethod": "POST", "id": "cloudresourcemanager.projects.setIamPolicy", @@ -1760,7 +1760,7 @@ } } }, - "revision": "20220901", + "revision": "20220911", "rootUrl": "https://cloudresourcemanager.googleapis.com/", "schemas": { "AuditConfig": { diff --git a/cloudresourcemanager/v3/cloudresourcemanager-gen.go b/cloudresourcemanager/v3/cloudresourcemanager-gen.go index 9045a206b21..f13686cbb9c 100644 --- a/cloudresourcemanager/v3/cloudresourcemanager-gen.go +++ b/cloudresourcemanager/v3/cloudresourcemanager-gen.go @@ -7346,8 +7346,7 @@ type ProjectsSetIamPolicyCall struct { // accepted the ToS. Edits to IAM policies will be rejected until the // lack of a ToS-accepting owner is rectified. If the project is part of // an organization, you can remove all owners, potentially making the -// organization inaccessible. + Calling this method requires enabling -// the App Engine Admin API. +// organization inaccessible. // // - resource: REQUIRED: The resource for which the policy is being // specified. See Resource names @@ -7451,7 +7450,7 @@ func (c *ProjectsSetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy, er } return ret, nil // { - // "description": "Sets the IAM access control policy for the specified project, in the format `projects/{ProjectIdOrNumber}` e.g. projects/123. CAUTION: This method will replace the existing policy, and cannot be used to append additional IAM settings. Note: Removing service accounts from policies or changing their roles can render services completely inoperable. It is important to understand how the service account is being used before removing or updating its roles. The following constraints apply when using `setIamPolicy()`: + Project does not support `allUsers` and `allAuthenticatedUsers` as `members` in a `Binding` of a `Policy`. + The owner role can be granted to a `user`, `serviceAccount`, or a group that is part of an organization. For example, group@myownpersonaldomain.com could be added as an owner to a project in the myownpersonaldomain.com organization, but not the examplepetstore.com organization. + Service accounts can be made owners of a project directly without any restrictions. However, to be added as an owner, a user must be invited using the Cloud Platform console and must accept the invitation. + A user cannot be granted the owner role using `setIamPolicy()`. The user must be granted the owner role using the Cloud Platform Console and must explicitly accept the invitation. + Invitations to grant the owner role cannot be sent using `setIamPolicy()`; they must be sent only using the Cloud Platform Console. + If the project is not part of an organization, there must be at least one owner who has accepted the Terms of Service (ToS) agreement in the policy. Calling `setIamPolicy()` to remove the last ToS-accepted owner from the policy will fail. This restriction also applies to legacy projects that no longer have owners who have accepted the ToS. Edits to IAM policies will be rejected until the lack of a ToS-accepting owner is rectified. If the project is part of an organization, you can remove all owners, potentially making the organization inaccessible. + Calling this method requires enabling the App Engine Admin API.", + // "description": "Sets the IAM access control policy for the specified project, in the format `projects/{ProjectIdOrNumber}` e.g. projects/123. CAUTION: This method will replace the existing policy, and cannot be used to append additional IAM settings. Note: Removing service accounts from policies or changing their roles can render services completely inoperable. It is important to understand how the service account is being used before removing or updating its roles. The following constraints apply when using `setIamPolicy()`: + Project does not support `allUsers` and `allAuthenticatedUsers` as `members` in a `Binding` of a `Policy`. + The owner role can be granted to a `user`, `serviceAccount`, or a group that is part of an organization. For example, group@myownpersonaldomain.com could be added as an owner to a project in the myownpersonaldomain.com organization, but not the examplepetstore.com organization. + Service accounts can be made owners of a project directly without any restrictions. However, to be added as an owner, a user must be invited using the Cloud Platform console and must accept the invitation. + A user cannot be granted the owner role using `setIamPolicy()`. The user must be granted the owner role using the Cloud Platform Console and must explicitly accept the invitation. + Invitations to grant the owner role cannot be sent using `setIamPolicy()`; they must be sent only using the Cloud Platform Console. + If the project is not part of an organization, there must be at least one owner who has accepted the Terms of Service (ToS) agreement in the policy. Calling `setIamPolicy()` to remove the last ToS-accepted owner from the policy will fail. This restriction also applies to legacy projects that no longer have owners who have accepted the ToS. Edits to IAM policies will be rejected until the lack of a ToS-accepting owner is rectified. If the project is part of an organization, you can remove all owners, potentially making the organization inaccessible.", // "flatPath": "v3/projects/{projectsId}:setIamPolicy", // "httpMethod": "POST", // "id": "cloudresourcemanager.projects.setIamPolicy", diff --git a/cloudtasks/v2beta2/cloudtasks-api.json b/cloudtasks/v2beta2/cloudtasks-api.json index afbd9a4e261..dc1907348c1 100644 --- a/cloudtasks/v2beta2/cloudtasks-api.json +++ b/cloudtasks/v2beta2/cloudtasks-api.json @@ -545,23 +545,30 @@ ] }, "buffer": { - "description": "Creates and buffers a new task without the need to explicitly define a Task message. The queue must have HTTP target. Note: This feature is in its experimental stage. You must request access to the API through the [Cloud Tasks BufferTasks Experiment Signup form](https://forms.gle/X8Zr5hiXH5tTGFqh8).", - "flatPath": "v2beta2/projects/{projectsId}/locations/{locationsId}/queues/{queuesId}/tasks:buffer", + "description": "Creates and buffers a new task without the need to explicitly define a Task message. The queue must have HTTP target. To create the task with a custom ID, use the following format and set TASK_ID to your desired ID: projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID:buffer To create the task with an automatically generated ID, use the following format: projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks:buffer. Note: This feature is in its experimental stage. You must request access to the API through the [Cloud Tasks BufferTask Experiment Signup form](https://forms.gle/X8Zr5hiXH5tTGFqh8).", + "flatPath": "v2beta2/projects/{projectsId}/locations/{locationsId}/queues/{queuesId}/tasks/{taskId}:buffer", "httpMethod": "POST", "id": "cloudtasks.projects.locations.queues.tasks.buffer", "parameterOrder": [ - "parent" + "queue", + "taskId" ], "parameters": { - "parent": { + "queue": { "description": "Required. The parent queue name. For example: projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID` The queue must already exist.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/queues/[^/]+$", "required": true, "type": "string" + }, + "taskId": { + "description": "Optional. Task ID for the task being created. If not provided, a random task ID is assigned to the task.", + "location": "path", + "required": true, + "type": "string" } }, - "path": "v2beta2/{+parent}/tasks:buffer", + "path": "v2beta2/{+queue}/tasks/{taskId}:buffer", "request": { "$ref": "BufferTaskRequest" }, @@ -837,7 +844,7 @@ } } }, - "revision": "20220909", + "revision": "20220914", "rootUrl": "https://cloudtasks.googleapis.com/", "schemas": { "AcknowledgeTaskRequest": { @@ -991,7 +998,7 @@ "properties": { "body": { "$ref": "HttpBody", - "description": "Optional. Body of the HTTP request. The body can take any generic value. The value will be written to the HttpRequest of the [Task]." + "description": "Optional. Body of the HTTP request. The body can take any generic value. The value is written to the HttpRequest of the [Task]." } }, "type": "object" @@ -1115,11 +1122,11 @@ "id": "Header", "properties": { "key": { - "format": "byte", + "description": "The key of the header.", "type": "string" }, "value": { - "format": "byte", + "description": "The value of the header.", "type": "string" } }, diff --git a/cloudtasks/v2beta2/cloudtasks-gen.go b/cloudtasks/v2beta2/cloudtasks-gen.go index f20a5c760fd..7b2b54af578 100644 --- a/cloudtasks/v2beta2/cloudtasks-gen.go +++ b/cloudtasks/v2beta2/cloudtasks-gen.go @@ -606,8 +606,7 @@ func (s *Binding) MarshalJSON() ([]byte, error) { // BufferTaskRequest: Request message for BufferTask. type BufferTaskRequest struct { // Body: Optional. Body of the HTTP request. The body can take any - // generic value. The value will be written to the HttpRequest of the - // [Task]. + // generic value. The value is written to the HttpRequest of the [Task]. Body *HttpBody `json:"body,omitempty"` // ForceSendFields is a list of field names (e.g. "Body") to @@ -936,8 +935,10 @@ func (s *GetPolicyOptions) MarshalJSON() ([]byte, error) { // Header: Defines a header message. A header can have a key and a // value. type Header struct { + // Key: The key of the header. Key string `json:"key,omitempty"` + // Value: The value of the header. Value string `json:"value,omitempty"` // ForceSendFields is a list of field names (e.g. "Key") to @@ -4840,7 +4841,8 @@ func (c *ProjectsLocationsQueuesTasksAcknowledgeCall) Do(opts ...googleapi.CallO type ProjectsLocationsQueuesTasksBufferCall struct { s *Service - parent string + queue string + taskId string buffertaskrequest *BufferTaskRequest urlParams_ gensupport.URLParams ctx_ context.Context @@ -4848,17 +4850,26 @@ type ProjectsLocationsQueuesTasksBufferCall struct { } // Buffer: Creates and buffers a new task without the need to explicitly -// define a Task message. The queue must have HTTP target. Note: This -// feature is in its experimental stage. You must request access to the -// API through the Cloud Tasks BufferTasks Experiment Signup form -// (https://forms.gle/X8Zr5hiXH5tTGFqh8). +// define a Task message. The queue must have HTTP target. To create the +// task with a custom ID, use the following format and set TASK_ID to +// your desired ID: +// projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_I +// D:buffer To create the task with an automatically generated ID, use +// the following format: +// projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks:buffer +// . Note: This feature is in its experimental stage. You must request +// access to the API through the Cloud Tasks BufferTask Experiment +// Signup form (https://forms.gle/X8Zr5hiXH5tTGFqh8). // -// - parent: The parent queue name. For example: +// - queue: The parent queue name. For example: // projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID` The // queue must already exist. -func (r *ProjectsLocationsQueuesTasksService) Buffer(parent string, buffertaskrequest *BufferTaskRequest) *ProjectsLocationsQueuesTasksBufferCall { +// - taskId: Optional. Task ID for the task being created. If not +// provided, a random task ID is assigned to the task. +func (r *ProjectsLocationsQueuesTasksService) Buffer(queue string, taskId string, buffertaskrequest *BufferTaskRequest) *ProjectsLocationsQueuesTasksBufferCall { c := &ProjectsLocationsQueuesTasksBufferCall{s: r.s, urlParams_: make(gensupport.URLParams)} - c.parent = parent + c.queue = queue + c.taskId = taskId c.buffertaskrequest = buffertaskrequest return c } @@ -4903,7 +4914,7 @@ func (c *ProjectsLocationsQueuesTasksBufferCall) doRequest(alt string) (*http.Re reqHeaders.Set("Content-Type", "application/json") c.urlParams_.Set("alt", alt) c.urlParams_.Set("prettyPrint", "false") - urls := googleapi.ResolveRelative(c.s.BasePath, "v2beta2/{+parent}/tasks:buffer") + urls := googleapi.ResolveRelative(c.s.BasePath, "v2beta2/{+queue}/tasks/{taskId}:buffer") urls += "?" + c.urlParams_.Encode() req, err := http.NewRequest("POST", urls, body) if err != nil { @@ -4911,7 +4922,8 @@ func (c *ProjectsLocationsQueuesTasksBufferCall) doRequest(alt string) (*http.Re } req.Header = reqHeaders googleapi.Expand(req.URL, map[string]string{ - "parent": c.parent, + "queue": c.queue, + "taskId": c.taskId, }) return gensupport.SendRequest(c.ctx_, c.s.client, req) } @@ -4954,23 +4966,30 @@ func (c *ProjectsLocationsQueuesTasksBufferCall) Do(opts ...googleapi.CallOption } return ret, nil // { - // "description": "Creates and buffers a new task without the need to explicitly define a Task message. The queue must have HTTP target. Note: This feature is in its experimental stage. You must request access to the API through the [Cloud Tasks BufferTasks Experiment Signup form](https://forms.gle/X8Zr5hiXH5tTGFqh8).", - // "flatPath": "v2beta2/projects/{projectsId}/locations/{locationsId}/queues/{queuesId}/tasks:buffer", + // "description": "Creates and buffers a new task without the need to explicitly define a Task message. The queue must have HTTP target. To create the task with a custom ID, use the following format and set TASK_ID to your desired ID: projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID:buffer To create the task with an automatically generated ID, use the following format: projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks:buffer. Note: This feature is in its experimental stage. You must request access to the API through the [Cloud Tasks BufferTask Experiment Signup form](https://forms.gle/X8Zr5hiXH5tTGFqh8).", + // "flatPath": "v2beta2/projects/{projectsId}/locations/{locationsId}/queues/{queuesId}/tasks/{taskId}:buffer", // "httpMethod": "POST", // "id": "cloudtasks.projects.locations.queues.tasks.buffer", // "parameterOrder": [ - // "parent" + // "queue", + // "taskId" // ], // "parameters": { - // "parent": { + // "queue": { // "description": "Required. The parent queue name. For example: projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID` The queue must already exist.", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/queues/[^/]+$", // "required": true, // "type": "string" + // }, + // "taskId": { + // "description": "Optional. Task ID for the task being created. If not provided, a random task ID is assigned to the task.", + // "location": "path", + // "required": true, + // "type": "string" // } // }, - // "path": "v2beta2/{+parent}/tasks:buffer", + // "path": "v2beta2/{+queue}/tasks/{taskId}:buffer", // "request": { // "$ref": "BufferTaskRequest" // }, diff --git a/container/v1/container-api.json b/container/v1/container-api.json index 0697a1a8089..7517b9f3d71 100644 --- a/container/v1/container-api.json +++ b/container/v1/container-api.json @@ -2487,7 +2487,7 @@ } } }, - "revision": "20220727", + "revision": "20220811", "rootUrl": "https://container.googleapis.com/", "schemas": { "AcceleratorConfig": { @@ -3284,6 +3284,10 @@ "description": "The node pool to be upgraded. This field is mandatory if \"desired_node_version\", \"desired_image_family\" or \"desired_node_pool_autoscaling\" is specified and there is more than one node pool on the cluster.", "type": "string" }, + "desiredNodePoolLoggingConfig": { + "$ref": "NodePoolLoggingConfig", + "description": "The desired node pool logging configuration defaults for the cluster." + }, "desiredNodeVersion": { "description": "The Kubernetes version to change the nodes to (typically an upgrade). Users may specify either explicit versions offered by Kubernetes Engine or version aliases, which have the following behavior: - \"latest\": picks the highest valid Kubernetes version - \"1.X\": picks the highest valid patch+gke.N patch in the 1.X version - \"1.X.Y\": picks the highest valid gke.N patch in the 1.X.Y version - \"1.X.Y-gke.N\": picks an explicit Kubernetes version - \"-\": picks the Kubernetes master version", "type": "string" @@ -4033,6 +4037,27 @@ }, "type": "object" }, + "LoggingVariantConfig": { + "description": "LoggingVariantConfig specifies the behaviour of the logging component.", + "id": "LoggingVariantConfig", + "properties": { + "variant": { + "description": "Logging variant deployed on nodes.", + "enum": [ + "VARIANT_UNSPECIFIED", + "DEFAULT", + "MAX_THROUGHPUT" + ], + "enumDescriptions": [ + "Default value. This shouldn't be used.", + "default logging variant.", + "maximum logging throughput variant." + ], + "type": "string" + } + }, + "type": "object" + }, "MaintenanceExclusionOptions": { "description": "Represents the Maintenance exclusion option.", "id": "MaintenanceExclusionOptions", @@ -4438,6 +4463,10 @@ "format": "int32", "type": "integer" }, + "loggingConfig": { + "$ref": "NodePoolLoggingConfig", + "description": "Logging configuration." + }, "machineType": { "description": "The name of a Google Compute Engine [machine type](https://cloud.google.com/compute/docs/machine-types) If unspecified, the default machine type is `e2-medium`.", "type": "string" @@ -4516,6 +4545,10 @@ "gcfsConfig": { "$ref": "GcfsConfig", "description": "GCFS (Google Container File System, also known as Riptide) options." + }, + "loggingConfig": { + "$ref": "NodePoolLoggingConfig", + "description": "Logging configuration for node pools." } }, "type": "object" @@ -4776,6 +4809,17 @@ }, "type": "object" }, + "NodePoolLoggingConfig": { + "description": "NodePoolLoggingConfig specifies logging configuration for nodepools.", + "id": "NodePoolLoggingConfig", + "properties": { + "variantConfig": { + "$ref": "LoggingVariantConfig", + "description": "Logging variant configuration." + } + }, + "type": "object" + }, "NodeTaint": { "description": "Kubernetes taint is comprised of three fields: key, value, and effect. Effect can only be one of three types: NoSchedule, PreferNoSchedule or NoExecute. See [here](https://kubernetes.io/docs/concepts/configuration/taint-and-toleration) for more information, including usage and the valid values.", "id": "NodeTaint", @@ -6042,6 +6086,10 @@ }, "type": "array" }, + "loggingConfig": { + "$ref": "NodePoolLoggingConfig", + "description": "Logging configuration." + }, "name": { "description": "The name (project, location, cluster, node pool) of the node pool to update. Specified in the format `projects/*/locations/*/clusters/*/nodePools/*`.", "type": "string" diff --git a/container/v1/container-gen.go b/container/v1/container-gen.go index 93d89e1362b..5aa51fbd303 100644 --- a/container/v1/container-gen.go +++ b/container/v1/container-gen.go @@ -1466,6 +1466,10 @@ type ClusterUpdate struct { // one node pool on the cluster. DesiredNodePoolId string `json:"desiredNodePoolId,omitempty"` + // DesiredNodePoolLoggingConfig: The desired node pool logging + // configuration defaults for the cluster. + DesiredNodePoolLoggingConfig *NodePoolLoggingConfig `json:"desiredNodePoolLoggingConfig,omitempty"` + // DesiredNodeVersion: The Kubernetes version to change the nodes to // (typically an upgrade). Users may specify either explicit versions // offered by Kubernetes Engine or version aliases, which have the @@ -2906,6 +2910,40 @@ func (s *LoggingConfig) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } +// LoggingVariantConfig: LoggingVariantConfig specifies the behaviour of +// the logging component. +type LoggingVariantConfig struct { + // Variant: Logging variant deployed on nodes. + // + // Possible values: + // "VARIANT_UNSPECIFIED" - Default value. This shouldn't be used. + // "DEFAULT" - default logging variant. + // "MAX_THROUGHPUT" - maximum logging throughput variant. + Variant string `json:"variant,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Variant") 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. "Variant") 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 *LoggingVariantConfig) MarshalJSON() ([]byte, error) { + type NoMethod LoggingVariantConfig + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + // MaintenanceExclusionOptions: Represents the Maintenance exclusion // option. type MaintenanceExclusionOptions struct { @@ -3633,6 +3671,9 @@ type NodeConfig struct { // information. LocalSsdCount int64 `json:"localSsdCount,omitempty"` + // LoggingConfig: Logging configuration. + LoggingConfig *NodePoolLoggingConfig `json:"loggingConfig,omitempty"` + // MachineType: The name of a Google Compute Engine machine type // (https://cloud.google.com/compute/docs/machine-types) If unspecified, // the default machine type is `e2-medium`. @@ -3754,6 +3795,9 @@ type NodeConfigDefaults struct { // Riptide) options. GcfsConfig *GcfsConfig `json:"gcfsConfig,omitempty"` + // LoggingConfig: Logging configuration for node pools. + LoggingConfig *NodePoolLoggingConfig `json:"loggingConfig,omitempty"` + // ForceSendFields is a list of field names (e.g. "GcfsConfig") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any @@ -4212,6 +4256,35 @@ func (s *NodePoolDefaults) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } +// NodePoolLoggingConfig: NodePoolLoggingConfig specifies logging +// configuration for nodepools. +type NodePoolLoggingConfig struct { + // VariantConfig: Logging variant configuration. + VariantConfig *LoggingVariantConfig `json:"variantConfig,omitempty"` + + // ForceSendFields is a list of field names (e.g. "VariantConfig") 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. "VariantConfig") 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 *NodePoolLoggingConfig) MarshalJSON() ([]byte, error) { + type NoMethod NodePoolLoggingConfig + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + // NodeTaint: Kubernetes taint is comprised of three fields: key, value, // and effect. Effect can only be one of three types: NoSchedule, // PreferNoSchedule or NoExecute. See here @@ -6331,6 +6404,9 @@ type UpdateNodePoolRequest struct { // removed. Locations []string `json:"locations,omitempty"` + // LoggingConfig: Logging configuration. + LoggingConfig *NodePoolLoggingConfig `json:"loggingConfig,omitempty"` + // Name: The name (project, location, cluster, node pool) of the node // pool to update. Specified in the format // `projects/*/locations/*/clusters/*/nodePools/*`. diff --git a/datafusion/v1/datafusion-api.json b/datafusion/v1/datafusion-api.json index 22c27987227..a81a5131705 100644 --- a/datafusion/v1/datafusion-api.json +++ b/datafusion/v1/datafusion-api.json @@ -737,7 +737,7 @@ } } }, - "revision": "20220824", + "revision": "20220908", "rootUrl": "https://datafusion.googleapis.com/", "schemas": { "Accelerator": { @@ -836,7 +836,7 @@ "description": "The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies)." }, "members": { - "description": "Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. ", + "description": "Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. ", "items": { "type": "string" }, diff --git a/datafusion/v1/datafusion-gen.go b/datafusion/v1/datafusion-gen.go index 52568e3fd8d..0134a5b3f65 100644 --- a/datafusion/v1/datafusion-gen.go +++ b/datafusion/v1/datafusion-gen.go @@ -371,11 +371,12 @@ type Binding struct { // `allUsers`: A special identifier that represents anyone who is on the // internet; with or without a Google account. * // `allAuthenticatedUsers`: A special identifier that represents anyone - // who is authenticated with a Google account or a service account. * - // `user:{emailid}`: An email address that represents a specific Google - // account. For example, `alice@example.com` . * - // `serviceAccount:{emailid}`: An email address that represents a Google - // service account. For example, + // who is authenticated with a Google account or a service account. Does + // not include identities that come from external identity providers + // (IdPs) through identity federation. * `user:{emailid}`: An email + // address that represents a specific Google account. For example, + // `alice@example.com` . * `serviceAccount:{emailid}`: An email address + // that represents a Google service account. For example, // `my-other-app@appspot.gserviceaccount.com`. * // `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: // An identifier for a Kubernetes service account diff --git a/datafusion/v1beta1/datafusion-api.json b/datafusion/v1beta1/datafusion-api.json index 1181ae252a8..8709ea208c1 100644 --- a/datafusion/v1beta1/datafusion-api.json +++ b/datafusion/v1beta1/datafusion-api.json @@ -935,7 +935,7 @@ } } }, - "revision": "20220824", + "revision": "20220908", "rootUrl": "https://datafusion.googleapis.com/", "schemas": { "Accelerator": { @@ -1016,7 +1016,7 @@ "description": "The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies)." }, "members": { - "description": "Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. ", + "description": "Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. ", "items": { "type": "string" }, diff --git a/datafusion/v1beta1/datafusion-gen.go b/datafusion/v1beta1/datafusion-gen.go index 5b8069a6fe3..d5ef7de98b0 100644 --- a/datafusion/v1beta1/datafusion-gen.go +++ b/datafusion/v1beta1/datafusion-gen.go @@ -368,11 +368,12 @@ type Binding struct { // `allUsers`: A special identifier that represents anyone who is on the // internet; with or without a Google account. * // `allAuthenticatedUsers`: A special identifier that represents anyone - // who is authenticated with a Google account or a service account. * - // `user:{emailid}`: An email address that represents a specific Google - // account. For example, `alice@example.com` . * - // `serviceAccount:{emailid}`: An email address that represents a Google - // service account. For example, + // who is authenticated with a Google account or a service account. Does + // not include identities that come from external identity providers + // (IdPs) through identity federation. * `user:{emailid}`: An email + // address that represents a specific Google account. For example, + // `alice@example.com` . * `serviceAccount:{emailid}`: An email address + // that represents a Google service account. For example, // `my-other-app@appspot.gserviceaccount.com`. * // `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: // An identifier for a Kubernetes service account diff --git a/datamigration/v1/datamigration-api.json b/datamigration/v1/datamigration-api.json index 633ddb5ca7a..a85db7ab93d 100644 --- a/datamigration/v1/datamigration-api.json +++ b/datamigration/v1/datamigration-api.json @@ -1049,7 +1049,7 @@ } } }, - "revision": "20220822", + "revision": "20220901", "rootUrl": "https://datamigration.googleapis.com/", "schemas": { "AlloyDbConnectionProfile": { @@ -1149,7 +1149,7 @@ "description": "The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies)." }, "members": { - "description": "Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. ", + "description": "Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. ", "items": { "type": "string" }, diff --git a/datamigration/v1/datamigration-gen.go b/datamigration/v1/datamigration-gen.go index 518eb82c3c2..cc04e5aec1a 100644 --- a/datamigration/v1/datamigration-gen.go +++ b/datamigration/v1/datamigration-gen.go @@ -385,11 +385,12 @@ type Binding struct { // `allUsers`: A special identifier that represents anyone who is on the // internet; with or without a Google account. * // `allAuthenticatedUsers`: A special identifier that represents anyone - // who is authenticated with a Google account or a service account. * - // `user:{emailid}`: An email address that represents a specific Google - // account. For example, `alice@example.com` . * - // `serviceAccount:{emailid}`: An email address that represents a Google - // service account. For example, + // who is authenticated with a Google account or a service account. Does + // not include identities that come from external identity providers + // (IdPs) through identity federation. * `user:{emailid}`: An email + // address that represents a specific Google account. For example, + // `alice@example.com` . * `serviceAccount:{emailid}`: An email address + // that represents a Google service account. For example, // `my-other-app@appspot.gserviceaccount.com`. * // `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: // An identifier for a Kubernetes service account diff --git a/datamigration/v1beta1/datamigration-api.json b/datamigration/v1beta1/datamigration-api.json index bc63c3cca5a..41b2525f761 100644 --- a/datamigration/v1beta1/datamigration-api.json +++ b/datamigration/v1beta1/datamigration-api.json @@ -1049,7 +1049,7 @@ } } }, - "revision": "20220804", + "revision": "20220901", "rootUrl": "https://datamigration.googleapis.com/", "schemas": { "AuditConfig": { @@ -1109,7 +1109,7 @@ "description": "The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies)." }, "members": { - "description": "Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. ", + "description": "Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. ", "items": { "type": "string" }, diff --git a/datamigration/v1beta1/datamigration-gen.go b/datamigration/v1beta1/datamigration-gen.go index 8b3daab9ce1..77a1380861f 100644 --- a/datamigration/v1beta1/datamigration-gen.go +++ b/datamigration/v1beta1/datamigration-gen.go @@ -308,11 +308,12 @@ type Binding struct { // `allUsers`: A special identifier that represents anyone who is on the // internet; with or without a Google account. * // `allAuthenticatedUsers`: A special identifier that represents anyone - // who is authenticated with a Google account or a service account. * - // `user:{emailid}`: An email address that represents a specific Google - // account. For example, `alice@example.com` . * - // `serviceAccount:{emailid}`: An email address that represents a Google - // service account. For example, + // who is authenticated with a Google account or a service account. Does + // not include identities that come from external identity providers + // (IdPs) through identity federation. * `user:{emailid}`: An email + // address that represents a specific Google account. For example, + // `alice@example.com` . * `serviceAccount:{emailid}`: An email address + // that represents a Google service account. For example, // `my-other-app@appspot.gserviceaccount.com`. * // `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: // An identifier for a Kubernetes service account diff --git a/deploymentmanager/v0.alpha/deploymentmanager-api.json b/deploymentmanager/v0.alpha/deploymentmanager-api.json index 67012eac457..f31708420fd 100644 --- a/deploymentmanager/v0.alpha/deploymentmanager-api.json +++ b/deploymentmanager/v0.alpha/deploymentmanager-api.json @@ -1588,7 +1588,7 @@ } } }, - "revision": "20220811", + "revision": "20220908", "rootUrl": "https://deploymentmanager.googleapis.com/", "schemas": { "AsyncOptions": { @@ -1702,7 +1702,7 @@ "description": "The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies)." }, "members": { - "description": "Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. ", + "description": "Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. ", "items": { "type": "string" }, diff --git a/deploymentmanager/v0.alpha/deploymentmanager-gen.go b/deploymentmanager/v0.alpha/deploymentmanager-gen.go index 6dc7289e824..0f72ab2debf 100644 --- a/deploymentmanager/v0.alpha/deploymentmanager-gen.go +++ b/deploymentmanager/v0.alpha/deploymentmanager-gen.go @@ -454,11 +454,12 @@ type Binding struct { // `allUsers`: A special identifier that represents anyone who is on the // internet; with or without a Google account. * // `allAuthenticatedUsers`: A special identifier that represents anyone - // who is authenticated with a Google account or a service account. * - // `user:{emailid}`: An email address that represents a specific Google - // account. For example, `alice@example.com` . * - // `serviceAccount:{emailid}`: An email address that represents a Google - // service account. For example, + // who is authenticated with a Google account or a service account. Does + // not include identities that come from external identity providers + // (IdPs) through identity federation. * `user:{emailid}`: An email + // address that represents a specific Google account. For example, + // `alice@example.com` . * `serviceAccount:{emailid}`: An email address + // that represents a Google service account. For example, // `my-other-app@appspot.gserviceaccount.com`. * // `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: // An identifier for a Kubernetes service account diff --git a/deploymentmanager/v2/deploymentmanager-api.json b/deploymentmanager/v2/deploymentmanager-api.json index 9a157e4b76a..1d81a3888a0 100644 --- a/deploymentmanager/v2/deploymentmanager-api.json +++ b/deploymentmanager/v2/deploymentmanager-api.json @@ -988,7 +988,7 @@ } } }, - "revision": "20220811", + "revision": "20220908", "rootUrl": "https://deploymentmanager.googleapis.com/", "schemas": { "AuditConfig": { @@ -1048,7 +1048,7 @@ "description": "The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies)." }, "members": { - "description": "Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. ", + "description": "Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. ", "items": { "type": "string" }, diff --git a/deploymentmanager/v2/deploymentmanager-gen.go b/deploymentmanager/v2/deploymentmanager-gen.go index 5d9b1e452e7..1a5a3012e45 100644 --- a/deploymentmanager/v2/deploymentmanager-gen.go +++ b/deploymentmanager/v2/deploymentmanager-gen.go @@ -327,11 +327,12 @@ type Binding struct { // `allUsers`: A special identifier that represents anyone who is on the // internet; with or without a Google account. * // `allAuthenticatedUsers`: A special identifier that represents anyone - // who is authenticated with a Google account or a service account. * - // `user:{emailid}`: An email address that represents a specific Google - // account. For example, `alice@example.com` . * - // `serviceAccount:{emailid}`: An email address that represents a Google - // service account. For example, + // who is authenticated with a Google account or a service account. Does + // not include identities that come from external identity providers + // (IdPs) through identity federation. * `user:{emailid}`: An email + // address that represents a specific Google account. For example, + // `alice@example.com` . * `serviceAccount:{emailid}`: An email address + // that represents a Google service account. For example, // `my-other-app@appspot.gserviceaccount.com`. * // `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: // An identifier for a Kubernetes service account diff --git a/deploymentmanager/v2beta/deploymentmanager-api.json b/deploymentmanager/v2beta/deploymentmanager-api.json index 422e1e30d29..d5fdbe03b33 100644 --- a/deploymentmanager/v2beta/deploymentmanager-api.json +++ b/deploymentmanager/v2beta/deploymentmanager-api.json @@ -1552,7 +1552,7 @@ } } }, - "revision": "20220811", + "revision": "20220908", "rootUrl": "https://deploymentmanager.googleapis.com/", "schemas": { "AsyncOptions": { @@ -1666,7 +1666,7 @@ "description": "The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies)." }, "members": { - "description": "Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. ", + "description": "Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. ", "items": { "type": "string" }, diff --git a/deploymentmanager/v2beta/deploymentmanager-gen.go b/deploymentmanager/v2beta/deploymentmanager-gen.go index 3468fde76e1..0fa0dc2bd95 100644 --- a/deploymentmanager/v2beta/deploymentmanager-gen.go +++ b/deploymentmanager/v2beta/deploymentmanager-gen.go @@ -454,11 +454,12 @@ type Binding struct { // `allUsers`: A special identifier that represents anyone who is on the // internet; with or without a Google account. * // `allAuthenticatedUsers`: A special identifier that represents anyone - // who is authenticated with a Google account or a service account. * - // `user:{emailid}`: An email address that represents a specific Google - // account. For example, `alice@example.com` . * - // `serviceAccount:{emailid}`: An email address that represents a Google - // service account. For example, + // who is authenticated with a Google account or a service account. Does + // not include identities that come from external identity providers + // (IdPs) through identity federation. * `user:{emailid}`: An email + // address that represents a specific Google account. For example, + // `alice@example.com` . * `serviceAccount:{emailid}`: An email address + // that represents a Google service account. For example, // `my-other-app@appspot.gserviceaccount.com`. * // `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: // An identifier for a Kubernetes service account diff --git a/dlp/v2/dlp-api.json b/dlp/v2/dlp-api.json index 3ac8345fc10..48ed4aac31c 100644 --- a/dlp/v2/dlp-api.json +++ b/dlp/v2/dlp-api.json @@ -3412,7 +3412,7 @@ } } }, - "revision": "20220904", + "revision": "20220910", "rootUrl": "https://dlp.googleapis.com/", "schemas": { "GooglePrivacyDlpV2Action": { @@ -5762,11 +5762,6 @@ "description": "The infoType details for this column.", "id": "GooglePrivacyDlpV2InfoTypeSummary", "properties": { - "estimatedPrevalence": { - "description": "Approximate percentage of non-null rows that contained data detected by this infotype.", - "format": "int32", - "type": "integer" - }, "infoType": { "$ref": "GooglePrivacyDlpV2InfoType", "description": "The infoType." @@ -7877,7 +7872,7 @@ "type": "string" }, "rowCount": { - "description": "Number of rows in the table when the profile was generated.", + "description": "Number of rows in the table when the profile was generated. This will not be populated for BigLake tables.", "format": "int64", "type": "string" }, diff --git a/dlp/v2/dlp-gen.go b/dlp/v2/dlp-gen.go index 41ab3aaaf48..d148cc3eef1 100644 --- a/dlp/v2/dlp-gen.go +++ b/dlp/v2/dlp-gen.go @@ -4645,28 +4645,23 @@ func (s *GooglePrivacyDlpV2InfoTypeStats) MarshalJSON() ([]byte, error) { // GooglePrivacyDlpV2InfoTypeSummary: The infoType details for this // column. type GooglePrivacyDlpV2InfoTypeSummary struct { - // EstimatedPrevalence: Approximate percentage of non-null rows that - // contained data detected by this infotype. - EstimatedPrevalence int64 `json:"estimatedPrevalence,omitempty"` - // InfoType: The infoType. InfoType *GooglePrivacyDlpV2InfoType `json:"infoType,omitempty"` - // ForceSendFields is a list of field names (e.g. "EstimatedPrevalence") - // to unconditionally include in API requests. By default, fields with + // ForceSendFields is a list of field names (e.g. "InfoType") 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. "EstimatedPrevalence") 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 is a list of field names (e.g. "InfoType") 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:"-"` } @@ -8366,6 +8361,7 @@ type GooglePrivacyDlpV2TableDataProfile struct { ResourceVisibility string `json:"resourceVisibility,omitempty"` // RowCount: Number of rows in the table when the profile was generated. + // This will not be populated for BigLake tables. RowCount int64 `json:"rowCount,omitempty,string"` // ScannedColumnCount: The number of columns profiled in the table. diff --git a/dns/v1/dns-api.json b/dns/v1/dns-api.json index 55ac1499de5..7fb8d488655 100644 --- a/dns/v1/dns-api.json +++ b/dns/v1/dns-api.json @@ -1824,7 +1824,7 @@ } } }, - "revision": "20220804", + "revision": "20220908", "rootUrl": "https://dns.googleapis.com/", "schemas": { "Change": { @@ -2156,7 +2156,7 @@ "description": "The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies)." }, "members": { - "description": "Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. ", + "description": "Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. ", "items": { "type": "string" }, @@ -2517,6 +2517,13 @@ "ManagedZonePrivateVisibilityConfig": { "id": "ManagedZonePrivateVisibilityConfig", "properties": { + "gkeClusters": { + "description": "The list of Google Kubernetes Engine clusters that can see this zone.", + "items": { + "$ref": "ManagedZonePrivateVisibilityConfigGKECluster" + }, + "type": "array" + }, "kind": { "default": "dns#managedZonePrivateVisibilityConfig", "type": "string" @@ -2531,6 +2538,20 @@ }, "type": "object" }, + "ManagedZonePrivateVisibilityConfigGKECluster": { + "id": "ManagedZonePrivateVisibilityConfigGKECluster", + "properties": { + "gkeClusterName": { + "description": "The resource name of the cluster to bind this ManagedZone to. This should be specified in the format like: projects/*/locations/*/clusters/*. This is referenced from GKE projects.locations.clusters.get API: https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1/projects.locations.clusters/get", + "type": "string" + }, + "kind": { + "default": "dns#managedZonePrivateVisibilityConfigGKECluster", + "type": "string" + } + }, + "type": "object" + }, "ManagedZonePrivateVisibilityConfigNetwork": { "id": "ManagedZonePrivateVisibilityConfigNetwork", "properties": { @@ -3338,6 +3359,13 @@ "description": "User-provided description for this Response Policy.", "type": "string" }, + "gkeClusters": { + "description": "The list of Google Kubernetes Engine clusters to which this response policy is applied.", + "items": { + "$ref": "ResponsePolicyGKECluster" + }, + "type": "array" + }, "id": { "description": "Unique identifier for the resource; defined by the server (output only).", "format": "int64", @@ -3361,6 +3389,20 @@ }, "type": "object" }, + "ResponsePolicyGKECluster": { + "id": "ResponsePolicyGKECluster", + "properties": { + "gkeClusterName": { + "description": "The resource name of the cluster to bind this response policy to. This should be specified in the format like: projects/*/locations/*/clusters/*. This is referenced from GKE projects.locations.clusters.get API: https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1/projects.locations.clusters/get", + "type": "string" + }, + "kind": { + "default": "dns#responsePolicyGKECluster", + "type": "string" + } + }, + "type": "object" + }, "ResponsePolicyNetwork": { "id": "ResponsePolicyNetwork", "properties": { diff --git a/dns/v1/dns-gen.go b/dns/v1/dns-gen.go index 7df0116ddaa..f1de4406ac9 100644 --- a/dns/v1/dns-gen.go +++ b/dns/v1/dns-gen.go @@ -780,11 +780,12 @@ type GoogleIamV1Binding struct { // `allUsers`: A special identifier that represents anyone who is on the // internet; with or without a Google account. * // `allAuthenticatedUsers`: A special identifier that represents anyone - // who is authenticated with a Google account or a service account. * - // `user:{emailid}`: An email address that represents a specific Google - // account. For example, `alice@example.com` . * - // `serviceAccount:{emailid}`: An email address that represents a Google - // service account. For example, + // who is authenticated with a Google account or a service account. Does + // not include identities that come from external identity providers + // (IdPs) through identity federation. * `user:{emailid}`: An email + // address that represents a specific Google account. For example, + // `alice@example.com` . * `serviceAccount:{emailid}`: An email address + // that represents a Google service account. For example, // `my-other-app@appspot.gserviceaccount.com`. * // `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: // An identifier for a Kubernetes service account @@ -1508,12 +1509,16 @@ func (s *ManagedZonePeeringConfigTargetNetwork) MarshalJSON() ([]byte, error) { } type ManagedZonePrivateVisibilityConfig struct { + // GkeClusters: The list of Google Kubernetes Engine clusters that can + // see this zone. + GkeClusters []*ManagedZonePrivateVisibilityConfigGKECluster `json:"gkeClusters,omitempty"` + Kind string `json:"kind,omitempty"` // Networks: The list of VPC networks that can see this zone. Networks []*ManagedZonePrivateVisibilityConfigNetwork `json:"networks,omitempty"` - // ForceSendFields is a list of field names (e.g. "Kind") to + // ForceSendFields is a list of field names (e.g. "GkeClusters") 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 @@ -1521,10 +1526,10 @@ type ManagedZonePrivateVisibilityConfig struct { // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Kind") 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 + // NullFields is a list of field names (e.g. "GkeClusters") 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:"-"` @@ -1536,6 +1541,40 @@ func (s *ManagedZonePrivateVisibilityConfig) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } +type ManagedZonePrivateVisibilityConfigGKECluster struct { + // GkeClusterName: The resource name of the cluster to bind this + // ManagedZone to. This should be specified in the format like: + // projects/*/locations/*/clusters/*. This is referenced from GKE + // projects.locations.clusters.get API: + // https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1/projects.locations.clusters/get + GkeClusterName string `json:"gkeClusterName,omitempty"` + + Kind string `json:"kind,omitempty"` + + // ForceSendFields is a list of field names (e.g. "GkeClusterName") 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. "GkeClusterName") 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 *ManagedZonePrivateVisibilityConfigGKECluster) MarshalJSON() ([]byte, error) { + type NoMethod ManagedZonePrivateVisibilityConfigGKECluster + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + type ManagedZonePrivateVisibilityConfigNetwork struct { Kind string `json:"kind,omitempty"` @@ -2905,6 +2944,10 @@ type ResponsePolicy struct { // Description: User-provided description for this Response Policy. Description string `json:"description,omitempty"` + // GkeClusters: The list of Google Kubernetes Engine clusters to which + // this response policy is applied. + GkeClusters []*ResponsePolicyGKECluster `json:"gkeClusters,omitempty"` + // Id: Unique identifier for the resource; defined by the server (output // only). Id int64 `json:"id,omitempty,string"` @@ -2945,6 +2988,40 @@ func (s *ResponsePolicy) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } +type ResponsePolicyGKECluster struct { + // GkeClusterName: The resource name of the cluster to bind this + // response policy to. This should be specified in the format like: + // projects/*/locations/*/clusters/*. This is referenced from GKE + // projects.locations.clusters.get API: + // https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1/projects.locations.clusters/get + GkeClusterName string `json:"gkeClusterName,omitempty"` + + Kind string `json:"kind,omitempty"` + + // ForceSendFields is a list of field names (e.g. "GkeClusterName") 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. "GkeClusterName") 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 *ResponsePolicyGKECluster) MarshalJSON() ([]byte, error) { + type NoMethod ResponsePolicyGKECluster + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + type ResponsePolicyNetwork struct { Kind string `json:"kind,omitempty"` diff --git a/dns/v1beta2/dns-api.json b/dns/v1beta2/dns-api.json index 35ac35b6f9c..222b7cc00ce 100644 --- a/dns/v1beta2/dns-api.json +++ b/dns/v1beta2/dns-api.json @@ -1821,7 +1821,7 @@ } } }, - "revision": "20220804", + "revision": "20220908", "rootUrl": "https://dns.googleapis.com/", "schemas": { "Change": { @@ -2153,7 +2153,7 @@ "description": "The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies)." }, "members": { - "description": "Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. ", + "description": "Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. ", "items": { "type": "string" }, diff --git a/dns/v1beta2/dns-gen.go b/dns/v1beta2/dns-gen.go index 483f1d4e635..b8f06bf55bf 100644 --- a/dns/v1beta2/dns-gen.go +++ b/dns/v1beta2/dns-gen.go @@ -780,11 +780,12 @@ type GoogleIamV1Binding struct { // `allUsers`: A special identifier that represents anyone who is on the // internet; with or without a Google account. * // `allAuthenticatedUsers`: A special identifier that represents anyone - // who is authenticated with a Google account or a service account. * - // `user:{emailid}`: An email address that represents a specific Google - // account. For example, `alice@example.com` . * - // `serviceAccount:{emailid}`: An email address that represents a Google - // service account. For example, + // who is authenticated with a Google account or a service account. Does + // not include identities that come from external identity providers + // (IdPs) through identity federation. * `user:{emailid}`: An email + // address that represents a specific Google account. For example, + // `alice@example.com` . * `serviceAccount:{emailid}`: An email address + // that represents a Google service account. For example, // `my-other-app@appspot.gserviceaccount.com`. * // `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: // An identifier for a Kubernetes service account diff --git a/documentai/v1/documentai-api.json b/documentai/v1/documentai-api.json index 0a8d3430867..fc4859e16df 100644 --- a/documentai/v1/documentai-api.json +++ b/documentai/v1/documentai-api.json @@ -1069,7 +1069,7 @@ } } }, - "revision": "20220824", + "revision": "20220912", "rootUrl": "https://documentai.googleapis.com/", "schemas": { "GoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsMetadata": { @@ -3162,6 +3162,10 @@ "$ref": "GoogleTypeColor", "description": "Text color." }, + "fontFamily": { + "description": "Font family such as \"Arial\", \"Times New Roman\". https://www.w3schools.com/cssref/pr_font_font-family.asp", + "type": "string" + }, "fontSize": { "$ref": "GoogleCloudDocumentaiV1DocumentStyleFontSize", "description": "Font size." @@ -4954,6 +4958,10 @@ "$ref": "GoogleTypeColor", "description": "Text color." }, + "fontFamily": { + "description": "Font family such as \"Arial\", \"Times New Roman\". https://www.w3schools.com/cssref/pr_font_font-family.asp", + "type": "string" + }, "fontSize": { "$ref": "GoogleCloudDocumentaiV1beta1DocumentStyleFontSize", "description": "Font size." @@ -6208,6 +6216,10 @@ "$ref": "GoogleTypeColor", "description": "Text color." }, + "fontFamily": { + "description": "Font family such as \"Arial\", \"Times New Roman\". https://www.w3schools.com/cssref/pr_font_font-family.asp", + "type": "string" + }, "fontSize": { "$ref": "GoogleCloudDocumentaiV1beta2DocumentStyleFontSize", "description": "Font size." diff --git a/documentai/v1/documentai-gen.go b/documentai/v1/documentai-gen.go index 08161d1e214..78e7bcdfdab 100644 --- a/documentai/v1/documentai-gen.go +++ b/documentai/v1/documentai-gen.go @@ -3758,6 +3758,10 @@ type GoogleCloudDocumentaiV1DocumentStyle struct { // Color: Text color. Color *GoogleTypeColor `json:"color,omitempty"` + // FontFamily: Font family such as "Arial", "Times New Roman". + // https://www.w3schools.com/cssref/pr_font_font-family.asp + FontFamily string `json:"fontFamily,omitempty"` + // FontSize: Font size. FontSize *GoogleCloudDocumentaiV1DocumentStyleFontSize `json:"fontSize,omitempty"` @@ -6746,6 +6750,10 @@ type GoogleCloudDocumentaiV1beta1DocumentStyle struct { // Color: Text color. Color *GoogleTypeColor `json:"color,omitempty"` + // FontFamily: Font family such as "Arial", "Times New Roman". + // https://www.w3schools.com/cssref/pr_font_font-family.asp + FontFamily string `json:"fontFamily,omitempty"` + // FontSize: Font size. FontSize *GoogleCloudDocumentaiV1beta1DocumentStyleFontSize `json:"fontSize,omitempty"` @@ -8799,6 +8807,10 @@ type GoogleCloudDocumentaiV1beta2DocumentStyle struct { // Color: Text color. Color *GoogleTypeColor `json:"color,omitempty"` + // FontFamily: Font family such as "Arial", "Times New Roman". + // https://www.w3schools.com/cssref/pr_font_font-family.asp + FontFamily string `json:"fontFamily,omitempty"` + // FontSize: Font size. FontSize *GoogleCloudDocumentaiV1beta2DocumentStyleFontSize `json:"fontSize,omitempty"` diff --git a/documentai/v1beta2/documentai-api.json b/documentai/v1beta2/documentai-api.json index e5db5994614..9ac1f59c23e 100644 --- a/documentai/v1beta2/documentai-api.json +++ b/documentai/v1beta2/documentai-api.json @@ -292,7 +292,7 @@ } } }, - "revision": "20220824", + "revision": "20220912", "rootUrl": "https://documentai.googleapis.com/", "schemas": { "GoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsMetadata": { @@ -2378,6 +2378,10 @@ "$ref": "GoogleTypeColor", "description": "Text color." }, + "fontFamily": { + "description": "Font family such as \"Arial\", \"Times New Roman\". https://www.w3schools.com/cssref/pr_font_font-family.asp", + "type": "string" + }, "fontSize": { "$ref": "GoogleCloudDocumentaiV1beta1DocumentStyleFontSize", "description": "Font size." @@ -3657,6 +3661,10 @@ "$ref": "GoogleTypeColor", "description": "Text color." }, + "fontFamily": { + "description": "Font family such as \"Arial\", \"Times New Roman\". https://www.w3schools.com/cssref/pr_font_font-family.asp", + "type": "string" + }, "fontSize": { "$ref": "GoogleCloudDocumentaiV1beta2DocumentStyleFontSize", "description": "Font size." diff --git a/documentai/v1beta2/documentai-gen.go b/documentai/v1beta2/documentai-gen.go index 6433d8936c2..c52f0fc156f 100644 --- a/documentai/v1beta2/documentai-gen.go +++ b/documentai/v1beta2/documentai-gen.go @@ -3656,6 +3656,10 @@ type GoogleCloudDocumentaiV1beta1DocumentStyle struct { // Color: Text color. Color *GoogleTypeColor `json:"color,omitempty"` + // FontFamily: Font family such as "Arial", "Times New Roman". + // https://www.w3schools.com/cssref/pr_font_font-family.asp + FontFamily string `json:"fontFamily,omitempty"` + // FontSize: Font size. FontSize *GoogleCloudDocumentaiV1beta1DocumentStyleFontSize `json:"fontSize,omitempty"` @@ -5773,6 +5777,10 @@ type GoogleCloudDocumentaiV1beta2DocumentStyle struct { // Color: Text color. Color *GoogleTypeColor `json:"color,omitempty"` + // FontFamily: Font family such as "Arial", "Times New Roman". + // https://www.w3schools.com/cssref/pr_font_font-family.asp + FontFamily string `json:"fontFamily,omitempty"` + // FontSize: Font size. FontSize *GoogleCloudDocumentaiV1beta2DocumentStyleFontSize `json:"fontSize,omitempty"` diff --git a/documentai/v1beta3/documentai-api.json b/documentai/v1beta3/documentai-api.json index 846088ce767..cfc856ef5f5 100644 --- a/documentai/v1beta3/documentai-api.json +++ b/documentai/v1beta3/documentai-api.json @@ -836,7 +836,7 @@ } } }, - "revision": "20220824", + "revision": "20220912", "rootUrl": "https://documentai.googleapis.com/", "schemas": { "GoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsMetadata": { @@ -2922,6 +2922,10 @@ "$ref": "GoogleTypeColor", "description": "Text color." }, + "fontFamily": { + "description": "Font family such as \"Arial\", \"Times New Roman\". https://www.w3schools.com/cssref/pr_font_font-family.asp", + "type": "string" + }, "fontSize": { "$ref": "GoogleCloudDocumentaiV1beta1DocumentStyleFontSize", "description": "Font size." @@ -4176,6 +4180,10 @@ "$ref": "GoogleTypeColor", "description": "Text color." }, + "fontFamily": { + "description": "Font family such as \"Arial\", \"Times New Roman\". https://www.w3schools.com/cssref/pr_font_font-family.asp", + "type": "string" + }, "fontSize": { "$ref": "GoogleCloudDocumentaiV1beta2DocumentStyleFontSize", "description": "Font size." @@ -5820,6 +5828,10 @@ "$ref": "GoogleTypeColor", "description": "Text color." }, + "fontFamily": { + "description": "Font family such as \"Arial\", \"Times New Roman\". https://www.w3schools.com/cssref/pr_font_font-family.asp", + "type": "string" + }, "fontSize": { "$ref": "GoogleCloudDocumentaiV1beta3DocumentStyleFontSize", "description": "Font size." diff --git a/documentai/v1beta3/documentai-gen.go b/documentai/v1beta3/documentai-gen.go index 9d8b80685ee..b9fc5b6baab 100644 --- a/documentai/v1beta3/documentai-gen.go +++ b/documentai/v1beta3/documentai-gen.go @@ -3668,6 +3668,10 @@ type GoogleCloudDocumentaiV1beta1DocumentStyle struct { // Color: Text color. Color *GoogleTypeColor `json:"color,omitempty"` + // FontFamily: Font family such as "Arial", "Times New Roman". + // https://www.w3schools.com/cssref/pr_font_font-family.asp + FontFamily string `json:"fontFamily,omitempty"` + // FontSize: Font size. FontSize *GoogleCloudDocumentaiV1beta1DocumentStyleFontSize `json:"fontSize,omitempty"` @@ -5721,6 +5725,10 @@ type GoogleCloudDocumentaiV1beta2DocumentStyle struct { // Color: Text color. Color *GoogleTypeColor `json:"color,omitempty"` + // FontFamily: Font family such as "Arial", "Times New Roman". + // https://www.w3schools.com/cssref/pr_font_font-family.asp + FontFamily string `json:"fontFamily,omitempty"` + // FontSize: Font size. FontSize *GoogleCloudDocumentaiV1beta2DocumentStyleFontSize `json:"fontSize,omitempty"` @@ -8426,6 +8434,10 @@ type GoogleCloudDocumentaiV1beta3DocumentStyle struct { // Color: Text color. Color *GoogleTypeColor `json:"color,omitempty"` + // FontFamily: Font family such as "Arial", "Times New Roman". + // https://www.w3schools.com/cssref/pr_font_font-family.asp + FontFamily string `json:"fontFamily,omitempty"` + // FontSize: Font size. FontSize *GoogleCloudDocumentaiV1beta3DocumentStyleFontSize `json:"fontSize,omitempty"` diff --git a/firebase/v1beta1/firebase-api.json b/firebase/v1beta1/firebase-api.json index bb5fa553b05..189f6a6077d 100644 --- a/firebase/v1beta1/firebase-api.json +++ b/firebase/v1beta1/firebase-api.json @@ -1320,7 +1320,7 @@ } } }, - "revision": "20220904", + "revision": "20220913", "rootUrl": "https://firebase.googleapis.com/", "schemas": { "AddFirebaseRequest": { @@ -1437,6 +1437,20 @@ "readOnly": true, "type": "string" }, + "sha1Hashes": { + "description": "The SHA1 certificate hashes for the AndroidApp.", + "items": { + "type": "string" + }, + "type": "array" + }, + "sha256Hashes": { + "description": "The SHA256 certificate hashes for the AndroidApp.", + "items": { + "type": "string" + }, + "type": "array" + }, "state": { "description": "Output only. The lifecycle state of the App.", "enum": [ diff --git a/firebase/v1beta1/firebase-gen.go b/firebase/v1beta1/firebase-gen.go index f9e7db2c1d6..38276c04bcf 100644 --- a/firebase/v1beta1/firebase-gen.go +++ b/firebase/v1beta1/firebase-gen.go @@ -515,6 +515,12 @@ type AndroidApp struct { // of the parent FirebaseProject for the `AndroidApp`. ProjectId string `json:"projectId,omitempty"` + // Sha1Hashes: The SHA1 certificate hashes for the AndroidApp. + Sha1Hashes []string `json:"sha1Hashes,omitempty"` + + // Sha256Hashes: The SHA256 certificate hashes for the AndroidApp. + Sha256Hashes []string `json:"sha256Hashes,omitempty"` + // State: Output only. The lifecycle state of the App. // // Possible values: diff --git a/firebasedatabase/v1beta/firebasedatabase-api.json b/firebasedatabase/v1beta/firebasedatabase-api.json index 432954b5fb8..dedfdedd035 100644 --- a/firebasedatabase/v1beta/firebasedatabase-api.json +++ b/firebasedatabase/v1beta/firebasedatabase-api.json @@ -351,7 +351,7 @@ } } }, - "revision": "20220615", + "revision": "20220913", "rootUrl": "https://firebasedatabase.googleapis.com/", "schemas": { "DatabaseInstance": { @@ -444,7 +444,7 @@ } }, "servicePath": "", - "title": "Firebase Realtime Database Management API", + "title": "Firebase Realtime Database API", "version": "v1beta", "version_module": true } \ No newline at end of file diff --git a/firebasedatabase/v1beta/firebasedatabase-gen.go b/firebasedatabase/v1beta/firebasedatabase-gen.go index 376570bf1cf..9213c3b308b 100644 --- a/firebasedatabase/v1beta/firebasedatabase-gen.go +++ b/firebasedatabase/v1beta/firebasedatabase-gen.go @@ -4,7 +4,7 @@ // Code generated file. DO NOT EDIT. -// Package firebasedatabase provides access to the Firebase Realtime Database Management API. +// Package firebasedatabase provides access to the Firebase Realtime Database API. // // For product documentation, see: https://firebase.google.com/docs/reference/rest/database/database-management/rest/ // diff --git a/forms/v1/forms-api.json b/forms/v1/forms-api.json index cf1da63a944..cdb6eb3fdda 100644 --- a/forms/v1/forms-api.json +++ b/forms/v1/forms-api.json @@ -423,7 +423,7 @@ } } }, - "revision": "20220329", + "revision": "20220908", "rootUrl": "https://forms.googleapis.com/", "schemas": { "Answer": { @@ -1043,7 +1043,7 @@ "type": "string" }, "responses": { - "description": "The returned responses.", + "description": "The returned form responses. Note: The `formId` field is not returned in the `FormResponse` object for list requests.", "items": { "$ref": "FormResponse" }, diff --git a/forms/v1/forms-gen.go b/forms/v1/forms-gen.go index 6d1530f7275..737a9353ac2 100644 --- a/forms/v1/forms-gen.go +++ b/forms/v1/forms-gen.go @@ -1286,7 +1286,8 @@ type ListFormResponsesResponse struct { // of responses, provide this as `page_token` in a future request. NextPageToken string `json:"nextPageToken,omitempty"` - // Responses: The returned responses. + // Responses: The returned form responses. Note: The `formId` field is + // not returned in the `FormResponse` object for list requests. Responses []*FormResponse `json:"responses,omitempty"` // ServerResponse contains the HTTP response code and headers from the diff --git a/genomics/v2alpha1/genomics-api.json b/genomics/v2alpha1/genomics-api.json index d9171060821..1adfa726e89 100644 --- a/genomics/v2alpha1/genomics-api.json +++ b/genomics/v2alpha1/genomics-api.json @@ -301,7 +301,7 @@ } } }, - "revision": "20220328", + "revision": "20220913", "rootUrl": "https://genomics.googleapis.com/", "schemas": { "Accelerator": { @@ -681,7 +681,7 @@ "DATA_LOSS" ], "enumDescriptions": [ - "Not an error; returned on success HTTP Mapping: 200 OK", + "Not an error; returned on success. HTTP Mapping: 200 OK", "The operation was cancelled, typically by the caller. HTTP Mapping: 499 Client Closed Request", "Unknown error. For example, this error may be returned when a `Status` value received from another address space belongs to an error space that is not known in this address space. Also errors raised by APIs that do not return enough error information may be converted to this error. HTTP Mapping: 500 Internal Server Error", "The client specified an invalid argument. Note that this differs from `FAILED_PRECONDITION`. `INVALID_ARGUMENT` indicates arguments that are problematic regardless of the state of the system (e.g., a malformed file name). HTTP Mapping: 400 Bad Request", diff --git a/genomics/v2alpha1/genomics-gen.go b/genomics/v2alpha1/genomics-gen.go index 9f54cfdc1d9..be8bed71244 100644 --- a/genomics/v2alpha1/genomics-gen.go +++ b/genomics/v2alpha1/genomics-gen.go @@ -822,7 +822,7 @@ type FailedEvent struct { // failure. // // Possible values: - // "OK" - Not an error; returned on success HTTP Mapping: 200 OK + // "OK" - Not an error; returned on success. HTTP Mapping: 200 OK // "CANCELLED" - The operation was cancelled, typically by the caller. // HTTP Mapping: 499 Client Closed Request // "UNKNOWN" - Unknown error. For example, this error may be returned diff --git a/gkehub/v1/gkehub-api.json b/gkehub/v1/gkehub-api.json index 397cbcba51f..a978e67555f 100644 --- a/gkehub/v1/gkehub-api.json +++ b/gkehub/v1/gkehub-api.json @@ -905,7 +905,7 @@ } } }, - "revision": "20220828", + "revision": "20220912", "rootUrl": "https://gkehub.googleapis.com/", "schemas": { "AnthosVMMembershipSpec": { @@ -1159,6 +1159,10 @@ "description": "Configuration for Config Sync", "id": "ConfigManagementConfigSync", "properties": { + "allowVerticalScale": { + "description": "Set to true to allow the vertical scaling. Defaults to false which disallows vertical scaling.", + "type": "boolean" + }, "enabled": { "description": "Enables the installation of ConfigSync. If set to true, ConfigSync resources will be created and the other ConfigSync fields will be applied if exist. If set to false, all other ConfigSync fields will be ignored, ConfigSync resources will be deleted. If omitted, ConfigSync resources will be managed depends on the presence of git field.", "type": "boolean" @@ -2923,6 +2927,44 @@ }, "type": "object" }, + "ServiceMeshDataPlaneManagement": { + "description": "Status of data plane management. Only reported per-member.", + "id": "ServiceMeshDataPlaneManagement", + "properties": { + "details": { + "description": "Explanation of the status.", + "items": { + "$ref": "ServiceMeshStatusDetails" + }, + "type": "array" + }, + "state": { + "description": "Lifecycle status of data plane management.", + "enum": [ + "LIFECYCLE_STATE_UNSPECIFIED", + "DISABLED", + "FAILED_PRECONDITION", + "PROVISIONING", + "ACTIVE", + "STALLED", + "NEEDS_ATTENTION", + "DEGRADED" + ], + "enumDescriptions": [ + "Unspecified", + "DISABLED means that the component is not enabled.", + "FAILED_PRECONDITION means that provisioning cannot proceed because of some characteristic of the member cluster.", + "PROVISIONING means that provisioning is in progress.", + "ACTIVE means that the component is ready for use.", + "STALLED means that provisioning could not be done.", + "NEEDS_ATTENTION means that the component is ready, but some user intervention is required. (For example that the user should migrate workloads to a new control plane revision.)", + "DEGRADED means that the component is ready, but operating in a degraded state." + ], + "type": "string" + } + }, + "type": "object" + }, "ServiceMeshMembershipSpec": { "description": "**Service Mesh**: Spec for a single Membership for the servicemesh feature", "id": "ServiceMeshMembershipSpec", @@ -2940,6 +2982,20 @@ "User will manually configure the control plane (e.g. via CLI, or via the ControlPlaneRevision KRM API)" ], "type": "string" + }, + "management": { + "description": "Enables automatic Service Mesh management.", + "enum": [ + "MANAGEMENT_UNSPECIFIED", + "MANAGEMENT_AUTOMATIC", + "MANAGEMENT_MANUAL" + ], + "enumDescriptions": [ + "Unspecified", + "Google should manage my Service Mesh for the cluster.", + "User will manually configure their service mesh components." + ], + "type": "string" } }, "type": "object" @@ -2952,6 +3008,11 @@ "$ref": "ServiceMeshControlPlaneManagement", "description": "Output only. Status of control plane management", "readOnly": true + }, + "dataPlaneManagement": { + "$ref": "ServiceMeshDataPlaneManagement", + "description": "Output only. Status of data plane management.", + "readOnly": true } }, "type": "object" diff --git a/gkehub/v1/gkehub-gen.go b/gkehub/v1/gkehub-gen.go index 1f9ae54ac15..e23f104b50c 100644 --- a/gkehub/v1/gkehub-gen.go +++ b/gkehub/v1/gkehub-gen.go @@ -725,6 +725,10 @@ func (s *CommonFeatureState) MarshalJSON() ([]byte, error) { // ConfigManagementConfigSync: Configuration for Config Sync type ConfigManagementConfigSync struct { + // AllowVerticalScale: Set to true to allow the vertical scaling. + // Defaults to false which disallows vertical scaling. + AllowVerticalScale bool `json:"allowVerticalScale,omitempty"` + // Enabled: Enables the installation of ConfigSync. If set to true, // ConfigSync resources will be created and the other ConfigSync fields // will be applied if exist. If set to false, all other ConfigSync @@ -748,20 +752,21 @@ type ConfigManagementConfigSync struct { // "hierarchical" or "unstructured" mode. SourceFormat string `json:"sourceFormat,omitempty"` - // ForceSendFields is a list of field names (e.g. "Enabled") to - // unconditionally include in API requests. By default, fields with + // ForceSendFields is a list of field names (e.g. "AllowVerticalScale") + // 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. "Enabled") 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 is a list of field names (e.g. "AllowVerticalScale") 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:"-"` } @@ -3522,6 +3527,53 @@ func (s *ServiceMeshControlPlaneManagement) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } +// ServiceMeshDataPlaneManagement: Status of data plane management. Only +// reported per-member. +type ServiceMeshDataPlaneManagement struct { + // Details: Explanation of the status. + Details []*ServiceMeshStatusDetails `json:"details,omitempty"` + + // State: Lifecycle status of data plane management. + // + // Possible values: + // "LIFECYCLE_STATE_UNSPECIFIED" - Unspecified + // "DISABLED" - DISABLED means that the component is not enabled. + // "FAILED_PRECONDITION" - FAILED_PRECONDITION means that provisioning + // cannot proceed because of some characteristic of the member cluster. + // "PROVISIONING" - PROVISIONING means that provisioning is in + // progress. + // "ACTIVE" - ACTIVE means that the component is ready for use. + // "STALLED" - STALLED means that provisioning could not be done. + // "NEEDS_ATTENTION" - NEEDS_ATTENTION means that the component is + // ready, but some user intervention is required. (For example that the + // user should migrate workloads to a new control plane revision.) + // "DEGRADED" - DEGRADED means that the component is ready, but + // operating in a degraded state. + State string `json:"state,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Details") 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. "Details") 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 *ServiceMeshDataPlaneManagement) MarshalJSON() ([]byte, error) { + type NoMethod ServiceMeshDataPlaneManagement + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + // ServiceMeshMembershipSpec: **Service Mesh**: Spec for a single // Membership for the servicemesh feature type ServiceMeshMembershipSpec struct { @@ -3537,6 +3589,16 @@ type ServiceMeshMembershipSpec struct { // CLI, or via the ControlPlaneRevision KRM API) ControlPlane string `json:"controlPlane,omitempty"` + // Management: Enables automatic Service Mesh management. + // + // Possible values: + // "MANAGEMENT_UNSPECIFIED" - Unspecified + // "MANAGEMENT_AUTOMATIC" - Google should manage my Service Mesh for + // the cluster. + // "MANAGEMENT_MANUAL" - User will manually configure their service + // mesh components. + Management string `json:"management,omitempty"` + // ForceSendFields is a list of field names (e.g. "ControlPlane") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any @@ -3567,6 +3629,9 @@ type ServiceMeshMembershipState struct { // management ControlPlaneManagement *ServiceMeshControlPlaneManagement `json:"controlPlaneManagement,omitempty"` + // DataPlaneManagement: Output only. Status of data plane management. + DataPlaneManagement *ServiceMeshDataPlaneManagement `json:"dataPlaneManagement,omitempty"` + // ForceSendFields is a list of field names (e.g. // "ControlPlaneManagement") to unconditionally include in API requests. // By default, fields with empty or default values are omitted from API diff --git a/gkehub/v1alpha/gkehub-api.json b/gkehub/v1alpha/gkehub-api.json index 5dfb0146b3e..bc0294f642a 100644 --- a/gkehub/v1alpha/gkehub-api.json +++ b/gkehub/v1alpha/gkehub-api.json @@ -1020,6 +1020,34 @@ "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ] + }, + "validateCreate": { + "description": "ValidateCreateMembership is a preflight check for CreateMembership. It checks the following: 1. Caller has the required `gkehub.memberships.create` permission. 2. The membership_id is still available.", + "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/memberships:validateCreate", + "httpMethod": "POST", + "id": "gkehub.projects.locations.memberships.validateCreate", + "parameterOrder": [ + "parent" + ], + "parameters": { + "parent": { + "description": "Required. The parent (project and location) where the Memberships will be created. Specified in the format `projects/*/locations/*`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1alpha/{+parent}/memberships:validateCreate", + "request": { + "$ref": "ValidateCreateMembershipRequest" + }, + "response": { + "$ref": "ValidateCreateMembershipResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] } } }, @@ -1151,7 +1179,7 @@ } } }, - "revision": "20220828", + "revision": "20220912", "rootUrl": "https://gkehub.googleapis.com/", "schemas": { "AnthosObservabilityFeatureSpec": { @@ -1539,6 +1567,10 @@ "description": "Configuration for Config Sync", "id": "ConfigManagementConfigSync", "properties": { + "allowVerticalScale": { + "description": "Set to true to allow the vertical scaling. Defaults to false which disallows vertical scaling.", + "type": "boolean" + }, "enabled": { "description": "Enables the installation of ConfigSync. If set to true, ConfigSync resources will be created and the other ConfigSync fields will be applied if exist. If set to false, all other ConfigSync fields will be ignored, ConfigSync resources will be deleted. If omitted, ConfigSync resources will be managed depends on the presence of git field.", "type": "boolean" @@ -3858,6 +3890,20 @@ "STABLE channel includes versions that are known to be stable and reliable in production." ], "type": "string" + }, + "management": { + "description": "Enables automatic Service Mesh management.", + "enum": [ + "MANAGEMENT_UNSPECIFIED", + "MANAGEMENT_AUTOMATIC", + "MANAGEMENT_MANUAL" + ], + "enumDescriptions": [ + "Unspecified", + "Google should manage my Service Mesh for the cluster.", + "User will manually configure their service mesh components." + ], + "type": "string" } }, "type": "object" @@ -4018,6 +4064,64 @@ } }, "type": "object" + }, + "ValidateCreateMembershipRequest": { + "description": "Request message for the `GkeHub.ValidateCreateMembership` method.", + "id": "ValidateCreateMembershipRequest", + "properties": { + "membership": { + "$ref": "Membership", + "description": "Required. Membership resource to be created." + }, + "membershipId": { + "description": "Required. Client chosen membership id.", + "type": "string" + } + }, + "type": "object" + }, + "ValidateCreateMembershipResponse": { + "description": "Response message for the `GkeHub.ValidateCreateMembership` method.", + "id": "ValidateCreateMembershipResponse", + "properties": { + "validationResults": { + "description": "Wraps all the validator results.", + "items": { + "$ref": "ValidationResult" + }, + "type": "array" + } + }, + "type": "object" + }, + "ValidationResult": { + "description": "ValidationResults are results set by each validator running during ValidateCreateMembership.", + "id": "ValidationResult", + "properties": { + "result": { + "description": "Additional information for the validation.", + "type": "string" + }, + "success": { + "description": "Whether the validation is passed or not.", + "type": "boolean" + }, + "validator": { + "description": "Validator type to validate membership with.", + "enum": [ + "VALIDATOR_TYPE_UNSPECIFIED", + "MEMBERSHIP_ID", + "CROSS_PROJECT_PERMISSION" + ], + "enumDescriptions": [ + "UNSPECIFIED validator.", + "MEMBERSHIP_ID validator validates the membership_id is still available.", + "CROSS_PROJECT_PERMISSION validator validates the cross-project P4SA binding is in place." + ], + "type": "string" + } + }, + "type": "object" } }, "servicePath": "", diff --git a/gkehub/v1alpha/gkehub-gen.go b/gkehub/v1alpha/gkehub-gen.go index e596826f85d..34d33724b6c 100644 --- a/gkehub/v1alpha/gkehub-gen.go +++ b/gkehub/v1alpha/gkehub-gen.go @@ -1026,6 +1026,10 @@ func (s *ConfigManagementBinauthzVersion) MarshalJSON() ([]byte, error) { // ConfigManagementConfigSync: Configuration for Config Sync type ConfigManagementConfigSync struct { + // AllowVerticalScale: Set to true to allow the vertical scaling. + // Defaults to false which disallows vertical scaling. + AllowVerticalScale bool `json:"allowVerticalScale,omitempty"` + // Enabled: Enables the installation of ConfigSync. If set to true, // ConfigSync resources will be created and the other ConfigSync fields // will be applied if exist. If set to false, all other ConfigSync @@ -1049,20 +1053,21 @@ type ConfigManagementConfigSync struct { // "hierarchical" or "unstructured" mode. SourceFormat string `json:"sourceFormat,omitempty"` - // ForceSendFields is a list of field names (e.g. "Enabled") to - // unconditionally include in API requests. By default, fields with + // ForceSendFields is a list of field names (e.g. "AllowVerticalScale") + // 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. "Enabled") 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 is a list of field names (e.g. "AllowVerticalScale") 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:"-"` } @@ -4683,6 +4688,16 @@ type ServiceMeshMembershipSpec struct { // stable and reliable in production. DefaultChannel string `json:"defaultChannel,omitempty"` + // Management: Enables automatic Service Mesh management. + // + // Possible values: + // "MANAGEMENT_UNSPECIFIED" - Unspecified + // "MANAGEMENT_AUTOMATIC" - Google should manage my Service Mesh for + // the cluster. + // "MANAGEMENT_MANUAL" - User will manually configure their service + // mesh components. + Management string `json:"management,omitempty"` + // ForceSendFields is a list of field names (e.g. "ControlPlane") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any @@ -5010,6 +5025,114 @@ func (s *TypeMeta) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } +// ValidateCreateMembershipRequest: Request message for the +// `GkeHub.ValidateCreateMembership` method. +type ValidateCreateMembershipRequest struct { + // Membership: Required. Membership resource to be created. + Membership *Membership `json:"membership,omitempty"` + + // MembershipId: Required. Client chosen membership id. + MembershipId string `json:"membershipId,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Membership") 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. "Membership") 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 *ValidateCreateMembershipRequest) MarshalJSON() ([]byte, error) { + type NoMethod ValidateCreateMembershipRequest + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// ValidateCreateMembershipResponse: Response message for the +// `GkeHub.ValidateCreateMembership` method. +type ValidateCreateMembershipResponse struct { + // ValidationResults: Wraps all the validator results. + ValidationResults []*ValidationResult `json:"validationResults,omitempty"` + + // ServerResponse contains the HTTP response code and headers from the + // server. + googleapi.ServerResponse `json:"-"` + + // ForceSendFields is a list of field names (e.g. "ValidationResults") + // 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. "ValidationResults") 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 *ValidateCreateMembershipResponse) MarshalJSON() ([]byte, error) { + type NoMethod ValidateCreateMembershipResponse + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// ValidationResult: ValidationResults are results set by each validator +// running during ValidateCreateMembership. +type ValidationResult struct { + // Result: Additional information for the validation. + Result string `json:"result,omitempty"` + + // Success: Whether the validation is passed or not. + Success bool `json:"success,omitempty"` + + // Validator: Validator type to validate membership with. + // + // Possible values: + // "VALIDATOR_TYPE_UNSPECIFIED" - UNSPECIFIED validator. + // "MEMBERSHIP_ID" - MEMBERSHIP_ID validator validates the + // membership_id is still available. + // "CROSS_PROJECT_PERMISSION" - CROSS_PROJECT_PERMISSION validator + // validates the cross-project P4SA binding is in place. + Validator string `json:"validator,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Result") 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. "Result") 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 *ValidationResult) MarshalJSON() ([]byte, error) { + type NoMethod ValidationResult + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + // method id "gkehub.organizations.locations.fleets.list": type OrganizationsLocationsFleetsListCall struct { @@ -9535,6 +9658,152 @@ func (c *ProjectsLocationsMembershipsTestIamPermissionsCall) Do(opts ...googleap } +// method id "gkehub.projects.locations.memberships.validateCreate": + +type ProjectsLocationsMembershipsValidateCreateCall struct { + s *Service + parent string + validatecreatemembershiprequest *ValidateCreateMembershipRequest + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header +} + +// ValidateCreate: ValidateCreateMembership is a preflight check for +// CreateMembership. It checks the following: 1. Caller has the required +// `gkehub.memberships.create` permission. 2. The membership_id is still +// available. +// +// - parent: The parent (project and location) where the Memberships +// will be created. Specified in the format `projects/*/locations/*`. +func (r *ProjectsLocationsMembershipsService) ValidateCreate(parent string, validatecreatemembershiprequest *ValidateCreateMembershipRequest) *ProjectsLocationsMembershipsValidateCreateCall { + c := &ProjectsLocationsMembershipsValidateCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.parent = parent + c.validatecreatemembershiprequest = validatecreatemembershiprequest + return c +} + +// Fields allows partial responses to be retrieved. See +// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse +// for more information. +func (c *ProjectsLocationsMembershipsValidateCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsMembershipsValidateCreateCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) + return c +} + +// Context sets the context to be used in this call's Do method. Any +// pending HTTP request will be aborted if the provided context is +// canceled. +func (c *ProjectsLocationsMembershipsValidateCreateCall) Context(ctx context.Context) *ProjectsLocationsMembershipsValidateCreateCall { + c.ctx_ = ctx + return c +} + +// Header returns an http.Header that can be modified by the caller to +// add HTTP headers to the request. +func (c *ProjectsLocationsMembershipsValidateCreateCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *ProjectsLocationsMembershipsValidateCreateCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := make(http.Header) + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version) + for k, v := range c.header_ { + reqHeaders[k] = v + } + reqHeaders.Set("User-Agent", c.s.userAgent()) + var body io.Reader = nil + body, err := googleapi.WithoutDataWrapper.JSONReader(c.validatecreatemembershiprequest) + if err != nil { + return nil, err + } + reqHeaders.Set("Content-Type", "application/json") + c.urlParams_.Set("alt", alt) + c.urlParams_.Set("prettyPrint", "false") + urls := googleapi.ResolveRelative(c.s.BasePath, "v1alpha/{+parent}/memberships:validateCreate") + urls += "?" + c.urlParams_.Encode() + req, err := http.NewRequest("POST", urls, body) + if err != nil { + return nil, err + } + req.Header = reqHeaders + googleapi.Expand(req.URL, map[string]string{ + "parent": c.parent, + }) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "gkehub.projects.locations.memberships.validateCreate" call. +// Exactly one of *ValidateCreateMembershipResponse or error will be +// non-nil. Any non-2xx status code is an error. Response headers are in +// either *ValidateCreateMembershipResponse.ServerResponse.Header or (if +// a response was returned at all) in error.(*googleapi.Error).Header. +// Use googleapi.IsNotModified to check whether the returned error was +// because http.StatusNotModified was returned. +func (c *ProjectsLocationsMembershipsValidateCreateCall) Do(opts ...googleapi.CallOption) (*ValidateCreateMembershipResponse, error) { + gensupport.SetOptions(c.urlParams_, opts...) + res, err := c.doRequest("json") + if res != nil && res.StatusCode == http.StatusNotModified { + if res.Body != nil { + res.Body.Close() + } + return nil, &googleapi.Error{ + Code: res.StatusCode, + Header: res.Header, + } + } + if err != nil { + return nil, err + } + defer googleapi.CloseBody(res) + if err := googleapi.CheckResponse(res); err != nil { + return nil, err + } + ret := &ValidateCreateMembershipResponse{ + ServerResponse: googleapi.ServerResponse{ + Header: res.Header, + HTTPStatusCode: res.StatusCode, + }, + } + target := &ret + if err := gensupport.DecodeResponse(target, res); err != nil { + return nil, err + } + return ret, nil + // { + // "description": "ValidateCreateMembership is a preflight check for CreateMembership. It checks the following: 1. Caller has the required `gkehub.memberships.create` permission. 2. The membership_id is still available.", + // "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/memberships:validateCreate", + // "httpMethod": "POST", + // "id": "gkehub.projects.locations.memberships.validateCreate", + // "parameterOrder": [ + // "parent" + // ], + // "parameters": { + // "parent": { + // "description": "Required. The parent (project and location) where the Memberships will be created. Specified in the format `projects/*/locations/*`.", + // "location": "path", + // "pattern": "^projects/[^/]+/locations/[^/]+$", + // "required": true, + // "type": "string" + // } + // }, + // "path": "v1alpha/{+parent}/memberships:validateCreate", + // "request": { + // "$ref": "ValidateCreateMembershipRequest" + // }, + // "response": { + // "$ref": "ValidateCreateMembershipResponse" + // }, + // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform" + // ] + // } + +} + // method id "gkehub.projects.locations.operations.cancel": type ProjectsLocationsOperationsCancelCall struct { diff --git a/gkehub/v1beta/gkehub-api.json b/gkehub/v1beta/gkehub-api.json index 2ae2fc72cfc..eaa65d1e7ac 100644 --- a/gkehub/v1beta/gkehub-api.json +++ b/gkehub/v1beta/gkehub-api.json @@ -670,7 +670,7 @@ } } }, - "revision": "20220828", + "revision": "20220912", "rootUrl": "https://gkehub.googleapis.com/", "schemas": { "AnthosObservabilityFeatureSpec": { @@ -970,6 +970,10 @@ "description": "Configuration for Config Sync", "id": "ConfigManagementConfigSync", "properties": { + "allowVerticalScale": { + "description": "Set to true to allow the vertical scaling. Defaults to false which disallows vertical scaling.", + "type": "boolean" + }, "enabled": { "description": "Enables the installation of ConfigSync. If set to true, ConfigSync resources will be created and the other ConfigSync fields will be applied if exist. If set to false, all other ConfigSync fields will be ignored, ConfigSync resources will be deleted. If omitted, ConfigSync resources will be managed depends on the presence of git field.", "type": "boolean" @@ -2629,6 +2633,44 @@ }, "type": "object" }, + "ServiceMeshDataPlaneManagement": { + "description": "Status of data plane management. Only reported per-member.", + "id": "ServiceMeshDataPlaneManagement", + "properties": { + "details": { + "description": "Explanation of the status.", + "items": { + "$ref": "ServiceMeshStatusDetails" + }, + "type": "array" + }, + "state": { + "description": "Lifecycle status of data plane management.", + "enum": [ + "LIFECYCLE_STATE_UNSPECIFIED", + "DISABLED", + "FAILED_PRECONDITION", + "PROVISIONING", + "ACTIVE", + "STALLED", + "NEEDS_ATTENTION", + "DEGRADED" + ], + "enumDescriptions": [ + "Unspecified", + "DISABLED means that the component is not enabled.", + "FAILED_PRECONDITION means that provisioning cannot proceed because of some characteristic of the member cluster.", + "PROVISIONING means that provisioning is in progress.", + "ACTIVE means that the component is ready for use.", + "STALLED means that provisioning could not be done.", + "NEEDS_ATTENTION means that the component is ready, but some user intervention is required. (For example that the user should migrate workloads to a new control plane revision.)", + "DEGRADED means that the component is ready, but operating in a degraded state." + ], + "type": "string" + } + }, + "type": "object" + }, "ServiceMeshMembershipSpec": { "description": "**Service Mesh**: Spec for a single Membership for the servicemesh feature", "id": "ServiceMeshMembershipSpec", @@ -2646,6 +2688,20 @@ "User will manually configure the control plane (e.g. via CLI, or via the ControlPlaneRevision KRM API)" ], "type": "string" + }, + "management": { + "description": "Enables automatic Service Mesh management.", + "enum": [ + "MANAGEMENT_UNSPECIFIED", + "MANAGEMENT_AUTOMATIC", + "MANAGEMENT_MANUAL" + ], + "enumDescriptions": [ + "Unspecified", + "Google should manage my Service Mesh for the cluster.", + "User will manually configure their service mesh components." + ], + "type": "string" } }, "type": "object" @@ -2658,6 +2714,11 @@ "$ref": "ServiceMeshControlPlaneManagement", "description": "Output only. Status of control plane management", "readOnly": true + }, + "dataPlaneManagement": { + "$ref": "ServiceMeshDataPlaneManagement", + "description": "Output only. Status of data plane management.", + "readOnly": true } }, "type": "object" diff --git a/gkehub/v1beta/gkehub-gen.go b/gkehub/v1beta/gkehub-gen.go index 0b1770c2e03..ef7970a446f 100644 --- a/gkehub/v1beta/gkehub-gen.go +++ b/gkehub/v1beta/gkehub-gen.go @@ -804,6 +804,10 @@ func (s *ConfigManagementBinauthzVersion) MarshalJSON() ([]byte, error) { // ConfigManagementConfigSync: Configuration for Config Sync type ConfigManagementConfigSync struct { + // AllowVerticalScale: Set to true to allow the vertical scaling. + // Defaults to false which disallows vertical scaling. + AllowVerticalScale bool `json:"allowVerticalScale,omitempty"` + // Enabled: Enables the installation of ConfigSync. If set to true, // ConfigSync resources will be created and the other ConfigSync fields // will be applied if exist. If set to false, all other ConfigSync @@ -827,20 +831,21 @@ type ConfigManagementConfigSync struct { // "hierarchical" or "unstructured" mode. SourceFormat string `json:"sourceFormat,omitempty"` - // ForceSendFields is a list of field names (e.g. "Enabled") to - // unconditionally include in API requests. By default, fields with + // ForceSendFields is a list of field names (e.g. "AllowVerticalScale") + // 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. "Enabled") 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 is a list of field names (e.g. "AllowVerticalScale") 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:"-"` } @@ -3392,6 +3397,53 @@ func (s *ServiceMeshControlPlaneManagement) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } +// ServiceMeshDataPlaneManagement: Status of data plane management. Only +// reported per-member. +type ServiceMeshDataPlaneManagement struct { + // Details: Explanation of the status. + Details []*ServiceMeshStatusDetails `json:"details,omitempty"` + + // State: Lifecycle status of data plane management. + // + // Possible values: + // "LIFECYCLE_STATE_UNSPECIFIED" - Unspecified + // "DISABLED" - DISABLED means that the component is not enabled. + // "FAILED_PRECONDITION" - FAILED_PRECONDITION means that provisioning + // cannot proceed because of some characteristic of the member cluster. + // "PROVISIONING" - PROVISIONING means that provisioning is in + // progress. + // "ACTIVE" - ACTIVE means that the component is ready for use. + // "STALLED" - STALLED means that provisioning could not be done. + // "NEEDS_ATTENTION" - NEEDS_ATTENTION means that the component is + // ready, but some user intervention is required. (For example that the + // user should migrate workloads to a new control plane revision.) + // "DEGRADED" - DEGRADED means that the component is ready, but + // operating in a degraded state. + State string `json:"state,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Details") 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. "Details") 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 *ServiceMeshDataPlaneManagement) MarshalJSON() ([]byte, error) { + type NoMethod ServiceMeshDataPlaneManagement + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + // ServiceMeshMembershipSpec: **Service Mesh**: Spec for a single // Membership for the servicemesh feature type ServiceMeshMembershipSpec struct { @@ -3407,6 +3459,16 @@ type ServiceMeshMembershipSpec struct { // CLI, or via the ControlPlaneRevision KRM API) ControlPlane string `json:"controlPlane,omitempty"` + // Management: Enables automatic Service Mesh management. + // + // Possible values: + // "MANAGEMENT_UNSPECIFIED" - Unspecified + // "MANAGEMENT_AUTOMATIC" - Google should manage my Service Mesh for + // the cluster. + // "MANAGEMENT_MANUAL" - User will manually configure their service + // mesh components. + Management string `json:"management,omitempty"` + // ForceSendFields is a list of field names (e.g. "ControlPlane") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any @@ -3437,6 +3499,9 @@ type ServiceMeshMembershipState struct { // management ControlPlaneManagement *ServiceMeshControlPlaneManagement `json:"controlPlaneManagement,omitempty"` + // DataPlaneManagement: Output only. Status of data plane management. + DataPlaneManagement *ServiceMeshDataPlaneManagement `json:"dataPlaneManagement,omitempty"` + // ForceSendFields is a list of field names (e.g. // "ControlPlaneManagement") to unconditionally include in API requests. // By default, fields with empty or default values are omitted from API diff --git a/identitytoolkit/v2/identitytoolkit-api.json b/identitytoolkit/v2/identitytoolkit-api.json index 9a09c58f309..b37e7de4c02 100644 --- a/identitytoolkit/v2/identitytoolkit-api.json +++ b/identitytoolkit/v2/identitytoolkit-api.json @@ -1559,7 +1559,7 @@ } } }, - "revision": "20220902", + "revision": "20220910", "rootUrl": "https://identitytoolkit.googleapis.com/", "schemas": { "GoogleCloudIdentitytoolkitAdminV2Anonymous": { @@ -2604,6 +2604,10 @@ "$ref": "GoogleCloudIdentitytoolkitAdminV2MultiFactorAuthConfig", "description": "The tenant-level configuration of MFA options." }, + "monitoring": { + "$ref": "GoogleCloudIdentitytoolkitAdminV2MonitoringConfig", + "description": "Configuration related to monitoring project activity." + }, "name": { "description": "Output only. Resource name of a tenant. For example: \"projects/{project-id}/tenants/{tenant-id}\"", "readOnly": true, diff --git a/identitytoolkit/v2/identitytoolkit-gen.go b/identitytoolkit/v2/identitytoolkit-gen.go index b617a9c61be..b0760c7a85f 100644 --- a/identitytoolkit/v2/identitytoolkit-gen.go +++ b/identitytoolkit/v2/identitytoolkit-gen.go @@ -2047,6 +2047,9 @@ type GoogleCloudIdentitytoolkitAdminV2Tenant struct { // MfaConfig: The tenant-level configuration of MFA options. MfaConfig *GoogleCloudIdentitytoolkitAdminV2MultiFactorAuthConfig `json:"mfaConfig,omitempty"` + // Monitoring: Configuration related to monitoring project activity. + Monitoring *GoogleCloudIdentitytoolkitAdminV2MonitoringConfig `json:"monitoring,omitempty"` + // Name: Output only. Resource name of a tenant. For example: // "projects/{project-id}/tenants/{tenant-id}" Name string `json:"name,omitempty"` diff --git a/manufacturers/v1/manufacturers-api.json b/manufacturers/v1/manufacturers-api.json index a8b3ee333fd..190cd82618d 100644 --- a/manufacturers/v1/manufacturers-api.json +++ b/manufacturers/v1/manufacturers-api.json @@ -15,6 +15,7 @@ "description": "Public API for managing Manufacturer Center related data.", "discoveryVersion": "v1", "documentationLink": "https://developers.google.com/manufacturers/", + "fullyEncodeReservedExpansion": true, "icons": { "x16": "http://www.google.com/images/icons/product/search-16.gif", "x32": "http://www.google.com/images/icons/product/search-32.gif" @@ -287,7 +288,7 @@ } } }, - "revision": "20220809", + "revision": "20220913", "rootUrl": "https://manufacturers.googleapis.com/", "schemas": { "Attributes": { @@ -357,7 +358,7 @@ }, "grocery": { "$ref": "Grocery", - "description": "Grocery Attributes. For more information, see go/mfc-nutrition-attributes." + "description": "Grocery Attributes. See more at https://support.google.com/manufacturers/answer/12098458#grocery." }, "gtin": { "description": "The Global Trade Item Number (GTIN) of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#gtin.", @@ -391,7 +392,7 @@ }, "nutrition": { "$ref": "Nutrition", - "description": "Nutrition Attributes. For more information, see go/mfc-nutrition-attributes." + "description": "Nutrition Attributes. See more at https://support.google.com/manufacturers/answer/12098458#food-servings." }, "pattern": { "description": "The pattern of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#pattern.", @@ -571,7 +572,7 @@ "type": "object" }, "FloatUnit": { - "description": "Combination of float amout and unit.", + "description": "Combination of float amount and unit.", "id": "FloatUnit", "properties": { "amount": { diff --git a/manufacturers/v1/manufacturers-gen.go b/manufacturers/v1/manufacturers-gen.go index c67a279e0ea..0ddaa2d9a79 100644 --- a/manufacturers/v1/manufacturers-gen.go +++ b/manufacturers/v1/manufacturers-gen.go @@ -218,8 +218,8 @@ type Attributes struct { // https://support.google.com/manufacturers/answer/6124116#gender. Gender string `json:"gender,omitempty"` - // Grocery: Grocery Attributes. For more information, see - // go/mfc-nutrition-attributes. + // Grocery: Grocery Attributes. See more at + // https://support.google.com/manufacturers/answer/12098458#grocery. Grocery *Grocery `json:"grocery,omitempty"` // Gtin: The Global Trade Item Number (GTIN) of the product. For more @@ -251,8 +251,8 @@ type Attributes struct { // https://support.google.com/manufacturers/answer/6124116#mpn. Mpn string `json:"mpn,omitempty"` - // Nutrition: Nutrition Attributes. For more information, see - // go/mfc-nutrition-attributes. + // Nutrition: Nutrition Attributes. See more at + // https://support.google.com/manufacturers/answer/12098458#food-servings. Nutrition *Nutrition `json:"nutrition,omitempty"` // Pattern: The pattern of the product. For more information, see @@ -507,7 +507,7 @@ func (s *FeatureDescription) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// FloatUnit: Combination of float amout and unit. +// FloatUnit: Combination of float amount and unit. type FloatUnit struct { // Amount: amount. Amount float64 `json:"amount,omitempty"` diff --git a/metastore/v1alpha/metastore-api.json b/metastore/v1alpha/metastore-api.json index 6b9b78be1ad..4b0ad0b379f 100644 --- a/metastore/v1alpha/metastore-api.json +++ b/metastore/v1alpha/metastore-api.json @@ -751,7 +751,7 @@ ], "parameters": { "name": { - "description": "Immutable. The relative resource name of the metastore service, of the form:projects/{project_number}/locations/{location_id}/services/{service_id}.", + "description": "Immutable. The relative resource name of the metastore service, in the following format:projects/{project_number}/locations/{location_id}/services/{service_id}.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/services/[^/]+$", "required": true, @@ -1467,7 +1467,7 @@ } } }, - "revision": "20220830", + "revision": "20220905", "rootUrl": "https://metastore.googleapis.com/", "schemas": { "AuditConfig": { @@ -2642,7 +2642,7 @@ "readOnly": true }, "name": { - "description": "Immutable. The relative resource name of the metastore service, of the form:projects/{project_number}/locations/{location_id}/services/{service_id}.", + "description": "Immutable. The relative resource name of the metastore service, in the following format:projects/{project_number}/locations/{location_id}/services/{service_id}.", "type": "string" }, "network": { diff --git a/metastore/v1alpha/metastore-gen.go b/metastore/v1alpha/metastore-gen.go index e2c8a12dcb9..898198f86c4 100644 --- a/metastore/v1alpha/metastore-gen.go +++ b/metastore/v1alpha/metastore-gen.go @@ -2158,9 +2158,9 @@ type Service struct { MetadataManagementActivity *MetadataManagementActivity `json:"metadataManagementActivity,omitempty"` // Name: Immutable. The relative resource name of the metastore service, - // of the - // form:projects/{project_number}/locations/{location_id}/services/{servi - // ce_id}. + // in the following + // format:projects/{project_number}/locations/{location_id}/services/{ser + // vice_id}. Name string `json:"name,omitempty"` // Network: Immutable. The relative resource name of the VPC network on @@ -5667,9 +5667,9 @@ type ProjectsLocationsServicesPatchCall struct { // Patch: Updates the parameters of a single service. // // - name: Immutable. The relative resource name of the metastore -// service, of the -// form:projects/{project_number}/locations/{location_id}/services/{ser -// vice_id}. +// service, in the following +// format:projects/{project_number}/locations/{location_id}/services/{s +// ervice_id}. func (r *ProjectsLocationsServicesService) Patch(name string, service *Service) *ProjectsLocationsServicesPatchCall { c := &ProjectsLocationsServicesPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.name = name @@ -5802,7 +5802,7 @@ func (c *ProjectsLocationsServicesPatchCall) Do(opts ...googleapi.CallOption) (* // ], // "parameters": { // "name": { - // "description": "Immutable. The relative resource name of the metastore service, of the form:projects/{project_number}/locations/{location_id}/services/{service_id}.", + // "description": "Immutable. The relative resource name of the metastore service, in the following format:projects/{project_number}/locations/{location_id}/services/{service_id}.", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/services/[^/]+$", // "required": true, diff --git a/metastore/v1beta/metastore-api.json b/metastore/v1beta/metastore-api.json index 866afb6648e..997aefab7f3 100644 --- a/metastore/v1beta/metastore-api.json +++ b/metastore/v1beta/metastore-api.json @@ -751,7 +751,7 @@ ], "parameters": { "name": { - "description": "Immutable. The relative resource name of the metastore service, of the form:projects/{project_number}/locations/{location_id}/services/{service_id}.", + "description": "Immutable. The relative resource name of the metastore service, in the following format:projects/{project_number}/locations/{location_id}/services/{service_id}.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/services/[^/]+$", "required": true, @@ -1467,7 +1467,7 @@ } } }, - "revision": "20220830", + "revision": "20220905", "rootUrl": "https://metastore.googleapis.com/", "schemas": { "AuditConfig": { @@ -2642,7 +2642,7 @@ "readOnly": true }, "name": { - "description": "Immutable. The relative resource name of the metastore service, of the form:projects/{project_number}/locations/{location_id}/services/{service_id}.", + "description": "Immutable. The relative resource name of the metastore service, in the following format:projects/{project_number}/locations/{location_id}/services/{service_id}.", "type": "string" }, "network": { diff --git a/metastore/v1beta/metastore-gen.go b/metastore/v1beta/metastore-gen.go index 0d7c7fd9db7..7c65ed4230a 100644 --- a/metastore/v1beta/metastore-gen.go +++ b/metastore/v1beta/metastore-gen.go @@ -2158,9 +2158,9 @@ type Service struct { MetadataManagementActivity *MetadataManagementActivity `json:"metadataManagementActivity,omitempty"` // Name: Immutable. The relative resource name of the metastore service, - // of the - // form:projects/{project_number}/locations/{location_id}/services/{servi - // ce_id}. + // in the following + // format:projects/{project_number}/locations/{location_id}/services/{ser + // vice_id}. Name string `json:"name,omitempty"` // Network: Immutable. The relative resource name of the VPC network on @@ -5667,9 +5667,9 @@ type ProjectsLocationsServicesPatchCall struct { // Patch: Updates the parameters of a single service. // // - name: Immutable. The relative resource name of the metastore -// service, of the -// form:projects/{project_number}/locations/{location_id}/services/{ser -// vice_id}. +// service, in the following +// format:projects/{project_number}/locations/{location_id}/services/{s +// ervice_id}. func (r *ProjectsLocationsServicesService) Patch(name string, service *Service) *ProjectsLocationsServicesPatchCall { c := &ProjectsLocationsServicesPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.name = name @@ -5802,7 +5802,7 @@ func (c *ProjectsLocationsServicesPatchCall) Do(opts ...googleapi.CallOption) (* // ], // "parameters": { // "name": { - // "description": "Immutable. The relative resource name of the metastore service, of the form:projects/{project_number}/locations/{location_id}/services/{service_id}.", + // "description": "Immutable. The relative resource name of the metastore service, in the following format:projects/{project_number}/locations/{location_id}/services/{service_id}.", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/services/[^/]+$", // "required": true, diff --git a/networksecurity/v1/networksecurity-api.json b/networksecurity/v1/networksecurity-api.json index 7b3f191ac12..772ea1e3e28 100644 --- a/networksecurity/v1/networksecurity-api.json +++ b/networksecurity/v1/networksecurity-api.json @@ -1037,7 +1037,7 @@ } } }, - "revision": "20220808", + "revision": "20220902", "rootUrl": "https://networksecurity.googleapis.com/", "schemas": { "AuthorizationPolicy": { @@ -1306,7 +1306,7 @@ "description": "The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies)." }, "members": { - "description": "Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. ", + "description": "Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. ", "items": { "type": "string" }, diff --git a/networksecurity/v1/networksecurity-gen.go b/networksecurity/v1/networksecurity-gen.go index 93876c98910..0d42bff3ee6 100644 --- a/networksecurity/v1/networksecurity-gen.go +++ b/networksecurity/v1/networksecurity-gen.go @@ -681,11 +681,12 @@ type GoogleIamV1Binding struct { // `allUsers`: A special identifier that represents anyone who is on the // internet; with or without a Google account. * // `allAuthenticatedUsers`: A special identifier that represents anyone - // who is authenticated with a Google account or a service account. * - // `user:{emailid}`: An email address that represents a specific Google - // account. For example, `alice@example.com` . * - // `serviceAccount:{emailid}`: An email address that represents a Google - // service account. For example, + // who is authenticated with a Google account or a service account. Does + // not include identities that come from external identity providers + // (IdPs) through identity federation. * `user:{emailid}`: An email + // address that represents a specific Google account. For example, + // `alice@example.com` . * `serviceAccount:{emailid}`: An email address + // that represents a Google service account. For example, // `my-other-app@appspot.gserviceaccount.com`. * // `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: // An identifier for a Kubernetes service account diff --git a/networksecurity/v1beta1/networksecurity-api.json b/networksecurity/v1beta1/networksecurity-api.json index 61d5b68e75b..95be47679c7 100644 --- a/networksecurity/v1beta1/networksecurity-api.json +++ b/networksecurity/v1beta1/networksecurity-api.json @@ -1037,7 +1037,7 @@ } } }, - "revision": "20220808", + "revision": "20220902", "rootUrl": "https://networksecurity.googleapis.com/", "schemas": { "AuthorizationPolicy": { @@ -1306,7 +1306,7 @@ "description": "The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies)." }, "members": { - "description": "Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. ", + "description": "Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. ", "items": { "type": "string" }, diff --git a/networksecurity/v1beta1/networksecurity-gen.go b/networksecurity/v1beta1/networksecurity-gen.go index 4306cfe865e..608b4be41fa 100644 --- a/networksecurity/v1beta1/networksecurity-gen.go +++ b/networksecurity/v1beta1/networksecurity-gen.go @@ -681,11 +681,12 @@ type GoogleIamV1Binding struct { // `allUsers`: A special identifier that represents anyone who is on the // internet; with or without a Google account. * // `allAuthenticatedUsers`: A special identifier that represents anyone - // who is authenticated with a Google account or a service account. * - // `user:{emailid}`: An email address that represents a specific Google - // account. For example, `alice@example.com` . * - // `serviceAccount:{emailid}`: An email address that represents a Google - // service account. For example, + // who is authenticated with a Google account or a service account. Does + // not include identities that come from external identity providers + // (IdPs) through identity federation. * `user:{emailid}`: An email + // address that represents a specific Google account. For example, + // `alice@example.com` . * `serviceAccount:{emailid}`: An email address + // that represents a Google service account. For example, // `my-other-app@appspot.gserviceaccount.com`. * // `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: // An identifier for a Kubernetes service account diff --git a/orgpolicy/v2/orgpolicy-api.json b/orgpolicy/v2/orgpolicy-api.json index dc094ae814f..160014b08e7 100644 --- a/orgpolicy/v2/orgpolicy-api.json +++ b/orgpolicy/v2/orgpolicy-api.json @@ -897,7 +897,7 @@ } } }, - "revision": "20220812", + "revision": "20220913", "rootUrl": "https://orgpolicy.googleapis.com/", "schemas": { "GoogleCloudOrgpolicyV2AlternatePolicySpec": { @@ -1036,6 +1036,12 @@ "type": "string" }, "type": "array" + }, + "updateTime": { + "description": "Output only. The last time this custom constraint was updated. This represents the last time that the `CreateCustomConstraint` or `UpdateCustomConstraint` RPC was called", + "format": "google-datetime", + "readOnly": true, + "type": "string" } }, "type": "object" diff --git a/orgpolicy/v2/orgpolicy-gen.go b/orgpolicy/v2/orgpolicy-gen.go index bc33cde7126..35500717b30 100644 --- a/orgpolicy/v2/orgpolicy-gen.go +++ b/orgpolicy/v2/orgpolicy-gen.go @@ -459,6 +459,11 @@ type GoogleCloudOrgpolicyV2CustomConstraint struct { // `compute.googleapis.com/Instance`. ResourceTypes []string `json:"resourceTypes,omitempty"` + // UpdateTime: Output only. The last time this custom constraint was + // updated. This represents the last time that the + // `CreateCustomConstraint` or `UpdateCustomConstraint` RPC was called + UpdateTime string `json:"updateTime,omitempty"` + // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` diff --git a/paymentsresellersubscription/v1/paymentsresellersubscription-api.json b/paymentsresellersubscription/v1/paymentsresellersubscription-api.json index c3fa9d1b828..76504c5ba51 100644 --- a/paymentsresellersubscription/v1/paymentsresellersubscription-api.json +++ b/paymentsresellersubscription/v1/paymentsresellersubscription-api.json @@ -396,9 +396,25 @@ } } }, - "revision": "20220908", + "revision": "20220914", "rootUrl": "https://paymentsresellersubscription.googleapis.com/", "schemas": { + "GoogleCloudPaymentsResellerSubscriptionV1Amount": { + "description": "Describes the amount unit including the currency code.", + "id": "GoogleCloudPaymentsResellerSubscriptionV1Amount", + "properties": { + "amountMicros": { + "description": "Required. Amount in micros (1_000_000 micros = 1 currency unit)", + "format": "int64", + "type": "string" + }, + "currencyCode": { + "description": "Required. Currency codes in accordance with [ISO-4217 Currency Codes] (https://en.wikipedia.org/wiki/ISO_4217). For example, USD.", + "type": "string" + } + }, + "type": "object" + }, "GoogleCloudPaymentsResellerSubscriptionV1CancelSubscriptionRequest": { "id": "GoogleCloudPaymentsResellerSubscriptionV1CancelSubscriptionRequest", "properties": { @@ -630,10 +646,18 @@ "id": "GoogleCloudPaymentsResellerSubscriptionV1Product", "properties": { "name": { - "description": "Output only. Response only. Resource name of the subscription. It will have the format of \"partners/{partner_id}/products/{product_id}\"", + "description": "Output only. Response only. Resource name of the product. It will have the format of \"partners/{partner_id}/products/{product_id}\"", "readOnly": true, "type": "string" }, + "priceConfigs": { + "description": "Output only. Price configs for the product in the available regions.", + "items": { + "$ref": "GoogleCloudPaymentsResellerSubscriptionV1ProductPriceConfig" + }, + "readOnly": true, + "type": "array" + }, "regionCodes": { "description": "Output only. 2-letter ISO region code where the product is available in. Ex. \"US\" Please refers to: https://en.wikipedia.org/wiki/ISO_3166-1", "items": { @@ -658,6 +682,23 @@ }, "type": "object" }, + "GoogleCloudPaymentsResellerSubscriptionV1ProductPriceConfig": { + "description": "Configs the prices in an available region.", + "id": "GoogleCloudPaymentsResellerSubscriptionV1ProductPriceConfig", + "properties": { + "amount": { + "$ref": "GoogleCloudPaymentsResellerSubscriptionV1Amount", + "description": "Output only. The price in the region.", + "readOnly": true + }, + "regionCode": { + "description": "Output only. 2-letter ISO region code where the product is available in. Ex. \"US\".", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, "GoogleCloudPaymentsResellerSubscriptionV1Promotion": { "description": "A Promotion resource that defines a promotion for a subscription that can be resold.", "id": "GoogleCloudPaymentsResellerSubscriptionV1Promotion", @@ -745,6 +786,17 @@ "description": "The duration of an introductory pricing promotion.", "id": "GoogleCloudPaymentsResellerSubscriptionV1PromotionIntroductoryPricingDetailsIntroductoryPricingSpec", "properties": { + "discountAmount": { + "$ref": "GoogleCloudPaymentsResellerSubscriptionV1Amount", + "description": "Output only. The discount amount. The value is positive.", + "readOnly": true + }, + "discountRatioMicros": { + "description": "Output only. The discount percentage in micros. For example, 50,000 represents 5%.", + "format": "int64", + "readOnly": true, + "type": "string" + }, "recurrenceCount": { "description": "Output only. Output Only. The duration of an introductory offer in billing cycles.", "format": "int32", diff --git a/paymentsresellersubscription/v1/paymentsresellersubscription-gen.go b/paymentsresellersubscription/v1/paymentsresellersubscription-gen.go index ee62f872ac8..e960a5c89fc 100644 --- a/paymentsresellersubscription/v1/paymentsresellersubscription-gen.go +++ b/paymentsresellersubscription/v1/paymentsresellersubscription-gen.go @@ -170,6 +170,41 @@ type PartnersSubscriptionsService struct { s *Service } +// GoogleCloudPaymentsResellerSubscriptionV1Amount: Describes the amount +// unit including the currency code. +type GoogleCloudPaymentsResellerSubscriptionV1Amount struct { + // AmountMicros: Required. Amount in micros (1_000_000 micros = 1 + // currency unit) + AmountMicros int64 `json:"amountMicros,omitempty,string"` + + // CurrencyCode: Required. Currency codes in accordance with [ISO-4217 + // Currency Codes] (https://en.wikipedia.org/wiki/ISO_4217). For + // example, USD. + CurrencyCode string `json:"currencyCode,omitempty"` + + // ForceSendFields is a list of field names (e.g. "AmountMicros") 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. "AmountMicros") 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 *GoogleCloudPaymentsResellerSubscriptionV1Amount) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudPaymentsResellerSubscriptionV1Amount + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + type GoogleCloudPaymentsResellerSubscriptionV1CancelSubscriptionRequest struct { // CancelImmediately: Optional. If true, the subscription will be // cancelled immediately. Otherwise, the subscription will be cancelled @@ -639,11 +674,14 @@ func (s *GoogleCloudPaymentsResellerSubscriptionV1Location) MarshalJSON() ([]byt // GoogleCloudPaymentsResellerSubscriptionV1Product: A Product resource // that defines a subscription service that can be resold. type GoogleCloudPaymentsResellerSubscriptionV1Product struct { - // Name: Output only. Response only. Resource name of the subscription. - // It will have the format of - // "partners/{partner_id}/products/{product_id}" + // Name: Output only. Response only. Resource name of the product. It + // will have the format of "partners/{partner_id}/products/{product_id}" Name string `json:"name,omitempty"` + // PriceConfigs: Output only. Price configs for the product in the + // available regions. + PriceConfigs []*GoogleCloudPaymentsResellerSubscriptionV1ProductPriceConfig `json:"priceConfigs,omitempty"` + // RegionCodes: Output only. 2-letter ISO region code where the product // is available in. Ex. "US" Please refers to: // https://en.wikipedia.org/wiki/ISO_3166-1 @@ -679,6 +717,39 @@ func (s *GoogleCloudPaymentsResellerSubscriptionV1Product) MarshalJSON() ([]byte return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } +// GoogleCloudPaymentsResellerSubscriptionV1ProductPriceConfig: Configs +// the prices in an available region. +type GoogleCloudPaymentsResellerSubscriptionV1ProductPriceConfig struct { + // Amount: Output only. The price in the region. + Amount *GoogleCloudPaymentsResellerSubscriptionV1Amount `json:"amount,omitempty"` + + // RegionCode: Output only. 2-letter ISO region code where the product + // is available in. Ex. "US". + RegionCode string `json:"regionCode,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Amount") 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. "Amount") 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 *GoogleCloudPaymentsResellerSubscriptionV1ProductPriceConfig) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudPaymentsResellerSubscriptionV1ProductPriceConfig + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + // GoogleCloudPaymentsResellerSubscriptionV1Promotion: A Promotion // resource that defines a promotion for a subscription that can be // resold. @@ -787,11 +858,19 @@ func (s *GoogleCloudPaymentsResellerSubscriptionV1PromotionIntroductoryPricingDe // etailsIntroductoryPricingSpec: The duration of an introductory // pricing promotion. type GoogleCloudPaymentsResellerSubscriptionV1PromotionIntroductoryPricingDetailsIntroductoryPricingSpec struct { + // DiscountAmount: Output only. The discount amount. The value is + // positive. + DiscountAmount *GoogleCloudPaymentsResellerSubscriptionV1Amount `json:"discountAmount,omitempty"` + + // DiscountRatioMicros: Output only. The discount percentage in micros. + // For example, 50,000 represents 5%. + DiscountRatioMicros int64 `json:"discountRatioMicros,omitempty,string"` + // RecurrenceCount: Output only. Output Only. The duration of an // introductory offer in billing cycles. RecurrenceCount int64 `json:"recurrenceCount,omitempty"` - // ForceSendFields is a list of field names (e.g. "RecurrenceCount") to + // ForceSendFields is a list of field names (e.g. "DiscountAmount") 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 @@ -799,7 +878,7 @@ type GoogleCloudPaymentsResellerSubscriptionV1PromotionIntroductoryPricingDetail // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "RecurrenceCount") to + // NullFields is a list of field names (e.g. "DiscountAmount") 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 diff --git a/realtimebidding/v1/realtimebidding-api.json b/realtimebidding/v1/realtimebidding-api.json index 8722391388a..def324d66cf 100644 --- a/realtimebidding/v1/realtimebidding-api.json +++ b/realtimebidding/v1/realtimebidding-api.json @@ -178,7 +178,7 @@ "type": "string" }, "pageSize": { - "description": "Requested page size. The server may return fewer creatives than requested (due to timeout constraint) even if more are available via another call. If unspecified, server will pick an appropriate default. Acceptable values are 1 to 1000, inclusive.", + "description": "Requested page size. The server may return fewer creatives than requested (due to timeout constraint) even if more are available through another call. If unspecified, server will pick an appropriate default. Acceptable values are 1 to 1000, inclusive.", "format": "int32", "location": "query", "type": "integer" @@ -189,7 +189,7 @@ "type": "string" }, "parent": { - "description": "Required. Name of the parent buyer that owns the creatives. The pattern for this resource is either `buyers/{buyerAccountId}` or `bidders/{bidderAccountId}`. For `buyers/{buyerAccountId}`, the `buyerAccountId` can be one of the following: 1. The ID of the buyer that is accessing their own creatives. 2. The ID of the child seat buyer under a bidder account. So for listing creatives pertaining to the child seat buyer (`456`) under bidder account (`123`), you would use the pattern: `buyers/456`. 3. The ID of the bidder itself. So for listing creatives pertaining to bidder (`123`), you would use `buyers/123`. If you want to access all creatives pertaining to both the bidder and all of its child seat accounts, you would use `bidders/{bidderAccountId}`, e.g., for all creatives pertaining to bidder (`123`), use `bidders/123`.", + "description": "Required. Name of the parent buyer that owns the creatives. The pattern for this resource is either `buyers/{buyerAccountId}` or `bidders/{bidderAccountId}`. For `buyers/{buyerAccountId}`, the `buyerAccountId` can be one of the following: 1. The ID of the buyer that is accessing their own creatives. 2. The ID of the child seat buyer under a bidder account. So for listing creatives pertaining to the child seat buyer (`456`) under bidder account (`123`), you would use the pattern: `buyers/456`. 3. The ID of the bidder itself. So for listing creatives pertaining to bidder (`123`), you would use `buyers/123`. If you want to access all creatives pertaining to both the bidder and all of its child seat accounts, you would use `bidders/{bidderAccountId}`, for example, for all creatives pertaining to bidder (`123`), use `bidders/123`.", "location": "path", "pattern": "^bidders/[^/]+$", "required": true, @@ -827,7 +827,7 @@ "type": "string" }, "pageSize": { - "description": "Requested page size. The server may return fewer results than requested (due to timeout constraint) even if more are available via another call. If unspecified, the server will pick an appropriate default. Acceptable values are 1 to 5000, inclusive.", + "description": "Requested page size. The server may return fewer results than requested (due to timeout constraint) even if more are available through another call. If unspecified, the server will pick an appropriate default. Acceptable values are 1 to 5000, inclusive.", "format": "int32", "location": "query", "type": "integer" @@ -1023,7 +1023,7 @@ "type": "string" }, "pageSize": { - "description": "Requested page size. The server may return fewer creatives than requested (due to timeout constraint) even if more are available via another call. If unspecified, server will pick an appropriate default. Acceptable values are 1 to 1000, inclusive.", + "description": "Requested page size. The server may return fewer creatives than requested (due to timeout constraint) even if more are available through another call. If unspecified, server will pick an appropriate default. Acceptable values are 1 to 1000, inclusive.", "format": "int32", "location": "query", "type": "integer" @@ -1034,7 +1034,7 @@ "type": "string" }, "parent": { - "description": "Required. Name of the parent buyer that owns the creatives. The pattern for this resource is either `buyers/{buyerAccountId}` or `bidders/{bidderAccountId}`. For `buyers/{buyerAccountId}`, the `buyerAccountId` can be one of the following: 1. The ID of the buyer that is accessing their own creatives. 2. The ID of the child seat buyer under a bidder account. So for listing creatives pertaining to the child seat buyer (`456`) under bidder account (`123`), you would use the pattern: `buyers/456`. 3. The ID of the bidder itself. So for listing creatives pertaining to bidder (`123`), you would use `buyers/123`. If you want to access all creatives pertaining to both the bidder and all of its child seat accounts, you would use `bidders/{bidderAccountId}`, e.g., for all creatives pertaining to bidder (`123`), use `bidders/123`.", + "description": "Required. Name of the parent buyer that owns the creatives. The pattern for this resource is either `buyers/{buyerAccountId}` or `bidders/{bidderAccountId}`. For `buyers/{buyerAccountId}`, the `buyerAccountId` can be one of the following: 1. The ID of the buyer that is accessing their own creatives. 2. The ID of the child seat buyer under a bidder account. So for listing creatives pertaining to the child seat buyer (`456`) under bidder account (`123`), you would use the pattern: `buyers/456`. 3. The ID of the bidder itself. So for listing creatives pertaining to bidder (`123`), you would use `buyers/123`. If you want to access all creatives pertaining to both the bidder and all of its child seat accounts, you would use `bidders/{bidderAccountId}`, for example, for all creatives pertaining to bidder (`123`), use `bidders/123`.", "location": "path", "pattern": "^buyers/[^/]+$", "required": true, @@ -1305,7 +1305,7 @@ } } }, - "revision": "20220904", + "revision": "20220914", "rootUrl": "https://realtimebidding.googleapis.com/", "schemas": { "ActivatePretargetingConfigRequest": { @@ -1529,7 +1529,7 @@ "id": "Bidder", "properties": { "bypassNonguaranteedDealsPretargeting": { - "description": "Output only. A flag to bypass pretargeting for private auctions and preferred deals. When true, bid requests from these nonguaranteed deals will always be sent. When false, bid requests will be subject to regular pretargeting configurations. Programmatic Guaranteed deals will always be sent to the bidder, regardless of the value for this flag. Auction packages are not impacted by this value and are subject to the regular pretargeting configurations.", + "description": "Output only. An option to bypass pretargeting for private auctions and preferred deals. When true, bid requests from these nonguaranteed deals will always be sent. When false, bid requests will be subject to regular pretargeting configurations. Programmatic Guaranteed deals will always be sent to the bidder, regardless of the value for this flag. Auction packages are not impacted by this value and are subject to the regular pretargeting configurations.", "readOnly": true, "type": "boolean" }, @@ -1561,7 +1561,7 @@ "id": "Buyer", "properties": { "activeCreativeCount": { - "description": "Output only. The number of creatives that this buyer submitted via the API or bid with in the last 30 days. This is counted against the maximum number of active creatives.", + "description": "Output only. The number of creatives that this buyer submitted through the API or bid with in the last 30 days. This is counted against the maximum number of active creatives.", "format": "int64", "readOnly": true, "type": "string" @@ -1628,7 +1628,7 @@ "type": "string" }, "apiUpdateTime": { - "description": "Output only. The last update timestamp of the creative via API.", + "description": "Output only. The last update timestamp of the creative through the API.", "format": "google-datetime", "readOnly": true, "type": "string" @@ -2070,9 +2070,9 @@ ], "enumDescriptions": [ "Default value that should never be used.", - "Site's robots exclusion file (e.g., robots.txt) was unreachable.", - "Timed out reading site's robots exclusion file (e.g., robots.txt).", - "Crawler was disallowed by the site's robots exclusion file (e.g., robots.txt).", + "Site's robots exclusion file (for example, robots.txt) was unreachable.", + "Timed out reading site's robots exclusion file (for example, robots.txt).", + "Crawler was disallowed by the site's robots exclusion file (for example, robots.txt).", "Unknown reason." ], "type": "string" @@ -2103,7 +2103,7 @@ "type": "string" }, "httpError": { - "description": "HTTP error code (e.g. 404 or 5xx)", + "description": "HTTP error code (for example, 404 or 5xx)", "format": "int32", "type": "integer" }, @@ -2193,7 +2193,7 @@ "id": "DomainCallEvidence", "properties": { "topHttpCallDomains": { - "description": "Breakdown of the most frequent domains called via HTTP by the creative.", + "description": "Breakdown of the most frequent domains called through HTTP by the creative.", "items": { "$ref": "DomainCalls" }, @@ -2676,7 +2676,7 @@ "id": "PolicyCompliance", "properties": { "status": { - "description": "Serving status for the given transaction type (e.g., open auction, deals) or region (e.g., China, Russia). Can be used to filter the response of the creatives.list method.", + "description": "Serving status for the given transaction type (for example, open auction, deals) or region (for example, China, Russia). Can be used to filter the response of the creatives.list method.", "enum": [ "STATUS_UNSPECIFIED", "PENDING_REVIEW", @@ -2694,7 +2694,7 @@ "type": "string" }, "topics": { - "description": "Topics related to the policy compliance for this transaction type (e.g., open auction, deals) or region (e.g., China, Russia). Topics may be present only if status is DISAPPROVED.", + "description": "Topics related to the policy compliance for this transaction type (for example, open auction, deals) or region (for example, China, Russia). Topics may be present only if status is DISAPPROVED.", "items": { "$ref": "PolicyTopicEntry" }, @@ -3293,7 +3293,7 @@ "id": "WatchCreativesResponse", "properties": { "subscription": { - "description": "The Pub/Sub subscription that can be used to pull creative status notifications. This would be of the format `projects/{project_id}/subscriptions/{subscription_id}`. Subscription is created with pull delivery. All service accounts belonging to the bidder will have read access to this subscription. Subscriptions that are inactive for more than 90 days will be disabled. Please use watchCreatives to re-enable the subscription.", + "description": "The Pub/Sub subscription that can be used to pull creative status notifications. This would be of the format `projects/{project_id}/subscriptions/{subscription_id}`. Subscription is created with pull delivery. All service accounts belonging to the bidder will have read access to this subscription. Subscriptions that are inactive for more than 90 days will be disabled. Use watchCreatives to re-enable the subscription.", "type": "string" }, "topic": { diff --git a/realtimebidding/v1/realtimebidding-gen.go b/realtimebidding/v1/realtimebidding-gen.go index 9856e20b279..1131ec5c5b1 100644 --- a/realtimebidding/v1/realtimebidding-gen.go +++ b/realtimebidding/v1/realtimebidding-gen.go @@ -666,14 +666,14 @@ func (s *BatchRejectPublisherConnectionsResponse) MarshalJSON() ([]byte, error) // Bidder: Bidder settings. type Bidder struct { - // BypassNonguaranteedDealsPretargeting: Output only. A flag to bypass - // pretargeting for private auctions and preferred deals. When true, bid - // requests from these nonguaranteed deals will always be sent. When - // false, bid requests will be subject to regular pretargeting - // configurations. Programmatic Guaranteed deals will always be sent to - // the bidder, regardless of the value for this flag. Auction packages - // are not impacted by this value and are subject to the regular - // pretargeting configurations. + // BypassNonguaranteedDealsPretargeting: Output only. An option to + // bypass pretargeting for private auctions and preferred deals. When + // true, bid requests from these nonguaranteed deals will always be + // sent. When false, bid requests will be subject to regular + // pretargeting configurations. Programmatic Guaranteed deals will + // always be sent to the bidder, regardless of the value for this flag. + // Auction packages are not impacted by this value and are subject to + // the regular pretargeting configurations. BypassNonguaranteedDealsPretargeting bool `json:"bypassNonguaranteedDealsPretargeting,omitempty"` // CookieMatchingNetworkId: Output only. The buyer's network ID used for @@ -733,8 +733,8 @@ func (s *Bidder) MarshalJSON() ([]byte, error) { // Buyer: RTB Buyer account information. type Buyer struct { // ActiveCreativeCount: Output only. The number of creatives that this - // buyer submitted via the API or bid with in the last 30 days. This is - // counted against the maximum number of active creatives. + // buyer submitted through the API or bid with in the last 30 days. This + // is counted against the maximum number of active creatives. ActiveCreativeCount int64 `json:"activeCreativeCount,omitempty,string"` // Bidder: Output only. The name of the bidder resource that is @@ -820,7 +820,7 @@ type Creative struct { AgencyId int64 `json:"agencyId,omitempty,string"` // ApiUpdateTime: Output only. The last update timestamp of the creative - // via API. + // through the API. ApiUpdateTime string `json:"apiUpdateTime,omitempty"` // CreativeFormat: Output only. The format of this creative. Can be used @@ -1269,12 +1269,12 @@ type DestinationNotCrawlableEvidence struct { // // Possible values: // "REASON_UNSPECIFIED" - Default value that should never be used. - // "UNREACHABLE_ROBOTS" - Site's robots exclusion file (e.g., + // "UNREACHABLE_ROBOTS" - Site's robots exclusion file (for example, // robots.txt) was unreachable. // "TIMEOUT_ROBOTS" - Timed out reading site's robots exclusion file - // (e.g., robots.txt). + // (for example, robots.txt). // "ROBOTED_DENIED" - Crawler was disallowed by the site's robots - // exclusion file (e.g., robots.txt). + // exclusion file (for example, robots.txt). // "UNKNOWN" - Unknown reason. Reason string `json:"reason,omitempty"` @@ -1318,7 +1318,7 @@ type DestinationNotWorkingEvidence struct { // ExpandedUrl: The full non-working URL. ExpandedUrl string `json:"expandedUrl,omitempty"` - // HttpError: HTTP error code (e.g. 404 or 5xx) + // HttpError: HTTP error code (for example, 404 or 5xx) HttpError int64 `json:"httpError,omitempty"` // InvalidPage: Page was crawled successfully, but was detected as @@ -1419,8 +1419,8 @@ func (s *DestinationUrlEvidence) MarshalJSON() ([]byte, error) { // DomainCallEvidence: Number of HTTP calls made by a creative, broken // down by domain. type DomainCallEvidence struct { - // TopHttpCallDomains: Breakdown of the most frequent domains called via - // HTTP by the creative. + // TopHttpCallDomains: Breakdown of the most frequent domains called + // through HTTP by the creative. TopHttpCallDomains []*DomainCalls `json:"topHttpCallDomains,omitempty"` // TotalHttpCallCount: The total number of HTTP calls made by the @@ -2223,9 +2223,9 @@ type OpenUserListRequest struct { // PolicyCompliance: Policy compliance of the creative for a transaction // type or a region. type PolicyCompliance struct { - // Status: Serving status for the given transaction type (e.g., open - // auction, deals) or region (e.g., China, Russia). Can be used to - // filter the response of the creatives.list method. + // Status: Serving status for the given transaction type (for example, + // open auction, deals) or region (for example, China, Russia). Can be + // used to filter the response of the creatives.list method. // // Possible values: // "STATUS_UNSPECIFIED" - Default value that should never be used. @@ -2239,8 +2239,8 @@ type PolicyCompliance struct { Status string `json:"status,omitempty"` // Topics: Topics related to the policy compliance for this transaction - // type (e.g., open auction, deals) or region (e.g., China, Russia). - // Topics may be present only if status is DISAPPROVED. + // type (for example, open auction, deals) or region (for example, + // China, Russia). Topics may be present only if status is DISAPPROVED. Topics []*PolicyTopicEntry `json:"topics,omitempty"` // ForceSendFields is a list of field names (e.g. "Status") to @@ -3079,7 +3079,7 @@ type WatchCreativesResponse struct { // `projects/{project_id}/subscriptions/{subscription_id}`. Subscription // is created with pull delivery. All service accounts belonging to the // bidder will have read access to this subscription. Subscriptions that - // are inactive for more than 90 days will be disabled. Please use + // are inactive for more than 90 days will be disabled. Use // watchCreatives to re-enable the subscription. Subscription string `json:"subscription,omitempty"` @@ -3472,8 +3472,8 @@ type BiddersCreativesListCall struct { // bidder itself. So for listing creatives pertaining to bidder // (`123`), you would use `buyers/123`. If you want to access all // creatives pertaining to both the bidder and all of its child seat -// accounts, you would use `bidders/{bidderAccountId}`, e.g., for all -// creatives pertaining to bidder (`123`), use `bidders/123`. +// accounts, you would use `bidders/{bidderAccountId}`, for example, +// for all creatives pertaining to bidder (`123`), use `bidders/123`. func (r *BiddersCreativesService) List(parent string) *BiddersCreativesListCall { c := &BiddersCreativesListCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.parent = parent @@ -3492,7 +3492,7 @@ func (c *BiddersCreativesListCall) Filter(filter string) *BiddersCreativesListCa // PageSize sets the optional parameter "pageSize": Requested page size. // The server may return fewer creatives than requested (due to timeout -// constraint) even if more are available via another call. If +// constraint) even if more are available through another call. If // unspecified, server will pick an appropriate default. Acceptable // values are 1 to 1000, inclusive. func (c *BiddersCreativesListCall) PageSize(pageSize int64) *BiddersCreativesListCall { @@ -3648,7 +3648,7 @@ func (c *BiddersCreativesListCall) Do(opts ...googleapi.CallOption) (*ListCreati // "type": "string" // }, // "pageSize": { - // "description": "Requested page size. The server may return fewer creatives than requested (due to timeout constraint) even if more are available via another call. If unspecified, server will pick an appropriate default. Acceptable values are 1 to 1000, inclusive.", + // "description": "Requested page size. The server may return fewer creatives than requested (due to timeout constraint) even if more are available through another call. If unspecified, server will pick an appropriate default. Acceptable values are 1 to 1000, inclusive.", // "format": "int32", // "location": "query", // "type": "integer" @@ -3659,7 +3659,7 @@ func (c *BiddersCreativesListCall) Do(opts ...googleapi.CallOption) (*ListCreati // "type": "string" // }, // "parent": { - // "description": "Required. Name of the parent buyer that owns the creatives. The pattern for this resource is either `buyers/{buyerAccountId}` or `bidders/{bidderAccountId}`. For `buyers/{buyerAccountId}`, the `buyerAccountId` can be one of the following: 1. The ID of the buyer that is accessing their own creatives. 2. The ID of the child seat buyer under a bidder account. So for listing creatives pertaining to the child seat buyer (`456`) under bidder account (`123`), you would use the pattern: `buyers/456`. 3. The ID of the bidder itself. So for listing creatives pertaining to bidder (`123`), you would use `buyers/123`. If you want to access all creatives pertaining to both the bidder and all of its child seat accounts, you would use `bidders/{bidderAccountId}`, e.g., for all creatives pertaining to bidder (`123`), use `bidders/123`.", + // "description": "Required. Name of the parent buyer that owns the creatives. The pattern for this resource is either `buyers/{buyerAccountId}` or `bidders/{bidderAccountId}`. For `buyers/{buyerAccountId}`, the `buyerAccountId` can be one of the following: 1. The ID of the buyer that is accessing their own creatives. 2. The ID of the child seat buyer under a bidder account. So for listing creatives pertaining to the child seat buyer (`456`) under bidder account (`123`), you would use the pattern: `buyers/456`. 3. The ID of the bidder itself. So for listing creatives pertaining to bidder (`123`), you would use `buyers/123`. If you want to access all creatives pertaining to both the bidder and all of its child seat accounts, you would use `bidders/{bidderAccountId}`, for example, for all creatives pertaining to bidder (`123`), use `bidders/123`.", // "location": "path", // "pattern": "^bidders/[^/]+$", // "required": true, @@ -6784,7 +6784,7 @@ func (c *BiddersPublisherConnectionsListCall) OrderBy(orderBy string) *BiddersPu // PageSize sets the optional parameter "pageSize": Requested page size. // The server may return fewer results than requested (due to timeout -// constraint) even if more are available via another call. If +// constraint) even if more are available through another call. If // unspecified, the server will pick an appropriate default. Acceptable // values are 1 to 5000, inclusive. func (c *BiddersPublisherConnectionsListCall) PageSize(pageSize int64) *BiddersPublisherConnectionsListCall { @@ -6920,7 +6920,7 @@ func (c *BiddersPublisherConnectionsListCall) Do(opts ...googleapi.CallOption) ( // "type": "string" // }, // "pageSize": { - // "description": "Requested page size. The server may return fewer results than requested (due to timeout constraint) even if more are available via another call. If unspecified, the server will pick an appropriate default. Acceptable values are 1 to 5000, inclusive.", + // "description": "Requested page size. The server may return fewer results than requested (due to timeout constraint) even if more are available through another call. If unspecified, the server will pick an appropriate default. Acceptable values are 1 to 5000, inclusive.", // "format": "int32", // "location": "query", // "type": "integer" @@ -7815,8 +7815,8 @@ type BuyersCreativesListCall struct { // bidder itself. So for listing creatives pertaining to bidder // (`123`), you would use `buyers/123`. If you want to access all // creatives pertaining to both the bidder and all of its child seat -// accounts, you would use `bidders/{bidderAccountId}`, e.g., for all -// creatives pertaining to bidder (`123`), use `bidders/123`. +// accounts, you would use `bidders/{bidderAccountId}`, for example, +// for all creatives pertaining to bidder (`123`), use `bidders/123`. func (r *BuyersCreativesService) List(parent string) *BuyersCreativesListCall { c := &BuyersCreativesListCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.parent = parent @@ -7835,7 +7835,7 @@ func (c *BuyersCreativesListCall) Filter(filter string) *BuyersCreativesListCall // PageSize sets the optional parameter "pageSize": Requested page size. // The server may return fewer creatives than requested (due to timeout -// constraint) even if more are available via another call. If +// constraint) even if more are available through another call. If // unspecified, server will pick an appropriate default. Acceptable // values are 1 to 1000, inclusive. func (c *BuyersCreativesListCall) PageSize(pageSize int64) *BuyersCreativesListCall { @@ -7991,7 +7991,7 @@ func (c *BuyersCreativesListCall) Do(opts ...googleapi.CallOption) (*ListCreativ // "type": "string" // }, // "pageSize": { - // "description": "Requested page size. The server may return fewer creatives than requested (due to timeout constraint) even if more are available via another call. If unspecified, server will pick an appropriate default. Acceptable values are 1 to 1000, inclusive.", + // "description": "Requested page size. The server may return fewer creatives than requested (due to timeout constraint) even if more are available through another call. If unspecified, server will pick an appropriate default. Acceptable values are 1 to 1000, inclusive.", // "format": "int32", // "location": "query", // "type": "integer" @@ -8002,7 +8002,7 @@ func (c *BuyersCreativesListCall) Do(opts ...googleapi.CallOption) (*ListCreativ // "type": "string" // }, // "parent": { - // "description": "Required. Name of the parent buyer that owns the creatives. The pattern for this resource is either `buyers/{buyerAccountId}` or `bidders/{bidderAccountId}`. For `buyers/{buyerAccountId}`, the `buyerAccountId` can be one of the following: 1. The ID of the buyer that is accessing their own creatives. 2. The ID of the child seat buyer under a bidder account. So for listing creatives pertaining to the child seat buyer (`456`) under bidder account (`123`), you would use the pattern: `buyers/456`. 3. The ID of the bidder itself. So for listing creatives pertaining to bidder (`123`), you would use `buyers/123`. If you want to access all creatives pertaining to both the bidder and all of its child seat accounts, you would use `bidders/{bidderAccountId}`, e.g., for all creatives pertaining to bidder (`123`), use `bidders/123`.", + // "description": "Required. Name of the parent buyer that owns the creatives. The pattern for this resource is either `buyers/{buyerAccountId}` or `bidders/{bidderAccountId}`. For `buyers/{buyerAccountId}`, the `buyerAccountId` can be one of the following: 1. The ID of the buyer that is accessing their own creatives. 2. The ID of the child seat buyer under a bidder account. So for listing creatives pertaining to the child seat buyer (`456`) under bidder account (`123`), you would use the pattern: `buyers/456`. 3. The ID of the bidder itself. So for listing creatives pertaining to bidder (`123`), you would use `buyers/123`. If you want to access all creatives pertaining to both the bidder and all of its child seat accounts, you would use `bidders/{bidderAccountId}`, for example, for all creatives pertaining to bidder (`123`), use `bidders/123`.", // "location": "path", // "pattern": "^buyers/[^/]+$", // "required": true, diff --git a/realtimebidding/v1alpha/realtimebidding-api.json b/realtimebidding/v1alpha/realtimebidding-api.json index 81897e9f28e..6d4ebc01512 100644 --- a/realtimebidding/v1alpha/realtimebidding-api.json +++ b/realtimebidding/v1alpha/realtimebidding-api.json @@ -234,7 +234,7 @@ } } }, - "revision": "20210923", + "revision": "20220914", "rootUrl": "https://realtimebidding.googleapis.com/", "schemas": { "ActivateBiddingFunctionRequest": { @@ -271,7 +271,7 @@ "enumDescriptions": [ "Default value that should not be used.", "An active function. Only `ACTIVE` bidding functions or ad scoring functions are made available for the server-side TURTLEDOVE simulations. Every account is limited to 10 active bidding functions per account.", - "A function that is no longer made available for invocation in a simulation and instead archived. An archived function can later be made active by activating the function via `ActivateBiddingFunction`." + "A function that is no longer made available for invocation in a simulation and instead archived. An archived function can later be made active by activating the function through `ActivateBiddingFunction`." ], "readOnly": true, "type": "string" @@ -286,7 +286,7 @@ "enumDescriptions": [ "Default value that should not be used.", "Bidding function that can be used by Authorized Buyers in the original TURTLEDOVE simulation. See documentation on the TURTLEDOVE simulation at https://developers.google.com/authorized-buyers/rtb/turtledove. The function takes in a Javascript object, `inputs`, that contains the following named fields: `openrtbContextualBidRequest` OR `googleContextualBidRequest`, `customContextualSignal`, `interestBasedBidData`, `interestGroupData`, and returns the bid price CPM. Example: ``` /* Returns a bid price CPM. * * @param {Object} inputs an object with the * following named fields: * - openrtbContextualBidRequest * OR googleContextualBidRequest * - customContextualSignal * - interestBasedBidData * - interestGroupData */ function biddingFunction(inputs) { ... return inputs.interestBasedBidData.cpm * inputs.customContextualSignals.placementMultiplier; } ```", - "Buyer's interest group bidding function that can be used by Authorized Buyers in the FLEDGE simulation. See the FLEDGE explainer at https://github.com/WICG/turtledove/blob/main/FLEDGE.md#32-on-device-bidding. The function takes one argument, `inputs`, that contains an object with the following named fields of the form: ``` { \"interestGroup\" : { \"ad\" : [ \"buyerCreativeId\": \"...\", # Ad creative ID \"adData\": { # JSON object } ], \"userBiddingSignals\": { . # JSON object } }, \"auctionSignals\": { \"url\": # string, \"slotVisibility\": # enum value, \"slotDimensions\": [ { \"height\": # number value \"width\": # number value } ] }, \"perBuyerSignals\": { # JSON object }, \"trustedBiddingSignals\": { # JSON object }, \"browserSignals\": { \"recent_impression_ages_secs\": [ # Array of integers. Not yet populated. ] } } ``` `interestGroup`: An object containing a list of `ad` objects, which contain the following named fields: - `buyerCreativeId`: The ad creative ID string. - `adData`: Any JSON value of the bidder's choosing to contain data associated with an ad provided in `BidResponse.ad.adslot.ad_data` for the Google Authorized Buyers protocol and `BidResponse.seatbid.bid.ext.ad_data` for the OpenRTB protocol. - `userBiddingSignals`: Any JSON value of the bidder's choosing containing interest group data that corresponds to user_bidding_signals (as in FLEDGE). This field will be populated from `BidResponse.interest_group_map.user_bidding_signals` for Google Authorized Buyers protocol and `BidResponse.ext.interest_group_map.user_bidding_signals` for the OpenRTB protocol. `auctionSignals`: Contains data from the seller. It corresponds to the auction signals data described in the FLEDGE proposal. It is an object containing the following named fields: - `url`: The string URL of the page with parameters removed. - `slotVisibility`: Enum of one of the following potential values: - NO_DETECTION = 0 - ABOVE_THE_FOLD = 1 - BELOW_THE_FOLD = 2 - `slotDimensions`: A list of objects containing containing width and height pairs in `width` and `height` fields, respectively, from `BidRequest.adslot.width` and `BidRequest.adslot.height` for the Google Authorized Buyers protocol and `BidRequest.imp.banner.format.w` and `BidRequest.imp.banner.format.h` for the OpenRTB protocol. `perBuyerSignals`: The contextual signals from the bid response that are populated in `BidResponse.interest_group_bidding.interest_group_buyers.per_buyer_signals` for the Google Authorized Buyers protocol and `BidResponse.ext.interest_group_bidding.interest_group_buyers.per_buyer_signals` for the OpenRTB protocol. These signals can be of any JSON format of your choosing, however, the buyer's domain name must match between: - the interest group response in `BidResponse.interest_group_map.buyer_domain` for the Google Authorized Buyers protocol or in `BidResponse.ext.interest_group_map.buyer_domain` for the OpenRTB protocol. - the contextual response as a key to the map in `BidResponse.interest_group_bidding.interest_group_buyers` for the Google Authorized Buyers protocol or in `BidResponse.ext.interest_group_bidding.interest_group_buyers` for the OpenRTB protocol. In other words, there must be a match between the buyer domain of the contextual per_buyer_signals and the domain of an interest group. `trustedBiddingSignals`: The trusted bidding signals that corresponds to the trusted_bidding_signals in the FLEDGE proposal. It is provided in the interest group response as `BidResponse.interest_group_map.user_bidding_signals` for the Google Authorized Buyers protocol and `BidResponse.ext.interest_group_map.user_bidding_signals` for the OpenRTB protocol. This field can be any JSON format of your choosing. `browserSignals`: An object of simulated browser-provider signals. It is an object with a single named field, `recent_impression_ages_secs`, that contains a list of estimated number value recent impression ages in seconds for a given interest group. `recent_impression_ages_secs` is not yet populated. The function returns the string creative ID of the selected ad, the bid price CPM, and (optionally) selected product IDs. In addition, the bidding function may populate an optional debug string that may be used for remote debugging and troubleshooting of a bidder-provided bidding function. The debug string should not contain a user identifier. The maximum length of the debug string is 200 bytes. This debug string is available in `BidResponseFeedback` (https://developers.google.com/authorized-buyers/rtb/realtime-bidding-guide#bidresponsefeedback-object) and `BidFeedback` (https://developers.google.com/authorized-buyers/rtb/openrtb-guide#bidfeedback), for the Google protocol and OpenRTB protocol respectively. In addition, the debug string can be inserted into the creative HTML snippet via macro substitution if the following string is included in the snippet: “%%DEBUG_STRING%%”. Please ensure the debug string complies with [Platform Program Policies](https://support.google.com/platformspolicy/answer/3013851). Sample Bidding Function: ``` function biddingFunction(inputs) { ... return { \"buyerCreativeId\": \"ad_creative_id_1\", \"bidPriceCpm\": 0.3, \"productIds\": [\"product_id_1\", \"product_id_2\", \"product_id_3\"] \"debugString\": \"Bidding function executed successfully!\" } } ```" + "Buyer's interest group bidding function that can be used by Authorized Buyers in the FLEDGE simulation. See the FLEDGE explainer at https://github.com/WICG/turtledove/blob/main/FLEDGE.md#32-on-device-bidding. The function takes one argument, `inputs`, that contains an object with the following named fields of the form: ``` { \"interestGroup\" : { \"ad\" : [ \"buyerCreativeId\": \"...\", # Ad creative ID \"adData\": { # JSON object } ], \"userBiddingSignals\": { . # JSON object } }, \"auctionSignals\": { \"url\": # string, \"slotVisibility\": # enum value, \"slotDimensions\": [ { \"height\": # number value \"width\": # number value } ] }, \"perBuyerSignals\": { # JSON object }, \"trustedBiddingSignals\": { # JSON object }, \"browserSignals\": { \"recent_impression_ages_secs\": [ # Array of integers. Not yet populated. ] } } ``` `interestGroup`: An object containing a list of `ad` objects, which contain the following named fields: - `buyerCreativeId`: The ad creative ID string. - `adData`: Any JSON value of the bidder's choosing to contain data associated with an ad provided in `BidResponse.ad.adslot.ad_data` for the Google Authorized Buyers protocol and `BidResponse.seatbid.bid.ext.ad_data` for the OpenRTB protocol. - `userBiddingSignals`: Any JSON value of the bidder's choosing containing interest group data that corresponds to user_bidding_signals (as in FLEDGE). This field will be populated from `BidResponse.interest_group_map.user_bidding_signals` for Google Authorized Buyers protocol and `BidResponse.ext.interest_group_map.user_bidding_signals` for the OpenRTB protocol. `auctionSignals`: Contains data from the seller. It corresponds to the auction signals data described in the FLEDGE proposal. It is an object containing the following named fields: - `url`: The string URL of the page with parameters removed. - `slotVisibility`: Enum of one of the following potential values: - NO_DETECTION = 0 - ABOVE_THE_FOLD = 1 - BELOW_THE_FOLD = 2 - `slotDimensions`: A list of objects containing containing width and height pairs in `width` and `height` fields, respectively, from `BidRequest.adslot.width` and `BidRequest.adslot.height` for the Google Authorized Buyers protocol and `BidRequest.imp.banner.format.w` and `BidRequest.imp.banner.format.h` for the OpenRTB protocol. `perBuyerSignals`: The contextual signals from the bid response that are populated in `BidResponse.interest_group_bidding.interest_group_buyers.per_buyer_signals` for the Google Authorized Buyers protocol and `BidResponse.ext.interest_group_bidding.interest_group_buyers.per_buyer_signals` for the OpenRTB protocol. These signals can be of any JSON format of your choosing, however, the buyer's domain name must match between: - the interest group response in `BidResponse.interest_group_map.buyer_domain` for the Google Authorized Buyers protocol or in `BidResponse.ext.interest_group_map.buyer_domain` for the OpenRTB protocol. - the contextual response as a key to the map in `BidResponse.interest_group_bidding.interest_group_buyers` for the Google Authorized Buyers protocol or in `BidResponse.ext.interest_group_bidding.interest_group_buyers` for the OpenRTB protocol. In other words, there must be a match between the buyer domain of the contextual per_buyer_signals and the domain of an interest group. `trustedBiddingSignals`: The trusted bidding signals that corresponds to the trusted_bidding_signals in the FLEDGE proposal. It is provided in the interest group response as `BidResponse.interest_group_map.user_bidding_signals` for the Google Authorized Buyers protocol and `BidResponse.ext.interest_group_map.user_bidding_signals` for the OpenRTB protocol. This field can be any JSON format of your choosing. `browserSignals`: An object of simulated browser-provider signals. It is an object with a single named field, `recent_impression_ages_secs`, that contains a list of estimated number value recent impression ages in seconds for a given interest group. `recent_impression_ages_secs` is not yet populated. The function returns the string creative ID of the selected ad, the bid price CPM, and (optionally) selected product IDs. In addition, the bidding function may populate an optional debug string that may be used for remote debugging and troubleshooting of a bidder-provided bidding function. The debug string should not contain a user identifier. The maximum length of the debug string is 200 bytes. This debug string is available in `BidResponseFeedback` (https://developers.google.com/authorized-buyers/rtb/realtime-bidding-guide#bidresponsefeedback-object) and `BidFeedback` (https://developers.google.com/authorized-buyers/rtb/openrtb-guide#bidfeedback), for the Google protocol and OpenRTB protocol respectively. In addition, the debug string can be inserted into the creative HTML snippet through macro substitution if the following string is included in the snippet: “%%DEBUG_STRING%%”. Ensure the debug string complies with [Platform Program Policies](https://support.google.com/platformspolicy/answer/3013851). Sample Bidding Function: ``` function biddingFunction(inputs) { ... return { \"buyerCreativeId\": \"ad_creative_id_1\", \"bidPriceCpm\": 0.3, \"productIds\": [\"product_id_1\", \"product_id_2\", \"product_id_3\"] \"debugString\": \"Bidding function executed successfully!\" } } ```" ], "type": "string" } diff --git a/realtimebidding/v1alpha/realtimebidding-gen.go b/realtimebidding/v1alpha/realtimebidding-gen.go index 990fae9dfeb..d8aee61a8d4 100644 --- a/realtimebidding/v1alpha/realtimebidding-gen.go +++ b/realtimebidding/v1alpha/realtimebidding-gen.go @@ -190,7 +190,7 @@ type BiddingFunction struct { // functions per account. // "ARCHIVED" - A function that is no longer made available for // invocation in a simulation and instead archived. An archived function - // can later be made active by activating the function via + // can later be made active by activating the function through // `ActivateBiddingFunction`. State string `json:"state,omitempty"` @@ -291,9 +291,9 @@ type BiddingFunction struct { // (https://developers.google.com/authorized-buyers/rtb/openrtb-guide#bidfeedback), // for the Google protocol and OpenRTB protocol respectively. In // addition, the debug string can be inserted into the creative HTML - // snippet via macro substitution if the following string is included in - // the snippet: “%%DEBUG_STRING%%”. Please ensure the debug string - // complies with [Platform Program + // snippet through macro substitution if the following string is + // included in the snippet: “%%DEBUG_STRING%%”. Ensure the debug + // string complies with [Platform Program // Policies](https://support.google.com/platformspolicy/answer/3013851). // Sample Bidding Function: ``` function biddingFunction(inputs) { ... // return { "buyerCreativeId": "ad_creative_id_1", "bidPriceCpm": 0.3, diff --git a/retail/v2/retail-api.json b/retail/v2/retail-api.json index 55e42b4afa5..768819f44ee 100644 --- a/retail/v2/retail-api.json +++ b/retail/v2/retail-api.json @@ -1770,7 +1770,7 @@ } } }, - "revision": "20220825", + "revision": "20220909", "rootUrl": "https://retail.googleapis.com/", "schemas": { "GoogleApiHttpBody": { @@ -2147,7 +2147,7 @@ "type": "string" }, "inUse": { - "description": "Output only. Indicates whether this attribute has been used by any products. `True` if at least one Product is using this attribute in Product.attributes. Otherwise, this field is `False`. CatalogAttribute can be pre-loaded by using CatalogService.AddCatalogAttribute, CatalogService.ImportCatalogAttributes, or CatalogService.UpdateAttributesConfig APIs. This field is `False` for pre-loaded CatalogAttributes. Only pre-loaded CatalogAttributes that are neither in use by products nor predefined can be deleted. CatalogAttributes that are either in use by products or are predefined cannot be deleted; however, their configuration properties will reset to default values upon removal request. After catalog changes, it takes about 10 minutes for this field to update.", + "description": "Output only. Indicates whether this attribute has been used by any products. `True` if at least one Product is using this attribute in Product.attributes. Otherwise, this field is `False`. CatalogAttribute can be pre-loaded by using CatalogService.AddCatalogAttribute, CatalogService.ImportCatalogAttributes, or CatalogService.UpdateAttributesConfig APIs. This field is `False` for pre-loaded CatalogAttributes. Only pre-loaded catalog attributes that are neither in use by products nor predefined can be deleted. Catalog attributes that are either in use by products or are predefined attributes cannot be deleted; however, their configuration properties will reset to default values upon removal request. After catalog changes, it takes about 10 minutes for this field to update.", "readOnly": true, "type": "boolean" }, @@ -3071,7 +3071,7 @@ "type": "integer" }, "availableTime": { - "description": "The timestamp when this Product becomes available for SearchService.Search.", + "description": "The timestamp when this Product becomes available for SearchService.Search. Note that this is only applicable to Type.PRIMARY and Type.COLLECTION, and ignored for Type.VARIANT.", "format": "google-datetime", "type": "string" }, @@ -3112,7 +3112,7 @@ "type": "string" }, "expireTime": { - "description": "The timestamp when this product becomes unavailable for SearchService.Search. If it is set, the Product is not available for SearchService.Search after expire_time. However, the product can still be retrieved by ProductService.GetProduct and ProductService.ListProducts. expire_time must be later than available_time and publish_time, otherwise an INVALID_ARGUMENT error is thrown. Corresponding properties: Google Merchant Center property [expiration_date](https://support.google.com/merchants/answer/6324499).", + "description": "The timestamp when this product becomes unavailable for SearchService.Search. Note that this is only applicable to Type.PRIMARY and Type.COLLECTION, and ignored for Type.VARIANT. In general, we suggest the users to delete the stale products explicitly, instead of using this field to determine staleness. If it is set, the Product is not available for SearchService.Search after expire_time. However, the product can still be retrieved by ProductService.GetProduct and ProductService.ListProducts. expire_time must be later than available_time and publish_time, otherwise an INVALID_ARGUMENT error is thrown. Corresponding properties: Google Merchant Center property [expiration_date](https://support.google.com/merchants/answer/6324499).", "format": "google-datetime", "type": "string" }, @@ -3143,7 +3143,7 @@ "type": "string" }, "localInventories": { - "description": "Output only. A list of local inventories specific to different places. This is only available for users who have Retail Search enabled, and it can be managed by AddLocalInventories and RemoveLocalInventories APIs.", + "description": "Output only. A list of local inventories specific to different places. This is only available for users who have Retail Search enabled, and it can be managed by ProductService.AddLocalInventories and ProductService.RemoveLocalInventories APIs.", "items": { "$ref": "GoogleCloudRetailV2LocalInventory" }, @@ -3216,7 +3216,7 @@ "type": "string" }, "ttl": { - "description": "Input only. The TTL (time to live) of the product. If it is set, it must be a non-negative value, and expire_time is set as current timestamp plus ttl. The derived expire_time is returned in the output and ttl is left blank when retrieving the Product. If it is set, the product is not available for SearchService.Search after current timestamp plus ttl. However, the product can still be retrieved by ProductService.GetProduct and ProductService.ListProducts.", + "description": "Input only. The TTL (time to live) of the product. Note that this is only applicable to Type.PRIMARY and Type.COLLECTION, and ignored for Type.VARIANT. In general, we suggest the users to delete the stale products explicitly, instead of using this field to determine staleness. If it is set, it must be a non-negative value, and expire_time is set as current timestamp plus ttl. The derived expire_time is returned in the output and ttl is left blank when retrieving the Product. If it is set, the product is not available for SearchService.Search after current timestamp plus ttl. However, the product can still be retrieved by ProductService.GetProduct and ProductService.ListProducts.", "format": "google-duration", "type": "string" }, diff --git a/retail/v2/retail-gen.go b/retail/v2/retail-gen.go index eecb701d34b..70f41f67fd9 100644 --- a/retail/v2/retail-gen.go +++ b/retail/v2/retail-gen.go @@ -1043,10 +1043,10 @@ type GoogleCloudRetailV2CatalogAttribute struct { // CatalogService.AddCatalogAttribute, // CatalogService.ImportCatalogAttributes, or // CatalogService.UpdateAttributesConfig APIs. This field is `False` for - // pre-loaded CatalogAttributes. Only pre-loaded CatalogAttributes that - // are neither in use by products nor predefined can be deleted. - // CatalogAttributes that are either in use by products or are - // predefined cannot be deleted; however, their configuration properties + // pre-loaded CatalogAttributes. Only pre-loaded catalog attributes that + // are neither in use by products nor predefined can be deleted. Catalog + // attributes that are either in use by products or are predefined + // attributes cannot be deleted; however, their configuration properties // will reset to default values upon removal request. After catalog // changes, it takes about 10 minutes for this field to update. InUse bool `json:"inUse,omitempty"` @@ -2849,7 +2849,8 @@ type GoogleCloudRetailV2Product struct { AvailableQuantity int64 `json:"availableQuantity,omitempty"` // AvailableTime: The timestamp when this Product becomes available for - // SearchService.Search. + // SearchService.Search. Note that this is only applicable to + // Type.PRIMARY and Type.COLLECTION, and ignored for Type.VARIANT. AvailableTime string `json:"availableTime,omitempty"` // Brands: The brands of the product. A maximum of 30 brands are @@ -2913,13 +2914,16 @@ type GoogleCloudRetailV2Product struct { Description string `json:"description,omitempty"` // ExpireTime: The timestamp when this product becomes unavailable for - // SearchService.Search. If it is set, the Product is not available for - // SearchService.Search after expire_time. However, the product can - // still be retrieved by ProductService.GetProduct and - // ProductService.ListProducts. expire_time must be later than - // available_time and publish_time, otherwise an INVALID_ARGUMENT error - // is thrown. Corresponding properties: Google Merchant Center property - // expiration_date + // SearchService.Search. Note that this is only applicable to + // Type.PRIMARY and Type.COLLECTION, and ignored for Type.VARIANT. In + // general, we suggest the users to delete the stale products + // explicitly, instead of using this field to determine staleness. If it + // is set, the Product is not available for SearchService.Search after + // expire_time. However, the product can still be retrieved by + // ProductService.GetProduct and ProductService.ListProducts. + // expire_time must be later than available_time and publish_time, + // otherwise an INVALID_ARGUMENT error is thrown. Corresponding + // properties: Google Merchant Center property expiration_date // (https://support.google.com/merchants/answer/6324499). ExpireTime string `json:"expireTime,omitempty"` @@ -2972,8 +2976,9 @@ type GoogleCloudRetailV2Product struct { // LocalInventories: Output only. A list of local inventories specific // to different places. This is only available for users who have Retail - // Search enabled, and it can be managed by AddLocalInventories and - // RemoveLocalInventories APIs. + // Search enabled, and it can be managed by + // ProductService.AddLocalInventories and + // ProductService.RemoveLocalInventories APIs. LocalInventories []*GoogleCloudRetailV2LocalInventory `json:"localInventories,omitempty"` // Materials: The material of the product. For example, "leather", @@ -3084,13 +3089,17 @@ type GoogleCloudRetailV2Product struct { // property Product.name (https://schema.org/name). Title string `json:"title,omitempty"` - // Ttl: Input only. The TTL (time to live) of the product. If it is set, - // it must be a non-negative value, and expire_time is set as current - // timestamp plus ttl. The derived expire_time is returned in the output - // and ttl is left blank when retrieving the Product. If it is set, the - // product is not available for SearchService.Search after current - // timestamp plus ttl. However, the product can still be retrieved by - // ProductService.GetProduct and ProductService.ListProducts. + // Ttl: Input only. The TTL (time to live) of the product. Note that + // this is only applicable to Type.PRIMARY and Type.COLLECTION, and + // ignored for Type.VARIANT. In general, we suggest the users to delete + // the stale products explicitly, instead of using this field to + // determine staleness. If it is set, it must be a non-negative value, + // and expire_time is set as current timestamp plus ttl. The derived + // expire_time is returned in the output and ttl is left blank when + // retrieving the Product. If it is set, the product is not available + // for SearchService.Search after current timestamp plus ttl. However, + // the product can still be retrieved by ProductService.GetProduct and + // ProductService.ListProducts. Ttl string `json:"ttl,omitempty"` // Type: Immutable. The type of the product. Default to diff --git a/retail/v2alpha/retail-api.json b/retail/v2alpha/retail-api.json index 45310399593..48e10f8d600 100644 --- a/retail/v2alpha/retail-api.json +++ b/retail/v2alpha/retail-api.json @@ -2080,7 +2080,7 @@ } } }, - "revision": "20220825", + "revision": "20220909", "rootUrl": "https://retail.googleapis.com/", "schemas": { "GoogleApiHttpBody": { @@ -2620,14 +2620,14 @@ "id": "GoogleCloudRetailV2alphaBatchRemoveCatalogAttributesResponse", "properties": { "deletedCatalogAttributes": { - "description": "Catalog attributes that were deleted. Only attributes that are not in use by products can be deleted.", + "description": "Catalog attributes that were deleted. Only pre-loaded catalog attributes that are neither in use by products nor predefined can be deleted.", "items": { "type": "string" }, "type": "array" }, "resetCatalogAttributes": { - "description": "Catalog attributes that were reset. Attributes that are in use by products cannot be deleted, however their configuration properties will reset to default values upon removal request.", + "description": "Catalog attributes that were reset. Catalog attributes that are either in use by products or are predefined attributes cannot be deleted; however, their configuration properties will reset to default values upon removal request.", "items": { "type": "string" }, @@ -2738,7 +2738,7 @@ "type": "string" }, "inUse": { - "description": "Output only. Indicates whether this attribute has been used by any products. `True` if at least one Product is using this attribute in Product.attributes. Otherwise, this field is `False`. CatalogAttribute can be pre-loaded by using CatalogService.AddCatalogAttribute, CatalogService.ImportCatalogAttributes, or CatalogService.UpdateAttributesConfig APIs. This field is `False` for pre-loaded CatalogAttributes. Only pre-loaded CatalogAttributes that are neither in use by products nor predefined can be deleted. CatalogAttributes that are either in use by products or are predefined cannot be deleted; however, their configuration properties will reset to default values upon removal request. After catalog changes, it takes about 10 minutes for this field to update.", + "description": "Output only. Indicates whether this attribute has been used by any products. `True` if at least one Product is using this attribute in Product.attributes. Otherwise, this field is `False`. CatalogAttribute can be pre-loaded by using CatalogService.AddCatalogAttribute, CatalogService.ImportCatalogAttributes, or CatalogService.UpdateAttributesConfig APIs. This field is `False` for pre-loaded CatalogAttributes. Only pre-loaded catalog attributes that are neither in use by products nor predefined can be deleted. Catalog attributes that are either in use by products or are predefined attributes cannot be deleted; however, their configuration properties will reset to default values upon removal request. After catalog changes, it takes about 10 minutes for this field to update.", "readOnly": true, "type": "boolean" }, @@ -4076,7 +4076,7 @@ "type": "integer" }, "availableTime": { - "description": "The timestamp when this Product becomes available for SearchService.Search.", + "description": "The timestamp when this Product becomes available for SearchService.Search. Note that this is only applicable to Type.PRIMARY and Type.COLLECTION, and ignored for Type.VARIANT.", "format": "google-datetime", "type": "string" }, @@ -4117,7 +4117,7 @@ "type": "string" }, "expireTime": { - "description": "The timestamp when this product becomes unavailable for SearchService.Search. If it is set, the Product is not available for SearchService.Search after expire_time. However, the product can still be retrieved by ProductService.GetProduct and ProductService.ListProducts. expire_time must be later than available_time and publish_time, otherwise an INVALID_ARGUMENT error is thrown. Corresponding properties: Google Merchant Center property [expiration_date](https://support.google.com/merchants/answer/6324499).", + "description": "The timestamp when this product becomes unavailable for SearchService.Search. Note that this is only applicable to Type.PRIMARY and Type.COLLECTION, and ignored for Type.VARIANT. In general, we suggest the users to delete the stale products explicitly, instead of using this field to determine staleness. If it is set, the Product is not available for SearchService.Search after expire_time. However, the product can still be retrieved by ProductService.GetProduct and ProductService.ListProducts. expire_time must be later than available_time and publish_time, otherwise an INVALID_ARGUMENT error is thrown. Corresponding properties: Google Merchant Center property [expiration_date](https://support.google.com/merchants/answer/6324499).", "format": "google-datetime", "type": "string" }, @@ -4148,7 +4148,7 @@ "type": "string" }, "localInventories": { - "description": "Output only. A list of local inventories specific to different places. This is only available for users who have Retail Search enabled, and it can be managed by AddLocalInventories and RemoveLocalInventories APIs.", + "description": "Output only. A list of local inventories specific to different places. This is only available for users who have Retail Search enabled, and it can be managed by ProductService.AddLocalInventories and ProductService.RemoveLocalInventories APIs.", "items": { "$ref": "GoogleCloudRetailV2alphaLocalInventory" }, @@ -4221,7 +4221,7 @@ "type": "string" }, "ttl": { - "description": "Input only. The TTL (time to live) of the product. If it is set, it must be a non-negative value, and expire_time is set as current timestamp plus ttl. The derived expire_time is returned in the output and ttl is left blank when retrieving the Product. If it is set, the product is not available for SearchService.Search after current timestamp plus ttl. However, the product can still be retrieved by ProductService.GetProduct and ProductService.ListProducts.", + "description": "Input only. The TTL (time to live) of the product. Note that this is only applicable to Type.PRIMARY and Type.COLLECTION, and ignored for Type.VARIANT. In general, we suggest the users to delete the stale products explicitly, instead of using this field to determine staleness. If it is set, it must be a non-negative value, and expire_time is set as current timestamp plus ttl. The derived expire_time is returned in the output and ttl is left blank when retrieving the Product. If it is set, the product is not available for SearchService.Search after current timestamp plus ttl. However, the product can still be retrieved by ProductService.GetProduct and ProductService.ListProducts.", "format": "google-duration", "type": "string" }, diff --git a/retail/v2alpha/retail-gen.go b/retail/v2alpha/retail-gen.go index f02a451285c..cb0e8e62c07 100644 --- a/retail/v2alpha/retail-gen.go +++ b/retail/v2alpha/retail-gen.go @@ -1359,13 +1359,14 @@ func (s *GoogleCloudRetailV2alphaBatchRemoveCatalogAttributesRequest) MarshalJSO // Response of the CatalogService.BatchRemoveCatalogAttributes. type GoogleCloudRetailV2alphaBatchRemoveCatalogAttributesResponse struct { // DeletedCatalogAttributes: Catalog attributes that were deleted. Only - // attributes that are not in use by products can be deleted. + // pre-loaded catalog attributes that are neither in use by products nor + // predefined can be deleted. DeletedCatalogAttributes []string `json:"deletedCatalogAttributes,omitempty"` - // ResetCatalogAttributes: Catalog attributes that were reset. - // Attributes that are in use by products cannot be deleted, however - // their configuration properties will reset to default values upon - // removal request. + // ResetCatalogAttributes: Catalog attributes that were reset. Catalog + // attributes that are either in use by products or are predefined + // attributes cannot be deleted; however, their configuration properties + // will reset to default values upon removal request. ResetCatalogAttributes []string `json:"resetCatalogAttributes,omitempty"` // ServerResponse contains the HTTP response code and headers from the @@ -1582,10 +1583,10 @@ type GoogleCloudRetailV2alphaCatalogAttribute struct { // CatalogService.AddCatalogAttribute, // CatalogService.ImportCatalogAttributes, or // CatalogService.UpdateAttributesConfig APIs. This field is `False` for - // pre-loaded CatalogAttributes. Only pre-loaded CatalogAttributes that - // are neither in use by products nor predefined can be deleted. - // CatalogAttributes that are either in use by products or are - // predefined cannot be deleted; however, their configuration properties + // pre-loaded CatalogAttributes. Only pre-loaded catalog attributes that + // are neither in use by products nor predefined can be deleted. Catalog + // attributes that are either in use by products or are predefined + // attributes cannot be deleted; however, their configuration properties // will reset to default values upon removal request. After catalog // changes, it takes about 10 minutes for this field to update. InUse bool `json:"inUse,omitempty"` @@ -4158,7 +4159,8 @@ type GoogleCloudRetailV2alphaProduct struct { AvailableQuantity int64 `json:"availableQuantity,omitempty"` // AvailableTime: The timestamp when this Product becomes available for - // SearchService.Search. + // SearchService.Search. Note that this is only applicable to + // Type.PRIMARY and Type.COLLECTION, and ignored for Type.VARIANT. AvailableTime string `json:"availableTime,omitempty"` // Brands: The brands of the product. A maximum of 30 brands are @@ -4222,13 +4224,16 @@ type GoogleCloudRetailV2alphaProduct struct { Description string `json:"description,omitempty"` // ExpireTime: The timestamp when this product becomes unavailable for - // SearchService.Search. If it is set, the Product is not available for - // SearchService.Search after expire_time. However, the product can - // still be retrieved by ProductService.GetProduct and - // ProductService.ListProducts. expire_time must be later than - // available_time and publish_time, otherwise an INVALID_ARGUMENT error - // is thrown. Corresponding properties: Google Merchant Center property - // expiration_date + // SearchService.Search. Note that this is only applicable to + // Type.PRIMARY and Type.COLLECTION, and ignored for Type.VARIANT. In + // general, we suggest the users to delete the stale products + // explicitly, instead of using this field to determine staleness. If it + // is set, the Product is not available for SearchService.Search after + // expire_time. However, the product can still be retrieved by + // ProductService.GetProduct and ProductService.ListProducts. + // expire_time must be later than available_time and publish_time, + // otherwise an INVALID_ARGUMENT error is thrown. Corresponding + // properties: Google Merchant Center property expiration_date // (https://support.google.com/merchants/answer/6324499). ExpireTime string `json:"expireTime,omitempty"` @@ -4281,8 +4286,9 @@ type GoogleCloudRetailV2alphaProduct struct { // LocalInventories: Output only. A list of local inventories specific // to different places. This is only available for users who have Retail - // Search enabled, and it can be managed by AddLocalInventories and - // RemoveLocalInventories APIs. + // Search enabled, and it can be managed by + // ProductService.AddLocalInventories and + // ProductService.RemoveLocalInventories APIs. LocalInventories []*GoogleCloudRetailV2alphaLocalInventory `json:"localInventories,omitempty"` // Materials: The material of the product. For example, "leather", @@ -4393,13 +4399,17 @@ type GoogleCloudRetailV2alphaProduct struct { // property Product.name (https://schema.org/name). Title string `json:"title,omitempty"` - // Ttl: Input only. The TTL (time to live) of the product. If it is set, - // it must be a non-negative value, and expire_time is set as current - // timestamp plus ttl. The derived expire_time is returned in the output - // and ttl is left blank when retrieving the Product. If it is set, the - // product is not available for SearchService.Search after current - // timestamp plus ttl. However, the product can still be retrieved by - // ProductService.GetProduct and ProductService.ListProducts. + // Ttl: Input only. The TTL (time to live) of the product. Note that + // this is only applicable to Type.PRIMARY and Type.COLLECTION, and + // ignored for Type.VARIANT. In general, we suggest the users to delete + // the stale products explicitly, instead of using this field to + // determine staleness. If it is set, it must be a non-negative value, + // and expire_time is set as current timestamp plus ttl. The derived + // expire_time is returned in the output and ttl is left blank when + // retrieving the Product. If it is set, the product is not available + // for SearchService.Search after current timestamp plus ttl. However, + // the product can still be retrieved by ProductService.GetProduct and + // ProductService.ListProducts. Ttl string `json:"ttl,omitempty"` // Type: Immutable. The type of the product. Default to diff --git a/retail/v2beta/retail-api.json b/retail/v2beta/retail-api.json index c75670e892a..ab3a16151ba 100644 --- a/retail/v2beta/retail-api.json +++ b/retail/v2beta/retail-api.json @@ -2014,7 +2014,7 @@ } } }, - "revision": "20220825", + "revision": "20220909", "rootUrl": "https://retail.googleapis.com/", "schemas": { "GoogleApiHttpBody": { @@ -3180,14 +3180,14 @@ "id": "GoogleCloudRetailV2betaBatchRemoveCatalogAttributesResponse", "properties": { "deletedCatalogAttributes": { - "description": "Catalog attributes that were deleted. Only attributes that are not in use by products can be deleted.", + "description": "Catalog attributes that were deleted. Only pre-loaded catalog attributes that are neither in use by products nor predefined can be deleted.", "items": { "type": "string" }, "type": "array" }, "resetCatalogAttributes": { - "description": "Catalog attributes that were reset. Attributes that are in use by products cannot be deleted, however their configuration properties will reset to default values upon removal request.", + "description": "Catalog attributes that were reset. Catalog attributes that are either in use by products or are predefined attributes cannot be deleted; however, their configuration properties will reset to default values upon removal request.", "items": { "type": "string" }, @@ -3298,7 +3298,7 @@ "type": "string" }, "inUse": { - "description": "Output only. Indicates whether this attribute has been used by any products. `True` if at least one Product is using this attribute in Product.attributes. Otherwise, this field is `False`. CatalogAttribute can be pre-loaded by using CatalogService.AddCatalogAttribute, CatalogService.ImportCatalogAttributes, or CatalogService.UpdateAttributesConfig APIs. This field is `False` for pre-loaded CatalogAttributes. Only pre-loaded CatalogAttributes that are neither in use by products nor predefined can be deleted. CatalogAttributes that are either in use by products or are predefined cannot be deleted; however, their configuration properties will reset to default values upon removal request. After catalog changes, it takes about 10 minutes for this field to update.", + "description": "Output only. Indicates whether this attribute has been used by any products. `True` if at least one Product is using this attribute in Product.attributes. Otherwise, this field is `False`. CatalogAttribute can be pre-loaded by using CatalogService.AddCatalogAttribute, CatalogService.ImportCatalogAttributes, or CatalogService.UpdateAttributesConfig APIs. This field is `False` for pre-loaded CatalogAttributes. Only pre-loaded catalog attributes that are neither in use by products nor predefined can be deleted. Catalog attributes that are either in use by products or are predefined attributes cannot be deleted; however, their configuration properties will reset to default values upon removal request. After catalog changes, it takes about 10 minutes for this field to update.", "readOnly": true, "type": "boolean" }, @@ -4539,7 +4539,7 @@ "type": "integer" }, "availableTime": { - "description": "The timestamp when this Product becomes available for SearchService.Search.", + "description": "The timestamp when this Product becomes available for SearchService.Search. Note that this is only applicable to Type.PRIMARY and Type.COLLECTION, and ignored for Type.VARIANT.", "format": "google-datetime", "type": "string" }, @@ -4580,7 +4580,7 @@ "type": "string" }, "expireTime": { - "description": "The timestamp when this product becomes unavailable for SearchService.Search. If it is set, the Product is not available for SearchService.Search after expire_time. However, the product can still be retrieved by ProductService.GetProduct and ProductService.ListProducts. expire_time must be later than available_time and publish_time, otherwise an INVALID_ARGUMENT error is thrown. Corresponding properties: Google Merchant Center property [expiration_date](https://support.google.com/merchants/answer/6324499).", + "description": "The timestamp when this product becomes unavailable for SearchService.Search. Note that this is only applicable to Type.PRIMARY and Type.COLLECTION, and ignored for Type.VARIANT. In general, we suggest the users to delete the stale products explicitly, instead of using this field to determine staleness. If it is set, the Product is not available for SearchService.Search after expire_time. However, the product can still be retrieved by ProductService.GetProduct and ProductService.ListProducts. expire_time must be later than available_time and publish_time, otherwise an INVALID_ARGUMENT error is thrown. Corresponding properties: Google Merchant Center property [expiration_date](https://support.google.com/merchants/answer/6324499).", "format": "google-datetime", "type": "string" }, @@ -4611,7 +4611,7 @@ "type": "string" }, "localInventories": { - "description": "Output only. A list of local inventories specific to different places. This is only available for users who have Retail Search enabled, and it can be managed by AddLocalInventories and RemoveLocalInventories APIs.", + "description": "Output only. A list of local inventories specific to different places. This is only available for users who have Retail Search enabled, and it can be managed by ProductService.AddLocalInventories and ProductService.RemoveLocalInventories APIs.", "items": { "$ref": "GoogleCloudRetailV2betaLocalInventory" }, @@ -4684,7 +4684,7 @@ "type": "string" }, "ttl": { - "description": "Input only. The TTL (time to live) of the product. If it is set, it must be a non-negative value, and expire_time is set as current timestamp plus ttl. The derived expire_time is returned in the output and ttl is left blank when retrieving the Product. If it is set, the product is not available for SearchService.Search after current timestamp plus ttl. However, the product can still be retrieved by ProductService.GetProduct and ProductService.ListProducts.", + "description": "Input only. The TTL (time to live) of the product. Note that this is only applicable to Type.PRIMARY and Type.COLLECTION, and ignored for Type.VARIANT. In general, we suggest the users to delete the stale products explicitly, instead of using this field to determine staleness. If it is set, it must be a non-negative value, and expire_time is set as current timestamp plus ttl. The derived expire_time is returned in the output and ttl is left blank when retrieving the Product. If it is set, the product is not available for SearchService.Search after current timestamp plus ttl. However, the product can still be retrieved by ProductService.GetProduct and ProductService.ListProducts.", "format": "google-duration", "type": "string" }, diff --git a/retail/v2beta/retail-gen.go b/retail/v2beta/retail-gen.go index ee39a1df3a6..3d67be33705 100644 --- a/retail/v2beta/retail-gen.go +++ b/retail/v2beta/retail-gen.go @@ -2481,13 +2481,14 @@ func (s *GoogleCloudRetailV2betaBatchRemoveCatalogAttributesRequest) MarshalJSON // of the CatalogService.BatchRemoveCatalogAttributes. type GoogleCloudRetailV2betaBatchRemoveCatalogAttributesResponse struct { // DeletedCatalogAttributes: Catalog attributes that were deleted. Only - // attributes that are not in use by products can be deleted. + // pre-loaded catalog attributes that are neither in use by products nor + // predefined can be deleted. DeletedCatalogAttributes []string `json:"deletedCatalogAttributes,omitempty"` - // ResetCatalogAttributes: Catalog attributes that were reset. - // Attributes that are in use by products cannot be deleted, however - // their configuration properties will reset to default values upon - // removal request. + // ResetCatalogAttributes: Catalog attributes that were reset. Catalog + // attributes that are either in use by products or are predefined + // attributes cannot be deleted; however, their configuration properties + // will reset to default values upon removal request. ResetCatalogAttributes []string `json:"resetCatalogAttributes,omitempty"` // ServerResponse contains the HTTP response code and headers from the @@ -2704,10 +2705,10 @@ type GoogleCloudRetailV2betaCatalogAttribute struct { // CatalogService.AddCatalogAttribute, // CatalogService.ImportCatalogAttributes, or // CatalogService.UpdateAttributesConfig APIs. This field is `False` for - // pre-loaded CatalogAttributes. Only pre-loaded CatalogAttributes that - // are neither in use by products nor predefined can be deleted. - // CatalogAttributes that are either in use by products or are - // predefined cannot be deleted; however, their configuration properties + // pre-loaded CatalogAttributes. Only pre-loaded catalog attributes that + // are neither in use by products nor predefined can be deleted. Catalog + // attributes that are either in use by products or are predefined + // attributes cannot be deleted; however, their configuration properties // will reset to default values upon removal request. After catalog // changes, it takes about 10 minutes for this field to update. InUse bool `json:"inUse,omitempty"` @@ -5045,7 +5046,8 @@ type GoogleCloudRetailV2betaProduct struct { AvailableQuantity int64 `json:"availableQuantity,omitempty"` // AvailableTime: The timestamp when this Product becomes available for - // SearchService.Search. + // SearchService.Search. Note that this is only applicable to + // Type.PRIMARY and Type.COLLECTION, and ignored for Type.VARIANT. AvailableTime string `json:"availableTime,omitempty"` // Brands: The brands of the product. A maximum of 30 brands are @@ -5109,13 +5111,16 @@ type GoogleCloudRetailV2betaProduct struct { Description string `json:"description,omitempty"` // ExpireTime: The timestamp when this product becomes unavailable for - // SearchService.Search. If it is set, the Product is not available for - // SearchService.Search after expire_time. However, the product can - // still be retrieved by ProductService.GetProduct and - // ProductService.ListProducts. expire_time must be later than - // available_time and publish_time, otherwise an INVALID_ARGUMENT error - // is thrown. Corresponding properties: Google Merchant Center property - // expiration_date + // SearchService.Search. Note that this is only applicable to + // Type.PRIMARY and Type.COLLECTION, and ignored for Type.VARIANT. In + // general, we suggest the users to delete the stale products + // explicitly, instead of using this field to determine staleness. If it + // is set, the Product is not available for SearchService.Search after + // expire_time. However, the product can still be retrieved by + // ProductService.GetProduct and ProductService.ListProducts. + // expire_time must be later than available_time and publish_time, + // otherwise an INVALID_ARGUMENT error is thrown. Corresponding + // properties: Google Merchant Center property expiration_date // (https://support.google.com/merchants/answer/6324499). ExpireTime string `json:"expireTime,omitempty"` @@ -5168,8 +5173,9 @@ type GoogleCloudRetailV2betaProduct struct { // LocalInventories: Output only. A list of local inventories specific // to different places. This is only available for users who have Retail - // Search enabled, and it can be managed by AddLocalInventories and - // RemoveLocalInventories APIs. + // Search enabled, and it can be managed by + // ProductService.AddLocalInventories and + // ProductService.RemoveLocalInventories APIs. LocalInventories []*GoogleCloudRetailV2betaLocalInventory `json:"localInventories,omitempty"` // Materials: The material of the product. For example, "leather", @@ -5280,13 +5286,17 @@ type GoogleCloudRetailV2betaProduct struct { // property Product.name (https://schema.org/name). Title string `json:"title,omitempty"` - // Ttl: Input only. The TTL (time to live) of the product. If it is set, - // it must be a non-negative value, and expire_time is set as current - // timestamp plus ttl. The derived expire_time is returned in the output - // and ttl is left blank when retrieving the Product. If it is set, the - // product is not available for SearchService.Search after current - // timestamp plus ttl. However, the product can still be retrieved by - // ProductService.GetProduct and ProductService.ListProducts. + // Ttl: Input only. The TTL (time to live) of the product. Note that + // this is only applicable to Type.PRIMARY and Type.COLLECTION, and + // ignored for Type.VARIANT. In general, we suggest the users to delete + // the stale products explicitly, instead of using this field to + // determine staleness. If it is set, it must be a non-negative value, + // and expire_time is set as current timestamp plus ttl. The derived + // expire_time is returned in the output and ttl is left blank when + // retrieving the Product. If it is set, the product is not available + // for SearchService.Search after current timestamp plus ttl. However, + // the product can still be retrieved by ProductService.GetProduct and + // ProductService.ListProducts. Ttl string `json:"ttl,omitempty"` // Type: Immutable. The type of the product. Default to diff --git a/securitycenter/v1/securitycenter-api.json b/securitycenter/v1/securitycenter-api.json index c2c0026e583..782c6f17a3d 100644 --- a/securitycenter/v1/securitycenter-api.json +++ b/securitycenter/v1/securitycenter-api.json @@ -3058,7 +3058,7 @@ } } }, - "revision": "20220825", + "revision": "20220909", "rootUrl": "https://securitycenter.googleapis.com/", "schemas": { "Access": { @@ -3904,6 +3904,11 @@ "description": "The relative resource name of the source the finding belongs to. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name This field is immutable after creation time. For example: \"organizations/{organization_id}/sources/{source_id}\"", "type": "string" }, + "parentDisplayName": { + "description": "Output only. The human readable display name of the finding source such as \"Event Threat Detection\" or \"Security Health Analytics\"", + "readOnly": true, + "type": "string" + }, "processes": { "description": "Represents operating system processes associated with the Finding.", "items": { @@ -4225,6 +4230,42 @@ }, "type": "object" }, + "GoogleCloudSecuritycenterV1ResourceValueConfig": { + "description": "A resource value config is a mapping configuration of user's tag values to resource values. Used by the attack path simulation.", + "id": "GoogleCloudSecuritycenterV1ResourceValueConfig", + "properties": { + "name": { + "description": "Name for the resource value config", + "type": "string" + }, + "resourceValue": { + "description": "Required. Resource value level this expression represents", + "enum": [ + "RESOURCE_VALUE_UNSPECIFIED", + "HIGH", + "MEDIUM", + "LOW", + "NONE" + ], + "enumDescriptions": [ + "Unspecific value", + "High resource value", + "Medium resource value", + "Low resource value", + "No resource value, e.g. ignore these resources" + ], + "type": "string" + }, + "tagValues": { + "description": "Required. Tag values combined with AND to check against. Values in the form \"tagValues/123\" E.g. [ \"tagValues/123\", \"tagValues/456\", \"tagValues/789\" ] https://cloud.google.com/resource-manager/docs/tags/tags-creating-and-managing", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, "GoogleCloudSecuritycenterV1RunAssetDiscoveryResponse": { "description": "Response of asset discovery run", "id": "GoogleCloudSecuritycenterV1RunAssetDiscoveryResponse", diff --git a/securitycenter/v1/securitycenter-gen.go b/securitycenter/v1/securitycenter-gen.go index a85dcca21a0..6c19d4060b6 100644 --- a/securitycenter/v1/securitycenter-gen.go +++ b/securitycenter/v1/securitycenter-gen.go @@ -1767,6 +1767,11 @@ type Finding struct { // "organizations/{organization_id}/sources/{source_id}" Parent string `json:"parent,omitempty"` + // ParentDisplayName: Output only. The human readable display name of + // the finding source such as "Event Threat Detection" or "Security + // Health Analytics" + ParentDisplayName string `json:"parentDisplayName,omitempty"` + // Processes: Represents operating system processes associated with the // Finding. Processes []*Process `json:"processes,omitempty"` @@ -2350,6 +2355,53 @@ func (s *GoogleCloudSecuritycenterV1Resource) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } +// GoogleCloudSecuritycenterV1ResourceValueConfig: A resource value +// config is a mapping configuration of user's tag values to resource +// values. Used by the attack path simulation. +type GoogleCloudSecuritycenterV1ResourceValueConfig struct { + // Name: Name for the resource value config + Name string `json:"name,omitempty"` + + // ResourceValue: Required. Resource value level this expression + // represents + // + // Possible values: + // "RESOURCE_VALUE_UNSPECIFIED" - Unspecific value + // "HIGH" - High resource value + // "MEDIUM" - Medium resource value + // "LOW" - Low resource value + // "NONE" - No resource value, e.g. ignore these resources + ResourceValue string `json:"resourceValue,omitempty"` + + // TagValues: Required. Tag values combined with AND to check against. + // Values in the form "tagValues/123" E.g. [ "tagValues/123", + // "tagValues/456", "tagValues/789" ] + // https://cloud.google.com/resource-manager/docs/tags/tags-creating-and-managing + TagValues []string `json:"tagValues,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Name") 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. "Name") 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 *GoogleCloudSecuritycenterV1ResourceValueConfig) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudSecuritycenterV1ResourceValueConfig + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + // GoogleCloudSecuritycenterV1RunAssetDiscoveryResponse: Response of // asset discovery run type GoogleCloudSecuritycenterV1RunAssetDiscoveryResponse struct { diff --git a/securitycenter/v1beta1/securitycenter-api.json b/securitycenter/v1beta1/securitycenter-api.json index a752f869550..92c947756c0 100644 --- a/securitycenter/v1beta1/securitycenter-api.json +++ b/securitycenter/v1beta1/securitycenter-api.json @@ -896,7 +896,7 @@ } } }, - "revision": "20220825", + "revision": "20220909", "rootUrl": "https://securitycenter.googleapis.com/", "schemas": { "Access": { @@ -1718,6 +1718,11 @@ "description": "The relative resource name of the source the finding belongs to. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name This field is immutable after creation time. For example: \"organizations/{organization_id}/sources/{source_id}\"", "type": "string" }, + "parentDisplayName": { + "description": "Output only. The human readable display name of the finding source such as \"Event Threat Detection\" or \"Security Health Analytics\"", + "readOnly": true, + "type": "string" + }, "processes": { "description": "Represents operating system processes associated with the Finding.", "items": { @@ -2039,6 +2044,42 @@ }, "type": "object" }, + "GoogleCloudSecuritycenterV1ResourceValueConfig": { + "description": "A resource value config is a mapping configuration of user's tag values to resource values. Used by the attack path simulation.", + "id": "GoogleCloudSecuritycenterV1ResourceValueConfig", + "properties": { + "name": { + "description": "Name for the resource value config", + "type": "string" + }, + "resourceValue": { + "description": "Required. Resource value level this expression represents", + "enum": [ + "RESOURCE_VALUE_UNSPECIFIED", + "HIGH", + "MEDIUM", + "LOW", + "NONE" + ], + "enumDescriptions": [ + "Unspecific value", + "High resource value", + "Medium resource value", + "Low resource value", + "No resource value, e.g. ignore these resources" + ], + "type": "string" + }, + "tagValues": { + "description": "Required. Tag values combined with AND to check against. Values in the form \"tagValues/123\" E.g. [ \"tagValues/123\", \"tagValues/456\", \"tagValues/789\" ] https://cloud.google.com/resource-manager/docs/tags/tags-creating-and-managing", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, "GoogleCloudSecuritycenterV1RunAssetDiscoveryResponse": { "description": "Response of asset discovery run", "id": "GoogleCloudSecuritycenterV1RunAssetDiscoveryResponse", diff --git a/securitycenter/v1beta1/securitycenter-gen.go b/securitycenter/v1beta1/securitycenter-gen.go index bfbffc0fbf6..44922a88345 100644 --- a/securitycenter/v1beta1/securitycenter-gen.go +++ b/securitycenter/v1beta1/securitycenter-gen.go @@ -1458,6 +1458,11 @@ type Finding struct { // "organizations/{organization_id}/sources/{source_id}" Parent string `json:"parent,omitempty"` + // ParentDisplayName: Output only. The human readable display name of + // the finding source such as "Event Threat Detection" or "Security + // Health Analytics" + ParentDisplayName string `json:"parentDisplayName,omitempty"` + // Processes: Represents operating system processes associated with the // Finding. Processes []*Process `json:"processes,omitempty"` @@ -2025,6 +2030,53 @@ func (s *GoogleCloudSecuritycenterV1Resource) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } +// GoogleCloudSecuritycenterV1ResourceValueConfig: A resource value +// config is a mapping configuration of user's tag values to resource +// values. Used by the attack path simulation. +type GoogleCloudSecuritycenterV1ResourceValueConfig struct { + // Name: Name for the resource value config + Name string `json:"name,omitempty"` + + // ResourceValue: Required. Resource value level this expression + // represents + // + // Possible values: + // "RESOURCE_VALUE_UNSPECIFIED" - Unspecific value + // "HIGH" - High resource value + // "MEDIUM" - Medium resource value + // "LOW" - Low resource value + // "NONE" - No resource value, e.g. ignore these resources + ResourceValue string `json:"resourceValue,omitempty"` + + // TagValues: Required. Tag values combined with AND to check against. + // Values in the form "tagValues/123" E.g. [ "tagValues/123", + // "tagValues/456", "tagValues/789" ] + // https://cloud.google.com/resource-manager/docs/tags/tags-creating-and-managing + TagValues []string `json:"tagValues,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Name") 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. "Name") 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 *GoogleCloudSecuritycenterV1ResourceValueConfig) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudSecuritycenterV1ResourceValueConfig + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + // GoogleCloudSecuritycenterV1RunAssetDiscoveryResponse: Response of // asset discovery run type GoogleCloudSecuritycenterV1RunAssetDiscoveryResponse struct { diff --git a/securitycenter/v1beta2/securitycenter-api.json b/securitycenter/v1beta2/securitycenter-api.json index 01043f31eaf..917d93becc2 100644 --- a/securitycenter/v1beta2/securitycenter-api.json +++ b/securitycenter/v1beta2/securitycenter-api.json @@ -1981,7 +1981,7 @@ } } }, - "revision": "20220825", + "revision": "20220909", "rootUrl": "https://securitycenter.googleapis.com/", "schemas": { "Access": { @@ -2785,6 +2785,11 @@ "description": "The relative resource name of the source the finding belongs to. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name This field is immutable after creation time. For example: \"organizations/{organization_id}/sources/{source_id}\"", "type": "string" }, + "parentDisplayName": { + "description": "Output only. The human readable display name of the finding source such as \"Event Threat Detection\" or \"Security Health Analytics\"", + "readOnly": true, + "type": "string" + }, "processes": { "description": "Represents operating system processes associated with the Finding.", "items": { @@ -3083,6 +3088,42 @@ }, "type": "object" }, + "GoogleCloudSecuritycenterV1ResourceValueConfig": { + "description": "A resource value config is a mapping configuration of user's tag values to resource values. Used by the attack path simulation.", + "id": "GoogleCloudSecuritycenterV1ResourceValueConfig", + "properties": { + "name": { + "description": "Name for the resource value config", + "type": "string" + }, + "resourceValue": { + "description": "Required. Resource value level this expression represents", + "enum": [ + "RESOURCE_VALUE_UNSPECIFIED", + "HIGH", + "MEDIUM", + "LOW", + "NONE" + ], + "enumDescriptions": [ + "Unspecific value", + "High resource value", + "Medium resource value", + "Low resource value", + "No resource value, e.g. ignore these resources" + ], + "type": "string" + }, + "tagValues": { + "description": "Required. Tag values combined with AND to check against. Values in the form \"tagValues/123\" E.g. [ \"tagValues/123\", \"tagValues/456\", \"tagValues/789\" ] https://cloud.google.com/resource-manager/docs/tags/tags-creating-and-managing", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, "GoogleCloudSecuritycenterV1RunAssetDiscoveryResponse": { "description": "Response of asset discovery run", "id": "GoogleCloudSecuritycenterV1RunAssetDiscoveryResponse", diff --git a/securitycenter/v1beta2/securitycenter-gen.go b/securitycenter/v1beta2/securitycenter-gen.go index 2af6ad9fced..0ea1ffa09c3 100644 --- a/securitycenter/v1beta2/securitycenter-gen.go +++ b/securitycenter/v1beta2/securitycenter-gen.go @@ -1541,6 +1541,11 @@ type Finding struct { // "organizations/{organization_id}/sources/{source_id}" Parent string `json:"parent,omitempty"` + // ParentDisplayName: Output only. The human readable display name of + // the finding source such as "Event Threat Detection" or "Security + // Health Analytics" + ParentDisplayName string `json:"parentDisplayName,omitempty"` + // Processes: Represents operating system processes associated with the // Finding. Processes []*Process `json:"processes,omitempty"` @@ -2038,6 +2043,53 @@ func (s *GoogleCloudSecuritycenterV1Resource) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } +// GoogleCloudSecuritycenterV1ResourceValueConfig: A resource value +// config is a mapping configuration of user's tag values to resource +// values. Used by the attack path simulation. +type GoogleCloudSecuritycenterV1ResourceValueConfig struct { + // Name: Name for the resource value config + Name string `json:"name,omitempty"` + + // ResourceValue: Required. Resource value level this expression + // represents + // + // Possible values: + // "RESOURCE_VALUE_UNSPECIFIED" - Unspecific value + // "HIGH" - High resource value + // "MEDIUM" - Medium resource value + // "LOW" - Low resource value + // "NONE" - No resource value, e.g. ignore these resources + ResourceValue string `json:"resourceValue,omitempty"` + + // TagValues: Required. Tag values combined with AND to check against. + // Values in the form "tagValues/123" E.g. [ "tagValues/123", + // "tagValues/456", "tagValues/789" ] + // https://cloud.google.com/resource-manager/docs/tags/tags-creating-and-managing + TagValues []string `json:"tagValues,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Name") 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. "Name") 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 *GoogleCloudSecuritycenterV1ResourceValueConfig) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudSecuritycenterV1ResourceValueConfig + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + // GoogleCloudSecuritycenterV1RunAssetDiscoveryResponse: Response of // asset discovery run type GoogleCloudSecuritycenterV1RunAssetDiscoveryResponse struct { diff --git a/tpu/v2alpha1/tpu-api.json b/tpu/v2alpha1/tpu-api.json index 0f18e6b1b2f..e6402d62623 100644 --- a/tpu/v2alpha1/tpu-api.json +++ b/tpu/v2alpha1/tpu-api.json @@ -759,7 +759,7 @@ } } }, - "revision": "20220725", + "revision": "20220907", "rootUrl": "https://tpu.googleapis.com/", "schemas": { "AcceleratorType": { @@ -1223,6 +1223,10 @@ "$ref": "ServiceAccount", "description": "The Google Cloud Platform Service Account to be used by the TPU node VMs. If None is specified, the default compute service account will be used." }, + "shieldedInstanceConfig": { + "$ref": "ShieldedInstanceConfig", + "description": "Shielded Instance options." + }, "state": { "description": "Output only. The current state for the TPU Node.", "enum": [ @@ -1411,6 +1415,17 @@ }, "type": "object" }, + "ShieldedInstanceConfig": { + "description": "A set of Shielded Instance options.", + "id": "ShieldedInstanceConfig", + "properties": { + "enableSecureBoot": { + "description": "Defines whether the instance has Secure Boot enabled.", + "type": "boolean" + } + }, + "type": "object" + }, "SimulateMaintenanceEventRequest": { "description": "Request for SimulateMaintenanceEvent.", "id": "SimulateMaintenanceEventRequest", diff --git a/tpu/v2alpha1/tpu-gen.go b/tpu/v2alpha1/tpu-gen.go index 3846ac233ef..0c28f49915d 100644 --- a/tpu/v2alpha1/tpu-gen.go +++ b/tpu/v2alpha1/tpu-gen.go @@ -921,6 +921,9 @@ type Node struct { // service account will be used. ServiceAccount *ServiceAccount `json:"serviceAccount,omitempty"` + // ShieldedInstanceConfig: Shielded Instance options. + ShieldedInstanceConfig *ShieldedInstanceConfig `json:"shieldedInstanceConfig,omitempty"` + // State: Output only. The current state for the TPU Node. // // Possible values: @@ -1218,6 +1221,36 @@ func (s *ServiceIdentity) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } +// ShieldedInstanceConfig: A set of Shielded Instance options. +type ShieldedInstanceConfig struct { + // EnableSecureBoot: Defines whether the instance has Secure Boot + // enabled. + EnableSecureBoot bool `json:"enableSecureBoot,omitempty"` + + // ForceSendFields is a list of field names (e.g. "EnableSecureBoot") 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. "EnableSecureBoot") 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 *ShieldedInstanceConfig) MarshalJSON() ([]byte, error) { + type NoMethod ShieldedInstanceConfig + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + // SimulateMaintenanceEventRequest: Request for // SimulateMaintenanceEvent. type SimulateMaintenanceEventRequest struct { diff --git a/translate/v3/translate-api.json b/translate/v3/translate-api.json index 381c76922d2..9d26b0fb77d 100644 --- a/translate/v3/translate-api.json +++ b/translate/v3/translate-api.json @@ -931,7 +931,7 @@ } } }, - "revision": "20220805", + "revision": "20220909", "rootUrl": "https://translation.googleapis.com/", "schemas": { "BatchDocumentInputConfig": { @@ -1591,6 +1591,10 @@ "description": "A document translation request.", "id": "TranslateDocumentRequest", "properties": { + "customizedAttribution": { + "description": "Optional. This flag is to support user customized attribution. If not provided, the default is `Machine Translated by Google`. Customized attribution should follow rules in https://cloud.google.com/translate/attribution#attribution_and_logos", + "type": "string" + }, "documentInputConfig": { "$ref": "DocumentInputConfig", "description": "Required. Input configurations." diff --git a/translate/v3/translate-gen.go b/translate/v3/translate-gen.go index 0df5e2f4dcc..27a401efd04 100644 --- a/translate/v3/translate-gen.go +++ b/translate/v3/translate-gen.go @@ -1622,6 +1622,12 @@ func (s *SupportedLanguages) MarshalJSON() ([]byte, error) { // TranslateDocumentRequest: A document translation request. type TranslateDocumentRequest struct { + // CustomizedAttribution: Optional. This flag is to support user + // customized attribution. If not provided, the default is `Machine + // Translated by Google`. Customized attribution should follow rules in + // https://cloud.google.com/translate/attribution#attribution_and_logos + CustomizedAttribution string `json:"customizedAttribution,omitempty"` + // DocumentInputConfig: Required. Input configurations. DocumentInputConfig *DocumentInputConfig `json:"documentInputConfig,omitempty"` @@ -1669,15 +1675,16 @@ type TranslateDocumentRequest struct { // listed in Language Support. TargetLanguageCode string `json:"targetLanguageCode,omitempty"` - // ForceSendFields is a list of field names (e.g. "DocumentInputConfig") - // 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 is a list of field names (e.g. + // "CustomizedAttribution") 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. "DocumentInputConfig") to + // NullFields is a list of field names (e.g. "CustomizedAttribution") 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 diff --git a/translate/v3beta1/translate-api.json b/translate/v3beta1/translate-api.json index 52f2018d296..fde38a752e6 100644 --- a/translate/v3beta1/translate-api.json +++ b/translate/v3beta1/translate-api.json @@ -744,7 +744,7 @@ } } }, - "revision": "20220805", + "revision": "20220909", "rootUrl": "https://translation.googleapis.com/", "schemas": { "BatchDocumentInputConfig": { @@ -1315,6 +1315,10 @@ "description": "A document translation request.", "id": "TranslateDocumentRequest", "properties": { + "customizedAttribution": { + "description": "Optional. This flag is to support user customized attribution. If not provided, the default is `Machine Translated by Google`. Customized attribution should follow rules in https://cloud.google.com/translate/attribution#attribution_and_logos", + "type": "string" + }, "documentInputConfig": { "$ref": "DocumentInputConfig", "description": "Required. Input configurations." diff --git a/translate/v3beta1/translate-gen.go b/translate/v3beta1/translate-gen.go index 14059941cd9..931666e56ea 100644 --- a/translate/v3beta1/translate-gen.go +++ b/translate/v3beta1/translate-gen.go @@ -1429,6 +1429,12 @@ func (s *SupportedLanguages) MarshalJSON() ([]byte, error) { // TranslateDocumentRequest: A document translation request. type TranslateDocumentRequest struct { + // CustomizedAttribution: Optional. This flag is to support user + // customized attribution. If not provided, the default is `Machine + // Translated by Google`. Customized attribution should follow rules in + // https://cloud.google.com/translate/attribution#attribution_and_logos + CustomizedAttribution string `json:"customizedAttribution,omitempty"` + // DocumentInputConfig: Required. Input configurations. DocumentInputConfig *DocumentInputConfig `json:"documentInputConfig,omitempty"` @@ -1476,15 +1482,16 @@ type TranslateDocumentRequest struct { // listed in Language Support. TargetLanguageCode string `json:"targetLanguageCode,omitempty"` - // ForceSendFields is a list of field names (e.g. "DocumentInputConfig") - // 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 is a list of field names (e.g. + // "CustomizedAttribution") 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. "DocumentInputConfig") to + // NullFields is a list of field names (e.g. "CustomizedAttribution") 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 diff --git a/versionhistory/v1/versionhistory-api.json b/versionhistory/v1/versionhistory-api.json index 472748126b1..2604706a34d 100644 --- a/versionhistory/v1/versionhistory-api.json +++ b/versionhistory/v1/versionhistory-api.json @@ -271,7 +271,7 @@ } } }, - "revision": "20220814", + "revision": "20220914", "rootUrl": "https://versionhistory.googleapis.com/", "schemas": { "Channel": { @@ -491,7 +491,7 @@ } }, "servicePath": "", - "title": "Version History API", + "title": "versionhistory.googleapis.com API", "version": "v1", "version_module": true } \ No newline at end of file diff --git a/versionhistory/v1/versionhistory-gen.go b/versionhistory/v1/versionhistory-gen.go index d7bad7585d1..8d3b85a99f9 100644 --- a/versionhistory/v1/versionhistory-gen.go +++ b/versionhistory/v1/versionhistory-gen.go @@ -4,7 +4,7 @@ // Code generated file. DO NOT EDIT. -// Package versionhistory provides access to the Version History API. +// Package versionhistory provides access to the versionhistory.googleapis.com API. // // For product documentation, see: https://developers.chrome.com/versionhistory // diff --git a/videointelligence/v1/videointelligence-api.json b/videointelligence/v1/videointelligence-api.json index fde08673329..9300b19b86a 100644 --- a/videointelligence/v1/videointelligence-api.json +++ b/videointelligence/v1/videointelligence-api.json @@ -350,7 +350,7 @@ } } }, - "revision": "20210902", + "revision": "20220913", "rootUrl": "https://videointelligence.googleapis.com/", "schemas": { "GoogleCloudVideointelligenceV1_AnnotateVideoProgress": { @@ -4972,7 +4972,7 @@ "type": "object" }, "GoogleProtobuf_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); } The JSON representation for `Empty` is empty JSON object `{}`.", + "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": "GoogleProtobuf_Empty", "properties": {}, "type": "object" diff --git a/videointelligence/v1/videointelligence-gen.go b/videointelligence/v1/videointelligence-gen.go index 11ed6b65f10..ce2fee45e15 100644 --- a/videointelligence/v1/videointelligence-gen.go +++ b/videointelligence/v1/videointelligence-gen.go @@ -8447,8 +8447,7 @@ func (s *GoogleLongrunningOperation) MarshalJSON() ([]byte, error) { // 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); } The JSON representation for -// `Empty` is empty JSON object `{}`. +// returns (google.protobuf.Empty); } type GoogleProtobufEmpty struct { // ServerResponse contains the HTTP response code and headers from the // server. diff --git a/workflowexecutions/v1/workflowexecutions-api.json b/workflowexecutions/v1/workflowexecutions-api.json index 4ac45bc5d99..879456c30d9 100644 --- a/workflowexecutions/v1/workflowexecutions-api.json +++ b/workflowexecutions/v1/workflowexecutions-api.json @@ -299,7 +299,7 @@ } } }, - "revision": "20220823", + "revision": "20220830", "rootUrl": "https://workflowexecutions.googleapis.com/", "schemas": { "CancelExecutionRequest": { @@ -395,6 +395,11 @@ "readOnly": true, "type": "string" }, + "status": { + "$ref": "Status", + "description": "Output only. Status tracks the current steps and progress data of this execution. \u003e **Preview:** This field is covered by the \u003e [Pre-GA Offerings Terms](https://cloud.google.com/terms/service-terms) of \u003e the Google Cloud Terms of Service. Pre-GA features might have limited \u003e support, and changes to pre-GA features might not be compatible with \u003e other pre-GA versions. For more information, see the \u003e [launch stage descriptions](https://cloud.google.com/products#product-launch-stages). \u003e This field is usable only if your project has access. See the \u003e [access request page](https://docs.google.com/forms/d/e/1FAIpQLSdgwrSV8Y4xZv_tvI6X2JEGX1-ty9yizv3_EAOVHWVKXvDLEA/viewform).", + "readOnly": true + }, "workflowRevisionId": { "description": "Output only. Revision of the workflow this execution is using.", "readOnly": true, @@ -508,6 +513,35 @@ }, "type": "object" }, + "Status": { + "description": "\u003e **Preview:** This field is covered by the \u003e [Pre-GA Offerings Terms](https://cloud.google.com/terms/service-terms) of \u003e the Google Cloud Terms of Service. Pre-GA features might have limited \u003e support, and changes to pre-GA features might not be compatible with \u003e other pre-GA versions. For more information, see the \u003e [launch stage descriptions](https://cloud.google.com/products#product-launch-stages). \u003e This field is usable only if your project has access. See the \u003e [access request page](https://docs.google.com/forms/d/e/1FAIpQLSdgwrSV8Y4xZv_tvI6X2JEGX1-ty9yizv3_EAOVHWVKXvDLEA/viewform). Represents the current status of this execution.", + "id": "Status", + "properties": { + "currentSteps": { + "description": "A list of currently executing or last executed step names for the workflow execution currently running. If the workflow has succeeded or failed, this is the last attempted or executed step. Presently, if the current step is inside a subworkflow, the list only includes that step. In the future, the list will contain items for each step in the call stack, starting with the outermost step in the `main` subworkflow, and ending with the most deeply nested step.", + "items": { + "$ref": "Step" + }, + "type": "array" + } + }, + "type": "object" + }, + "Step": { + "description": "Represents a step of the workflow this execution is running.", + "id": "Step", + "properties": { + "routine": { + "description": "Name of a routine within the workflow.", + "type": "string" + }, + "step": { + "description": "Name of a step within the routine.", + "type": "string" + } + }, + "type": "object" + }, "TriggerPubsubExecutionRequest": { "description": "Request for the TriggerPubsubExecution method.", "id": "TriggerPubsubExecutionRequest", diff --git a/workflowexecutions/v1/workflowexecutions-gen.go b/workflowexecutions/v1/workflowexecutions-gen.go index 4d4358d1ea0..9891fda6135 100644 --- a/workflowexecutions/v1/workflowexecutions-gen.go +++ b/workflowexecutions/v1/workflowexecutions-gen.go @@ -273,6 +273,19 @@ type Execution struct { // "CANCELLED" - The execution was stopped intentionally. State string `json:"state,omitempty"` + // Status: Output only. Status tracks the current steps and progress + // data of this execution. > **Preview:** This field is covered by the > + // Pre-GA Offerings Terms (https://cloud.google.com/terms/service-terms) + // of > the Google Cloud Terms of Service. Pre-GA features might have + // limited > support, and changes to pre-GA features might not be + // compatible with > other pre-GA versions. For more information, see + // the > launch stage descriptions + // (https://cloud.google.com/products#product-launch-stages). > This + // field is usable only if your project has access. See the > access + // request page + // (https://docs.google.com/forms/d/e/1FAIpQLSdgwrSV8Y4xZv_tvI6X2JEGX1-ty9yizv3_EAOVHWVKXvDLEA/viewform). + Status *Status `json:"status,omitempty"` + // WorkflowRevisionId: Output only. Revision of the workflow this // execution is using. WorkflowRevisionId string `json:"workflowRevisionId,omitempty"` @@ -508,6 +521,81 @@ func (s *StackTraceElement) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } +// Status: > **Preview:** This field is covered by the > Pre-GA +// Offerings Terms (https://cloud.google.com/terms/service-terms) of > +// the Google Cloud Terms of Service. Pre-GA features might have limited +// > support, and changes to pre-GA features might not be compatible +// with > other pre-GA versions. For more information, see the > launch +// stage descriptions +// (https://cloud.google.com/products#product-launch-stages). > This +// field is usable only if your project has access. See the > access +// request page +// (https://docs.google.com/forms/d/e/1FAIpQLSdgwrSV8Y4xZv_tvI6X2JEGX1-ty9yizv3_EAOVHWVKXvDLEA/viewform). +// Represents the current status of this execution. +type Status struct { + // CurrentSteps: A list of currently executing or last executed step + // names for the workflow execution currently running. If the workflow + // has succeeded or failed, this is the last attempted or executed step. + // Presently, if the current step is inside a subworkflow, the list only + // includes that step. In the future, the list will contain items for + // each step in the call stack, starting with the outermost step in the + // `main` subworkflow, and ending with the most deeply nested step. + CurrentSteps []*Step `json:"currentSteps,omitempty"` + + // ForceSendFields is a list of field names (e.g. "CurrentSteps") 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. "CurrentSteps") 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 *Status) MarshalJSON() ([]byte, error) { + type NoMethod Status + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// Step: Represents a step of the workflow this execution is running. +type Step struct { + // Routine: Name of a routine within the workflow. + Routine string `json:"routine,omitempty"` + + // Step: Name of a step within the routine. + Step string `json:"step,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Routine") 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. "Routine") 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 *Step) MarshalJSON() ([]byte, error) { + type NoMethod Step + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + // TriggerPubsubExecutionRequest: Request for the TriggerPubsubExecution // method. type TriggerPubsubExecutionRequest struct { diff --git a/workflowexecutions/v1beta/workflowexecutions-api.json b/workflowexecutions/v1beta/workflowexecutions-api.json index 3e5c702a07d..7f1979ee807 100644 --- a/workflowexecutions/v1beta/workflowexecutions-api.json +++ b/workflowexecutions/v1beta/workflowexecutions-api.json @@ -269,7 +269,7 @@ } } }, - "revision": "20211019", + "revision": "20220830", "rootUrl": "https://workflowexecutions.googleapis.com/", "schemas": { "CancelExecutionRequest": { @@ -365,6 +365,11 @@ "readOnly": true, "type": "string" }, + "status": { + "$ref": "Status", + "description": "Output only. Status tracks the current steps and progress data of this execution. \u003e **Preview:** This field is covered by the \u003e [Pre-GA Offerings Terms](https://cloud.google.com/terms/service-terms) of \u003e the Google Cloud Terms of Service. Pre-GA features might have limited \u003e support, and changes to pre-GA features might not be compatible with \u003e other pre-GA versions. For more information, see the \u003e [launch stage descriptions](https://cloud.google.com/products#product-launch-stages). \u003e This field is usable only if your project has access. See the \u003e [access request page](https://docs.google.com/forms/d/e/1FAIpQLSdgwrSV8Y4xZv_tvI6X2JEGX1-ty9yizv3_EAOVHWVKXvDLEA/viewform).", + "readOnly": true + }, "workflowRevisionId": { "description": "Output only. Revision of the workflow this execution is using.", "readOnly": true, @@ -445,6 +450,35 @@ } }, "type": "object" + }, + "Status": { + "description": "\u003e **Preview:** This field is covered by the \u003e [Pre-GA Offerings Terms](https://cloud.google.com/terms/service-terms) of \u003e the Google Cloud Terms of Service. Pre-GA features might have limited \u003e support, and changes to pre-GA features might not be compatible with \u003e other pre-GA versions. For more information, see the \u003e [launch stage descriptions](https://cloud.google.com/products#product-launch-stages). \u003e This field is usable only if your project has access. See the \u003e [access request page](https://docs.google.com/forms/d/e/1FAIpQLSdgwrSV8Y4xZv_tvI6X2JEGX1-ty9yizv3_EAOVHWVKXvDLEA/viewform). Represents the current status of this execution.", + "id": "Status", + "properties": { + "currentSteps": { + "description": "A list of currently executing or last executed step names for the workflow execution currently running. If the workflow has succeeded or failed, this is the last attempted or executed step. Presently, if the current step is inside a subworkflow, the list only includes that step. In the future, the list will contain items for each step in the call stack, starting with the outermost step in the `main` subworkflow, and ending with the most deeply nested step.", + "items": { + "$ref": "Step" + }, + "type": "array" + } + }, + "type": "object" + }, + "Step": { + "description": "Represents a step of the workflow this execution is running.", + "id": "Step", + "properties": { + "routine": { + "description": "Name of a routine within the workflow.", + "type": "string" + }, + "step": { + "description": "Name of a step within the routine.", + "type": "string" + } + }, + "type": "object" } }, "servicePath": "", diff --git a/workflowexecutions/v1beta/workflowexecutions-gen.go b/workflowexecutions/v1beta/workflowexecutions-gen.go index d8056aab70a..f4e38e0b3d2 100644 --- a/workflowexecutions/v1beta/workflowexecutions-gen.go +++ b/workflowexecutions/v1beta/workflowexecutions-gen.go @@ -273,6 +273,19 @@ type Execution struct { // "CANCELLED" - The execution was stopped intentionally. State string `json:"state,omitempty"` + // Status: Output only. Status tracks the current steps and progress + // data of this execution. > **Preview:** This field is covered by the > + // Pre-GA Offerings Terms (https://cloud.google.com/terms/service-terms) + // of > the Google Cloud Terms of Service. Pre-GA features might have + // limited > support, and changes to pre-GA features might not be + // compatible with > other pre-GA versions. For more information, see + // the > launch stage descriptions + // (https://cloud.google.com/products#product-launch-stages). > This + // field is usable only if your project has access. See the > access + // request page + // (https://docs.google.com/forms/d/e/1FAIpQLSdgwrSV8Y4xZv_tvI6X2JEGX1-ty9yizv3_EAOVHWVKXvDLEA/viewform). + Status *Status `json:"status,omitempty"` + // WorkflowRevisionId: Output only. Revision of the workflow this // execution is using. WorkflowRevisionId string `json:"workflowRevisionId,omitempty"` @@ -444,6 +457,81 @@ func (s *StackTraceElement) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } +// Status: > **Preview:** This field is covered by the > Pre-GA +// Offerings Terms (https://cloud.google.com/terms/service-terms) of > +// the Google Cloud Terms of Service. Pre-GA features might have limited +// > support, and changes to pre-GA features might not be compatible +// with > other pre-GA versions. For more information, see the > launch +// stage descriptions +// (https://cloud.google.com/products#product-launch-stages). > This +// field is usable only if your project has access. See the > access +// request page +// (https://docs.google.com/forms/d/e/1FAIpQLSdgwrSV8Y4xZv_tvI6X2JEGX1-ty9yizv3_EAOVHWVKXvDLEA/viewform). +// Represents the current status of this execution. +type Status struct { + // CurrentSteps: A list of currently executing or last executed step + // names for the workflow execution currently running. If the workflow + // has succeeded or failed, this is the last attempted or executed step. + // Presently, if the current step is inside a subworkflow, the list only + // includes that step. In the future, the list will contain items for + // each step in the call stack, starting with the outermost step in the + // `main` subworkflow, and ending with the most deeply nested step. + CurrentSteps []*Step `json:"currentSteps,omitempty"` + + // ForceSendFields is a list of field names (e.g. "CurrentSteps") 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. "CurrentSteps") 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 *Status) MarshalJSON() ([]byte, error) { + type NoMethod Status + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// Step: Represents a step of the workflow this execution is running. +type Step struct { + // Routine: Name of a routine within the workflow. + Routine string `json:"routine,omitempty"` + + // Step: Name of a step within the routine. + Step string `json:"step,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Routine") 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. "Routine") 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 *Step) MarshalJSON() ([]byte, error) { + type NoMethod Step + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + // method id "workflowexecutions.projects.locations.workflows.executions.cancel": type ProjectsLocationsWorkflowsExecutionsCancelCall struct {