diff --git a/accessapproval/v1/accessapproval-api.json b/accessapproval/v1/accessapproval-api.json index 8f62b6513f5..2b174a2eaa5 100644 --- a/accessapproval/v1/accessapproval-api.json +++ b/accessapproval/v1/accessapproval-api.json @@ -829,7 +829,7 @@ } } }, - "revision": "20220304", + "revision": "20220315", "rootUrl": "https://accessapproval.googleapis.com/", "schemas": { "AccessApprovalServiceAccount": { @@ -920,14 +920,16 @@ "CUSTOMER_INITIATED_SUPPORT", "GOOGLE_INITIATED_SERVICE", "GOOGLE_INITIATED_REVIEW", - "THIRD_PARTY_DATA_REQUEST" + "THIRD_PARTY_DATA_REQUEST", + "GOOGLE_RESPONSE_TO_PRODUCTION_ALERT" ], "enumDescriptions": [ "Default value for proto, shouldn't be used.", "Customer made a request or raised an issue that required the principal to access customer data. `detail` is of the form (\"#####\" is the issue ID): * \"Feedback Report: #####\" * \"Case Number: #####\" * \"Case ID: #####\" * \"E-PIN Reference: #####\" * \"Google-#####\" * \"T-#####\"", - "The principal accessed customer data in order to diagnose or resolve a suspected issue in services or a known outage. Often this access is used to confirm that customers are not affected by a suspected service issue or to remediate a reversible system issue.", + "The principal accessed customer data in order to diagnose or resolve a suspected issue in services. Often this access is used to confirm that customers are not affected by a suspected service issue or to remediate a reversible system issue.", "Google initiated service for security, fraud, abuse, or compliance purposes.", - "The principal was compelled to access customer data in order to respond to a legal third party data request or process, including legal processes from customers themselves." + "The principal was compelled to access customer data in order to respond to a legal third party data request or process, including legal processes from customers themselves.", + "The principal accessed customer data in order to diagnose or resolve a suspected issue in services or a known outage." ], "type": "string" } diff --git a/accessapproval/v1/accessapproval-gen.go b/accessapproval/v1/accessapproval-gen.go index 5e7d3acc628..94f347b03b0 100644 --- a/accessapproval/v1/accessapproval-gen.go +++ b/accessapproval/v1/accessapproval-gen.go @@ -393,15 +393,17 @@ type AccessReason struct { // * "Case Number: #####" * "Case ID: #####" * "E-PIN Reference: #####" // * "Google-#####" * "T-#####" // "GOOGLE_INITIATED_SERVICE" - The principal accessed customer data - // in order to diagnose or resolve a suspected issue in services or a - // known outage. Often this access is used to confirm that customers are - // not affected by a suspected service issue or to remediate a - // reversible system issue. + // in order to diagnose or resolve a suspected issue in services. Often + // this access is used to confirm that customers are not affected by a + // suspected service issue or to remediate a reversible system issue. // "GOOGLE_INITIATED_REVIEW" - Google initiated service for security, // fraud, abuse, or compliance purposes. // "THIRD_PARTY_DATA_REQUEST" - The principal was compelled to access // customer data in order to respond to a legal third party data request // or process, including legal processes from customers themselves. + // "GOOGLE_RESPONSE_TO_PRODUCTION_ALERT" - The principal accessed + // customer data in order to diagnose or resolve a suspected issue in + // services or a known outage. Type string `json:"type,omitempty"` // ForceSendFields is a list of field names (e.g. "Detail") to diff --git a/analyticsadmin/v1alpha/analyticsadmin-api.json b/analyticsadmin/v1alpha/analyticsadmin-api.json index 237e71f5bbb..b851affc593 100644 --- a/analyticsadmin/v1alpha/analyticsadmin-api.json +++ b/analyticsadmin/v1alpha/analyticsadmin-api.json @@ -2556,7 +2556,7 @@ } } }, - "revision": "20220312", + "revision": "20220315", "rootUrl": "https://analyticsadmin.googleapis.com/", "schemas": { "GoogleAnalyticsAdminV1alphaAccount": { @@ -3933,7 +3933,23 @@ "type": "string" }, "parent": { - "description": "Immutable. Resource name of this property's logical parent. Note: The Property-Moving UI can be used to change the parent. Format: accounts/{account} Example: \"accounts/100\"", + "description": "Immutable. Resource name of this property's logical parent. Note: The Property-Moving UI can be used to change the parent. Format: accounts/{account}, properties/{property} Example: \"accounts/100\", \"properties/101\"", + "type": "string" + }, + "propertyType": { + "description": "Immutable. The property type for this Property resource. When creating a property, if the type is \"PROPERTY_TYPE_UNSPECIFIED\", then \"ORDINARY_PROPERTY\" will be implied. \"SUBPROPERTY\" and \"ROLLUP_PROPERTY\" types cannot yet be created via Google Analytics Admin API.", + "enum": [ + "PROPERTY_TYPE_UNSPECIFIED", + "PROPERTY_TYPE_ORDINARY", + "PROPERTY_TYPE_SUBPROPERTY", + "PROPERTY_TYPE_ROLLUP" + ], + "enumDescriptions": [ + "Unknown or unspecified property type", + "Ordinary GA4 property", + "GA4 subproperty", + "GA4 rollup property" + ], "type": "string" }, "serviceLevel": { @@ -3972,9 +3988,29 @@ "description": "Display name for the property referred to in this property summary.", "type": "string" }, + "parent": { + "description": "Resource name of this property's logical parent. Note: The Property-Moving UI can be used to change the parent. Format: accounts/{account}, properties/{property} Example: \"accounts/100\", \"properties/200\"", + "type": "string" + }, "property": { "description": "Resource name of property referred to by this property summary Format: properties/{property_id} Example: \"properties/1000\"", "type": "string" + }, + "propertyType": { + "description": "The property's property type.", + "enum": [ + "PROPERTY_TYPE_UNSPECIFIED", + "PROPERTY_TYPE_ORDINARY", + "PROPERTY_TYPE_SUBPROPERTY", + "PROPERTY_TYPE_ROLLUP" + ], + "enumDescriptions": [ + "Unknown or unspecified property type", + "Ordinary GA4 property", + "GA4 subproperty", + "GA4 rollup property" + ], + "type": "string" } }, "type": "object" diff --git a/analyticsadmin/v1alpha/analyticsadmin-gen.go b/analyticsadmin/v1alpha/analyticsadmin-gen.go index eeffe8c41a3..273eb0be37a 100644 --- a/analyticsadmin/v1alpha/analyticsadmin-gen.go +++ b/analyticsadmin/v1alpha/analyticsadmin-gen.go @@ -2634,9 +2634,23 @@ type GoogleAnalyticsAdminV1alphaProperty struct { // Parent: Immutable. Resource name of this property's logical parent. // Note: The Property-Moving UI can be used to change the parent. - // Format: accounts/{account} Example: "accounts/100" + // Format: accounts/{account}, properties/{property} Example: + // "accounts/100", "properties/101" Parent string `json:"parent,omitempty"` + // PropertyType: Immutable. The property type for this Property + // resource. When creating a property, if the type is + // "PROPERTY_TYPE_UNSPECIFIED", then "ORDINARY_PROPERTY" will be + // implied. "SUBPROPERTY" and "ROLLUP_PROPERTY" types cannot yet be + // created via Google Analytics Admin API. + // + // Possible values: + // "PROPERTY_TYPE_UNSPECIFIED" - Unknown or unspecified property type + // "PROPERTY_TYPE_ORDINARY" - Ordinary GA4 property + // "PROPERTY_TYPE_SUBPROPERTY" - GA4 subproperty + // "PROPERTY_TYPE_ROLLUP" - GA4 rollup property + PropertyType string `json:"propertyType,omitempty"` + // ServiceLevel: Output only. The Google Analytics service level that // applies to this property. // @@ -2695,10 +2709,25 @@ type GoogleAnalyticsAdminV1alphaPropertySummary struct { // property summary. DisplayName string `json:"displayName,omitempty"` + // Parent: Resource name of this property's logical parent. Note: The + // Property-Moving UI can be used to change the parent. Format: + // accounts/{account}, properties/{property} Example: "accounts/100", + // "properties/200" + Parent string `json:"parent,omitempty"` + // Property: Resource name of property referred to by this property // summary Format: properties/{property_id} Example: "properties/1000" Property string `json:"property,omitempty"` + // PropertyType: The property's property type. + // + // Possible values: + // "PROPERTY_TYPE_UNSPECIFIED" - Unknown or unspecified property type + // "PROPERTY_TYPE_ORDINARY" - Ordinary GA4 property + // "PROPERTY_TYPE_SUBPROPERTY" - GA4 subproperty + // "PROPERTY_TYPE_ROLLUP" - GA4 rollup property + PropertyType string `json:"propertyType,omitempty"` + // ForceSendFields is a list of field names (e.g. "DisplayName") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any diff --git a/api-list.json b/api-list.json index 7e75312994c..42085478027 100644 --- a/api-list.json +++ b/api-list.json @@ -532,7 +532,7 @@ "name": "authorizedbuyersmarketplace", "version": "v1", "title": "Authorized Buyers Marketplace API", - "description": "The Authorized Buyers Marketplace API allows buyers programmatically discover inventory; propose, retrieve and negotiate deals with publishers.", + "description": "The Authorized Buyers Marketplace API lets buyers programmatically discover inventory; propose, retrieve and negotiate deals with publishers.", "discoveryRestUrl": "https://authorizedbuyersmarketplace.googleapis.com/$discovery/rest?version=v1", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", diff --git a/authorizedbuyersmarketplace/v1/authorizedbuyersmarketplace-api.json b/authorizedbuyersmarketplace/v1/authorizedbuyersmarketplace-api.json index 45a406d5aec..09562d8ab5f 100644 --- a/authorizedbuyersmarketplace/v1/authorizedbuyersmarketplace-api.json +++ b/authorizedbuyersmarketplace/v1/authorizedbuyersmarketplace-api.json @@ -12,7 +12,7 @@ "baseUrl": "https://authorizedbuyersmarketplace.googleapis.com/", "batchPath": "batch", "canonicalName": "Authorized Buyers Marketplace", - "description": "The Authorized Buyers Marketplace API allows buyers programmatically discover inventory; propose, retrieve and negotiate deals with publishers.", + "description": "The Authorized Buyers Marketplace API lets buyers programmatically discover inventory; propose, retrieve and negotiate deals with publishers.", "discoveryVersion": "v1", "documentationLink": "https://developers.google.com/authorized-buyers/apis/marketplace/reference/rest/", "fullyEncodeReservedExpansion": true, @@ -507,7 +507,7 @@ "type": "string" }, "updateMask": { - "description": "List of fields to be updated. If empty or unspecified, the service will update all fields populated in the update request excluding the output only fields and primitive fields with default value. Note that explicit field mask is required in order to reset a primitive field back to its default value, e.g. false for boolean fields, 0 for integer fields. A special field mask consisting of a single path \"*\" can be used to indicate full replacement(the equivalent of PUT method), updatable fields unset or unspecified in the input will be cleared or set to default value. Output only fields will be ignored regardless of the value of updateMask.", + "description": "List of fields to be updated. If empty or unspecified, the service will update all fields populated in the update request excluding the output only fields and primitive fields with default value. Note that explicit field mask is required in order to reset a primitive field back to its default value, for example, false for boolean fields, 0 for integer fields. A special field mask consisting of a single path \"*\" can be used to indicate full replacement(the equivalent of PUT method), updatable fields unset or unspecified in the input will be cleared or set to default value. Output only fields will be ignored regardless of the value of updateMask.", "format": "google-fieldmask", "location": "query", "type": "string" @@ -1058,7 +1058,7 @@ "type": "string" }, "updateMask": { - "description": "List of fields to be updated. If empty or unspecified, the service will update all fields populated in the update request excluding the output only fields and primitive fields with default value. Note that explicit field mask is required in order to reset a primitive field back to its default value, e.g. false for boolean fields, 0 for integer fields. A special field mask consisting of a single path \"*\" can be used to indicate full replacement(the equivalent of PUT method), updatable fields unset or unspecified in the input will be cleared or set to default value. Output only fields will be ignored regardless of the value of updateMask.", + "description": "List of fields to be updated. If empty or unspecified, the service will update all fields populated in the update request excluding the output only fields and primitive fields with default value. Note that explicit field mask is required in order to reset a primitive field back to its default value, for example, false for boolean fields, 0 for integer fields. A special field mask consisting of a single path \"*\" can be used to indicate full replacement(the equivalent of PUT method), updatable fields unset or unspecified in the input will be cleared or set to default value. Output only fields will be ignored regardless of the value of updateMask.", "format": "google-fieldmask", "location": "query", "type": "string" @@ -1197,7 +1197,7 @@ ] }, "patch": { - "description": "Updates the given deal at the buyer known revision number. If the server revision has advanced since the passed-in proposal.proposal_revision an ABORTED error message will be returned. The revision number is incremented by the server whenever the proposal or its constituent deals are updated. Note: The revision number is kept at a proposal level. The buyer of the API is expected to keep track of the revision number after the last update operation and send it in as part of the next update request. This way, if there are further changes on the server (e.g., seller making new updates), then the server can detect conflicts and reject the proposed changes.", + "description": "Updates the given deal at the buyer known revision number. If the server revision has advanced since the passed-in proposal.proposal_revision an ABORTED error message will be returned. The revision number is incremented by the server whenever the proposal or its constituent deals are updated. Note: The revision number is kept at a proposal level. The buyer of the API is expected to keep track of the revision number after the last update operation and send it in as part of the next update request. This way, if there are further changes on the server (for example, seller making new updates), then the server can detect conflicts and reject the proposed changes.", "flatPath": "v1/buyers/{buyersId}/proposals/{proposalsId}/deals/{dealsId}", "httpMethod": "PATCH", "id": "authorizedbuyersmarketplace.buyers.proposals.deals.patch", @@ -1213,7 +1213,7 @@ "type": "string" }, "updateMask": { - "description": "List of fields to be updated. If empty or unspecified, the service will update all fields populated in the update request excluding the output only fields and primitive fields with default value. Note that explicit field mask is required in order to reset a primitive field back to its default value, e.g. false for boolean fields, 0 for integer fields. A special field mask consisting of a single path \"*\" can be used to indicate full replacement(the equivalent of PUT method), updatable fields unset or unspecified in the input will be cleared or set to default value. Output only fields will be ignored regardless of the value of updateMask.", + "description": "List of fields to be updated. If empty or unspecified, the service will update all fields populated in the update request excluding the output only fields and primitive fields with default value. Note that explicit field mask is required in order to reset a primitive field back to its default value, for example, false for boolean fields, 0 for integer fields. A special field mask consisting of a single path \"*\" can be used to indicate full replacement(the equivalent of PUT method), updatable fields unset or unspecified in the input will be cleared or set to default value. Output only fields will be ignored regardless of the value of updateMask.", "format": "google-fieldmask", "location": "query", "type": "string" @@ -1307,7 +1307,7 @@ } } }, - "revision": "20220212", + "revision": "20220315", "rootUrl": "https://authorizedbuyersmarketplace.googleapis.com/", "schemas": { "AcceptProposalRequest": { @@ -1357,7 +1357,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 (responsive size) can be resized automatically with the change of outside environment." ], "type": "string" }, @@ -1839,7 +1839,7 @@ "type": "string" }, "flightStartTime": { - "description": "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": "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" }, @@ -1921,7 +1921,7 @@ "id": "DeliveryControl", "properties": { "companionDeliveryType": { - "description": "Output only. Specifies roadblocking in a master companion lineitem.", + "description": "Output only. Specifies roadblocking in a main companion lineitem.", "enum": [ "COMPANION_DELIVERY_TYPE_UNSPECIFIED", "DELIVERY_OPTIONAL", @@ -1951,7 +1951,7 @@ "Creatives are displayed roughly the same number of times over the duration of the deal.", "Creatives are served roughly proportionally to their performance.", "Creatives are served roughly proportionally to their weights.", - "Creatives are served exactly in sequential order, aka Storyboarding." + "Creatives are served exactly in sequential order, also known as Storyboarding." ], "readOnly": true, "type": "string" @@ -1997,7 +1997,7 @@ "Any number of creatives from a deal can serve together per ad request.", "As many creatives from a deal as can fit on a page will serve. This could mean anywhere from one to all of a deal's creatives given the size constraints of ad slots on a page.", "All or none of the creatives from a deal will serve.", - "A master/companion creative set roadblocking type." + "A main/companion creative set roadblocking type." ], "readOnly": true, "type": "string" @@ -2012,7 +2012,7 @@ "type": "object" }, "FinalizedDeal": { - "description": "A finalized deal is a snapshot of the deal when both buyer and seller accept the deal. The buyer or seller can update the deal after it's been finalized and renegotiate on the deal targeting, terms and other fields, while at the same time the finalized snapshot of the deal can still be retrieved via this API. The finalized deal contains a copy of the deal as it existed when most recently finalized, as well as fields related to deal serving such as pause/resume status, RTB metrics, etc.", + "description": "A finalized deal is a snapshot of the deal when both buyer and seller accept the deal. The buyer or seller can update the deal after it's been finalized and renegotiate on the deal targeting, terms and other fields, while at the same time the finalized snapshot of the deal can still be retrieved using this API. The finalized deal contains a copy of the deal as it existed when most recently finalized, as well as fields related to deal serving such as pause/resume status, RTB metrics, and more.", "id": "FinalizedDeal", "properties": { "deal": { @@ -2287,17 +2287,17 @@ }, "placementTargeting": { "$ref": "PlacementTargeting", - "description": "Output only. Placement targeting information, e.g., URL, mobile applications.", + "description": "Output only. Placement targeting information, for example, URL, mobile applications.", "readOnly": true }, "technologyTargeting": { "$ref": "TechnologyTargeting", - "description": "Output only. Technology targeting information, e.g., operating system, device category.", + "description": "Output only. Technology targeting information, for example, operating system, device category.", "readOnly": true }, "userListTargeting": { "$ref": "CriteriaTargeting", - "description": "Buyer user list targeting information. User lists can be uploaded via https://developers.google.com/authorized-buyers/rtb/bulk-uploader." + "description": "Buyer user list targeting information. User lists can be uploaded using https://developers.google.com/authorized-buyers/rtb/bulk-uploader." }, "videoTargeting": { "$ref": "VideoTargeting", @@ -2398,7 +2398,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": { @@ -2742,7 +2742,7 @@ "type": "string" }, "topHeadlines": { - "description": "Up to three key metrics and rankings. For example \"#1 Mobile News Site for 20 Straight Months\".", + "description": "Up to three key metrics and rankings. For example, \"#1 Mobile News Site for 20 Straight Months\".", "items": { "type": "string" }, @@ -3019,7 +3019,7 @@ "description": "Required. The deal to update. The deal's `name` field is used to identify the deal to be updated. Note: proposal_revision will have to be provided within the resource or else an error will be thrown. Format: buyers/{accountId}/proposals/{proposalId}/deals/{dealId}" }, "updateMask": { - "description": "List of fields to be updated. If empty or unspecified, the service will update all fields populated in the update request excluding the output only fields and primitive fields with default value. Note that explicit field mask is required in order to reset a primitive field back to its default value, e.g. false for boolean fields, 0 for integer fields. A special field mask consisting of a single path \"*\" can be used to indicate full replacement(the equivalent of PUT method), updatable fields unset or unspecified in the input will be cleared or set to default value. Output only fields will be ignored regardless of the value of updateMask.", + "description": "List of fields to be updated. If empty or unspecified, the service will update all fields populated in the update request excluding the output only fields and primitive fields with default value. Note that explicit field mask is required in order to reset a primitive field back to its default value, for example, false for boolean fields, 0 for integer fields. A special field mask consisting of a single path \"*\" can be used to indicate full replacement(the equivalent of PUT method), updatable fields unset or unspecified in the input will be cleared or set to default value. Output only fields will be ignored regardless of the value of updateMask.", "format": "google-fieldmask", "type": "string" } @@ -3027,7 +3027,7 @@ "type": "object" }, "UriTargeting": { - "description": "Represents a list of targeted and excluded URLs (e.g., google.com). For Private Auction 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 Deals, URLs are either included or excluded. For Programmatic Guaranteed and Preferred Deals, this doesn't apply.", "id": "UriTargeting", "properties": { "excludedUris": { diff --git a/authorizedbuyersmarketplace/v1/authorizedbuyersmarketplace-gen.go b/authorizedbuyersmarketplace/v1/authorizedbuyersmarketplace-gen.go index f6390c744e8..df2980b3665 100644 --- a/authorizedbuyersmarketplace/v1/authorizedbuyersmarketplace-gen.go +++ b/authorizedbuyersmarketplace/v1/authorizedbuyersmarketplace-gen.go @@ -309,8 +309,8 @@ 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 - // automatically with the change of outside environment. + // "FLUID" - Fluid size (responsive size) can be resized automatically + // with the change of outside environment. Type string `json:"type,omitempty"` // Width: The width of the ad slot in pixels. This field will be present @@ -984,8 +984,8 @@ type Deal struct { // FlightStartTime: 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. FlightStartTime string `json:"flightStartTime,omitempty"` // Name: Immutable. The unique identifier of the deal. Auto-generated by @@ -1102,8 +1102,8 @@ func (s *DealPausingInfo) MarshalJSON() ([]byte, error) { // DeliveryControl: Message contains details about how the deal will be // paced. type DeliveryControl struct { - // CompanionDeliveryType: Output only. Specifies roadblocking in a - // master companion lineitem. + // CompanionDeliveryType: Output only. Specifies roadblocking in a main + // companion lineitem. // // Possible values: // "COMPANION_DELIVERY_TYPE_UNSPECIFIED" - A placeholder for an @@ -1132,7 +1132,7 @@ type DeliveryControl struct { // "ROTATION_MANUAL" - Creatives are served roughly proportionally to // their weights. // "ROTATION_SEQUENTIAL" - Creatives are served exactly in sequential - // order, aka Storyboarding. + // order, also known as Storyboarding. CreativeRotationType string `json:"creativeRotationType,omitempty"` // DeliveryRateType: Output only. Specifies how the impression delivery @@ -1166,7 +1166,7 @@ type DeliveryControl struct { // deal's creatives given the size constraints of ad slots on a page. // "ALL_ROADBLOCK" - All or none of the creatives from a deal will // serve. - // "CREATIVE_SET" - A master/companion creative set roadblocking type. + // "CREATIVE_SET" - A main/companion creative set roadblocking type. RoadblockingType string `json:"roadblockingType,omitempty"` // ForceSendFields is a list of field names (e.g. @@ -1210,10 +1210,10 @@ type Empty struct { // buyer and seller accept the deal. The buyer or seller can update the // deal after it's been finalized and renegotiate on the deal targeting, // terms and other fields, while at the same time the finalized snapshot -// of the deal can still be retrieved via this API. The finalized deal +// of the deal can still be retrieved using this API. The finalized deal // contains a copy of the deal as it existed when most recently // finalized, as well as fields related to deal serving such as -// pause/resume status, RTB metrics, etc. +// pause/resume status, RTB metrics, and more. type FinalizedDeal struct { // Deal: A copy of the Deal made upon finalization. During // renegotiation, this will reflect the last finalized deal before @@ -1673,16 +1673,16 @@ type MarketplaceTargeting struct { // included/excluded. InventorySizeTargeting *InventorySizeTargeting `json:"inventorySizeTargeting,omitempty"` - // PlacementTargeting: Output only. Placement targeting information, - // e.g., URL, mobile applications. + // PlacementTargeting: Output only. Placement targeting information, for + // example, URL, mobile applications. PlacementTargeting *PlacementTargeting `json:"placementTargeting,omitempty"` // TechnologyTargeting: Output only. Technology targeting information, - // e.g., operating system, device category. + // for example, operating system, device category. TechnologyTargeting *TechnologyTargeting `json:"technologyTargeting,omitempty"` // UserListTargeting: Buyer user list targeting information. User lists - // can be uploaded via + // can be uploaded using // https://developers.google.com/authorized-buyers/rtb/bulk-uploader. UserListTargeting *CriteriaTargeting `json:"userListTargeting,omitempty"` @@ -1891,7 +1891,7 @@ func (s *PauseFinalizedDealRequest) 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 @@ -2327,7 +2327,7 @@ type PublisherProfile struct { // SamplePageUrl: URL to a sample content page. SamplePageUrl string `json:"samplePageUrl,omitempty"` - // TopHeadlines: Up to three key metrics and rankings. For example "#1 + // TopHeadlines: Up to three key metrics and rankings. For example, "#1 // Mobile News Site for 20 Straight Months". TopHeadlines []string `json:"topHeadlines,omitempty"` @@ -2769,9 +2769,9 @@ type UpdateDealRequest struct { // the service will update all fields populated in the update request // excluding the output only fields and primitive fields with default // value. Note that explicit field mask is required in order to reset a - // primitive field back to its default value, e.g. false for boolean - // fields, 0 for integer fields. A special field mask consisting of a - // single path "*" can be used to indicate full replacement(the + // primitive field back to its default value, for example, false for + // boolean fields, 0 for integer fields. A special field mask consisting + // of a single path "*" can be used to indicate full replacement(the // equivalent of PUT method), updatable fields unset or unspecified in // the input will be cleared or set to default value. Output only fields // will be ignored regardless of the value of updateMask. @@ -2800,10 +2800,10 @@ func (s *UpdateDealRequest) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// UriTargeting: Represents a list of targeted and excluded URLs (e.g., -// google.com). For Private Auction Deals, URLs are either included or -// excluded. For Programmatic Guaranteed and Preferred Deals, this -// doesn't apply. +// UriTargeting: Represents a list of targeted and excluded URLs (for +// example, google.com). For Private Auction Deals, URLs are either +// included or excluded. For Programmatic Guaranteed and Preferred +// Deals, this doesn't apply. type UriTargeting struct { // ExcludedUris: A list of URLs to be excluded. ExcludedUris []string `json:"excludedUris,omitempty"` @@ -4863,12 +4863,12 @@ func (r *BuyersClientsService) Patch(name string, client *Client) *BuyersClients // fields populated in the update request excluding the output only // fields and primitive fields with default value. Note that explicit // field mask is required in order to reset a primitive field back to -// its default value, e.g. false for boolean fields, 0 for integer -// fields. A special field mask consisting of a single path "*" can be -// used to indicate full replacement(the equivalent of PUT method), -// updatable fields unset or unspecified in the input will be cleared or -// set to default value. Output only fields will be ignored regardless -// of the value of updateMask. +// its default value, for example, false for boolean fields, 0 for +// integer fields. A special field mask consisting of a single path "*" +// can be used to indicate full replacement(the equivalent of PUT +// method), updatable fields unset or unspecified in the input will be +// cleared or set to default value. Output only fields will be ignored +// regardless of the value of updateMask. func (c *BuyersClientsPatchCall) UpdateMask(updateMask string) *BuyersClientsPatchCall { c.urlParams_.Set("updateMask", updateMask) return c @@ -4981,7 +4981,7 @@ func (c *BuyersClientsPatchCall) Do(opts ...googleapi.CallOption) (*Client, erro // "type": "string" // }, // "updateMask": { - // "description": "List of fields to be updated. If empty or unspecified, the service will update all fields populated in the update request excluding the output only fields and primitive fields with default value. Note that explicit field mask is required in order to reset a primitive field back to its default value, e.g. false for boolean fields, 0 for integer fields. A special field mask consisting of a single path \"*\" can be used to indicate full replacement(the equivalent of PUT method), updatable fields unset or unspecified in the input will be cleared or set to default value. Output only fields will be ignored regardless of the value of updateMask.", + // "description": "List of fields to be updated. If empty or unspecified, the service will update all fields populated in the update request excluding the output only fields and primitive fields with default value. Note that explicit field mask is required in order to reset a primitive field back to its default value, for example, false for boolean fields, 0 for integer fields. A special field mask consisting of a single path \"*\" can be used to indicate full replacement(the equivalent of PUT method), updatable fields unset or unspecified in the input will be cleared or set to default value. Output only fields will be ignored regardless of the value of updateMask.", // "format": "google-fieldmask", // "location": "query", // "type": "string" @@ -7737,12 +7737,12 @@ func (r *BuyersProposalsService) Patch(nameid string, proposal *Proposal) *Buyer // fields populated in the update request excluding the output only // fields and primitive fields with default value. Note that explicit // field mask is required in order to reset a primitive field back to -// its default value, e.g. false for boolean fields, 0 for integer -// fields. A special field mask consisting of a single path "*" can be -// used to indicate full replacement(the equivalent of PUT method), -// updatable fields unset or unspecified in the input will be cleared or -// set to default value. Output only fields will be ignored regardless -// of the value of updateMask. +// its default value, for example, false for boolean fields, 0 for +// integer fields. A special field mask consisting of a single path "*" +// can be used to indicate full replacement(the equivalent of PUT +// method), updatable fields unset or unspecified in the input will be +// cleared or set to default value. Output only fields will be ignored +// regardless of the value of updateMask. func (c *BuyersProposalsPatchCall) UpdateMask(updateMask string) *BuyersProposalsPatchCall { c.urlParams_.Set("updateMask", updateMask) return c @@ -7855,7 +7855,7 @@ func (c *BuyersProposalsPatchCall) Do(opts ...googleapi.CallOption) (*Proposal, // "type": "string" // }, // "updateMask": { - // "description": "List of fields to be updated. If empty or unspecified, the service will update all fields populated in the update request excluding the output only fields and primitive fields with default value. Note that explicit field mask is required in order to reset a primitive field back to its default value, e.g. false for boolean fields, 0 for integer fields. A special field mask consisting of a single path \"*\" can be used to indicate full replacement(the equivalent of PUT method), updatable fields unset or unspecified in the input will be cleared or set to default value. Output only fields will be ignored regardless of the value of updateMask.", + // "description": "List of fields to be updated. If empty or unspecified, the service will update all fields populated in the update request excluding the output only fields and primitive fields with default value. Note that explicit field mask is required in order to reset a primitive field back to its default value, for example, false for boolean fields, 0 for integer fields. A special field mask consisting of a single path \"*\" can be used to indicate full replacement(the equivalent of PUT method), updatable fields unset or unspecified in the input will be cleared or set to default value. Output only fields will be ignored regardless of the value of updateMask.", // "format": "google-fieldmask", // "location": "query", // "type": "string" @@ -8531,8 +8531,9 @@ type BuyersProposalsDealsPatchCall struct { // number is kept at a proposal level. The buyer of the API is expected // to keep track of the revision number after the last update operation // and send it in as part of the next update request. This way, if there -// are further changes on the server (e.g., seller making new updates), -// then the server can detect conflicts and reject the proposed changes. +// are further changes on the server (for example, seller making new +// updates), then the server can detect conflicts and reject the +// proposed changes. // // - name: Immutable. The unique identifier of the deal. Auto-generated // by the server when a deal is created. Format: @@ -8549,12 +8550,12 @@ func (r *BuyersProposalsDealsService) Patch(nameid string, deal *Deal) *BuyersPr // fields populated in the update request excluding the output only // fields and primitive fields with default value. Note that explicit // field mask is required in order to reset a primitive field back to -// its default value, e.g. false for boolean fields, 0 for integer -// fields. A special field mask consisting of a single path "*" can be -// used to indicate full replacement(the equivalent of PUT method), -// updatable fields unset or unspecified in the input will be cleared or -// set to default value. Output only fields will be ignored regardless -// of the value of updateMask. +// its default value, for example, false for boolean fields, 0 for +// integer fields. A special field mask consisting of a single path "*" +// can be used to indicate full replacement(the equivalent of PUT +// method), updatable fields unset or unspecified in the input will be +// cleared or set to default value. Output only fields will be ignored +// regardless of the value of updateMask. func (c *BuyersProposalsDealsPatchCall) UpdateMask(updateMask string) *BuyersProposalsDealsPatchCall { c.urlParams_.Set("updateMask", updateMask) return c @@ -8651,7 +8652,7 @@ func (c *BuyersProposalsDealsPatchCall) Do(opts ...googleapi.CallOption) (*Deal, } return ret, nil // { - // "description": "Updates the given deal at the buyer known revision number. If the server revision has advanced since the passed-in proposal.proposal_revision an ABORTED error message will be returned. The revision number is incremented by the server whenever the proposal or its constituent deals are updated. Note: The revision number is kept at a proposal level. The buyer of the API is expected to keep track of the revision number after the last update operation and send it in as part of the next update request. This way, if there are further changes on the server (e.g., seller making new updates), then the server can detect conflicts and reject the proposed changes.", + // "description": "Updates the given deal at the buyer known revision number. If the server revision has advanced since the passed-in proposal.proposal_revision an ABORTED error message will be returned. The revision number is incremented by the server whenever the proposal or its constituent deals are updated. Note: The revision number is kept at a proposal level. The buyer of the API is expected to keep track of the revision number after the last update operation and send it in as part of the next update request. This way, if there are further changes on the server (for example, seller making new updates), then the server can detect conflicts and reject the proposed changes.", // "flatPath": "v1/buyers/{buyersId}/proposals/{proposalsId}/deals/{dealsId}", // "httpMethod": "PATCH", // "id": "authorizedbuyersmarketplace.buyers.proposals.deals.patch", @@ -8667,7 +8668,7 @@ func (c *BuyersProposalsDealsPatchCall) Do(opts ...googleapi.CallOption) (*Deal, // "type": "string" // }, // "updateMask": { - // "description": "List of fields to be updated. If empty or unspecified, the service will update all fields populated in the update request excluding the output only fields and primitive fields with default value. Note that explicit field mask is required in order to reset a primitive field back to its default value, e.g. false for boolean fields, 0 for integer fields. A special field mask consisting of a single path \"*\" can be used to indicate full replacement(the equivalent of PUT method), updatable fields unset or unspecified in the input will be cleared or set to default value. Output only fields will be ignored regardless of the value of updateMask.", + // "description": "List of fields to be updated. If empty or unspecified, the service will update all fields populated in the update request excluding the output only fields and primitive fields with default value. Note that explicit field mask is required in order to reset a primitive field back to its default value, for example, false for boolean fields, 0 for integer fields. A special field mask consisting of a single path \"*\" can be used to indicate full replacement(the equivalent of PUT method), updatable fields unset or unspecified in the input will be cleared or set to default value. Output only fields will be ignored regardless of the value of updateMask.", // "format": "google-fieldmask", // "location": "query", // "type": "string" diff --git a/cloudsearch/v1/cloudsearch-api.json b/cloudsearch/v1/cloudsearch-api.json index 7512b85087e..6822a003d59 100644 --- a/cloudsearch/v1/cloudsearch-api.json +++ b/cloudsearch/v1/cloudsearch-api.json @@ -1994,7 +1994,7 @@ } } }, - "revision": "20220301", + "revision": "20220310", "rootUrl": "https://cloudsearch.googleapis.com/", "schemas": { "AclInfo": { @@ -2729,6 +2729,18 @@ "description": "This is the proto for holding space level scoring information. This data is used for logging in query-api server and for testing purposes.", "id": "DynamiteSpacesScoringInfo", "properties": { + "affinityScore": { + "format": "double", + "type": "number" + }, + "commonContactCountAffinityScore": { + "format": "double", + "type": "number" + }, + "contactsIntersectionCount": { + "format": "double", + "type": "number" + }, "finalScore": { "format": "double", "type": "number" @@ -2737,10 +2749,22 @@ "format": "double", "type": "number" }, + "joinedSpacesAffinityScore": { + "format": "double", + "type": "number" + }, "messageScore": { "format": "double", "type": "number" }, + "smallContactListAffinityScore": { + "format": "double", + "type": "number" + }, + "smallUnjoinedSpacesAffinityScore": { + "format": "double", + "type": "number" + }, "spaceAgeInDays": { "format": "double", "type": "number" @@ -5465,7 +5489,7 @@ "$ref": "GroupId" }, "isExternal": { - "description": "Whether this is an external space outside of user's organization", + "description": "Whether this is a space that enables guest access", "type": "boolean" }, "name": { diff --git a/cloudsearch/v1/cloudsearch-gen.go b/cloudsearch/v1/cloudsearch-gen.go index da93de1d564..111e91930b0 100644 --- a/cloudsearch/v1/cloudsearch-gen.go +++ b/cloudsearch/v1/cloudsearch-gen.go @@ -1848,17 +1848,29 @@ func (s *DriveTimeSpanRestrict) MarshalJSON() ([]byte, error) { // scoring information. This data is used for logging in query-api // server and for testing purposes. type DynamiteSpacesScoringInfo struct { + AffinityScore float64 `json:"affinityScore,omitempty"` + + CommonContactCountAffinityScore float64 `json:"commonContactCountAffinityScore,omitempty"` + + ContactsIntersectionCount float64 `json:"contactsIntersectionCount,omitempty"` + FinalScore float64 `json:"finalScore,omitempty"` FreshnessScore float64 `json:"freshnessScore,omitempty"` + JoinedSpacesAffinityScore float64 `json:"joinedSpacesAffinityScore,omitempty"` + MessageScore float64 `json:"messageScore,omitempty"` + SmallContactListAffinityScore float64 `json:"smallContactListAffinityScore,omitempty"` + + SmallUnjoinedSpacesAffinityScore float64 `json:"smallUnjoinedSpacesAffinityScore,omitempty"` + SpaceAgeInDays float64 `json:"spaceAgeInDays,omitempty"` TopicalityScore float64 `json:"topicalityScore,omitempty"` - // ForceSendFields is a list of field names (e.g. "FinalScore") to + // ForceSendFields is a list of field names (e.g. "AffinityScore") 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 @@ -1866,10 +1878,10 @@ type DynamiteSpacesScoringInfo struct { // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "FinalScore") 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. "AffinityScore") 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:"-"` @@ -1884,20 +1896,32 @@ func (s *DynamiteSpacesScoringInfo) MarshalJSON() ([]byte, error) { func (s *DynamiteSpacesScoringInfo) UnmarshalJSON(data []byte) error { type NoMethod DynamiteSpacesScoringInfo var s1 struct { - FinalScore gensupport.JSONFloat64 `json:"finalScore"` - FreshnessScore gensupport.JSONFloat64 `json:"freshnessScore"` - MessageScore gensupport.JSONFloat64 `json:"messageScore"` - SpaceAgeInDays gensupport.JSONFloat64 `json:"spaceAgeInDays"` - TopicalityScore gensupport.JSONFloat64 `json:"topicalityScore"` + AffinityScore gensupport.JSONFloat64 `json:"affinityScore"` + CommonContactCountAffinityScore gensupport.JSONFloat64 `json:"commonContactCountAffinityScore"` + ContactsIntersectionCount gensupport.JSONFloat64 `json:"contactsIntersectionCount"` + FinalScore gensupport.JSONFloat64 `json:"finalScore"` + FreshnessScore gensupport.JSONFloat64 `json:"freshnessScore"` + JoinedSpacesAffinityScore gensupport.JSONFloat64 `json:"joinedSpacesAffinityScore"` + MessageScore gensupport.JSONFloat64 `json:"messageScore"` + SmallContactListAffinityScore gensupport.JSONFloat64 `json:"smallContactListAffinityScore"` + SmallUnjoinedSpacesAffinityScore gensupport.JSONFloat64 `json:"smallUnjoinedSpacesAffinityScore"` + SpaceAgeInDays gensupport.JSONFloat64 `json:"spaceAgeInDays"` + TopicalityScore gensupport.JSONFloat64 `json:"topicalityScore"` *NoMethod } s1.NoMethod = (*NoMethod)(s) if err := json.Unmarshal(data, &s1); err != nil { return err } + s.AffinityScore = float64(s1.AffinityScore) + s.CommonContactCountAffinityScore = float64(s1.CommonContactCountAffinityScore) + s.ContactsIntersectionCount = float64(s1.ContactsIntersectionCount) s.FinalScore = float64(s1.FinalScore) s.FreshnessScore = float64(s1.FreshnessScore) + s.JoinedSpacesAffinityScore = float64(s1.JoinedSpacesAffinityScore) s.MessageScore = float64(s1.MessageScore) + s.SmallContactListAffinityScore = float64(s1.SmallContactListAffinityScore) + s.SmallUnjoinedSpacesAffinityScore = float64(s1.SmallUnjoinedSpacesAffinityScore) s.SpaceAgeInDays = float64(s1.SpaceAgeInDays) s.TopicalityScore = float64(s1.TopicalityScore) return nil @@ -6673,8 +6697,7 @@ type SpaceInfo struct { GroupId *GroupId `json:"groupId,omitempty"` - // IsExternal: Whether this is an external space outside of user's - // organization + // IsExternal: Whether this is a space that enables guest access IsExternal bool `json:"isExternal,omitempty"` Name string `json:"name,omitempty"` diff --git a/dialogflow/v2/dialogflow-api.json b/dialogflow/v2/dialogflow-api.json index 7dba2e5c5aa..06b4bddfdad 100644 --- a/dialogflow/v2/dialogflow-api.json +++ b/dialogflow/v2/dialogflow-api.json @@ -8077,7 +8077,7 @@ } } }, - "revision": "20220309", + "revision": "20220314", "rootUrl": "https://dialogflow.googleapis.com/", "schemas": { "GoogleCloudDialogflowCxV3AudioInput": { @@ -11667,14 +11667,14 @@ "description": "Indicates the parameters of DTMF." }, "endUserSuggestionResults": { - "description": "The suggestions for end user. The order is the same as HumanAgentAssistantConfig.SuggestionConfig.feature_configs of HumanAgentAssistantConfig.end_user_suggestion_config.", + "description": "The suggestions for end user. The order is the same as HumanAgentAssistantConfig.SuggestionConfig.feature_configs of HumanAgentAssistantConfig.end_user_suggestion_config. Same as human_agent_suggestion_results, any failure of Agent Assist features will not lead to the overall failure of an AnalyzeContent API call. Instead, the features will fail silently with the error field set in the corresponding SuggestionResult.", "items": { "$ref": "GoogleCloudDialogflowV2SuggestionResult" }, "type": "array" }, "humanAgentSuggestionResults": { - "description": "The suggestions for most recent human agent. The order is the same as HumanAgentAssistantConfig.SuggestionConfig.feature_configs of HumanAgentAssistantConfig.human_agent_suggestion_config.", + "description": "The suggestions for most recent human agent. The order is the same as HumanAgentAssistantConfig.SuggestionConfig.feature_configs of HumanAgentAssistantConfig.human_agent_suggestion_config. Note that any failure of Agent Assist features will not lead to the overall failure of an AnalyzeContent API call. Instead, the features will fail silently with the error field set in the corresponding SuggestionResult.", "items": { "$ref": "GoogleCloudDialogflowV2SuggestionResult" }, diff --git a/dialogflow/v2/dialogflow-gen.go b/dialogflow/v2/dialogflow-gen.go index ce98b62f744..26c7fde26ba 100644 --- a/dialogflow/v2/dialogflow-gen.go +++ b/dialogflow/v2/dialogflow-gen.go @@ -7566,13 +7566,21 @@ type GoogleCloudDialogflowV2AnalyzeContentResponse struct { // EndUserSuggestionResults: The suggestions for end user. The order is // the same as // HumanAgentAssistantConfig.SuggestionConfig.feature_configs of - // HumanAgentAssistantConfig.end_user_suggestion_config. + // HumanAgentAssistantConfig.end_user_suggestion_config. Same as + // human_agent_suggestion_results, any failure of Agent Assist features + // will not lead to the overall failure of an AnalyzeContent API call. + // Instead, the features will fail silently with the error field set in + // the corresponding SuggestionResult. EndUserSuggestionResults []*GoogleCloudDialogflowV2SuggestionResult `json:"endUserSuggestionResults,omitempty"` // HumanAgentSuggestionResults: The suggestions for most recent human // agent. The order is the same as // HumanAgentAssistantConfig.SuggestionConfig.feature_configs of - // HumanAgentAssistantConfig.human_agent_suggestion_config. + // HumanAgentAssistantConfig.human_agent_suggestion_config. Note that + // any failure of Agent Assist features will not lead to the overall + // failure of an AnalyzeContent API call. Instead, the features will + // fail silently with the error field set in the corresponding + // SuggestionResult. HumanAgentSuggestionResults []*GoogleCloudDialogflowV2SuggestionResult `json:"humanAgentSuggestionResults,omitempty"` // Message: Message analyzed by CCAI. diff --git a/dialogflow/v2beta1/dialogflow-api.json b/dialogflow/v2beta1/dialogflow-api.json index 29a92e1ce1d..65f8d3d47b7 100644 --- a/dialogflow/v2beta1/dialogflow-api.json +++ b/dialogflow/v2beta1/dialogflow-api.json @@ -7431,7 +7431,7 @@ } } }, - "revision": "20220309", + "revision": "20220314", "rootUrl": "https://dialogflow.googleapis.com/", "schemas": { "GoogleCloudDialogflowCxV3AudioInput": { @@ -13176,14 +13176,14 @@ "description": "Indicates the parameters of DTMF." }, "endUserSuggestionResults": { - "description": "The suggestions for end user. The order is the same as HumanAgentAssistantConfig.SuggestionConfig.feature_configs of HumanAgentAssistantConfig.end_user_suggestion_config.", + "description": "The suggestions for end user. The order is the same as HumanAgentAssistantConfig.SuggestionConfig.feature_configs of HumanAgentAssistantConfig.end_user_suggestion_config. Same as human_agent_suggestion_results, any failure of Agent Assist features will not lead to the overall failure of an AnalyzeContent API call. Instead, the features will fail silently with the error field set in the corresponding SuggestionResult.", "items": { "$ref": "GoogleCloudDialogflowV2beta1SuggestionResult" }, "type": "array" }, "humanAgentSuggestionResults": { - "description": "The suggestions for most recent human agent. The order is the same as HumanAgentAssistantConfig.SuggestionConfig.feature_configs of HumanAgentAssistantConfig.human_agent_suggestion_config.", + "description": "The suggestions for most recent human agent. The order is the same as HumanAgentAssistantConfig.SuggestionConfig.feature_configs of HumanAgentAssistantConfig.human_agent_suggestion_config. Note that any failure of Agent Assist features will not lead to the overall failure of an AnalyzeContent API call. Instead, the features will fail silently with the error field set in the corresponding SuggestionResult.", "items": { "$ref": "GoogleCloudDialogflowV2beta1SuggestionResult" }, diff --git a/dialogflow/v2beta1/dialogflow-gen.go b/dialogflow/v2beta1/dialogflow-gen.go index 96ae8c5d722..7df52a2eae4 100644 --- a/dialogflow/v2beta1/dialogflow-gen.go +++ b/dialogflow/v2beta1/dialogflow-gen.go @@ -11080,13 +11080,21 @@ type GoogleCloudDialogflowV2beta1AnalyzeContentResponse struct { // EndUserSuggestionResults: The suggestions for end user. The order is // the same as // HumanAgentAssistantConfig.SuggestionConfig.feature_configs of - // HumanAgentAssistantConfig.end_user_suggestion_config. + // HumanAgentAssistantConfig.end_user_suggestion_config. Same as + // human_agent_suggestion_results, any failure of Agent Assist features + // will not lead to the overall failure of an AnalyzeContent API call. + // Instead, the features will fail silently with the error field set in + // the corresponding SuggestionResult. EndUserSuggestionResults []*GoogleCloudDialogflowV2beta1SuggestionResult `json:"endUserSuggestionResults,omitempty"` // HumanAgentSuggestionResults: The suggestions for most recent human // agent. The order is the same as // HumanAgentAssistantConfig.SuggestionConfig.feature_configs of - // HumanAgentAssistantConfig.human_agent_suggestion_config. + // HumanAgentAssistantConfig.human_agent_suggestion_config. Note that + // any failure of Agent Assist features will not lead to the overall + // failure of an AnalyzeContent API call. Instead, the features will + // fail silently with the error field set in the corresponding + // SuggestionResult. HumanAgentSuggestionResults []*GoogleCloudDialogflowV2beta1SuggestionResult `json:"humanAgentSuggestionResults,omitempty"` // Message: Output only. Message analyzed by CCAI. diff --git a/dialogflow/v3/dialogflow-api.json b/dialogflow/v3/dialogflow-api.json index 4a3a5bf12ab..aa25e9e80e5 100644 --- a/dialogflow/v3/dialogflow-api.json +++ b/dialogflow/v3/dialogflow-api.json @@ -3820,7 +3820,7 @@ } } }, - "revision": "20220309", + "revision": "20220314", "rootUrl": "https://dialogflow.googleapis.com/", "schemas": { "GoogleCloudDialogflowCxV3AdvancedSettings": { @@ -6003,7 +6003,7 @@ "description": "Properties of the object.", "type": "any" }, - "description": "The collection of parameters extracted from the query. Depending on your protocol or client library language, this is a map, associative array, symbol table, dictionary, or JSON object composed of a collection of (MapKey, MapValue) pairs: - MapKey type: string - MapKey value: parameter name - MapValue type: - If parameter's entity type is a composite entity: map - Else: depending on parameter value type, could be one of string, number, boolean, null, list or map - MapValue value: - If parameter's entity type is a composite entity: map from composite entity property names to property values - Else: parameter value", + "description": "The collection of parameters extracted from the query. Depending on your protocol or client library language, this is a map, associative array, symbol table, dictionary, or JSON object composed of a collection of (MapKey, MapValue) pairs: * MapKey type: string * MapKey value: parameter name * MapValue type: If parameter's entity type is a composite entity then use map, otherwise, depending on the parameter value type, it could be one of string, number, boolean, null, list or map. * MapValue value: If parameter's entity type is a composite entity then use map from composite entity property names to property values, otherwise, use parameter value.", "type": "object" }, "resolvedInput": { @@ -6317,7 +6317,7 @@ "description": "Properties of the object.", "type": "any" }, - "description": "Additional parameters to be put into session parameters. To remove a parameter from the session, clients should explicitly set the parameter value to null. You can reference the session parameters in the agent with the following format: $session.params.parameter-id. Depending on your protocol or client library language, this is a map, associative array, symbol table, dictionary, or JSON object composed of a collection of (MapKey, MapValue) pairs: - MapKey type: string - MapKey value: parameter name - MapValue type: - If parameter's entity type is a composite entity: map - Else: depending on parameter value type, could be one of string, number, boolean, null, list or map - MapValue value: - If parameter's entity type is a composite entity: map from composite entity property names to property values - Else: parameter value", + "description": "Additional parameters to be put into session parameters. To remove a parameter from the session, clients should explicitly set the parameter value to null. You can reference the session parameters in the agent with the following format: $session.params.parameter-id. Depending on your protocol or client library language, this is a map, associative array, symbol table, dictionary, or JSON object composed of a collection of (MapKey, MapValue) pairs: * MapKey type: string * MapKey value: parameter name * MapValue type: If parameter's entity type is a composite entity then use map, otherwise, depending on the parameter value type, it could be one of string, number, boolean, null, list or map. * MapValue value: If parameter's entity type is a composite entity then use map from composite entity property names to property values, otherwise, use parameter value.", "type": "object" }, "payload": { @@ -6391,7 +6391,7 @@ "description": "Properties of the object.", "type": "any" }, - "description": "The collected session parameters. Depending on your protocol or client library language, this is a map, associative array, symbol table, dictionary, or JSON object composed of a collection of (MapKey, MapValue) pairs: - MapKey type: string - MapKey value: parameter name - MapValue type: - If parameter's entity type is a composite entity: map - Else: depending on parameter value type, could be one of string, number, boolean, null, list or map - MapValue value: - If parameter's entity type is a composite entity: map from composite entity property names to property values - Else: parameter value", + "description": "The collected session parameters. Depending on your protocol or client library language, this is a map, associative array, symbol table, dictionary, or JSON object composed of a collection of (MapKey, MapValue) pairs: * MapKey type: string * MapKey value: parameter name * MapValue type: If parameter's entity type is a composite entity then use map, otherwise, depending on the parameter value type, it could be one of string, number, boolean, null, list or map. * MapValue value: If parameter's entity type is a composite entity then use map from composite entity property names to property values, otherwise, use parameter value.", "type": "object" }, "responseMessages": { @@ -7651,7 +7651,7 @@ "id": "GoogleCloudDialogflowCxV3WebhookGenericWebService", "properties": { "allowedCaCerts": { - "description": "Optional. Specifies a list of allowed custom CA certificates (in DER format) for HTTPS verification. This overrides the default SSL trust store. If this is empty or unspecified, Dialogflow will use Google's default trust store to verify certificates. N.B. Make sure the HTTPS server certificates are signed with \"subject alt name\". For instance a certificate can be self-signed using the following command, openssl x509 -req -days 200 -in example.com.csr \\ -signkey example.com.key \\ -out example.com.crt \\ -extfile \u003c(printf \"\\nsubjectAltName='DNS:www.example.com'\")", + "description": "Optional. Specifies a list of allowed custom CA certificates (in DER format) for HTTPS verification. This overrides the default SSL trust store. If this is empty or unspecified, Dialogflow will use Google's default trust store to verify certificates. N.B. Make sure the HTTPS server certificates are signed with \"subject alt name\". For instance a certificate can be self-signed using the following command, ``` openssl x509 -req -days 200 -in example.com.csr \\ -signkey example.com.key \\ -out example.com.crt \\ -extfile \u003c(printf \"\\nsubjectAltName='DNS:www.example.com'\") ```", "items": { "format": "byte", "type": "string" diff --git a/dialogflow/v3/dialogflow-gen.go b/dialogflow/v3/dialogflow-gen.go index c2f5bd91202..5cfdaf734f3 100644 --- a/dialogflow/v3/dialogflow-gen.go +++ b/dialogflow/v3/dialogflow-gen.go @@ -4597,13 +4597,13 @@ type GoogleCloudDialogflowCxV3Match struct { // Parameters: The collection of parameters extracted from the query. // Depending on your protocol or client library language, this is a map, // associative array, symbol table, dictionary, or JSON object composed - // of a collection of (MapKey, MapValue) pairs: - MapKey type: string - - // MapKey value: parameter name - MapValue type: - If parameter's entity - // type is a composite entity: map - Else: depending on parameter value - // type, could be one of string, number, boolean, null, list or map - - // MapValue value: - If parameter's entity type is a composite entity: - // map from composite entity property names to property values - Else: - // parameter value + // of a collection of (MapKey, MapValue) pairs: * MapKey type: string * + // MapKey value: parameter name * MapValue type: If parameter's entity + // type is a composite entity then use map, otherwise, depending on the + // parameter value type, it could be one of string, number, boolean, + // null, list or map. * MapValue value: If parameter's entity type is a + // composite entity then use map from composite entity property names to + // property values, otherwise, use parameter value. Parameters googleapi.RawMessage `json:"parameters,omitempty"` // ResolvedInput: Final text input which was matched during MatchIntent. @@ -5171,13 +5171,13 @@ type GoogleCloudDialogflowCxV3QueryParameters struct { // in the agent with the following format: $session.params.parameter-id. // Depending on your protocol or client library language, this is a map, // associative array, symbol table, dictionary, or JSON object composed - // of a collection of (MapKey, MapValue) pairs: - MapKey type: string - - // MapKey value: parameter name - MapValue type: - If parameter's entity - // type is a composite entity: map - Else: depending on parameter value - // type, could be one of string, number, boolean, null, list or map - - // MapValue value: - If parameter's entity type is a composite entity: - // map from composite entity property names to property values - Else: - // parameter value + // of a collection of (MapKey, MapValue) pairs: * MapKey type: string * + // MapKey value: parameter name * MapValue type: If parameter's entity + // type is a composite entity then use map, otherwise, depending on the + // parameter value type, it could be one of string, number, boolean, + // null, list or map. * MapValue value: If parameter's entity type is a + // composite entity then use map from composite entity property names to + // property values, otherwise, use parameter value. Parameters googleapi.RawMessage `json:"parameters,omitempty"` // Payload: This field can be used to pass custom data into the webhook @@ -5278,13 +5278,13 @@ type GoogleCloudDialogflowCxV3QueryResult struct { // Parameters: The collected session parameters. Depending on your // protocol or client library language, this is a map, associative // array, symbol table, dictionary, or JSON object composed of a - // collection of (MapKey, MapValue) pairs: - MapKey type: string - - // MapKey value: parameter name - MapValue type: - If parameter's entity - // type is a composite entity: map - Else: depending on parameter value - // type, could be one of string, number, boolean, null, list or map - - // MapValue value: - If parameter's entity type is a composite entity: - // map from composite entity property names to property values - Else: - // parameter value + // collection of (MapKey, MapValue) pairs: * MapKey type: string * + // MapKey value: parameter name * MapValue type: If parameter's entity + // type is a composite entity then use map, otherwise, depending on the + // parameter value type, it could be one of string, number, boolean, + // null, list or map. * MapValue value: If parameter's entity type is a + // composite entity then use map from composite entity property names to + // property values, otherwise, use parameter value. Parameters googleapi.RawMessage `json:"parameters,omitempty"` // ResponseMessages: The list of rich messages returned to the client. @@ -7655,9 +7655,10 @@ type GoogleCloudDialogflowCxV3WebhookGenericWebService struct { // Dialogflow will use Google's default trust store to verify // certificates. N.B. Make sure the HTTPS server certificates are signed // with "subject alt name". For instance a certificate can be - // self-signed using the following command, openssl x509 -req -days 200 - // -in example.com.csr \ -signkey example.com.key \ -out example.com.crt - // \ -extfile <(printf "\nsubjectAltName='DNS:www.example.com'") + // self-signed using the following command, ``` openssl x509 -req -days + // 200 -in example.com.csr \ -signkey example.com.key \ -out + // example.com.crt \ -extfile <(printf + // "\nsubjectAltName='DNS:www.example.com'") ``` AllowedCaCerts []string `json:"allowedCaCerts,omitempty"` // Password: The password for HTTP Basic authentication. diff --git a/dialogflow/v3beta1/dialogflow-api.json b/dialogflow/v3beta1/dialogflow-api.json index c30a437775e..c1b182c4d94 100644 --- a/dialogflow/v3beta1/dialogflow-api.json +++ b/dialogflow/v3beta1/dialogflow-api.json @@ -3820,7 +3820,7 @@ } } }, - "revision": "20220309", + "revision": "20220314", "rootUrl": "https://dialogflow.googleapis.com/", "schemas": { "GoogleCloudDialogflowCxV3AudioInput": { @@ -7695,7 +7695,7 @@ "description": "Properties of the object.", "type": "any" }, - "description": "The collection of parameters extracted from the query. Depending on your protocol or client library language, this is a map, associative array, symbol table, dictionary, or JSON object composed of a collection of (MapKey, MapValue) pairs: - MapKey type: string - MapKey value: parameter name - MapValue type: - If parameter's entity type is a composite entity: map - Else: depending on parameter value type, could be one of string, number, boolean, null, list or map - MapValue value: - If parameter's entity type is a composite entity: map from composite entity property names to property values - Else: parameter value", + "description": "The collection of parameters extracted from the query. Depending on your protocol or client library language, this is a map, associative array, symbol table, dictionary, or JSON object composed of a collection of (MapKey, MapValue) pairs: * MapKey type: string * MapKey value: parameter name * MapValue type: If parameter's entity type is a composite entity then use map, otherwise, depending on the parameter value type, it could be one of string, number, boolean, null, list or map. * MapValue value: If parameter's entity type is a composite entity then use map from composite entity property names to property values, otherwise, use parameter value.", "type": "object" }, "resolvedInput": { @@ -8009,7 +8009,7 @@ "description": "Properties of the object.", "type": "any" }, - "description": "Additional parameters to be put into session parameters. To remove a parameter from the session, clients should explicitly set the parameter value to null. You can reference the session parameters in the agent with the following format: $session.params.parameter-id. Depending on your protocol or client library language, this is a map, associative array, symbol table, dictionary, or JSON object composed of a collection of (MapKey, MapValue) pairs: - MapKey type: string - MapKey value: parameter name - MapValue type: - If parameter's entity type is a composite entity: map - Else: depending on parameter value type, could be one of string, number, boolean, null, list or map - MapValue value: - If parameter's entity type is a composite entity: map from composite entity property names to property values - Else: parameter value", + "description": "Additional parameters to be put into session parameters. To remove a parameter from the session, clients should explicitly set the parameter value to null. You can reference the session parameters in the agent with the following format: $session.params.parameter-id. Depending on your protocol or client library language, this is a map, associative array, symbol table, dictionary, or JSON object composed of a collection of (MapKey, MapValue) pairs: * MapKey type: string * MapKey value: parameter name * MapValue type: If parameter's entity type is a composite entity then use map, otherwise, depending on the parameter value type, it could be one of string, number, boolean, null, list or map. * MapValue value: If parameter's entity type is a composite entity then use map from composite entity property names to property values, otherwise, use parameter value.", "type": "object" }, "payload": { @@ -8083,7 +8083,7 @@ "description": "Properties of the object.", "type": "any" }, - "description": "The collected session parameters. Depending on your protocol or client library language, this is a map, associative array, symbol table, dictionary, or JSON object composed of a collection of (MapKey, MapValue) pairs: - MapKey type: string - MapKey value: parameter name - MapValue type: - If parameter's entity type is a composite entity: map - Else: depending on parameter value type, could be one of string, number, boolean, null, list or map - MapValue value: - If parameter's entity type is a composite entity: map from composite entity property names to property values - Else: parameter value", + "description": "The collected session parameters. Depending on your protocol or client library language, this is a map, associative array, symbol table, dictionary, or JSON object composed of a collection of (MapKey, MapValue) pairs: * MapKey type: string * MapKey value: parameter name * MapValue type: If parameter's entity type is a composite entity then use map, otherwise, depending on the parameter value type, it could be one of string, number, boolean, null, list or map. * MapValue value: If parameter's entity type is a composite entity then use map from composite entity property names to property values, otherwise, use parameter value.", "type": "object" }, "responseMessages": { @@ -9343,7 +9343,7 @@ "id": "GoogleCloudDialogflowCxV3beta1WebhookGenericWebService", "properties": { "allowedCaCerts": { - "description": "Optional. Specifies a list of allowed custom CA certificates (in DER format) for HTTPS verification. This overrides the default SSL trust store. If this is empty or unspecified, Dialogflow will use Google's default trust store to verify certificates. N.B. Make sure the HTTPS server certificates are signed with \"subject alt name\". For instance a certificate can be self-signed using the following command, openssl x509 -req -days 200 -in example.com.csr \\ -signkey example.com.key \\ -out example.com.crt \\ -extfile \u003c(printf \"\\nsubjectAltName='DNS:www.example.com'\")", + "description": "Optional. Specifies a list of allowed custom CA certificates (in DER format) for HTTPS verification. This overrides the default SSL trust store. If this is empty or unspecified, Dialogflow will use Google's default trust store to verify certificates. N.B. Make sure the HTTPS server certificates are signed with \"subject alt name\". For instance a certificate can be self-signed using the following command, ``` openssl x509 -req -days 200 -in example.com.csr \\ -signkey example.com.key \\ -out example.com.crt \\ -extfile \u003c(printf \"\\nsubjectAltName='DNS:www.example.com'\") ```", "items": { "format": "byte", "type": "string" diff --git a/dialogflow/v3beta1/dialogflow-gen.go b/dialogflow/v3beta1/dialogflow-gen.go index 92207c11e3c..d8edb107eb5 100644 --- a/dialogflow/v3beta1/dialogflow-gen.go +++ b/dialogflow/v3beta1/dialogflow-gen.go @@ -7824,13 +7824,13 @@ type GoogleCloudDialogflowCxV3beta1Match struct { // Parameters: The collection of parameters extracted from the query. // Depending on your protocol or client library language, this is a map, // associative array, symbol table, dictionary, or JSON object composed - // of a collection of (MapKey, MapValue) pairs: - MapKey type: string - - // MapKey value: parameter name - MapValue type: - If parameter's entity - // type is a composite entity: map - Else: depending on parameter value - // type, could be one of string, number, boolean, null, list or map - - // MapValue value: - If parameter's entity type is a composite entity: - // map from composite entity property names to property values - Else: - // parameter value + // of a collection of (MapKey, MapValue) pairs: * MapKey type: string * + // MapKey value: parameter name * MapValue type: If parameter's entity + // type is a composite entity then use map, otherwise, depending on the + // parameter value type, it could be one of string, number, boolean, + // null, list or map. * MapValue value: If parameter's entity type is a + // composite entity then use map from composite entity property names to + // property values, otherwise, use parameter value. Parameters googleapi.RawMessage `json:"parameters,omitempty"` // ResolvedInput: Final text input which was matched during MatchIntent. @@ -8400,13 +8400,13 @@ type GoogleCloudDialogflowCxV3beta1QueryParameters struct { // in the agent with the following format: $session.params.parameter-id. // Depending on your protocol or client library language, this is a map, // associative array, symbol table, dictionary, or JSON object composed - // of a collection of (MapKey, MapValue) pairs: - MapKey type: string - - // MapKey value: parameter name - MapValue type: - If parameter's entity - // type is a composite entity: map - Else: depending on parameter value - // type, could be one of string, number, boolean, null, list or map - - // MapValue value: - If parameter's entity type is a composite entity: - // map from composite entity property names to property values - Else: - // parameter value + // of a collection of (MapKey, MapValue) pairs: * MapKey type: string * + // MapKey value: parameter name * MapValue type: If parameter's entity + // type is a composite entity then use map, otherwise, depending on the + // parameter value type, it could be one of string, number, boolean, + // null, list or map. * MapValue value: If parameter's entity type is a + // composite entity then use map from composite entity property names to + // property values, otherwise, use parameter value. Parameters googleapi.RawMessage `json:"parameters,omitempty"` // Payload: This field can be used to pass custom data into the webhook @@ -8507,13 +8507,13 @@ type GoogleCloudDialogflowCxV3beta1QueryResult struct { // Parameters: The collected session parameters. Depending on your // protocol or client library language, this is a map, associative // array, symbol table, dictionary, or JSON object composed of a - // collection of (MapKey, MapValue) pairs: - MapKey type: string - - // MapKey value: parameter name - MapValue type: - If parameter's entity - // type is a composite entity: map - Else: depending on parameter value - // type, could be one of string, number, boolean, null, list or map - - // MapValue value: - If parameter's entity type is a composite entity: - // map from composite entity property names to property values - Else: - // parameter value + // collection of (MapKey, MapValue) pairs: * MapKey type: string * + // MapKey value: parameter name * MapValue type: If parameter's entity + // type is a composite entity then use map, otherwise, depending on the + // parameter value type, it could be one of string, number, boolean, + // null, list or map. * MapValue value: If parameter's entity type is a + // composite entity then use map from composite entity property names to + // property values, otherwise, use parameter value. Parameters googleapi.RawMessage `json:"parameters,omitempty"` // ResponseMessages: The list of rich messages returned to the client. @@ -10887,9 +10887,10 @@ type GoogleCloudDialogflowCxV3beta1WebhookGenericWebService struct { // Dialogflow will use Google's default trust store to verify // certificates. N.B. Make sure the HTTPS server certificates are signed // with "subject alt name". For instance a certificate can be - // self-signed using the following command, openssl x509 -req -days 200 - // -in example.com.csr \ -signkey example.com.key \ -out example.com.crt - // \ -extfile <(printf "\nsubjectAltName='DNS:www.example.com'") + // self-signed using the following command, ``` openssl x509 -req -days + // 200 -in example.com.csr \ -signkey example.com.key \ -out + // example.com.crt \ -extfile <(printf + // "\nsubjectAltName='DNS:www.example.com'") ``` AllowedCaCerts []string `json:"allowedCaCerts,omitempty"` // Password: The password for HTTP Basic authentication. diff --git a/iam/v1/iam-api.json b/iam/v1/iam-api.json index e9b77b78501..2c210686fe3 100644 --- a/iam/v1/iam-api.json +++ b/iam/v1/iam-api.json @@ -180,6 +180,39 @@ }, "providers": { "resources": { + "keys": { + "resources": { + "operations": { + "methods": { + "get": { + "description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", + "flatPath": "v1/locations/{locationsId}/workforcePools/{workforcePoolsId}/providers/{providersId}/keys/{keysId}/operations/{operationsId}", + "httpMethod": "GET", + "id": "iam.locations.workforcePools.providers.keys.operations.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "The name of the operation resource.", + "location": "path", + "pattern": "^locations/[^/]+/workforcePools/[^/]+/providers/[^/]+/keys/[^/]+/operations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + } + } + } + } + }, "operations": { "methods": { "get": { @@ -1888,7 +1921,7 @@ } } }, - "revision": "20220217", + "revision": "20220310", "rootUrl": "https://iam.googleapis.com/", "schemas": { "AdminAuditData": { diff --git a/iam/v1/iam-gen.go b/iam/v1/iam-gen.go index 37daf7157fd..e58ce48541c 100644 --- a/iam/v1/iam-gen.go +++ b/iam/v1/iam-gen.go @@ -202,6 +202,7 @@ type LocationsWorkforcePoolsOperationsService struct { func NewLocationsWorkforcePoolsProvidersService(s *Service) *LocationsWorkforcePoolsProvidersService { rs := &LocationsWorkforcePoolsProvidersService{s: s} + rs.Keys = NewLocationsWorkforcePoolsProvidersKeysService(s) rs.Operations = NewLocationsWorkforcePoolsProvidersOperationsService(s) return rs } @@ -209,9 +210,32 @@ func NewLocationsWorkforcePoolsProvidersService(s *Service) *LocationsWorkforceP type LocationsWorkforcePoolsProvidersService struct { s *Service + Keys *LocationsWorkforcePoolsProvidersKeysService + Operations *LocationsWorkforcePoolsProvidersOperationsService } +func NewLocationsWorkforcePoolsProvidersKeysService(s *Service) *LocationsWorkforcePoolsProvidersKeysService { + rs := &LocationsWorkforcePoolsProvidersKeysService{s: s} + rs.Operations = NewLocationsWorkforcePoolsProvidersKeysOperationsService(s) + return rs +} + +type LocationsWorkforcePoolsProvidersKeysService struct { + s *Service + + Operations *LocationsWorkforcePoolsProvidersKeysOperationsService +} + +func NewLocationsWorkforcePoolsProvidersKeysOperationsService(s *Service) *LocationsWorkforcePoolsProvidersKeysOperationsService { + rs := &LocationsWorkforcePoolsProvidersKeysOperationsService{s: s} + return rs +} + +type LocationsWorkforcePoolsProvidersKeysOperationsService struct { + s *Service +} + func NewLocationsWorkforcePoolsProvidersOperationsService(s *Service) *LocationsWorkforcePoolsProvidersOperationsService { rs := &LocationsWorkforcePoolsProvidersOperationsService{s: s} return rs @@ -3168,6 +3192,154 @@ func (c *LocationsWorkforcePoolsOperationsGetCall) Do(opts ...googleapi.CallOpti } +// method id "iam.locations.workforcePools.providers.keys.operations.get": + +type LocationsWorkforcePoolsProvidersKeysOperationsGetCall struct { + s *Service + name string + urlParams_ gensupport.URLParams + ifNoneMatch_ string + ctx_ context.Context + header_ http.Header +} + +// Get: Gets the latest state of a long-running operation. Clients can +// use this method to poll the operation result at intervals as +// recommended by the API service. +// +// - name: The name of the operation resource. +func (r *LocationsWorkforcePoolsProvidersKeysOperationsService) Get(name string) *LocationsWorkforcePoolsProvidersKeysOperationsGetCall { + c := &LocationsWorkforcePoolsProvidersKeysOperationsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.name = name + 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 *LocationsWorkforcePoolsProvidersKeysOperationsGetCall) Fields(s ...googleapi.Field) *LocationsWorkforcePoolsProvidersKeysOperationsGetCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) + return c +} + +// IfNoneMatch sets the optional parameter which makes the operation +// fail if the object's ETag matches the given value. This is useful for +// getting updates only after the object has changed since the last +// request. Use googleapi.IsNotModified to check whether the response +// error from Do is the result of In-None-Match. +func (c *LocationsWorkforcePoolsProvidersKeysOperationsGetCall) IfNoneMatch(entityTag string) *LocationsWorkforcePoolsProvidersKeysOperationsGetCall { + c.ifNoneMatch_ = entityTag + 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 *LocationsWorkforcePoolsProvidersKeysOperationsGetCall) Context(ctx context.Context) *LocationsWorkforcePoolsProvidersKeysOperationsGetCall { + 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 *LocationsWorkforcePoolsProvidersKeysOperationsGetCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *LocationsWorkforcePoolsProvidersKeysOperationsGetCall) 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()) + if c.ifNoneMatch_ != "" { + reqHeaders.Set("If-None-Match", c.ifNoneMatch_) + } + var body io.Reader = nil + c.urlParams_.Set("alt", alt) + c.urlParams_.Set("prettyPrint", "false") + urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+name}") + urls += "?" + c.urlParams_.Encode() + req, err := http.NewRequest("GET", urls, body) + if err != nil { + return nil, err + } + req.Header = reqHeaders + googleapi.Expand(req.URL, map[string]string{ + "name": c.name, + }) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "iam.locations.workforcePools.providers.keys.operations.get" call. +// Exactly one of *Operation or error will be non-nil. Any non-2xx +// status code is an error. Response headers are in either +// *Operation.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 *LocationsWorkforcePoolsProvidersKeysOperationsGetCall) Do(opts ...googleapi.CallOption) (*Operation, 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 := &Operation{ + 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": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", + // "flatPath": "v1/locations/{locationsId}/workforcePools/{workforcePoolsId}/providers/{providersId}/keys/{keysId}/operations/{operationsId}", + // "httpMethod": "GET", + // "id": "iam.locations.workforcePools.providers.keys.operations.get", + // "parameterOrder": [ + // "name" + // ], + // "parameters": { + // "name": { + // "description": "The name of the operation resource.", + // "location": "path", + // "pattern": "^locations/[^/]+/workforcePools/[^/]+/providers/[^/]+/keys/[^/]+/operations/[^/]+$", + // "required": true, + // "type": "string" + // } + // }, + // "path": "v1/{+name}", + // "response": { + // "$ref": "Operation" + // }, + // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform" + // ] + // } + +} + // method id "iam.locations.workforcePools.providers.operations.get": type LocationsWorkforcePoolsProvidersOperationsGetCall struct { diff --git a/prod_tt_sasportal/v1alpha1/prod_tt_sasportal-api.json b/prod_tt_sasportal/v1alpha1/prod_tt_sasportal-api.json index ff3fbae4c5d..ce402e3984d 100644 --- a/prod_tt_sasportal/v1alpha1/prod_tt_sasportal-api.json +++ b/prod_tt_sasportal/v1alpha1/prod_tt_sasportal-api.json @@ -2484,7 +2484,7 @@ } } }, - "revision": "20220221", + "revision": "20220314", "rootUrl": "https://prod-tt-sasportal.googleapis.com/", "schemas": { "SasPortalAssignment": { @@ -3186,7 +3186,7 @@ "type": "object" }, "SasPortalNrqzValidation": { - "description": "Information about National Radio Quiet Zone validation. The presence of the field indicates the device has been validated.", + "description": "Information about National Radio Quiet Zone validation.", "id": "SasPortalNrqzValidation", "properties": { "caseId": { @@ -3206,6 +3206,20 @@ "description": "Device longitude associated with the validation.", "format": "double", "type": "number" + }, + "state": { + "description": "State of the NRQZ validation info.", + "enum": [ + "STATE_UNSPECIFIED", + "DRAFT", + "FINAL" + ], + "enumDescriptions": [ + "Unspecified state.", + "Draft state.", + "Final state." + ], + "type": "string" } }, "type": "object" diff --git a/prod_tt_sasportal/v1alpha1/prod_tt_sasportal-gen.go b/prod_tt_sasportal/v1alpha1/prod_tt_sasportal-gen.go index fbfd2a2d1d0..892bfa04d72 100644 --- a/prod_tt_sasportal/v1alpha1/prod_tt_sasportal-gen.go +++ b/prod_tt_sasportal/v1alpha1/prod_tt_sasportal-gen.go @@ -1501,8 +1501,7 @@ func (s *SasPortalNode) MarshalJSON() ([]byte, error) { } // SasPortalNrqzValidation: Information about National Radio Quiet Zone -// validation. The presence of the field indicates the device has been -// validated. +// validation. type SasPortalNrqzValidation struct { // CaseId: Validation case id. CaseId string `json:"caseId,omitempty"` @@ -1516,6 +1515,14 @@ type SasPortalNrqzValidation struct { // Longitude: Device longitude associated with the validation. Longitude float64 `json:"longitude,omitempty"` + // State: State of the NRQZ validation info. + // + // Possible values: + // "STATE_UNSPECIFIED" - Unspecified state. + // "DRAFT" - Draft state. + // "FINAL" - Final state. + State string `json:"state,omitempty"` + // ForceSendFields is a list of field names (e.g. "CaseId") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any diff --git a/securitycenter/v1/securitycenter-api.json b/securitycenter/v1/securitycenter-api.json index 05eb7eb02b8..d409ff9630d 100644 --- a/securitycenter/v1/securitycenter-api.json +++ b/securitycenter/v1/securitycenter-api.json @@ -3058,7 +3058,7 @@ } } }, - "revision": "20220303", + "revision": "20220310", "rootUrl": "https://securitycenter.googleapis.com/", "schemas": { "Access": { @@ -3670,7 +3670,7 @@ "type": "string" }, "filter": { - "description": "Expression that defines the filter to apply across create/update events of findings. The expression is a list of zero or more restrictions combined via logical operators `AND` and `OR`. Parentheses are supported, and `OR` has higher precedence than `AND`. Restrictions have the form ` ` and may have a `-` character in front of them to indicate negation. The fields map to those defined in the corresponding resource. The supported operators are: * `=` for all value types. * `\u003e`, `\u003c`, `\u003e=`, `\u003c=` for integer values. * `:`, meaning substring matching, for strings. The supported value types are: * string literals in quotes. * integer literals without quotes. * boolean literals `true` and `false` without quotes. Please see the proto documentation in the finding (https://source.corp.google.com/piper///depot/google3/google/cloud/securitycenter/v1/finding.proto) and in the ListFindingsRequest for valid filter syntax. (https://source.corp.google.com/piper///depot/google3/google/cloud/securitycenter/v1/securitycenter_service.proto).", + "description": "Expression that defines the filter to apply across create/update events of findings. The expression is a list of zero or more restrictions combined via logical operators `AND` and `OR`. Parentheses are supported, and `OR` has higher precedence than `AND`. Restrictions have the form ` ` and may have a `-` character in front of them to indicate negation. The fields map to those defined in the corresponding resource. The supported operators are: * `=` for all value types. * `\u003e`, `\u003c`, `\u003e=`, `\u003c=` for integer values. * `:`, meaning substring matching, for strings. The supported value types are: * string literals in quotes. * integer literals without quotes. * boolean literals `true` and `false` without quotes.", "type": "string" }, "mostRecentEditor": { diff --git a/securitycenter/v1/securitycenter-gen.go b/securitycenter/v1/securitycenter-gen.go index af439bc2e09..da39602a6e4 100644 --- a/securitycenter/v1/securitycenter-gen.go +++ b/securitycenter/v1/securitycenter-gen.go @@ -1469,11 +1469,7 @@ type GoogleCloudSecuritycenterV1BigQueryExport struct { // value types. * `>`, `<`, `>=`, `<=` for integer values. * `:`, // meaning substring matching, for strings. The supported value types // are: * string literals in quotes. * integer literals without quotes. - // * boolean literals `true` and `false` without quotes. Please see the - // proto documentation in the finding - // (https://source.corp.google.com/piper///depot/google3/google/cloud/securitycenter/v1/finding.proto) - // and in the ListFindingsRequest for valid filter syntax. - // (https://source.corp.google.com/piper///depot/google3/google/cloud/securitycenter/v1/securitycenter_service.proto). + // * boolean literals `true` and `false` without quotes. Filter string `json:"filter,omitempty"` // MostRecentEditor: Output only. Email address of the user who last diff --git a/securitycenter/v1beta1/securitycenter-api.json b/securitycenter/v1beta1/securitycenter-api.json index 22db0e64b8a..8d7f07fb97a 100644 --- a/securitycenter/v1beta1/securitycenter-api.json +++ b/securitycenter/v1beta1/securitycenter-api.json @@ -896,7 +896,7 @@ } } }, - "revision": "20220303", + "revision": "20220310", "rootUrl": "https://securitycenter.googleapis.com/", "schemas": { "Access": { @@ -1484,7 +1484,7 @@ "type": "string" }, "filter": { - "description": "Expression that defines the filter to apply across create/update events of findings. The expression is a list of zero or more restrictions combined via logical operators `AND` and `OR`. Parentheses are supported, and `OR` has higher precedence than `AND`. Restrictions have the form ` ` and may have a `-` character in front of them to indicate negation. The fields map to those defined in the corresponding resource. The supported operators are: * `=` for all value types. * `\u003e`, `\u003c`, `\u003e=`, `\u003c=` for integer values. * `:`, meaning substring matching, for strings. The supported value types are: * string literals in quotes. * integer literals without quotes. * boolean literals `true` and `false` without quotes. Please see the proto documentation in the finding (https://source.corp.google.com/piper///depot/google3/google/cloud/securitycenter/v1/finding.proto) and in the ListFindingsRequest for valid filter syntax. (https://source.corp.google.com/piper///depot/google3/google/cloud/securitycenter/v1/securitycenter_service.proto).", + "description": "Expression that defines the filter to apply across create/update events of findings. The expression is a list of zero or more restrictions combined via logical operators `AND` and `OR`. Parentheses are supported, and `OR` has higher precedence than `AND`. Restrictions have the form ` ` and may have a `-` character in front of them to indicate negation. The fields map to those defined in the corresponding resource. The supported operators are: * `=` for all value types. * `\u003e`, `\u003c`, `\u003e=`, `\u003c=` for integer values. * `:`, meaning substring matching, for strings. The supported value types are: * string literals in quotes. * integer literals without quotes. * boolean literals `true` and `false` without quotes.", "type": "string" }, "mostRecentEditor": { diff --git a/securitycenter/v1beta1/securitycenter-gen.go b/securitycenter/v1beta1/securitycenter-gen.go index 1b460e34c75..1efcbf868b3 100644 --- a/securitycenter/v1beta1/securitycenter-gen.go +++ b/securitycenter/v1beta1/securitycenter-gen.go @@ -1156,11 +1156,7 @@ type GoogleCloudSecuritycenterV1BigQueryExport struct { // value types. * `>`, `<`, `>=`, `<=` for integer values. * `:`, // meaning substring matching, for strings. The supported value types // are: * string literals in quotes. * integer literals without quotes. - // * boolean literals `true` and `false` without quotes. Please see the - // proto documentation in the finding - // (https://source.corp.google.com/piper///depot/google3/google/cloud/securitycenter/v1/finding.proto) - // and in the ListFindingsRequest for valid filter syntax. - // (https://source.corp.google.com/piper///depot/google3/google/cloud/securitycenter/v1/securitycenter_service.proto). + // * boolean literals `true` and `false` without quotes. Filter string `json:"filter,omitempty"` // MostRecentEditor: Output only. Email address of the user who last diff --git a/securitycenter/v1beta2/securitycenter-api.json b/securitycenter/v1beta2/securitycenter-api.json index 3a61f3a3d2c..35391047837 100644 --- a/securitycenter/v1beta2/securitycenter-api.json +++ b/securitycenter/v1beta2/securitycenter-api.json @@ -1592,7 +1592,7 @@ } } }, - "revision": "20220303", + "revision": "20220310", "rootUrl": "https://securitycenter.googleapis.com/", "schemas": { "Access": { @@ -2139,7 +2139,7 @@ "type": "string" }, "filter": { - "description": "Expression that defines the filter to apply across create/update events of findings. The expression is a list of zero or more restrictions combined via logical operators `AND` and `OR`. Parentheses are supported, and `OR` has higher precedence than `AND`. Restrictions have the form ` ` and may have a `-` character in front of them to indicate negation. The fields map to those defined in the corresponding resource. The supported operators are: * `=` for all value types. * `\u003e`, `\u003c`, `\u003e=`, `\u003c=` for integer values. * `:`, meaning substring matching, for strings. The supported value types are: * string literals in quotes. * integer literals without quotes. * boolean literals `true` and `false` without quotes. Please see the proto documentation in the finding (https://source.corp.google.com/piper///depot/google3/google/cloud/securitycenter/v1/finding.proto) and in the ListFindingsRequest for valid filter syntax. (https://source.corp.google.com/piper///depot/google3/google/cloud/securitycenter/v1/securitycenter_service.proto).", + "description": "Expression that defines the filter to apply across create/update events of findings. The expression is a list of zero or more restrictions combined via logical operators `AND` and `OR`. Parentheses are supported, and `OR` has higher precedence than `AND`. Restrictions have the form ` ` and may have a `-` character in front of them to indicate negation. The fields map to those defined in the corresponding resource. The supported operators are: * `=` for all value types. * `\u003e`, `\u003c`, `\u003e=`, `\u003c=` for integer values. * `:`, meaning substring matching, for strings. The supported value types are: * string literals in quotes. * integer literals without quotes. * boolean literals `true` and `false` without quotes.", "type": "string" }, "mostRecentEditor": { diff --git a/securitycenter/v1beta2/securitycenter-gen.go b/securitycenter/v1beta2/securitycenter-gen.go index e63ef47abca..f72c5184483 100644 --- a/securitycenter/v1beta2/securitycenter-gen.go +++ b/securitycenter/v1beta2/securitycenter-gen.go @@ -1137,11 +1137,7 @@ type GoogleCloudSecuritycenterV1BigQueryExport struct { // value types. * `>`, `<`, `>=`, `<=` for integer values. * `:`, // meaning substring matching, for strings. The supported value types // are: * string literals in quotes. * integer literals without quotes. - // * boolean literals `true` and `false` without quotes. Please see the - // proto documentation in the finding - // (https://source.corp.google.com/piper///depot/google3/google/cloud/securitycenter/v1/finding.proto) - // and in the ListFindingsRequest for valid filter syntax. - // (https://source.corp.google.com/piper///depot/google3/google/cloud/securitycenter/v1/securitycenter_service.proto). + // * boolean literals `true` and `false` without quotes. Filter string `json:"filter,omitempty"` // MostRecentEditor: Output only. Email address of the user who last diff --git a/testing/v1/testing-api.json b/testing/v1/testing-api.json index 65176bc5ff5..3e8b27af7a7 100644 --- a/testing/v1/testing-api.json +++ b/testing/v1/testing-api.json @@ -282,7 +282,7 @@ } } }, - "revision": "20220308", + "revision": "20220310", "rootUrl": "https://testing.googleapis.com/", "schemas": { "Account": { @@ -572,6 +572,16 @@ "description": "The java package for the application under test. The default value is determined by examining the application's manifest.", "type": "string" }, + "maxDepth": { + "description": "The max depth of the traversal stack Robo can explore. Needs to be at least 2 to make Robo explore the app beyond the first activity. Default is 50.", + "format": "int32", + "type": "integer" + }, + "maxSteps": { + "description": "The max number of steps Robo can execute. Default is no limit.", + "format": "int32", + "type": "integer" + }, "roboDirectives": { "description": "A set of directives Robo should apply during the crawl. This allows users to customize the crawl. For example, the username and password for a test account can be provided.", "items": { diff --git a/testing/v1/testing-gen.go b/testing/v1/testing-gen.go index 33d306139e1..f6d2d4889b0 100644 --- a/testing/v1/testing-gen.go +++ b/testing/v1/testing-gen.go @@ -581,6 +581,15 @@ type AndroidRoboTest struct { // default value is determined by examining the application's manifest. AppPackageId string `json:"appPackageId,omitempty"` + // MaxDepth: The max depth of the traversal stack Robo can explore. + // Needs to be at least 2 to make Robo explore the app beyond the first + // activity. Default is 50. + MaxDepth int64 `json:"maxDepth,omitempty"` + + // MaxSteps: The max number of steps Robo can execute. Default is no + // limit. + MaxSteps int64 `json:"maxSteps,omitempty"` + // RoboDirectives: A set of directives Robo should apply during the // crawl. This allows users to customize the crawl. For example, the // username and password for a test account can be provided.