diff --git a/alertcenter/v1beta1/alertcenter-api.json b/alertcenter/v1beta1/alertcenter-api.json index 227bc9db25a..206247a4e98 100644 --- a/alertcenter/v1beta1/alertcenter-api.json +++ b/alertcenter/v1beta1/alertcenter-api.json @@ -12,7 +12,7 @@ "baseUrl": "https://alertcenter.googleapis.com/", "batchPath": "batch", "canonicalName": "AlertCenter", - "description": "Manages alerts on issues affecting your domain.", + "description": "Manages alerts on issues affecting your domain. Note: The current version of this API (v1beta1) is available to all Google Workspace customers. ", "discoveryVersion": "v1", "documentationLink": "https://developers.google.com/admin-sdk/alertcenter/", "fullyEncodeReservedExpansion": true, @@ -423,7 +423,7 @@ } } }, - "revision": "20220321", + "revision": "20220516", "rootUrl": "https://alertcenter.googleapis.com/", "schemas": { "AccountSuspensionDetails": { @@ -1368,6 +1368,25 @@ }, "type": "object" }, + "PrimaryAdminChangedEvent": { + "description": "Event occurred when primary admin changed in customer's account. The event are being received from insight forwarder", + "id": "PrimaryAdminChangedEvent", + "properties": { + "domain": { + "description": "domain in which actioned occurred", + "type": "string" + }, + "previousAdminEmail": { + "description": "Email of person who was the primary admin before the action", + "type": "string" + }, + "updatedAdminEmail": { + "description": "Email of person who is the primary admin after the action", + "type": "string" + } + }, + "type": "object" + }, "ReportingRule": { "description": "Alerts from Reporting Rules configured by Admin.", "id": "ReportingRule", @@ -1552,6 +1571,79 @@ }, "type": "object" }, + "SSOProfileCreatedEvent": { + "description": "Event occurred when SSO Profile created in customer's account. The event are being received from insight forwarder", + "id": "SSOProfileCreatedEvent", + "properties": { + "inboundSsoProfileName": { + "description": "sso profile name which got created", + "type": "string" + } + }, + "type": "object" + }, + "SSOProfileDeletedEvent": { + "description": "Event occurred when SSO Profile deleted in customer's account. The event are being received from insight forwarder", + "id": "SSOProfileDeletedEvent", + "properties": { + "inboundSsoProfileName": { + "description": "sso profile name which got deleted", + "type": "string" + } + }, + "type": "object" + }, + "SSOProfileUpdatedEvent": { + "description": "Event occurred when SSO Profile updated in customer's account. The event are being received from insight forwarder", + "id": "SSOProfileUpdatedEvent", + "properties": { + "inboundSsoProfileChanges": { + "description": "changes made to sso profile", + "type": "string" + }, + "inboundSsoProfileName": { + "description": "sso profile name which got updated", + "type": "string" + } + }, + "type": "object" + }, + "SensitiveAdminAction": { + "description": "Alert that is triggered when Sensitive Admin Action occur in customer account.", + "id": "SensitiveAdminAction", + "properties": { + "actorEmail": { + "description": "Email of person who performed the action", + "type": "string" + }, + "eventTime": { + "description": "The time at which event occurred", + "format": "google-datetime", + "type": "string" + }, + "primaryAdminChangedEvent": { + "$ref": "PrimaryAdminChangedEvent", + "description": "Event occurred when primary admin changed in customer's account" + }, + "ssoProfileCreatedEvent": { + "$ref": "SSOProfileCreatedEvent", + "description": "Event occurred when SSO Profile created in customer's account" + }, + "ssoProfileDeletedEvent": { + "$ref": "SSOProfileDeletedEvent", + "description": "Event occurred when SSO Profile deleted in customer's account" + }, + "ssoProfileUpdatedEvent": { + "$ref": "SSOProfileUpdatedEvent", + "description": "Event occurred when SSO Profile updated in customer's account" + }, + "superAdminPasswordResetEvent": { + "$ref": "SuperAdminPasswordResetEvent", + "description": "Event occurred when password was reset for super admin in customer's account" + } + }, + "type": "object" + }, "Settings": { "description": "Customer-level settings.", "id": "Settings", @@ -1604,6 +1696,17 @@ }, "type": "object" }, + "SuperAdminPasswordResetEvent": { + "description": "Event occurred when password was reset for super admin in customer's account. The event are being received from insight forwarder", + "id": "SuperAdminPasswordResetEvent", + "properties": { + "userEmail": { + "description": "email of person whose password was reset", + "type": "string" + } + }, + "type": "object" + }, "SuspiciousActivity": { "description": "A mobile suspicious activity alert. Derived from audit logs.", "id": "SuspiciousActivity", diff --git a/alertcenter/v1beta1/alertcenter-gen.go b/alertcenter/v1beta1/alertcenter-gen.go index 1414c39444f..8e69089bcc1 100644 --- a/alertcenter/v1beta1/alertcenter-gen.go +++ b/alertcenter/v1beta1/alertcenter-gen.go @@ -1710,6 +1710,44 @@ func (s *PredefinedDetectorInfo) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } +// PrimaryAdminChangedEvent: Event occurred when primary admin changed +// in customer's account. The event are being received from insight +// forwarder +type PrimaryAdminChangedEvent struct { + // Domain: domain in which actioned occurred + Domain string `json:"domain,omitempty"` + + // PreviousAdminEmail: Email of person who was the primary admin before + // the action + PreviousAdminEmail string `json:"previousAdminEmail,omitempty"` + + // UpdatedAdminEmail: Email of person who is the primary admin after the + // action + UpdatedAdminEmail string `json:"updatedAdminEmail,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Domain") to + // unconditionally include in API requests. By default, fields with + // empty or default values are omitted from API requests. However, any + // non-pointer, non-interface field appearing in ForceSendFields will be + // sent to the server regardless of whether the field is empty or not. + // This may be used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "Domain") to include in API + // requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. + NullFields []string `json:"-"` +} + +func (s *PrimaryAdminChangedEvent) MarshalJSON() ([]byte, error) { + type NoMethod PrimaryAdminChangedEvent + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + // ReportingRule: Alerts from Reporting Rules configured by Admin. type ReportingRule struct { // AlertDetails: Any other associated alert details, for example, @@ -1940,6 +1978,157 @@ func (s *RuleViolationInfo) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } +// SSOProfileCreatedEvent: Event occurred when SSO Profile created in +// customer's account. The event are being received from insight +// forwarder +type SSOProfileCreatedEvent struct { + // InboundSsoProfileName: sso profile name which got created + InboundSsoProfileName string `json:"inboundSsoProfileName,omitempty"` + + // ForceSendFields is a list of field names (e.g. + // "InboundSsoProfileName") to unconditionally include in API requests. + // By default, fields with empty or default values are omitted from API + // requests. However, any non-pointer, non-interface field appearing in + // ForceSendFields will be sent to the server regardless of whether the + // field is empty or not. This may be used to include empty fields in + // Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "InboundSsoProfileName") to + // include in API requests with the JSON null value. By default, fields + // with empty values are omitted from API requests. However, any field + // with an empty value appearing in NullFields will be sent to the + // server as null. It is an error if a field in this list has a + // non-empty value. This may be used to include null fields in Patch + // requests. + NullFields []string `json:"-"` +} + +func (s *SSOProfileCreatedEvent) MarshalJSON() ([]byte, error) { + type NoMethod SSOProfileCreatedEvent + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// SSOProfileDeletedEvent: Event occurred when SSO Profile deleted in +// customer's account. The event are being received from insight +// forwarder +type SSOProfileDeletedEvent struct { + // InboundSsoProfileName: sso profile name which got deleted + InboundSsoProfileName string `json:"inboundSsoProfileName,omitempty"` + + // ForceSendFields is a list of field names (e.g. + // "InboundSsoProfileName") to unconditionally include in API requests. + // By default, fields with empty or default values are omitted from API + // requests. However, any non-pointer, non-interface field appearing in + // ForceSendFields will be sent to the server regardless of whether the + // field is empty or not. This may be used to include empty fields in + // Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "InboundSsoProfileName") to + // include in API requests with the JSON null value. By default, fields + // with empty values are omitted from API requests. However, any field + // with an empty value appearing in NullFields will be sent to the + // server as null. It is an error if a field in this list has a + // non-empty value. This may be used to include null fields in Patch + // requests. + NullFields []string `json:"-"` +} + +func (s *SSOProfileDeletedEvent) MarshalJSON() ([]byte, error) { + type NoMethod SSOProfileDeletedEvent + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// SSOProfileUpdatedEvent: Event occurred when SSO Profile updated in +// customer's account. The event are being received from insight +// forwarder +type SSOProfileUpdatedEvent struct { + // InboundSsoProfileChanges: changes made to sso profile + InboundSsoProfileChanges string `json:"inboundSsoProfileChanges,omitempty"` + + // InboundSsoProfileName: sso profile name which got updated + InboundSsoProfileName string `json:"inboundSsoProfileName,omitempty"` + + // ForceSendFields is a list of field names (e.g. + // "InboundSsoProfileChanges") to unconditionally include in API + // requests. By default, fields with empty or default values are omitted + // from API requests. However, any non-pointer, non-interface field + // appearing in ForceSendFields will be sent to the server regardless of + // whether the field is empty or not. This may be used to include empty + // fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "InboundSsoProfileChanges") + // to include in API requests with the JSON null value. By default, + // fields with empty values are omitted from API requests. However, any + // field with an empty value appearing in NullFields will be sent to the + // server as null. It is an error if a field in this list has a + // non-empty value. This may be used to include null fields in Patch + // requests. + NullFields []string `json:"-"` +} + +func (s *SSOProfileUpdatedEvent) MarshalJSON() ([]byte, error) { + type NoMethod SSOProfileUpdatedEvent + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// SensitiveAdminAction: Alert that is triggered when Sensitive Admin +// Action occur in customer account. +type SensitiveAdminAction struct { + // ActorEmail: Email of person who performed the action + ActorEmail string `json:"actorEmail,omitempty"` + + // EventTime: The time at which event occurred + EventTime string `json:"eventTime,omitempty"` + + // PrimaryAdminChangedEvent: Event occurred when primary admin changed + // in customer's account + PrimaryAdminChangedEvent *PrimaryAdminChangedEvent `json:"primaryAdminChangedEvent,omitempty"` + + // SsoProfileCreatedEvent: Event occurred when SSO Profile created in + // customer's account + SsoProfileCreatedEvent *SSOProfileCreatedEvent `json:"ssoProfileCreatedEvent,omitempty"` + + // SsoProfileDeletedEvent: Event occurred when SSO Profile deleted in + // customer's account + SsoProfileDeletedEvent *SSOProfileDeletedEvent `json:"ssoProfileDeletedEvent,omitempty"` + + // SsoProfileUpdatedEvent: Event occurred when SSO Profile updated in + // customer's account + SsoProfileUpdatedEvent *SSOProfileUpdatedEvent `json:"ssoProfileUpdatedEvent,omitempty"` + + // SuperAdminPasswordResetEvent: Event occurred when password was reset + // for super admin in customer's account + SuperAdminPasswordResetEvent *SuperAdminPasswordResetEvent `json:"superAdminPasswordResetEvent,omitempty"` + + // ForceSendFields is a list of field names (e.g. "ActorEmail") to + // unconditionally include in API requests. By default, fields with + // empty or default values are omitted from API requests. However, any + // non-pointer, non-interface field appearing in ForceSendFields will be + // sent to the server regardless of whether the field is empty or not. + // This may be used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "ActorEmail") to include in + // API requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. + NullFields []string `json:"-"` +} + +func (s *SensitiveAdminAction) MarshalJSON() ([]byte, error) { + type NoMethod SensitiveAdminAction + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + // Settings: Customer-level settings. type Settings struct { // Notifications: The list of notifications. @@ -2045,6 +2234,36 @@ func (s *Status) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } +// SuperAdminPasswordResetEvent: Event occurred when password was reset +// for super admin in customer's account. The event are being received +// from insight forwarder +type SuperAdminPasswordResetEvent struct { + // UserEmail: email of person whose password was reset + UserEmail string `json:"userEmail,omitempty"` + + // ForceSendFields is a list of field names (e.g. "UserEmail") to + // unconditionally include in API requests. By default, fields with + // empty or default values are omitted from API requests. However, any + // non-pointer, non-interface field appearing in ForceSendFields will be + // sent to the server regardless of whether the field is empty or not. + // This may be used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "UserEmail") to include in + // API requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. + NullFields []string `json:"-"` +} + +func (s *SuperAdminPasswordResetEvent) MarshalJSON() ([]byte, error) { + type NoMethod SuperAdminPasswordResetEvent + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + // SuspiciousActivity: A mobile suspicious activity alert. Derived from // audit logs. type SuspiciousActivity struct { diff --git a/api-list.json b/api-list.json index e0c9cf4d5b8..50febbbf8bd 100644 --- a/api-list.json +++ b/api-list.json @@ -571,21 +571,6 @@ "documentationLink": "https://developers.google.com/authorized-buyers/apis/marketplace/reference/rest/", "preferred": true }, - { - "kind": "discovery#directoryItem", - "id": "baremetalsolution:v1alpha1", - "name": "baremetalsolution", - "version": "v1alpha1", - "title": "Bare Metal Solution API", - "description": "Provides ways to manage Bare Metal Solution hardware installed in a regional extension located near a Google Cloud data center.", - "discoveryRestUrl": "https://baremetalsolution.googleapis.com/$discovery/rest?version=v1alpha1", - "icons": { - "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", - "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" - }, - "documentationLink": "https://cloud.google.com/bare-metal", - "preferred": false - }, { "kind": "discovery#directoryItem", "id": "baremetalsolution:v1", diff --git a/cloudasset/v1/cloudasset-api.json b/cloudasset/v1/cloudasset-api.json index 65250cd003c..0f79bb447ae 100644 --- a/cloudasset/v1/cloudasset-api.json +++ b/cloudasset/v1/cloudasset-api.json @@ -929,7 +929,7 @@ } } }, - "revision": "20220507", + "revision": "20220513", "rootUrl": "https://cloudasset.googleapis.com/", "schemas": { "AccessSelector": { @@ -1069,6 +1069,14 @@ "$ref": "Inventory", "description": "A representation of runtime OS Inventory information. See [this topic](https://cloud.google.com/compute/docs/instances/os-inventory-management) for more information." }, + "relatedAsset": { + "$ref": "RelatedAsset", + "description": "One related asset of the current asset." + }, + "relatedAssets": { + "$ref": "RelatedAssets", + "description": "DEPRECATED. This field only presents for the purpose of backward-compatibility. The server will never generate responses with this field. The related assets of the asset of one relationship type. One asset only represents one type of relationship." + }, "resource": { "$ref": "Resource", "description": "A representation of the resource." @@ -3069,6 +3077,50 @@ }, "type": "object" }, + "RelatedAsset": { + "description": "An asset identifier in Google Cloud which contains its name, type and ancestors. An asset can be any resource in the Google Cloud [resource hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy), a resource outside the Google Cloud resource hierarchy (such as Google Kubernetes Engine clusters and objects), or a policy (e.g. Cloud IAM policy). See [Supported asset types](https://cloud.google.com/asset-inventory/docs/supported-asset-types) for more information.", + "id": "RelatedAsset", + "properties": { + "ancestors": { + "description": "The ancestors of an asset in Google Cloud [resource hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy), represented as a list of relative resource names. An ancestry path starts with the closest ancestor in the hierarchy and ends at root. Example: `[\"projects/123456789\", \"folders/5432\", \"organizations/1234\"]`", + "items": { + "type": "string" + }, + "type": "array" + }, + "asset": { + "description": "The full name of the asset. Example: `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1` See [Resource names](https://cloud.google.com/apis/design/resource_names#full_resource_name) for more information.", + "type": "string" + }, + "assetType": { + "description": "The type of the asset. Example: `compute.googleapis.com/Disk` See [Supported asset types](https://cloud.google.com/asset-inventory/docs/supported-asset-types) for more information.", + "type": "string" + }, + "relationshipType": { + "description": "The unique identifier of the relationship type. Example: `INSTANCE_TO_INSTANCEGROUP`", + "type": "string" + } + }, + "type": "object" + }, + "RelatedAssets": { + "description": "DEPRECATED. This message only presents for the purpose of backward-compatibility. The server will never populate this message in responses. The detailed related assets with the `relationship_type`.", + "id": "RelatedAssets", + "properties": { + "assets": { + "description": "The peer resources of the relationship.", + "items": { + "$ref": "RelatedAsset" + }, + "type": "array" + }, + "relationshipAttributes": { + "$ref": "RelationshipAttributes", + "description": "The detailed relationship attributes." + } + }, + "type": "object" + }, "RelatedResource": { "description": "The detailed related resource.", "id": "RelatedResource", @@ -3098,6 +3150,29 @@ }, "type": "object" }, + "RelationshipAttributes": { + "description": "DEPRECATED. This message only presents for the purpose of backward-compatibility. The server will never populate this message in responses. The relationship attributes which include `type`, `source_resource_type`, `target_resource_type` and `action`.", + "id": "RelationshipAttributes", + "properties": { + "action": { + "description": "The detail of the relationship, e.g. `contains`, `attaches`", + "type": "string" + }, + "sourceResourceType": { + "description": "The source asset type. Example: `compute.googleapis.com/Instance`", + "type": "string" + }, + "targetResourceType": { + "description": "The target asset type. Example: `compute.googleapis.com/Disk`", + "type": "string" + }, + "type": { + "description": "The unique identifier of the relationship type. Example: `INSTANCE_TO_INSTANCEGROUP`", + "type": "string" + } + }, + "type": "object" + }, "Resource": { "description": "A representation of a Google Cloud resource.", "id": "Resource", diff --git a/cloudasset/v1/cloudasset-gen.go b/cloudasset/v1/cloudasset-gen.go index 45cfb84ac88..03adc14f641 100644 --- a/cloudasset/v1/cloudasset-gen.go +++ b/cloudasset/v1/cloudasset-gen.go @@ -465,6 +465,15 @@ type Asset struct { // for more information. OsInventory *Inventory `json:"osInventory,omitempty"` + // RelatedAsset: One related asset of the current asset. + RelatedAsset *RelatedAsset `json:"relatedAsset,omitempty"` + + // RelatedAssets: DEPRECATED. This field only presents for the purpose + // of backward-compatibility. The server will never generate responses + // with this field. The related assets of the asset of one relationship + // type. One asset only represents one type of relationship. + RelatedAssets *RelatedAssets `json:"relatedAssets,omitempty"` + // Resource: A representation of the resource. Resource *Resource `json:"resource,omitempty"` @@ -4554,6 +4563,99 @@ func (s *QueryContent) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } +// RelatedAsset: An asset identifier in Google Cloud which contains its +// name, type and ancestors. An asset can be any resource in the Google +// Cloud resource hierarchy +// (https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy), +// a resource outside the Google Cloud resource hierarchy (such as +// Google Kubernetes Engine clusters and objects), or a policy (e.g. +// Cloud IAM policy). See Supported asset types +// (https://cloud.google.com/asset-inventory/docs/supported-asset-types) +// for more information. +type RelatedAsset struct { + // Ancestors: The ancestors of an asset in Google Cloud resource + // hierarchy + // (https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy), + // represented as a list of relative resource names. An ancestry path + // starts with the closest ancestor in the hierarchy and ends at root. + // Example: `["projects/123456789", "folders/5432", + // "organizations/1234"]` + Ancestors []string `json:"ancestors,omitempty"` + + // Asset: The full name of the asset. Example: + // `//compute.googleapis.com/projects/my_project_123/zones/zone1/instance + // s/instance1` See Resource names + // (https://cloud.google.com/apis/design/resource_names#full_resource_name) + // for more information. + Asset string `json:"asset,omitempty"` + + // AssetType: The type of the asset. Example: + // `compute.googleapis.com/Disk` See Supported asset types + // (https://cloud.google.com/asset-inventory/docs/supported-asset-types) + // for more information. + AssetType string `json:"assetType,omitempty"` + + // RelationshipType: The unique identifier of the relationship type. + // Example: `INSTANCE_TO_INSTANCEGROUP` + RelationshipType string `json:"relationshipType,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Ancestors") to + // unconditionally include in API requests. By default, fields with + // empty or default values are omitted from API requests. However, any + // non-pointer, non-interface field appearing in ForceSendFields will be + // sent to the server regardless of whether the field is empty or not. + // This may be used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "Ancestors") to include in + // API requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. + NullFields []string `json:"-"` +} + +func (s *RelatedAsset) MarshalJSON() ([]byte, error) { + type NoMethod RelatedAsset + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// RelatedAssets: DEPRECATED. This message only presents for the purpose +// of backward-compatibility. The server will never populate this +// message in responses. The detailed related assets with the +// `relationship_type`. +type RelatedAssets struct { + // Assets: The peer resources of the relationship. + Assets []*RelatedAsset `json:"assets,omitempty"` + + // RelationshipAttributes: The detailed relationship attributes. + RelationshipAttributes *RelationshipAttributes `json:"relationshipAttributes,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Assets") to + // unconditionally include in API requests. By default, fields with + // empty or default values are omitted from API requests. However, any + // non-pointer, non-interface field appearing in ForceSendFields will be + // sent to the server regardless of whether the field is empty or not. + // This may be used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "Assets") to include in API + // requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. + NullFields []string `json:"-"` +} + +func (s *RelatedAssets) MarshalJSON() ([]byte, error) { + type NoMethod RelatedAssets + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + // RelatedResource: The detailed related resource. type RelatedResource struct { // AssetType: The type of the asset. Example: @@ -4619,6 +4721,49 @@ func (s *RelatedResources) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } +// RelationshipAttributes: DEPRECATED. This message only presents for +// the purpose of backward-compatibility. The server will never populate +// this message in responses. The relationship attributes which include +// `type`, `source_resource_type`, `target_resource_type` and `action`. +type RelationshipAttributes struct { + // Action: The detail of the relationship, e.g. `contains`, `attaches` + Action string `json:"action,omitempty"` + + // SourceResourceType: The source asset type. Example: + // `compute.googleapis.com/Instance` + SourceResourceType string `json:"sourceResourceType,omitempty"` + + // TargetResourceType: The target asset type. Example: + // `compute.googleapis.com/Disk` + TargetResourceType string `json:"targetResourceType,omitempty"` + + // Type: The unique identifier of the relationship type. Example: + // `INSTANCE_TO_INSTANCEGROUP` + Type string `json:"type,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Action") to + // unconditionally include in API requests. By default, fields with + // empty or default values are omitted from API requests. However, any + // non-pointer, non-interface field appearing in ForceSendFields will be + // sent to the server regardless of whether the field is empty or not. + // This may be used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "Action") to include in API + // requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. + NullFields []string `json:"-"` +} + +func (s *RelationshipAttributes) MarshalJSON() ([]byte, error) { + type NoMethod RelationshipAttributes + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + // Resource: A representation of a Google Cloud resource. type Resource struct { // Data: The content of the resource, in which some sensitive fields are diff --git a/cloudidentity/v1/cloudidentity-api.json b/cloudidentity/v1/cloudidentity-api.json index 81e3edfd474..89f987efbec 100644 --- a/cloudidentity/v1/cloudidentity-api.json +++ b/cloudidentity/v1/cloudidentity-api.json @@ -1401,7 +1401,7 @@ } } }, - "revision": "20220301", + "revision": "20220513", "rootUrl": "https://cloudidentity.googleapis.com/", "schemas": { "CheckTransitiveMembershipResponse": { @@ -1915,6 +1915,10 @@ "readOnly": true, "type": "string" }, + "deviceId": { + "description": "Unique identifier for the device.", + "type": "string" + }, "deviceType": { "description": "Output only. Type of device.", "enum": [ diff --git a/cloudidentity/v1/cloudidentity-gen.go b/cloudidentity/v1/cloudidentity-gen.go index dc01fa664fb..8a83cf6b517 100644 --- a/cloudidentity/v1/cloudidentity-gen.go +++ b/cloudidentity/v1/cloudidentity-gen.go @@ -1059,6 +1059,9 @@ type GoogleAppsCloudidentityDevicesV1Device struct { // This field is empty for BYOD devices. CreateTime string `json:"createTime,omitempty"` + // DeviceId: Unique identifier for the device. + DeviceId string `json:"deviceId,omitempty"` + // DeviceType: Output only. Type of device. // // Possible values: diff --git a/cloudidentity/v1beta1/cloudidentity-api.json b/cloudidentity/v1beta1/cloudidentity-api.json index d5bfbbf8bb8..db8c4c719f2 100644 --- a/cloudidentity/v1beta1/cloudidentity-api.json +++ b/cloudidentity/v1beta1/cloudidentity-api.json @@ -1536,7 +1536,7 @@ } } }, - "revision": "20220404", + "revision": "20220513", "rootUrl": "https://cloudidentity.googleapis.com/", "schemas": { "AndroidAttributes": { @@ -2658,6 +2658,10 @@ "readOnly": true, "type": "string" }, + "deviceId": { + "description": "Unique identifier for the device.", + "type": "string" + }, "deviceType": { "description": "Output only. Type of device.", "enum": [ diff --git a/cloudidentity/v1beta1/cloudidentity-gen.go b/cloudidentity/v1beta1/cloudidentity-gen.go index 3cb9dd73aaf..991b02077a0 100644 --- a/cloudidentity/v1beta1/cloudidentity-gen.go +++ b/cloudidentity/v1beta1/cloudidentity-gen.go @@ -1766,6 +1766,9 @@ type GoogleAppsCloudidentityDevicesV1Device struct { // This field is empty for BYOD devices. CreateTime string `json:"createTime,omitempty"` + // DeviceId: Unique identifier for the device. + DeviceId string `json:"deviceId,omitempty"` + // DeviceType: Output only. Type of device. // // Possible values: diff --git a/compute/v0.alpha/compute-api.json b/compute/v0.alpha/compute-api.json index 43c92a1d4f4..2b3cfe0aa25 100644 --- a/compute/v0.alpha/compute-api.json +++ b/compute/v0.alpha/compute-api.json @@ -38709,7 +38709,7 @@ } } }, - "revision": "20220506", + "revision": "20220510", "rootUrl": "https://compute.googleapis.com/", "schemas": { "AcceleratorConfig": { @@ -49711,7 +49711,7 @@ }, "sourceType": { "default": "RAW", - "description": "The type of the image used to create this disk. The default and only value is RAW", + "description": "The type of the image used to create this disk. The default and only valid value is RAW.", "enum": [ "RAW" ], @@ -54039,6 +54039,10 @@ "format": "int32", "type": "integer" }, + "remoteLocation": { + "description": "Indicates that this is a Cross-Cloud Interconnect. This field specifies the location outside of Google's network that the interconnect is connected to.", + "type": "string" + }, "requestedLinkCount": { "description": "Target number of physical links in the link bundle, as requested by the customer.", "format": "int32", diff --git a/compute/v0.alpha/compute-gen.go b/compute/v0.alpha/compute-gen.go index 09dc52155a4..6d27d105819 100644 --- a/compute/v0.alpha/compute-gen.go +++ b/compute/v0.alpha/compute-gen.go @@ -18788,7 +18788,7 @@ type Image struct { SourceSnapshotId string `json:"sourceSnapshotId,omitempty"` // SourceType: The type of the image used to create this disk. The - // default and only value is RAW + // default and only valid value is RAW. // // Possible values: // "RAW" (default) @@ -25706,6 +25706,11 @@ type Interconnect struct { // provisioned in this interconnect. ProvisionedLinkCount int64 `json:"provisionedLinkCount,omitempty"` + // RemoteLocation: Indicates that this is a Cross-Cloud Interconnect. + // This field specifies the location outside of Google's network that + // the interconnect is connected to. + RemoteLocation string `json:"remoteLocation,omitempty"` + // RequestedLinkCount: Target number of physical links in the link // bundle, as requested by the customer. RequestedLinkCount int64 `json:"requestedLinkCount,omitempty"` diff --git a/container/v1beta1/container-api.json b/container/v1beta1/container-api.json index b0d05e8de4b..38a713912ae 100644 --- a/container/v1beta1/container-api.json +++ b/container/v1beta1/container-api.json @@ -2484,7 +2484,7 @@ } } }, - "revision": "20220420", + "revision": "20220429", "rootUrl": "https://container.googleapis.com/", "schemas": { "AcceleratorConfig": { @@ -3023,6 +3023,10 @@ "$ref": "PrivateClusterConfig", "description": "Configuration for private cluster." }, + "protectConfig": { + "$ref": "ProtectConfig", + "description": "Enable/Disable Protect API features for the cluster." + }, "releaseChannel": { "$ref": "ReleaseChannel", "description": "Release channel configuration." @@ -3330,6 +3334,10 @@ ], "type": "string" }, + "desiredProtectConfig": { + "$ref": "ProtectConfig", + "description": "Enable/Disable Protect API features for the cluster." + }, "desiredReleaseChannel": { "$ref": "ReleaseChannel", "description": "The desired release channel configuration." @@ -3835,6 +3843,20 @@ "description": "Whether a new subnetwork will be created automatically for the cluster. This field is only applicable when `use_ip_aliases` is true.", "type": "boolean" }, + "ipv6AccessType": { + "description": "The ipv6 access type (internal or external) when create_subnetwork is true", + "enum": [ + "IPV6_ACCESS_TYPE_UNSPECIFIED", + "INTERNAL", + "EXTERNAL" + ], + "enumDescriptions": [ + "Default value, will be defaulted as type external.", + "Access type internal (all v6 addresses are internal IPs)", + "Access type external (all v6 addresses are external IPs)" + ], + "type": "string" + }, "nodeIpv4Cidr": { "description": "This field is deprecated, use node_ipv4_cidr_block.", "type": "string" @@ -3855,6 +3877,20 @@ "description": "The name of the secondary range to be used as for the services CIDR block. The secondary range will be used for service ClusterIPs. This must be an existing secondary range associated with the cluster subnetwork. This field is only applicable with use_ip_aliases and create_subnetwork is false.", "type": "string" }, + "stackType": { + "description": "IP stack type", + "enum": [ + "STACK_TYPE_UNSPECIFIED", + "IPV4", + "IPV4_IPV6" + ], + "enumDescriptions": [ + "By default, the clusters will be IPV4 only", + "The value used if the cluster is a IPV4 only", + "The value used if the cluster is a dual stack cluster" + ], + "type": "string" + }, "subnetworkName": { "description": "A custom subnetwork name to be used if `create_subnetwork` is true. If this field is empty, then an automatic name will be chosen for the new subnetwork.", "type": "string" @@ -5202,6 +5238,17 @@ }, "type": "object" }, + "ProtectConfig": { + "description": "ProtectConfig defines the flags needed to enable/disable features for the Protect API.", + "id": "ProtectConfig", + "properties": { + "workloadConfig": { + "$ref": "WorkloadConfig", + "description": "WorkloadConfig defines which actions are enabled for a cluster's workload configurations." + } + }, + "type": "object" + }, "PubSub": { "description": "Pub/Sub specific notification config.", "id": "PubSub", @@ -6470,6 +6517,31 @@ }, "type": "object" }, + "WorkloadConfig": { + "description": "WorkloadConfig defines the flags to enable or disable the workload configurations for the cluster.", + "id": "WorkloadConfig", + "properties": { + "auditMode": { + "description": "Sets which mode of auditing should be used for the cluster's workloads.", + "enum": [ + "MODE_UNSPECIFIED", + "DISABLED", + "BASIC", + "BASELINE", + "RESTRICTED" + ], + "enumDescriptions": [ + "Default value meaning that no mode has been specified.", + "This disables Workload Configuration auditing on the cluster, meaning that nothing is surfaced.", + "Applies the default set of policy auditing to a cluster's workloads.", + "Surfaces configurations that are not in line with the Pod Security Standard Baseline policy.", + "Surfaces configurations that are not in line with the Pod Security Standard Restricted policy." + ], + "type": "string" + } + }, + "type": "object" + }, "WorkloadIdentityConfig": { "description": "Configuration for the use of Kubernetes Service Accounts in GCP IAM policies.", "id": "WorkloadIdentityConfig", diff --git a/container/v1beta1/container-gen.go b/container/v1beta1/container-gen.go index 9f4070ae845..5bf6d807ebd 100644 --- a/container/v1beta1/container-gen.go +++ b/container/v1beta1/container-gen.go @@ -1158,6 +1158,9 @@ type Cluster struct { // PrivateClusterConfig: Configuration for private cluster. PrivateClusterConfig *PrivateClusterConfig `json:"privateClusterConfig,omitempty"` + // ProtectConfig: Enable/Disable Protect API features for the cluster. + ProtectConfig *ProtectConfig `json:"protectConfig,omitempty"` + // ReleaseChannel: Release channel configuration. ReleaseChannel *ReleaseChannel `json:"releaseChannel,omitempty"` @@ -1537,6 +1540,10 @@ type ClusterUpdate struct { // access to and from Google Services DesiredPrivateIpv6GoogleAccess string `json:"desiredPrivateIpv6GoogleAccess,omitempty"` + // DesiredProtectConfig: Enable/Disable Protect API features for the + // cluster. + DesiredProtectConfig *ProtectConfig `json:"desiredProtectConfig,omitempty"` + // DesiredReleaseChannel: The desired release channel configuration. DesiredReleaseChannel *ReleaseChannel `json:"desiredReleaseChannel,omitempty"` @@ -2522,6 +2529,18 @@ type IPAllocationPolicy struct { // `use_ip_aliases` is true. CreateSubnetwork bool `json:"createSubnetwork,omitempty"` + // Ipv6AccessType: The ipv6 access type (internal or external) when + // create_subnetwork is true + // + // Possible values: + // "IPV6_ACCESS_TYPE_UNSPECIFIED" - Default value, will be defaulted + // as type external. + // "INTERNAL" - Access type internal (all v6 addresses are internal + // IPs) + // "EXTERNAL" - Access type external (all v6 addresses are external + // IPs) + Ipv6AccessType string `json:"ipv6AccessType,omitempty"` + // NodeIpv4Cidr: This field is deprecated, use node_ipv4_cidr_block. NodeIpv4Cidr string `json:"nodeIpv4Cidr,omitempty"` @@ -2559,6 +2578,15 @@ type IPAllocationPolicy struct { // with use_ip_aliases and create_subnetwork is false. ServicesSecondaryRangeName string `json:"servicesSecondaryRangeName,omitempty"` + // StackType: IP stack type + // + // Possible values: + // "STACK_TYPE_UNSPECIFIED" - By default, the clusters will be IPV4 + // only + // "IPV4" - The value used if the cluster is a IPV4 only + // "IPV4_IPV6" - The value used if the cluster is a dual stack cluster + StackType string `json:"stackType,omitempty"` + // SubnetworkName: A custom subnetwork name to be used if // `create_subnetwork` is true. If this field is empty, then an // automatic name will be chosen for the new subnetwork. @@ -4908,6 +4936,37 @@ func (s *PrivateClusterMasterGlobalAccessConfig) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } +// ProtectConfig: ProtectConfig defines the flags needed to +// enable/disable features for the Protect API. +type ProtectConfig struct { + // WorkloadConfig: WorkloadConfig defines which actions are enabled for + // a cluster's workload configurations. + WorkloadConfig *WorkloadConfig `json:"workloadConfig,omitempty"` + + // ForceSendFields is a list of field names (e.g. "WorkloadConfig") to + // unconditionally include in API requests. By default, fields with + // empty or default values are omitted from API requests. However, any + // non-pointer, non-interface field appearing in ForceSendFields will be + // sent to the server regardless of whether the field is empty or not. + // This may be used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "WorkloadConfig") to + // include in API requests with the JSON null value. By default, fields + // with empty values are omitted from API requests. However, any field + // with an empty value appearing in NullFields will be sent to the + // server as null. It is an error if a field in this list has a + // non-empty value. This may be used to include null fields in Patch + // requests. + NullFields []string `json:"-"` +} + +func (s *ProtectConfig) MarshalJSON() ([]byte, error) { + type NoMethod ProtectConfig + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + // PubSub: Pub/Sub specific notification config. type PubSub struct { // Enabled: Enable notifications for Pub/Sub. @@ -7136,6 +7195,48 @@ func (s *WorkloadCertificates) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } +// WorkloadConfig: WorkloadConfig defines the flags to enable or disable +// the workload configurations for the cluster. +type WorkloadConfig struct { + // AuditMode: Sets which mode of auditing should be used for the + // cluster's workloads. + // + // Possible values: + // "MODE_UNSPECIFIED" - Default value meaning that no mode has been + // specified. + // "DISABLED" - This disables Workload Configuration auditing on the + // cluster, meaning that nothing is surfaced. + // "BASIC" - Applies the default set of policy auditing to a cluster's + // workloads. + // "BASELINE" - Surfaces configurations that are not in line with the + // Pod Security Standard Baseline policy. + // "RESTRICTED" - Surfaces configurations that are not in line with + // the Pod Security Standard Restricted policy. + AuditMode string `json:"auditMode,omitempty"` + + // ForceSendFields is a list of field names (e.g. "AuditMode") to + // unconditionally include in API requests. By default, fields with + // empty or default values are omitted from API requests. However, any + // non-pointer, non-interface field appearing in ForceSendFields will be + // sent to the server regardless of whether the field is empty or not. + // This may be used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "AuditMode") to include in + // API requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. + NullFields []string `json:"-"` +} + +func (s *WorkloadConfig) MarshalJSON() ([]byte, error) { + type NoMethod WorkloadConfig + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + // WorkloadIdentityConfig: Configuration for the use of Kubernetes // Service Accounts in GCP IAM policies. type WorkloadIdentityConfig struct { diff --git a/datacatalog/v1/datacatalog-api.json b/datacatalog/v1/datacatalog-api.json index fced11eba38..ba1f01cf065 100644 --- a/datacatalog/v1/datacatalog-api.json +++ b/datacatalog/v1/datacatalog-api.json @@ -272,7 +272,7 @@ ], "parameters": { "resource": { - "description": "REQUIRED: The resource for which the policy is being requested. See the operation documentation for the appropriate value for this field.", + "description": "REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/entryGroups/[^/]+$", "required": true, @@ -370,7 +370,7 @@ ], "parameters": { "resource": { - "description": "REQUIRED: The resource for which the policy is being specified. See the operation documentation for the appropriate value for this field.", + "description": "REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/entryGroups/[^/]+$", "required": true, @@ -398,7 +398,7 @@ ], "parameters": { "resource": { - "description": "REQUIRED: The resource for which the policy detail is being requested. See the operation documentation for the appropriate value for this field.", + "description": "REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/entryGroups/[^/]+$", "required": true, @@ -513,7 +513,7 @@ ], "parameters": { "resource": { - "description": "REQUIRED: The resource for which the policy is being requested. See the operation documentation for the appropriate value for this field.", + "description": "REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/entryGroups/[^/]+/entries/[^/]+$", "required": true, @@ -701,7 +701,7 @@ ], "parameters": { "resource": { - "description": "REQUIRED: The resource for which the policy detail is being requested. See the operation documentation for the appropriate value for this field.", + "description": "REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/entryGroups/[^/]+/entries/[^/]+$", "required": true, @@ -1107,7 +1107,7 @@ ], "parameters": { "resource": { - "description": "REQUIRED: The resource for which the policy is being requested. See the operation documentation for the appropriate value for this field.", + "description": "REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/tagTemplates/[^/]+$", "required": true, @@ -1169,7 +1169,7 @@ ], "parameters": { "resource": { - "description": "REQUIRED: The resource for which the policy is being specified. See the operation documentation for the appropriate value for this field.", + "description": "REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/tagTemplates/[^/]+$", "required": true, @@ -1197,7 +1197,7 @@ ], "parameters": { "resource": { - "description": "REQUIRED: The resource for which the policy detail is being requested. See the operation documentation for the appropriate value for this field.", + "description": "REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/tagTemplates/[^/]+$", "required": true, @@ -1508,7 +1508,7 @@ ], "parameters": { "resource": { - "description": "REQUIRED: The resource for which the policy is being requested. See the operation documentation for the appropriate value for this field.", + "description": "REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/taxonomies/[^/]+$", "required": true, @@ -1662,7 +1662,7 @@ ], "parameters": { "resource": { - "description": "REQUIRED: The resource for which the policy is being specified. See the operation documentation for the appropriate value for this field.", + "description": "REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/taxonomies/[^/]+$", "required": true, @@ -1690,7 +1690,7 @@ ], "parameters": { "resource": { - "description": "REQUIRED: The resource for which the policy detail is being requested. See the operation documentation for the appropriate value for this field.", + "description": "REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/taxonomies/[^/]+$", "required": true, @@ -1800,7 +1800,7 @@ ], "parameters": { "resource": { - "description": "REQUIRED: The resource for which the policy is being requested. See the operation documentation for the appropriate value for this field.", + "description": "REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/taxonomies/[^/]+/policyTags/[^/]+$", "required": true, @@ -1898,7 +1898,7 @@ ], "parameters": { "resource": { - "description": "REQUIRED: The resource for which the policy is being specified. See the operation documentation for the appropriate value for this field.", + "description": "REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/taxonomies/[^/]+/policyTags/[^/]+$", "required": true, @@ -1926,7 +1926,7 @@ ], "parameters": { "resource": { - "description": "REQUIRED: The resource for which the policy detail is being requested. See the operation documentation for the appropriate value for this field.", + "description": "REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/taxonomies/[^/]+/policyTags/[^/]+$", "required": true, @@ -1953,7 +1953,7 @@ } } }, - "revision": "20220409", + "revision": "20220505", "rootUrl": "https://datacatalog.googleapis.com/", "schemas": { "Binding": { diff --git a/datacatalog/v1/datacatalog-gen.go b/datacatalog/v1/datacatalog-gen.go index c7db087bce3..9d0c24e703c 100644 --- a/datacatalog/v1/datacatalog-gen.go +++ b/datacatalog/v1/datacatalog-gen.go @@ -4550,8 +4550,9 @@ type ProjectsLocationsEntryGroupsGetIamPolicyCall struct { // to get policies on entry groups. // // - resource: REQUIRED: The resource for which the policy is being -// requested. See the operation documentation for the appropriate -// value for this field. +// requested. See Resource names +// (https://cloud.google.com/apis/design/resource_names) for the +// appropriate value for this field. func (r *ProjectsLocationsEntryGroupsService) GetIamPolicy(resource string, getiampolicyrequest *GetIamPolicyRequest) *ProjectsLocationsEntryGroupsGetIamPolicyCall { c := &ProjectsLocationsEntryGroupsGetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.resource = resource @@ -4659,7 +4660,7 @@ func (c *ProjectsLocationsEntryGroupsGetIamPolicyCall) Do(opts ...googleapi.Call // ], // "parameters": { // "resource": { - // "description": "REQUIRED: The resource for which the policy is being requested. See the operation documentation for the appropriate value for this field.", + // "description": "REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/entryGroups/[^/]+$", // "required": true, @@ -5064,8 +5065,9 @@ type ProjectsLocationsEntryGroupsSetIamPolicyCall struct { // on entry groups. // // - resource: REQUIRED: The resource for which the policy is being -// specified. See the operation documentation for the appropriate -// value for this field. +// specified. See Resource names +// (https://cloud.google.com/apis/design/resource_names) for the +// appropriate value for this field. func (r *ProjectsLocationsEntryGroupsService) SetIamPolicy(resource string, setiampolicyrequest *SetIamPolicyRequest) *ProjectsLocationsEntryGroupsSetIamPolicyCall { c := &ProjectsLocationsEntryGroupsSetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.resource = resource @@ -5173,7 +5175,7 @@ func (c *ProjectsLocationsEntryGroupsSetIamPolicyCall) Do(opts ...googleapi.Call // ], // "parameters": { // "resource": { - // "description": "REQUIRED: The resource for which the policy is being specified. See the operation documentation for the appropriate value for this field.", + // "description": "REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/entryGroups/[^/]+$", // "required": true, @@ -5214,7 +5216,8 @@ type ProjectsLocationsEntryGroupsTestIamPermissionsCall struct { // permissions are required to call this method. // // - resource: REQUIRED: The resource for which the policy detail is -// being requested. See the operation documentation for the +// being requested. See Resource names +// (https://cloud.google.com/apis/design/resource_names) for the // appropriate value for this field. func (r *ProjectsLocationsEntryGroupsService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsLocationsEntryGroupsTestIamPermissionsCall { c := &ProjectsLocationsEntryGroupsTestIamPermissionsCall{s: r.s, urlParams_: make(gensupport.URLParams)} @@ -5323,7 +5326,7 @@ func (c *ProjectsLocationsEntryGroupsTestIamPermissionsCall) Do(opts ...googleap // ], // "parameters": { // "resource": { - // "description": "REQUIRED: The resource for which the policy detail is being requested. See the operation documentation for the appropriate value for this field.", + // "description": "REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/entryGroups/[^/]+$", // "required": true, @@ -5814,8 +5817,9 @@ type ProjectsLocationsEntryGroupsEntriesGetIamPolicyCall struct { // to get policies on entry groups. // // - resource: REQUIRED: The resource for which the policy is being -// requested. See the operation documentation for the appropriate -// value for this field. +// requested. See Resource names +// (https://cloud.google.com/apis/design/resource_names) for the +// appropriate value for this field. func (r *ProjectsLocationsEntryGroupsEntriesService) GetIamPolicy(resource string, getiampolicyrequest *GetIamPolicyRequest) *ProjectsLocationsEntryGroupsEntriesGetIamPolicyCall { c := &ProjectsLocationsEntryGroupsEntriesGetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.resource = resource @@ -5923,7 +5927,7 @@ func (c *ProjectsLocationsEntryGroupsEntriesGetIamPolicyCall) Do(opts ...googlea // ], // "parameters": { // "resource": { - // "description": "REQUIRED: The resource for which the policy is being requested. See the operation documentation for the appropriate value for this field.", + // "description": "REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/entryGroups/[^/]+/entries/[^/]+$", // "required": true, @@ -6783,7 +6787,8 @@ type ProjectsLocationsEntryGroupsEntriesTestIamPermissionsCall struct { // permissions are required to call this method. // // - resource: REQUIRED: The resource for which the policy detail is -// being requested. See the operation documentation for the +// being requested. See Resource names +// (https://cloud.google.com/apis/design/resource_names) for the // appropriate value for this field. func (r *ProjectsLocationsEntryGroupsEntriesService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsLocationsEntryGroupsEntriesTestIamPermissionsCall { c := &ProjectsLocationsEntryGroupsEntriesTestIamPermissionsCall{s: r.s, urlParams_: make(gensupport.URLParams)} @@ -6892,7 +6897,7 @@ func (c *ProjectsLocationsEntryGroupsEntriesTestIamPermissionsCall) Do(opts ...g // ], // "parameters": { // "resource": { - // "description": "REQUIRED: The resource for which the policy detail is being requested. See the operation documentation for the appropriate value for this field.", + // "description": "REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/entryGroups/[^/]+/entries/[^/]+$", // "required": true, @@ -8826,8 +8831,9 @@ type ProjectsLocationsTagTemplatesGetIamPolicyCall struct { // to get policies on entry groups. // // - resource: REQUIRED: The resource for which the policy is being -// requested. See the operation documentation for the appropriate -// value for this field. +// requested. See Resource names +// (https://cloud.google.com/apis/design/resource_names) for the +// appropriate value for this field. func (r *ProjectsLocationsTagTemplatesService) GetIamPolicy(resource string, getiampolicyrequest *GetIamPolicyRequest) *ProjectsLocationsTagTemplatesGetIamPolicyCall { c := &ProjectsLocationsTagTemplatesGetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.resource = resource @@ -8935,7 +8941,7 @@ func (c *ProjectsLocationsTagTemplatesGetIamPolicyCall) Do(opts ...googleapi.Cal // ], // "parameters": { // "resource": { - // "description": "REQUIRED: The resource for which the policy is being requested. See the operation documentation for the appropriate value for this field.", + // "description": "REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/tagTemplates/[^/]+$", // "required": true, @@ -9147,8 +9153,9 @@ type ProjectsLocationsTagTemplatesSetIamPolicyCall struct { // on entry groups. // // - resource: REQUIRED: The resource for which the policy is being -// specified. See the operation documentation for the appropriate -// value for this field. +// specified. See Resource names +// (https://cloud.google.com/apis/design/resource_names) for the +// appropriate value for this field. func (r *ProjectsLocationsTagTemplatesService) SetIamPolicy(resource string, setiampolicyrequest *SetIamPolicyRequest) *ProjectsLocationsTagTemplatesSetIamPolicyCall { c := &ProjectsLocationsTagTemplatesSetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.resource = resource @@ -9256,7 +9263,7 @@ func (c *ProjectsLocationsTagTemplatesSetIamPolicyCall) Do(opts ...googleapi.Cal // ], // "parameters": { // "resource": { - // "description": "REQUIRED: The resource for which the policy is being specified. See the operation documentation for the appropriate value for this field.", + // "description": "REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/tagTemplates/[^/]+$", // "required": true, @@ -9297,7 +9304,8 @@ type ProjectsLocationsTagTemplatesTestIamPermissionsCall struct { // permissions are required to call this method. // // - resource: REQUIRED: The resource for which the policy detail is -// being requested. See the operation documentation for the +// being requested. See Resource names +// (https://cloud.google.com/apis/design/resource_names) for the // appropriate value for this field. func (r *ProjectsLocationsTagTemplatesService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsLocationsTagTemplatesTestIamPermissionsCall { c := &ProjectsLocationsTagTemplatesTestIamPermissionsCall{s: r.s, urlParams_: make(gensupport.URLParams)} @@ -9406,7 +9414,7 @@ func (c *ProjectsLocationsTagTemplatesTestIamPermissionsCall) Do(opts ...googlea // ], // "parameters": { // "resource": { - // "description": "REQUIRED: The resource for which the policy detail is being requested. See the operation documentation for the appropriate value for this field.", + // "description": "REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/tagTemplates/[^/]+$", // "required": true, @@ -10821,8 +10829,9 @@ type ProjectsLocationsTaxonomiesGetIamPolicyCall struct { // GetIamPolicy: Gets the IAM policy for a policy tag or a taxonomy. // // - resource: REQUIRED: The resource for which the policy is being -// requested. See the operation documentation for the appropriate -// value for this field. +// requested. See Resource names +// (https://cloud.google.com/apis/design/resource_names) for the +// appropriate value for this field. func (r *ProjectsLocationsTaxonomiesService) GetIamPolicy(resource string, getiampolicyrequest *GetIamPolicyRequest) *ProjectsLocationsTaxonomiesGetIamPolicyCall { c := &ProjectsLocationsTaxonomiesGetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.resource = resource @@ -10930,7 +10939,7 @@ func (c *ProjectsLocationsTaxonomiesGetIamPolicyCall) Do(opts ...googleapi.CallO // ], // "parameters": { // "resource": { - // "description": "REQUIRED: The resource for which the policy is being requested. See the operation documentation for the appropriate value for this field.", + // "description": "REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/taxonomies/[^/]+$", // "required": true, @@ -11621,8 +11630,9 @@ type ProjectsLocationsTaxonomiesSetIamPolicyCall struct { // SetIamPolicy: Sets the IAM policy for a policy tag or a taxonomy. // // - resource: REQUIRED: The resource for which the policy is being -// specified. See the operation documentation for the appropriate -// value for this field. +// specified. See Resource names +// (https://cloud.google.com/apis/design/resource_names) for the +// appropriate value for this field. func (r *ProjectsLocationsTaxonomiesService) SetIamPolicy(resource string, setiampolicyrequest *SetIamPolicyRequest) *ProjectsLocationsTaxonomiesSetIamPolicyCall { c := &ProjectsLocationsTaxonomiesSetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.resource = resource @@ -11730,7 +11740,7 @@ func (c *ProjectsLocationsTaxonomiesSetIamPolicyCall) Do(opts ...googleapi.CallO // ], // "parameters": { // "resource": { - // "description": "REQUIRED: The resource for which the policy is being specified. See the operation documentation for the appropriate value for this field.", + // "description": "REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/taxonomies/[^/]+$", // "required": true, @@ -11766,7 +11776,8 @@ type ProjectsLocationsTaxonomiesTestIamPermissionsCall struct { // tag or taxonomy. // // - resource: REQUIRED: The resource for which the policy detail is -// being requested. See the operation documentation for the +// being requested. See Resource names +// (https://cloud.google.com/apis/design/resource_names) for the // appropriate value for this field. func (r *ProjectsLocationsTaxonomiesService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsLocationsTaxonomiesTestIamPermissionsCall { c := &ProjectsLocationsTaxonomiesTestIamPermissionsCall{s: r.s, urlParams_: make(gensupport.URLParams)} @@ -11875,7 +11886,7 @@ func (c *ProjectsLocationsTaxonomiesTestIamPermissionsCall) Do(opts ...googleapi // ], // "parameters": { // "resource": { - // "description": "REQUIRED: The resource for which the policy detail is being requested. See the operation documentation for the appropriate value for this field.", + // "description": "REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/taxonomies/[^/]+$", // "required": true, @@ -12337,8 +12348,9 @@ type ProjectsLocationsTaxonomiesPolicyTagsGetIamPolicyCall struct { // GetIamPolicy: Gets the IAM policy for a policy tag or a taxonomy. // // - resource: REQUIRED: The resource for which the policy is being -// requested. See the operation documentation for the appropriate -// value for this field. +// requested. See Resource names +// (https://cloud.google.com/apis/design/resource_names) for the +// appropriate value for this field. func (r *ProjectsLocationsTaxonomiesPolicyTagsService) GetIamPolicy(resource string, getiampolicyrequest *GetIamPolicyRequest) *ProjectsLocationsTaxonomiesPolicyTagsGetIamPolicyCall { c := &ProjectsLocationsTaxonomiesPolicyTagsGetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.resource = resource @@ -12446,7 +12458,7 @@ func (c *ProjectsLocationsTaxonomiesPolicyTagsGetIamPolicyCall) Do(opts ...googl // ], // "parameters": { // "resource": { - // "description": "REQUIRED: The resource for which the policy is being requested. See the operation documentation for the appropriate value for this field.", + // "description": "REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/taxonomies/[^/]+/policyTags/[^/]+$", // "required": true, @@ -12839,8 +12851,9 @@ type ProjectsLocationsTaxonomiesPolicyTagsSetIamPolicyCall struct { // SetIamPolicy: Sets the IAM policy for a policy tag or a taxonomy. // // - resource: REQUIRED: The resource for which the policy is being -// specified. See the operation documentation for the appropriate -// value for this field. +// specified. See Resource names +// (https://cloud.google.com/apis/design/resource_names) for the +// appropriate value for this field. func (r *ProjectsLocationsTaxonomiesPolicyTagsService) SetIamPolicy(resource string, setiampolicyrequest *SetIamPolicyRequest) *ProjectsLocationsTaxonomiesPolicyTagsSetIamPolicyCall { c := &ProjectsLocationsTaxonomiesPolicyTagsSetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.resource = resource @@ -12948,7 +12961,7 @@ func (c *ProjectsLocationsTaxonomiesPolicyTagsSetIamPolicyCall) Do(opts ...googl // ], // "parameters": { // "resource": { - // "description": "REQUIRED: The resource for which the policy is being specified. See the operation documentation for the appropriate value for this field.", + // "description": "REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/taxonomies/[^/]+/policyTags/[^/]+$", // "required": true, @@ -12984,7 +12997,8 @@ type ProjectsLocationsTaxonomiesPolicyTagsTestIamPermissionsCall struct { // tag or taxonomy. // // - resource: REQUIRED: The resource for which the policy detail is -// being requested. See the operation documentation for the +// being requested. See Resource names +// (https://cloud.google.com/apis/design/resource_names) for the // appropriate value for this field. func (r *ProjectsLocationsTaxonomiesPolicyTagsService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsLocationsTaxonomiesPolicyTagsTestIamPermissionsCall { c := &ProjectsLocationsTaxonomiesPolicyTagsTestIamPermissionsCall{s: r.s, urlParams_: make(gensupport.URLParams)} @@ -13093,7 +13107,7 @@ func (c *ProjectsLocationsTaxonomiesPolicyTagsTestIamPermissionsCall) Do(opts .. // ], // "parameters": { // "resource": { - // "description": "REQUIRED: The resource for which the policy detail is being requested. See the operation documentation for the appropriate value for this field.", + // "description": "REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/taxonomies/[^/]+/policyTags/[^/]+$", // "required": true, diff --git a/datacatalog/v1beta1/datacatalog-api.json b/datacatalog/v1beta1/datacatalog-api.json index 90d406fdcb5..1e274c87bee 100644 --- a/datacatalog/v1beta1/datacatalog-api.json +++ b/datacatalog/v1beta1/datacatalog-api.json @@ -267,7 +267,7 @@ ], "parameters": { "resource": { - "description": "REQUIRED: The resource for which the policy is being requested. See the operation documentation for the appropriate value for this field.", + "description": "REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/entryGroups/[^/]+$", "required": true, @@ -365,7 +365,7 @@ ], "parameters": { "resource": { - "description": "REQUIRED: The resource for which the policy is being specified. See the operation documentation for the appropriate value for this field.", + "description": "REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/entryGroups/[^/]+$", "required": true, @@ -393,7 +393,7 @@ ], "parameters": { "resource": { - "description": "REQUIRED: The resource for which the policy detail is being requested. See the operation documentation for the appropriate value for this field.", + "description": "REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/entryGroups/[^/]+$", "required": true, @@ -508,7 +508,7 @@ ], "parameters": { "resource": { - "description": "REQUIRED: The resource for which the policy is being requested. See the operation documentation for the appropriate value for this field.", + "description": "REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/entryGroups/[^/]+/entries/[^/]+$", "required": true, @@ -612,7 +612,7 @@ ], "parameters": { "resource": { - "description": "REQUIRED: The resource for which the policy detail is being requested. See the operation documentation for the appropriate value for this field.", + "description": "REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/entryGroups/[^/]+/entries/[^/]+$", "required": true, @@ -990,7 +990,7 @@ ], "parameters": { "resource": { - "description": "REQUIRED: The resource for which the policy is being requested. See the operation documentation for the appropriate value for this field.", + "description": "REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/tagTemplates/[^/]+$", "required": true, @@ -1052,7 +1052,7 @@ ], "parameters": { "resource": { - "description": "REQUIRED: The resource for which the policy is being specified. See the operation documentation for the appropriate value for this field.", + "description": "REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/tagTemplates/[^/]+$", "required": true, @@ -1080,7 +1080,7 @@ ], "parameters": { "resource": { - "description": "REQUIRED: The resource for which the policy detail is being requested. See the operation documentation for the appropriate value for this field.", + "description": "REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/tagTemplates/[^/]+$", "required": true, @@ -1391,7 +1391,7 @@ ], "parameters": { "resource": { - "description": "REQUIRED: The resource for which the policy is being requested. See the operation documentation for the appropriate value for this field.", + "description": "REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/taxonomies/[^/]+$", "required": true, @@ -1517,7 +1517,7 @@ ], "parameters": { "resource": { - "description": "REQUIRED: The resource for which the policy is being specified. See the operation documentation for the appropriate value for this field.", + "description": "REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/taxonomies/[^/]+$", "required": true, @@ -1545,7 +1545,7 @@ ], "parameters": { "resource": { - "description": "REQUIRED: The resource for which the policy detail is being requested. See the operation documentation for the appropriate value for this field.", + "description": "REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/taxonomies/[^/]+$", "required": true, @@ -1655,7 +1655,7 @@ ], "parameters": { "resource": { - "description": "REQUIRED: The resource for which the policy is being requested. See the operation documentation for the appropriate value for this field.", + "description": "REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/taxonomies/[^/]+/policyTags/[^/]+$", "required": true, @@ -1753,7 +1753,7 @@ ], "parameters": { "resource": { - "description": "REQUIRED: The resource for which the policy is being specified. See the operation documentation for the appropriate value for this field.", + "description": "REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/taxonomies/[^/]+/policyTags/[^/]+$", "required": true, @@ -1781,7 +1781,7 @@ ], "parameters": { "resource": { - "description": "REQUIRED: The resource for which the policy detail is being requested. See the operation documentation for the appropriate value for this field.", + "description": "REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/taxonomies/[^/]+/policyTags/[^/]+$", "required": true, @@ -1808,7 +1808,7 @@ } } }, - "revision": "20220409", + "revision": "20220505", "rootUrl": "https://datacatalog.googleapis.com/", "schemas": { "Binding": { diff --git a/datacatalog/v1beta1/datacatalog-gen.go b/datacatalog/v1beta1/datacatalog-gen.go index 287a95701e6..da11504aabd 100644 --- a/datacatalog/v1beta1/datacatalog-gen.go +++ b/datacatalog/v1beta1/datacatalog-gen.go @@ -3367,8 +3367,9 @@ type ProjectsLocationsEntryGroupsGetIamPolicyCall struct { // get policies on entry groups. // // - resource: REQUIRED: The resource for which the policy is being -// requested. See the operation documentation for the appropriate -// value for this field. +// requested. See Resource names +// (https://cloud.google.com/apis/design/resource_names) for the +// appropriate value for this field. func (r *ProjectsLocationsEntryGroupsService) GetIamPolicy(resource string, getiampolicyrequest *GetIamPolicyRequest) *ProjectsLocationsEntryGroupsGetIamPolicyCall { c := &ProjectsLocationsEntryGroupsGetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.resource = resource @@ -3476,7 +3477,7 @@ func (c *ProjectsLocationsEntryGroupsGetIamPolicyCall) Do(opts ...googleapi.Call // ], // "parameters": { // "resource": { - // "description": "REQUIRED: The resource for which the policy is being requested. See the operation documentation for the appropriate value for this field.", + // "description": "REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/entryGroups/[^/]+$", // "required": true, @@ -3884,8 +3885,9 @@ type ProjectsLocationsEntryGroupsSetIamPolicyCall struct { // set policies on entry groups. // // - resource: REQUIRED: The resource for which the policy is being -// specified. See the operation documentation for the appropriate -// value for this field. +// specified. See Resource names +// (https://cloud.google.com/apis/design/resource_names) for the +// appropriate value for this field. func (r *ProjectsLocationsEntryGroupsService) SetIamPolicy(resource string, setiampolicyrequest *SetIamPolicyRequest) *ProjectsLocationsEntryGroupsSetIamPolicyCall { c := &ProjectsLocationsEntryGroupsSetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.resource = resource @@ -3993,7 +3995,7 @@ func (c *ProjectsLocationsEntryGroupsSetIamPolicyCall) Do(opts ...googleapi.Call // ], // "parameters": { // "resource": { - // "description": "REQUIRED: The resource for which the policy is being specified. See the operation documentation for the appropriate value for this field.", + // "description": "REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/entryGroups/[^/]+$", // "required": true, @@ -4035,7 +4037,8 @@ type ProjectsLocationsEntryGroupsTestIamPermissionsCall struct { // request. // // - resource: REQUIRED: The resource for which the policy detail is -// being requested. See the operation documentation for the +// being requested. See Resource names +// (https://cloud.google.com/apis/design/resource_names) for the // appropriate value for this field. func (r *ProjectsLocationsEntryGroupsService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsLocationsEntryGroupsTestIamPermissionsCall { c := &ProjectsLocationsEntryGroupsTestIamPermissionsCall{s: r.s, urlParams_: make(gensupport.URLParams)} @@ -4144,7 +4147,7 @@ func (c *ProjectsLocationsEntryGroupsTestIamPermissionsCall) Do(opts ...googleap // ], // "parameters": { // "resource": { - // "description": "REQUIRED: The resource for which the policy detail is being requested. See the operation documentation for the appropriate value for this field.", + // "description": "REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/entryGroups/[^/]+$", // "required": true, @@ -4641,8 +4644,9 @@ type ProjectsLocationsEntryGroupsEntriesGetIamPolicyCall struct { // get policies on entry groups. // // - resource: REQUIRED: The resource for which the policy is being -// requested. See the operation documentation for the appropriate -// value for this field. +// requested. See Resource names +// (https://cloud.google.com/apis/design/resource_names) for the +// appropriate value for this field. func (r *ProjectsLocationsEntryGroupsEntriesService) GetIamPolicy(resource string, getiampolicyrequest *GetIamPolicyRequest) *ProjectsLocationsEntryGroupsEntriesGetIamPolicyCall { c := &ProjectsLocationsEntryGroupsEntriesGetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.resource = resource @@ -4750,7 +4754,7 @@ func (c *ProjectsLocationsEntryGroupsEntriesGetIamPolicyCall) Do(opts ...googlea // ], // "parameters": { // "resource": { - // "description": "REQUIRED: The resource for which the policy is being requested. See the operation documentation for the appropriate value for this field.", + // "description": "REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/entryGroups/[^/]+/entries/[^/]+$", // "required": true, @@ -5179,7 +5183,8 @@ type ProjectsLocationsEntryGroupsEntriesTestIamPermissionsCall struct { // request. // // - resource: REQUIRED: The resource for which the policy detail is -// being requested. See the operation documentation for the +// being requested. See Resource names +// (https://cloud.google.com/apis/design/resource_names) for the // appropriate value for this field. func (r *ProjectsLocationsEntryGroupsEntriesService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsLocationsEntryGroupsEntriesTestIamPermissionsCall { c := &ProjectsLocationsEntryGroupsEntriesTestIamPermissionsCall{s: r.s, urlParams_: make(gensupport.URLParams)} @@ -5288,7 +5293,7 @@ func (c *ProjectsLocationsEntryGroupsEntriesTestIamPermissionsCall) Do(opts ...g // ], // "parameters": { // "resource": { - // "description": "REQUIRED: The resource for which the policy detail is being requested. See the operation documentation for the appropriate value for this field.", + // "description": "REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/entryGroups/[^/]+/entries/[^/]+$", // "required": true, @@ -7097,8 +7102,9 @@ type ProjectsLocationsTagTemplatesGetIamPolicyCall struct { // get policies on entry groups. // // - resource: REQUIRED: The resource for which the policy is being -// requested. See the operation documentation for the appropriate -// value for this field. +// requested. See Resource names +// (https://cloud.google.com/apis/design/resource_names) for the +// appropriate value for this field. func (r *ProjectsLocationsTagTemplatesService) GetIamPolicy(resource string, getiampolicyrequest *GetIamPolicyRequest) *ProjectsLocationsTagTemplatesGetIamPolicyCall { c := &ProjectsLocationsTagTemplatesGetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.resource = resource @@ -7206,7 +7212,7 @@ func (c *ProjectsLocationsTagTemplatesGetIamPolicyCall) Do(opts ...googleapi.Cal // ], // "parameters": { // "resource": { - // "description": "REQUIRED: The resource for which the policy is being requested. See the operation documentation for the appropriate value for this field.", + // "description": "REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/tagTemplates/[^/]+$", // "required": true, @@ -7421,8 +7427,9 @@ type ProjectsLocationsTagTemplatesSetIamPolicyCall struct { // set policies on entry groups. // // - resource: REQUIRED: The resource for which the policy is being -// specified. See the operation documentation for the appropriate -// value for this field. +// specified. See Resource names +// (https://cloud.google.com/apis/design/resource_names) for the +// appropriate value for this field. func (r *ProjectsLocationsTagTemplatesService) SetIamPolicy(resource string, setiampolicyrequest *SetIamPolicyRequest) *ProjectsLocationsTagTemplatesSetIamPolicyCall { c := &ProjectsLocationsTagTemplatesSetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.resource = resource @@ -7530,7 +7537,7 @@ func (c *ProjectsLocationsTagTemplatesSetIamPolicyCall) Do(opts ...googleapi.Cal // ], // "parameters": { // "resource": { - // "description": "REQUIRED: The resource for which the policy is being specified. See the operation documentation for the appropriate value for this field.", + // "description": "REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/tagTemplates/[^/]+$", // "required": true, @@ -7572,7 +7579,8 @@ type ProjectsLocationsTagTemplatesTestIamPermissionsCall struct { // request. // // - resource: REQUIRED: The resource for which the policy detail is -// being requested. See the operation documentation for the +// being requested. See Resource names +// (https://cloud.google.com/apis/design/resource_names) for the // appropriate value for this field. func (r *ProjectsLocationsTagTemplatesService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsLocationsTagTemplatesTestIamPermissionsCall { c := &ProjectsLocationsTagTemplatesTestIamPermissionsCall{s: r.s, urlParams_: make(gensupport.URLParams)} @@ -7681,7 +7689,7 @@ func (c *ProjectsLocationsTagTemplatesTestIamPermissionsCall) Do(opts ...googlea // ], // "parameters": { // "resource": { - // "description": "REQUIRED: The resource for which the policy detail is being requested. See the operation documentation for the appropriate value for this field.", + // "description": "REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/tagTemplates/[^/]+$", // "required": true, @@ -9110,8 +9118,9 @@ type ProjectsLocationsTaxonomiesGetIamPolicyCall struct { // GetIamPolicy: Gets the IAM policy for a taxonomy or a policy tag. // // - resource: REQUIRED: The resource for which the policy is being -// requested. See the operation documentation for the appropriate -// value for this field. +// requested. See Resource names +// (https://cloud.google.com/apis/design/resource_names) for the +// appropriate value for this field. func (r *ProjectsLocationsTaxonomiesService) GetIamPolicy(resource string, getiampolicyrequest *GetIamPolicyRequest) *ProjectsLocationsTaxonomiesGetIamPolicyCall { c := &ProjectsLocationsTaxonomiesGetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.resource = resource @@ -9219,7 +9228,7 @@ func (c *ProjectsLocationsTaxonomiesGetIamPolicyCall) Do(opts ...googleapi.CallO // ], // "parameters": { // "resource": { - // "description": "REQUIRED: The resource for which the policy is being requested. See the operation documentation for the appropriate value for this field.", + // "description": "REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/taxonomies/[^/]+$", // "required": true, @@ -9757,8 +9766,9 @@ type ProjectsLocationsTaxonomiesSetIamPolicyCall struct { // SetIamPolicy: Sets the IAM policy for a taxonomy or a policy tag. // // - resource: REQUIRED: The resource for which the policy is being -// specified. See the operation documentation for the appropriate -// value for this field. +// specified. See Resource names +// (https://cloud.google.com/apis/design/resource_names) for the +// appropriate value for this field. func (r *ProjectsLocationsTaxonomiesService) SetIamPolicy(resource string, setiampolicyrequest *SetIamPolicyRequest) *ProjectsLocationsTaxonomiesSetIamPolicyCall { c := &ProjectsLocationsTaxonomiesSetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.resource = resource @@ -9866,7 +9876,7 @@ func (c *ProjectsLocationsTaxonomiesSetIamPolicyCall) Do(opts ...googleapi.CallO // ], // "parameters": { // "resource": { - // "description": "REQUIRED: The resource for which the policy is being specified. See the operation documentation for the appropriate value for this field.", + // "description": "REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/taxonomies/[^/]+$", // "required": true, @@ -9902,7 +9912,8 @@ type ProjectsLocationsTaxonomiesTestIamPermissionsCall struct { // specified taxonomy or policy tag. // // - resource: REQUIRED: The resource for which the policy detail is -// being requested. See the operation documentation for the +// being requested. See Resource names +// (https://cloud.google.com/apis/design/resource_names) for the // appropriate value for this field. func (r *ProjectsLocationsTaxonomiesService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsLocationsTaxonomiesTestIamPermissionsCall { c := &ProjectsLocationsTaxonomiesTestIamPermissionsCall{s: r.s, urlParams_: make(gensupport.URLParams)} @@ -10011,7 +10022,7 @@ func (c *ProjectsLocationsTaxonomiesTestIamPermissionsCall) Do(opts ...googleapi // ], // "parameters": { // "resource": { - // "description": "REQUIRED: The resource for which the policy detail is being requested. See the operation documentation for the appropriate value for this field.", + // "description": "REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/taxonomies/[^/]+$", // "required": true, @@ -10471,8 +10482,9 @@ type ProjectsLocationsTaxonomiesPolicyTagsGetIamPolicyCall struct { // GetIamPolicy: Gets the IAM policy for a taxonomy or a policy tag. // // - resource: REQUIRED: The resource for which the policy is being -// requested. See the operation documentation for the appropriate -// value for this field. +// requested. See Resource names +// (https://cloud.google.com/apis/design/resource_names) for the +// appropriate value for this field. func (r *ProjectsLocationsTaxonomiesPolicyTagsService) GetIamPolicy(resource string, getiampolicyrequest *GetIamPolicyRequest) *ProjectsLocationsTaxonomiesPolicyTagsGetIamPolicyCall { c := &ProjectsLocationsTaxonomiesPolicyTagsGetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.resource = resource @@ -10580,7 +10592,7 @@ func (c *ProjectsLocationsTaxonomiesPolicyTagsGetIamPolicyCall) Do(opts ...googl // ], // "parameters": { // "resource": { - // "description": "REQUIRED: The resource for which the policy is being requested. See the operation documentation for the appropriate value for this field.", + // "description": "REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/taxonomies/[^/]+/policyTags/[^/]+$", // "required": true, @@ -10976,8 +10988,9 @@ type ProjectsLocationsTaxonomiesPolicyTagsSetIamPolicyCall struct { // SetIamPolicy: Sets the IAM policy for a taxonomy or a policy tag. // // - resource: REQUIRED: The resource for which the policy is being -// specified. See the operation documentation for the appropriate -// value for this field. +// specified. See Resource names +// (https://cloud.google.com/apis/design/resource_names) for the +// appropriate value for this field. func (r *ProjectsLocationsTaxonomiesPolicyTagsService) SetIamPolicy(resource string, setiampolicyrequest *SetIamPolicyRequest) *ProjectsLocationsTaxonomiesPolicyTagsSetIamPolicyCall { c := &ProjectsLocationsTaxonomiesPolicyTagsSetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.resource = resource @@ -11085,7 +11098,7 @@ func (c *ProjectsLocationsTaxonomiesPolicyTagsSetIamPolicyCall) Do(opts ...googl // ], // "parameters": { // "resource": { - // "description": "REQUIRED: The resource for which the policy is being specified. See the operation documentation for the appropriate value for this field.", + // "description": "REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/taxonomies/[^/]+/policyTags/[^/]+$", // "required": true, @@ -11121,7 +11134,8 @@ type ProjectsLocationsTaxonomiesPolicyTagsTestIamPermissionsCall struct { // specified taxonomy or policy tag. // // - resource: REQUIRED: The resource for which the policy detail is -// being requested. See the operation documentation for the +// being requested. See Resource names +// (https://cloud.google.com/apis/design/resource_names) for the // appropriate value for this field. func (r *ProjectsLocationsTaxonomiesPolicyTagsService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsLocationsTaxonomiesPolicyTagsTestIamPermissionsCall { c := &ProjectsLocationsTaxonomiesPolicyTagsTestIamPermissionsCall{s: r.s, urlParams_: make(gensupport.URLParams)} @@ -11230,7 +11244,7 @@ func (c *ProjectsLocationsTaxonomiesPolicyTagsTestIamPermissionsCall) Do(opts .. // ], // "parameters": { // "resource": { - // "description": "REQUIRED: The resource for which the policy detail is being requested. See the operation documentation for the appropriate value for this field.", + // "description": "REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/taxonomies/[^/]+/policyTags/[^/]+$", // "required": true, diff --git a/ondemandscanning/v1/ondemandscanning-api.json b/ondemandscanning/v1/ondemandscanning-api.json index 91ce5ecf2cc..d8fa0bd1d99 100644 --- a/ondemandscanning/v1/ondemandscanning-api.json +++ b/ondemandscanning/v1/ondemandscanning-api.json @@ -339,7 +339,7 @@ } } }, - "revision": "20220509", + "revision": "20220513", "rootUrl": "https://ondemandscanning.googleapis.com/", "schemas": { "AliasContext": { @@ -1118,6 +1118,115 @@ }, "type": "object" }, + "GrafeasV1SlsaProvenance_0_2SlsaBuilder": { + "description": "Identifies the entity that executed the recipe, which is trusted to have correctly performed the operation and populated this provenance.", + "id": "GrafeasV1SlsaProvenance_0_2SlsaBuilder", + "properties": { + "id": { + "type": "string" + } + }, + "type": "object" + }, + "GrafeasV1SlsaProvenance_0_2SlsaCompleteness": { + "description": "Indicates that the builder claims certain fields in this message to be complete.", + "id": "GrafeasV1SlsaProvenance_0_2SlsaCompleteness", + "properties": { + "environment": { + "type": "boolean" + }, + "materials": { + "type": "boolean" + }, + "parameters": { + "type": "boolean" + } + }, + "type": "object" + }, + "GrafeasV1SlsaProvenance_0_2SlsaConfigSource": { + "description": "Describes where the config file that kicked off the build came from. This is effectively a pointer to the source where buildConfig came from.", + "id": "GrafeasV1SlsaProvenance_0_2SlsaConfigSource", + "properties": { + "digest": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "entryPoint": { + "type": "string" + }, + "uri": { + "type": "string" + } + }, + "type": "object" + }, + "GrafeasV1SlsaProvenance_0_2SlsaInvocation": { + "description": "Identifies the event that kicked off the build.", + "id": "GrafeasV1SlsaProvenance_0_2SlsaInvocation", + "properties": { + "configSource": { + "$ref": "GrafeasV1SlsaProvenance_0_2SlsaConfigSource" + }, + "environment": { + "additionalProperties": { + "description": "Properties of the object.", + "type": "any" + }, + "type": "object" + }, + "parameters": { + "additionalProperties": { + "description": "Properties of the object.", + "type": "any" + }, + "type": "object" + } + }, + "type": "object" + }, + "GrafeasV1SlsaProvenance_0_2SlsaMaterial": { + "description": "The collection of artifacts that influenced the build including sources, dependencies, build tools, base images, and so on.", + "id": "GrafeasV1SlsaProvenance_0_2SlsaMaterial", + "properties": { + "digest": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "uri": { + "type": "string" + } + }, + "type": "object" + }, + "GrafeasV1SlsaProvenance_0_2SlsaMetadata": { + "description": "Other properties of the build.", + "id": "GrafeasV1SlsaProvenance_0_2SlsaMetadata", + "properties": { + "buildFinishedOn": { + "format": "google-datetime", + "type": "string" + }, + "buildInvocationId": { + "type": "string" + }, + "buildStartedOn": { + "format": "google-datetime", + "type": "string" + }, + "completeness": { + "$ref": "GrafeasV1SlsaProvenance_0_2SlsaCompleteness" + }, + "reproducible": { + "type": "boolean" + } + }, + "type": "object" + }, "Hash": { "description": "Container message for hash values.", "id": "Hash", @@ -1219,6 +1328,9 @@ "slsaProvenance": { "$ref": "SlsaProvenance" }, + "slsaProvenance02": { + "$ref": "SlsaProvenance_0_2" + }, "subject": { "items": { "$ref": "Subject" @@ -1890,6 +2002,38 @@ }, "type": "object" }, + "SlsaProvenance_0_2": { + "description": "See full explanation of fields at slsa.dev/provenance/v0.2.", + "id": "SlsaProvenance_0_2", + "properties": { + "buildConfig": { + "additionalProperties": { + "description": "Properties of the object.", + "type": "any" + }, + "type": "object" + }, + "buildType": { + "type": "string" + }, + "builder": { + "$ref": "GrafeasV1SlsaProvenance_0_2SlsaBuilder" + }, + "invocation": { + "$ref": "GrafeasV1SlsaProvenance_0_2SlsaInvocation" + }, + "materials": { + "items": { + "$ref": "GrafeasV1SlsaProvenance_0_2SlsaMaterial" + }, + "type": "array" + }, + "metadata": { + "$ref": "GrafeasV1SlsaProvenance_0_2SlsaMetadata" + } + }, + "type": "object" + }, "SlsaRecipe": { "description": "Steps taken to build the artifact. For a TaskRun, typically each container corresponds to one step in the recipe.", "id": "SlsaRecipe", diff --git a/ondemandscanning/v1/ondemandscanning-gen.go b/ondemandscanning/v1/ondemandscanning-gen.go index 8d4c5b446c5..420e7e31a94 100644 --- a/ondemandscanning/v1/ondemandscanning-gen.go +++ b/ondemandscanning/v1/ondemandscanning-gen.go @@ -1365,6 +1365,199 @@ func (s *GrafeasV1FileLocation) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } +// GrafeasV1SlsaProvenance02SlsaBuilder: Identifies the entity that +// executed the recipe, which is trusted to have correctly performed the +// operation and populated this provenance. +type GrafeasV1SlsaProvenance02SlsaBuilder struct { + Id string `json:"id,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Id") to + // unconditionally include in API requests. By default, fields with + // empty or default values are omitted from API requests. However, any + // non-pointer, non-interface field appearing in ForceSendFields will be + // sent to the server regardless of whether the field is empty or not. + // This may be used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "Id") to include in API + // requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. + NullFields []string `json:"-"` +} + +func (s *GrafeasV1SlsaProvenance02SlsaBuilder) MarshalJSON() ([]byte, error) { + type NoMethod GrafeasV1SlsaProvenance02SlsaBuilder + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GrafeasV1SlsaProvenance02SlsaCompleteness: Indicates that the builder +// claims certain fields in this message to be complete. +type GrafeasV1SlsaProvenance02SlsaCompleteness struct { + Environment bool `json:"environment,omitempty"` + + Materials bool `json:"materials,omitempty"` + + Parameters bool `json:"parameters,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Environment") to + // unconditionally include in API requests. By default, fields with + // empty or default values are omitted from API requests. However, any + // non-pointer, non-interface field appearing in ForceSendFields will be + // sent to the server regardless of whether the field is empty or not. + // This may be used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "Environment") to include + // in API requests with the JSON null value. By default, fields with + // empty values are omitted from API requests. However, any field with + // an empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. + NullFields []string `json:"-"` +} + +func (s *GrafeasV1SlsaProvenance02SlsaCompleteness) MarshalJSON() ([]byte, error) { + type NoMethod GrafeasV1SlsaProvenance02SlsaCompleteness + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GrafeasV1SlsaProvenance02SlsaConfigSource: Describes where the config +// file that kicked off the build came from. This is effectively a +// pointer to the source where buildConfig came from. +type GrafeasV1SlsaProvenance02SlsaConfigSource struct { + Digest map[string]string `json:"digest,omitempty"` + + EntryPoint string `json:"entryPoint,omitempty"` + + Uri string `json:"uri,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Digest") to + // unconditionally include in API requests. By default, fields with + // empty or default values are omitted from API requests. However, any + // non-pointer, non-interface field appearing in ForceSendFields will be + // sent to the server regardless of whether the field is empty or not. + // This may be used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "Digest") to include in API + // requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. + NullFields []string `json:"-"` +} + +func (s *GrafeasV1SlsaProvenance02SlsaConfigSource) MarshalJSON() ([]byte, error) { + type NoMethod GrafeasV1SlsaProvenance02SlsaConfigSource + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GrafeasV1SlsaProvenance02SlsaInvocation: Identifies the event that +// kicked off the build. +type GrafeasV1SlsaProvenance02SlsaInvocation struct { + ConfigSource *GrafeasV1SlsaProvenance02SlsaConfigSource `json:"configSource,omitempty"` + + Environment googleapi.RawMessage `json:"environment,omitempty"` + + Parameters googleapi.RawMessage `json:"parameters,omitempty"` + + // ForceSendFields is a list of field names (e.g. "ConfigSource") to + // unconditionally include in API requests. By default, fields with + // empty or default values are omitted from API requests. However, any + // non-pointer, non-interface field appearing in ForceSendFields will be + // sent to the server regardless of whether the field is empty or not. + // This may be used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "ConfigSource") to include + // in API requests with the JSON null value. By default, fields with + // empty values are omitted from API requests. However, any field with + // an empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. + NullFields []string `json:"-"` +} + +func (s *GrafeasV1SlsaProvenance02SlsaInvocation) MarshalJSON() ([]byte, error) { + type NoMethod GrafeasV1SlsaProvenance02SlsaInvocation + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GrafeasV1SlsaProvenance02SlsaMaterial: The collection of artifacts +// that influenced the build including sources, dependencies, build +// tools, base images, and so on. +type GrafeasV1SlsaProvenance02SlsaMaterial struct { + Digest map[string]string `json:"digest,omitempty"` + + Uri string `json:"uri,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Digest") to + // unconditionally include in API requests. By default, fields with + // empty or default values are omitted from API requests. However, any + // non-pointer, non-interface field appearing in ForceSendFields will be + // sent to the server regardless of whether the field is empty or not. + // This may be used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "Digest") to include in API + // requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. + NullFields []string `json:"-"` +} + +func (s *GrafeasV1SlsaProvenance02SlsaMaterial) MarshalJSON() ([]byte, error) { + type NoMethod GrafeasV1SlsaProvenance02SlsaMaterial + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GrafeasV1SlsaProvenance02SlsaMetadata: Other properties of the build. +type GrafeasV1SlsaProvenance02SlsaMetadata struct { + BuildFinishedOn string `json:"buildFinishedOn,omitempty"` + + BuildInvocationId string `json:"buildInvocationId,omitempty"` + + BuildStartedOn string `json:"buildStartedOn,omitempty"` + + Completeness *GrafeasV1SlsaProvenance02SlsaCompleteness `json:"completeness,omitempty"` + + Reproducible bool `json:"reproducible,omitempty"` + + // ForceSendFields is a list of field names (e.g. "BuildFinishedOn") to + // unconditionally include in API requests. By default, fields with + // empty or default values are omitted from API requests. However, any + // non-pointer, non-interface field appearing in ForceSendFields will be + // sent to the server regardless of whether the field is empty or not. + // This may be used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "BuildFinishedOn") to + // include in API requests with the JSON null value. By default, fields + // with empty values are omitted from API requests. However, any field + // with an empty value appearing in NullFields will be sent to the + // server as null. It is an error if a field in this list has a + // non-empty value. This may be used to include null fields in Patch + // requests. + NullFields []string `json:"-"` +} + +func (s *GrafeasV1SlsaProvenance02SlsaMetadata) MarshalJSON() ([]byte, error) { + type NoMethod GrafeasV1SlsaProvenance02SlsaMetadata + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + // Hash: Container message for hash values. type Hash struct { // Type: Required. The type of hash that was performed, e.g. "SHA-256". @@ -1528,6 +1721,8 @@ type InTotoStatement struct { SlsaProvenance *SlsaProvenance `json:"slsaProvenance,omitempty"` + SlsaProvenance02 *SlsaProvenance02 `json:"slsaProvenance02,omitempty"` + Subject []*Subject `json:"subject,omitempty"` // ForceSendFields is a list of field names (e.g. "Type") to @@ -2622,6 +2817,44 @@ func (s *SlsaProvenance) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } +// SlsaProvenance02: See full explanation of fields at +// slsa.dev/provenance/v0.2. +type SlsaProvenance02 struct { + BuildConfig googleapi.RawMessage `json:"buildConfig,omitempty"` + + BuildType string `json:"buildType,omitempty"` + + Builder *GrafeasV1SlsaProvenance02SlsaBuilder `json:"builder,omitempty"` + + Invocation *GrafeasV1SlsaProvenance02SlsaInvocation `json:"invocation,omitempty"` + + Materials []*GrafeasV1SlsaProvenance02SlsaMaterial `json:"materials,omitempty"` + + Metadata *GrafeasV1SlsaProvenance02SlsaMetadata `json:"metadata,omitempty"` + + // ForceSendFields is a list of field names (e.g. "BuildConfig") to + // unconditionally include in API requests. By default, fields with + // empty or default values are omitted from API requests. However, any + // non-pointer, non-interface field appearing in ForceSendFields will be + // sent to the server regardless of whether the field is empty or not. + // This may be used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "BuildConfig") to include + // in API requests with the JSON null value. By default, fields with + // empty values are omitted from API requests. However, any field with + // an empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. + NullFields []string `json:"-"` +} + +func (s *SlsaProvenance02) MarshalJSON() ([]byte, error) { + type NoMethod SlsaProvenance02 + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + // SlsaRecipe: Steps taken to build the artifact. For a TaskRun, // typically each container corresponds to one step in the recipe. type SlsaRecipe struct { diff --git a/ondemandscanning/v1beta1/ondemandscanning-api.json b/ondemandscanning/v1beta1/ondemandscanning-api.json index 5c12475bc64..2a60befa82b 100644 --- a/ondemandscanning/v1beta1/ondemandscanning-api.json +++ b/ondemandscanning/v1beta1/ondemandscanning-api.json @@ -339,7 +339,7 @@ } } }, - "revision": "20220509", + "revision": "20220513", "rootUrl": "https://ondemandscanning.googleapis.com/", "schemas": { "AliasContext": { @@ -1114,6 +1114,115 @@ }, "type": "object" }, + "GrafeasV1SlsaProvenance_0_2SlsaBuilder": { + "description": "Identifies the entity that executed the recipe, which is trusted to have correctly performed the operation and populated this provenance.", + "id": "GrafeasV1SlsaProvenance_0_2SlsaBuilder", + "properties": { + "id": { + "type": "string" + } + }, + "type": "object" + }, + "GrafeasV1SlsaProvenance_0_2SlsaCompleteness": { + "description": "Indicates that the builder claims certain fields in this message to be complete.", + "id": "GrafeasV1SlsaProvenance_0_2SlsaCompleteness", + "properties": { + "environment": { + "type": "boolean" + }, + "materials": { + "type": "boolean" + }, + "parameters": { + "type": "boolean" + } + }, + "type": "object" + }, + "GrafeasV1SlsaProvenance_0_2SlsaConfigSource": { + "description": "Describes where the config file that kicked off the build came from. This is effectively a pointer to the source where buildConfig came from.", + "id": "GrafeasV1SlsaProvenance_0_2SlsaConfigSource", + "properties": { + "digest": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "entryPoint": { + "type": "string" + }, + "uri": { + "type": "string" + } + }, + "type": "object" + }, + "GrafeasV1SlsaProvenance_0_2SlsaInvocation": { + "description": "Identifies the event that kicked off the build.", + "id": "GrafeasV1SlsaProvenance_0_2SlsaInvocation", + "properties": { + "configSource": { + "$ref": "GrafeasV1SlsaProvenance_0_2SlsaConfigSource" + }, + "environment": { + "additionalProperties": { + "description": "Properties of the object.", + "type": "any" + }, + "type": "object" + }, + "parameters": { + "additionalProperties": { + "description": "Properties of the object.", + "type": "any" + }, + "type": "object" + } + }, + "type": "object" + }, + "GrafeasV1SlsaProvenance_0_2SlsaMaterial": { + "description": "The collection of artifacts that influenced the build including sources, dependencies, build tools, base images, and so on.", + "id": "GrafeasV1SlsaProvenance_0_2SlsaMaterial", + "properties": { + "digest": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "uri": { + "type": "string" + } + }, + "type": "object" + }, + "GrafeasV1SlsaProvenance_0_2SlsaMetadata": { + "description": "Other properties of the build.", + "id": "GrafeasV1SlsaProvenance_0_2SlsaMetadata", + "properties": { + "buildFinishedOn": { + "format": "google-datetime", + "type": "string" + }, + "buildInvocationId": { + "type": "string" + }, + "buildStartedOn": { + "format": "google-datetime", + "type": "string" + }, + "completeness": { + "$ref": "GrafeasV1SlsaProvenance_0_2SlsaCompleteness" + }, + "reproducible": { + "type": "boolean" + } + }, + "type": "object" + }, "Hash": { "description": "Container message for hash values.", "id": "Hash", @@ -1215,6 +1324,9 @@ "slsaProvenance": { "$ref": "SlsaProvenance" }, + "slsaProvenance02": { + "$ref": "SlsaProvenance_0_2" + }, "subject": { "items": { "$ref": "Subject" @@ -1886,6 +1998,38 @@ }, "type": "object" }, + "SlsaProvenance_0_2": { + "description": "See full explanation of fields at slsa.dev/provenance/v0.2.", + "id": "SlsaProvenance_0_2", + "properties": { + "buildConfig": { + "additionalProperties": { + "description": "Properties of the object.", + "type": "any" + }, + "type": "object" + }, + "buildType": { + "type": "string" + }, + "builder": { + "$ref": "GrafeasV1SlsaProvenance_0_2SlsaBuilder" + }, + "invocation": { + "$ref": "GrafeasV1SlsaProvenance_0_2SlsaInvocation" + }, + "materials": { + "items": { + "$ref": "GrafeasV1SlsaProvenance_0_2SlsaMaterial" + }, + "type": "array" + }, + "metadata": { + "$ref": "GrafeasV1SlsaProvenance_0_2SlsaMetadata" + } + }, + "type": "object" + }, "SlsaRecipe": { "description": "Steps taken to build the artifact. For a TaskRun, typically each container corresponds to one step in the recipe.", "id": "SlsaRecipe", diff --git a/ondemandscanning/v1beta1/ondemandscanning-gen.go b/ondemandscanning/v1beta1/ondemandscanning-gen.go index 77b62e966e6..08d64dfef54 100644 --- a/ondemandscanning/v1beta1/ondemandscanning-gen.go +++ b/ondemandscanning/v1beta1/ondemandscanning-gen.go @@ -1359,6 +1359,199 @@ func (s *GrafeasV1FileLocation) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } +// GrafeasV1SlsaProvenance02SlsaBuilder: Identifies the entity that +// executed the recipe, which is trusted to have correctly performed the +// operation and populated this provenance. +type GrafeasV1SlsaProvenance02SlsaBuilder struct { + Id string `json:"id,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Id") to + // unconditionally include in API requests. By default, fields with + // empty or default values are omitted from API requests. However, any + // non-pointer, non-interface field appearing in ForceSendFields will be + // sent to the server regardless of whether the field is empty or not. + // This may be used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "Id") to include in API + // requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. + NullFields []string `json:"-"` +} + +func (s *GrafeasV1SlsaProvenance02SlsaBuilder) MarshalJSON() ([]byte, error) { + type NoMethod GrafeasV1SlsaProvenance02SlsaBuilder + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GrafeasV1SlsaProvenance02SlsaCompleteness: Indicates that the builder +// claims certain fields in this message to be complete. +type GrafeasV1SlsaProvenance02SlsaCompleteness struct { + Environment bool `json:"environment,omitempty"` + + Materials bool `json:"materials,omitempty"` + + Parameters bool `json:"parameters,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Environment") to + // unconditionally include in API requests. By default, fields with + // empty or default values are omitted from API requests. However, any + // non-pointer, non-interface field appearing in ForceSendFields will be + // sent to the server regardless of whether the field is empty or not. + // This may be used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "Environment") to include + // in API requests with the JSON null value. By default, fields with + // empty values are omitted from API requests. However, any field with + // an empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. + NullFields []string `json:"-"` +} + +func (s *GrafeasV1SlsaProvenance02SlsaCompleteness) MarshalJSON() ([]byte, error) { + type NoMethod GrafeasV1SlsaProvenance02SlsaCompleteness + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GrafeasV1SlsaProvenance02SlsaConfigSource: Describes where the config +// file that kicked off the build came from. This is effectively a +// pointer to the source where buildConfig came from. +type GrafeasV1SlsaProvenance02SlsaConfigSource struct { + Digest map[string]string `json:"digest,omitempty"` + + EntryPoint string `json:"entryPoint,omitempty"` + + Uri string `json:"uri,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Digest") to + // unconditionally include in API requests. By default, fields with + // empty or default values are omitted from API requests. However, any + // non-pointer, non-interface field appearing in ForceSendFields will be + // sent to the server regardless of whether the field is empty or not. + // This may be used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "Digest") to include in API + // requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. + NullFields []string `json:"-"` +} + +func (s *GrafeasV1SlsaProvenance02SlsaConfigSource) MarshalJSON() ([]byte, error) { + type NoMethod GrafeasV1SlsaProvenance02SlsaConfigSource + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GrafeasV1SlsaProvenance02SlsaInvocation: Identifies the event that +// kicked off the build. +type GrafeasV1SlsaProvenance02SlsaInvocation struct { + ConfigSource *GrafeasV1SlsaProvenance02SlsaConfigSource `json:"configSource,omitempty"` + + Environment googleapi.RawMessage `json:"environment,omitempty"` + + Parameters googleapi.RawMessage `json:"parameters,omitempty"` + + // ForceSendFields is a list of field names (e.g. "ConfigSource") to + // unconditionally include in API requests. By default, fields with + // empty or default values are omitted from API requests. However, any + // non-pointer, non-interface field appearing in ForceSendFields will be + // sent to the server regardless of whether the field is empty or not. + // This may be used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "ConfigSource") to include + // in API requests with the JSON null value. By default, fields with + // empty values are omitted from API requests. However, any field with + // an empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. + NullFields []string `json:"-"` +} + +func (s *GrafeasV1SlsaProvenance02SlsaInvocation) MarshalJSON() ([]byte, error) { + type NoMethod GrafeasV1SlsaProvenance02SlsaInvocation + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GrafeasV1SlsaProvenance02SlsaMaterial: The collection of artifacts +// that influenced the build including sources, dependencies, build +// tools, base images, and so on. +type GrafeasV1SlsaProvenance02SlsaMaterial struct { + Digest map[string]string `json:"digest,omitempty"` + + Uri string `json:"uri,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Digest") to + // unconditionally include in API requests. By default, fields with + // empty or default values are omitted from API requests. However, any + // non-pointer, non-interface field appearing in ForceSendFields will be + // sent to the server regardless of whether the field is empty or not. + // This may be used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "Digest") to include in API + // requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. + NullFields []string `json:"-"` +} + +func (s *GrafeasV1SlsaProvenance02SlsaMaterial) MarshalJSON() ([]byte, error) { + type NoMethod GrafeasV1SlsaProvenance02SlsaMaterial + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GrafeasV1SlsaProvenance02SlsaMetadata: Other properties of the build. +type GrafeasV1SlsaProvenance02SlsaMetadata struct { + BuildFinishedOn string `json:"buildFinishedOn,omitempty"` + + BuildInvocationId string `json:"buildInvocationId,omitempty"` + + BuildStartedOn string `json:"buildStartedOn,omitempty"` + + Completeness *GrafeasV1SlsaProvenance02SlsaCompleteness `json:"completeness,omitempty"` + + Reproducible bool `json:"reproducible,omitempty"` + + // ForceSendFields is a list of field names (e.g. "BuildFinishedOn") to + // unconditionally include in API requests. By default, fields with + // empty or default values are omitted from API requests. However, any + // non-pointer, non-interface field appearing in ForceSendFields will be + // sent to the server regardless of whether the field is empty or not. + // This may be used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "BuildFinishedOn") to + // include in API requests with the JSON null value. By default, fields + // with empty values are omitted from API requests. However, any field + // with an empty value appearing in NullFields will be sent to the + // server as null. It is an error if a field in this list has a + // non-empty value. This may be used to include null fields in Patch + // requests. + NullFields []string `json:"-"` +} + +func (s *GrafeasV1SlsaProvenance02SlsaMetadata) MarshalJSON() ([]byte, error) { + type NoMethod GrafeasV1SlsaProvenance02SlsaMetadata + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + // Hash: Container message for hash values. type Hash struct { // Type: Required. The type of hash that was performed, e.g. "SHA-256". @@ -1522,6 +1715,8 @@ type InTotoStatement struct { SlsaProvenance *SlsaProvenance `json:"slsaProvenance,omitempty"` + SlsaProvenance02 *SlsaProvenance02 `json:"slsaProvenance02,omitempty"` + Subject []*Subject `json:"subject,omitempty"` // ForceSendFields is a list of field names (e.g. "Type") to @@ -2616,6 +2811,44 @@ func (s *SlsaProvenance) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } +// SlsaProvenance02: See full explanation of fields at +// slsa.dev/provenance/v0.2. +type SlsaProvenance02 struct { + BuildConfig googleapi.RawMessage `json:"buildConfig,omitempty"` + + BuildType string `json:"buildType,omitempty"` + + Builder *GrafeasV1SlsaProvenance02SlsaBuilder `json:"builder,omitempty"` + + Invocation *GrafeasV1SlsaProvenance02SlsaInvocation `json:"invocation,omitempty"` + + Materials []*GrafeasV1SlsaProvenance02SlsaMaterial `json:"materials,omitempty"` + + Metadata *GrafeasV1SlsaProvenance02SlsaMetadata `json:"metadata,omitempty"` + + // ForceSendFields is a list of field names (e.g. "BuildConfig") to + // unconditionally include in API requests. By default, fields with + // empty or default values are omitted from API requests. However, any + // non-pointer, non-interface field appearing in ForceSendFields will be + // sent to the server regardless of whether the field is empty or not. + // This may be used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "BuildConfig") to include + // in API requests with the JSON null value. By default, fields with + // empty values are omitted from API requests. However, any field with + // an empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. + NullFields []string `json:"-"` +} + +func (s *SlsaProvenance02) MarshalJSON() ([]byte, error) { + type NoMethod SlsaProvenance02 + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + // SlsaRecipe: Steps taken to build the artifact. For a TaskRun, // typically each container corresponds to one step in the recipe. type SlsaRecipe struct { diff --git a/retail/v2/retail-api.json b/retail/v2/retail-api.json index 233f77e5d29..8cc24b2da32 100644 --- a/retail/v2/retail-api.json +++ b/retail/v2/retail-api.json @@ -466,7 +466,7 @@ ] }, "import": { - "description": "Bulk import of multiple Products. Request processing may be synchronous. No partial updating is supported. Non-existing items are created. Note that it is possible for a subset of the Products to be successfully updated.", + "description": "Bulk import of multiple Products. Request processing may be synchronous. Non-existing items are created. Note that it is possible for a subset of the Products to be successfully updated.", "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/catalogs/{catalogsId}/branches/{branchesId}/products:import", "httpMethod": "POST", "id": "retail.projects.locations.catalogs.branches.products.import", @@ -1133,7 +1133,7 @@ } } }, - "revision": "20220505", + "revision": "20220512", "rootUrl": "https://retail.googleapis.com/", "schemas": { "GoogleApiHttpBody": { @@ -1490,7 +1490,7 @@ "additionalProperties": { "$ref": "GoogleCloudRetailV2CustomAttribute" }, - "description": "Custom attributes for the suggestion term. * For \"user-data\", the attributes are additional custom attributes ingested through BigQuery. * For \"cloud-retail\", the attributes are product attributes generated by Cloud Retail.", + "description": "Custom attributes for the suggestion term. * For \"user-data\", the attributes are additional custom attributes ingested through BigQuery. * For \"cloud-retail\", the attributes are product attributes generated by Cloud Retail. This is an experimental feature. Contact Retail Search support team if you are interested in enabling it.", "type": "object" }, "suggestion": { @@ -2661,7 +2661,7 @@ "id": "GoogleCloudRetailV2SearchRequestBoostSpec", "properties": { "conditionBoostSpecs": { - "description": "Condition boost specifications. If a product matches multiple conditions in the specifictions, boost scores from these specifications are all applied and combined in a non-linear way. Maximum number of specifications is 10.", + "description": "Condition boost specifications. If a product matches multiple conditions in the specifictions, boost scores from these specifications are all applied and combined in a non-linear way. Maximum number of specifications is 20.", "items": { "$ref": "GoogleCloudRetailV2SearchRequestBoostSpecConditionBoostSpec" }, @@ -2720,7 +2720,7 @@ "type": "boolean" }, "excludedFilterKeys": { - "description": "List of keys to exclude when faceting. By default, FacetKey.key is not excluded from the filter unless it is listed in this field. For example, suppose there are 100 products with color facet \"Red\" and 200 products with color facet \"Blue\". A query containing the filter \"colorFamilies:ANY(\"Red\")\" and have \"colorFamilies\" as FacetKey.key will by default return the \"Red\" with count 100. If this field contains \"colorFamilies\", then the query returns both the \"Red\" with count 100 and \"Blue\" with count 200, because the \"colorFamilies\" key is now excluded from the filter. A maximum of 100 values are allowed. Otherwise, an INVALID_ARGUMENT error is returned.", + "description": "List of keys to exclude when faceting. By default, FacetKey.key is not excluded from the filter unless it is listed in this field. Listing a facet key in this field allows its values to appear as facet results, even when they are filtered out of search results. Using this field does not affect what search results are returned. For example, suppose there are 100 products with the color facet \"Red\" and 200 products with the color facet \"Blue\". A query containing the filter \"colorFamilies:ANY(\"Red\")\" and having \"colorFamilies\" as FacetKey.key would by default return only \"Red\" products in the search results, and also return \"Red\" with count 100 as the only color facet. Although there are also blue products available, \"Blue\" would not be shown as an available facet value. If \"colorFamilies\" is listed in \"excludedFilterKeys\", then the query returns the facet values \"Red\" with count 100 and \"Blue\" with count 200, because the \"colorFamilies\" key is now excluded from the filter. Because this field doesn't affect search results, the search results are still correctly filtered to return only \"Red\" products. A maximum of 100 values are allowed. Otherwise, an INVALID_ARGUMENT error is returned.", "items": { "type": "string" }, @@ -3156,7 +3156,7 @@ "description": "User information." }, "visitorId": { - "description": "Required. A unique identifier for tracking visitors. For example, this could be implemented with an HTTP cookie, which should be able to uniquely identify a visitor on a single device. This unique identifier should not change if the visitor log in/out of the website. Don't set the field to the same fixed ID for different users. This mixes the event history of those users together, which results in degraded model quality. The field must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned. The field should not contain PII or user-data. We recommend to use Google Analystics [Client ID](https://developers.google.com/analytics/devguides/collection/analyticsjs/field-reference#clientId) for this field.", + "description": "Required. A unique identifier for tracking visitors. For example, this could be implemented with an HTTP cookie, which should be able to uniquely identify a visitor on a single device. This unique identifier should not change if the visitor log in/out of the website. Don't set the field to the same fixed ID for different users. This mixes the event history of those users together, which results in degraded model quality. The field must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned. The field should not contain PII or user-data. We recommend to use Google Analytics [Client ID](https://developers.google.com/analytics/devguides/collection/analyticsjs/field-reference#clientId) for this field.", "type": "string" } }, diff --git a/retail/v2/retail-gen.go b/retail/v2/retail-gen.go index 713db1f63e9..cf615d6fa68 100644 --- a/retail/v2/retail-gen.go +++ b/retail/v2/retail-gen.go @@ -976,7 +976,9 @@ type GoogleCloudRetailV2CompleteQueryResponseCompletionResult struct { // Attributes: Custom attributes for the suggestion term. * For // "user-data", the attributes are additional custom attributes ingested // through BigQuery. * For "cloud-retail", the attributes are product - // attributes generated by Cloud Retail. + // attributes generated by Cloud Retail. This is an experimental + // feature. Contact Retail Search support team if you are interested in + // enabling it. Attributes map[string]GoogleCloudRetailV2CustomAttribute `json:"attributes,omitempty"` // Suggestion: The suggestion for the query. @@ -3367,7 +3369,7 @@ type GoogleCloudRetailV2SearchRequestBoostSpec struct { // ConditionBoostSpecs: Condition boost specifications. If a product // matches multiple conditions in the specifictions, boost scores from // these specifications are all applied and combined in a non-linear - // way. Maximum number of specifications is 10. + // way. Maximum number of specifications is 20. ConditionBoostSpecs []*GoogleCloudRetailV2SearchRequestBoostSpecConditionBoostSpec `json:"conditionBoostSpecs,omitempty"` // SkipBoostSpecValidation: Whether to skip boostspec validation. If @@ -3525,15 +3527,23 @@ type GoogleCloudRetailV2SearchRequestFacetSpec struct { // ExcludedFilterKeys: List of keys to exclude when faceting. By // default, FacetKey.key is not excluded from the filter unless it is - // listed in this field. For example, suppose there are 100 products - // with color facet "Red" and 200 products with color facet "Blue". A - // query containing the filter "colorFamilies:ANY("Red")" and have - // "colorFamilies" as FacetKey.key will by default return the "Red" with - // count 100. If this field contains "colorFamilies", then the query - // returns both the "Red" with count 100 and "Blue" with count 200, - // because the "colorFamilies" key is now excluded from the filter. A - // maximum of 100 values are allowed. Otherwise, an INVALID_ARGUMENT - // error is returned. + // listed in this field. Listing a facet key in this field allows its + // values to appear as facet results, even when they are filtered out of + // search results. Using this field does not affect what search results + // are returned. For example, suppose there are 100 products with the + // color facet "Red" and 200 products with the color facet "Blue". A + // query containing the filter "colorFamilies:ANY("Red")" and having + // "colorFamilies" as FacetKey.key would by default return only "Red" + // products in the search results, and also return "Red" with count 100 + // as the only color facet. Although there are also blue products + // available, "Blue" would not be shown as an available facet value. If + // "colorFamilies" is listed in "excludedFilterKeys", then the query + // returns the facet values "Red" with count 100 and "Blue" with count + // 200, because the "colorFamilies" key is now excluded from the filter. + // Because this field doesn't affect search results, the search results + // are still correctly filtered to return only "Red" products. A maximum + // of 100 values are allowed. Otherwise, an INVALID_ARGUMENT error is + // returned. ExcludedFilterKeys []string `json:"excludedFilterKeys,omitempty"` // FacetKey: Required. The facet key specification. @@ -4336,7 +4346,7 @@ type GoogleCloudRetailV2UserEvent struct { // results in degraded model quality. The field must be a UTF-8 encoded // string with a length limit of 128 characters. Otherwise, an // INVALID_ARGUMENT error is returned. The field should not contain PII - // or user-data. We recommend to use Google Analystics Client ID + // or user-data. We recommend to use Google Analytics Client ID // (https://developers.google.com/analytics/devguides/collection/analyticsjs/field-reference#clientId) // for this field. VisitorId string `json:"visitorId,omitempty"` @@ -7681,9 +7691,8 @@ type ProjectsLocationsCatalogsBranchesProductsImportCall struct { } // Import: Bulk import of multiple Products. Request processing may be -// synchronous. No partial updating is supported. Non-existing items are -// created. Note that it is possible for a subset of the Products to be -// successfully updated. +// synchronous. Non-existing items are created. Note that it is possible +// for a subset of the Products to be successfully updated. // // - parent: // `projects/1234/locations/global/catalogs/default_catalog/branches/de @@ -7788,7 +7797,7 @@ func (c *ProjectsLocationsCatalogsBranchesProductsImportCall) Do(opts ...googlea } return ret, nil // { - // "description": "Bulk import of multiple Products. Request processing may be synchronous. No partial updating is supported. Non-existing items are created. Note that it is possible for a subset of the Products to be successfully updated.", + // "description": "Bulk import of multiple Products. Request processing may be synchronous. Non-existing items are created. Note that it is possible for a subset of the Products to be successfully updated.", // "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/catalogs/{catalogsId}/branches/{branchesId}/products:import", // "httpMethod": "POST", // "id": "retail.projects.locations.catalogs.branches.products.import", diff --git a/retail/v2alpha/retail-api.json b/retail/v2alpha/retail-api.json index 6892409bb6a..5739a9eeb62 100644 --- a/retail/v2alpha/retail-api.json +++ b/retail/v2alpha/retail-api.json @@ -672,7 +672,7 @@ ] }, "import": { - "description": "Bulk import of multiple Products. Request processing may be synchronous. No partial updating is supported. Non-existing items are created. Note that it is possible for a subset of the Products to be successfully updated.", + "description": "Bulk import of multiple Products. Request processing may be synchronous. Non-existing items are created. Note that it is possible for a subset of the Products to be successfully updated.", "flatPath": "v2alpha/projects/{projectsId}/locations/{locationsId}/catalogs/{catalogsId}/branches/{branchesId}/products:import", "httpMethod": "POST", "id": "retail.projects.locations.catalogs.branches.products.import", @@ -1747,7 +1747,7 @@ } } }, - "revision": "20220505", + "revision": "20220512", "rootUrl": "https://retail.googleapis.com/", "schemas": { "GoogleApiHttpBody": { @@ -2449,7 +2449,7 @@ "additionalProperties": { "$ref": "GoogleCloudRetailV2alphaCustomAttribute" }, - "description": "Custom attributes for the suggestion term. * For \"user-data\", the attributes are additional custom attributes ingested through BigQuery. * For \"cloud-retail\", the attributes are product attributes generated by Cloud Retail.", + "description": "Custom attributes for the suggestion term. * For \"user-data\", the attributes are additional custom attributes ingested through BigQuery. * For \"cloud-retail\", the attributes are product attributes generated by Cloud Retail. This is an experimental feature. Contact Retail Search support team if you are interested in enabling it.", "type": "object" }, "suggestion": { @@ -4238,7 +4238,7 @@ "id": "GoogleCloudRetailV2alphaSearchRequestBoostSpec", "properties": { "conditionBoostSpecs": { - "description": "Condition boost specifications. If a product matches multiple conditions in the specifictions, boost scores from these specifications are all applied and combined in a non-linear way. Maximum number of specifications is 10.", + "description": "Condition boost specifications. If a product matches multiple conditions in the specifictions, boost scores from these specifications are all applied and combined in a non-linear way. Maximum number of specifications is 20.", "items": { "$ref": "GoogleCloudRetailV2alphaSearchRequestBoostSpecConditionBoostSpec" }, @@ -4297,7 +4297,7 @@ "type": "boolean" }, "excludedFilterKeys": { - "description": "List of keys to exclude when faceting. By default, FacetKey.key is not excluded from the filter unless it is listed in this field. For example, suppose there are 100 products with color facet \"Red\" and 200 products with color facet \"Blue\". A query containing the filter \"colorFamilies:ANY(\"Red\")\" and have \"colorFamilies\" as FacetKey.key will by default return the \"Red\" with count 100. If this field contains \"colorFamilies\", then the query returns both the \"Red\" with count 100 and \"Blue\" with count 200, because the \"colorFamilies\" key is now excluded from the filter. A maximum of 100 values are allowed. Otherwise, an INVALID_ARGUMENT error is returned.", + "description": "List of keys to exclude when faceting. By default, FacetKey.key is not excluded from the filter unless it is listed in this field. Listing a facet key in this field allows its values to appear as facet results, even when they are filtered out of search results. Using this field does not affect what search results are returned. For example, suppose there are 100 products with the color facet \"Red\" and 200 products with the color facet \"Blue\". A query containing the filter \"colorFamilies:ANY(\"Red\")\" and having \"colorFamilies\" as FacetKey.key would by default return only \"Red\" products in the search results, and also return \"Red\" with count 100 as the only color facet. Although there are also blue products available, \"Blue\" would not be shown as an available facet value. If \"colorFamilies\" is listed in \"excludedFilterKeys\", then the query returns the facet values \"Red\" with count 100 and \"Blue\" with count 200, because the \"colorFamilies\" key is now excluded from the filter. Because this field doesn't affect search results, the search results are still correctly filtered to return only \"Red\" products. A maximum of 100 values are allowed. Otherwise, an INVALID_ARGUMENT error is returned.", "items": { "type": "string" }, @@ -4848,7 +4848,7 @@ "description": "User information." }, "visitorId": { - "description": "Required. A unique identifier for tracking visitors. For example, this could be implemented with an HTTP cookie, which should be able to uniquely identify a visitor on a single device. This unique identifier should not change if the visitor log in/out of the website. Don't set the field to the same fixed ID for different users. This mixes the event history of those users together, which results in degraded model quality. The field must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned. The field should not contain PII or user-data. We recommend to use Google Analystics [Client ID](https://developers.google.com/analytics/devguides/collection/analyticsjs/field-reference#clientId) for this field.", + "description": "Required. A unique identifier for tracking visitors. For example, this could be implemented with an HTTP cookie, which should be able to uniquely identify a visitor on a single device. This unique identifier should not change if the visitor log in/out of the website. Don't set the field to the same fixed ID for different users. This mixes the event history of those users together, which results in degraded model quality. The field must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned. The field should not contain PII or user-data. We recommend to use Google Analytics [Client ID](https://developers.google.com/analytics/devguides/collection/analyticsjs/field-reference#clientId) for this field.", "type": "string" } }, diff --git a/retail/v2alpha/retail-gen.go b/retail/v2alpha/retail-gen.go index 5175a3364f1..c43f7af3d89 100644 --- a/retail/v2alpha/retail-gen.go +++ b/retail/v2alpha/retail-gen.go @@ -1609,7 +1609,9 @@ type GoogleCloudRetailV2alphaCompleteQueryResponseCompletionResult struct { // Attributes: Custom attributes for the suggestion term. * For // "user-data", the attributes are additional custom attributes ingested // through BigQuery. * For "cloud-retail", the attributes are product - // attributes generated by Cloud Retail. + // attributes generated by Cloud Retail. This is an experimental + // feature. Contact Retail Search support team if you are interested in + // enabling it. Attributes map[string]GoogleCloudRetailV2alphaCustomAttribute `json:"attributes,omitempty"` // Suggestion: The suggestion for the query. @@ -5208,7 +5210,7 @@ type GoogleCloudRetailV2alphaSearchRequestBoostSpec struct { // ConditionBoostSpecs: Condition boost specifications. If a product // matches multiple conditions in the specifictions, boost scores from // these specifications are all applied and combined in a non-linear - // way. Maximum number of specifications is 10. + // way. Maximum number of specifications is 20. ConditionBoostSpecs []*GoogleCloudRetailV2alphaSearchRequestBoostSpecConditionBoostSpec `json:"conditionBoostSpecs,omitempty"` // SkipBoostSpecValidation: Whether to skip boostspec validation. If @@ -5366,15 +5368,23 @@ type GoogleCloudRetailV2alphaSearchRequestFacetSpec struct { // ExcludedFilterKeys: List of keys to exclude when faceting. By // default, FacetKey.key is not excluded from the filter unless it is - // listed in this field. For example, suppose there are 100 products - // with color facet "Red" and 200 products with color facet "Blue". A - // query containing the filter "colorFamilies:ANY("Red")" and have - // "colorFamilies" as FacetKey.key will by default return the "Red" with - // count 100. If this field contains "colorFamilies", then the query - // returns both the "Red" with count 100 and "Blue" with count 200, - // because the "colorFamilies" key is now excluded from the filter. A - // maximum of 100 values are allowed. Otherwise, an INVALID_ARGUMENT - // error is returned. + // listed in this field. Listing a facet key in this field allows its + // values to appear as facet results, even when they are filtered out of + // search results. Using this field does not affect what search results + // are returned. For example, suppose there are 100 products with the + // color facet "Red" and 200 products with the color facet "Blue". A + // query containing the filter "colorFamilies:ANY("Red")" and having + // "colorFamilies" as FacetKey.key would by default return only "Red" + // products in the search results, and also return "Red" with count 100 + // as the only color facet. Although there are also blue products + // available, "Blue" would not be shown as an available facet value. If + // "colorFamilies" is listed in "excludedFilterKeys", then the query + // returns the facet values "Red" with count 100 and "Blue" with count + // 200, because the "colorFamilies" key is now excluded from the filter. + // Because this field doesn't affect search results, the search results + // are still correctly filtered to return only "Red" products. A maximum + // of 100 values are allowed. Otherwise, an INVALID_ARGUMENT error is + // returned. ExcludedFilterKeys []string `json:"excludedFilterKeys,omitempty"` // FacetKey: Required. The facet key specification. @@ -6344,7 +6354,7 @@ type GoogleCloudRetailV2alphaUserEvent struct { // results in degraded model quality. The field must be a UTF-8 encoded // string with a length limit of 128 characters. Otherwise, an // INVALID_ARGUMENT error is returned. The field should not contain PII - // or user-data. We recommend to use Google Analystics Client ID + // or user-data. We recommend to use Google Analytics Client ID // (https://developers.google.com/analytics/devguides/collection/analyticsjs/field-reference#clientId) // for this field. VisitorId string `json:"visitorId,omitempty"` @@ -10177,9 +10187,8 @@ type ProjectsLocationsCatalogsBranchesProductsImportCall struct { } // Import: Bulk import of multiple Products. Request processing may be -// synchronous. No partial updating is supported. Non-existing items are -// created. Note that it is possible for a subset of the Products to be -// successfully updated. +// synchronous. Non-existing items are created. Note that it is possible +// for a subset of the Products to be successfully updated. // // - parent: // `projects/1234/locations/global/catalogs/default_catalog/branches/de @@ -10284,7 +10293,7 @@ func (c *ProjectsLocationsCatalogsBranchesProductsImportCall) Do(opts ...googlea } return ret, nil // { - // "description": "Bulk import of multiple Products. Request processing may be synchronous. No partial updating is supported. Non-existing items are created. Note that it is possible for a subset of the Products to be successfully updated.", + // "description": "Bulk import of multiple Products. Request processing may be synchronous. Non-existing items are created. Note that it is possible for a subset of the Products to be successfully updated.", // "flatPath": "v2alpha/projects/{projectsId}/locations/{locationsId}/catalogs/{catalogsId}/branches/{branchesId}/products:import", // "httpMethod": "POST", // "id": "retail.projects.locations.catalogs.branches.products.import", diff --git a/retail/v2beta/retail-api.json b/retail/v2beta/retail-api.json index 0a5b60b6689..73d60b0c349 100644 --- a/retail/v2beta/retail-api.json +++ b/retail/v2beta/retail-api.json @@ -672,7 +672,7 @@ ] }, "import": { - "description": "Bulk import of multiple Products. Request processing may be synchronous. No partial updating is supported. Non-existing items are created. Note that it is possible for a subset of the Products to be successfully updated.", + "description": "Bulk import of multiple Products. Request processing may be synchronous. Non-existing items are created. Note that it is possible for a subset of the Products to be successfully updated.", "flatPath": "v2beta/projects/{projectsId}/locations/{locationsId}/catalogs/{catalogsId}/branches/{branchesId}/products:import", "httpMethod": "POST", "id": "retail.projects.locations.catalogs.branches.products.import", @@ -1714,7 +1714,7 @@ } } }, - "revision": "20220505", + "revision": "20220512", "rootUrl": "https://retail.googleapis.com/", "schemas": { "GoogleApiHttpBody": { @@ -2739,7 +2739,7 @@ "additionalProperties": { "$ref": "GoogleCloudRetailV2betaCustomAttribute" }, - "description": "Custom attributes for the suggestion term. * For \"user-data\", the attributes are additional custom attributes ingested through BigQuery. * For \"cloud-retail\", the attributes are product attributes generated by Cloud Retail.", + "description": "Custom attributes for the suggestion term. * For \"user-data\", the attributes are additional custom attributes ingested through BigQuery. * For \"cloud-retail\", the attributes are product attributes generated by Cloud Retail. This is an experimental feature. Contact Retail Search support team if you are interested in enabling it.", "type": "object" }, "suggestion": { @@ -4440,7 +4440,7 @@ "id": "GoogleCloudRetailV2betaSearchRequestBoostSpec", "properties": { "conditionBoostSpecs": { - "description": "Condition boost specifications. If a product matches multiple conditions in the specifictions, boost scores from these specifications are all applied and combined in a non-linear way. Maximum number of specifications is 10.", + "description": "Condition boost specifications. If a product matches multiple conditions in the specifictions, boost scores from these specifications are all applied and combined in a non-linear way. Maximum number of specifications is 20.", "items": { "$ref": "GoogleCloudRetailV2betaSearchRequestBoostSpecConditionBoostSpec" }, @@ -4499,7 +4499,7 @@ "type": "boolean" }, "excludedFilterKeys": { - "description": "List of keys to exclude when faceting. By default, FacetKey.key is not excluded from the filter unless it is listed in this field. For example, suppose there are 100 products with color facet \"Red\" and 200 products with color facet \"Blue\". A query containing the filter \"colorFamilies:ANY(\"Red\")\" and have \"colorFamilies\" as FacetKey.key will by default return the \"Red\" with count 100. If this field contains \"colorFamilies\", then the query returns both the \"Red\" with count 100 and \"Blue\" with count 200, because the \"colorFamilies\" key is now excluded from the filter. A maximum of 100 values are allowed. Otherwise, an INVALID_ARGUMENT error is returned.", + "description": "List of keys to exclude when faceting. By default, FacetKey.key is not excluded from the filter unless it is listed in this field. Listing a facet key in this field allows its values to appear as facet results, even when they are filtered out of search results. Using this field does not affect what search results are returned. For example, suppose there are 100 products with the color facet \"Red\" and 200 products with the color facet \"Blue\". A query containing the filter \"colorFamilies:ANY(\"Red\")\" and having \"colorFamilies\" as FacetKey.key would by default return only \"Red\" products in the search results, and also return \"Red\" with count 100 as the only color facet. Although there are also blue products available, \"Blue\" would not be shown as an available facet value. If \"colorFamilies\" is listed in \"excludedFilterKeys\", then the query returns the facet values \"Red\" with count 100 and \"Blue\" with count 200, because the \"colorFamilies\" key is now excluded from the filter. Because this field doesn't affect search results, the search results are still correctly filtered to return only \"Red\" products. A maximum of 100 values are allowed. Otherwise, an INVALID_ARGUMENT error is returned.", "items": { "type": "string" }, @@ -5050,7 +5050,7 @@ "description": "User information." }, "visitorId": { - "description": "Required. A unique identifier for tracking visitors. For example, this could be implemented with an HTTP cookie, which should be able to uniquely identify a visitor on a single device. This unique identifier should not change if the visitor log in/out of the website. Don't set the field to the same fixed ID for different users. This mixes the event history of those users together, which results in degraded model quality. The field must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned. The field should not contain PII or user-data. We recommend to use Google Analystics [Client ID](https://developers.google.com/analytics/devguides/collection/analyticsjs/field-reference#clientId) for this field.", + "description": "Required. A unique identifier for tracking visitors. For example, this could be implemented with an HTTP cookie, which should be able to uniquely identify a visitor on a single device. This unique identifier should not change if the visitor log in/out of the website. Don't set the field to the same fixed ID for different users. This mixes the event history of those users together, which results in degraded model quality. The field must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned. The field should not contain PII or user-data. We recommend to use Google Analytics [Client ID](https://developers.google.com/analytics/devguides/collection/analyticsjs/field-reference#clientId) for this field.", "type": "string" } }, diff --git a/retail/v2beta/retail-gen.go b/retail/v2beta/retail-gen.go index 36b8d6f42f8..e7b231e9dcb 100644 --- a/retail/v2beta/retail-gen.go +++ b/retail/v2beta/retail-gen.go @@ -2196,7 +2196,9 @@ type GoogleCloudRetailV2betaCompleteQueryResponseCompletionResult struct { // Attributes: Custom attributes for the suggestion term. * For // "user-data", the attributes are additional custom attributes ingested // through BigQuery. * For "cloud-retail", the attributes are product - // attributes generated by Cloud Retail. + // attributes generated by Cloud Retail. This is an experimental + // feature. Contact Retail Search support team if you are interested in + // enabling it. Attributes map[string]GoogleCloudRetailV2betaCustomAttribute `json:"attributes,omitempty"` // Suggestion: The suggestion for the query. @@ -5637,7 +5639,7 @@ type GoogleCloudRetailV2betaSearchRequestBoostSpec struct { // ConditionBoostSpecs: Condition boost specifications. If a product // matches multiple conditions in the specifictions, boost scores from // these specifications are all applied and combined in a non-linear - // way. Maximum number of specifications is 10. + // way. Maximum number of specifications is 20. ConditionBoostSpecs []*GoogleCloudRetailV2betaSearchRequestBoostSpecConditionBoostSpec `json:"conditionBoostSpecs,omitempty"` // SkipBoostSpecValidation: Whether to skip boostspec validation. If @@ -5795,15 +5797,23 @@ type GoogleCloudRetailV2betaSearchRequestFacetSpec struct { // ExcludedFilterKeys: List of keys to exclude when faceting. By // default, FacetKey.key is not excluded from the filter unless it is - // listed in this field. For example, suppose there are 100 products - // with color facet "Red" and 200 products with color facet "Blue". A - // query containing the filter "colorFamilies:ANY("Red")" and have - // "colorFamilies" as FacetKey.key will by default return the "Red" with - // count 100. If this field contains "colorFamilies", then the query - // returns both the "Red" with count 100 and "Blue" with count 200, - // because the "colorFamilies" key is now excluded from the filter. A - // maximum of 100 values are allowed. Otherwise, an INVALID_ARGUMENT - // error is returned. + // listed in this field. Listing a facet key in this field allows its + // values to appear as facet results, even when they are filtered out of + // search results. Using this field does not affect what search results + // are returned. For example, suppose there are 100 products with the + // color facet "Red" and 200 products with the color facet "Blue". A + // query containing the filter "colorFamilies:ANY("Red")" and having + // "colorFamilies" as FacetKey.key would by default return only "Red" + // products in the search results, and also return "Red" with count 100 + // as the only color facet. Although there are also blue products + // available, "Blue" would not be shown as an available facet value. If + // "colorFamilies" is listed in "excludedFilterKeys", then the query + // returns the facet values "Red" with count 100 and "Blue" with count + // 200, because the "colorFamilies" key is now excluded from the filter. + // Because this field doesn't affect search results, the search results + // are still correctly filtered to return only "Red" products. A maximum + // of 100 values are allowed. Otherwise, an INVALID_ARGUMENT error is + // returned. ExcludedFilterKeys []string `json:"excludedFilterKeys,omitempty"` // FacetKey: Required. The facet key specification. @@ -6772,7 +6782,7 @@ type GoogleCloudRetailV2betaUserEvent struct { // results in degraded model quality. The field must be a UTF-8 encoded // string with a length limit of 128 characters. Otherwise, an // INVALID_ARGUMENT error is returned. The field should not contain PII - // or user-data. We recommend to use Google Analystics Client ID + // or user-data. We recommend to use Google Analytics Client ID // (https://developers.google.com/analytics/devguides/collection/analyticsjs/field-reference#clientId) // for this field. VisitorId string `json:"visitorId,omitempty"` @@ -10088,9 +10098,8 @@ type ProjectsLocationsCatalogsBranchesProductsImportCall struct { } // Import: Bulk import of multiple Products. Request processing may be -// synchronous. No partial updating is supported. Non-existing items are -// created. Note that it is possible for a subset of the Products to be -// successfully updated. +// synchronous. Non-existing items are created. Note that it is possible +// for a subset of the Products to be successfully updated. // // - parent: // `projects/1234/locations/global/catalogs/default_catalog/branches/de @@ -10195,7 +10204,7 @@ func (c *ProjectsLocationsCatalogsBranchesProductsImportCall) Do(opts ...googlea } return ret, nil // { - // "description": "Bulk import of multiple Products. Request processing may be synchronous. No partial updating is supported. Non-existing items are created. Note that it is possible for a subset of the Products to be successfully updated.", + // "description": "Bulk import of multiple Products. Request processing may be synchronous. Non-existing items are created. Note that it is possible for a subset of the Products to be successfully updated.", // "flatPath": "v2beta/projects/{projectsId}/locations/{locationsId}/catalogs/{catalogsId}/branches/{branchesId}/products:import", // "httpMethod": "POST", // "id": "retail.projects.locations.catalogs.branches.products.import", diff --git a/storagetransfer/v1/storagetransfer-api.json b/storagetransfer/v1/storagetransfer-api.json index 6d7eccc43f2..5550b7ccff4 100644 --- a/storagetransfer/v1/storagetransfer-api.json +++ b/storagetransfer/v1/storagetransfer-api.json @@ -600,7 +600,7 @@ } } }, - "revision": "20220324", + "revision": "20220511", "rootUrl": "https://storagetransfer.googleapis.com/", "schemas": { "AgentPool": { @@ -1642,7 +1642,7 @@ "type": "boolean" }, "overwriteWhen": { - "description": "When to overwrite objects that already exist in the sink. If not set overwrite behavior is determined by overwrite_objects_already_existing_in_sink.", + "description": "When to overwrite objects that already exist in the sink. If not set, overwrite behavior is determined by overwrite_objects_already_existing_in_sink.", "enum": [ "OVERWRITE_WHEN_UNSPECIFIED", "DIFFERENT", @@ -1650,10 +1650,10 @@ "ALWAYS" ], "enumDescriptions": [ - "Indicate the option is not set.", - "Overwrite destination object with source if the two objects are different.", - "Never overwrite destination object.", - "Always overwrite destination object." + "Overwrite behavior is unspecified.", + "Overwrites destination objects with the source objects, only if the objects have the same name but different HTTP ETags or checksum values.", + "Never overwrites a destination object if a source object has the same name. In this case, the source object is not transferred.", + "Always overwrite the destination object with the source object, even if the HTTP Etags or checksum values are the same." ], "type": "string" } diff --git a/storagetransfer/v1/storagetransfer-gen.go b/storagetransfer/v1/storagetransfer-gen.go index b4c9282fc53..23373aace8b 100644 --- a/storagetransfer/v1/storagetransfer-gen.go +++ b/storagetransfer/v1/storagetransfer-gen.go @@ -1927,15 +1927,19 @@ type TransferOptions struct { OverwriteObjectsAlreadyExistingInSink bool `json:"overwriteObjectsAlreadyExistingInSink,omitempty"` // OverwriteWhen: When to overwrite objects that already exist in the - // sink. If not set overwrite behavior is determined by + // sink. If not set, overwrite behavior is determined by // overwrite_objects_already_existing_in_sink. // // Possible values: - // "OVERWRITE_WHEN_UNSPECIFIED" - Indicate the option is not set. - // "DIFFERENT" - Overwrite destination object with source if the two - // objects are different. - // "NEVER" - Never overwrite destination object. - // "ALWAYS" - Always overwrite destination object. + // "OVERWRITE_WHEN_UNSPECIFIED" - Overwrite behavior is unspecified. + // "DIFFERENT" - Overwrites destination objects with the source + // objects, only if the objects have the same name but different HTTP + // ETags or checksum values. + // "NEVER" - Never overwrites a destination object if a source object + // has the same name. In this case, the source object is not + // transferred. + // "ALWAYS" - Always overwrite the destination object with the source + // object, even if the HTTP Etags or checksum values are the same. OverwriteWhen string `json:"overwriteWhen,omitempty"` // ForceSendFields is a list of field names (e.g.